/* Deseri Fiction Works theme styles. Theme by The Free Website Guys. */

/* ---------- Tokens ---------- */
:root {
	--color-background: #f6f4ee;
	--color-foreground: #161a2d;
	--color-primary: #7c2735;
	--color-secondary: #e6d8bc;
	--color-accent: #cfa54a;
	--color-border: #c6bba9;
	--color-muted-foreground: #555a6d;
	--color-ink: #0e1120;
	--color-forest: #1c223b;
	--color-mist: #ebe5db;
	--color-gold: #d6ac51;
	--color-primary-foreground: #f8f6f1;
	--color-card: #f8f6f1;
	--color-muted: #e4e0d7;
	--color-paper: #f5f0e5;
	--color-forest-deep: #101323;
	--color-destructive: #a63030;
	--radius: 0.25rem;
	--font-display: 'Cormorant Garamond', serif;
	--font-body: 'Karla', sans-serif;
	--shadow-elevated: 0 16px 48px -10px hsl(156 40% 2% / 0.7);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--logo-height: 84px;
	--footer-logo-height: 96px;
	--admin-bar-height: 0px;
	--header-height: 7rem;
	--btn-radius: calc(var(--radius) - 2px);
	--btn-font-size: 0.75rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.25em;
	--btn-text-transform: uppercase;
	--btn-height: auto;
	--btn-padding: 1rem 1.5rem;
	--color-button-text: var(--color-background);
}

