/* Skate Zvezda — Spring bloom skate shop. Krško, Slovenia. */

:root{
  --moss-900:#1c2619;
  --moss-700:#33462c;
  --moss-500:#55713f;
  --lichen-400:#9fb97d;
  --lichen-300:#c3d6a4;
  --stone-100:#f3efe4;
  --stone-200:#e9e2cf;
  --stone-300:#dcd3b9;
  --stone-400:#bdb296;
  --bloom-500:#e2688f;
  --bloom-400:#ec8aa9;
  --bloom-300:#f6b9cf;
  --ink:#1a1f15;
  --paper:#fbf9f2;

  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "Consolas", "Liberation Mono", monospace;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;
  --shadow-paper: 0 2px 0 rgba(26,31,21,.05), 0 18px 32px -20px rgba(26,31,21,.35);
  --ease: cubic-bezier(.22,.9,.3,1);
}

*,*::before,*::after{box-sizing:border-box;}
html,body{overflow-x:clip;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{
  margin:0;
  background:var(--stone-100);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:600;line-height:1.1;margin:0 0 .5em;}
p{margin:0 0 1em;}
ul{margin:0;padding:0;}
button{font-family:inherit;cursor:pointer;}
input,textarea,select{font-family:inherit;font-size:1rem;}
:focus-visible{outline:3px solid var(--bloom-500);outline-offset:3px;border-radius:4px;}
input[type="checkbox"],input[type="radio"]{accent-color:var(--bloom-500);}

.visually-hidden{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
.honeypot{position:absolute;left:-9999px;top:-9999px;opacity:0;height:0;width:0;}

.container{width:min(1160px, 100% - 2.5rem);margin-inline:auto;}

/* ---------- grain overlay ---------- */
.grain-overlay{
  position:fixed;inset:0;width:100vw;height:100vh;
  pointer-events:none;z-index:999;opacity:.05;mix-blend-mode:multiply;
}
@media (prefers-reduced-motion: reduce){ .grain-overlay{opacity:.03;} }

/* ---------- icon sprite ---------- */
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden;}
.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}

/* ---------- reveal ---------- */
.reveal{opacity:1;transform:none;}
.js .reveal{opacity:0;transform:translateY(24px);transition:opacity .7s var(--ease), transform .7s var(--ease), clip-path .7s var(--ease);}
.js .reveal.in-view{opacity:1;transform:translateY(0);}
@media (prefers-reduced-motion: reduce){
  .js .reveal{opacity:1;transform:none;transition:none;}
}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(243,239,228,.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--stone-300);
}
.site-header .container{
  display:flex;align-items:center;justify-content:space-between;
  padding-block:.9rem;
  gap:1rem;
}
.logo{display:flex;align-items:center;gap:.6rem;color:var(--moss-900);}
.logo svg{width:168px;height:36px;display:block;}

.main-nav{display:flex;align-items:center;gap:1.75rem;}
.main-nav a{
  font-size:.95rem;font-weight:600;color:var(--moss-900);
  position:relative;padding-bottom:4px;
}
.main-nav a::after{
  content:"";position:absolute;left:0;bottom:0;height:2px;width:100%;
  background:var(--bloom-500);transform:scaleX(0);transform-origin:left;
  transition:transform .35s var(--ease);
}
.main-nav a:hover::after,.main-nav a:focus-visible::after,.main-nav a[aria-current="page"]::after{transform:scaleX(1);}

.header-actions{display:flex;align-items:center;gap:1rem;}
.cart-link{
  display:flex;align-items:center;gap:.4rem;
  font-weight:700;color:var(--moss-900);
  padding:.5rem .8rem;border-radius:999px;border:1.5px solid var(--moss-700);
  min-height:44px;
}
.cart-link:hover{background:var(--moss-900);color:var(--paper);}
.cart-count{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:22px;height:22px;padding:0 5px;border-radius:999px;
  background:var(--bloom-500);color:#fff;font-size:.75rem;font-weight:700;
  font-family:var(--font-mono);
  transition:transform .35s var(--ease);
}
.cart-count.bump{transform:scale(1.5);}

.nav-toggle{
  display:none;width:44px;height:44px;border:1.5px solid var(--moss-700);
  border-radius:12px;background:transparent;align-items:center;justify-content:center;
}
.nav-toggle svg{width:22px;height:22px;}

