/* OLVYRE storefront. Identity from the OLVYRE Brand Kit, White Edition (versi 03, November 2026):
   white as the main plane, Ink text, Blush as the companion plane, Rose as the one accent;
   Playfair Display for large headlines, Plus Jakarta Sans for everything else.
   Square panels, 8px corners on controls, 1px lines, no shadows or gradients.
   Layout: two-tier header, centered section heads, products and categories on square tiles. */

:root {
  --ink: #231f20;        /* Ink: main text, 16.3:1 on white */
  --canvas: #ffffff;     /* Primary White: page background */
  --surface: #ffffff;    /* drawer, raised panels */
  --tile: #f7f5f6;       /* Soft: product and category tiles; --mist on it is 5.12:1 */
  --blush: #f9e9ee;      /* Blush: companion plane; ink 13.9:1, --mist 4.74:1 */
  --accent: #b83d60;     /* Rose: the one accent; 5.42:1 on white, white text on it 5.42:1 */
  --line: #e9e3e5;       /* Line: dividers and panel edges */
  --mist: #6f6669;       /* Muted: secondary text, 5.55:1 on white */

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;

  --radius: 8px;         /* controls only; panels and tiles stay square */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --page: 1440px;
  --section: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* component display rules would otherwise override the attribute */

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
strong, b { font-weight: 600; }

h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.1; }
h2 { font-size: clamp(28px, 3vw, 40px); text-wrap: balance; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 16px;
}

/* Buttons: Rose fill for the primary action, ink outline for the rest. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--ink); color: var(--canvas); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn:disabled:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--primary:disabled:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.link:hover { color: var(--accent); }

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
}
.icon-btn svg, .cart-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: square; stroke-linejoin: miter; }

/* Announcement */
.announce {
  background: var(--blush);
  color: var(--ink);
  font-size: 13px;
  text-align: center;
  padding: 10px var(--gutter);
}
.announce p { margin: 0; }
.announce a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-left: 8px; }

/* Header: utility bar with centered monogram, nav row beneath */
.header { position: sticky; top: 0; z-index: 50; background: var(--canvas); border-bottom: 1px solid var(--line); }
.header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.header__locale { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.logo { grid-column: 2; }
/* Monogram master; the kit's digital minimum is 48px wide, so the scrolled state stops there. */
.logo__mark { width: 60px; height: auto; transition: width .3s var(--ease); }
.header.is-scrolled .logo__mark { width: 48px; }
.header__actions { grid-column: 3; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.header__link { font-size: 14px; font-weight: 500; padding: 6px 0; }
.header__link:hover { text-decoration: underline; text-underline-offset: 5px; }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -12px; border: 0; background: transparent; }
.menu-btn { display: none; }

.cart-count {
  position: absolute;
  top: 5px; right: 3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  transform: scale(0);
  transition: transform .25s var(--ease);
}
.cart-count.is-visible { transform: scale(1); }

.nav { display: flex; justify-content: center; gap: 40px; padding: 0 var(--gutter); }
.nav a {
  position: relative;
  padding: 14px 0 16px;
  font-size: 14px;
  font-weight: 500;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

/* Video helpers */
.motion { position: relative; }
.motion video { display: block; }
.video-toggle {
  position: absolute;
  right: 16px; bottom: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
}
.video-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.video-toggle__play { fill: currentColor !important; }
.video-toggle .video-toggle__play, .video-toggle.is-paused .video-toggle__pause { display: none; }
.video-toggle.is-paused .video-toggle__play { display: block; }

/* Hero: full-bleed film, centered text beneath */
.hero__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 160px);
  min-height: 320px;
  object-fit: cover;
  background: var(--canvas);
}
.hero__text { max-width: 640px; margin: 0 auto; padding: 56px var(--gutter) 0; text-align: center; }
.hero h1 { font-size: clamp(40px, 5vw, 68px); margin-bottom: 24px; text-wrap: balance; }
.hero h1::after { content: ""; display: block; width: 48px; height: 2px; margin: 24px auto 0; background: var(--accent); } /* the kit's short Rose mark */
.hero__text p { color: var(--mist); margin-bottom: 32px; }

/* Shared centered section */
.section { max-width: var(--page); margin: 0 auto; padding: var(--section) var(--gutter) 0; }
.section__head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section__head h2 { margin-bottom: 12px; }
.section__head p { color: var(--mist); margin: 0; }

/* Shop */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 32px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.chip {
  position: relative;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--mist);
}
.chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.chip:hover { color: var(--ink); }
.chip.is-active { color: var(--ink); }
.chip.is-active::after { transform: scaleX(1); }

