@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@300;400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap");

:root {
  --brand-main: #fea200;
  --brand-hover: #be8726;
  --bg-light: #fffceb;
  --text-strike: #58625a;
  --text-price: #2c3192;
  --text-placeholder: #a5a5a5;
  --text-profile-name: #3d4f41;
  --btn-hover-bg: #b4ef39;
  --bg-input: #f2f2f2;
  --black: #000000;
  --white: #ffffff;
  --font-heading: "League Spartan", sans-serif;
  --font-nav: "Oswald", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-heading);
  color: var(--black);
  background-color: var(--white);
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* 1. Top USP Bar (Marquee) */
.top-usp-bar {
  background-color: var(--brand-main);
  color: var(--black);
  padding: 8px 0;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 40px; /* Space between USPs */
  padding-right: 40px;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.usp-item i {
  font-size: 1.1rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  } /* Moves exactly half the width to loop seamlessly */
}

/* 2. Contact & Social Bar */
.contact-bar {
  background-color: var(--bg-light);
  padding: 8px 0;
  font-size: 0.9rem;
}

.contact-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.social-links {
  display: flex;
  gap: 15px;
}
.social-links img {
  height: 16px;
  width: auto;
  filter: invert(56%) sepia(45%) saturate(836%) hue-rotate(6deg) brightness(96%)
    contrast(87%);
  transition: opacity 0.3s ease;
}
.social-links a:hover img {
  opacity: 0.7;
}
.email-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-hover);
  font-weight: 500;
}
.email-contact img {
  height: 14px;
}

/* 3. Main Header */
.main-header {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background-color: var(--white);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--black);
}

.search-container {
  display: flex;
  max-width: 300px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}
.search-container input {
  flex: 1;
  border: none;
  background-color: var(--bg-input);
  padding: 10px 15px;
  font-family: var(--font-heading);
  font-size: 1rem;
  outline: none;
}
.search-container input::placeholder {
  color: var(--text-placeholder);
}
.search-container button {
  background-color: var(--brand-main);
  border: none;
  width: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.search-container button i {
  font-size: 1.2rem;
  color: var(--black);
}
.search-container button:hover {
  background-color: var(--btn-hover-bg);
}

.logo-container {
  display: flex;
  justify-content: center;
}
.logo-container img {
  height: 60px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
}
.action-icon {
  position: relative;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--black);
}
.badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background-color: var(--black);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-wrapper {
  position: relative;
}
.profile-dropdown {
  position: absolute;
  top: 150%;
  right: 0;
  background: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  width: 175px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  border: 1px solid #eee;
  padding: 10px;
}
.profile-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.profile-dropdown a {
  display: block;
  padding: 12px 15px;
  font-size: 1rem;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}
.profile-dropdown a:last-child {
  border-bottom: none;
}
.profile-dropdown a:hover {
  background-color: var(--bg-light);
  color: var(--brand-hover);
}

/* 4. Navbar & Mobile Sidebar Extras */
.navbar {
  background-color: var(--brand-main);
  padding: 0 5%;
}
.mobile-nav-header {
  display: none;
}
.nav-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-item {
  position: relative;
}
.nav-item > a {
  font-family: var(--font-nav);
  font-size: 1.15rem;
  font-weight: 500;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 15px 0;
  transition: color 0.3s;
}
.nav-item > a:hover {
  color: var(--white);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--brand-main);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 90;
  display: flex;
  flex-direction: column;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  padding: 12px 20px;
  font-family: var(--font-nav);
  font-size: 0.95rem;
  color: var(--black);
  border-bottom: 1px solid #f5f5f5;
  transition: 0.2s;
}
.nav-dropdown a:hover {
  background-color: var(--bg-light);
  color: var(--brand-hover);
  padding-left: 25px;
}

.mobile-sidebar-extras {
  display: none;
} /* Hidden on desktop */

/* 5. Aside Cart */
.cart-overlay,
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}
.cart-overlay.active,
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
.aside-cart {
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  max-width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 1000;
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}
.aside-cart.active {
  right: 0;
}
.cart-header {
  padding: 20px;
  background: var(--bg-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}
.cart-header h3 {
  font-family: var(--font-nav);
  font-size: 1.5rem;
  text-transform: uppercase;
}
.close-cart {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--black);
  transition: color 0.3s;
}
.close-cart:hover {
  color: var(--brand-hover);
}
.cart-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-placeholder);
}

/* =========================================
   ENHANCED CART STYLES
   ========================================= */

/* Cart Header - Brand Main Background */
.aside-cart .cart-header {
  padding: 20px;
  background: var(--brand-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.aside-cart .cart-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-count {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
}

.aside-cart .close-cart {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--black);
  transition: transform 0.3s ease;
}

.aside-cart .close-cart:hover {
  transform: rotate(90deg);
}

/* Cart Body */
.aside-cart .cart-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Cart Items */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-light);
  border-radius: 12px;
  position: relative;
  border: 1px solid #f0e6cc;
}

.cart-item-img {
  width: 60px;
  height: 75px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 8px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-medium {
  font-size: 0.75rem;
  color: var(--text-strike);
  display: block;
  margin-bottom: 8px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--white);
  color: var(--black);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: var(--brand-main);
}

.qty-value {
  width: 28px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-price);
}

.cart-item-remove {
  position: absolute;
  top: 30px;
  right: 8px;
  background: none;
  border: none;
  color: #999;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s;
}

.cart-item-remove:hover {
  color: #e74c3c;
}

/* Discount Strip */
.cart-discount-strip {
  background: linear-gradient(135deg, #fff8e1 0%, #fffdf5 100%);
  border: 1px dashed var(--brand-main);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
}

.discount-progress {
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.discount-progress-bar {
  height: 100%;
  background: var(--brand-main);
  border-radius: 10px;
  transition: width 0.5s ease;
}

.cart-discount-strip p {
  font-size: 0.85rem;
  color: var(--black);
  margin: 0;
}

.cart-discount-strip strong {
  color: var(--brand-hover);
}

/* Recommended Products */
.cart-recommended h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 12px;
}

.recommended-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recommended-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--white);
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  transition: border-color 0.3s;
}

.recommended-card:hover {
  border-color: var(--brand-main);
}

.recommended-card img {
  width: 45px;
  height: 55px;
  object-fit: contain;
  flex-shrink: 0;
}

.recommended-info {
  flex: 1;
  min-width: 0;
}

.recommended-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recommended-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-price);
}

.recommended-add {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--brand-main);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s;
  flex-shrink: 0;
}

.recommended-add:hover {
  background: var(--brand-hover);
  color: var(--white);
}

/* Cart Footer */
.cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  background: var(--white);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--text-strike);
}

.subtotal-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--brand-main);
  color: var(--black);
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.3s;
  margin-bottom: 10px;
}

.checkout-btn:hover {
  background: var(--btn-hover-bg);
  color: var(--black);
}

.continue-shopping {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-strike);
  transition: color 0.3s;
}

.continue-shopping:hover {
  color: var(--brand-hover);
}

