/* =========================================================
   Cement Stone Studio — coastal luxe, warm earthy minimal
   Edit the colors below to re-theme the whole site.
   ========================================================= */
:root {
  --sand: #f7f3ee;        /* page background */
  --shell: #ffffff;       /* cards / light panels */
  --concrete: #dde1e4;    /* borders, subtle fills (cool cement grey) */
  --stone: #6b7480;       /* muted text */
  --ink: #142233;         /* main text (deep navy) */

  /* Blues — from deep night swell to shallow surf */
  --navy: #0d2236;
  --ocean: #0f4c75;       /* deep Pacific */
  --pacific: #1b7fa8;     /* open water */
  --surf: #4fb3d9;        /* breaking wave */
  --sky: #cfe8f3;         /* morning haze */
  --seaglass: #8fd3e0;    /* bright aqua on dark backgrounds */

  /* Sunset hues */
  --coral: #f2705a;
  --sunset: #e8604c;      /* main warm accent */
  --amber: #f6a84b;
  --peach: #fbd2b0;
  --rose: #e9849a;

  --grad-sunset: linear-gradient(120deg, #f6a84b 0%, #f2705a 45%, #d95c8a 100%);
  --grad-ocean: linear-gradient(150deg, #0d2236 0%, #0f4c75 55%, #1b7fa8 100%);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sunset);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}
.muted { color: var(--stone); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--shell { background: linear-gradient(180deg, #eef7fb 0%, #f7f3ee 100%); }
.section--ocean { background: var(--grad-ocean); color: var(--sand); }
.section--ocean .eyebrow { color: var(--amber); }
.section--sunset { background: var(--grad-sunset); color: #fff; }
.section--sunset .eyebrow { color: var(--navy); }
.section--sunset .btn--light { background: var(--navy); border-color: var(--navy); color: #fff; }
.section--sunset .btn--light:hover { background: #fff; border-color: #fff; color: var(--navy); }
.section--sunset .newsletter input { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.6); color: #fff; }
.section--sunset .newsletter input::placeholder { color: rgba(255,255,255,.85); }
.section--sunset .form-status { color: var(--navy) !important; font-weight: 600; }
.center { text-align: center; }
.narrow { max-width: 680px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .95em 1.9em;
  font: 600 .78rem/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ocean);
  border-color: var(--ocean);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--sunset); border-color: var(--sunset); }
.btn--ghost { background: transparent; color: var(--ocean); border-color: var(--ocean); }
.btn--ghost:hover { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.btn--light { background: var(--grad-sunset); color: #fff; border-color: transparent; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline-light { background: transparent; color: var(--sand); border-color: var(--sand); }
.btn--outline-light:hover { background: var(--sand); color: var(--ink); }
.btn--small { padding: .75em 1.2em; font-size: .68rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 238, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--concrete);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--ocean), var(--surf) 40%, var(--amber) 70%, var(--coral));
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: .04em;
}
.logo span { color: var(--sunset); }
.site-header .logo { white-space: nowrap; }
@media (max-width: 460px) { .site-header .logo { font-size: 1.25rem; letter-spacing: .02em; } }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--sunset); }
.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px; background: var(--ink); margin: 6px 0;
  transition: transform .25s, opacity .25s;
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--sand);
    border-bottom: 1px solid var(--concrete);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px var(--gutter); border-bottom: 1px solid var(--concrete); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  color: var(--sand);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 34, 54, .55) 0%, rgba(13, 34, 54, .1) 70%),
    var(--hero-img, linear-gradient(180deg, #0d2236 0%, #0f4c75 30%, #1b7fa8 52%, #d95c8a 74%, #f2705a 86%, #f6a84b 100%));
  background-size: cover;
  background-position: center;
}
.hero .eyebrow { color: var(--amber); }
/* Sun glow sitting on the horizon */
.hero::before {
  content: ""; position: absolute; right: 8%; bottom: 14%;
  width: clamp(180px, 28vw, 380px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 150, .95) 0%, rgba(246, 168, 75, .7) 35%, rgba(242, 112, 90, 0) 70%);
  filter: blur(4px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 14ch; }
.hero p { max-width: 46ch; font-size: 1.08rem; opacity: .92; }
.hero__waves {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 80px;
}
.page-hero {
  padding: clamp(72px, 12vw, 140px) 0 clamp(48px, 8vw, 90px);
  text-align: center;
  background:
    radial-gradient(ellipse at 85% 100%, rgba(246, 168, 75, .35), transparent 55%),
    radial-gradient(ellipse at 10% 0%, rgba(79, 179, 217, .35), transparent 60%),
    linear-gradient(180deg, #e3f2f9 0%, #f7f3ee 100%);
}
.page-hero p { max-width: 560px; margin: 0 auto; color: var(--stone); font-size: 1.05rem; }

/* ---------- Concrete texture placeholder for missing photos ---------- */
.concrete {
  background-color: #c9d0d6;
  background-image:
    radial-gradient(rgba(255,255,255,.4) 1px, transparent 1.5px),
    radial-gradient(rgba(13,34,54,.08) 1px, transparent 1.5px),
    linear-gradient(135deg, #d8dee3 0%, #b9c3cb 60%, #e9c9b4 100%);
  background-size: 7px 7px, 11px 11px, 100% 100%;
  background-position: 0 0, 3px 5px, 0 0;
  display: grid; place-items: center;
  color: rgba(35, 39, 43, .45);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }

.product { display: flex; flex-direction: column; }
.product__img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product:hover .product__img img { transform: scale(1.04); }
.product__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product__name { font-family: var(--serif); font-size: 1.45rem; margin: 0; }
.product__price { font-weight: 600; font-size: .95rem; white-space: nowrap; color: var(--sunset); }
.product__desc { color: var(--stone); font-size: .93rem; margin: 6px 0 16px; flex: 1; }
.product__tag {
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--pacific); margin-bottom: 4px;
}
.product__img { box-shadow: 0 12px 30px -18px rgba(15, 76, 117, .45); }
.product .btn-row { gap: 8px; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.filter-group { margin-bottom: 18px; }
.filter-label {
  display: block; text-align: center; margin-bottom: 10px;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--stone);
}
.filters--shopby .filter { border-color: var(--peach); }
.filters--shopby .filter:hover { border-color: var(--coral); color: var(--sunset); }
.filters--shopby .filter[aria-pressed="true"] { background: var(--grad-sunset); color: #fff; border-color: transparent; }
.shop-count { text-align: center; color: var(--stone); font-size: .9rem; margin: 26px 0 40px; }

/* Product badges + shipping line */
.product__img {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  background: var(--concrete); cursor: zoom-in; font: inherit;
}
.product__view {
  position: absolute; left: 12px; right: 12px; bottom: 12px; text-align: center;
  background: rgba(13, 34, 54, .78); color: #fff; border-radius: 999px; padding: .55em 1em;
  font: 600 .66rem var(--sans); letter-spacing: .16em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s;
}
.product__img:hover .product__view, .product__img:focus-visible .product__view { opacity: 1; transform: none; }
@media (hover: none) { .product__view { opacity: 1; transform: none; } }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.linklike:hover { color: var(--ocean); }

/* Quick view dialog */
.qv {
  width: min(1040px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  padding: 0; border: 0; border-radius: 8px; background: var(--sand); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(13, 34, 54, .55);
}
.qv::backdrop { background: rgba(13, 34, 54, .6); backdrop-filter: blur(3px); }
.qv__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 28px; position: relative; }
@media (max-width: 760px) { .qv__inner { grid-template-columns: 1fr; padding: 20px 16px; gap: 20px; } }
.qv__close {
  position: absolute; top: 10px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--shell); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink);
}
.qv__main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--concrete); }
.qv__main img { width: 100%; height: 100%; object-fit: cover; }
.qv__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.qv__thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 1; background: none; }
.qv__thumbs button[aria-current="true"] { border-color: var(--sunset); }
.qv__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv__info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 6px; }
.qv__price { font-size: 1.3rem; font-weight: 600; color: var(--sunset); margin-bottom: 16px; }
.qv__info > p { color: var(--stone); font-size: .95rem; }
.qv__care { font-size: .82rem; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--concrete); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  font: 600 .62rem var(--sans); letter-spacing: .14em; text-transform: uppercase;
  padding: .5em .8em; border-radius: 999px; color: #fff; background: var(--ocean);
}
.badge--best { background: var(--grad-sunset); }
.badge--new { background: var(--pacific); }
.badge--one { background: var(--navy); }
.product__tag span { color: var(--stone); }
.product__ship {
  display: block; font-size: .8rem; color: var(--pacific); text-decoration: none;
  margin: -6px 0 16px; padding-left: 18px; position: relative;
}
.product__ship::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 50%;
  background: var(--surf);
}
.product__ship:hover { text-decoration: underline; }

