/* ==========================================================================
   DECO base: tokens, font, reset, type, buttons, forms, shared components
   ========================================================================== */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-var.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-var-italic.woff2") format("woff2");
}

:root {
	--black: #0b0b0b;
	--ink: #141414;
	--white: #ffffff;
	--g50: #f7f7f7;
	--g100: #efefef;
	--g200: #e4e4e4;
	--g300: #d4d4d4;
	--g500: #8a8a8a;
	--g600: #616161;
	--g700: #454545;

	--link: #1e73fc;
	--star: #ebbf20;
	--sale: #d62828;
	--ok: #1f8a4c;
	--gold: linear-gradient(180deg, #e7aa51 0%, #ffe499 25%, #8d5a1b 50%, #e7aa51 75%, #ac7031 100%);
	--gold-solid: #c9913f;

	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--r-xs: 6px;
	--r-sm: 8px;
	--r: 10px;
	--r-lg: 14px;
	--r-pill: 999px;

	--card-border: 1px solid var(--g200);
	--card-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 4px 14px rgba(0, 0, 0, .05);
	--card-shadow-hover: 0 2px 4px rgba(0, 0, 0, .06), 0 10px 24px rgba(0, 0, 0, .09);

	--wrap: 1440px;
	--gutter: 16px;
	--announce-h: 40px;
	--header-h: 64px;

	--ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) {
	:root { --gutter: 24px; }
}
@media (min-width: 1100px) {
	:root { --gutter: 32px; --header-h: 88px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
img { border-style: none; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }

/* Links: underlined, blue (#1e73fc). Components below opt out where it would look odd. */
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

/* ---------- Layout ---------- */
.dc-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.dc-main { display: block; min-height: 50vh; }

.dc-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.dc-skip {
	position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 10px 16px;
	background: var(--white); color: var(--black); border-radius: var(--r); text-decoration: none;
}
.dc-skip:focus { top: 8px; }

.dc-icon { width: 22px; height: 22px; flex: none; }

/* ---------- Buttons ---------- */
.dc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px;
	border: 1.5px solid var(--black); border-radius: var(--r);
	background: var(--black); color: var(--white);
	font-size: 15px; font-weight: 600; letter-spacing: .02em; line-height: 1.1;
	text-decoration: none; text-align: center; white-space: nowrap;
	transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .1s;
}
.dc-btn:hover { background: #2a2a2a; border-color: #2a2a2a; color: var(--white); text-decoration: none; }
.dc-btn:active { transform: translateY(1px); }
.dc-btn[disabled], .dc-btn.is-loading { opacity: .55; pointer-events: none; }
.dc-btn.is-done { background: var(--ok); border-color: var(--ok); }
.dc-btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: var(--r-sm); }
.dc-btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.dc-btn--block { display: flex; width: 100%; }
.dc-btn--ghost { background: var(--white); color: var(--black); }
.dc-btn--ghost:hover { background: var(--g50); color: var(--black); border-color: var(--black); }
.dc-btn--light { background: var(--white); color: var(--black); border-color: var(--white); }
.dc-btn--light:hover { background: var(--g100); border-color: var(--g100); color: var(--black); }
.dc-btn--outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.dc-btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); color: var(--white); }

.dc-iconbtn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--r);
	background: transparent; color: inherit; text-decoration: none; position: relative;
}
.dc-iconbtn:hover { background: rgba(127, 127, 127, .14); }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], input[type="number"], input[type="url"], input[type="date"], textarea, select {
	width: 100%; min-height: 46px; padding: 10px 14px;
	border: 1px solid var(--g300); border-radius: var(--r);
	background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.3;
	transition: border-color .15s, box-shadow .15s;
	appearance: none; -webkit-appearance: none;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
input::placeholder, textarea::placeholder { color: var(--g500); }
select, .dc-select {
	padding-right: 40px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.dc-select--sm { min-height: 38px; padding: 6px 34px 6px 12px; font-size: 14px; border-radius: var(--r-sm); background-position: right 10px center; background-size: 16px; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--black); }
label { font-size: 14px; font-weight: 600; }
.dc-field { display: grid; gap: 6px; margin-bottom: 14px; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

/* Quantity stepper */
.dc-qty { display: inline-flex; align-items: center; border: 1px solid var(--g300); border-radius: var(--r); background: var(--white); overflow: hidden; }
.dc-qty__btn { display: grid; place-items: center; width: 42px; height: 52px; border: 0; background: transparent; color: var(--ink); }
.dc-qty__btn:hover { background: var(--g50); }
.dc-qty__btn .dc-icon { width: 16px; height: 16px; }
.dc-qty__input, .dc-qty input.qty { width: 44px; min-height: 0; height: 52px; padding: 0; border: 0; border-radius: 0; text-align: center; font-weight: 600; box-shadow: none; }
.dc-qty__val { min-width: 28px; text-align: center; font-weight: 600; font-size: 14px; }
.dc-qty--sm .dc-qty__btn { width: 32px; height: 34px; }
.dc-qty--sm { border-radius: var(--r-sm); }
.dc-qty--fixed { display: none; }

/* ---------- Price, stars, badges ---------- */
.dc-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-weight: 600; color: var(--ink); }
.dc-price del { color: var(--g500); font-weight: 400; font-size: .9em; }
.dc-price ins { text-decoration: none; }
.dc-price del + ins, .dc-price del ~ ins { color: var(--sale); }
.dc-price__from { font-weight: 400; color: var(--g600); font-size: .9em; }

.dc-rating { display: inline-flex; align-items: center; gap: 6px; }
.dc-stars { position: relative; display: inline-block; line-height: 0; }
.dc-stars__bg, .dc-stars__fg { display: inline-flex; gap: 1px; }
.dc-stars__bg { color: var(--g200); }
.dc-stars__fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--star); white-space: nowrap; }
.dc-stars .dc-icon { width: 15px; height: 15px; stroke-width: 1; }
.dc-stars__count { font-size: 13px; color: var(--g600); }

