/*
Theme Name: Dovanos360
Theme URI: https://www.dovanos360.lt/
Description: Custom theme for Dovanos360 — a Lithuanian corporate-gifting and promotional-products store. Hand-built, no page builder, WooCommerce native. Built by OPA Reklama.
Author: OPA Reklama
Author URI: https://www.opareklama.lt/
Version: 1.0.0
Text Domain: dovanos360
Requires PHP: 8.0
*/

/* ==========================================================================
   Tokens — "Premium Dark" (warm graphite, champagne gold, stone mounts)
   ========================================================================== */
:root {
	--d3-bg: #12100e;
	--d3-bg-2: #171411;
	--d3-raised: #1e1a16;
	--d3-raised-2: #26211c;
	--d3-line: rgba(29, 22, 38, .10);
	--d3-line-2: rgba(29, 22, 38, .18);
	--d3-ink: #f3ece1;
	--d3-soft: #a69c8f;
	--d3-mute: #7b7267;
	--d3-gold: #d6ab5f;
	--d3-gold-2: #ebcb8f;
	--d3-gold-ink: #1a140b;
	--d3-stone: #ece6dc;
	--d3-stone-2: #e2dbcf;
	--d3-stone-ink: #1b1713;
	--d3-stone-soft: #5f574d;
	--d3-mount: #efeae2;
	--d3-ok: #8fbf98;
	--d3-err: #e58b7c;

	--d3-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--d3-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--d3-r-sm: 10px;
	--d3-r: 16px;
	--d3-r-lg: 24px;
	--d3-r-xl: 32px;
	--d3-ease: cubic-bezier(.22, .8, .24, 1);
	--d3-shadow: 0 24px 60px -24px rgba(60, 30, 80, .2);
	--d3-container: 1320px;
	--d3-gutter: clamp(16px, 4vw, 40px);
	--d3-header-h: 76px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--d3-bg);
	color: var(--d3-ink);
	font-family: var(--d3-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--d3-ease), opacity .25s var(--d3-ease); }
a:hover { color: var(--d3-gold-2); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; color: var(--d3-ink); }
p { margin: 0 0 1em; }
em { font-style: italic; }
::selection { background: var(--d3-gold); color: var(--d3-gold-ink); }
:focus-visible { outline: 2px solid var(--d3-gold); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.d3-skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--d3-gold); color: var(--d3-gold-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.d3-skip:focus { top: 12px; color: var(--d3-gold-ink); }

.d3-container { width: 100%; max-width: var(--d3-container); margin: 0 auto; padding-left: var(--d3-gutter); padding-right: var(--d3-gutter); }
.d3-main { display: block; }
.d3-center { text-align: center; margin-top: 48px; }
.d3-muted { color: var(--d3-soft); }

/* Type */
.d3-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 18px;
	font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
	color: var(--d3-gold);
}
.d3-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.d3-eyebrow__dot { display: none; }
.d3-eyebrow--dark { color: #9b3685; }
.d3-h2 {
	font-family: var(--d3-serif); font-weight: 400;
	font-size: clamp(32px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.025em;
	margin: 0;
}
.d3-h2 em, .d3-hero__title em, .d3-page-head__title em, .d3-form-card__title em, blockquote em {
	font-family: var(--d3-serif); font-style: italic; font-weight: 500; color: var(--d3-gold-2);
}
.d3-lead { font-family: var(--d3-serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; color: var(--d3-ink); }

/* Buttons */
.d3-btn {
	--bg: transparent; --fg: var(--d3-ink); --bd: var(--d3-line-2);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px;
	border-radius: 999px; border: 1px solid var(--bd);
	background: var(--bg); color: var(--fg);
	font-size: 15px; font-weight: 600; letter-spacing: .01em; line-height: 1; white-space: nowrap;
	position: relative; overflow: hidden; isolation: isolate;
	transition: transform .35s var(--d3-ease), background .35s var(--d3-ease), color .35s var(--d3-ease), border-color .35s var(--d3-ease), box-shadow .35s var(--d3-ease);
}
.d3-btn span[aria-hidden] { transition: transform .35s var(--d3-ease); }
.d3-btn:hover span[aria-hidden] { transform: translateX(4px); }
.d3-btn:hover { transform: translateY(-2px); }
.d3-btn--gold { --bg: linear-gradient(180deg, var(--d3-gold-2), var(--d3-gold)); --fg: var(--d3-gold-ink); --bd: transparent; background: linear-gradient(180deg, var(--d3-gold-2), var(--d3-gold)); box-shadow: 0 10px 30px -12px rgba(155, 54, 133, .6), inset 0 1px 0 rgba(255,255,255,.35); }
.d3-btn--gold:hover { color: var(--d3-gold-ink); box-shadow: 0 16px 40px -14px rgba(155, 54, 133, .75), inset 0 1px 0 rgba(255,255,255,.35); }
.d3-btn--line:hover { border-color: var(--d3-gold); color: var(--d3-gold-2); }
.d3-btn--dark { --bg: var(--d3-stone-ink); --fg: var(--d3-stone); --bd: var(--d3-stone-ink); }
.d3-btn--dark:hover { color: #fff; background: #000; }
.d3-btn--ghost { --bd: var(--d3-line-2); }
.d3-btn--ghost:hover { border-color: var(--d3-gold); color: var(--d3-gold-2); }
.d3-btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.d3-btn--block { width: 100%; }
.d3-link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--d3-ink); border-bottom: 1px solid var(--d3-line-2); padding-bottom: 6px; }
.d3-link-arrow span { transition: transform .35s var(--d3-ease); }
.d3-link-arrow:hover { border-color: var(--d3-gold); }
.d3-link-arrow:hover span { transform: translateX(4px); }

/* Reveal initial state (JS animates; noscript + reduced-motion show) */
[data-d3-reveal] { opacity: 0; transform: translateY(28px); }
[data-d3-reveal].is-visible { opacity: 1; transform: none; transition: opacity .8s var(--d3-ease), transform .8s var(--d3-ease); }
.d3-line { display: block; overflow: hidden; padding-bottom: .06em; }
.d3-line > span { display: inline-block; }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.d3-topbar { background: #faf8fc; border-bottom: 1px solid var(--d3-line); font-size: 12.5px; color: var(--d3-soft); letter-spacing: .02em; }
.d3-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.d3-topbar__right { display: flex; gap: 22px; }
.d3-topbar a:hover { color: var(--d3-gold-2); }

.d3-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .82);
	-webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px);
	border-bottom: 1px solid var(--d3-line);
	transition: background .35s var(--d3-ease), box-shadow .35s var(--d3-ease);
}
.d3-header.is-scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 10px 40px -20px rgba(60, 30, 80, .12); }
.admin-bar .d3-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .d3-header { top: 0; } }
.d3-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--d3-header-h); transition: min-height .35s var(--d3-ease); }
.d3-header.is-scrolled .d3-header__inner { min-height: 64px; }

.d3-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--d3-ink); flex-shrink: 0; }
.d3-logo:hover { color: var(--d3-ink); }
.d3-logo__mark { color: var(--d3-gold); display: inline-flex; transition: transform .8s var(--d3-ease); }
.d3-logo:hover .d3-logo__mark { transform: rotate(-90deg); }
.d3-logo__word { font-family: var(--d3-serif); font-size: 25px; font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.d3-logo__word b { font-family: var(--d3-sans); font-weight: 600; font-size: .62em; letter-spacing: .06em; color: var(--d3-gold); margin-left: 3px; vertical-align: .32em; }

.d3-nav { flex: 1; display: flex; justify-content: center; }
.d3-nav__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.d3-nav__menu > li { position: static; }
.d3-nav__menu > li > a {
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	padding: 10px 16px; border-radius: 999px;
	font-size: 15px; font-weight: 500; color: var(--d3-ink);
	transition: background .25s var(--d3-ease), color .25s var(--d3-ease);
}
.d3-nav__menu > li > a:hover, .d3-nav__menu > li:focus-within > a { background: rgba(29, 22, 38, .07); color: var(--d3-ink); }
.d3-nav__menu svg { opacity: .6; transition: transform .3s var(--d3-ease); }
.d3-nav__menu > li:hover svg { transform: rotate(180deg); }
.d3-nav__mobile-extra { display: none; }

.d3-megamenu {
	position: absolute; left: 50%; top: 100%;
	width: min(1100px, calc(100vw - 48px));
	transform: translate(-50%, 8px);
	padding: 22px; border-radius: var(--d3-r-lg);
	background: rgba(255, 255, 255, .98); border: 1px solid var(--d3-line);
	box-shadow: 0 40px 80px -30px rgba(60, 30, 80, .16);
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity .3s var(--d3-ease), transform .3s var(--d3-ease), visibility .3s;
}
.has-mega:hover .d3-megamenu, .has-mega:focus-within .d3-megamenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.d3-megamenu__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.d3-megamenu__item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--d3-r); transition: background .25s var(--d3-ease); }
.d3-megamenu__item:hover { background: rgba(29, 22, 38, .06); color: var(--d3-ink); }
.d3-megamenu__img { width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; background: var(--d3-mount); overflow: hidden; display: grid; place-items: center; }
.d3-megamenu__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6px; transition: transform .5s var(--d3-ease); }
.d3-megamenu__item:hover img { transform: scale(1.08); }
.d3-megamenu__item strong { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.d3-megamenu__item em { font-style: normal; font-size: 12.5px; color: var(--d3-soft); }
.d3-megamenu__all { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--d3-line); font-size: 14px; font-weight: 600; color: var(--d3-gold-2); }

.d3-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.d3-search { position: relative; display: flex; align-items: center; }
.d3-search svg { position: absolute; left: 14px; color: var(--d3-soft); pointer-events: none; }
.d3-search input[type="search"] {
	width: 210px; height: 42px; padding: 0 16px 0 38px;
	border-radius: 999px; border: 1px solid var(--d3-line);
	background: rgba(29, 22, 38, .05); color: var(--d3-ink); font: inherit; font-size: 14px;
	transition: width .35s var(--d3-ease), border-color .25s, background .25s;
}
.d3-search input[type="search"]::placeholder { color: var(--d3-mute); }
.d3-search input[type="search"]:focus { outline: none; width: 260px; border-color: var(--d3-gold); background: rgba(29, 22, 38, .08); }
.d3-search-toggle { display: none; }
.d3-icon-btn {
	position: relative; display: inline-grid; place-items: center;
	width: 42px; height: 42px; border-radius: 999px; border: 1px solid transparent;
	background: transparent; color: var(--d3-ink);
	transition: background .25s, border-color .25s;
}
.d3-icon-btn:hover { background: rgba(29, 22, 38, .07); color: var(--d3-ink); }
.d3-cart-count {
	position: absolute; top: 2px; right: 0;
	min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
	background: var(--d3-gold); color: var(--d3-gold-ink);
	font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.d3-cart-count[hidden] { display: none; }
.d3-lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--d3-line); }
.d3-lang a { padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--d3-soft); }
.d3-lang a.is-active { background: rgba(29, 22, 38, .1); color: var(--d3-ink); }
.d3-header__cta { margin-left: 6px; }

