/*
Theme Name: Diva Style
Theme URI: https://diva-style.ba
Author: Diva Style
Description: Premium, mobile-first storefront for Diva Style, built on the DivaProd product and order plugin. Cash-on-delivery order form on every product page.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: diva-style
*/

/* ============ Tokens ============ */
:root {
	--bg: #fbf8f3;
	--paper: #ffffff;
	--cream: #f4eee5;
	--ink: #1c1917;
	--ink-2: #3a332e;
	--muted: #7a6f66;
	--line: #e8e0d5;
	--line-2: #d9cebf;
	--gold: #a9844c;
	--gold-2: #c9a56b;
	--gold-soft: #f3e9d8;
	--sale: #9e2f3a;
	--ok: #3d6b4f;
	--err: #b3261e;

	--f-display: "Cormorant Garamond", "Times New Roman", serif;
	--f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	--shadow: 0 1px 2px rgba(28, 25, 23, .04), 0 8px 24px rgba(28, 25, 23, .06);
	--shadow-lg: 0 24px 60px rgba(28, 25, 23, .16);
	--gutter: 16px;
	--wrap: 1240px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 60px;
}
@media (min-width: 700px) { :root { --gutter: 28px; --header-h: 72px; } }

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
html.ds-lock { overflow: hidden; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font-family: var(--f-body); font-size: 15px; line-height: 1.6;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
@media (min-width: 700px) { body { font-size: 16px; } }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold-soft); }
.ds-i { width: 20px; height: 20px; flex: none; }
.ds-skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.ds-skip:focus { left: 8px; }
.ds-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.ds-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ds-wrap--narrow { max-width: 760px; }
.ds-center { text-align: center; margin-top: 28px; }
.ds-muted { color: var(--muted); }
.ds-muted a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ============ Type ============ */
.ds-eyebrow {
	margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.ds-eyebrow--gold { color: var(--gold-2); }
.ds-h1, .ds-h2, .ds-h3, .ds-hero__title, .ds-buy__title {
	font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.05; margin: 0;
}
.ds-h1 { font-size: clamp(34px, 7vw, 56px); }
.ds-h2 { font-size: clamp(28px, 5.4vw, 44px); }
.ds-h3 { font-size: clamp(22px, 3.6vw, 28px); }

/* ============ Buttons & links ============ */
.ds-btn {
	--bg-b: var(--ink); --fg-b: #fff;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 24px; border: 1px solid var(--bg-b); border-radius: 999px;
	background: var(--bg-b); color: var(--fg-b);
	font-weight: 700; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
	transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
}
.ds-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(28,25,23,.18); }
.ds-btn:active { transform: translateY(0); }
.ds-btn .ds-i { width: 18px; height: 18px; }
.ds-btn--ghost { --bg-b: rgba(255,255,255,.14); --fg-b: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ds-btn--outline { --bg-b: transparent; --fg-b: var(--ink); border-color: var(--ink); }
.ds-btn--outline:hover { --bg-b: var(--ink); --fg-b: #fff; }
.ds-btn--gold { --bg-b: var(--ink); --fg-b: #fff; background: linear-gradient(135deg, #1c1917 0%, #2c241e 100%); }
.ds-btn--gold .ds-i { color: var(--gold-2); }
.ds-btn--block { display: flex; width: 100%; }
.ds-btn--lg { min-height: 58px; font-size: 16px; }
.ds-btn.is-loading { opacity: .75; pointer-events: none; }

.ds-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; background: none; border: 0; padding: 0; border-bottom: 1px solid currentColor; }
.ds-link .ds-i { width: 16px; height: 16px; }
.ds-link--sm { font-size: 13px; font-weight: 600; color: var(--ink-2); border-bottom-color: var(--line-2); }

.ds-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: none; border: 0; color: var(--ink); transition: background .2s; }
.ds-iconbtn:hover { background: var(--cream); }

/* ============ Topbar ============ */
.ds-topbar { background: var(--ink); color: #efe6d8; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.ds-topbar__track { position: relative; height: 34px; overflow: hidden; }
.ds-topbar__track span {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
	opacity: 0; animation: ds-ticker 12s infinite;
}
.ds-topbar__track span:nth-child(2) { animation-delay: 3s; }
.ds-topbar__track span:nth-child(3) { animation-delay: 6s; }
.ds-topbar__track span:nth-child(4) { animation-delay: 9s; }
.ds-topbar .ds-i { width: 15px; height: 15px; color: var(--gold-2); }
@keyframes ds-ticker { 0% { opacity: 0; transform: translateY(8px); } 4%, 22% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; transform: translateY(-8px); } }
@media (min-width: 900px) {
	.ds-topbar__track { display: flex; justify-content: center; gap: 40px; }
	.ds-topbar__track span { position: static; opacity: 1; animation: none; }
}
@media (prefers-reduced-motion: reduce) { .ds-topbar__track span { animation: none; } .ds-topbar__track span:first-child { opacity: 1; } }

/* ============ Header ============ */
.ds-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.admin-bar .ds-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .ds-header { top: 32px; } }
.ds-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(28,25,23,.05); }
.ds-header__inner { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: var(--header-h); max-width: var(--wrap); margin: 0 auto; padding: 0 calc(var(--gutter) - 8px); }
.ds-wordmark { display: inline-flex; flex-direction: column; align-items: center; justify-self: center; line-height: 1; }
.ds-wordmark__main { font-family: var(--f-display); font-weight: 600; font-size: 30px; letter-spacing: .02em; }
.ds-wordmark__sub { font-size: 9.5px; font-weight: 700; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); margin-top: 2px; padding-left: .5em; }
.ds-wordmark--sm .ds-wordmark__main { font-size: 26px; }
.ds-wordmark--light { align-items: flex-start; }
.ds-wordmark--light .ds-wordmark__main { color: #fff; font-size: 38px; }
.ds-wordmark--light .ds-wordmark__sub { color: var(--gold-2); padding-left: 0; }
.ds-nav { display: none; }
@media (min-width: 960px) {
	.ds-header__inner { grid-template-columns: 1fr auto 1fr; }
	.ds-header__inner > .ds-iconbtn:first-child { display: none; }
	.ds-wordmark { grid-column: 2; }
	.ds-nav { display: flex; gap: 28px; grid-column: 1; grid-row: 1; font-size: 14px; font-weight: 600; }
	.ds-nav a { position: relative; padding: 6px 0; }
	.ds-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .25s var(--ease); }
	.ds-nav a:hover::after { right: 0; }
	.ds-header__inner > .ds-iconbtn:last-child { grid-column: 3; justify-self: end; }
}