@media (max-width: 760px){
  .main-nav{
    position:fixed;inset:0 0 0 auto;width:min(78vw,320px);
    background:var(--moss-900);color:var(--paper);
    flex-direction:column;align-items:flex-start;gap:1.4rem;
    padding:5.5rem 1.75rem 2rem;
    transform:translateX(100%);visibility:hidden;
    transition:transform .4s var(--ease), visibility .4s var(--ease);
    height:100vh;overflow-y:auto;
  }
  .main-nav.open{transform:translateX(0);visibility:visible;}
  .main-nav a{color:var(--stone-100);font-size:1.1rem;}
  .nav-toggle{display:flex;}
  .logo svg{width:132px;height:28px;}
  .cart-link{padding:.5rem .6rem;}
  .cart-label{display:none;}
  .nav-scrim{
    position:fixed;inset:0;background:rgba(26,31,21,.4);opacity:0;pointer-events:none;
    transition:opacity .4s var(--ease);z-index:90;
  }
  .nav-scrim.open{opacity:1;pointer-events:auto;}
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:44px;padding:.75rem 1.5rem;border-radius:999px;
  font-weight:700;font-size:.95rem;border:1.5px solid var(--moss-900);
  position:relative;overflow:hidden;isolation:isolate;
  background:transparent;color:var(--moss-900);
}
.btn::before{
  content:"";position:absolute;inset:0;width:100%;left:-100%;
  background:var(--moss-900);z-index:-1;
  transition:left .35s var(--ease);
}
.btn:hover::before,.btn:focus-visible::before{left:0;}
.btn:hover,.btn:focus-visible{color:var(--paper);}
.btn-primary{background:var(--moss-900);color:var(--paper);}
.btn-primary::before{background:var(--bloom-500);}
.btn-primary:hover,.btn-primary:focus-visible{color:#fff;}
.btn-ghost{border-color:var(--paper);color:var(--paper);}
.btn-ghost::before{background:var(--paper);}
.btn-ghost:hover,.btn-ghost:focus-visible{color:var(--moss-900);}
.btn[disabled]{opacity:.5;cursor:not-allowed;}
.btn-sm{min-height:36px;padding:.45rem 1rem;font-size:.85rem;}
.btn-block{width:100%;}

/* ---------- hero ---------- */
.hero{
  position:relative;padding-block:3rem 4rem;overflow:hidden;
}
.hero .container{display:grid;grid-template-columns:1.1fr 1fr;gap:2.5rem;align-items:center;}
.hero-headline{
  font-size:clamp(2.4rem, 6vw, 4.6rem);margin-bottom:.6rem;color:var(--moss-900);
}
.word{display:inline-block;overflow:hidden;vertical-align:top;}
.word span{display:inline-block;transform:translateY(110%);transition:transform .7s var(--ease);}
.hero-headline .word:nth-child(1) span{transition-delay:0ms;}
.hero-headline .word:nth-child(2) span{transition-delay:60ms;}
.hero-headline .word:nth-child(3) span{transition-delay:120ms;}
.hero-headline .word:nth-child(4) span{transition-delay:180ms;}
.hero-headline .word:nth-child(5) span{transition-delay:240ms;}
.hero-headline .word:nth-child(6) span{transition-delay:300ms;}
.hero-headline .word:nth-child(7) span{transition-delay:360ms;}
.hero-headline .word:nth-child(8) span{transition-delay:420ms;}
.hero-headline .word:nth-child(9) span{transition-delay:480ms;}
.hero-headline .word:nth-child(10) span{transition-delay:540ms;}
.js .word span{transform:translateY(110%);}
.hero.loaded .word span{transform:translateY(0);}
@media (prefers-reduced-motion: reduce){ .word span{transform:none !important;} }
.hero-sub{font-size:1.15rem;max-width:34ch;color:var(--moss-700);}
.hero-actions{display:flex;gap:1rem;margin-top:1.6rem;flex-wrap:wrap;}
.hero-art{position:relative;}
.hero-art svg{width:100%;height:auto;display:block;}
.petal{animation:unfold 7s ease-in-out infinite;transform-origin:center;}
.petal:nth-child(2){animation-delay:.6s;}
.petal:nth-child(3){animation-delay:1.2s;}
.petal:nth-child(4){animation-delay:1.8s;}
@keyframes unfold{
  0%,100%{transform:scale(1) rotate(0deg);}
  50%{transform:scale(1.07) rotate(3deg);}
}
@media (prefers-reduced-motion: reduce){ .petal{animation:none;} }
@media (prefers-reduced-motion: reduce){
  .btn::before,.main-nav a::after,.product-card,.product-card .card-media img,.cart-count,.faq-item summary .icon,.nav-toggle,.main-nav,.cookie-banner{
    transition:none !important;
  }
}

/* ---------- section dividers / ornaments ---------- */
.divider{width:100%;height:auto;display:block;color:var(--moss-500);}
.ornament{width:64px;height:64px;color:var(--bloom-500);}

/* ---------- map section (home composition) ---------- */
.map-section{position:relative;padding-block:4rem;background:var(--stone-200);}
.map-canvas{
  position:relative;min-height:640px;border-radius:var(--radius-lg);
  background:var(--paper);overflow:hidden;box-shadow:var(--shadow-paper);
  border:1px solid var(--stone-300);
}
.map-canvas svg.map-bg{position:absolute;inset:0;width:100%;height:100%;color:var(--lichen-300);}
.map-pin{
  position:absolute;width:min(270px, 72vw);
  background:var(--paper);border-radius:var(--radius-md);
  padding:1.25rem 1.4rem;box-shadow:var(--shadow-paper);
  border:1px solid var(--stone-300);
}
.map-pin .pin-dot{
  position:absolute;top:-10px;left:1.5rem;width:20px;height:20px;border-radius:50%;
  background:var(--bloom-500);border:3px solid var(--paper);
}
.map-pin h3{font-size:1.1rem;margin-bottom:.3rem;color:var(--moss-900);}
.map-pin p{font-size:.9rem;color:var(--moss-700);margin-bottom:.6rem;}
.map-pin a{font-weight:700;font-size:.85rem;color:var(--bloom-500);}
.map-pin a::after{content:" →";}
.pin-1{top:6%;left:4%;}
.pin-2{top:8%;left:62%;}
.pin-3{top:48%;left:8%;}
.pin-4{top:55%;left:58%;}
@media (max-width: 820px){
  .map-canvas{min-height:0;padding:2rem 1rem;display:flex;flex-direction:column;gap:2.5rem;}
  .map-canvas svg.map-bg{display:none;}
  .map-pin{position:static;width:100%;}
}

/* ---------- section basics ---------- */
.section{padding-block:4rem;}
.section-head{max-width:46ch;margin-bottom:2rem;}
.section-head .eyebrow{
  font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.12em;
  font-size:.78rem;color:#a8365c;font-weight:700;display:inline-block;margin-bottom:.6rem;
}
.section-head h2{font-size:clamp(1.8rem,3.4vw,2.6rem);color:var(--moss-900);}

/* ---------- product grid & cards ---------- */
.product-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.75rem;
}
.product-card{
  background:var(--paper);border-radius:var(--radius-md);overflow:hidden;
  border:1px solid var(--stone-300);box-shadow:var(--shadow-paper);
  display:flex;flex-direction:column;transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.product-card:hover{transform:translateY(-6px);}
.product-card .card-media{aspect-ratio:3/2;overflow:hidden;}
.product-card .card-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease);}
.product-card:hover .card-media img{transform:scale(1.08);}
.product-card .card-body{padding:1.25rem 1.3rem 1.4rem;display:flex;flex-direction:column;gap:.4rem;flex:1;}
.card-cat{font-family:var(--font-mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--moss-500);}
.product-card h3{font-size:1.1rem;margin-bottom:0;color:var(--moss-900);}
.product-card .card-desc{font-size:.88rem;color:var(--moss-700);flex:1;}
.card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:.5rem;gap:.6rem;}
.price{font-family:var(--font-mono);font-weight:700;font-size:1.05rem;color:var(--moss-900);}

