:root {
  --yellow: #ffe600;
  --yellow-light: #fff4a3;
  --yellow-dark: #d4bf00;
  --black: #111111;
  --black-soft: #1e1e1e;
  --white: #ffffff;
  --off-white: #fafaf7;
  --gray: #666;
  --gray-light: #f2f2ee;
  --gray-mid: #e0e0d8;
  --gray-text: #666660;
  --green: #0bb450;
  --green-bg: #f0fdf4;
  --red: #e53935;
  --red-light: #fff5f5;
  --muted: #888;
  --font-display: "Bebas Neue", sans-serif;
  --brand-name-font: "Oswald", sans-serif;
  --font-body: "Nunito", sans-serif;
  --font-mono: "Space Mono", monospace;
  --radius: 4px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  margin: 0;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
  background: var(--black);
  border-radius: 3px;
}

/* ──────────────────────────────────────
       TOP BAR
    ────────────────────────────────────── */
.top-bar {
  background: var(--black);
  color: var(--yellow);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 2px;
  padding: 0.5rem 1rem;
}

.top-bar span {
  color: #fff;
}

/* ──────────────────────────────────────
       NAVBAR
    ────────────────────────────────────── */
.navbar {
  /* background: var(--white); */
  border-bottom: 3px solid var(--yellow);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  background: var(--black-soft);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-box {
  /* width: 46px;
  height: 46px;
  background: var(--black); */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 200px;
  height: 46px;
}

.logo-box > img {
  width: 100%;
  mix-blend-mode: screen;
}

.brand-name {
  font-family: var(--brand-name-font);
  font-size: 1.9rem;
  color: var(--black);
  /* letter-spacing: 2px; */
  line-height: 1;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.brand-name span {
  color: var(--yellow-dark);
}

.brand-tagline {
  font-size: 0.65rem;
  color: var(--gray-text);
  font-family: var(--font-mono);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  /* color: var(--black) !important; */
  color: var(--off-white) !important;
  padding: 0.5rem 1rem !important;
  letter-spacing: 0.3px;
  position: relative;
  transition: color 0.2s;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.navbar-nav .nav-link:hover {
  /* color: var(--black) !important; */
  color: var(--yellow) !important;
}

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active-link::after {
  transform: scaleX(1);
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-icons a {
  /* color: var(--black); */
  color: var(--off-white);
  font-size: 1.15rem;
  position: relative;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-icons a:hover {
  /* color: var(--yellow-dark); */
  color: var(--yellow);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--yellow);
  /* color: var(--off-white); */
  color: var(--black);
  font-size: 0.55rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}

.btn-nav-shop {
  background: var(--yellow);
  color: var(--black);
  border: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
  letter-spacing: 0.5px;
  transition:
    background 0.2s,
    transform 0.15s;
  text-decoration: none;
}

.btn-nav-shop:hover {
  background: var(--black);
  color: var(--yellow);
  transform: translateY(-1px);
}

/* ──────────────────────────────────────
       PROFILE DROPDOWN
    ────────────────────────────────────── */
.profile-wrapper {
  position: relative;
}

.profile-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
  color: var(--yellow);
  font-size: 1rem;
  padding: 0;
  flex-shrink: 0;
}

.profile-btn:hover,
.profile-btn.active {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--black);
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 6px;
  min-width: 200px;
  /* box-shadow: 6px 6px 0 var(--yellow); */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
  z-index: 1100;
  overflow: hidden;
}

.profile-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-dropdown-header {
  background: var(--black);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.profile-dropdown-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--black);
  flex-shrink: 0;
  font-family: var(--font-body);
}

.profile-dropdown-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.1;
}

.profile-dropdown-email {
  font-size: 0.65rem;
  color: #aaa;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.profile-dropdown-divider {
  border: none;
  border-top: 1.5px solid var(--gray-mid);
  margin: 0;
}

.profile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 1rem;
  font-size: 0.85rem !important;
  font-weight: 600;
  color: var(--black) !important;
  text-decoration: none !important;
  font-family: var(--font-body);
  transition:
    background 0.15s,
    color 0.15s !important;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.profile-dropdown-item i {
  font-size: 1rem;
  color: var(--gray-text);
  transition: color 0.15s;
  width: 18px;
  text-align: center;
}

.profile-dropdown-item:hover {
  background: var(--gray-light);
  color: var(--black) !important;
}

.profile-dropdown-item:hover i {
  color: var(--yellow-dark);
}

.profile-dropdown-item.logout {
  color: #c0392b;
}

.profile-dropdown-item.logout i {
  color: #c0392b;
}

.profile-dropdown-item.logout:hover {
  background: #fff0ee;
}

/* ── Mobile profile nav items (hidden on desktop) ── */
.profile-mobile-nav {
  display: none;
}

@media (max-width: 991.98px) {
  /* Hide the profile icon button + dropdown entirely on mobile */
  .profile-wrapper {
    display: none;
  }

  /* Show the inline profile menu items */
  .profile-mobile-nav {
    display: block;
  }

  /* Separator line before profile section */
  .profile-mobile-nav .profile-mobile-divider {
    border: none;
    border-top: 2px solid var(--yellow);
    margin: 0.4rem 0 0.2rem;
  }

  /* Profile nav items styled like regular nav links */
  .profile-mobile-nav .nav-link {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    /* color: var(--black) !important; */
    color: var(--white) !important;
    padding: 0.55rem 0.25rem !important;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    position: relative;
    transition: color 0.2s;
    text-decoration: none;
  }

  .profile-mobile-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0.25rem;
    right: 0.25rem;
    height: 3px;
    background: var(--yellow);
    transform: scaleX(0);
    transition: transform 0.25s;
  }

  .profile-mobile-nav .nav-link:hover::after {
    transform: scaleX(1);
  }

  .profile-mobile-nav .nav-link.logout-link {
    /* color: #c0392b !important; */
    color: var(--red) !important;
  }

  .profile-mobile-nav .nav-link i {
    font-size: 0.95rem;
  }
}

/* ──────────────────────────────────────
       RESPONSIVE — MOBILE / TABLET
    ────────────────────────────────────── */

/* Navbar mobile tweaks */
@media (max-width: 991.98px) {
  .nav-icons {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem 0 0.25rem;
    border-top: 1px solid var(--gray-mid);
    margin-top: 0.5rem;
  }

  .btn-nav-shop {
    width: 100%;
    text-align: center;
    padding: 0.65rem 1rem;
    margin-top: 0.25rem;
  }

  .navbar-nav .nav-link {
    padding: 0.55rem 0.25rem !important;
  }

  .navbar-nav .nav-link::after {
    left: 0.25rem;
    right: 0.25rem;
  }
}

/* Hero responsiveness */
@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding: 3.5rem 0 4rem;
  }

  .hero-stripe {
    width: 100%;
    clip-path: polygon(0 88%, 100% 78%, 100% 100%, 0% 100%);
    height: 100%;
  }

  .hero-title {
    font-size: clamp(2.8rem, 10vw, 5rem);
  }

  /* .hero-product-showcase {
    max-width: 100%;
  } */

  .chip-1,
  .chip-2 {
    font-size: 0.55rem;
    padding: 0.3rem 0.7rem;
  }

  .chip-2 {
    left: 0;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding: 2.5rem 0 3rem;
  }

  .hero-title {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .hero-desc {
    font-size: 0.93rem;
  }

  .hero-trust {
    gap: 1rem;
  }

  .hero-actions .btn-hero-primary,
  .hero-actions .btn-hero-secondary {
    padding: 0.75rem 1.4rem;
    font-size: 0.82rem;
  }

  .hero-floating-chip {
    display: none;
  }
}

/* Section / product cards */
@media (max-width: 575.98px) {
  section {
    padding: 3rem 0;
  }

  .sec-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }

  .product-card {
    margin-bottom: 0.5rem;
  }
}

/* Promo section */
@media (max-width: 767.98px) {
  .promo-inner {
    flex-direction: column;
  }
}

/* Newsletter */
@media (max-width: 575.98px) {
  .nl-form {
    flex-direction: column;
  }

  .nl-btn {
    width: 100%;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 0.75rem;
  }

  .nl-input {
    border-radius: var(--radius) var(--radius) 0 0;
    border-bottom: none;
  }
}

/* Footer */
@media (max-width: 575.98px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .payment-methods {
    justify-content: center;
  }
}

/* Top bar */
@media (max-width: 575.98px) {
  .top-bar {
    font-size: 0.6rem;
    letter-spacing: 1px;
    padding: 0.4rem 0.75rem;
  }
}

/* ──────────────────────────────────────
       SEARCH OVERLAY + RESULTS LIST
    ────────────────────────────────────── */
.nav-search-btn {
  background: none;
  border: none;
  padding: 0;
  /* color: var(--black); */
  color: var(--off-white);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  line-height: 1;
}
.nav-search-btn:hover {
  /* color: var(--yellow-dark); */
  color: var(--yellow);
}

/* Full-screen overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 1.5rem 2rem;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s,
    visibility 0.25s;
  overflow-y: auto;
}
.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Input row */
.search-overlay-inner {
  width: 100%;
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.search-box-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 3px solid var(--yellow);
  border-radius: 6px;
  padding: 0 1rem;
  /* box-shadow: 6px 6px 0 var(--yellow-dark); */
}
.search-box-icon {
  color: var(--gray-text);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-right: 0.6rem;
}
.search-box-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  background: transparent;
  padding: 0.5rem 0;
}
.search-box-input::placeholder {
  color: #bbb;
  font-weight: 400;
}
.search-box-clear {
  background: none;
  border: none;
  color: var(--gray-text);
  font-size: 1rem;
  cursor: pointer;
  padding: 0 0.2rem;
  line-height: 1;
  transition: color 0.15s;
  flex-shrink: 0;
}
.search-box-clear:hover {
  color: var(--black);
}
.search-overlay-close {
  background: var(--yellow);
  border: 2px solid var(--yellow-dark);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    background 0.2s,
    color 0.2s;
}
.search-overlay-close:hover {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
}