/* ============ Drawer ============ */
.ds-drawer { position: fixed; inset: 0; z-index: 100; }
.ds-drawer__backdrop { position: absolute; inset: 0; background: rgba(28,25,23,.45); opacity: 0; transition: opacity .28s; }
.ds-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); background: var(--bg); padding: 16px 24px 32px; transform: translateX(-100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
.ds-drawer.is-open .ds-drawer__backdrop { opacity: 1; }
.ds-drawer.is-open .ds-drawer__panel { transform: none; }
.ds-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ds-drawer__nav { display: flex; flex-direction: column; }
.ds-drawer__nav a { font-family: var(--f-display); font-size: 28px; font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ds-drawer__nav a.ds-drawer__small { font-family: var(--f-body); font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 12px 0; }
.ds-drawer__contact { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.ds-drawer__contact a { display: flex; align-items: center; gap: 10px; font-weight: 700; }

/* ============ Sections ============ */
.ds-section { padding: 56px 0; }
.ds-section--tight { padding: 20px 0 8px; }
.ds-section--cream { background: var(--cream); }
.ds-section--dark { background: var(--ink); color: #f5efe6; }
.ds-section--dark .ds-h2 { color: #fff; }
@media (min-width: 900px) { .ds-section { padding: 88px 0; } }
.ds-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ds-head--center { justify-content: center; text-align: center; }
.ds-head__note { margin: 0; font-size: 13px; color: #b8ab9a; }
.ds-split { display: grid; gap: 28px; }
@media (min-width: 900px) { .ds-split { grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; } .ds-split > :first-child { position: sticky; top: calc(var(--header-h) + 40px); } }
.ds-split .ds-h2 { margin-bottom: 12px; }

.ds-reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.ds-reveal.is-in { opacity: 1; transform: none; }

/* ============ Hero ============ */
.ds-hero { position: relative; display: grid; background: var(--ink); color: #fff; overflow: hidden; }
.ds-hero__media { position: relative; grid-area: 1 / 1; min-height: 78svh; max-height: 820px; }
.ds-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.ds-hero__img--2 { display: none; }
.ds-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,25,23,.05) 30%, rgba(28,25,23,.55) 62%, rgba(28,25,23,.92) 100%); }
.ds-hero__content { grid-area: 1 / 1; align-self: end; position: relative; z-index: 2; padding: 0 var(--gutter) 32px; }
.ds-hero .ds-eyebrow { color: var(--gold-2); }
.ds-hero__title { font-size: clamp(42px, 11vw, 84px); line-height: .98; margin-bottom: 14px; }
.ds-hero__title em { font-style: italic; color: var(--gold-2); font-weight: 500; }
.ds-hero__lead { margin: 0 0 22px; max-width: 34ch; color: #e9e1d5; font-size: 15px; }
.ds-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ds-hero__actions .ds-btn:first-child { --bg-b: #fff; --fg-b: var(--ink); }
.ds-hero__proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 0; padding: 0; font-size: 13px; color: #e9e1d5; }
.ds-hero__proof li { display: flex; align-items: center; gap: 6px; }
.ds-hero__proof .ds-i { width: 16px; height: 16px; color: var(--gold-2); }
@media (min-width: 900px) {
	.ds-hero { grid-template-columns: 1fr 1fr; background: var(--bg); color: var(--ink); min-height: 640px; }
	.ds-hero__media { grid-area: 1 / 2; min-height: 0; max-height: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; padding: 24px var(--gutter) 24px 0; }
	.ds-hero__media::after { display: none; }
	.ds-hero__img { position: relative; inset: auto; height: 100%; border-radius: var(--r-lg); }
	.ds-hero__img--2 { display: block; margin-top: 64px; height: calc(100% - 64px); }
	.ds-hero__content { grid-area: 1 / 1; align-self: center; padding: 48px 32px 48px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
	.ds-hero .ds-eyebrow { color: var(--gold); }
	.ds-hero__title em { color: var(--gold); }
	.ds-hero__lead { color: var(--muted); font-size: 18px; }
	.ds-hero__actions .ds-btn:first-child { --bg-b: var(--ink); --fg-b: #fff; }
	.ds-hero__actions .ds-btn--ghost { --bg-b: transparent; --fg-b: var(--ink); border-color: var(--line-2); backdrop-filter: none; }
	.ds-hero__proof { color: var(--ink-2); }
	.ds-hero__proof .ds-i { color: var(--gold); }
}

/* ============ Trust ============ */
.ds-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ds-trust__item { display: flex; gap: 10px; align-items: flex-start; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.ds-trust__item .ds-i { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.ds-trust__item strong { display: block; font-size: 13.5px; line-height: 1.25; }
.ds-trust__item span { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
@media (min-width: 900px) { .ds-section .ds-trust { grid-template-columns: repeat(4, 1fr); gap: 16px; } .ds-trust__item { padding: 18px; } }

/* ============ Rails & grids ============ */
.ds-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.ds-rail::-webkit-scrollbar { display: none; }
.ds-rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .ds-rail { grid-auto-columns: 32%; gap: 16px; } }
@media (min-width: 1100px) { .ds-rail { grid-auto-columns: calc(25% - 12px); gap: 16px; } }
.ds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; }
.ds-grid__item.is-hidden { display: none; }
@media (min-width: 700px) { .ds-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 16px; } }
@media (min-width: 1100px) { .ds-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============ Card ============ */
.ds-card { display: block; }
.ds-card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--cream); }
.ds-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .8s var(--ease), opacity .45s; }
.ds-card__img--alt { opacity: 0; }
@media (hover: hover) {
	.ds-card:hover .ds-card__img { transform: scale(1.035); }
	.ds-card:hover .ds-card__img--alt { opacity: 1; }
}
.ds-card__tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.ds-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ds-tag--sale { background: var(--sale); color: #fff; }
.ds-card__video { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 999px; background: rgba(28,25,23,.55); color: #fff; backdrop-filter: blur(6px); }
.ds-card__video .ds-i { width: 13px; height: 13px; margin-left: 2px; }
.ds-card__body { padding: 10px 2px 0; }
.ds-card__title { margin: 0 0 2px; font-family: var(--f-display); font-size: 21px; font-weight: 600; line-height: 1.15; }
.ds-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.ds-price__now { font-weight: 800; font-size: 15px; }
.ds-price__now--lg { font-size: 28px; letter-spacing: -.01em; }
.ds-price__was { color: var(--muted); font-size: 13px; }
.ds-dots { display: flex; align-items: center; gap: 5px; margin-top: 8px; }
.ds-dot { width: 13px; height: 13px; border-radius: 999px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.ds-dots__more { font-size: 11px; color: var(--muted); font-weight: 700; }

/* ============ Reels ============ */
.ds-rail--video { grid-auto-columns: 58%; }
@media (min-width: 700px) { .ds-rail--video { grid-auto-columns: 28%; } }
@media (min-width: 1100px) { .ds-rail--video { grid-auto-columns: calc(20% - 13px); } }
.ds-reel { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: #2a2420; }
.ds-reel__video { width: 100%; height: 100%; object-fit: cover; }
.ds-reel::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.7)); pointer-events: none; }
.ds-reel__sound { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; backdrop-filter: blur(6px); }
.ds-reel__sound .ds-i { width: 18px; height: 18px; }
.ds-reel__sound.is-on { background: var(--gold); }
.ds-reel__cta { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.ds-reel__name { font-family: var(--f-display); font-size: 20px; font-weight: 600; line-height: 1.1; }
.ds-reel__price { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 13px; }
.ds-reel__price .ds-i { width: 16px; height: 16px; }

/* ============ Steps ============ */
.ds-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ds-steps li { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 18px; background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); }
.ds-steps__n { grid-row: 1 / 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; background: var(--ink); color: var(--gold-2); font-family: var(--f-display); font-size: 22px; font-weight: 600; }
.ds-steps strong { font-size: 16px; }
.ds-steps span:last-child { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .ds-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } .ds-steps li { padding: 24px; } }

/* ============ Size guide ============ */
.ds-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.ds-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; }
.ds-table th, .ds-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ds-table thead th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--bg); }
.ds-table tbody th { font-weight: 800; }
.ds-table tbody tr:last-child > * { border-bottom: 0; }
.ds-sizes__tips { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.ds-sizes__tips li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.ds-sizes__tips .ds-i { color: var(--gold); width: 18px; height: 18px; margin-top: 2px; }

/* ============ FAQ ============ */
.ds-faq { display: grid; gap: 10px; }
.ds-faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 0 18px; }
.ds-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; font-weight: 700; }
.ds-faq__item summary::-webkit-details-marker { display: none; }
.ds-faq__plus { position: relative; width: 14px; height: 14px; flex: none; }
.ds-faq__plus::before, .ds-faq__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.6px; background: var(--ink); transition: transform .25s var(--ease); }
.ds-faq__plus::after { transform: rotate(90deg); }
.ds-faq__item[open] .ds-faq__plus::after { transform: rotate(0); }
.ds-faq__item p { margin: 0 0 18px; color: var(--ink-2); }

/* ============ Product page ============ */
.ds-crumbs { display: none; }
@media (min-width: 900px) { .ds-crumbs { display: flex; gap: 8px; padding-top: 20px; padding-bottom: 20px; font-size: 13px; color: var(--muted); } .ds-crumbs a:hover { color: var(--ink); } }
.ds-pdp__grid { display: grid; gap: 0; padding: 0; }
@media (min-width: 960px) { .ds-pdp__grid { grid-template-columns: 1.1fr .9fr; gap: 48px; padding: 0 var(--gutter); align-items: start; } }

.ds-gallery { position: relative; }
.ds-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; background: var(--cream); }
.ds-gallery__track::-webkit-scrollbar { display: none; }
.ds-gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 5; position: relative; }
.ds-gallery__slide img, .ds-gallery__slide video { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.ds-gallery__sound { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; }
.ds-gallery__sound.is-on { background: var(--gold); }
.ds-gallery__tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; pointer-events: none; }
.ds-gallery__count { position: absolute; right: 14px; top: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(28,25,23,.55); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); }
.ds-gallery__thumbs { display: flex; gap: 8px; padding: 10px var(--gutter) 0; overflow-x: auto; scrollbar-width: none; }
.ds-gallery__thumbs::-webkit-scrollbar { display: none; }
.ds-gallery__thumbs button { flex: 0 0 54px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--cream); opacity: .6; transition: opacity .2s, border-color .2s; position: relative; }
.ds-gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.ds-gallery__thumbs button.is-active { opacity: 1; border-color: var(--ink); }
.ds-gallery__thumbs button.is-video::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 14px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
@media (min-width: 960px) {
	.ds-gallery { position: sticky; top: calc(var(--header-h) + 16px); }
	.ds-gallery__track { border-radius: var(--r-lg); }
	.ds-gallery__thumbs { padding: 12px 0 0; }
	.ds-gallery__thumbs button { flex-basis: 72px; height: 90px; }
}

