* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}
a{
  text-decoration: none;
}
:root{
 --bg-color: #ffffff;
 --text-color:#000000;
 --main-color:#f0f0f0;
 --other-color:#ffc633;
 --second-color:#616060;

 --h1-font:5.5rem;
 --h2-font:3.5rem;
 --p-font:1rem;

}


body {
  margin: 0;
  padding: 0;
  background-color: #f7f9fb;
  box-sizing: border-box;
}


#header-container a {
  font-family: 'Poppins', sans-serif;
  font-size: 28px; 
  font-weight: 700; 
 color:black;
  text-transform: capitalize; 
  letter-spacing: 2px; 
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}


#header-container a:hover {
  color: #ff6a00;
  transform: scale(1.05);
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); 
}
/*header*/
#header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 60px;
  background-color: #E3E6F3;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
}

#navbar {
  display: flex;
  align-items: center;
  gap: 20px;
}

#navbar li {
  list-style: none;
  position: relative;
}

#navbar li a, .sidebar a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  transition: 0.3s;
  padding: 10px;
  border-radius: 5px;
}

#navbar li a:hover, .sidebar a:hover {
  color: #f79f1f;
  background-color: rgba(247, 213, 169, 0.2);
}

#navbar li a:hover::after {
  content: "";
  width: 30%;
  height: 2px;
  background: #f79f1f;
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
}


  .sidebar{
    position: fixed;
    top: 0; 
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .sidebar li{
    width: 100%;
    height: 13%;
    margin-left: -20px;
  }
  .sidebar a{
    width: 100%;
  }
  #hideSidebarBtn{
   width: 100%;
   height: 10%;
   margin-top: 30px;
   margin-bottom: 1px;
  }
  #hideSidebarBtn a{
   display: flex;
   width: 23%;
  }
  #hideSidebarBtn svg {
    
    width: 30px;
    height: 30px;
    fill: #333;
    transition: transform 0.2s ease-in-out;
  }
  
  #hideSidebarBtn:hover svg {
    transform: rotate(90deg);
    fill: red;
  }
  .menu-button{
    display: none;
     cursor: pointer;
  }
  @media(max-width: 800px){
    .hideOnMobile{
      display: none;
    }
    .menu-button{
      display: block;
    }
  }
  @media(max-width: 400px){
    .sidebar{
      width: 100%;
    }
  }


/* footer */
.new-footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  padding-top: 50px;
  margin-top: 40px;
}

/* Wrapper */
.footer-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 0 20px 50px;
}

/* Sections */
.footer-section h4 {
  font-size: 17px;
  margin-bottom: 15px;
  color: var(--other-color); /* #ffc633 */
}

