/* ==========================================================================
   Catalogue pages: breadcrumb, listing with facets, product detail, price list,
   category and brand tiles. Loaded after site.css.

   Same rule as site.css — every colour is a var(--token) from the active theme.
   ========================================================================== */

.crumbs { padding: 15px 0 0; font-size: 12.5px; color: var(--ink-muted, #6B5A56); }
.crumbs .shell { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-muted, #6B5A56); }
.crumbs .here { color: var(--ink, #1B1412); font-weight: 700; }

/* ---------- Listing ---------- */

.catalog { display: flex; gap: 28px; align-items: flex-start; padding: 18px 0 32px; }
.facets { width: 296px; flex-shrink: 0; }
.facets form { display: flex; flex-direction: column; gap: 16px; }

.facet-card {
  background: var(--surface, #fff); border: 1px solid var(--line, #EADFD4);
  border-radius: var(--radius); overflow: hidden;
}
.facet-card h2 {
  font-size: 14px; font-weight: 800; padding: 14px 17px;
  border-bottom: 1px solid var(--line, #EADFD4); background: var(--surface-alt, #FDFBF8);
}

.facet-links { padding: 6px 0; display: flex; flex-direction: column; }
.facet-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 17px; font-size: 13.5px; color: var(--ink, #3A2C28);
}
.facet-links a:hover { text-decoration: none; background: var(--surface-alt, #FDFBF8); }
.facet-links a.on { font-weight: 800; color: var(--accent, #C42130); background: var(--surface-alt, #FDFBF8); }
.facet-links em { font-style: normal; font-size: 11.5px; color: var(--ink-muted, #8A756D); }

.facet-checks { padding: 13px 17px; display: flex; flex-direction: column; gap: 12px; }
.facet-checks label {
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; cursor: pointer; min-height: 24px;
}
.facet-checks input { width: 17px; height: 17px; margin: 0; accent-color: var(--accent, #C42130); flex-shrink: 0; }
.facet-checks span { flex-grow: 1; }
.facet-checks em { font-style: normal; font-size: 11.5px; color: var(--ink-muted, #8A756D); }

.facet-price { padding: 15px 17px 0; display: flex; gap: 11px; }
.facet-price .field { flex: 1; }
.facet-hint { margin: 10px 17px 15px; font-size: 11.5px; color: var(--ink-muted, #6B5A56); }

.facet-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.facet-clear { font-size: 12.5px; font-weight: 700; }

.listing { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.toolbar { display: flex; align-items: flex-end; gap: 18px; }
.toolbar h1 { font-size: 30px; font-weight: 900; }
.toolbar .count { margin: 6px 0 0; font-size: 13px; color: var(--ink-muted, #6B5A56); }
.toolbar .rule { flex-grow: 1; }
.sort-field select { min-width: 210px; height: 44px; background: var(--surface, #fff); }

.listing-intro { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink-muted, #6B5A56); max-width: 760px; }

.chips { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.chips-label { font-size: 12px; font-weight: 700; color: var(--ink-muted, #6B5A56); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 11px 0 13px;
  background: var(--surface, #fff); border: 1.5px solid var(--line, #EADFD4);
  border-radius: 20px; font-size: 12.5px; font-weight: 600; color: var(--ink, #1B1412);
}
.chip:hover { text-decoration: none; border-color: var(--accent, #C42130); color: var(--ink, #1B1412); }
.chip-x {
  width: 20px; height: 20px; border-radius: 50%; background: var(--surface-alt, #F1E4D5);
  display: flex; align-items: center; justify-content: center; color: var(--ink-muted, #6B5A56);
}
.chips-clear { font-size: 12.5px; font-weight: 800; }

.empty {
  background: var(--surface, #fff); border: 1px solid var(--line, #EADFD4);
  border-radius: var(--radius); padding: 48px 28px; text-align: center;
}
.empty h2 { font-size: 22px; font-weight: 900; }
.empty p { margin: 10px 0 20px; font-size: 14px; color: var(--ink-muted, #6B5A56); }

.pager { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 12px; }
.pager-btn {
  min-width: 44px; height: 44px; padding: 0 12px;
  border: 1.5px solid var(--line, #EADFD4); border-radius: 9px;
  background: var(--surface, #fff); color: var(--ink, #3A2C28);
  font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.pager-btn:hover { text-decoration: none; border-color: var(--accent, #C42130); color: var(--ink, #3A2C28); }
.pager-btn.is-current { background: var(--ink, #1B1412); border-color: var(--ink, #1B1412); color: #fff; font-weight: 800; }
.pager-btn.is-off { opacity: .4; }

/* ---------- Product detail ---------- */

.pdp { display: flex; gap: 36px; align-items: flex-start; padding: 12px 0 0; }
.pdp-gallery { width: 548px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; }
.pdp-main {
  position: relative; height: 412px; border-radius: 14px; overflow: hidden;
  background: var(--surface, #fff); border: 1px solid var(--line, #EADFD4);
  display: flex; align-items: center; justify-content: center;
}
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--discount-bg, #12764A); color: var(--discount-fg, #fff);
  font-size: 13px; font-weight: 800; padding: 7px 12px; border-radius: 7px;
}
.pdp-wish {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface, #fff); border: 1.5px solid var(--line, #EADFD4);
  color: var(--ink-muted, #8A756D); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pdp-thumb {
  height: 92px; border: 1.5px solid var(--line, #EADFD4); border-radius: 10px;
  background: var(--surface, #fff); cursor: pointer; overflow: hidden; padding: 0;
}
.pdp-thumb:first-child { border-color: var(--accent, #C42130); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pdp-info h1 { font-size: 34px; font-weight: 900; line-height: 1.15; }
.pdp-tags { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.pdp-ratings, .pdp-brand { color: var(--ink-muted, #6B5A56); }

.pdp-price-card {
  background: var(--surface, #fff); border: 1px solid var(--line, #EADFD4);
  border-radius: 14px; padding: 22px 24px; display: flex; flex-direction: column; gap: 16px;
}
.pdp-price-row { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.pdp-now { font-family: var(--font-display); font-size: 44px; font-weight: 900; line-height: 1; }
.pdp-mrp-block { display: flex; flex-direction: column; gap: 3px; padding-bottom: 3px; }
.pdp-mrp { font-size: 14px; color: var(--ink-muted, #8A756D); text-decoration: line-through; }
.pdp-saving { font-size: 12px; font-weight: 700; color: var(--discount-bg, #12764A); }
.pdp-off {
  background: var(--discount-bg, #12764A); color: var(--discount-fg, #fff);
  font-size: 13px; font-weight: 800; padding: 7px 12px; border-radius: 7px; margin-bottom: 5px;
}
.pdp-price-row .rule { flex-grow: 1; }
.pdp-unit-note { font-size: 12px; color: var(--ink-muted, #6B5A56); padding-bottom: 6px; }

.pdp-divider { height: 1px; background: var(--line, #EFE3D6); }

.pdp-facts { display: flex; gap: 26px; flex-wrap: wrap; }
.pdp-facts span { display: flex; flex-direction: column; gap: 4px; }
.pdp-facts em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ink-muted, #6B5A56); }
.pdp-facts b { font-size: 14px; }
.pdp-facts b.ok { color: var(--discount-bg, #12764A); font-weight: 800; }
.pdp-facts b.warn { color: var(--accent-dark, #B8420E); font-weight: 800; }
.pdp-facts b.off { color: var(--ink-muted, #8A756D); }

.pdp-buy { display: flex; flex-direction: column; gap: 16px; }
.pdp-qty { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.pdp-qty > label { font-size: 11.5px; font-weight: 700; color: var(--ink-muted, #6B5A56); margin-bottom: 6px; }
.stepper {
  display: flex; align-items: center; border: 1.5px solid var(--line, #EADFD4);
  border-radius: 10px; overflow: hidden; background: var(--surface-alt, #FDFBF8);
}
.stepper .step {
  width: 46px; height: 48px; border: 0; background: transparent; cursor: pointer;
  color: var(--ink, #5A4741); display: flex; align-items: center; justify-content: center;
}
.stepper input {
  width: 64px; height: 48px; border: 0; text-align: center;
  border-left: 1.5px solid var(--line, #EADFD4); border-right: 1.5px solid var(--line, #EADFD4);
  font-size: 16px; font-weight: 800; background: var(--surface, #fff); color: var(--ink, #1B1412);
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-qty-note { font-size: 11.5px; color: var(--ink-muted, #8A756D); margin-bottom: 6px; }

.pdp-linetotal { display: flex; flex-direction: column; gap: 5px; }
.pdp-linetotal em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ink-muted, #6B5A56); }
.pdp-linetotal b { font-family: var(--font-display); font-size: 27px; font-weight: 900; line-height: 1; }

.pdp-actions { display: flex; gap: 12px; }
.pdp-actions .btn-outline, .pdp-actions .btn-accent { flex: 1; height: 54px; font-size: 15.5px; }

.pdp-wa {
  height: 50px; border-radius: 10px; background: var(--discount-bg, #12764A); color: #fff;
  font-size: 14.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.pdp-wa:hover { text-decoration: none; color: #fff; filter: brightness(1.08); }
.pdp-oos-note { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-muted, #6B5A56); }

.pdp-lower { display: flex; gap: 36px; align-items: flex-start; padding: 34px 0 0; }
.pdp-desc {
  flex-grow: 1; min-width: 0; background: var(--surface, #fff);
  border: 1px solid var(--line, #EADFD4); border-radius: 14px; padding: 24px 26px;
}
.pdp-desc h2 { font-size: 18px; font-weight: 900; }
.pdp-desc p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.75; color: var(--ink, #3A2C28); }

.spec-table { margin: 12px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; }
.spec-table > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line, #F3EAE0); font-size: 13.5px;
}
.spec-table dt { color: var(--ink-muted, #6B5A56); margin: 0; }
.spec-table dd { margin: 0; font-weight: 700; text-align: right; }

.pdp-side {
  width: 330px; flex-shrink: 0; border-radius: 14px; padding: 22px;
  background: var(--assured-bg, #FBF1E6); border: 1.5px solid var(--assured-line, #EBD9BE);
}
.pdp-side h2 { font-size: 17px; font-weight: 900; }
.steps { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; line-height: 1.55; color: var(--ink, #3A2C28); }
.steps li span {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent, #C42130); color: var(--accent-ink, #fff);
  font-size: 12.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.side-note {
  margin: 14px 0 0; padding-top: 12px; font-size: 11.5px; line-height: 1.55;
  color: var(--ink-muted, #6B5A56); border-top: 1px solid var(--assured-line, #E5D3B8);
}

/* ---------- Category and brand tiles ---------- */

.tile-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.cat-tile {
  background: var(--surface, #fff); border: 1px solid var(--line, #EADFD4);
  border-radius: var(--radius); padding: 18px 14px; color: var(--ink, #1B1412);
  display: flex; flex-direction: column; align-items: center; gap: 11px; text-align: center;
}
.cat-tile:hover { text-decoration: none; color: var(--ink, #1B1412); border-color: var(--accent, #C42130); }
.cat-tile-art {
  width: 74px; height: 74px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--assured-bg, #F6EADC); color: var(--assured-fg, #A8641B);
  display: flex; align-items: center; justify-content: center;
}
.cat-tile-art img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile b { font-size: 14px; font-weight: 700; line-height: 1.3; }
.cat-tile em { font-style: normal; font-size: 11.5px; color: var(--ink-muted, #8A756D); }

/* ---------- Price list ---------- */

/* padding-block, not the padding shorthand: this element is also .shell, and "18px 0 40px"
   zeroed its side gutters, so on anything narrower than the shell the page touched the edges. */
.pricelist { padding-block: 18px 40px; }
/* The banner is built from the accent and hero tokens, so it follows whichever theme is active.
   Its colour has to survive printing (the list is handed out on paper), hence print-color-adjust. */
.pl-hero {
  position: relative; overflow: hidden; margin-bottom: 22px; border-radius: var(--radius, 12px);
  /* Plain three-stop version first: a browser without color-mix drops the richer one below
     as a whole and keeps this. */
  background: linear-gradient(115deg, var(--accent-dark, #8E1622), var(--accent, #C42130), var(--hero-chip-bg, #F1B434));
  background: linear-gradient(115deg,
    var(--accent-dark, #8E1622) 0%, var(--accent, #C42130) 45%,
    color-mix(in srgb, var(--accent, #C42130) 55%, var(--hero-chip-bg, #F1B434)) 78%,
    var(--hero-chip-bg, #F1B434) 100%);
  color: var(--accent-ink, #fff);
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.pl-hero-in { position: relative; z-index: 1; padding: 22px 28px 26px; }

/* Who this list is from. It sits inside the banner because the site header is not part of what
   gets printed, screenshotted or forwarded. */
.pl-brand {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .3);
}
.pl-logo { display: flex; align-items: center; gap: 12px; }
.pl-logo-mark {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface, #fff); color: var(--accent, #C42130);
  display: flex; align-items: center; justify-content: center;
}
.pl-logo-name { display: block; font-family: var(--font-display); font-weight: 900; font-size: 24px; line-height: 1; }
.pl-logo-sub { display: block; margin-top: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .22em; opacity: .9; }
.pl-contact { font-size: 13px; font-weight: 700; }
.pl-contact a { color: inherit; }

.pl-chip {
  display: inline-block; margin-bottom: 14px; padding: 7px 14px; border-radius: 6px;
  background: var(--surface, #fff); color: var(--accent-dark, #8E1622);
  font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.pl-hero h1 { font-size: 40px; font-weight: 900; line-height: 1.05; }
.pl-hero p { margin: 10px 0 0; max-width: 560px; font-size: 14px; line-height: 1.6; opacity: .92; }
.pl-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pl-stats span {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 13px; border-radius: 999px;
  background: rgba(0, 0, 0, .22); font-size: 13px; font-weight: 700;
}
.pl-stats b { font-family: var(--font-display); font-size: 17px; font-weight: 900; }

.pl-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.pl-share {
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px;
  border-radius: 10px; background: var(--surface, #fff); color: var(--discount-bg, #12764A);
  font-size: 14px; font-weight: 800;
}
.pl-share:hover { text-decoration: none; color: var(--discount-bg, #12764A); filter: brightness(.96); }
.pl-hero .btn-outline { height: 44px; color: var(--accent-ink, #fff); border-color: rgba(255, 255, 255, .6); }
.pl-hero .btn-outline:hover { background: rgba(255, 255, 255, .16); color: var(--accent-ink, #fff); }

/* The sunburst: two large translucent bursts behind the copy. */
.pl-art { position: absolute; pointer-events: none; color: var(--accent-ink, #fff); }
.pl-art-1 { right: -70px; top: -70px; width: 340px; height: 340px; opacity: .22; }
.pl-art-2 { right: 110px; bottom: -40px; width: 150px; height: 150px; opacity: .28; }

.pl-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pl-jump a {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px;
  background: var(--surface, #fff); border: 1.5px solid var(--line, #EADFD4);
  border-radius: 20px; font-size: 12.5px; font-weight: 700; color: var(--ink, #1B1412);
}
.pl-jump a:hover { text-decoration: none; border-color: var(--accent, #C42130); }
.pl-jump em { font-style: normal; font-size: 11px; color: var(--ink-muted, #8A756D); }

.pl-group { margin-bottom: 30px; scroll-margin-top: 20px; }
.pl-group h2 {
  font-size: 19px; font-weight: 900; padding-bottom: 10px;
  border-bottom: 2px solid var(--accent, #C42130);
  display: flex; align-items: baseline; gap: 12px;
}
.pl-group h2 em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink-muted, #8A756D); }
.pl-browse { margin-left: auto; font-size: 12.5px; font-weight: 700; }

.pl-table { width: 100%; border-collapse: collapse; background: var(--surface, #fff); }
.pl-table th {
  text-align: left; font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-muted, #8A756D);
  padding: 10px 12px; border-bottom: 1px solid var(--line, #EADFD4);
  background: var(--surface-alt, #FDFBF8);
}
.pl-table td { padding: 9px 12px; font-size: 13.5px; border-bottom: 1px solid var(--line, #F3EAE0); }
.pl-table tbody tr:nth-child(even) td { background: var(--surface-alt, #FDFBF8); }
.pl-table .c-unit { width: 130px; color: var(--ink-muted, #6B5A56); font-size: 12.5px; }
.pl-table .c-num { width: 110px; text-align: right; }
.pl-mrp { color: var(--ink-muted, #8A756D); text-decoration: line-through; font-size: 12.5px; }
.pl-rate { font-weight: 800; font-family: var(--font-display); }
.pl-off { font-weight: 700; color: var(--discount-bg, #12764A); font-size: 12.5px; }
.pl-table tr.is-out td { opacity: .55; }
.pl-out {
  margin-left: 8px; font-size: 10px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent-dark, #B8420E);
}
.pl-foot { margin: 8px 0 0; font-size: 11.5px; color: var(--ink-muted, #8A756D); }

@media (max-width: 1100px) {
  .catalog { flex-direction: column; }
  .facets { width: 100%; }
  .facets form { flex-direction: row; flex-wrap: wrap; }
  .facet-card { flex: 1 1 260px; }
  .facet-actions { flex-basis: 100%; flex-direction: row; justify-content: flex-start; }
  .facet-actions .btn-accent { width: auto !important; padding: 0 28px; }
  .pdp { flex-direction: column; }
  .pdp-gallery { width: 100%; }
  .pdp-lower { flex-direction: column; }
  .pdp-side { width: 100%; }
  .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .pdp-info h1 { font-size: 26px; }
  .pdp-now { font-size: 34px; }
  .pdp-main { height: 300px; }
  .pdp-actions { flex-direction: column; }
  .spec-table { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar { flex-wrap: wrap; }
  .toolbar h1 { font-size: 24px; }
  .sort-field { flex-basis: 100%; }
  .sort-field select { width: 100%; min-width: 0; }
  .pl-table .c-unit { display: none; }
  .pl-table .c-num { width: 84px; }
  .pl-hero-in { padding: 18px 18px 20px; }
  .pl-hero h1 { font-size: 30px; }
  .pl-logo-name { font-size: 21px; }
  /* On a phone the bursts sit behind the words, so they are turned down to stay decoration. */
  .pl-art { opacity: .14; }
  .pl-actions .pl-share, .pl-actions .btn-outline { flex: 1 1 auto; justify-content: center; }
}

@media print {
  .crumbs, .pl-jump, .pl-actions, .pl-browse { display: none !important; }
  .pl-hero { break-inside: avoid; }
  .pl-hero-in { padding: 16px 22px; }
  .pl-hero h1 { font-size: 28pt; }
  /* The banner carries the shop's name and logo, so the site header would print it twice. */
  body:has(.pl-hero) .site-header { display: none !important; }
  .pl-group { break-inside: auto; }
  .pl-group h2 { break-after: avoid; }
  .pl-table tr { break-inside: avoid; }
  .pl-table td, .pl-table th { padding: 4px 8px; font-size: 10pt; }
  .pl-table tbody tr:nth-child(even) td { background: transparent; }
}

/* ---------- Customer reviews ---------- */

.reviews { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 26px; align-items: start; }

.review-summary {
  background: var(--surface, #fff); border: 1px solid var(--line, #EADFD4);
  border-radius: var(--radius, 14px); padding: 22px;
}
.review-score { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.review-score b { font-size: 38px; font-weight: 900; line-height: 1; }
.review-score em { font-style: normal; font-size: 12.5px; color: var(--ink-muted, #6B5A56); }
.review-score .stars { color: var(--star, #E8A33D); display: inline-flex; gap: 2px; }

.review-bars { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.review-bars li { display: grid; grid-template-columns: 30px 1fr 28px; align-items: center; gap: 9px; }
.review-bar-label { font-size: 12px; color: var(--ink-muted, #6B5A56); }
.review-bar { height: 7px; border-radius: 4px; background: var(--surface-alt, #F4F1EC); overflow: hidden; }
.review-bar i { display: block; height: 100%; background: var(--star, #E8A33D); }
.review-bar-count { font-size: 12px; color: var(--ink-muted, #6B5A56); text-align: right; }

.review-none { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-muted, #6B5A56); }
.review-none b { display: block; font-size: 15px; color: var(--ink, #1B1412); margin-bottom: 5px; }

.review-write {
  background: var(--surface, #fff); border: 1px solid var(--line, #EADFD4);
  border-radius: var(--radius, 14px); padding: 22px;
}
.review-write h3 { font-size: 16px; font-weight: 800; margin: 0; }
.review-write > * > p, .review-blocked p { margin: 7px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-muted, #6B5A56); }
.review-form { display: flex; flex-direction: column; gap: 13px; }
.review-form .field label span { font-weight: 400; color: var(--ink-muted, #6B5A56); font-size: 11.5px; }
.review-mod-note { font-size: 11.5px; color: var(--ink-muted, #6B5A56); text-align: center; }

.review-mine { margin-top: 13px; padding: 13px; border-radius: 10px; background: var(--surface-alt, #F4F1EC); }
.review-mine .stars { color: var(--star, #E8A33D); display: inline-flex; gap: 2px; }
.review-mine b { display: block; margin-top: 6px; font-size: 13.5px; }
.review-mine p { margin: 5px 0 0; font-size: 13px; line-height: 1.6; }
.review-blocked .btn-outline { margin-top: 13px; display: inline-flex; }

.review-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.review {
  background: var(--surface, #fff); border: 1px solid var(--line, #EADFD4);
  border-radius: var(--radius, 14px); padding: 18px 20px;
}
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-head .stars { color: var(--star, #E8A33D); display: inline-flex; gap: 2px; }
.review-head b { font-size: 14.5px; font-weight: 700; }
.review > p { margin: 9px 0 0; font-size: 13.5px; line-height: 1.65; }
.review-by { display: block; margin-top: 10px; font-size: 12px; color: var(--ink-muted, #6B5A56); }
.review-reply {
  margin-top: 13px; padding: 12px 14px; border-radius: 10px;
  background: var(--surface-alt, #F4F1EC); border-left: 3px solid var(--accent, #C7262C);
}
.review-reply b { font-size: 12.5px; font-weight: 800; }
.review-reply p { margin: 4px 0 0; font-size: 13px; line-height: 1.6; }

.product-card .stars em {
  font-style: normal; font-size: 11px; color: var(--ink-muted, #6B5A56); margin-left: 3px;
}

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

/* ---------- Compare ---------- */

.compare-form { margin: 0; }
.compare-toggle {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 32px; margin-top: 7px; cursor: pointer;
  background: none; border: 1px dashed var(--line, #EADFD4); border-radius: 9px;
  font: inherit; font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  color: var(--ink-muted, #6B5A56);
}
.compare-toggle:hover { border-color: var(--accent, #C7262C); color: var(--accent, #C7262C); }
.compare-toggle.is-on {
  border-style: solid; border-color: var(--discount-bg, #12764A);
  color: var(--discount-bg, #12764A); background: var(--assured-bg, #FBF1E6);
}

.compare-tray {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--surface, #fff); border-top: 1px solid var(--line, #EADFD4);
  box-shadow: 0 -6px 24px rgb(0 0 0 / .08); padding: 11px 0;
}
.compare-tray .shell { display: flex; align-items: center; gap: 14px; }
.compare-tray-count { font-size: 12.5px; color: var(--ink-muted, #6B5A56); white-space: nowrap; }
.compare-tray-count b { font-size: 17px; font-weight: 900; color: var(--ink, #1B1412); }
.compare-tray-list { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.compare-tray-list li {
  width: 42px; height: 42px; border-radius: 9px; overflow: hidden;
  border: 1px solid var(--line, #EADFD4); background: var(--surface-alt, #F4F1EC);
}
.compare-tray-list img { width: 100%; height: 100%; object-fit: contain; }
.compare-tray-blank { display: block; width: 100%; height: 100%; }
.compare-tray-clear button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 12.5px; color: var(--ink-muted, #6B5A56); text-decoration: underline;
}
.wa-fab.has-tray { bottom: 92px; }

.compare-empty {
  text-align: center; padding: 54px 20px;
  background: var(--surface, #fff); border: 1px solid var(--line, #EADFD4); border-radius: var(--radius, 14px);
}
.compare-empty h2 { font-size: 20px; font-weight: 800; }
.compare-empty p { margin: 9px auto 20px; max-width: 46ch; font-size: 13.5px; line-height: 1.65; color: var(--ink-muted, #6B5A56); }
.compare-hint { margin: 0 0 16px; font-size: 13px; color: var(--ink-muted, #6B5A56); }

.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%; border-collapse: collapse; min-width: 560px;
  background: var(--surface, #fff); border: 1px solid var(--line, #EADFD4);
  border-radius: var(--radius, 14px); overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 13px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line, #EADFD4); font-size: 13px;
}
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-rowhead {
  width: 132px; font-size: 11.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-muted, #6B5A56); background: var(--surface-alt, #F4F1EC);
  white-space: nowrap;
}
.compare-table tr.is-same td { color: var(--ink-muted, #6B5A56); }
.compare-table td.is-best { background: var(--assured-bg, #FBF1E6); }
.compare-flag {
  display: inline-block; margin-top: 5px; padding: 2px 7px; border-radius: 5px;
  font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  background: var(--discount-bg, #12764A); color: #fff;
}
.compare-table td em { display: block; font-style: normal; font-size: 11.5px; color: var(--ink-muted, #6B5A56); margin-top: 3px; }
.compare-none { color: var(--ink-muted, #6B5A56); }
.compare-price { font-size: 17px; font-weight: 900; }
.compare-mrp { text-decoration: line-through; color: var(--ink-muted, #6B5A56); }
.compare-table .stars { color: var(--star, #E8A33D); display: inline-flex; gap: 2px; }

.compare-head { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.compare-thumb {
  width: 100%; max-width: 128px; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  background: var(--surface-alt, #F4F1EC); display: grid; place-items: center;
}
.compare-thumb img { width: 100%; height: 100%; object-fit: contain; }
.compare-name { font-size: 13.5px; font-weight: 700; line-height: 1.4; color: var(--ink, #1B1412); }
.compare-remove {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 11.5px; color: var(--ink-muted, #6B5A56); text-decoration: underline;
}
.compare-add { width: 100%; height: 42px; font-size: 13px; }
.compare-note { margin: 16px 0 0; font-size: 12px; line-height: 1.6; color: var(--ink-muted, #6B5A56); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 720px) {
  .compare-tray .shell { gap: 10px; }
  .compare-tray-list li:nth-child(n+4) { display: none; }
  .compare-tray-clear { display: none; }

  /* Letting the label wrap is what actually narrows this column: nowrap sizes it to the
     longest header on one line, which spends 40% of a phone screen on row titles. */
  .compare-rowhead { width: 88px; white-space: normal; padding-right: 9px; }
  .compare-table th, .compare-table td { padding: 11px 10px; }
}

/* Returning to a card after a compare or wishlist click lands it under the sticky header
   without this — the browser scrolls the element to the very top of the viewport. */
.product-card { scroll-margin-top: 120px; }

/* ---------- Gift box contents ---------- */

/* Shown on a box's own page: what is in it and what those items cost bought loose, so the
   saving is something the customer can check rather than a claim. */
.box-contents-head {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px;
}
.box-contents-head h2 {
  font-family: Archivo, system-ui, sans-serif; font-size: 16px; font-weight: 900; margin: 0;
}
.box-contents-head span { font-size: 12.5px; color: var(--ink-muted, #6B5A56); }

.box-contents-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.box-contents-table th, .box-contents-table td {
  padding: 7px 0; text-align: left; border-bottom: 1px solid var(--line, #EFE3D6);
}
.box-contents-table thead th {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-muted, #6B5A56);
}
.box-contents-table .c-num { text-align: right; white-space: nowrap; }
.box-contents-table td em {
  display: block; font-style: normal; font-size: 11.5px; color: var(--ink-muted, #6B5A56);
}
.box-contents-table tfoot th { font-weight: 700; }
.box-contents-table tfoot tr:last-child th,
.box-contents-table tfoot tr:last-child td { border-bottom: 0; }
.box-contents-table .box-saving th, .box-contents-table .box-saving td {
  color: #0E5C3A; font-weight: 800;
}

.box-note {
  margin: 10px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-muted, #6B5A56);
}

@media (max-width: 560px) {
  .box-contents-table { font-size: 12.5px; }
}