/* ---------- Base (Tailwind preflight parity) ---------- */
*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: var(--color-border); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; font-family: var(--font-body); max-width: 100%; overflow-x: clip; }
body { margin: 0; line-height: inherit; background: var(--color-background); color: var(--color-foreground); font-family: var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; max-width: 100%; overflow-x: clip; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; margin: 0; font-family: var(--font-display); letter-spacing: 0; font-feature-settings: "ss01", "ss02"; }
p, figure, blockquote, dl, dd { margin: 0; }
ol, ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: inherit; cursor: pointer; }
button, input, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button { background: transparent; background-image: none; cursor: pointer; -webkit-appearance: button; text-transform: none; }
img, svg, video { display: block; vertical-align: middle; }
img:not(.cover-img):not(.site-logo-img) { max-width: 100%; height: auto; }
.cover-img { width: 100%; height: 100%; object-fit: cover; }
.cover-img--abs { position: absolute; inset: 0; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.icon { flex-shrink: 0; }
::placeholder { color: var(--color-muted-foreground); opacity: 1; }
body.modal-open { overflow: hidden; }

.container-wide { width: 100%; max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container-wide { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding-left: 2rem; padding-right: 2rem; } }

/* ---------- Animation utilities ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes revealUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kenBurns { 0% { transform: scale(1) translate(0, 0); } 100% { transform: scale(1.12) translate(-2%, -1.5%); } }
@keyframes heroUp16 { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroUp20 { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modalOverlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalOverlayOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -48%) scale(0.95); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes modalOut { from { opacity: 1; transform: translate(-50%, -50%) scale(1); } to { opacity: 0; transform: translate(-50%, -48%) scale(0.95); } }
@keyframes successIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes successIcon { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

.reveal-item { opacity: 0; transform: translateY(24px); transition: opacity 0.65s cubic-bezier(0.42, 0, 0.58, 1) var(--reveal-delay, 0s), transform 0.65s cubic-bezier(0.42, 0, 0.58, 1) var(--reveal-delay, 0s); }
.reveal-section.is-visible .reveal-item, .reveal-item.is-visible { opacity: 1; transform: none; }
.reveal-replay { animation: revealUp 0.65s cubic-bezier(0.42, 0, 0.58, 1) var(--reveal-delay, 0s) both; }
html:not(.js) .reveal-item, body.is-customizer .reveal-item, body.is-customizer .reveal-section .reveal-item { opacity: 1; transform: none; transition: none; }

.hero-anim { animation-duration: 0.6s; animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); animation-fill-mode: both; }
.hero-anim--up16 { animation-name: heroUp16; }
.hero-anim--up20 { animation-name: heroUp20; animation-delay: 0.15s; }
.hero-anim--fade30 { animation-name: fadeIn; animation-delay: 0.3s; }
.hero-anim--fade45 { animation-name: fadeIn; animation-delay: 0.45s; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap; height: 2.5rem; padding: 0.5rem 1rem; border-radius: calc(var(--radius) - 2px); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; cursor: pointer; transition: color 0.15s var(--transition-smooth), background-color 0.15s var(--transition-smooth), border-color 0.15s var(--transition-smooth); }
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; pointer-events: none; }
.btn:focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-primary); }
.btn:disabled { pointer-events: none; opacity: 0.5; }
.btn--default { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.btn--default:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, transparent); }
.btn--outline { border: 1px solid var(--color-border); background-color: var(--color-background); }
.btn--outline:hover { background-color: var(--color-accent); color: var(--color-foreground); }
.btn--secondary { background-color: var(--color-secondary); color: var(--color-foreground); }
.btn--secondary:hover { background-color: color-mix(in srgb, var(--color-secondary) 80%, transparent); }
.btn--ghost:hover { background-color: var(--color-accent); color: var(--color-foreground); }
.btn--sm { height: 2.25rem; padding-left: 0.75rem; padding-right: 0.75rem; }
.btn--lg { height: 2.75rem; padding-left: 2rem; padding-right: 2rem; }
.btn--icon { height: 2.5rem; width: 2.5rem; padding: 0; }
.btn--block { width: 100%; }
.btn--outline.btn--outline-light { border-color: var(--color-paper); color: var(--color-paper); background-color: transparent; }
.btn--outline.btn--outline-light:hover { background-color: var(--color-paper); color: var(--color-ink); }
.btn--nav { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.18em; }
.btn--mobile { justify-content: flex-start; min-height: 2.75rem; width: 100%; }
.btn--footer { justify-content: flex-start; padding-left: 0; padding-right: 0; color: #fff; width: 100%; }
.btn--footer:hover { color: var(--color-gold); }
.icon--ml { margin-left: 0.5rem; }
.icon--mr { margin-right: 0.5rem; }

/* ---------- Header ---------- */
html.admin-bar { --admin-bar-height: 32px; }
@media screen and (max-width: 782px) { html.admin-bar { --admin-bar-height: 46px; } }
body.admin-bar { --admin-bar-height: 32px; }
@media screen and (max-width: 782px) { body.admin-bar { --admin-bar-height: 46px; } }
.site-header { position: sticky; top: 0; z-index: 50; background-color: color-mix(in srgb, var(--color-background) 95%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-bottom: 1px solid var(--color-border); }
html.admin-bar .site-header,
body.admin-bar .site-header,
.admin-bar .site-header { top: var(--admin-bar-height); }
#wpadminbar { z-index: 100000 !important; }
.site-nav { height: 7rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.site-brand { flex-shrink: 0; display: flex; align-items: center; gap: 0.75rem; cursor: pointer; }
.site-logo-img { height: min(var(--logo-height), 72px) !important; width: auto !important; display: block; object-fit: contain; }
.site-logo-img--footer { height: var(--footer-logo-height) !important; margin-bottom: 1rem; }
@media (min-width: 640px) { .site-logo-img { height: var(--logo-height) !important; } .site-logo-img--footer { height: var(--footer-logo-height) !important; } }
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.site-brand-text { display: none; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.site-brand-text--always { display: block; }
@media (min-width: 640px) { .site-brand-text { display: block; } }
.site-brand-sub { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; text-transform: uppercase; letter-spacing: 0.2em; }
.site-nav__desktop { display: none; }
.theme-nav-list { display: flex; align-items: center; gap: 1.5rem; }
@media (min-width: 1024px) { .site-nav__desktop { display: flex; align-items: center; } }
@media (min-width: 1280px) { .theme-nav-list { gap: 2rem; } }
.site-nav__actions { display: flex; align-items: center; gap: 0.25rem; }
.cart-btn { position: relative; }
.theme-cart-count { position: absolute; top: -0.125rem; right: -0.125rem; min-width: 18px; height: 18px; padding: 0 0.25rem; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; line-height: 1rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 9999px; }
.theme-cart-count:empty { display: none; }
.menu-toggle .menu-toggle__close { display: none; }
.menu-toggle.is-open .menu-toggle__close { display: block; }
.menu-toggle.is-open .menu-toggle__open { display: none; }
@media (min-width: 1024px) { .menu-toggle { display: none; } .mobile-menu { display: none !important; } }
.mobile-menu { border-top: 1px solid var(--color-border); padding: 0.75rem 0; }
.theme-nav-mobile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-forest-deep); }
.site-footer__inner { padding-top: 3rem; padding-bottom: 3rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.site-footer__logo { display: inline-block; }
.site-footer__desc { font-size: 0.875rem; line-height: 1.25rem; color: #fff; max-width: 24rem; }
.site-footer__heading { font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; color: #fff; }
.theme-footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem; }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; line-height: 1.25rem; color: #fff; }
.footer-link { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.footer-link:hover { color: var(--color-gold); }
.footer-link--static { cursor: default; }
.footer-link--static:hover { color: inherit; }
.footer-link svg { width: 1rem; height: 1rem; }
.icon--shrink { flex-shrink: 0; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--color-border); text-align: center; font-size: 0.75rem; line-height: 1rem; color: #fff; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__bottom .footer-link { display: inline; }
@media (min-width: 640px) { .site-footer__bottom { text-align: left; flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Section primitives ---------- */
.section { border-top: 1px solid var(--color-border); scroll-margin-top: calc(6rem + var(--admin-bar-height)); }
.section--bg { background: var(--color-background); }
.section--mist { background: var(--color-mist); }
.section--forest { background: var(--color-forest); color: var(--color-paper); }
.section__inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .section__inner { padding-top: 6rem; padding-bottom: 6rem; } }
.eyebrow { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-primary); font-family: var(--font-body); }
.eyebrow--mb3 { margin-bottom: 0.75rem; }
.eyebrow--mb4 { margin-bottom: 1rem; }
.eyebrow--mb8 { margin-bottom: 2rem; }
.eyebrow--mt4 { margin-top: 1rem; }
.eyebrow--light { color: var(--color-paper); font-weight: 600; margin-bottom: 1rem; }
.eyebrow--gold { color: var(--color-gold); margin-bottom: 1rem; }
.eyebrow--plain { color: inherit; margin-bottom: 1rem; }
.section-title { font-family: var(--font-display); }
.section-title--md { font-size: 2.25rem; line-height: 2.5rem; }
.section-title--xl { font-size: 2.25rem; line-height: 2.5rem; }
@media (min-width: 768px) { .section-title--md { font-size: 3rem; line-height: 1; } .section-title--xl { font-size: 3.75rem; line-height: 1; } }
.section-head { border-bottom: 1px solid var(--color-border); padding-bottom: 1.25rem; margin-bottom: 2.5rem; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; }
.section-head__text { font-family: var(--font-body); color: var(--color-muted-foreground); margin-top: 1rem; max-width: 42rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(32rem, calc(100svh - 7rem)); display: flex; align-items: flex-end; overflow: hidden; background: var(--color-ink); }
.hero__img { object-position: 72% center; animation: kenBurns 20s ease-in-out infinite alternate; will-change: transform; }
@media (min-width: 768px) { .hero__img { object-position: center; } }
.hero__overlay { position: absolute; inset: 0; background-image: linear-gradient(to top, color-mix(in srgb, var(--color-ink) 95%, transparent), color-mix(in srgb, var(--color-ink) 45%, transparent), color-mix(in srgb, var(--color-ink) 20%, transparent)); }
.hero__content { position: relative; padding-bottom: 4rem; color: var(--color-paper); }
@media (min-width: 768px) { .hero__content { padding-bottom: 6rem; } }
.hero__eyebrow { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.24em; font-family: var(--font-body); margin-bottom: 1.25rem; }
.hero__title { font-family: var(--font-display); font-size: 3rem; line-height: 1; max-width: 56rem; }
@media (min-width: 640px) { .hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 6rem; } }
.hero__text { font-family: var(--font-body); font-size: 1.125rem; line-height: 1.625; max-width: 42rem; margin-top: 1.5rem; color: color-mix(in srgb, var(--color-paper) 90%, transparent); }
@media (min-width: 640px) { .hero__text { font-size: 1.25rem; line-height: 1.625; } }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- Category tiles ---------- */
.tiles { background: var(--color-background); border-top: 1px solid var(--color-border); }
.tiles__grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--color-border); }
@media (min-width: 768px) { .tiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { display: block; background: var(--color-background); text-align: left; cursor: pointer; }
.tile__media { aspect-ratio: 4 / 5; overflow: hidden; }
@media (min-width: 768px) { .tile__media { height: 65vh; aspect-ratio: auto; } }
.tile__img { transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.tile:hover .tile__img { transform: scale(1.03); }
.tile__copy { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.tile__copy .eyebrow { margin-bottom: 0.5rem; }
.tile__title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; }

/* ---------- Product grids and cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; row-gap: 2.5rem; }
@media (min-width: 768px) { .product-grid--new { grid-template-columns: repeat(4, minmax(0, 1fr)); } .product-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .product-grid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product-grid--shop#shop-grid { margin-top: 2.5rem; }
.product-grid--related { column-gap: 1.5rem; row-gap: 1.5rem; }
@media (min-width: 1024px) { .product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2rem; row-gap: 2rem; } }
.theme-product-card-wrap { height: 100%; min-width: 0; }
.theme-product-card { display: block; cursor: pointer; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 2 / 3; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); }
.theme-product-card__image-wrapper img { display: block; }
.product-card-img { transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1); }
.theme-product-card:hover .product-card-img { transform: scale(1.03); }
.product-card-img.is-soldout { opacity: 0.5; }
.theme-product-card__badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; z-index: 2; }
.badge { padding: 0.25rem 0.625rem; font-size: 0.75rem; line-height: 1rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.18em; border-radius: 0; }
.badge--soldout { background: var(--color-foreground); color: var(--color-background); }
.badge--preorder { background: var(--color-accent); color: var(--color-foreground); }
.badge--new { background: var(--color-primary); color: var(--color-primary-foreground); }
.badge--cover { position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 2; background: color-mix(in srgb, var(--color-background) 85%, transparent); color: var(--color-foreground); border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.theme-product-card__info { text-align: center; }
.theme-product-card__info > * + * { margin-top: 0.25rem; }
.theme-product-card__author { font-size: 12px; font-family: var(--font-body); color: var(--color-muted-foreground); }
.theme-product-card__category { font-size: 0.75rem; line-height: 1rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-foreground); }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; color: var(--color-foreground); transition: color 0.3s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__title { color: var(--color-accent); }
.theme-product-card__price { font-size: 15px; font-family: var(--font-body); color: var(--color-primary); }
.theme-product-card__price del { opacity: 0.6; margin-right: 0.35em; }
.theme-product-card__price ins { text-decoration: none; }

/* ---------- Home sections ---------- */
.about__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .about__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }
.about__media { aspect-ratio: 4 / 5; overflow: hidden; }
.about__grid .section-title { line-height: 1.25; margin-bottom: 1.75rem; }
.about__copy { font-family: var(--font-body); color: var(--color-muted-foreground); line-height: 1.8; }
.about__copy > * + * { margin-top: 1.25rem; }
.about__btn { margin-top: 2rem; }

.marquee { overflow: hidden; background: var(--color-foreground); color: var(--color-background); padding: 1.5rem 0; }
.marquee__track { display: flex; white-space: nowrap; animation: marquee 40s linear infinite; }
.marquee__group { display: flex; flex-shrink: 0; }
.marquee__word { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; padding: 0 2rem; }
@media (min-width: 768px) { .marquee__word { font-size: 3rem; line-height: 1; } }
.marquee__dot { color: var(--color-primary); margin-left: 2rem; }

.services__grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr; gap: 4rem; } }
.services__media { min-height: 20rem; height: 100%; overflow: hidden; }
.services__copy { min-height: 20rem; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.services__title { line-height: 1.25; margin-bottom: 1.5rem; }
.services__text { font-family: var(--font-body); color: color-mix(in srgb, var(--color-paper) 90%, transparent); font-size: 1.125rem; line-height: 1.625; margin-bottom: 2rem; }
.services__btn { align-self: flex-start; }

.shop-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1.5rem; }
.shop-count { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); }
[data-filter-toggle] svg { transition: transform 0.15s; }
[data-filter-toggle].is-open svg { transform: rotate(180deg); }
.shop-cats { display: flex; flex-wrap: wrap; column-gap: 1.25rem; row-gap: 0.75rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--color-border); }
.shop-filters { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--color-border); }
@media (min-width: 768px) { .shop-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shop-search { position: relative; display: block; }
.shop-search__icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--color-muted-foreground); }
.input { display: flex; height: 2.5rem; width: 100%; border-radius: calc(var(--radius) - 2px); border: 1px solid var(--color-border); background: var(--color-background); padding: 0.5rem 0.75rem 0.5rem 2.25rem; font-size: 1rem; line-height: 1.5rem; }
@media (min-width: 768px) { .input { font-size: 0.875rem; line-height: 1.25rem; } }
.input:focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-primary); }
.shop-price-meta { display: flex; justify-content: space-between; font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.shop-empty { padding: 4rem 0; text-align: center; color: var(--color-muted-foreground); }

.price-range-wrapper { position: relative; height: 1.25rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 0.5rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
.range-track-bg { left: 0; right: 0; background: var(--color-secondary); border-radius: 9999px; }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-runnable-track { background: transparent; height: 100%; }
.range-input::-moz-range-track { background: transparent; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; pointer-events: auto; height: 1.25rem; width: 1.25rem; border-radius: 9999px; border: 2px solid var(--color-primary); background: var(--color-background); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; height: 1.25rem; width: 1.25rem; border-radius: 9999px; border: 2px solid var(--color-primary); background: var(--color-background); box-sizing: border-box; cursor: pointer; }
.range-input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-primary); }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.portfolio-item { display: block; text-align: left; cursor: pointer; }
.portfolio-item__media { aspect-ratio: 2 / 3; overflow: hidden; background: var(--color-card); }
.portfolio-item__media img { transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.portfolio-item:hover .portfolio-item__media img { transform: scale(1.03); }
.portfolio-item__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; margin-top: 0.25rem; }
.portfolio-item__text { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); margin-top: 0.5rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.testimonials { background: var(--color-background); border-top: 1px solid var(--color-border); scroll-margin-top: calc(6rem + var(--admin-bar-height)); }
.testimonials__box { max-width: 48rem; margin: 0 auto; text-align: center; }
.testimonial-slide__quote { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.375; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .testimonial-slide__quote { font-size: 2.25rem; line-height: 1.375; margin-bottom: 3.5rem; } }
.testimonial-slide__name { font-family: var(--font-body); font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.testimonial-slide__role { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); margin-top: 0.25rem; margin-bottom: 2rem; }
.testimonials__pager { display: flex; align-items: center; justify-content: center; gap: 0.375rem; }
.pager-bar { height: 0.125rem; width: 2rem; background: var(--color-border); transition: background-color 0.15s var(--transition-smooth); padding: 0; cursor: pointer; }
.pager-bar.is-active { background: var(--color-primary); }
.testimonials__nav { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }
.round-btn { display: inline-flex; align-items: center; justify-content: center; height: 2.75rem; width: 2.75rem; border-radius: 9999px; border: 1px solid var(--color-border); color: var(--color-foreground); transition: color 0.15s var(--transition-smooth), background-color 0.15s var(--transition-smooth); cursor: pointer; }
.round-btn:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.round-btn svg { width: 1.25rem; height: 1.25rem; }