.footer-logo {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.footer-section p {
  font-size: 14px;
  color: #f5f5f5;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  font-size: 14px;
  color: #f5f5f5;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section a:hover {
  color: var(--other-color); 
  padding-left: 6px;
}

/* Install App */
.row-install {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0;
}

.row-install img {
  width: 120px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.row-install img:hover {
  transform: scale(1.07);
}

.payment-photo {
  margin-top: 18px;
  max-width: 170px;
  border-radius: 6px;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  font-size: 13px;
  color: #f5f5f5;
}

.footer-bottom span {
  color: var(--other-color); 
  font-weight: 600;
}

/* Socials */
.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  color: #fff;
  font-size: 16px;
  transition: 0.3s;
}

.footer-socials a:hover {
  color: var(--other-color);
  transform: scale(1.1);
}


@media (max-width: 1024px) {
  .footer-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .row-install {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}




.home {
  min-height: 100vh;
  background: #fff;
  overflow: hidden;
}

.home-container {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

/* ================= LEFT ================= */
.home-content {
  flex: 1;
  padding: clamp(40px, 6vw, 90px) clamp(25px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  z-index: 2;
}

.home-content h6 {
  color: #ff9800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.home-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: #111;
}

.home-content p {
  font-size: 1rem;
  color: #555;
  max-width: 520px;
  margin-bottom: 40px;
}

/* ================= BUTTON ================= */
.home-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: #ff6600;
  color: #fff;
}

.btn.primary:hover {
  background: #e65100;
  transform: translateY(-2px);
}

/* ================= IMAGE ================= */
.home-image {
  flex: 1;
  min-height: 100vh;
  background:
    /* 👇 ضباب خفيف للكمبيوتر */
    linear-gradient(
      to left,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.15) 35%,
      rgba(255,255,255,0.4) 65%,
      rgba(255,255,255,0.8) 85%,
      rgba(255,255,255,1) 100%
    ),
    url('../images/home.png') center / cover no-repeat;
}

/* ================= TABLET ================= */
@media (max-width: 1024px) {
  .home-content p {
    max-width: 100%;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .home-container {
    flex-direction: column-reverse;
  }

  .home-image {
    min-height: 45vh;
    background:
      /* 👇 ضباب أقوى للموبايل */
      linear-gradient(
        to top,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.85) 30%,
        rgba(255,255,255,0.4) 60%,
        rgba(255,255,255,0) 100%
      ),
      url('../images/home.png') center / cover no-repeat;
  }

  .home-content {
    text-align: center;
    padding: 45px 20px;
  }

  .home-buttons {
    justify-content: center;
  }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {
  .home-content h1 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    max-width: 260px;
  }
}



.categories-section {
  text-align: center;
  padding: 60px 20px;
  background: #fffaf5;
}

.categories-section h2 {
  font-size: 2rem;
  margin-bottom: 35px;
  color: #ff6f00;
}

.categories-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.category-card {
  background: #fff;
  border-radius: 14px;
  padding: 25px 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.category-card a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.category-card a:hover {
  color: #ff6f00;
}


@media (max-width: 1024px) {
  .categories-container {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .categories-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .category-card {
    min-height: 100px;
    padding: 20px 10px;
  }
}

@media (max-width: 480px) {
  .categories-container {
    grid-template-columns: 1fr;
  }
}

.bestrating h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #ff6f00;
}
.bestrating-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}
.row {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 18px;
  transition: all 0.3s ease;
}
.row:hover {
  transform: translateY(-5px);
}
.row-image img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 10px;
}
.row h3 a {
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin: 12px 0;
  text-decoration: none;
}
.row-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.add-to-cart-button {
  background: #ff6600;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.add-to-cart-button:hover {
  background: #e65100;
}


/* shop */
.center-text {
  text-align: center;
}
.center-text h2 {
  font-size: var(--h2-font);
  font-weight: 700;
}
.n-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: center;
  gap: 2rem;
  margin-top: 4rem;
}
.row {
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.row:hover {
  transform: translateY(-5px);
}
.row-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}
.row-image:hover img {
  transform: scale(1.05);
}
.row h3 a {
  font-size: 18px;
  font-weight: bold;
  color: black;
  text-decoration: none;
  margin: 10px 0;
}
.start {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ccc; 
}
.row-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: auto;
}
.add-to-cart-button {
  background: #ff6600;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 5px;
  width: 100%;
}
.add-to-cart-button:hover {
  background: #cc5500;
}
.row-right h6 {
  font-size: 16px;
  font-weight: bold;
  color: black;
  margin-left: auto;
}
@media (max-width: 1200px) {
  .n-content {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .n-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .n-content {
    grid-template-columns: 1fr;
  }
  .row-in {
    flex-direction: column;
    align-items: center;
  }
  .add-to-cart-button {
    width: auto;
  }
  .row-right h6 {
    margin-top: 10px;
  }
}
/*---search bar---*/
.header-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px;
}
.search {
  width: 100%;
}
.search-form {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}
.search-form input {
  padding: 15px 40px 15px 20px;
  font-size: 18px;
  width: 100%;
  border-radius: 30px;
  border: 1px solid #ddd;
  background-color: #f5f5f5;
  box-sizing: border-box;
  transition: all 0.3s;
}
.search-form input:focus {
  outline: none;
  border-color: #ff6600;
  background-color: #fff;
}
.search-form button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ff6600;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  transition: all 0.3s;
}
.search-form button:hover {
  background-color: #cc5500;
}
.header-container h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0;
}
.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 10px;
  overflow-x: auto;
}
.sort-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 6px 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  white-space: nowrap;
  max-width: 100%;
  flex-shrink: 0; 
}
.sort-container label {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
.sort-container select {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  max-width: 150px;
}


/* product Screen*/
.product-container {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 1100px;
  margin: 30px auto;
  padding: 1.5rem;
}
.product-image {
  flex: 1;
  min-width: 320px;
  max-width: 500px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 16px;
}
.product-image img {
  width: 100%;
  border-radius: 16px;
}
.product-details {
  flex: 1;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
}
.product-title {
  font-size: 28px;
  font-weight: bold;
  color: #222;
  margin-bottom: 1rem;
}
.product-category, .product-brand, .product-stock, .product-description {
  font-size: 16px;
  margin-bottom: 0.8rem;
  color: #444;
}
.product-price {
  font-size: 22px;
  font-weight: bold;
  color: #ff6600;
  margin: 10px 0;
}
.product-stock .success {
  color: green;
  font-weight: bold;
}
.product-stock .error {
  color: red;
  font-weight: bold;
}
.add-to-cart-button {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #ff6600;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.add-to-cart-button:hover {
  background-color: #e65c00;
}
@media (max-width: 768px) {
  .product-container {
    flex-direction: column;
  }
  .product-image,
  .product-details {
    max-width: 100%;
  }
}
.related-products {
  margin-top: 4rem;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.related-products h2 {
  font-size: 24px;
  margin-bottom: 2rem;
  color: #333;
  position: relative;
  padding-bottom: 0.5rem;
}
.related-products h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 60px;
  background-color: #ff6600;
  border-radius: 2px;
}
.review-section {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.review-section h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 1.5rem;
  position: relative;
}
.review-section h2::after {
  content: '';
  height: 3px;
  width: 50px;
  background: #ff6600;
  position: absolute;
  left: 0;
  bottom: -6px;
  border-radius: 2px;
}
.no-review {
  color: #999;
  margin-bottom: 1rem;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem; 
  margin-bottom: 2rem;
}
.review-card {
  background: #f9f9f9;
  padding: 1.2rem;
  border-radius: 10px;
  border-left: 4px solid #ff6600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  flex-direction: column;
}
.review-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
  margin-bottom: 0.5rem;
}
.review-name {
  font-weight: bold;
  color: #333;
}
.review-rating {
  margin: 0.5rem 0;
}
.review-comment {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  word-wrap: break-word; 
  word-break: break-word;
}
.review-form-wrapper {
  margin-top: 2rem;
}
.review-form-wrapper h3 {
  margin-bottom: 1rem;
  color: #222;
}
.review-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-form label {
  font-weight: bold;
  color: #333;
}
.review-form select,
.review-form textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  resize: vertical;
}
.submit-review-btn {
  background: #ff6600;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.submit-review-btn:hover {
  background: #cc5500;
}
.signin-msg {
  font-size: 15px;
  color: #666;
}
.signin-msg a {
  color: #ff6600;
  text-decoration: none;
  font-weight: bold;
}
.back-to-result {
  margin: 20px auto;
  text-align: left;
  max-width: 1100px;
  font-size: 16px;
}
.back-to-result a {
  color: #ff6600;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding-left: 20px;
}
.back-to-result a::before {
  content: '←';
  position: absolute;
  left: 0;
  color: #ff6600;
  font-size: 16px;
}
.back-to-result a:hover {
  color: #e65c00;
  text-decoration: underline;
}
.no-related-products {
  text-align: center;
  padding: 2rem;
  font-size: 1.1rem;
  color: #999;
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  margin: 2rem 0;
  font-style: italic;
}