.d3-nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--d3-line); border-radius: 999px; background: transparent; position: relative; }
.d3-nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--d3-ink); transition: transform .35s var(--d3-ease), opacity .25s; }
.d3-nav-toggle span:nth-child(1) { top: 16px; }
.d3-nav-toggle span:nth-child(2) { top: 21px; }
.d3-nav-toggle span:nth-child(3) { top: 26px; }
.d3-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.d3-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.d3-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1240px) {
	.d3-header__cta { display: none; }
	.d3-search input[type="search"] { width: 170px; }
}
@media (max-width: 1080px) {
	.d3-header__lang { display: none; }
	.d3-nav__menu > li > a { padding: 10px 12px; }
}
@media (max-width: 960px) {
	.d3-topbar__inner > span:first-child { display: none; }
	.d3-topbar__inner { justify-content: center; }
	.d3-header__inner { gap: 10px; }
	.d3-nav-toggle { display: inline-block; }
	.d3-search { position: absolute; left: var(--d3-gutter); right: var(--d3-gutter); top: calc(100% + 8px); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .3s var(--d3-ease); }
	.d3-search.is-open { opacity: 1; visibility: visible; transform: none; }
	.d3-search input[type="search"], .d3-search input[type="search"]:focus { width: 100%; height: 50px; background: var(--d3-raised); border-color: var(--d3-line-2); }
	.d3-search-toggle { display: inline-grid; }
	.d3-nav {
		position: fixed; inset: 0; top: 0; z-index: -1;
		display: flex; flex-direction: column; justify-content: space-between;
		padding: calc(var(--d3-header-h) + 60px) var(--d3-gutter) 32px;
		background: var(--d3-bg);
		opacity: 0; visibility: hidden; transform: translateY(-12px);
		transition: opacity .4s var(--d3-ease), transform .4s var(--d3-ease), visibility .4s;
		overflow-y: auto;
	}
	.d3-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.d3-nav__menu { flex-direction: column; gap: 0; }
	.d3-nav__menu > li > a { font-family: var(--d3-serif); font-size: 34px; font-weight: 400; padding: 12px 0; border-radius: 0; width: 100%; border-bottom: 1px solid var(--d3-line); justify-content: space-between; }
	.d3-nav__menu > li > a:hover { background: none; }
	.d3-nav__menu svg { display: none; }
	.d3-megamenu { display: none; }
	.d3-nav__mobile-extra { display: grid; gap: 16px; margin-top: 32px; }
	body.d3-nav-open { overflow: hidden; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.d3-hero {
	position: relative; overflow: hidden;
	padding: clamp(56px, 8vw, 110px) 0 clamp(70px, 9vw, 120px);
	background:
		radial-gradient(ellipse 60% 60% at 75% 45%, rgba(155, 54, 133, .10), transparent 70%),
		linear-gradient(180deg, var(--d3-bg) 0%, #ffffff 100%);
	border-bottom: 1px solid var(--d3-line);
}
.d3-hero__grain {
	position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(var(--d3-line) 1px, transparent 1px), linear-gradient(90deg, var(--d3-line) 1px, transparent 1px);
	background-size: 88px 88px;
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 0%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 0%, transparent 75%);
}
.d3-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.d3-hero__title {
	font-family: var(--d3-serif); font-weight: 400;
	font-size: clamp(44px, 6.4vw, 92px); line-height: .98; letter-spacing: -.035em;
	margin: 0 0 28px;
}
.d3-hero__lede { font-size: clamp(16px, 1.3vw, 18.5px); color: var(--d3-soft); max-width: 50ch; margin-bottom: 34px; }
.d3-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.d3-hero__facts { display: flex; gap: clamp(20px, 3vw, 44px); margin: 0; padding-top: 28px; border-top: 1px solid var(--d3-line); max-width: 520px; }
.d3-hero__facts dt { font-family: var(--d3-serif); font-size: clamp(30px, 3vw, 42px); line-height: 1; color: var(--d3-ink); margin-bottom: 8px; }
.d3-hero__facts dd { margin: 0; font-size: 13px; color: var(--d3-soft); letter-spacing: .02em; }

.d3-hero__stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 640px; width: 100%; margin-left: auto; }
.d3-hero__ring { position: absolute; inset: 6%; border: 1px solid var(--d3-line-2); border-radius: 50%; }
.d3-hero__ring--inner { inset: 22%; border-style: dashed; border-color: rgba(155, 54, 133, .28); animation: d3-spin 60s linear infinite; }
@keyframes d3-spin { to { transform: rotate(360deg); } }
.d3-hero__glow { position: absolute; left: 20%; right: 20%; top: 25%; bottom: 20%; border-radius: 50%; background: radial-gradient(circle, rgba(206, 37, 65, .22), transparent 65%); filter: blur(20px); }
.d3-hero__item { position: absolute; margin: 0; will-change: transform; }
.d3-hero__item img { width: 100%; height: auto; filter: drop-shadow(0 40px 40px rgba(40, 20, 50, .22)); }
.d3-hero__item--1 { width: 38%; left: 4%; bottom: 17%; z-index: 1; }
.d3-hero__item--2 { width: 50%; left: 26%; bottom: 13%; z-index: 3; }
.d3-hero__item--3 { width: 38%; right: 2%; bottom: 18%; z-index: 2; }
.d3-hero__floor { position: absolute; left: 10%; right: 6%; bottom: 10%; height: 9%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(40, 20, 50, .22), transparent 70%); z-index: 0; }
.d3-hero__tag {
	position: absolute; z-index: 5;
	display: grid; gap: 2px; padding: 14px 18px;
	border-radius: var(--d3-r); border: 1px solid var(--d3-line-2);
	background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	box-shadow: var(--d3-shadow);
}
.d3-hero__tag b { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--d3-gold-2); }
.d3-hero__tag span { font-size: 13px; color: var(--d3-soft); }
.d3-hero__tag--a { top: 8%; right: 0; }
.d3-hero__tag--b { bottom: 4%; left: 0; }
.d3-hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--d3-mute); }
.d3-hero__scroll span { width: 1px; height: 28px; background: linear-gradient(var(--d3-gold), transparent); animation: d3-scroll 2.2s var(--d3-ease) infinite; transform-origin: top; }
@keyframes d3-scroll { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 900px) {
	.d3-hero__grid { grid-template-columns: 1fr; }
	.d3-hero__stage { max-width: 480px; margin: 8px auto 0; order: 2; }
	.d3-hero__scroll { display: none; }
}
@media (max-width: 520px) {
	.d3-hero__facts { gap: 18px; }
	.d3-hero__tag { padding: 10px 12px; }
	.d3-hero__tag b, .d3-hero__tag span { font-size: 11.5px; }
	.d3-hero__actions .d3-btn { flex: 1 1 100%; }
}

/* Ticker */
.d3-ticker { overflow: hidden; border-bottom: 1px solid var(--d3-line); background: var(--d3-bg-2); padding: 22px 0; }
.d3-ticker__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: d3-ticker 48s linear infinite; }
.d3-ticker span { font-family: var(--d3-serif); font-size: clamp(20px, 2.2vw, 28px); font-style: italic; color: var(--d3-ink); white-space: nowrap; }
.d3-ticker i { font-style: normal; color: var(--d3-gold); font-size: 14px; }
@keyframes d3-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .d3-ticker__track, .d3-hero__ring--inner { animation: none; } }

/* ==========================================================================
   Sections
   ========================================================================== */
.d3-section { padding: clamp(72px, 9vw, 128px) 0; }
.d3-section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.d3-section--raised { background: var(--d3-bg-2); border-top: 1px solid var(--d3-line); border-bottom: 1px solid var(--d3-line); }
.d3-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.d3-section-head--center { justify-content: center; text-align: center; }
.d3-section-head--center .d3-eyebrow::before { display: none; }
.d3-section-head__note { max-width: 46ch; color: var(--d3-soft); margin: 0; }

/* Bento categories */
.d3-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.d3-bento__item {
	position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
	padding: 22px; border-radius: var(--d3-r-lg);
	background: var(--d3-raised); border: 1px solid var(--d3-line);
	transition: border-color .4s var(--d3-ease), transform .5s var(--d3-ease);
}
.d3-bento__item:hover { border-color: rgba(155, 54, 133, .45); color: var(--d3-ink); }
.d3-bento__item--1 { grid-column: span 2; grid-row: span 2; }
.d3-bento__item--2 { grid-column: span 2; }
.d3-bento__img { position: absolute; top: 18px; right: 18px; width: 46%; aspect-ratio: 1; border-radius: var(--d3-r); background: var(--d3-mount); overflow: hidden; display: grid; place-items: center; }
.d3-bento__item--1 .d3-bento__img { width: 62%; top: 26px; right: 26px; }
.d3-bento__item--2 .d3-bento__img { width: 34%; }
.d3-bento__img img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; transition: transform .8s var(--d3-ease); }
.d3-bento__item:hover .d3-bento__img img { transform: scale(1.08) rotate(-2deg); }
.d3-bento__meta { position: relative; display: grid; gap: 4px; max-width: 60%; }
.d3-bento__num { font-size: 12px; letter-spacing: .14em; color: var(--d3-gold); font-weight: 600; }
.d3-bento__meta strong { font-family: var(--d3-serif); font-weight: 400; font-size: 24px; line-height: 1.1; }
.d3-bento__item--1 .d3-bento__meta strong { font-size: clamp(30px, 3vw, 42px); }
.d3-bento__meta em { font-style: normal; font-size: 13px; color: var(--d3-soft); }
.d3-bento__go { position: absolute; right: 18px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--d3-line-2); transition: background .35s var(--d3-ease), color .35s, transform .35s var(--d3-ease); }
.d3-bento__item:hover .d3-bento__go { background: var(--d3-gold); color: var(--d3-gold-ink); border-color: var(--d3-gold); transform: rotate(45deg); }
@media (max-width: 1000px) {
	.d3-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
	.d3-bento__item--1 { grid-column: span 2; grid-row: span 1; }
	.d3-bento__item--1 .d3-bento__img { width: 40%; }
	.d3-bento__item--2 { grid-column: span 2; }
}
@media (max-width: 560px) {
	.d3-bento { grid-template-columns: 1fr; grid-auto-rows: 170px; }
	.d3-bento__item--1, .d3-bento__item--2 { grid-column: auto; }
	.d3-bento__img, .d3-bento__item--1 .d3-bento__img, .d3-bento__item--2 .d3-bento__img { width: 128px; top: 50%; transform: translateY(-50%); right: 20px; }
	.d3-bento__item { justify-content: center; }
	.d3-bento__go { display: none; }
	.d3-bento__item--1 .d3-bento__meta strong { font-size: 26px; }
}

/* Tabs */
.d3-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid var(--d3-line); background: var(--d3-bg-2); }
.d3-tab { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--d3-soft); transition: background .3s var(--d3-ease), color .3s; }
.d3-tab:hover { color: var(--d3-ink); }
.d3-tab.is-active { background: var(--d3-ink); color: var(--d3-bg); }
.d3-tab-panel[hidden] { display: none; }
@media (max-width: 640px) {
	.d3-tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; border-radius: 16px; scrollbar-width: none; }
	.d3-tabs::-webkit-scrollbar { display: none; }
	.d3-tab { white-space: nowrap; }
}

/* Product card (homepage + WooCommerce loop share the look) */
.d3-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .d3-grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .d3-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.d3-card, .woocommerce ul.products li.product {
	position: relative; display: flex; flex-direction: column; height: 100%;
	border-radius: var(--d3-r-lg); background: var(--d3-raised); border: 1px solid var(--d3-line);
	padding: 10px; overflow: hidden;
	transition: border-color .4s var(--d3-ease), transform .5s var(--d3-ease), box-shadow .5s var(--d3-ease);
}
.d3-card:hover, .woocommerce ul.products li.product:hover { border-color: rgba(155, 54, 133, .4); transform: translateY(-4px); box-shadow: var(--d3-shadow); }
.d3-card__media, .woocommerce ul.products li.product a img {
	background: var(--d3-mount);
}
.d3-card__media { display: block; aspect-ratio: 1; border-radius: calc(var(--d3-r-lg) - 6px); overflow: hidden; }
.d3-card__media img, .woocommerce ul.products li.product a img {
	width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; padding: 8%;
	mix-blend-mode: multiply; transition: transform .8s var(--d3-ease);
}
.d3-card:hover .d3-card__media img, .woocommerce ul.products li.product:hover a img { transform: scale(1.06); }
.d3-card__body { display: grid; gap: 6px; padding: 16px 8px 10px; }
.d3-card__cat { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--d3-gold); }
.d3-card__title { font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--d3-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.d3-card__price, .woocommerce ul.products li.product .price { font-family: var(--d3-serif); font-size: 19px; color: var(--d3-ink); }
.d3-card__price del, .woocommerce ul.products li.product .price del { color: var(--d3-mute); font-size: .8em; margin-right: 6px; }
.d3-card__price ins, .woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--d3-gold-2); }
.d3-price-quote { font-family: var(--d3-sans); font-size: 13px; font-weight: 600; color: var(--d3-gold-2); letter-spacing: .02em; }

.d3-wishlist-btn {
	position: absolute; top: 20px; right: 20px; z-index: 3;
	width: 38px; height: 38px; border-radius: 50%; border: 0;
	display: grid; place-items: center;
	background: rgba(255, 255, 255, .85); color: var(--d3-stone-ink);
	box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35);
	opacity: 0; transform: scale(.85);
	transition: opacity .3s var(--d3-ease), transform .3s var(--d3-ease), background .25s, color .25s;
}
.d3-card:hover .d3-wishlist-btn, li.product:hover .d3-wishlist-btn, .d3-wishlist-btn.is-active, .d3-wishlist-btn:focus-visible { opacity: 1; transform: none; }
.d3-wishlist-btn:hover { background: #fff; color: #b3261e; }
.d3-wishlist-btn.is-active { color: #b3261e; }
.d3-wishlist-btn.is-active svg { fill: currentColor; }
@media (hover: none) { .d3-wishlist-btn { opacity: 1; transform: none; } }

/* STANLEY band (light stone — rhythm break) */
.d3-stanley { background: var(--d3-stone); color: var(--d3-stone-ink); padding: clamp(72px, 9vw, 128px) 0; position: relative; overflow: hidden; }
.d3-stanley .d3-h2 { color: var(--d3-stone-ink); }
.d3-stanley .d3-h2 em { color: #9b3685; }
.d3-stanley__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.d3-stanley__head .d3-eyebrow::before { display: none; }
.d3-stanley__head p:not(.d3-eyebrow) { color: var(--d3-stone-soft); font-size: 17px; margin: 20px auto 0; max-width: 56ch; }
.d3-stanley__row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; }
.d3-stanley__item { display: grid; justify-items: center; gap: 14px; padding: 18px 6px 16px; border-radius: var(--d3-r-lg); color: var(--d3-stone-ink); transition: background .4s var(--d3-ease); }
.d3-stanley__item img { width: 100%; max-width: 180px; filter: drop-shadow(0 24px 18px rgba(40, 30, 15, .22)); transition: transform .6s var(--d3-ease); }
.d3-stanley__item:hover { background: rgba(255, 255, 255, .5); color: var(--d3-stone-ink); }
.d3-stanley__item:hover img { transform: translateY(-12px) rotate(-3deg); }
.d3-stanley__item span { font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.d3-stanley__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(27, 23, 19, .14); font-size: 14px; color: var(--d3-stone-soft); }
@media (max-width: 900px) {
	.d3-stanley__row { grid-template-columns: repeat(7, 140px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(var(--d3-gutter) * -1); padding-left: var(--d3-gutter); padding-right: var(--d3-gutter); scrollbar-width: none; }
	.d3-stanley__row::-webkit-scrollbar { display: none; }
	.d3-stanley__item { scroll-snap-align: start; }
	.d3-stanley__foot { justify-content: center; text-align: center; }
}

/* Process steps */
.d3-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--d3-line); counter-reset: none; }
.d3-steps li { position: relative; padding: 36px 28px 8px 0; }
.d3-steps li + li { padding-left: 28px; border-left: 1px solid var(--d3-line); }
.d3-steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--d3-gold); transition: width 1.2s var(--d3-ease); }
.d3-steps li.is-visible::before, .d3-steps li[style*="opacity: 1"]::before { width: 64px; }
.d3-steps li + li::before { left: 28px; }
.d3-steps__n { display: block; font-family: var(--d3-serif); font-style: italic; font-size: 48px; line-height: 1; color: var(--d3-gold); margin-bottom: 26px; }
.d3-steps h3 { font-family: var(--d3-serif); font-weight: 400; font-size: 24px; }
.d3-steps p { color: var(--d3-soft); font-size: 15px; margin: 0; }
@media (max-width: 900px) {
	.d3-steps { grid-template-columns: 1fr 1fr; row-gap: 20px; }
	.d3-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
	.d3-steps li:nth-child(3)::before { left: 0; }
}
@media (max-width: 560px) {
	.d3-steps { grid-template-columns: 1fr; border-top: 0; }
	.d3-steps li, .d3-steps li + li { padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--d3-line); }
	.d3-steps li::before, .d3-steps li + li::before { left: 0; }
	.d3-steps__n { font-size: 38px; margin-bottom: 14px; }
}