.ds-buy { padding: 22px var(--gutter) 8px; }
@media (min-width: 960px) { .ds-buy { padding: 0; } .ds-buy__sticky { position: sticky; top: calc(var(--header-h) + 16px); } }
.ds-buy__title { font-size: clamp(36px, 8vw, 52px); margin-bottom: 8px; }
.ds-buy__lead { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.ds-buy__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 14px; }
.ds-save { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: #f6e4e3; color: var(--sale); font-size: 12px; font-weight: 800; }
.ds-note { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--gold-soft); font-size: 14px; }
.ds-buy__proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 22px; padding: 0 0 18px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ds-buy__proof li { display: flex; align-items: center; gap: 6px; }
.ds-buy__proof .ds-i { width: 17px; height: 17px; color: var(--ok); }
.ds-buy .ds-trust { margin-top: 16px; }
.ds-buy .ds-trust__item { background: transparent; }
@media (min-width: 960px) { .ds-buy .ds-trust__item { padding: 12px; } }

.ds-opt { margin-bottom: 20px; }
.ds-opt__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.ds-opt__label { font-size: 14px; color: var(--ink-2); margin: 0; }
.ds-opt__label strong { color: var(--ink); }
.ds-stock { font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.ds-stock::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: currentColor; }
.ds-stock.is-in { color: var(--ok); }
.ds-stock.is-out { color: var(--sale); }

