@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Caveat:wght@600&display=swap');

:root{
  --sand:#F3E9D8;
  --sand-deep:#E9D9BC;
  --charcoal:#161310;
  --charcoal-soft:#211B14;
  --ink:#2B2318;
  --ink-soft:#5C5140;
  --paper:#FBF6EC;
  --ember:#C1613A;
  --aurora-a:#49D9B2;
  --aurora-b:#E8B053;
  --aurora-grad: linear-gradient(90deg, var(--aurora-a), var(--aurora-b));
  --radius: 6px;
  --shadow: 0 20px 40px -20px rgba(20,15,8,.4);
  --ease: cubic-bezier(.19,1,.22,1);
  --space-1: clamp(1rem, .85rem + .6vw, 1.5rem);
  --space-2: clamp(1.75rem, 1.3rem + 1.8vw, 3rem);
  --space-3: clamp(3.25rem, 2.5rem + 3vw, 5.5rem);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; overflow-x:hidden; width:100%; font-size:18px;}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} }
body{
  margin:0;
  background:var(--sand);
  color:var(--ink);
  font-family:'Plus Jakarta Sans', system-ui, sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  width:100%;
}
img{max-width:100%; display:block;}
a{color:inherit;}
input, select, textarea, button{ font-family:inherit; font-size:inherit; color:inherit; }
h1,h2{font-family:'Fraunces', serif; font-weight:500; margin:0; letter-spacing:-.015em;}
p{margin:0;}
.container{max-width:1280px; margin-inline:auto; padding-inline:var(--space-1);}
.eyebrow{
  font-family:'Fraunces', serif; font-style:italic; font-weight:500;
  font-size:1.05rem;
  display:inline-block; margin-bottom:.7em;
}

::selection{ background: var(--aurora-a); color:var(--charcoal); }

a:focus-visible, button:focus-visible{
  outline:2px solid var(--aurora-a);
  outline-offset:3px;
  border-radius:4px;
}

/* ---------- NAV ---------- */
/* Same look on every page/section, always: fixed size, dark translucent
   background at all times (no lighter pre-scroll state). */
header.site-nav{
  position:fixed; inset:0 0 auto 0; z-index:100;
  padding:1rem 0;
  background:rgba(15,13,10,.85);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 4px 20px -10px rgba(0,0,0,.4);
}
.nav-row{display:flex; align-items:center; justify-content:space-between; gap:1.5rem;}
.brand{
  font-family:'Caveat', cursive;
  font-size:1.7rem;
  font-weight:600;
  color:var(--paper);
  display:flex; flex-direction:column; line-height:1.05;
  text-decoration:none;
}
.brand small{
  font-family:'Plus Jakarta Sans', sans-serif;
  font-size:.62rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--sand-deep);
  opacity:.75;
  margin-top:.15rem;
}
nav.nav-links{display:flex; align-items:center; gap:clamp(1rem,.5rem + 2vw,2.4rem); list-style:none; margin:0; padding:0;}
nav.nav-links li{ list-style:none; margin:0; padding:0; }
nav.nav-links a{
  display:inline-flex; align-items:center; gap:.4rem;
  color:var(--sand-deep);
  text-decoration:none;
  font-size:.9rem;
  font-weight:500;
  position:relative;
  padding-bottom:.3rem;
}
nav.nav-links a svg{ flex-shrink:0; opacity:.8; }
nav.nav-links a:not(.nav-cta)::after{
  content:'';
  position:absolute; left:0; right:100%; bottom:0; height:2px;
  background:var(--aurora-a);
  transition:right .3s var(--ease);
}
nav.nav-links a:hover::after, nav.nav-links a:focus-visible::after{ right:0; }
nav.nav-links a.nav-cta{
  display:inline-flex; align-items:center; gap:.5rem;
  background:var(--paper); color:var(--charcoal);
  padding:.6rem 1.2rem; border-radius:var(--radius);
  font-size:.85rem; font-weight:600; text-decoration:none;
  transition:opacity .2s var(--ease);
}
.nav-cta:hover{ opacity:.85; }
.menu-btn{
  display:none; background:none; border:0; color:var(--paper); cursor:pointer;
  width:40px; height:40px; align-items:center; justify-content:center;
  position:relative; z-index:101;
}
.menu-btn .icon-close{ display:none; }
.menu-btn[aria-expanded="true"] .icon-open{ display:none; }
.menu-btn[aria-expanded="true"] .icon-close{ display:block; }