/* profile */
.profile-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.profile-box {
  flex: 1 1 300px;
  background-color: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.profile-form h1 {
  margin-bottom: 20px;
  color: #333;
}
.profile-form .form-group {
  margin-bottom: 15px;
}
.profile-form label {
  display: block;
  margin-bottom: 5px;
  color: #666;
}
.profile-form input {
  width: 100%;
  padding: 10px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
}
.profile-form input:focus {
  border-color: #f08000;
}
.button {
  width: 100%;
  padding: 12px;
  border: none;
  font-size: 16px;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s ease;
}
.update-btn {
  background-color: #f08000;
}
.update-btn:hover {
  background-color: #d46f00;
}
.signout-btn {
  background-color: #e53935;
}
.signout-btn:hover {
  background-color: #c62828;
}
.profile-orders-list {
  flex: 2 1 600px;
  background-color: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.profile-orders-list h2 {
  margin-bottom: 20px;
  color: #333;
}
.order-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}
.order-card-profile {
  background-color: #fdfdfd;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  padding: 15px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.order-card-profile strong {
  color: #f08000;
}
.order-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}
.order-btn {
  padding: 6px 12px;
  background-color: #f08000;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  transition: 0.2s ease;
  cursor: pointer;
  border: none;
}
.order-btn:hover {
  background-color: #d46f00;
}
.delete-order {
  background-color: #e53935;
}
@media (max-width: 768px) {
  .profile-wrapper {
    flex-direction: column;
  }

  .profile-box, .profile-orders-list {
    flex: 1 1 100%;
  }
}