.ds-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.ds-swatch { position: relative; width: 56px; height: 70px; padding: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--c); overflow: hidden; transition: transform .15s; }
.ds-swatch img { width: 100%; height: 100%; object-fit: cover; }
.ds-swatch::after { content: ""; position: absolute; left: 6px; bottom: 6px; width: 12px; height: 12px; border-radius: 99px; background: var(--c); box-shadow: 0 0 0 2px #fff; }
.ds-swatch.is-active { outline: 2px solid var(--ink); outline-offset: 2px; }
.ds-swatch.is-oos { opacity: .45; }
.ds-swatch.is-oos::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(28,25,23,.7) 50%, transparent calc(50% + 1px)); z-index: 1; }

.ds-sizes-btns { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 8px; border-radius: 14px; }
.ds-sizes-btns.is-error { animation: ds-shake .4s; }
.ds-sizes-btns.is-error .ds-size { border-color: var(--err); }
.ds-size { min-height: 48px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); font-weight: 800; font-size: 14px; transition: all .15s; }
.ds-size:hover { border-color: var(--ink); }
.ds-size.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
@keyframes ds-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* Order */
.ds-order { padding-top: 24px; padding-bottom: 8px; scroll-margin-top: calc(var(--header-h) + 8px); }
.ds-order__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 18px; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto; }
@media (min-width: 700px) { .ds-order { padding-top: 56px; } .ds-order__card { padding: 36px; } }
.ds-order__head { margin-bottom: 18px; }
.ds-order__head .ds-h2 { margin-bottom: 4px; }
.ds-order__head p { margin: 0; font-size: 14px; }
.ds-form { display: grid; gap: 14px; }
.ds-summary { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.ds-summary__img { width: 64px; height: 80px; border-radius: 10px; overflow: hidden; background: var(--cream); }
.ds-summary__img img { width: 100%; height: 100%; object-fit: cover; }
.ds-summary__info { display: grid; gap: 4px; min-width: 0; }
.ds-summary__info strong { font-family: var(--f-display); font-size: 20px; line-height: 1.1; }
.ds-summary__info span { font-size: 13px; color: var(--ink-2); }
.ds-summary__info em { font-style: normal; color: var(--sale); font-weight: 700; }
.ds-qty { display: inline-flex; align-items: center; width: max-content; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); margin-top: 2px; }
.ds-qty button { width: 36px; height: 34px; display: grid; place-items: center; border: 0; background: none; }
.ds-qty .ds-i { width: 16px; height: 16px; }
.ds-qty output { min-width: 22px; text-align: center; font-weight: 800; }
.ds-sizepick { padding: 14px; border-radius: var(--r); background: var(--gold-soft); }
.ds-sizepick .ds-opt__label { font-weight: 700; margin-bottom: 10px; color: var(--ink); }

.ds-field { display: grid; gap: 6px; }
.ds-field label { font-size: 13px; font-weight: 700; }
.ds-field input, .ds-field textarea {
	width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper);
	font-size: 16px; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.ds-field textarea { min-height: 76px; resize: vertical; margin-top: 8px; }
.ds-field input::placeholder, .ds-field textarea::placeholder { color: #b3a898; }
.ds-field input:focus, .ds-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(169,132,76,.18); }
.ds-hint { font-size: 12px; color: var(--muted); }
.ds-err { display: none; font-size: 12.5px; color: var(--err); font-weight: 700; }
.ds-field.is-error input { border-color: var(--err); box-shadow: 0 0 0 4px rgba(179,38,30,.1); }
.ds-field.is-error .ds-err { display: block; }
.ds-field.is-error .ds-hint { display: none; }
.ds-field--note summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--ink-2); list-style: none; }
.ds-field--note summary::before { content: "+ "; color: var(--gold); }
.ds-field--note[open] summary::before { content: "− "; }
.ds-field--note summary::-webkit-details-marker { display: none; }

.ds-totals { display: grid; gap: 8px; padding: 16px; border-radius: var(--r); background: var(--bg); font-size: 14px; }
.ds-totals > div { display: flex; justify-content: space-between; }
.ds-totals > div span:first-child { color: var(--ink-2); }
.ds-totals__sum { padding-top: 10px; border-top: 1px dashed var(--line-2); font-weight: 800; font-size: 16px; }
.ds-totals__sum span:first-child { color: var(--ink) !important; }
.ds-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.ds-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.ds-form__foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 12px; color: var(--muted); }
.ds-form__foot .ds-i { width: 15px; height: 15px; color: var(--ok); }

