/*
Theme Name: CALIESSA
Theme URI: https://caliessa.com/
Author: CALIESSA
Author URI: https://caliessa.com/
Description: Plus-size womenswear in UK 14-32 / US 10-28. Classic WooCommerce-ready theme: the customer photo wall is the first screen, the size finder sits above every review block, and the shop grid reads live WooCommerce data. Warm self-hosted Fraunces / Nunito Sans, capsule navigation, 16px cards.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: caliessa
Tags: e-commerce, custom-colors, custom-menu, featured-images, one-column, translation-ready, wide-blocks
*/

/* ==========================================================================
   S7 CALIESSA -- womenswear UK 14-32 / US 10-28
   Design system (fixed by the brief, do not drift):
     ground #F5EDE6  ink #3D2B22  accent #C97B5A  sand #E8D5C4
     display Fraunces (600/700)  body Nunito Sans (400/700)
     header = round capsule  |  cards = 16px radius  |  photos = real people, natural light
   Fonts are self-hosted in fonts/fonts.css. No external script, style or font host.
   ========================================================================== */

:root {
  --bg: #F5EDE6;
  --ink: #3D2B22;
  --ink-2: #7A6357;
  --accent: #C97B5A;
  --accent-dk: #AF6544;
  --sand: #E8D5C4;
  --sand-2: #F2E7DC;
  --card: #FFFBF7;
  --line: rgba(61, 43, 34, .14);
  --shadow: 0 8px 26px rgba(61, 43, 34, .08);
  --shadow-lg: 0 18px 46px rgba(61, 43, 34, .13);
  --r: 16px;
  --pill: 999px;
  --wrap: 1280px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: .002em;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -.015em; }
h1 { font-size: clamp(2.15rem, 4.9vw, 4.15rem); line-height: 1.04; }
h2 { font-size: clamp(1.72rem, 3.1vw, 2.85rem); line-height: 1.1; }
h3 { font-size: 1.04rem; line-height: 1.28; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
s { text-decoration-thickness: 1px; }

:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 90;
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: var(--pill);
  transition: top .2s ease;
}
.skip:focus { top: 14px; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 .7em;
}
.lede { font-size: 1.14rem; color: var(--ink-2); max-width: 62ch; }
.sec-lede { color: var(--ink-2); max-width: 62ch; margin-top: .7em; }
.sec-head { max-width: 74ch; margin-bottom: 30px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  border-radius: var(--pill); padding: 11px 20px; font-weight: 700; font-size: .88rem;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); border-color: var(--accent); color: #fff;
  width: 100%; padding: 14px 22px; font-size: .98rem;
}
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; }
.btn-add { padding: 9px 15px; font-size: .8rem; }

.chip {
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  border-radius: var(--pill); padding: 9px 16px; font-size: .86rem; font-weight: 700;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.chip span { color: var(--ink-2); font-weight: 400; }
.chip:hover { border-color: var(--accent); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip.is-on span { color: var(--sand); }

/* ---------------------------------------------------------------- A3 header */
.head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 237, 230, .88);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.head.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 22px rgba(61, 43, 34, .06); }
.head-in { display: flex; align-items: center; gap: 18px; min-height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand-name {
  font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: .11em;
}
.brand-sub {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); border: 1.5px solid var(--sand); border-radius: var(--pill); padding: 3px 9px;
}

.nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px;
  margin-left: auto; padding: 5px; background: var(--sand-2);
  border: 1px solid var(--line); border-radius: var(--pill);
}
.pill {
  display: block; padding: 9px 15px; border-radius: var(--pill); white-space: nowrap;
  font-size: .87rem; font-weight: 700; transition: background .2s ease, color .2s ease;
}
.pill:hover { background: var(--accent); color: #fff; }

.head-act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav + .head-act { margin-left: 0; }
.bag {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--pill); border: 1.5px solid var(--line);
  background: transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.bag svg { width: 22px; height: 22px; }
.bag:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bag-n {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 700; border-radius: var(--pill);
}
.bag-n[data-zero="1"] { background: var(--sand); color: var(--ink); }

.burger {
  display: none; width: 46px; height: 46px; border-radius: var(--pill);
  border: 1.5px solid var(--line); background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .22s ease; }
.head.is-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.head.is-open .burger span:nth-child(2) { opacity: 0; }
.head.is-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- D2 UGC wall (hero) */
.wallhero {
  padding: 30px 0 84px;
  background:
    radial-gradient(1100px 520px at 82% -10%, #F1DFD1 0%, rgba(245, 237, 230, 0) 62%),
    radial-gradient(760px 420px at 4% 4%, #F4E7DC 0%, rgba(245, 237, 230, 0) 58%);
}
.hero-lead { max-width: 940px; margin-bottom: 34px; }
.hero-lead .lede { margin-top: .8em; }

.facts { display: flex; flex-wrap: wrap; gap: 8px 30px; margin-top: 24px; font-size: .92rem; color: var(--ink-2); }
.facts li { display: flex; align-items: baseline; gap: 8px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.facts b { color: var(--ink); }

.wall { column-gap: 18px; columns: 4; }
.wall:not(.is-masonry) .wall-tile { break-inside: avoid; margin: 0 0 18px; }
.wall.is-masonry { column-count: auto; position: relative; display: block; }
.wall.is-masonry .wall-tile { position: absolute; top: 0; left: 0; margin: 0; }

.wall-tile {
  background: var(--card); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease;
}
.wall.is-masonry .wall-tile { transition: transform .3s ease, box-shadow .3s ease, opacity .55s ease; }
.wall-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wall-media { aspect-ratio: 1 / var(--h, 1.2); background: var(--sand); overflow: hidden; }
.wall-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.wall-tile:hover .wall-media img { transform: scale(1.045); }
.wall-cap { padding: 13px 15px 15px; }
.wall-q { font-family: var(--display); font-size: .97rem; line-height: 1.34; margin: 0; }
.wall-who { margin: 9px 0 0; font-size: .75rem; font-weight: 700; color: var(--accent); }
.wall-item { margin: 5px 0 0; font-size: .74rem; color: var(--ink-2); }

.ugc-note {
  margin: 26px 0 0; max-width: 92ch; padding: 14px 18px;
  background: rgba(255, 251, 247, .72); border: 1px solid var(--line);
  border-left: 4px solid var(--sand); border-radius: 12px;
  font-size: .82rem; line-height: 1.5; color: var(--ink-2);
}

/* ---------------------------------------------------------------- C8 size finder */
.wizard { padding: 78px 0 84px; background: var(--bg); }
.wiz-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 46px; align-items: start; }

.ticks { margin-top: 22px; display: grid; gap: 12px; font-size: .96rem; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.ticks li::before {
  content: ""; width: 19px; height: 19px; margin-top: 4px;
  background: var(--accent);
  clip-path: polygon(9% 52%, 0% 64%, 34% 100%, 100% 20%, 90% 8%, 33% 76%);
}

.wiz-card {
  background: var(--card); border-radius: var(--r); padding: 26px;
  box-shadow: var(--shadow-lg); display: grid; gap: 16px;
}
.wiz-units { display: inline-flex; justify-self: start; gap: 4px; padding: 5px; background: var(--sand-2); border-radius: var(--pill); }
.seg { position: relative; }
.seg input { position: absolute; opacity: 0; width: 0; height: 0; }
.seg span {
  display: block; padding: 8px 18px; border-radius: var(--pill);
  font-size: .85rem; font-weight: 700; cursor: pointer; transition: background .2s, color .2s;
}
.seg input:checked + span { background: var(--accent); color: #fff; }
.seg input:focus-visible + span { outline: 2.5px solid var(--ink); outline-offset: 2px; }

.wiz-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field[hidden], [hidden] { display: none !important; }
.field > span:first-child {
  font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.field-wide { grid-column: 1 / -1; }
.unit { display: flex; align-items: center; gap: 8px; }
.field .unit, .field > span.unit {
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 0 13px;
}
.unit input {
  width: 100%; min-width: 0; border: 0; background: transparent; padding: 11px 0; font-weight: 700;
}
.unit input::-webkit-outer-spin-button, .unit input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.unit input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.unit i { font-style: normal; font-size: .84rem; color: var(--ink-2); }
.field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  padding: 11px 13px; font-weight: 700; cursor: pointer;
}
.wiz-card .btn-primary { margin-top: 4px; }
.wiz-fine { font-size: .78rem; line-height: 1.5; color: var(--ink-2); margin: 0; }

/* ---- result panel (built by site.js) ---- */
.wiz-result {
  margin-top: 26px; background: var(--card); border: 1.5px solid var(--sand);
  border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-lg);
}
.res-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.res-size { font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 5vw, 3.1rem); line-height: 1; color: var(--accent); }
.res-sub { font-weight: 700; letter-spacing: .03em; }
.res-head { margin-bottom: 20px; }
.res-head p { font-size: .92rem; color: var(--ink-2); margin-top: .6em; max-width: 76ch; }
.res-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.res-box { background: var(--sand-2); border-radius: 12px; padding: 14px 16px; }
.res-box h3 { font-family: var(--body); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.res-box b { display: block; font-family: var(--display); font-size: 1.4rem; line-height: 1.2; margin-top: 6px; }
.res-box span { display: block; font-size: .78rem; color: var(--ink-2); margin-top: 4px; }
.res-alt { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.alt {
  border: 1.5px dashed var(--sand); background: rgba(232, 213, 196, .3); border-radius: var(--pill);
  padding: 8px 15px; font-size: .84rem;
}
.alt b { font-weight: 700; }
.res-list { display: grid; gap: 10px; font-size: .93rem; }
.res-list li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; color: var(--ink-2); }
.res-list li::before {
  content: ""; width: 17px; height: 17px; margin-top: 4px;
  background: var(--accent);
  clip-path: polygon(9% 52%, 0% 64%, 34% 100%, 100% 20%, 90% 8%, 33% 76%);
}
.res-list b { color: var(--ink); }
.res-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.res-foot p { font-size: .8rem; color: var(--ink-2); margin: 0; max-width: 60ch; }
.res-warn { background: rgba(201, 123, 90, .1); border: 1.5px solid rgba(201, 123, 90, .35); }

/* ---- chart + accordions ---- */
.chart { margin-top: 40px; display: grid; gap: 12px; }
.acc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.acc > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; font-weight: 700; list-style: none;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc-q { font-family: var(--display); font-size: 1.08rem; line-height: 1.3; }
.acc-ico { position: relative; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--sand-2); }
.acc-ico::before, .acc-ico::after {
  content: ""; position: absolute; inset: 50% 6px auto 6px; height: 2px; background: var(--ink); border-radius: 2px;
  transform: translateY(-50%);
}
.acc-ico::after { transform: translateY(-50%) rotate(90deg); transition: transform .22s ease; }
.acc[open] .acc-ico::after { transform: translateY(-50%) rotate(0deg); }
.acc[open] .acc-ico { background: var(--accent); }
.acc[open] .acc-ico::before, .acc[open] .acc-ico::after { background: #fff; }
.acc-body { padding: 0 22px 22px; font-size: .95rem; color: var(--ink-2); }
.acc-body ul { display: grid; gap: 10px; margin: 0 0 1em; }
.acc-body ul li { padding-left: 18px; position: relative; }
.acc-body ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.acc-body b { color: var(--ink); }
.fitnotes li { padding-left: 0 !important; }
.fitnotes li::before { display: none; }
.chart-note { font-size: .84rem; max-width: 82ch; }

.sizetable { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .9rem; }
.sizetable th, .sizetable td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.sizetable thead th {
  font-family: var(--body); font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2); background: var(--sand-2);
}
.sizetable thead th:first-child { border-radius: 10px 0 0 0; }
.sizetable thead th:last-child { border-radius: 0 10px 0 0; }
.sizetable tbody th { font-family: var(--display); font-weight: 700; color: var(--ink); white-space: nowrap; }
.sizetable .cmv { display: block; font-weight: 700; color: var(--ink); }
.sizetable .inmv { display: block; font-size: .76rem; color: var(--ink-2); }
.sizetable tbody tr:hover { background: rgba(232, 213, 196, .35); }

/* ---------------------------------------------------------------- C1 new in */
.new { padding: 78px 0 84px; background: var(--sand-2); }
.grid { display: grid; gap: 22px; }
.grid-new { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-shop { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------------------------------------------------------------- D1 product cards */
.card {
  background: var(--card); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--sand); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img { transform: scale(1.04); }
.badge {
  position: absolute; top: 12px; left: 12px; padding: 6px 11px; border-radius: var(--pill);
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(61, 43, 34, .88); color: var(--bg);
}
.badge-best { background: var(--accent); color: #fff; }
.badge-new { background: rgba(61, 43, 34, .88); }
.card-body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-name { margin: 0; }
.card-tag { margin: 0; font-size: .86rem; color: var(--ink-2); }
.card-sizes {
  margin: 0; font-size: .74rem; font-weight: 700; color: var(--ink);
  background: rgba(232, 213, 196, .55); border-radius: 8px; padding: 6px 9px;
}
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 700; font-size: 1.06rem; }
.was { font-weight: 400; font-size: .84rem; color: var(--ink-2); opacity: .85; }

/* ---------------------------------------------------------------- shop controls */
.shop { padding: 78px 0 84px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.grid-count { margin: 18px 0 0; font-size: .84rem; color: var(--ink-2); }
.grid-empty { margin: 26px 0 0; font-size: .95rem; color: var(--ink-2); }
.card[hidden] { display: none; }

/* ---------------------------------------------------------------- F1 FAQ */
.faq { padding: 78px 0 84px; background: var(--sand-2); }
.faq-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 46px; align-items: start; }
.faq-list { display: grid; gap: 12px; }

/* ---------------------------------------------------------------- H1 footer */
.foot { background: var(--ink); color: var(--bg); border-radius: 28px 28px 0 0; padding: 62px 0 0; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.brand-foot { margin-bottom: 14px; }
.brand-foot .brand-name { color: var(--bg); }
.foot-brand p { font-size: .92rem; color: rgba(245, 237, 230, .74); max-width: 40ch; }
.foot-facts { display: grid; gap: 8px; margin-top: 18px; font-size: .84rem; color: rgba(245, 237, 230, .74); }
.foot-facts li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.foot-facts li::before { content: ""; width: 7px; height: 7px; margin-top: .55em; border-radius: 50%; background: var(--accent); }
.foot-col h2 { font-family: var(--body); font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--sand); margin-bottom: 14px; }
.foot-col ul { display: grid; gap: 9px; font-size: .92rem; }
.foot-col a { color: rgba(245, 237, 230, .78); border-bottom: 1px solid transparent; padding-bottom: 1px; }
.foot-col a:hover { color: #fff; border-bottom-color: var(--accent); }
.foot-bar {
  display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; justify-content: space-between;
  padding-top: 20px; padding-bottom: 26px; border-top: 1px solid rgba(245, 237, 230, .16);
  font-size: .8rem; color: rgba(245, 237, 230, .68);
}
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay li {
  border: 1px solid rgba(245, 237, 230, .24); border-radius: var(--pill);
  padding: 5px 12px; font-size: .72rem; letter-spacing: .04em;
}

/* ---------------------------------------------------------------- H3 social */
.social { background: var(--accent); color: var(--ink); padding: 62px 0 66px; }
.social-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 42px; align-items: center; }
.social-lead h2 { color: var(--ink); }
.social-lead p { margin-top: .8em; font-size: .95rem; color: rgba(61, 43, 34, .84); max-width: 56ch; }
.social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.soc {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: var(--card); border: 1px solid rgba(61, 43, 34, .1);
  border-radius: var(--pill); transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.soc:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(61, 43, 34, .16); }
.soc-badge {
  flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--accent); color: #fff; border-radius: 50%;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em;
}
.soc-txt { display: grid; line-height: 1.25; }
.soc-txt b { font-size: .88rem; }
.soc-txt i { font-style: normal; font-size: .74rem; color: rgba(61, 43, 34, .68); }

/* ---------------------------------------------------------------- toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 80;
  transform: translate(-50%, 22px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); border-radius: var(--pill);
  padding: 12px 22px; font-size: .88rem; font-weight: 700; box-shadow: var(--shadow-lg);
  transition: opacity .25s ease, transform .25s ease; max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- reveal */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .wall-tile[data-reveal] { transition-delay: calc(var(--i, 0) * 45ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .wall-tile:hover { transform: none; }
  .card:hover { transform: none; }
  .card:hover .card-media img, .wall-tile:hover .wall-media img { transform: none; }
}

/* ================================================================ 1440-ish */
@media (max-width: 1240px) {
  .wrap { padding: 0 26px; }
  .grid-shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wall { columns: 3; }
  .grid-new { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .wiz-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 32px; }
  .social-in { grid-template-columns: 1fr; gap: 30px; }
  .nav { order: 3; flex: 1 0 100%; margin: 0 0 12px; justify-content: center; }
  .head-in { flex-wrap: wrap; }
}

/* ---------------------------------------------------------------- tablet */
@media (max-width: 900px) {
  .head-in { min-height: 70px; gap: 12px; }
  .brand-name { font-size: 1.16rem; }
  .nav {
    order: 4; flex-direction: column; align-items: stretch; gap: 4px;
    max-height: 0; padding: 0 5px; overflow: hidden; border-width: 0;
    transition: max-height .3s ease, padding .3s ease, border-width .3s ease;
  }
  .head.is-open .nav { max-height: 460px; padding: 8px; border-width: 1px; }
  .pill { text-align: left; padding: 12px 16px; }
  .burger { display: flex; }
  .wall { columns: 3; }
  .grid-shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-new { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- phone 390 */
@media (max-width: 620px) {
  body { font-size: 1rem; line-height: 1.58; }
  .wrap { padding: 0 18px; }
  .wallhero { padding: 22px 0 62px; }
  .hero-lead { margin-bottom: 26px; }
  h1 { font-size: clamp(1.95rem, 8.4vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6.4vw, 2rem); }
  .lede { font-size: 1.02rem; }
  .facts { gap: 8px 18px; font-size: .86rem; margin-top: 20px; }
  .facts li { gap: 7px; }
  .brand-sub { display: none; }
  .brand { gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .bag, .burger { width: 42px; height: 42px; }

  .wall { columns: 2; column-gap: 12px; }
  .wall:not(.is-masonry) .wall-tile { margin-bottom: 12px; }
  .wall-cap { padding: 10px 11px 12px; }
  .wall-q { font-size: .82rem; line-height: 1.32; }
  .wall-who { font-size: .68rem; margin-top: 7px; }
  .wall-item { font-size: .66rem; margin-top: 4px; }
  .ugc-note { margin-top: 20px; padding: 13px 15px; font-size: .78rem; }

  .wizard, .shop, .new, .faq { padding: 58px 0 62px; }
  .wiz-card { padding: 20px 18px; }
  .wiz-fields { grid-template-columns: 1fr 1fr; gap: 10px; }
  .wiz-result { padding: 20px 18px; }
  .res-cols { grid-template-columns: 1fr; gap: 10px; }
  .res-box b { font-size: 1.25rem; }
  .acc > summary { padding: 15px 16px; gap: 10px; }
  .acc-q { font-size: .97rem; }
  .acc-body { padding: 0 16px 18px; }
  .sizetable { font-size: .8rem; }
  .sizetable th, .sizetable td { padding: 9px 7px; }

  .grid { gap: 12px; }
  .grid-shop, .grid-new { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-body { padding: 11px 11px 13px; gap: 7px; }
  .card-name { font-size: .92rem; }
  .card-tag { font-size: .78rem; }
  .card-sizes { font-size: .66rem; padding: 5px 7px; }
  .card-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .btn-add { width: 100%; padding: 9px 12px; }
  .badge { top: 9px; left: 9px; padding: 5px 9px; font-size: .62rem; }
  .chip { padding: 8px 13px; font-size: .8rem; }

  .foot { padding-top: 48px; border-radius: 22px 22px 0 0; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding-bottom: 34px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bar { flex-direction: column; align-items: flex-start; padding-bottom: 22px; }
  .social { padding: 48px 0 52px; }
  .social-links { grid-template-columns: 1fr; gap: 10px; }
  .toast { bottom: 16px; padding: 11px 18px; font-size: .82rem; }
}

@media (max-width: 400px) {
  .wall-q { font-size: .78rem; }
  .wiz-fields { grid-template-columns: 1fr; }
}

/* ==========================================================================
   WordPress template layer -- added on top of the source design system above.
   Everything below uses the same tokens (ground #F5EDE6, ink #3D2B22,
   accent #C97B5A, sand #E8D5C4, radius 16px, capsule 999px). Nothing here
   changes any rule from the static source: the source block above is byte
   for byte the design truth.
   ========================================================================== */

/* ---------------------------------------------------------------- page band */
.band {
  padding: 54px 0 40px;
  background:
    radial-gradient(900px 420px at 88% -20%, #F1DFD1 0%, rgba(245, 237, 230, 0) 62%),
    var(--bg);
}
.band h1 { font-size: clamp(1.85rem, 3.6vw, 3rem); }
.band .lede { margin-top: .7em; }
.band-narrow { max-width: 74ch; }

.crumbs { font-size: .78rem; color: var(--ink-2); margin: 0 0 14px; }
.crumbs a { border-bottom: 1px solid var(--line); }
.crumbs a:hover { border-bottom-color: var(--accent); color: var(--ink); }
.crumbs span + span::before { content: " / "; color: var(--sand); }

/* ---------------------------------------------------------------- prose */
.prose { max-width: 74ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.4rem, 2.3vw, 1.95rem); margin-top: 1.5em; }
.prose h3 { font-size: 1.16rem; margin-top: 1.4em; }
.prose h4 { font-family: var(--display); font-weight: 600; font-size: 1.02rem; margin: 1.3em 0 0; }
.prose ul, .prose ol { display: grid; gap: 9px; margin: 0; padding: 0 0 0 4px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.prose ol { counter-reset: n; list-style: none; }
.prose ol li { position: relative; padding-left: 28px; counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: .18em;
  width: 20px; height: 20px; display: grid; place-items: center;
  background: var(--sand-2); border-radius: 50%; font-size: .72rem; font-weight: 700;
}
.prose blockquote {
  margin: 1.4em 0; padding: 16px 20px; background: var(--card);
  border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px;
  font-family: var(--display); font-size: 1.06rem; line-height: 1.44;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img, .prose figure img { border-radius: var(--r); }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: .8rem; color: var(--ink-2); margin-top: 8px; text-align: center; }
.prose code {
  background: var(--sand-2); border-radius: 6px; padding: 2px 6px;
  font-size: .88em;
}
.prose pre {
  background: var(--ink); color: var(--bg); border-radius: var(--r);
  padding: 16px 18px; overflow-x: auto; font-size: .86rem;
}
.prose pre code { background: none; color: inherit; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1.4em 0; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose thead th {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); background: var(--sand-2);
}
.prose a { color: var(--ink); border-bottom: 1.5px solid var(--sand); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* ---------------------------------------------------------------- columns */
.section-pad { padding: 64px 0 70px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.side-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; box-shadow: var(--shadow); display: grid; gap: 12px;
}
.side-card h2 {
  font-family: var(--body); font-size: .76rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2);
}
.side-card ul { display: grid; gap: 8px; font-size: .92rem; }
.side-card a { color: var(--ink-2); }
.side-card a:hover { color: var(--accent); }
.entries { display: grid; gap: 22px; }
.entry-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0; }
.entry-card .entry-media { aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.entry-card .entry-media img { width: 100%; height: 100%; object-fit: cover; }
.entry-card .card-body { padding: 20px 22px 22px; gap: 10px; }
.entry-meta { margin: 0; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.entry-excerpt { margin: 0; font-size: .94rem; color: var(--ink-2); }
.entry-card .btn { align-self: flex-start; }

/* ---------------------------------------------------------------- pagination */
.paginate { margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.paginate .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px;
  padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--pill);
  background: var(--card); font-size: .88rem; font-weight: 700;
}
.paginate .page-numbers:hover { border-color: var(--accent); }
.paginate .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.paginate .next, .paginate .prev { padding: 0 18px; }

/* ---------------------------------------------------------------- product single */
.pdp { padding: 46px 0 76px; }
.pdp-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 46px; align-items: start; }
.pdp-gallery { display: grid; gap: 14px; }
.pdp-main { border-radius: var(--r); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-lg); }
.pdp-main img { width: 100%; height: auto; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pdp-thumbs img {
  width: 100%; aspect-ratio: 1 / 1.2; object-fit: cover;
  border-radius: 12px; border: 1.5px solid transparent; background: var(--sand); cursor: pointer;
}
.pdp-thumbs img:hover { border-color: var(--accent); }
.pdp-summary { display: grid; gap: 16px; }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1.1; }
.pdp-price del { font-family: var(--body); font-size: .92rem; font-weight: 400; color: var(--ink-2); }
.pdp-price ins { text-decoration: none; }
.pdp-sizebox { background: rgba(232, 213, 196, .55); border-radius: 12px; padding: 12px 15px; font-size: .86rem; font-weight: 700; }
.pdp-facts { display: grid; gap: 9px; font-size: .93rem; color: var(--ink-2); }
.pdp-facts li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; }
.pdp-facts li::before {
  content: ""; width: 17px; height: 17px; margin-top: .42em; background: var(--accent);
  clip-path: polygon(9% 52%, 0% 64%, 34% 100%, 100% 20%, 90% 8%, 33% 76%);
}
.pdp-facts b { color: var(--ink); }
.pdp-cart .btn-primary { width: 100%; }
.pdp-cart form.cart { display: grid; gap: 14px; }
.pdp-cart .quantity input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; padding: 12px 14px; font-weight: 700;
}
.pdp-cart table.variations { width: 100%; border-collapse: collapse; }
.pdp-cart table.variations th, .pdp-cart table.variations td { padding: 6px 0; text-align: left; font-size: .9rem; }
.pdp-cart table.variations select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; padding: 11px 13px; font-weight: 700; cursor: pointer;
}
.pdp-cart .woocommerce-variation-price { font-weight: 700; }
.pdp-cart .reset_variations { font-size: .78rem; color: var(--ink-2); }
.pdp-acc { margin-top: 8px; display: grid; gap: 12px; }
.pdp-spec th, .pdp-spec td { vertical-align: top; }

/* ---------------------------------------------------------------- notices */
.notice {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--sand);
  border-radius: 12px; padding: 16px 18px; font-size: .9rem; color: var(--ink-2);
}
.notice-warn { border-left-color: var(--accent); background: rgba(201, 123, 90, .1); }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: 12px; padding: 14px 18px;
  margin: 0 0 20px; font-size: .92rem;
}
.woocommerce-info { border-left-color: var(--sand); }
.woocommerce-error { border-left-color: #B4402F; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { margin-left: 10px; }
.wc-block-components-notice-banner { border-radius: 12px !important; }

/* ---------------------------------------------------------------- 404 */
.lost { padding: 76px 0 86px; text-align: center; }
.lost-code {
  font-family: var(--display); font-weight: 700; font-size: clamp(4rem, 14vw, 8.5rem);
  line-height: .92; color: var(--accent); margin: 0;
}
.lost h1 { font-size: clamp(1.5rem, 3vw, 2.4rem); margin-top: .1em; }
.lost p { color: var(--ink-2); max-width: 58ch; margin: 1em auto 0; }
.lost-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

/* ---------------------------------------------------------------- comments */
.comments { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.comments h2 { font-size: 1.5rem; margin-bottom: 18px; }
.comment-list { display: grid; gap: 16px; }
.comment-list .comment { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.comment-list .comment-meta { font-size: .78rem; color: var(--ink-2); }
.comment-list .comment-author img { border-radius: 50%; display: inline-block; margin-right: 8px; vertical-align: middle; }
.comment-form { display: grid; gap: 12px; margin-top: 26px; }
.comment-form label { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.comment-form input, .comment-form textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; padding: 11px 13px; font-weight: 400;
}
.comment-form .submit {
  justify-self: start; border: 1.5px solid var(--accent); background: var(--accent); color: #fff;
  border-radius: var(--pill); padding: 12px 22px; font-weight: 700; font-size: .92rem; cursor: pointer;
}
.comment-form .submit:hover { background: var(--accent-dk); border-color: var(--accent-dk); }

/* ---------------------------------------------------------------- align */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .8rem; color: var(--ink-2); margin-top: 6px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}

/* ---------------------------------------------------------------- woo forms */
.caliessa-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.caliessa-form textarea, .caliessa-form select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; padding: 11px 13px; font-weight: 400;
}
.caliessa-form .button, .caliessa-form button[type="submit"] {
  border: 1.5px solid var(--accent); background: var(--accent); color: #fff;
  border-radius: var(--pill); padding: 12px 22px; font-weight: 700; cursor: pointer;
}
.caliessa-form .button:hover, .caliessa-form button[type="submit"]:hover {
  background: var(--accent-dk); border-color: var(--accent-dk);
}

@media (max-width: 1080px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .pdp-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .entry-card { grid-template-columns: 1fr; }
  .entry-card .entry-media { aspect-ratio: 16 / 9; }
  .pdp-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .band { padding: 38px 0 28px; }
  .section-pad { padding: 48px 0 52px; }
  .pdp { padding: 30px 0 56px; }
  .pdp-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .pdp-price { font-size: 1.55rem; }
  .lost { padding: 56px 0 66px; }
  .lost-links .btn { width: 100%; }
  .prose blockquote { padding: 14px 16px; }
}

/* ==========================================================================
   WordPress integration layer: menu lists inside the capsule nav, and the
   native WooCommerce loops (shop, category, single product) dressed in the
   same tokens. Appended after the template layer, nothing above is changed.
   ========================================================================== */

/* ------------------------------------------------ nav lists (wp_nav_menu) */
.nav > ul { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin: 0; }
.nav li { list-style: none; }
.foot-col li { list-style: none; }
.foot-col ul li a { display: inline-block; }

/* ------------------------------------------------ native WooCommerce loops */
.caliessa-woo { max-width: none; }
.woocommerce .woocommerce-result-count { margin: 0 0 18px; font-size: .84rem; color: var(--ink-2); }
.woocommerce .woocommerce-ordering select {
  border: 1.5px solid var(--line); border-radius: var(--pill); background: var(--card);
  padding: 10px 16px; font-weight: 700; font-size: .86rem; cursor: pointer;
}
.woocommerce ul.products {
  display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; content: none !important; }
.woocommerce ul.products li.product {
  width: auto !important; margin: 0 !important; float: none !important; clear: none !important;
  background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; padding: 0 !important; text-align: left !important;
  transition: transform .3s ease, box-shadow .3s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; }
.woocommerce ul.products li.product img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 !important; border-radius: 0;
}
.woocommerce ul.products li.product .onsale {
  top: 12px !important; right: auto !important; left: 12px !important; margin: 0 !important;
  background: var(--accent) !important; color: #fff !important; border-radius: var(--pill) !important;
  min-height: 0 !important; min-width: 0 !important; line-height: 1 !important;
  padding: 7px 12px !important; font-size: .68rem !important; font-weight: 700 !important;
  letter-spacing: .08em; text-transform: uppercase;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--display); font-weight: 600; font-size: .97rem !important;
  padding: 14px 16px 0 !important; margin: 0 !important; line-height: 1.34; color: var(--ink);
}
.woocommerce ul.products li.product .price {
  display: block; padding: 8px 16px 0; margin: 0 !important;
  font-size: 1.06rem !important; font-weight: 700; color: var(--ink) !important;
}
.woocommerce ul.products li.product .price del { font-size: .84rem; font-weight: 400; color: var(--ink-2); opacity: .85; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .star-rating { margin: 8px 16px 0 !important; color: var(--accent); }
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
  margin: 14px 16px 16px !important; align-self: flex-start;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  border-radius: var(--pill) !important; padding: 9px 16px !important;
  font-weight: 700 !important; font-size: .8rem !important; line-height: 1.3 !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .added_to_cart:hover { background: var(--ink); color: var(--bg); }
.woocommerce ul.products li.product .added_to_cart { background: var(--sand-2); border-color: var(--sand); }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 10px; margin: 40px 0 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--pill);
  background: var(--card); font-weight: 700; font-size: .88rem;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ------------------------------------------------ single product */
.woocommerce div.product { padding: 46px 0 70px; }
.woocommerce div.product .product_title { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price {
  font-family: var(--display); font-weight: 700; font-size: 1.9rem; color: var(--ink);
}
.woocommerce div.product p.price del { font-family: var(--body); font-size: .92rem; font-weight: 400; color: var(--ink-2); }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--ink-2); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--pill);
  margin: 0; padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; content: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 18px; font-weight: 700; font-size: .86rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--ink); border-color: var(--ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--bg); }