.nav-backdrop{ display:none; }

@media (max-width: 880px){
  nav.nav-links{
    position:fixed; inset:0 0 0 auto; width:min(320px,80vw); height:100vh;
    background:var(--charcoal); flex-direction:column; align-items:flex-start;
    padding:6.5rem 2rem 2rem; gap:1.6rem;
    transform:translateX(100%); transition:transform .35s var(--ease);
    box-shadow:-20px 0 50px rgba(0,0,0,.35);
    z-index:100;
  }
  nav.nav-links.open{ transform:translateX(0); }
  nav.nav-links a{font-size:1.15rem;}
  .nav-cta{margin-top:.5rem;}
  .menu-btn{display:inline-flex;}
  .nav-backdrop{
    display:block; position:fixed; inset:0; z-index:95;
    background:rgba(10,8,6,.5);
    opacity:0; pointer-events:none;
    transition:opacity .3s var(--ease);
  }
  .nav-backdrop.open{ opacity:1; pointer-events:auto; }
}

/* ---------- HERO ---------- */
.hero{
  position:relative; min-height:100svh;
  display:flex; align-items:center;
  color:var(--paper);
  overflow:hidden;
  background:var(--charcoal);
}
.hero-media{position:absolute; top:-20%; left:0; right:0; height:140%; z-index:0; will-change:transform;}
.hero-media video{width:100%; height:100%; object-fit:cover; object-position:60% 40%;}
.hero-media::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(15,13,10,.1) 0%, rgba(15,13,10,.2) 45%, rgba(12,10,8,.85) 100%);
}

.hero-content{position:relative; z-index:2; width:100%;}
.hero-content .eyebrow{color:var(--aurora-a);}
.hero-title{
  font-size:clamp(2.4rem, 1.6rem + 3.8vw, 4.4rem);
  font-weight:600;
  letter-spacing:-.02em;
  line-height:1.02;
  max-width:16ch;
}
.hero-sub{
  margin-top:1.1rem; max-width:42ch;
  font-size:clamp(1rem,.9rem + .3vw,1.1rem);
  color:var(--sand-deep);
}
.hero-actions{display:flex; gap:1rem; margin-top:1.8rem; flex-wrap:wrap;}

.btn{
  display:inline-flex; align-items:center; gap:.6rem;
  padding:.85rem 1.5rem; border-radius:var(--radius);
  font-weight:600; font-size:.95rem; text-decoration:none;
  border:1px solid transparent; cursor:pointer;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  font-family:inherit;
}
.btn-primary{ background:var(--paper); color:var(--charcoal); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 24px -12px rgba(0,0,0,.5); }
.btn-ghost{ border-color:rgba(251,246,236,.35); color:var(--paper); background:transparent; }
.btn-ghost:hover{ border-color:var(--paper); background:rgba(251,246,236,.08); }
.on-light .btn-ghost{ border-color:rgba(43,35,24,.25); color:var(--ink); }
.on-light .btn-ghost:hover{ border-color:var(--ink); background:rgba(43,35,24,.05); }

.scroll-cue{
  position:absolute; z-index:2; left:50%; bottom:1.6rem; transform:translateX(-50%);
  display:flex; color:var(--sand-deep); text-decoration:none;
  opacity:.8;
}
.scroll-cue:hover{ opacity:1; }


/* ---------- SECTIONS shared ---------- */
section{ position:relative; }
.on-dark{ background:var(--charcoal); color:var(--sand-deep); }
.on-dark h1, .on-dark h2{ color:var(--paper); }
.pad{ padding-block: var(--space-3); }

h1, h2{ font-size:clamp(1.7rem, 1.4rem + 1.3vw, 2.4rem); }

