:root {
  /* Primary — Eggplant (Maracuja deep background) */
  --shop-primary: #3b1e2b;
  --shop-primary-mid: #4f2a3c;
  --shop-primary-light: #6b3a52;

  /* Accent — Pink (Maracuja brand accent) */
  --shop-accent: #d4848f;
  --shop-accent-dark: #b5626d;
  --shop-accent-light: #f5dde0;
  --shop-accent-xlight: #fdf5f6;

  /* Gold — secondary accent */
  --shop-gold: #e3b423;
  --shop-gold-light: #f0c94a;
  --shop-gold-pale: #f2d974;

  /* Supporting tones */
  --shop-coral: #c0392b;
  --shop-emerald: #2ecc71;
  --shop-sky: #3498db;

  /* Neutrals */
  --shop-bg-body: #faf7f5;
  --shop-bg-white: #ffffff;
  --shop-bg-light: #f4ede8;
  --shop-bg-card: #ffffff;
  --shop-bg-cream: #f4ede8;

  /* Text */
  --shop-text-dark: #3b1e2b;
  --shop-text-body: #4a3d42;
  --shop-text-muted: #9b8a8f;
  --shop-text-light: #c4b0b5;

  /* Border */
  --shop-border: rgba(59, 30, 43, 0.12);
  --shop-border-light: rgba(59, 30, 43, 0.07);

  /* Shadows */
  --shop-shadow-xs: 0 1px 4px rgba(59, 30, 43, .06);
  --shop-shadow-sm: 0 4px 16px rgba(59, 30, 43, .10), 0 2px 6px rgba(0, 0, 0, .04);
  --shop-shadow-md: 0 8px 32px rgba(59, 30, 43, .12), 0 4px 12px rgba(0, 0, 0, .05);
  --shop-shadow-lg: 0 20px 56px rgba(59, 30, 43, .15), 0 8px 24px rgba(0, 0, 0, .06);
  --shop-shadow-gold: 0 0 24px rgba(227, 180, 35, 0.35);

  --shop-radius: 4px;
  --shop-radius-sm: 4px;
  --shop-radius-pill: 4px;
  --shop-ease: cubic-bezier(.4, 0, .2, 1);
  --shop-transition: 0.28s var(--shop-ease);
}

/* ═══════════════════════════════════════════════════════════
   BREADCRUMB BAR
   ═══════════════════════════════════════════════════════════ */
.shop-breadcrumb {
  background: var(--shop-bg-light);
  border-bottom: 1px solid var(--shop-border-light);
  padding: 14px 0;
  margin-top: var(--header-total, 120px);
}

.shop-breadcrumb .breadcrumb {
  margin: 0;
  font-size: 0.83rem;
}

.shop-breadcrumb .breadcrumb-item a {
  color: var(--shop-accent-dark);
  font-weight: 600;
}

.shop-breadcrumb .breadcrumb-item.active {
  color: var(--shop-text-muted);
}

.shop-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: var(--shop-text-muted);
  content: "/";
}

/* ═══════════════════════════════════════════════════════════
   SHOP PAGE HERO BANNER
   ═══════════════════════════════════════════════════════════ */
.shop-hero {
  background: linear-gradient(135deg, var(--shop-primary) 0%, var(--shop-primary-mid) 60%, var(--shop-primary-light) 100%);
  color: #fff;
  padding: 180px 0 56px;
  position: relative;
  overflow: hidden;
}

.bg-cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.bg-cover img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.bg-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #333333b8;
}

.shop-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 132, 143, .18) 0%, transparent 70%);
  pointer-events: none;
}

.shop-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(227, 180, 35, .12) 0%, transparent 70%);
  pointer-events: none;
}