/* Shop-by tiles (home) */
.shopby { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.shopby a {
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px;
  padding: 22px; border-radius: var(--radius); text-decoration: none; color: #fff;
  font-family: var(--serif); font-size: 1.6rem; line-height: 1.1;
  transition: transform .3s, box-shadow .3s;
}
.shopby a small { font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85; margin-top: 8px; }
.shopby a:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(13, 34, 54, .6); }
.shopby a:nth-child(1) { background: var(--grad-sunset); }
.shopby a:nth-child(2) { background: linear-gradient(140deg, var(--pacific), var(--surf)); }
.shopby a:nth-child(3) { background: linear-gradient(140deg, var(--navy), var(--ocean)); }
.shopby a:nth-child(4) { background: linear-gradient(140deg, var(--ocean), var(--rose)); }

/* Shipping page */
.ship-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.ship-option {
  background: var(--shell); border: 1px solid var(--concrete); border-top: 3px solid var(--pacific);
  border-radius: var(--radius); padding: 28px 24px;
}
.ship-option:nth-child(2) { border-top-color: var(--surf); }
.ship-option:nth-child(3) { border-top-color: var(--amber); }
.ship-option:nth-child(4) { border-top-color: var(--coral); }
.ship-option .price { font-family: var(--serif); font-size: 1.9rem; color: var(--sunset); line-height: 1; margin: 6px 0 10px; }
.ship-option p { color: var(--stone); font-size: .93rem; margin: 0; }
.table-wrap { overflow-x: auto; }
.ship-table { width: 100%; border-collapse: collapse; background: var(--shell); border-radius: var(--radius); overflow: hidden; }
.ship-table th {
  text-align: left; font: 600 .7rem var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: #fff; background: var(--ocean); padding: 14px 18px;
}
.ship-table td { padding: 16px 18px; border-bottom: 1px solid var(--concrete); vertical-align: top; }
.ship-table td span { display: block; font-size: .85rem; }
.free-banner {
  background: var(--grad-sunset); color: #fff; text-align: center; border-radius: var(--radius);
  padding: 18px 20px; font-weight: 500; margin-top: 24px;
}
.policy h3 { margin-top: 1.4em; }
.policy ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.policy li { margin-bottom: .4em; }
.filter {
  background: none; border: 1px solid var(--concrete); border-radius: 999px;
  padding: .55em 1.2em; font: 500 .78rem var(--sans); letter-spacing: .08em;
  cursor: pointer; color: var(--ink);
}
.filter:hover { border-color: var(--surf); color: var(--ocean); }
.filter[aria-pressed="true"] { background: var(--ocean); color: #fff; border-color: var(--ocean); }

.split-img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* Features / values row */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.feature { border-top: 1px solid var(--concrete); padding-top: 24px; }
.section--ocean .feature { border-color: rgba(143, 211, 224, .4); }
.section--ocean .muted { color: rgba(247, 243, 238, .78); }
.feature__num {
  font-family: var(--serif); font-size: 2.6rem; line-height: 1; margin-bottom: 12px;
  background: var(--grad-sunset); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feature { border-top-color: var(--surf); }

/* Ways to buy */
.buy-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.buy-way {
  background: var(--shell); border: 1px solid var(--concrete); border-radius: var(--radius);
  padding: 32px 28px;
  border-top: 3px solid var(--pacific);
}
.buy-way:nth-child(2) { border-top-color: var(--amber); }
.buy-way:nth-child(3) { border-top-color: var(--coral); }
.buy-way h3 { margin-bottom: .3em; }
.buy-way p { color: var(--stone); font-size: .95rem; margin: 0; }

/* Events */
.event {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--concrete);
}
.event:first-child { border-top: 1px solid var(--concrete); }
.event__date { font-family: var(--serif); text-align: center; line-height: 1; }
.event__date .m { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sunset); margin-bottom: 6px; }
.event__date .d { font-size: 2.8rem; }
.event h3 { margin-bottom: .2em; }
.event p { margin: 0; color: var(--stone); font-size: .95rem; }
@media (max-width: 640px) {
  .event { grid-template-columns: 70px 1fr; gap: 18px; }
  .event .btn { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; color: var(--stone); }
input, select, textarea {
  width: 100%;
  font: 400 1rem var(--sans);
  color: var(--ink);
  background: var(--shell);
  border: 1px solid var(--concrete);
  border-radius: var(--radius);
  padding: .85em 1em;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ocean); }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--stone); }