/* ---------- GALLERY ---------- */
.section-head{ display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:1rem; margin-bottom:1.5rem; }
.filter-count{ font-size:.85rem; color:var(--ink-soft); text-decoration:none; transition:color .2s var(--ease); }
a.filter-count:hover{ color:var(--ember); }

.filters{ display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:var(--space-1); }
.filter-btn{
  font-family:'Plus Jakarta Sans', sans-serif; font-size:.85rem; font-weight:600;
  padding:.5rem 1rem; border-radius:var(--radius); border:1px solid rgba(43,35,24,.18);
  background:transparent; color:var(--ink-soft); cursor:pointer;
  transition:border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.filter-btn span{ opacity:.55; margin-left:.1rem; }
.filter-btn:hover{ border-color:var(--ember); color:var(--ember); }
.filter-btn.active{ background:var(--charcoal); border-color:var(--charcoal); color:var(--paper); }

.grid-uniform{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-rows: 170px;
  grid-auto-flow: dense;
  gap:.6rem;
}
@media (max-width:640px){
  .grid-uniform{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap:.4rem; }
}
.grid-uniform button.g-item, .grid-uniform a.g-item{
  all:unset; cursor:pointer;
  position:relative; overflow:hidden; border-radius:var(--radius);
  display:block; grid-column:span 1; grid-row:span 1;
}
.grid-uniform .g-item.g-wide{ grid-column:span 2; }
.grid-uniform .g-item.g-tall{ grid-row:span 2; }
.grid-uniform .g-item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s var(--ease);
}
.grid-uniform .g-item::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(22,19,16,0) 55%, rgba(22,19,16,.38) 100%);
  opacity:0; transition:opacity .3s var(--ease);
}
.grid-uniform .g-item:hover img{ transform:scale(1.07); }
.grid-uniform .g-item:hover::after{ opacity:1; }
@media (hover:none){
  .grid-uniform .g-item:hover img{ transform:none; }
  .grid-uniform .g-item:hover::after{ opacity:0; }
}
.g-item[data-hidden="true"]{ display:none; }

.load-more-wrap{ display:flex; justify-content:center; margin-top:1.75rem; }
.load-more-wrap .btn[hidden]{ display:none; }

/* ---------- LIGHTBOX ---------- */
.lightbox{
  position:fixed; inset:0; z-index:1000;
  background:rgba(10,8,6,.95);
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none;
  transition:opacity .2s ease;
}
.lightbox.open{ opacity:1; pointer-events:auto; }
.lightbox img{
  max-width:min(92vw, 1200px); max-height:86vh; width:auto; height:auto;
  border-radius:4px;
}
.lightbox-close, .lightbox-prev, .lightbox-next{
  position:absolute; background:rgba(251,246,236,.08); border:1px solid rgba(251,246,236,.25);
  color:var(--paper); border-radius:50%; width:44px; height:44px;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  transition:background .2s var(--ease), border-color .2s var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover{ border-color:var(--aurora-a); }
.lightbox-close{ top:1.5rem; right:1.5rem; }
.lightbox-prev{ left:1.5rem; top:50%; transform:translateY(-50%); }
.lightbox-next{ right:1.5rem; top:50%; transform:translateY(-50%); }
.lightbox-count{
  position:absolute; bottom:1.5rem; left:50%; transform:translateX(-50%);
  color:var(--sand-deep); font-size:.85rem;
}
@media (max-width:640px){
  .lightbox-prev{ left:.5rem; } .lightbox-next{ right:.5rem; } .lightbox-close{ top:.75rem; right:.75rem; }
  .lightbox-prev, .lightbox-next, .lightbox-close{ width:38px; height:38px; }
}

/* ---------- ABOUT ---------- */
.about-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap:clamp(2rem,3vw,5rem); align-items:start; }
.about-media{ position:relative; }
.about-media img.primary{ border-radius:var(--radius); width:100%; aspect-ratio:3/4; max-height:60vh; object-fit:cover; box-shadow:var(--shadow); }
.about-media img.floating{
  position:absolute; width:46%; aspect-ratio:4/5; object-fit:cover; border-radius:var(--radius);
  bottom:-8%; right:-6%; border:3px solid var(--paper); box-shadow:0 24px 40px -18px rgba(0,0,0,.55);
  transform:rotate(-1.5deg);
}
.about-media img.floating.second{
  position:absolute; width:30%; aspect-ratio:1/1; object-fit:cover; border-radius:var(--radius);
  top:-8%; left:-6%; border:3px solid var(--paper); box-shadow:0 18px 32px -16px rgba(0,0,0,.5);
  transform:rotate(2deg);
}
.stat-row{
  display:flex; gap:clamp(1.5rem,3vw,3rem); margin-top:2.2rem; padding-top:2.2rem;
  border-top:1px solid rgba(251,246,236,.14); flex-wrap:wrap;
}
.stat{ padding-left:clamp(1.5rem,3vw,3rem); border-left:1px solid rgba(251,246,236,.14); }
.stat:first-child{ padding-left:0; border-left:0; }
.stat b{ display:block; font-family:'Fraunces', serif; font-weight:500; font-size:1.8rem; letter-spacing:-.01em; color:var(--paper); }
.stat span{ font-size:.8rem; color:var(--sand-deep); opacity:.8; }
.about-text p{ color:var(--sand-deep); margin-top:1rem; max-width:52ch; font-size:1.05rem; }
.about-text p:first-of-type{ margin-top:1.1rem; }
.about-text .btn{ margin-top:2rem; }