.shop-hero__eyebrow {
  display: inline-block;
  background: rgba(212, 132, 143, .2);
  border: 1px solid rgba(212, 132, 143, .4);
  color: var(--shop-accent);
  padding: 5px 16px;
  border-radius: var(--shop-radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.shop-hero__title {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 12px;
}

.shop-hero__title span {
  color: var(--shop-gold);
}

.shop-hero__sub {
  color: rgba(255, 255, 255, .75);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════ */
.shop-section-badge {
  display: inline-block;
  background: var(--shop-accent-light);
  color: var(--shop-accent-dark);
  border: 1.5px solid rgba(181, 98, 109, .25);
  padding: 5px 16px;
  border-radius: var(--shop-radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 12px;
}

.shop-section-header h2 {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--shop-text-dark);
  margin-bottom: 10px;
}

.shop-section-header p {
  color: var(--shop-text-muted);
  font-size: 0.95rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   FILTER BUTTONS
   ═══════════════════════════════════════════════════════════ */
.products-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--shop-radius-pill);
  border: 1.5px solid var(--shop-border);
  background: var(--shop-bg-white);
  color: var(--shop-text-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--shop-transition);
  font-family: var(--font-body, 'DM Sans', sans-serif);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--shop-primary);
  color: #fff;
  border-color: var(--shop-primary);
  box-shadow: var(--shop-shadow-sm);
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════════════════════════ */
.product-card {
  background: var(--shop-bg-card);
  border-radius: var(--shop-radius);
  overflow: hidden;
  border: 1.5px solid rgba(59, 30, 43, .09);
  transition: var(--shop-transition);
  position: relative;
  box-shadow: var(--shop-shadow-xs);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shop-shadow-md);
  border-color: rgba(212, 132, 143, .35);
}

.product-item {
  transition:
    opacity 220ms var(--shop-ease),
    transform 220ms var(--shop-ease);
  will-change: opacity, transform;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.product-item.is-hiding {
  opacity: 0;
  transform: translateY(8px) scale(0.97);
}

.product-item.is-showing {
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  transition: none;
}

.product-item.hidden {
  display: none;
}

/* Badges */
.prod-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-mid));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--shop-radius-pill);
  letter-spacing: .3px;
}

.prod-badge.new-badge {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
}

.prod-badge.hot-badge {
  background: linear-gradient(135deg, var(--shop-gold), var(--shop-gold-light));
  color: var(--shop-primary);
}

/* Image wrap */
.prod-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--shop-bg-light);
}

.prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--shop-ease);
}

.product-card:hover .prod-img-wrap img {
  transform: scale(1.07);
}

/* Hover actions */
.prod-actions {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  opacity: 0;
  transition: var(--shop-transition);
  background: rgba(59, 30, 43, .28);
}

.product-card:hover .prod-actions {
  opacity: 1;
}

.prod-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--shop-bg-white);
  color: var(--shop-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--shop-transition);
  box-shadow: var(--shop-shadow-sm);
  text-decoration: none;
}

.prod-action-btn:hover {
  background: var(--shop-accent);
  color: #fff;
}

.prod-action-btn.wishlist-btn.active {
  background: #fee2e2;
  color: var(--shop-coral);
}

/* Product info */
.prod-info {
  padding: 14px 16px 16px;
}

.prod-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--shop-accent-dark);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.prod-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--shop-text-dark);
  margin: 5px 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
}


@media (max-width:991.9px) {
  .shop-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.prod-name a {
  color: inherit;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.prod-name a:hover {
  color: var(--shop-accent-dark);
}

.prod-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.prod-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--shop-primary);
  font-family: var(--font-body, 'DM Sans', sans-serif);
}

.prod-old-price {
  font-size: 0.8rem;
  color: var(--shop-text-light);
  text-decoration: line-through;
}

/* Add to cart button */
.btn-add-cart {
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--shop-radius-sm);
  background: var(--shop-primary);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--shop-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  letter-spacing: .3px;
}

.btn-add-cart:hover {
  background: var(--shop-primary-light);
  color: #fff;
  transform: translateY(-1px);
}

.btn-add-cart.adding {
  background: var(--shop-emerald);
}

/* View all button */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: var(--shop-radius-pill);
  border: 2px solid var(--shop-primary);
  color: var(--shop-primary);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--shop-transition);
  font-family: var(--font-body, 'DM Sans', sans-serif);
}