.banner { position: relative; min-height: 65vh; border-top: 1px solid var(--color-border); display: flex; align-items: flex-end; }
.banner__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-ink) 55%, transparent); }
.banner__content { position: relative; padding-top: 4rem; padding-bottom: 4rem; color: var(--color-paper); }
.banner__title { max-width: 42rem; }

.faq__title { margin-bottom: 2rem; }
.accordion__item { border-bottom: 1px solid var(--color-border); }
.accordion__trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; text-align: left; font-size: 1rem; line-height: 1.5rem; transition: color 0.15s var(--transition-smooth); cursor: pointer; }
.accordion__trigger:hover { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.accordion__chevron { width: 1rem; height: 1rem; flex-shrink: 0; transition: transform 0.3s; }
.accordion__trigger[aria-expanded="true"] .accordion__chevron { transform: rotate(180deg); }
.accordion__content { display: grid; grid-template-rows: 0fr; opacity: 0; transition: all 0.3s ease-out; }
.accordion__trigger[aria-expanded="true"] + .accordion__content { grid-template-rows: 1fr; opacity: 1; }
.accordion__clip { overflow: hidden; }
.accordion__body { padding-bottom: 1.25rem; padding-right: 2rem; font-size: 1rem; line-height: 1.625; color: var(--color-muted-foreground); }

.contact-band { position: relative; background: var(--color-ink); border-top: 1px solid var(--color-border); overflow: hidden; }
.contact-band__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-ink) 70%, transparent); }
.contact-band__content { position: relative; padding-top: 4rem; padding-bottom: 4rem; text-align: center; color: var(--color-paper); }
@media (min-width: 768px) { .contact-band__content { padding-top: 6rem; padding-bottom: 6rem; } }
.contact-band__title { margin-bottom: 1.25rem; }
.contact-band__text { font-family: var(--font-body); color: color-mix(in srgb, var(--color-paper) 90%, transparent); max-width: 36rem; margin: 0 auto 2rem; }
.contact-band__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.contact-band__address { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 1.5rem; font-size: 0.875rem; line-height: 1.25rem; color: color-mix(in srgb, var(--color-paper) 80%, transparent); }
.contact-band__address svg { width: 1rem; height: 1rem; }