/* mobile scroll-snap strip */
.scroll-strip{
  display:flex;gap:1.1rem;overflow-x:auto;padding-bottom:.5rem;scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.scroll-strip .product-card{min-width:72vw;scroll-snap-align:start;}
@media (min-width: 681px){ .scroll-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));overflow:visible;} .scroll-strip .product-card{min-width:0;} }

/* ---------- filter bar (catalog) ---------- */
.filter-bar{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:2rem;}
.filter-chip{
  border:1.5px solid var(--moss-700);border-radius:999px;padding:.45rem 1.1rem;
  font-size:.85rem;font-weight:600;background:transparent;color:var(--moss-900);min-height:40px;
}
.filter-chip[aria-pressed="true"]{background:var(--moss-900);color:var(--paper);}

/* ---------- builder (signature feature) ---------- */
.builder{
  background:var(--moss-900);color:var(--stone-100);border-radius:var(--radius-lg);
  padding:clamp(1.75rem,4vw,3.25rem);position:relative;overflow:hidden;
}
.builder .section-head h2{color:var(--paper);}
.builder .section-head .eyebrow{color:var(--lichen-300);}
.builder .section-head p{color:var(--stone-300);}
.builder-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:2.5rem;align-items:start;}
.builder-group{margin-bottom:1.6rem;}
.builder-group h3{font-size:1rem;color:var(--lichen-300);margin-bottom:.7rem;}
.option-list{display:flex;flex-wrap:wrap;gap:.7rem;}
.option-btn{
  border:1.5px solid var(--moss-500);border-radius:var(--radius-sm);
  background:rgba(251,249,242,.04);color:var(--stone-100);
  padding:.7rem .95rem;text-align:left;min-width:150px;min-height:44px;
  display:flex;flex-direction:column;gap:.15rem;
  transition:border-color .25s var(--ease), background .25s var(--ease);
}
.option-btn .opt-name{font-weight:700;font-size:.9rem;}
.option-btn .opt-price{font-family:var(--font-mono);font-size:.8rem;color:var(--lichen-300);}
.option-btn[aria-pressed="true"]{border-color:var(--bloom-500);background:rgba(226,104,143,.18);}
.builder-summary{
  background:var(--paper);color:var(--ink);border-radius:var(--radius-md);
  padding:1.6rem;position:sticky;top:90px;
}
.builder-summary h3{color:var(--moss-900);font-size:1.1rem;}
.summary-line{display:flex;justify-content:space-between;font-size:.92rem;padding:.4rem 0;border-bottom:1px dashed var(--stone-300);}
.summary-total{display:flex;justify-content:space-between;font-weight:700;font-size:1.2rem;margin-top:.8rem;}
@media (max-width: 820px){
  .builder-grid{grid-template-columns:1fr;}
  .builder-summary{position:static;}
}