/* Popular chips */
.search-suggestions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 640px;
  width: 100%;
  flex-shrink: 0;
}
.search-suggestion-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
  margin-right: 0.25rem;
  white-space: nowrap;
}
.search-chip {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ddd;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.search-chip:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

/* Results wrap */
.search-results-wrap {
  width: 100%;
  max-width: 640px;
  background: var(--white);
  border: 2.5px solid var(--black);
  border-radius: 8px;
  overflow: hidden;
  /* box-shadow: 6px 6px 0 var(--yellow); */
  flex-shrink: 0;
}

/* Meta bar */
.sr-meta {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gray-text);
  padding: 0.65rem 1rem;
  border-bottom: 1.5px solid var(--gray-mid);
  background: var(--gray-light);
}
.sr-meta span {
  color: var(--yellow-dark);
  font-weight: 700;
}

/* List */
.sr-list {
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  /* scrollbar-color: var(--yellow) transparent; */
}
.sr-list::-webkit-scrollbar {
  width: 4px;
}
.sr-list::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border-radius: 99px;
}

/* Individual row */
.sr-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--gray-mid);
  cursor: pointer;
  transition: background 0.12s;
  text-decoration: none;
}
.sr-item:last-child {
  border-bottom: none;
}
.sr-item:hover {
  background: #fffbee;
}

/* .sr-thumb {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  border: 1.5px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
} */

.sr-info {
  flex: 1;
  min-width: 0;
}
.sr-cat {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-text);
}
.sr-name {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-name mark {
  background: var(--yellow);
  color: var(--black);
  border-radius: 2px;
  padding: 0 1px;
  font-style: normal;
}
.sr-brand {
  font-size: 0.7rem;
  color: var(--gray-text);
  font-family: var(--font-body);
}

.sr-right {
  text-align: right;
  flex-shrink: 0;
  min-width: 90px;
}
.sr-price-old {
  font-size: 0.65rem;
  color: #bbb;
  text-decoration: line-through;
  font-family: var(--font-body);
}
.sr-price-new {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--black);
  line-height: 1.1;
}
.sr-disc {
  font-size: 0.62rem;
  font-weight: 800;
  color: #27ae60;
  font-family: var(--font-body);
}
.sr-add-btn {
  background: var(--black);
  color: var(--yellow);
  border: none;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.28rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 0.3rem;
  transition:
    background 0.15s,
    color 0.15s;
}
.sr-add-btn:hover {
  background: var(--yellow);
  color: var(--black);
}

/* View all footer */
.sr-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--black);
  text-decoration: none;
  background: var(--gray-light);
  border-top: 1.5px solid var(--gray-mid);
  letter-spacing: 0.3px;
  transition: background 0.15s;
}
.sr-view-all:hover {
  background: var(--yellow);
  color: var(--black);
}

/* Empty state */
.sr-empty {
  padding: 2rem 1rem;
  text-align: center;
}
.sr-empty-icon {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}
.sr-empty-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
}
.sr-empty-sub {
  font-size: 0.72rem;
  color: var(--gray-text);
  margin-top: 0.25rem;
  font-family: var(--font-body);
}

@media (max-width: 575.98px) {
  .search-overlay {
    padding: 3.5rem 1rem 1.5rem;
  }

  .search-overlay-inner {
    /* flex-direction: column; */
    gap: 0.75rem;
  }
  /* .search-overlay-close {
    width: 100%;
    justify-content: center;
  } */
  .search-box-input {
    font-size: 0.95rem;
  }
  .sr-list {
    max-height: 280px;
  }
}

/* ── Mobile header: search + hamburger group ── */
.mobile-header-right {
  display: none;
  align-items: center;
  gap: 0.65rem;
}

@media (max-width: 991.98px) {
  /* Show the right-side group (search + toggler) */
  .mobile-header-right {
    display: flex;
  }

  /* Hide the search btn that lives inside nav-icons (desktop only) */
  .nav-icons .nav-search-btn {
    display: none;
  }

  /* Hide all other nav-icons on mobile */
  .nav-icons a,
  .nav-icons .profile-wrapper,
  .nav-icons .btn-nav-shop {
    display: none !important;
  }
}

/* On desktop: keep the group but make it sit naturally in flex row */
@media (min-width: 992px) {
  /* Hide the mobile-header-right wrapper on desktop; 
      search btn lives inside nav-icons instead */
  .mobile-header-right {
    display: none;
  }
}

/* ──────────────────────────────────────
       HERO
    ────────────────────────────────────── */
.hero {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
  /* min-height: 88vh; */
  min-height: min-content;
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--yellow);
}

/* Yellow geometric accents */
.hero-geo-1 {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 420px;
  height: 420px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.18;
}

.hero-geo-2 {
  position: absolute;
  left: 40%;
  bottom: -100px;
  width: 280px;
  height: 280px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.1;
}

.hero-stripe {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  background: var(--yellow);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--black);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 1px;
  color: var(--black);
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero-title .line-yellow {
  color: var(--yellow-dark);
}

.hero-title .line-stroke {
  -webkit-text-stroke: 2px var(--black);
  color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 430px;
  line-height: 1.75;
  margin: 1.75rem 0;
  font-weight: 400;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-hero-primary {
  background: var(--black);
  color: var(--yellow);
  border: 2px solid var(--black);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-hero-primary:hover {
  background: transparent;
  color: var(--black);
}

.btn-hero-secondary {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-hero-secondary:hover {
  background: var(--black);
  color: var(--yellow);
}

.hero-trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  animation: fadeUp 0.7s 0.4s ease both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
}

.trust-item i {
  color: var(--yellow-dark);
  font-size: 1.1rem;
}

/* Hero visual side */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-visual .hero-banner-carousel {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(255, 230, 0, 0.15);
  border: 2px solid var(--yellow);
}

.hero-visual .hero-banner-carousel .banner-img {
  max-height: 420px;
  object-fit: fill;
}

@media (max-width: 575.98px) {
  .hero-visual .hero-banner-carousel .banner-img {
    max-height: 260px;
  }
}

.hero-floating-chip {
  position: absolute;
  background: var(--black);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid;
}

.chip-1 {
  top: -10px;
  right: -80px;
  animation: float 3s ease-in-out infinite;
}

.chip-2 {
  bottom: -20px;
  left: -80px;
  animation: float 3s ease-in-out 0.8s infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ──────────────────────────────────────
       BANNER CAROUSEL
    ────────────────────────────────────── */
.banner-hero {
  background: var(--off-white);
  padding: 0;
}

.banner-hero .carousel-item {
  line-height: 0; /* kills whitespace gap under inline images */
}

.banner-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: fill;
}

.carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--white);
  opacity: 0.6;
  border: 2px solid var(--black);
}

.carousel .carousel-indicators .active {
  background-color: var(--yellow);
  opacity: 1;
}

.banner-arrow {
  width: 44px;
  height: 44px;
  background: var(--black);
  color: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

@media (max-width: 575.98px) {
  .banner-img {
    max-height: 260px;
    object-fit: fill;
  }
  .banner-arrow {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}

/* ──────────────────────────────────────
       MARQUEE
    ────────────────────────────────────── */
.marquee-strip {
  background: var(--yellow);
  border-top: 2px solid var(--yellow-dark);
  border-bottom: 2px solid var(--yellow-dark);
  padding: 0.65rem 0;
  overflow: hidden;
}

.marquee-inner {
  display: inline-flex;
  animation: marquee 20s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 3px;
  color: var(--black);
  padding: 0 1.5rem;
}

.marquee-sep {
  color: var(--black);
  opacity: 0.35;
  font-size: 1rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ──────────────────────────────────────
       SHARED SECTION STYLES
    ────────────────────────────────────── */
section {
  padding: 5rem 0;
}

.sec-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow-dark);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sec-label::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--yellow);
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 1px;
  line-height: 1.05;
  color: var(--black);
}

.sec-title span {
  color: var(--yellow-dark);
}

.btn-view-all {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--black);
  border: 2px solid var(--black);
  background: transparent;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.2s;
  display: inline-block;
}

.btn-view-all:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

/* ──────────────────────────────────────
       CATEGORY CARDS
    ────────────────────────────────────── */
.categories-section {
  background: var(--off-white);
}

.cat-card {
  /* background: var(--white); */
  border: 2px solid var(--gray-mid);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  height: 100%;
  background-color: var(--white);
  background-size: cover;
  background-position: center;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 20%, rgba(0,0,0,0.15) 70%);
  z-index: 0;
  transition: background 0.25s;
}

.cat-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--yellow);
  transition: height 0.25s;
  z-index: 1;
  /* z-index: 0; */
}

.cat-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.cat-card:hover::before {
  height: 100%;
}

.cat-card:hover .cat-overlay {
  background: rgba(0,0,0,0.1);
}

.cat-card:hover .cat-icon,
.cat-card:hover .cat-name,
.cat-card:hover .cat-count {
  color: var(--black);
  position: relative;
  z-index: 2;
  /* z-index: 1; */
}

/* .cat-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--black);
  position: relative;
  z-index: 1;
  transition: color 0.25s;
} */

.cat-name {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  position: relative;
  /* z-index: 1; */
  transition: color 0.25s;
  color: #fff;
  z-index: 2;
}

.cat-count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gray-text);
  letter-spacing: 1.5px;
  position: relative;
  /* z-index: 1; */
  transition: color 0.25s;
  z-index: 2;
}

/* ──────────────────────────────────────
       PRODUCT CARDS
    ────────────────────────────────────── */
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 6px;
  overflow: hidden;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.product-img-wrap {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  /* background: var(--gray-light); */
  overflow: hidden;
  border-bottom: 2px solid var(--yellow);
}