/* ---------- Contact modal ---------- */
.contact-modal__overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.8); }
.contact-modal__content { position: fixed; left: 50%; top: 50%; z-index: 50; display: grid; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto; transform: translate(-50%, -50%); gap: 1rem; border: 1px solid var(--color-border); background: var(--color-background); padding: 1.5rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
@media (min-width: 640px) { .contact-modal__content { border-radius: var(--radius); } }
.contact-modal.is-open .contact-modal__overlay { animation: modalOverlayIn 0.15s ease both; }
.contact-modal.is-open .contact-modal__content { animation: modalIn 0.2s ease both; }
.contact-modal.is-closing .contact-modal__overlay { animation: modalOverlayOut 0.15s ease both; }
.contact-modal.is-closing .contact-modal__content { animation: modalOut 0.2s ease both; }
.contact-modal__header { display: flex; flex-direction: column; gap: 0.375rem; text-align: center; }
@media (min-width: 640px) { .contact-modal__header { text-align: left; } }
.contact-modal__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; font-weight: 600; letter-spacing: -0.025em; }
.contact-modal__desc { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); }
.contact-modal__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.contact-modal__link { display: flex; align-items: center; gap: 0.5rem; }
.contact-modal__link svg { width: 1rem; height: 1rem; }
.contact-modal__link a { transition: color 0.15s var(--transition-smooth); word-break: break-all; }
.contact-modal__link a:hover { color: var(--color-foreground); }
.contact-modal__form { display: grid; gap: 1rem; font-family: var(--font-body); }
.contact-modal__form.is-entering { animation: fadeIn 0.3s ease both; }
.contact-modal__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-modal__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-modal__form label { display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; margin-bottom: 0.375rem; }
.contact-modal__form input, .contact-modal__form textarea { width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border); font-size: 1rem; line-height: 1.5rem; border-radius: calc(var(--radius) - 2px); transition: box-shadow 0.3s; }
.contact-modal__form textarea { resize: none; }
.contact-modal__form input:focus, .contact-modal__form textarea:focus { outline: 2px solid transparent; outline-offset: 2px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.contact-modal__error { color: var(--color-destructive); font-size: 0.875rem; }
.contact-modal__actions { display: flex; justify-content: flex-end; }
.contact-modal__success { text-align: center; padding: 2rem 0; }
.contact-modal__success.is-entering { animation: successIn 0.4s ease both; }
.contact-modal__success.is-entering .contact-modal__success-icon { animation: successIcon 0.5s ease 0.15s both; }
.contact-modal__success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border-radius: 9999px; color: var(--color-primary-foreground); }
.contact-modal__success-icon svg { width: 1.75rem; height: 1.75rem; }
.contact-modal__success h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 0.5rem; }
.contact-modal__success p { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); }
.contact-modal__close { position: absolute; right: 1rem; top: 1rem; border-radius: 0; opacity: 0.7; transition: opacity 0.15s; cursor: pointer; }
.contact-modal__close:hover { opacity: 1; }
.contact-modal__close:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-primary); }
.contact-modal__close svg { width: 1rem; height: 1rem; }