/* ---------- about / split sections ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;}
.split-media{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-paper);}
.split-media img{aspect-ratio:3/2;object-fit:cover;width:100%;height:100%;}
@media (max-width: 820px){ .split{grid-template-columns:1fr;} }

/* badge/seal */
.seal{width:120px;height:120px;color:var(--moss-900);}

/* ---------- forms ---------- */
.form-grid{display:grid;gap:1.1rem;}
.field{display:flex;flex-direction:column;gap:.4rem;}
.field label{font-weight:600;font-size:.9rem;}
.field input,.field textarea,.field select{
  border:1.5px solid var(--stone-400);border-radius:var(--radius-sm);
  padding:.75rem .9rem;background:var(--paper);color:var(--ink);min-height:44px;
}
.field textarea{min-height:120px;resize:vertical;}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--bloom-500);}
.form-note{font-size:.8rem;color:var(--moss-500);}
.form-status{margin-top:1rem;font-weight:600;padding:.8rem 1rem;border-radius:var(--radius-sm);display:none;}
.form-status.show{display:block;}
.form-status.ok{background:var(--lichen-300);color:var(--moss-900);}
.form-status.error{background:var(--bloom-300);color:var(--moss-900);}
.field.has-error input,.field.has-error textarea{border-color:#b23a3a;}
.field-error{color:#b23a3a;font-size:.82rem;display:none;}
.field.has-error .field-error{display:block;}

/* ---------- newsletter / footer ---------- */
.site-footer{background:var(--moss-900);color:var(--stone-200);padding-block:3.5rem 2rem;margin-top:4rem;}
.footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1fr;gap:2.5rem;padding-bottom:2.5rem;border-bottom:1px solid rgba(243,239,228,.15);}
.footer-brand .logo svg{width:150px;height:32px;}
.footer-brand p{color:var(--stone-300);font-size:.9rem;max-width:30ch;margin-top:1rem;}
.footer-col h4{font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;color:var(--lichen-300);margin-bottom:1rem;}
.footer-col ul{display:flex;flex-direction:column;gap:.6rem;}
.footer-col a{font-size:.92rem;color:var(--stone-200);}
.footer-col a:hover{color:var(--bloom-400);}
.newsletter{display:flex;gap:.6rem;margin-top:1rem;flex-wrap:wrap;}
.newsletter input{flex:1;min-width:160px;border-radius:999px;border:1.5px solid var(--moss-500);background:transparent;color:var(--paper);padding:.7rem 1.1rem;min-height:44px;}
.newsletter input::placeholder{color:var(--stone-300);}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;padding-top:1.5rem;font-size:.85rem;color:var(--stone-300);}
.footer-bottom a{text-decoration:underline;text-decoration-color:var(--moss-500);}
@media (max-width: 900px){ .footer-top{grid-template-columns:1fr 1fr;} }
@media (max-width: 560px){ .footer-top{grid-template-columns:1fr;} }

