/* Distillate Direct homepage — THE PICK · all tools. Phone first; desktop from 900px.
   Top (header → hero): B colours. From "On sale this week" down: C colours. */

/* Fonts: @font-face here, not a Google Fonts <link> (SG Optimizer strips those on this fleet). Latin subset. */
@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-weight: 500 800;
	font-stretch: 100%;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/bricolagegrotesque/v9/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInE.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Figtree';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DQ.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.ddh {
	/* B — top */
	--ink: #121212;
	--panel: #1F1F1D;
	--line: #333330;
	--line2: #44443F;
	--text: #F5F5F0;
	--muted: #B5B5AD;
	--soft: #C9C9C1;
	--top: #FFCC1A;
	--card: #F5F5F0;
	/* C — below */
	--ground: #F5F3F6;
	--aub: #1E1424;
	--plum: #3B2142;
	--amber: #F2A93B;
	--cline: #DCD6DF;
	--cmuted: #5E5465;
	--cbody: #4A3F50;
	--display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
	--body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.45;
	color: var(--aub);
	background: var(--ground);
	-webkit-text-size-adjust: 100%;
	overflow-x: clip;
}
body.ddh-front { margin: 0; background: #F5F3F6; }
body.ddh-front.ddh-lock { overflow: hidden; }
.ddh *, .ddh *::before, .ddh *::after { box-sizing: border-box; }
.ddh img { max-width: 100%; display: block; }
.ddh :where(a) { color: inherit; }
.ddh :where(button) { font: inherit; cursor: pointer; color: inherit; text-transform: none; letter-spacing: normal; }
.ddh h1, .ddh h2, .ddh h3, .ddh p, .ddh ol, .ddh ul { margin: 0; }
/* Low specificity on purpose: beats the theme's bare h1/a/button rules, loses to every class rule below. */
.ddh :where(h1, h2, h3) { color: inherit; font-family: inherit; text-transform: none; }
.ddh ol, .ddh ul { padding: 0; list-style: none; }
.ddh :focus-visible { outline: 3px solid var(--top); outline-offset: 2px; }
.ddh-sec :focus-visible, .ddh-shop-top :focus-visible, .ddh-drawer :focus-visible { outline-color: #7A4B00; }
.ddh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ddh-skip { position: absolute; left: -9999px; top: 0; z-index: 99; background: var(--top); color: var(--ink); padding: 12px 16px; font-weight: 700; }
.ddh-skip:focus { left: 16px; top: 8px; }
.ddh-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.ddh-muted { color: var(--cmuted); font-size: 14px; }
.ddh-link { background: none; border: 0; padding: 0; color: var(--aub); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.ddh-center { justify-content: center; }

/* Buttons + chips */
.ddh-btn { min-height: 52px; padding: 0 22px; border-radius: 14px; border: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; text-decoration: none; text-align: center; }
.ddh-btn-top { background: var(--top); color: var(--ink); }
.ddh-btn-ghost { border: 1.5px solid var(--text); color: var(--text); background: transparent; }
.ddh-btn-ink { background: var(--aub); color: #FFFFFF; }
.ddh-btn-shop { background: var(--amber); color: var(--aub); }
.ddh-btn-line { background: #FFFFFF; border: 1px solid var(--cline); color: var(--aub); }
.ddh-btn[disabled] { background: #5A3D63; color: #E2D8E6; cursor: not-allowed; }
.ddh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ddh-scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.ddh-chip { flex: none; white-space: nowrap; min-height: 44px; padding: 0 14px; border-radius: 12px; font-weight: 700; font-size: 14px; background: #FFFFFF; color: var(--aub); border: 1px solid var(--cline); }
.ddh-chip[aria-pressed="true"], .ddh-chip[aria-selected="true"] { background: var(--aub); color: #FFFFFF; border-color: var(--aub); }
.ddh-add { flex: none; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--aub); color: #FFFFFF; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.ddh-add.is-busy { opacity: .6; }
.ddh-in::placeholder { color: #9A9A92; opacity: 1; }

/* ---------- Header (B) ---------- */
.ddh-head { background: var(--ink); color: var(--text); position: sticky; top: 0; z-index: 30; }
.ddh-head-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "menu logo cart" "search search search"; align-items: center; gap: 10px 8px; padding-top: 12px; padding-bottom: 10px; position: relative; }
.ddh-menu-btn { grid-area: menu; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel); display: grid; place-items: center; color: var(--text); }
.ddh-logo { grid-area: logo; display: flex; align-items: center; gap: 10px; min-width: 0; justify-self: center; text-decoration: none; color: var(--text); min-height: 44px; }
.ddh-logo img { width: 40px; height: 40px; border-radius: 50%; background: #FFFFFF; object-fit: cover; flex: none; }
.ddh-logo span { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ddh-logo b { color: var(--top); }
.ddh-cartbtn { grid-area: cart; height: 44px; border-radius: 12px; border: 0; background: var(--top); color: var(--ink); padding: 0 12px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.ddh-cart-word { display: none; }
.ddh-search { grid-area: search; position: relative; display: flex; align-items: center; height: 46px; background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; padding: 0 14px; margin: 0; }
.ddh-search:focus-within { border-color: var(--top); }
.ddh-search input[type=search] { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 500 16px var(--body); outline: none; height: 100%; -webkit-appearance: none; appearance: none; }
.ddh-search input::-webkit-search-cancel-button { filter: invert(1); }
.ddh-search-ico { flex: none; color: var(--text); }
.ddh-nav { display: none; }
.ddh-nav.is-open { display: flex; flex-direction: column; position: absolute; left: 16px; right: 16px; top: 64px; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 6px; z-index: 40; box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.ddh-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; min-height: 48px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; }
.ddh-nav a:hover { background: #2A2A27; }
.ddh-ship { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); padding-bottom: 12px; }
.ddh-ship span:first-child { white-space: nowrap; }
.ddh-bar { flex: 1; height: 6px; background: #2A2A27; border-radius: 99px; overflow: hidden; display: block; }
.ddh-bar > span { display: block; height: 100%; width: 0; background: var(--top); border-radius: 99px; transition: width .3s ease; }
.ddh-bar-light { background: #E4DEE7; height: 8px; margin-top: 8px; }
.ddh-bar-light > span { background: var(--amber); }

/* Search results */
.ddh-results { position: absolute; left: -1px; right: -1px; top: 52px; background: #FFFFFF; color: var(--aub); border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.28); padding: 6px; z-index: 45; max-height: 70vh; overflow-y: auto; }
.ddh-r { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; }
.ddh-r:hover { background: var(--ground); }
.ddh-r-img { width: 44px; height: 44px; border-radius: 10px; flex: none; overflow: hidden; }
.ddh-r-img img { width: 100%; height: 100%; object-fit: cover; }
.ddh-r-txt { flex: 1; min-width: 0; text-decoration: none; display: flex; flex-direction: column; }
.ddh-r-txt b { font-weight: 600; font-size: 15px; line-height: 1.25; }
.ddh-r-txt small { color: var(--cmuted); font-size: 13px; }
.ddh-r-price { font-weight: 700; font-size: 14px; white-space: nowrap; }
.ddh-r-none, .ddh-r-count { display: block; padding: 8px 10px; color: var(--cmuted); font-size: 14px; }
.ddh-r-all { display: flex; align-items: center; min-height: 44px; padding: 0 10px; font-weight: 700; }

/* ---------- Hero (B) ---------- */
.ddh-hero { background: var(--ink); color: var(--text); }
.ddh-hero-grid { padding-top: 28px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 18px; }
.ddh-hero h1 { font-family: var(--display); font-weight: 800; font-size: 60px; line-height: .88; letter-spacing: -0.04em; }
.ddh-hero-copy > p { margin-top: 14px; font-size: 18px; line-height: 1.35; color: var(--soft); max-width: 34ch; }
.ddh-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.ddh-hero-side { display: flex; flex-direction: column; gap: 14px; }
.ddh-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ddh-panel-h { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.1; }
.ddh-kick { font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.ddh-track-row { display: flex; flex-direction: column; gap: 8px; }
.ddh-field { height: 48px; border: 1px solid var(--line2); border-radius: 12px; padding: 0 14px; font: 500 16px var(--body); background: var(--ink); color: var(--text); width: 100%; min-width: 0; }
.ddh-field:focus { border-color: var(--top); outline: none; }
.ddh-track .ddh-btn { min-height: 48px; }
.ddh-track button.ddh-btn-top { background: var(--top); color: var(--ink); border: 0; box-shadow: none; } /* beats the theme's button[type=submit] green */
.ddh-track-out { font-size: 15px; }
.ddh-perks ol { display: flex; flex-direction: column; gap: 8px; }
.ddh-perks li { display: flex; gap: 12px; }
.ddh-perks b { color: var(--top); font-weight: 800; }

/* Signed-in hero */
.ddh-me .ddh-hero-grid { gap: 14px; padding-top: 20px; padding-bottom: 28px; }
.ddh-me-h1 { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.ddh-me h2.ddh-hello { margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: .95; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.ddh-order-h { font-weight: 700; font-size: 15px; }
.ddh-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; font-size: 12px; }
.ddh-steps li::before { content: ''; display: block; height: 6px; border-radius: 99px; background: var(--line2); margin-bottom: 6px; }
.ddh-steps li.on::before { background: var(--top); }
.ddh-steps li:not(.on) { color: var(--muted); }
.ddh-note { font-size: 13px; color: var(--muted); }
.ddh-points { background: var(--top); color: var(--ink); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.ddh-points-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ddh-points-n { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; }
.ddh-points .ddh-btn { min-height: 46px; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; font-size: 14px; }
.ddh-points-earn { font-size: 13px; border-top: 1px solid rgba(18,18,18,.25); padding-top: 8px; }
.ddh-again { background: var(--card); color: var(--ink); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.ddh-again h3, .ddh-back h3 { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.1; }
.ddh-again-sub { font-size: 14px; color: #55554F; margin-bottom: 6px; }
.ddh-again-row { display: flex; align-items: center; gap: 12px; border-top: 1px solid #D6D6CE; min-height: 52px; padding: 6px 0; }
.ddh-again-row input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; margin: 0; }
.ddh-again-row label { flex: 1; font-size: 15px; font-weight: 600; min-width: 0; }
.ddh-again-row label span { font-weight: 400; color: #55554F; }
.ddh-again-row.is-out { opacity: .55; }
.ddh-again-row b { white-space: nowrap; }
.ddh-again .ddh-btn { margin-top: 8px; background: var(--ink); color: var(--text); }
.ddh-again .ddh-btn[disabled] { background: #8A8A84; color: #F5F5F0; }
.ddh-back { gap: 8px; }
.ddh-back h3 { font-size: 22px; }
.ddh-back p { font-size: 14px; color: var(--soft); }
.ddh-back .ddh-btn { min-height: 48px; border: 1.5px solid var(--text); background: transparent; color: var(--text); }

/* ---------- On sale strip (C) ---------- */
.ddh-deals { background: var(--aub); color: #FFFFFF; border-top: 6px solid var(--amber); }
.ddh-deals-row { padding-top: 12px; padding-bottom: 12px; display: flex; flex-direction: column; gap: 8px; }
.ddh-deals-h { font-weight: 800; color: var(--amber); font-size: 13px; letter-spacing: .04em; flex: none; }
.ddh-deals-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: thin; }
.ddh-deal { flex: none; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 0; background: var(--plum); color: #FFFFFF; font-weight: 600; font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.ddh-deal strong { color: var(--amber); }
.ddh-deal s { color: #C9BFD0; font-weight: 400; }

/* ---------- Finder + categories ---------- */
.ddh-shop-top { padding-top: 20px; display: flex; flex-direction: column-reverse; gap: 14px; scroll-margin-top: 140px; }
.ddh-card { background: #FFFFFF; border: 1px solid var(--cline); border-radius: 18px; padding: 16px; }
.ddh-card h2, .ddh-grid-head h2 { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; }
.ddh-finder { display: flex; flex-direction: column; gap: 10px; }
.ddh-step { font-size: 13px; color: var(--cmuted); font-weight: 600; }
.ddh-finder-hits { border-top: 1px solid var(--cline); padding-top: 6px; }
.ddh-hit { display: flex; align-items: center; gap: 10px; min-height: 52px; }
.ddh-hit a { flex: 1; min-width: 0; min-height: 44px; display: flex; flex-direction: column; justify-content: center; font-weight: 700; font-size: 15px; text-decoration: none; }
.ddh-hit a small { display: block; font-weight: 400; color: var(--cmuted); font-size: 13px; }
.ddh-hit-price { font-weight: 700; font-size: 14px; white-space: nowrap; }
.ddh-finder-note { font-size: 13px; color: var(--cmuted); padding-top: 4px; }
.ddh-cats { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; }
.ddh-cat { flex: none; min-height: 44px; padding: 0 16px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--cline); display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; font-size: 15px; white-space: nowrap; }
.ddh-cat small { font-weight: 500; font-size: 13px; color: var(--cmuted); }
.ddh-cat:hover { border-color: var(--aub); }

/* ---------- Sections ---------- */
.ddh-sec { padding-top: 16px; padding-bottom: 8px; scroll-margin-top: 140px; }
.ddh-sub { font-size: 14px; color: var(--cmuted); margin-top: 2px; }

/* Price board */
.ddh-board-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.ddh-board li { border-top: 1px solid #ECE8EE; padding: 8px 0; display: flex; align-items: center; gap: 10px; }
.ddh-board-txt { flex: 1; min-width: 0; }
.ddh-board-txt a { font-weight: 700; font-size: 15px; text-decoration: none; }
.ddh-board-txt small { display: block; font-size: 13px; color: var(--cmuted); }
.ddh-ppg { font-family: var(--display); font-weight: 800; font-size: 18px; white-space: nowrap; }
.ddh-ppg.best { color: #7A4B00; }
.ddh-dealtag { font-size: 11px; font-weight: 700; background: var(--amber); color: var(--aub); border-radius: 8px; padding: 2px 7px; margin-left: 4px; }

/* Ounce jar */
.ddh-jar { background: var(--aub); color: #FFFFFF; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.ddh-jar h2 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.ddh-jar-pick > p { font-size: 15px; color: #E2D8E6; margin: 4px 0 12px; }
.ddh-jar-pool { display: flex; flex-wrap: wrap; gap: 6px; }
.ddh-jar-opt { min-height: 44px; padding: 0 12px; border-radius: 12px; border: 0; background: var(--plum); color: #FFFFFF; font-weight: 600; font-size: 13px; }
.ddh-jar-opt[aria-pressed="true"] { background: var(--amber); color: var(--aub); }
.ddh-jar-opt small { font-weight: 400; opacity: .85; }
.ddh-jar-box { display: flex; flex-direction: column; gap: 10px; }
.ddh-jar-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ddh-slot { min-height: 58px; border-radius: 12px; padding: 6px; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; text-align: center; border: 1.5px dashed #6E5577; color: #C9BFD0; overflow-wrap: anywhere; }
.ddh-slot.on { background: var(--amber); color: var(--aub); border: 0; }
.ddh-jar-price b { font-family: var(--display); font-weight: 800; font-size: 36px; }
.ddh-jar-price span { font-size: 14px; color: #C9BFD0; }

/* Product grid */
.ddh-grid-sec { padding-top: 20px; padding-bottom: 28px; }
.ddh-grid-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.ddh-grid-head h2 { font-size: 26px; }
.ddh-fcats { margin-bottom: 12px; }
.ddh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ddh-pc { background: #FFFFFF; border-radius: 18px; overflow: hidden; border: 1px solid var(--cline); display: flex; flex-direction: column; min-width: 0; }
.ddh-pc-img { aspect-ratio: 1; position: relative; display: block; }
.ddh-pc-img img { width: 100%; height: 100%; object-fit: cover; }
.ddh-pc-mono { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 34px; color: rgba(30,20,36,.35); }
.ddh-tag { position: absolute; border-radius: 8px; font-weight: 700; font-size: 11px; padding: 4px 7px; line-height: 1.2; }
.ddh-tag-save { bottom: 8px; left: 8px; background: var(--aub); color: #FFFFFF; }
.ddh-tag-usual { top: 8px; left: 8px; background: var(--amber); color: var(--aub); }
.ddh-pc-body { padding: 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ddh-pc-meta { font-size: 12px; color: var(--cmuted); font-weight: 600; }
.ddh-pc h3 { font-size: 15px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.ddh-pc h3 a { text-decoration: none; display: flex; align-items: center; min-height: 44px; }
.ddh-pc-foot { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.ddh-price { font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.1; min-width: 0; }
.ddh-price s { font-family: var(--body); font-weight: 400; color: var(--cmuted); font-size: 13px; }
.ddh-empty { padding: 20px 0; color: var(--cmuted); }
.ddh-more-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }

/* Why */
.ddh-why h2 { margin-bottom: 8px; }
.ddh-why-grid { display: grid; gap: 4px; }
.ddh-why-item { display: flex; gap: 12px; padding: 8px 0; }
.ddh-no { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--amber); display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--aub); }
.ddh-why h3 { font-size: 16px; font-weight: 700; }
.ddh-why p { color: var(--cbody); font-size: 14px; }

/* Footer */
.ddh-foot { background: var(--aub); color: #FFFFFF; margin-top: 20px; }
.ddh-foot-grid { padding-top: 28px; padding-bottom: 12px; display: flex; flex-direction: column; gap: 14px; }
.ddh-foot-h { font-family: var(--display); font-weight: 800; font-size: 22px; }
.ddh-foot-mail { color: var(--amber) !important; font-size: 16px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.ddh-foot-note { color: #E2D8E6; font-size: 13px; max-width: 52ch; }
.ddh-foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; font-size: 15px; }
.ddh-foot-nav a { color: #FFFFFF; min-height: 44px; display: flex; align-items: center; }
.ddh-copy { color: #C9BFD0; font-size: 13px; padding-top: 8px; padding-bottom: 32px; }

/* ---------- Cart drawer ---------- */
.ddh-drawer { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: flex-end; }
.ddh-drawer[hidden] { display: none; }
.ddh-scrim { position: absolute; inset: 0; border: 0; background: rgba(18,18,18,.55); padding: 0; }
.ddh-panel-cart { position: relative; width: 100%; max-width: 420px; height: 100%; background: #FFFFFF; color: var(--aub); display: flex; flex-direction: column; overflow-y: auto; }
.ddh-cart-top { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--cline); }
.ddh-cart-top h2 { font-family: var(--display); font-weight: 800; font-size: 24px; }
.ddh-x { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--cline); background: #FFFFFF; font-size: 22px; line-height: 1; }
.ddh-cart-ship { padding: 12px 16px; background: var(--ground); font-size: 14px; font-weight: 600; }
.ddh-cart-body { padding: 4px 16px; flex: 1; }
.ddh-cart-body > .ddh-muted { padding: 14px 0; }
.ddh-line { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #ECE8EE; }
.ddh-line-img { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; flex: none; background: var(--ground); }
.ddh-line-img img { width: 100%; height: 100%; object-fit: cover; }
.ddh-line-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ddh-line-txt b { font-weight: 600; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.ddh-line-txt small { color: var(--cmuted); font-size: 13px; }
.ddh-line-txt em { font-style: normal; font-size: 12px; font-weight: 700; color: #7A4B00; }
.ddh-qty { display: flex; align-items: center; gap: 2px; flex: none; }
.ddh-qty button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--cline); background: #FFFFFF; font-size: 18px; }
.ddh-qty span { min-width: 20px; text-align: center; font-weight: 700; }
.ddh-line-total { display: none; font-weight: 700; min-width: 64px; text-align: right; }
.ddh-upsell { margin-top: 12px; background: #FBF3E4; border-radius: 14px; padding: 12px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.ddh-upsell span { flex: 1; }
.ddh-err { margin-top: 12px; color: #9B1C1C; font-size: 14px; font-weight: 600; }
.ddh-cart-foot { padding: 14px 16px 24px; border-top: 1px solid var(--cline); display: flex; flex-direction: column; gap: 6px; }
.ddh-cart-sub { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; }
.ddh-cart-foot .ddh-btn { margin-top: 6px; }

/* ---------- Desktop ---------- */
@media (min-width: 600px) {
	.ddh-btns { flex-direction: row; flex-wrap: wrap; }
	.ddh-track-row { flex-direction: row; }
	.ddh-track .ddh-btn { flex: none; }
	.ddh-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
	.ddh-line-total { display: block; }
}
@media (min-width: 900px) {
	.ddh-wrap { padding-left: 32px; padding-right: 32px; }
	.ddh-head-row { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 14px; padding-bottom: 12px; }
	.ddh-menu-btn { display: none; }
	.ddh-logo { justify-self: auto; }
	.ddh-logo span { font-size: 24px; }
	.ddh-search { flex: 1 1 300px; order: 2; border-radius: 14px; }
	.ddh-nav, .ddh-nav.is-open { display: flex; flex-direction: row; flex-wrap: wrap; position: static; background: none; border: 0; box-shadow: none; padding: 0; gap: 4px 18px; order: 3; }
	.ddh-nav a { min-height: 44px; padding: 0; font-size: 15px; }
	.ddh-nav a:hover { background: none; text-decoration: underline; text-underline-offset: 4px; }
	.ddh-cartbtn { order: 4; height: 46px; border-radius: 14px; padding: 0 16px; font-size: 15px; }
	.ddh-cart-word { display: inline; }
	.ddh-ship { font-size: 13px; gap: 14px; }

	.ddh-hero-grid { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 64px; }
	.ddh-hero-copy { flex: 3 1 560px; }
	.ddh-hero-side { flex: 2 1 340px; gap: 16px; }
	.ddh-hero h1 { font-size: clamp(64px, 9vw, 120px); }
	.ddh-hero-copy > p { font-size: 22px; margin: 20px 0 0; }
	.ddh-btns { margin-top: 28px; gap: 12px; }
	.ddh-panel { border-radius: 22px; padding: 22px; }

	.ddh-me .ddh-hero-grid { align-items: stretch; gap: 20px; padding-top: 36px; padding-bottom: 48px; }
	.ddh-me-main { flex: 2 1 560px; display: flex; flex-direction: column; gap: 20px; }
	.ddh-me-side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
	.ddh-me-h1 { font-size: 15px; }
	.ddh-me h2.ddh-hello { font-size: 60px; margin-top: 8px; }
	.ddh-order-h { font-size: 17px; }
	.ddh-steps { font-size: 14px; font-weight: 600; gap: 8px; }
	.ddh-steps li::before { height: 8px; margin-bottom: 8px; }
	.ddh-points { border-radius: 22px; padding: 24px; }
	.ddh-points-top { flex-direction: column; align-items: flex-start; }
	.ddh-points-n { font-size: 64px; line-height: .9; }
	.ddh-again { border-radius: 22px; padding: 22px; }
	.ddh-again h3 { font-size: 26px; }
	.ddh-again-row label, .ddh-again-row b { font-size: 17px; }

	.ddh-deals-row { flex-direction: row; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
	.ddh-deals-list { margin: 0; padding: 0 0 4px; }

	.ddh-shop-top { flex-direction: row; flex-wrap: wrap; gap: 20px; padding-top: 40px; }
	.ddh-finder { flex: 1 1 420px; }
	.ddh-cats { flex: 1 1 420px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; margin: 0; padding: 0; overflow: visible; }
	.ddh-cat { min-height: 64px; border-radius: 16px; justify-content: space-between; font-size: 16px; padding: 0 18px; white-space: normal; }
	.ddh-card { border-radius: 22px; padding: 24px; }
	.ddh-card h2 { font-size: 30px; }
	.ddh-chips.ddh-scroll { flex-wrap: wrap; overflow: visible; }
	.ddh-sec { padding-top: 32px; }

	.ddh-board-head { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
	.ddh-board-txt a { font-size: 17px; }
	.ddh-ppg { font-size: 20px; }

	.ddh-jar { flex-direction: row; flex-wrap: wrap; gap: 28px; padding: 28px; border-radius: 22px; }
	.ddh-jar-pick { flex: 2 1 520px; }
	.ddh-jar h2 { font-size: 34px; }
	.ddh-jar-box { flex: 1 1 300px; background: var(--plum); border-radius: 18px; padding: 22px; }
	.ddh-jar-price b { font-size: 44px; }

	.ddh-grid-sec { padding-top: 40px; padding-bottom: 48px; }
	.ddh-grid-head { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
	.ddh-grid-head h2 { font-size: 34px; }
	.ddh-fcats { margin-bottom: 16px; }
	.ddh-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
	.ddh-pc { border-radius: 22px; }
	.ddh-pc-body { padding: 16px; gap: 6px; }
	.ddh-pc-meta { font-size: 13px; }
	.ddh-pc h3 { font-size: 18px; }
	.ddh-price { font-size: 24px; }
	.ddh-price s { font-size: 15px; }
	.ddh-tag { font-size: 13px; padding: 6px 10px; border-radius: 10px; top: auto; }
	.ddh-tag-save { top: 12px; left: 12px; bottom: auto; }
	.ddh-tag-usual { top: 12px; right: 12px; left: auto; }

	.ddh-why { padding: 28px; }
	.ddh-why h2 { font-size: 34px; margin-bottom: 20px; }
	.ddh-why-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 32px; }
	.ddh-why-item { padding: 0; }
	.ddh-no { width: 36px; height: 36px; border-radius: 12px; font-size: 14px; }
	.ddh-why h3 { font-size: 18px; margin-bottom: 4px; }
	.ddh-why p { font-size: 15px; }

	.ddh-foot { margin-top: 0; }
	.ddh-foot-grid { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 44px; }
	.ddh-foot-h { font-size: 26px; }
	.ddh-foot-nav { gap: 0 32px; }
	.ddh-cart-top { padding: 20px 22px; }
	.ddh-cart-ship, .ddh-cart-body, .ddh-cart-foot { padding-left: 22px; padding-right: 22px; }
}
/* Flatsome prints its mobile sidebar and login popup in wp_footer; its CSS (which hides them) isn't loaded here. */
body.ddh-front #main-menu.mobile-sidebar, body.ddh-front #login-form-popup, body.ddh-front .mfp-hide { display: none !important; }
/* WooCommerce store notice (Settings → Customize → Store notice), restyled since Woo's CSS isn't loaded here. */
body.ddh-front .woocommerce-store-notice { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; margin: 0; padding: 10px 16px; background: #1E1424; color: #FFFFFF; font: 600 14px/1.4 'Figtree', system-ui, sans-serif; text-align: center; border-top: 3px solid #F2A93B; }
body.ddh-front .woocommerce-store-notice__dismiss-link { color: #F2A93B; margin-left: 10px; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
@media (prefers-reduced-motion: reduce) {
	.ddh-bar > span { transition: none; }
}

/* ---------- Site-wide chrome (v1.1): real menu, dropdowns, footer columns ---------- */
.ddh-chrome { background: transparent; }
/* Inner pages load Flatsome's CSS: undo its input/button/link styling inside our chrome. */
.ddh .ddh-search input[type=search] { padding: 0; margin: 0; border: 0; box-shadow: none; background: transparent; height: 100%; min-height: 0; line-height: normal; color: var(--text); font: 500 16px var(--body); border-radius: 0; }
.ddh .ddh-search input[type=search]:focus { box-shadow: none; background: transparent; }
.ddh .ddh-cartbtn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; line-height: 1; margin: 0; text-transform: none; letter-spacing: 0; }
.ddh .ddh-menu-btn, .ddh .ddh-x, .ddh .ddh-qty button, .ddh .ddh-add, .ddh .ddh-scrim { margin: 0; text-transform: none; letter-spacing: 0; line-height: 1; box-shadow: none; }
.ddh .ddh-btn { margin: 0; text-transform: none; letter-spacing: 0; line-height: 1.2; }
.ddh-chrome a { text-decoration: none; }
.ddh-chrome :where(p, ul, ol) { margin-bottom: 0; }
.ddh-chrome-top { position: sticky; top: 0; z-index: 300; }
.ddh-chrome-top .ddh-head { position: static; }
@media (min-width: 783px) { body.admin-bar .ddh-chrome-top, body.admin-bar .ddh-front .ddh-head { top: 32px; } }
.ddh-nav.is-open { max-height: calc(100vh - 96px); overflow-y: auto; }
.ddh-nav .ddh-nav-top { color: var(--text); }
.ddh-dd summary { list-style: none; color: var(--text); font-weight: 600; font-size: 16px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px; border-radius: 10px; cursor: pointer; }
.ddh-dd summary::-webkit-details-marker { display: none; }
.ddh-dd summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); flex: none; }
.ddh-dd[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.ddh-dd summary:hover { background: #2A2A27; }
.ddh-dd-panel { display: flex; flex-direction: column; padding: 2px 0 6px; }
.ddh-nav .ddh-dd-panel a { color: var(--soft); font-weight: 500; font-size: 15px; min-height: 44px; padding: 0 12px 0 24px; }
.ddh-nav .ddh-dd-panel a.ddh-dd-all { color: var(--top); font-weight: 700; }
.ddh-nav .ddh-dd-panel a.ddh-dd-h { color: var(--text); font-weight: 700; }
.ddh-nav .ddh-dd-col a:not(.ddh-dd-h) { padding-left: 36px; font-size: 14px; }
.ddh-foot-col { display: flex; flex-direction: column; }
.ddh-foot-ch { font-weight: 800; color: var(--amber); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin: 6px 0 2px; }
.ddh-foot-col a { color: #FFFFFF; min-height: 44px; display: flex; align-items: center; text-decoration: none; font-size: 15px; }
.ddh-foot-col a:hover { text-decoration: underline; }
@media (min-width: 900px) {
	.ddh-nav, .ddh-nav.is-open { order: 5; flex: 1 1 100%; max-height: none; overflow: visible; gap: 0 26px; align-items: center; border-top: 1px solid var(--line); padding-top: 2px; }
	.ddh-nav .ddh-nav-acct { margin-left: auto; }
	.ddh-dd { position: relative; }
	.ddh-dd summary { padding: 0; font-size: 15px; min-height: 44px; }
	.ddh-dd summary:hover { background: none; text-decoration: underline; text-underline-offset: 4px; }
	.ddh-dd-panel { position: absolute; top: 100%; left: -14px; z-index: 60; min-width: 240px; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 8px; box-shadow: 0 16px 36px rgba(0,0,0,.45); }
	.ddh-dd-mega .ddh-dd-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 0 14px; width: min(1100px, calc(100vw - 64px)); }
	.ddh-dd-mega .ddh-dd-all { grid-column: 1 / -1; }
	.ddh-nav .ddh-dd-panel a { padding: 0 10px; border-radius: 8px; }
	.ddh-nav .ddh-dd-panel a:hover { background: #2A2A27; text-decoration: none; }
	.ddh-nav .ddh-dd-col a:not(.ddh-dd-h) { padding-left: 10px; }
	.ddh-dd-col { display: flex; flex-direction: column; }
	.ddh-foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px; }
}