.btn-view-all:hover {
  background: var(--shop-primary);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   SIDEBAR FILTERS (shop page)
   ═══════════════════════════════════════════════════════════ */
.shop-sidebar {
  background: var(--shop-bg-white);
  border: 1.5px solid var(--shop-border-light);
  border-radius: var(--shop-radius);
  padding: 24px;
  box-shadow: var(--shop-shadow-xs);
  position: sticky;
  top: calc(var(--header-total, 120px) + 20px);
}

.shop-sidebar__title {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 1.4rem;
  letter-spacing: .04em;
  color: var(--shop-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--shop-border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-filter-group {
  margin-bottom: 24px;
}

.shop-filter-group__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--shop-text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Category filter pills */
.shop-cat-pills {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shop-cat-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--shop-radius-sm);
  cursor: pointer;
  transition: var(--shop-transition);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--shop-text-body);
  border: none;
  background: none;
  text-align: left;
  width: 100%;
  font-family: var(--font-body, 'DM Sans', sans-serif);
}

.shop-cat-pill:hover {
  background: var(--shop-accent-light);
  color: var(--shop-accent-dark);
}

.shop-cat-pill.active {
  background: var(--shop-primary);
  color: #fff;
}

.shop-cat-pill__count {
  font-size: 0.72rem;
  opacity: .65;
  background: rgba(255, 255, 255, .2);
  padding: 1px 6px;
  border-radius: 20px;
}

.shop-cat-pill.active .shop-cat-pill__count {
  background: rgba(255, 255, 255, .25);
  opacity: 1;
}

/* Price range */
.price-range-wrap {
  padding: 4px 0;
}

.price-range-input {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  background: linear-gradient(to right, var(--shop-accent) 0%, var(--shop-accent) 70%, var(--shop-border) 70%);
  border-radius: 2px;
  outline: none;
  margin-bottom: 12px;
  cursor: pointer;
}

.price-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--shop-primary);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(59, 30, 43, .3);
  cursor: pointer;
}

.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--shop-text-muted);
  font-weight: 600;
}

/* Sort select */
.shop-sort-select {
  width: 100%;
  padding: 9px 14px;
  border-radius: var(--shop-radius-sm);
  border: 1.5px solid var(--shop-border);
  background: var(--shop-bg-white);
  color: var(--shop-text-body);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--shop-transition);
  font-family: var(--font-body, 'DM Sans', sans-serif);
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%239b8a8f' stroke-width='1.5' stroke-linecap='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.shop-sort-select:focus {
  outline: none;
  border-color: var(--shop-accent);
}

/* Results count */
.shop-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-results-count {
  font-size: 0.85rem;
  color: var(--shop-text-muted);
  font-weight: 600;
}

.shop-results-count span {
  color: var(--shop-primary);
  font-weight: 800;
}

/* ═══════════════════════════════════════════════════════════
   CART DRAWER
   ═══════════════════════════════════════════════════════════ */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(59, 30, 43, .55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--shop-ease);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 95vw;
  height: 100vh;
  z-index: 2001;
  background: var(--shop-bg-white);
  box-shadow: -8px 0 48px rgba(59, 30, 43, .22);
  transition: right .38s var(--shop-ease);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cart-drawer-header {
  padding: 20px 22px;
  border-bottom: 1.5px solid var(--shop-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--shop-primary);
  flex-shrink: 0;
}

.cart-drawer-header h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  letter-spacing: .06em;
  font-size: 1.3rem;
}

#closeCart {
  width: 36px;
  height: 36px;
  border-radius: var(--shop-radius-sm);
  border: 1.5px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .9);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--shop-transition);
  line-height: 1;
}

#closeCart:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-drawer-body::-webkit-scrollbar {
  width: 4px;
}

.cart-drawer-body::-webkit-scrollbar-thumb {
  background: var(--shop-accent);
  border-radius: 4px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  margin-bottom: 10px;
  background: var(--shop-bg-body);
  border-radius: var(--shop-radius-sm);
  border: 1.5px solid var(--shop-border-light);
  align-items: flex-start;
}

.cart-item-image {
  width: 72px;
  height: 72px;
  border-radius: var(--shop-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--shop-bg-light);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-details h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--shop-text-dark);
  margin-bottom: 4px;
  line-height: 1.3;
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
}

.cart-item-details h4 a {
  color: inherit;
}

.cart-item-details h4 a:hover {
  color: var(--shop-accent-dark);
}

.variant-info {
  font-size: 0.75rem;
  color: var(--shop-text-muted);
  line-height: 1.6;
  margin-bottom: 6px;
}

.cart-item-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--shop-primary);
  margin-bottom: 8px;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--shop-radius-sm);
  border: 1.5px solid var(--shop-border);
  background: var(--shop-bg-white);
  color: var(--shop-text-body);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--shop-transition);
  font-family: var(--font-body, 'DM Sans', sans-serif);
}