/* ---------- cookie banner ---------- */
.cookie-banner{
  position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:200;max-width:620px;margin-inline:auto;
  background:var(--moss-900);color:var(--stone-100);border-radius:var(--radius-md);
  padding:1.25rem 1.4rem;box-shadow:var(--shadow-paper);
  display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;
  transform:translateY(130%);transition:transform .5s var(--ease);
}
.cookie-banner.show{transform:translateY(0);}
.cookie-banner p{margin:0;font-size:.88rem;flex:1 1 260px;color:var(--stone-200);}
.cookie-banner a{text-decoration:underline;color:var(--bloom-400);}
.cookie-actions{display:flex;gap:.7rem;flex-wrap:wrap;}

/* ---------- misc pages ---------- */
.page-hero{padding-block:3.5rem 2.5rem;background:var(--stone-200);}
.page-hero h1{font-size:clamp(2rem,4.5vw,3.2rem);color:var(--moss-900);}
.breadcrumb{font-family:var(--font-mono);font-size:.8rem;color:var(--moss-500);margin-bottom:.8rem;}
.legal{max-width:70ch;}
.legal h2{font-size:1.3rem;color:var(--moss-900);margin-top:2rem;}
.legal p,.legal li{color:var(--moss-700);}
.legal ul{padding-left:1.3rem;margin-bottom:1em;}
.legal li{margin-bottom:.4em;}

.faq-item{border-bottom:1px solid var(--stone-300);padding-block:1.1rem;}
.faq-item summary{cursor:pointer;font-weight:700;font-size:1.05rem;color:var(--moss-900);display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:44px;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary .icon{transition:transform .3s var(--ease);flex-shrink:0;}
.faq-item[open] summary .icon{transform:rotate(180deg);}
.faq-item p{margin-top:.7rem;color:var(--moss-700);}

.icon-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.6rem;}
.icon-list li{list-style:none;display:flex;gap:.9rem;align-items:flex-start;}
.icon-list .icon{width:28px;height:28px;color:var(--bloom-500);flex-shrink:0;margin-top:.1rem;}
.icon-list h3{font-size:1rem;margin-bottom:.2rem;color:var(--moss-900);}
.icon-list p{font-size:.9rem;color:var(--moss-700);margin:0;}

/* product detail page */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:3rem;}
.product-detail .card-media{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-paper);aspect-ratio:3/2;}
.product-detail .card-media img{width:100%;height:100%;object-fit:cover;}
.qty-row{display:flex;align-items:center;gap:1rem;margin:1.4rem 0;}
.qty-stepper{display:flex;align-items:center;border:1.5px solid var(--moss-700);border-radius:999px;overflow:hidden;}
.qty-stepper button{width:40px;height:40px;background:transparent;border:0;font-size:1.1rem;color:var(--moss-900);}
.qty-stepper input{width:44px;text-align:center;border:0;background:transparent;min-height:40px;}
.specs-list{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.5rem;}
.specs-list li{font-size:.9rem;color:var(--moss-700);padding-left:1.4rem;position:relative;}
.specs-list li::before{content:"";position:absolute;left:0;top:.45em;width:8px;height:8px;border-radius:50%;background:var(--bloom-500);}
@media (max-width: 820px){ .product-detail{grid-template-columns:1fr;} }

/* cart page */
.cart-table{width:100%;border-collapse:collapse;}
.cart-table th{text-align:left;font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;color:var(--moss-500);padding:.6rem 0;border-bottom:2px solid var(--stone-300);}
.cart-table td{padding:1rem 0;border-bottom:1px solid var(--stone-300);vertical-align:middle;}
.cart-item-info{display:flex;gap:.9rem;align-items:center;}
.cart-item-info img{width:64px;height:64px;object-fit:cover;border-radius:var(--radius-sm);}
.remove-btn{color:var(--bloom-500);font-weight:700;font-size:.85rem;background:none;border:0;min-height:44px;}
.cart-summary{background:var(--paper);border:1px solid var(--stone-300);border-radius:var(--radius-md);padding:1.5rem;margin-top:1.5rem;max-width:380px;margin-left:auto;box-shadow:var(--shadow-paper);}
.empty-cart{padding:3rem 0;text-align:center;color:var(--moss-500);}
.checkout-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:3rem;margin-top:2rem;}
@media (max-width:820px){ .checkout-grid{grid-template-columns:1fr;} .cart-summary{margin-left:0;max-width:none;} }

/* 404 */
.page-404{padding-block:6rem;text-align:center;}
.page-404 .ornament{margin:0 auto 1.5rem;}
.page-404 h1{font-size:clamp(3rem,10vw,6rem);color:var(--moss-900);}

/* skip link */
.skip-link{
  position:absolute;left:-999px;top:0;background:var(--moss-900);color:var(--paper);
  padding:.7rem 1.2rem;z-index:300;border-radius:0 0 8px 0;
}
.skip-link:focus{left:0;}