/* Empty Cart State (hidden by default, shown when items removed) */
.cart-empty-state {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.cart-empty-state i {
  font-size: 3rem;
  color: var(--text-placeholder);
  margin-bottom: 15px;
}

.cart-empty-state p {
  color: var(--text-strike);
  font-size: 1rem;
}

/* 6. Hero Slider */
.hero-section {
  width: 100%;
  position: relative;
  background-color: var(--bg-input);
}
.myHeroSwiper {
  width: 100%;
  max-height: 70vh;
}
.myHeroSwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
}
.myHeroSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.myHeroSwiper .swiper-button-next,
.myHeroSwiper .swiper-button-prev {
  background-color: var(--bg-light);
  color: var(--brand-hover);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.myHeroSwiper .swiper-button-next::after,
.myHeroSwiper .swiper-button-prev::after {
  font-size: 1.2rem;
  font-weight: 700;
}
.myHeroSwiper .swiper-button-next:hover,
.myHeroSwiper .swiper-button-prev:hover {
  background-color: var(--brand-main);
  color: var(--white);
}
.myHeroSwiper .swiper-pagination-bullet {
  background-color: var(--black);
  opacity: 0.5;
  width: 10px;
  height: 10px;
}
.myHeroSwiper .swiper-pagination-bullet-active {
  background-color: var(--brand-main);
  opacity: 1;
  width: 25px;
  border-radius: 5px;
  transition: width 0.3s ease;
}

/* =========================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================= */
@media (max-width: 1024px) {
  .nav-item > a {
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  /* Hide Contact bar, Wishlist, and Cart from main header on mobile */
  .contact-bar,
  .desktop-only {
    display: none !important;
  }

  /* Strict CSS Grid for precise placement: Hamburger | Logo | Profile */
  .main-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "menu logo profile"
      "search search search";
    padding: 15px 5%;
    gap: 15px;
  }

  .mobile-menu-btn {
    display: block;
    grid-area: menu;
    align-self: center;
  }
  .logo-container {
    grid-area: logo;
    display: flex;
    justify-content: center;
  }
  .logo-container img {
    height: 30px;
  }
  .header-actions {
    grid-area: profile;
    justify-content: flex-end;
  }
  .search-container {
    grid-area: search;
    max-width: 100%;
    width: 100%;
  }

  /* Mobile Sidebar Navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    padding: 0;
    z-index: 1000;
    transition: 0.4s ease;
    overflow-y: auto;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
  }
  .navbar.active {
    left: 0;
  }
  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--brand-main);
    color: var(--black);
  }
  .mobile-nav-header h3 {
    font-family: var(--font-nav);
    font-size: 1.5rem;
    text-transform: uppercase;
  }
  .mobile-nav-header i {
    font-size: 1.5rem;
    cursor: pointer;
  }

  .nav-list {
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px 0;
    flex: 1;
  }
  .nav-item {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-item > a {
    padding: 15px 20px;
    color: var(--black);
    justify-content: space-between;
  }
  .nav-item > a:hover {
    color: var(--brand-hover);
  }

  /* Mobile Accordion */
  .nav-dropdown {
    position: static;
    box-shadow: none;
    border-top: none;
    background-color: #fafafa;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-item:hover .nav-dropdown {
    display: none;
  }
  .nav-item.active .nav-dropdown {
    display: flex;
  }
  .nav-dropdown a {
    padding: 12px 20px 12px 40px;
    border-bottom: 1px solid #eaeaea;
  }

  /* Mobile Sidebar Extras Styles */
  .mobile-sidebar-extras {
    display: block;
    border-top: 2px solid #eee;
    background-color: #fafafa;
  }
  .sidebar-action-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-bottom: 1px solid #eaeaea;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--black);
  }
  .sidebar-action-links a i {
    font-size: 1.3rem;
    color: var(--brand-main);
  }
  .sidebar-contact-info {
    padding: 20px;
  }
  .sidebar-email {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-hover);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.95rem;
  }
  .sidebar-email i {
    font-size: 1.2rem;
  }
  .sidebar-socials {
    display: flex;
    gap: 15px;
  }
  .sidebar-socials a {
    color: var(--text-placeholder);
    font-size: 1.2rem;
    transition: color 0.3s;
  }
  .sidebar-socials a:hover {
    color: var(--brand-main);
  }

}

@media (max-width: 768px) {
  .myHeroSwiper .swiper-button-next,
  .myHeroSwiper .swiper-button-prev {
    width: 35px;
    height: 35px;
  }
  .myHeroSwiper .swiper-button-next::after,
  .myHeroSwiper .swiper-button-prev::after {
    font-size: 1rem;
  }
}

/* Shop By Exam Section */
.shop-by-exam {
  padding: 60px 5%;
  padding-bottom: 30px;
  background-color: var(--white);
  overflow: hidden;
}

.shop-by-exam .container {
  max-width: 1400px;
  margin: 0 auto;
}

.shop-by-exam h2 {
  text-align: center;
  font-family: var(--font-heading);
  margin-bottom: 40px;
  position: relative;
  color: var(--black);
}

.shop-by-exam h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--black);
  margin: 15px auto 0;
}

/* Swiper Container */
.examSwiper {
  padding: 20px 0;
}

.exam-card {
  border: 2px dashed var(--brand-main);
  border-bottom: 0;
  border-radius: 20px;
  padding-top: 25px;
  text-align: center;
  background: #fffdf5;
  transition: transform 0.3s ease;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.exam-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  background: var(--white);
  border: 2px dashed var(--brand-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exam-icon img {
  width: 50%;
  height: 50%;
  object-fit: contain;
}

.exam-card h3 {
  font-family: var(--font-heading);
  margin-bottom: 15px;
  color: var(--black);
  text-align: center;
}

.order-btn {
  display: block;
  background-color: var(--brand-main);
  color: var(--black);
  padding: 10px 15px;
  border-radius: 0px 0px 20px 20px;
  transition: background 0.3s;
  width: 102%;
  transform: translate(-2px);
}

.order-btn:hover {
  background-color: var(--btn-hover-bg);
  color: var(--black);
}

/* RESPONSIVE FONT SCALING (Mobile to 4K) */

/* Default/Desktop (Large Screens) */
.shop-by-exam h2 {
  font-size: 2.5rem;
  font-weight: 400;
}
.exam-card h3 {
  font-size: 1.5rem;
  font-weight: 400;
}
.order-btn {
  font-size: 1.5rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .shop-by-exam h2 {
    font-size: 2.5rem;
    font-weight: 400;
  }
  .exam-card h3 {
    font-size: 1.3rem;
    font-weight: 400;
  }
  .order-btn {
    font-size: 1.3rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .shop-by-exam h2 {
    font-size: 1.8rem;
    font-weight: 400;
  }
  .exam-card h3 {
    font-size: 1.1rem;
    font-weight: 400;
  }
  .order-btn {
    font-size: 1.1rem;
  }
}

/* =========================================
   MAJOR CATEGORIES / BEST SELLING BOOKS / COMPUTECH PUBLICATION - PRODUCT CAROUSEL
   ========================================= */

.major-categories {
  padding: 30px 5%;
  background-color: var(--white);
  overflow: hidden;
}

.major-categories .container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Section Header with Arrow Tab */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--black);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 400;
  text-align: left;
  text-transform: uppercase;
  background-color: var(--brand-main);
  color: var(--white);
  padding: 10px 30px;
  display: inline-block;
  position: relative;
  margin: 0;
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
}

.slider-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 5px;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: var(--bg-light);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  border-radius: 2px;
}

.slider-btn:hover {
  background-color: var(--brand-main);
  border-color: var(--brand-main);
}

.category-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 5px;
  overflow-x: auto;
  max-width: 60%;
  align-items: center;
  scrollbar-width: thin;
  scrollbar-color: #e7e6e6 transparent;
}

.category-nav::-webkit-scrollbar {
  height: 4px;
}

.category-nav::-webkit-scrollbar-track {
  background: transparent;
}

.category-nav::-webkit-scrollbar-thumb {
  background: #e7e6e6;
  border-radius: 999px;
}

.category-nav::-webkit-scrollbar-thumb:hover {
  background: #e7e6e6;
}

.category-nav::-webkit-scrollbar-corner {
  background: transparent;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-radio {
  display: none;
}

.category-btn {
  color: var(--black);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: transparent;
  padding: 8px 15px;
  border-radius: 18px;
  border: 1px dotted transparent;
  white-space: nowrap;
}

.category-radio:checked + .category-btn {
  background-color: var(--bg-light);
  border-color: var(--black);
}

.category-btn:hover {
  border-color: var(--black);
}

/* Product Card */
.productSwiper {
  padding: 20px 0;
}

.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: auto;
  position: relative;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.product-image {
  width: 100%;
  aspect-ratio: 3/4;
  background: #f8f8f8;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  /* padding: 3px; */
  border-radius: 15px;
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-actions a {
    width: 38px;
    height: 38px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-main);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.02);
}

.product-info {
  padding: 10px;
  background: #f8f8f8;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.4;
  margin-bottom: 12px;
  min-height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.price-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.current-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-price);
}

.original-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-strike);
  text-decoration: line-through;
}

.discount-badge {
  background-color: var(--brand-main);
  color: var(--white);
  font-size: 0.9rem;
  padding: 4px 10px;
  border-radius: 20px;
}

.product-medium {
  margin-bottom: 12px;
}

.medium-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background-color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--black);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2358625a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

.add-to-cart-btn {
  width: 100%;
  padding: 8px;
  background-color: var(--brand-main);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 3px;
  transition: background 0.3s ease;
}

.add-to-cart-btn:hover {
  background-color: var(--btn-hover-bg);
  color: var(--black);
}

/* Responsive */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1rem;
    padding: 8px 20px;
  }

  .section-header h2::after {
    right: -15px;
    border-left-width: 15px;
    border-top-width: 16px;
    border-bottom-width: 16px;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
  }

  .product-title {
    font-size: 0.75rem;
  }
}

/* =========================================
   DUAL BANNER SECTION
   ========================================= */

.dual-banner {
  padding: 30px 5%;
  background-color: var(--white);
}

.dual-banner .container {
  max-width: 1400px;
  margin: 0 auto;
}

.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.banner-item {
  width: 100%;
  border-radius: 37px;
  overflow: hidden;
  line-height: 0;
}

.banner-item img {
  width: 100%;
  height: auto;
  display: block;
  /* Preserves full landscape rectangle; zero cropping */
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
  .dual-banner {
    padding: 30px 5%;
  }

  .banner-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .banner-item {
    border-radius: 20px; /* Slightly tighter on small screens */
  }
}