.qty-btn:hover {
  border-color: var(--shop-accent);
  color: var(--shop-accent-dark);
  background: var(--shop-accent-light);
}

.qty {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--shop-text-dark);
  min-width: 20px;
  text-align: center;
}

.remove-item {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--shop-coral);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--shop-transition);
  font-family: var(--font-body, 'DM Sans', sans-serif);
}

.remove-item:hover {
  color: #c0392b;
}

.cart-drawer-footer {
  padding: 16px 22px;
  border-top: 1.5px solid var(--shop-border-light);
  background: var(--shop-bg-white);
  flex-shrink: 0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cart-total span:first-child {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--shop-text-muted);
}

#cartTotal {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--shop-primary);
}

.checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: var(--shop-radius-sm);
  background: var(--shop-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.97rem;
  transition: var(--shop-transition);
  box-shadow: 0 6px 20px rgba(59, 30, 43, .3);
  font-family: var(--font-body, 'DM Sans', sans-serif);
  letter-spacing: .3px;
  text-decoration: none;
}

.checkout-btn:hover {
  color: #fff;
  background: var(--shop-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(59, 30, 43, .4);
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT DETAILS PAGE
   ═══════════════════════════════════════════════════════════ */
.pd-section {
  padding-top: 30px;
  padding-bottom: 60px;
}

.pd-gallery {
  position: sticky;
  top: calc(var(--header-total, 120px) + 20px);
}

.pdMainSwiper {
  border-radius: var(--shop-radius);
  overflow: hidden;
  margin-bottom: 12px;
  height: 480px;
  background: var(--shop-bg-light);
  box-shadow: var(--shop-shadow-md);
}

.pdMainSwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.55s cubic-bezier(.2, .8, .2, 1);
}

.pdMainSwiper .swiper-slide-active img {
  transform: scale(1.03);
}

.pdThumbSwiper {
  padding: 2px 2px 4px;
}

.pdThumbSwiper .swiper-slide {
  border-radius: var(--shop-radius-sm);
  overflow: hidden;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  height: 82px !important;
  background: var(--shop-bg-light);
  opacity: 0.72;
}

.pdThumbSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdThumbSwiper .swiper-slide:hover {
  opacity: 1;
  border-color: rgba(212, 132, 143, .45);
}

.pdThumbSwiper .swiper-slide-thumb-active {
  border-color: var(--shop-accent);
  opacity: 1;
  box-shadow: 0 4px 14px rgba(212, 132, 143, .3);
}

.pd-next,
.pd-prev {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  border: 1.5px solid var(--shop-border);
  color: var(--shop-text-body);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--shop-transition);
  backdrop-filter: blur(4px);
}

.pd-next:hover,
.pd-prev:hover {
  background: var(--shop-accent);
  color: #fff;
  border-color: var(--shop-accent);
  transform: scale(1.08);
}

.pd-next::after,
.pd-prev::after {
  display: none;
}

.pd-title {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--shop-text-dark);
  margin-bottom: 10px;
  line-height: 1.1;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--shop-radius-pill);
  margin-bottom: 14px;
}

.stock-badge.in-stock {
  background: #dcfce7;
  color: #166534;
}

.stock-badge.low-stock {
  background: #fef3c7;
  color: #92400e;
}

.pd-price {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  background: var(--shop-bg-light);
  border-radius: var(--shop-radius);
  padding: 14px 18px;
  border: 1.5px solid var(--shop-border-light);
  justify-content: space-between;
}

.pd-price .current {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--shop-primary);
}

.pd-price .original {
  font-size: 1rem;
  color: var(--shop-text-light);
  text-decoration: line-through;
}

.pd-price .discount {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: var(--shop-emerald);
  padding: 4px 12px;
  border-radius: var(--shop-radius-pill);
}

.pd-divider {
  border: none;
  border-top: 1.5px solid var(--shop-border-light);
  margin: 20px 0;
}

.pd-filter-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--shop-text-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-filter-label span {
  color: var(--shop-text-muted);
  font-weight: 600;
}