.product-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 230, 0, 0.15) 0%,
    transparent 60%
  );
}

.product-img-wrap a {
  position: relative;
  z-index: 10;
  display: block;
}

.product-img-wrap img {
  position: relative;
  z-index: 10;
  height: 100%;
  mix-blend-mode: multiply;
}

.reveal .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--black);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  z-index: 1;
}

.badge-new {
  background: var(--black);
  color: var(--yellow);
}

.badge-hot {
  background: #e53e3e;
  color: #fff;
}

.product-body {
  padding: 1.25rem;
  flex-grow: 1;
}

.product-cat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem;
}

.product-name {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  line-height: 1.35;
  color: var(--black);
}

.product-brand {
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-bottom: 0.75rem;
}

.stars {
  color: var(--yellow-dark);
  font-size: 0.8rem;
}

.stars span {
  color: var(--gray-text);
  font-size: 0.72rem;
  margin-left: 0.2rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gray-mid);
  background: var(--gray-light);
}

.price-old {
  font-size: 0.72rem;
  color: var(--gray-text);
  text-decoration: line-through;
}

.price-new {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--black);
  line-height: 1;
}

.discount-tag {
  font-size: 0.7rem;
  font-weight: 700;
  /* color: #2e7d32;
  background: #e8f5e9; */
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  color: var(--white);
  background: #E65100;
  position: relative;
  bottom: 0.5em;
}

.btn-cart {
  background: var(--yellow);
  color: var(--black);
  border: none;
  padding: 0.55rem 1.1rem;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  transition:
    background 0.2s,
    transform 0.15s;
  white-space: nowrap;
}

.btn-cart:hover {
  background: var(--black);
  color: var(--yellow);
  transform: scale(1.03);
}

@media (max-width: 1024px) {
  .price-new {
    font-size: 1.2rem;
  }

  .btn-cart{
    padding: 0.5rem 1rem;
  }

  .product-footer{
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .price-new {
    font-size: 1rem;
  }
}

/* ──────────────────────────────────────
       PROMO BANNER
    ────────────────────────────────────── */
.promo-section {
  background: var(--black);
  padding: 4rem 0;
}

.promo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 8px;
}

.promo-left {
  background: var(--yellow);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.promo-left::after {
  content: "SALE";
  font-family: var(--font-display);
  font-size: 10rem;
  position: absolute;
  right: -20px;
  bottom: -20px;
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
}

.promo-tag {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
}

.promo-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.promo-desc {
  font-size: 0.95rem;
  color: #333;
  max-width: 320px;
  line-height: 1.65;
}

.btn-promo {
  display: inline-block;
  margin-top: 1.75rem;
  background: var(--black);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

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

.promo-right {
  background: #1a1a1a;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.promo-deal-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: #262626;
  border-radius: 6px;
  border-left: 4px solid var(--yellow);
  transition: transform 0.2s;
}

.promo-deal-item:hover {
  transform: translateX(4px);
}

.deal-icon {
  font-size: 2rem;
  flex-shrink: 0;
  height: 60px;
  width: 60px;
}

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

.deal-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
}

.deal-sub {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.1rem;
}

.deal-price {
  margin-left: auto;
  text-align: right;
  width: 70px;
}

.deal-price-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--yellow);
  line-height: 1;
}

.deal-price-off {
  font-size: 0.65rem;
  color: #4caf50;
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

/* ──────────────────────────────────────
       WRITING SECTION (pens, pencils, markers)
    ────────────────────────────────────── */
.writing-section {
  background: var(--white);
}

/* ──────────────────────────────────────
       ART & CRAFT SECTION
    ────────────────────────────────────── */
.craft-section {
  background: var(--off-white);
}

/* ──────────────────────────────────────
       SCHOOL SUPPLIES SECTION
    ────────────────────────────────────── */
.school-section {
  background: var(--white);
}

/* ──────────────────────────────────────
       WHY CHOOSE US
    ────────────────────────────────────── */
.features-section {
  background: var(--yellow);
  padding: 4rem 0;
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem;
  color: var(--yellow);
}

.feature-title {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.feature-desc {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.6;
}

/* ──────────────────────────────────────
       BRANDS
    ────────────────────────────────────── */
.brands-section {
  background: var(--off-white);
  padding: 3.5rem 0;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gray-mid);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 1px;
  color: var(--gray-text);
  background: var(--white);
  transition: all 0.2s;
  cursor: pointer;
  height: 100%;
}

.brand-pill:hover {
  border-color: var(--yellow);
  color: var(--black);
  background: var(--yellow-light);
}

/* ──────────────────────────────────────
       TESTIMONIALS
    ────────────────────────────────────── */
.reviews-section {
  /* background: var(--black); */
  /* color: var(--white); */
  color: var(--black);
}

.reviews-section .sec-title {
  /* color: var(--white); */
  color: var(--black-soft);
}

/* .reviews-section .sec-title span {
  color: var(--yellow);
} */

/* .reviews-section .sec-label {
  color: var(--yellow);
} */

.reviews-section .sec-label::before {
  background: var(--yellow);
}

.review-card {
  background: #1a1a1a;
  border: 1px solid #2e2e2e;
  border-radius: 6px;
  padding: 2rem;
  height: 100%;
  transition:
    border-color 0.25s,
    transform 0.25s;
}

.review-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.review-stars {
  color: var(--yellow);
  /* font-size: 0.9rem; */
  font-size: 1rem;
  margin-bottom: 1rem;
}

.review-text {
  /* font-size: 0.9rem;
  color: #bbb; */
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-size: 1rem;
  color: var(--off-white);
}

.reviewer-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.reviewer-role {
  font-size: 0.72rem;
  /* color: #888; */
  font-family: var(--font-mono);
  letter-spacing: 1px;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ──────────────────────────────────────
       NEWSLETTER
    ────────────────────────────────────── */
.newsletter-section {
  background: var(--white);
  border-top: 4px solid var(--yellow);
  padding: 4.5rem 0;
}

.newsletter-inner {
  background: var(--off-white);
  border: 2px solid var(--gray-mid);
  border-radius: 8px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.newsletter-inner::before {
  content: "✉";
  font-size: 14rem;
  position: absolute;
  right: -2rem;
  top: -2rem;
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
}

.nl-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--black);
  margin-bottom: 0.5rem;
}

.nl-sub {
  font-size: 0.92rem;
  color: var(--gray-text);
}

.nl-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1.5rem;
}

.nl-input {
  flex: 1;
  border: none;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  background: var(--white);
  color: var(--black);
}

.nl-btn {
  background: var(--yellow);
  color: var(--black);
  border: none;
  padding: 0.9rem 1.5rem;
  font-weight: 800;
  font-size: 0.82rem;
  font-family: var(--font-body);
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  white-space: nowrap;
}

.nl-btn:hover {
  background: var(--black);
  color: var(--yellow);
}

.nl-note {
  font-size: 0.72rem;
  color: #aaa;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
}

/* ──────────────────────────────────────
       FOOTER
    ────────────────────────────────────── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 3px;
  color: var(--white);
}

.footer-logo-text > img {
  width: 200px;
  mix-blend-mode: screen;
}

.footer-logo-text span {
  color: var(--yellow);
}

.footer-about {
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.75rem;
  max-width: 240px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.f-social {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid #2e2e2e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}

.f-social:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0px;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #888;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  color: #888;
  font-size: 0.85rem;
}

.footer-contact-row i {
  color: var(--yellow);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-divider {
  border-color: #1e1e1e;
  margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 2rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: #444;
  font-family: var(--font-mono);
}

.payment-methods {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pm-badge {
  border: 1px solid #2e2e2e;
  padding: 0.25rem 0.75rem;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: #666;
  border-radius: 3px;
  letter-spacing: 1px;
}

/* ──────────────────────────────────────
       ANIMATIONS
    ────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s,
    transform 0.6s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ──────────────────────────────────────
       RESPONSIVE
    ────────────────────────────────────── */
@media (max-width: 992px) {
  .hero-stripe {
    display: none;
  }

  .hero {
    background: var(--off-white);
  }

  .hero-visual {
    margin-top: 2rem;
  }
}

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

  .nl-form {
    flex-direction: column;
    border: none;
    gap: 0.5rem;
  }

  .nl-input {
    border: 2px solid var(--black);
    border-radius: var(--radius);
  }

  .nl-btn {
    border-radius: var(--radius);
    padding: 0.9rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Search Results ── */
.search-results {
  width: 100%;
  max-width: 680px;
  max-height: 52vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--yellow) transparent;
}

.search-results::-webkit-scrollbar {
  width: 4px;
}
.search-results::-webkit-scrollbar-track {
  background: transparent;
}
.search-results::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border-radius: 99px;
}

.search-result-meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.65rem;
}

.search-result-meta span {
  color: var(--yellow);
  font-weight: 700;
}

.search-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.search-result-card {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}

.search-result-card:hover {
  transform: translateY(-3px);
  box-shadow: 4px 4px 0 var(--yellow);
}

.src-img {
  background: #f8f8f0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  border-bottom: 2px solid var(--black);
  position: relative;
}

.src-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1.5px solid var(--black);
}

.src-body {
  padding: 0.55rem 0.65rem 0.65rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.src-cat {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gray-text);
}

.src-name {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.25;
}

.src-brand {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--gray-text);
}

.src-stars {
  font-size: 0.65rem;
  color: #f4a200;
}

.src-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.4rem;
}

.src-price-new {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--black);
  line-height: 1;
}

.src-price-old {
  font-size: 0.65rem;
  color: #aaa;
  text-decoration: line-through;
  font-family: var(--font-body);
}

.src-disc {
  font-size: 0.6rem;
  font-weight: 800;
  color: #27ae60;
  font-family: var(--font-body);
  letter-spacing: 0.3px;
}

.src-add-btn {
  background: var(--black);
  color: var(--yellow);
  border: none;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  white-space: nowrap;
}