/*signin , verify , shipping , register , payment , forget_password , reset_password */
.small-body-form {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wrapper {
  position: relative;
  width: 430px;
  height: 500px;
  background-color: #fff;
  border-radius: 20px;
  padding: 100px 32px 64px;
  border: 1px solid #FF6F00;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.wrapper:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.form-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 75px;
  background-color: #FF6F00;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}
.form-header::before,
.form-header::after {
  content: "";
  position: absolute;
  top: 0;
  width: 30px;
  height: 30px;
}
.form-header::before {
  left: -30px;
  border-top-right-radius: 50%;
  box-shadow: 15px 0 0 #FF6F00;
}
.form-header::after {
  right: -30px;
  border-top-left-radius: 50%;
  box-shadow: -15px 0 0 #FF6F00;
}
.title-login,
.title-register {
  color: white;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 1px;
}
.login-form {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
}
.verify-wrapper {
  height: 320px;
  padding: 100px 32px 48px;
}
.input-box {
  position: relative;
  margin: 25px 0;
}
.wrapper-forget {
  position: relative;
  width: 400px;
  min-height: 380px; 
  background-color: #fff;
  border-radius: 20px;
  padding: 100px 32px 48px;
  border: 1px solid #FF6F00;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}
.wrapper-forget:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}
.wrapper-reset {
  position: relative;
  width: 450px;
  min-height: 420px; 
  background-color: #fff;
  border-radius: 20px;
  padding: 100px 32px 48px;
  border: 1px solid #FF6F00;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.wrapper-reset:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}
.input-box-shipping{
  position: relative;
  margin-bottom: 30px;
}
.input-field {
  width: 100%;
  height: 55px;
  font-size: 16px;
  background: transparent;
  color: #333;
  padding: 0 20px;
  border: 2px solid #FFA726;
  border-radius: 30px;
  outline: none;
  transition: all 0.3s ease;
}
.input-field:focus {
  border-color: #FF6F00;
  box-shadow: 0 0 0 4px rgba(255, 111, 0, 0.1);
}
.label {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #777;
  transition: 0.2s ease;
  background-color: transparent;
  padding: 0 5px;
  pointer-events: none;
}
.input-field:focus ~ .label,
.input-field:valid ~ .label {
  top: 0;
  font-size: 13px;
  background-color: white;
  color: #FF6F00;
  padding: 0 10px;
  transform: translateY(-50%) translateX(10px);
}
.icon {
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  font-size: 20px;
  color: #FF6F00;
  pointer-events: none;
}
.form-cols {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}
.form-cols a,
.switch-form a {
  color: #FF6F00;
  font-weight: 600;
  transition: 0.2s ease;
}
.form-cols a:hover,
.switch-form a:hover {
  text-decoration: underline;
}
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  background-color: #FF6F00;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-submit:hover {
  background-color: #F57C00;
  gap: 15px;
  box-shadow: 0 5px 15px rgba(245, 124, 0, 0.3);
}
.btn-submit:active {
  transform: scale(0.98);
}
.switch-form {
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
}
@media only screen and (max-width: 564px) {
  .wrapper {
    margin: 20px;
    width: 90%;
  }
  .form-header {
    width: 140px;
    height: 65px;
  }
  .title-login,
  .title-register {
    font-size: 22px;
  }
}

.category-payement input[type="radio"]:checked + label {
  border: 2px solid #FF6F00;
  background-color: rgba(255, 111, 0, 0.1);
}
.category-payement input[type="radio"] {
  display: none;
}

/*small cart*/
.small-cart {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 25px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-width: 420px;
  width: 90%;
  transition: all 0.3s ease-in-out;
  animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
.small-cart-content {
  width: 100%;
  max-height: 350px;
  overflow-y: auto;
  padding: 10px 5px;
}
.small-cart-content::-webkit-scrollbar {
  width: 6px;
}
.small-cart-content::-webkit-scrollbar-thumb {
  background: #ff9800;
  border-radius: 5px;
}
.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
}
.close-btn svg {
  fill: #ff523b;
  transition: 0.3s;
}
.close-btn:hover svg {
  fill: #c0392b;
}
.small-cart h3 {
  font-size: 22px;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}
.empty-cart-text {
  text-align: center;
  font-size: 14px;
  color: #888;
}
.cart-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.cart-item img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}
.item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 13px;
}
.item-name {
  font-weight: bold;
  color: #444;
}
.item-qty {
  color: #777;
  font-size: 12px;
}
.item-price {
  font-weight: bold;
  color: #ff9800;
}
.small-cart-checkout {
  display: block;
  background: #f9c25d;
  color: white;
  padding: 12px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.small-cart-checkout:hover {
  background: #ff9900;
}

@media (max-width: 480px) {
  .small-cart {
    padding: 20px 15px;
  }
  .small-cart h3 {
    font-size: 18px;
  }
  .cart-item img {
    width: 40px;
    height: 40px;
  }
  .item-details {
    font-size: 12px;
  }
  .item-name {
    font-size: 13px;
  }
}


/*cartScreen*/
.small-container-cart {
max-width: 1000px;
margin: 30px auto 60px auto; 
padding: 0 15px; 
}
.small-container-cart table {
width: 100%;
border-collapse: collapse;
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}
.small-container-cart table th {
text-align: left;
padding: 12px 15px;
background-color: #ff7f32;
color: white;
font-weight: bold;
font-size: 15px;
}
.small-container-cart table td {
padding: 15px 10px;
border-bottom: 1px solid #eee;
font-size: 14px;
}
.cart-info {
display: flex;
flex-wrap: wrap;
align-items: center;
}
.cart-info img {
width: 70px;
height: 70px;
object-fit: cover;
border-radius: 8px;
margin-right: 12px;
}
.cart-info a {
color: #333;
font-weight: 500;
transition: 0.3s;
}
.cart-info a:hover {
color: #ff9800;
}
.delete-button {
color: #ff523b;
font-size: 14px;
cursor: pointer;
transition: 0.3s;
}
.delete-button:hover {
color: red;
text-decoration: underline;
}
.primary.fw,
#checkout-button {
background:#ff6600;
color: white;
border: none;
padding: 12px 20px;
font-weight: bold;
border-radius: 6px;
cursor: pointer;
transition: 0.3s;
}
.primary.fw:hover,
#checkout-button:hover {
background: #ff8800;
}
.cart-action {
background: #f9f9f9;
padding: 20px;
border-radius: 12px;
margin-top: 25px;
width: 100%;
max-width: 400px;
margin-left: auto;
margin-right: auto;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
text-align: center;
}
.cart-action h3 {
font-size: 16px;
margin-bottom: 15px;
color: #333;
font-weight: bold;
}
@media (max-width: 768px) {
.cart-info {
  flex-direction: column;
  text-align: center;
}
.cart-info img {
  margin-bottom: 10px;
}
.small-container-cart {
  margin: 20px 10px 40px 10px;
  padding: 0;
}
.small-container-cart table th,
.small-container-cart table td {
  font-size: 13px;
  padding: 10px;
}
}