/* Methods */
.d3-methods { background: var(--d3-bg-2); border-top: 1px solid var(--d3-line); border-bottom: 1px solid var(--d3-line); }
.d3-methods__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.d3-methods__intro { position: sticky; top: calc(var(--d3-header-h) + 40px); }
.d3-methods__intro p:not(.d3-eyebrow) { color: var(--d3-soft); margin: 24px 0 28px; max-width: 46ch; }
.d3-methods__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--d3-line); }
.d3-methods__list li { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--d3-line); transition: padding .4s var(--d3-ease); }
.d3-methods__list li:hover { padding-left: 12px; }
.d3-methods__n { grid-row: span 2; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--d3-gold); padding-top: 9px; }
.d3-methods__list strong { font-family: var(--d3-serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
.d3-methods__d { color: var(--d3-soft); font-size: 15px; margin-top: 4px; }
@media (max-width: 900px) {
	.d3-methods__grid { grid-template-columns: 1fr; }
	.d3-methods__intro { position: static; }
}

/* Services */
.d3-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.d3-service { padding: 32px 28px; border-radius: var(--d3-r-lg); border: 1px solid var(--d3-line); background: linear-gradient(180deg, var(--d3-raised), var(--d3-bg-2)); transition: border-color .4s var(--d3-ease), transform .5s var(--d3-ease); }
.d3-service:hover { border-color: rgba(155, 54, 133, .4); transform: translateY(-4px); }
.d3-service__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; border: 1px solid rgba(155, 54, 133, .35); color: var(--d3-gold-2); margin-bottom: 28px; }
.d3-service h3 { font-family: var(--d3-serif); font-weight: 400; font-size: 23px; }
.d3-service p { color: var(--d3-soft); font-size: 15px; margin: 0; }
@media (max-width: 1000px) { .d3-services__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .d3-services__grid { grid-template-columns: 1fr; } }

/* Mission */
.d3-mission { padding: clamp(80px, 11vw, 160px) 0; text-align: center; border-top: 1px solid var(--d3-line); background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(155, 54, 133, .07), transparent 70%); }
.d3-mission__inner { max-width: 1000px; }
.d3-mission .d3-eyebrow::before { display: none; }
.d3-mission blockquote { margin: 0; }
.d3-mission blockquote p { font-family: var(--d3-serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.d3-mission__sub { color: var(--d3-soft); max-width: 56ch; margin: 30px auto 30px; }

/* CTA */
.d3-cta { padding: 0 0 clamp(72px, 9vw, 120px); }
.d3-cta__box {
	display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
	padding: clamp(36px, 5vw, 72px); border-radius: var(--d3-r-xl);
	background:
		radial-gradient(ellipse 60% 120% at 100% 0%, rgba(255, 255, 255, .35), transparent 60%),
		linear-gradient(135deg, var(--d3-gold-2), var(--d3-gold) 60%, #b98d45);
	color: var(--d3-gold-ink);
	position: relative; overflow: hidden;
}
.d3-cta__box .d3-h2 { color: var(--d3-gold-ink); font-size: clamp(32px, 4vw, 52px); }
.d3-cta__box .d3-h2 em { color: #4a3510; }
.d3-cta__box p:not(.d3-eyebrow) { margin: 16px 0 0; color: rgba(26, 20, 11, .75); max-width: 46ch; }
.d3-cta__box .d3-eyebrow--dark { color: #4a3510; }
.d3-cta__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.d3-cta__tel { font-family: var(--d3-serif); font-size: 24px; color: var(--d3-gold-ink); border-bottom: 1px solid rgba(26, 20, 11, .35); }
.d3-cta__tel:hover { color: #000; }

/* ==========================================================================
   Footer
   ========================================================================== */
.d3-footer { background: #faf8fc; border-top: 1px solid var(--d3-line); padding-top: clamp(64px, 7vw, 96px); overflow: hidden; }
.d3-footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.15fr 1.3fr; gap: 40px; }
@media (max-width: 1180px) { .d3-footer__top { grid-template-columns: repeat(4, 1fr); } .d3-footer__brand { grid-column: 1 / -1; } }
.d3-footer__brand p { color: var(--d3-soft); max-width: 32ch; margin: 18px 0 24px; font-size: 15px; }
.d3-footer h4 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--d3-mute); margin-bottom: 20px; }
.d3-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.d3-footer ul a { color: var(--d3-ink); font-size: 15px; opacity: .85; }
.d3-footer ul a:hover { opacity: 1; color: var(--d3-gold-2); }
.d3-footer__big { display: block; font-family: var(--d3-serif); font-size: 22px; margin-bottom: 8px; }
.d3-footer address { font-style: normal; color: var(--d3-soft); font-size: 14px; line-height: 1.7; margin-top: 16px; }
.d3-footer__word {
	font-family: var(--d3-serif); font-weight: 400; letter-spacing: -.05em; line-height: .8;
	font-size: clamp(64px, 17vw, 260px); text-align: center; white-space: nowrap;
	margin: clamp(48px, 6vw, 80px) 0 -0.12em;
	background: linear-gradient(180deg, rgba(29, 22, 38, .14), rgba(29, 22, 38, 0) 85%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	user-select: none;
}
.d3-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 26px; border-top: 1px solid var(--d3-line); font-size: 13px; color: var(--d3-mute); position: relative; }
.d3-footer__credit a { color: var(--d3-soft); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .d3-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .d3-footer__top { grid-template-columns: 1fr; gap: 32px; } .d3-footer__bottom { justify-content: center; text-align: center; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.d3-page-head {
	padding: clamp(40px, 6vw, 80px) 0 clamp(44px, 6vw, 72px);
	border-bottom: 1px solid var(--d3-line);
	background: radial-gradient(ellipse 50% 90% at 85% 0%, rgba(155, 54, 133, .09), transparent 70%), var(--d3-bg);
}
.d3-page-head__title { font-family: var(--d3-serif); font-weight: 400; font-size: clamp(42px, 6vw, 84px); line-height: 1; letter-spacing: -.035em; margin: 0; }
.d3-page-head__lede { color: var(--d3-soft); font-size: clamp(16px, 1.4vw, 19px); max-width: 56ch; margin: 22px 0 0; }
.d3-crumbs { font-size: 13px; color: var(--d3-mute); margin-bottom: 28px; }
.d3-crumbs a { color: var(--d3-soft); }
.d3-crumbs a:hover { color: var(--d3-gold-2); }
.d3-crumb-sep { margin: 0 8px; opacity: .5; }
.woocommerce-breadcrumb { margin: 0; }

.d3-prose { max-width: 780px; font-size: 17px; color: #4a4356; }
.d3-prose h2, .d3-prose h3 { font-family: var(--d3-serif); font-weight: 400; color: var(--d3-ink); margin-top: 1.6em; }
.d3-prose h2 { font-size: 32px; }
.d3-prose h3 { font-size: 24px; }
.d3-prose a { color: var(--d3-gold-2); text-decoration: underline; text-underline-offset: 3px; }
.d3-prose ul, .d3-prose ol { padding-left: 1.2em; }
.d3-prose li { margin-bottom: .4em; }

.d3-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.d3-split__aside { position: sticky; top: calc(var(--d3-header-h) + 40px); }
.d3-split__aside .d3-muted { margin-top: 24px; max-width: 44ch; }
.d3-numlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--d3-line); }
.d3-numlist li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 28px 0; border-bottom: 1px solid var(--d3-line); }
.d3-numlist__n { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--d3-gold); padding-top: 7px; }
.d3-numlist h3 { font-family: var(--d3-serif); font-weight: 400; font-size: clamp(21px, 2vw, 27px); }
.d3-numlist p { color: var(--d3-soft); margin: 0; }
@media (max-width: 900px) { .d3-split { grid-template-columns: 1fr; } .d3-split__aside { position: static; } }

.d3-method-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.d3-method-card { padding: 28px 24px; border-radius: var(--d3-r-lg); border: 1px solid var(--d3-line); background: var(--d3-raised); transition: border-color .4s var(--d3-ease), transform .5s var(--d3-ease); }
.d3-method-card:hover { border-color: rgba(155, 54, 133, .4); transform: translateY(-4px); }
.d3-method-card__n { display: block; font-family: var(--d3-serif); font-style: italic; font-size: 38px; color: var(--d3-gold); line-height: 1; margin-bottom: 22px; }
.d3-method-card h3 { font-family: var(--d3-serif); font-weight: 400; font-size: 22px; }
.d3-method-card p { color: var(--d3-soft); font-size: 14.5px; margin: 0; }
.d3-method-card--note { background: var(--d3-stone); color: var(--d3-stone-ink); border-color: transparent; }
.d3-method-card--note h3 { color: var(--d3-stone-ink); }
.d3-method-card--note p, .d3-method-card--note li { color: var(--d3-stone-soft); font-size: 14.5px; }
.d3-method-card--note ul { margin: 12px 0 0; padding-left: 1.1em; }
@media (max-width: 1100px) { .d3-method-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .d3-method-cards { grid-template-columns: 1fr; } }

.d3-about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.d3-about__quote blockquote { margin: 0; font-family: var(--d3-serif); font-size: clamp(32px, 4vw, 56px); line-height: 1.08; letter-spacing: -.02em; }
.d3-about__cards { display: grid; gap: 14px; }
.d3-about__card { padding: 30px 28px; border-radius: var(--d3-r-lg); background: var(--d3-raised); border: 1px solid var(--d3-line); }
.d3-about__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--d3-gold); margin-bottom: 14px; }
.d3-about__card p { margin: 0; color: #4a4356; }
.d3-about-story { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.d3-about-story__art { position: relative; margin: 0; aspect-ratio: 1; display: grid; place-items: center; }
.d3-about-story__art .d3-hero__ring { inset: 4%; }
.d3-about-story__art img { position: relative; width: 62%; filter: drop-shadow(0 40px 40px rgba(40, 20, 50, .22)); }
@media (max-width: 900px) {
	.d3-about, .d3-about-story { grid-template-columns: 1fr; }
	.d3-about-story__art { max-width: 360px; margin: 0 auto; }
}

/* Contact */
.d3-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.d3-contact-info { display: grid; gap: 12px; }
.d3-contact-tile { display: grid; gap: 6px; padding: 24px 26px; border-radius: var(--d3-r-lg); border: 1px solid var(--d3-line); background: var(--d3-raised); transition: border-color .35s var(--d3-ease), transform .4s var(--d3-ease); }
a.d3-contact-tile:hover { border-color: rgba(155, 54, 133, .45); transform: translateY(-2px); color: var(--d3-ink); }
.d3-contact-tile__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--d3-gold); }
.d3-contact-tile strong { font-family: var(--d3-serif); font-weight: 400; font-size: clamp(20px, 2vw, 26px); line-height: 1.25; word-break: break-word; }
.d3-contact-tile p { margin: 0; color: #4a4356; }
.d3-form-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--d3-r-xl); background: var(--d3-raised); border: 1px solid var(--d3-line-2); box-shadow: var(--d3-shadow); }
.d3-form-card__title { font-family: var(--d3-serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); margin-bottom: 8px; }
.d3-form { display: grid; gap: 16px; margin-top: 26px; }
.d3-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.d3-field { display: grid; gap: 8px; font-size: 13px; font-weight: 500; color: var(--d3-soft); }
.d3-field input, .d3-field textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text, .woocommerce .quantity .qty, .woocommerce #coupon_code, .select2-container .select2-selection--single {
	width: 100%; min-height: 52px; padding: 14px 16px;
	border-radius: 12px; border: 1px solid var(--d3-line-2);
	background: var(--d3-bg-2); color: var(--d3-ink); font: inherit; font-size: 15px;
	transition: border-color .25s, box-shadow .25s;
}
.d3-field textarea { min-height: 140px; resize: vertical; }
.d3-field input:focus, .d3-field textarea:focus, .woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce .quantity .qty:focus, .woocommerce #coupon_code:focus {
	outline: none; border-color: var(--d3-gold); box-shadow: 0 0 0 4px rgba(155, 54, 133, .15);
}
.d3-form .d3-btn { justify-self: start; margin-top: 6px; }
.d3-notice { padding: 14px 18px; border-radius: 12px; margin: 20px 0 0; }
.d3-notice--ok { background: rgba(143, 191, 152, .12); color: var(--d3-ok); border: 1px solid rgba(143, 191, 152, .35); }
.d3-notice--err { background: rgba(229, 139, 124, .1); color: var(--d3-err); border: 1px solid rgba(229, 139, 124, .35); }
@media (max-width: 900px) { .d3-contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .d3-form__row { grid-template-columns: 1fr; } .d3-form .d3-btn { width: 100%; } }

/* 404 */
.d3-404 { padding: clamp(80px, 12vw, 180px) 0; text-align: center; }
.d3-404 .d3-eyebrow::before { display: none; }
.d3-404 .d3-page-head__lede { margin-left: auto; margin-right: auto; }
.d3-search--big { max-width: 560px; margin: 36px auto 28px; gap: 10px; }
.d3-search--big input[type="search"], .d3-search--big input[type="search"]:focus { flex: 1; width: auto; height: 54px; padding-left: 20px; }

/* ==========================================================================
   WooCommerce — archive
   ========================================================================== */
.d3-archive-head { padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 44px); background: radial-gradient(ellipse 50% 90% at 85% 0%, rgba(155, 54, 133, .09), transparent 70%); }
.d3-archive-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.d3-archive-head__title { font-family: var(--d3-serif); font-weight: 400; font-size: clamp(40px, 5.4vw, 76px); line-height: 1; letter-spacing: -.035em; margin: 0; }
.d3-archive-head__desc { color: var(--d3-soft); max-width: 60ch; margin: 18px 0 0; }
.d3-archive-head__count { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--d3-gold); padding: 10px 16px; border: 1px solid rgba(155, 54, 133, .35); border-radius: 999px; }

.d3-cat-nav { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 24px; margin-bottom: 8px; border-bottom: 1px solid var(--d3-line); scrollbar-width: none; }
.d3-cat-nav::-webkit-scrollbar { display: none; }
.d3-cat-nav__item { flex: 0 0 auto; display: grid; justify-items: center; gap: 10px; width: 112px; padding: 12px 8px; border-radius: var(--d3-r); border: 1px solid transparent; text-align: center; font-size: 13px; font-weight: 500; line-height: 1.25; color: var(--d3-soft); transition: border-color .3s, background .3s, color .3s; }
.d3-cat-nav__item:hover { color: var(--d3-ink); background: var(--d3-raised); }
.d3-cat-nav__item.is-active { color: var(--d3-ink); border-color: rgba(155, 54, 133, .45); background: var(--d3-raised); }
.d3-cat-nav__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--d3-mount); display: grid; place-items: center; overflow: hidden; }
.d3-cat-nav__icon img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }
.d3-cat-nav__icon--all { background: var(--d3-raised-2); color: var(--d3-gold-2); }

