

        /* ── Reset & Variables ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }  /* ← add here */
    :root {
      --cream:        #F5F0E8;
      --ivory:        #FDFAF4;
      --charcoal:     #1C1C1E;
      --warm-gray:    #6B6560;
      --taupe:        #C4B8A8;
      --accent:       #B5541A;
      --accent-lt:    #E8C4A8;
      --white:        #FFFFFF;
      --border:       #E5DDD0;
      --success:      #2D7A4F;
      --success-bg:   #EAF5EE;
      --error:        #C0392B;
      --error-bg:     #FDEDEC;
      --font-display: 'Cormorant Garamond', serif;
      --font-body:    'DM Sans', sans-serif;
      --nav-h:        72px;
      --transition:   0.3s cubic-bezier(.4,0,.2,1);
      --radius:       16px;
    }

    html { scroll-behavior: smooth; }
    body { font-family: var(--font-body); background: var(--ivory); color: var(--charcoal); overflow-x: hidden; }
    img  { display: block; width: 100%; object-fit: cover; }
    a    { text-decoration: none; color: inherit; }
    ul   { list-style: none; }
    button { cursor: pointer; border: none; background: none; font-family: inherit; }

    /* ── Announcement ──────────────────────────────────────────── */
    .announcement {
      background: var(--charcoal); color: var(--cream);
      text-align: center; font-size: 12px; letter-spacing: .12em;
      text-transform: uppercase; padding: 10px 20px; font-weight: 500;
    }

    /* ── Navigation ────────────────────────────────────────────── */
    .nav {
      position: sticky; top: 0; z-index: 100;
      background: rgba(253,250,244,.92); backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border); height: var(--nav-h); display: flex; align-items: center;
    }
    .nav__inner {
      width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 40px;
      display: flex; align-items: center; justify-content: space-between; gap: 32px;
    }
    .nav__logo { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
    .nav__logo span { color: var(--accent); }
    .nav__links { display: flex; gap: 32px; align-items: center; }
    .nav__links a {
      font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
      color: var(--warm-gray); transition: color var(--transition); position: relative;
    }
    .nav__links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width var(--transition); }
    .nav__links a:hover { color: var(--charcoal); }
    .nav__links a:hover::after { width: 100%; }
    .nav__search {
      flex: 1; max-width: 280px; display: flex; align-items: center;
      background: var(--cream); border: 1px solid var(--border); border-radius: 100px; padding: 8px 16px; gap: 8px;
    }
    .nav__search input { flex: 1; border: none; background: none; font-family: var(--font-body); font-size: 13px; color: var(--charcoal); outline: none; }
    .nav__search input::placeholder { color: var(--taupe); }
    .nav__icons { display: flex; gap: 20px; align-items: center; }
    .nav__icon-btn { position: relative; color: var(--charcoal); transition: color var(--transition); display: flex; align-items: center; }
    .nav__icon-btn:hover { color: var(--accent); }
    .nav__icon-btn .badge {
      position: absolute; top: -6px; right: -8px; background: var(--accent); color: #fff;
      font-size: 9px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
    }

    /* ── Breadcrumb ────────────────────────────────────────────── */
    .breadcrumb {
      max-width: 1400px; margin: 0 auto; padding: 20px 40px 0;
      display: flex; align-items: center; gap: 8px;
      font-size: 12px; color: var(--warm-gray); letter-spacing: .04em;
    }
    .breadcrumb a { color: var(--warm-gray); transition: color var(--transition); }
    .breadcrumb a:hover { color: var(--charcoal); }
    .breadcrumb span { color: var(--taupe); }

    /* ── Page Layout ────────────────────────────────────────────── */
    .page-layout {
      max-width: 1400px; margin: 0 auto; padding: 32px 40px 80px;
      display: grid; gap: 40px; align-items: start;
    }

    /* ── Sidebar / Filters ──────────────────────────────────────── */
    .sidebar {
      position: sticky; top: calc(var(--nav-h) + 20px);
      display: flex; flex-direction: column; gap: 24px;
    }

    .sidebar__section {
      background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
    }

    .sidebar__title {
      font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
      color: var(--charcoal); margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center;
    }

    .sidebar__clear {
      font-size: 10px; color: var(--accent); cursor: pointer; font-weight: 500; letter-spacing: .04em;
      text-transform: none; transition: opacity var(--transition);
    }
    .sidebar__clear:hover { opacity: .7; }

    /* Filter chip groups */
    .filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }

    .chip {
      display: inline-flex; align-items: center; gap: 5px;
      padding: 7px 14px; border-radius: 100px;
      border: 1.5px solid var(--border); background: var(--ivory);
      font-size: 12px; font-weight: 500; color: var(--warm-gray);
      cursor: pointer; transition: all var(--transition); user-select: none;
    }
    .chip:hover { border-color: var(--charcoal); color: var(--charcoal); }
    .chip.active { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
    .chip.active:hover { background: var(--accent); border-color: var(--accent); }

    /* Color chips */
    .color-chip {
      width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
      border: 2.5px solid transparent; transition: all var(--transition);
      position: relative;
    }
    .color-chip:hover { transform: scale(1.12); }
    .color-chip.active { border-color: var(--charcoal); outline: 2.5px solid var(--charcoal); outline-offset: 2px; }
    .color-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

    /* Price range */
    .price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .price-input-wrap { position: relative; }
    .price-input-wrap span {
      position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
      font-size: 13px; color: var(--warm-gray);
    }
    .price-input {
      width: 100%; padding: 10px 12px 10px 24px;
      border: 1.5px solid var(--border); border-radius: 10px;
      background: var(--ivory); font-family: var(--font-body); font-size: 13px;
      color: var(--charcoal); outline: none; transition: border-color var(--transition);
    }
    .price-input:focus { border-color: var(--charcoal); }

    .sidebar__apply {
      width: 100%; padding: 12px; border-radius: 100px;
      background: var(--charcoal); color: var(--white);
      font-family: var(--font-body); font-size: 12px; font-weight: 600;
      letter-spacing: .08em; text-transform: uppercase;
      cursor: pointer; transition: background var(--transition);
      margin-top: 14px;
    }
    .sidebar__apply:hover { background: var(--accent); }

    /* Sort select */
    .sort-select {
      width: 100%; padding: 10px 14px; border-radius: 10px;
      border: 1.5px solid var(--border); background: var(--ivory);
      font-family: var(--font-body); font-size: 13px; color: var(--charcoal);
      outline: none; cursor: pointer; transition: border-color var(--transition);
      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='%236B6560' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
      background-repeat: no-repeat; background-position: right 12px center;
    }
    .sort-select:focus { border-color: var(--charcoal); }

    /* Active filters summary */
    .active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
    .active-filter-tag {
      display: inline-flex; align-items: center; gap: 5px;
      background: var(--accent-lt); color: var(--accent);
      font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 100px;
      cursor: pointer; transition: all var(--transition);
    }
    .active-filter-tag:hover { background: var(--accent); color: var(--white); }
    .active-filter-tag svg { flex-shrink: 0; }

    /* ── Main Content ───────────────────────────────────────────── */
    .main-content { display: flex; flex-direction: column; gap: 40px; }

    /* ── Results bar ────────────────────────────────────────────── */
    .results-bar {
      display: flex; align-items: center; justify-content: space-between;
      padding-bottom: 20px; border-bottom: 1px solid var(--border);
    }
    .results-count { font-size: 13px; color: var(--warm-gray); }
    .results-count strong { color: var(--charcoal); font-weight: 600; }
    .view-toggle { display: flex; gap: 4px; }
    .view-btn {
      width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
      color: var(--warm-gray); border: 1.5px solid var(--border); background: var(--white);
      transition: all var(--transition); cursor: pointer;
    }
    .view-btn.active, .view-btn:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }

    /* ── Detail Card ────────────────────────────────────────────── */
    .detail-hero {
      display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
    }

    /* Image gallery */
    .gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery__main {
  border-radius: 20px;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 3 / 4;
  width: 100%;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  display: block;
  transition: transform .6s ease;
}
    .gallery__main:hover img { transform: scale(1.03); }
    .gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .gallery__thumb {
      border-radius: 10px; overflow: hidden; background: var(--cream); aspect-ratio: 1;
      cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition);
    }
    .gallery__thumb.active { border-color: var(--charcoal); }
    .gallery__thumb img { height: 100%; }

    /* Info panel */
    .info-panel { display: flex; flex-direction: column; gap: 24px; }

    .info__categories { display: flex; gap: 6px; flex-wrap: wrap; }
    .info__cat-tag {
      font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
      padding: 5px 12px; border-radius: 100px; background: var(--cream);
      color: var(--warm-gray); border: 1px solid var(--border);
    }

    .info__title {
      font-family: var(--font-display); font-size: clamp(28px, 3vw, 44px);
      font-weight: 600; line-height: 1.1; color: var(--charcoal);
    }

    .info__rating-row { display: flex; align-items: center; gap: 12px; }
    .stars { display: flex; gap: 2px; }
    .star { color: #F59E0B; font-size: 14px; }
    .star.empty { color: #E5DDD0; }
    .rating-score { font-size: 14px; font-weight: 600; color: var(--charcoal); }
    .rating-count { font-size: 13px; color: var(--warm-gray); }

    .info__price-block { display: flex; align-items: baseline; gap: 14px; }
    .info__new-price {
      font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--charcoal);
    }
    .info__old-price {
      font-size: 22px; color: var(--taupe); text-decoration: line-through;
    }
    .info__discount-badge {
      background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
      padding: 4px 10px; border-radius: 100px; letter-spacing: .04em;
    }

    /* Active discount banner */
    .discount-banner {
      background: var(--cream); border: 1px solid var(--accent-lt); border-radius: 12px;
      padding: 14px 18px; display: flex; align-items: center; gap: 12px;
    }
    .discount-banner-icon { font-size: 20px; }
    .discount-banner-text { font-size: 13px; color: var(--warm-gray); }
    .discount-banner-text strong { color: var(--accent); }

    /* Detail specs */
    .detail-specs {
      background: var(--cream); border-radius: 14px; padding: 20px;
      display: flex; flex-direction: column; gap: 12px;
    }
    .spec-row { display: flex; align-items: center; justify-content: space-between; }
    .spec-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--warm-gray); font-weight: 500; }
    .spec-value { font-size: 13px; font-weight: 600; color: var(--charcoal); }
    .spec-divider { height: 1px; background: var(--border); }

    /* Size / Color selectors */
    .selector-label {
      font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
      color: var(--charcoal); margin-bottom: 10px;
    }
    .size-grid { display: flex; flex-wrap: wrap; gap: 8px; }
    .size-btn {
      min-width: 48px; padding: 9px 14px; border-radius: 10px;
      border: 1.5px solid var(--border); background: var(--white);
      font-size: 12px; font-weight: 600; color: var(--warm-gray); cursor: pointer;
      transition: all var(--transition); text-align: center;
    }
    .size-btn:hover { border-color: var(--charcoal); color: var(--charcoal); }
    .size-btn.active { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
    .size-btn.out-of-stock { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

    /* CTA buttons */
    .cta-row { display: flex; gap: 12px; }
    .btn-add-cart {
      flex: 1; padding: 16px 24px; border-radius: 100px;
      background: var(--charcoal); color: var(--white);
      font-family: var(--font-body); font-size: 13px; font-weight: 700;
      letter-spacing: .1em; text-transform: uppercase;
      display: flex; align-items: center; justify-content: center; gap: 10px;
      transition: background var(--transition), transform var(--transition);
    }
    .btn-add-cart:hover { background: var(--accent); transform: translateY(-1px); }
    .btn-wishlist-lg {
      width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--border);
      background: var(--white); display: flex; align-items: center; justify-content: center;
      color: var(--warm-gray); transition: all var(--transition); flex-shrink: 0;
    }
    .btn-wishlist-lg:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
    .btn-wishlist-lg.active { background: var(--accent); border-color: var(--accent); color: var(--white); }

    /* Guarantees strip */
    .guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); border-radius: 12px; overflow: hidden; }
    .guarantee-item { background: var(--ivory); padding: 16px 14px; text-align: center; }
    .guarantee-item .ico { font-size: 18px; margin-bottom: 6px; }
    .guarantee-item p { font-size: 11px; color: var(--warm-gray); line-height: 1.4; }
    .guarantee-item strong { display: block; font-size: 12px; color: var(--charcoal); font-weight: 600; margin-bottom: 2px; }

    /* ── Tabs (Comments / Ratings) ──────────────────────────────── */
    .section-block { background: var(--white); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }

    /* Comment / review cards */
    .review-list { display: flex; flex-direction: column; gap: 20px; }

    .review-card {
      padding: 20px; background: var(--ivory); border-radius: 14px; border: 1px solid var(--border);
      display: flex; flex-direction: column; gap: 10px;
      animation: fadeSlide .3s ease both;
    }
    @keyframes fadeSlide { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

    .review-card__header { display: flex; align-items: center; justify-content: space-between; }
    .review-card__user { display: flex; align-items: center; gap: 10px; }
    .review-card__avatar {
      width: 36px; height: 36px; border-radius: 50%; background: var(--accent-lt);
      display: flex; align-items: center; justify-content: center;
      font-size: 14px; font-weight: 700; color: var(--accent); flex-shrink: 0;
    }
    .review-card__name { font-size: 13px; font-weight: 600; color: var(--charcoal); }
    .review-card__date { font-size: 11px; color: var(--taupe); margin-top: 1px; }
    .review-card__meta { text-align: right; }
    .review-card__rating { font-size: 13px; color: #F59E0B; letter-spacing: .06em; }
    .review-card__body { font-size: 14px; line-height: 1.65; color: var(--warm-gray); }

    /* Write review form */
    .review-form { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
    .review-form__title { font-size: 14px; font-weight: 600; color: var(--charcoal); }

/* ── Precise star picker ───────────────────────────────────── */
.star-picker {
  display: flex;
  gap: 4px;
  position: relative;
}

.star-pick {
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  position: relative;
  color: var(--border);
  transition: transform 0.15s ease;
  user-select: none;
  /* clip-path trick for partial fill */
}

.star-pick:hover {
  transform: scale(1.15);
}

/* The filled overlay — width is set via JS inline style */
.star-pick__fill {
  position: absolute;
  top: 0; left: 0;
  overflow: hidden;
  color: #F59E0B;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
  font-size: 32px;
}

.star-pick-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: 6px;
  min-height: 18px;
  transition: color 0.2s;
}


    textarea.form-input {
      width: 100%; min-height: 100px; padding: 14px 16px; resize: vertical;
      border: 1.5px solid var(--border); border-radius: 12px; background: var(--ivory);
      font-family: var(--font-body); font-size: 14px; color: var(--charcoal); outline: none;
      transition: border-color var(--transition);
    }
    textarea.form-input:focus { border-color: var(--charcoal); }

    .btn-submit {
      align-self: flex-start; padding: 12px 28px; border-radius: 100px;
      background: var(--charcoal); color: var(--white); font-family: var(--font-body);
      font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
      cursor: pointer; transition: background var(--transition);
    }
    .btn-submit:hover { background: var(--accent); }

    /* Toast notification */
    .toast {
      position: fixed; bottom: 28px; right: 28px; z-index: 9999;
      background: var(--charcoal); color: var(--white); font-size: 13px; font-weight: 500;
      padding: 14px 22px; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.2);
      transform: translateY(20px); opacity: 0; pointer-events: none;
      transition: all .35s cubic-bezier(.4,0,.2,1);
      display: flex; align-items: center; gap: 10px; max-width: 320px;
    }
    .toast.show { transform: translateY(0); opacity: 1; }
    .toast.success { background: var(--success); }
    .toast.error   { background: var(--error); }

    /* ── Discounts table ────────────────────────────────────────── */
    .discount-table { width: 100%; border-collapse: collapse; font-size: 13px; }
    .discount-table th {
      text-align: left; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
      color: var(--warm-gray); font-weight: 600; padding: 0 0 12px; border-bottom: 1px solid var(--border);
    }
    .discount-table td { padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--charcoal); vertical-align: middle; }
    .discount-table tr:last-child td { border-bottom: none; }
    .discount-pct {
      display: inline-block; background: var(--accent); color: #fff;
      font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px;
    }
    .discount-active { color: var(--success); font-weight: 600; font-size: 11px; }
    .discount-expired { color: var(--taupe); font-size: 11px; }

    /* ── Empty state ─────────────────────────────────────────────── */
    .empty-state {
      text-align: center; padding: 40px 20px; color: var(--warm-gray);
      display: flex; flex-direction: column; align-items: center; gap: 10px;
    }
    .empty-state-icon { font-size: 36px; opacity: .4; }
    .empty-state p { font-size: 14px; }

    /* ── Scrollbar ──────────────────────────────────────────────── */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--ivory); }
    ::-webkit-scrollbar-thumb { background: var(--taupe); border-radius: 3px; }

    /* ── Responsive ─────────────────────────────────────────────── */
    @media (max-width: 1024px) {
      .page-layout { grid-template-columns: 240px 1fr; gap: 28px; }
      .detail-hero { grid-template-columns: 1fr; }
    }
    @media (max-width: 860px) {
      .nav__links, .nav__search { display: none; }
      .page-layout { grid-template-columns: 1fr; padding: 20px; }
      .sidebar { position: static; }
      .breadcrumb { padding: 16px 20px 0; }
    }
        .btn-wishlist-lg {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    border: 1px solid #e5e7eb;

    background: white;

    cursor: pointer;

    transition: all 0.2s ease;
    position: relative;
}