/* ---------- STUDIO ---------- */
.studio-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,3vw,4rem); align-items:center; }
.studio-media img{ border-radius:var(--radius); width:100%; aspect-ratio:3/2; object-fit:cover; box-shadow:var(--shadow); }
.studio-text p{ margin-top:1rem; max-width:46ch; color:var(--ink-soft); font-size:1.05rem; }
.studio-text .btn{ margin-top:1.6rem; }

/* ---------- VIDEO & DRONE ---------- */
.spotlight{ min-height:70vh; display:flex; align-items:center; position:relative; overflow:hidden; }
.spotlight-media{ position:absolute; inset:0; }
.spotlight-media img{ width:100%; height:100%; object-fit:cover; object-position:50% 30%; }
.spotlight-media::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(10,9,7,.88) 15%, rgba(10,9,7,.5) 55%, rgba(10,9,7,.1) 100%);
}
.spotlight-content{ position:relative; z-index:2; max-width:560px; }
.spotlight-content h1, .spotlight-content h2{ color:var(--paper); }
.spotlight-content p{ margin-top:1rem; color:var(--sand-deep); font-size:1.05rem; max-width:46ch; }

/* ---------- FOOTER ---------- */
footer{ padding-block: var(--space-3) var(--space-2); position:relative; overflow:hidden; }
.footer-bg{ position:absolute; inset:0; z-index:0; }
.footer-bg img{ width:100%; height:100%; object-fit:cover; opacity:.14; }
.footer-bg::after{ content:''; position:absolute; inset:0; background:linear-gradient(180deg, var(--charcoal) 0%, rgba(22,19,16,.85) 40%, var(--charcoal) 100%); }
footer .container{ position:relative; z-index:1; }
.footer-top{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:clamp(2rem,4vw,5rem); }
.footer-brand{
  font-family:'Caveat', cursive; font-weight:600; font-size:2.2rem;
  background:var(--aurora-grad); background-clip:text; -webkit-background-clip:text;
  color:transparent; -webkit-text-fill-color:transparent;
}
.footer-top h2{ color:var(--paper); margin-top:.6rem; }
.footer-top p.lead{ color:var(--sand-deep); margin-top:.8rem; max-width:36ch; }
.footer-col h4{ font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; color:var(--aurora-a); margin-bottom:1rem; font-weight:600; }
.footer-col p, .footer-col a{ display:block; color:var(--sand-deep); text-decoration:none; margin-bottom:.6rem; font-size:.92rem; }
.footer-col a:hover{ color:var(--paper); }
.social-row{ display:flex; gap:.7rem; margin-top:1.2rem; }
.social-row a{
  width:40px; height:40px; border-radius:50%; border:1px solid rgba(251,246,236,.25);
  display:flex; align-items:center; justify-content:center; margin:0;
  transition:border-color .2s var(--ease);
}
.social-row a:hover{ border-color:var(--aurora-a); }
.footer-bottom{
  margin-top:var(--space-3); padding-top:1.5rem; border-top:1px solid rgba(251,246,236,.12);
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem;
  font-size:.8rem; color:var(--sand-deep); opacity:.75;
}
.footer-bottom a{ text-decoration:none; transition:color .2s var(--ease); }
.footer-bottom a:hover{ color:var(--aurora-a); }