.form-status { font-size: .95rem; color: var(--ocean); min-height: 1.4em; }

.newsletter { display: flex; gap: 10px; max-width: 480px; margin: 28px auto 0; }
.newsletter input { background: rgba(245, 240, 232, .08); border-color: rgba(245, 240, 232, .35); color: var(--sand); }
.newsletter input::placeholder { color: rgba(245, 240, 232, .6); }
@media (max-width: 480px) { .newsletter { flex-direction: column; } }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--navy) 0%, #0a1a2a 100%); color: rgba(245, 240, 232, .8); padding: 72px 0 32px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo { color: var(--sand); display: inline-block; margin-bottom: 12px; }
.site-footer h4 { font: 600 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--sand); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(245, 240, 232, .15); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; color: rgba(245, 240, 232, .55); }
.socials { display: flex; gap: 14px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border: 1px solid rgba(245, 240, 232, .3); border-radius: 50%; display: grid; place-items: center; }
.socials a:hover { background: var(--sand); color: var(--ink); text-decoration: none; }
.socials svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Cart ---------- */
.cart-btn {
  position: relative; margin-left: auto; margin-right: 8px; order: 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: var(--ink); border-radius: 50%;
}
.cart-btn:hover { background: rgba(15, 76, 117, .08); color: var(--ocean); }
.cart-btn svg { width: 24px; height: 24px; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--sunset); color: #fff;
  font: 700 .68rem/19px var(--sans); text-align: center;
}
.site-header .nav { order: 1; }
.site-header .nav-toggle { order: 3; }
@media (min-width: 821px) {
  .site-header .nav { margin-left: auto; }
  .cart-btn { margin-left: 20px; margin-right: 0; order: 3; }
}