/*loading*/
.loader{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.75s, visbility 0.75s ;
}
.loader::after{
  content: "";
  width: 75px;
  height: 75px;
  border: 15px solid #dddddd;
  border-top-color: orange;
  border-radius: 50%;
  animation: loading 0.75s ease infinite;
}
@keyframes loading {
  from{
    transform: rotate(0turn);
  }
  to{
    transform: rotate(1turn);
  }
}
.overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 16, 16, 0.5);
}
.overlay.active {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}
.overlay > div {
  background-color: #ffffff;
  color: #000000;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  max-width: 40rem;
}
.overlay > div > * {
  margin: 2rem;
}








  





.fw {
  width: 100%;
}
.success {
  color: #40c040;
}
.error {
  color: #c04040;
}

.grid-container {
  display: grid;
  grid-template-areas:
    'header'
    'main',
    'footer';
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}


/* Rating */
.rating {
  font-size: 16px;
  color: var(--other-color);
  margin-right: 5px;
  
}
.rating span:last-child {
  color: #444444;
  font-size: 17.5px;
}
.content {
  padding: 1rem;
}







/* Product Details */
.details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.details-image {
  flex: 2 1 60rem;
}
.details-image img {
  max-width: 60rem;
  width: 100%;
}
.details-info,
.details-action {
  flex: 1 1 30rem;
}
.details-info ul,
.details-action ul {
  padding: 0;
  list-style-type: none;
}
.details-info h1 {
  font-size: 2rem;
  margin: 0;
}
.details-info li,
.details-action li {
  margin-bottom: 1rem;
}
.details-action {
  border: 0.1rem #808080 solid;
  border-radius: 0.5rem;
  background-color: #f8f8f8;
  padding: 1rem;
}