/* hover */
.btn-wishlist-lg:hover {
    background: #f9fafb;
    transform: translateY(-1px);
    border-color: #d1d5db;
}

/* active click */
.btn-wishlist-lg:active {
    transform: scale(0.95);
}

/* icon styling */
.wishlist-icon {
    transition: fill 0.2s ease, stroke 0.2s ease;
}

/* saved state (toggle class from JS) */
.btn-wishlist-lg.active {
    background: #fee2e2;
    border-color: #fecaca;
}

.btn-wishlist-lg.active .wishlist-icon {
    fill: #ef4444;
    stroke: #ef4444;
}

/* ═══════════════════════════════════════
   PRODUCT BREADCRUMB
═══════════════════════════════════════ */

.breadcrumb--product {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;

  padding: 22px 40px 0;

  font-size: 13px;
}

.breadcrumb__link {
  color: var(--warm-gray);
  transition: color var(--transition);
}

.breadcrumb__link:hover {
  color: var(--charcoal);
}

.breadcrumb__sep {
  color: var(--taupe);
  font-size: 12px;
}

/* categories container */

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

/* luxury pills */

.breadcrumb__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 14px;

  border-radius: 999px;

  background: var(--white);
  border: 1px solid var(--border);

  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;

  color: var(--warm-gray);

  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.breadcrumb__pill:hover {
  background: var(--accent-lt);
  border-color: var(--accent-lt);
  color: var(--white);

  transform: translateY(-1px);
}

