/* ============================================================
   David's Star — Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --cr: #f9f6f1;
  --cw: #e8e2d9;
  --ct: #c8b99a;
  --cb: #7a6d5e;
  --cd: #2c2420;
  --cg: #b8973e;
  --cgl: #d4ae5a;
  --sf: 'Cormorant Garamond', Georgia, serif;
  --ss: 'Inter', sans-serif;
  --maxw: 1160px;
  --r: 6px;
  --r-lg: 10px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--ss);
  color: var(--cd);
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
button, a { cursor: pointer; }

/* ── CONTAINER ── */
.wrap   { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.sec    { padding: 52px 20px; max-width: var(--maxw); margin: 0 auto; }
.sec-bg { background: var(--cr); padding: 52px 0; }

/* ── TYPOGRAPHY ── */
.stag   { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ct); margin-bottom: 7px; display: block; }
.stitle { font-family: var(--sf); font-size: 34px; font-weight: 400; line-height: 1.2; }
.sec-hdr { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; flex-wrap: wrap; gap: 10px; }

/* ── BUTTONS ── */
.btn-p  { display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: var(--cd); color: #fff; border: none; padding: 12px 26px; border-radius: var(--r); font-size: 13px; font-weight: 500; font-family: var(--ss); transition: background .18s, transform .12s; }
.btn-p:hover { background: #1a1210; transform: translateY(-1px); }
.btn-p:active { transform: scale(.97); }
.btn-o  { display: inline-flex; align-items: center; justify-content: center; background: none; color: var(--cd); border: 1.5px solid var(--cd); padding: 11px 24px; border-radius: var(--r); font-size: 13px; font-weight: 500; font-family: var(--ss); transition: all .18s; }
.btn-o:hover { background: var(--cd); color: #fff; }
.btn-g  { display: inline-flex; align-items: center; justify-content: center; background: none; color: #fff; border: 1.5px solid rgba(255,255,255,.55); padding: 11px 24px; border-radius: var(--r); font-size: 13px; font-family: var(--ss); transition: all .18s; }
.btn-g:hover { background: rgba(255,255,255,.18); }
.btn-gold { display: inline-flex; align-items: center; justify-content: center; background: var(--cg); color: #fff; border: none; padding: 12px 26px; border-radius: var(--r); font-size: 13px; font-weight: 500; font-family: var(--ss); transition: all .18s; }
.btn-gold:hover { background: #a3842f; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px !important; font-size: 12px !important; }
.btn-w  { width: 100%; }
.lnk    { font-size: 13px; color: var(--cb); display: inline-flex; align-items: center; gap: 5px; border: none; background: none; font-family: var(--ss); transition: color .15s; }
.lnk:hover { color: var(--cd); }

/* ── HEADER ── */
.hdr { background: #fff; border-bottom: 1px solid var(--cw); position: sticky; top: 0; z-index: 200; }
.hdr-i { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; height: 58px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 6px; font-family: var(--sf); font-size: 18px; font-weight: 500; letter-spacing: .02em; flex-shrink: 0; border: none; background: none; color: var(--cd); padding: 0; text-decoration: none; }
.logo-s { color: var(--cg); font-size: 12px; }
.nav-d { display: flex; align-items: center; gap: 2px; list-style: none; flex: 1; justify-content: center; }
.nav-d a { padding: 6px 11px; font-size: 13px; color: var(--cb); border-radius: 5px; transition: color .15s, background .15s; background: none; border: none; font-family: var(--ss); white-space: nowrap; text-decoration: none; }
.nav-d a:hover, .nav-d a.on { color: var(--cd); background: var(--cr); }
.hdr-r { display: flex; align-items: center; gap: 4px; flex-shrink: 0; margin-left: auto; }
.lang { display: flex; align-items: center; gap: 2px; margin-right: 4px; }
.lang button { background: none; border: none; padding: 2px 4px; font-size: 11px; font-family: var(--ss); color: var(--cb); }
.lang button.on { color: var(--cd); font-weight: 700; }
.lang span { color: var(--ct); font-size: 11px; }
.ico { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: none; background: none; color: var(--cd); position: relative; transition: background .15s; text-decoration: none; }
.ico:hover { background: var(--cr); }
.ico svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.ico-badge { position: absolute; top: 4px; right: 4px; background: var(--cg); color: #fff; font-size: 9px; font-weight: 700; border-radius: 50%; width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; }

/* HAMBURGER */
.hmb { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: none; border: none; width: 36px; height: 36px; padding: 6px; border-radius: 6px; }
.hmb span { display: block; width: 18px; height: 1.5px; background: var(--cd); border-radius: 2px; transition: all .28s cubic-bezier(.4,0,.2,1); transform-origin: center; }
.hmb.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hmb.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hmb.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── DRAWER ── */
.drawer-overlay { position: fixed; inset: 0; background: rgba(44,36,32,0); z-index: 299; pointer-events: none; transition: background .32s; }
.drawer-overlay.open { background: rgba(44,36,32,.48); pointer-events: all; }
.drawer { position: fixed; top: 0; right: -320px; width: 300px; max-width: 85vw; height: 100%; background: #fff; z-index: 300; display: flex; flex-direction: column; transition: right .32s cubic-bezier(.4,0,.2,1); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.drawer.open { right: 0; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 16px; border-bottom: 1px solid var(--cw); flex-shrink: 0; }
.drawer-logo { display: flex; align-items: center; gap: 6px; font-family: var(--sf); font-size: 17px; font-weight: 500; color: var(--cd); }
.drawer-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--cw); background: none; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--cb); transition: all .15s; }
.drawer-close:hover { background: var(--cd); color: #fff; border-color: var(--cd); }
.drawer-nav { flex: 1; padding: 8px 0; }
.drawer-item { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 20px; border: none; background: none; font-size: 15px; font-family: var(--ss); color: var(--cb); text-align: left; border-bottom: 1px solid rgba(232,226,217,.5); transition: color .15s, background .15s; text-decoration: none; }
.drawer-item:hover, .drawer-item.on { color: var(--cd); background: var(--cr); }
.drawer-item .ni { font-size: 16px; margin-right: 12px; width: 20px; text-align: center; }
.drawer-item .arr { font-size: 12px; color: var(--ct); }
.drawer-sec-lbl { padding: 16px 20px 8px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ct); }
.drawer-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 20px 16px; }
.drawer-cat { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 8px; background: var(--cr); border-radius: 8px; border: none; font-size: 11px; color: var(--cb); font-family: var(--ss); transition: all .15s; text-decoration: none; }
.drawer-cat:hover { background: var(--cw); color: var(--cd); }
.drawer-cat-icon { font-size: 20px; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--cw); flex-shrink: 0; }
.drawer-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.d-btn-login { padding: 11px; border: 1.5px solid var(--cw); border-radius: 7px; background: none; font-size: 13px; font-weight: 500; font-family: var(--ss); color: var(--cd); transition: all .15s; }
.d-btn-login:hover { border-color: var(--cd); }
.d-btn-reg { padding: 11px; border: none; border-radius: 7px; background: var(--cg); font-size: 13px; font-weight: 500; font-family: var(--ss); color: #fff; }
.d-btn-reg:hover { background: #a3842f; }
.drawer-lang-row { display: flex; align-items: center; justify-content: space-between; }
.drawer-lang-label { font-size: 11px; color: var(--cb); }
.drawer-lang-pills { display: flex; gap: 4px; }
.drawer-lang-pills button { padding: 4px 10px; border-radius: 20px; border: 1px solid var(--cw); background: none; font-size: 11px; font-family: var(--ss); color: var(--cb); }
.drawer-lang-pills button.on { background: var(--cd); color: #fff; border-color: var(--cd); }

/* ── HERO ── */
.hero { position: relative; height: 520px; background: var(--cw); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-ov  { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(44,36,32,.60) 0%, rgba(44,36,32,.14) 68%, transparent 100%); }
.hero-cnt { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 10% 0 8%; }
.hero-tag  { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 16px; font-weight: 500; }
.hero-title { font-family: var(--sf); font-size: 56px; font-weight: 300; line-height: 1.06; color: #fff; margin-bottom: 16px; }
.hero-title em { font-style: italic; color: var(--cgl); }
.hero-sub  { font-size: 14px; color: rgba(255,255,255,.78); margin-bottom: 28px; font-weight: 300; line-height: 1.7; max-width: 340px; }
.hero-cta  { display: flex; gap: 11px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 5px; color: rgba(255,255,255,.5); font-size: 10px; letter-spacing: .08em; }
.hero-scroll-a { width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hero-scroll-a svg { width: 10px; height: 10px; stroke: #fff; stroke-width: 1.5; fill: none; }

/* ── STATS BAR ── */
.statsbar { background: var(--cr); border-bottom: 1px solid var(--cw); }
.stats-g  { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat     { text-align: center; padding: 22px 12px; border-right: 1px solid var(--cw); }
.stat:last-child { border-right: none; }
.stat-num { display: block; font-family: var(--sf); font-size: 28px; font-weight: 400; }
.stat-lbl { display: block; font-size: 11px; color: var(--cb); margin-top: 3px; }

/* ── PRODUCT CARD ── */
.pgrid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pgrid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pcard  { cursor: pointer; }
.ci-wrap { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #fff; aspect-ratio: 1/1; margin-bottom: 11px; }
.ci-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.pcard:hover .ci-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.c-badge  { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 600; background: var(--cd); color: #fff; z-index: 1; }
.c-badge-s { background: var(--cg); }
.c-acts { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 5px; opacity: 0; transform: translateX(4px); transition: opacity .18s, transform .18s; z-index: 1; }
.pcard:hover .c-acts { opacity: 1; transform: translateX(0); }
.c-act  { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: none; cursor: pointer; font-size: 13px; }
.c-add  { position: absolute; bottom: 0; left: 0; right: 0; background: var(--cd); color: #fff; border: none; padding: 10px; font-size: 11px; font-weight: 500; cursor: pointer; opacity: 0; transition: opacity .18s; font-family: var(--ss); }
.pcard:hover .c-add { opacity: 1; }
.c-cat  { font-size: 10px; color: var(--cb); margin-bottom: 3px; }
.c-name { font-family: var(--sf); font-size: 16px; font-weight: 400; margin-bottom: 6px; line-height: 1.3; }
.c-prow { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.c-price { font-size: 14px; font-weight: 600; }
.c-old  { font-size: 12px; color: var(--cb); text-decoration: line-through; }
.c-sizes { display: flex; gap: 3px; flex-wrap: wrap; }
.csz    { font-size: 10px; padding: 2px 5px; border: 1px solid var(--cw); border-radius: 3px; color: var(--cb); }
.csz.out { opacity: .3; text-decoration: line-through; }

/* ── BANNERS ── */
.bn-row { display: grid; grid-template-columns: 1fr .52fr; gap: 12px; }
.bn     { position: relative; overflow: hidden; border-radius: var(--r-lg); cursor: pointer; }
.bn-lg  { aspect-ratio: 16/9; }
.bn-sm  { aspect-ratio: 2/1; }
.bn img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bn:hover img { transform: scale(1.03); }
.bn-ov  { position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,36,32,.62) 0%, transparent 55%); }
.bn-cnt { position: absolute; bottom: 20px; left: 20px; }
.bn-tag { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 5px; }
.bn-cnt h3 { font-family: var(--sf); font-size: 22px; font-weight: 400; color: #fff; margin-bottom: 10px; }
.bn-sm .bn-cnt h3 { font-size: 17px; margin-bottom: 7px; }
.bn-r   { display: flex; flex-direction: column; gap: 12px; }

/* ── ABOUT BLOCK ── */
.about-g   { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-imgs { position: relative; padding: 20px 0 20px 20px; }
.about-main { width: 100%; border-radius: var(--r-lg); height: 340px; object-fit: cover; }
.about-sec  { position: absolute; bottom: -8px; left: -8px; width: 40%; border-radius: var(--r-lg); border: 4px solid #fff; aspect-ratio: 1; object-fit: cover; }
.about-badge { position: absolute; top: 0; right: 16px; background: var(--cg); color: #fff; border-radius: var(--r-lg); padding: 12px 16px; text-align: center; }
.about-badge .n { font-family: var(--sf); font-size: 32px; font-weight: 400; line-height: 1; display: block; }
.about-badge .l { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; opacity: .9; line-height: 1.4; }
.a-text { font-size: 14px; line-height: 1.8; color: var(--cb); margin-bottom: 12px; }
.feats  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.feat   { display: flex; align-items: flex-start; gap: 10px; padding: 12px; background: #fff; border-radius: 7px; }
.feat-icon { font-size: 17px; color: var(--cg); flex-shrink: 0; margin-top: 1px; }
.feat h5 { font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.feat p  { font-size: 11px; color: var(--cb); line-height: 1.5; }

/* ── CATEGORIES ── */
.cat-g  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat-card { display: flex; position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 3/4; cursor: pointer; border: none; padding: 0; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover img { transform: scale(1.05); }
.cat-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,36,32,.65) 0%, transparent 48%); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.cat-ov span { font-family: var(--sf); font-size: 18px; color: #fff; font-weight: 400; }
.cat-ov small { font-size: 10px; color: rgba(255,255,255,.7); margin-top: 2px; }

/* ── WHOLESALE CTA ── */
.wsec   { background: var(--cd); padding: 52px 20px; }
.w-row  { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.w-title { font-family: var(--sf); font-size: 32px; font-weight: 300; color: #fff; margin-bottom: 10px; }
.w-sub  { font-size: 13px; color: rgba(255,255,255,.62); line-height: 1.7; max-width: 420px; }
.w-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── PAGE HERO (inner) ── */
.pg-hero { position: relative; height: 260px; background: var(--cw); overflow: hidden; }
.pg-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-hero-ov  { position: absolute; inset: 0; background: rgba(44,36,32,.45); }
.pg-hero-cnt { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 20px; }
.pg-hero-cnt h1 { font-family: var(--sf); font-size: 42px; font-weight: 300; color: #fff; margin-bottom: 10px; }
.pg-hero-cnt p  { font-size: 13px; color: rgba(255,255,255,.72); max-width: 480px; line-height: 1.7; }

/* ── SEASON TABS ── */
.s-tabs { display: flex; justify-content: center; border-bottom: 1px solid var(--cw); background: #fff; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.s-tab  { padding: 14px 22px; font-size: 13px; font-weight: 500; color: var(--cb); background: none; border: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: var(--ss); white-space: nowrap; transition: all .18s; }
.s-tab.on { color: var(--cd); border-bottom-color: var(--cd); }

/* ── COLLECTION FEATURE ── */
.col-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 10px; overflow: hidden; margin: 32px auto; max-width: var(--maxw); }
.cf-img   { aspect-ratio: 4/3; overflow: hidden; }
.cf-img img { width: 100%; height: 100%; object-fit: cover; }
.cf-txt   { background: var(--cr); padding: 40px; display: flex; flex-direction: column; justify-content: center; }

/* ── TIMELINE ── */
.tl-wrap  { padding: 0 20px 52px; max-width: 800px; margin: 0 auto; }
.tl-item  { display: grid; grid-template-columns: 72px 1fr; gap: 20px; margin-bottom: 40px; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 35px; top: 32px; bottom: -20px; width: 1px; background: var(--cw); }
.tl-item:last-child::before { display: none; }
.tl-year  { font-family: var(--sf); font-size: 24px; font-weight: 400; color: var(--cg); text-align: center; padding-top: 2px; }
.tl-dot   { width: 11px; height: 11px; border-radius: 50%; background: var(--cg); position: absolute; left: 31px; top: 7px; border: 2px solid #fff; }
.tl-cnt h4 { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.tl-cnt p  { font-size: 13px; color: var(--cb); line-height: 1.7; }

/* ── TEAM ── */
.team-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: var(--maxw); margin: 0 auto; padding: 0 20px 52px; }
.team-card { text-align: center; }
.team-img  { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; background: var(--cr); }
.team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-family: var(--sf); font-size: 19px; font-weight: 400; margin-bottom: 3px; }
.team-role { font-size: 11px; color: var(--cb); letter-spacing: .06em; text-transform: uppercase; }

/* ── VALUES ── */
.val-g  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: var(--maxw); margin: 0 auto; padding: 0 20px 52px; }
.val-card { padding: 24px; background: var(--cr); border-radius: var(--r-lg); text-align: center; }
.val-icon { font-size: 26px; margin-bottom: 14px; display: block; }
.val-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.val-card p  { font-size: 12px; color: var(--cb); line-height: 1.7; }

/* ── CERTS ── */
.cert-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; padding: 0 20px 52px; max-width: 800px; margin: 0 auto; }
.cert     { padding: 18px 24px; border: 1px solid var(--cw); border-radius: 8px; text-align: center; min-width: 120px; }
.cert-n   { font-family: var(--sf); font-size: 22px; font-weight: 400; color: var(--cg); display: block; }
.cert-l   { font-size: 11px; color: var(--cb); margin-top: 3px; }

/* ── CONTACTS ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 52px 20px; max-width: var(--maxw); margin: 0 auto; align-items: start; }
.c-info-list    { list-style: none; }
.c-info-list li { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--cw); }
.c-info-list li:last-child { border-bottom: none; }
.c-info-icon    { width: 38px; height: 38px; background: var(--cr); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.c-info-lbl     { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ct); margin-bottom: 2px; }
.c-info-val     { font-size: 13px; color: var(--cd); font-weight: 500; }
.c-info-sub     { font-size: 11px; color: var(--cb); margin-top: 1px; }
.wh-g   { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }
.wh-i   { background: var(--cr); border-radius: 6px; padding: 9px 12px; }
.wh-days { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cb); }
.wh-time { font-size: 13px; color: var(--cd); font-weight: 500; margin-top: 1px; }
.soc-row { display: flex; gap: 8px; margin-top: 16px; }
.soc-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--cw); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--cb); cursor: pointer; transition: all .18s; background: none; font-family: var(--ss); }
.soc-btn:hover { background: var(--cd); color: #fff; border-color: var(--cd); }

/* ── FORM ── */
.fg     { margin-bottom: 16px; }
.fg label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .07em; color: var(--cb); margin-bottom: 5px; text-transform: uppercase; }
.fi     { width: 100%; padding: 10px 12px; border: 1.5px solid var(--cw); border-radius: var(--r); font-size: 13px; font-family: var(--ss); color: var(--cd); outline: none; transition: border-color .18s; background: #fff; }
.fi:focus { border-color: var(--cd); }
textarea.fi { resize: vertical; min-height: 100px; }
.f-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── CATALOG ── */
.crumb  { padding: 12px 20px; background: var(--cr); border-bottom: 1px solid var(--cw); font-size: 12px; color: var(--cb); }
.crumb a { color: var(--cb); text-decoration: none; transition: color .15s; }
.crumb a:hover { color: var(--cd); }
.cat-layout { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding: 24px 20px; max-width: var(--maxw); margin: 0 auto; }
.f-side { position: sticky; top: 70px; }
.f-grp  { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--cw); }
.f-grp:last-child { border-bottom: none; }
.f-head { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cd); margin-bottom: 11px; }
.f-chk  { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; cursor: pointer; }
.f-chk input { width: 13px; height: 13px; accent-color: var(--cd); }
.f-chk span  { font-size: 12px; color: var(--cb); }
.f-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.f-pill  { padding: 5px 12px; border-radius: 20px; border: 1.5px solid var(--cw); background: none; font-size: 11px; cursor: pointer; color: var(--cb); transition: all .15s; font-family: var(--ss); }
.f-pill.on { background: var(--cd); color: #fff; border-color: var(--cd); }
.sz-f   { display: flex; flex-wrap: wrap; gap: 5px; }
.sz-p   { width: 38px; height: 30px; border-radius: 4px; border: 1px solid var(--cw); background: none; font-size: 11px; cursor: pointer; color: var(--cb); font-family: var(--ss); transition: all .15s; }
.sz-p.on { background: var(--cd); color: #fff; border-color: var(--cd); }
.c-tool { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.c-count { font-size: 12px; color: var(--cb); }
.c-count strong { color: var(--cd); font-weight: 600; }
.t-r    { display: flex; align-items: center; gap: 8px; }
.d-sel  { padding: 6px 10px; border: 1px solid var(--cw); border-radius: 5px; font-size: 12px; color: var(--cd); background: #fff; font-family: var(--ss); cursor: pointer; outline: none; }
.v-tog  { display: flex; gap: 2px; }
.v-btn  { width: 28px; height: 28px; border-radius: 4px; border: 1px solid var(--cw); background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--cb); transition: all .15s; }
.v-btn.on { background: var(--cd); color: #fff; border-color: var(--cd); }
.a-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.a-tag  { padding: 3px 8px; background: var(--cr); border: 1px solid var(--cw); border-radius: 20px; font-size: 10px; color: var(--cb); display: flex; align-items: center; gap: 4px; }
.a-tag button { background: none; border: none; cursor: pointer; font-size: 12px; color: var(--cb); line-height: 1; padding: 0; }
.pag    { display: flex; justify-content: center; gap: 5px; margin-top: 40px; }
.pg-btn { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 6px; border: 1.5px solid var(--cw); background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; color: var(--cb); font-family: var(--ss); transition: all .15s; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.pg-btn.on { background: var(--cd); color: #fff; border-color: var(--cd); }
.pg-btn:disabled { opacity: .3; cursor: default; }
.mob-flt-btn { display: none; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--cw); border-radius: var(--r); background: none; font-size: 12px; font-family: var(--ss); color: var(--cd); cursor: pointer; margin-bottom: 14px; }

/* ── PRODUCT ── */
.prod-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 36px 20px; max-width: var(--maxw); margin: 0 auto; }
.gal-main { border-radius: var(--r-lg); overflow: hidden; background: #fff; margin-bottom: 9px; }
.gal-main img { width: 100%; height: auto; max-height: 520px; object-fit: contain; display: block; }
.gal-thumbs  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.gal-th      { border-radius: 6px; overflow: hidden; aspect-ratio: 1; cursor: pointer; opacity: .5; border: 2px solid transparent; transition: opacity .18s; }
.gal-th.on   { opacity: 1; border-color: var(--cd); }
.gal-th img  { width: 100%; height: 100%; object-fit: cover; }
.p-brand { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ct); margin-bottom: 6px; }
.p-title { font-family: var(--sf); font-size: 28px; font-weight: 400; line-height: 1.2; margin-bottom: 12px; }
.p-pr-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.p-price { font-size: 22px; font-weight: 600; }
.p-old   { font-size: 14px; color: var(--cb); text-decoration: line-through; }
.p-div   { border: none; border-top: 1px solid var(--cw); margin: 20px 0; }
.p-lbl   { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--cb); margin-bottom: 8px; }
.sz-sel  { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.sz-opt  { width: 44px; height: 36px; border-radius: 4px; border: 1.5px solid var(--cw); background: none; font-size: 12px; cursor: pointer; font-family: var(--ss); color: var(--cd); transition: all .12s; }
.sz-opt:hover { border-color: var(--cb); }
.sz-opt.on  { background: var(--cd); color: #fff; border-color: var(--cd); }
.sz-opt.sold { opacity: .25; cursor: default; text-decoration: line-through; }
.ws-hint { background: var(--cr); border: 1px solid var(--cw); border-radius: 7px; padding: 13px 16px; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.ws-hint-icon { font-size: 17px; color: var(--cg); flex-shrink: 0; }
.ws-hint h6  { font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.ws-hint p   { font-size: 11px; color: var(--cb); line-height: 1.6; }
.ws-hint a   { color: var(--cg); font-weight: 500; }
.p-wish-btn  { width: 100%; background: none; border: 1.5px solid var(--cw); color: var(--cd); padding: 10px; border-radius: var(--r); font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--ss); margin-top: 9px; transition: border-color .15s; }
.p-wish-btn:hover { border-color: var(--cd); }
.p-feats { list-style: none; margin-top: 16px; }
.p-feats li { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: var(--cb); margin-bottom: 8px; }
.p-feats li::before { content: "✦"; color: var(--cg); font-size: 9px; margin-top: 3px; }

/* ── CART ── */
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; padding: 36px 20px; max-width: 1060px; margin: 0 auto; }
.cart-h  { font-family: var(--sf); font-size: 26px; font-weight: 400; margin-bottom: 24px; }
.cart-item { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--cw); }
.cart-img  { border-radius: 7px; overflow: hidden; aspect-ratio: 3/4; background: var(--cr); }
.cart-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-name { font-family: var(--sf); font-size: 16px; font-weight: 400; margin-bottom: 4px; }
.cart-meta { font-size: 11px; color: var(--cb); margin-bottom: 10px; }
.cart-bot  { display: flex; align-items: center; justify-content: space-between; }
.qty-c { display: flex; align-items: center; }
.qty-btn { width: 28px; height: 28px; border: 1px solid var(--cw); background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.qty-btn:first-child { border-radius: 4px 0 0 4px; }
.qty-btn:last-child  { border-radius: 0 4px 4px 0; }
.qty-num { width: 36px; height: 28px; text-align: center; border: 1px solid var(--cw); border-left: none; border-right: none; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.cart-price { font-size: 14px; font-weight: 600; }
.cart-rm { background: none; border: none; cursor: pointer; color: var(--cb); font-size: 11px; margin-top: 6px; display: inline-flex; align-items: center; gap: 3px; font-family: var(--ss); transition: color .15s; }
.cart-rm:hover { color: var(--cd); }
.order-summ { background: var(--cr); border-radius: var(--r-lg); padding: 22px; position: sticky; top: 70px; }
.summ-h  { font-family: var(--sf); font-size: 20px; font-weight: 400; margin-bottom: 20px; }
.summ-row { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 10px; color: var(--cb); }
.summ-tot { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; padding-top: 12px; border-top: 1px solid var(--cw); margin-top: 12px; }
.promo-r  { display: flex; gap: 6px; margin: 16px 0; }
.promo-i  { flex: 1; padding: 8px 10px; border: 1px solid var(--cw); border-radius: 5px; font-size: 12px; outline: none; font-family: var(--ss); color: var(--cd); }
.promo-i:focus { border-color: var(--cb); }

/* ── CHECKOUT ── */
.ch-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; padding: 36px 20px; max-width: 1060px; margin: 0 auto; }
.ch-h      { font-family: var(--sf); font-size: 26px; font-weight: 400; margin-bottom: 24px; }
.ch-sec    { margin-bottom: 24px; }
.ch-sec-t  { font-size: 13px; font-weight: 600; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--cw); }
.ship-opts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.s-opt     { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1.5px solid var(--cw); border-radius: var(--r); cursor: pointer; transition: border-color .15s; }
.s-opt.on  { border-color: var(--cd); }
.s-opt input { accent-color: var(--cd); }
.so-lbl    { flex: 1; }
.so-name   { font-size: 12px; font-weight: 500; }
.so-sub    { font-size: 11px; color: var(--cb); }
.so-pr     { font-size: 12px; font-weight: 600; }

/* ── AUTH ── */
.auth-wrap { min-height: calc(100vh - 58px); display: flex; align-items: center; justify-content: center; background: var(--cr); padding: 32px 20px; }
.auth-card { background: #fff; border-radius: 11px; padding: 40px; width: 100%; max-width: 400px; border: 1px solid var(--cw); }
.auth-title { font-family: var(--sf); font-size: 26px; font-weight: 400; text-align: center; margin-bottom: 4px; }
.auth-sub   { font-size: 13px; color: var(--cb); text-align: center; margin-bottom: 24px; }
.auth-div   { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-div::before, .auth-div::after { content: ''; flex: 1; height: 1px; background: var(--cw); }
.auth-div span { font-size: 11px; color: var(--cb); }
.soc-logins { display: flex; gap: 8px; }
.sl-btn     { flex: 1; padding: 9px; border: 1.5px solid var(--cw); border-radius: var(--r); background: none; cursor: pointer; font-size: 12px; font-family: var(--ss); color: var(--cd); transition: border-color .15s; }
.sl-btn:hover { border-color: var(--cb); }
.auth-ft    { text-align: center; margin-top: 20px; font-size: 13px; color: var(--cb); }
.auth-ft a  { color: var(--cg); font-weight: 500; }
.t-check    { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
.t-check input { margin-top: 3px; accent-color: var(--cd); flex-shrink: 0; }
.t-check span  { font-size: 11px; color: var(--cb); line-height: 1.6; }
.t-check a { color: var(--cg); }

/* ── FOOTER ── */
.ftr    { background: var(--cr); padding: 52px 20px 0; border-top: 1px solid var(--cw); }
.ftr-g  { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 40px; }
.ftr-desc { font-size: 12px; color: var(--cb); line-height: 1.8; margin-top: 12px; }
.ftr-soc  { display: flex; gap: 7px; margin-top: 20px; }
.ftr-h    { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cd); margin-bottom: 13px; }
.ftr-ul   { list-style: none; }
.ftr-ul li { margin-bottom: 8px; }
.ftr-ul a  { font-size: 12px; color: var(--cb); text-decoration: none; transition: color .15s; }
.ftr-ul a:hover { color: var(--cd); }
.ftr-ct    { list-style: none; }
.ftr-ct li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--cb); margin-bottom: 10px; }
.ftr-ct li span { font-size: 13px; color: var(--ct); }
.pay-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.pay-chip  { padding: 3px 8px; background: #fff; border: 1px solid var(--cw); border-radius: 4px; font-size: 10px; font-weight: 600; color: var(--cb); }
.ftr-bot   { max-width: var(--maxw); margin: 0 auto; border-top: 1px solid var(--cw); padding: 16px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.ftr-bot p { font-size: 11px; color: var(--cb); }
.ftr-leg   { display: flex; gap: 16px; }
.ftr-leg a { font-size: 11px; color: var(--cb); text-decoration: none; transition: color .15s; }
.ftr-leg a:hover { color: var(--cd); }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 900px) {
  .nav-d, .lang { display: none; }
  .hmb { display: flex; }
  .hero { height: 420px; }
  .hero-cnt { padding: 0 8% 0 6%; }
  .hero-title { font-size: 42px; }
  .stats-g { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid var(--cw); }
  .pgrid  { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pgrid3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .bn-row { grid-template-columns: 1fr; }
  .bn-r   { flex-direction: row; }
  .bn-sm  { flex: 1; }
  .about-g { grid-template-columns: 1fr; }
  .about-imgs { display: none; }
  .cat-g  { grid-template-columns: repeat(2, 1fr); }
  .w-row  { flex-direction: column; align-items: flex-start; }
  .w-title { font-size: 26px; }
  .ftr-g  { grid-template-columns: 1fr 1fr; }
  .col-feat { grid-template-columns: 1fr; margin: 20px 16px; }
  .cf-img { aspect-ratio: 16/9; }
  .cf-txt { padding: 28px; }
  .team-g { gap: 16px; }
  .team-img { width: 100px; height: 100px; }
  .val-g  { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .cat-layout { grid-template-columns: 1fr; }
  .f-side { display: none; }
  .mob-flt-btn { display: flex; }
  .prod-layout { grid-template-columns: 1fr; }
  .cart-layout, .ch-layout { grid-template-columns: 1fr; }
  .order-summ { position: static; }
  .f-row  { grid-template-columns: 1fr; }
  .feats  { grid-template-columns: 1fr; }
  .pg-hero-cnt h1 { font-size: 32px; }
}
@media (max-width: 600px) {
  .hero { height: 360px; }
  .hero-cnt { padding: 0 20px; }
  .hero-title { font-size: 34px; }
  .hero-sub   { font-size: 13px; }
  .hero-cta .btn-p, .hero-cta .btn-g { padding: 10px 18px; font-size: 12px; }
  .stitle { font-size: 26px; }
  .sec    { padding: 36px 16px; }
  .pgrid, .pgrid3 { gap: 10px; }
  .c-name { font-size: 14px; }
  .cat-g  { gap: 8px; }
  .ftr-g  { grid-template-columns: 1fr; }
  .w-btns { width: 100%; }
  .w-btns button { flex: 1; }
  .cart-layout, .ch-layout { padding: 20px 16px; }
  .prod-layout { padding: 20px 16px; }
  .contact-layout { padding: 32px 16px; }
  .ftr    { padding: 36px 16px 0; }
  .auth-card { padding: 28px 20px; }
  .pg-hero-cnt h1 { font-size: 26px; }
  .team-g { grid-template-columns: 1fr 1fr; }
  .cert-row { gap: 10px; }
}
@media (max-width: 400px) {
  .hero-title { font-size: 30px; }
  .pgrid, .pgrid3 { gap: 8px; }
  .cat-g { gap: 6px; }
}

/* === FINAL OVERRIDES === */

/* Картки каталогу — квадрат, contain, білий фон */
.ci-wrap               { aspect-ratio: 1/1 !important; height: auto !important; background: #fff !important; }
.ci-wrap img           { object-fit: contain !important; width: 100% !important; height: 100% !important; }

/* Галерея товару */
.gal-main              { background: #fff !important; aspect-ratio: unset !important; }
.gal-main img          { object-fit: contain !important; width: 100% !important; height: auto !important; max-height: 520px !important; }

/* Пагінація — прямокутник */
.pg-btn                { border-radius: 6px !important; min-width: 36px !important; width: auto !important; }
.pag                   { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }

/* Hero — показувати фото і на мобільному */
.hero-img              { display: block !important; }

/* Hero мобільний — зменшити висоту */
@media (max-width: 600px) {
  .hero     { height: 300px; }
  .hero-img { object-fit: cover; object-position: center; }
  .hero-title { font-size: 28px !important; }
  .hero-sub   { font-size: 12px; }
}
@media (max-width: 900px) {
  .hero     { height: 360px; }
  .hero-title { font-size: 34px; }
}