.src-add-btn:hover {
  background: var(--yellow);
  color: var(--black);
}

.search-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: #aaa;
}

.search-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.search-empty-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #ccc;
}

.search-empty-sub {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.25rem;
  font-family: var(--font-body);
}

@media (max-width: 575.98px) {
  .search-result-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-results {
    max-height: 44vh;
  }
}

/* ********************* PAGE BANNER ********************************************** */
.page-banner {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.page-banner .banner-content {
  max-width: 700px;
}

.page-banner .banner-subtitle {
  color: var(--yellow);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.page-banner .banner-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--white);
  line-height: 0.9;
  letter-spacing: 1px;
}

.page-banner .banner-title span {
  color: var(--yellow);
}

.page-banner .banner-text {
  color: #d5d5d5;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 2rem;
  max-width: 600px;
}

@media (max-width: 768px) {
  .page-banner {
    /* height: 75vh; */
    text-align: center;
  }

  .page-banner .banner-content {
    margin: auto;
  }

  .page-banner .banner-title {
    font-size: 4rem;
  }
}
/* ===================================== CATEGORY PAGE ============================================== */

/* =========================
      SECTION TITLE
  ========================= */

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  margin-bottom: 60px;
  text-align: center;
  letter-spacing: 2px;
}

.section-title span {
  color: var(--yellow-dark);
}

/* =========================
       CATEGORY CARD
  ========================= */

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 350px;
  cursor: pointer;
  transition: 0.4s;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
  z-index: 1;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-name {
  position: absolute;
  left: 25px;
  bottom: 20px;
  z-index: 2;
  font-family: var(--font-display);
  letter-spacing: 2px;
  color: var(--white);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  transition: 0.3s;
}

.category-name > span {
  font-size: 1.2rem;
}

.category-card:hover .category-name {
  color: var(--yellow);
}

/* =========================
       RESPONSIVE
    ========================= */
@media (max-width: 1024px) {
  .category-card {
    height: 250px;
  }

  .category-name {
    font-size: 1.8rem;
  }

  .category-name > span {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  /* .category-hero {
    height: 75vh;
    text-align: center;
  }

  .category-hero .hero-content {
    margin: auto;
  }

  .category-hero .hero-title {
    font-size: 4rem;
  } */

  .category-card {
    height: 280px;
  }

  .category-name {
    font-size: 1.6rem;
  }

  .category-name > span {
    font-size: 1rem;
  }
}

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

/* =========================
       SECTION TITLE
    ========================= */

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  margin-bottom: 60px;
  text-align: center;
  letter-spacing: 2px;
}

.section-title span {
  color: var(--yellow-dark);
}

/* =========================
       PRODUCT CARD
    ========================= */

/* .product-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  transition: 0.35s;
  height: 100%;
  position: relative;
  border: 1px solid #ececec;
} */

/* .product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.08);
} */

/* IMAGE */

.products .product-image {
  height: 260px;
  overflow: hidden;
  position: relative;
  background: var(--gray-light);
}

.products .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

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

.products .product-body a {
  display: flex;
  flex-direction: column;
}

/* BADGE */

.products .product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--yellow);
  color: var(--black);
  padding: 0.4rem 0.9rem;
  border-radius: 40px;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 2;
}

/* FAVORITE */
.favorite-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 35px;
  height: 35px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  z-index: 2;
}

.favorite-icon:hover {
  background: var(--yellow);
  transform: scale(1.08);
}

.favorite-icon i {
  font-size: 1.1rem;
  margin-top: 4px;
}

/* BODY */

/* .product-body {
  padding: 24px;
} */

.products .product-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  line-height: 1.4;
  color: var(--black);
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.products .product-text {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* FOOTER */
.products .product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* PRICE */
.products .price-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.old-price {
  color: #888;
  text-decoration: line-through;
  font-size: 0.95rem;
}

/* BUTTON */
.shop-btn {
  background: var(--yellow);
  border: none;
  padding: 11px 18px;
  border-radius: 50px;

  font-size: 0.85rem;
  font-weight: 800;

  transition: 0.3s;
}

.shop-btn:hover {
  background: var(--black);
  color: var(--yellow);
}

/* =========================
       RESPONSIVE
    ========================= */

@media (max-width: 768px) {
  /* .product-hero {
    padding: 30px 0;
  }

  .product-hero .hero-title {
    font-size: 4rem;
  } */

  .products .product-name {
    min-height: 0;
  }

  .products .product-image {
    height: 220px;
  }
}

/* ------------------------------- PRODUCT DETAIL PAGE ---------------------------------------- */

/* PRODUCT */

.product-details {
  /* padding: 100px 0; */
  padding: 50px 0;
}

.product-details .main-image {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #ececec;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.product-details .main-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 18px;
}

.product-details .thumb-wrapper {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.product-details .thumb-image {
  width: 100px;
  height: 100px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
  background: var(--white);
  padding: 6px;
}

.product-details .thumb-image.active,
.product-details .thumb-image:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.product-details .thumb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.product-details .product-info {
  padding-left: 40px;
}

/* .product-details .product-badge {
  background: var(--yellow);
  color: var(--black);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
} */
.product-details .product-category-badge {
  background: #fdf4e5;
  border: 2px solid #f6e8d4;
  color: var(--black);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.product-details .product-name {
  /* font-size: 3.3rem; */
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--black);
}

.product-details .product-desc {
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 2rem;
}

/* PRICE */
.product-details .price-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.product-details .new-price {
  /* font-size: 2.4rem; */
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--black);
}

.product-details .old-price {
  color: #999;
  text-decoration: line-through;
}

.product-details .discount {
  background: #E65100;
  color: var(--white);
  padding: 0.4rem 0.9rem;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 700;
}

.product-details .in-stock {
  /* background: #e8ffe8;
  color: green;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700; */

  background-color: #eafaf1;
  color: #1e7e34;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.4em 0.9em;
  border: 1px solid #b7ebc6;
}

.product-details .in-stock .dot {
  width: 8px;
  height: 8px;
  background-color: #28a745;
  border-radius: 50%;
  display: inline-block;
}

/* SIMPLE RATING */
.product-details .simple-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.product-details .rating-badge {
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 50px;
  line-height: 1;
}

.product-details .rating-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.product-details .rating-stars {
  color: #ffb400;
  font-size: 0.9rem;
  display: flex;
  gap: 2px;
}

.product-details .rating-review-text {
  color: #999;
  font-size: 0.9rem;
  font-weight: 600;
}

/* FEATURES */
.product-details .feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  color: var(--gray);
}

.product-details .feature-item i {
  color: var(--yellow-dark);
}

/* QUANTITY */
.product-details .qty-box {
  display: flex;
  align-items: center;
  gap: 12px;
  /* margin-top: 15px; */
}

.product-details .qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: var(--yellow);
  border-radius: 10px;
  font-weight: bold;
  transition: 0.3s;
  font-size: 22px;
}

.product-details .qty-btn:hover {
  background: var(--yellow-dark);
}

.product-details .qty-number {
  font-size: 18px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

/* BUTTONS */
.product-details .button-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.product-details .cart-btn {
  background: var(--yellow);
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 800;
  transition: 0.3s;
}

.product-details .cart-btn:hover {
  background: var(--black);
  color: var(--yellow);
}

.product-details .wishlist-btn {
  /* width: 58px;
  height: 58px; */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  border: 1px solid #e5e5e5;
}

/* ── Share Button ── */
.product-details .share-wrapper {
  position: relative;
}

.product-details .share-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  color: #333;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.product-details .share-btn:hover {
  background: #f5f5f5;
  border-color: #bbb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-details .share-btn:active {
  transform: scale(0.95);
}

/* Dropdown */
.product-details .share-dropdown {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
  min-width: 180px;
  padding: 8px 0;
  z-index: 999;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.product-details .share-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.product-details .share-dropdown-header {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  padding: 4px 16px 8px;
}

.product-details .share-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 0.9rem;
  color: #333;
  text-decoration: none;
  transition: background 0.15s;
  cursor: pointer;
}

.product-details .share-option:hover {
  background: #f7f7f7;
  color: #000;
  text-decoration: none;
}

.product-details .share-option i,
.product-details .share-option svg {
  width: 16px;
  color: #555;
}

/* Toast */
.product-details .share-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1a1a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 9999;
  white-space: nowrap;
}

.product-details .share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* INFO */
.product-details .info-box {
  background: var(--white);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid #ececec;
}

/* EXTRA CARDS */
.feature-card,
.vendor-card,
.related-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #ececec;
  transition: 0.3s;
  height: 100%;
}

.feature-card:hover,
.vendor-card:hover,
.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-card i {
  font-size: 40px;
  color: var(--yellow-dark);
  /* margin-bottom: 15px; */
}

/* Product Details Review Card */
.product-detail-review .review-card {
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 18px 20px;
    /* margin-bottom: 16px; */
    background: #fff;

    height: 220px;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.product-detail-review .review-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.product-detail-review .review-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #efe3fb;
    color: #7c3aed;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-review .review-meta {
    flex: 1;
}

.product-detail-review .review-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-detail-review .review-name {
    font-weight: 600;
}

.product-detail-review .review-verified-badge {
    font-size: 0.72rem;
    color: #16a34a;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 12px;
}

.product-detail-review .review-date {
    font-size: 0.8rem;
    color: #888;
}

.product-detail-review .review-stars {
    color: #f59e0b;
    white-space: nowrap;
}

.product-detail-review .review-text {
  color: #444;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  margin-bottom: 0px;
}

.product-detail-review .review-empty {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    border: 1px dashed #ddd;
    border-radius: 14px;
}

.product-detail-review .review-empty i {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
    color: #ccc;
}
/* Product Details Review Card */

.related-product-container {
  position: relative;
}

.related-product-container .related-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
}

.related-product-container .owl-carousel .owl-stage {
  display: flex;
}

