/* ==========================================================================
   Storefront CSS - Flint Engine eCommerce Platform
   Uses variables from app.css (var(--primary), var(--secondary), etc.)
   ========================================================================== */

/* ==========================================================================
   NOTIFICATION SYSTEM — Modern Toast Notifications
   ========================================================================== */

#eos-notifications {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 11000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: 400px;
  width: 100%;
}

.eos-toast {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  pointer-events: auto;
  opacity: 0;
  transform: translateX(110%);
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  font-family: var(--font, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.eos-toast--visible {
  opacity: 1;
  transform: translateX(0);
}

.eos-toast--hiding {
  opacity: 0;
  transform: translateX(110%) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Toast accent bar */
.eos-toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
}

.eos-toast--success::before { background: linear-gradient(180deg, #198754, #20c997); }
.eos-toast--error::before { background: linear-gradient(180deg, #dc3545, #e94560); }
.eos-toast--info::before { background: linear-gradient(180deg, #0dcaf0, #0d6efd); }
.eos-toast--warning::before { background: linear-gradient(180deg, #ffc107, #fd7e14); }

/* Thumbnail image */
.eos-toast__img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Icon */
.eos-toast__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.eos-toast--success .eos-toast__icon {
  background: linear-gradient(135deg, #d1e7dd, #Badbcc);
  color: #0f5132;
}

.eos-toast--error .eos-toast__icon {
  background: linear-gradient(135deg, #f8d7da, #f1aeb5);
  color: #842029;
}

.eos-toast--info .eos-toast__icon {
  background: linear-gradient(135deg, #cff4fc, #9ec5fe);
  color: #055160;
}

.eos-toast--warning .eos-toast__icon {
  background: linear-gradient(135deg, #fff3cd, #ffe69c);
  color: #664d03;
}

/* Body */
.eos-toast__body {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.eos-toast__title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eos-toast__message {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6c757d;
  line-height: 1.4;
}

.eos-toast--success .eos-toast__message { color: #0f5132; }
.eos-toast--error .eos-toast__message { color: #842029; }

/* Close button */
.eos-toast__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  color: #adb5bd;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
  padding: 0;
  margin-top: 2px;
}

.eos-toast__close:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #495057;
}

/* Progress bar */
.eos-toast__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.eos-toast__progress-bar {
  height: 100%;
  width: 100%;
  border-radius: 0 3px 3px 0;
}

.eos-toast--success .eos-toast__progress-bar {
  background: linear-gradient(90deg, #198754, #20c997);
}

.eos-toast--error .eos-toast__progress-bar {
  background: linear-gradient(90deg, #dc3545, #e94560);
}

.eos-toast--info .eos-toast__progress-bar {
  background: linear-gradient(90deg, #0dcaf0, #0d6efd);
}

.eos-toast--warning .eos-toast__progress-bar {
  background: linear-gradient(90deg, #ffc107, #fd7e14);
}

/* Hover pause effect */
.eos-toast:hover {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 575.98px) {
  #eos-notifications {
    top: 12px;
    right: 12px;
    left: 12px;
    max-width: none;
  }

  .eos-toast {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .eos-toast__img {
    width: 40px;
    height: 40px;
  }

  .eos-toast__icon {
    width: 32px;
    height: 32px;
  }

  .eos-toast__icon svg {
    width: 16px;
    height: 16px;
  }
}

/* ==========================================================================
   1. HEADER — Flint Engine Premium eCommerce Header
   ========================================================================== */

/* -- Container Override (header-scoped) ---------------------------- */
.eos-container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* -- Sticky Wrapper ------------------------------------------------ */
.eos-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

/* -- Hamburger Menu Button (mobile) -------------------------------- */
.eos-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--primary, #1a1a2e);
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.eos-hamburger:hover {
  background: #f4f5f7;
  color: var(--secondary, #e94560);
}

@media (max-width: 991.98px) {
  .eos-hamburger {
    display: flex;
  }
}

/* -- Offcanvas stacking fix ---------------------------------------- */
.offcanvas {
  z-index: 1055;
}

/* Hide offcanvas on desktop completely */
@media (min-width: 992px) {
  .offcanvas {
    visibility: hidden !important;
    pointer-events: none;
  }
}

.eos-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* -- Announcement Bar ---------------------------------------------- */
.eos-announcement {
  background: var(--primary, #1a1a2e);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
  line-height: 1;
  overflow: hidden;
}

.eos-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 12px;
  min-width: 0;
}

.eos-announcement-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.eos-announcement-text svg {
  opacity: 0.55;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.eos-announcement-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 1px;
  transition: color 0.2s;
}

.eos-announcement-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.eos-announcement-link:hover {
  color: #fff;
}

.eos-announcement-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* -- Main Header --------------------------------------------------- */
.eos-main-header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.eos-main-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

/* -- Logo ---------------------------------------------------------- */
.eos-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.eos-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--primary, #1a1a2e);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 800;
  border-radius: 10px;
  line-height: 1;
  letter-spacing: -0.5px;
  transition: background 0.2s;
}

.eos-logo:hover .eos-logo-mark {
  background: var(--secondary, #e94560);
}

.eos-logo-text {
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.eos-logo-engine {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary, #1a1a2e);
  letter-spacing: -0.5px;
  transition: color 0.2s;
}

.eos-logo-os {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary, #e94560);
  letter-spacing: -0.5px;
  transition: color 0.2s;
}

.eos-logo:hover .eos-logo-engine {
  color: var(--primary, #1a1a2e);
}

.eos-logo-mobile .eos-logo-mark {
  width: 32px;
  height: 32px;
  font-size: 0.9375rem;
}

.eos-logo-mobile .eos-logo-engine,
.eos-logo-mobile .eos-logo-os {
  font-size: 1.25rem;
}

/* -- Search Bar ---------------------------------------------------- */
.eos-search {
  flex: 1;
  min-width: 0;
  display: flex;
}

@media (max-width: 991.98px) {
  .eos-search {
    display: none;
  }
}

.eos-search-form {
  display: flex;
  align-items: center;
  width: 100%;
  height: 46px;
  background: #f4f5f7;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.eos-search-form:focus-within {
  border-color: var(--secondary, #e94560);
  box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.07);
  background: #fff;
}

.eos-search-icon {
  margin-left: 16px;
  color: #aab0bb;
  flex-shrink: 0;
  transition: color 0.2s;
}

.eos-search-form:focus-within .eos-search-icon {
  color: var(--secondary, #e94560);
}

.eos-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-size: 0.9375rem;
  color: var(--primary, #1a1a2e);
  outline: none;
  font-family: inherit;
  line-height: 1.4;
}

.eos-search-input::placeholder {
  color: #aab0bb;
}

.eos-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: none;
  background: var(--secondary, #e94560);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.eos-search-btn:hover {
  background: var(--secondary-light, #ff6b81);
}

/* -- Header Actions ------------------------------------------------ */
.eos-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.eos-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 14px;
  color: var(--primary, #1a1a2e);
  border-radius: 12px;
  transition: color 0.18s ease;
  position: relative;
  white-space: nowrap;
  min-width: 58px;
}

.eos-action-item:hover {
  color: var(--secondary, #e94560);
}

.eos-action-item:hover svg {
  color: var(--secondary, #e94560);
}

.eos-action-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.eos-action-icon-wrap svg {
  transition: color 0.18s ease;
}

/* -- User Avatar (Header) ------------------------------------------ */
.eos-action-avatar .eos-action-icon-wrap {
  width: 32px;
  height: 32px;
}

.eos-user-avatar-img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-light, #e9ecef);
}

.eos-user-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--secondary, #e94560);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eos-action-avatar {
  padding: 8px 10px;
  min-width: auto;
}

.eos-action-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  color: inherit;
}

.eos-cart-total {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--secondary, #e94560);
  line-height: 1;
  margin-top: 2px;
}

/* -- Badge --------------------------------------------------------- */
.eos-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  background: var(--secondary, #e94560);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(233, 69, 96, 0.3);
}

.eos-badge:empty,
.eos-badge[data-count="0"] {
  display: none;
}

/* -- Action Divider ------------------------------------------------ */
.eos-action-divider {
  width: 1px;
  height: 28px;
  background: var(--border-light, #e9ecef);
  margin: 0 2px;
  flex-shrink: 0;
}

/* -- Mobile Buttons ------------------------------------------------ */
.eos-mobile-search-btn,
.eos-mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  color: var(--primary, #1a1a2e);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s;
}

.eos-mobile-search-btn:hover,
.eos-mobile-menu-btn:hover {
  background: #f4f5f7;
}

/* -- Mobile Search Panel -------------------------------------------- */
.eos-mobile-search {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--border-light, #e9ecef);
  padding: 12px 0;
}

.eos-mobile-search.active {
  display: block;
}

.eos-mobile-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f4f5f7;
  border-radius: 12px;
  padding: 0 16px;
  border: 2px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.eos-mobile-search-form:focus-within {
  border-color: var(--secondary, #e94560);
  background: #fff;
}

.eos-mobile-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 13px 0;
  font-size: 1rem;
  outline: none;
  color: var(--primary, #1a1a2e);
  font-family: inherit;
}

.eos-mobile-search-input::placeholder {
  color: #aab0bb;
}

.eos-mobile-search-close,
.eos-mobile-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #999;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  flex-shrink: 0;
}

.eos-mobile-search-close:hover,
.eos-mobile-search-submit:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--primary, #1a1a2e);
}

/* -- Navigation Row ------------------------------------------------ */
.eos-nav-row {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.eos-nav-row-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

@media (max-width: 991.98px) {
  .eos-nav-row-inner {
    display: none;
  }
}

.eos-nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none !important;
  margin: 0;
  padding: 0 !important;
}

.eos-nav-categories {
  flex-shrink: 0;
}

.eos-nav-list--center {
  gap: 0;
}

.eos-nav-list--right {
  gap: 0;
  flex-shrink: 0;
}

.eos-nav-item {
  position: relative;
}

.eos-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
  color: var(--primary, #1a1a2e);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  transition: color 0.18s;
}

.eos-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2.5px;
  background: var(--secondary, #e94560);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.eos-nav-link:hover {
  color: var(--secondary, #e94560);
}

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

.eos-nav-link svg {
  opacity: 0.4;
  transition: opacity 0.18s, transform 0.18s;
}

.eos-nav-link:hover svg {
  opacity: 0.8;
}

/* -- Categories Button — hamburger icon styling --------------------- */
.eos-nav-dropdown > .eos-nav-link svg:first-child {
  opacity: 0.7;
}

/* -- Active Nav Link (route/URL based, never hardcoded) -------- */
.eos-nav-link.active {
  color: var(--secondary, #e94560) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eos-nav-link.active::before {
  content: '';
  position: absolute;
  inset: 6px 10px;
  background: rgba(233, 69, 96, 0.08);
  border-radius: 8px;
  z-index: -1;
}

.eos-nav-link.active::after {
  transform: scaleX(1);
}

.eos-nav-link.active svg {
  opacity: 0.8;
  color: var(--secondary, #e94560);
}

/* -- Categories Mega Menu ------------------------------------------ */
.eos-nav-dropdown {
  position: relative;
}

.eos-dropdown-toggle svg {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.eos-nav-dropdown:hover .eos-dropdown-toggle svg,
.eos-nav-dropdown.show .eos-dropdown-toggle svg {
  transform: rotate(180deg);
}

.eos-mega-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 2px solid var(--secondary, #e94560);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 8px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1050;
}

.eos-nav-dropdown:hover > .eos-mega-menu,
.eos-nav-dropdown.show > .eos-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.eos-mega-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.eos-mega-item {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: var(--primary, #1a1a2e);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.eos-mega-item:hover {
  background: #f8f9fb;
  color: var(--secondary, #e94560);
  padding-left: 24px;
}

.eos-mega-item.active {
  background: rgba(233, 69, 96, 0.08);
  color: var(--secondary, #e94560);
  font-weight: 600;
  padding-left: 24px;
}

.eos-mega-footer {
  padding: 12px 20px 4px;
  margin-top: 4px;
  border-top: 1px solid var(--border-light, #e9ecef);
}

.eos-mega-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary, #e94560);
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap 0.15s;
}

.eos-mega-footer-link:hover {
  gap: 10px;
}

/* -- Mobile Offcanvas ---------------------------------------------- */
.offcanvas.offcanvas-end {
  max-width: 360px;
  border-left: none;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light, #e9ecef);
}

.offcanvas-body {
  padding: 0 24px 32px;
}

.eos-mobile-search-wrap {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light, #e9ecef);
  margin-bottom: 8px;
}

/* -- Mobile Nav ---------------------------------------------------- */
.eos-mobile-nav {
  display: flex;
  flex-direction: column;
}

.eos-mobile-nav-section {
  padding: 16px 0 8px;
}

.eos-mobile-nav-section + .eos-mobile-nav-section {
  border-top: 1px solid var(--border-light, #e9ecef);
}

.eos-mobile-nav-heading {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aab0bb;
  padding: 0 0 10px;
}

.eos-mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 12px;
  color: var(--primary, #1a1a2e);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}

.eos-mobile-nav-link:hover {
  background: #f4f5f7;
  color: var(--secondary, #e94560);
}

.eos-mobile-nav-link svg {
  color: #aab0bb;
  flex-shrink: 0;
  transition: color 0.15s;
}

.eos-mobile-nav-link:hover svg {
  color: var(--secondary, #e94560);
}

.eos-mobile-nav-link.active {
  background: #f4f5f7;
  color: var(--secondary, #e94560);
  font-weight: 600;
}

.eos-mobile-nav-link.active svg {
  color: var(--secondary, #e94560);
}

/* ==========================================================================
   1b. HEADER — Mobile Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
  .eos-announcement-text {
    display: none;
  }

  .eos-announcement-inner {
    justify-content: center;
    padding: 0 8px;
  }

  .eos-announcement-link {
    margin-left: auto;
  }

  .eos-main-header-inner {
    height: 60px;
    gap: 12px;
  }

  .eos-logo-mark {
    width: 32px;
    height: 32px;
    font-size: 0.9375rem;
    border-radius: 8px;
  }

  .eos-logo-engine,
  .eos-logo-os {
    font-size: 1.25rem;
  }

  .eos-actions {
    gap: 2px;
    margin-left: auto;
  }

  .eos-action-item {
    padding: 6px 8px;
    min-width: auto;
  }

  .eos-action-item svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 575.98px) {
  .eos-main-header-inner {
    height: 54px;
    gap: 8px;
  }

  .eos-logo-mark {
    width: 28px;
    height: 28px;
    font-size: 0.8125rem;
  }

  .eos-logo-engine,
  .eos-logo-os {
    font-size: 1.125rem;
  }

  .eos-action-item {
    padding: 6px 6px;
  }

  .eos-action-item svg {
    width: 18px;
    height: 18px;
  }
}

/* ==========================================================================
   1c. HEADER — Mobile Bottom Navigation
   ========================================================================== */

.eos-bottom-nav {
  display: none;
}

@media (max-width: 991.98px) {
  .eos-bottom-nav {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1060;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px 0 env(safe-area-inset-bottom, 8px);
    height: auto;
  }

  .eos-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    padding: 8px 0 4px;
    color: #86868b;
    text-decoration: none;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }

  .eos-bottom-nav-item:hover,
  .eos-bottom-nav-item:active,
  .eos-bottom-nav-item.active {
    color: var(--secondary, #e94560);
  }

  .eos-bottom-nav-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.2s;
  }

  .eos-bottom-nav-item:active svg {
    transform: scale(0.9);
  }

  .eos-bottom-nav-item span:last-child {
    line-height: 1;
  }

  .eos-bottom-nav-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .eos-bottom-nav-icon-wrap .eos-badge {
    top: -4px;
    right: -8px;
    font-size: 0.5625rem;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
  }

  body {
    padding-bottom: 72px;
  }
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: #fafafa;
  padding: 5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 420px;
}

.hero-left {
  max-width: 520px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary, #e94560);
  margin-bottom: 1.25rem;
  animation: heroUp 0.5s ease-out both;
}

.hero-heading {
  font-family: var(--font);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--primary, #1a1a2e);
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  animation: heroUp 0.5s ease-out 0.08s both;
}

.hero-accent {
  color: var(--secondary, #e94560);
}

.hero-body {
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  color: #6b7280;
  margin-bottom: 2rem;
  animation: heroUp 0.5s ease-out 0.16s both;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: heroUp 0.5s ease-out 0.24s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary, #1a1a2e);
  color: #fff;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-primary:hover {
  background: #2a2a4e;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.18);
}

.btn-hero-primary svg {
  transition: transform 0.2s;
}

.btn-hero-primary:hover svg {
  transform: translateX(3px);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--primary, #1a1a2e);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-ghost:hover {
  border-color: var(--primary, #1a1a2e);
  color: var(--primary, #1a1a2e);
}

/* -- Hero Image Grid ------------------------------------------------ */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroUp 0.6s ease-out 0.2s both;
}

.hero-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
}

.hero-img {
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hero-img--1 {
  grid-column: 1;
  grid-row: 1 / 3;
  background: linear-gradient(145deg, #f0f0f2 0%, #e4e5e9 100%);
}

.hero-img--2 {
  grid-column: 2;
  grid-row: 1;
  background: linear-gradient(145deg, #fef2f3 0%, #fde4e7 100%);
}

.hero-img--3 {
  grid-column: 2;
  grid-row: 2;
  background: linear-gradient(145deg, #f0f7f4 0%, #dde9e2 100%);
}

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

/* -- Hero Responsive ------------------------------------------------ */
@media (max-width: 991.98px) {
  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-body {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }
}

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

  .hero-heading {
    font-size: 2.25rem;
  }

  .hero-body {
    font-size: 0.9375rem;
  }

  .btn-hero-primary,
  .btn-hero-ghost {
    padding: 12px 22px;
    font-size: 0.8125rem;
  }
}

/* ==========================================================================
   3. CATEGORY ICON BAR
   ========================================================================== */

.catbar {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.catbar-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.catbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.catbar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #f5f5f7;
  color: var(--primary, #1a1a2e);
  transition: all 0.25s ease;
}

.catbar-item:hover .catbar-icon {
  background: var(--primary, #1a1a2e);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.15);
}

.catbar-name {
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  transition: color 0.2s;
  white-space: nowrap;
}

.catbar-item:hover .catbar-name {
  color: var(--primary, #1a1a2e);
}

@media (max-width: 991.98px) {
  .catbar-scroll {
    justify-content: flex-start;
    gap: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 1rem;
    margin: 0 -1rem;
  }

  .catbar-scroll::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .catbar {
    padding: 1.75rem 0;
  }

  .catbar-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .catbar-name {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   3b. PROMOTIONAL BANNERS
   ========================================================================== */

.promos {
  padding: 1rem 0 50px;
}

.promo-card {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 1;
  cursor: pointer;
  text-decoration: none;
  transform-style: preserve-3d;
  perspective: 800px;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.promo-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.promo-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.promo-card:hover .promo-img {
  transform: scale(1.1);
}

.promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.55) 100%);
  transition: background 0.4s ease;
  z-index: 1;
}

.promo-card:hover .promo-overlay {
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.65) 100%);
}

/* Shine sweep on hover */
.promo-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.12) 45%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.12) 55%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: none;
  pointer-events: none;
}

.promo-card:hover .promo-shine {
  transform: translateX(100%);
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Glow effect */
.promo-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  filter: blur(40px);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  top: 20%;
  right: 10%;
}

.promo-card:hover .promo-glow {
  opacity: 1;
}

/* Decorative dots */
.promo-dots {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 4px;
  z-index: 3;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
  pointer-events: none;
}

.promo-card:hover .promo-dots {
  opacity: 0.5;
  transform: translateY(0);
}

.promo-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.promo-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  z-index: 4;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  transition: background 0.4s ease;
  transform: translateY(-8px);
}

.promo-card:hover .promo-content {
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  transform: translateY(0);
}

.promo-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.promo-label {
  display: block;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1px;
}

.promo-title {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 0.7;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.promo-description {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.3;
  margin-bottom: 8px;
  max-width: 90%;
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 6px;
}

.promo-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.promo-card:hover .promo-cta {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.35);
  gap: 8px;
  padding: 6px 18px;
}

.promo-card:hover .promo-cta::before {
  opacity: 1;
}

.promo-cta svg {
  transition: transform 0.3s ease;
}

.promo-card:hover .promo-cta svg {
  transform: translateX(3px);
}

/* Stagger entrance */
@keyframes promoFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.promo-card {
  animation: promoFadeUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}

.col-12:nth-child(1) .promo-card { animation-delay: 0.1s; }
.col-12:nth-child(2) .promo-card { animation-delay: 0.2s; }

/* Card border glow */
.promo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
  pointer-events: none;
  transition: border-color 0.3s;
}

.promo-card:hover::after {
  border-color: rgba(255, 255, 255, 0.25);
}

/* -- Responsive --------------------------------------------------------- */

@media (max-width: 991.98px) {
  .promo-card { aspect-ratio: 3 / 1; }
}

@media (max-width: 767.98px) {
  .promo-card { aspect-ratio: 3 / 1; }
  .promo-content { padding: 14px 16px; }
  .promo-title { font-size: 14px; }
  .promo-description { font-size: 11px; }
}

@media (max-width: 575.98px) {
  .promos { padding: 1rem 0 30px; }
  .promo-card { aspect-ratio: 2.5 / 1; border-radius: 14px; }
  .promo-content { padding: 12px 14px; }
  .promo-title { font-size: 13px; }
  .promo-description { display: none; }
  .promo-cta { font-size: 10px; padding: 5px 10px; border-radius: 6px; }
}

/* ==========================================================================
   4. PRODUCT CARDS
   ========================================================================== */

.products-section {
  padding: 5rem 0;
  margin-top: 60px;
  background: #f8f9fa;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f7;
}

.product-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.badge-sale,
.badge-new {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.badge-sale {
  background: var(--secondary, #e94560);
  color: #fff;
}

.badge-new {
  background: var(--primary, #1a1a2e);
  color: #fff;
}

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: #999;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wishlist-btn:hover {
  background: var(--secondary, #e94560);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.wishlist-btn.active {
  background: var(--secondary, #e94560);
  color: #fff;
}

.product-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 0;
  z-index: 2;
}

.product-card-actions .btn {
  flex: 1;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  position: relative;
  overflow: hidden;
}

.product-card-actions .btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
  pointer-events: none;
}

.product-card-actions .btn-dark {
  background: var(--primary, #1a1a2e);
  color: #fff;
  border-radius: 0 0 0 16px;
}

.product-card-actions .btn-dark:hover {
  background: var(--secondary, #e94560);
  color: #fff;
  box-shadow: 0 -2px 12px rgba(233, 69, 96, 0.3);
}

.product-card-actions .btn-dark:active {
  transform: scale(0.97);
}

.product-card-actions .btn-outline-dark {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--primary, #1a1a2e);
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  border-radius: 0 0 16px 0;
}

.product-card-actions .btn-outline-dark:hover {
  background: var(--secondary, #e94560);
  color: #fff;
  border-left-color: transparent;
  box-shadow: 0 -2px 12px rgba(233, 69, 96, 0.3);
  text-decoration: none;
}

.product-card-actions .btn-outline-dark:active {
  transform: scale(0.97);
}

/* Add-to-cart success state */
.product-card-actions .btn-dark.added {
  background: var(--success, #198754) !important;
  pointer-events: none;
}

.product-card-actions .btn-dark .spinner {
  width: 14px;
  height: 14px;
  border-width: 2px;
  border-color: rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cartSpin 0.6s linear infinite;
}

@keyframes cartSpin {
  to { transform: rotate(360deg); }
}

.product-card-body {
  padding: 1.125rem 1.25rem 3.5rem;
}

.product-category {
  display: inline-block;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.product-category:hover {
  color: var(--secondary, #e94560);
}

.product-name {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.product-name a:hover {
  color: var(--secondary, #e94560);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.stars {
  display: flex;
  gap: 1px;
}

.rating-count {
  font-family: var(--font);
  font-size: 12px;
  color: #9ca3af;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-short-description {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-current {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  letter-spacing: -0.01em;
}

.price-sale {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary, #e94560);
  letter-spacing: -0.01em;
}

.price-regular {
  font-family: var(--font);
  font-size: 13px;
  color: #9ca3af;
  text-decoration: line-through;
}

@media (max-width: 575.98px) {
  .product-card-body {
    padding: 0.875rem 1rem 3rem;
  }

  .product-name {
    font-size: 14px;
  }

  .price-current,
  .price-sale {
    font-size: 15px;
  }

  .price-regular {
    font-size: 12px;
  }

  .product-card-actions .btn {
    font-size: 11px;
    padding: 10px 10px;
  }

  .product-card-actions .btn svg {
    display: none;
  }
}

/* ==========================================================================
   5. PROMO BANNER
   ========================================================================== */

.promo-banner {
  background: var(--dark, #1a1a2e);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  margin: 50px 0;
}

.promo-banner-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(233, 69, 96, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(69, 123, 157, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.promo-banner .container {
  position: relative;
  z-index: 1;
}

.promo-banner-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.promo-banner-text-content {
  text-align: left;
}

.promo-banner-badge {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary, #e94560);
  background: rgba(233, 69, 96, 0.15);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.promo-banner-title {
  font-family: var(--font);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.promo-banner-text {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 440px;
}

.promo-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark, #1a1a2e);
  background: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.promo-banner-btn:hover {
  background: var(--secondary, #e94560);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 69, 96, 0.35);
}

.promo-banner-btn:hover svg {
  transform: translateX(4px);
}

.promo-banner-btn svg {
  transition: transform 0.3s;
}

.promo-banner-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.promo-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-banner-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .promo-banner {
    padding: 3.5rem 0;
  }

  .promo-banner-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .promo-banner-text-content {
    text-align: center;
  }

  .promo-banner-title {
    font-size: 2.5rem;
  }

  .promo-banner-text {
    margin-left: auto;
    margin-right: auto;
  }

  .promo-banner-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

.promo-label {
  display: block;
  background: none;
  color: #fff;
  padding: 0;
  border-radius: 0;
  font-size: 20px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-align: left;
}

.promo-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.promo-title .promo-highlight {
  color: var(--primary, #e63946);
}

.promo-description {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 0;
  text-align: left;
}

.promo-countdown {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.countdown-item {
  text-align: center;
}

.countdown-value {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.375rem;
}

.countdown-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   6. BENEFITS SECTION
   ========================================================================== */

.benefits-section {
  padding: 5rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.benefit-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: var(--primary, #e63946);
  transition: background 0.3s, color 0.3s;
}

.benefit-item:hover .benefit-icon {
  background: var(--primary, #e63946);
  color: #fff;
}

.benefit-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark, #1a1a2e);
  margin-bottom: 0.5rem;
}

.benefit-description {
  font-size: 0.9375rem;
  color: #777;
  line-height: 1.6;
}

/* ==========================================================================
   7. NEWSLETTER SECTION
   ========================================================================== */

.newsletter-section {
  padding: 5rem 0;
  background: var(--dark, #1a1a2e);
  position: relative;
  overflow: hidden;
}

.newsletter-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(233, 69, 96, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 50%, rgba(69, 123, 157, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.newsletter-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.newsletter-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.newsletter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newsletter-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.newsletter-content {
  text-align: left;
}

.newsletter-badge {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary, #e94560);
  background: rgba(233, 69, 96, 0.15);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.newsletter-title {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.newsletter-text {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 440px;
}

.newsletter-form {
  margin-bottom: 1rem;
}

.newsletter-input-group {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 14px;
  color: #fff;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark, #1a1a2e);
  background: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: var(--secondary, #e94560);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.35);
}

.newsletter-btn:hover svg {
  transform: translateX(4px);
}

.newsletter-btn svg {
  transition: transform 0.3s;
}

.newsletter-disclaimer {
  font-family: var(--font);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 767.98px) {
  .newsletter-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .newsletter-image {
    display: none;
  }

  .newsletter-content {
    text-align: center;
  }

  .newsletter-text {
    margin-left: auto;
    margin-right: auto;
  }

  .newsletter-input-group {
    flex-direction: column;
  }

  .newsletter-btn {
    justify-content: center;
  }
}

/* ==========================================================================
   8. TESTIMONIALS
   ========================================================================== */

.testimonials-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #fdf2f8 50%, #f0fdf4 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 26, 46, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.testimonials-badge {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary, #e94560);
  background: rgba(233, 69, 96, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.testimonials-title {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark, #1a1a2e);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.testimonials-subtitle {
  font-family: var(--font);
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

/* Stats Bar */
.testimonials-stats-bar {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 1;
}

.stats-summary {
  flex-shrink: 0;
  text-align: center;
  min-width: 160px;
}

.stats-average {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stats-number {
  font-family: var(--font);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark, #1a1a2e);
  line-height: 1;
}

.stats-stars {
  display: flex;
  gap: 2px;
}

.stats-count {
  font-family: var(--font);
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
}

.stats-breakdown {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.breakdown-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breakdown-label {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}

.breakdown-bar {
  flex: 1;
  height: 8px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

.breakdown-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffc107, #ffb300);
  border-radius: 10px;
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.breakdown-count {
  font-family: var(--font);
  font-size: 13px;
  color: #9ca3af;
  width: 20px;
  flex-shrink: 0;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary, #e94560), var(--primary, #1a1a2e));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(233, 69, 96, 0.15);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-product-thumb {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.testimonial-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-quote-icon {
  color: var(--secondary, #e94560);
  margin-bottom: 0.75rem;
  opacity: 0.6;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-family: var(--font);
  font-size: 15px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-product-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary, #1a1a2e);
  background: rgba(26, 26, 46, 0.04);
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.testimonial-product-name svg {
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary, #1a1a2e), #2d2d4e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.testimonial-name {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark, #1a1a2e);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.testimonial-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
  padding: 2px 8px;
  border-radius: 50px;
  white-space: nowrap;
}

.testimonial-verified svg {
  flex-shrink: 0;
}

.testimonial-date {
  font-family: var(--font);
  font-size: 12px;
  color: #9ca3af;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.testimonial-helpful {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.testimonial-helpful:hover {
  color: var(--secondary, #e94560);
  border-color: var(--secondary, #e94560);
  background: rgba(233, 69, 96, 0.04);
}

.testimonial-helpful:active {
  transform: scale(0.97);
}

.testimonial-helpful.active {
  color: var(--secondary, #e94560);
  border-color: var(--secondary, #e94560);
  background: rgba(233, 69, 96, 0.08);
}

@media (max-width: 991.98px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-stats-bar {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.25rem;
  }

  .stats-summary {
    min-width: auto;
  }
}

@media (max-width: 575.98px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-product-thumb {
    width: 44px;
    height: 44px;
  }

  .testimonials-stats-bar {
    padding: 1rem;
  }

  .stats-number {
    font-size: 2rem;
  }
}

/* ==========================================================================
   9. INSTAGRAM / SOCIAL SECTION
   ========================================================================== */

.social-section {
  padding: 5rem 0;
  background: #fff;
}

.social-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.social-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.social-badge {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary, #e94560);
  background: rgba(233, 69, 96, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.social-title {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark, #1a1a2e);
  margin: 0;
  letter-spacing: -0.02em;
}

.social-handle {
  font-family: var(--font);
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

.social-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark, #1a1a2e);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-follow-btn:hover {
  background: var(--primary, #1a1a2e);
  color: #fff;
  border-color: var(--primary, #1a1a2e);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 26, 46, 0.25);
}

.social-follow-btn:hover svg {
  transform: translateX(4px);
}

.social-follow-btn svg {
  transition: transform 0.3s;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.social-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-tile:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.social-tile-content {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary, #1a1a2e);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-tile:hover .social-tile-content {
  background: var(--secondary, #e94560);
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

.social-tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: #fff;
}

.social-tile:hover .social-tile-overlay {
  opacity: 1;
}

@media (max-width: 767.98px) {
  .social-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .social-tile-content {
    width: 48px;
    height: 48px;
  }

  .social-tile-content svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 575.98px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .social-tile-content {
    width: 44px;
    height: 44px;
  }

  .social-tile-content svg {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--dark, #1a1a2e);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 5rem;
}

.footer-main {
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.footer-logo .brand-engine {
  color: #fff;
}

.footer-logo .brand-os {
  color: var(--secondary, #e94560);
}

.footer-about-text {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-social-link:hover {
  background: var(--secondary, #e94560);
  color: #fff;
  border-color: var(--secondary, #e94560);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.3);
}

.footer-column-title {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.875rem;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--secondary, #e94560);
  border-radius: 2px;
  transition: width 0.3s;
}

.footer-column:hover .footer-column-title::after {
  width: 40px;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-family: var(--font);
  font-size: 14px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--secondary, #e94560);
  transition: width 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a:hover::before {
  width: 12px;
}

.footer-bottom {
  padding: 1.5rem 0;
}

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

.footer-copyright {
  font-family: var(--font);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.footer-payment-methods {
  display: flex;
  gap: 10px;
  align-items: center;
}

.payment-icon {
  opacity: 0.6;
  transition: opacity 0.3s;
}

.payment-icon:hover {
  opacity: 1;
}

@media (max-width: 991.98px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 575.98px) {
  .site-footer {
    padding-top: 3.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 1;
  }

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

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   11. PAGE SPECIFIC
   ========================================================================== */

/* Shop Page */
.shop-page {
  padding: 0 0 4rem;
  background: var(--bg-light, #f8f9fa);
  min-height: 80vh;
}

/* -- Breadcrumb -------------------------------------------------------- */

.shop-breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--border-light, #e9ecef);
  padding: 14px 0;
}

.shop-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
}

.shop-breadcrumb a {
  color: var(--text-muted, #6c757d);
  text-decoration: none;
  transition: color 0.2s;
}

.shop-breadcrumb a:hover {
  color: var(--secondary, #e94560);
}

.shop-breadcrumb-sep {
  color: var(--text-light, #adb5bd);
  display: flex;
  align-items: center;
}

.shop-breadcrumb-current {
  color: var(--primary, #1a1a2e);
  font-weight: 600;
}

/* -- Page Header ------------------------------------------------------- */

.shop-page-header {
  background: #fff;
  border-bottom: 1px solid var(--border-light, #e9ecef);
  padding: 20px 0;
}

.shop-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shop-header-left {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.shop-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary, #1a1a2e);
  margin: 0;
}

.shop-result-count {
  font-size: 0.875rem;
  color: var(--text-muted, #6c757d);
}

.shop-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* -- View Toggle ------------------------------------------------------- */

.shop-view-toggle {
  display: flex;
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 10px;
  overflow: hidden;
}

.shop-view-btn {
  width: 40px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: none;
  color: var(--text-muted, #6c757d);
  cursor: pointer;
  transition: all 0.2s;
}

.shop-view-btn:hover {
  color: var(--primary, #1a1a2e);
}

.shop-view-btn.active {
  background: var(--primary, #1a1a2e);
  color: #fff;
}

/* -- Sort -------------------------------------------------------------- */

.shop-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-sort-label {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  white-space: nowrap;
}

.shop-sort-select {
  padding: 8px 36px 8px 14px;
  font-size: 0.875rem;
  font-family: var(--font);
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  -webkit-appearance: none;
  color: var(--primary, #1a1a2e);
  cursor: pointer;
  transition: border-color 0.2s;
}

.shop-sort-select:focus {
  border-color: var(--secondary, #e94560);
  outline: none;
}

/* -- Mobile Filter Toggle ---------------------------------------------- */

.shop-mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--primary, #1a1a2e);
  background: #fff;
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.shop-mobile-filter-btn:hover {
  border-color: var(--secondary, #e94560);
}

/* -- Active Filter Chips ----------------------------------------------- */

.shop-active-filters {
  padding: 14px 0;
}

.shop-chips-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-chips-empty {
  font-size: 0.8125rem;
  color: var(--text-light, #adb5bd);
}

.shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary, #1a1a2e);
  background: #fff;
  border: 1px solid var(--border, #dee2e6);
  border-radius: 20px;
  animation: chipIn 0.2s ease;
}

@keyframes chipIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.shop-chip-remove {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--border-light, #e9ecef);
  color: var(--text-muted, #6c757d);
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s;
  padding: 0;
}

.shop-chip-remove:hover {
  background: var(--secondary, #e94560);
  color: #fff;
}

.shop-chip-clear {
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--secondary, #e94560);
  background: none;
  border: 1.5px solid var(--secondary, #e94560);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.shop-chip-clear:hover {
  background: var(--secondary, #e94560);
  color: #fff;
}

/* -- Main Layout ------------------------------------------------------- */

.shop-main {
  padding-top: 24px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 24px;
  align-items: start;
}

/* -- Sidebar ------------------------------------------------------------ */

.shop-sidebar {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 100px;
}

.shop-sidebar-inner {
  padding: 24px;
}

.shop-sidebar-apply {
  display: none;
  padding: 16px 24px;
  border-top: 1px solid var(--border-light, #e9ecef);
}

/* -- Filter Groups ------------------------------------------------------ */

.filter-group {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light, #f0f0f0);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 14px;
}

.filter-group-header[data-toggle="filter"] {
  cursor: pointer;
}

.filter-group-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary, #1a1a2e);
  margin: 0;
}

.filter-chevron {
  color: var(--text-muted, #6c757d);
  transition: transform 0.25s;
}

.filter-group.collapsed .filter-chevron {
  transform: rotate(-90deg);
}

.filter-group.collapsed .filter-group-body {
  display: none;
}

.filter-group-body {
  display: flex;
  flex-direction: column;
}

/* -- Filter Search ------------------------------------------------------ */

.filter-search-wrap {
  position: relative;
}

.filter-search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  font-size: 0.875rem;
  font-family: var(--font);
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 10px;
  background: var(--bg-light, #f8f9fa);
  color: var(--primary, #1a1a2e);
  transition: all 0.2s;
  outline: none;
  box-sizing: border-box;
}

.filter-search-input:focus {
  border-color: var(--secondary, #e94560);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.08);
}

.filter-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light, #adb5bd);
  pointer-events: none;
}

/* -- Filter Options (checkboxes) ---------------------------------------- */

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.filter-option:hover {
  background: var(--bg-light, #f8f9fa);
}

.filter-option input[type="checkbox"] {
  display: none;
}

.filter-option-check {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border, #ced4da);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}

.filter-option-check::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
  transition: opacity 0.15s;
}

.filter-option input:checked + .filter-option-check {
  background: var(--secondary, #e94560);
  border-color: var(--secondary, #e94560);
}

.filter-option input:checked + .filter-option-check::after {
  opacity: 1;
}

.filter-option-text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--primary, #1a1a2e);
}

.filter-option-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted, #6c757d);
  background: var(--bg-light, #f8f9fa);
  padding: 2px 8px;
  border-radius: 10px;
}

.filter-option-children {
  padding-left: 28px;
}

/* -- Price Range -------------------------------------------------------- */

.filter-price-range {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.filter-price-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-price-field {
  flex: 1;
  position: relative;
}

.filter-price-prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted, #6c757d);
}

.filter-price-input {
  width: 100%;
  padding: 9px 12px 9px 28px;
  font-size: 0.875rem;
  font-family: var(--font);
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 10px;
  background: var(--bg-light, #f8f9fa);
  color: var(--primary, #1a1a2e);
  transition: all 0.2s;
  outline: none;
  box-sizing: border-box;
}

.filter-price-input:focus {
  border-color: var(--secondary, #e94560);
  background: #fff;
}

.filter-price-sep {
  color: var(--text-light, #adb5bd);
  flex-shrink: 0;
}

.filter-price-slider {
  padding: 0 2px;
}

.filter-slider {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border, #dee2e6);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.filter-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--secondary, #e94560);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(233, 69, 96, 0.3);
}

.filter-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--secondary, #e94560);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(233, 69, 96, 0.3);
}

/* -- Rating Filter ------------------------------------------------------ */

.filter-rating-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-rating-option {
  cursor: pointer;
}

.filter-rating-option input[type="radio"] {
  display: none;
}

.filter-rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}

.filter-rating-option:hover .filter-rating-stars {
  background: var(--bg-light, #f8f9fa);
}

.filter-rating-option input:checked + .filter-rating-stars {
  background: #fff5f7;
  outline: 1.5px solid var(--secondary, #e94560);
}

.filter-rating-stars span {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  margin-left: 4px;
}

/* -- Quick Filter Tags -------------------------------------------------- */

.filter-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary, #1a1a2e);
  background: var(--bg-light, #f8f9fa);
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-tag:hover {
  border-color: var(--secondary, #e94560);
  background: #fff5f7;
}

.filter-tag input {
  display: none;
}

.filter-tag.active,
.filter-tag input:checked + svg + *,
.filter-tag:has(input:checked) {
  background: var(--secondary, #e94560);
  border-color: var(--secondary, #e94560);
  color: #fff;
}

.filter-tag svg {
  flex-shrink: 0;
}

/* -- Products Grid ------------------------------------------------------ */

.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.shop-products-grid.shop-view-list {
  grid-template-columns: 1fr;
  gap: 16px;
}

.shop-products-grid.shop-view-list .product-card {
  display: grid;
  grid-template-columns: 200px 1fr;
}

.shop-products-grid.shop-view-list .product-card-image {
  aspect-ratio: 1;
}

.shop-products-grid.shop-view-list .product-card-body {
  padding: 20px 20px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* -- Product Card Enhancements ------------------------------------------ */

.product-card {
  position: relative;
}

.product-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-card .badge {
  display: inline-flex;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
}

.badge-sale {
  background: var(--secondary, #e94560);
  color: #fff;
}

.badge-new {
  background: var(--primary, #1a1a2e);
  color: #fff;
}

.badge-featured {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  color: #fff;
}

.product-compare-check {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1.5px solid var(--border, #dee2e6);
  transition: all 0.2s;
  opacity: 0;
}

.product-card:hover .product-compare-check {
  opacity: 1;
}

.product-compare-check input {
  display: none;
}

.product-compare-check svg {
  color: var(--text-light, #adb5bd);
  transition: all 0.15s;
}

.product-compare-check:has(input:checked) {
  background: var(--secondary, #e94560);
  border-color: var(--secondary, #e94560);
}

.product-compare-check:has(input:checked) svg {
  color: #fff;
}

.product-stock-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 6px;
}

.product-stock-status.out-of-stock {
  color: var(--secondary, #e94560);
}

.product-stock-status.low-stock {
  color: #f0932b;
}

/* -- Empty State -------------------------------------------------------- */

.shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}

.shop-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-light, #f8f9fa);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--text-light, #adb5bd);
}

.shop-empty-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 8px;
}

.shop-empty-text {
  font-size: 0.9375rem;
  color: var(--text-muted, #6c757d);
  margin: 0;
}

/* -- Load More / Pagination --------------------------------------------- */

.shop-pagination-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.shop-load-more-btn {
  padding: 14px 40px;
  font-size: 0.9375rem;
}

.shop-load-more-btn .load-more-spinner svg {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.shop-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.shop-pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border, #dee2e6);
  color: var(--primary, #1a1a2e);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
  background: #fff;
}

.shop-pagination .page-link:hover {
  border-color: var(--secondary, #e94560);
  color: var(--secondary, #e94560);
}

.shop-pagination .page-item.active .page-link {
  background: var(--secondary, #e94560);
  border-color: var(--secondary, #e94560);
  color: #fff;
}

.shop-pagination .page-item.disabled .page-link {
  opacity: 0.4;
  pointer-events: none;
}

/* -- Filter Drawer (Mobile) --------------------------------------------- */

.shop-filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1049;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.shop-filter-overlay.active {
  opacity: 1;
  visibility: visible;
}

.shop-filter-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 340px;
  max-width: 85vw;
  height: 100vh;
  background: #fff;
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.shop-filter-drawer.active {
  transform: translateX(0);
}

.shop-filter-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light, #e9ecef);
}

.shop-filter-drawer-header h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

.shop-filter-drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--bg-light, #f8f9fa);
  border-radius: 10px;
  cursor: pointer;
  color: var(--primary, #1a1a2e);
  transition: background 0.2s;
}

.shop-filter-drawer-close:hover {
  background: var(--border-light, #e9ecef);
}

.shop-filter-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

/* -- Comparison Tray ---------------------------------------------------- */

.shop-compare-tray {
  position: fixed;
  bottom: -120px;
  left: 0;
  right: 0;
  z-index: 1060;
  background: var(--primary, #1a1a2e);
  color: #fff;
  padding: 16px 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-compare-tray.active {
  bottom: 0;
}

.compare-tray-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.compare-tray-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.compare-tray-items {
  flex: 1;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0;
}

.compare-tray-item {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.compare-tray-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-tray-item-remove {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--secondary, #e94560);
  color: #fff;
  border: 2px solid var(--primary, #1a1a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.compare-tray-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* -- Skeleton Loading --------------------------------------------------- */

.shop-skeleton {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.skeleton-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-body {
  padding: 16px;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  margin-bottom: 10px;
}

.skeleton-line.w-50 { width: 50%; }
.skeleton-line.w-75 { width: 75%; }
.skeleton-line.w-40 { width: 40%; }

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* -- Responsive --------------------------------------------------------- */

@media (max-width: 1199.98px) {
  .shop-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 991.98px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    display: none;
    position: static;
  }

  .shop-sidebar-apply {
    display: block;
  }

  .shop-mobile-filter-btn {
    display: flex;
  }

  .shop-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .shop-skeleton {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .shop-title {
    font-size: 1.375rem;
  }

  .shop-header-row {
    flex-wrap: wrap;
  }

  .shop-header-right {
    width: 100%;
    justify-content: space-between;
  }

  .shop-view-toggle {
    display: none;
  }

  .shop-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .shop-skeleton {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-products-grid.shop-view-list {
    grid-template-columns: 1fr;
  }

  .shop-products-grid.shop-view-list .product-card {
    grid-template-columns: 120px 1fr;
  }

  .compare-tray-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .compare-tray-items {
    width: 100%;
    order: 3;
  }
}

/* Product Detail Page */
.product-detail-page {
  padding: 2rem 0;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 120px;
}

.product-gallery-main {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f5;
  margin-bottom: 1rem;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.75rem;
}

.product-gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
  background: #f5f5f5;
}

.product-gallery-thumb.active,
.product-gallery-thumb:hover {
  border-color: var(--primary, #e63946);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info {
  padding-top: 0.5rem;
}

.product-detail-breadcrumb {
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 1rem;
}

.product-detail-breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

.product-detail-breadcrumb a:hover {
  color: var(--primary, #e63946);
}

.product-detail-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark, #1a1a2e);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.product-detail-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.product-detail-price .current-price {
  font-weight: 800;
  color: var(--dark, #1a1a2e);
}

.product-detail-price .original-price {
  font-size: 1.25rem;
  color: #bbb;
  text-decoration: line-through;
}

.product-detail-short-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.product-detail-options {
  margin-bottom: 2rem;
}

.option-group {
  margin-bottom: 1.25rem;
}

.option-label {
  font-weight: 700;
  color: var(--dark, #1a1a2e);
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.9375rem;
}

.option-values {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.option-value {
  padding: 0.5rem 1.25rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.2s;
  background: #fff;
}

.option-value:hover,
.option-value.active {
  border-color: var(--primary, #e63946);
  color: var(--primary, #e63946);
  background: rgba(230, 57, 70, 0.04);
}

.option-value.color-swatch {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

.product-detail-quantity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quantity-selector {
  display: flex;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.quantity-selector button {
  width: 44px;
  height: 44px;
  border: none;
  background: #f8f8f8;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 700;
  transition: background 0.2s;
}

.quantity-selector button:hover {
  background: #eee;
}

.quantity-selector input {
  width: 60px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  outline: none;
}

.product-detail-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.product-detail-actions .btn {
  flex: 1;
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.product-detail-tabs {
  margin-top: 3rem;
  border-top: 1px solid #eee;
  padding-top: 2rem;
}

.nav-tabs-custom {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #eee;
  margin-bottom: 2rem;
}

.nav-tabs-custom .nav-tab {
  padding: 0.75rem 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #999;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.nav-tabs-custom .nav-tab.active,
.nav-tabs-custom .nav-tab:hover {
  color: var(--primary, #e63946);
  border-bottom-color: var(--primary, #e63946);
}

.tab-content {
  font-size: 0.9375rem;
  color: #555;
  line-height: 1.7;
}

/* Cart Page */
.cart-page {
  padding: 2rem 0;
}

.cart-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark, #1a1a2e);
  margin-bottom: 2rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

.cart-table {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.cart-table thead {
  background: #f8f9fa;
}

.cart-table th {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.cart-table td {
  padding: 1.25rem;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-product-image {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
  flex-shrink: 0;
}

.cart-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-product-name {
  font-weight: 700;
  color: var(--dark, #1a1a2e);
  font-size: 0.9375rem;
}

.cart-product-variant {
  font-size: 0.8125rem;
  color: #999;
  margin-top: 0.25rem;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 1.125rem;
  padding: 0.25rem;
  transition: color 0.2s;
}

.cart-remove-btn:hover {
  color: var(--primary, #e63946);
}

.cart-summary {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 120px;
}

.cart-summary-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark, #1a1a2e);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
}

.cart-summary-row .label {
  color: #777;
}

.cart-summary-row .value {
  font-weight: 600;
  color: var(--dark, #1a1a2e);
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  margin-top: 0.75rem;
  border-top: 2px solid #eee;
  font-size: 1.125rem;
}

.cart-summary-total .label {
  font-weight: 700;
  color: var(--dark, #1a1a2e);
}

.cart-summary-total .value {
  font-weight: 800;
  color: var(--primary, #e63946);
}

.cart-coupon {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.cart-coupon input {
  flex: 1;
  padding: 0.625rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

.cart-coupon input:focus {
  border-color: var(--primary, #e63946);
}

.cart-coupon button {
  padding: 0.625rem 1.25rem;
  border: 2px solid var(--primary, #e63946);
  background: transparent;
  color: var(--primary, #e63946);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cart-coupon button:hover {
  background: var(--primary, #e63946);
  color: #fff;
}

.cart-summary .btn {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
}

.cart-continue-shopping {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark, #1a1a2e);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: color 0.2s;
}

.cart-continue-shopping:hover {
  color: var(--primary, #e63946);
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS
   ========================================================================== */

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

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

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

  .promo-title {
    font-size: 2.5rem;
  }

  .product-detail-layout {
    gap: 2rem;
  }

  .shop-layout {
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 991px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-floating-badge {
    top: 5%;
    right: 10%;
  }

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

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

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

  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .promo-content {
    text-align: center;
    flex-direction: column;
  }

  .promo-countdown {
    justify-content: center;
  }

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

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-gallery {
    position: static;
  }

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

  .cart-summary {
    position: static;
  }

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

  .shop-sidebar {
    display: none;
  }

  /* Mobile: < 991px */

  .hero-section {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .hero-stat-number {
    font-size: 1.375rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

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

  .category-card {
    aspect-ratio: 16 / 9;
  }

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

  .product-card-info {
    padding: 1rem;
  }

  .product-card-name {
    font-size: 0.875rem;
  }

  .product-card-price .current-price {
    font-size: 1.0625rem;
  }

  .promo-banner {
    padding: 3rem 0;
  }

  .promo-title {
    font-size: 2rem;
  }

  .promo-countdown {
    gap: 0.5rem;
  }

  .countdown-value {
    width: 52px;
    height: 52px;
    font-size: 1.375rem;
    border-radius: 8px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .benefit-item {
    padding: 1.5rem 1rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-payments {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cart-table {
    font-size: 0.875rem;
  }

  .cart-table th:nth-child(3),
  .cart-table td:nth-child(3) {
    display: none;
  }

  .product-detail-title {
    font-size: 1.5rem;
  }

  .product-detail-price {
    font-size: 1.5rem;
  }

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

  .product-gallery-thumbs {
    gap: 0.5rem;
  }

  .product-gallery-thumb {
    width: 60px;
    height: 60px;
  }

  .nav-tabs-custom {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-tabs-custom .nav-tab {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .shop-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-filters {
    width: 100%;
  }

  .shop-filters select {
    flex: 1;
    min-width: 0;
  }
}

/* Extra small screens */
@media (max-width: 479px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

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

  .promo-countdown {
    flex-wrap: wrap;
    justify-content: center;
  }

  .promo-countdown .countdown-item:nth-child(n+3) {
    display: none;
  }

  .footer-payments {
    gap: 0.5rem;
  }

  .footer-payment-icon {
    width: 42px;
    height: 28px;
    font-size: 0.625rem;
  }

  .cart-product-image {
    width: 60px;
    height: 60px;
  }

  .product-gallery-main {
    aspect-ratio: 1;
  }
}

/* Large desktop */
@media (min-width: 1200px) {
  .hero-section {
    padding: 6rem 0;
  }

  .hero-title {
    font-size: 3.75rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-text,
  .hero-image {
    animation: none;
  }
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */

.cart-toggle-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  visibility: hidden;
}

.cart-drawer[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.35s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cart-drawer[aria-hidden="false"] .cart-drawer-backdrop {
  opacity: 1;
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 92vw;
  background: #fff;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.cart-drawer[aria-hidden="false"] .cart-drawer-panel {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.cart-drawer-header-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.cart-drawer-title {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0;
}

.cart-drawer-count {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
}

.cart-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: rgba(0, 0, 0, 0.04);
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-drawer-close:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--primary, #1a1a2e);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.cart-drawer-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #d1d5db;
}

.cart-drawer-empty-title {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin: 0 0 6px;
}

.cart-drawer-empty-text {
  font-family: var(--font);
  font-size: 14px;
  color: #9ca3af;
  margin: 0 0 1.5rem;
}

.cart-drawer-shop-btn {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--primary, #1a1a2e);
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-drawer-shop-btn:hover {
  background: #2a2a4e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.25);
}

.cart-drawer-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cart-drawer-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.cart-drawer-item-image {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f7;
  flex-shrink: 0;
}

.cart-drawer-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-drawer-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cart-drawer-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}

.cart-drawer-item-name {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-drawer-item-remove {
  background: none;
  border: none;
  color: #d1d5db;
  cursor: pointer;
  padding: 2px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.cart-drawer-item-remove:hover {
  color: var(--secondary, #e94560);
}

.cart-drawer-item-variant {
  font-family: var(--font);
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 8px;
}

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

.cart-drawer-item-price {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
}

.cart-drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.cart-drawer-qty-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: rgba(0, 0, 0, 0.02);
  color: var(--primary, #1a1a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-drawer-qty-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.cart-drawer-qty-value {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  min-width: 32px;
  text-align: center;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  line-height: 30px;
}

.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fafbfc;
  flex-shrink: 0;
}

.cart-drawer-summary {
  margin-bottom: 1rem;
}

.cart-drawer-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-summary-row span:first-child {
  font-family: var(--font);
  font-size: 14px;
  color: #6b7280;
}

.cart-drawer-summary-row span:last-child {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
}

.cart-drawer-shipping-note {
  font-family: var(--font);
  font-size: 12px;
  color: #9ca3af;
  margin: 6px 0 0;
}

.cart-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-drawer-btn {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}

.cart-drawer-btn-outline {
  color: var(--primary, #1a1a2e);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.cart-drawer-btn-outline:hover {
  border-color: rgba(0, 0, 0, 0.25);
  background: #f9fafb;
}

.cart-drawer-btn-primary {
  color: #fff;
  background: var(--primary, #1a1a2e);
  border: 1px solid var(--primary, #1a1a2e);
}

.cart-drawer-btn-primary:hover {
  background: #2a2a4e;
  border-color: #2a2a4e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.25);
}

body.cart-drawer-open,
body.auth-modal-open {
  overflow: hidden;
}

/* ==========================================================================
   Auth Modal
   ========================================================================== */

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-modal[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.auth-modal-panel {
  position: relative;
  width: 440px;
  max-width: 92vw;
  max-height: 90vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 32px;
}

.auth-modal[aria-hidden="false"] .auth-modal-panel {
  transform: translateY(0) scale(1);
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f4f5f7;
  color: var(--primary, #1a1a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 1;
}

.auth-modal-close:hover {
  background: #e9ecef;
  transform: rotate(90deg);
}

.auth-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-modal-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.auth-modal-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary, #1a1a2e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.auth-modal-logo-text {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary, #1a1a2e);
}

.auth-modal-logo-text strong {
  font-weight: 800;
  color: var(--secondary, #e94560);
}

.auth-modal-subtitle {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

/* Tabs */

.auth-modal-tabs {
  display: flex;
  position: relative;
  background: #f4f5f7;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
}

.auth-modal-tab {
  flex: 1;
  padding: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  background: none;
  color: #6c757d;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
  z-index: 1;
  transition: color 0.25s;
  font-family: var(--font);
}

.auth-modal-tab.active {
  color: var(--primary, #1a1a2e);
}

.auth-modal-tab-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.auth-modal-tab-indicator[data-active="signup"] {
  transform: translateX(100%);
}

/* Form */

.auth-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-modal-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
}

.auth-modal-field input {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  background: #fafafa;
  color: var(--primary, #1a1a2e);
  font-family: var(--font);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}

.auth-modal-field input::placeholder {
  color: #adb5bd;
}

.auth-modal-field input:focus {
  border-color: var(--secondary, #e94560);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.auth-modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-modal-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: #6c757d;
  cursor: pointer;
}

.auth-modal-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--secondary, #e94560);
  cursor: pointer;
}

.auth-modal-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary, #e94560);
  text-decoration: none;
}

.auth-modal-link:hover {
  text-decoration: underline;
}

.auth-modal-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-modal-submit {
  width: 100%;
  padding: 13px;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  background: var(--secondary, #e94560);
  color: #fff;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 4px;
}

.auth-modal-submit:hover {
  background: #d63851;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.35);
}

.auth-modal-submit:active {
  transform: translateY(0);
}

.auth-modal-alt {
  text-align: center;
  font-size: 0.8125rem;
  color: #6c757d;
  margin: 0;
}

.auth-modal-switch {
  background: none;
  border: none;
  font-weight: 700;
  color: var(--secondary, #e94560);
  cursor: pointer;
  font-size: 0.8125rem;
  font-family: var(--font);
  padding: 0;
}

.auth-modal-switch:hover {
  text-decoration: underline;
}

/* Divider */

.auth-modal-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}

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

.auth-modal-divider span {
  font-size: 0.75rem;
  color: #adb5bd;
  white-space: nowrap;
}

/* Social buttons */

.auth-modal-socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-modal-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  color: var(--primary, #1a1a2e);
  cursor: pointer;
  font-family: var(--font);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.auth-modal-social-btn:hover {
  border-color: #c0c0c0;
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.auth-modal-errors {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.8125rem;
  color: #dc3545;
}
.auth-modal-errors ul {
  margin: 0;
  padding: 0 0 0 18px;
  list-style: disc;
}
.auth-modal-errors.hidden {
  display: none !important;
}

.auth-modal-desc {
  font-size: 0.8125rem;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}

.auth-modal-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(32, 201, 151, 0.1));
  color: #198754;
  flex-shrink: 0;
}
.auth-modal-success-icon svg {
  width: 28px;
  height: 28px;
}

/* Hidden utility */
.hidden {
  display: none !important;
}

@media (max-width: 575.98px) {
  .auth-modal-panel {
    padding: 24px 20px;
    max-height: 85vh;
  }

  .auth-modal-row-2col {
    grid-template-columns: 1fr;
  }

  .auth-modal-socials {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Product Detail Page
   ========================================================================== */

/* -- Breadcrumb ---------------------------------------------------------- */

.pd-breadcrumb-bar {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 14px 0;
}

.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: #6c757d;
  flex-wrap: wrap;
}

.pd-breadcrumb a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.2s;
}

.pd-breadcrumb a:hover {
  color: var(--secondary, #e94560);
}

.pd-breadcrumb-sep {
  display: flex;
  color: #ced4da;
}

.pd-breadcrumb-current {
  color: var(--primary, #1a1a2e);
  font-weight: 600;
}

/* -- Main Section -------------------------------------------------------- */

.pd-section {
  padding: 40px 0 20px;
}

.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* -- Image Gallery ------------------------------------------------------- */

.pd-gallery {
  position: sticky;
  top: 100px;
}

.pd-gallery-main {
  position: relative;
  background: #f8f9fa;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: zoom-in;
}

.pd-gallery-img.zoomed {
  transform: scale(2);
  cursor: zoom-out;
}

.pd-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  letter-spacing: 0.02em;
}

.pd-badge-sale {
  background: var(--secondary, #e94560);
  color: #fff;
}

.pd-badge-new {
  background: var(--primary, #1a1a2e);
  color: #fff;
}

.pd-gallery-wishlist {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, transform 0.2s;
  color: var(--primary, #1a1a2e);
}

.pd-gallery-wishlist:hover {
  background: #fff;
  transform: scale(1.1);
}

.pd-gallery-wishlist.active {
  color: var(--secondary, #e94560);
}

.pd-gallery-wishlist.active svg {
  fill: var(--secondary, #e94560);
}

.pd-gallery-zoom {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, transform 0.2s;
  color: var(--primary, #1a1a2e);
}

.pd-gallery-zoom:hover {
  background: #fff;
  transform: scale(1.1);
}

.pd-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.pd-gallery-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: #f8f9fa;
  padding: 0;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.6;
}

.pd-gallery-thumb.active {
  border-color: var(--primary, #1a1a2e);
  opacity: 1;
}

.pd-gallery-thumb:hover {
  opacity: 1;
}

.pd-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -- Product Info -------------------------------------------------------- */

.pd-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pd-brand {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary, #e94560);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.pd-brand:hover {
  text-decoration: underline;
}

.pd-title {
  font-family: var(--font);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  line-height: 1.3;
  margin: 0 0 12px;
}

.pd-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pd-stars {
  display: flex;
  gap: 2px;
}

.pd-rating-link {
  font-size: 0.8125rem;
  color: #6c757d;
  text-decoration: none;
}

.pd-rating-link:hover {
  color: var(--secondary, #e94560);
  text-decoration: underline;
}

.pd-sold-count {
  font-size: 0.75rem;
  color: #adb5bd;
  padding-left: 10px;
  border-left: 1px solid #e9ecef;
}

.pd-price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.pd-price-current {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary, #e94560);
}

.pd-price-original {
  font-size: 1.125rem;
  color: #adb5bd;
  text-decoration: line-through;
}

.pd-price-save {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #198754;
  background: #d1e7dd;
  padding: 3px 10px;
  border-radius: 6px;
}

.pd-short-desc {
  font-size: 0.9375rem;
  color: #6c757d;
  line-height: 1.6;
  margin: 0 0 16px;
}

.pd-divider {
  height: 1px;
  background: #e9ecef;
  margin: 16px 0;
}

/* -- Variant Options ----------------------------------------------------- */

.pd-option-group {
  margin-bottom: 20px;
}

.pd-option-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin-bottom: 8px;
}

.pd-option-values {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pd-option-btn {
  padding: 8px 18px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary, #1a1a2e);
  cursor: pointer;
  font-family: var(--font);
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.pd-option-btn:hover {
  border-color: var(--primary, #1a1a2e);
}

.pd-option-btn.active {
  border-color: var(--primary, #1a1a2e);
  background: var(--primary, #1a1a2e);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 26, 46, 0.2);
}

/* Color swatch variant selector */
.pd-option-btn.pd-color-swatch {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.pd-swatch-inner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
}
.pd-option-btn.pd-color-swatch.active {
  border-color: var(--primary, #1a1a2e);
  background: #fff;
  box-shadow: 0 0 0 2px var(--primary, #1a1a2e);
}
.pd-option-btn.pd-color-swatch.active .pd-swatch-inner {
  border: 2px solid #fff;
  box-shadow: inset 0 0 0 1px var(--primary, #1a1a2e);
}
.pd-option-btn.pd-color-swatch:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Size pill variant selector */
.pd-option-btn.pd-size-pill {
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8125rem;
}
.pd-option-btn.pd-size-pill.active {
  border-color: var(--primary, #1a1a2e);
  background: var(--primary, #1a1a2e);
  color: #fff;
}
.pd-option-btn.pd-size-pill:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* -- Quantity Selector --------------------------------------------------- */

.pd-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.pd-qty-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: #f8f9fa;
  color: var(--primary, #1a1a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.pd-qty-btn:hover {
  background: #e9ecef;
}

.pd-qty-btn:active {
  background: #dee2e6;
}

.pd-qty-input {
  width: 52px;
  height: 44px;
  border: none;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--primary, #1a1a2e);
  background: #fff;
  outline: none;
  -moz-appearance: textfield;
}

.pd-qty-input::-webkit-outer-spin-button,
.pd-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* -- Stock Status -------------------------------------------------------- */

.pd-stock {
  margin-bottom: 20px;
}

.pd-stock span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.pd-stock-in {
  color: #198754;
}

.pd-stock-low {
  color: #dc3545;
}

.pd-stock-out {
  color: #6c757d;
}

/* -- Action Buttons ------------------------------------------------------ */

.pd-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.pd-btn-add {
  width: 233px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  background: var(--primary, #1a1a2e);
  color: #fff;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.pd-btn-add:hover {
  background: #2a2a4e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.3);
}

.pd-btn-add:active {
  transform: translateY(0);
}

.pd-btn-add:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.pd-btn-add.btn-adding {
  background: #6c757d;
  pointer-events: none;
}

.pd-btn-add.btn-added {
  background: #198754;
  pointer-events: none;
}

.pd-btn-buy {
  padding: 14px 32px;
  font-size: 0.9375rem;
  font-weight: 700;
  border: 2px solid var(--secondary, #e94560);
  border-radius: 12px;
  background: #fff;
  color: var(--secondary, #e94560);
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.pd-btn-buy:hover {
  background: var(--secondary, #e94560);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.3);
}

.pd-btn-buy:active {
  transform: translateY(0);
}

.pd-btn-buy:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* -- Trust Badges -------------------------------------------------------- */

.pd-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 12px;
}

.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary, #1a1a2e);
}

.pd-trust-item svg {
  flex-shrink: 0;
  color: var(--secondary, #e94560);
}

.pd-trust-item strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
}

.pd-trust-item span {
  font-size: 0.75rem;
  color: #6c757d;
}

/* -- Tabs Section -------------------------------------------------------- */

.pd-tabs-section {
  padding: 40px 0 60px;
}

.pd-tabs {
  border-top: 1px solid #e9ecef;
}

.pd-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e9ecef;
}

.pd-tab-btn {
  padding: 16px 24px;
  border: none;
  background: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  position: relative;
  font-family: var(--font);
  transition: color 0.2s;
}

.pd-tab-btn:hover {
  color: var(--primary, #1a1a2e);
}

.pd-tab-btn.active {
  color: var(--primary, #1a1a2e);
}

.pd-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--secondary, #e94560);
  border-radius: 1px;
}

.pd-tab-content {
  display: none;
  padding: 32px 0;
  animation: pdFadeIn 0.3s ease;
}

.pd-tab-content.active {
  display: block;
}

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

/* -- Description --------------------------------------------------------- */

.pd-desc-content {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #495057;
  max-width: 800px;
}

.pd-desc-content p {
  margin-bottom: 16px;
}

.pd-desc-content ul,
.pd-desc-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.pd-desc-content li {
  margin-bottom: 8px;
}

/* -- Specifications Table ----------------------------------------------- */

.pd-spec-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
}

.pd-spec-table tr:nth-child(odd) {
  background: #f8f9fa;
}

.pd-spec-table td {
  padding: 12px 16px;
  font-size: 0.875rem;
  border-bottom: 1px solid #e9ecef;
}

.pd-spec-table td:first-child {
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  width: 180px;
}

.pd-spec-table td:last-child {
  color: #495057;
}

/* -- Reviews Section ----------------------------------------------------- */

.pd-reviews-wrap {
  max-width: 800px;
}

.pd-reviews-summary {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e9ecef;
}

.pd-reviews-score {
  text-align: center;
  min-width: 120px;
}

.pd-reviews-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary, #1a1a2e);
  line-height: 1;
  margin-bottom: 8px;
}

.pd-reviews-score-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 4px;
}

.pd-reviews-total {
  font-size: 0.8125rem;
  color: #6c757d;
}

.pd-reviews-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.pd-reviews-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pd-reviews-bar-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  width: 28px;
  text-align: right;
}

.pd-reviews-bar-track {
  flex: 1;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.pd-reviews-bar-fill {
  height: 100%;
  background: #ffc107;
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pd-reviews-bar-count {
  font-size: 0.75rem;
  color: #6c757d;
  width: 24px;
}

/* -- Review Cards -------------------------------------------------------- */

.pd-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.pd-review-card {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: box-shadow 0.2s;
}

.pd-review-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

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

.pd-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary, #1a1a2e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.pd-review-meta {
  flex: 1;
}

.pd-review-meta strong {
  display: block;
  font-size: 0.875rem;
  color: var(--primary, #1a1a2e);
}

.pd-review-stars {
  display: flex;
  gap: 1px;
  margin-top: 2px;
}

.pd-review-date {
  font-size: 0.75rem;
  color: #adb5bd;
}

.pd-review-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin: 0 0 6px;
}

.pd-review-text {
  font-size: 0.875rem;
  color: #495057;
  line-height: 1.6;
  margin: 0;
}

.pd-reviews-empty {
  text-align: center;
  padding: 40px 20px;
  color: #adb5bd;
}

.pd-reviews-empty svg {
  margin-bottom: 12px;
}

.pd-reviews-empty p {
  font-size: 0.9375rem;
}

/* -- Write Review -------------------------------------------------------- */

.pd-write-review {
  padding: 24px;
  background: #f8f9fa;
  border-radius: 12px;
}

.pd-write-review-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 20px;
}

.pd-review-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pd-review-form-rating label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin-bottom: 8px;
}

.pd-review-star-select {
  display: flex;
  gap: 4px;
}

.pd-review-star-btn {
  border: none;
  background: none;
  padding: 2px;
  cursor: pointer;
  transition: transform 0.15s;
}

.pd-review-star-btn:hover {
  transform: scale(1.2);
}

.pd-review-star-btn.active svg {
  fill: #ffc107;
  stroke: #ffc107;
}

.pd-review-form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin-bottom: 6px;
}

.pd-review-form-field input,
.pd-review-form-field textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  color: var(--primary, #1a1a2e);
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
  resize: vertical;
}

.pd-review-form-field input:focus,
.pd-review-form-field textarea:focus {
  border-color: var(--secondary, #e94560);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.pd-review-submit {
  align-self: flex-start;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  background: var(--secondary, #e94560);
  color: #fff;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s, transform 0.15s;
}

.pd-review-submit:hover {
  background: #d63851;
  transform: translateY(-1px);
}

/* ==========================================================================
   Enhanced Customer Reviews Section
   ========================================================================== */

/* -- Summary Panel ------------------------------------------------------ */

.pd-reviews-summary {
  margin-bottom: 0;
}

.pd-reviews-score-panel {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fafbfc, #f4f5f7);
  border-radius: 16px;
  border: 1px solid #e9ecef;
}

.pd-reviews-big-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.pd-reviews-big-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary, #1a1a2e);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pd-reviews-big-stars {
  display: flex;
  gap: 2px;
  margin-top: 8px;
}

.pd-reviews-big-total {
  font-size: 0.75rem;
  color: #6c757d;
  margin-top: 6px;
  font-weight: 500;
}

.pd-reviews-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pd-reviews-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border: none;
  background: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s, box-shadow 0.15s;
  width: 100%;
  text-align: left;
}

.pd-reviews-bar-row:hover {
  background: rgba(233, 69, 96, 0.06);
}

.pd-reviews-bar-row.active-filter {
  background: rgba(233, 69, 96, 0.1);
  box-shadow: inset 0 0 0 1.5px var(--secondary, #e94560);
}

.pd-reviews-bar-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  min-width: 36px;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.pd-reviews-bar-track {
  flex: 1;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.pd-reviews-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffc107, #ffca2c);
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 0%;
}

.pd-reviews-bar-row.active-filter .pd-reviews-bar-fill {
  background: linear-gradient(90deg, var(--secondary, #e94560), #ff6b81);
}

.pd-reviews-bar-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  min-width: 20px;
  text-align: right;
}

.pd-reviews-clear-filter {
  align-self: flex-start;
  padding: 4px 12px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary, #e94560);
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s, border-color 0.15s;
}

.pd-reviews-clear-filter:hover {
  background: #fff0f3;
  border-color: var(--secondary, #e94560);
}

/* -- Controls Bar ------------------------------------------------------- */

.pd-reviews-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid #e9ecef;
}

.pd-reviews-filter-info {
  font-size: 0.875rem;
  color: #6c757d;
}

.pd-reviews-filter-info strong {
  color: var(--primary, #1a1a2e);
}

.pd-reviews-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-reviews-sort-label {
  font-size: 0.8125rem;
  color: #6c757d;
  font-weight: 500;
}

.pd-reviews-sort-select {
  padding: 7px 28px 7px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font);
  cursor: pointer;
  transition: border-color 0.2s;
}

.pd-reviews-sort-select:focus {
  outline: none;
  border-color: var(--secondary, #e94560);
}

/* -- Review Cards Enhanced ---------------------------------------------- */

.pd-review-card {
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}

.pd-review-card:hover {
  background: #fafbfc;
}

.pd-review-card:last-child {
  border-bottom: none;
}

.pd-review-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pd-review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pd-review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary, #1a1a2e), #3a3a5e);
  flex-shrink: 0;
}

.pd-review-avatar--high {
  background: linear-gradient(135deg, #198754, #20c997);
}

.pd-review-avatar--low {
  background: linear-gradient(135deg, #dc3545, #e94560);
}

.pd-review-user-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pd-review-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pd-review-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
}

.pd-review-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  background: #d1e7dd;
  color: #0f5132;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.01em;
}

.pd-review-badge-verified svg {
  color: #198754;
}

.pd-review-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.pd-review-rating-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #6c757d;
  margin-left: 4px;
  padding: 1px 6px;
  background: #f4f5f7;
  border-radius: 4px;
}

.pd-review-date {
  font-size: 0.75rem;
  color: #adb5bd;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pd-review-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 6px;
}

.pd-review-text {
  font-size: 0.9375rem;
  color: #495057;
  line-height: 1.65;
  margin: 0;
}

/* -- Review Tags -------------------------------------------------------- */

.pd-review-tags {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.pd-review-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
}

.pd-review-tag--positive {
  background: #d1e7dd;
  color: #0f5132;
}

.pd-review-tag--negative {
  background: #f8d7da;
  color: #842029;
}

/* -- Review Footer (Helpful / Report) ----------------------------------- */

.pd-review-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f4f5f7;
}

.pd-review-helpful-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}

.pd-review-helpful-btn:hover {
  border-color: var(--secondary, #e94560);
  color: var(--secondary, #e94560);
  background: #fff0f3;
}

.pd-review-helpful-btn.voted {
  border-color: var(--secondary, #e94560);
  color: var(--secondary, #e94560);
  background: #fff0f3;
  pointer-events: none;
}

.pd-review-helpful-btn.voted svg {
  fill: var(--secondary, #e94560);
}

.pd-review-report-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: none;
  border-radius: 6px;
  background: none;
  font-size: 0.75rem;
  font-weight: 500;
  color: #adb5bd;
  cursor: pointer;
  font-family: var(--font);
  transition: color 0.15s;
}

.pd-review-report-btn:hover {
  color: #dc3545;
}

/* -- Empty State -------------------------------------------------------- */

.pd-reviews-empty {
  text-align: center;
  padding: 48px 24px;
}

.pd-reviews-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: #f4f5f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-reviews-empty h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 6px;
}

.pd-reviews-empty p {
  font-size: 0.9375rem;
  color: #6c757d;
  margin: 0;
}

/* -- Load More ---------------------------------------------------------- */

.pd-reviews-load-more {
  text-align: center;
  padding: 20px 0;
}

.pd-reviews-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  border: 1.5px solid #dee2e6;
  border-radius: 10px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}

.pd-reviews-load-more-btn:hover {
  border-color: var(--secondary, #e94560);
  color: var(--secondary, #e94560);
  box-shadow: 0 2px 12px rgba(233, 69, 96, 0.12);
}

.pd-reviews-load-more-btn:active {
  transform: scale(0.98);
}

/* -- Write Review Enhanced ---------------------------------------------- */

.pd-write-review {
  margin-top: 32px;
  padding: 28px;
  background: linear-gradient(135deg, #fafbfc, #fff);
  border: 1px solid #e9ecef;
  border-radius: 16px;
}

.pd-write-review-header {
  margin-bottom: 20px;
}

.pd-write-review-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0;
}

.pd-write-review-title svg {
  color: var(--secondary, #e94560);
}

.pd-write-review-subtitle {
  font-size: 0.8125rem;
  color: #6c757d;
  margin: 4px 0 0 28px;
}

.pd-review-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pd-review-form-rating label,
.pd-review-form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin-bottom: 6px;
}

.pd-form-optional {
  font-weight: 400;
  color: #adb5bd;
}

.pd-review-star-select {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pd-review-star-btn {
  padding: 2px;
  border: none;
  background: none;
  cursor: pointer;
  transition: transform 0.15s;
  line-height: 0;
}

.pd-review-star-btn:hover {
  transform: scale(1.2);
}

.pd-review-star-btn.active svg {
  filter: drop-shadow(0 1px 3px rgba(255, 193, 7, 0.4));
}

.pd-review-form-row {
  display: flex;
  gap: 16px;
}

.pd-review-form-row .pd-review-form-field {
  flex: 1;
}

.pd-form-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  color: var(--primary, #1a1a2e);
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
  resize: vertical;
}

.pd-form-input:focus {
  border-color: var(--secondary, #e94560);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.pd-form-textarea-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.pd-form-hint {
  font-size: 0.75rem;
  color: #adb5bd;
}

.pd-form-char-count {
  font-size: 0.6875rem;
  color: #adb5bd;
  font-weight: 500;
}

.pd-review-form-actions {
  display: flex;
  justify-content: flex-end;
}

.pd-review-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  background: var(--secondary, #e94560);
  color: #fff;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.pd-review-submit:hover {
  background: #d63851;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.3);
}

/* -- Review Guidelines -------------------------------------------------- */

.pd-review-guidelines {
  margin-top: 24px;
  padding: 16px 20px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #e9ecef;
}

.pd-review-guidelines-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 8px;
}

.pd-review-guidelines-title svg {
  color: #6c757d;
}

.pd-review-guidelines-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.8125rem;
  color: #6c757d;
  line-height: 1.7;
}

.pd-review-guidelines-list li {
  margin-bottom: 2px;
}

/* -- Responsive Reviews ------------------------------------------------- */

@media (max-width: 575.98px) {
  .pd-reviews-score-panel {
    flex-direction: column;
    gap: 20px;
    padding: 20px 16px;
  }

  .pd-reviews-big-score {
    min-width: auto;
    width: 100%;
    flex-direction: row;
    gap: 12px;
    padding: 14px 16px;
  }

  .pd-reviews-big-number {
    font-size: 2rem;
  }

  .pd-reviews-big-stars {
    margin-top: 0;
  }

  .pd-reviews-controls {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .pd-review-card {
    padding: 16px;
  }

  .pd-review-card-top {
    flex-direction: column;
    gap: 8px;
  }

  .pd-review-date {
    align-self: flex-start;
  }

  .pd-write-review {
    padding: 20px 16px;
  }

  .pd-review-form-row {
    flex-direction: column;
    gap: 0;
  }

  .pd-review-footer {
    flex-wrap: wrap;
  }
}

/* -- Related Products ---------------------------------------------------- */

.pd-related-section {
  background: #f8f9fa;
  padding: 48px 0 60px;
}

.pd-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.pd-related-title {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0;
}

.pd-related-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary, #e94560);
  text-decoration: none;
  transition: gap 0.2s;
}

.pd-related-link:hover {
  gap: 10px;
}

/* -- Responsive ---------------------------------------------------------- */

@media (max-width: 991.98px) {
  .pd-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pd-gallery {
    position: static;
  }

  .pd-reviews-summary {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}

@media (max-width: 575.98px) {
  .pd-section {
    padding: 24px 0 12px;
  }

  .pd-title {
    font-size: 1.375rem;
  }

  .pd-price-current {
    font-size: 1.5rem;
  }

  .pd-gallery-main {
    border-radius: 12px;
  }

  .pd-gallery-thumb {
    width: 56px;
    height: 56px;
  }

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

  .pd-btn-buy {
    text-align: center;
  }

  .pd-tabs-nav {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .pd-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .pd-tab-btn {
    padding: 12px 16px;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .pd-tab-content {
    padding: 24px 0;
  }
}

/* ==========================================================================
   Enhanced Product Detail - Interactive UI
   ========================================================================== */

/* -- Entry Animations --------------------------------------------------- */

.pd-section .pd-gallery,
.pd-section .pd-info,
.pd-tabs-section .pd-tabs {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pd-section .pd-gallery.visible,
.pd-section .pd-info.visible,
.pd-tabs-section .pd-tabs.visible {
  opacity: 1;
  transform: translateY(0);
}

.pd-section .pd-info {
  transition-delay: 0.1s;
}

.pd-animate-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.pd-animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -- Delivery Banner ---------------------------------------------------- */

.pd-delivery-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #d1e7dd, #e8f5e9);
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.8125rem;
  color: #0f5132;
}

.pd-delivery-banner svg {
  flex-shrink: 0;
  color: #198754;
}

/* -- Highlights --------------------------------------------------------- */

.pd-highlights {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pd-highlight-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
}

/* -- Share Button ------------------------------------------------------- */

.pd-rating-row {
  position: relative;
}

.pd-share-wrap {
  margin-left: auto;
  position: relative;
}

.pd-share-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  font-family: var(--font);
  transition: border-color 0.2s, color 0.2s;
}

.pd-share-btn:hover {
  border-color: var(--primary, #1a1a2e);
  color: var(--primary, #1a1a2e);
}

.pd-share-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  min-width: 180px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 20;
}

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

.pd-share-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary, #1a1a2e);
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s;
  text-align: left;
}

.pd-share-option:hover {
  background: #f4f5f7;
}

.pd-share-option svg {
  flex-shrink: 0;
  color: #6c757d;
}

/* -- Gallery Arrows ----------------------------------------------------- */

.pd-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  color: var(--primary, #1a1a2e);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
}

.pd-gallery-main:hover .pd-gallery-arrow {
  opacity: 1;
}

.pd-gallery-arrow--prev {
  left: 12px;
}

.pd-gallery-arrow--next {
  right: 12px;
}

.pd-gallery-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.pd-gallery-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.pd-gallery-counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  z-index: 3;
  pointer-events: none;
  letter-spacing: 0.04em;
}

/* -- Lightbox ----------------------------------------------------------- */

.pd-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.pd-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.pd-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.pd-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.pd-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.pd-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.pd-lightbox-arrow--prev {
  left: 24px;
}

.pd-lightbox-arrow--next {
  right: 24px;
}

.pd-lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
}

.pd-lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
}

/* -- Option Header (Selected Display) ----------------------------------- */

.pd-option-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-option-selected {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary, #e94560);
}

/* -- Quantity Remaining ------------------------------------------------- */

.pd-qty-remaining {
  font-size: 0.75rem;
  font-weight: 600;
  color: #dc3545;
  margin-left: auto;
}

/* -- Stock Dot Animation ------------------------------------------------ */

.pd-stock-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc3545;
  margin-right: 4px;
  animation: pdPulse 1.5s infinite;
}

@keyframes pdPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* -- Sticky Mobile Bar -------------------------------------------------- */

.pd-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1040;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: none;
}

.pd-sticky-bar.visible {
  transform: translateY(0);
}

.pd-sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.pd-sticky-bar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pd-sticky-bar-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.pd-sticky-bar-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pd-sticky-bar-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.pd-sticky-bar-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--secondary, #e94560);
}

.pd-sticky-bar-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: var(--secondary, #e94560);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.pd-sticky-bar-cart:hover {
  background: #d63851;
}

.pd-sticky-bar-cart:active {
  transform: scale(0.97);
}

/* -- Review Form Enhancements ------------------------------------------- */

.pd-required {
  color: var(--secondary, #e94560);
}

.pd-review-rating-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary, #e94560);
  margin-left: 8px;
  min-height: 20px;
}

.pd-form-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  color: var(--primary, #1a1a2e);
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}

.pd-form-input:focus {
  border-color: var(--secondary, #e94560);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.pd-form-hint {
  font-size: 0.75rem;
  color: #adb5bd;
  margin-top: 4px;
}

/* -- Review Submit State ------------------------------------------------ */

.pd-review-submit {
  position: relative;
  overflow: hidden;
}

.pd-review-submit.loading {
  pointer-events: none;
  color: transparent;
}

.pd-review-submit.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pdSpin 0.6s linear infinite;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
}

@keyframes pdSpin {
  to { transform: rotate(360deg); }
}

/* -- Review Bars Animate ------------------------------------------------ */

.pd-reviews-bar-fill {
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* -- Recently Viewed ---------------------------------------------------- */

.pd-recently-section {
  padding: 32px 0 60px;
}

.pd-recently-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.pd-recently-scroll::-webkit-scrollbar {
  height: 4px;
}

.pd-recently-scroll::-webkit-scrollbar-track {
  background: #f4f5f7;
  border-radius: 2px;
}

.pd-recently-scroll::-webkit-scrollbar-thumb {
  background: #ced4da;
  border-radius: 2px;
}

.pd-recently-item {
  flex-shrink: 0;
  width: 160px;
  text-decoration: none;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e9ecef;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pd-recently-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.pd-recently-item-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.pd-recently-item-info {
  padding: 10px 12px;
}

.pd-recently-item-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.pd-recently-item-price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--secondary, #e94560);
  margin-top: 4px;
}

/* -- Tab Active Underline Animation ------------------------------------- */

.pd-tab-btn.active::after {
  animation: pdTabSlide 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes pdTabSlide {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* -- Price Block Pulse on Sale ------------------------------------------ */

.pd-price-save {
  animation: pdPriceFadeIn 0.5s ease;
}

@keyframes pdPriceFadeIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

/* -- Button Ripple Effect ----------------------------------------------- */

.pd-btn-add,
.pd-btn-buy,
.pd-sticky-bar-cart {
  position: relative;
  overflow: hidden;
}

.pd-btn-add::after,
.pd-btn-buy::after,
.pd-sticky-bar-cart::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.3), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.pd-btn-add:active::after,
.pd-btn-buy:active::after,
.pd-sticky-bar-cart:active::after {
  opacity: 1;
}

/* -- Responsive: Tablet ------------------------------------------------- */

@media (min-width: 576px) and (max-width: 991.98px) {
  .pd-gallery {
    position: static;
  }

  .pd-sticky-bar {
    display: block;
  }
}

/* -- Responsive: Mobile ------------------------------------------------- */

@media (max-width: 575.98px) {
  .pd-section {
    padding: 20px 0 12px;
  }

  .pd-gallery-main {
    border-radius: 12px;
    aspect-ratio: 1;
  }

  .pd-gallery-thumbs {
    gap: 8px;
    margin-top: 10px;
  }

  .pd-gallery-thumb {
    width: 52px;
    height: 52px;
  }

  .pd-gallery-arrow {
    width: 32px;
    height: 32px;
    opacity: 1;
    background: rgba(255, 255, 255, 0.95);
  }

  .pd-gallery-arrow svg {
    width: 16px;
    height: 16px;
  }

  .pd-gallery-counter {
    font-size: 0.6875rem;
    padding: 3px 8px;
  }

  .pd-title {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .pd-price-current {
    font-size: 1.5rem;
  }

  .pd-rating-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .pd-share-wrap {
    margin-left: 0;
    margin-top: 4px;
    width: 100%;
  }

  .pd-share-dropdown {
    right: auto;
    left: 0;
  }

  .pd-highlights {
    gap: 10px;
  }

  .pd-highlight-item {
    font-size: 0.75rem;
  }

  .pd-actions {
    flex-direction: column;
    gap: 10px;
  }

  .pd-btn-add {
    width: 100%;
  }

  .pd-btn-buy {
    text-align: center;
  }

  .pd-sticky-bar {
    display: block;
  }

  .pd-sticky-bar-inner {
    padding: 8px 12px;
  }

  .pd-sticky-bar-cart {
    padding: 8px 16px;
    font-size: 0.75rem;
  }

  .pd-delivery-banner {
    font-size: 0.75rem;
    padding: 8px 12px;
  }

  .pd-tabs-nav {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .pd-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .pd-tab-btn {
    padding: 12px 16px;
    font-size: 0.875rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .pd-tab-content {
    padding: 24px 0;
  }

  .pd-reviews-summary {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .pd-review-card {
    padding: 16px;
  }

  .pd-write-review {
    padding: 20px 16px;
  }

  .pd-lightbox-arrow--prev {
    left: 8px;
  }

  .pd-lightbox-arrow--next {
    right: 8px;
  }

  .pd-lightbox-arrow {
    width: 40px;
    height: 40px;
  }

  .pd-lightbox-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }
}

/* -- Responsive: Large Desktop ------------------------------------------ */

@media (min-width: 1200px) {
  .pd-gallery-arrow {
    width: 44px;
    height: 44px;
  }

  .pd-gallery-main:hover .pd-gallery-arrow {
    opacity: 1;
  }
}

/* ==========================================================================
   CART PAGE — Modern Shopping Cart
   ========================================================================== */

/* -- Breadcrumb --------------------------------------------------------- */

.cart-breadcrumb-bar {
  padding: 16px 0;
  background: var(--bg-light, #f8f9fa);
  border-bottom: 1px solid var(--border-light, #e9ecef);
}

.cart-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
}

.cart-breadcrumb a {
  color: var(--text-muted, #6c757d);
  font-weight: 500;
  transition: color 0.2s;
}

.cart-breadcrumb a:hover {
  color: var(--secondary, #e94560);
}

.cart-breadcrumb-sep {
  color: var(--text-light, #adb5bd);
  display: flex;
  align-items: center;
}

.cart-breadcrumb-current {
  color: var(--primary, #1a1a2e);
  font-weight: 600;
}

/* -- Progress Steps ----------------------------------------------------- */

.cart-progress-wrap {
  padding: 24px 0 0;
}

.cart-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
}

.cart-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cart-progress-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--border-light, #e9ecef);
  color: var(--text-muted, #6c757d);
  transition: all 0.3s;
}

.cart-progress-step.active .cart-progress-step-num {
  background: var(--secondary, #e94560);
  color: #fff;
  box-shadow: 0 2px 12px rgba(233, 69, 96, 0.3);
}

.cart-progress-step.done .cart-progress-step-num {
  background: var(--success, #198754);
  color: #fff;
}

.cart-progress-step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted, #6c757d);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-progress-step.active .cart-progress-step-label {
  color: var(--secondary, #e94560);
}

.cart-progress-line {
  flex: 1;
  height: 2px;
  background: var(--border-light, #e9ecef);
  margin: 0 8px;
  margin-bottom: 22px;
  min-width: 40px;
  max-width: 80px;
}

/* -- Main Layout -------------------------------------------------------- */

.cart-main {
  padding: 32px 0 60px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: flex-start;
}

/* -- Cart Items Section ------------------------------------------------- */

.cart-items-section {
  min-width: 0;
}

.cart-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cart-page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0;
}

.cart-page-title svg {
  color: var(--secondary, #e94560);
}

.cart-page-title-count {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted, #6c757d);
}

.cart-clear-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border, #dee2e6);
  border-radius: 8px;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted, #6c757d);
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}

.cart-clear-btn:hover {
  border-color: var(--danger, #dc3545);
  color: var(--danger, #dc3545);
  background: #fff5f5;
}

/* -- Free Shipping Progress --------------------------------------------- */

.cart-shipping-progress {
  padding: 14px 18px;
  background: linear-gradient(135deg, #f8f9fa, #fff);
  border: 1px solid var(--border-light, #e9ecef);
  border-radius: 12px;
  margin-bottom: 20px;
}

.cart-shipping-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--primary, #1a1a2e);
  margin-bottom: 10px;
}

.cart-shipping-text svg {
  flex-shrink: 0;
  color: var(--secondary, #e94560);
}

.cart-shipping-text strong {
  color: var(--secondary, #e94560);
}

.cart-shipping-achieved {
  color: var(--success, #198754);
}

.cart-shipping-achieved svg {
  color: var(--success, #198754);
}

.cart-shipping-achieved strong {
  color: var(--success, #198754);
}

.cart-shipping-bar {
  height: 6px;
  background: var(--border-light, #e9ecef);
  border-radius: 3px;
  overflow: hidden;
}

.cart-shipping-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary, #e94560), #ff6b81);
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cart-shipping-achieved ~ .cart-shipping-bar .cart-shipping-bar-fill {
  background: linear-gradient(90deg, var(--success, #198754), #20c997);
}

/* -- Cart Item ---------------------------------------------------------- */

.cart-item {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-light, #e9ecef);
  border-radius: 14px;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cart-item:hover {
  border-color: var(--border, #dee2e6);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.cart-item-image {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-light, #f8f9fa);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.cart-item-image:hover img {
  transform: scale(1.05);
}

.cart-item-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

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

.cart-item-name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-name:hover {
  color: var(--secondary, #e94560);
}

.cart-item-badge-sale {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  background: #fff0f3;
  color: var(--secondary, #e94560);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 20px;
  margin-top: 4px;
}

.cart-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  border-radius: 8px;
  color: var(--text-light, #adb5bd);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  background: #fff0f0;
  color: var(--danger, #dc3545);
  transform: rotate(90deg);
}

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

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 10px;
  overflow: hidden;
}

.cart-item-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-light, #f8f9fa);
  color: var(--primary, #1a1a2e);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cart-item-qty-btn:hover {
  background: var(--secondary, #e94560);
  color: #fff;
}

.cart-item-qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cart-item-qty-btn:disabled:hover {
  background: var(--bg-light, #f8f9fa);
  color: var(--primary, #1a1a2e);
}

.cart-item-qty-value {
  width: 42px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  border-left: 1.5px solid var(--border, #dee2e6);
  border-right: 1.5px solid var(--border, #dee2e6);
  line-height: 36px;
}

.cart-item-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cart-item-price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
}

.cart-item-price-original {
  font-size: 0.75rem;
  color: var(--text-light, #adb5bd);
  text-decoration: line-through;
}

/* -- Cart Items Footer -------------------------------------------------- */

.cart-items-footer {
  display: flex;
  justify-content: flex-start;
  padding-top: 16px;
}

.cart-continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 10px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}

.cart-continue-btn:hover {
  border-color: var(--secondary, #e94560);
  color: var(--secondary, #e94560);
}

/* -- Order Summary ------------------------------------------------------ */

.cart-summary-section {
  position: sticky;
  top: 100px;
}

.cart-summary {
  background: #fff;
  border: 1px solid var(--border-light, #e9ecef);
  border-radius: 16px;
  padding: 28px;
}

.cart-summary-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 20px;
}

.cart-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
  color: var(--text-muted, #6c757d);
}

.cart-summary-row span:last-child {
  font-weight: 600;
  color: var(--primary, #1a1a2e);
}

.cart-summary-free {
  color: var(--success, #198754);
  font-weight: 700;
}

.cart-summary-divider {
  height: 1px;
  background: var(--border-light, #e9ecef);
  margin: 16px 0;
}

.cart-summary-total {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e) !important;
}

.cart-summary-total span:last-child {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary, #e94560) !important;
}

.cart-summary-savings {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #fff8e1;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #b8860b;
  font-weight: 500;
  margin-top: 12px;
}

.cart-summary-savings svg {
  flex-shrink: 0;
  color: #ffc107;
}

/* -- Checkout Button ---------------------------------------------------- */

.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  margin-top: 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--secondary, #e94560), #d63851);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.3);
}

.cart-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(233, 69, 96, 0.4);
  color: #fff;
}

.cart-checkout-btn:active {
  transform: translateY(0);
}

/* -- Trust Badges ------------------------------------------------------- */

.cart-trust-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light, #e9ecef);
}

.cart-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted, #6c757d);
  text-align: center;
}

.cart-trust-item svg {
  color: var(--success, #198754);
}

/* -- Payment Icons ------------------------------------------------------ */

.cart-payment-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.cart-payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: var(--bg-light, #f8f9fa);
  border: 1px solid var(--border-light, #e9ecef);
  border-radius: 6px;
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--text-muted, #6c757d);
  letter-spacing: 0.05em;
}

/* -- Empty State -------------------------------------------------------- */

.cart-empty {
  text-align: center;
  padding: 80px 24px;
}

.cart-empty-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  background: var(--bg-light, #f8f9fa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light, #adb5bd);
}

.cart-empty-icon svg {
  stroke-width: 1.5;
}

.cart-empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 10px;
}

.cart-empty-text {
  font-size: 0.9375rem;
  color: var(--text-muted, #6c757d);
  max-width: 400px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.cart-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--secondary, #e94560), #d63851);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.3);
}

.cart-empty-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(233, 69, 96, 0.4);
  color: #fff;
}

/* -- Suggested Products ------------------------------------------------- */

.cart-suggested {
  background: var(--bg-light, #f8f9fa);
  padding: 48px 0 60px;
}

.cart-suggested-header {
  margin-bottom: 24px;
}

.cart-suggested-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0;
}

/* -- Cart Item Remove Animation ----------------------------------------- */

.cart-item.removing {
  opacity: 0;
  transform: translateX(-30px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

/* -- Responsive: Tablet ------------------------------------------------- */

@media (max-width: 991.98px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cart-summary-section {
    position: static;
  }

  .cart-summary {
    max-width: 500px;
    margin: 0 auto;
  }
}

/* -- Responsive: Mobile ------------------------------------------------- */

@media (max-width: 575.98px) {
  .cart-progress-wrap {
    padding: 16px 0 0;
  }

  .cart-progress-step-label {
    font-size: 0.625rem;
  }

  .cart-progress-step-num {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .cart-main {
    padding: 20px 0 40px;
  }

  .cart-items-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cart-page-title {
    font-size: 1.25rem;
  }

  .cart-page-title svg {
    width: 22px;
    height: 22px;
  }

  .cart-item {
    flex-direction: column;
    padding: 16px;
    gap: 14px;
  }

  .cart-item-image {
    width: 100%;
    height: 180px;
    border-radius: 10px;
  }

  .cart-item-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cart-item-price-col {
    align-items: flex-start;
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }

  .cart-summary {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .cart-empty {
    padding: 48px 16px;
  }

  .cart-empty-icon {
    width: 90px;
    height: 90px;
  }

  .cart-empty-icon svg {
    width: 56px;
    height: 56px;
  }

  .cart-trust-badges {
    flex-wrap: wrap;
    gap: 12px;
  }

  .cart-trust-item {
    flex-direction: row;
    gap: 4px;
    font-size: 0.625rem;
  }
}

/* ==========================================================================
   CHECKOUT PAGE — Modern Checkout
   ========================================================================== */

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: flex-start;
}

/* -- Checkout Sections -------------------------------------------------- */

.checkout-forms {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-section {
  background: #fff;
  border: 1px solid var(--border-light, #e9ecef);
  border-radius: 16px;
  padding: 28px;
}

.checkout-section-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.checkout-section-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--secondary, #e94560);
  color: #fff;
  flex-shrink: 0;
}

.checkout-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 2px;
}

.checkout-section-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  margin: 0;
}

/* -- Checkout Form ------------------------------------------------------ */

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.checkout-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
}

.checkout-required {
  color: var(--secondary, #e94560);
}

.checkout-form-optional {
  font-weight: 400;
  color: var(--text-light, #adb5bd);
}

.checkout-input,
.checkout-select,
.checkout-textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  font-family: var(--font);
  color: var(--primary, #1a1a2e);
  background: #fff;
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}

.checkout-input::placeholder,
.checkout-textarea::placeholder {
  color: var(--text-light, #adb5bd);
}

.checkout-input:focus,
.checkout-select:focus,
.checkout-textarea:focus {
  border-color: var(--secondary, #e94560);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.checkout-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.checkout-textarea {
  resize: vertical;
  min-height: 56px;
}

/* -- Payment Options ---------------------------------------------------- */

.checkout-payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-payment-option {
  cursor: pointer;
}

.checkout-payment-option input[type="radio"] {
  display: none;
}

.checkout-payment-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 12px;
  transition: all 0.2s;
}

.checkout-payment-option:hover .checkout-payment-card {
  border-color: var(--border, #ced4da);
  background: var(--bg-light, #f8f9fa);
}

.checkout-payment-option.selected .checkout-payment-card,
.checkout-payment-option input:checked + .checkout-payment-card {
  border-color: var(--secondary, #e94560);
  background: #fff5f7;
}

.checkout-payment-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light, #f8f9fa);
  color: var(--primary, #1a1a2e);
  flex-shrink: 0;
}

.checkout-payment-icon-bkash {
  background: #e2136e;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
}

.checkout-payment-icon-nagad {
  background: #f6921e;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
}

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

.checkout-payment-name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
}

.checkout-payment-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
  margin-top: 1px;
}

.checkout-payment-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border, #dee2e6);
  color: transparent;
  flex-shrink: 0;
  transition: all 0.2s;
}

.checkout-payment-option.selected .checkout-payment-check,
.checkout-payment-option input:checked + .checkout-payment-card .checkout-payment-check {
  border-color: var(--secondary, #e94560);
  background: var(--secondary, #e94560);
  color: #fff;
}

/* -- Card Details ------------------------------------------------------- */

.checkout-card-details {
  margin-top: 16px;
  padding: 20px;
  background: var(--bg-light, #f8f9fa);
  border-radius: 12px;
  border: 1px solid var(--border-light, #e9ecef);
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: checkoutSlideDown 0.3s ease;
}

@keyframes checkoutSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* -- Order Summary Items ------------------------------------------------ */

.checkout-summary-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.checkout-summary-items::-webkit-scrollbar {
  width: 4px;
}

.checkout-summary-items::-webkit-scrollbar-track {
  background: transparent;
}

.checkout-summary-items::-webkit-scrollbar-thumb {
  background: var(--border, #dee2e6);
  border-radius: 2px;
}

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

.checkout-summary-item-img {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-light, #f8f9fa);
}

.checkout-summary-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-summary-item-qty {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary, #1a1a2e);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-summary-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-summary-item-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.checkout-summary-item-price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--secondary, #e94560);
}

/* -- Place Order Button ------------------------------------------------- */

.checkout-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.6875rem;
  color: var(--text-muted, #6c757d);
  text-align: center;
}

.checkout-guarantee svg {
  flex-shrink: 0;
  color: var(--success, #198754);
}

/* -- Mobile Place Order ------------------------------------------------- */

.checkout-mobile-order {
  display: none;
}

/* -- Responsive: Tablet ------------------------------------------------- */

@media (max-width: 991.98px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cart-summary-section {
    position: static;
    order: -1;
  }

  .cart-summary {
    max-width: 500px;
    margin: 0 auto;
  }

  .checkout-mobile-order {
    display: block;
  }
}

/* -- Responsive: Mobile ------------------------------------------------- */

@media (max-width: 575.98px) {
  .checkout-section {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .checkout-section-num {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .checkout-section-title {
    font-size: 1rem;
  }

  .checkout-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .checkout-payment-card {
    padding: 12px 14px;
    gap: 10px;
  }

  .checkout-payment-icon-wrap {
    width: 38px;
    height: 38px;
  }

  .checkout-payment-name {
    font-size: 0.875rem;
  }

  .cart-summary {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .checkout-summary-items {
    max-height: 200px;
  }

  .checkout-mobile-order {
    display: block;
  }

  .checkout-mobile-order .cart-checkout-btn {
    width: 100%;
  }
}

/* ==========================================================================
   CHECKOUT — Delivery Method Options
   ========================================================================== */

.checkout-delivery-options {
  display: flex;
  gap: 12px;
}

.checkout-delivery-option {
  flex: 1;
  cursor: pointer;
}

.checkout-delivery-option input[type="radio"] {
  display: none;
}

.checkout-delivery-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 12px;
  transition: all 0.2s;
}

.checkout-delivery-option:hover .checkout-delivery-card {
  border-color: var(--border, #ced4da);
  background: var(--bg-light, #f8f9fa);
}

.checkout-delivery-option.selected .checkout-delivery-card,
.checkout-delivery-option input:checked + .checkout-delivery-card {
  border-color: var(--secondary, #e94560);
  background: #fff5f7;
}

.checkout-delivery-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-delivery-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
}

.checkout-delivery-desc {
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
}

.checkout-delivery-price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--secondary, #e94560);
}

@media (max-width: 575.98px) {
  .checkout-delivery-options {
    flex-direction: column;
  }
}

/* ==========================================================================
   CHECKOUT — Edit Link
   ========================================================================== */

.checkout-edit-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary, #e94560);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}

.checkout-edit-link:hover {
  background: rgba(233, 69, 96, 0.08);
}

/* ==========================================================================
   CHECKOUT — Review Items
   ========================================================================== */

.checkout-review-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.checkout-review-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light, #f0f0f0);
}

.checkout-review-item:last-child {
  border-bottom: none;
}

.checkout-review-item-img {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-light, #f8f9fa);
}

.checkout-review-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-review-item-qty {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary, #1a1a2e);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-review-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkout-review-item-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.checkout-review-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-review-item-sale {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--secondary, #e94560);
  padding: 2px 6px;
  border-radius: 4px;
}

.checkout-review-item-unit {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
}

.checkout-review-item-total {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--secondary, #e94560);
  flex-shrink: 0;
}

/* ==========================================================================
   CHECKOUT — Success Page
   ========================================================================== */

.checkout-success-page {
  padding: 40px 0 80px;
}

.checkout-success-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.checkout-success-hero {
  text-align: center;
  margin-bottom: 32px;
}

.checkout-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #198754, #20c997);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: successPop 0.5s ease;
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.checkout-success-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary, #1a1a2e);
  margin: 0 0 8px;
}

.checkout-success-subtitle {
  font-size: 1rem;
  color: var(--text-muted, #6c757d);
  margin: 0;
}

.checkout-success-order-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px;
  background: var(--bg-light, #f8f9fa);
  border-radius: 14px;
  margin-bottom: 24px;
}

.checkout-success-order-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted, #6c757d);
}

.checkout-success-order-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary, #e94560);
  letter-spacing: 0.02em;
}

.checkout-success-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.checkout-success-section {
  background: #fff;
  border: 1px solid var(--border-light, #e9ecef);
  border-radius: 14px;
  padding: 20px;
}

.checkout-success-items-section {
  grid-column: 1 / -1;
}

.checkout-success-section-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted, #6c757d);
  margin: 0 0 14px;
}

.checkout-success-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-success-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light, #f0f0f0);
}

.checkout-success-item:last-child {
  border-bottom: none;
}

.checkout-success-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-success-item-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
}

.checkout-success-item-qty {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
}

.checkout-success-item-price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--secondary, #e94560);
}

.checkout-success-address p {
  font-size: 0.875rem;
  color: var(--primary, #1a1a2e);
  margin: 0 0 4px;
  line-height: 1.5;
}

.checkout-success-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light, #f0f0f0);
}

.checkout-success-detail:last-child {
  border-bottom: none;
}

.checkout-success-detail span:first-child {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
}

.checkout-success-detail span:last-child {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
}

.checkout-success-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.checkout-success-status-pending {
  background: #fff3cd;
  color: #856404;
}

.checkout-success-status-paid {
  background: #d1e7dd;
  color: #0f5132;
}

.checkout-success-totals {
  background: #fff;
  border: 1px solid var(--border-light, #e9ecef);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
}

.checkout-success-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--primary, #1a1a2e);
}

.checkout-success-total-final {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--secondary, #e94560);
}

.checkout-success-divider {
  height: 1px;
  background: var(--border-light, #e9ecef);
  margin: 8px 0;
}

.checkout-success-delivery {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #e8f5e9, #e0f7fa);
  border-radius: 14px;
  margin-bottom: 32px;
  border: 1px solid rgba(25, 135, 84, 0.15);
}

.checkout-success-delivery svg {
  color: var(--success, #198754);
  flex-shrink: 0;
}

.checkout-success-delivery div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-success-delivery-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
}

.checkout-success-delivery-date {
  font-size: 0.875rem;
  color: var(--text-muted, #6c757d);
}

.checkout-success-actions {
  display: flex;
  gap: 12px;
}

.checkout-success-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.checkout-success-btn-primary {
  background: var(--secondary, #e94560);
  color: #fff;
}

.checkout-success-btn-primary:hover {
  background: #d63a53;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.checkout-success-btn-secondary {
  background: var(--bg-light, #f8f9fa);
  color: var(--primary, #1a1a2e);
  border: 1.5px solid var(--border, #dee2e6);
}

.checkout-success-btn-secondary:hover {
  background: #e9ecef;
  transform: translateY(-1px);
}

@media (max-width: 575.98px) {
  .checkout-success-page {
    padding: 24px 0 60px;
  }

  .checkout-success-grid {
    grid-template-columns: 1fr;
  }

  .checkout-success-title {
    font-size: 1.375rem;
  }

  .checkout-success-actions {
    flex-direction: column;
  }
}

/* ==========================================================================
   GIFT CARDS PAGE
   ========================================================================== */

.gc-page {
  background: var(--bg-light, #f8f9fa);
  padding-bottom: 0;
}

/* -- Eyebrow ------------------------------------------------------------ */

.gc-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary, #e94560);
  margin-bottom: 8px;
}

/* -- Hero --------------------------------------------------------------- */

.gc-hero {
  position: relative;
  padding: 90px 0 80px;
  background: var(--primary, #1a1a2e);
  overflow: hidden;
}

.gc-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.gc-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.gc-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.gc-hero-glow-1 {
  width: 500px;
  height: 500px;
  top: -200px;
  right: -100px;
  background: rgba(233, 69, 96, 0.12);
}

.gc-hero-glow-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
  background: rgba(102, 126, 234, 0.1);
}

.gc-hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Hero card stack */
.gc-hero-visual {
  margin-bottom: 40px;
  perspective: 800px;
}

.gc-hero-card-stack {
  position: relative;
  width: 260px;
  height: 160px;
}

.gc-hero-card {
  position: absolute;
  width: 260px;
  height: 160px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2a2a4a, #3a3a5a);
  border: 1px solid rgba(255,255,255,0.08);
}

.gc-hero-card-back {
  transform: rotate(-6deg) translateY(-8px);
  opacity: 0.4;
}

.gc-hero-card-mid {
  transform: rotate(3deg) translateY(-4px);
  opacity: 0.7;
}

.gc-hero-card-front {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(135deg, #e94560, #c73a52);
  border: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: gcCardHover 4s ease-in-out infinite;
}

.gc-hcf-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.gc-hcf-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

.gc-hcf-brand {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

@keyframes gcCardHover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.gc-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.1;
}

.gc-hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 32px;
  max-width: 440px;
  line-height: 1.6;
}

.gc-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gc-hero-btn-primary,
.gc-hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.gc-hero-btn-primary {
  background: var(--secondary, #e94560);
  color: #fff;
}

.gc-hero-btn-primary:hover {
  background: #d63a53;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.35);
  color: #fff;
}

.gc-hero-btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gc-hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* -- Browse Designs ----------------------------------------------------- */

.gc-browse {
  padding: 70px 0 60px;
}

.gc-browse-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
}

.gc-browse-title-wrap {
  flex-shrink: 0;
}

.gc-browse-desc {
  font-size: 0.875rem;
  color: var(--text-muted, #6c757d);
  margin: 0;
}

.gc-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary, #1a1a2e);
  margin: 0;
}

.gc-browse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gc-browse-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid var(--border-light, #e9ecef);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s;
  text-align: left;
  padding: 0;
  font-family: var(--font);
}

.gc-browse-card:hover {
  border-color: var(--secondary, #e94560);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.gc-bc-visual {
  height: 120px;
  position: relative;
  overflow: hidden;
}

.gc-bc-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.gc-bc-birthday .gc-bc-pattern {
  background: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255,255,255,0.15) 8px, rgba(255,255,255,0.15) 16px);
}
.gc-bc-birthday { background: linear-gradient(135deg, #ffd54f, #ffb300); }

.gc-bc-thankyou .gc-bc-pattern {
  background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.3) 0%, transparent 50%);
}
.gc-bc-thankyou { background: linear-gradient(135deg, #f48fb1, #e91e63); }

.gc-bc-congrats .gc-bc-pattern {
  background: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,0.1) 10px, rgba(255,255,255,0.1) 20px);
}
.gc-bc-congrats { background: linear-gradient(135deg, #64b5f6, #1976d2); }

.gc-bc-love .gc-bc-pattern {
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.3) 0%, transparent 40%);
}
.gc-bc-love { background: linear-gradient(135deg, #ef9a9a, #e53935); }

.gc-bc-holiday .gc-bc-pattern {
  background: repeating-linear-gradient(0deg, transparent, transparent 12px, rgba(255,255,255,0.08) 12px, rgba(255,255,255,0.08) 14px);
}
.gc-bc-holiday { background: linear-gradient(135deg, #81c784, #388e3c); }

.gc-bc-custom {
  background: var(--bg-light, #f8f9fa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, #6c757d);
  border: 2px dashed var(--border, #dee2e6);
}

.gc-browse-card-custom:hover .gc-bc-custom {
  border-color: var(--secondary, #e94560);
  color: var(--secondary, #e94560);
}

.gc-bc-amount {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.gc-bc-info {
  padding: 14px 16px;
}

.gc-bc-name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin-bottom: 2px;
}

.gc-bc-price {
  font-size: 0.6875rem;
  color: var(--text-muted, #6c757d);
}

/* -- Builder ------------------------------------------------------------ */

.gc-builder {
  padding: 60px 0 80px;
  background: #fff;
}

.gc-builder-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* -- Tracker ------------------------------------------------------------ */

.gc-tracker {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
}

.gc-tracker-step {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}

.gc-tracker-step:hover {
  background: var(--bg-light, #f8f9fa);
}

.gc-ts-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border, #dee2e6);
  color: var(--text-muted, #6c757d);
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.gc-tracker-step.active .gc-ts-num {
  background: var(--secondary, #e94560);
  color: #fff;
}

.gc-tracker-step.done .gc-ts-num {
  background: #28a745;
  color: #fff;
}

.gc-ts-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted, #6c757d);
  transition: color 0.25s;
}

.gc-tracker-step.active .gc-ts-label {
  color: var(--secondary, #e94560);
}

.gc-tracker-step.done .gc-ts-label {
  color: #28a745;
}

.gc-tracker-line {
  flex: 1;
  height: 2px;
  background: var(--border, #dee2e6);
  margin: 0 4px;
  position: relative;
  overflow: hidden;
}

.gc-tracker-fill {
  position: absolute;
  inset: 0;
  background: var(--secondary, #e94560);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.gc-tracker-step.done + .gc-tracker-line .gc-tracker-fill,
.gc-tracker-step.active + .gc-tracker-line .gc-tracker-fill {
  transform: scaleX(1);
}

/* -- Panels ------------------------------------------------------------- */

.gc-panel {
  display: none;
  animation: gcPanelIn 0.3s ease;
}

.gc-panel.active {
  display: block;
}

@keyframes gcPanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.gc-panel-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin-bottom: 20px;
}

/* -- Amount grid -------------------------------------------------------- */

.gc-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.gc-amt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 8px;
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}

.gc-amt:hover {
  border-color: var(--secondary, #e94560);
  background: #fff5f7;
}

.gc-amt.active {
  border-color: var(--secondary, #e94560);
  background: var(--secondary, #e94560);
  color: #fff;
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.25);
}

.gc-amt-val {
  font-size: 0.9375rem;
  font-weight: 700;
}

.gc-amt-currency {
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
}

.gc-amt.active .gc-amt-currency { opacity: 0.7; }

.gc-amt-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  padding: 2px 6px;
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--primary, #1a1a2e);
  color: #fff;
  border-radius: 6px;
}

.gc-amt.active .gc-amt-badge {
  background: rgba(0,0,0,0.2);
}

.gc-custom-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gc-compact-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted, #6c757d);
}

.gc-custom-input-wrap {
  position: relative;
}

.gc-custom-sym {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted, #6c757d);
}

.gc-custom-input {
  width: 100%;
  padding: 10px 12px 10px 28px;
  font-size: 0.875rem;
  font-family: var(--font);
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 8px;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.gc-custom-input:focus {
  border-color: var(--secondary, #e94560);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.06);
}

/* -- Design grid -------------------------------------------------------- */

.gc-design-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gc-design-opt {
  cursor: pointer;
}

.gc-design-opt input { display: none; }

.gc-do-visual {
  height: 72px;
  border-radius: 10px;
  border: 2px solid var(--border, #dee2e6);
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}

.gc-design-opt:hover .gc-do-visual {
  border-color: var(--secondary, #e94560);
  transform: translateY(-2px);
}

.gc-design-opt input:checked + .gc-do-visual {
  border-color: var(--secondary, #e94560);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15);
}

.gc-do-pattern {
  position: absolute;
  inset: 0;
}

.gc-do-birthday { background: linear-gradient(135deg, #ffd54f, #ffb300); }
.gc-do-birthday .gc-do-pattern { background: repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(255,255,255,0.2) 6px, rgba(255,255,255,0.2) 12px); }

.gc-do-thankyou { background: linear-gradient(135deg, #f48fb1, #e91e63); }
.gc-do-thankyou .gc-do-pattern { background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.3) 0%, transparent 50%); }

.gc-do-holiday { background: linear-gradient(135deg, #81c784, #388e3c); }
.gc-do-holiday .gc-do-pattern { background: repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(255,255,255,0.1) 10px, rgba(255,255,255,0.1) 12px); }

.gc-do-congrats { background: linear-gradient(135deg, #64b5f6, #1976d2); }
.gc-do-congrats .gc-do-pattern { background: repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(255,255,255,0.12) 8px, rgba(255,255,255,0.12) 16px); }

.gc-do-love { background: linear-gradient(135deg, #ef9a9a, #e53935); }
.gc-do-love .gc-do-pattern { background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.35) 0%, transparent 40%); }

.gc-do-minimal { background: linear-gradient(135deg, #e0e0e0, #9e9e9e); }
.gc-do-minimal .gc-do-pattern { background: repeating-linear-gradient(0deg, transparent, transparent 14px, rgba(255,255,255,0.15) 14px, rgba(255,255,255,0.15) 15px); }

.gc-do-name {
  display: block;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted, #6c757d);
  margin-top: 6px;
}

/* -- Fields ------------------------------------------------------------- */

.gc-field {
  margin-bottom: 16px;
}

.gc-field:last-child { margin-bottom: 0; }

.gc-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gc-field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin-bottom: 6px;
}

.gc-req { color: var(--secondary, #e94560); }
.gc-opt { font-weight: 400; color: var(--text-light, #adb5bd); }

.gc-input,
.gc-textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--primary, #1a1a2e);
  background: var(--bg-light, #f8f9fa);
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 8px;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.gc-input:focus,
.gc-textarea:focus {
  border-color: var(--secondary, #e94560);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.06);
}

.gc-input.error,
.gc-textarea.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.06);
}

.gc-textarea {
  resize: vertical;
  min-height: 60px;
}

.gc-textarea-box {
  position: relative;
}

.gc-textarea-count {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 0.625rem;
  color: var(--text-light, #adb5bd);
  pointer-events: none;
}

/* -- Quantity ----------------------------------------------------------- */

.gc-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 8px;
  overflow: hidden;
}

.gc-qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light, #f8f9fa);
  border: none;
  cursor: pointer;
  color: var(--primary, #1a1a2e);
  transition: background 0.15s;
}

.gc-qty-btn:hover { background: var(--border-light, #e9ecef); }

.gc-qty-val {
  width: 44px;
  height: 36px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  outline: none;
  background: #fff;
  -moz-appearance: textfield;
}

.gc-qty-val::-webkit-outer-spin-button,
.gc-qty-val::-webkit-inner-spin-button { -webkit-appearance: none; }

/* -- Form nav ----------------------------------------------------------- */

.gc-form-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light, #e9ecef);
}

.gc-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.gc-nav-next,
.gc-nav-submit {
  background: var(--secondary, #e94560);
  color: #fff;
  flex: 1;
}

.gc-nav-next:hover,
.gc-nav-submit:hover {
  background: #d63a53;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.25);
}

.gc-nav-prev {
  background: var(--bg-light, #f8f9fa);
  color: var(--primary, #1a1a2e);
  border: 1.5px solid var(--border, #dee2e6);
}

.gc-nav-prev:hover { background: var(--border-light, #e9ecef); }

/* -- Preview card ------------------------------------------------------- */

.gc-preview-side {
  position: sticky;
  top: 120px;
}

.gc-preview-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  aspect-ratio: 16/10;
  position: relative;
}

.gc-pc-inner {
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #1a1a2e, #2d2d4e);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.gc-pc-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.04) 50%, transparent 70%);
  animation: gcShine 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gcShine {
  0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.gc-pc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.gc-pc-brand {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.4;
}

.gc-pc-chip {
  width: 32px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ffd54f, #ffb300);
  opacity: 0.6;
}

.gc-pc-center {
  position: relative;
  z-index: 1;
}

.gc-pc-design-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(233, 69, 96, 0.25);
  margin-bottom: 10px;
  transition: all 0.3s;
}

.gc-pc-amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: all 0.3s;
}

.gc-pc-currency {
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0.6;
  vertical-align: top;
  margin-right: 2px;
}

.gc-pc-bottom {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.gc-pc-field-label {
  display: block;
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.35;
  margin-bottom: 2px;
}

.gc-pc-field-value {
  font-size: 0.8125rem;
  font-weight: 600;
}

.gc-pc-message {
  font-size: 0.75rem;
  font-style: italic;
  opacity: 0.55;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  max-height: 32px;
  overflow: hidden;
}

.gc-pc-footer {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.gc-pc-code {
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  opacity: 0.3;
  font-family: monospace;
}

.gc-pc-valid {
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.3;
  font-weight: 600;
}

/* -- Email preview ------------------------------------------------------ */

.gc-email-box {
  margin-top: 16px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-light, #e9ecef);
  background: #fff;
}

.gc-eb-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-light, #f8f9fa);
  border-bottom: 1px solid var(--border-light, #e9ecef);
}

.gc-eb-dots {
  display: flex;
  gap: 4px;
}

.gc-eb-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.gc-eb-dots span:nth-child(1) { background: #ff5f57; }
.gc-eb-dots span:nth-child(2) { background: #febc2e; }
.gc-eb-dots span:nth-child(3) { background: #28c840; }

.gc-eb-title {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-muted, #6c757d);
}

.gc-eb-body { padding: 14px; }

.gc-eb-row {
  display: flex;
  gap: 8px;
  font-size: 0.6875rem;
  margin-bottom: 4px;
}

.gc-eb-label {
  color: var(--text-light, #adb5bd);
  flex-shrink: 0;
}

.gc-eb-val {
  color: var(--primary, #1a1a2e);
}

.gc-eb-divider {
  height: 1px;
  background: var(--border-light, #e9ecef);
  margin: 10px 0;
}

.gc-eb-content {
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.5;
}

.gc-eb-content p { margin: 0 0 6px; }

.gc-eb-amount {
  display: inline-block;
  padding: 6px 16px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--secondary, #e94560);
  background: rgba(233, 69, 96, 0.06);
  border-radius: 6px;
  margin: 6px 0;
}

.gc-eb-msg {
  font-style: italic;
  opacity: 0.75;
}

.gc-eb-cta {
  display: inline-block;
  padding: 8px 16px;
  margin-top: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #fff;
  background: var(--secondary, #e94560);
  border-radius: 6px;
  opacity: 0.65;
}

/* -- How it works ------------------------------------------------------- */

.gc-how {
  padding: 70px 0;
  background: var(--bg-light, #f8f9fa);
}

.gc-how-header {
  text-align: center;
  margin-bottom: 40px;
}

.gc-how-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.gc-how-card {
  text-align: center;
  flex: 0 0 220px;
  padding: 28px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-light, #e9ecef);
  transition: transform 0.2s;
}

.gc-how-card:hover { transform: translateY(-4px); }

.gc-hc-num {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(233, 69, 96, 0.12);
  margin-bottom: 12px;
  line-height: 1;
}

.gc-hc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff5f7, #fce4ec);
  color: var(--secondary, #e94560);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.gc-hc-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 6px;
}

.gc-hc-text {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.5;
  margin: 0;
}

.gc-how-arrow {
  flex-shrink: 0;
  color: var(--border, #dee2e6);
  margin: 0 12px;
}

/* -- Perks -------------------------------------------------------------- */

.gc-perks {
  padding: 40px 0;
  background: #fff;
  border-top: 1px solid var(--border-light, #e9ecef);
  border-bottom: 1px solid var(--border-light, #e9ecef);
}

.gc-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gc-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.gc-perk-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff5f7, #fce4ec);
  color: var(--secondary, #e94560);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gc-perk-text strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
}

.gc-perk-text span {
  font-size: 0.6875rem;
  color: var(--text-muted, #6c757d);
}

/* -- FAQ ---------------------------------------------------------------- */

.gc-faq-section {
  padding: 70px 0 80px;
}

.gc-faq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}

.gc-faq-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gc-faq-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border-light, #e9ecef);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.gc-faq-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.04); }

.gc-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--primary, #1a1a2e);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.gc-faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted, #6c757d);
  transition: transform 0.25s;
}

.gc-faq-item.open .gc-faq-chevron { transform: rotate(180deg); }

.gc-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.gc-faq-item.open .gc-faq-a { max-height: 200px; }

.gc-faq-a p {
  padding: 0 16px 14px;
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.6;
  margin: 0;
}

/* -- Mobile sticky bar -------------------------------------------------- */

.gc-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light, #e9ecef);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.gc-mb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gc-mb-info { display: flex; flex-direction: column; gap: 1px; }

.gc-mb-total {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary, #1a1a2e);
}

.gc-mb-label {
  font-size: 0.625rem;
  color: var(--text-muted, #6c757d);
}

.gc-mb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--font);
  color: #fff;
  background: var(--secondary, #e94560);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.gc-mb-btn:hover { background: #d63a53; }

/* -- Responsive --------------------------------------------------------- */

@media (max-width: 991.98px) {
  .gc-builder-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gc-preview-side {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }

  .gc-faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 767.98px) {
  .gc-hero { padding: 60px 0 50px; }
  .gc-hero-title { font-size: 2.25rem; }
  .gc-hero-card-stack { width: 200px; height: 124px; }
  .gc-hero-card { width: 200px; height: 124px; }
  .gc-hcf-amount { font-size: 1.5rem; }
  .gc-hcf-brand { font-size: 0.5625rem; top: 12px; right: 14px; }
  .gc-hero-actions { flex-direction: column; gap: 8px; }
  .gc-hero-btn-primary, .gc-hero-btn-ghost { width: 100%; justify-content: center; }

  .gc-browse-header { flex-direction: column; align-items: flex-start; }
  .gc-browse-grid { grid-template-columns: repeat(2, 1fr); }

  .gc-how-grid { flex-direction: column; gap: 16px; }
  .gc-how-arrow { transform: rotate(90deg); margin: 4px 0; }

  .gc-perks-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .gc-amount-grid { grid-template-columns: repeat(2, 1fr); }

  .gc-mobile-bar { display: block; }
  .gc-page { padding-bottom: 70px; }
}

@media (max-width: 575.98px) {
  .gc-hero-title { font-size: 1.875rem; }
  .gc-hero-visual { margin-bottom: 28px; }

  .gc-browse-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }

  .gc-design-grid { grid-template-columns: repeat(2, 1fr); }

  .gc-field-row { grid-template-columns: 1fr; }

  .gc-perks-grid { grid-template-columns: 1fr; }

  .gc-perk { padding: 8px 0; }
}

/* =========================================================================
   SUPPORT PAGES (Contact, FAQs, Shipping, Returns, Size Guide)
   ========================================================================= */

/* -- Shared -------------------------------------------------------------- */

.sp-page { background: var(--bg-light, #f8f9fa); }

.sp-hero {
  padding: 60px 0 50px;
  background: var(--primary, #1a1a2e);
}

.sp-hero-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.sp-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary, #e94560);
  margin-bottom: 8px;
}

.sp-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.15;
}

.sp-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
  line-height: 1.6;
}

.sp-section { padding: 60px 0 80px; }

.sp-h2 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--primary, #1a1a2e);
  margin: 0 0 24px;
}

/* -- Shared Form Elements ------------------------------------------------ */

.sp-field { margin-bottom: 16px; }
.sp-field:last-child { margin-bottom: 0; }

.sp-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin-bottom: 6px;
}

.sp-req { color: var(--secondary, #e94560); }

.sp-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--primary, #1a1a2e);
  background: #fff;
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 8px;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.sp-input:focus {
  border-color: var(--secondary, #e94560);
  box-shadow: 0 0 0 3px rgba(233,69,96,0.06);
}

.sp-textarea { resize: vertical; min-height: 100px; }

.sp-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.sp-field-error {
  font-size: 0.75rem;
  color: #dc3545;
  margin-top: 4px;
  display: block;
}

.sp-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.sp-alert-success {
  background: rgba(40,167,69,0.08);
  color: #198754;
  border: 1px solid rgba(40,167,69,0.2);
}

/* -- Buttons ------------------------------------------------------------- */

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.sp-btn-primary {
  background: var(--secondary, #e94560);
  color: #fff;
}

.sp-btn-primary:hover {
  background: #d63a53;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(233,69,96,0.25);
}

.sp-btn-full { width: 100%; }

/* -- Contact Page -------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.contact-form-side {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.contact-info-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 16px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff5f7, #fce4ec);
  color: var(--secondary, #e94560);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
}

.contact-info-item span {
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
}

.contact-quick-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-ql {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary, #1a1a2e);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s;
}

.contact-ql:hover {
  background: var(--bg-light, #f8f9fa);
  color: var(--secondary, #e94560);
}

/* -- FAQs Page ----------------------------------------------------------- */

.faq-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 440px;
  margin: 24px auto 0;
  padding: 10px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: rgba(255,255,255,0.4);
}

.faq-search-input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 0.875rem;
  font-family: var(--font);
  color: #fff;
}

.faq-search-input::placeholder { color: rgba(255,255,255,0.35); }

.faq-cat-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.faq-cat-tab {
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--text-muted, #6c757d);
  background: #fff;
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-cat-tab:hover { border-color: var(--secondary, #e94560); color: var(--secondary, #e94560); }

.faq-cat-tab.active {
  background: var(--secondary, #e94560);
  color: #fff;
  border-color: var(--secondary, #e94560);
}

.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.faq-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--secondary, #e94560);
  display: inline-block;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border-light, #e9ecef);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover { box-shadow: 0 2px 6px rgba(0,0,0,0.03); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--primary, #1a1a2e);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--secondary, #e94560); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted, #6c757d);
  transition: transform 0.25s;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-a { max-height: 300px; }

.faq-a p {
  padding: 0 16px 14px;
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.6;
  margin: 0;
}

.faq-a a { color: var(--secondary, #e94560); text-decoration: underline; }

/* -- Shipping Page ------------------------------------------------------- */

.ship-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.ship-stat {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-light, #e9ecef);
}

.ship-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff5f7, #fce4ec);
  color: var(--secondary, #e94560);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.ship-stat-num {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary, #1a1a2e);
  margin-bottom: 4px;
}

.ship-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
}

.ship-section { margin-bottom: 48px; }
.ship-section:last-child { margin-bottom: 0; }

.ship-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ship-option {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border-light, #e9ecef);
  transition: transform 0.2s;
}

.ship-option:hover { transform: translateY(-2px); }

.ship-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light, #e9ecef);
}

.ship-option-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0;
}

.ship-option-price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--secondary, #e94560);
}

.ship-option-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ship-option-details li {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.ship-option-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--secondary, #e94560);
}

.ship-option-details li strong { color: var(--primary, #1a1a2e); }

/* -- Timeline ------------------------------------------------------------ */

.ship-timeline {
  position: relative;
  padding-left: 28px;
}

.ship-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border, #dee2e6);
}

.ship-tl-item {
  position: relative;
  padding-bottom: 28px;
}

.ship-tl-item:last-child { padding-bottom: 0; }

.ship-tl-dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary, #e94560);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--secondary, #e94560);
}

.ship-tl-content h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 4px;
}

.ship-tl-content p {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.5;
  margin: 0;
}

/* -- Returns Page -------------------------------------------------------- */

.ret-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.ret-summary-card {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-light, #e9ecef);
  transition: transform 0.2s;
}

.ret-summary-card:hover { transform: translateY(-2px); }

.ret-summary-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff5f7, #fce4ec);
  color: var(--secondary, #e94560);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.ret-summary-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 6px;
}

.ret-summary-card p {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.5;
  margin: 0;
}

.ret-section { margin-bottom: 48px; }
.ret-section:last-child { margin-bottom: 0; }

/* -- Return Steps -------------------------------------------------------- */

.ret-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ret-step {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-light, #e9ecef);
  position: relative;
}

.ret-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--secondary, #e94560);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.ret-step-body h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 6px;
}

.ret-step-body p {
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.5;
  margin: 0;
}

/* -- Policy Cards -------------------------------------------------------- */

.ret-policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ret-policy-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border-light, #e9ecef);
}

.ret-policy-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light, #e9ecef);
}

.ret-yes { color: #198754; }
.ret-no { color: #dc3545; }

.ret-policy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ret-policy-list li {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.ret-policy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border, #dee2e6);
}

/* -- Exchange Info ------------------------------------------------------- */

.ret-exchange-info {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  border: 1px solid var(--border-light, #e9ecef);
}

.ret-exchange-info > p {
  font-size: 0.9375rem;
  color: var(--primary, #1a1a2e);
  line-height: 1.6;
  margin: 0 0 20px;
}

.ret-exchange-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ret-exchange-item {
  padding: 14px;
  background: var(--bg-light, #f8f9fa);
  border-radius: 10px;
}

.ret-exchange-item strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin-bottom: 4px;
}

.ret-exchange-item span {
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
}

/* -- Refund Methods ------------------------------------------------------ */

.ret-refund-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ret-refund-item {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border-light, #e9ecef);
}

.ret-refund-item h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 8px;
}

.ret-refund-item p {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.5;
  margin: 0;
}

/* -- Size Guide ---------------------------------------------------------- */

.sg-measure { margin-bottom: 40px; }

.sg-measure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sg-measure-card {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-light, #e9ecef);
}

.sg-measure-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff5f7, #fce4ec);
  color: var(--secondary, #e94560);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.sg-measure-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 6px;
}

.sg-measure-card p {
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.5;
  margin: 0;
}

/* -- Size Tabs ----------------------------------------------------------- */

.sg-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}

.sg-tab {
  padding: 8px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--text-muted, #6c757d);
  background: #fff;
  border: 1.5px solid var(--border, #dee2e6);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.sg-tab:hover { border-color: var(--secondary, #e94560); color: var(--secondary, #e94560); }

.sg-tab.active {
  background: var(--secondary, #e94560);
  color: #fff;
  border-color: var(--secondary, #e94560);
}

/* -- Size Tables --------------------------------------------------------- */

.sg-table-wrap {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border-light, #e9ecef);
  margin-bottom: 16px;
}

.sg-table-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 14px;
}

.sg-table-scroll { overflow-x: auto; margin-bottom: 20px; }
.sg-table-scroll:last-child { margin-bottom: 0; }

.sg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.sg-table th {
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--text-muted, #6c757d);
  background: var(--bg-light, #f8f9fa);
  border-bottom: 1px solid var(--border, #dee2e6);
  white-space: nowrap;
}

.sg-table td {
  padding: 10px 14px;
  color: var(--primary, #1a1a2e);
  border-bottom: 1px solid var(--border-light, #e9ecef);
}

.sg-table tr:last-child td { border-bottom: none; }

.sg-size {
  display: inline-block;
  min-width: 32px;
  padding: 2px 8px;
  font-weight: 700;
  font-size: 0.75rem;
  background: rgba(233,69,96,0.08);
  color: var(--secondary, #e94560);
  border-radius: 6px;
  text-align: center;
}

/* -- Sizing Tips --------------------------------------------------------- */

.sg-tips { margin-top: 40px; }

.sg-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sg-tip {
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-light, #e9ecef);
}

.sg-tip h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 6px;
}

.sg-tip p {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.5;
  margin: 0;
}

/* -- Responsive --------------------------------------------------------- */

@media (max-width: 991.98px) {
  .contact-layout { grid-template-columns: 1fr; }
  .faq-columns { grid-template-columns: 1fr; }
  .ship-options-grid { grid-template-columns: 1fr; }
  .ret-steps { grid-template-columns: repeat(2, 1fr); }
  .ret-policy-grid { grid-template-columns: 1fr; }
  .sg-measure-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
  .sp-hero { padding: 50px 0 40px; }
  .sp-hero-title { font-size: 1.875rem; }
  .sp-section { padding: 40px 0 60px; }

  .ship-stats { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .ret-summary { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .ret-steps { grid-template-columns: 1fr; }
  .ret-exchange-details { grid-template-columns: 1fr; }
  .ret-refund-grid { grid-template-columns: 1fr; }
  .sg-measure-grid { grid-template-columns: 1fr; }
  .sg-tips-grid { grid-template-columns: 1fr; }
  .contact-form-row { grid-template-columns: 1fr; }

  .faq-cat-tabs { gap: 4px; }
  .faq-cat-tab { padding: 6px 12px; font-size: 0.75rem; }
}

@media (max-width: 575.98px) {
  .sp-hero-title { font-size: 1.625rem; }
  .contact-form-side { padding: 20px; }
  .contact-info-card { padding: 18px; }
}

/* =========================================================================
   TRACK ORDER PAGE
   ========================================================================= */

/* -- Hero ---------------------------------------------------------------- */

.to-hero {
  position: relative;
  padding: 70px 0 60px;
  background: var(--primary, #1a1a2e);
  overflow: hidden;
}

.to-hero-bg {
  position: absolute;
  inset: 0;
}

.to-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
}

.to-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.to-hero-glow-1 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -100px;
  background: rgba(233,69,96,0.1);
}

.to-hero-glow-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -50px;
  background: rgba(139,92,246,0.08);
}

.to-hero-content {
  position: relative;
  text-align: center;
}

.to-hero-anim {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}

.to-hero-ring {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(233,69,96,0.12);
  border: 1px solid rgba(233,69,96,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary, #e94560);
  animation: toHeroPulse 3s ease-in-out infinite;
}

@keyframes toHeroPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(233,69,96,0.15); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(233,69,96,0); }
}

.to-hero-dots {
  display: flex;
  gap: 4px;
}

.to-hero-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  animation: toDotBounce 1.4s ease-in-out infinite;
}

.to-hero-dots span:nth-child(2) { animation-delay: 0.15s; }
.to-hero-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes toDotBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

.to-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.15;
}

.to-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* -- Search -------------------------------------------------------------- */

.track-wrap { max-width: 860px; margin: 0 auto; }

.track-search {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-bottom: 20px;
  transition: all 0.3s;
}

.track-search--compact {
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.track-search-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.track-search-fields {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
}

.track-field {
  flex: 1;
  position: relative;
}

.track-field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light, #adb5bd);
  pointer-events: none;
  transition: color 0.2s;
}

.track-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--primary, #1a1a2e);
  background: var(--bg-light, #f8f9fa);
  border: 1.5px solid transparent;
  border-radius: 10px;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.track-input:focus {
  background: #fff;
  border-color: var(--secondary, #e94560);
  box-shadow: 0 0 0 3px rgba(233,69,96,0.06);
}

.track-input:focus ~ .track-field-icon { color: var(--secondary, #e94560); }

.track-divider {
  width: 1px;
  background: var(--border, #dee2e6);
  margin: 8px 0;
  flex-shrink: 0;
}

.track-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  color: #fff;
  background: var(--secondary, #e94560);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.track-btn:hover {
  background: #d63a53;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(233,69,96,0.3);
}

.track-btn:active { transform: translateY(0); }

.track-btn-loading svg {
  animation: trackSpin 0.7s linear infinite;
}

@keyframes trackSpin {
  to { transform: rotate(360deg); }
}

/* -- Error --------------------------------------------------------------- */

.track-error {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(220,53,69,0.12);
  box-shadow: 0 2px 10px rgba(220,53,69,0.04);
  margin-bottom: 20px;
  animation: gcPanelIn 0.3s ease;
}

.track-error-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(220,53,69,0.08);
  color: #dc3545;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.track-error-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #dc3545;
  margin-bottom: 2px;
}

.track-error-text span {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
}

/* -- Result -------------------------------------------------------------- */

.track-result {
  animation: gcPanelIn 0.4s ease;
}

/* -- Status Hero Card ---------------------------------------------------- */

.track-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-light, #e9ecef);
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin-bottom: 20px;
  gap: 24px;
}

.track-hero-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.track-hero-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.track-hero-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--primary, #1a1a2e);
  margin: 0 0 4px;
}

.track-hero-desc {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  margin: 0;
}

.track-hero-right { flex-shrink: 0; }

.track-hero-meta {
  display: flex;
  gap: 24px;
}

.track-hm {
  text-align: center;
}

.track-hm-label {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light, #adb5bd);
  margin-bottom: 4px;
}

.track-hm-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
}

/* -- Progress Bar -------------------------------------------------------- */

.track-progress-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin-bottom: 24px;
}

.track-progress-bar {
  height: 6px;
  background: var(--border, #dee2e6);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}

.track-progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.8s ease;
  position: relative;
}

.track-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: trackShimmer 2s ease-in-out infinite;
}

@keyframes trackShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.track-progress-steps {
  display: flex;
  justify-content: space-between;
}

.track-ps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.track-ps-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border, #dee2e6);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--border, #dee2e6);
  transition: all 0.3s;
}

.track-ps.active .track-ps-dot {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.track-ps-label {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-light, #adb5bd);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.track-ps.active .track-ps-label { color: var(--primary, #1a1a2e); }

/* -- Content Grid -------------------------------------------------------- */

.track-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  margin-bottom: 20px;
}

/* -- Cards --------------------------------------------------------------- */

.track-timeline-card,
.track-items-card,
.track-side-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.track-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border-light, #e9ecef);
}

.track-items-count {
  margin-left: auto;
  padding: 2px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--bg-light, #f8f9fa);
  color: var(--text-muted, #6c757d);
  border-radius: 10px;
}

/* -- Timeline ------------------------------------------------------------ */

.track-tl { padding: 20px 24px 24px; }

.track-tl-item {
  display: flex;
  gap: 14px;
  position: relative;
  padding-bottom: 24px;
  opacity: 0;
  transform: translateY(8px);
  animation: trackTlIn 0.4s ease forwards;
}

@keyframes trackTlIn {
  to { opacity: 1; transform: translateY(0); }
}

.track-tl-item:last-child { padding-bottom: 0; }

.track-tl-line {
  position: absolute;
  left: 10px;
  top: 24px;
  bottom: 0;
  width: 2px;
  background: var(--border, #dee2e6);
}

.track-tl-item.done .track-tl-line { background: #198754; }
.track-tl-item:last-child .track-tl-line { display: none; }

.track-tl-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--border, #dee2e6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: all 0.3s;
  margin-top: 2px;
}

.track-tl-item.done .track-tl-dot {
  background: #198754;
  box-shadow: 0 0 0 4px rgba(25,135,100,0.1);
}

.track-tl-item.current .track-tl-dot {
  background: var(--secondary, #e94560);
  box-shadow: 0 0 0 4px rgba(233,69,96,0.12);
  animation: trackDotPulse 2s ease-in-out infinite;
}

@keyframes trackDotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(233,69,96,0.12); }
  50% { box-shadow: 0 0 0 8px rgba(233,69,96,0.06); }
}

.track-tl-content { flex: 1; min-width: 0; }

.track-tl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.track-tl-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted, #6c757d);
}

.track-tl-item.done .track-tl-label,
.track-tl-item.current .track-tl-label {
  color: var(--primary, #1a1a2e);
}

.track-tl-time {
  font-size: 0.6875rem;
  color: var(--text-light, #adb5bd);
  white-space: nowrap;
}

.track-tl-desc {
  font-size: 0.75rem;
  color: var(--text-light, #adb5bd);
  line-height: 1.5;
  margin: 0;
}

.track-tl-item.done .track-tl-desc { color: var(--text-muted, #6c757d); }

/* -- Sidebar ------------------------------------------------------------- */

.track-side-card {
  padding: 20px;
  margin-bottom: 0;
  border-radius: 14px;
}

.track-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.track-side-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light, #e9ecef);
}

.track-address {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.6;
}

.track-address p { margin: 0; }
.track-addr-name { font-weight: 600; color: var(--primary, #1a1a2e); }
.track-addr-phone { margin-top: 4px; }

.track-pay-rows { display: flex; flex-direction: column; gap: 8px; }

.track-pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.track-pay-row span { color: var(--text-muted, #6c757d); }
.track-pay-row strong { color: var(--primary, #1a1a2e); font-weight: 600; }

.track-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.track-badge--paid { background: rgba(25,135,100,0.08); color: #198754; }
.track-badge--pending { background: rgba(255,193,7,0.1); color: #d4a017; }
.track-badge--failed { background: rgba(220,53,69,0.08); color: #dc3545; }

.track-side-help {
  text-align: center;
  background: linear-gradient(135deg, #fff5f7, #fce4ec);
}

.track-help-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(233,69,96,0.1);
  color: var(--secondary, #e94560);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.track-side-help h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 4px;
}

.track-side-help p {
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
  margin: 0 0 10px;
}

.track-help-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary, #e94560);
  text-decoration: none;
  transition: gap 0.2s;
}

.track-help-link:hover { gap: 8px; }

/* -- Items --------------------------------------------------------------- */

.track-items-list { padding: 0 24px; }

.track-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light, #e9ecef);
}

.track-item:last-child { border-bottom: none; }

.track-item-img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-light, #f8f9fa);
  flex-shrink: 0;
}

.track-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-item-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light, #adb5bd);
}

.track-item-info { flex: 1; min-width: 0; }

.track-item-name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin-bottom: 2px;
}

.track-item-meta {
  font-size: 0.6875rem;
  color: var(--text-light, #adb5bd);
}

.track-item-total {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  white-space: nowrap;
}

/* -- Totals -------------------------------------------------------------- */

.track-totals {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border-light, #e9ecef);
}

.track-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  margin-bottom: 6px;
}

.track-total-row:last-child { margin-bottom: 0; }

.track-total-final {
  padding-top: 8px;
  border-top: 1px solid var(--border-light, #e9ecef);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary, #1a1a2e);
  margin-top: 6px;
}

.track-free { color: #198754; font-weight: 600; }
.track-discount-val { color: #198754; font-weight: 600; }

/* -- Help Section -------------------------------------------------------- */

.track-help-section { margin-top: 8px; }

.track-help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.track-help-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-light, #e9ecef);
  text-decoration: none;
  transition: all 0.25s;
}

.track-help-card:hover {
  border-color: var(--secondary, #e94560);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.track-hc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff5f7, #fce4ec);
  color: var(--secondary, #e94560);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.track-hc-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin-bottom: 4px;
}

.track-hc-desc {
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
}

/* -- Estimated Delivery -------------------------------------------------- */

.track-est {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  margin-bottom: 16px;
}

.track-est-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.track-est-info { flex: 1; }

.track-est-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted, #6c757d);
  margin-bottom: 2px;
}

.track-est-date {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
}

.track-est-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
  margin-top: 2px;
}

.track-est-badge {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  animation: trackBadgePulse 2s ease-in-out infinite;
}

@keyframes trackBadgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* -- Quick Actions ------------------------------------------------------- */

.track-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.track-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border-light, #e9ecef);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
  font-size: 0.8125rem;
}

.track-action:hover {
  border-color: var(--secondary, #e94560);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.track-action-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-light, #f8f9fa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary, #1a1a2e);
  flex-shrink: 0;
}

.track-action strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
}

.track-action span {
  font-size: 0.6875rem;
  color: var(--text-muted, #6c757d);
}

.track-action-text { flex: 1; min-width: 0; }

/* -- Toggle Switch ------------------------------------------------------- */

.track-toggle {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: var(--border, #dee2e6);
  position: relative;
  cursor: pointer;
  transition: background 0.25s;
  flex-shrink: 0;
}

.track-toggle.active { background: var(--secondary, #e94560); }

.track-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform 0.25s;
}

.track-toggle.active .track-toggle-knob { transform: translateX(18px); }

/* -- Map Placeholder ----------------------------------------------------- */

.track-map-card { padding: 0 !important; overflow: hidden; }

.track-map-placeholder {
  padding: 20px 24px;
  background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
}

.track-map-dots {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 8px;
}

.track-map-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.track-map-dot--start { background: #198754; }
.track-map-dot--end { background: var(--secondary, #e94560); }

.track-map-dot--truck {
  width: 28px;
  height: 28px;
  background: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: trackTruckMove 3s ease-in-out infinite;
  z-index: 2;
}

@keyframes trackTruckMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

.track-map-line {
  flex: 1;
  height: 2px;
  background: var(--border, #dee2e6);
}

.track-map-line--done { background: #8b5cf6; opacity: 0.4; }

.track-map-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-muted, #6c757d);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* -- Help Heading -------------------------------------------------------- */

.track-help-heading {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 24px;
}

/* -- Scroll Animations --------------------------------------------------- */

.to-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.to-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -- Carrier Info -------------------------------------------------------- */

.track-carrier {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  margin-bottom: 16px;
  border-left: 3px solid #8b5cf6;
}

.track-carrier-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #8b5cf615, #8b5cf608);
  color: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.track-carrier-info { flex: 1; }

.track-carrier-name {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--primary, #1a1a2e);
}

.track-carrier-id {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
  margin-top: 2px;
}

.track-carrier-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--primary, #1a1a2e);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.track-carrier-link:hover { background: var(--secondary, #e94560); color: #fff; }

/* -- What's Next --------------------------------------------------------- */

.track-whats-next {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  margin-bottom: 20px;
}

.track-wn-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 20px;
}

.track-wn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.track-wn-card {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: 10px;
  background: var(--bg-light, #f8f9fa);
  transition: transform 0.2s;
}

.track-wn-card:hover { transform: translateY(-2px); }

.track-wn-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary, #1a1a2e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.track-wn-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin-bottom: 4px;
}

.track-wn-text p {
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.5;
  margin: 0;
}

/* -- Delivery Instructions ----------------------------------------------- */

.track-instructions { padding: 0; }

.track-instr-text {
  font-size: 0.875rem;
  color: var(--primary, #1a1a2e);
  line-height: 1.5;
  margin: 0;
}

.track-instr-text--muted {
  color: var(--text-muted, #6c757d);
  font-style: italic;
}

.track-instr-hint {
  font-size: 0.6875rem;
  color: var(--text-muted, #6c757d);
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--border-light, #e9ecef);
}

/* -- Post-Delivery Feedback ---------------------------------------------- */

.track-feedback {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  margin-bottom: 20px;
}

.track-fb-header { margin-bottom: 20px; }

.track-fb-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 6px;
}

.track-fb-header p {
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
  margin: 0;
}

.track-fb-rating { margin-bottom: 20px; }

.track-fb-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin-bottom: 8px;
}

.track-fb-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.track-fb-star {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--border, #dee2e6);
  transition: color 0.15s, transform 0.15s;
}

.track-fb-star:hover { transform: scale(1.15); }
.track-fb-star.active { color: #f59e0b; }

.track-fb-val {
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
  margin-left: 8px;
}

.track-fb-form { margin-top: 16px; }

.track-fb-row { margin-bottom: 16px; }

.track-fb-label-sm {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.track-fb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.track-fb-tag {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-light, #e9ecef);
  background: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted, #6c757d);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}

.track-fb-tag:hover { border-color: var(--secondary, #e94560); color: var(--secondary, #e94560); }
.track-fb-tag.active { background: var(--secondary, #e94560); color: #fff; border-color: var(--secondary, #e94560); }

.track-fb-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light, #e9ecef);
  border-radius: 10px;
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--primary, #1a1a2e);
  resize: vertical;
  transition: border-color 0.2s;
}

.track-fb-textarea:focus { outline: none; border-color: var(--secondary, #e94560); }

.track-fb-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  background: var(--primary, #1a1a2e);
  color: #fff;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.2s;
}

.track-fb-submit:hover { background: var(--secondary, #e94560); }

.track-fb-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: 10px;
  background: rgba(25,135,87,0.06);
  font-size: 0.875rem;
  font-weight: 600;
  color: #198754;
}

/* -- Related Resources --------------------------------------------------- */

.track-related { margin-bottom: 20px; }

.track-related-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 16px;
}

.track-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.track-related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.track-related-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

.track-rc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.track-related-card strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  margin-bottom: 2px;
}

.track-related-card span {
  font-size: 0.6875rem;
  color: var(--text-muted, #6c757d);
}

/* -- How Tracking Works -------------------------------------------------- */

.track-how {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  margin-bottom: 24px;
  overflow: hidden;
}

.track-how .track-how-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 6px;
  padding: 0;
  line-height: 1.4;
}

.track-how .track-how-sub {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted, #6c757d);
  margin: 0 0 32px;
  line-height: 1.5;
}

.track-how .track-how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.track-how .track-how-step {
  flex: 1;
  text-align: center;
  padding: 0 12px;
}

.track-how .track-how-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary, #1a1a2e), #16213e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(26,26,46,0.2);
  line-height: 1;
}

.track-how .track-how-content {
  min-height: 80px;
}

.track-how .track-how-content h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 6px;
  padding: 0;
  line-height: 1.4;
}

.track-how .track-how-content p {
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

.track-how .track-how-connector {
  width: 40px;
  height: 2px;
  background: var(--border, #dee2e6);
  margin-top: 26px;
  flex-shrink: 0;
}

/* -- FAQ Accordion (Track Page) ------------------------------------------ */

.track-faq {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  margin-bottom: 24px;
  overflow: hidden;
}

.track-faq .track-faq-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  margin: 0 0 24px;
  padding: 0;
  line-height: 1.4;
}

.track-faq .track-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.track-faq .track-faq-item {
  border: 1px solid var(--border-light, #e9ecef);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.track-faq .track-faq-item:hover { border-color: #c5c9d0; }
.track-faq .track-faq-item.open { border-color: var(--secondary, #e94560); }

.track-faq .track-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary, #1a1a2e);
  text-align: left;
  line-height: 1.5;
}

.track-faq .track-faq-q:hover { background: var(--bg-light, #f8f9fa); }

.track-faq .track-faq-chevron {
  transition: transform 0.3s;
  color: var(--text-muted, #6c757d);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.track-faq .track-faq-item.open .track-faq-chevron {
  transform: rotate(180deg);
  color: var(--secondary, #e94560);
}

.track-faq .track-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.track-faq .track-faq-item.open .track-faq-a {
  max-height: 300px;
}

.track-faq .track-faq-a p {
  padding: 4px 20px 16px;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-muted, #6c757d);
  margin: 0;
  border-top: 1px solid var(--border-light, #e9ecef);
  padding-top: 12px;
}

/* -- Stats Banner -------------------------------------------------------- */

.track-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--primary, #1a1a2e), #16213e);
  border-radius: 14px;
  margin-bottom: 24px;
}

.track-stat {
  text-align: center;
  padding: 0 28px;
}

.track-stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.track-stat-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.track-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* -- Responsive --------------------------------------------------------- */

@media (max-width: 991.98px) {
  .track-content-grid { grid-template-columns: 1fr; }
  .track-hero-meta { gap: 16px; }
  .track-how .track-how-steps { flex-direction: column; align-items: center; gap: 0; }
  .track-how .track-how-connector { width: 2px; height: 24px; margin: 0 auto; }
  .track-wn-grid { grid-template-columns: 1fr; }
  .track-related-grid { grid-template-columns: 1fr; }
  .track-stats { flex-wrap: wrap; gap: 16px; }
  .track-stat-divider { display: none; }
  .track-stat { padding: 8px 16px; min-width: 40%; }
}

@media (max-width: 767.98px) {
  .to-hero { padding: 50px 0 40px; }
  .to-hero-title { font-size: 1.875rem; }

  .track-search-fields { flex-direction: column; gap: 0; }
  .track-divider { width: 100%; height: 1px; margin: 0; }
  .track-field-icon { top: 14px; transform: none; }
  .track-input { padding-left: 42px; }

  .track-search-inner { flex-direction: column; gap: 12px; }
  .track-btn { width: 100%; padding: 12px; }

  .track-hero-card { flex-direction: column; text-align: center; padding: 24px 20px; }
  .track-hero-left { flex-direction: column; }
  .track-hero-meta { justify-content: center; }

  .track-progress-steps { gap: 4px; }
  .track-ps-label { font-size: 0.5rem; }

  .track-est { flex-direction: column; text-align: center; padding: 16px; }
  .track-est-badge { align-self: center; }

  .track-actions { flex-direction: column; }
  .track-action { width: 100%; justify-content: flex-start; }

  .track-help-grid { grid-template-columns: repeat(2, 1fr); }

  .track-carrier { flex-direction: column; text-align: center; padding: 16px; }
  .track-carrier-link { align-self: center; }

  .track-how { padding: 20px; }
  .track-how .track-how-step { padding: 16px 0; }
  .track-how .track-how-connector { width: 100%; height: 2px; }

  .track-faq { padding: 20px; }

  .track-feedback { padding: 20px; }
  .track-fb-stars { flex-wrap: wrap; }

  .track-stats { padding: 20px 16px; }
}

@media (max-width: 575.98px) {
  .to-hero-title { font-size: 1.625rem; }
  .track-hero-title { font-size: 1.125rem; }
  .track-hero-meta { flex-wrap: wrap; gap: 12px; }
  .track-help-grid { grid-template-columns: 1fr 1fr; }
}

/* -- Print Styles ------------------------------------------------------- */

@media print {
  .sp-header, .sp-footer, .to-hero, .track-search, .track-actions, .track-side-help, .track-map-card, .track-help-section { display: none !important; }
  .track-wrap { max-width: 100%; }
  .track-content-grid { grid-template-columns: 1fr; }
  .track-hero-card { border: 1px solid #ddd; }
}