/* =========================================
   EXAM OF THE MONTH
   ========================================= */

.exam-of-the-month {
  padding: 30px 5%;
  background-color: var(--white);
  overflow: hidden;
}

.exam-of-the-month .container {
  max-width: 1400px;
  margin: 0 auto;
}

/* =========================================
   TOP RANKERS - FULL WIDTH BANNER
   ========================================= */

.top-rankers-banner {
  width: 100%;
  margin-top: 30px;
  background-color: #fff0f3;
  line-height: 0;
  overflow: hidden;
}

.top-rankers-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   WHY CHOOSE US - STATS SECTION
   ========================================= */

.why-choose-us {
  padding: 60px 5%;
  background-color: var(--brand-main);
}

.why-choose-us .container {
  max-width: 1400px;
  margin: 0 auto;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Left Content */
.why-choose-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 25px;
  line-height: 1.2;
}

.why-choose-content p {
  font-size: 1rem;
  color: var(--black);
  line-height: 1.7;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--white);
  color: var(--black);
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #b4ef39;
  color: var(--black);
}

.cta-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.cta-btn:hover i {
  transform: translateX(4px);
}

/* Right Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--brand-main);
  padding: 10px;
}

.stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 5px;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--black);
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
  .why-choose-grid {
    gap: 40px;
  }

  .why-choose-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .why-choose-us {
    padding: 50px 5%;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-choose-content h2 {
    font-size: 1.8rem;
  }

  .stats-grid {
    gap: 15px;
  }

  .stat-card {
    padding: 25px 15px;
  }

  .stat-number {
    font-size: 1.5rem;
  }
}

/* =========================================
   KEY FEATURES SECTION
   ========================================= */

.key-features {
  padding: 80px 5%;
  background-color: var(--bg-light);
}

.key-features .container {
  max-width: 1400px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
}

.feature-item {
  padding: 0 40px;
  text-align: left;
  position: relative;
}

/* Dashed vertical dividers between items */
.feature-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 80%;
  border-right: 1px dashed var(--brand-main);
  opacity: 0.6;
}

.feature-icon {
  width: 90px;
  height: 90px;
  border: 1px dashed var(--brand-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  background-color: var(--white);
}

.feature-icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.feature-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--black);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-item {
    padding: 0 25px;
  }
}

@media (max-width: 768px) {
  .key-features {
    padding: 50px 5%;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }

  .feature-item {
    padding: 0;
  }

  .feature-item:not(:last-child)::after {
    display: none;
  }

  .feature-icon {
    width: 75px;
    height: 75px;
    margin-bottom: 18px;
  }

  .feature-icon img {
    width: 38px;
    height: 38px;
  }

  .feature-item h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .feature-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }

}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */

.testimonials {
  padding: 60px 5%;
  padding-bottom: 30px;
  background-color: var(--white);
  text-align: center;
  overflow: hidden;
}

.testimonials .container {
  max-width: 1400px;
  margin: 0 auto;
}

.testimonials h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 10px;
}

.section-desc {
  max-width: 900px;
  margin: 0 auto 25px;
  font-size: 1rem;
  color: var(--black);
  line-height: 1.7;
}

.testimonialSwiper {
  padding: 20px 0;
}

.testimonial-card {
  background-color: #fffdf5;
  border: 2px solid var(--brand-main);
  border-radius: 16px;
  padding: 30px 25px;
  text-align: center;
  height: auto;
}

.testimonial-profile {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.testimonial-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 15px;
  color: var(--brand-main);
  font-size: 1.1rem;
}

.testimonial-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-profile-name);
  margin-bottom: 15px;
}

.testimonial-card p {
  font-size: 0.85rem;
  color: var(--black);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials {
    padding: 50px 5%;
  }

  .testimonials h2 {
    font-size: 1.8rem;
  }

  .section-desc {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }
}

/* =========================================
   ACCREDITATIONS SECTION
   ========================================= */

.accreditations {
  padding: 60px 5%;
  padding-top: 30px;
  background-color: var(--white);
  text-align: center;
}

.accreditations .container {
  max-width: 1400px;
  margin: 0 auto;
}

.accreditations h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 40px;
}

.accreditation-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px 50px;
}

.accreditation-logos img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.accreditation-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Responsive */
/* Tablet */
@media (max-width: 1024px) {
  .accreditation-logos {
    justify-content: center;
    gap: 30px 40px;
  }

  .accreditation-logos img {
    max-height: 60px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .accreditations {
    padding: 40px 5%;
    padding-top: 25px;
  }

  .accreditations h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .accreditation-logos {
    justify-content: center;
  }

  .accreditation-logos img {
    max-height: 50px;
    max-width: 120px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .accreditations {
    padding: 35px 5%;
    padding-top: 20px;
  }

  .accreditations h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .accreditation-logos {
    place-items: center;
    gap: 20px 15px;
  }

  .accreditation-logos img {
    max-height: 45px;
    max-width: 110px;
  }

  /* Center last logo when odd number of logos */
  .accreditation-logos img:last-child {
    grid-column: 1 / -1;
  }
}

/* =========================================
   FOOTER SECTION
   ========================================= */

/* Top Strip */
.footer-top-strip {
  position: relative;
  background: var(--brand-main);
  /* border-radius: 40px 40px 0 0; */
  padding: 12px 5%;
  text-align: center;
  overflow: visible;
}

.footer-top-strip p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
}

.footer-top-strip a {
  color: var(--black);
  font-weight: 700;
  text-decoration: underline;
}

/* .footer-top-strip::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  mask: radial-gradient(#0000 70%, #000 71%) 10000% 10000% / 107.5% 99.5%;
  width: 90px;
  height: 100%;
  aspect-ratio: 1;
  background: #fff;
} */

/* Tablet */
@media (max-width: 1024px) {
  .footer-top-strip {
    border-radius: 30px 30px 0 0;
    padding: 14px 6%;
  }

  .footer-top-strip p {
    font-size: 0.95rem;
  }

  .footer-top-strip::before {
    width: 70px;
    top: -20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .footer-top-strip {
    border-radius: 24px 24px 0 0;
    padding: 16px 20px;
  }

  .footer-top-strip p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .footer-top-strip::before {
    mask: radial-gradient(#0000 70%, #000 78%) 10000% 10000% / 106.5% 99.5%;
    width: 55px;
    top: -61px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .footer-top-strip {
    border-radius: 18px 18px 0 0;
    padding: 14px 16px;
  }

  .footer-top-strip p {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  /* Hide decorative cutout if it looks crowded */
  .footer-top-strip::before {
    display: none;
  }
}

/* Main Footer */
.footer-main {
  background-color: var(--black);
  color: var(--white);
  padding: 60px 5%;
}

.footer-main .container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1.8fr;
  gap: 40px;
  align-items: start;
}

/* Brand Column */
.footer-logo img {
  height: 45px;
  width: auto;
  margin-bottom: 20px;
}

.footer-about {
  font-size: 0.82rem;
  color: var(--white);
  line-height: 1.8;
}

/* Link Columns */
.footer-col h4 {
  font-family: var(--font-nav);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul li a {
  color: var(--white);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--brand-main);
}

/* Contact Column */
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1.5;
}

.contact-list li img {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  opacity: 0.9;
}

/* Bottom Strip */
.footer-bottom-strip {
  background-color: var(--brand-main);
  color: var(--black);
  text-align: center;
  padding: 15px 5%;
  font-size: 1.3rem;
}

.footer-bottom-strip a {
  color: var(--black);
  text-decoration: underline;
}

.footer-bottom-strip a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }

  .brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 40px 5%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .brand-col {
    grid-column: 1 / -1;
  }

  .contact-col {
    grid-column: 1 / -1;
  }

  /* .footer-top-strip {
    font-size: 0.8rem;
    padding: 10px 5%;
    display: none;
  } */
}

/* =========================================
   PRODUCT LIST PAGE
   ========================================= */

.product-list-page {
  padding: 30px 5%;
  background-color: var(--white);
}

.product-list-page .container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-strike);
  margin-bottom: 25px;
}

.breadcrumb a {
  color: var(--black);
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--brand-hover);
}

.breadcrumb i {
  font-size: 0.8rem;
  color: var(--text-strike);
}

/* Page Header */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* margin-bottom: 30px; */
  flex-wrap: wrap;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--black);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 5px;
}

.results-count {
  font-size: 0.9rem;
  color: var(--text-strike);
}

.sort-select {
  padding: 10px 35px 10px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--black);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2358625a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

/* Layout: Sidebar + Grid */
.list-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
}