.related-product-container .owl-nav {
  position: absolute;
  top: -65px;
  right: 0;
  margin-top: 0 !important;
  display: flex !important;
  gap: 10px;
}

.related-product-container .owl-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50% !important;
  border: 1px solid #ddd !important;
  background: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.related-product-container .owl-nav button:hover {
  background: #f5f5f5 !important;
}

.related-card h5 {
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

@media (max-width: 767px) {
  .related-product-container .owl-nav {
    top: -60px;
  }

  .related-product-container .owl-nav button {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 1220px) {
  .related-card {
    padding: 15px;
  }

  .related-card img {
    height: 180px;
  }
}

@media (max-width: 992px) {
  .product-details .product-info {
    padding-left: 0;
    margin-top: 50px;
  }

  .related-card img {
    height: 135px !important;
  }
}

@media (max-width: 768px) {
  /* .hero-title {
    font-size: 4rem;
  } */

  .product-details .product-name {
    font-size: 2.4rem;
  }

  .product-details .main-image img {
    height: 380px;
  }
}

/* --------------------------------------- LOGIN MODEL (Process) ------------------------------------------ */
/* MODAL */
.custom-modal .modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  background: var(--white);
}

.custom-modal .modal-header {
  background: var(--yellow);
  color: var(--white);
  border: none;
  padding: 20px 28px;
}

.custom-modal .modal-body {
  padding: 35px;
  background: var(--white);
}

.custom-modal .modal-title {
  color: var(--black);
}

/* TOP ICON */
.top-icon {
  width: 90px;
  height: 90px;
  background: rgba(255, 230, 0, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-bottom: 20px;
}

.top-icon i {
  font-size: 36px;
  color: var(--black);
}

/* TITLES */
.title {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 1px;
  text-align: center;
  color: var(--black);
  margin-bottom: 5px;
}

.sub-title {
  text-align: center;
  color: var(--gray);
  margin-bottom: 28px;
  font-size: 14px;
}

/* INPUT */
.form-control {
  height: 56px;
  border-radius: 12px;
  border: 1px solid #ddd;
  padding-left: 18px;
  font-size: 15px;
  font-family: var(--font-body);
}

.form-control:focus {
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 4px rgba(255, 230, 0, 0.15);
}

/* BUTTON */
.theme-btn {
  background: var(--yellow);
  color: var(--black);
  border: none;
  height: 56px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.3s;
  width: 100%;
}

.theme-btn:hover {
  background: var(--yellow-dark);
}

/* OTP SECTION */
.otp-wrapper {
  display: none;
}

.otp-boxes {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
}

.otp-box {
  width: 58px;
  height: 62px;
  border-radius: 14px;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-mono);
  transition: 0.3s;
  color: var(--black);
}

.otp-box:focus {
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 4px rgba(255, 230, 0, 0.15);
  outline: none;
}

/* ERROR */
.error-text {
  color: red;
  font-size: 14px;
  margin-top: 8px;
  display: none;
}

/* SUCCESS */
.success-box {
  display: none;
  text-align: center;
  padding: 20px 10px;
}

.success-box i {
  font-size: 75px;
  color: green;
  margin-bottom: 20px;
}

.success-box h3 {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--black);
}

.success-box p {
  color: var(--gray);
}

/* MOBILE */
@media (max-width: 576px) {
  .custom-modal .modal-body {
    padding: 25px;
  }

  .otp-box {
    width: 50px;
    height: 56px;
  }

  .title {
    font-size: 34px;
  }
}

/* ============================= COURSES AND CLASS PAGE ========================================== */
/* SECTION */
.course-section {
  padding: 80px 0;
}

/* CARD */
.course-card {
  background: var(--white);
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.course-card:hover {
  transform: translateY(-8px);
}

/* BG CIRCLE */
.course-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: rgba(255, 230, 0, 0.15);
  border-radius: 50%;
}

/* LEFT ICON */
.course-icon {
  /* min-width: 75px; */
  width: 75px;
  height: 75px;
  border-radius: 18px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--black);
  position: relative;
  z-index: 2;
}

/* CONTENT */
.course-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

/* TITLE */
.course-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
}

/* DESC */
.course-desc {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.6;
}

/* RIGHT ARROW */
.course-arrow {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--black);
  transition: 0.3s;
  position: relative;
  z-index: 2;
}

.course-card:hover .course-arrow {
  transform: translateX(6px);
  background: var(--yellow-dark);
}

@media (max-width: 768px) {
  .course-header h1 {
    font-size: 50px;
  }
  .course-card {
    padding: 22px;
  }
  .course-title {
    font-size: 22px;
  }
  .course-icon {
    min-width: 65px;
    height: 65px;
    font-size: 24px;
  }
}

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

/* PROFILE */
.dashboard .profile-card {
  background: var(--white);
  border-radius: 28px;
  padding: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 20px;
}

.dashboard .profile-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--yellow);
  margin-bottom: 15px;
}

.dashboard .profile-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 5px;
}

.dashboard .profile-email {
  color: var(--gray);
  margin-bottom: 30px;
}

/* MENU */
.dashboard .menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 14px;
}

.dashboard .menu-item:hover,
.dashboard .menu-item.active {
  background: var(--yellow);
}

.dashboard .menu-item i {
  width: 45px;
  height: 45px;
  background: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 18px;
}

.dashboard .menu-item span {
  font-weight: 700;
  color: var(--black);
  font-size: 16px;
}

/* CONTENT */
.dashboard .content-box {
  background: var(--white);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  display: none;
}

.dashboard .content-box.active {
  display: block;
}

.dashboard .section-title {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--black);
  margin-bottom: 30px;
}

.dashboard .add-address {
  font-weight: 700;
  color: var(--yellow);
  cursor: pointer;
}

.dashboard .add-address:hover {
  color: var(--yellow-dark);
}

/* ORDER CARD */
.dashboard .order-card {
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  transition: 0.3s;
  color: var(--black);
}

.dashboard .order-card:hover {
  border-color: var(--yellow-dark);
  transform: translateY(-4px);
}

/* .dashboard .order-img {
  width: 95px;
  height: 95px;
  border-radius: 16px;
  background: var(--gray-light);
  object-fit: contain;
  padding: 10px;
} */

.dashboard .order-card .gallery {
  width: 95px;
  height: 90px;
  flex-shrink: 0;
  display: grid;
  gap: 3px;
  background: #f3f4f6;
  padding: 4px;
  box-sizing: border-box;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  border-radius: 14px;
  overflow: hidden;
}

.dashboard .order-card .gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Hide 5th image onward */
.dashboard .order-card .gallery img:nth-child(n+5) {
  display: none;
}

/* ONE IMAGE */
.dashboard .order-card .gallery.one {
  grid-template-columns: 1fr !important;
  grid-template-rows: 1fr !important;
}

/* TWO IMAGES */
.dashboard .order-card .gallery.two {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
}

/* THREE IMAGES */
.dashboard .order-card .gallery.three {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr;
}

.dashboard .order-card .gallery.three img:nth-child(3) {
  grid-column: 1 / 3;
}

@media screen and (max-width: 700px) and (min-width: 200px) {
  .dashboard .order-card .gallery {
    width: 95px !important;
    height: 90px !important;
  }
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
  .dashboard .order-card .gallery {
    width: 15% !important;
    height: 100px !important;
  }
}

.dashboard .order-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard .order-price {
  color: var(--gray);
  margin-bottom: 8px;
}

.dashboard .order-status {
  background: rgba(0, 128, 0, 0.1);
  color: green;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
}

.dashboard .order-status-cancel {
  background: rgba(248, 215, 218, 1);
  color: #58151c;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
}

.dashboard .order-return-status{
  background: #c9f7ee;
  color: #15927f;
  font-size: 13px;
  font-weight: 700;
  /* border: 1px solid #8bd8cb; */
  border-radius: 30px;
  padding: 6px 14px;

}

/* FAVORITES */
.dashboard .fav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dashboard .fav-card {
  background: var(--off-white);
  border-radius: 22px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
}

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

.fav-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 15px;
}

.dashboard .fav-card h5 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard .fav-card p {
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.dashboard .fav-btn {
  border: none;
  background: var(--yellow);
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  width: 100%;
  transition: 0.3s;
}

.dashboard .fav-btn:hover {
  background: var(--yellow-dark);
}

.dashboard .fav-remove-btn {
  /* width: 60px; */
  border: none;
  border-radius: 10px;
  background: rgb(255 230 0 / 27%);
  color: #111111a1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  padding: 12px 18px;
}

.dashboard .fav-remove-btn:hover {
  background: red;
  color: white;
}

/* DETAILS */
.dashboard .detail-row {
  display: flex;
  justify-content: space-between;

  padding: 18px 0;
  border-bottom: 1px solid #eee;
}

.dashboard .detail-row strong {
  color: var(--black);
}

.dashboard .detail-row span {
  color: var(--gray);
}

#addAddressModal .add-address-btn {
  flex: 1;
  padding: 10px;
  border: 1.5px solid var(--yellow);
  border-radius: 8px;
  background: var(--yellow);
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
#addAddressModal .add-address-btn:hover {
  background: var(--yellow-dark);
}

#addAddressModal .btn-cancel {
  flex: 1;
  padding: 10px;
  border: 1.5px solid var(#e0e0e0);
  border-radius: 8px;
  background: none;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

#addAddressModal .btn-cancel:hover {
  background: #f5f5f0;
}

@media (max-width: 1200px) {
  .dashboard .fav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard .dashboard-logo {
    font-size: 34px;
  }

  .dashboard .section-title {
    font-size: 36px;
  }

  .dashboard .fav-grid {
    grid-template-columns: auto;
  }

  .dashboard .fav-card h5 {
    min-height: auto;
  }

  .dashboard .order-card {
    flex-direction: column;
    text-align: center;
  }

  .dashboard .profile-card {
    margin-bottom: 25px;
  }
}