/* current product */

.breadcrumb__current {
  color: var(--accent-lt);
  font-weight: 600;

  font-family: var(--font-display);

  font-size: 15px;
}

/* mobile */

@media (max-width: 768px) {

  .breadcrumb--product {
    padding: 18px 20px 0;
    gap: 8px;
  }

  .breadcrumb__categories {
    gap: 6px;
  }

  .breadcrumb__pill {
    padding: 5px 12px;
    font-size: 10px;
  }

  .breadcrumb__current {
    width: 100%;
    margin-top: 4px;
  }
}

        .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 100px;
  background: var(--cream);
  color: var(--warm-gray);
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
  transition: background var(--transition), color var(--transition);
}
.tab-btn.active .tab-count {
  background: var(--charcoal);
  color: var(--white);
}

/* Rating summary */
.ratings-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.ratings-summary__score {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: var(--charcoal);
}
.ratings-summary__right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ratings-summary__label {
  font-size: 12px;
  color: var(--warm-gray);
}
.star.empty { color: var(--border); }

/* Bar breakdown */
.ratings-bars {
  width: 100%;
  margin-bottom: 20px;
}

.rating-bar-row {
  display: grid;
  grid-template-columns: 70px 1fr 50px;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.rating-bar-label {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
}

.rating-bar-track {
  width: 100%;
  height: 10px;
  background: #e5dfd7;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.rating-bar-fill {
  height: 100%;
  background: #f5a000;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.rating-bar-pct {
  font-size: 14px;
  color: #666;
  text-align: right;
  min-width: 40px;
}

/* Individual rating items */
.rating-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.rating-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.rating-item__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-lt);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rating-item__body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.rating-item__top { display: flex; align-items: center; gap: 10px; }
.rating-item__name { font-size: 13px; font-weight: 600; color: var(--charcoal); }
.rating-item__stars { font-size: 12px; }
.rating-item__date { font-size: 11px; color: var(--taupe); }
.rating-item__score {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--charcoal);
  flex-shrink: 0;
}