/* Filter Sidebar */
.filter-sidebar {
  background: var(--white);
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.mobile-filter-header {
  display: none;
}

.filter-block {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.filter-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-title {
  font-family: var(--font-nav);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 15px;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-list{
    max-height:320px;   /* Adjust as needed */
    overflow-y:auto;
    overflow-x:hidden;
    padding-right:8px;
}

/* Custom Scrollbar */
.filter-list::-webkit-scrollbar{
    width:6px;
}

.filter-list::-webkit-scrollbar-track{
    background:#f1f1f1;
    border-radius:20px;
}

.filter-list::-webkit-scrollbar-thumb{
    background:#fea200;
    border-radius:20px;
}

.filter-list::-webkit-scrollbar-thumb:hover{
    background:#fea200;
}

.filter-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  transition: color 0.3s;
}

.filter-list label:hover {
  color: var(--brand-hover);
}

.filter-list input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-main);
  cursor: pointer;
}

/* Product Grid Area */
.product-grid-area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Pagination */
.custom_pagination {
  gap: 10;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #f0f0f0;
}

.pagination{
  gap: 10px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  background: var(--bg-light);
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: var(--brand-main);
}

.pagination .page-item .active {
  background: var(--brand-main);
  color: var(--black);
}

.active>.page-link, .page-link.active{
  background-color: var(--brand-main);
  border-color: var(--brand-main);
}

.pagination .prev-next {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 15px;
}

/* Mobile Filter Toggle */
.mobile-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--brand-main);
  color: var(--black);
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 20px;
}

/* Filter Overlay */
.filter-overlay {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .list-layout {
    grid-template-columns: 220px 1fr;
    gap: 20px;
  }

  .product-grid-area {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 1.4rem;
  }

  .mobile-filter-toggle {
    display: inline-flex;
  }

  .list-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    z-index: 1001;
    border-radius: 0;
    overflow-y: auto;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease;
    display: block;
  }

  .filter-sidebar.active {
    left: 0;
  }

  .mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--brand-main);
    color: var(--black);
    margin: -25px -25px 20px -25px;
  }

  .mobile-filter-header h3 {
    font-family: var(--font-nav);
    font-size: 1.3rem;
    text-transform: uppercase;
  }

  .mobile-filter-header i {
    font-size: 1.5rem;
    cursor: pointer;
  }

  .filter-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
  }

  .filter-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .product-grid-area {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

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

  .pagination {
    gap: 5px;
  }

  .pagination a,
  .pagination span {
    min-width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
}

/* =========================================
   AUTHENTICATION PAGES (LOGIN & REGISTER)
   ========================================= */

.auth-page {
  min-height: calc(100vh - 200px);
  padding: 40px 5%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-container {
  max-width: fit-content;
  width: 100%;
  background: var(--white);
  border-radius: 24px;
  padding: 40px 45px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 1. Heading on top */
.auth-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
}

/* 2. Logo below heading */
.auth-logo {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
}

/* 3. Subtitle below logo */
.auth-subtitle {
  font-size: 0.95rem;
  color: var(--text-strike);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 360px;
}

/* Tabs */
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
  width: 100%;
}

.auth-tabs a {
  flex: 1;
  text-align: center;
  padding: 14px;
  font-family: var(--font-nav);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-strike);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s;
}

.auth-tabs a.active {
  color: var(--black);
  border-bottom-color: var(--brand-main);
}

.auth-tabs a:hover:not(.active) {
  color: var(--brand-hover);
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 7px 0px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-input);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 0 15px;
  transition: border-color 0.3s;
}

.input-icon:focus-within {
  border-color: var(--brand-main);
  box-shadow: 0 0 0 3px rgba(254, 162, 0, 0.1);
}

.input-icon i {
  font-size: 1.1rem;
  color: var(--text-placeholder);
  flex-shrink: 0;
}

.input-icon input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  outline: none;
  color: var(--black);
}

.input-icon input::placeholder {
  color: var(--text-placeholder);
}

.toggle-password {
  background: none;
  border: none;
  color: var(--text-placeholder);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0;
  flex-shrink: 0;
  transition: color 0.3s;
}

.toggle-password:hover {
  color: var(--brand-hover);
}

/* Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-top: 5px;
}

.remember-me,
.terms-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-strike);
}

.remember-me input,
.terms-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-main);
  cursor: pointer;
}

.terms-check a {
  color: var(--brand-hover);
  text-decoration: underline;
  font-weight: 600;
}

.forgot-link {
  color: var(--brand-hover);
  font-weight: 600;
  transition: color 0.3s;
}

.forgot-link:hover {
  color: var(--black);
  text-decoration: underline;
}

/* Submit Button */
.auth-btn {
  width: 100%;
  padding: 16px;
  background: var(--brand-main);
  color: var(--black);
  border: none;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 5px;
}

.auth-btn:hover {
  background: var(--btn-hover-bg);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(190, 135, 38, 0.3);
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 25px 0;
  color: var(--text-placeholder);
  font-size: 0.85rem;
  width: 100%;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

/* Social Auth */
.social-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  margin-bottom: 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  transition: all 0.3s;
}

.social-btn:hover {
  border-color: var(--brand-main);
  background: var(--bg-light);
  transform: translateY(-2px);
}

.social-btn i {
  font-size: 1.1rem;
}

.social-btn.google i {
  color: #db4437;
}

.social-btn.facebook i {
  color: #4267B2;
}

/* Switch Link */
.auth-switch {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-strike);
  margin-top: 10px;
}

.auth-switch a {
  color: var(--brand-hover);
  font-weight: 700;
  transition: color 0.3s;
}

.auth-switch a:hover {
  color: var(--black);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .auth-page {
    padding: 20px 5%;
    background: var(--white);
  }

  .auth-container {
    padding: 30px 25px;
    box-shadow: none;
    border-radius: 0;
  }

  .auth-heading {
    font-size: 1.6rem;
  }

  .auth-logo {
    height: 55px;
  }

  .auth-subtitle {
    font-size: 0.85rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .auth-tabs a {
    font-size: 1rem;
    padding: 12px;
  }

  .social-auth {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   WISHLIST PAGE
   ========================================= */

.wishlist-page {
  padding: 30px 5%;
  background-color: var(--white);
  min-height: 60vh;
}

.wishlist-page .container {
  max-width: 1400px;
  margin: 0 auto;
}

.wishlist-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--black);
}

.wishlist-page .page-header h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 5px;
}

.continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--bg-light);
  color: var(--black);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
}

.continue-btn:hover {
  background: var(--brand-main);
}

/* User State Toggle */
.user-state-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  padding: 15px 20px;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px dashed var(--brand-main);
}

.user-state-toggle span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-strike);
}

.toggle-switch {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.toggle-btn {
  padding: 8px 20px;
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-strike);
  cursor: pointer;
  transition: all 0.3s;
}

.toggle-btn.active {
  background: var(--brand-main);
  color: var(--black);
}

/* Wishlist States */
.wishlist-state.hidden {
  display: none;
}

/* Guest Prompt */
.guest-prompt {
  text-align: center;
  padding: 50px 20px;
  background: var(--bg-light);
  border-radius: 16px;
  margin-bottom: 30px;
  border: 1px dashed var(--brand-main);
}

.guest-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--brand-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guest-icon i {
  font-size: 2.5rem;
  color: var(--black);
}

.guest-prompt h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.guest-prompt p {
  max-width: 500px;
  margin: 0 auto 25px;
  color: var(--text-strike);
  line-height: 1.6;
}

.guest-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.ghost-btn {
  padding: 14px 28px;
  border: 2px solid var(--brand-main);
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  background: transparent;
  transition: all 0.3s;
}

.ghost-btn:hover {
  background: var(--brand-main);
}

.guest-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--text-placeholder);
  font-size: 0.85rem;
}

.guest-divider::before,
.guest-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.guest-note {
  font-size: 0.8rem;
  color: var(--text-placeholder);
  max-width: 400px;
  margin: 0 auto;
}

/* Wishlist Grid */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.wishlist-card {
  background: var(--white);
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  position: relative;
}

.wishlist-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.wishlist-img {
  width: 100%;
  aspect-ratio: 3/3.5;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wishlist-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wishlist-info {
  padding: 15px;
}

.wishlist-info h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wishlist-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.wishlist-price .current {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-price);
}

.wishlist-price .original {
  font-size: 0.85rem;
  color: var(--text-strike);
  text-decoration: line-through;
}

.wishlist-medium {
  font-size: 0.8rem;
  color: var(--text-strike);
  display: block;
  margin-bottom: 8px;
}

.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.stock-status.in-stock {
  color: #27ae60;
  background: #e8f8f0;
}

.stock-status.low-stock {
  color: #e67e22;
  background: #fef3e8;
}

/* Wishlist Actions */
.wishlist-actions {
  display: flex;
  gap: 8px;
  padding: 0 15px 15px;
}

.move-cart-btn {
  flex: 1;
  padding: 12px;
  background: var(--brand-main);
  color: var(--black);
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s;
}