.d3-shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-top: 32px; padding-bottom: clamp(64px, 8vw, 110px); }
.d3-shop-sidebar { position: sticky; top: calc(var(--d3-header-h) + 24px); align-self: start; display: grid; gap: 14px; }
.d3-sidebar-block { padding: 22px; border-radius: var(--d3-r-lg); border: 1px solid var(--d3-line); background: var(--d3-raised); }
.d3-sidebar-block h4 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--d3-gold); margin-bottom: 14px; }
.d3-sidebar-cats, .d3-sidebar-sub { list-style: none; margin: 0; padding: 0; }
.d3-sidebar-cats li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; padding: 7px 0; font-size: 14.5px; }
.d3-sidebar-cats li > span { font-size: 12px; color: var(--d3-mute); }
.d3-sidebar-cats li > a { color: #4a4356; }
.d3-sidebar-cats li.is-active > a { color: var(--d3-gold-2); font-weight: 600; }
.d3-sidebar-sub { width: 100%; margin: 6px 0 2px; padding-left: 12px; border-left: 1px solid var(--d3-line-2); }
.d3-sidebar-sub li { padding: 5px 0; font-size: 14px; }
.d3-sidebar-help p { font-size: 14px; color: var(--d3-soft); margin-bottom: 12px; }
.d3-sidebar-help a { display: block; font-family: var(--d3-serif); font-size: 18px; margin-top: 4px; }

/* Price filter */
.d3-price-filter .widget, .d3-price-filter .widget_price_filter { margin: 0; }
.d3-price-filter .widget-title, .d3-price-filter h2 { display: none; }
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content { background: var(--d3-line-2) !important; height: 3px !important; border: 0 !important; border-radius: 3px; margin: 18px 6px 24px !important; }
.woocommerce .widget_price_filter .ui-slider .ui-slider-range { background: var(--d3-gold) !important; }
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle { width: 16px !important; height: 16px !important; top: -7px !important; background: var(--d3-ink) !important; border: 3px solid var(--d3-gold) !important; border-radius: 50% !important; cursor: grab; }
.woocommerce .widget_price_filter .price_slider_amount { display: flex; flex-direction: column-reverse; gap: 12px; font-size: 13px; color: var(--d3-soft); }
.woocommerce .widget_price_filter .price_slider_amount .button { width: 100%; float: none !important; }
.woocommerce .widget_price_filter .price_label { text-align: left; }

/* Toolbar */
.woocommerce .woocommerce-result-count { float: none; margin: 0; color: var(--d3-soft); font-size: 14px; }
.woocommerce .woocommerce-ordering { float: none; margin: 0; }
.d3-shop-content > .woocommerce-notices-wrapper + .woocommerce-result-count,
.d3-shop-content .woocommerce-result-count { display: inline-flex; align-items: center; min-height: 46px; }
.d3-shop-content .woocommerce-ordering { float: right; }
.woocommerce .woocommerce-ordering select, .woocommerce-page select:not(.select2-hidden-accessible) {
	appearance: none; -webkit-appearance: none;
	min-height: 46px; padding: 0 44px 0 18px; border-radius: 999px;
	border: 1px solid var(--d3-line-2); color: var(--d3-ink); font: inherit; font-size: 14px;
	background: var(--d3-raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%239b3685' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 18px center;
}

/* Loop grid */
.woocommerce ul.products, .woocommerce-page ul.products {
	display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 18px;
	margin: 24px 0 0 !important; padding: 0; list-style: none; clear: both;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: 100% !important; float: none !important; clear: none !important; margin: 0 !important; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--d3-ink); }
.woocommerce ul.products li.product a img { margin: 0 0 16px !important; border-radius: calc(var(--d3-r-lg) - 6px); }
.woocommerce ul.products li.product .d3-card__cat { padding: 0 8px; margin-bottom: 6px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0 8px !important; margin: 0 0 8px; font-family: var(--d3-sans); font-size: 15px !important; font-weight: 500; line-height: 1.35; color: var(--d3-ink);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.woocommerce ul.products li.product .price { padding: 0 8px; margin: auto 0 0 !important; display: block; }
.woocommerce ul.products li.product .button {
	margin: 14px 8px 8px !important; width: calc(100% - 16px);
	text-align: center;
}
.woocommerce ul.products li.product .added_to_cart { display: block; text-align: center; font-size: 13px; color: var(--d3-gold-2); padding: 0 8px 8px; }
.woocommerce ul.products li.product .onsale, .woocommerce span.onsale {
	top: 20px !important; left: 20px !important; right: auto !important; margin: 0 !important; z-index: 2;
	min-height: 0; min-width: 0; line-height: 1; padding: 7px 12px; border-radius: 999px;
	background: var(--d3-gold); color: var(--d3-gold-ink); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
@media (max-width: 1200px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
	.d3-shop-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; }
	.d3-shop-sidebar { position: static; grid-template-columns: 1fr 1fr; }
	.d3-sidebar-help { display: none; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 560px) {
	.d3-shop-sidebar { grid-template-columns: 1fr; }
	.d3-shop-content .woocommerce-ordering { float: none; margin-top: 10px; }
	.d3-shop-content .woocommerce-ordering select { width: 100%; }
	.woocommerce ul.products li.product { padding: 6px; }
	.woocommerce ul.products li.product .button { font-size: 13px !important; padding: 0 10px !important; min-height: 42px; }
	.d3-card__title, .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
	.d3-wishlist-btn { top: 12px; right: 12px; width: 34px; height: 34px; }
}

/* Pagination */
.woocommerce nav.woocommerce-pagination { margin-top: 48px; }
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: inline-flex; gap: 8px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	display: grid !important; place-items: center; width: 46px; height: 46px; padding: 0 !important;
	border-radius: 50%; border: 1px solid var(--d3-line-2); color: var(--d3-ink); font-size: 14px;
}
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--d3-raised); color: var(--d3-gold-2); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--d3-ink); color: var(--d3-bg); border-color: var(--d3-ink); }

/* Global WooCommerce buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce .wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 999px !important;
	border: 1px solid var(--d3-line-2) !important;
	background: transparent !important; color: var(--d3-ink) !important;
	font-family: var(--d3-sans); font-size: 14.5px; font-weight: 600; line-height: 1;
	transition: background .3s var(--d3-ease), color .3s, border-color .3s, transform .3s var(--d3-ease);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { border-color: var(--d3-gold) !important; color: var(--d3-gold-2) !important; transform: translateY(-1px); }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #place_order, .woocommerce .checkout-button, .woocommerce .single_add_to_cart_button {
	background: linear-gradient(180deg, var(--d3-gold-2), var(--d3-gold)) !important; color: var(--d3-gold-ink) !important; border-color: transparent !important;
	box-shadow: 0 10px 30px -12px rgba(155, 54, 133, .6);
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #place_order:hover, .woocommerce .checkout-button:hover, .woocommerce .single_add_to_cart_button:hover { color: var(--d3-gold-ink) !important; filter: brightness(1.05); }
.woocommerce ul.products li.product .button:hover { background: var(--d3-ink) !important; color: var(--d3-bg) !important; border-color: var(--d3-ink) !important; }
.woocommerce a.button.loading::after, .woocommerce button.button.loading::after { position: static; margin-left: 6px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	background: var(--d3-raised) !important; color: var(--d3-ink) !important;
	border: 1px solid var(--d3-line-2) !important; border-left: 3px solid var(--d3-gold) !important;
	border-radius: 12px; padding: 16px 20px 16px 52px !important; margin: 0 0 24px !important; list-style: none;
	display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.woocommerce-error { border-left-color: var(--d3-err) !important; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { color: var(--d3-gold) !important; top: 50% !important; transform: translateY(-50%); left: 20px !important; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 40px; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button) { color: var(--d3-gold-2); }
.woocommerce-info::after, .woocommerce-message::after, .woocommerce-error::after { content: none !important; }

/* ==========================================================================
   WooCommerce — single product
   ========================================================================== */
.single-product .d3-crumbs { padding-top: 28px; margin-bottom: 0; }
.single-product div.product {
	display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px);
	padding: 28px 0 clamp(64px, 8vw, 110px); position: relative;
}
.single-product div.product > * { min-width: 0; }
.single-product div.product .woocommerce-product-gallery, .single-product div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; grid-row: 1 / span 2; position: relative; }
.single-product div.product .summary { grid-column: 2; position: sticky; top: calc(var(--d3-header-h) + 24px); align-self: start; }
.single-product div.product .woocommerce-tabs, .single-product div.product .related, .single-product div.product .upsells { grid-column: 1 / -1; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce div.product div.images .woocommerce-product-gallery__image,
.woocommerce div.product div.images .flex-viewport { border-radius: var(--d3-r-xl); background: var(--d3-mount); overflow: hidden; }
.woocommerce div.product div.images img { mix-blend-mode: multiply; padding: 6%; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 100% !important; float: none !important; border-radius: 12px; background: var(--d3-mount); overflow: hidden; }
.woocommerce div.product div.images .flex-control-thumbs li img { mix-blend-mode: multiply; padding: 8%; opacity: .55; transition: opacity .25s; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 18px; right: 18px; background: #fff; border-radius: 50%; width: 40px; height: 40px; }
.woocommerce div.product .product_title { font-family: var(--d3-serif); font-weight: 400; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 18px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-family: var(--d3-serif); font-size: 32px !important; color: var(--d3-gold-2) !important; margin-bottom: 22px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #4a4356; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--d3-line); }
.woocommerce div.product form.cart { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px !important; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce .quantity .qty { width: 96px; text-align: center; border-radius: 999px; }
.woocommerce div.product form.cart .button { flex: 1; min-height: 52px; float: none; }
.woocommerce div.product .stock { color: var(--d3-ok) !important; font-size: 14px; }
.woocommerce div.product .stock.out-of-stock { color: var(--d3-err) !important; }
.d3-pdp-extra { display: grid; gap: 18px; margin: 4px 0 24px; }
.d3-pdp-trust { list-style: none; margin: 0; padding: 18px 20px; display: grid; gap: 12px; border-radius: var(--d3-r); background: var(--d3-raised); border: 1px solid var(--d3-line); font-size: 14px; color: #4a4356; }
.d3-pdp-trust li { display: flex; align-items: center; gap: 12px; }
.d3-pdp-trust svg { color: var(--d3-gold); flex-shrink: 0; }
.product_meta { display: grid; gap: 6px; font-size: 13.5px; color: var(--d3-soft); padding-top: 20px; border-top: 1px solid var(--d3-line); }
.product_meta a { color: var(--d3-ink); }
.product_meta a:hover { color: var(--d3-gold-2); }
.single-product .d3-wishlist-btn { display: none; }

.woocommerce div.product .woocommerce-tabs { margin-top: clamp(24px, 4vw, 48px); }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 6px; padding: 0 !important; margin: 0 0 28px !important; border-bottom: 1px solid var(--d3-line); overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 14px 18px !important; font-weight: 600; font-size: 15px; color: var(--d3-soft) !important; border-bottom: 2px solid transparent; white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--d3-ink) !important; border-bottom-color: var(--d3-gold); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 860px; color: #4a4356; font-size: 16px; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-family: var(--d3-serif); font-weight: 400; font-size: 28px; }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--d3-line); background: none !important; padding: 14px 0; font-style: normal; }
.woocommerce table.shop_attributes th { color: var(--d3-soft); font-weight: 500; width: 220px; }
.single-product .related > h2, .single-product .upsells > h2 { font-family: var(--d3-serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); margin: clamp(40px, 6vw, 80px) 0 8px; }
.single-product .related ul.products { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
	.single-product div.product { grid-template-columns: 1fr; }
	.single-product div.product .woocommerce-product-gallery, .single-product div.product .summary { grid-column: 1; grid-row: auto; position: static; }
	.single-product .related ul.products { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Cart / checkout / account
   ========================================================================== */
.d3-wc-page .d3-page-head { padding-bottom: 40px; }
.woocommerce table.shop_table {
	border: 1px solid var(--d3-line) !important; border-radius: var(--d3-r-lg) !important; border-collapse: separate !important;
	background: var(--d3-raised); color: var(--d3-ink); overflow: hidden;
}
.woocommerce table.shop_table th { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--d3-soft); padding: 18px 20px !important; border: 0 !important; }
.woocommerce table.shop_table td { border-top: 1px solid var(--d3-line) !important; padding: 18px 20px !important; }
.woocommerce table.shop_table td.product-name a { color: var(--d3-ink); font-weight: 500; }
.woocommerce table.cart img { width: 72px; border-radius: 12px; background: var(--d3-mount); mix-blend-mode: normal; padding: 6px; }
.woocommerce a.remove { color: var(--d3-soft) !important; border: 1px solid var(--d3-line-2); width: 30px; height: 30px; line-height: 27px; }
.woocommerce a.remove:hover { background: var(--d3-err) !important; color: #fff !important; border-color: var(--d3-err); }
.woocommerce table.cart td.actions .coupon { display: flex; gap: 10px; flex-wrap: wrap; }
.woocommerce table.cart td.actions .coupon .input-text { width: 200px !important; min-height: 48px; border-radius: 999px !important; }
.woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 480px; margin-left: auto; padding: 28px; border-radius: var(--d3-r-lg); background: var(--d3-raised); border: 1px solid var(--d3-line-2); }
.woocommerce .cart-collaterals .cart_totals h2 { font-family: var(--d3-serif); font-weight: 400; font-size: 30px; }
.woocommerce .cart-collaterals .cart_totals table.shop_table { border: 0 !important; background: none; }
.woocommerce .cart-collaterals .cart_totals table.shop_table th, .woocommerce .cart-collaterals .cart_totals table.shop_table td { padding: 14px 0 !important; }
.woocommerce .cart-collaterals .cart_totals .order-total .amount { font-family: var(--d3-serif); font-size: 26px; color: var(--d3-gold-2); }
.woocommerce .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; font-size: 16px !important; }
.cart-empty.woocommerce-info { font-size: 18px; }
.return-to-shop .button { margin-top: 8px; }

.woocommerce-checkout form.checkout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce-checkout #customer_details { grid-column: 1; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: 100% !important; float: none !important; }
.woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 2; }
.woocommerce-checkout #order_review_heading { grid-row: 1; margin: 0; padding: 28px 28px 0; background: var(--d3-raised); border: 1px solid var(--d3-line-2); border-bottom: 0; border-radius: var(--d3-r-lg) var(--d3-r-lg) 0 0; font-family: var(--d3-serif); font-weight: 400; font-size: 28px; }
.woocommerce-checkout #order_review { grid-row: 2; position: sticky; top: calc(var(--d3-header-h) + 24px); padding: 8px 28px 28px; background: var(--d3-raised); border: 1px solid var(--d3-line-2); border-top: 0; border-radius: 0 0 var(--d3-r-lg) var(--d3-r-lg); margin-top: -1px; }
.woocommerce-checkout #customer_details { grid-row: 1 / span 2; }
.woocommerce-checkout #order_review table.shop_table { border: 0 !important; background: none; }
.woocommerce-checkout #order_review table.shop_table th, .woocommerce-checkout #order_review table.shop_table td { padding: 12px 0 !important; }
.woocommerce-checkout h3 { font-family: var(--d3-serif); font-weight: 400; font-size: 28px; margin: 0 0 18px; }
.woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
.woocommerce form .form-row label { font-size: 13px; font-weight: 500; color: var(--d3-soft); margin-bottom: 6px; }
.woocommerce form .form-row .required { color: var(--d3-gold); text-decoration: none; }
.select2-container .select2-selection--single { height: 52px !important; display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--d3-ink) !important; line-height: 1.4 !important; padding: 0 !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 13px !important; right: 10px !important; }
.select2-dropdown { background: var(--d3-raised-2) !important; border-color: var(--d3-line-2) !important; color: var(--d3-ink); }
.select2-container--default .select2-search--dropdown .select2-search__field { background: var(--d3-bg-2); border-color: var(--d3-line-2); color: var(--d3-ink); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--d3-gold) !important; color: var(--d3-gold-ink) !important; }
.woocommerce-checkout #payment { background: var(--d3-bg-2) !important; border-radius: var(--d3-r) !important; border: 1px solid var(--d3-line); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--d3-line) !important; padding: 18px !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--d3-raised-2) !important; color: #4a4356 !important; border-radius: 12px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--d3-raised-2) !important; }
.woocommerce-checkout #payment div.form-row { padding: 18px !important; }
.woocommerce-checkout #place_order { width: 100%; min-height: 58px; font-size: 16px !important; float: none !important; }
.woocommerce-terms-and-conditions-wrapper { font-size: 13.5px; color: var(--d3-soft); }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 16px !important; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border: 1px solid var(--d3-line-2) !important; border-radius: var(--d3-r-lg) !important; padding: 24px !important; background: var(--d3-raised); }
@media (max-width: 960px) {
	.woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
	.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
}
@media (max-width: 760px) {
	.woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr { display: block; border-top: 1px solid var(--d3-line); }
	.woocommerce table.shop_table_responsive tr td { background: none !important; border-top: 0 !important; padding: 10px 18px !important; }
	.woocommerce table.cart td.actions .coupon .input-text { width: 100% !important; }
	.woocommerce table.cart td.actions .coupon .button, .woocommerce table.cart td.actions > .button { width: 100%; }
}