/* =============================== CART PAGE ============================================= */

.cart-title {
  font-family: var(--font-display);
  font-size: 50px;
  letter-spacing: 1px;
  color: var(--black);
}

/* CARD */
.cart-card {
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
  transition: 0.3s;
  position: relative;
}

.cart-card:hover {
  transform: translateY(-4px);
}

/* IMAGE */
.cart-card .product-img {
  width: 120px;
  height: 120px;
  background: var(--gray-light);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

/* PRODUCT INFO */
.cart-card .product-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-card .product-brand {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 10px;
}

.cart-card .price {
  font-size: 24px;
  font-weight: 800;
  color: var(--black);
}

.cart-card .old-price {
  text-decoration: line-through;
  color: var(--gray);
  margin-left: 10px;
  font-size: 15px;
}

/* QUANTITY */
.cart-card .qty-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.cart-card .qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: var(--yellow);
  border-radius: 10px;
  font-weight: bold;
  transition: 0.3s;
  font-size: 22px;
}

.cart-card .qty-btn:hover {
  background: var(--yellow-dark);
}

.cart-card .qty-number {
  font-size: 18px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

/* REMOVE */
.remove-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: rgb(255 230 0 / 27%);
  color: #111111a1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.remove-btn:hover {
  background: red;
  color: white;
}

/* SUMMARY */
.summary-box {
  background: var(--white);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 20px;
}

.summary-title {
  font-family: var(--font-display);
  font-size: 40px;
  margin-bottom: 25px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: var(--gray);
}

.summary-total {
  font-size: 24px;
  font-weight: 800;
  color: var(--black);
}

/* BUTTON */
.checkout-btn {
  width: 100%;
  height: 55px;
  border: none;
  border-radius: 14px;
  background: var(--yellow);
  font-weight: 800;
  transition: 0.3s;
  margin-top: 20px;
}

.checkout-btn:hover {
  background: var(--yellow-dark);
}

/* MOBILE */
@media (max-width: 768px) {
  .cart-title {
    font-size: 38px;
  }

  .cart-card .product-img {
    width: 90px;
    height: 90px;
  }

  .cart-card .product-name {
    font-size: 18px;
  }
}

/* ================================================= CHECKOUT ======================================== */
.checkout-logo {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--black);
  letter-spacing: 1px;
}

/* BOX */
.checkout-box {
  background: var(--white);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
}

.box-title {
  font-size: 24px;
  font-weight: 800;
}

/* ADDRESS */
.add-address-btn {
  border: none;
  background: var(--yellow);
  color: var(--black);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.3s;
}

.add-address-btn:hover {
  background: var(--yellow-dark);
}

#address-cards-wrapper {
  max-height: 350px;
  overflow-y: auto;
}

.address-card {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.address-card.active {
  border-color: var(--yellow-dark);
  background: rgba(255, 230, 0, 0.08);
}

.address-card .name {
  font-weight: 700;
  margin-bottom: 5px;
}

.address-card .badge-default {
  background: var(--yellow);
  color: #3a2e00;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  margin-left: 1rem;
}

.address-card p {
  margin-top: 5px;
  margin-bottom: 4px;
  color: var(--gray);
  font-size: 14px;
}

.address-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.address-set-default-btn {
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #3a2e00;
  background: var(--yellow);
  border: none;
  border-radius: 6px;
  padding: 5px 14px;
  cursor: pointer;
  transition: background 0.15s;
}

.address-set-default-btn:hover {
  background: var(--yellow-dark);
}

.address-default-label {
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.address-default-label svg {
  flex-shrink: 0;
}

.address-delete {
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #212529bf;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 6px;
  margin-left: auto;
  transition:
    color 0.15s,
    background 0.15s;
}

.address-delete:hover {
  color: var(--red);
  background: var(--red-light);
}

.address-delete svg {
  flex-shrink: 0;
}

.address-edit {
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #212529bf;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 6px;
  margin-left: auto;
  transition:
    color 0.15s,
    background 0.15s;
}

.address-edit:hover {
  color: var(--black-soft);
  background: var(--yellow-light);
}

.address-edit svg {
  flex-shrink: 0;
}

#addressDeleteModal .modal-icon {
  width: 48px;
  height: 48px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

#addressDeleteModal .modal-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

#addressDeleteModal .modal-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

#addressDeleteModal .modal-actions {
  display: flex;
  gap: 10px;
}

#addressDeleteModal .btn-cancel {
  flex: 1;
  padding: 10px;
  border: 1.5px solid var(#e0e0e0);
  border-radius: 8px;
  background: none;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

#addressDeleteModal .btn-cancel:hover {
  background: #f5f5f0;
}

#addressDeleteModal .btn-confirm-delete {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

#addressDeleteModal .btn-confirm-delete:hover {
  background: #c62828;
}

/* INPUT */
.form-control {
  height: 55px;
  border-radius: 14px;
  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 4px rgba(255, 230, 0, 0.15);
}

/* PAYMENT */
.payment-option {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.payment-option.active {
  border-color: var(--yellow-dark);
  background: rgba(255, 230, 0, 0.08);
}

/* SUMMARY */
.summary-card {
  background: var(--white);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 20px;
}

.summary-card .old-price{
  font-size: 0.85rem;
}

/* QUANTITY */
.summary-card .qty-box {
  display: flex;
  align-items: center;
  gap: 12px;
  /* margin-top: 15px; */
}

.summary-card .qty-btn {
  width: 26px;
  height: 26px;
  border: none;
  background: var(--yellow);
  border-radius: 10px;
  font-weight: bold;
  transition: 0.3s;
  font-size: 17px;
}

.summary-card .qty-btn:hover {
  background: var(--yellow-dark);
}

.summary-card .qty-number {
  font-size: 14px;
  font-weight: 700;
  min-width: 15px;
  text-align: center;
}

.summary-title {
  font-family: var(--font-display);
  font-size: 40px;
  margin-bottom: 25px;
}

.summary-product {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}

.summary-product img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background: var(--gray-light);
  object-fit: contain;
  padding: 6px;
}

.summary-product h6 {
  margin: 0;
  font-weight: 700;
}

.summary-product.unavailable { 
  opacity: .5; 
}
.unavailable-badge { 
  color: #e53935; 
  font-size: 12px; 
  font-weight: 600; 
}
.summary-product .product-select { 
  margin-right: 8px; 
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--gray);
}

.total-row {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
}

/* BUTTON */
.place-order-btn {
  width: 100%;
  height: 58px;
  border: none;
  border-radius: 16px;
  background: var(--yellow);
  font-weight: 800;
  margin-top: 20px;
  transition: 0.3s;
}

.place-order-btn:hover {
  background: var(--yellow-dark);
}

/* SUCCESS */
.success-box {
  display: none;
  background: var(--white);
  border-radius: 20px;
  padding: 50px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 30px;
}

.success-box i {
  font-size: 90px;
  color: green;
  margin-bottom: 20px;
}

.success-box h2 {
  font-family: var(--font-display);
  font-size: 52px;
}

.success-box p {
  color: var(--gray);
}

@media (max-width: 768px) {
  .checkout-logo {
    font-size: 34px;
  }

  .summary-title {
    font-size: 34px;
  }

  .success-box h2 {
    font-size: 40px;
  }
}

/* ========================================== ORDER DETAILS ===================================================== */

.od .status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid #bbf7d0;
  border-radius: 50px;
  padding: 4px 12px;
}
.od .status-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.od .status-chip-cancel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--red-light);
  color: var(--red);
  border: 1px solid #f7bbbb;
  border-radius: 50px;
  padding: 4px 12px;
}
.od .status-chip-cancel::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.od .return-status{
  background: #c9f7ee;
  color: #15927f;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid #8bd8cb;
  border-radius: 50px;
  padding: 4px 12px;
}

.od .return-status .status-dot{
  background: #15927f;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* ── MAIN LAYOUT ── */
.main-layout {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}
.od .left-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── CARD ── */
.od .card {
  background: var(--white);
  border: 1px solid #e8e8e4;
  border-radius: 20px;
  overflow: hidden;
  animation: fadeUp 0.35s ease both;
}
.od .card-header {
  padding: 16px 22px;
  border-bottom: 1px solid #e8e8e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.od .card-header h2 {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0px;
}
.od .card-header-right {
  font-size: 12px;
  color: var(--muted);
}

/* ── PRODUCT LIST ── */
.od .product-list {
  display: flex;
  flex-direction: column;
}
.od .product-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 22px;
  border-bottom: 1px solid #e8e8e4;
}
.od .product-row:last-child {
  border-bottom: none;
}
.od .product-thumb {
  width: 72px;
  height: 72px;
  min-width: 72px;
  background: #fafaf8;
  border-radius: 14px;
  border: 1px solid #e8e8e4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.od .product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.od .product-info {
  flex: 1;
  min-width: 0;
}
.od .product-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: -0.2px;
  line-height: 1.25;
  margin-bottom: 5px;
}
.od .product-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.od .product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.5px;
}
.od .product-qty {
  font-size: 12.5px;
  color: var(--muted);
}
.od .product-desc {
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Rate button on product row */
.od .rate-btn {
  flex-shrink: 0;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--yellow-light);
  border: 1px solid #f0e87a;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--black-soft);
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.12s;
  white-space: nowrap;
}
.od .rate-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow-dark);
  transform: translateY(-1px);
}
.od .rate-btn i {
  font-size: 11px;
  color: var(--yellow-dark);
}

/* Rated badge (replaces button after review) */
.od .rated-badge {
  flex-shrink: 0;
  align-self: center;
  display: none;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: var(--green-bg);
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}
.od .rated-badge.visible {
  display: inline-flex;
}
.od .rated-badge i {
  font-size: 10px;
}