.move-cart-btn:hover {
  background: var(--btn-hover-bg);
  color: var(--black);
}

.remove-wishlist-btn {
  width: 42px;
  height: 42px;
  border: 1px solid #e0e0e0;
  background: var(--white);
  border-radius: 8px;
  color: #999;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.remove-wishlist-btn:hover {
  border-color: #e74c3c;
  color: #e74c3c;
}

/* Guest Badge */
.guest-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--brand-main);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Wishlist Summary */
.wishlist-summary {
  margin-top: 30px;
  padding: 25px;
  background: var(--bg-light);
  border-radius: 16px;
  border: 1px dashed var(--brand-main);
  max-width: 400px;
  margin-left: auto;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid #eee;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row strong {
  font-size: 1.1rem;
}

.save-amount {
  color: #27ae60;
}

.move-all-btn {
  width: 100%;
  margin-top: 15px;
  padding: 14px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.move-all-btn:hover {
  background: var(--brand-hover);
}

/* Empty State */
.empty-wishlist {
  text-align: center;
  padding: 80px 20px;
}

.empty-wishlist i {
  font-size: 4rem;
  color: var(--text-placeholder);
  margin-bottom: 20px;
  display: block;
}

.empty-wishlist h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.empty-wishlist p {
  color: var(--text-strike);
  margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 1024px) {
  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .wishlist-grid {
    grid-template-columns: 1fr;
  }

  .guest-actions {
    flex-direction: column;
    align-items: center;
  }

  .auth-btn, .ghost-btn {
    width: 100%;
  }
}

/* =========================================
   CHECKOUT PAGE
   ========================================= */

.checkout-page {
  padding: 30px 5%;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
  min-height: 60vh;
}

.checkout-page .container {
  max-width: 1400px;
  margin: 0 auto;
}

.checkout-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--black);
}

.checkout-page .page-header h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: uppercase;
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #e8f8f0;
  color: #27ae60;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.checkout-toggle {
  margin-bottom: 30px;
  justify-content: flex-start;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 30px;
  align-items: start;
}

/* Checkout Sections */
.checkout-section {
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
}

.section-header-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 25px;
  background: var(--bg-light);
  border-bottom: 1px solid #f0f0f0;
}

.section-number {
  width: 32px;
  height: 32px;
  background: var(--brand-main);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.section-header-bar h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  flex: 1;
}

.add-new-link {
  font-size: 0.85rem;
  color: var(--brand-hover);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-body {
  padding: 25px;
}

/* Guest Account Prompt */
.guest-account-prompt {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px dashed var(--brand-main);
}

.guest-account-prompt i {
  font-size: 2rem;
  color: var(--brand-main);
}

.guest-account-prompt h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.guest-account-prompt p {
  font-size: 0.85rem;
  color: var(--text-strike);
}

.guest-skip {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-strike);
}

.guest-skip a {
  color: var(--brand-hover);
  font-weight: 600;
  text-decoration: underline;
}

.guest-offer-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 0.85rem;
  color: var(--text-strike);
  cursor: pointer;
}

/* Address Cards */
.address-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.address-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.address-card:hover,
.address-card.selected {
  border-color: var(--brand-main);
  background: var(--bg-light);
}

.address-card input {
  margin-top: 4px;
}

.address-tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--brand-main);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.address-tag.office {
  background: #e3f2fd;
  color: #1976d2;
}

.address-content h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.address-content p {
  font-size: 0.85rem;
  color: var(--text-strike);
  line-height: 1.5;
  margin-bottom: 6px;
}

.address-phone {
  font-size: 0.85rem;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 4px;
}

.address-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.address-actions a {
  font-size: 0.8rem;
  color: var(--text-strike);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s;
}

.address-actions a:hover {
  color: var(--brand-hover);
}

/* Logged Contact */
.logged-contact {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--bg-light);
  border-radius: 12px;
}

.contact-avatar {
  width: 50px;
  height: 50px;
  background: var(--brand-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--black);
}

.contact-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.contact-info p {
  font-size: 0.85rem;
  color: var(--text-strike);
}

.edit-contact {
  margin-left: auto;
  color: var(--brand-hover);
  font-size: 1.2rem;
}

/* Payment Options */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.payment-card:hover,
.payment-card.selected {
  border-color: var(--brand-main);
  background: var(--bg-light);
}

.payment-card input {
  margin-top: 2px;
}

.payment-content {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.payment-content i {
  font-size: 1.8rem;
  color: var(--brand-main);
}

.payment-content h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.payment-content p {
  font-size: 0.8rem;
  color: var(--text-strike);
}

/* Order Summary */
.checkout-summary {
  position: sticky;
  top: 20px;
}

.summary-card {
  background: var(--white);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
}

.summary-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.summary-item-img {
  width: 50px;
  height: 60px;
  position: relative;
  flex-shrink: 0;
}

.summary-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8f8f8;
  border-radius: 6px;
  padding: 4px;
}

.item-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.summary-item-info {
  flex: 1;
  min-width: 0;
}

.summary-item-info h4 {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary-item-info span {
  font-size: 0.75rem;
  color: var(--text-strike);
}

.summary-item-price {
  font-weight: 700;
  color: var(--black);
  font-size: 0.9rem;
}

/* Coupon */
.coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.coupon-row .input-icon {
  flex: 1;
}

.apply-btn {
  padding: 0 20px;
  background: var(--brand-main);
  color: var(--black);
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.apply-btn:hover {
  background: var(--brand-hover);
  color: var(--white);
}

/* Totals */
.summary-totals {
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
  margin-bottom: 15px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-strike);
}

.total-row.grand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  border-top: 1px dashed #ddd;
  margin-top: 8px;
  padding-top: 12px;
}

.discount-text {
  color: #27ae60;
}

.free-text {
  color: #27ae60;
  font-weight: 600;
}

/* Savings Strip */
.savings-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #e8f8f0;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: #27ae60;
}

.savings-strip i {
  font-size: 1.2rem;
}

/* Place Order */
.place-order-btn {
  width: 100%;
  padding: 16px;
  background: var(--brand-main);
  color: var(--black);
  border: none;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 15px;
}

.place-order-btn:hover {
  background: var(--brand-hover);
  color: var(--white);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-strike);
}

.trust-badges i {
  color: var(--brand-main);
}

/* Responsive */
@media (max-width: 1024px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }

  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .checkout-page .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .guest-account-prompt {
    flex-direction: column;
    text-align: center;
  }

  .wishlist-grid {
    grid-template-columns: 1fr;
  }

  .section-body {
    padding: 15px;
  }
}

/* =========================================
   PRODUCT DETAIL PAGE
   ========================================= */

.product-detail-page {
  padding: 20px 5% 60px;
  background-color: var(--white);
}

.product-detail-page .container {
  max-width: 1400px;
  margin: 0 auto;
}

.detail-breadcrumb {
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.detail-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}

/* ===== GALLERY ===== */
.detail-gallery {
  position: sticky;
  top: 20px;
  align-self: start;
}

.gallery-main {
  position: relative;
  margin-bottom: 15px;
}

.main-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3/3.5;
  background: #f8f8f8;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  cursor: crosshair;
}

.main-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s;
  border-radius: 16px;
}

/* Zoom Lens */
.zoom-lens {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid var(--brand-main);
  background: rgba(254, 162, 0, 0.1);
  cursor: crosshair;
  display: none;
  pointer-events: none;
}

/* Zoom Result */
.zoom-result {
  position: absolute;
  top: 0;
  left: calc(100% + 20px);
  width: 450px;
  height: 500px;
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  display: none;
  z-index: 50;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.zoom-result img {
  position: absolute;
  width: 200%;
  height: auto;
  max-width: none;
}

.fullscreen-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--black);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s;
  z-index: 10;
}

.fullscreen-btn:hover {
  background: var(--brand-main);
}

.discount-ribbon {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #e74c3c;
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 10;
}

/* Thumbs */
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.thumb {
  width: 80px;
  height: 80px;
  border: 2px solid #f0f0f0;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  background: #f8f8f8;
  transition: all 0.3s;
  overflow: hidden;
}

.thumb:hover,
.thumb.active {
  border-color: var(--brand-main);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Gallery Actions */
.gallery-actions {
  display: flex;
  gap: 12px;
}

.gallery-action-btn {
  flex: 1;
  padding: 14px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
}

.add-cart-main {
  background: var(--brand-main);
  color: var(--black);
  border: none;
}

.add-cart-main:hover {
  background: var(--btn-hover-bg);
  color: var(--black);
}

.wishlist-main {
  background: var(--white);
  color: var(--black);
  border: 2px solid #e0e0e0;
}

.wishlist-main:hover {
  border-color: var(--brand-main);
  background: var(--bg-light);
}

/* ===== PRODUCT INFO ===== */
.detail-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.detail-header h1 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--black);
}