.woocommerce div.product .woocommerce-tabs .panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 1.3rem; margin-bottom: .6em; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 {
  font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.95rem); margin-bottom: 20px;
}
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0; }
.woocommerce div.product form.cart .quantity input {
  width: 96px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; padding: 12px 14px; font-weight: 700;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
  background: var(--accent); border: 1.5px solid var(--accent); color: #fff;
  border-radius: var(--pill); padding: 14px 26px; font-weight: 700; font-size: .98rem; cursor: pointer;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.woocommerce div.product form.cart table.variations { width: 100%; margin: 0 0 6px; }
.woocommerce div.product form.cart table.variations th,
.woocommerce div.product form.cart table.variations td { padding: 6px 8px 6px 0; text-align: left; font-size: .9rem; }
.woocommerce div.product form.cart table.variations select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; padding: 11px 13px; font-weight: 700; cursor: pointer;
}
.woocommerce div.product .product_meta { font-size: .82rem; color: var(--ink-2); display: grid; gap: 6px; }
.woocommerce div.product .woocommerce-product-gallery { border-radius: var(--r); overflow: hidden; background: var(--sand); }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error {
  border-top: 0 !important;
}
.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-form-login-toggle .woocommerce-info { padding: 14px 18px; }
.woocommerce table.shop_table, .wp-block-woocommerce-cart, .wp-block-woocommerce-checkout {
  border-radius: var(--r);
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 14px; }

@media (max-width: 1240px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .nav > ul { justify-content: center; }
}
@media (max-width: 900px) {
  .nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce div.product { padding: 30px 0 56px; }
}
@media (max-width: 620px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .92rem !important; padding: 11px 11px 0 !important; }
  .woocommerce ul.products li.product .price { font-size: .98rem !important; padding: 6px 11px 0; }
  .woocommerce ul.products li.product .button { margin: 10px 11px 13px !important; width: calc(100% - 22px); text-align: center; }
  .woocommerce div.product .woocommerce-tabs .panel { padding: 16px; }
}

/* ==========================================================================
   Footer legal row: About / Size guide / Privacy / Terms on every template.
   Added for the standard-pages wave; class names are new, nothing above is
   changed.
   ========================================================================== */
.foot-legal { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-legal a { color: rgba(245, 237, 230, .78); border-bottom: 1px solid transparent; padding-bottom: 1px; }
.foot-legal a:hover { color: #fff; border-bottom-color: var(--accent); }