/* Details */
.ds-details { display: grid; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 900px) { .ds-details { grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 80px; padding-bottom: 72px; } }
.ds-details .ds-h3 { margin-bottom: 12px; }
.ds-details p { margin: 0 0 14px; color: var(--ink-2); }
.ds-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ds-ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ds-ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 99px; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9844c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ds-extra { display: grid; gap: 24px; padding-bottom: 56px; align-items: center; }
.ds-extra__img img { border-radius: var(--r-lg); width: 100%; }
@media (min-width: 900px) { .ds-extra { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Sticky bar */
.ds-stickybar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
	border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(28,25,23,.08);
	transform: translateY(110%); transition: transform .3s var(--ease);
}
.ds-stickybar.is-visible { transform: none; }
.ds-stickybar__info { display: grid; min-width: 0; line-height: 1.25; }
.ds-stickybar__info strong { font-family: var(--f-display); font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-stickybar__info span { font-weight: 800; font-size: 14px; }
.ds-stickybar__info s { color: var(--muted); font-weight: 500; font-size: 12px; margin-left: 4px; }
.ds-stickybar .ds-btn { min-height: 46px; padding: 0 28px; }
@media (min-width: 960px) { .ds-stickybar { display: none; } }
.ds-product-page .ds-chatfab { display: none; }
@media (min-width: 960px) { .ds-product-page .ds-chatfab { display: grid; } }

/* Sheet (size chart) */
.ds-sheet { width: min(100%, 560px); max-height: 88vh; margin: auto auto 0; padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom)); border: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--bg); color: var(--ink); box-shadow: var(--shadow-lg); }
.ds-sheet::backdrop { background: rgba(28,25,23,.5); }
.ds-sheet[open] { animation: ds-up .3s var(--ease); }
@media (min-width: 700px) { .ds-sheet { margin: auto; border-radius: var(--r-lg); padding: 28px; } }
.ds-sheet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
@keyframes ds-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Toast */
.ds-toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 200; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 14px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lg); animation: ds-up .25s var(--ease); }
.ds-toast.is-error { background: var(--err); }
.ds-toast.is-ok { background: var(--ok); }