.detail-badge {
  display: inline-block;
  background: var(--brand-main);
  color: var(--black);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  color: var(--brand-main);
  font-size: 1rem;
}

.rating-count {
  font-size: 0.85rem;
  color: var(--brand-hover);
  cursor: pointer;
}

.rating-count:hover {
  text-decoration: underline;
}

.detail-sku {
  font-size: 0.8rem;
  color: var(--text-strike);
}

/* Price Block */
.detail-price-block {
  padding: 20px;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px dashed var(--brand-main);
}

.price-main {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.price-main .current-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-price);
}

.price-main .original-price {
  font-size: 1.2rem;
  color: var(--text-strike);
  text-decoration: line-through;
}

.save-tag {
  background: #e8f8f0;
  color: #27ae60;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.price-extra {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tax-note {
  font-size: 0.85rem;
  color: var(--text-strike);
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.stock-badge.in-stock {
  color: #27ae60;
  background: #e8f8f0;
}

/* Options */
.detail-options {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.option-block label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--black);
}

.medium-options {
  display: flex;
  gap: 12px;
}

.medium-radio {
  cursor: pointer;
}

.medium-radio input {
  display: none;
}

.medium-radio {
  display: block;
  padding: 10px 24px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
}

.variation-btn {
  border-color: var(--brand-main);
  background: var(--bg-light);
  color: var(--black);
}

.variation-btn:hover {
  border-color: var(--brand-main);
}

.variation-btn.active{
  border-color: #b4ef39;
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}

.qty-selector .qty-btn {
  width: 40px;
  height: 44px;
  border: none;
  background: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.qty-selector .qty-btn:hover {
  background: var(--brand-main);
}

.qty-selector input {
  width: 50px;
  height: 44px;
  border: none;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}

/* Actions */
.detail-actions {
  display: flex;
  gap: 15px;
}

.action-btn {
  flex: 1;
  padding: 16px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  border: none;
}

.btn-cart {
  background: var(--brand-main);
  color: var(--black);
}

.btn-cart:hover {
  background: var(--btn-hover-bg);
  color: var(--black);
}

.btn-buy {
  background: var(--black);
  color: var(--white);
}

.btn-buy:hover {
  color: var(--black);
  background: var(--btn-hover-bg);
}

/* Delivery */
.detail-delivery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 12px;
}

.delivery-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.delivery-row i {
  font-size: 1.5rem;
  color: var(--brand-main);
  width: 30px;
  text-align: center;
}

.delivery-row div {
  display: flex;
  flex-direction: column;
}

.delivery-row strong {
  font-size: 0.9rem;
  color: var(--black);
}

.delivery-row span {
  font-size: 0.8rem;
  color: var(--text-strike);
}

/* Highlights */
.detail-highlights {
  padding: 20px;
  background: var(--white);
  border: 1px solid #f0f0f0;
  border-radius: 12px;
}

.detail-highlights h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.detail-highlights ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-strike);
}

.detail-highlights li i {
  color: var(--brand-main);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ===== TABS SECTION ===== */
.detail-tabs-section {
  margin-bottom: 50px;
}

.detail-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 0;
}

.tab-btn {
  padding: 16px 30px;
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-strike);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s;
}

.tab-btn:hover {
  color: var(--brand-hover);
}

.tab-btn.active {
  color: var(--black);
  border-bottom-color: var(--brand-main);
}

.detail-tabs-content {
  padding: 30px;
  background: var(--white);
  border: 1px solid #f0f0f0;
  border-top: none;
  border-radius: 0 0 16px 16px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Description */
.desc-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.desc-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 30px 0 15px;
}

.desc-content p {
  font-size: 0.95rem;
  color: var(--text-strike);
  line-height: 1.8;
  margin-bottom: 15px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 25px 0;
}

.feature-box {
  text-align: center;
  padding: 25px 15px;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px dashed var(--brand-main);
}

.feature-box i {
  font-size: 2rem;
  color: var(--brand-main);
  margin-bottom: 12px;
  display: block;
}

.feature-box h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-box p {
  font-size: 0.8rem;
  margin: 0;
}

/* TOC */
.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
}

.toc-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.toc-item:last-child {
  border-bottom: none;
}

.toc-item:hover {
  background: var(--bg-light);
}

.toc-num {
  width: 36px;
  height: 36px;
  background: var(--brand-main);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.toc-title {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
}

.toc-page {
  font-size: 0.85rem;
  color: var(--text-strike);
}

/* Specifications */
.specs-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
}

.spec-row {
  display: grid;
  grid-template-columns: 250px 1fr;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.spec-row:nth-child(even) {
  background: #fafafa;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
}

.spec-value {
  font-size: 0.9rem;
  color: var(--text-strike);
}

/* Reviews */
.reviews-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
}

.reviews-summary {
  padding: 25px;
  background: var(--bg-light);
  border-radius: 12px;
  height: fit-content;
}

.rating-big {
  text-align: center;
  margin-bottom: 20px;
}

.big-score {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--black);
  display: block;
  line-height: 1;
}

.big-stars {
  color: var(--brand-main);
  font-size: 1.2rem;
  margin: 8px 0;
}

.rating-big span:last-child {
  font-size: 0.85rem;
  color: var(--text-strike);
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.rating-bar-row {
  display: grid;
  grid-template-columns: 20px 1fr 30px;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.bar-track {
  height: 6px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--brand-main);
  border-radius: 10px;
}

.write-review-btn {
  width: 100%;
  padding: 12px;
  background: var(--brand-main);
  color: var(--black);
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.write-review-btn:hover {
  background: var(--brand-hover);
  color: var(--white);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-card {
  padding: 25px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  background: var(--brand-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--black);
}

.review-header h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-strike);
}

.review-rating {
  margin-left: auto;
  color: var(--brand-main);
  font-size: 0.9rem;
}

.review-card > p {
  font-size: 0.9rem;
  color: var(--text-strike);
  line-height: 1.7;
  margin-bottom: 12px;
}

.review-helpful button {
  background: none;
  border: none;
  color: var(--text-strike);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s;
}

.review-helpful button:hover {
  color: var(--brand-hover);
}

/* Shipping */
.shipping-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.shipping-block {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px dashed var(--brand-main);
}

.shipping-block i {
  font-size: 2.5rem;
  color: var(--brand-main);
  margin-bottom: 15px;
  display: block;
}

.shipping-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.shipping-block ul {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shipping-block li {
  font-size: 0.85rem;
  color: var(--text-strike);
  padding-left: 15px;
  position: relative;
}

.shipping-block li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-main);
  font-weight: 700;
}

/* ===== RELATED PRODUCTS ===== */
.related-section {
  margin-bottom: 40px;
}

.recently-viewed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.recent-card {
  background: var(--white);
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.recent-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.recent-img {
  width: 100%;
  aspect-ratio: 3/3.5;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recent-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.recent-card h4 {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-price);
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 60px 20px 20px;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.lightbox-content img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--black);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.lightbox-close:hover {
  background: var(--brand-main);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--black);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.lightbox-nav:hover {
  background: var(--brand-main);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.lightbox-thumbs .thumb {
  width: 60px;
  height: 60px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 5px;
  cursor: pointer;
  background: var(--white);
}

.lightbox-thumbs .thumb.active {
  border-color: var(--brand-main);
}

.lightbox-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 1024px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    position: static;
    max-width: 500px;
    margin: 0 auto;
  }

  .zoom-result {
    display: none !important;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .shipping-content {
    grid-template-columns: 1fr;
  }

  .recently-viewed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .detail-header h1 {
    font-size: 1.3rem;
  }

  .price-main .current-price {
    font-size: 1.8rem;
  }

  .detail-actions {
    flex-direction: column;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .tab-btn {
    padding: 12px 16px;
    font-size: 0.85rem;
  }

  .recently-viewed-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-actions {
    flex-direction: column;
  }
}

/* =========================================
   DASHBOARD SYSTEM
   ========================================= */

.dashboard-page {
  padding: 30px 5% 60px;
  background: var(--bg-light);
  min-height: 60vh;
}

.dashboard-page .container {
  max-width: 1400px;
  margin: 0 auto;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}

/* ===== SIDEBAR ===== */
.dashboard-sidebar {
  position: sticky;
  top: 20px;
}

.user-profile-card {
  background: var(--brand-main);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  margin-bottom: 20px;
}

.user-avatar {
  width: 70px;
  height: 70px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 auto 15px;
}

.user-profile-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.user-profile-card p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 8px;
}

.user-since {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Dashboard Nav */
.dashboard-nav {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
}

.dashboard-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-strike);
  border-bottom: 1px solid #f8f8f8;
  transition: all 0.3s;
}

.dashboard-nav .logout-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-strike);
  border-bottom: 1px solid #f8f8f8;
  transition: all 0.3s;
}

.dashboard-nav button{
  border: 0;
  background: transparent;
}