/* My account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: 100% !important; float: none !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 10px; border-radius: var(--d3-r-lg); background: var(--d3-raised); border: 1px solid var(--d3-line); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 11px 14px; border-radius: 10px; color: #4a4356; font-size: 15px; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: rgba(29, 22, 38, .06); color: var(--d3-gold-2); }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 1000px; }
.woocommerce-account .u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.woocommerce-account .u-columns .u-column1, .woocommerce-account .u-columns .u-column2 { width: 100% !important; float: none !important; }
.woocommerce-account h2 { font-family: var(--d3-serif); font-weight: 400; font-size: 30px; }
@media (max-width: 800px) {
	.woocommerce-account .woocommerce, .woocommerce-account .u-columns.col2-set { grid-template-columns: 1fr; }
}

/* Block-based cart/checkout (if ever switched) */
.wc-block-components-text-input input, .wc-block-components-textarea { background: var(--d3-bg-2) !important; color: var(--d3-ink) !important; border-color: var(--d3-line-2) !important; }
.wc-block-components-text-input label { color: var(--d3-soft) !important; }

/* Misc */
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--d3-gold); }
.blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }

/* A backdrop-filter would trap the fixed mobile menu inside the header box. */
@media (max-width: 960px) { body.d3-nav-open .d3-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--d3-bg); } }

/* QA pass 1 */
.d3-section { padding: clamp(64px, 7.5vw, 112px) 0; }
.d3-cats + .d3-picks { padding-top: 0; }
.d3-bento__item--7 { grid-column: span 2; }
.d3-bento__meta { max-width: none; padding-right: 52px; }
.d3-bento__item:not(.d3-bento__item--1) .d3-bento__img { width: 40%; max-width: 132px; }
.d3-bento__item--2 .d3-bento__img, .d3-bento__item--7 .d3-bento__img { width: 30%; max-width: 150px; }
@media (max-width: 1000px) { .d3-bento__item--7 { grid-column: span 2; } }
@media (max-width: 560px) { .d3-bento__item--7 { grid-column: auto; } .d3-bento__item:not(.d3-bento__item--1) .d3-bento__img { width: 112px; } }
.d3-header .d3-search-toggle { display: none; }
@media (max-width: 960px) { .d3-header .d3-search-toggle { display: inline-grid; } }

/* Intro motion is pure CSS (no wait for JS = fast LCP). "backwards" fill so
   GSAP's float/parallax transforms take over once the entrance ends. */