/* Width helpers (stars + progress bars), 5% steps, no inline styles. */
.dc-w0 { width: 0; } .dc-w5 { width: 5%; } .dc-w10 { width: 10%; } .dc-w15 { width: 15%; } .dc-w20 { width: 20%; }
.dc-w25 { width: 25%; } .dc-w30 { width: 30%; } .dc-w35 { width: 35%; } .dc-w40 { width: 40%; } .dc-w45 { width: 45%; }
.dc-w50 { width: 50%; } .dc-w55 { width: 55%; } .dc-w60 { width: 60%; } .dc-w65 { width: 65%; } .dc-w70 { width: 70%; }
.dc-w75 { width: 75%; } .dc-w80 { width: 80%; } .dc-w85 { width: 85%; } .dc-w90 { width: 90%; } .dc-w95 { width: 95%; }
.dc-w100 { width: 100%; }

.dc-badge {
	position: absolute; top: 10px; left: 10px; z-index: 2;
	padding: 4px 10px; border-radius: var(--r-pill);
	font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4;
}
.dc-badge--sale { background: var(--sale); color: var(--white); }
.dc-badge--new { background: var(--black); color: var(--white); }

.dc-verified { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-size: 12px; font-weight: 600; }
.dc-verified .dc-icon { width: 14px; height: 14px; }

/* ---------- Pills ---------- */
.dc-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-pill {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
	border: 1.5px solid var(--g300); border-radius: var(--r); background: var(--white);
	color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none;
}
.dc-pill:hover { border-color: var(--black); text-decoration: none; }
.dc-pill.is-active { border-color: var(--black); background: var(--black); color: var(--white); }

/* ---------- Carousel (scroll-snap, arrows on desktop) ---------- */
.dc-carousel { position: relative; }
.dc-carousel__track {
	display: grid; grid-auto-flow: column; gap: 14px;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
	scrollbar-width: none; padding: 4px 2px 14px; margin: 0;
}
.dc-carousel__track::-webkit-scrollbar { display: none; }
.dc-carousel__track > * { scroll-snap-align: start; }
.dc-carousel__btn {
	position: absolute; top: 40%; z-index: 3; display: none; place-items: center;
	width: 42px; height: 42px; border: 1px solid var(--g200); border-radius: var(--r-pill);
	background: var(--white); color: var(--ink); box-shadow: var(--card-shadow);
	transform: translateY(-50%); transition: opacity .2s;
}
.dc-carousel__btn:hover { border-color: var(--black); }
.dc-carousel__btn[disabled] { opacity: 0; pointer-events: none; }
.dc-carousel__btn--prev { left: -12px; }
.dc-carousel__btn--next { right: -12px; }
@media (min-width: 900px) and (hover: hover) {
	.dc-carousel__btn { display: grid; }
}