.dashboard-nav a:last-child {
  border-bottom: none;
}

.dashboard-nav a i {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.dashboard-nav a:hover {
  background: var(--bg-light);
  color: var(--brand-hover);
  padding-left: 25px;
}

.dashboard-nav a.active {
  background: var(--brand-main);
  color: var(--black);
  font-weight: 600;
}

.nav-badge {
  margin-left: auto;
  background: #e74c3c;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.logout-link {
  color: #e74c3c !important;
  border: none;
  padding: 0 15px;
  width: 100%;
  background: transparent;
  text-align: left;
}

.logout-link:hover {
  background: #fdeaea !important;
}

/* ===== MAIN CONTENT ===== */
.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Welcome Banner */
.dashboard-banner {
  background: linear-gradient(135deg, var(--brand-main) 0%, #ffc947 100%);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.banner-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.banner-content p {
  font-size: 1rem;
  opacity: 0.9;
}

.banner-stats {
  display: flex;
  gap: 20px;
}

.stat-mini {
  text-align: center;
  padding: 15px 20px;
  background: rgba(255,255,255,0.3);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.stat-mini i {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 5px;
}

.stat-mini span {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Section Header Bar */
.section-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--white);
  border-bottom: 1px solid #f0f0f0;
  border-radius: 16px 16px 0 0;
}

.section-header-bar h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-header-bar h3 i {
  color: var(--brand-main);
}

.view-all {
  font-size: 0.9rem;
  color: var(--brand-hover);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s;
}

.view-all:hover {
  color: var(--black);
}

/* Dashboard Section */
.dashboard-section {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
  overflow: hidden;
  margin-top: 20px;
}

/* Order Cards */
.orders-list {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-card {
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.order-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fafafa;
  flex-wrap: wrap;
  gap: 10px;
}

.order-id {
  font-weight: 700;
  color: var(--black);
  display: block;
}

.order-date {
  font-size: 0.85rem;
  color: var(--text-strike);
  display: flex;
  align-items: center;
  gap: 4px;
}

.order-status {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.order-status.delivered {
  background: #e8f8f0;
  color: #27ae60;
}

.order-status.shipped {
  background: #e3f2fd;
  color: #1976d2;
}

.order-status.processing {
  background: #fff3e0;
  color: #f57c00;
}

.order-status.cancelled {
  background: #fdeaea;
  color: #e74c3c;
}

.order-status.large {
  font-size: 1rem;
  padding: 8px 20px;
}

.order-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  gap: 15px;
}

.order-items-preview {
  display: flex;
  gap: 8px;
}

.order-items-preview img {
  width: 50px;
  height: 60px;
  object-fit: contain;
  background: #f8f8f8;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid #eee;
}

.order-summary {
  text-align: right;
}

.order-summary span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-strike);
}

.order-total {
  font-size: 1.2rem !important;
  font-weight: 700;
  color: var(--black) !important;
}

.order-footer {
  display: flex;
  gap: 10px;
  padding: 15px 20px;
  border-top: 1px solid #f0f0f0;
  flex-wrap: wrap;
}

/* Expanded Order (Orders Page) */
.order-card.expanded .order-items-detailed {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f8f8f8;
}

.order-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.order-item-row img {
  width: 60px;
  height: 70px;
  object-fit: contain;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 5px;
}

.item-details {
  flex: 1;
}

.item-details h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.item-details span {
  font-size: 0.8rem;
  color: var(--text-strike);
}

.item-price {
  font-weight: 700;
  color: var(--text-price);
  font-size: 1rem;
}

.order-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--bg-light);
  border-top: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 10px;
}

.total-breakdown {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.total-breakdown span {
  font-size: 0.85rem;
  color: var(--text-strike);
}

.total-breakdown strong {
  color: var(--black);
}

.final-total {
  text-align: right;
}

.final-total span {
  font-size: 0.85rem;
  color: var(--text-strike);
  display: block;
}

.final-total strong {
  font-size: 1.5rem;
  color: var(--black);
}

/* Buttons */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--brand-main);
  color: var(--black);
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-solid:hover {
  background: var(--brand-hover);
  color: var(--white);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  background: transparent;
  color: var(--text-strike);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline:hover {
  border-color: var(--brand-main);
  color: var(--black);
}

.btn-text {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--brand-hover);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s;
}

.btn-text.delete {
  color: #e74c3c;
}

.btn-text.default {
  color: #27ae60;
}

/* Quick Actions Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dash-card {
  background: var(--white);
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all 0.3s;
}

.dash-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.dash-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.dash-icon i {
  font-size: 1.8rem;
  color: var(--brand-main);
}

.dash-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.dash-card p {
  font-size: 0.85rem;
  color: var(--text-strike);
  margin-bottom: 15px;
}

.dash-card a {
  font-size: 0.85rem;
  color: var(--brand-hover);
  font-weight: 600;
  transition: color 0.3s;
}

.dash-card a:hover {
  color: var(--black);
}

/* Recommended Grid */
.recommended-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
}

.product-card.compact .product-image {
  aspect-ratio: 3/3;
}

/* Page Header */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  padding: 8px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-strike);
  cursor: pointer;
  transition: all 0.3s;
}

.pill:hover,
.pill.active {
  background: var(--brand-main);
  color: var(--black);
  border-color: var(--brand-main);
}

/* Order Detail Page */
.order-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.order-detail-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

.detail-meta {
  font-size: 0.9rem;
  color: var(--text-strike);
}

/* Tracking */
.tracking-section {
  background: var(--white);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
}

.tracking-section h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tracking-section h3 i {
  color: var(--brand-main);
}

.tracking-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.tracking-timeline::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e0e0e0;
  z-index: 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  transition: all 0.3s;
}

.timeline-step.completed .step-icon {
  background: #27ae60;
}

.timeline-step.active .step-icon {
  background: var(--brand-main);
  color: var(--black);
  box-shadow: 0 0 0 4px rgba(254, 162, 0, 0.3);
}

.step-info {
  text-align: center;
}

.step-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.step-info span {
  font-size: 0.75rem;
  color: var(--text-strike);
}

/* Detail Two Col */
.detail-two-col {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 25px;
}

.detail-col.narrow {
  position: sticky;
  top: 20px;
  align-self: start;
}

.order-items-full {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-item-large {
  display: flex;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f8f8f8;
}

.order-item-large:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.order-item-large img {
  width: 80px;
  height: 90px;
  object-fit: contain;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 8px;
}

.item-info-large {
  flex: 1;
}

.item-info-large h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.item-info-large p {
  font-size: 0.85rem;
  color: var(--text-strike);
  margin-bottom: 8px;
}

.item-info-large .item-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-price);
}

.address-display {
  padding: 20px;
}

.address-display h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.address-display p {
  font-size: 0.9rem;
  color: var(--text-strike);
  line-height: 1.7;
  margin-bottom: 10px;
}

.address-display span {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Sticky Summary */
.sticky-summary {
  position: sticky;
  top: 20px;
}

.summary-rows {
  padding: 20px;
}

.s-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-strike);
  border-bottom: 1px solid #f8f8f8;
}

.s-row.grand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  border-bottom: none;
  padding-top: 15px;
  margin-top: 5px;
  border-top: 2px solid var(--black);
}

.s-row .free {
  color: #27ae60;
  font-weight: 600;
}

.s-row .discount {
  color: #27ae60;
}

.order-actions-stack {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-actions-stack .btn-solid,
.order-actions-stack .btn-outline {
  width: 100%;
}

/* Addresses Page */
.addresses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.address-card-large {
  background: var(--white);
  border-radius: 16px;
  padding: 25px;
  border: 2px solid #f0f0f0;
  position: relative;
  transition: all 0.3s;
}

.address-card-large:hover {
  border-color: var(--brand-main);
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.address-card-large.default {
  border-color: var(--brand-main);
  background: var(--bg-light);
}

.address-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--brand-main);
  color: var(--black);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.address-card-large h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.address-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.address-text {
  font-size: 0.9rem;
  color: var(--text-strike);
  line-height: 1.7;
  margin-bottom: 10px;
}

.address-phone {
  font-size: 0.9rem;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 15px;
}

.address-actions {
  display: flex;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.address-card-large.add-new {
  border-style: dashed;
  border-color: var(--brand-main);
}

.address-card-large.add-new h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-hover);
  margin-bottom: 20px;
}

.address-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.address-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.address-form label {
  font-size: 0.85rem;
  font-weight: 600;
}

.address-form input,
.address-form select {
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}

.address-form input:focus,
.address-form select:focus {
  border-color: var(--brand-main);
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

/* Profile Page */
.profile-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
}

.profile-form-card.narrow {
  max-width: 600px;
}

.profile-avatar-section {
  text-align: center;
  margin-bottom: 30px;
}

.avatar-upload {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
}