/* Fixed-width tiles centered on the row, so a short launch line-up stays composed. */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 330px)); justify-content: center; gap: 56px 24px; }
.card { display: flex; flex-direction: column; text-align: center; animation: fadeUp .5s var(--ease) both; }
.card__media { position: relative; aspect-ratio: 1; background: var(--tile); overflow: hidden; margin-bottom: 24px; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease); }
.card__img--alt { opacity: 0; }
.card:hover .has-alt .card__img--alt { opacity: 1; }
.card__body { display: flex; flex-direction: column; align-items: center; flex: 1; }
.card__label { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.card__name { font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.card__desc { font-size: 14px; line-height: 1.5; color: var(--mist); margin-bottom: 10px; max-width: 300px; }
.card__size { font-size: 13px; color: var(--mist); margin-bottom: 6px; }
.card__price { font-size: 15px; font-weight: 600; margin-bottom: 20px; }
.card__price--ask { color: var(--mist); font-weight: 400; }
.card__price s { color: var(--mist); font-weight: 400; font-size: 13px; margin-left: 4px; }
.card__add { width: 100%; margin-top: auto; }
button.card__media { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; }
.card__more {
  min-height: 44px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--mist);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.card__more:hover { color: var(--accent); }

/* Product detail dialog */
.detail {
  width: min(960px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  overflow-y: auto;
}
.detail::backdrop { background: rgba(35, 31, 32, .4); }
.detail__close { position: sticky; top: 8px; float: right; margin: 8px 8px -52px 0; z-index: 2; background: var(--surface); }
.detail__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.detail__inner { display: grid; grid-template-columns: 1fr 1fr; }
.detail__media { background: var(--tile); }
.detail__media img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; position: sticky; top: 0; }
.detail__text { padding: 48px 40px 40px; }
.detail__text h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 8px; }
.detail__size { color: var(--mist); font-size: 14px; }
.detail__summary { color: var(--mist); }
.detail__buy { margin: 24px 0 40px; }
.detail__price { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.detail__price s { color: var(--mist); font-weight: 400; font-size: 14px; margin-left: 4px; }
.detail__text .label { margin: 0 0 12px; font-family: var(--sans); line-height: 1.6; }
.detail__ingredients { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid var(--line); }
.detail__ingredients li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.detail__ingredients strong { font-weight: 600; }
.detail__ingredients span { color: var(--mist); }
.detail__usage { margin: 0 0 32px; padding-left: 20px; font-size: 14px; }
.detail__usage li + li { margin-top: 8px; }
.detail__reg { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.detail__links { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 0; }

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

/* Feature: film beside text */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  max-width: var(--page);
  margin: 0 auto;
  padding: var(--section) var(--gutter) 0;
}
.feature__media { aspect-ratio: 1; overflow: hidden; background: var(--tile); }
.feature__video { width: 100%; height: 100%; object-fit: cover; }
.feature__text { max-width: 520px; }
.feature__text h2 { margin-bottom: 20px; }
.feature__text > p { color: var(--mist); }
.steps { list-style: none; padding: 0; margin: 32px 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps li { display: flex; flex-direction: column; padding: 20px 12px 0 0; font-size: 16px; font-weight: 600; }
.steps span { font-size: 12px; font-weight: 500; letter-spacing: .1em; line-height: 1; color: var(--accent); margin-bottom: 12px; }
.steps small { margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--mist); }

/* Categories: square tiles, name and status beneath */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.cat { display: flex; flex-direction: column; text-align: center; }
.cat__media { position: relative; aspect-ratio: 1; background: var(--tile); overflow: hidden; margin-bottom: 16px; display: grid; place-items: center; }
.cat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat:hover .cat__media img { transform: scale(1.03); }
.cat__placeholder { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.cat__name { font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.cat__status { margin: 0; font-size: 13px; color: var(--mist); }
.cat:hover .cat__status { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* About */
.about { padding-top: var(--section); }
.about__image { width: 100%; height: clamp(260px, 38vw, 560px); object-fit: cover; background: var(--tile); }
.about__text { max-width: 680px; margin: 0 auto; padding: 56px var(--gutter) 0; text-align: center; }
.about__text h2 { margin-bottom: 20px; }
.about__text > p { color: var(--mist); }
.values { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; }
.values li { padding: 0 20px; font-family: var(--serif); font-size: 20px; }
.values li + li { border-left: 1px solid var(--line); }

/* Services */
.services__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services__list li { padding: 40px 24px; text-align: center; }
.services__list li + li { border-left: 1px solid var(--line); }
.services__list svg { width: 32px; height: 32px; margin: 0 auto 20px; fill: none; stroke: currentColor; stroke-width: 1; }
.services__list h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.services__list p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--mist); }

/* FAQ */
.faq__list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 20px; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--mist); padding-right: 40px; margin-bottom: 22px; font-size: 14px; }

/* Contact: two quiet blocks */
/* Contact: the page's Blush plane */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: var(--section);
  background: var(--blush);
}
.contact__block { padding: 72px var(--gutter); text-align: center; }
.contact__block + .contact__block { border-left: 1px solid rgba(35, 31, 32, .12); }
.contact__block h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 12px; }
.contact__block p { color: var(--mist); max-width: 400px; margin: 0 auto 28px; }
.contact__links { display: flex; justify-content: center; gap: 32px; }