/* Tiles (collection images) */
.dc-carousel--tiles .dc-carousel__track { grid-auto-columns: 38%; gap: 12px; }
@media (min-width: 600px) { .dc-carousel--tiles .dc-carousel__track { grid-auto-columns: 24%; } }
@media (min-width: 1000px) { .dc-carousel--tiles .dc-carousel__track { grid-auto-columns: calc((100% - 9 * 14px) / 10); gap: 14px; } }
.dc-tile { display: grid; gap: 8px; color: var(--ink); text-decoration: none; text-align: center; }
.dc-tile:hover { text-decoration: none; }
.dc-tile__img {
	position: relative; display: block; aspect-ratio: 1; overflow: hidden;
	border-radius: var(--r-lg); background: var(--g100); border: var(--card-border);
}
.dc-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dc-tile:hover .dc-tile__img img { transform: scale(1.05); }
.dc-tile__label { font-size: 14px; font-weight: 600; }
.dc-carousel__item.is-current .dc-tile__img { outline: 2px solid var(--black); outline-offset: 2px; }
.dc-carousel__item.is-current .dc-tile__label { text-decoration: underline; text-underline-offset: 3px; }
.dc-tile__ph {
	position: absolute; inset: 0; display: grid; place-items: center;
	font-size: 42px; font-weight: 800; color: rgba(255, 255, 255, .9);
	background: linear-gradient(135deg, #2b2b2b, #0b0b0b);
}
.dc-ph-0, .dc-ph-8 { background: linear-gradient(135deg, #1b3a2f, #0b0b0b); }
.dc-ph-1, .dc-ph-9 { background: linear-gradient(135deg, #8d5a1b, #1a1208); }
.dc-ph-2, .dc-ph-a { background: linear-gradient(135deg, #5b3b6e, #120b18); }
.dc-ph-3, .dc-ph-b { background: linear-gradient(135deg, #7a2430, #140609); }
.dc-ph-4, .dc-ph-c { background: linear-gradient(135deg, #2d4a73, #070c14); }
.dc-ph-5, .dc-ph-d { background: linear-gradient(135deg, #b98b86, #3a2322); }
.dc-ph-6, .dc-ph-e { background: linear-gradient(135deg, #3f6b6a, #0c1515); }
.dc-ph-7, .dc-ph-f { background: linear-gradient(135deg, #6d6d6d, #111111); }

/* Section heads */
.dc-rail { margin-block: 40px; }
.dc-rail__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.dc-rail__title { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; }
.dc-rail__head .dc-rail__title { margin-bottom: 0; }
.dc-rail__more { font-size: 14px; font-weight: 600; }
@media (min-width: 900px) { .dc-rail__title { font-size: 28px; } .dc-rail { margin-block: 56px; } }

/* Breadcrumbs */
.dc-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--g600); margin-bottom: 10px; }
.dc-crumbs a { color: var(--g600); }

/* Notices (our templates) */
.dc-notices { max-width: var(--wrap); margin: 16px auto 0; padding-inline: var(--gutter); display: grid; gap: 8px; }
.dc-notice {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
	padding: 12px 16px; border-radius: var(--r); border: 1px solid var(--g200);
	background: var(--g50); font-size: 15px;
}
.dc-notice--success { border-color: #bfe3cc; background: #f0faf3; }
.dc-notice--error { border-color: #f1c2c2; background: #fdf2f2; color: #8a1c1c; }
.dc-notice .dc-btn, .dc-notice .button { min-height: 36px; padding: 0 14px; font-size: 14px; }

/* Readable text blocks (policies, descriptions) */
.dc-prose { max-width: 75ch; font-size: 16px; }
.dc-prose > * + * { margin-top: 1em; }
.dc-prose h2 { font-size: 22px; margin-top: 1.6em; }
.dc-prose h3 { font-size: 18px; margin-top: 1.4em; }
.dc-prose ul { list-style: disc; padding-left: 1.3em; }
.dc-prose ol { list-style: decimal; padding-left: 1.3em; }
.dc-prose li + li { margin-top: .35em; }
.dc-prose img { border-radius: var(--r-lg); }
.dc-prose table { width: 100%; border-collapse: collapse; }
.dc-prose th, .dc-prose td { padding: 8px 10px; border-bottom: 1px solid var(--g200); text-align: left; }

.dc-ticks li { position: relative; padding-left: 22px; }
.dc-ticks li + li { margin-top: 6px; }
.dc-ticks li::before {
	content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px;
	border-radius: 50%; background: var(--black);
}

/* Empty state */
.dc-empty { padding: 48px 20px; text-align: center; border: 1px dashed var(--g300); border-radius: var(--r-lg); display: grid; gap: 12px; justify-items: center; }
.dc-empty__title { font-size: 20px; font-weight: 700; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.dc-notice.dc-notice--error { display: block; list-style: none; }
.dc-notice a:not(.button):not(.dc-btn) { color: inherit; }

/* WooCommerce/WordPress screen-reader text (e.g. "Original price was…") */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Buy buttons: Add to Cart + Proceed to Checkout (#17BF44, white semi-bold) ---------- */
.dc-btn--buy, .dc-btn.dc-btn--buy { background: #0e9f36; border-color: #0e9f36; color: #fff; font-weight: 600; }
.dc-btn--buy:hover { background: #0b8a2e; border-color: #0b8a2e; color: #fff; }
.dc-btn--buy.is-done { background: #087a28; border-color: #087a28; }

/* SSL badge under checkout buttons */
.dc-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--g600); }
.dc-secure .dc-icon { width: 15px; height: 15px; color: #0e9f36; stroke-width: 2.2; }
.dc-secure strong { font-weight: 700; color: var(--ink); }