/* ProductEditScreen*/
.edit-product-page {
  padding: 2rem;
}
.back-link {
  margin-bottom: 1.5rem;
}
.back-link a {
  color: #ff6600;
  text-decoration: none;
  font-weight: bold;
}
.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-items {
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  border: 1px solid #ffa94d;
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(255, 165, 0, 0.2);
  list-style: none;
}
.form-items li {
  display: flex;
  flex-direction: column;
  margin: 1rem 0;
}
.form-items label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}
.form-items input[type="text"],
.form-items input[type="number"],
.form-items input[type="file"] {
  padding: 0.8rem;
  border: 1px solid #ffa94d;
  border-radius: 0.5rem;
  font-size: 1rem;
}
.form-items input:focus {
  outline: none;
  border-color: #ff6600;
  box-shadow: 0 0 5px rgba(255, 102, 0, 0.5);
}
.form-items h1 {
  font-size: 2rem;
  color: #ff6600;
  margin-bottom: 1rem;
  text-align: center;
}
.orange-btn {
  background-color: #ff6600;
  color: white;
  padding: 0.8rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.orange-btn:hover {
  background-color: #e65c00;
}
@media (max-width: 768px) {
  .form-items {
    padding: 1.5rem;
    width: 90%;
  }
  .form-items h1 {
    font-size: 1.5rem;
  }
}



/* Aside */
aside {
  position: fixed;
}




/*  admin panel*/

/*  dashboard */
.dashboard {
  display: flex;
  min-height: 100vh;
  background-color: #f4f6f9;
}
.dashboard-menu {
  width: 250px;
  background-color: #2c3e50;
  
  padding-top: 20px;
}
.dashboard-menu ul {
  padding: 0;
  list-style-type: none;
}
.dashboard-menu li {
  margin: 15px 0;
}
.dashboard-menu a {
  display: block;
  padding: 1rem 2rem;
  color: white;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.dashboard-menu a:hover {
  background-color: #e67e22; 
}
.dashboard-menu li.selected a {
  background-color: #e67e22;
  color: white;
}
.dashboard-content {
  flex: 1;
  padding: 20px; 
  border-radius: 10px;
  margin-left: 20px;
}
.dashboard-content h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1.5rem;
}
.summary-items {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.summary-items > li {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  flex: 1 1 30%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.summary-title {
  background-color: rgb(196, 87, 87);
  font-size: 1.5rem;
  padding: 10px;
  border-radius: 5px;
}
.summary-title.color1 {
  background-color: #f9f9f9;
}
.summary-title.color2 {
  background-color: #e0f7fa;
}
.summary-title.color3 {
  background-color: #f1f8e9;
}
.summary-body {
  font-size: 2rem;
  padding: 20px;
  text-align: center;
}
.charts {
  display: flex;
  gap: 30px;
  margin-top: 2rem;
}
.charts > div {
  flex: 1;
}

.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .dashboard-menu {
    display: none;
  }
  .bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2c3e50;
    padding: 10px 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
  }
  .bottom-nav i {
    font-size: 22px;
    color: black;
    transition: color 0.3s ease;
  }
  .bottom-nav a.active i,
  .bottom-nav a:hover i {
    color: #e67e22;
  }
  .dashboard-menu i {
    margin-right: 8px;
    color: black;
    transition: color 0.3s ease;
  }
  .dashboard-menu a:hover i,
  .dashboard-menu .selected i {
    color: #e67e22;
  }
}



button {
  background-color: #e67e22; 
  border: none;
  padding: 10px 20px;
  color: white;
  font-size: 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #d35400;
}

button:disabled {
  background-color: #bdc3c7;
  cursor: not-allowed;
}

/* ProductListScreen*/
.products-cards-container {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); 
}
.dashboard-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.toolbar-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
#create-product-button {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  font-weight: bold;
  border-radius: 8px;
}
.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sort-wrapper label {
  font-weight: bold;
  font-size: 0.95rem;
}
.sort-wrapper select {
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .dashboard-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  #search-form {
    order: 1;
  }
  .toolbar-bottom-row {
    order: 2;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  #create-product-button,
  .sort-wrapper {
    flex: 0 0 auto;
  }
}
.product-card {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  align-items: flex-start;
}
.product-card-image {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.75rem;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}
.product-card-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  overflow: hidden;
}
.product-card-details h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  color: #333;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.product-card-details p {
  font-size: 0.95rem;
  margin: 0.2rem 0;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
}
.product-card-details p strong {
  color: #f08000;
}