/* ---------- Cart drawer ---------- */
#theme-cart-overlay, #theme-cart-drawer { display: none; }
body.cart-open #theme-cart-overlay { display: block; position: fixed; inset: 0; z-index: 50; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); animation: fadeIn 0.6s var(--transition-smooth) forwards; }
body.cart-open #theme-cart-drawer { display: flex; flex-direction: column; position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background: var(--color-background); z-index: 50; box-shadow: var(--shadow-elevated); }
body.cart-open:not(.cart-settled) #theme-cart-drawer { animation: slideUp 0.6s var(--transition-smooth) forwards; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.cart-drawer__header h2 { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.cart-drawer__close { padding: 0.25rem; transition: opacity 0.15s; }
.cart-drawer__close:hover { opacity: 0.6; }
.cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-drawer__empty-icon { width: 3rem; height: 3rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; font-family: var(--font-body); }
.cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; }
.cart-drawer__items > * + * { margin-top: 1.5rem; }
.cart-item { display: flex; gap: 1rem; }
.cart-item__thumb { display: block; width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; }
.cart-item__body { flex: 1; min-width: 0; font-family: var(--font-body); }
.cart-item__name { display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.15s; }
.cart-item__name:hover { opacity: 0.7; }
.cart-item__price { font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.cart-item__attrs { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.cart-item__meta { font-size: 0.75rem; line-height: 1.25rem; color: var(--color-muted-foreground); margin-top: 0.25rem; padding: 0; list-style: none; }
.cart-item__meta > li + li { margin-top: 0.125rem; }
.cart-item__note { font-size: 12px; color: var(--color-muted-foreground); margin-top: 0.25rem; font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-item__qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.15s; }
.cart-item__qty-btn:hover { background: var(--color-secondary); }
.cart-item__qty { font-size: 0.875rem; line-height: 1.25rem; width: 1.5rem; text-align: center; }
.cart-item__remove { margin-left: auto; font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); transition: color 0.15s; }
.cart-item__remove:hover { color: var(--color-foreground); }
.cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); font-family: var(--font-body); }
.cart-drawer__footer > * + * { margin-top: 1rem; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; line-height: 1.25rem; }
.cart-drawer__subtotal > span:first-child { color: var(--color-muted-foreground); }
.cart-drawer__subtotal-value { font-weight: 500; }
.cart-drawer__note { font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); }