@keyframes d3-rise { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: none; } }
@keyframes d3-lift { from { opacity: 0; transform: translateY(70px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes d3-fade { from { opacity: 0; } to { opacity: 1; } }
[data-d3-hero-line] { animation: d3-rise 1.1s cubic-bezier(.2, .8, .2, 1) backwards; }
.d3-hero__eyebrow, .d3-page-head .d3-eyebrow { animation-delay: 0s; }
.d3-line:nth-child(1) > [data-d3-hero-line] { animation-delay: .08s; }
.d3-line:nth-child(2) > [data-d3-hero-line] { animation-delay: .16s; }
.d3-line:nth-child(3) > [data-d3-hero-line] { animation-delay: .24s; }
.d3-hero__lede, .d3-page-head__lede { animation-delay: .34s !important; }
.d3-hero__actions { animation-delay: .44s !important; }
.d3-hero__facts { animation-delay: .54s !important; }
.d3-hero__item { animation: d3-lift 1.4s cubic-bezier(.2, .8, .2, 1) backwards; }
.d3-hero__item--1 { animation-delay: .3s; }
.d3-hero__item--2 { animation-delay: .15s; }
.d3-hero__item--3 { animation-delay: .45s; }
.d3-hero__tag { animation: d3-fade 1s ease backwards; animation-delay: 1s; }
.d3-hero__ring, .d3-hero__glow { animation: d3-fade 1.6s ease backwards; }
.d3-hero__ring--inner { animation: d3-fade 1.6s ease backwards, d3-spin 60s linear infinite; }
@media (prefers-reduced-motion: reduce) { [data-d3-hero-line], .d3-hero__item, .d3-hero__tag, .d3-hero__ring, .d3-hero__glow { animation: none !important; } }

@media (max-width: 560px) {
	.d3-bento__meta { padding-right: 132px; }
	.d3-bento__item--1 .d3-bento__meta strong { font-size: 24px; }
	.d3-bento__meta strong { font-size: 21px; }
}
.d3-search--big { position: relative !important; left: auto !important; right: auto !important; top: auto !important; opacity: 1 !important; visibility: visible !important; transform: none !important; display: flex; }
.d3-nav__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.d3-nav__cats a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--d3-line-2); font-size: 14px; color: #4a4356; }

/* Loop image mount + card link */
.woocommerce ul.products li.product .d3-card__media { margin-bottom: 16px; background: var(--d3-mount); }
.woocommerce ul.products li.product a img { background: transparent; margin: 0 !important; border-radius: 0; }
.d3-card__more { display: inline-flex; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--d3-soft); }
.d3-card__more span { transition: transform .35s var(--d3-ease); }
.d3-card:hover .d3-card__more { color: var(--d3-gold-2); }
.d3-card:hover .d3-card__more span { transform: translateX(4px); }

/* Single product: contained width, white photo stage (no blend = no dimming) */
.single-product .d3-main > .product, .single-product .d3-main > .woocommerce-notices-wrapper { max-width: var(--d3-container); margin-left: auto; margin-right: auto; padding-left: var(--d3-gutter); padding-right: var(--d3-gutter); }
.woocommerce div.product div.images .woocommerce-product-gallery__image, .woocommerce div.product div.images .flex-viewport { background: #fff; }
.woocommerce div.product div.images img { mix-blend-mode: normal; padding: 4%; background: #fff; }
.woocommerce div.product div.images .flex-control-thumbs { grid-template-columns: repeat(6, 1fr); }
.woocommerce div.product div.images .flex-control-thumbs li { background: #fff; border: 2px solid transparent; transition: border-color .25s; }
.woocommerce div.product div.images .flex-control-thumbs li img { mix-blend-mode: normal; opacity: 1; padding: 6%; background: #fff; }
.woocommerce div.product div.images .flex-control-thumbs li:has(img.flex-active) { border-color: var(--d3-gold); }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
@media (max-width: 560px) { .woocommerce div.product div.images .flex-control-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; } }
.single-product div.product .summary { position: static; }
.single-product div.product .woocommerce-product-gallery { grid-row: 1; }
.woocommerce-checkout form.checkout { grid-template-rows: auto 1fr; }
.woocommerce-checkout #order_review { align-self: start; }
.woocommerce-checkout #order_review { position: static; }
.d3-shop-layout { grid-template-columns: 260px minmax(0, 1fr); }
.d3-shop-content, .d3-shop-sidebar { min-width: 0; }
@media (max-width: 960px) { .d3-shop-layout { grid-template-columns: minmax(0, 1fr); } }
.woocommerce nav.woocommerce-pagination ul { flex-wrap: wrap; justify-content: center; max-width: 100%; }
@media (max-width: 560px) { .woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { width: 40px; height: 40px; } }
/* WooCommerce keeps the gallery invisible until every image has loaded (slow on mobile) — show it immediately. */
.woocommerce div.product div.images.woocommerce-product-gallery { opacity: 1 !important; }

/* Mega-menu hover fix: invisible bridge over the gap between the nav item and
   the panel + a short close delay, so moving the mouse down never drops it. */
.d3-megamenu { pointer-events: auto; transition: opacity .25s var(--d3-ease), transform .25s var(--d3-ease), visibility 0s linear .25s; }
.has-mega:hover .d3-megamenu, .has-mega:focus-within .d3-megamenu { transition-delay: 0s; }
.d3-megamenu::before { content: ""; position: absolute; left: 0; right: 0; top: -48px; height: 48px; }
.has-mega > a { position: relative; }
.has-mega:hover > a::after { content: ""; position: absolute; left: -20px; right: -20px; top: 100%; height: 40px; }

/* Live search dropdown */
.d3-live {
	position: absolute; top: calc(100% + 10px); right: 0; z-index: 120;
	width: min(440px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow-y: auto;
	padding: 8px; border-radius: var(--d3-r-lg);
	background: rgba(255, 255, 255, .98); border: 1px solid var(--d3-line-2);
	box-shadow: 0 40px 80px -30px rgba(60, 30, 80, .16);
	text-align: left;
}
.d3-live[hidden] { display: none; }
.d3-live__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--d3-ink); }
.d3-live__item:hover, .d3-live__item.is-active, .d3-live__all.is-active { background: rgba(29, 22, 38, .07); color: var(--d3-ink); }
.d3-live__img { width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px; background: var(--d3-mount); overflow: hidden; }
.d3-live__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 3px; }
.d3-live__txt { display: grid; gap: 2px; min-width: 0; }
.d3-live__txt strong { font-size: 14px; font-weight: 500; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d3-live__txt mark { background: none; color: var(--d3-gold-2); font-weight: 700; }
.d3-live__txt em { font-style: normal; font-size: 12px; color: var(--d3-soft); }
.d3-live__all { display: flex; justify-content: space-between; margin-top: 6px; padding: 12px 10px 8px; border-top: 1px solid var(--d3-line); border-radius: 0 0 12px 12px; font-size: 14px; font-weight: 600; color: var(--d3-gold-2); }
.d3-live__msg { padding: 16px 12px; font-size: 14px; color: var(--d3-soft); }
.d3-search--big .d3-live { left: 0; right: auto; width: 100%; }
@media (max-width: 960px) { .d3-header .d3-live { left: 0; right: 0; width: auto; } }
.d3-live__txt strong { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ==========================================================================
   Mobile: compact header + app-style bottom tab bar
   ========================================================================== */
.d3-tabbar { display: none; }
@media (max-width: 960px) {
	:root { --d3-header-h: 60px; }
	.d3-topbar { display: none; }
	.d3-header__inner, .d3-header.is-scrolled .d3-header__inner { min-height: 60px; gap: 8px; }
	.d3-logo { gap: 8px; }
	.d3-logo__mark svg { width: 26px; height: 26px; }
	.d3-logo__word { font-size: 21px; }
	/* search + cart live in the bottom bar on phones */
	.d3-header .d3-search-toggle, .d3-header-cart { display: none !important; }
	.d3-nav-toggle { width: 40px; height: 40px; }
	.d3-nav-toggle span { left: 11px; right: 11px; }
	.d3-nav-toggle span:nth-child(1) { top: 14px; }
	.d3-nav-toggle span:nth-child(2) { top: 19px; }
	.d3-nav-toggle span:nth-child(3) { top: 24px; }
	.d3-nav { padding-top: 92px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
	.d3-nav__menu > li > a { font-size: 28px; padding: 10px 0; }
	.d3-search { top: calc(100% + 6px); }

	.d3-tabbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
		display: grid; grid-template-columns: repeat(5, 1fr);
		padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .92);
		-webkit-backdrop-filter: saturate(140%) blur(18px); backdrop-filter: saturate(140%) blur(18px);
		border-top: 1px solid var(--d3-line-2);
		box-shadow: 0 -12px 30px -18px rgba(60, 30, 80, .12);
	}
	.d3-tabbar__item {
		display: grid; justify-items: center; gap: 3px; padding: 6px 0 4px;
		border-radius: 14px; color: var(--d3-soft);
		font-size: 10.5px; font-weight: 600; letter-spacing: .02em;
		-webkit-tap-highlight-color: transparent;
		transition: color .25s, background .25s;
	}
	.d3-tabbar__item:hover { color: var(--d3-ink); }
	.d3-tabbar__item.is-active { color: var(--d3-gold-2); }
	.d3-tabbar__icon { position: relative; display: grid; place-items: center; width: 44px; height: 28px; border-radius: 999px; transition: background .25s; }
	.d3-tabbar__item.is-active .d3-tabbar__icon { background: rgba(155, 54, 133, .14); }
	.d3-tabbar__item:active .d3-tabbar__icon { transform: scale(.92); }
	.d3-tabbar .d3-cart-count { top: -4px; right: 2px; }
	body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
	body.d3-nav-open .d3-tabbar { z-index: 90; }
}
@media (max-width: 360px) { .d3-logo__word { font-size: 19px; } .d3-tabbar__item { font-size: 10px; } }

/* Mobile shop: products first. Category list is redundant with the icon nav,
   help block lives in the tab bar (Kontaktai); price filter stays, compact. */
@media (max-width: 960px) {
	.d3-archive-head { padding: 20px 0 16px; }
	.d3-archive-head__title { font-size: 36px; }
	.d3-archive-head__desc { font-size: 15px; margin-top: 10px; }
	.d3-archive-head__row { gap: 14px; }
	.d3-archive-head__count { padding: 7px 12px; font-size: 11px; }
	.d3-crumbs { margin-bottom: 14px; }
	.d3-cat-nav { gap: 4px; padding-bottom: 14px; margin-bottom: 0; }
	.d3-cat-nav__item { width: 82px; padding: 8px 4px; gap: 6px; font-size: 12px; }
	.d3-cat-nav__icon { width: 52px; height: 52px; }
	.d3-sidebar-block:not(.d3-price-filter) { display: none; }
	.d3-shop-sidebar { display: block; }
	.d3-price-filter { padding: 14px 18px; }
	.d3-price-filter h4 { margin-bottom: 4px; }
	.d3-shop-layout { gap: 16px; padding-top: 16px; }
	.d3-page-head { padding: 24px 0 28px; }
	.d3-page-head__title { font-size: 40px; }
	.d3-section { padding: 56px 0; }
}
@media (max-width: 960px) {
	.d3-price-filter { padding: 12px 16px 14px; }
	.d3-price-filter h4 { display: none; }
	.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content { margin: 12px 8px 16px !important; }
	.woocommerce .widget_price_filter .price_slider_amount { flex-direction: row; align-items: center; justify-content: space-between; }
	.woocommerce .widget_price_filter .price_slider_amount .button { width: auto; min-height: 38px; padding: 0 18px; font-size: 13px; }
	.d3-shop-content .woocommerce-result-count { min-height: 0; font-size: 13px; }
	.d3-shop-content .woocommerce-ordering { float: right; margin: 0; }
	.d3-shop-content .woocommerce-ordering select { width: auto; min-height: 38px; font-size: 13px; padding: 0 36px 0 14px; background-position: right 12px center; }
	.d3-shop-content > .woocommerce-result-count { line-height: 38px; }
}
@media (max-width: 960px) {
	.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
	.woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar { display: none; }
	.woocommerce div.product div.images .flex-control-thumbs li { flex: 0 0 64px; width: 64px !important; scroll-snap-align: start; }
	.single-product div.product { padding-top: 12px; gap: 24px; }
}

/* Small phones (≤ 360px): grid tracks must be allowed to shrink below their
   content's min width, otherwise 2-col cards + 5 tabs push the page wider. */
.d3-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.d3-card, .d3-card__body, .woocommerce ul.products li.product { min-width: 0; }
@media (max-width: 1100px) { .d3-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.d3-grid-4, .woocommerce ul.products, .woocommerce-page ul.products, .single-product .related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.d3-tabbar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.d3-tabbar__item { min-width: 0; }
	.d3-tabbar__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 360px) {
	.d3-tabbar { padding-left: 2px; padding-right: 2px; }
	.d3-tabbar__item { font-size: 9.5px; letter-spacing: 0; }
	.d3-tabbar__icon { width: 40px; }
	.d3-grid-4, .woocommerce ul.products { gap: 8px; }
	.d3-card, .woocommerce ul.products li.product { padding: 6px; }
	.d3-card__body { padding: 12px 4px 6px; }
	.d3-card__cat { font-size: 9.5px; letter-spacing: .08em; }
	.d3-card__title { font-size: 13px; }
	.d3-wishlist-btn { top: 10px; right: 10px; width: 30px; height: 30px; }
	.d3-hero__title { font-size: 40px; }
	.d3-hero__facts { gap: 14px; }
	.d3-tabs .d3-tab { padding: 9px 13px; font-size: 13px; }
}

/* ==========================================================================
   Typography v2 (client request): Plus Jakarta Sans everywhere, replacing
   Fraunces + Inter. Display text gets weight instead of a serif; accent words
   stay gold but upright (no italics).
   ========================================================================== */
:root {
	--d3-serif: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--d3-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
body { font-size: 15.5px; letter-spacing: -.003em; }
em, .d3-ticker span, .d3-steps__n, .d3-method-card__n,
.d3-h2 em, .d3-hero__title em, .d3-page-head__title em, .d3-form-card__title em, blockquote em { font-style: normal; }

/* big display */
.d3-hero__title, .d3-h2, .d3-page-head__title, .d3-archive-head__title, .d3-mission blockquote p,
.d3-about__quote blockquote, .d3-footer__word {
	font-weight: 700; letter-spacing: -.035em;
}
.d3-hero__title { line-height: 1.02; }
.d3-h2 em, .d3-hero__title em, .d3-page-head__title em, .d3-form-card__title em, blockquote em { font-weight: 700; }
.d3-mission blockquote p, .d3-about__quote blockquote { font-weight: 600; line-height: 1.18; }
.d3-footer__word { font-weight: 800; letter-spacing: -.06em; }

/* medium headings */
.d3-bento__meta strong, .d3-steps h3, .d3-methods__list strong, .d3-service h3, .d3-numlist h3,
.d3-method-card h3, .d3-prose h2, .d3-prose h3, .d3-form-card__title,
.woocommerce div.product .product_title, .woocommerce div.product .woocommerce-tabs .panel h2,
.single-product .related > h2, .single-product .upsells > h2, .woocommerce .cart-collaterals .cart_totals h2,
.woocommerce-checkout #order_review_heading, .woocommerce-checkout h3, .woocommerce-account h2 {
	font-weight: 700; letter-spacing: -.025em;
}
.d3-steps h3, .d3-service h3, .d3-method-card h3, .d3-numlist h3 { font-size: 20px; }
.d3-methods__list strong { font-size: clamp(19px, 1.8vw, 24px); }
.d3-bento__meta strong { font-size: 20px; }
.d3-bento__item--1 .d3-bento__meta strong { font-size: clamp(26px, 2.6vw, 36px); }

/* numbers + small display */
.d3-hero__facts dt, .d3-steps__n, .d3-method-card__n, .d3-cta__tel, .d3-footer__big, .d3-contact-tile strong,
.d3-sidebar-help a, .woocommerce div.product p.price, .woocommerce div.product span.price,
.woocommerce .cart-collaterals .cart_totals .order-total .amount, .d3-card__price, .woocommerce ul.products li.product .price {
	font-weight: 700; letter-spacing: -.02em;
}
.d3-steps__n, .d3-method-card__n { font-size: 34px; }
.d3-lead { font-weight: 500; letter-spacing: -.015em; }
.d3-ticker span { font-weight: 600; letter-spacing: -.01em; font-size: clamp(17px, 1.8vw, 22px); }
.d3-logo__word { font-weight: 800; letter-spacing: -.04em; font-size: 23px; }
.d3-logo__word b { font-weight: 700; }
@media (max-width: 960px) {
	.d3-logo__word { font-size: 20px; }
	.d3-nav__menu > li > a { font-weight: 700; letter-spacing: -.02em; }
}

/* ==========================================================================
   Homepage v2 sections: Christmas, materials, welcome kit, product rail
   ========================================================================== */
.d3-xmas { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 112px) 0; background: linear-gradient(180deg, #1a1210 0%, #120f0d 100%); border-top: 1px solid var(--d3-line); border-bottom: 1px solid var(--d3-line); }
.d3-xmas__glow { position: absolute; inset: -20% -10% auto auto; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(176, 52, 46, .22), transparent 70%); pointer-events: none; }
.d3-xmas .d3-container { position: relative; }
.d3-xmas__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: 40px; }
.d3-xmas__lede { color: var(--d3-soft); margin: 18px 0 0; max-width: 48ch; }
.d3-xmas__subs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d3-xmas__sub { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--d3-r); border: 1px solid var(--d3-line-2); background: rgba(29, 22, 38, .03); transition: border-color .3s, background .3s, transform .3s var(--d3-ease); }
.d3-xmas__sub:hover { border-color: var(--d3-gold); background: rgba(155, 54, 133, .08); color: var(--d3-ink); transform: translateY(-2px); }
.d3-xmas__sub strong { font-size: 15px; font-weight: 700; line-height: 1.3; }
.d3-xmas__sub span { font-size: 13px; color: var(--d3-gold-2); }
.d3-xmas__sub i { font-style: normal; transition: transform .3s; display: inline-block; }
.d3-xmas__sub:hover i { transform: translateX(4px); }
.d3-xmas__foot { margin-top: 36px; text-align: center; }

.d3-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--d3-line-2) transparent; }
.d3-rail::-webkit-scrollbar { height: 6px; }
.d3-rail::-webkit-scrollbar-thumb { background: var(--d3-line-2); border-radius: 6px; }
.d3-rail__item { scroll-snap-align: start; min-width: 0; }
@media (min-width: 1200px) { .d3-rail { grid-auto-columns: calc((100% - 64px) / 5); } }

.d3-materials__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.d3-material { display: flex; flex-direction: column; border-radius: var(--d3-r-lg); overflow: hidden; border: 1px solid var(--d3-line); background: var(--d3-raised); transition: border-color .4s var(--d3-ease), transform .5s var(--d3-ease); }
.d3-material:hover { border-color: rgba(155, 54, 133, .45); transform: translateY(-4px); color: var(--d3-ink); }
.d3-material__collage { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; padding: 10px; aspect-ratio: 4 / 3; }
.d3-material__img { background: var(--d3-mount); border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.d3-material__img--1 { grid-row: span 2; }
.d3-material__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8%; transition: transform .8s var(--d3-ease); }
.d3-material:hover .d3-material__img img { transform: scale(1.06); }
.d3-material__body { display: grid; gap: 8px; padding: 18px 22px 24px; }
.d3-material__tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--d3-gold); }
.d3-material__body strong { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.d3-material__desc { font-size: 14px; color: var(--d3-soft); line-height: 1.55; }
.d3-material__more { font-size: 13.5px; font-weight: 600; color: var(--d3-gold-2); margin-top: 4px; }
.d3-material__more i { font-style: normal; display: inline-block; transition: transform .3s; }
.d3-material:hover .d3-material__more i { transform: translateX(4px); }

.d3-welcome { padding: 0 0 clamp(64px, 8vw, 112px); }
.d3-welcome__box { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--d3-r-xl); background: var(--d3-stone); color: var(--d3-stone-ink); }
.d3-welcome .d3-h2 { color: var(--d3-stone-ink); font-size: clamp(30px, 3.6vw, 48px); }
.d3-welcome .d3-h2 em { color: #9b3685; }
.d3-welcome .d3-eyebrow { color: #9b3685; }
.d3-welcome__text p:not(.d3-eyebrow) { color: var(--d3-stone-soft); margin: 16px 0 26px; max-width: 44ch; }
.d3-welcome__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.d3-welcome__item { display: grid; gap: 8px; padding: 10px; border-radius: var(--d3-r); background: #fff; color: var(--d3-stone-ink); transition: transform .4s var(--d3-ease), box-shadow .4s; }
.d3-welcome__item:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(40, 30, 15, .45); color: var(--d3-stone-ink); }
.d3-welcome__item img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 6%; }
.d3-welcome__item span { font-size: 13px; font-weight: 600; line-height: 1.35; padding: 0 4px 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 960px) {
	.d3-xmas__head, .d3-welcome__box { grid-template-columns: minmax(0, 1fr); }
	.d3-materials__grid { grid-template-columns: minmax(0, 1fr); }
	.d3-material { display: grid; grid-template-columns: 44% minmax(0, 1fr); }
	.d3-material__collage { aspect-ratio: auto; grid-template-columns: 1fr; grid-template-rows: 1fr; }
	.d3-material__img--2, .d3-material__img--3 { display: none; }
	.d3-material__img--1 { grid-row: auto; aspect-ratio: 1; }
	.d3-material__body { padding: 16px 16px 16px 6px; align-content: center; }
	.d3-material__desc { display: none; }
	.d3-rail { grid-auto-columns: 62%; margin: 0 calc(var(--d3-gutter) * -1); padding-left: var(--d3-gutter); padding-right: var(--d3-gutter); scroll-padding-left: var(--d3-gutter); scrollbar-width: none; }
	.d3-rail::-webkit-scrollbar { display: none; }
}
@media (max-width: 560px) {
	.d3-xmas__subs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.d3-xmas__sub { padding: 12px 14px; }
	.d3-xmas__sub strong { font-size: 13.5px; }
	.d3-material__body strong { font-size: 17px; }
}
.d3-vat { font-family: var(--d3-sans); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--d3-soft); margin-left: 6px; vertical-align: middle; }
.woocommerce div.product p.price .d3-vat { font-size: 13px; }
/* Heavier sans needs a little less size than the old serif. */
.d3-hero__title { font-size: clamp(40px, 5.4vw, 78px); }
.d3-page-head__title, .d3-archive-head__title { font-size: clamp(36px, 4.8vw, 66px); }
.d3-h2 { font-size: clamp(28px, 3.6vw, 50px); }