/* OrderListScreen */
.card-actions {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background-color: #fff;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
}
.filter-container label {
  font-weight: bold;
  color: #444;
}
.filter-container select {
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  background-color: #fdfdfd;
  transition: border 0.3s ease;
}
.filter-container select:focus {
  border-color: #f08000;
  outline: none;
}
@media (max-width: 480px) {
  .filter-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .filter-container label,
  .filter-container select {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .product-card {
    font-size: 0.85rem;
    padding: 0.8rem;
  }
  .table-button {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
}
.orders-cards-container {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.order-card {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.order-card strong {
  color: #f08000;
}
.card-actions {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
}
.table-button {
  background-color: #f08000;
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s ease;
}
.table-button:hover {
  background-color: #d46f00;
}
.table-button-delete {
  background-color: #e03e3e;
}
.table-button-delete:hover {
  background-color: #b83030;
}
@media (max-width: 480px) {
  .order-card {
    font-size: 0.85rem;
    padding: 0.8rem;
  }
  .table-button {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
}


/*  links footer*/

/* --- About Us Page --- */
.about-hero {
  min-height: 60vh;
  background: linear-gradient(rgba(18,18,18,0.6), rgba(18,18,18,0.6)),
              url(images/about-bg.jpg) no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 50px 20px;
}
.about-hero-text h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 15px;
  color: #ff9800;
}
.about-hero-text p {
  font-size: 1.1rem;
  color: #f1f1f1;
}
.about-content {
  padding: 60px 20px;
  background: #fffaf5;
  color: #333;
  text-align: center;
}
.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ff6f00;
}
.about-content p {
  max-width: 800px;
  margin: 0 auto 15px;
  font-size: 1rem;
  line-height: 1.7;
}
.about-team {
  padding: 60px 20px;
  background: #f7f9fb;
  text-align: center;
}
.about-team h2 {
  font-size: 2rem;
  margin-bottom: 35px;
  color: #ff6f00;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}
.team-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 25px;
  transition: all 0.3s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.team-card h3 {
  color: #ff6600;
  margin-bottom: 10px;
}
.team-card p {
  color: #555;
  font-size: 0.95rem;
}

/*  FAQScreen */
.faq-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.faq-item {
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.faq-question {
  width: 100%;
  background: #f97316; 
  color: #fff;
  padding: 1rem;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #ea580c;
}

.faq-answer {
  background: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1rem;
}

.faq-answer p {
  margin: 1rem 0;
  color: #333;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .faq-title {
    font-size: 1.5rem;
  }
  .faq-question {
    font-size: 1rem;
    padding: 0.8rem;
  }
}
























/* buy a order*/


/* Checkout Steps */
.checkout-steps {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 40rem;
  margin: 1rem auto;
  padding: 0 1rem;
  font-family: 'Arial', sans-serif;
  box-sizing: border-box;
}
.checkout-steps > div {
  border-top: 0.3rem solid #c0c0c0;
  color: #c0c0c0;
  flex: 1;
  text-align: center;
  padding: 1rem 0;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer; 
}
.checkout-steps > div.active {
  color: #f08000;
  border-top-color: #f08000;
  transform: scale(1.05); 
}
.checkout-steps > div:hover {
  color: #f08000;
  border-top-color: #f08000;
  transform: scale(1.05);
}
@media (max-width: 660px) {
  .checkout-steps > div {
    font-size: 0.9rem;
    padding: 0.8rem 0; 
  }
}


/* shippingScreen*/
.shipping-box {
  max-width: 500px;
  margin: 50px auto;
  background-color: #ffffff;
  border: 2px solid #ff7b00;
  border-radius: 24px;
  box-shadow: 0 8px 25px rgba(255, 123, 0, 0.15);
  padding: 35px 30px;
}
.shipping-title {
  text-align: center;
  font-size: 26px;
  color: #222;
  margin-bottom: 30px;
  font-weight: bold;
}
.input-box-shipping {
  position: relative;
  margin-bottom: 20px;
}
.input-box-shipping input {
  width: 100%;
  padding: 12px 15px 12px 55px;
  border: 2px solid #ffa94d;
  border-radius: 16px;
  font-size: 16px;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 3px 6px rgba(0,0,0,0.04);
  height: 48px;
}
.input-box-shipping input:focus {
  border-color: #ff6600;
  outline: none;
}
.input-box-shipping label {
  position: absolute;
  top: -10px;
  left: 15px;
  background-color: #ffffff;
  padding: 0 5px;
  font-size: 14px;
  color: #ff8000;
  font-weight: 600;
}
.input-box-shipping .icon {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #ff8000;
  font-size: 20px;
  z-index: 1;
}
.btn-submit {
  width: 100%;
  padding: 14px;
  background-color: #ff7b00;
  color: white;
  font-weight: 600;
  font-size: 17px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}
.btn-submit:hover {
  background-color: #e66a00;
}
.input-box-shipping .iti {
  width: 100%;
}
.input-box-shipping .iti__flag-container {
  left: 7px;
  top: 9px;
  z-index: 5;
}
.input-box-shipping .iti__selected-flag {
  background-color: transparent;
  border-right: none;
}
@media (max-width: 600px) {
  .shipping-box {
    margin: 20px;
    padding: 25px 20px;
  }
  .shipping-title {
    font-size: 22px;
  }
  .input-box-shipping input {
    font-size: 15px;
    padding: 11px 13px 11px 50px;
  }
  .btn-submit {
    font-size: 15px;
    padding: 12px;
  }
}
/* paymentScreen*/
.Payment-screen {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff3e6;
  padding: 30px 20px;
}
.wrapper-payment {
  position: relative;
  width: 430px;
  height: 300px;
  background-color: #fff;
  border-radius: 20px;
  padding: 100px 32px 64px;
  border: 1px solid #FF6F00;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.payments-container {
  width: 100%;
  max-width: 460px;
  background-color: #ffffff;
  border: 2px solid #ff7b00;
  border-radius: 24px;
  padding: 35px 30px;
  box-shadow: 0 8px 25px rgba(255, 123, 0, 0.15);
}
.title-payments h4 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 30px;
  color: #222;
  font-weight: bold;
}
.category-payement {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.category-payement label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #fafafa;
  border: 2px solid #ddd;
  border-radius: 16px;
  transition: 0.3s ease;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.04);
}
.category-payement label:hover {
  border-color: #ff7b00;
  background-color: #fff6ec;
}
.category-payement label .imgName {
  display: flex;
  align-items: center;
  gap: 15px;
}
.imgContainers img {
  width: 45px;
  height: auto;
}
.name-pay {
  font-weight: 600;
  font-size: 17px;
  color: #333;
}
.check {
  display: none;
}
.check i {
  font-size: 22px;
  color: #ff7b00;
}
input[type="radio"] {
  display: none;
}
#visa:checked ~ .category-payement .VisaMethod,
#paypal:checked ~ .category-payement .PaypalMethod,
#stripe:checked ~ .category-payement .StripeMethod,
#mastercard:checked ~ .category-payement .MastercardMethod {
  border-color: #ff7b00;
  background-color: #fff1e4;
  box-shadow: 0 0 0 3px rgba(255, 123, 0, 0.15);
}
#visa:checked ~ .category-payement .VisaMethod .check,
#paypal:checked ~ .category-payement .PaypalMethod .check,
#stripe:checked ~ .category-payement .StripeMethod .check,
#mastercard:checked ~ .category-payement .MastercardMethod .check {
  display: block;
}
.btn-payment {
  width: 100%;
  padding: 14px 0;
  background-color: #ff7b00;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 25px;
  transition: 0.3s ease;
}
.btn-payment:hover {
  background-color: #e66a00;
}