.color-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.color-swatch {
  width: 34px;
  height: 34px;
  border-radius: var(--shop-radius-sm);
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.color-swatch::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 2px;
  opacity: 0;
  background: rgba(255, 255, 255, .25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
  transition: opacity 0.2s ease;
}

.color-swatch:hover {
  transform: scale(1.15);
}

.color-swatch.active {
  border-color: var(--shop-accent);
  transform: scale(1.12);
  box-shadow: 0 0 0 3px rgba(212, 132, 143, .3), 0 4px 10px rgba(0, 0, 0, .2);
}

.color-swatch.active::after {
  opacity: 1;
}

.size-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.size-btn {
  min-width: 46px;
  padding: 8px 14px;
  border-radius: var(--shop-radius-sm);
  border: 1.5px solid var(--shop-border);
  background: var(--shop-bg-white);
  color: var(--shop-text-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--shop-transition);
  font-family: var(--font-body, 'DM Sans', sans-serif);
}

.size-btn:hover,
.size-btn.active {
  border-color: var(--shop-primary);
  background: var(--shop-primary);
  color: #fff;
}

.size-btn.unavailable {
  opacity: .4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.pd-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--shop-border);
  border-radius: var(--shop-radius-sm);
  overflow: hidden;
}

.pd-qty-ctrl button {
  width: 40px;
  height: 44px;
  border: none;
  background: var(--shop-bg-light);
  color: var(--shop-text-dark);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--shop-transition);
  font-family: var(--font-body, 'DM Sans', sans-serif);
}

.pd-qty-ctrl button:hover {
  background: var(--shop-accent-light);
  color: var(--shop-accent-dark);
}

#pdQtyDisplay {
  min-width: 40px;
  text-align: center;
  font-weight: 900;
  font-size: 1rem;
  color: var(--shop-text-dark);
}

.btn-pd-cart {
  flex: 1;
  padding: 13px 22px;
  border-radius: var(--shop-radius-sm);
  background: var(--shop-primary);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--shop-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
}

.btn-pd-cart:hover {
  background: var(--shop-primary-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shop-shadow-md);
}

.btn-pd-wish {
  width: 50px;
  height: 50px;
  border-radius: var(--shop-radius-sm);
  border: 1.5px solid var(--shop-border);
  background: var(--shop-bg-light);
  color: var(--shop-text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--shop-transition);
}

.btn-pd-wish:hover,
.btn-pd-wish.active {
  border-color: var(--shop-coral);
  background: #fee2e2;
  color: var(--shop-coral);
}

/* PD Tabs */
.pd-tabs {
  margin-top: 40px;
}

.pd-tab-btns {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--shop-border-light);
  margin-bottom: 24px;
}

.pd-tab-btn {
  padding: 10px 22px;
  background: none;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--shop-text-muted);
  cursor: pointer;
  position: relative;
  transition: var(--shop-transition);
  font-family: var(--font-body, 'DM Sans', sans-serif);
}

.pd-tab-btn.active {
  color: var(--shop-primary);
}

.pd-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--shop-accent);
}

.pd-tab-pane {
  display: none;
}

.pd-tab-pane.active {
  display: block;
}

/* Description box */
.desc-about-box {
  background: var(--shop-bg-light);
  border-radius: var(--shop-radius);
  border: 1.5px solid var(--shop-border-light);
  padding: 28px 30px;
}

.desc-about-title {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: var(--shop-text-dark);
  margin-bottom: 16px;
}

.desc-about-box p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--shop-text-body);
  margin-bottom: 14px;
}

.desc-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-top: 18px;
}

.desc-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--shop-text-body);
}

.desc-feature-item i {
  color: var(--shop-accent-dark);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Related products */
.related-section {
  padding: 60px 0;
  background: var(--shop-bg-light);
}

.relatedSwiper {
  padding-bottom: 10px;
  overflow: hidden;
}

.relatedSwiper .swiper-wrapper {
  align-items: stretch;
}

.relatedSwiper .swiper-slide {
  height: auto;
  display: flex;
}

.relatedSwiper .product-card {
  width: 100%;
  height: 100%;
}

.related-btn-next,
.related-btn-prev {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 132, 143, .3);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shop-shadow-sm);
  color: var(--shop-primary);
  transition: var(--shop-transition);
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
}

.related-btn-next::after,
.related-btn-prev::after {
  display: none;
}

.related-btn-next:hover,
.related-btn-prev:hover {
  background: var(--shop-accent);
  color: #fff;
  border-color: var(--shop-accent);
}

/* ═══════════════════════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════════════════════ */
.cart-page-section {
  padding: 40px 0 80px;
  min-height: 60vh;
}