.avatar-large {
  width: 100px;
  height: 100px;
  background: var(--brand-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
}

.avatar-edit {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 36px;
  background: var(--black);
  color: var(--white);
  border: 3px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
}

.profile-avatar-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

.profile-avatar-section p {
  color: var(--text-strike);
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gender-options {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.gender-radio {
  cursor: pointer;
}

.gender-radio input {
  display: none;
}

.gender-radio span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s;
}

.gender-radio input:checked + span {
  border-color: var(--brand-main);
  background: var(--bg-light);
}

.gender-radio:hover span {
  border-color: var(--brand-main);
}

/* Password Page */
.password-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.password-icon i {
  font-size: 2.5rem;
  color: var(--brand-main);
}

.password-hint {
  text-align: center;
  color: var(--text-strike);
  font-size: 0.9rem;
  margin-bottom: 30px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.password-strength {
  margin-top: 10px;
}

.password-strength label {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.strength-bars {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.strength-bars .bar {
  flex: 1;
  height: 6px;
  background: #e0e0e0;
  border-radius: 10px;
  transition: background 0.3s;
}

.strength-bars .bar.filled {
  background: var(--brand-main);
}

.strength-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-main);
}

.nav-toggle {
  display: none;
}

.order-success{

    background:#f8f9fa;

}

.success-card{

    max-width:900px;

    margin:auto;

    background:#fff;

    padding:40px;

    border-radius:12px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

}

.success-icon{

    text-align:center;

    font-size:80px;

    color:#28a745;

}

.success-card h2{

    text-align:center;

    margin-bottom:10px;

}

.success-card>p{

    text-align:center;

    color:#666;

}

.info-row{

    display:flex;

    justify-content:space-between;

    margin:10px 0;

}

.product-row{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:20px;

}



.product-details{

    flex:1;

}

.total-box div{

    display:flex;

    justify-content:space-between;

    margin-bottom:10px;

}

.grand-total{

    font-size:20px;

    font-weight:700;

    border-top:1px solid #ddd;

    padding-top:15px;

}

.success-buttons{

    display:flex;

    gap:15px;

    justify-content:center;

    flex-wrap:wrap;

}

.search-container-wraper{
    position: relative;
    width: 300px;
}

.search-results{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;
    border:1px solid #ddd;
    border-top:none;
    max-height:400px;
    overflow-y:auto;
    z-index:99999;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.search-item{
    display:flex;
    align-items:center;
    padding:12px;
    border-bottom:1px solid #eee;
    text-decoration:none;
    color:#222;
    transition:.3s;
}

.search-item:hover{
    background:#f7f7f7;
}

.search-item img{
    width:55px;
    height:70px;
    object-fit:cover;
    margin-right:12px;
}

.search-item h6{
    margin:0;
    font-size:15px;
}

.search-item p{
    margin:3px 0 0;
    color:#666;
    font-size:13px;
}

.search-price{
    color:#e53935;
    font-weight:600;
}

.no-result{
    padding:15px;
    text-align:center;
    color:#888;
}


/* =========================================
   ACCREDITATIONS & CERTIFICATES PAGE
   ========================================= */

.accreditations-page {
  padding: 30px 0 60px;
  background: var(--bg-light);
  min-height: 60vh;
}

.accreditations-page .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.accreditations-page .page-header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--black);
}

.accreditations-page .page-header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 8px;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--text-strike);
  max-width: 600px;
}

/* ===== TRUE MASONRY GRID (Pinterest Style) ===== */
.certs-masonry {
  position: relative;
  width: 100%;
}

/* JS will set absolute positions on these */
.cert-card {
  position: absolute;
  width: calc(33.333% - 17px); /* 3 cols, 25px gap */
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  will-change: transform;
}

.cert-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 50px rgba(0,0,0,0.12);
  border-color: var(--brand-main);
  z-index: 2;
}

/* Image Container — No Cropping */
.cert-image-wrap {
  position: relative;
  width: 100%;
  background: #f8f8f8;
  overflow: hidden;
  line-height: 0;
}

.cert-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.cert-card:hover .cert-image-wrap img {
  transform: scale(1.03);
}

/* Hover Overlay */
.cert-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  opacity: 0;
  line-height: normal;
}

.cert-card:hover .cert-overlay {
  background: rgba(0,0,0,0.3);
  opacity: 1;
}

.cert-zoom-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--brand-main);
  color: var(--black);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: scale(0.8) translateY(10px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cert-card:hover .cert-zoom-btn {
  transform: scale(1) translateY(0);
}

.cert-zoom-btn:hover {
  background: var(--white);
  transform: scale(1.1) !important;
}

/* Card Info */
.cert-info {
  padding: 18px;
}

.cert-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--brand-hover);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.cert-info h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
  line-height: 1.3;
}

.cert-info p {
  font-size: 0.82rem;
  color: var(--text-strike);
  line-height: 1.5;
}

/* ===== CERTIFICATE LIGHTBOX ===== */
.cert-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 60px 20px 80px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cert-lightbox.active {
  display: flex;
  opacity: 1;
}

.cert-lightbox-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: calc(100vh - 160px);
}

.cert-lightbox-content img {
  max-width: 90%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-lightbox.active .cert-lightbox-content img {
  transform: scale(1);
}

.cert-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.cert-lightbox-close:hover {
  background: var(--brand-main);
  border-color: var(--brand-main);
  color: var(--black);
}

.cert-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.cert-lightbox-nav:hover {
  background: var(--brand-main);
  border-color: var(--brand-main);
  color: var(--black);
}

.cert-lightbox-prev {
  left: 20px;
}

.cert-lightbox-next {
  right: 20px;
}

.cert-lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--white);
  max-width: 600px;
  padding: 0 20px;
}

.cert-lightbox-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.cert-lightbox-caption p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.customer_support{
  background-color: var(--bg-light);
}
.bg-primary{
  background-color: var(--brand-main) !important;
}

.btn-primary{
  background-color: var(--brand-main) !important;
  border: 1px solid var(--brand-main);
}

.main{
  background-color: var(--bg-light);
}

/* Responsive */
@media (max-width: 1024px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    width: 100%;
  }

  /* Hide desktop profile card on tablet/mobile */
  .user-profile-card {
    display: none;
  }

  /* ===== COLLAPSIBLE NAV TOGGLE ===== */
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s;
  }

  .nav-toggle:hover {
    border-color: var(--brand-main);
    background: var(--bg-light);
  }

  .nav-toggle.active {
    border-color: var(--brand-main);
    background: var(--brand-main);
  }

  .nav-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .nav-toggle-label i {
    font-size: 1.3rem;
    color: var(--brand-main);
  }

  .nav-toggle.active .nav-toggle-label i,
  .nav-toggle.active #navToggleIcon {
    color: var(--black);
  }

  #navToggleIcon {
    font-size: 1.3rem;
    color: var(--text-strike);
    transition: transform 0.3s ease;
  }

  .nav-toggle.active #navToggleIcon {
    transform: rotate(180deg);
    color: var(--black);
  }

  /* ===== NAV DROPDOWN ===== */
  .dashboard-nav {
    display: none;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    margin-bottom: 20px;
    background: var(--white);
    animation: navSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .dashboard-nav.open {
    display: flex;
  }

  .dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-strike);
    border-bottom: 1px solid #f8f8f8;
    border-right: none;
    transition: all 0.25s;
  }

  .dashboard-nav a:last-child {
    border-bottom: none;
  }

  .dashboard-nav a i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
    color: var(--brand-main);
    transition: color 0.25s;
  }

  .dashboard-nav a:hover {
    background: var(--bg-light);
    color: var(--brand-hover);
    padding-left: 25px;
  }

  .dashboard-nav a.active {
    background: var(--brand-main);
    color: var(--black);
    font-weight: 600;
  }

  .dashboard-nav a.active i {
    color: var(--black);
  }

  .nav-badge {
    margin-left: auto;
  }

  @keyframes navSlideDown {
    from {
      opacity: 0;
      transform: translateY(-12px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  /* ===== REST OF RESPONSIVE ===== */
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recommended-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-two-col {
    grid-template-columns: 1fr;
  }

  .detail-col.narrow {
    position: static;
  }

  .addresses-grid {
    grid-template-columns: 1fr;
  }

  .tracking-timeline {
    flex-direction: column;
    gap: 20px;
  }

  .tracking-timeline::before {
    display: none;
  }

  .timeline-step {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 15px;
  }

  .step-info {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .dashboard-banner {
    flex-direction: column;
    text-align: center;
  }

  .banner-stats {
    width: 100%;
    justify-content: center;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .recommended-grid {
    grid-template-columns: 1fr;
  }

  .order-footer {
    flex-direction: column;
  }

  .btn-solid,
  .btn-outline {
    width: 100%;
  }

  .profile-form-card {
    padding: 25px;
  }
}