/* Submit rating block */
.submit-rating-block {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-sizing: border-box;
}

.submit-rating-block__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.submit-rating-block__sub {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
}

.star-picker {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.star-pick {
  font-size: 34px;
  cursor: pointer;
  color: #d6d6d6;
  transition: 0.2s ease;
  user-select: none;
}

.star-pick.active {
  color: #f5a000;
}

.star-pick:hover {
  transform: scale(1.08);
}

.star-pick-label {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: #777;
}

.btn-submit {
  width: 100%;
  max-width: 220px;
  display: block;
  margin: 16px auto 0;
}

/* Mobile */
@media (max-width: 600px) {
  .submit-rating-block {
    max-width: 100%;
    padding: 18px;
    border-radius: 12px;
  }

  .star-pick {
    font-size: 30px;
  }
}

/* Login nudge */
.login-nudge {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  color: var(--warm-gray);
}
.login-nudge a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

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

.star-precise {
  position: relative;
  font-size: 22px;
  line-height: 1;
  display: inline-block;
}

.star-precise__bg {
  color: var(--border);       /* empty star color */
}

.star-precise__fill {
  position: absolute;
  top: 0; left: 0;
  overflow: hidden;
  color: #F59E0B;             /* gold */
  white-space: nowrap;
  pointer-events: none;
  /* width is set inline per star */
}
/* ── Tabs ── */
.tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}