.cart-page-table {
  background: var(--shop-bg-white);
  border-radius: var(--shop-radius);
  border: 1.5px solid var(--shop-border-light);
  overflow: hidden;
  box-shadow: var(--shop-shadow-xs);
}

.cart-table-head {
  background: var(--shop-primary);
  color: #fff;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 80px 1fr 120px 120px 120px 50px;
  gap: 12px;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.cart-table-row {
  display: grid;
  grid-template-columns: 80px 1fr 120px 120px 120px 50px;
  gap: 12px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--shop-border-light);
  transition: background .2s;
}

.cart-table-row:last-child {
  border-bottom: none;
}

.cart-table-row:hover {
  background: var(--shop-bg-body);
}

.cart-page-img {
  width: 70px;
  height: 70px;
  border-radius: var(--shop-radius-sm);
  overflow: hidden;
  background: var(--shop-bg-light);
  flex-shrink: 0;
}

.cart-page-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-page-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--shop-text-dark);
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  margin-bottom: 4px;
}

.cart-page-name a {
  color: inherit;
}

.cart-page-name a:hover {
  color: var(--shop-accent-dark);
}

.cart-page-variant {
  font-size: 0.75rem;
  color: var(--shop-text-muted);
}

.cart-page-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--shop-primary);
}

.cart-page-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--shop-border);
  border-radius: var(--shop-radius-sm);
  overflow: hidden;
  width: fit-content;
}

.cart-page-qty-ctrl button {
  width: 32px;
  height: 36px;
  border: none;
  background: var(--shop-bg-light);
  color: var(--shop-text-dark);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--shop-transition);
}

.cart-page-qty-ctrl button:hover {
  background: var(--shop-accent-light);
  color: var(--shop-accent-dark);
}

.cart-page-qty-ctrl span {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.cart-page-subtotal {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--shop-primary);
}

.cart-page-remove {
  width: 34px;
  height: 34px;
  border-radius: var(--shop-radius-sm);
  border: 1.5px solid rgba(192, 57, 43, .3);
  background: rgba(192, 57, 43, .06);
  color: var(--shop-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--shop-transition);
  font-size: 0.85rem;
}

.cart-page-remove:hover {
  background: #fee2e2;
  border-color: var(--shop-coral);
}

/* Cart Summary */
.cart-summary-box {
  background: var(--shop-bg-white);
  border-radius: var(--shop-radius);
  border: 1.5px solid var(--shop-border-light);
  padding: 24px;
  box-shadow: var(--shop-shadow-sm);
  position: sticky;
  top: calc(var(--header-total, 120px) + 20px);
}

.cart-summary-title {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 1.6rem;
  letter-spacing: .04em;
  color: var(--shop-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--shop-border-light);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
}

.cart-summary-row.cart-summary-total {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--shop-primary);
  border-top: 1.5px solid var(--shop-border-light);
  margin-top: 8px;
  padding-top: 14px;
}

.cart-summary-row span:first-child {
  color: var(--shop-text-muted);
}

.cart-summary-row span:last-child {
  font-weight: 700;
  color: var(--shop-text-dark);
}

.cart-summary-row.cart-summary-total span {
  color: var(--shop-primary);
}

.coupon-row {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.coupon-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--shop-radius-sm);
  border: 1.5px solid var(--shop-border);
  font-size: 0.88rem;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  color: var(--shop-text-dark);
  background: var(--shop-bg-body);
  transition: var(--shop-transition);
}

.coupon-input:focus {
  outline: none;
  border-color: var(--shop-accent);
}

.coupon-btn {
  padding: 10px 16px;
  border-radius: var(--shop-radius-sm);
  border: 1.5px solid var(--shop-primary);
  background: var(--shop-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--shop-transition);
  font-family: var(--font-body, 'DM Sans', sans-serif);
}

.coupon-btn:hover {
  background: var(--shop-primary-light);
  border-color: var(--shop-primary-light);
}

.btn-checkout-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  border-radius: var(--shop-radius-sm);
  background: var(--shop-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--shop-transition);
  box-shadow: 0 6px 20px rgba(59, 30, 43, .3);
  text-decoration: none;
  margin-top: 16px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  letter-spacing: .3px;
}

