@font-face {
  font-family: Estedad;
  src: url('/assets/fonts/Estedad-VF.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #102a39;
  --deep: #081c2b;
  --blue: #427c9b;
  --mist: #e9f2f4;
  --cream: #f8faf8;
  --line: #d8e3e6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Estedad, Tahoma, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { color: #fff; background: #367d9b; }
:focus-visible { outline: 3px solid #62b5d3; outline-offset: 4px; }
.container { width: min(100% - 100px, 1400px); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; right: 20px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; }
.skip-link:focus { top: 14px; }

.announcement { height: 32px; display: flex; align-items: center; justify-content: center; gap: 13px; background: #fff; color: #183441; font-size: 11px; font-weight: 600; letter-spacing: .01em; }
.announcement-dot { width: 3px; height: 3px; border-radius: 50%; background: #5289a3; }
.site-header { position: fixed; inset: 32px 0 auto; z-index: 50; color: #fff; transition: top .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.site-header.is-pinned { top: 0; }
.header-inner { height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; border-bottom: 1px solid rgba(255,255,255,.24); }
.brand { width: max-content; display: inline-flex; align-items: center; gap: 7px; font-size: 35px; line-height: .9; font-weight: 900; letter-spacing: -.045em; }
.brand-mountain { width: 48px; height: 30px; align-self: flex-start; margin-top: 3px; }
.brand small { display: block; margin-top: 8px; font-size: 9px; font-weight: 700; letter-spacing: .33em; direction: ltr; text-align: right; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); white-space: nowrap; }
.main-nav a { position: relative; font-size: 13px; font-weight: 700; transition: opacity .2s; }
.main-nav a::after { content: ''; position: absolute; right: 0; bottom: -8px; width: 0; height: 1px; background: currentColor; transition: width .2s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 20px; }
.header-shop { position: relative; width: 34px; height: 34px; display: grid; place-items: center; }
.header-shop svg { width: 24px; height: 24px; }
.header-cart-badge { position: absolute; top: -4px; left: -8px; min-width: 17px; height: 17px; padding: 0 4px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: #c14545; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; }
.header-account { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.header-account svg { width: 21px; height: 21px; }
.header-logout { width: 34px; height: 34px; display: grid; place-items: center; transition: color .2s; }
.header-logout svg { width: 21px; height: 21px; }
.header-logout:hover { color: #c0473f; }
.menu-toggle { display: none; }

.site-header.is-static { color: var(--ink); background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-header.is-static .header-inner { border-bottom-color: transparent; }
.site-header.is-static .menu-toggle { color: var(--ink); }
.site-header.is-static + main { padding-top: 92px; }

body.has-admin-bar { --admin-bar-h: 32px; padding-top: var(--admin-bar-h); }
body.has-admin-bar .site-header { top: calc(32px + var(--admin-bar-h)); }
body.has-admin-bar .site-header.is-pinned { top: var(--admin-bar-h); }
.admin-bar { position: fixed; inset: 0 0 auto 0; z-index: 9999; height: var(--admin-bar-h, 32px); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 16px; background: #1d2b33; color: #d6e4e9; font-size: 12px; }
.admin-bar-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-bar-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #5fd39a; box-shadow: 0 0 0 3px rgba(95,211,154,.2); }
.admin-bar-actions { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.admin-bar-actions a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; transition: opacity .2s; }
.admin-bar-actions a:hover { opacity: .75; }
.admin-bar-actions svg { width: 15px; height: 15px; }

/* ---------- App tab bar (mobile only) ---------- */
.app-tabbar { display: none; }

.hero { min-height: 850px; position: relative; overflow: hidden; color: #fff; background: var(--deep); isolation: isolate; }
.hero-landscape, .hero-grain { position: absolute; inset: 0; pointer-events: none; }
.hero-landscape { z-index: -3; background: linear-gradient(90deg, rgba(5,25,38,.79) 0%, rgba(8,31,46,.46) 42%, rgba(7,28,42,.85) 100%), url('/assets/images/damash-highlands.png') center 50% / cover no-repeat; transform: scale(1.02); }
.hero-grain { z-index: -2; opacity: .6; background: linear-gradient(180deg, rgba(5,18,28,.42) 0, transparent 26%, transparent 73%, rgba(5,18,28,.76) 100%); }
.hero-inner { min-height: inherit; padding-top: 120px; padding-bottom: 80px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 3%; }
.hero-copy { position: relative; z-index: 2; max-width: 710px; padding: 35px 1px 30px 0; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; color: #c4e6ed; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.hero-eyebrow-line { width: 28px; height: 1px; background: #c4e6ed; }
.hero h1 { min-height: 2.3em; margin: 0; font-size: clamp(50px, 5.4vw, 82px); font-weight: 900; line-height: 1.15; letter-spacing: -.035em; text-shadow: 0 2px 20px rgba(0,0,0,.08); }
.hero-description { min-height: 2em; max-width: 530px; margin: 24px 0 30px; font-size: clamp(15px, 1.35vw, 19px); line-height: 2; color: #e8f2f2; font-weight: 400; }
.outline-button { min-width: 188px; min-height: 57px; width: max-content; display: inline-flex; align-items: center; justify-content: center; gap: 24px; border: 1px solid rgba(255,255,255,.95); padding: 10px 27px; font-size: 14px; font-weight: 700; transition: background .22s, color .22s, transform .22s; }
.outline-button:hover { background: #fff; color: #163143; transform: translateY(-2px); }
.outline-button span { font-size: 20px; font-weight: 300; }
.wholesale-panel { max-width: 660px; margin-top: 29px; padding: 17px 19px 14px; border: 1px solid rgba(225,245,248,.33); background: rgba(7,28,43,.8); box-shadow: 0 18px 60px rgba(0,0,0,.16); backdrop-filter: blur(14px); }
.wholesale-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wholesale-kicker { display: block; color: #add3dd; font-size: 10px; font-weight: 700; }
.wholesale-heading h2 { margin: 0; font-size: 24px; line-height: 1.35; font-weight: 900; letter-spacing: -.02em; }
.wholesale-mark { width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid rgba(170,222,235,.5); border-radius: 50%; color: #b7e2e9; font-size: 17px; }
.wholesale-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 13px; }
.wholesale-field { min-width: 0; min-height: 64px; display: flex; flex-direction: column; justify-content: center; padding: 6px 11px; background: rgba(255,255,255,.97); color: #203b48; }
.wholesale-field > span, .wholesale-field > label { color: #66808a; font-size: 10px; font-weight: 600; }
.wholesale-field select { width: 100%; padding: 2px 0; border: 0; outline: 0; background: transparent; color: #173441; font: 800 15px Estedad, Tahoma, sans-serif; cursor: pointer; }
.quantity-control { display: flex; align-items: center; justify-content: space-between; gap: 1px; }
.quantity-control button { width: 24px; height: 26px; border: 0; background: transparent; color: #214b5d; cursor: pointer; font: 600 18px Arial, sans-serif; }
.quantity-control button:hover { color: #4a9db5; }
.quantity-control input { width: 52px; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: #173441; text-align: center; font: 800 15px Estedad, Tahoma, sans-serif; -moz-appearance: textfield; }
.quantity-control input::-webkit-outer-spin-button, .quantity-control input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.wholesale-submit { grid-column: 1 / -1; min-width: 0; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 13px; border: 0; background: #d7f0f2; color: #0c3343; cursor: pointer; font-size: 13px; font-weight: 900; transition: background .2s, transform .2s; }
.wholesale-submit:hover { background: #fff; transform: translateY(-2px); }
.wholesale-submit span { font-size: 18px; font-weight: 400; }
.wholesale-hint { margin: 9px 0 0; color: #abc3ca; font-size: 10px; }
.bulk-dialog { width: min(100% - 32px, 440px); max-width: none; padding: 28px; border: 1px solid #c7dfe4; background: #f9fcfc; color: #103341; box-shadow: 0 25px 80px rgba(0,0,0,.28); text-align: center; }
.bulk-dialog::backdrop { background: rgba(4,20,29,.74); backdrop-filter: blur(5px); }
.bulk-dialog-close { position: absolute; top: 8px; left: 13px; border: 0; background: transparent; color: #607c84; cursor: pointer; font-size: 30px; }
.bulk-dialog-icon { width: 42px; height: 42px; display: grid; place-items: center; margin: 0 auto 11px; border-radius: 50%; background: #e1f2f5; color: #32829a; font-size: 23px; }
.bulk-dialog-kicker { margin: 0; color: #6d9aa8; font-size: 11px; font-weight: 800; }
.bulk-dialog h2 { margin: 6px 0 13px; font-size: 29px; font-weight: 900; }
.bulk-dialog-summary { margin: 0; padding: 18px 10px; background: #edf5f6; font-size: 15px; font-weight: 800; }
.bulk-dialog-note { margin: 16px 0 22px; color: #69828a; font-size: 12px; line-height: 1.9; }
.bulk-dialog-done { width: 100%; min-height: 46px; border: 0; background: #0d3647; color: #fff; cursor: pointer; font-weight: 800; }
.hero-product { position: relative; justify-self: center; align-self: center; width: min(100%, 475px); height: min(585px, 52vw); min-height: 440px; display: flex; align-items: center; justify-content: center; }
.hero-product-glow { position: absolute; width: 84%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(185,224,239,.16), rgba(100,166,193,.05) 58%, transparent 72%); filter: blur(12px); }
.hero-product img { position: relative; height: 100%; width: 100%; object-fit: contain; mix-blend-mode: screen; filter: drop-shadow(0 30px 30px rgba(0,0,0,.25)); }
.hero-product-caption { position: absolute; bottom: 0; left: -10px; right: -10px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.3); padding-top: 12px; color: #dce8ec; font-size: 11px; letter-spacing: .04em; }
.hero-product-caption span:last-child { direction: ltr; font-family: Arial, sans-serif; }
.hero-bottom { position: absolute; inset: auto 0 28px; display: flex; align-items: center; justify-content: space-between; }
.hero-controls { display: flex; align-items: center; gap: 14px; }
.hero-arrow { width: 37px; height: 37px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; font-size: 20px; line-height: 1; transition: background .2s; }
.hero-arrow:hover { background: rgba(255,255,255,.18); }
.hero-count { min-width: 61px; direction: ltr; text-align: center; font-size: 13px; font-weight: 700; }
.hero-count span { padding-inline: 4px; opacity: .55; }
.hero-scroll { display: flex; align-items: center; gap: 13px; color: #dce9eb; font-size: 11px; }
.hero-scroll span { font-size: 22px; font-family: Arial, sans-serif; }
.slide-indicators { display: flex; align-items: center; justify-content: center; gap: 7px; height: 42px; background: #fff; direction: ltr; }
.slide-indicator { width: 37px; height: 3px; padding: 0; border: 0; background: #d0d7d8; cursor: pointer; transition: background .2s, width .2s; }
.slide-indicator.is-active { width: 51px; background: #112f3e; }

.section { padding: 58px 0 95px; }
.section-kicker { margin: 0 0 8px; text-align: center; color: #5c95a9; font-size: 13px; font-weight: 800; letter-spacing: .05em; }
.section-title { margin: 0; text-align: center; color: #102d3b; font-size: clamp(36px, 4vw, 59px); font-weight: 900; line-height: 1.35; letter-spacing: -.045em; }
.section-intro { max-width: 680px; margin: 12px auto 0; color: #607782; text-align: center; font-size: 15px; line-height: 1.9; }
.products { padding-top: 42px; }

.story { min-height: 540px; position: relative; display: flex; align-items: center; overflow: hidden; isolation: isolate; color: #fff; background: #0c2a3a; }
.story-image { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,31,43,.67), rgba(7,31,43,.92) 57%, #082332 100%), url('/assets/images/damash-highlands.png') left 62% / cover no-repeat; transform: scale(1.04); }
.story-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 85px; }
.story-content { max-width: 660px; }
.section-kicker-light { color: #9ed0dd; text-align: right; }
.story h2 { margin: 11px 0 18px; font-size: clamp(42px, 4.2vw, 64px); line-height: 1.31; letter-spacing: -.05em; font-weight: 900; }
.story-content > p:not(.section-kicker) { max-width: 590px; margin: 0 0 27px; color: #d6e5e8; font-size: 16px; line-height: 2.2; }
.text-link { display: inline-flex; gap: 16px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 6px; font-size: 14px; font-weight: 700; }
.text-link span { font-size: 18px; }
.story-seal { width: 210px; height: 210px; flex: none; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; outline: 1px solid rgba(255,255,255,.3); outline-offset: 11px; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: rotate(-11deg); }
.story-seal span { font: 700 12px Arial, sans-serif; letter-spacing: .3em; }
.story-seal strong { margin: 8px 0; font-size: 52px; line-height: 1; font-weight: 900; }
.why { background: #f6f9f9; padding-block: 96px 110px; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 45px; margin-top: 65px; }
.why-item { border-top: 1px solid #aac6cc; padding: 22px 0 0; }
.why-number { color: #75a9b9; font: 700 13px Arial, sans-serif; }
.why-item h3 { margin: 17px 0 6px; font-size: 24px; font-weight: 800; }
.why-item p { max-width: 330px; margin: 0; color: #687f88; font-size: 14px; line-height: 2; }

.footer { background: #071e2d; color: #eaf4f6; }
.footer-main { min-height: 270px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; align-items: start; padding-block: 64px 45px; }
.footer-brand { display: inline-flex; align-items: end; gap: 13px; font-size: 42px; font-weight: 900; line-height: 1; }
.footer-brand span { font: 700 11px Arial, sans-serif; letter-spacing: .2em; padding-bottom: 6px; }
.footer-main p { max-width: 270px; color: #b3c8cd; font-size: 13px; line-height: 2; }
.footer-main nav { display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.footer-main nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-location { display: flex; flex-direction: column; gap: 4px; }
.footer-location span { color: #9bbbc3; font-size: 12px; }
.footer-location strong { font-size: 22px; }
.footer-bottom { min-height: 54px; border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; align-items: center; color: #95b0b8; font-size: 11px; }

.auth { padding: 90px 0 110px; background: var(--mist); min-height: 60vh; }
.auth-container { display: flex; justify-content: center; }
.auth-card { width: min(100%, 440px); background: #fff; border: 1px solid var(--line); padding: 42px 36px; }
.auth-card-wide { width: min(100%, 560px); }
.auth-title { margin: 4px 0 10px; font-size: 28px; font-weight: 900; letter-spacing: -.03em; color: var(--ink); }
.auth-lead { margin: 0 0 24px; color: #5b7079; font-size: 14px; line-height: 1.9; }
.auth-phone { font-weight: 800; color: var(--ink); direction: ltr; unicode-bidi: embed; }
.auth-error { margin: 0 0 18px; padding: 12px 14px; background: #fdecec; color: #a23636; font-size: 13px; font-weight: 700; border-inline-start: 3px solid #c14545; }
.auth-success { margin: 0 0 18px; padding: 12px 14px; background: #eaf6ef; color: #2b7a4b; font-size: 13px; font-weight: 700; border-inline-start: 3px solid #3f9f66; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field[hidden] { display: none; }
.auth-field span { color: #66808a; font-size: 11px; font-weight: 700; }
.auth-field input, .auth-field textarea { min-height: 52px; padding: 14px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); font: 700 16px Estedad, Tahoma, sans-serif; width: 100%; }
.auth-field input { padding: 0 14px; }
.auth-field textarea { resize: vertical; font-weight: 500; line-height: 1.8; }
.auth-field input:focus-visible, .auth-field textarea:focus-visible { outline: none; border-color: var(--blue); }
.auth-field input:disabled { color: #7c8f97; background: #eef2f3; cursor: not-allowed; direction: ltr; text-align: right; }
#code { text-align: center; letter-spacing: .6em; font-size: 20px; }
.auth-checkbox { display: flex; align-items: center; gap: 10px; padding: 2px; cursor: pointer; color: var(--ink); font-size: 13px; font-weight: 700; }
.auth-checkbox input { width: 18px; height: 18px; accent-color: var(--ink); cursor: pointer; }
.auth-business-fields { display: flex; flex-direction: column; gap: 14px; padding-inline-start: 14px; border-inline-start: 2px solid var(--line); }
.auth-business-fields[hidden] { display: none; }

.address-mode-choice { display: flex; flex-direction: column; gap: 8px; }
.address-mode-option { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); background: var(--cream); cursor: pointer; transition: border-color .15s, background .15s; }
.address-mode-option:has(input:checked) { border-color: var(--blue); background: #fff; }
.address-mode-option input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--ink); cursor: pointer; }
.address-mode-option strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.address-mode-option small { display: block; margin-top: 3px; font-size: 11px; color: #66808a; font-weight: 500; line-height: 1.7; }
.auth-submit { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 20px; border: 0; background: var(--ink); color: #fff; cursor: pointer; font-size: 14px; font-weight: 800; transition: background .2s, transform .2s; }
.auth-submit:hover { background: var(--blue); transform: translateY(-1px); }
.auth-submit span { font-size: 18px; font-weight: 300; }
.auth-links { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.auth-links .text-link { border-bottom-color: rgba(16,42,57,.4); font-size: 12.5px; }
.auth-link-btn { border: 0; background: transparent; padding: 0; cursor: pointer; font: inherit; }
.address-search { position: relative; z-index: 30; margin-bottom: 10px; }
.address-search input { width: 100%; }
.location-search-results { position: absolute; z-index: 20; inset-inline: 0; top: calc(100% + 4px); max-height: 220px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); box-shadow: 0 15px 35px rgba(8,28,43,.16); }
.location-search-results li { padding: 10px 12px; font-size: 12.5px; line-height: 1.6; color: var(--ink); cursor: pointer; }
.location-search-results li:hover { background: var(--mist); }
.location-search-results li.location-search-message { color: #7c8f97; cursor: default; }
.location-search-results li.location-search-message:hover { background: transparent; }
.location-map-wrap { position: relative; z-index: 1; }
.location-map { height: 260px; width: 100%; border: 1px solid var(--line); background: var(--mist); }
.locate-me-btn { position: absolute; left: 10px; bottom: 10px; z-index: 401; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: none; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(8,28,43,.28); cursor: pointer; transition: background .2s, color .2s; }
.locate-me-btn svg { width: 18px; height: 18px; }
.locate-me-btn:hover { background: var(--mist); }
.locate-me-btn:disabled { cursor: default; }
.locate-me-btn.is-loading { color: var(--blue); animation: locate-pulse 1s ease-in-out infinite; }
@keyframes locate-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.location-hint { margin: 8px 0 0; font-size: 11px; color: #7c8f97; line-height: 1.7; transition: color .2s; }
.location-hint.is-error { color: #a23636; }

.outline-button-dark { border-color: var(--ink); color: var(--ink); }
.outline-button-dark:hover { background: var(--ink); color: #fff; }

/* ---------- Shop listing ---------- */
.shop-hero { padding: 76px 0 8px; text-align: center; background: var(--mist); border-bottom: 1px solid var(--line); }
.shop-hero .section-title { margin-top: 6px; }
.shop-hero .section-intro { margin-bottom: 0; }
.shop-hero-empty { padding-bottom: 64px; }
.shop-hero-empty .outline-button { margin-top: 26px; }
.shop { padding-top: 56px; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.home-shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; }
.home-blog-grid { margin-top: 26px; }
.home-shop-cta { display: flex; width: max-content; margin: 46px auto 0; }
a.bulk-dialog-done { display: flex; align-items: center; justify-content: center; text-decoration: none; box-sizing: border-box; }
.shop-card { display: flex; flex-direction: column; border: 1px solid var(--line); padding: 22px 20px 24px; text-align: center; transition: box-shadow .2s, transform .2s; }
.shop-card:hover { box-shadow: 0 18px 40px rgba(8,28,43,.12); transform: translateY(-3px); }
.shop-card-media { height: 190px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: var(--mist); }
.shop-card-media img { max-height: 160px; width: auto; }
.shop-card-volume { font-size: 11px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.shop-card h3 { font-size: 18px; font-weight: 900; margin: 0 0 6px; }
.shop-card p { font-size: 12.5px; color: #66808a; line-height: 1.7; margin: 0 0 14px; flex: 1; }
.shop-card strong { font-size: 15px; font-weight: 900; color: var(--ink); }
.shop-card-unit { font-size: 11px; font-weight: 700; color: #8098a1; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 54px; }
.pagination-page, .pagination-arrow { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink); transition: background .2s, color .2s; }
.pagination-page.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination-page:hover:not(.is-active), .pagination-arrow:hover:not(.is-disabled) { background: var(--mist); }
.pagination-arrow { font-size: 16px; }
.pagination-arrow.is-disabled { opacity: .35; pointer-events: none; }

/* ---------- Single product ---------- */
.shop-product { padding-top: 0; }
.shop-product-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-block: 60px 30px; }
.shop-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #8098a1; margin: 40px 0 30px; }
.shop-breadcrumb a { color: #8098a1; transition: color .2s; }
.shop-breadcrumb a:hover { color: var(--ink); }
.shop-breadcrumb span:last-child { color: var(--ink); font-weight: 700; }
.shop-product-title { font-size: clamp(38px, 4.6vw, 60px); font-weight: 900; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 14px; }
.blog-article-title { font-size: clamp(30px, 4vw, 44px); }
.shop-product-subtitle { font-size: 15px; font-weight: 700; color: var(--blue); margin: 0 0 18px; }
.shop-product-desc { font-size: 14px; line-height: 2; color: #5f7883; max-width: 480px; margin: 0 0 28px; }
.shop-product-divider { border: none; border-top: 1px solid var(--line); margin: 0 0 28px; }
.shop-product-options { display: flex; gap: 40px; margin-bottom: 34px; flex-wrap: wrap; }
.shop-option { display: flex; flex-direction: column; gap: 9px; }
.shop-option > span { font-size: 11px; font-weight: 700; color: #8098a1; }
.shop-option strong { font-size: 14px; font-weight: 800; color: var(--ink); }
.shop-option-qty .quantity-control { border: 1px solid var(--line); min-width: 108px; }
.shop-option-qty .quantity-control button { color: var(--ink); }
.shop-option-qty .quantity-control input { color: var(--ink); }
.packaging-detail { margin: -18px 0 26px; font-size: 12.5px; color: #7c8f97; }

.shop-option-colors { gap: 11px; }
.color-swatches { display: flex; align-items: center; gap: 14px; }
.color-swatch {
    position: relative;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(8, 28, 43, .1), 0 1px 2px rgba(8, 28, 43, .08);
    transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease;
}
.color-swatch::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    transition: border-color .2s ease, transform .2s ease;
}
.color-swatch[data-color-key="shafaf"] {
    background-image: linear-gradient(135deg, #ffffff 0%, #eef3f5 45%, #ffffff 60%, #dfe7ea 100%);
}
.color-swatch:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(8, 28, 43, .1), 0 6px 14px rgba(8, 28, 43, .18); }
.color-swatch:focus-visible { outline: none; }
.color-swatch:focus-visible::before { border-color: var(--blue); }
.color-swatch.is-active { box-shadow: inset 0 0 0 1px rgba(8, 28, 43, .1), 0 6px 14px rgba(8, 28, 43, .2); }
.color-swatch.is-active::before { border-color: var(--ink); transform: scale(1.06); }
.shop-option-colors strong { min-height: 17px; transition: opacity .15s ease; }

.shop-product-media img { opacity: 1; transition: opacity .22s ease; }
.shop-product-media img.is-swapping { opacity: 0; }
.shop-product-buy { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.shop-product-price { font-size: 24px; font-weight: 900; color: var(--ink); }
.shop-add-btn { display: inline-flex; align-items: center; gap: 14px; padding: 15px 30px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; transition: background .2s, transform .2s; }
.shop-add-btn:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.shop-add-btn.is-added { background: #2e7d5b; border-color: #2e7d5b; }
.shop-add-btn span { font-size: 17px; font-weight: 300; }
.shop-social { display: flex; gap: 12px; }
.shop-social a { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--ink); transition: background .2s, color .2s; }
.shop-social a svg { width: 17px; height: 17px; }
.shop-social a:hover { background: var(--ink); color: #fff; }

.shop-product-media { position: relative; display: flex; align-items: center; justify-content: center; min-height: 440px; }
.shop-product-watermark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(46px, 8.5vw, 110px); font-weight: 900; color: var(--mist); letter-spacing: .02em; white-space: nowrap; z-index: 0; user-select: none; }
.shop-product-media img { position: relative; z-index: 1; max-height: 420px; width: auto; filter: drop-shadow(0 30px 30px rgba(8,28,43,.15)); }
.shop-media-indicator { position: absolute; inset-inline-end: 6px; top: 12%; bottom: 12%; width: 1px; background: var(--line); z-index: 1; }
.shop-media-indicator span { position: absolute; top: 0; right: -3px; width: 7px; height: 26px; background: var(--ink); }

.shop-related { padding-top: 64px; margin-top: 20px; border-top: 1px solid var(--line); }
.shop-grid-related { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--line); padding: 20px; transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: 0 18px 40px rgba(8,28,43,.12); transform: translateY(-3px); }
.blog-card-media { height: 160px; margin: -20px -20px 18px; overflow: hidden; background: var(--mist); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-date { font-size: 11px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.blog-card h3 { font-size: 18px; font-weight: 900; margin: 0 0 8px; }
.blog-card p { font-size: 13px; color: #66808a; line-height: 1.8; margin: 0 0 16px; flex: 1; }
.blog-card-more { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink); border-bottom: 1px solid rgba(16,42,57,.4); width: max-content; padding-bottom: 3px; }

.blog-article-date { font-size: 12.5px; font-weight: 700; color: var(--blue); margin: 0 0 34px; }
.blog-article-cover { margin-bottom: 40px; border: 1px solid var(--line); }
.blog-article-cover img { width: 100%; height: auto; }

.blog-article-body { font-size: 16px; line-height: 2; color: #405963; }
.blog-article-body > *:first-child { margin-top: 0; }
.blog-article-body > *:last-child { margin-bottom: 0; }
.blog-article-body p { margin: 0 0 24px; text-align: justify; text-align-last: right; }
.blog-article-body h2 { margin: 48px 0 18px; font-size: clamp(22px, 2.6vw, 27px); font-weight: 900; color: var(--ink); letter-spacing: -.02em; line-height: 1.4; }
.blog-article-body h3 { margin: 38px 0 14px; font-size: 20px; font-weight: 800; color: var(--ink); }
.blog-article-body h4 { margin: 30px 0 12px; font-size: 17px; font-weight: 800; color: var(--ink); }
.blog-article-body ul, .blog-article-body ol { margin: 0 0 24px; padding-inline-start: 22px; }
.blog-article-body li { margin-bottom: 9px; }
.blog-article-body li:last-child { margin-bottom: 0; }
.blog-article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.blog-article-body strong, .blog-article-body b { color: var(--ink); font-weight: 800; }
.blog-article-body blockquote { margin: 30px 0; padding: 6px 22px; border-right: 3px solid var(--blue); color: #5c7986; }
.blog-article-body img { display: block; margin: 30px 0; border: 1px solid var(--line); width: 100%; height: auto; }
.blog-article-body hr { margin: 38px 0; border: 0; border-top: 1px solid var(--line); }
.blog-article-body table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 14px; }
.blog-article-body td, .blog-article-body th { border: 1px solid var(--line); padding: 10px 12px; text-align: right; }

/* ---------- Cart ---------- */
.cart-empty { max-width: 420px; margin: 20px auto 0; padding: 46px 34px; border: 1px dashed var(--line); text-align: center; }
.cart-empty p { margin: 0 0 20px; font-size: 14px; color: #5f7883; }
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--line); }
.cart-item-media { width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; background: var(--mist); }
.cart-item-media img { max-width: 70%; max-height: 70%; }
.cart-item-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cart-item-name { font-size: 15px; font-weight: 800; color: var(--ink); }
.cart-item-packaging { font-size: 12px; color: #66808a; }
.cart-item-unit-price { font-size: 11.5px; color: #8098a1; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item-actions .quantity-control { border: 1px solid var(--line); min-width: 108px; }
.cart-item-actions .quantity-control button { color: var(--ink); }
.cart-item-total { font-size: 14px; font-weight: 900; color: var(--ink); white-space: nowrap; }
.cart-item-remove { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 0; background: transparent; color: #a23636; cursor: pointer; }
.cart-item-remove svg { width: 17px; height: 17px; }
.cart-summary { position: sticky; top: 110px; padding: 22px; border: 1px solid var(--line); background: var(--cream); }
.cart-summary-total { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 800; }
.cart-summary-total strong { font-size: 19px; }
.cart-summary-hint { margin: 0 0 20px; font-size: 11.5px; line-height: 1.8; color: #7c8f97; }
.cart-summary .auth-form { gap: 12px; }
.cart-summary .auth-field input, .cart-summary .auth-field textarea { background: #fff; min-height: 46px; }
.cart-summary .auth-field textarea { min-height: 80px; }
.cart-summary .auth-submit { min-height: 50px; }

/* ---------- Contact ---------- */
.contact { padding-top: 56px; }
.contact-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-block { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.contact-block:last-of-type { border-bottom: 0; }
.contact-block h3 { margin: 0 0 8px; font-size: 14px; font-weight: 800; color: var(--ink); }
.contact-block p { margin: 0 0 8px; font-size: 13.5px; color: #5f7883; line-height: 1.9; }
.contact-line { display: inline-block; font-size: 14px; font-weight: 700; color: var(--blue); direction: ltr; }
.contact-social { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.contact-social a { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--ink); }
.contact-social a svg { width: 20px; height: 20px; color: var(--blue); }
.contact-social a span bdi { direction: ltr; unicode-bidi: isolate; }

.contact-form-wrap { background: var(--mist); border: 1px solid var(--line); padding: 34px 32px; }
.contact-form-wrap h2 { margin: 0 0 8px; font-size: 20px; font-weight: 900; }
.contact-form-hint { margin: 0 0 24px; font-size: 13px; color: #5f7883; line-height: 1.9; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }

@media (max-width: 1050px) {
  .container { width: min(100% - 56px, 1400px); }
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav {
    position: absolute; top: 92px; right: 28px; left: 28px; z-index: 55;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0 22px; color: var(--ink); background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.2);
    max-height: 0; opacity: 0; overflow: hidden; pointer-events: none;
    transform: translateY(-6px);
    transition: max-height .34s cubic-bezier(.4,0,.2,1), opacity .2s ease, padding .34s cubic-bezier(.4,0,.2,1), transform .3s ease;
  }
  .main-nav.is-open { max-height: 420px; opacity: 1; padding: 10px 22px; pointer-events: auto; transform: translateY(0); }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid #e2e9eb; transition: padding .3s ease; }
  .main-nav a:last-child { border: 0; }
  .menu-toggle { width: 30px; height: 32px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 0; background: transparent; color: #fff; cursor: pointer; }
  .menu-toggle span { display: block; width: 23px; height: 2px; background: currentColor; transition: transform .28s ease, opacity .2s ease; transform-origin: center; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero h1 { font-size: clamp(50px, 6vw, 72px); }
  .hero-product { min-height: 380px; }
  .wholesale-fields { grid-template-columns: 1fr 1fr; }
  .wholesale-submit { grid-column: 1 / -1; min-height: 48px; }
  .shop-grid, .shop-grid-related, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-product-inner { grid-template-columns: 1fr; gap: 36px; padding-block: 40px 20px; }
  .shop-product-media { order: -1; min-height: 320px; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .cart-layout { grid-template-columns: 1fr; gap: 24px; }
  .cart-summary { position: static; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 36px, 1400px); }
  .announcement { height: 29px; font-size: 10px; }
  .site-header { top: 29px; }
  .site-header.is-static + main { padding-top: 76px; }
  body.has-admin-bar { --admin-bar-h: 38px; }
  body.has-admin-bar .site-header { top: calc(29px + var(--admin-bar-h)); }
  .admin-bar { font-size: 11px; padding-inline: 12px; }
  .admin-bar-brand span:not(.admin-bar-dot) { display: none; }
  .header-inner { height: 76px; }
  .brand { font-size: 29px; }
  .brand-mountain { width: 40px; }
  .brand small { margin-top: 5px; font-size: 7px; }
  .main-nav { top: 76px; right: 18px; left: 18px; }
  /* هیروی موبایل عمداً با دسکتاپ فرق دارد: کوتاه و مستقیم به سمت خرید، بدون
     تصویر متحرک و کنترل‌های اسلایدر که فقط برای نسخه‌ی دسکتاپ حس معرفی/لوکس می‌سازند. */
  .hero { min-height: 0; }
  .hero-landscape { background-position: 40% center; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding-top: 96px; padding-bottom: 30px; }
  .hero-copy { padding: 0; }
  .hero-eyebrow { margin-bottom: 10px; font-size: 10px; }
  .hero h1 { min-height: 0; font-size: clamp(28px, 7.2vw, 38px); line-height: 1.22; }
  .hero-description { min-height: 0; margin: 9px 0 16px; font-size: 12.5px; line-height: 1.8; }
  .outline-button { min-width: 157px; min-height: 47px; gap: 14px; font-size: 12px; }
  .wholesale-panel { margin-top: 16px; padding: 14px; }
  .wholesale-kicker { font-size: 9px; }
  .wholesale-heading h2 { font-size: 17px; }
  .wholesale-fields { grid-template-columns: 1fr 1fr; gap: 8px; }
  .wholesale-field { min-height: 56px; padding-inline: 8px; }
  .wholesale-field > span, .wholesale-field > label { font-size: 9px; }
  .wholesale-field select { font-size: 12px; }
  .wholesale-submit { grid-column: 1 / -1; min-height: 46px; font-size: 12px; }
  .wholesale-hint { font-size: 9px; }
  .hero-product, .hero-bottom, .slide-indicators { display: none; }
  .section { padding: 44px 0 58px; }
  .section-kicker { font-size: 11px; }
  .section-title { font-size: 25px; }
  .section-intro { font-size: 12.5px; }
  .story { min-height: 0; }
  .story-inner { padding-block: 58px; }
  .story h2 { font-size: 28px; }
  .story-content > p:not(.section-kicker) { font-size: 13px; }
  .story-seal { display: none; }
  .why { padding-block: 56px; }
  .why-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; }
  .why-item h3 { margin-top: 8px; font-size: 16px; }
  .why-item p { font-size: 12.5px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; padding-block: 44px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-main nav { font-size: 12px; }
  .footer-location strong { font-size: 15px; }
  .footer-bottom { font-size: 10px; }
  .header-account, .header-logout { display: none; }
  .header-shop { min-width: 44px; min-height: 44px; }
  .menu-toggle { width: 44px; height: 44px; }
  .quantity-control button { width: 44px; height: 44px; font-size: 20px; }

  body.has-tabbar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .app-tabbar {
    display: flex;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 600;
    height: 64px;
    padding: 0 4px env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 26px rgba(8, 28, 43, .08);
  }
  .app-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #93a7ae;
    font-size: 10px;
    font-weight: 700;
    transition: color .15s;
  }
  .app-tab svg { width: 22px; height: 22px; stroke-width: 1.8; }
  .app-tab.is-active { color: var(--ink); }
  .app-tab-cta { position: relative; color: var(--ink); }
  .app-tab-cta-circle {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -26px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 10px 22px rgba(8, 28, 43, .38), 0 0 0 5px #fff;
    transition: transform .15s;
  }
  .app-tab-cta:active .app-tab-cta-circle { transform: scale(.93); }
  .app-tab-cta svg { width: 20px; height: 20px; }
  .auth { padding: 40px 0 60px; }
  .auth-card { padding: 26px 20px; }
  .auth-title { font-size: 20px; }
  .auth-lead { font-size: 13px; }
  .shop-hero { padding: 40px 0 6px; }
  .shop { padding-top: 30px; }
  .cart { padding-top: 30px; }
  .cart-item { grid-template-columns: 60px 1fr; gap: 12px; padding: 12px; }
  .cart-item-media { width: 60px; height: 60px; }
  .cart-item-name { font-size: 13px; }
  .cart-item-packaging, .cart-item-unit-price { font-size: 10.5px; }
  .cart-item-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .cart-item-actions .quantity-control { min-width: 0; }
  .cart-item-actions .quantity-control button { width: 36px; height: 36px; }
  .cart-summary { padding: 18px; }
  .shop-grid, .shop-grid-related, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shop-card { padding: 12px 10px 16px; }
  .shop-card-media { height: 118px; margin-bottom: 12px; }
  .shop-card-media img { max-height: 96px; }
  .shop-card-volume { font-size: 9.5px; margin-bottom: 5px; }
  .shop-card h3 { font-size: 13.5px; margin-bottom: 4px; line-height: 1.35; }
  .shop-card p { display: none; }
  .shop-card strong { font-size: 12px; }
  .shop-card-unit { font-size: 9px; }
  .blog-card { padding: 12px; }
  .blog-card-media { height: 100px; margin: -12px -12px 12px; }
  .blog-card-date { font-size: 9.5px; margin-bottom: 5px; }
  .blog-card h3 { font-size: 13.5px; margin-bottom: 5px; line-height: 1.35; }
  .blog-card p { font-size: 11px; line-height: 1.6; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .blog-card-more { font-size: 11px; }
  .shop-product-title { font-size: 26px; }
  .shop-product-subtitle { font-size: 13px; }
  .shop-product-desc { font-size: 13px; }
  .shop-breadcrumb { font-size: 11px; }
  .shop-product-options { gap: 24px; }
  .shop-product-buy { gap: 14px; }
  .shop-add-btn { padding: 13px 22px; }
  .shop-product-media { min-height: 260px; }
  .shop-product-media img { max-height: 260px; }
  .contact-form-wrap { padding: 24px 20px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 34px; }
}

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