/* ── INFO LIST ── */
.od .info-list {
  display: flex;
  flex-direction: column;
}
.od .info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 22px;
  border-bottom: 1px solid #e8e8e4;
  gap: 12px;
}
.od .info-row:last-child {
  border-bottom: none;
}
.od .info-label {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.od .info-val {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--black-soft);
  text-align: right;
}

/* ── PROGRESS ── */
.od .progress-section {
  padding: 18px 22px;
  border-top: 1px solid #e8e8e4;
}
.od .progress-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.progress-label-row span {
  font-size: 13px;
  color: var(--muted);
}
.od .progress-label-row strong {
  font-size: 13px;
  font-weight: 700;
  /* color: var(--green); */
}

/* ── TIMELINE ── */
.od .timeline {
  padding: 8px 22px 18px;
}
.od .tl-item {
  display: flex;
  gap: 14px;
}
.od .tl-item + .tl-item {
  margin-top: 4px;
}
.od .tl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30px;
  min-width: 30px;
}
.od .tl-dot {
  width: 30px;
  height: 30px;
  background: #e8e8e4;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.od .tl-dot.done {
  background: var(--yellow);
  color: var(--black);
}
.od .tl-dot.pending {
  background: #fafaf8;
  border: 1.5px dashed #e8e8e4;
  color: var(--muted);
}
.od .tl-line {
  width: 2px;
  flex: 1;
  min-height: 12px;
  background: #e8e8e4;
  margin: 4px 0;
}
.od .tl-line.done {
  background: var(--yellow-dark);
}
.od .tl-content {
  padding: 0px 0 16px;
}
.od .tl-item:last-child .tl-content {
  padding-bottom: 4px;
}
.od .tl-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--black-soft);
  margin-bottom: 1px;
}
.od .tl-desc {
  font-size: 12px;
  color: var(--muted);
}
.od .tl-time {
  font-size: 12px;
  color: var(--black-soft);
}

/* ── SIDEBAR ── */
.od .sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.od .sidebar .summary-total {
  padding: 18px 22px;
  border-top: 1px solid #e8e8e4;
}
/* .summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 9px;
} */
.od .sidebar .summary-row.total {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--black);
  /* padding-top: 11px; */
  margin-bottom: 0;
}

.od .sidebar .btn-download-invoice{
  background: var(--yellow-light);
  color: var(--black-soft);
  border: none;
  padding: 0.55rem 1.1rem;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

/* =========================================
   RETURN / EXCHANGE ORDER CARD
========================================= */

.od .sidebar .return-order-card {
  width: 100%;
  margin: 10px 0 14px;
  padding: 14px;
  background: #c9f7ee;
  border: 1px solid #8bd8cb;
  border-radius: 12px;
  box-sizing: border-box;
}

/* Header */
.od .sidebar .return-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.od .sidebar .return-order-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #172525;
  font-size: 14px;
  font-weight: 700;
}

.od .sidebar .return-order-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eafff9;
  border: 1px solid #86d9cb;
  border-radius: 7px;
  color: #15927f;
  font-size: 14px;
}


/* Status */
.od .sidebar .return-order-status {
  padding: 5px 10px;
  border-radius: 20px;
  background: #ffffff;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  text-transform: lowercase;
}

.od .sidebar .return-order-status.pending {
  color: #15927f;
}

.od .sidebar .return-order-status.success {
  color: #238b45;
  background: #e6f8e9;
}

.od .sidebar .return-order-status.danger {
  color: #c62828;
  background: #ffe8e8;
}

/* Product */
.od .sidebar .return-order-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.od .sidebar .return-order-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.od .sidebar .return-order-product-image {
  width: 48px;
  height: 48px;
  min-width: 48px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #a8ded5;
  border-radius: 6px;
}

.od .sidebar .return-order-product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.od .sidebar .return-order-product-info {
  flex: 1;
  min-width: 0;
}

.od .sidebar .return-order-product-name {
  color: #1b2726;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}

.od .sidebar .return-order-product-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #657572;
  font-size: 10px;
}


/* Reason */
.od .sidebar .return-order-reason {
  margin-top: 9px;
  color: #667573;
  font-size: 10px;
  line-height: 1.4;
}

.od .sidebar .return-order-reason strong {
  color: #465452;
}

/* Uploaded return images */
.od .sidebar .return-order-images {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.od .sidebar .return-order-image {
  width: 48px;
  height: 48px;
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid #a8ded5;
  border-radius: 5px;
}

.od .sidebar .return-order-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* --------------------- */

.od .return-window-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.od .return-window-ended-msg {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  /* max-width: 180px; */
  line-height: 1.4;
}

/* ---- Return Order button (sits next to invoice/reorder buttons) ---- */
.od .btn-return-order {
  background: var(--yellow);
  color: var(--black);
  border: none;
  padding: 0.55rem 1.1rem;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.od .btn-return-order:hover {
  background: var(--black);
  color: var(--yellow);
  transform: scale(1.03);
}

.od .btn-return-order:disabled {
  background: var(--gray);
  color: var(--gray-light);
  cursor: not-allowed;
}

#returnModal .modal-content {
  border-radius: 16px;
  overflow: hidden;
  border: none;
}
 
/* Modal header: mirrors #reviewModal .modal-product-header */
#returnModal .modal-header.return-header {
  padding: 20px 22px 16px;
  border-bottom: 1px solid #e8e8e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
#returnModal .return-header .header-title {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  color: var(--black);
  font-weight: 400;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 12px;
}
#returnModal .return-header .header-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: #fafaf8;
  border: 1px solid #e8e8e4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--yellow-dark);
}
#returnModal .modal-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
  background: #fafaf8;
  border: 1px solid #e8e8e4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: var(--muted);
  transition:
    background 0.15s,
    color 0.15s;
}
#returnModal .modal-close:hover {
  background: #e8e8e4;
  color: var(--black-soft);
}
 
/* Body */
#returnModal .modal-body {
  padding: 22px;
}
#returnModal .return-section-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
#returnModal .return-section-label i {
  color: var(--yellow-dark);
  font-size: 11px;
}
#returnModal hr.return-divider {
  border: none;
  border-top: 1px solid #e8e8e4;
  margin: 20px 0;
}
 
/* Reason list */
.return-reason-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 4px; }
.return-reason-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.15s;
}
.return-reason-row:hover { background: #fafaf8; }
.return-reason-row input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--yellow-dark);
  cursor: pointer;
  flex-shrink: 0;
}
.return-reason-row .reason-label {
  flex: 1;
  font-size: 14.5px;
  color: #3a3a3a;
}
.return-reason-row .reason-icon {
  color: var(--muted);
  font-size: 15px;
  width: 18px;
  text-align: center;
}
 
/* Upload photos — identical sizing/behaviour to #reviewModal .modal-photo-* */
.return-photo-hint-text {
  font-size: 12.5px;
  color: var(--muted);
  margin: -4px 0 12px;
}
.return-photo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}
.return-photo-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e8e4;
  flex-shrink: 0;
}
.return-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.return-photo-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: none;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.return-photo-add {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 1.5px dashed #ccc;
  background: #fafaf8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}
.return-photo-add i { font-size: 15px; }
.return-photo-add:hover {
  border-color: var(--yellow-dark);
  color: var(--black-soft);
}
.return-photo-add.maxed { display: none; }
.return-photo-hint {
  font-size: 12px;
  color: var(--red);
  min-height: 16px;
  margin-bottom: 12px;
}
 
/* Textarea — identical to #reviewModal .modal-textarea */
.return-textarea {
  width: 100%;
  height: 100px;
  border: 1px solid #e8e8e4;
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 14px;
  color: #3a3a3a;
  background: #fafaf8;
  resize: none;
  outline: none;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.return-textarea::placeholder { color: #bbb; }
.return-textarea:focus {
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 3px rgba(230, 207, 0, 0.15);
  background: var(--white);
}

.return-policy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 14px;
  background: #fafaf8;
  border: 1px solid #e8e8e4;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.return-policy-note i {
  margin-top: 2px;
  color: var(--yellow-dark);
  flex-shrink: 0;
}
 
/* Footer — Cancel + Submit, same layout as #reviewModal */
#returnModal .modal-footer {
  display: flex;
  gap: 10px;
  padding: 0 22px 22px;
  border: none;
}
#returnModal .modal-cancel-btn {
  flex: 1;
  padding: 12px;
  background: #fafaf8;
  border: 1px solid #e8e8e4;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s;
}
#returnModal .modal-cancel-btn:hover {
  border-color: #bbb;
  color: var(--black-soft);
}
.return-submit-btn {
  flex: 2;
  padding: 12px;
  background: var(--yellow);
  border: none;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.12s;
}
.return-submit-btn:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
}
.return-submit-btn:active { transform: translateY(0); }
.return-submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* =========================================================
   RETURN / EXCHANGE TYPE
   ========================================================= */

#returnModal .return-type-list {
    display: flex;
    gap: 10px;
    margin-bottom: 4px;
}

#returnModal .return-type-row {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border: 1px solid #e8e8e4;
    border-radius: 10px;
    background: #fafaf8;
    cursor: pointer;
    transition:
        background 0.15s,
        border-color 0.15s,
        transform 0.12s;
}

#returnModal .return-type-row:hover {
    border-color: #ccc;
    background: #fff;
}

#returnModal .return-type-row input[type="radio"] {
    width: 17px;
    height: 17px;
    accent-color: var(--yellow-dark);
    cursor: pointer;
    flex-shrink: 0;
}

#returnModal .return-type-row > div {
    flex: 1;
    min-width: 0;
}

#returnModal .return-type-row strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
}

#returnModal .return-type-row small {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.3;
}

#returnModal .return-type-row > i {
    font-size: 15px;
    color: var(--muted);
    flex-shrink: 0;
}

/* Selected Return / Exchange option */
#returnModal .return-type-row:has(input[type="radio"]:checked) {
    border-color: var(--yellow-dark);
    background: #fffdf0;
}