.tab-btn {
  flex: 1;
  padding: 16px 20px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--warm-gray);
  cursor: pointer;
  background: none; border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;           /* sits flush on the border */
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

.tab-btn:hover:not(.active) {
  color: var(--charcoal);
  background: rgba(0,0,0,.02);
}

.tab-btn.active {
  color: var(--charcoal);
  border-bottom-color: var(--accent);
  background: var(--white);
}

.tab-panel {
  display: none;
  padding: 28px;
}

.tab-panel.active {
  display: block;
}

.tab-count {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-width: 20px; height: 20px;
  padding: 0 6px; border-radius: 100px;
  background: var(--cream);
  color: var(--warm-gray);
  font-size: 11px; font-weight: 700;
  transition: background var(--transition), color var(--transition);
}

.tab-btn.active .tab-count {
  background: var(--accent);
  color: var(--white);
}

.brand-badge{
  display:inline-flex;
  align-items:center;
  padding:6px 14px;
  border-radius:999px;
  background:linear-gradient(135deg,#111,#2b2b2b);
  color:#fff;
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}

/* ── Item action buttons (edit / delete) ─── */
.item-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.item-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-gray);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.item-action-btn:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
  background: var(--cream);
}

.item-action-btn--delete:hover {
  border-color: var(--error);
  color: var(--error);
  background: var(--error-bg);
}