/* Footer: light, columns then wordmark */
.footer { border-top: 1px solid var(--line); background: var(--tile); }
.footer__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 64px var(--gutter) 48px;
}
.footer h4 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer__inner a { display: block; width: fit-content; font-size: 14px; color: var(--mist); padding: 5px 0; }
.footer__inner a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__brand { text-align: center; padding: 24px var(--gutter) 40px; }
.footer__logo { width: 160px; height: auto; margin: 0 auto 16px; } /* primary lockup; kit minimum 150px */
.footer__brand p { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 20px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--mist);
}
.footer__bottom p { margin: 0; }

/* Cart drawer */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(35, 31, 32, .4); opacity: 0; transition: opacity .3s; }
.overlay.is-open { opacity: 1; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 100;
  width: min(440px, 100%);
  background: var(--surface);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 24px; }
.drawer__foot { padding: 24px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; margin-bottom: 4px; }
.drawer__note { font-size: 12px; color: var(--mist); margin-bottom: 16px; }

.empty { text-align: center; padding: 64px 0; color: var(--mist); }
.grid .empty { grid-column: 1 / -1; }

.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__media { width: 72px; height: 72px; object-fit: cover; background: var(--tile); }
.line__name { font-weight: 600; margin: 0 0 4px; font-size: 14px; }
.line__meta { font-size: 12px; color: var(--mist); margin: 0 0 8px; }
.line__price { margin: 0; font-weight: 600; font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; }
.qty button:hover { background: var(--tile); }
.qty span { min-width: 24px; text-align: center; font-size: 14px; font-weight: 600; }

/* Toast */
.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  z-index: 120;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: var(--canvas);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
  max-width: calc(100% - 32px);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .services__list { grid-template-columns: 1fr 1fr; }
  .services__list li:nth-child(3) { border-left: 0; }
  .services__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 72px; }
  .menu-btn { display: grid; margin-left: -12px; }
  .header__locale, .header__link { display: none; }
  .header__bar { height: 64px; }
  .logo__mark, .header.is-scrolled .logo__mark { width: 48px; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
    padding: 0 var(--gutter) 16px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s var(--ease), opacity .25s var(--ease), visibility 0s linear .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .25s var(--ease), opacity .25s var(--ease); }
  .nav a { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }

  .feature, .contact, .detail__inner { grid-template-columns: 1fr; }
  .detail__media img { position: static; }
  .detail__text { padding: 32px 20px; }
  .contact__block + .contact__block { border-left: 0; border-top: 1px solid rgba(35, 31, 32, .12); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .hero__video { aspect-ratio: 4 / 5; max-height: none; }
}

@media (max-width: 560px) {
  .hero__text .btn { width: 100%; }
  .grid { grid-template-columns: 1fr 1fr; gap: 40px 12px; }
  .card__name { font-size: 18px; }
  .card__desc { display: none; }
  .detail { width: 100%; max-width: none; max-height: 100%; height: 100%; margin: 0; }
  .detail__ingredients li { grid-template-columns: 1fr; gap: 2px; }
  .card__add { padding: 12px 8px; font-size: 13px; }
  .filters { gap: 0 20px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 32px 12px; }
  .cat:last-child:nth-child(odd) { grid-column: span 2; }
  .cat:last-child:nth-child(odd) .cat__media { aspect-ratio: 2 / 1; }
  .services__list { grid-template-columns: 1fr; }
  .services__list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .steps li { flex-direction: row; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .steps span { margin: 0; }
  .steps small { margin: 0 0 0 auto; }
  .values { gap: 4px 24px; }
  .values li { padding: 0; font-size: 17px; }
  .values li + li { border-left: 0; }
  .footer__bottom { flex-direction: column; }
}

/* Checkout (Midtrans) inside the cart drawer */
.checkout { display: grid; align-content: start; gap: 16px; padding-top: 16px; padding-bottom: 24px; }
.checkout__back { justify-self: start; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--mist); }
.checkout__title { font-family: var(--sans); font-size: 16px; font-weight: 600; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.field small { font-weight: 400; color: var(--mist); }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--accent); }
.checkout__sum { margin: 8px 0 0; border-top: 1px solid var(--line); }
.checkout__sum div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.checkout__sum dt { color: var(--mist); }
.checkout__sum dd { margin: 0; }
.checkout__total dt, .checkout__total dd { color: var(--ink); font-weight: 600; font-size: 16px; }
.checkout__msg { min-height: 1.4em; margin: 0; font-size: 14px; color: var(--accent); }
.checkout-done { padding-top: 48px; text-align: center; }
.checkout-done h4 { font-size: 28px; margin-bottom: 12px; }
.checkout-done p:not(.label) { color: var(--mist); }
#checkoutBtn:not(.btn--primary) { margin-top: 8px; }