.btn-checkout-full:hover {
  color: #fff;
  background: var(--shop-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(59, 30, 43, .4);
}

.btn-continue-shopping {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: var(--shop-radius-sm);
  border: 1.5px solid var(--shop-border);
  color: var(--shop-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--shop-transition);
  text-decoration: none;
  margin-top: 10px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
}

.btn-continue-shopping:hover {
  border-color: var(--shop-accent);
  color: var(--shop-accent-dark);
  background: var(--shop-accent-light);
}

/* Trust badges */
.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1.5px solid var(--shop-border-light);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--shop-text-muted);
}

.trust-badge i {
  color: var(--shop-accent-dark);
  font-size: 0.95rem;
  width: 18px;
  flex-shrink: 0;
}

/* Cart Nav icon button */
.cart-nav-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: var(--shop-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-eggplant, #3b1e2b);
  font-size: 1rem;
  background: rgba(59, 30, 43, .06);
  transition: var(--shop-transition);
  border: 1.5px solid rgba(59, 30, 43, .1);
  cursor: pointer;
  text-decoration: none;
}

.cart-nav-btn:hover {
  background: var(--shop-accent-light);
  color: var(--shop-accent-dark);
  border-color: var(--shop-accent);
}

.cart-nav-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--shop-coral);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
}

/* Search Overlay */
.shop-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--shop-ease);
}

.shop-search-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.shop-search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(59, 30, 43, .65);
  backdrop-filter: blur(6px);
}

.shop-search-overlay__box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  transition: transform .3s var(--shop-ease);
  width: 600px;
  max-width: 92vw;
  background: var(--shop-bg-white);
  border-radius: var(--shop-radius);
  box-shadow: var(--shop-shadow-lg);
  padding: 32px;
}

.shop-search-overlay.open .shop-search-overlay__box {
  transform: translate(-50%, -50%) scale(1);
}

.shop-search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--shop-border);
  border-radius: var(--shop-radius-sm);
  padding: 12px 16px;
  transition: border-color .2s;
}

.shop-search-field:focus-within {
  border-color: var(--shop-accent);
}

.shop-search-field i {
  color: var(--shop-text-muted);
  font-size: 1rem;
}

.shop-search-field input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--shop-text-dark);
  font-family: var(--font-body, 'DM Sans', sans-serif);
  background: transparent;
}

.shop-search-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--shop-border);
  background: var(--shop-bg-light);
  color: var(--shop-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--shop-transition);
}

.shop-search-close:hover {
  background: #fee2e2;
  color: var(--shop-coral);
  border-color: var(--shop-coral);
}

/* Responsive */
@media (max-width: 991px) {
  .pdMainSwiper {
    height: 360px;
  }

  .pdThumbSwiper .swiper-slide {
    height: 62px !important;
  }

  .cart-table-head {
    display: none;
  }

  .cart-table-row {
    grid-template-columns: 70px 1fr 80px 40px;
    grid-template-rows: auto auto;
  }
}

@media (max-width: 575px) {
  .pdMainSwiper {
    height: 280px;
    border-radius: 4px;
  }

  .pdThumbSwiper .swiper-slide {
    height: 54px !important;
  }

  .desc-features-grid {
    grid-template-columns: 1fr;
  }

  .pd-qty-row {
    flex-wrap: wrap;
  }

  .btn-pd-cart {
    min-width: 100%;
    order: 3;
  }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: var(--shop-radius-sm);
  background: var(--shop-primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .3s var(--shop-ease);
  box-shadow: var(--shop-shadow-md);
}

.scroll-top.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--shop-primary-light);
  transform: translateY(-2px);
}

.section-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  border: 1.5px solid rgba(240, 112, 16, .25);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 10px;
}


/* Product Detaisl Page */
.product-detaisl-page {
  margin-top: 130px;
}

.checkout-page,
.confirmation-page,
.wishlist-page,
.profile-page,
.change-password-page,
.orders-page,
.order-details-page {
  margin-top: 160px;
}

@media (max-width:991.9px) {

  .checkout-page,
  .confirmation-page,
  .wishlist-page,
  .profile-page,
  .change-password-page,
  .orders-page,
  .order-details-page {
    margin-top: 110px;
  }
}

.shopIcons a {
  color: #fff;
  transition: var(--shop-transition);
}

.shopIcons a:hover {
  color: var(--shop-accent) !important;
}

.shopIcons  i{
  font-size: 14px;
}