#returnModal .return-type-row:has(input[type="radio"]:checked) > i {
    color: var(--yellow-dark);
}


/* =========================================================
   PRODUCT SELECTION
   ========================================================= */

#returnModal .return-product-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}

#returnModal .return-product-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 1px solid #e8e8e4;
  border-radius: 10px;
  background: #fafaf8;
  cursor: pointer;
  transition:
      background 0.15s,
      border-color 0.15s;
}

#returnModal .return-product-row:hover {
  border-color: #ccc;
  background: #fff;
}

#returnModal .return-product-checkbox {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--yellow-dark);
  cursor: pointer;
  flex-shrink: 0;
}

#returnModal .return-product-image {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f1ee;
  border: 1px solid #e8e8e4;
  flex-shrink: 0;
}

#returnModal .return-product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#returnModal .return-product-info {
  flex: 1;
  min-width: 0;
}

#returnModal .return-product-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #3a3a3a;

  /* Prevent very long product names from breaking modal */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#returnModal .return-product-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

#returnModal .return-product-meta span {
  margin-left: 5px;
}

#returnModal .return-product-check {
  display: none;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  color: var(--yellow-dark);
  font-size: 13px;
  flex-shrink: 0;
}

/* Selected product */
#returnModal .return-product-row:has(
    .return-product-checkbox:checked
) {
  border-color: var(--yellow-dark);
  background: #fffdf0;
}

#returnModal .return-product-row:has(
    .return-product-checkbox:checked
) .return-product-check {
  display: flex;
}

.return-qty-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e8e8e4;
  border-radius: 8px;
  padding: 4px 6px;
  flex-shrink: 0;
}
.return-qty-stepper .qty-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: #fafaf8;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--black-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.return-qty-stepper .qty-btn:hover { background: #e8e8e4; }
.return-qty-stepper .qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.return-qty-stepper .qty-value {
  min-width: 18px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--black);
}

.return-input {
  width: 100%;
  height: 44px;
  border: 1px solid #e8e8e4;
  border-radius: 10px;
  padding: 0 15px;
  font-size: 14px;
  color: #3a3a3a;
  background: #fafaf8;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.return-input::placeholder { color: #bbb; }
.return-input:focus {
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 3px rgba(230, 207, 0, 0.15);
  background: var(--white);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

  #returnModal .return-type-list {
    flex-direction: column;
  }

  #returnModal .return-type-row {
    width: 100%;
  }

  #returnModal .return-product-image {
    width: 46px;
    height: 46px;
  }

  #returnModal .return-product-name {
    font-size: 13px;
  }
}

#cancelModal .modal-content { border-radius: 16px; overflow: hidden; border: none; }
 
#cancelModal .modal-header.cancel-header {
  padding: 20px 22px 16px;
  border-bottom: 1px solid #e8e8e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
#cancelModal .cancel-header .header-title {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  color: var(--black);
  font-weight: 400;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 12px;
}
#cancelModal .cancel-header .header-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: #fafaf8;
  border: 1px solid #e8e8e4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #dc2626;
}
#cancelModal .modal-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
  background: #fafaf8;
  border: 1px solid #e8e8e4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}
#cancelModal .modal-close:hover { background: #e8e8e4; color: var(--black-soft); }
 
#cancelModal .modal-body { padding: 22px; }
 
#cancelModal .cancel-other-wrap { margin-top: 12px; }
 
#cancelModal .modal-footer {
  display: flex;
  gap: 10px;
  padding: 0 22px 22px;
  border: none;
}

#cancelModal .modal-cancel-btn {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
}
#cancelModal .modal-cancel-btn:hover {
  background: var(--black);
  color: var(--yellow);
  transform: scale(1.03);
}

/* Modal header: product context */
#reviewModal .modal-product-header {
  padding: 20px 22px 16px;
  border-bottom: 1px solid #e8e8e4;
  display: flex;
  align-items: center;
  gap: 14px;
}
#reviewModal .modal-product-img {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: #fafaf8;
  border: 1px solid #e8e8e4;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
#reviewModal .modal-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
#reviewModal .modal-product-meta {
  flex: 1;
  min-width: 0;
}
#reviewModal .modal-product-name {
  font-size: 17px;
  color: var(--black);
  font-weight: 400;
  letter-spacing: -0.2px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#reviewModal .modal-product-price {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
#reviewModal .modal-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
  background: #fafaf8;
  border: 1px solid #e8e8e4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: var(--muted);
  transition:
    background 0.15s,
    color 0.15s;
}
#reviewModal .modal-close:hover {
  background: #e8e8e4;
  color: var(--black-soft);
}

/* Modal body */
#reviewModal .modal-body {
  padding: 22px;
}

#reviewModal .modal-section-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Stars */
#reviewModal .modal-stars {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
#reviewModal .modal-star-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 28px;
  color: #ddd;
  padding: 2px;
  transition:
    color 0.13s,
    transform 0.13s;
  line-height: 1;
}
#reviewModal .modal-star-btn:hover ~ .modal-star-btn {
  color: #ddd !important;
}
#reviewModal .modal-stars:hover .modal-star-btn {
  color: var(--yellow-dark);
}
#reviewModal .modal-stars:hover .modal-star-btn:hover ~ .modal-star-btn {
  color: #ddd;
}
#reviewModal .modal-star-btn.selected {
  color: var(--yellow-dark);
}
#reviewModal .modal-star-hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
  min-height: 18px;
  transition: color 0.15s;
}
#reviewModal .modal-star-hint.filled {
  color: var(--black-soft);
  font-weight: 600;
}

/* Textarea */
#reviewModal .modal-textarea {
  width: 100%;
  height: 100px;
  border: 1px solid #e8e8e4;
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 14px;
  color: #3a3a3a;
  background: #fafaf8;
  resize: none;
  outline: none;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
  margin-bottom: 16px;
}
#reviewModal .modal-textarea::placeholder {
  color: #bbb;
}
#reviewModal .modal-textarea:focus {
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 3px rgba(230, 207, 0, 0.15);
  background: var(--white);
}

#reviewModal .modal-photo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}
#reviewModal .modal-photo-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e8e4;
  flex-shrink: 0;
}
#reviewModal .modal-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#reviewModal .modal-photo-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: none;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
#reviewModal .modal-photo-add {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 1.5px dashed #ccc;
  background: #fafaf8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}
#reviewModal .modal-photo-add i {
  font-size: 15px;
}
#reviewModal .modal-photo-add:hover {
  border-color: var(--yellow-dark);
  color: var(--black-soft);
}
#reviewModal .modal-photo-add.maxed {
  display: none;
}
#reviewModal .modal-photo-hint {
  font-size: 11.5px;
  color: #dc2626;
  min-height: 16px;
  margin-bottom: 12px;
}

/* Modal footer buttons */
/* .modal-footer {
  display: flex;
  gap: 10px;
} */
#reviewModal .modal-cancel-btn {
  flex: 1;
  padding: 12px;
  background: #fafaf8;
  border: 1px solid #e8e8e4;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s;
}
#reviewModal .modal-cancel-btn:hover {
  border-color: #bbb;
  color: var(--black-soft);
}
#reviewModal .modal-submit-btn {
  flex: 2;
  padding: 12px;
  background: var(--yellow);
  border: none;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--black);
  transition:
    background 0.15s,
    transform 0.12s;
}
#reviewModal .modal-submit-btn:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
}
#reviewModal .modal-submit-btn:active {
  transform: translateY(0);
}

/* ── Success state inside modal ── */
#feedbackSuccess .modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px 32px;
}
#feedbackSuccess .modal-success.visible {
  display: flex;
}
#feedbackSuccess .modal-body.hidden,
#feedbackSuccess .modal-footer.hidden {
  display: none;
}

#feedbackSuccess .success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--black);
  margin-bottom: 16px;
}
#feedbackSuccess .success-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--black);
  margin-bottom: 6px;
}
#feedbackSuccess .success-sub {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
}
#feedbackSuccess .success-stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 20px;
}
#feedbackSuccess .success-stars i {
  font-size: 18px;
  color: var(--yellow-dark);
}
#feedbackSuccess .success-close-btn {
  padding: 11px 28px;
  background: var(--black);
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  transition: opacity 0.15s;
}
#feedbackSuccess .success-close-btn:hover {
  opacity: 0.8;
}

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  .main-layout {
    grid-template-columns: 1fr;
    padding: 18px 16px 48px;
    gap: 14px;
  }

  .od .product-thumb {
    width: 60px;
    height: 60px;
    min-width: 60px;
  }
  .od .rate-btn span {
    display: none;
  }
  .od .rate-btn {
    padding: 7px 10px;
  }

  /* Sidebar: show summary on mobile but move it below the main content */
  .od .sidebar {
    order: 1;
  }

  /* Collapse sidebar into a compact horizontal summary row */
  .od .sidebar .card:first-child {
    display: block;
  }

  /* Make sidebar summary items horizontal / wrapping on small screens */
  /* .sidebar .info-list {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 4px 10px;
  } */
  .od .sidebar .info-row {
    /* flex-direction: column; */
    align-items: flex-start;
    padding: 10px 12px;
    /* border-bottom: none; */
    /* border-right: 1px solid #e8e8e4; */
    flex: 1;
    min-width: 100px;
    gap: 2px;
  }
  .od .sidebar .info-row:last-child {
    border-right: none;
  }
  .od .sidebar .info-label {
    font-size: 11px;
    white-space: normal;
  }
  .od .sidebar .info-val {
    font-size: 13px;
  }
  .od .summary-total {
    padding: 12px 22px;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.od .left-col .card:nth-child(1) {
  animation-delay: 0.04s;
}
.od .left-col .card:nth-child(2) {
  animation-delay: 0.09s;
}
.od .sidebar .card {
  animation-delay: 0.07s;
}

/* ------------------------------------------------------------------------------------------------ */
.out-of-stock {
  color: var(--red) !important;
  text-align: center;
}