.cart { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.cart.open { visibility: visible; }
.cart__scrim { position: absolute; inset: 0; background: rgba(13, 34, 54, .5); opacity: 0; transition: opacity .3s; }
.cart.open .cart__scrim { opacity: 1; }
.cart__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--sand); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s ease;
  box-shadow: -20px 0 60px -30px rgba(13, 34, 54, .6);
}
.cart.open .cart__panel { transform: none; }
.cart__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--concrete); position: relative;
}
.cart__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad-sunset); }
.cart__head h2 { font-size: 1.7rem; margin: 0; }
.cart__x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--shell); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); }
.cart__body { flex: 1; overflow-y: auto; padding: 8px 20px 28px; }
.cart__empty { text-align: center; padding: 60px 0; color: var(--stone); }
.cart__lines { list-style: none; margin: 0; padding: 0; }
.cart__line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--concrete); }
.cart__thumb { width: 64px; height: 64px; border-radius: var(--radius); overflow: hidden; background: var(--concrete); }
.cart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart__name { font-size: .92rem; line-height: 1.35; }
.cart__unit { font-size: .82rem; color: var(--stone); margin: 2px 0 8px; }
.cart__lineprice { font-weight: 600; font-size: .95rem; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button[data-qty] {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--concrete); background: var(--shell);
  cursor: pointer; font-size: 1rem; line-height: 1; color: var(--ink);
}
.qty button[data-qty]:disabled { opacity: .4; cursor: default; }
.qty span { min-width: 18px; text-align: center; font-weight: 600; font-size: .9rem; }
.cart__remove { margin-left: 8px; background: none; border: 0; padding: 0; color: var(--stone); font-size: .78rem; text-decoration: underline; cursor: pointer; }
.cart__nudge { margin: 16px 0 0; padding: 10px 14px; border-radius: var(--radius); background: #fff3e6; color: #8a4a1f; font-size: .88rem; }
.cart__nudge--yes { background: #e3f4ee; color: #1f6b52; }
.cart__delivery { border: 0; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.cart__delivery legend { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: 8px; }
.cart__delivery label {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center;
  padding: 11px 14px; border: 1px solid var(--concrete); border-radius: var(--radius); background: var(--shell);
  font-size: .9rem; text-transform: none; letter-spacing: 0; color: var(--ink); margin: 0; cursor: pointer;
}
.cart__delivery label:has(input:checked) { border-color: var(--ocean); box-shadow: inset 0 0 0 1px var(--ocean); }
.cart__delivery label.is-off { opacity: .5; cursor: default; }
.cart__delivery input { width: auto; accent-color: var(--ocean); }
.cart__totals { margin-top: 20px; display: grid; gap: 6px; font-size: .95rem; }
.cart__totals > div { display: flex; justify-content: space-between; }
.cart__total { font-weight: 700; font-size: 1.1rem; padding-top: 10px; border-top: 1px solid var(--concrete); margin-top: 4px; }
.cart__fine { font-size: .78rem; color: var(--stone); margin: 4px 0 0; }
.cart__checkout { width: 100%; margin-top: 18px; padding: 1.1em; font-size: .82rem; background: var(--grad-sunset); border-color: transparent; }
.cart__checkout:hover { background: var(--ocean); border-color: var(--ocean); }
.cart__checkout:disabled { opacity: .7; cursor: wait; }
.cart__secure { text-align: center; margin-top: 10px; }
.cart__msg { font-size: .88rem; color: #8a2f1f; margin: 12px 0 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