/* ── Inline edit forms ───────────────────── */
.edit-rating-form,
.edit-comment-form {
  margin-top: 8px;
  animation: fadeSlide .2s ease both;
}

.edit-form-inner {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.edit-form-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.edit-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-submit--sm {
  padding: 9px 22px;
  font-size: 11px;
  margin: 0;
  align-self: unset;
  width: auto;
  max-width: none;
  display: inline-flex;
}

.btn-cancel {
  padding: 9px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--warm-gray);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-cancel:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.form-input--edit {
  background: var(--white);
}

/* star lit state for edit picker */
.star-pick.lit {
  color: #F59E0B;
}


    .vs-wrap {
    max-width: 650px;
    padding: 28px 0 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
    .sr-only {
margin-left: 3px;
}
    .discount-banner {
margin-left: 1px;
        margin-top: 25px;
}
    #vsProgress {
margin-left: 5px;
}
    .vs-divider{
        margin-left: 5px;
    }

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

  .vs-field-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--warm-gray);
  }

  .vs-selected-val {
    font-size: 12px;
    font-weight: 600;
    color: var(--charcoal);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px 12px;
    transition: all .2s;
  }

  .vs-selected-val.set {
    background: var(--charcoal);
    color: #fff;
    border-color: var(--charcoal);
  }

  /* ── Color swatches ── */
  .color-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .color-swatch-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    transition: transform .2s;
  }

  .color-swatch-btn:hover { transform: scale(1.1); }

  .color-swatch-btn .inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,.1);
    transition: transform .2s;
  }

  .color-swatch-btn::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color .2s;
  }

  .color-swatch-btn.active::after {
    border-color: var(--charcoal);
  }

  .color-swatch-btn .tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    background: var(--charcoal);
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s;
  }

  .color-swatch-btn:hover .tooltip { opacity: 1; }

  .color-swatch-btn.unavailable { opacity: .28; cursor: not-allowed; transform: none; pointer-events: none; }

  /* ── Size pills ── */
  .size-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .size-pill {
    min-width: 56px;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: var(--white, #fff);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--warm-gray);
    cursor: pointer;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    position: relative;
    overflow: hidden;
  }

  .size-pill:hover:not(.unavailable):not(.active) {
    border-color: var(--charcoal);
    color: var(--charcoal);
    background: var(--cream);
  }

  .size-pill.active {
    background: var(--charcoal);
    color: #fff;
    border-color: var(--charcoal);
  }

  .size-pill.unavailable {
    opacity: .3;
    cursor: not-allowed;
    pointer-events: none;
  }

  .size-pill.unavailable::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 8%;
    width: 84%;
    height: 1.5px;
    background: var(--taupe);
    transform: rotate(-18deg);
  }

  /* ── Style chips ── */
  .style-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .style-chip {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--white, #fff);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--warm-gray);
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .style-chip:hover:not(.unavailable):not(.active) {
    border-color: var(--charcoal);
    color: var(--charcoal);
    background: var(--cream);
  }

  .style-chip.active {
    background: var(--charcoal);
    color: #fff;
    border-color: var(--charcoal);
  }

  .style-chip .style-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: .5;
  }

  .style-chip.unavailable {
    opacity: .3;
    cursor: not-allowed;
    pointer-events: none;
  }

  /* ── Divider ── */
  .vs-divider {
    height: 1px;
    background: var(--border);
  }

  /* ── Stock strip ── */
  .stock-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    background: var(--cream);
    border: 1px solid var(--border);
    font-size: 13px;
    transition: background .3s, border-color .3s;
  }

  .stock-strip.in-stock {
    background: var(--success-bg);
    border-color: rgba(45,122,79,.2);
  }

  .stock-strip.out-stock {
    background: var(--error-bg);
    border-color: rgba(192,57,43,.2);
  }

  .stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--taupe);
    flex-shrink: 0;
    transition: background .3s;
  }

  .stock-strip.in-stock .stock-dot { background: var(--success); }
  .stock-strip.out-stock .stock-dot { background: var(--error); }

  .stock-text {
    font-weight: 600;
    color: var(--charcoal);
    flex: 1;
  }

  .stock-strip.in-stock .stock-text { color: var(--success); }
  .stock-strip.out-stock .stock-text { color: var(--error); }

  .stock-sub {
    font-size: 12px;
    color: var(--warm-gray);
  }

  /* ── Summary pills ── */
  .summary-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 14px 16px;
    background: var(--cream);
    border-radius: 14px;
    border: 1px solid var(--border);
    animation: fadeUp .2s ease;
  }

  @keyframes fadeUp { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

  .s-pill {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--warm-gray);
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .s-pill.stock-ok {
    color: var(--success);
    border-color: rgba(45,122,79,.25);
    background: var(--success-bg);
  }

  .s-pill.stock-no {
    color: var(--error);
    border-color: rgba(192,57,43,.25);
    background: var(--error-bg);
  }

  .s-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.1);
    flex-shrink: 0;
  }

  /* ── CTA ── */
  .cta-row {
    display: flex;
    gap: 10px;
  }

  .btn-buy {
    flex: 1;
    height: 52px;
    border-radius: 999px;
    background: var(--charcoal);
    color: #fff;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s, transform .15s;
  }

  .btn-buy:hover { background: var(--accent); transform: translateY(-1px); }
  .btn-buy:active { transform: scale(.98); }

  .btn-wish {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    color: var(--warm-gray);
    flex-shrink: 0;
  }

  .btn-wish:hover { border-color: #ef4444; color: #ef4444; background: #fee2e2; }
  .btn-wish.saved { background: #fee2e2; border-color: #fecaca; color: #ef4444; }

  /* ── Progress indicator ── */
  .vs-progress {
    display: flex;
    gap: 6px;
    align-items: center;
  }

  .vs-step {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--taupe);
    font-weight: 500;
  }

  .vs-step .step-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    transition: background .25s;
  }

  .vs-step.done .step-dot { background: var(--charcoal); }
  .vs-step.done { color: var(--charcoal); }

  .vs-step-sep {
    width: 18px;
    height: 1px;
    background: var(--border);
    transition: background .25s;
  }

  .vs-step.done + .vs-step-sep { background: var(--charcoal); }

  /* ── Variant Switcher rendered elements ── */
