/*
Theme Name: Winuja Merch
Version: 2.6
Text Domain: winuja-merch
*/
:root{color-scheme:light;--ink:#191818;--paper:#f4f2ee;--stone:#e6e2dc;--line:#c9c4bd;--muted:#57524e}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 system-ui,sans-serif}
a{color:inherit;text-underline-offset:.2em}
a:focus-visible,button:focus-visible{outline:2px solid #6b468c;outline-offset:4px}
img{max-width:100%}
.wrap{width:min(1360px,calc(100% - 88px));margin-inline:auto}
.top,.bottom{border-block-end:1px solid var(--line)}
.top .wrap,.bottom .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:16px}
.brand{text-decoration:none;font-size:1.75rem;font-weight:900;letter-spacing:-.08em;line-height:1}
.top nav{display:flex;gap:clamp(.65rem,3vw,2.4rem);flex-wrap:wrap;font-size:.83rem;font-weight:650}
.top nav a{text-decoration:none}
.top nav a:hover{text-decoration:underline}
.nuja-hero{position:relative;display:grid;align-items:end;isolation:isolate;min-height:clamp(490px,73vh,850px);overflow:hidden;background:#302d2d;color:white}
.nuja-hero>img,.nuja-hero::before{position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.nuja-hero>img{object-fit:cover;object-position:center 45%}
.nuja-hero::before{content:"";z-index:-1;background:linear-gradient(0deg,#131112e8,transparent 71%)}
.nuja-hero-copy{padding-block:52px}
.nuja-hero h1,.nuja-product-copy h2,.nuja-lookbook h2{margin:0 0 .45em;font-size:clamp(3.1rem,7.3vw,8rem);line-height:.91;letter-spacing:-.088em;font-weight:800}
.cta{display:inline-flex;align-items:center;gap:1.5rem;padding:.75rem 1rem;background:var(--paper);color:var(--ink);font-size:.87rem;font-weight:700;text-decoration:none}
.cta-dark{color:var(--paper);background:var(--ink)}
.cta:hover{opacity:.82}
.nuja-collection{display:grid;grid-template-columns:1.08fr .92fr;gap:clamp(2rem,7vw,8rem);align-items:center;padding-block:clamp(45px,9vw,135px)}
.nuja-product-image{display:grid;place-items:center;min-height:340px;background:#eeedeb}
.nuja-product-image img{display:block;width:100%;max-height:620px;object-fit:contain}
.nuja-product-copy h2,.nuja-lookbook h2{font-size:clamp(2.7rem,5vw,5.7rem)}
.nuja-product-copy p{color:var(--muted);max-width:29rem}
.nuja-product-copy dl{margin:1.5rem 0;border-top:1px solid var(--line)}
.nuja-product-copy dl div{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding:.65rem 0;font-size:.92rem}
.nuja-product-copy dd{margin:0;font-weight:700;text-align:right}
.nuja-lookbook{background:#242224;color:#f5f2ee;padding-block:clamp(45px,7vw,105px)}
.nuja-lookbook-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(12px,4vw,70px)}
.nuja-lookbook figure{margin:0}
.nuja-lookbook figure:nth-child(2){margin-top:clamp(0px,6vw,85px)}
.nuja-lookbook img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;background:#464345}
.nuja-lookbook figcaption,.nuja-lookbook-note{font-size:.86rem;color:#ddd5d4;margin-top:.7rem}
.nuja-lookbook-note{margin-top:2rem}
.content,main.woo-layout{padding-block:36px 75px;width:min(1200px,calc(100% - 64px));margin-inline:auto}
.bottom{border-block-start:1px solid var(--line);border-block-end:0;color:var(--muted)}
.woocommerce :is(a.button,button.button.alt,button.button){background:#242224;color:#fff;border-radius:0}
.woocommerce :is(a.button,button.button.alt,button.button):hover{background:#4b4349;color:#fff}
.woocommerce div.product .product_title{font-size:clamp(2.4rem,5vw,4.35rem);letter-spacing:-.065em;line-height:1}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink)}
.woocommerce .woocommerce-product-gallery .flex-control-thumbs img{outline-offset:-2px}
.woocommerce .woocommerce-product-gallery .flex-control-thumbs img.flex-active{outline:2px solid var(--ink)}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:700px){.wrap,main.woo-layout{width:calc(100% - 32px)}.nuja-hero-copy{padding-block:40px}.nuja-hero>img{object-position:55% center}.nuja-collection,.nuja-lookbook-grid{grid-template-columns:1fr}.nuja-lookbook figure:nth-child(2){margin-top:.7rem}.nuja-product-image{min-height:0}}

.nuja-campaign-note{margin:.65rem 0 0;color:#e0d9d4;font-size:.78rem}
.nuja-catalog{padding-block:clamp(45px,9vw,115px)}
.nuja-catalog h2{margin:0 0 .6em;font-size:clamp(2.7rem,5vw,5.7rem);line-height:.95;letter-spacing:-.08em}
.nuja-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,4vw,48px)}
.nuja-catalog-product .nuja-product-image{min-height:0;aspect-ratio:1;overflow:hidden}
.nuja-catalog-product .nuja-product-image img{height:100%;object-fit:contain}
.nuja-catalog-product h3{margin:.85rem 0 .25rem;font-size:1.35rem}
.nuja-catalog-product h3 a{text-decoration:none}
.nuja-catalog-product p{margin:0 0 .8rem}
@media(max-width:600px){.nuja-catalog-grid{grid-template-columns:1fr}}

.nuja-size-guide{max-width:760px;margin:1.6rem 0 2.2rem}
.nuja-size-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.7rem;flex-wrap:wrap;margin-bottom:.75rem}
.woocommerce .nuja-size-heading h2{margin:0;font-size:clamp(1.35rem,3vw,1.8rem);line-height:1.2;letter-spacing:-.035em}
.nuja-size-heading span{color:var(--muted);font-size:.82rem;font-weight:650;white-space:nowrap}
.nuja-size-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:8px;background:#faf9f7}
.nuja-size-table{width:100%;margin:0;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:.95rem;line-height:1.35}
.nuja-size-table :is(th,td){padding:.68rem clamp(.35rem,1.8vw,1rem);text-align:right}
.nuja-size-table tr>:first-child{text-align:left}
.nuja-size-table thead th{background:#242224;color:#f5f2ee;font-size:.81rem;font-weight:700}
.nuja-size-table tbody tr:nth-child(even){background:#efede9}
.nuja-size-table tbody tr+tr>*{border-top:1px solid #e1ddd6}
.nuja-size-table tbody th{font-weight:750}
.nuja-size-guide #nuja-size-note{margin:.75rem 0 0;color:var(--muted);font-size:.84rem;line-height:1.5}
@media(max-width:480px){.nuja-size-table{font-size:.83rem}.nuja-size-table thead th{font-size:.72rem}.nuja-size-table :is(th,td){padding:.58rem .27rem}.nuja-size-table tr>:first-child{padding-left:.5rem}.nuja-size-table tr>:last-child{padding-right:.5rem}}

.woocommerce div.product form.cart .variations {
  display:block;
  margin:1.55rem 0 1.15rem;
}
.woocommerce div.product form.cart .variations tbody {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.85rem;
}
.woocommerce div.product form.cart .variations tr {
  display:grid;
  grid-template-rows:auto 1fr;
  align-content:start;
  min-width:0;
}
.woocommerce div.product form.cart .variations :is(th,td) {
  display:block;
  padding:0;
  line-height:1.45;
}
.woocommerce div.product form.cart .variations label {
  display:block;
  margin:0 0 .4rem;
  font-size:.8rem;
  font-weight:750;
  color:var(--muted);
}
.woocommerce div.product form.cart .variations select {
  display:block;
  width:100%;
  max-width:none;
  min-height:3.2rem;
  margin:0;
  padding:.62rem 2.2rem .62rem .85rem;
  border:1px solid #bdb7b0;
  border-radius:.4rem;
  appearance:none;
  background:
    linear-gradient(45deg,transparent 50%,var(--ink) 50%) calc(100% - 1.07rem) center / 5px 5px no-repeat,
    linear-gradient(135deg,var(--ink) 50%,transparent 50%) calc(100% - .77rem) center / 5px 5px no-repeat,
    #fcfbf9;
  color:var(--ink);
  font:inherit;
  font-size:.94rem;
  font-weight:650;
  cursor:pointer;
}
.woocommerce div.product form.cart .variations select:hover {border-color:var(--ink)}
.woocommerce div.product form.cart .variations select:focus-visible {
  outline:2px solid #6b468c;
  outline-offset:2px;
}
.woocommerce div.product form.cart .reset_variations {
  display:inline-block;
  margin-top:.45rem;
  font-size:.8rem;
  color:var(--muted);
}
@media(max-width:390px){
  .woocommerce div.product form.cart .variations tbody{grid-template-columns:1fr;gap:.65rem}
}

/* Merch landing page */
body.home .top {
  background: #f8f6f1;
  border-color: #ded8ce;
}
body.home .top .wrap { min-height: 70px; }
.nuja-editorial {
  --editorial-paper: #faf8f3;
  --editorial-ink: #211e1a;
  --editorial-rule: #d7d0c5;
  --editorial-display: Georgia, "Times New Roman", serif;
  background: var(--editorial-paper);
  color: var(--editorial-ink);
}
.nuja-editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr);
  min-height: clamp(440px, 51vw, 780px);
  background: #eee8dd;
}
.nuja-editorial-intro {
  align-self: center;
  padding: clamp(32px, 5vw, 96px);
}
.nuja-editorial-hero img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}
.nuja-editorial h1,
.nuja-editorial h2 {
  font-family: var(--editorial-display);
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .9;
}
.nuja-editorial h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7.5vw, 10rem);
}
.nuja-editorial h1 em { font-weight: inherit; }
.nuja-editorial-intro p {
  margin: clamp(20px, 3vw, 40px) 0 16px;
  max-width: 24ch;
  color: #4a4136;
}
.nuja-editorial-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
  padding: .65rem 0;
  border-block-end: 1px solid currentColor;
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
}
.nuja-editorial-link:hover { color: #765437; }
.nuja-editorial h2 { font-size: clamp(3.2rem, 7vw, 7.5rem); }
.nuja-editorial .nuja-catalog-grid {
  gap: clamp(22px, 4vw, 52px);
  border-top: 1px solid var(--editorial-rule);
  padding-top: clamp(18px, 3vw, 34px);
}
.nuja-editorial .nuja-product-image { background: #efebe3; }
.nuja-editorial .nuja-product-image img { transition: transform .35s ease; }
.nuja-editorial .nuja-product-image:hover img { transform: scale(1.035); }
.nuja-product-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1rem;
  margin-top: 1rem;
}
.nuja-editorial .nuja-product-heading h3,
.nuja-editorial .nuja-product-heading p { margin: 0; }
.nuja-editorial .nuja-product-heading h3 { font-weight: 550; }
.nuja-editorial .nuja-product-heading h3 a:hover { text-decoration: underline; }
.nuja-editorial .nuja-lookbook { background: #201d19; color: #f8f6f1; }
.nuja-editorial .nuja-lookbook-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 48px);
}
.nuja-editorial .nuja-lookbook figure:nth-child(2) { margin-top: clamp(20px, 5vw, 72px); }
.nuja-editorial .nuja-lookbook figcaption {
  margin-top: 0;
  padding-block: .8rem;
  border-bottom: 1px solid #62564a;
  color: #eee1d1;
}
@media (max-width: 700px) {
  body.home .top .wrap { column-gap: .6rem; }
  body.home .top nav { justify-content: flex-end; }
  .nuja-editorial-hero,
  .nuja-editorial .nuja-lookbook-grid { grid-template-columns: minmax(0, 1fr); }
  .nuja-editorial-intro { padding: 34px 16px; }
  .nuja-editorial-hero img { height: auto; aspect-ratio: 5 / 4; }
  .nuja-editorial .nuja-lookbook figure:nth-child(2) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nuja-editorial .nuja-product-image img { transition: none; }
}

.nuja-editorial-hero .nuja-editorial-link {
  margin-top: .5rem;
  padding: .85rem 1rem;
  background: #211e1a;
  color: #faf8f3;
  border: 1px solid #211e1a;
}
.nuja-editorial-hero .nuja-editorial-link:hover {
  background: transparent;
  color: #211e1a;
}
.nuja-editorial .nuja-lookbook h2 { margin-bottom: clamp(22px, 4vw, 55px); }
