/*
Theme Name: NasimDesignn
Theme URI: https://nasimdesignn.ir
Author: NasimDesignn
Description: قالب اختصاصی، سبک و راست‌چین فروشگاه پوشاک زنانه NasimDesignn.
Version: 1.8.0
Text Domain: nasimdesignn
Requires at least: 6.7
Requires PHP: 8.1
*/

@font-face {
  font-family: "Estedad Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/fonts/estedad-arabic-variable.woff2") format("woff2-variations");
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Estedad Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/fonts/estedad-latin-variable.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --nd-pink: #e7a0c0;
  --nd-ink: #171717;
  --nd-charcoal: #2b2b2b;
  --nd-muted: #6f6f6f;
  --nd-line: #e5e5e5;
  --nd-surface: #f6f6f6;
  --nd-cream: #f3efe7;
  --nd-white: #fff;
  --nd-max: 1320px;
  --nd-shadow: 0 14px 36px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  background: var(--nd-white);
  color: var(--nd-ink);
  font-family: "Estedad Variable", Vazirmatn, Tahoma, Arial, sans-serif;
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
body.admin-bar .nd-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(231,160,192,.72); outline-offset: 3px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.nd-shell { width: min(var(--nd-max), 92vw); margin-inline: auto; }

.nd-announcement {
  min-height: 36px; display: flex; align-items: center; justify-content: center;
  gap: 12px; padding: 6px 20px; background: var(--nd-ink); color: #fff;
  font-size: 11px; text-align: center; letter-spacing: .05em;
}
.nd-announcement i { width: 3px; height: 3px; border-radius: 50%; background: var(--nd-pink); }
.nd-header {
  position: sticky; top: 0; z-index: 80; border-bottom: 1px solid var(--nd-line);
  background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
  transform: translateY(0);
  transition: transform .24s ease-out, box-shadow .2s ease;
  will-change: transform;
}
.nd-header.is-scroll-hidden { transform: translateY(calc(-100% - 2px)); }
.nd-header.is-scroll-raised { box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.nd-navrow { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.nd-menu { display: flex; align-items: center; gap: clamp(22px, 2.5vw, 40px); font-size: 14px; font-weight: 680; }
.nd-menu-list { margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); }
.nd-menu li { list-style: none; }
.nd-menu a { position: relative; padding-block: 10px; }
.nd-menu a::after { content: ""; position: absolute; inset: auto 0 4px; height: 1px; background: var(--nd-pink); transform: scaleX(0); transition: transform .2s; }
.nd-menu a:hover::after { transform: scaleX(1); }
.nd-menu .current-menu-item > a::after { transform: scaleX(1); }
.nd-menu .nd-home-link.is-current::after { transform: scaleX(1); }
.nd-brand { display: grid; place-items: center; }
.nd-brand img { width: 88px; height: 68px; object-fit: contain; }
.nd-actions { justify-self: end; display: flex; align-items: center; gap: 8px; direction: ltr; }
.nd-icon {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--nd-ink); cursor: pointer;
  transition: background .2s, transform .2s;
}
.nd-icon:hover { background: #f2f2f2; }
.nd-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nd-cart-count { position: absolute; top: 2px; right: 1px; min-width: 18px; height: 18px; padding-inline: 4px; display: grid; place-items: center; border-radius: 20px; background: var(--nd-pink); color: var(--nd-ink); font-size: 10px; font-weight: 800; }
.nd-mobile-toggle { display: none; }
.nd-mobile-menu { display: none; }
.nd-category-bar { border-top: 1px solid #ececec; background: #f8f8f8; }
.nd-category-bar-inner { min-height: 52px; display: flex; align-items: stretch; justify-content: center; gap: clamp(24px,3.2vw,52px); }
.nd-category-bar a { position: relative; min-height: 52px; display: inline-flex; align-items: center; color: #4c4c4c; font-size: 13px; font-weight: 680; white-space: nowrap; }
.nd-category-bar a:hover { color: var(--nd-ink); }
.nd-category-bar a::after { content: ""; position: absolute; right: 0; bottom: 0; width: 100%; height: 2px; background: var(--nd-pink); transform: scaleX(0); transition: transform .2s ease; }
.nd-category-bar a:hover::after { transform: scaleX(1); }
.nd-category-bar .nd-category-all { color: var(--nd-ink); font-weight: 850; }

.nd-hero { position: relative; overflow: hidden; background: linear-gradient(90deg,#fff 0 53%,#f5f2ec 53% 100%); }
.nd-hero-grid { min-height: 650px; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(42px, 6vw, 94px); padding-block: 46px; }
.nd-hero-copy { position: relative; z-index: 2; padding-block: 28px; }
.nd-hero-meta { margin-bottom: clamp(54px,7vw,92px); display: flex; align-items: center; gap: 20px; color: #8a8a8a; direction: ltr; font-size: 9px; font-weight: 700; letter-spacing: .22em; }
.nd-hero-meta span + span { padding-left: 20px; border-left: 1px solid #cfcfcf; }
.nd-eyebrow { margin: 0 0 14px; color: var(--nd-charcoal); font-size: 11px; font-weight: 800; letter-spacing: .6px; }
.nd-eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; margin-left: 8px; vertical-align: middle; background: var(--nd-pink); }
.nd-hero h1 { margin: 0; max-width: 650px; font-size: clamp(46px, 5.4vw, 78px); line-height: 1.34; font-weight: 760; letter-spacing: -.025em; }
.nd-hero h1 em { color: var(--nd-pink); font-style: normal; font-weight: 520; }
.nd-hero-copy > p:not(.nd-eyebrow) { max-width: 530px; margin: 22px 0 30px; color: var(--nd-muted); font-size: 15px; line-height: 2; }
.nd-buttons { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nd-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  min-height: 50px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--nd-ink) !important; border-radius: 0 !important; background: var(--nd-ink) !important;
  color: #fff !important; font-weight: 650 !important; font-size: 13px !important; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s;
}
.nd-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--nd-charcoal) !important; }
.nd-text-link { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid var(--nd-ink); font-size: 13px; font-weight: 650; }
.nd-hero-media { position: relative; justify-self: end; width: min(100%, 630px); height: 560px; overflow: hidden; background: #efefef; }
.nd-hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.nd-hero-media::before { content: ""; position: absolute; z-index: 2; inset: 16px; border: 1px solid rgba(255,255,255,.58); pointer-events: none; }
.nd-hero-brand { display: grid; place-items: center; isolation: isolate; background: linear-gradient(145deg,#ededed 0%,#fafafa 58%,#e2e2e2 100%); }
.nd-hero-brand::before { border-color: rgba(255,255,255,.9); }
.nd-hero-shape { position: absolute; z-index: -1; border: 1px solid rgba(23,23,23,.12); border-radius: 50%; }
.nd-hero-shape-one { width: 430px; height: 430px; left: -120px; top: -90px; background: rgba(255,255,255,.38); }
.nd-hero-shape-two { width: 330px; height: 330px; right: -80px; bottom: -110px; background: rgba(231,160,192,.13); }
.nd-hero-mark { width: min(64%,360px); padding: 36px 34px 32px; text-align: center; border: 1px solid rgba(23,23,23,.12); background: rgba(255,255,255,.78); box-shadow: 0 20px 55px rgba(0,0,0,.07); backdrop-filter: blur(8px); }
.nd-hero-mark img { width: 150px; height: 150px; margin-inline: auto; display: block; object-fit: contain; mix-blend-mode: multiply; }
.nd-hero-mark strong { margin-top: 10px; display: block; font-size: 18px; letter-spacing: .16em; direction: ltr; }
.nd-hero-mark small { margin-top: 6px; display: block; color: var(--nd-muted); font-size: 9px; letter-spacing: .18em; direction: ltr; }
.nd-hero-note { position: absolute; z-index: 3; right: 28px; bottom: 28px; padding: 18px 22px; border: 1px solid rgba(255,255,255,.74); background: rgba(255,255,255,.88); backdrop-filter: blur(10px); }
.nd-hero-note small { display: block; color: var(--nd-charcoal); font-size: 9px; letter-spacing: 1px; }
.nd-hero-note b { display: block; margin-top: 5px; font-size: 16px; }

.nd-section { padding-block: clamp(62px, 6.5vw, 94px); }
.nd-section-head { margin-bottom: 34px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.nd-section-head h2 { margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: 1.38; font-weight: 730; letter-spacing: -.02em; }
.nd-section-head p { margin: 8px 0 0; color: var(--nd-muted); font-size: 13px; }

.nd-categories { padding-block: 66px 58px; background: #fff; border-bottom: 1px solid #ededed; }
.nd-categories .nd-section-head { margin-bottom: 28px; }
.nd-categories .nd-section-head h2 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -.015em; }
.nd-category-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(118px, 1fr); gap: clamp(16px, 2.2vw, 34px); overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; scrollbar-color: #ccc transparent; }
.nd-category { min-width: 118px; text-align: center; }
.nd-category-image { position: relative; width: clamp(112px, 11vw, 156px); aspect-ratio: 1; margin-inline: auto; overflow: hidden; border-radius: 50%; background: #eeeeee; transition: border-color .2s, transform .2s; border: 1px solid #e1e1e1; }
.nd-category:hover .nd-category-image { border-color: var(--nd-pink); transform: translateY(-3px); }
.nd-category-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.nd-category-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(145deg,#f5f2ec,#e8e8e8); color: #aaa; font-size: 13px; font-weight: 650; letter-spacing: .16em; }
.nd-category b { display: block; margin-top: 12px; font-size: 13px; }
.nd-category span { display: block; margin-top: 1px; color: #8a8a8a; font-size: 10px; }

.nd-products { background: #fff; }
.nd-product-grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px)/4); gap: 32px 16px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #bdbdbd transparent; cursor: grab; touch-action: pan-y; overscroll-behavior-inline: contain; }
.nd-product-grid::-webkit-scrollbar { height: 4px; }
.nd-product-grid::-webkit-scrollbar-thumb { background: #bdbdbd; }
.nd-product-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.nd-product-card { position: relative; min-width: 0; }
.nd-product-grid .nd-product-card { scroll-snap-align: start; }
.nd-product-image { position: relative; aspect-ratio: .76; overflow: hidden; background: #f3f3f3; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nd-product-image img { width: 100%; height: 100%; padding: 8px; object-fit: contain; object-position: center; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.nd-product-card:hover .nd-product-image { border-bottom-color: var(--nd-pink); }
.nd-product-card:hover .nd-product-image img { transform: scale(1.018); }
.nd-gallery-preview { isolation: isolate; }
.nd-gallery-preview-image { display: block; }
.nd-gallery-hint { position: absolute; z-index: 2; left: 10px; top: 10px; padding: 4px 8px; background: rgba(255,255,255,.88); color: #555; border: 1px solid rgba(0,0,0,.08); font-size: 9px; font-weight: 700; opacity: 0; transition: opacity .2s; pointer-events: none; }
.nd-gallery-progress { position: absolute; z-index: 2; inset: auto 0 0; height: 2px; background: linear-gradient(to left,var(--nd-pink) var(--nd-gallery-position,0%),transparent var(--nd-gallery-position,0%)); pointer-events: none; }
.nd-gallery-preview:hover .nd-gallery-hint { opacity: 1; }
.nd-product-badge { position: absolute; top: 12px; right: 12px; padding: 5px 9px; background: rgba(255,255,255,.9); color: var(--nd-ink); border: 1px solid rgba(0,0,0,.08); font-size: 9px; font-weight: 800; }
.nd-product-card:first-child .nd-product-badge { background: var(--nd-pink); border-color: var(--nd-pink); }
.nd-product-info { padding-top: 14px; }
.nd-product-info h3 { margin: 0; font-size: 15px; font-weight: 700; }
.nd-product-meta { margin-top: 4px; display: flex; justify-content: space-between; gap: 12px; color: var(--nd-muted); font-size: 12px; }
.nd-product-open { position: absolute; inset: 0; z-index: 3; border: 0; background: transparent; cursor: pointer; }
.nd-product-open span { position: absolute; left: 12px; bottom: 68px; padding: 8px 12px; background: rgba(23,23,23,.92); color: #fff; font-size: 10px; opacity: 0; transition: opacity .2s; }
.nd-product-card:hover .nd-product-open span { opacity: 1; }

.nd-weekly { padding-block: clamp(64px, 7vw, 98px); background: var(--nd-cream); border-block: 1px solid #dedbd5; }
.nd-weekly-head { margin-bottom: 32px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.nd-weekly-head h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.4; font-weight: 740; letter-spacing: -.02em; }
.nd-weekly-head p:not(.nd-eyebrow) { margin: 8px 0 0; color: var(--nd-muted); font-size: 13px; }
.nd-weekly-note { padding: 8px 13px; border: 1px solid var(--nd-ink); color: var(--nd-ink); font-size: 10px; font-weight: 800; }
.nd-weekly-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.nd-weekly-card { min-width: 0; background: #fff; border: 1px solid #dedbd5; transition: transform .25s, border-color .25s; }
.nd-weekly-card:hover { transform: translateY(-3px); border-color: #b9b4ac; }
.nd-weekly-image { position: relative; display: block; aspect-ratio: .8; overflow: hidden; background: #f6f4f0; }
.nd-weekly-image img { width: 100%; height: 100%; padding: 10px; object-fit: contain; object-position: center; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.nd-weekly-card:hover .nd-weekly-image img { transform: scale(1.018); }
.nd-weekly-badge { position: absolute; top: 12px; right: 12px; padding: 6px 9px; background: var(--nd-ink); color: #fff; font-size: 9px; font-weight: 800; }
.nd-weekly-badge::before { content: ""; width: 5px; height: 5px; margin-left: 6px; display: inline-block; border-radius: 50%; background: var(--nd-pink); vertical-align: middle; }
.nd-weekly-info { padding: 15px 15px 17px; }
.nd-weekly-info h3 { margin: 0; font-size: 14px; font-weight: 750; }
.nd-weekly-meta { margin-top: 9px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; }
.nd-weekly-meta b { font-size: 12px; }
.nd-weekly-meta a { color: var(--nd-muted); border-bottom: 1px solid #bbb; }

.nd-lookbook { padding-block: clamp(68px, 7vw, 96px); overflow: hidden; background: linear-gradient(115deg,#fff 0%,#f7f7f7 48%,#ededed 100%); border-block: 1px solid #dedede; }
.nd-lookbook-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(35px, 6vw, 80px); align-items: center; }
.nd-lookbook-copy h2 { margin: 0; font-size: clamp(40px, 5vw, 72px); line-height: 1.34; font-weight: 740; letter-spacing: -.02em; }
.nd-lookbook-copy p { max-width: 430px; margin: 20px 0 26px; color: var(--nd-muted); line-height: 2; font-size: 14px; }
.nd-deck { position: relative; height: 520px; perspective: 1000px; direction: ltr; touch-action: pan-y; }
.nd-deck::before { content: ""; position: absolute; inset: 10% 7% 12%; border-radius: 50%; background: radial-gradient(ellipse at center,rgba(140,140,140,.16),rgba(225,225,225,.08) 48%,transparent 72%); filter: blur(18px); pointer-events: none; }
.nd-deck-card { position: absolute; top: 4%; left: 28%; width: 44%; height: 82%; padding: 0; overflow: hidden; border: 1px solid var(--nd-line); border-radius: 10px; background: #fff; box-shadow: var(--nd-shadow); cursor: pointer; transition: transform .38s cubic-bezier(.2,.75,.2,1), opacity .25s; }
.nd-deck-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.nd-deck-card::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent,rgba(20,20,20,.68)); }
.nd-deck-card b { position: absolute; z-index: 2; right: 18px; bottom: 18px; color: #fff; font-size: 18px; }
.nd-deck-card.is-active { z-index: 5; transform: translate3d(0,0,70px); }
.nd-deck-card.is-next { z-index: 3; opacity: .62; transform: translate3d(66%,8%,0) rotateY(-5deg) scale(.8); }
.nd-deck-card.is-prev { z-index: 3; opacity: .62; transform: translate3d(-66%,8%,0) rotateY(5deg) scale(.8); }
.nd-deck-controls { display: flex; align-items: center; gap: 10px; }
.nd-deck-controls button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #bdbdbd; border-radius: 50%; background: transparent; color: var(--nd-ink); cursor: pointer; transition: background .2s; }
.nd-deck-controls button:hover { background: rgba(255,255,255,.65); }

.nd-detail { scroll-margin-top: 92px; background: #fff; border-top: 1px solid #ededed; }
.nd-detail-grid { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: clamp(36px, 6vw, 90px); }
.nd-detail-image { min-height: 610px; background: #f3f3f3; }
.nd-detail-image img { width: 100%; height: 610px; object-fit: cover; }
.nd-detail-content h2 { margin: 4px 0 12px; font-size: clamp(38px, 4.5vw, 64px); line-height: 1.35; font-weight: 740; letter-spacing: -.02em; }
.nd-detail-price { color: var(--nd-ink); font-size: 18px; font-weight: 800; }
.nd-detail-description { margin: 22px 0; color: var(--nd-muted); line-height: 2; }
.nd-detail-facts { margin: 0 0 27px; padding: 0; list-style: none; border-block: 1px solid var(--nd-line); }
.nd-detail-facts li { padding: 10px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--nd-line); font-size: 12px; }
.nd-detail-facts li:last-child { border: 0; }
.nd-detail-placeholder { color: var(--nd-muted); }

.nd-story { text-align: center; background: var(--nd-cream); }
.nd-story .nd-shell { max-width: 850px; }
.nd-story h2 { margin: 0; font-size: clamp(38px, 4.5vw, 64px); font-weight: 740; letter-spacing: -.02em; }
.nd-story p { margin: 24px 0 0; color: var(--nd-muted); line-height: 2.2; }
.nd-benefits { margin-top: 46px; display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--nd-line); }
.nd-benefit { padding: 24px 14px; }
.nd-benefit + .nd-benefit { border-right: 1px solid var(--nd-line); }
.nd-benefit b { display: block; font-size: 13px; }
.nd-benefit span { color: var(--nd-muted); font-size: 11px; }

/* FAQ */
.nd-faq-section { padding-block: clamp(68px, 7vw, 104px); background: #fff; border-top: 1px solid var(--nd-line); }
.nd-faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.nd-faq-intro { position: sticky; top: 120px; }
.nd-faq-intro h2 { margin: 0; font-size: clamp(38px, 4.5vw, 64px); line-height: 1.4; font-weight: 740; letter-spacing: -.02em; }
.nd-faq-intro > p:not(.nd-eyebrow) { max-width: 390px; margin: 18px 0 0; color: var(--nd-muted); font-size: 14px; line-height: 2; }
.nd-faq-list { border-top: 1px solid var(--nd-ink); }
.nd-faq-item { border-bottom: 1px solid var(--nd-line); }
.nd-faq-item summary { position: relative; min-height: 68px; padding: 20px 0 20px 46px; display: flex; align-items: center; list-style: none; color: var(--nd-ink); font-size: 15px; font-weight: 800; cursor: pointer; }
.nd-faq-item summary::-webkit-details-marker { display: none; }
.nd-faq-item summary::after { content: "+"; position: absolute; left: 8px; top: 50%; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--nd-line); border-radius: 50%; transform: translateY(-50%); font-size: 19px; font-weight: 400; transition: transform .2s, background .2s; }
.nd-faq-item[open] summary::after { content: "−"; background: var(--nd-pink); border-color: var(--nd-pink); }
.nd-faq-answer { max-width: 660px; padding: 0 0 24px; color: var(--nd-muted); font-size: 14px; line-height: 2; }
.nd-faq-answer p { margin: 0; }

/* Purchase policy */
.nd-policy-hero { padding-block: clamp(64px, 8vw, 112px); background: var(--nd-cream); border-bottom: 1px solid var(--nd-line); }
.nd-policy-hero h1 { max-width: 900px; margin: 0; font-size: clamp(42px, 6vw, 82px); line-height: 1.35; font-weight: 760; letter-spacing: -.025em; }
.nd-policy-hero p:not(.nd-eyebrow) { max-width: 700px; margin: 20px 0 0; color: var(--nd-muted); line-height: 2; }
.nd-policy-layout { padding-block: clamp(54px, 7vw, 94px); display: grid; grid-template-columns: 260px minmax(0, 760px); justify-content: space-between; gap: clamp(42px, 8vw, 120px); align-items: start; }
.nd-policy-nav { position: sticky; top: 112px; display: grid; border-top: 1px solid var(--nd-ink); }
.nd-policy-nav strong { padding: 15px 0; font-size: 12px; }
.nd-policy-nav a { min-height: 44px; display: flex; align-items: center; border-top: 1px solid var(--nd-line); color: var(--nd-muted); font-size: 12px; }
.nd-policy-nav a:hover { color: var(--nd-ink); }
.nd-policy-section { padding: 0 0 42px; margin: 0 0 42px; border-bottom: 1px solid var(--nd-line); scroll-margin-top: 110px; }
.nd-policy-section:last-child { margin-bottom: 0; }
.nd-policy-section h2 { margin: 0 0 18px; font-size: clamp(25px, 3vw, 36px); line-height: 1.5; }
.nd-policy-section p, .nd-policy-section li { color: var(--nd-muted); line-height: 2.1; }
.nd-policy-section ul, .nd-policy-section ol { margin: 15px 0 0; padding-right: 20px; }
.nd-policy-callout { margin-top: 22px; padding: 22px 24px; border-right: 4px solid var(--nd-pink); background: var(--nd-surface); }
.nd-policy-callout strong { display: block; margin-bottom: 5px; color: var(--nd-ink); }
.nd-policy-callout p { margin: 0; }
.nd-policy-updated { margin-top: 22px; color: var(--nd-muted); font-size: 11px; }
.nd-product-policy { margin: 24px 0; border-block: 1px solid var(--nd-line); }
.nd-product-policy summary { min-height: 54px; padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; font-size: 13px; font-weight: 800; cursor: pointer; }
.nd-product-policy summary::-webkit-details-marker { display: none; }
.nd-product-policy summary::after { content: "+"; font-size: 20px; font-weight: 400; }
.nd-product-policy[open] summary::after { content: "−"; }
.nd-product-policy div { padding: 0 0 18px; color: var(--nd-muted); font-size: 12px; line-height: 2; }
.nd-product-policy p { margin: 0 0 10px; }
.nd-product-policy a { color: var(--nd-ink); border-bottom: 1px solid var(--nd-pink); font-weight: 800; }

.nd-footer { padding: 58px 0 28px; background: var(--nd-ink); color: #fff; }
.nd-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; }
.nd-footer h3 { margin: 0 0 12px; font-size: 22px; }
.nd-footer p, .nd-footer a { color: #d0d0d0; font-size: 12px; }
.nd-footer nav { display: grid; gap: 8px; }
.nd-copyright { margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #a7a7a7; font-size: 10px; text-align: center; }

/* WooCommerce */
.nd-woo-main { min-height: 58vh; padding-block: 20px 88px; }
.nd-woo-main > .woocommerce { width: 100%; }
body.post-type-archive-product #main-content,
body.tax-product_cat #main-content,
body.tax-product_tag #main-content {
  width: min(var(--nd-max), 92vw);
  min-height: 58vh;
  margin-inline: auto;
  padding-block: 20px 88px;
}
body.single-product #main-content { width: 100%; min-height: 58vh; }
.woocommerce .woocommerce-breadcrumb { margin: 24px 0 !important; color: var(--nd-muted); font-size: 12px; }
.woocommerce-products-header { margin: 0 0 34px; padding: 24px 0 30px; border-bottom: 1px solid var(--nd-line); }
.woocommerce-products-header__title.page-title, .woocommerce div.product .product_title { font-size: clamp(34px,4vw,58px); font-weight: 740; letter-spacing: -.02em; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px 18px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.woocommerce ul.products li.product .nd-loop-media { position: relative; aspect-ratio: .78; overflow: hidden; background: var(--nd-surface); margin-bottom: 14px; }
.woocommerce ul.products li.product .nd-loop-media img { width: 100%; height: 100%; padding: 8px; aspect-ratio: auto; object-fit: contain; object-position: center; background: var(--nd-surface); margin: 0; transition: transform .28s ease, opacity .14s ease; }
.woocommerce ul.products li.product:hover .nd-loop-media img { transform: scale(1.015); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--nd-ink); font-size: 15px; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--nd-ink); font-weight: 800; }
.woocommerce ul.products li.product .button {
  min-height: 50px;
  margin-top: 14px !important;
  padding: 0 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.35 !important;
  vertical-align: middle;
}
.woocommerce-Price-amount.amount {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: baseline;
  gap: .28em;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}
.woocommerce span.onsale { min-width: auto; min-height: auto; padding: 6px 10px; border-radius: 0; background: var(--nd-pink); color: var(--nd-ink); line-height: 1.2; }
.woocommerce div.product { padding-block: 45px 90px; }
.woocommerce div.product::after { content: ""; display: table; clear: both; }
.woocommerce div.product .woocommerce-tabs { width: 100%; clear: both; margin-top: clamp(44px,6vw,78px); }
.woocommerce div.product .woocommerce-tabs ul.tabs {
  width: auto;
  margin: 0 clamp(24px,6vw,92px) !important;
  padding: 0 !important;
  display: flex;
  justify-content: flex-start;
  align-items: end;
  gap: clamp(18px,3vw,34px);
  overflow-x: auto;
  border-bottom: 1px solid var(--nd-line);
  scrollbar-width: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0 0 -1px !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--nd-muted) !important;
  white-space: nowrap;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  min-height: 50px;
  padding: 13px 0 !important;
  display: inline-flex !important;
  align-items: center;
  color: inherit !important;
  font-size: 13px;
  font-weight: 650 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover { color: var(--nd-ink) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--nd-pink) !important;
  color: var(--nd-ink) !important;
}
.woocommerce div.product .woocommerce-tabs .panel {
  --nd-description-gutter: clamp(24px, 6vw, 92px);
  width: 100%;
  max-width: none;
  margin-inline: auto !important;
  padding: clamp(28px,4vw,52px) var(--nd-description-gutter) !important;
  overflow: hidden;
  color: var(--nd-charcoal);
  line-height: 2.05;
}
.woocommerce div.product .woocommerce-tabs .panel > :first-child { margin-top: 0; }
.woocommerce div.product .woocommerce-tabs .panel > :last-child { margin-bottom: 0; }
.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce div.product .woocommerce-tabs .panel h3 { line-height: 1.6; }
.woocommerce div.product .woocommerce-tabs .panel p,
.woocommerce div.product .woocommerce-tabs .panel li { max-width: 82ch; }
.woocommerce div.product .woocommerce-tabs .panel > img,
.woocommerce div.product .woocommerce-tabs .panel > figure,
.woocommerce div.product .woocommerce-tabs .panel > .wp-block-image,
.woocommerce div.product .woocommerce-tabs .panel > .wp-block-gallery,
.woocommerce div.product .woocommerce-tabs .panel > p:has(img),
.woocommerce div.product .woocommerce-tabs .panel > div:has(img) {
  width: calc(100% + (2 * var(--nd-description-gutter)));
  max-width: none;
  margin-right: calc(-1 * var(--nd-description-gutter));
  margin-left: calc(-1 * var(--nd-description-gutter));
}
.woocommerce div.product .woocommerce-tabs .panel > img {
  display: block;
  height: auto;
}
.woocommerce div.product div.images img { background: var(--nd-surface); }
.woocommerce div.product form.cart .variations select { min-height: 46px; border: 1px solid var(--nd-line); background: #fff; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--nd-pink); background: var(--nd-surface); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--nd-ink); }
.woocommerce table.shop_table, .woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border-color: var(--nd-line); border-radius: 0; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { min-height: 46px; border: 1px solid var(--nd-line); padding: 10px 12px; }
.nd-shipping-cost-notice { margin: 14px 0 20px; padding: 14px 16px; display: grid; gap: 5px; border-right: 3px solid var(--nd-pink); background: var(--nd-surface); color: var(--nd-charcoal); font-size: 13px; line-height: 1.9; }
.nd-shipping-cost-notice strong { color: var(--nd-ink); font-size: 14px; }
.woocommerce ul#shipping_method { display: grid; gap: 9px; margin: 12px 0; }
.woocommerce ul#shipping_method li { margin: 0; padding: 12px 14px; border: 1px solid var(--nd-line); background: #fff; line-height: 1.8; }
.woocommerce ul#shipping_method li:has(input:checked) { border-color: var(--nd-ink); background: var(--nd-surface); }
.woocommerce ul#shipping_method input { margin-left: 8px; accent-color: var(--nd-ink); }
.nd-shop-empty { max-width: 760px; margin: 20px auto 0; padding: clamp(54px,8vw,94px) clamp(24px,6vw,72px); text-align: center; background: var(--nd-surface); border-top: 2px solid var(--nd-pink); }
.nd-shop-empty-mark { width: 62px; height: 62px; margin: 0 auto 22px; display: grid; place-items: center; border: 1px solid #cfcfcf; border-radius: 50%; color: var(--nd-charcoal); font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.nd-shop-empty .nd-eyebrow::before { display: none; }
.nd-shop-empty h2 { max-width: 620px; margin: 0 auto; font-size: clamp(28px,4vw,46px); line-height: 1.55; font-weight: 740; }
.nd-shop-empty > p:not(.nd-eyebrow) { max-width: 580px; margin: 18px auto 28px; color: var(--nd-muted); font-size: 14px; line-height: 2; }

@media (max-width: 980px) {
  .nd-header { transition: transform .22s ease-out, box-shadow .18s ease; }
  .nd-header.nd-mobile-hidden { transform: translate3d(0,calc(-100% - 4px),0) !important; }
  body.admin-bar .nd-header { top: 46px; }
  .nd-menu { display: none; }
  .nd-category-bar { display: none; }
  .nd-navrow { grid-template-columns: 1fr auto 1fr; min-height: 70px; }
  .nd-mobile-toggle { display: grid; justify-self: start; }
  .nd-mobile-menu { display: none; padding: 8px 4vw 18px; border-top: 1px solid var(--nd-line); }
  .nd-mobile-menu.is-open { display: grid; }
  .nd-mobile-menu a { min-height: 46px; display: flex; align-items: center; border-bottom: 1px solid var(--nd-line); font-size: 13px; }
  .nd-mobile-menu-label { padding: 22px 0 8px; color: var(--nd-muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
  .nd-hero { background: linear-gradient(#f5f2ec 0 48%,#fff 48% 100%); }
  .nd-hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 45px 60px; }
  .nd-hero-copy { order: 2; }
  .nd-hero-meta { margin-bottom: 34px; }
  .nd-hero-media { order: 1; justify-self: stretch; width: 100%; height: min(560px, 78vh); }
  .nd-product-grid { grid-auto-columns: 46%; }
  .nd-weekly-grid, .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nd-category-list { grid-auto-columns: 132px; }
  .nd-lookbook-grid, .nd-detail-grid { grid-template-columns: 1fr; }
  .nd-faq-grid, .nd-policy-layout { grid-template-columns: 1fr; }
  .nd-faq-intro, .nd-policy-nav { position: static; }
  .nd-policy-nav { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 20px; }
  .nd-policy-nav strong { grid-column: 1 / -1; }
  .nd-lookbook-copy { text-align: center; }
  .nd-lookbook-copy p { margin-inline: auto; }
  .nd-deck-controls { justify-content: center; }
  .nd-detail-image, .nd-detail-image img { min-height: 520px; height: 520px; }
}

@media (max-width: 620px) {
  .nd-announcement { font-size: 10px; }
  .nd-announcement span:last-child, .nd-announcement i { display: none; }
  .nd-brand img { width: 62px; height: 50px; }
  .nd-actions .nd-account { display: none; }
  .nd-hero h1 { font-size: clamp(42px, 14vw, 62px); letter-spacing: -.025em; }
  .nd-hero-media { height: 470px; }
  .nd-section-head { align-items: start; flex-direction: column; }
  .nd-weekly-head { align-items: start; flex-direction: column; }
  .nd-weekly-grid { gap: 10px; }
  .nd-weekly-info { padding: 12px 10px 14px; }
  .nd-weekly-meta { align-items: start; flex-direction: column; }
  .nd-product-grid, .woocommerce ul.products { gap: 24px 10px; }
  .nd-product-grid { grid-auto-columns: 78%; }
  .nd-product-info h3, .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13px; }
  .nd-product-meta { display: block; font-size: 11px; }
  .nd-product-open span { display: none; }
  .nd-gallery-hint, .nd-gallery-progress { display: none; }
  body.single-product #main-content { width: 100%; overflow: hidden; }
  .woocommerce div.product { padding: 16px 16px 58px; }
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .woocommerce div.product div.images { margin-bottom: 28px !important; }
  .woocommerce div.product div.images .flex-viewport {
    width: 100%;
    overflow: hidden;
    background: var(--nd-surface);
  }
  .woocommerce div.product div.images .woocommerce-product-gallery__image > a {
    width: 100%;
    aspect-ratio: 4 / 5;
    display: grid;
    place-items: center;
    background: var(--nd-surface);
  }
  .woocommerce div.product div.images .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    padding: 8px;
    object-fit: contain;
    object-position: center;
  }
  .woocommerce div.product div.images .flex-control-thumbs {
    margin: 10px 0 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 8px;
  }
  .woocommerce div.product div.images .flex-control-thumbs li {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
  }
  .woocommerce div.product div.images .flex-control-thumbs img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1;
    padding: 4px;
    object-fit: contain;
    border: 1px solid transparent;
    background: var(--nd-surface);
    opacity: .58;
  }
  .woocommerce div.product div.images .flex-control-thumbs img.flex-active {
    border-color: var(--nd-ink);
    opacity: 1;
  }
  .woocommerce div.product div.summary { padding-inline: 2px; }
  .woocommerce div.product .product_title {
    max-width: 100%;
    margin: 0 0 14px;
    font-size: clamp(28px,8.6vw,36px);
    line-height: 1.38;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
  }
  .woocommerce div.product p.price,
  .woocommerce div.product span.price { margin: 0 0 20px; font-size: 20px; line-height: 1.5; }
  .woocommerce div.product .woocommerce-product-details__short-description {
    margin-bottom: 22px;
    color: var(--nd-charcoal);
    font-size: 15px;
    line-height: 1.95;
  }
  .woocommerce div.product form.cart { width: 100%; margin-bottom: 22px; }
  .woocommerce div.product form.cart table.variations,
  .woocommerce div.product form.cart table.variations tbody { width: 100%; display: block; }
  .woocommerce div.product form.cart table.variations tr {
    width: 100%;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: 52px minmax(0,1fr);
    align-items: center;
    gap: 8px;
  }
  .woocommerce div.product form.cart table.variations th,
  .woocommerce div.product form.cart table.variations td { width: auto; padding: 0 !important; }
  .woocommerce div.product form.cart table.variations th.label { font-size: 14px; text-align: right; }
  .woocommerce div.product form.cart .variations select {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px;
    padding: 8px 12px;
    font-size: 16px;
  }
  .woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: 8px; font-size: 12px; }
  .woocommerce div.product form.cart .single_variation_wrap { width: 100%; }
  .woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
    width: 100%;
    display: grid;
    grid-template-columns: 72px minmax(0,1fr);
    gap: 10px;
  }
  .woocommerce div.product form.cart div.quantity { width: 72px; margin: 0 !important; float: none !important; }
  .woocommerce div.product form.cart div.quantity .qty { width: 100%; min-height: 50px; }
  .woocommerce div.product form.cart .single_add_to_cart_button {
    width: 100%;
    min-height: 50px;
    margin: 0 !important;
    float: none !important;
  }
  .woocommerce div.product .product_meta { margin-top: 20px; font-size: 12px; line-height: 1.9; }
  .nd-product-policy { margin-top: 18px; }
  .woocommerce div.product .woocommerce-tabs .panel {
    --nd-description-gutter: 4vw;
    padding-block: 24px !important;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs { margin-inline: 4vw !important; gap: 20px; }
  .nd-deck { height: 470px; }
  .nd-categories { padding-block: 42px 36px; }
  .nd-category-list { width: 100vw; margin-right: calc((100vw - 92vw) / -2); padding-inline: 4vw; grid-auto-columns: 116px; }
  .nd-category-image { width: 108px; }
  .nd-deck-card { left: 22%; width: 56%; height: 80%; }
  .nd-deck-card.is-next { transform: translate3d(55%,10%,0) rotateY(-10deg) scale(.76); }
  .nd-deck-card.is-prev { transform: translate3d(-55%,10%,0) rotateY(10deg) scale(.76); }
  .nd-detail-image, .nd-detail-image img { min-height: 460px; height: 460px; }
  .nd-benefits { grid-template-columns: 1fr; }
  .nd-faq-item summary { min-height: 64px; padding-left: 42px; font-size: 14px; }
  .nd-policy-nav { grid-template-columns: 1fr; }
  .nd-policy-hero h1 { letter-spacing: -.02em; }
  .nd-benefit + .nd-benefit { border-right: 0; border-top: 1px solid var(--nd-line); }
  .nd-footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}