.color-swatch {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: all .2s;
}
.color-swatch:hover { transform: scale(1.1); }
.color-swatch.active {
  border-color: var(--charcoal);
  outline: 2.5px solid var(--charcoal);
  outline-offset: 2px;
}
.color-swatch-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
}

.vs-size-btn {
  min-width: 52px; height: 42px;
  padding: 0 14px; border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--warm-gray); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.vs-size-btn:hover:not(.unavailable):not(.active) {
  border-color: var(--charcoal); color: var(--charcoal); background: var(--cream);
}
.vs-size-btn.active {
  background: var(--charcoal); color: #fff; border-color: var(--charcoal);
}
.vs-size-btn.unavailable {
  opacity: .3; cursor: not-allowed; pointer-events: none;
  position: relative; overflow: hidden;
}
.vs-size-btn.unavailable::before {
  content: '';
  position: absolute; top: 50%; left: 8%; width: 84%; height: 1.5px;
  background: var(--taupe); transform: rotate(-18deg);
}

.vs-style-chip {
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--border); background: var(--white);
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  color: var(--warm-gray); cursor: pointer; transition: all .2s;
  display: flex; align-items: center; gap: 6px;
}
.vs-style-chip:hover:not(.unavailable):not(.active) {
  border-color: var(--charcoal); color: var(--charcoal); background: var(--cream);
}
.vs-style-chip.active {
  background: var(--charcoal); color: #fff; border-color: var(--charcoal);
}
.vs-style-chip.unavailable { opacity: .3; cursor: not-allowed; pointer-events: none; }