@media (max-width: 500px) {
  .payments-container {
    padding: 25px 20px;
  }
  .category-payement label {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .check {
    align-self: flex-end;
  }
}

/* PlaceOrderScreen     OrderScreen */
.order-page {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}
.page-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ff6600; 
  text-align: center;
  font-family: 'Arial', sans-serif;
}
.order-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}
.order-info .order-box {
  background-color: #fff;
  border: 1px solid #ff6600;
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.1);
}
.status {
  margin-top: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
  width: fit-content;
  font-family: 'Arial', sans-serif;
}
.status.success {
  background-color: #d4edda;
  color: #155724;
}
.status.error {
  background-color: #f8d7da;
  color: #721c24;
}
.cart-list {
  list-style: none;
  padding: 0;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-family: 'Arial', sans-serif;
}
.cart-image img {
  width: 60px;
  border-radius: 0.5rem;
  border: 1px solid #ddd;
}
.cart-name {
  flex: 1;
}
.cart-price {
  font-weight: bold;
  color: #333;
}
.order-summary {
  background-color: #fff;
  border: 1px solid #ff6600;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.1);
}
.order-summary h2 {
  margin-bottom: 1rem;
  color: #ff6600;
  font-family: 'Arial', sans-serif;
}
.order-summary ul {
  list-style: none;
  padding: 0;
}
.order-summary li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}
.order-summary li.total {
  font-size: 1.2rem;
  font-weight: bold;
  color: #222;
}
.primary-btn {
  background-color: #ff6600;
  color: #fff;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 0.7rem;
  width: 100%;
  margin-top: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Arial', sans-serif;
}
.paypal {
  width: 100%;
}
@media (max-width: 768px) {
  .order-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-info .order-box, .order-summary {
    margin-bottom: 1.5rem;
  }

  .primary-btn {
    padding: 1rem;
  }
}
.payment-photo{
  width: 120px; 
  height: 40px; 
  max-width: 100%;
}








/*  error404*/
.error-container {
  text-align: center;
  margin-top: 10%;
  font-family: Arial, sans-serif;
}

.error-container h1 {
  font-size: 100px;
  color: #ff6b6b;
  margin-bottom: 10px;
}

.error-container p {
  font-size: 20px;
  color: #555;
  margin-bottom: 20px;
}

.home-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #ff6b6b;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s ease;
}

.home-btn:hover {
  background-color: #e63946;
}