.credit{
  display:inline-flex; align-items:center; gap:.4rem;
  color:var(--sand-deep); font-weight:600;
}
.credit-mark{ width:14px; height:14px; color:#E8A855; }
.credit:hover{ color:var(--paper); }

.footer-form{ margin-top:var(--space-2); max-width:480px; }
.footer-form h4{ font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; color:var(--aurora-a); margin-bottom:1rem; font-weight:600; }
.contact-form{ display:flex; flex-direction:column; gap:.8rem; }
.contact-form input, .contact-form textarea{
  background:rgba(251,246,236,.06); border:1px solid rgba(251,246,236,.2);
  border-radius:var(--radius); padding:.75rem 1rem; color:var(--paper);
  resize:vertical; transition:border-color .2s var(--ease);
}
.contact-form input::placeholder, .contact-form textarea::placeholder{ color:var(--sand-deep); }
.contact-form input:focus, .contact-form textarea:focus{ outline:none; border-color:var(--aurora-a); }
.contact-form .btn{ align-self:flex-start; }
.form-success{ color:var(--sand-deep); }

@media (max-width:880px){
  .about-grid, .studio-grid{ grid-template-columns:1fr; }
  .about-media{ margin-bottom:3.5rem; }
  .about-media img.floating{ width:42%; bottom:-6%; right:-6%; }
  .about-media img.floating.second{ width:28%; top:-6%; left:-4%; }
  .footer-top{ grid-template-columns:1fr; gap:2.5rem; }
  .stat-row{ flex-direction:column; gap:1.1rem; }
  .stat{ padding-left:0; border-left:0; padding-top:1.1rem; border-top:1px solid rgba(251,246,236,.14); }
  .stat:first-child{ padding-top:0; border-top:0; }
}

/* ---------- DEMO BANNER (kept consistent w/ project convention) ---------- */
.demo-banner{
  position:fixed; top:0; left:0; right:0; z-index:110;
  background:repeating-linear-gradient(135deg,#1a1108,#1a1108 10px,#150e07 10px,#150e07 20px);
  border-bottom:1px solid rgba(200,148,86,0.4);
  color:var(--sand);font-family:'Plus Jakarta Sans',sans-serif;font-size:.75rem;
  text-align:center;padding:.55rem 1rem;
}
.demo-banner b{color:var(--paper);}
.demo-banner a{text-decoration:underline;color:var(--paper);}
header.site-nav{ top:var(--banner-h, 2.6rem); inset-inline:0; }

/* ---------- NAV CART ---------- */
.nav-cart{
  position:relative; display:inline-flex; align-items:center; text-decoration:none;
  padding-bottom:0 !important; opacity:.9; transition:opacity .2s var(--ease);
}
.nav-cart:hover{ opacity:1; }
.nav-cart::after{ display:none !important; }
/* ---------- SUBPAGES (om-meg / galleri / studio / video-drone: no hero
   video pushing content down, so the first section needs its own clearance
   from the fixed nav — same --header-h var the shop wrap already uses) ---------- */
.page-first.pad, .page-first.spotlight{ padding-top:calc(var(--header-h, 10rem) + 4rem); }
.page-first.spotlight{ min-height:auto; padding-bottom:var(--space-3); }

.nav-cart svg{ display:block; }
.nav-cart-count{
  position:absolute; top:-.5rem; right:-.7rem; background:var(--ember); color:var(--paper);
  font-family:'Plus Jakarta Sans',sans-serif; font-size:.62rem; font-weight:700;
  border-radius:50%; width:1.15rem; height:1.15rem; display:flex; align-items:center; justify-content:center;
}

/* ---------- WOOCOMMERCE (kept low-key: same tokens as the rest of the site) ---------- */
.northmas-shop-wrap{ padding-top:calc(var(--header-h, 10rem) + 2rem) !important; }
.northmas-shop-wrap .section-head{ margin-bottom:2rem; }
.northmas-shop-wrap h1.page-title,
.northmas-shop-wrap .product_title{ font-family:'Fraunces',serif; font-weight:500; color:var(--ink); font-size:clamp(1.7rem,1.4rem + 1.3vw,2.4rem); margin-bottom:.5rem; }
.northmas-shop-wrap p.woocommerce-result-count,
.northmas-shop-wrap .woocommerce-ordering{ font-size:.85rem; color:var(--ink-soft); }
/* Cart/checkout blocks render each line item's name as a plain sans-serif
   underlined link (.wc-block-components-product-name) instead of matching
   the Fraunces treatment every other product title on the site gets. */
.northmas-shop-wrap .wc-block-components-product-name{
  font-family:'Fraunces',serif; font-weight:500; color:var(--ink);
  text-decoration:none; font-size:1rem;
}
.northmas-shop-wrap .wc-block-components-product-name:hover{ text-decoration:underline; }
.northmas-shop-wrap ul.products{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1.5rem;
  list-style:none; margin:1.5rem 0 0; padding:0;
}
.northmas-shop-wrap ul.products li.product{
  display:flex; flex-direction:column;
  background:var(--paper); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.northmas-shop-wrap ul.products li.product:hover{
  transform:translateY(-4px);
  box-shadow:0 26px 40px -18px rgba(20,15,8,.45);
}
.northmas-shop-wrap ul.products li.product a{ text-decoration:none; color:inherit; display:block; }
.northmas-shop-wrap ul.products li.product img{ aspect-ratio:4/3; object-fit:cover; width:100%; transition:transform .5s var(--ease); }
.northmas-shop-wrap ul.products li.product:hover img{ transform:scale(1.05); }
@media (hover:none){
  .northmas-shop-wrap ul.products li.product:hover{ transform:none; box-shadow:var(--shadow); }
  .northmas-shop-wrap ul.products li.product:hover img{ transform:none; }
}
.northmas-shop-wrap ul.products li.product .woocommerce-loop-product__title{
  font-family:'Fraunces',serif; font-size:1.05rem; padding:1rem 1rem 0; color:var(--ink);
}
.northmas-shop-wrap ul.products li.product .price{
  display:block; padding:.4rem 1rem 1rem; color:var(--ember); font-weight:600; font-size:.95rem;
}
.northmas-shop-wrap ul.products li.product .price del{ color:var(--ink-soft); opacity:.6; margin-right:.4rem; }
.northmas-shop-wrap ul.products li.product .button{ margin-top:auto; }
.northmas-shop-wrap .button,
.northmas-shop-wrap button.button,
.northmas-shop-wrap input.button{
  display:inline-flex; align-items:center; justify-content:center; gap:.6rem;
  padding:.85rem 1.5rem; border-radius:var(--radius);
  font-weight:600; font-size:.95rem; text-decoration:none;
  border:1px solid transparent; cursor:pointer;
  background:var(--charcoal); color:var(--paper);
  font-family:inherit; transition:opacity .2s var(--ease);
}
/* .northmas-shop-wrap ul.products li.product a{color:inherit} above outranks
   the plain .button color on specificity, which was silently turning the
   "Legg i handlekurv" text back to dark ink on its own dark background. */
.northmas-shop-wrap ul.products li.product a.button{ color:var(--paper); }
.northmas-shop-wrap .button:hover{ opacity:.85; }
.northmas-shop-wrap table.shop_table{ width:100%; border-collapse:collapse; font-size:.92rem; }
.northmas-shop-wrap table.shop_table th, .northmas-shop-wrap table.shop_table td{ padding:.75rem; border-bottom:1px solid rgba(43,35,24,.12); }
.northmas-shop-wrap .woocommerce-notices-wrapper .woocommerce-message,
.northmas-shop-wrap .woocommerce-notices-wrapper .woocommerce-info{
  background:var(--paper); border-left:3px solid var(--aurora-a); padding:1rem 1.5rem; border-radius:var(--radius); margin-bottom:1.5rem; list-style:none;
}
/* Single product layout: photo left, details right. ".single-product" is a
   <body> class (an ancestor, not a descendant of .northmas-shop-wrap), so
   the old ".northmas-shop-wrap .single-product ..." rules below it never
   actually matched anything — scoped directly off .product instead. */
.northmas-shop-wrap div.product{
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,4vw,4rem);
  align-items:start;
}
.northmas-shop-wrap div.product .woocommerce-product-gallery{ position:relative; grid-row:1 / span 2; }
.northmas-shop-wrap div.product .summary{ grid-column:2; grid-row:1; }
.northmas-shop-wrap div.product .woocommerce-tabs,
.northmas-shop-wrap div.product .related{ grid-column:1 / -1; }
@media (max-width:880px){
  .northmas-shop-wrap div.product{ grid-template-columns:1fr; }
  .northmas-shop-wrap div.product .woocommerce-product-gallery{ grid-row:auto; }
  .northmas-shop-wrap div.product .summary{ grid-column:1; grid-row:auto; }
}
.northmas-shop-wrap .summary .price{ color:var(--ember); font-size:1.3rem; font-weight:600; }
.northmas-shop-wrap form.cart{ margin-top:1.5rem; }
.northmas-shop-wrap form.cart .qty{
  width:4rem; padding:.7rem; border:1px solid rgba(43,35,24,.2); border-radius:var(--radius);
  margin-right:.75rem; text-align:center;
}
.northmas-shop-wrap .woocommerce-product-details__short-description{ color:var(--ink-soft); margin-top:1rem; }

/* The zoom trigger renders as a bare 🔍 emoji floating above the image with
   no positioning or button chrome — swapped for an SVG matching the site's
   icon language and given the same circular-chip treatment as other
   floating icon buttons (lightbox controls, socials). */
.northmas-shop-wrap .woocommerce-product-gallery__trigger{
  position:absolute; top:1rem; right:1rem; z-index:2;
  width:2.6rem; height:2.6rem; border-radius:50%;
  background:rgba(251,246,236,.92); box-shadow:var(--shadow);
  display:flex; align-items:center; justify-content:center;
}
.northmas-shop-wrap .woocommerce-product-gallery__trigger span{ font-size:0; }
.northmas-shop-wrap .woocommerce-product-gallery__trigger::after{
  content:''; width:1.1rem; height:1.1rem;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B2318' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E");
  background-size:contain; background-repeat:no-repeat;
}

/* Tab nav rendered as a bare bulleted <ul> with no active/inactive styling,
   and the active panel's own redundant <h2> (WooCommerce always renders one)
   duplicated the tab label right above it. */
.northmas-shop-wrap .woocommerce-tabs ul.tabs{
  display:flex; gap:1.5rem; list-style:none; margin:2rem 0 1.5rem; padding:0 0 .75rem;
  border-bottom:1px solid rgba(43,35,24,.15);
}
.northmas-shop-wrap .woocommerce-tabs ul.tabs li{ margin:0; }
.northmas-shop-wrap .woocommerce-tabs ul.tabs li a{
  text-decoration:none; font-weight:600; font-size:.9rem; color:var(--ink-soft);
}
.northmas-shop-wrap .woocommerce-tabs ul.tabs li.active a{ color:var(--ink); }
.northmas-shop-wrap .woocommerce-tabs .panel > h2{ display:none; }
.northmas-shop-wrap .woocommerce-tabs .panel{ color:var(--ink-soft); line-height:1.7; }
.northmas-shop-wrap .related > h2{
  font-family:'Fraunces',serif; font-weight:500; color:var(--ink);
  margin:3rem 0 1.5rem;
}

/* The sitewide bare "h2" rule further up (clamp(1.7rem,...,2.4rem), sized
   for big homepage section headings like "Bilder"/"Om meg") was bleeding
   into every incidental heading WooCommerce prints inside the shop wrap —
   "Relaterte produkter", "Nytt i butikken", "Du vil kanskje like…" — making
   them as large as an actual page title. Only h1.page-title and
   .product_title (each sized explicitly above) should get the big size. */
.northmas-shop-wrap h2:not(.page-title):not(.product_title){
  font-size:clamp(1.3rem,1.15rem + .6vw,1.6rem);
}

/* Empty cart (block-based .wp-block-woocommerce-empty-cart-block): the
   default harsh black sad-face mask icon and plain WP block spacing don't
   match the rest of the site's understated, photography-led look. */
.northmas-shop-wrap .wc-block-cart__empty-cart__title.with-empty-cart-icon::before{ display:none; }
.northmas-shop-wrap .wc-block-cart__empty-cart__title{ margin-top:1rem; font-size:1.3rem; }
.northmas-shop-wrap .wp-block-separator.is-style-dots{ color:var(--ink-soft); opacity:.4; margin:2rem auto; }
.northmas-shop-wrap .wp-block-heading{ margin:2rem 0 .5rem; }
.northmas-shop-wrap .wc-block-grid__products{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:1.5rem;
  list-style:none; margin:1.5rem 0 0; padding:0;
}
.northmas-shop-wrap .wc-block-grid__product{
  /* WC Blocks' own CSS sets flex-basis/max-width:25% for its default
     flex-wrap layout; those percentages still apply to a grid item (against
     its grid cell) once the parent switches to display:grid above, shrinking
     each card to a quarter of its own column. */
  width:auto !important; max-width:none !important; flex-basis:auto !important;
  background:var(--paper); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.northmas-shop-wrap .wc-block-grid__product:hover{ transform:translateY(-4px); box-shadow:0 26px 40px -18px rgba(20,15,8,.45); }
.northmas-shop-wrap .wc-block-grid__product-link{ text-decoration:none; color:inherit; display:block; }
.northmas-shop-wrap .wc-block-grid__product img{ aspect-ratio:4/3; object-fit:cover; width:100%; }
.northmas-shop-wrap .wc-block-grid__product-title{
  font-family:'Fraunces',serif; font-weight:500; color:var(--ink); font-size:1.05rem;
  padding:1rem 1rem 0; display:block;
}
.northmas-shop-wrap .wc-block-grid__product-price{ display:block; padding:.4rem 1rem 1rem; color:var(--ember); font-weight:600; font-size:.95rem; }
.northmas-shop-wrap .wc-block-grid__product-add-to-cart{ padding:0 1rem 1rem; }
@media (hover:none){
  .northmas-shop-wrap .wc-block-grid__product:hover{ transform:none; box-shadow:var(--shadow); }
}

/* ---------- SCROLL REVEAL ---------- */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible{ opacity:1; transform:none; }
.reveal-fast{ transition-duration:.6s; }
/* .grid-uniform button.g-item, a.g-item{all:unset;...} outranks the plain
   .reveal selector on specificity and would otherwise wipe out its
   opacity/transform, so the reveal styling for gallery items is redeclared
   at matching specificity here. */
.grid-uniform button.g-item.reveal, .grid-uniform a.g-item.reveal{
  opacity:0; transform:translateY(14px);
  transition:opacity .5s var(--ease), transform .5s var(--ease);
}
.grid-uniform button.g-item.reveal.is-visible, .grid-uniform a.g-item.reveal.is-visible{ opacity:1; transform:none; }
.northmas-shop-wrap ul.products li.product.reveal:nth-child(2){ transition-delay:.08s; }
.northmas-shop-wrap ul.products li.product.reveal:nth-child(3){ transition-delay:.16s; }
.northmas-shop-wrap ul.products li.product.reveal:nth-child(4){ transition-delay:.24s; }
@media (prefers-reduced-motion: reduce){
  .reveal, .grid-uniform button.g-item.reveal, .grid-uniform a.g-item.reveal{ opacity:1; transform:none; transition:none; }
}