/* ---------- 404 ---------- */
.not-found { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--color-muted); }
.not-found__inner { text-align: center; }
.not-found__code { margin-bottom: 1rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; }
.not-found__text { margin-bottom: 1rem; font-size: 1.25rem; line-height: 1.75rem; color: var(--color-muted-foreground); }
.not-found__link { color: var(--color-primary); text-decoration: underline; }
.not-found__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ---------- Single product ---------- */
.product-page { background: var(--color-background); }
.breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.breadcrumb a { transition: color 0.15s var(--transition-smooth); }
.breadcrumb a:hover { color: var(--color-foreground); }
.breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb__current { color: var(--color-foreground); }
.theme-product-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-bottom: 6rem; padding-top: 1rem; align-items: start; min-width: 0; }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.gallery-desktop { display: none; }
@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.theme-product-gallery { grid-column: span 7 / span 7; }
	.theme-product-info { grid-column: span 5 / span 5; padding-left: 1rem; position: sticky; top: 7rem; align-self: start; }
	.gallery-mobile { display: none; }
	.gallery-desktop { display: flex; flex-direction: column; gap: 1rem; }
}
.gallery-main { background: var(--color-secondary); overflow: hidden; border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); }
.product-gallery__img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: cover; }
.gallery-main__img { aspect-ratio: 3 / 4; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.25rem; max-width: 100%; }
.theme-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); cursor: pointer; border: none; padding: 0; }
.theme-thumb .product-gallery__img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.theme-thumb__img { opacity: 0.6; transition: opacity 0.15s; }
.theme-thumb:hover .theme-thumb__img, .theme-thumb.is-active .theme-thumb__img { opacity: 1; }
.theme-thumb__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground); opacity: 0; transition: opacity 0.15s; pointer-events: none; }
.theme-thumb.is-active .theme-thumb__line { opacity: 1; }
.gallery-desktop__item { width: 100%; max-width: 32rem; margin: 0 auto; background: var(--color-secondary); overflow: hidden; border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); }
.gallery-desktop__item .product-gallery__img { aspect-ratio: 2 / 3; }
.product-cat { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem; overflow-wrap: break-word; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.product-price { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 1.5rem; font-family: var(--font-body); }
.product-price del { opacity: 0.6; margin-right: 0.35em; }
.product-price ins { text-decoration: none; }
.product-intro { color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 2rem; font-family: var(--font-body); font-size: 1rem; }
.product-label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.product-label__opt { opacity: 0.6; }
.product-note { margin-bottom: 1.5rem; }
.product-note__input { width: 100%; padding: 0.75rem 1rem; background: var(--color-background); border: 1px solid var(--color-border); font-size: 1rem; line-height: 1.5rem; font-family: var(--font-body); transition: border-color 0.15s var(--transition-smooth); }
.product-note__input:focus { outline: none; border-color: var(--color-foreground); }
.theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.product-qty { margin-bottom: 1rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background-color 0.15s var(--transition-smooth); display: inline-flex; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 2.75rem; min-width: 44px; padding: 0.5rem 0; text-align: center; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-qty-input:focus { outline: none; }
.product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.product-acc__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; font-family: var(--font-body); }
.product-acc__chevron { width: 1rem; height: 1rem; transition: transform 0.15s var(--transition-smooth); }
.product-acc__trigger[aria-expanded="true"] .product-acc__chevron { transform: rotate(180deg); }
.product-acc__panel { padding-bottom: 1.5rem; font-family: var(--font-body); }
.product-acc__desc { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 1rem; }
.product-acc__desc p { margin: 0 0 1.625em; }
.product-acc__desc p:last-child { margin-bottom: 0; }
.product-bullets > * + * { margin-top: 0.5rem; }
.product-bullets li { font-size: 15px; color: var(--color-muted-foreground); display: flex; align-items: flex-start; }
.product-bullets__dot { width: 0.25rem; height: 0.25rem; background: var(--color-foreground); border-radius: 9999px; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }
.product-acc--sub { border-top: 1px solid var(--color-border); }
.product-acc__panel--delivery { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.625; }
.product-acc__panel--delivery > * + * { margin-top: 0.75rem; }
.product-acc__end { border-top: 1px solid var(--color-border); }
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-head { text-align: center; margin-bottom: 3rem; }
.related-head__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; line-height: 1.5rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.related-head__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) { .related-head__title { font-size: 2.25rem; line-height: 2.5rem; } }
.archive-section { padding: 4rem 0; }
.archive-title { margin-bottom: 2.5rem; }