/* ============ Pages ============ */
.ds-page { padding-top: 40px; padding-bottom: 72px; }
.ds-page__head { margin-bottom: 28px; }
.ds-prose { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.ds-prose h2, .ds-prose h3 { font-family: var(--f-display); color: var(--ink); line-height: 1.15; margin: 1.6em 0 .5em; }
.ds-prose h2 { font-size: 30px; } .ds-prose h3 { font-size: 24px; }
.ds-prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ds-prose img { border-radius: var(--r); }
.ds-post { padding: 20px 0; border-bottom: 1px solid var(--line); }
.ds-empty { text-align: center; padding-top: 72px; padding-bottom: 24px; }
.ds-empty .ds-h1 { margin-bottom: 12px; }
.ds-empty .ds-btn { margin-top: 12px; }

/* Thank you */
.ds-thanks { text-align: center; padding-top: 48px; padding-bottom: 56px; }
.ds-thanks__icon { width: 76px; height: 76px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 999px; background: var(--ok); color: #fff; box-shadow: 0 0 0 10px rgba(61,107,79,.12); animation: ds-pop .5s var(--ease); }
.ds-thanks__icon .ds-i { width: 38px; height: 38px; stroke-width: 2.2; }
@keyframes ds-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.ds-thanks .ds-h1 { margin-bottom: 10px; }
.ds-thanks__num { display: inline-block; margin: 6px 0 14px; padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; }
.ds-timeline { list-style: none; margin: 28px auto; padding: 0; max-width: 440px; text-align: left; display: grid; gap: 0; }
.ds-timeline li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-bottom: 20px; }
.ds-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.ds-timeline li > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--gold); }
.ds-timeline li.is-done > span { background: var(--ok); border-color: var(--ok); color: #fff; }
.ds-timeline strong { display: block; padding-top: 2px; }
.ds-timeline small { color: var(--muted); font-size: 13px; }
.ds-thanks__help { padding: 20px; border-radius: var(--r-lg); background: var(--cream); }
.ds-thanks__help p { margin: 0 0 12px; font-weight: 700; }
.ds-thanks__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ============ Footer ============ */
.ds-footer { background: var(--ink); color: #cfc4b5; padding: 56px 0 0; font-size: 14px; }
.ds-footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.ds-footer__brand { grid-column: 1 / -1; }
.ds-footer__brand p { max-width: 42ch; margin: 14px 0 0; }
@media (min-width: 900px) { .ds-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .ds-footer__brand { grid-column: auto; } }
.ds-footer__title { margin: 0 0 12px; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.ds-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ds-footer a:hover { color: #fff; }
.ds-footer__pay { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: center; gap: 14px 28px; margin-top: 40px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.1); }
@media (max-width: 419px) { .ds-footer__pay { gap: 12px 12px; } .ds-footer__pay span { font-size: .86rem; gap: 6px; } }
@media (max-width: 369px) { .ds-footer__pay { grid-template-columns: max-content; } }
@media (max-width: 329px) { .ds-footer__pay { grid-template-columns: max-content; } }
@media (min-width: 900px) { .ds-footer__pay { grid-template-columns: repeat(4, max-content); gap: 14px 40px; } }
.ds-footer__pay span { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #e9e1d5; }
.ds-footer__pay .ds-i { color: var(--gold-2); width: 18px; height: 18px; }
.ds-footer__bottom { padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom)); text-align: center; font-size: 12px; color: #8f8578; border-top: 1px solid rgba(255,255,255,.08); }
.ds-product-page .ds-footer__bottom { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .ds-product-page .ds-footer__bottom { padding-bottom: 18px; } }

.ds-chatfab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(28,25,23,.25); transition: transform .2s var(--ease); }
.ds-chatfab:hover { transform: scale(1.06); }
.ds-chatfab .ds-i { width: 26px; height: 26px; color: var(--gold-2); }

/* ============ Plugin video feed page (reels template) ============ */
.page-template-page-reels .ds-footer, .page-template-page-reels .ds-chatfab { display: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ============ Price card (product page) ============ */
.ds-pricecard { position: relative; margin: 6px 0 18px; padding: 18px 20px 16px; border-radius: 20px; background: linear-gradient(135deg, #1c1917 0%, #2f251c 100%); color: #fff; overflow: hidden; box-shadow: 0 16px 36px rgba(28,25,23,.22); }
.ds-pricecard::after { content: ""; position: absolute; right: -50px; top: -60px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(201,165,107,.38), transparent 70%); pointer-events: none; }
.ds-pricecard > * { position: relative; z-index: 1; }
.ds-pricecard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ds-pricecard__label { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.ds-pricecard__pct { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: linear-gradient(135deg, #d9b87c, #b8904f); color: var(--ink); font-weight: 800; font-size: 15px; box-shadow: 0 4px 14px rgba(201,165,107,.35); }
.ds-pricecard__main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.ds-pricecard__now { font-family: var(--f-display); font-size: 60px; font-weight: 600; line-height: 1; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.ds-pricecard__now small { font-family: var(--f-body); font-size: 18px; font-weight: 700; margin-left: 6px; color: #e9e1d5; letter-spacing: .02em; }
.ds-pricecard__was { font-size: 17px; font-weight: 600; color: #a89c8e; text-decoration-thickness: 1.5px; }
.ds-pricecard__save { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: #e9e1d5; }
.ds-pricecard__save .ds-i { width: 20px; height: 20px; padding: 3px; border-radius: 99px; background: rgba(201,165,107,.18); color: var(--gold-2); flex: none; }
.ds-pricecard__save strong { color: #fff; }
@media (min-width: 960px) { .ds-pricecard__now { font-size: 66px; } }
.ds-pricecard ~ .ds-buy__proof { display: none; }
.ds-pricecard { margin-bottom: 24px; }
/* Price card — light, in site style */
.ds-pricecard { background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); box-shadow: 0 1px 2px rgba(28,25,23,.04), 0 10px 26px rgba(169,132,76,.10); padding: 16px 18px 14px; }
.ds-pricecard::after { right: -70px; top: -80px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(201,165,107,.16), transparent 70%); }
.ds-pricecard__label { color: var(--gold); }
.ds-pricecard__pct { background: #f6e4e3; color: var(--sale); box-shadow: none; height: 28px; font-size: 14px; }
.ds-pricecard__now { font-size: 54px; color: var(--ink); }
.ds-pricecard__now small { color: var(--ink-2); font-size: 16px; }
.ds-pricecard__was { color: var(--muted); font-size: 16px; font-weight: 500; }
.ds-pricecard__save { color: var(--ink-2); border-top-color: var(--line); margin-top: 10px; padding-top: 10px; font-size: 13.5px; }
.ds-pricecard__save .ds-i { background: #e8f1eb; color: var(--ok); }
.ds-pricecard__save strong { color: var(--ok); }
@media (min-width: 960px) { .ds-pricecard__now { font-size: 60px; } }
.ds-tag--out { background: var(--ink); color: #fff; }
.ds-card.is-soldout .ds-card__img { filter: grayscale(.55) opacity(.75); }
.ds-card.is-soldout .ds-price { opacity: .6; }
/* Full-screen gallery viewer */
.ds-gallery__slide { cursor: zoom-in; }
.ds-gallery__zoom { position: absolute; left: 14px; bottom: 92px; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(28,25,23,.55); color: #fff; font-size: 12.5px; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (min-width: 960px) { .ds-gallery__zoom { bottom: 116px; } }
.ds-lb { position: fixed; inset: 0; z-index: 400; background: #0f0d0c; color: #fff; opacity: 0; transition: opacity .25s var(--ease); display: flex; flex-direction: column; }
.ds-lb.is-open { opacity: 1; }
.ds-lb__bar { display: flex; justify-content: space-between; align-items: center; padding: calc(10px + env(safe-area-inset-top)) 12px 10px 18px; font-weight: 700; font-size: 14px; }
.ds-lb__close { width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 18px; }
.ds-lb__track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.ds-lb__track::-webkit-scrollbar { display: none; }
.ds-lb__item { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; padding: 0 0 calc(12px + env(safe-area-inset-bottom)); }
.ds-lb__item img, .ds-lb__item video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ds-lb { z-index: 100000; }
.ds-lb[hidden] { display: none !important; }

/* ---------- Viber zajednica ---------- */
.ds-viber { --viber: #7360f2; display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; padding: 20px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ds-viber__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #f1eefe; color: var(--viber); }
.ds-viber__icon .ds-i { width: 26px; height: 26px; }
.ds-viber__title { margin: 0 0 4px; font-family: var(--f-display); font-size: 1.45rem; line-height: 1.15; color: var(--ink); }
.ds-viber__text { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.ds-viber__btn { --bg-b: var(--viber); --fg-b: #fff; grid-column: 1 / -1; justify-content: center; border-color: var(--viber); }
.ds-viber__btn:hover { box-shadow: 0 10px 24px rgba(115, 96, 242, .28); }
.ds-viber--thanks { margin: 28px 0 8px; text-align: left; background: linear-gradient(135deg, #fff 0%, #f7f4ff 100%); border-color: #e3ddfb; }
@media (min-width: 760px) {
	.ds-viber { grid-template-columns: auto 1fr auto; padding: 24px 28px; }
	.ds-viber__btn { grid-column: auto; }
}

.ds-viber-slot { padding-bottom: 40px; }
.ds-viber--product { padding: 16px 18px; box-shadow: none; background: #faf8ff; border-color: #e6e0fb; }
.ds-viber--product .ds-viber__icon { width: 40px; height: 40px; }
.ds-viber--product .ds-viber__icon .ds-i { width: 22px; height: 22px; }
.ds-viber--product .ds-viber__title { font-size: 1.2rem; }
.ds-viber--product .ds-viber__text { font-size: .9rem; }
.ds-viber--product .ds-viber__btn { min-height: 44px; padding: 10px 18px; font-size: .92rem; }
@media (min-width: 900px) { .ds-viber-slot { padding-bottom: 64px; } }

/* Stock: sold-out size + "Zalihe se brzo tope" (only when a real quantity is set) */
.ds-size.is-oos { opacity: .4; text-decoration: line-through; cursor: not-allowed; background: var(--paper); color: var(--ink); border-style: dashed; }
.ds-lowstock { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; background: #fff4ec; color: #9a3412; font-size: 13.5px; line-height: 1.35; display: flex; gap: 8px; align-items: center; }
.ds-lowstock::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: #ea580c; flex: none; animation: ds-pulse 1.6s ease-in-out infinite; }
.ds-lowstock[hidden] { display: none; }
.ds-lowstock--sm { margin: 4px 0 6px; padding: 6px 10px; font-size: 12.5px; }
@keyframes ds-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .ds-lowstock::before { animation: none; } }

/* Larger tap targets (min ~44px) */
.ds-qty button { width: 44px; height: 44px; }
.ds-consent { padding: 6px 0; }
.ds-consent input { width: 22px; height: 22px; margin-top: 0; }
.ds-footer ul { gap: 2px; }
.ds-footer ul a { display: inline-flex; align-items: center; min-height: 40px; }
.ds-footer__bottom a { display: inline-block; padding: 8px 4px; }
.ds-order .ds-coupon summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
.ds-order .ds-coupon__row input, .ds-order .ds-coupon__row button { min-height: 44px; }
.ds-order .ds-coupon__on button { min-height: 40px; padding: 0 10px; }

/* Logo image */
.ds-brand { display: inline-flex; align-items: center; justify-self: center; line-height: 0; }
.ds-header .ds-brand { grid-column: 2; }
.ds-logo { display: block; width: auto; height: 46px; max-width: 42vw; }
.ds-brand--sm .ds-logo { height: 38px; }
.ds-brand--footer { justify-self: start; }
.ds-brand--footer .ds-logo { height: 64px; }
@media (max-width: 380px) { .ds-header .ds-logo { height: 40px; } }
@media (min-width: 700px) { .ds-header .ds-logo { height: 54px; } }

/* =====================================================================
 * Korpa (kao na konig.ba)
 * ===================================================================== */
.ds-header__inner { grid-template-columns: 96px 1fr 96px; }
.ds-header__act { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 0; }
.ds-cartbtn { position: relative; }
.ds-cartbtn__n { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--bg, #fbf8f3); }
.ds-cartbtn__n[hidden] { display: none; }
@media (min-width: 960px) { .ds-header__inner { grid-template-columns: 1fr auto 1fr; } }
#ds-add-cart { margin-top: 10px; }
#ds-add-cart .ds-i { width: 18px; height: 18px; }

/* Bočna korpa */
.ds-cd { position: fixed; inset: 0; z-index: 120; }
.ds-cd[hidden] { display: none; }
.ds-cd__bg { position: absolute; inset: 0; background: rgba(28,25,23,.45); opacity: 0; transition: opacity .25s; }
.ds-cd__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column; background: var(--paper); box-shadow: -20px 0 50px rgba(28,25,23,.18); transform: translateX(100%); transition: transform .26s var(--ease, ease); }
.ds-cd.is-open .ds-cd__bg { opacity: 1; }
.ds-cd.is-open .ds-cd__panel { transform: none; }
.ds-cd__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.ds-cd__h { margin: 0; font-family: var(--f-display); font-size: 26px; font-weight: 600; }
.ds-cd__body { flex: 1; overflow-y: auto; padding: 14px 20px; overscroll-behavior: contain; }
.ds-cd__foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--paper); }
.ds-cd__ok { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 11px 14px; border-radius: 12px; background: #e8f1eb; color: var(--ok); font-weight: 800; font-size: 14px; }
.ds-cd__ok .ds-i { width: 18px; height: 18px; }
.ds-cd__note { display: flex; gap: 8px; align-items: flex-start; margin: 2px 0 0; font-size: 12.5px; color: var(--muted, #6b6159); line-height: 1.45; }
.ds-cd__note .ds-i { flex: none; width: 17px; height: 17px; margin-top: 1px; }

/* Stavke */
.ds-cls { list-style: none; margin: 0; padding: 0; }
.ds-cl { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line-2); }
.ds-cl:last-child { border-bottom: 0; }
.ds-cl.is-oos { opacity: .7; }
.ds-cl__img { width: 72px; height: 90px; border-radius: 12px; overflow: hidden; background: var(--cream); }
.ds-cl__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-cl__d { min-width: 0; }
.ds-cl__t { margin: 0; font-weight: 800; font-size: 15px; line-height: 1.3; }
.ds-cl__t a { color: inherit; }
.ds-cl__m, .ds-cl__each { margin: 3px 0 0; font-size: 13px; color: var(--ink-2); }
.ds-cl__warn { margin: 6px 0 0; font-size: 13px; font-weight: 800; color: var(--err); }
.ds-cl__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.ds-cl__p { font-size: 15px; white-space: nowrap; }
.ds-cl__rm { display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); font-size: 13px; font-weight: 700; cursor: pointer; }
.ds-cl__rm:hover { background: #fbeaea; color: var(--err); }
.ds-cl__rm .ds-i { width: 15px; height: 15px; }
.ds-cl__badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #e8f1eb; color: var(--ok); font-size: 12px; font-weight: 800; }
.ds-cl__badge .ds-i { width: 14px; height: 14px; }
.ds-cls--mini .ds-cl { grid-template-columns: 56px 1fr auto; padding: 10px 0; }
.ds-cls--mini .ds-cl__img { width: 56px; height: 70px; border-radius: 10px; }
.ds-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.ds-qty button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--ink); }
.ds-qty button:hover { background: var(--cream); }
.ds-qty .ds-i { width: 16px; height: 16px; }
.ds-qty span { min-width: 30px; text-align: center; font-weight: 800; }

/* Obračun */
.ds-sum { display: grid; }
.ds-sum__row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--ink-2); }
.ds-sum__row:first-child { border-top: 0; }
.ds-sum__row b { color: var(--ink); }
.ds-sum__row.is-disc, .ds-sum__row.is-disc b { color: var(--ok); }
.ds-sum__row.is-total { margin-top: 2px; padding-top: 13px; border-top: 3px double var(--ink); font-size: 16px; font-weight: 800; color: var(--ink); }
.ds-sum__row.is-total b { font-size: 22px; }

.ds-empty { display: grid; justify-items: center; gap: 4px; padding: 28px 8px; text-align: center; color: var(--ink-2); }
.ds-empty > .ds-i { width: 40px; height: 40px; color: var(--gold); margin-bottom: 6px; }
.ds-empty p { margin: 0; }
.ds-empty .ds-btn { margin-top: 14px; }

/* Stranice Korpa i Narudžba */
.ds-cp { max-width: 1080px; margin: 0 auto; }
.ds-cp__loading { padding: 40px 0; text-align: center; color: var(--ink-2); }
.ds-cksteps { list-style: none; display: flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 0; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ds-cksteps li { display: flex; align-items: center; gap: 8px; flex: 1; white-space: nowrap; }
.ds-cksteps li:not(:last-child)::after { content: ""; flex: 1; height: 2px; min-width: 12px; background: var(--line-2); border-radius: 2px; }
.ds-cksteps li.is-done:not(:last-child)::after { background: var(--ok); }
.ds-cksteps span { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 999px; border: 2px solid var(--line-2); background: var(--paper); font-size: 13px; }
.ds-cksteps .is-on span { background: var(--ink); border-color: var(--ink); color: #fff; }
.ds-cksteps .is-done span { background: var(--ok); border-color: var(--ok); color: #fff; }
.ds-cksteps .ds-i { width: 15px; height: 15px; }
@media (max-width: 560px) { .ds-cksteps li { font-size: 0; } .ds-cksteps li.is-on { font-size: 13px; } }
.ds-cp__h { margin: 0 0 6px; font-family: var(--f-display); font-size: clamp(30px, 6vw, 42px); font-weight: 600; line-height: 1.1; }
.ds-cp__h small { font-family: var(--f-body, inherit); font-size: 15px; font-weight: 700; color: var(--ink-2); }
.ds-cp__sub { margin: 0 0 18px; color: var(--ink-2); }
.ds-cp__grid { display: grid; gap: 16px; margin-top: 14px; }
@media (min-width: 900px) { .ds-cp__grid { grid-template-columns: 1fr 380px; align-items: start; } .ds-cp__sum { position: sticky; top: calc(var(--header-h, 72px) + 16px); } }
.ds-cp__card { padding: 18px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(28,25,23,.05); }
.ds-cp__sum { display: grid; gap: 12px; }
.ds-cp__h2 { margin: 0; font-size: 19px; font-weight: 800; }
.ds-cp__sumhead { display: flex; justify-content: space-between; align-items: baseline; }
.ds-cp__sumhead a { font-weight: 800; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ds-cp__back { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 800; font-size: 14px; color: var(--ink); }
.ds-cp__back .ds-i { width: 18px; height: 18px; }
.ds-field small { font-size: 12.5px; color: var(--ink-2); }
.ds-cp__note summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 800; font-size: 14px; list-style: none; padding: 6px 0; }
.ds-cp__note summary::-webkit-details-marker { display: none; }
.ds-cp__note summary small { font-weight: 600; color: var(--ink-2); }
.ds-cp__note summary .ds-i { width: 18px; height: 18px; }
.ds-cp__note textarea { width: 100%; min-height: 70px; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; font-size: 16px; background: var(--paper); }
.ds-cp__pay { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--cream); }
.ds-cp__pay .ds-i { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.ds-cp__pay p { margin: 3px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }

/* Specijalna ponuda */
.ds-offer { margin-top: 16px; padding: 18px; border: 2px dashed #8fb59c; border-radius: 20px; background: #f6faf7; }
.ds-offer.is-on { border-style: solid; border-color: var(--ok); }
.ds-offer__h { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; font-weight: 800; }
.ds-offer__h .ds-i { width: 22px; height: 22px; color: var(--ok); }
.ds-offer__head p { margin: 4px 0 12px; font-size: 14px; color: var(--ink-2); }
.ds-offer__p { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: start; }
.ds-offer__img { width: 112px; height: 140px; border-radius: 14px; overflow: hidden; background: var(--cream); }
.ds-offer__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-offer__d { display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); }
.ds-offer__d > b { font-size: 16px; color: var(--ink); }
.ds-offer__c { font-size: 13px; }
.ds-offer__price { margin: 4px 0 0; }
.ds-offer__price b { font-size: 20px; color: var(--ink); }
.ds-offer__price s { margin-left: 6px; color: var(--ink-2); }
.ds-offer__sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.ds-offer__add { margin-top: 14px; }
.ds-offer__add .ds-i { width: 18px; height: 18px; }
.ds-offer__done { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #e8f1eb; }
.ds-offer__done p { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 800; color: var(--ok); }
.ds-offer__done .ds-i { width: 18px; height: 18px; }
.ds-offer__rm { border: 0; background: none; font-weight: 700; text-decoration: underline; cursor: pointer; color: var(--ink-2); }
.page .ds-prose .ds-cp a.ds-btn { text-decoration: none; }

/* Kod za popust (isti izgled kao na stranici proizvoda) */
.ds-coupon summary{cursor:pointer;font-size:14px;font-weight:700;color:var(--ink-2);list-style:none}
.ds-coupon summary::-webkit-details-marker{display:none}
.ds-coupon summary::before{content:"% ";color:var(--gold);font-weight:800}
.ds-coupon__row{display:flex;gap:8px;margin-top:10px}
.ds-coupon__row input{flex:1;min-width:0;min-height:48px;padding:12px 14px;border:1px solid var(--line-2);border-radius:12px;background:var(--paper);font-size:16px;text-transform:uppercase;letter-spacing:.06em}
.ds-coupon__row input:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 4px rgba(169,132,76,.18)}
.ds-coupon__row button{min-height:48px;padding:0 18px;border-radius:12px;border:1px solid var(--ink);background:var(--ink);color:#fff;font-weight:700}
.ds-coupon__msg{margin:8px 0 0;font-size:13px;font-weight:700}
.ds-coupon__msg.is-err{color:var(--err)}
.ds-coupon__on{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:12px;background:#e8f1eb;color:var(--ok);font-weight:800;font-size:14px}
.ds-coupon__on button{border:0;background:none;color:var(--ink-2);font-size:13px;font-weight:700;text-decoration:underline}
.ds-cartwrap { padding-top: 22px; padding-bottom: 56px; }
.admin-bar .ds-cd__panel { top: 46px; }
@media (min-width: 783px) { .admin-bar .ds-cd__panel { top: 32px; } }