/* Client's original logo (gradient wordmark, transparent) */
.d3-logo--img { display: inline-flex; align-items: center; line-height: 0; }
.d3-logo--img img { height: 44px; width: auto; display: block; transition: height .35s var(--d3-ease); }
.d3-header.is-scrolled .d3-logo--img img { height: 38px; }
.d3-logo--footer img { height: 54px; }
@media (max-width: 960px) {
	.d3-logo--img img, .d3-header.is-scrolled .d3-logo--img img { height: 34px; }
}
@media (max-width: 360px) { .d3-logo--img img, .d3-header.is-scrolled .d3-logo--img img { height: 30px; } }
/* The logo's purple was drawn for white backgrounds — lift it a touch on the dark theme. */
.d3-logo--img img { filter: brightness(1.35) saturate(1.1); }

/* ==========================================================================
   REBRAND v3 (2026-10-21) — white site + the logo's own colours.
   Logo gradient: #7A4496 (purple) → #9B3685 (plum) → #CE2541 (red).
   ========================================================================== */
:root {
	--d3-brand-1: #7a4496;
	--d3-brand-2: #9b3685;
	--d3-brand-3: #ce2541;
	--d3-grad: linear-gradient(100deg, #7a4496 0%, #a5327a 50%, #ce2541 100%);
	--d3-grad-soft: linear-gradient(135deg, rgba(122, 68, 150, .08), rgba(206, 37, 65, .06));

	--d3-bg: #ffffff;
	--d3-bg-2: #f8f6fb;
	--d3-raised: #ffffff;
	--d3-raised-2: #f3eff7;
	--d3-line: rgba(29, 22, 38, .09);
	--d3-line-2: rgba(29, 22, 38, .16);
	--d3-ink: #1d1626;
	--d3-soft: #5d5669;
	--d3-mute: #8b8496;
	--d3-gold: #9b3685;      /* primary accent (token name kept for compatibility) */
	--d3-gold-2: #b02c6b;    /* accent text / hover */
	--d3-gold-ink: #ffffff;  /* text on accent buttons */
	--d3-mount: #f4f2f7;
	--d3-stone: #f6f1f8;
	--d3-stone-2: #efe8f4;
	--d3-stone-ink: #1d1626;
	--d3-stone-soft: #5d5669;
	--d3-ok: #2e7d4f;
	--d3-err: #c62839;
	--d3-shadow: 0 24px 60px -30px rgba(60, 30, 80, .30);
}
body { background: #fff; color: var(--d3-ink); }
::selection { background: var(--d3-brand-2); color: #fff; }
:focus-visible { outline-color: var(--d3-brand-2); }
a:hover { color: var(--d3-brand-2); }

/* Gradient accents */
.d3-h2 em, .d3-hero__title em, .d3-page-head__title em, .d3-form-card__title em, blockquote em {
	background: var(--d3-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.d3-eyebrow { color: var(--d3-brand-2); }
.d3-eyebrow::before { background: var(--d3-grad); height: 2px; opacity: 1; }

/* Buttons */
.d3-btn--gold, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce #place_order, .woocommerce .checkout-button, .woocommerce .single_add_to_cart_button {
	background: var(--d3-grad) !important; background-size: 160% 100% !important; background-position: 0 0 !important;
	color: #fff !important; border-color: transparent !important;
	box-shadow: 0 12px 30px -14px rgba(165, 50, 122, .65) !important;
	transition: background-position .5s var(--d3-ease), transform .35s var(--d3-ease), box-shadow .35s !important;
}
.d3-btn--gold:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #place_order:hover,
.woocommerce .checkout-button:hover, .woocommerce .single_add_to_cart_button:hover {
	background-position: 100% 0 !important; color: #fff !important; filter: none;
	box-shadow: 0 16px 36px -14px rgba(206, 37, 65, .6) !important;
}
.d3-btn--line, .d3-btn--ghost { --bd: var(--d3-line-2); color: var(--d3-ink); }
.d3-btn--line:hover, .d3-btn--ghost:hover { border-color: var(--d3-brand-2); color: var(--d3-brand-2); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { color: var(--d3-ink) !important; }
.woocommerce ul.products li.product .button:hover { background: var(--d3-grad) !important; color: #fff !important; border-color: transparent !important; }
.d3-link-arrow:hover { border-color: var(--d3-brand-2); color: var(--d3-brand-2); }

/* Top bar + header */
.d3-topbar { background: var(--d3-grad); border-bottom: 0; color: rgba(255, 255, 255, .92); }
.d3-topbar a { color: #fff; }
.d3-topbar a:hover { color: #fff; opacity: .8; }
.d3-header { background: rgba(255, 255, 255, .86); border-bottom: 1px solid var(--d3-line); }
.d3-header.is-scrolled { background: rgba(255, 255, 255, .96); box-shadow: 0 10px 30px -18px rgba(60, 30, 80, .25); }
.d3-logo--img img { filter: none; }
.d3-nav__menu > li > a { color: var(--d3-ink); }
.d3-nav__menu > li > a:hover, .d3-nav__menu > li:focus-within > a { background: rgba(155, 54, 133, .07); color: var(--d3-brand-2); }
.d3-megamenu { background: #fff; box-shadow: 0 40px 80px -30px rgba(60, 30, 80, .28); }
.d3-megamenu__item:hover { background: var(--d3-bg-2); color: var(--d3-ink); }
.d3-megamenu__all { color: var(--d3-brand-2); }
.d3-search input[type="search"] { background: var(--d3-bg-2); border-color: var(--d3-line); color: var(--d3-ink); }
.d3-search input[type="search"]:focus { background: #fff; border-color: var(--d3-brand-2); box-shadow: 0 0 0 4px rgba(155, 54, 133, .12); }
.d3-icon-btn { color: var(--d3-ink); }
.d3-icon-btn:hover { background: var(--d3-bg-2); color: var(--d3-brand-2); }
.d3-cart-count { background: var(--d3-grad); color: #fff; }
.d3-nav-toggle span { background: var(--d3-ink); }
@media (max-width: 960px) {
	.d3-nav { background: #fff; }
	body.d3-nav-open .d3-header { background: #fff; }
	.d3-search input[type="search"], .d3-search input[type="search"]:focus { background: #fff; box-shadow: 0 20px 40px -20px rgba(60, 30, 80, .3); }
	.d3-tabbar { background: rgba(255, 255, 255, .94); box-shadow: 0 -10px 30px -20px rgba(60, 30, 80, .35); }
	.d3-tabbar__item { color: var(--d3-mute); }
	.d3-tabbar__item.is-active { color: var(--d3-brand-2); }
	.d3-tabbar__item.is-active .d3-tabbar__icon { background: rgba(155, 54, 133, .1); }
}

/* Hero */
.d3-hero {
	background:
		radial-gradient(ellipse 45% 55% at 82% 40%, rgba(206, 37, 65, .10), transparent 70%),
		radial-gradient(ellipse 40% 50% at 62% 70%, rgba(122, 68, 150, .12), transparent 70%),
		linear-gradient(180deg, #ffffff 0%, #faf7fc 100%);
}
.d3-hero__grain { opacity: .7; }
.d3-hero__glow { background: radial-gradient(circle, rgba(165, 50, 122, .20), transparent 65%); }
.d3-hero__ring { border-color: rgba(155, 54, 133, .18); }
.d3-hero__ring--inner { border-color: rgba(206, 37, 65, .28); }
.d3-hero__item img { filter: drop-shadow(0 30px 30px rgba(40, 20, 50, .22)); }
.d3-hero__floor { background: radial-gradient(ellipse at center, rgba(60, 30, 80, .22), transparent 70%); }
.d3-hero__tag { background: rgba(255, 255, 255, .85); box-shadow: 0 20px 40px -20px rgba(60, 30, 80, .3); }
.d3-hero__tag b { color: var(--d3-brand-2); }
.d3-hero__facts dt { background: var(--d3-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.d3-hero__scroll span { background: linear-gradient(var(--d3-brand-2), transparent); }

/* Ticker */
.d3-ticker { background: var(--d3-bg-2); }
.d3-ticker span { color: var(--d3-ink); }
.d3-ticker i { color: var(--d3-brand-3); }

/* Cards / bento / tabs */
.d3-bento__item, .d3-card, .woocommerce ul.products li.product, .d3-service, .d3-method-card, .d3-about__card,
.d3-contact-tile, .d3-sidebar-block, .d3-material, .d3-form-card {
	background: #fff; border-color: var(--d3-line);
	box-shadow: 0 1px 2px rgba(29, 22, 38, .04);
}
.d3-bento__item:hover, .d3-card:hover, .woocommerce ul.products li.product:hover, .d3-service:hover, .d3-method-card:hover,
.d3-material:hover, a.d3-contact-tile:hover {
	border-color: rgba(155, 54, 133, .35); box-shadow: 0 24px 50px -28px rgba(60, 30, 80, .35);
}
.d3-bento__num, .d3-card__cat, .d3-material__tag, .d3-about__label, .d3-contact-tile__label, .d3-sidebar-block h4, .d3-methods__n, .d3-numlist__n { color: var(--d3-brand-2); }
.d3-bento__item:hover .d3-bento__go { background: var(--d3-grad); border-color: transparent; color: #fff; }
.d3-tabs { background: var(--d3-bg-2); }
.d3-tab.is-active { background: var(--d3-grad); color: #fff; }
.d3-card__more, .d3-material__more { color: var(--d3-brand-2); }
.d3-card:hover .d3-card__more { color: var(--d3-brand-3); }
.d3-price-quote { color: var(--d3-brand-2); }
.d3-service { background: linear-gradient(180deg, #fff, var(--d3-bg-2)); }
.d3-service__icon { border-color: rgba(155, 54, 133, .25); color: var(--d3-brand-2); background: var(--d3-grad-soft); }
.d3-steps__n, .d3-method-card__n { background: var(--d3-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.d3-steps li::before { background: var(--d3-grad); }
.d3-wishlist-btn { background: #fff; box-shadow: 0 6px 16px -6px rgba(60, 30, 80, .3); }

/* STANLEY band + welcome: soft lavender */
.d3-stanley { background: linear-gradient(180deg, #f6f1f8, #fbf8fc); }
.d3-stanley__item:hover { background: #fff; box-shadow: 0 20px 40px -26px rgba(60, 30, 80, .35); }
.d3-welcome__box { background: linear-gradient(135deg, #f6f1f8, #fdf4f6); }
.d3-welcome .d3-eyebrow { color: var(--d3-brand-2); }

/* Christmas: full brand gradient band */
.d3-xmas { background: linear-gradient(120deg, #5e3077 0%, #8d3584 45%, #c4283f 100%); border: 0; color: #fff; }
.d3-xmas__glow { background: radial-gradient(closest-side, rgba(255, 255, 255, .14), transparent 70%); }
.d3-xmas .d3-eyebrow { color: rgba(255, 255, 255, .85); }
.d3-xmas .d3-eyebrow::before { background: rgba(255, 255, 255, .7); }
.d3-xmas .d3-h2 { color: #fff; }
.d3-xmas .d3-h2 em { background: none; color: #ffd9e1; -webkit-text-fill-color: #ffd9e1; }
.d3-xmas__lede { color: rgba(255, 255, 255, .82); }
.d3-xmas__sub { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.d3-xmas__sub:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .6); color: #fff; }
.d3-xmas__sub span { color: rgba(255, 255, 255, .8); }
.d3-xmas .d3-btn--gold { background: #fff !important; color: var(--d3-brand-2) !important; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .35) !important; }
.d3-xmas .d3-rail { scrollbar-color: rgba(255, 255, 255, .4) transparent; }
.d3-xmas .d3-rail::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .4); }

/* Methods / mission */
.d3-methods { background: var(--d3-bg-2); }
.d3-mission { background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(155, 54, 133, .07), transparent 70%); }

/* CTA: gradient card */
.d3-cta__box { background: var(--d3-grad); color: #fff; box-shadow: 0 30px 60px -30px rgba(165, 50, 122, .55); }
.d3-cta__box .d3-h2 { color: #fff; }
.d3-cta__box .d3-h2 em { background: none; color: #ffd9e1; -webkit-text-fill-color: #ffd9e1; }
.d3-cta__box .d3-eyebrow--dark, .d3-cta__box .d3-eyebrow { color: rgba(255, 255, 255, .85); }
.d3-cta__box .d3-eyebrow::before { background: rgba(255, 255, 255, .7); }
.d3-cta__box p:not(.d3-eyebrow) { color: rgba(255, 255, 255, .85); }
.d3-cta__box .d3-btn--dark { --bg: #fff; --fg: var(--d3-brand-2); --bd: #fff; }
.d3-cta__box .d3-btn--dark:hover { background: #1d1626; color: #fff; }
.d3-cta__tel { color: #fff; border-color: rgba(255, 255, 255, .5); }
.d3-cta__tel:hover { color: #fff; opacity: .85; }

/* Footer */
.d3-footer { background: #faf8fc; border-top: 0; position: relative; }
.d3-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--d3-grad); }
.d3-footer ul a { color: var(--d3-ink); }
.d3-footer ul a:hover { color: var(--d3-brand-2); }
.d3-footer__big { color: var(--d3-ink); }
.d3-footer__word { background: linear-gradient(180deg, rgba(155, 54, 133, .16), rgba(155, 54, 133, 0) 85%); -webkit-background-clip: text; background-clip: text; }

/* Page heads / archive */
.d3-page-head, .d3-archive-head {
	background: radial-gradient(ellipse 50% 90% at 85% 0%, rgba(155, 54, 133, .10), transparent 70%), linear-gradient(180deg, #fbf8fc, #fff);
}
.d3-archive-head__count { color: var(--d3-brand-2); border-color: rgba(155, 54, 133, .3); }
.d3-cat-nav__item.is-active { border-color: rgba(155, 54, 133, .45); background: #fff; box-shadow: 0 12px 24px -18px rgba(60, 30, 80, .4); }
.d3-cat-nav__item:hover { background: var(--d3-bg-2); }
.d3-cat-nav__icon--all { background: var(--d3-grad-soft); color: var(--d3-brand-2); }
.d3-sidebar-cats li.is-active > a { color: var(--d3-brand-2); }
.d3-sidebar-help a { color: var(--d3-ink); }
.woocommerce .widget_price_filter .ui-slider .ui-slider-range { background: var(--d3-grad) !important; }
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle { background: #fff !important; border-color: var(--d3-brand-2) !important; }

/* Product page / shop details */
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--d3-ink) !important; }
.woocommerce div.product div.images .flex-control-thumbs li:has(img.flex-active) { border-color: var(--d3-brand-2); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { border-bottom-color: var(--d3-brand-2); }
.d3-pdp-trust { background: var(--d3-bg-2); }
.d3-pdp-trust svg { color: var(--d3-brand-2); }
.woocommerce ul.products li.product .onsale, .woocommerce span.onsale { background: var(--d3-brand-3); color: #fff; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-left-color: var(--d3-brand-2) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--d3-brand-2) !important; }
.woocommerce .cart-collaterals .cart_totals .order-total .amount { color: var(--d3-brand-2); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--d3-brand-2) !important; color: #fff !important; }
.d3-live { background: #fff; box-shadow: 0 30px 60px -30px rgba(60, 30, 80, .35); }
.d3-live__item:hover, .d3-live__item.is-active, .d3-live__all.is-active { background: var(--d3-bg-2); }
.d3-live__txt mark { color: var(--d3-brand-2); }
.d3-live__all { color: var(--d3-brand-2); }

.d3-stanley .d3-btn--dark { background: var(--d3-grad); border-color: transparent; color: #fff; box-shadow: 0 12px 30px -14px rgba(165, 50, 122, .6); }
.d3-stanley .d3-btn--dark:hover { color: #fff; filter: brightness(1.05); }
.d3-stanley__item span { color: var(--d3-ink); }

/* ==========================================================================
   CLEAN PASS (2026-10-21): real-store polish — no decorative gimmicks,
   no scroll fades (content is always crisp), consistent cards + buttons.
   ========================================================================== */

/* Content never fades in on scroll — always sharp, also on slow phones. */
[data-d3-reveal], .d3-js [data-d3-reveal] { opacity: 1 !important; transform: none !important; }

/* Remove template-looking decoration */
.d3-hero__grain, .d3-hero__ring--inner, .d3-hero__scroll, .d3-footer__word, .d3-bento__num { display: none !important; }
.d3-eyebrow::before { display: none; }
.d3-eyebrow { font-size: 12.5px; letter-spacing: .14em; margin-bottom: 14px; }
.d3-hero__ring { border-color: rgba(155, 54, 133, .14); }

/* Typography: calmer, more legible */
body { font-size: 16px; line-height: 1.65; color: var(--d3-ink); }
.d3-hero__title { font-weight: 800; letter-spacing: -.04em; }
.d3-h2 { font-weight: 800; letter-spacing: -.035em; }
.d3-hero__lede, .d3-page-head__lede, .d3-archive-head__desc, .d3-section-head__note, .d3-xmas__lede { color: var(--d3-soft); font-size: 17px; line-height: 1.65; }
.d3-steps p, .d3-service p, .d3-methods__d, .d3-method-card p, .d3-numlist p { color: var(--d3-soft); }
.d3-section-head { margin-bottom: 36px; }

/* Trust row (replaces the scrolling ticker) */
.d3-trust { border-top: 1px solid var(--d3-line); border-bottom: 1px solid var(--d3-line); background: #fff; }
.d3-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.d3-trust__item { display: flex; align-items: center; gap: 14px; padding: 24px 20px; }
.d3-trust__item + .d3-trust__item { border-left: 1px solid var(--d3-line); }
.d3-trust__icon { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--d3-grad-soft); color: var(--d3-brand-2); }
.d3-trust__item strong { display: block; font-size: 15px; font-weight: 700; color: var(--d3-ink); line-height: 1.3; }
.d3-trust__item em { display: block; font-style: normal; font-size: 13.5px; color: var(--d3-soft); margin-top: 2px; }
.d3-trust__item em a { color: var(--d3-brand-2); font-weight: 600; }
@media (max-width: 1000px) {
	.d3-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.d3-trust__item:nth-child(3) { border-left: 0; }
	.d3-trust__item:nth-child(n+3) { border-top: 1px solid var(--d3-line); }
}
@media (max-width: 560px) {
	.d3-trust__item { padding: 16px 10px; gap: 10px; align-items: flex-start; }
	.d3-trust__icon { width: 38px; height: 38px; border-radius: 10px; }
	.d3-trust__icon svg { width: 19px; height: 19px; }
	.d3-trust__item strong { font-size: 13.5px; }
	.d3-trust__item em { font-size: 12px; }
}

/* ---------- Product cards: one consistent, tidy card everywhere ---------- */
.d3-card, .woocommerce ul.products li.product { border-radius: 18px; padding: 8px; }
.d3-card__media, .woocommerce ul.products li.product .d3-card__media { border-radius: 12px; background: var(--d3-mount); }
.d3-card__body { padding: 14px 8px 8px; gap: 6px; }
.d3-card__cat, .woocommerce ul.products li.product .d3-card__cat { font-size: 10.5px; letter-spacing: .1em; font-weight: 700; }
.d3-card__title, .woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 14.5px !important; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; color: var(--d3-ink);
	min-height: 2.8em;
}
.d3-card__more { font-size: 13px; margin-top: 2px; }
.woocommerce ul.products li.product .button {
	display: flex !important; align-items: center; justify-content: center;
	min-height: 40px !important; height: 40px; padding: 0 14px !important; margin: 12px 8px 6px !important;
	width: calc(100% - 16px); border-radius: 999px !important;
	font-size: 13.5px !important; font-weight: 600; line-height: 1 !important; white-space: nowrap;
	background: #fff !important; border: 1px solid var(--d3-line-2) !important; color: var(--d3-ink) !important;
}
.woocommerce ul.products li.product .button.loading { opacity: .6; }
.woocommerce ul.products li.product .added_to_cart { font-size: 12.5px; font-weight: 600; color: var(--d3-brand-2); padding: 0 8px 6px; }
.woocommerce ul.products li.product .price { display: none; } /* store setting: no prices on listings */
.d3-wishlist-btn { width: 34px; height: 34px; top: 16px; right: 16px; }
.d3-wishlist-btn svg { width: 16px; height: 16px; }
@media (max-width: 560px) {
	.d3-card, .woocommerce ul.products li.product { border-radius: 14px; padding: 6px; }
	.d3-card__body { padding: 10px 4px 4px; }
	.d3-card__title, .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13.5px !important; }
	.woocommerce ul.products li.product .button { height: 36px; min-height: 36px !important; font-size: 12.5px !important; margin: 10px 4px 4px !important; width: calc(100% - 8px); }
	.d3-wishlist-btn { width: 30px; height: 30px; top: 12px; right: 12px; }
}

/* ---------- Generic WooCommerce buttons: centred label ---------- */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { align-items: center; justify-content: center; line-height: 1 !important; }

/* ---------- Bento: calmer category tiles ---------- */
.d3-bento__item { padding: 20px; }
.d3-bento__meta strong { font-weight: 700; }
.d3-bento__go { width: 36px; height: 36px; }

/* ---------- Hero tags slightly smaller ---------- */
.d3-hero__tag { padding: 12px 16px; }
.d3-hero__tag b { font-size: 12px; letter-spacing: .08em; }
.d3-hero__tag span { font-size: 12.5px; }

/* ---------- Section rhythm ---------- */
.d3-section { padding: clamp(56px, 7vw, 100px) 0; }
.d3-process { padding-top: clamp(56px, 7vw, 96px); }

@media (max-width: 560px) { .woocommerce div.product .product_title { font-size: 26px; } .woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 26px !important; } }

@media (max-width: 900px) { .d3-hero__tag { display: none; } .d3-hero__stage { max-width: 400px; } }

/* Hero heading: slimmer + smaller (client feedback 2026-10-21) */
.d3-hero__title { font-size: clamp(32px, 4.4vw, 62px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 22px; }
.d3-hero__title em { font-weight: 700; padding-bottom: .12em; margin-bottom: -.12em; display: inline-block; }
.d3-hero__lede { font-size: 16.5px; }
@media (max-width: 560px) { .d3-hero__title { font-size: 31px; line-height: 1.12; } .d3-hero__lede { font-size: 15.5px; } .d3-hero { padding-top: 40px; } }
@media (max-width: 360px) { .d3-hero__title { font-size: 28px; } }

/* ==========================================================================
   Christmas band text colour (a later rule had turned the lede grey)
   ========================================================================== */
.d3-xmas .d3-xmas__lede { color: rgba(255, 255, 255, .88); }

/* ==========================================================================
   Inquiry modal ("Teirautis produkto")
   ========================================================================== */
html.d3-modal-open { overflow: hidden; }
.d3-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.d3-modal[hidden] { display: none; }
.d3-modal__backdrop { position: absolute; inset: 0; background: rgba(29, 22, 38, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s ease; }
.d3-modal__panel {
	position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
	padding: 36px 36px 28px; border-radius: 22px; background: #fff;
	box-shadow: 0 40px 90px -30px rgba(40, 20, 60, .5);
	opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .2s ease, transform .25s var(--d3-ease);
}
.d3-modal.is-open .d3-modal__backdrop { opacity: 1; }
.d3-modal.is-open .d3-modal__panel { opacity: 1; transform: none; }
.d3-modal__panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 22px 22px 0 0; background: var(--d3-grad); }
.d3-modal__close {
	position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center; border: 0; background: var(--d3-bg-2); color: var(--d3-ink);
	transition: background .2s, color .2s;
}
.d3-modal__close:hover { background: var(--d3-grad); color: #fff; }
.d3-modal .d3-eyebrow { margin-bottom: 8px; }
.d3-modal__title { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; }
.d3-modal__product { display: inline-block; margin: 0 0 10px; padding: 6px 12px; border-radius: 999px; background: var(--d3-grad-soft); color: var(--d3-brand-2); font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.d3-modal__lede { color: var(--d3-soft); margin: 0 0 20px; font-size: 15px; }
.d3-modal__form { display: grid; gap: 14px; }
.d3-modal__form .d3-field input, .d3-modal__form .d3-field textarea { min-height: 48px; padding: 12px 14px; background: #fff; }
.d3-modal__form .d3-field textarea { min-height: 110px; }
.d3-modal__form .d3-btn { margin-top: 4px; min-height: 52px; }
.d3-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.d3-modal__msg { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 500; }
.d3-modal__msg.is-ok { background: rgba(46, 125, 79, .1); color: #24663f; border: 1px solid rgba(46, 125, 79, .3); }
.d3-modal__msg.is-err { background: rgba(198, 40, 57, .08); color: #a51f2e; border: 1px solid rgba(198, 40, 57, .3); }
.d3-modal__call { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--d3-line); font-size: 14.5px; color: var(--d3-soft); text-align: center; }
.d3-modal__call svg { color: var(--d3-brand-3); flex-shrink: 0; }
.d3-modal__call a { color: var(--d3-ink); font-weight: 700; white-space: nowrap; border-bottom: 1px solid var(--d3-brand-3); }
@media (max-width: 560px) {
	.d3-modal { padding: 0; align-items: end; }
	.d3-modal__panel { width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; padding: 30px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(40px); }
	.d3-modal__title { font-size: 22px; }
	.d3-modal__form .d3-form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
}

/* Loop inquiry button looks like the old cart button */
.woocommerce ul.products li.product .d3-inquiry-open { cursor: pointer; }
.d3-header-call { display: inline-grid; }
@media (max-width: 960px) { .d3-header-call { display: none; } }

/* Logo Preview plugin: brand colours + inquiry mockup thumbnail */
body { --lp-accent: #7a4496; --lp-accent-2: #ce2541; --lp-ink: var(--d3-ink); --lp-soft: var(--d3-soft); --lp-bg2: var(--d3-bg-2); }
.lp-trigger { margin: 4px 0 20px; }
.d3-modal__mockup { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px; border-radius: 14px; background: var(--d3-bg-2); border: 1px solid var(--d3-line); }
.d3-modal__mockup[hidden] { display: none; }
.d3-modal__mockup img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: #fff; flex-shrink: 0; }
.d3-modal__mockup figcaption { font-size: 13px; font-weight: 600; color: var(--d3-ink); line-height: 1.4; }

/* Form privacy note */
.d3-form-note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--d3-mute); }
.d3-form-note a { color: inherit; text-decoration: underline; }

/* Cookie notice */
.d3-cookie { position: fixed; left: 20px; bottom: 20px; z-index: 90; max-width: 420px; display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: #fff; color: var(--d3-ink); border: 1px solid rgba(122, 68, 150, .16); border-radius: 18px; box-shadow: 0 18px 50px -18px rgba(40, 20, 60, .35); opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease; }
.d3-cookie.is-in { opacity: 1; transform: none; }
.d3-cookie[hidden] { display: none; }
.d3-cookie__text { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--d3-soft); }
.d3-cookie__text strong { color: var(--d3-ink); }
.d3-cookie__text a { color: #7A4496; text-decoration: underline; white-space: nowrap; }
.d3-cookie__ok { flex: 0 0 auto; }
@media (max-width: 760px) { .d3-cookie { left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); max-width: none; } }

/* FAQ */
.d3-faq__list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.d3-faq__item { background: #fff; border: 1px solid rgba(122, 68, 150, .14); border-radius: 18px; padding: 0 22px; transition: box-shadow .2s ease; }
.d3-faq__item[open] { box-shadow: 0 14px 40px -24px rgba(40, 20, 60, .35); }
.d3-faq__item summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 17px; color: var(--d3-ink); }
.d3-faq__item summary::-webkit-details-marker { display: none; }
.d3-faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(122, 68, 150, .08); color: #7A4496; font-size: 18px; transition: transform .2s ease; }
.d3-faq__item[open] summary::after { content: "–"; }
.d3-faq__item p { margin: 0 0 20px; color: var(--d3-soft); line-height: 1.65; }

/* Category / shop text below the grid */
.d3-cat-text { max-width: 820px; margin-top: 56px; margin-bottom: 24px; color: var(--d3-soft); font-size: 16px; line-height: 1.7; }
.d3-cat-text p { margin: 0 0 14px; }
.d3-facts, .d3-prose .d3-facts { list-style: none; padding: 0; margin: 22px 0; max-width: 820px; display: grid; gap: 12px; counter-reset: d3f; }
.d3-facts li { padding: 14px 18px; border: 1px solid var(--d3-line); border-radius: var(--d3-r-sm); line-height: 1.6; }
ol.d3-facts li { counter-increment: d3f; }
ol.d3-facts li::before { content: counter(d3f, decimal-leading-zero) "  "; color: var(--d3-mute); font-variant-numeric: tabular-nums; }