/* ---------- WooCommerce buttons ---------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled { cursor: not-allowed !important; opacity: 0.4 !important; pointer-events: none !important; }
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover { opacity: 0.4 !important; background-color: var(--color-primary) !important; }

.single-product a.single_add_to_cart_button.button,
.single-product button.single_add_to_cart_button.button {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	width: 100%;
	min-width: 0;
	flex: 0 0 auto;
	padding: 1rem !important;
	border-radius: calc(var(--radius) - 2px) !important;
	font-size: 0.75rem !important;
	line-height: 1rem;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	font-weight: 500 !important;
	transition: background-color 0.15s var(--transition-smooth) !important;
}
.single-product a.single_add_to_cart_button.button:hover,
.single-product button.single_add_to_cart_button.button:hover { background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important; opacity: 1 !important; color: var(--color-background) !important; }
.single-product a.single_add_to_cart_button.button.disabled,
.single-product button.single_add_to_cart_button.button:disabled,
.single-product a.single_add_to_cart_button.button.is-added { opacity: 0.6 !important; cursor: not-allowed !important; pointer-events: none !important; }
.single-product a.single_add_to_cart_button.button.disabled:hover,
.single-product button.single_add_to_cart_button.button:disabled:hover { opacity: 0.6 !important; background-color: var(--color-foreground) !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

.theme-attr-select-hidden { display: none !important; }
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations { margin-bottom: 1.5rem; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.theme-pill { padding: 0.5rem 1rem; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--color-border); font-family: var(--font-body); border-radius: 9999px; transition: all 0.15s var(--transition-smooth); cursor: pointer; }
.theme-cat-filter { cursor: pointer; }
.theme-nav-list a,
.theme-nav-mobile a,
.theme-footer-nav a { cursor: pointer; }
.site-footer__logo { cursor: pointer; }
.theme-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.single-product .single_variation_wrap .woocommerce-variation-price { margin-bottom: 1rem; font-family: var(--font-body); }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* ---------- Pages, WooCommerce notices, cart/account ---------- */
.page-wrap { padding-top: 1.5rem; padding-bottom: 2.5rem; min-height: 50vh; }
.page-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.25rem; line-height: 2.5rem; } }
.entry-content { font-family: var(--font-body); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { font-family: var(--font-body); border-radius: calc(var(--radius) - 2px); border: 1px solid var(--color-border); background: var(--color-card); padding: 1rem 1.25rem; margin-bottom: 1.5rem; list-style: none; }
.woocommerce-error { border-color: var(--color-destructive); color: var(--color-destructive); }
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content,
body.theme-thankyou-page .entry-content { max-width: 100%; }
body.woocommerce-cart .wc-block-cart { gap: 2rem; }
body.woocommerce-account .woocommerce { display: block; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a { font-family: var(--font-body); }
.woocommerce table.shop_table, .woocommerce-page table.shop_table { width: 100%; border: 1px solid var(--color-border); border-collapse: collapse; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 0.75rem 1rem; border-top: 1px solid var(--color-border); text-align: left; }
.woocommerce .button, .woocommerce button.button, .wc-block-components-button:not(.is-link) { background: var(--color-primary); color: var(--color-primary-foreground); border-radius: calc(var(--radius) - 2px); font-family: var(--font-body); font-weight: 500; }

/* ---------- Checkout (WC Blocks) ---------- */
:root {
	--checkout-max-width: 1280px;
	--checkout-gap: 2rem;
}

body.woocommerce-checkout .theme-checkout-main { padding-top: 0; }
html:has(body.woocommerce-checkout) {
	scroll-padding-top: calc(var(--header-height) + var(--admin-bar-height));
}

.theme-checkout-shell {
	padding-block: 0.5rem 4rem;
	padding-inline: 1rem;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}
@media (min-width: 640px) {
	.theme-checkout-shell { padding-inline: 1.5rem; }
}
@media (min-width: 1024px) {
	.theme-checkout-shell { padding-inline: 2rem; }
}
.theme-checkout-header {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	margin-bottom: 0;
	box-sizing: border-box;
}
.checkout-continue-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
	transition: color 0.15s var(--transition-smooth);
}
.checkout-continue-link:hover { color: var(--color-foreground); }
.checkout-continue-link__icon { flex-shrink: 0; }
.theme-checkout-title {
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 700;
	margin: 0;
}
@media (min-width: 768px) {
	.theme-checkout-title { font-size: 2.25rem; line-height: 2.5rem; }
}
.theme-checkout-intro {
	margin: 0.75rem 0 0;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	line-height: 1.625;
}

body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
	margin-top: 0;
	padding-top: 0;
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout:first-child,
.entry-content > .wp-block-woocommerce-checkout:first-child {
	margin-top: 0;
}

body.woocommerce-checkout .theme-checkout-main > .container-wide,
body.woocommerce-checkout .theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-main .entry-content {
	max-width: none;
	width: 100%;
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout {
	display: block;
	max-width: var(--checkout-max-width);
	width: 100%;
	min-width: 0;
	margin-inline: auto;
	margin-top: 0;
	padding-top: 0;
	box-sizing: border-box;
	font-family: var(--font-body);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide {
	margin-top: 0;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
	margin-top: 0;
	padding-top: 0;
	min-width: 0;
}
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty {
	display: none;
	margin: 0;
	padding: 0;
}
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	margin-top: 0;
	padding-top: 0;
	margin-bottom: var(--checkout-gap);
	box-sizing: border-box;
}

/* Two-column grid only when the checkout block container is wide (WC uses ~920px, not viewport 768px). */
@supports (container-type: inline-size) {
	@container (min-width: 920px) {
		body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
		body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
		.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
		.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
			display: grid !important;
			grid-template-columns: 1fr minmax(360px, 400px);
			gap: var(--checkout-gap);
			align-items: start;
			flex-direction: unset;
			flex-wrap: nowrap;
			margin: 0;
		}
		body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
		body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
		body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
		body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
		body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout .wc-block-checkout__main,
		body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout .wc-block-components-main,
		body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout .wc-block-checkout__sidebar,
		body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout .wc-block-components-sidebar,
		.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
		.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
		.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
		.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
			width: auto !important;
			max-width: 100%;
			min-width: 0;
			margin: 0 !important;
			padding: 0 !important;
			box-sizing: border-box;
		}
		body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
		.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
			display: grid;
			grid-template-columns: 1fr minmax(360px, 400px);
			gap: var(--checkout-gap);
			align-items: start;
		}
		body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
		.entry-content .wc-block-checkout > .wc-block-components-notices {
			grid-column: 1 / -1;
		}
	}
}
@media (min-width: 992px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		flex-direction: unset;
		flex-wrap: nowrap;
		margin: 0;
	}
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: auto !important;
		max-width: 100%;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box;
	}
	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notices {
		grid-column: 1 / -1;
	}
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: transparent;
	padding: 0;
	border-radius: 0;
	border: none;
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar {
	top: calc(var(--header-height) + var(--admin-bar-height) + 0.75rem);
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background: var(--color-card);
	border-radius: var(--radius);
	padding: 2rem;
	border: 1px solid var(--color-border);
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
.entry-content .wc-block-components-title,
.entry-content .wc-block-components-checkout-step__title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 700;
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-select select,
.entry-content .wc-block-components-textarea textarea,
.entry-content .wc-block-components-combobox .components-combobox-control__input {
	width: 100% !important;
	max-width: none !important;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: calc(var(--radius) - 2px);
	font-family: var(--font-body);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input,
.entry-content .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-components-text-input input:focus,
.entry-content .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 1px var(--color-primary);
	border-color: var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-radius: calc(var(--radius) - 2px);
	font-family: var(--font-body);
	font-weight: 500;
	min-height: 2.75rem;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
	font-family: var(--font-body);
	border-radius: calc(var(--radius) - 2px);
}
body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-order-summary,
.entry-content .wc-block-cart-items,
.entry-content .wc-block-components-order-summary {
	font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-product-price,
.entry-content .wc-block-components-totals-item__value,
.entry-content .wc-block-components-product-price {
	color: var(--color-foreground);
}

/* ---------- Thank you ---------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
body.theme-thankyou-page .woocommerce-order-overview li { padding-right: 1.5rem; border-right: 1px solid var(--color-border); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-muted-foreground); }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; margin-top: 0.25rem; color: var(--color-foreground); font-size: 1rem; text-transform: none; letter-spacing: 0; }
body.theme-thankyou-page h2,
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; }

@media (prefers-reduced-motion: reduce) {
	.hero__img, .marquee__track { animation: none !important; }
}