/* Summary pills */
.vs-summary-pill {
  font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); color: var(--warm-gray);
  display: inline-flex; align-items: center; gap: 6px;
}
.vs-summary-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.1); flex-shrink: 0;
}
.vs-summary-pill.stock-pill { color: var(--success); border-color: rgba(45,122,79,.25); background: var(--success-bg); }
.vs-summary-pill.oos-pill   { color: var(--error);   border-color: rgba(192,57,43,.25);  background: var(--error-bg); }

/* Stock dot states */
.vs-stock-dot        { width: 8px; height: 8px; border-radius: 50%; background: var(--taupe); flex-shrink: 0; transition: background .3s; }
.vs-stock-dot.in     { background: var(--success); }
.vs-stock-dot.out    { background: var(--error); }
.vs-stock-dot.none   { background: var(--taupe); }

.btn-add-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(1);
}
.btn-wishlist-lg:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(1);
}

.vs-qty{
    display:flex;
    align-items:center;
    width:max-content;
    border:1px solid #ddd;
    border-radius:10px;
    overflow:hidden;
}

.vs-qty button{
    width:42px;
    height:42px;
    border:none;
    background:#fff;
    cursor:pointer;
    font-size:20px;
    transition:.2s;
}

.vs-qty button:hover:not(:disabled){
    background:#f5f5f5;
}

.vs-qty button:disabled{
    opacity:.4;
    cursor:not-allowed;
}

.vs-qty input{
    width:52px;
    height:42px;
    border:none;
    border-left:1px solid #eee;
    border-right:1px solid #eee;
    text-align:center;
    font-weight:600;
    font-size:15px;
    background:#fff;
}