/* Grandmas Gatehouse theme stylesheet. No web fonts are bundled on purpose: the source design never loads
   Cormorant Garamond or Jost, so it renders with the system serif/sans-serif fallbacks and this theme matches that. */

/* ==========================================================================
   Design tokens (hex values converted from the source HSL tokens via
   theme_hsl_to_hex(); re-emitted by wp_add_inline_style from the Customizer)
   ========================================================================== */
:root {
	--background: #f8f6f1;
	--foreground: #2f2318;
	--card: #f2efe8;
	--primary: #3d2d1f;
	--primary-foreground: #f9f8f5;
	--secondary: #e8e2d9;
	--muted: #e9e6e2;
	--muted-foreground: #756657;
	--accent: #6b7a52;
	--accent-foreground: #f8f6f1;
	--border: #d4cbbf;
	--input: #d4cbbf;
	--radius: 0.125rem;
	--font-display: 'Cormorant Garamond', serif;
	--font-body: 'Jost', sans-serif;
	--shadow-elevated: 0 10px 50px -12px hsl(30 8% 14% / 0.14);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--logo-height: 96px;
	--header-height: 6rem;

	--color-primary: var(--foreground);
	--color-button-text: var(--background);
	--color-border: var(--border);
	--color-surface: var(--card);
	--btn-radius: 0;
	--btn-height: 0;
	--btn-padding: 1rem 1.5rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 400;
	--btn-letter-spacing: 0.2em;
	--btn-text-transform: uppercase;
	--card-radius: 0;
	--section-padding: 2rem;
}

/* ==========================================================================
   Base (preflight parity)
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--border); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: ui-sans-serif, system-ui, sans-serif; }
body { margin: 0; line-height: inherit; background-color: var(--background); color: var(--foreground); font-family: var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; margin: 0; font-family: var(--font-display); font-weight: 400; }
p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: inherit; }
button, input, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; margin: 0; padding: 0; }
button, select { text-transform: none; }
button, [type='button'], [type='submit'] { -webkit-appearance: button; background-color: transparent; background-image: none; cursor: pointer; }
a[href], button, select, summary, label[for],
[role='button'], [role='radio'], [role='tab'], [role='link'],
input[type='button'], input[type='submit'], input[type='reset'], input[type='checkbox'], input[type='radio'], input[type='range'], input[type='file'],
[data-contact-open], [data-cart-open], [data-lightbox-open],
.wc-block-components-button, .wc-block-components-radio-control__option, .wc-block-components-checkbox__label { cursor: pointer; }
button:disabled, [aria-disabled='true'], input:disabled, select:disabled { cursor: not-allowed; }
img, svg, video { display: block; vertical-align: middle; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.pd-thumb-img):not(.pd-main-img):not(.lightbox-img) { max-width: 100%; height: auto; }
table { border-collapse: collapse; text-indent: 0; border-color: inherit; }
::placeholder { color: #9ca3af; opacity: 1; }
[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-4 { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-5 { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.container-wide { width: 100%; max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding-left: 2rem; padding-right: 2rem; } }
.eyebrow { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted-foreground); font-family: var(--font-body); }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Animations (ported from the source utilities and motion variants)
   ========================================================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroZoom { 0% { transform: scale(1); } 100% { transform: scale(1.07); } }
@keyframes cardEnter { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cardFallback { to { opacity: 1; } }
@keyframes dialogIn { from { opacity: 0; transform: translate(-50%, -48%) scale(0.95); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes dialogOut { 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.96); } to { opacity: 1; transform: scale(1); } }

.reveal-item { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease-in-out, transform 0.65s ease-in-out; }
.reveal-section.is-visible .reveal-item { opacity: 1; transform: none; }
body.is-customizer .reveal-item,
body.is-customizer .reveal-section .reveal-item { opacity: 1; transform: none; transition: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background-color: transparent; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.site-header.is-solid { background-color: color-mix(in srgb, var(--background) 95%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-bottom: 1px solid var(--border); }
.site-nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: 6rem; gap: 1rem; }
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; object-fit: contain; }
.site-logo-img--header { max-width: 180px; height: calc(var(--logo-height) * 0.8333) !important; }
.site-logo-img--footer { max-width: 220px; }
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-display); font-size: 1.5rem; }
.nav-desktop { display: none; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; align-items: center; gap: 1.75rem; }
.nav-link { font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgb(255 255 255 / 0.85); transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.nav-link:hover { opacity: 0.6; }
.site-header.is-solid .nav-link { color: var(--foreground); }
.cart-btn { position: relative; color: rgb(255 255 255); transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.cart-btn:hover { opacity: 0.6; }
.site-header.is-solid .cart-btn { color: inherit; }
.cart-btn--desktop { padding: 0.25rem; }
.cart-btn--mobile { padding: 0.75rem; }
.theme-cart-count { position: absolute; min-width: 1.25rem; height: 1.25rem; padding: 0 0.25rem; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; line-height: 1rem; font-weight: 500; background-color: var(--accent); color: var(--accent-foreground); border-radius: 9999px; }
.theme-cart-count:empty { display: none; }
.cart-btn--desktop .theme-cart-count { top: -0.25rem; right: -0.25rem; }
.cart-btn--mobile .theme-cart-count { top: 0.25rem; right: 0.25rem; }
.nav-mobile-controls { display: flex; align-items: center; gap: 0.25rem; }
.menu-toggle { padding: 0.75rem; color: rgb(255 255 255); transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.menu-toggle:hover { opacity: 0.6; }
.site-header.is-solid .menu-toggle { color: inherit; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded='true'] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded='true'] .menu-toggle__close { display: block; }
.mobile-menu { border-top: 1px solid var(--border); padding: 1rem 0; animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.nav-list--mobile { flex-direction: column; align-items: stretch; gap: 0; }
.nav-list--mobile .nav-link { display: block; text-align: left; padding: 0.75rem 0; color: var(--foreground); transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
@media (min-width: 1024px) {
	.site-nav { height: 7rem; }
	.nav-desktop { display: flex; }
	.nav-mobile-controls, .mobile-menu { display: none !important; }
	.site-logo-img--header { height: var(--logo-height) !important; }
	:root { --header-height: 7rem; }
}

/* ==========================================================================
   WordPress admin bar offset (fixed layers start below the toolbar)
   ========================================================================== */
body.admin-bar { --admin-bar-height: 32px; }
@media screen and (max-width: 782px) { body.admin-bar { --admin-bar-height: 46px; } }
@media screen and (max-width: 600px) { body.admin-bar #wpadminbar { position: fixed; } }
body.admin-bar .site-header,
body.admin-bar #theme-cart-drawer,
body.admin-bar .filter-sheet.is-open,
body.admin-bar .lightbox { top: var(--admin-bar-height); }
body.admin-bar #theme-cart-drawer { height: calc(100% - var(--admin-bar-height)); }
body.admin-bar .modal__content { top: calc(50% + var(--admin-bar-height) / 2); max-height: calc(90vh - var(--admin-bar-height)); }
body.admin-bar .hero { min-height: calc(100vh - var(--admin-bar-height)); }
body.admin-bar #shop,
body.admin-bar #services,
body.admin-bar #about,
body.admin-bar #contact { scroll-margin-top: calc(5rem + var(--admin-bar-height)); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-bg { animation: heroZoom 22s ease-in-out infinite alternate; }
.hero-overlay { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--foreground) 65%, transparent); }
.hero-content { position: relative; z-index: 10; text-align: center; padding: 8rem 1.5rem; max-width: 48rem; }
.hero-eyebrow { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-body); color: color-mix(in srgb, var(--primary-foreground) 75%, transparent); }
.hero-title { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.05; color: var(--primary-foreground); margin-top: 1.5rem; }
.hero-subtitle { color: color-mix(in srgb, var(--primary-foreground) 80%, transparent); margin: 1.75rem auto 0; font-size: 1rem; line-height: 1.625; font-family: var(--font-body); max-width: 36rem; }
.hero-cta { display: inline-block; margin-top: 2.5rem; background-color: var(--background); color: var(--foreground); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); padding: 1rem 2.5rem; transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.hero-cta:hover { background-color: color-mix(in srgb, var(--background) 90%, transparent); }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }

/* ==========================================================================
   Sections shared
   ========================================================================== */
#shop, #services, #about, #contact { scroll-margin-top: 5rem; }
.section-head { max-width: 42rem; margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 { font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) { .section-head h2 { font-size: 3rem; line-height: 1; } }
.section-head--shop { margin-bottom: 3rem; }
.section-head--shop h2 { margin-bottom: 1.25rem; }
.shop-description { color: var(--muted-foreground); font-family: var(--font-body); line-height: 1.625; }
.section-head--services { margin-bottom: 3.5rem; }

/* Shop */
.shop-section { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .shop-section { padding-top: 7rem; padding-bottom: 7rem; } }
.shop-filters { text-align: left; margin-bottom: 2.5rem; }
.shop-filters__bar { display: flex; flex-direction: column; gap: 1.25rem; border-bottom: 1px solid var(--border); padding-bottom: 1.25rem; }
.shop-filters__top { display: flex; flex-direction: column; gap: 1rem; }
.shop-search { position: relative; width: 100%; }
.shop-search__icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--muted-foreground); }
.shop-search__input { display: flex; width: 100%; height: 2.5rem; padding: 0.5rem 0.75rem 0.5rem 1.75rem; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; color: inherit; outline: none; }
.shop-search__input::placeholder { color: var(--muted-foreground); }
.shop-filters__meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.shop-count { font-size: 0.75rem; line-height: 1rem; font-family: var(--font-body); color: var(--muted-foreground); }
.filters-open { min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--border); font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.14em; font-family: var(--font-body); }
.filters-clear, .no-results__clear { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.14em; text-decoration: underline; text-underline-offset: 4px; font-family: var(--font-body); }
.no-results__clear { margin-top: 1rem; letter-spacing: 0; }
.filter-sheet { display: none; }
.filter-sheet.is-open { display: block; position: fixed; inset: 0; z-index: 50; }
.filter-sheet__backdrop { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--foreground) 40%, transparent); }
.filter-sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 85vh; overflow-y: auto; background-color: var(--card); border-top: 1px solid var(--border); padding: 1.5rem; }
.filter-sheet__panel > * + * { margin-top: 1.75rem; }
.filter-sheet__head { display: flex; justify-content: space-between; }
.filter-sheet__close { padding: 0.75rem; }
.filter-controls > * + * { margin-top: 1.75rem; }
.filter-label { margin-bottom: 0.75rem; }
.cat-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-cat-filter { min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--border); font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.14em; font-family: var(--font-body); color: var(--muted-foreground); transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s, border-color 0.15s; }
.theme-cat-filter:hover { color: var(--foreground); }
.theme-cat-filter.is-active { border-color: var(--accent); background-color: var(--accent); color: var(--accent-foreground); }
.price-label { margin-top: 0.75rem; font-size: 0.75rem; line-height: 1rem; font-family: var(--font-body); color: var(--muted-foreground); }
.filter-sheet__apply { width: 100%; min-height: 3rem; background-color: var(--foreground); color: var(--background); font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.18em; font-family: var(--font-body); }
@media (min-width: 768px) {
	.shop-filters__top { flex-direction: row; align-items: center; justify-content: space-between; }
	.shop-search { width: 360px; }
	.filters-open { display: none; }
	.filter-sheet, .filter-sheet.is-open { display: block; position: static; }
	.filter-sheet__backdrop, .filter-sheet__head, .filter-sheet__apply { display: none; }
	.filter-sheet__panel { position: static; max-height: none; overflow: visible; background: transparent; border: 0; padding: 0; }
	.filter-sheet__panel > * + * { margin-top: 0; }
	.filter-controls { display: grid; grid-template-columns: 1fr 240px; gap: 2rem; align-items: end; }
	.filter-controls > * + * { margin-top: 0; }
}

/* Dual range (two overlapping full-width inputs) */
.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; border-radius: 9999px; }
.range-track-bg { left: 0; right: 0; background-color: var(--secondary); }
.range-track-fill { background-color: var(--primary); border-radius: 0; }
.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 { -webkit-appearance: none; background: transparent; height: 1.25rem; }
.range-input::-moz-range-track { background: transparent; height: 1.25rem; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 1.25rem; height: 1.25rem; border-radius: 9999px; border: 2px solid var(--primary); background-color: var(--background); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 1.25rem; height: 1.25rem; box-sizing: border-box; border-radius: 9999px; border: 2px solid var(--primary); background-color: var(--background); cursor: pointer; }
.range-input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--foreground); outline-offset: 2px; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.range-input--max.is-top { z-index: 5; }

/* Product grid and cards */
.theme-product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: stretch; }
.theme-product-grid--related { gap: 2rem; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.theme-product-grid--home { gap: 2.5rem; }
}
.theme-product-grid--home:not(.is-managed) .theme-product-card-wrap { opacity: 0; animation: cardFallback 0.3s ease 2s forwards; }
.theme-product-grid--home:not(.is-managed) .theme-product-card-wrap:nth-child(n+9) { display: none; }
.theme-product-grid--home.is-managed .theme-product-card-wrap { animation: cardEnter 0.65s ease-in-out both; }
body.is-customizer .theme-product-grid--home .theme-product-card-wrap { opacity: 1; animation: none; }
.theme-product-card-wrap { min-width: 0; height: 100%; }
.theme-product-card-wrap.is-hidden { display: none; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__link { display: block; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1 / 1; background-color: var(--secondary); overflow: hidden; margin-bottom: 1rem; }
.theme-product-card__image-wrapper img { display: block; transition: transform 900ms ease-out; }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.03); }
.theme-product-card.is-sold .theme-product-card__image-wrapper img { opacity: 0.6; }
.theme-sold-badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1; padding: 0.375rem 0.75rem; font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.18em; background-color: var(--foreground); color: var(--background); font-family: var(--font-body); }
.theme-product-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; }
.theme-product-card__price { font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); flex-shrink: 0; }
.theme-product-card__cat { margin-top: 0.375rem; font-size: 0.75rem; line-height: 1rem; color: var(--muted-foreground); font-family: var(--font-body); letter-spacing: 0.025em; }
.theme-product-card__actions { margin-top: auto; padding-top: 1rem; display: flex; flex-direction: column; align-items: center; gap: 0.625rem; }
.theme-card-add, .theme-card-contact { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); color: var(--muted-foreground); padding: 0.125rem 0; transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.theme-card-contact { letter-spacing: 0.18em; }
.theme-card-add:hover, .theme-card-contact:hover { color: var(--foreground); }
.view-all-wrap { text-align: center; margin-top: 3.5rem; }
.view-all { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); border-bottom: 1px solid var(--foreground); padding-bottom: 0.25rem; }
.no-results { text-align: center; padding: 5rem 0; }
.no-results__text { color: var(--muted-foreground); font-family: var(--font-body); }

/* Services */
.services-section { border-top: 1px solid var(--border); }
.services-inner { padding-top: 5rem; padding-bottom: 5rem; }
.services-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background-color: var(--border); border: 1px solid var(--border); }
.service-card { position: relative; overflow: hidden; padding: 2rem; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.service-img { transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1); }
.service-card:hover .service-img { transform: scale(1.04); }
.service-overlay { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--foreground) 65%, transparent); }
.service-body { position: relative; z-index: 10; }
.service-icon { width: 1.5rem; height: 1.5rem; color: var(--accent); margin-bottom: 1.5rem; }
.service-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; margin-bottom: 1rem; color: var(--primary-foreground); }
.service-desc { font-size: 0.875rem; line-height: 1.625; color: color-mix(in srgb, var(--primary-foreground) 80%, transparent); font-family: var(--font-body); }
@media (min-width: 768px) {
	.services-inner { padding-top: 8rem; padding-bottom: 8rem; }
	.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.service-card { padding: 2.5rem; }
	.service-title { font-size: 1.875rem; line-height: 2.25rem; }
}

/* About */
.about-section { border-top: 1px solid var(--border); background-color: color-mix(in srgb, var(--secondary) 40%, transparent); }
.about-inner { padding-top: 5rem; padding-bottom: 5rem; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
.about-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; max-width: 28rem; margin: 0 auto; }
.about-section .about-title { margin-bottom: 2rem; }
.about-section .about-copy .eyebrow { margin-bottom: 1rem; }
.about-title { font-size: 1.875rem; line-height: 2.25rem; }
.about-text { color: var(--muted-foreground); font-family: var(--font-body); line-height: 1.625; }
@media (min-width: 768px) {
	.about-inner { padding-top: 8rem; padding-bottom: 8rem; }
	.about-title { font-size: 3rem; line-height: 1; }
}
@media (min-width: 1024px) {
	.about-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.about-media { grid-column: span 5 / span 5; }
	.about-frame { margin: 0; }
	.about-copy { grid-column: 7 / span 6; }
}

/* Contact */
.contact-section { border-top: 1px solid var(--border); position: relative; color: var(--primary-foreground); overflow: hidden; }
.contact-overlay { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--foreground) 80%, transparent); }
.contact-inner { position: relative; z-index: 10; padding-top: 5rem; padding-bottom: 5rem; text-align: center; }
.contact-eyebrow { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-body); color: color-mix(in srgb, var(--primary-foreground) 65%, transparent); margin-bottom: 1rem; }
.contact-title { font-size: 1.875rem; line-height: 2.25rem; margin-bottom: 1.5rem; }
.contact-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; max-width: 56rem; margin: 3rem auto; }
.contact-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1.25rem; border: 1px solid color-mix(in srgb, var(--primary-foreground) 25%, transparent); background-color: color-mix(in srgb, var(--primary-foreground) 4%, transparent); }
.contact-card svg { margin-bottom: 1rem; }
.contact-card__label { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 0.5rem; }
.contact-card__value { font-size: 0.875rem; line-height: 1.25rem; }
.contact-card__value--break { word-break: break-all; }
.contact-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2rem; margin-bottom: 2.5rem; font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); }
.social-link { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.social-link:hover { color: color-mix(in srgb, var(--primary-foreground) 75%, transparent); }
.contact-open-btn { background-color: var(--background); color: var(--foreground); padding: 1rem 2.5rem; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); }
@media (min-width: 768px) {
	.contact-inner { padding-top: 8rem; padding-bottom: 8rem; }
	.contact-title { font-size: 3rem; line-height: 1; }
	.contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { padding-top: 3rem; padding-bottom: 3rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.footer-logo { display: inline-flex; align-items: center; }
.footer-desc { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); font-family: var(--font-body); max-width: 20rem; }
.footer-nav-heading, .footer-contact-heading { margin-bottom: 1.25rem; }
.footer-nav-list > * + *, .footer-contact-list > * + * { margin-top: 0.75rem; }
.footer-link { display: inline-block; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); font-family: var(--font-body); padding: 0.125rem 0; transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.footer-link:hover { color: var(--foreground); }
.footer-contact-list li { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); font-family: var(--font-body); }
.footer-contact-list svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.footer-contact-link { transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.footer-contact-link:hover { color: var(--foreground); }
.footer-contact-link--break { word-break: break-all; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 0.75rem; }
.footer-copy { font-size: 0.75rem; line-height: 1rem; color: color-mix(in srgb, var(--muted-foreground) 70%, transparent); font-family: var(--font-body); }
.footer-built { font-size: 0.75rem; line-height: 1rem; font-family: var(--font-body); }
.footer-built-label { color: color-mix(in srgb, var(--muted-foreground) 60%, transparent); }
.footer-credit { color: var(--muted-foreground); font-weight: 500; transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.footer-credit:hover { color: var(--foreground); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-inner { padding-top: 3.5rem; padding-bottom: 3.5rem; } .footer-grid { gap: 4rem; } }

/* ==========================================================================
   Cart drawer
   ========================================================================== */
#theme-cart-overlay { display: none; position: fixed; inset: 0; background-color: color-mix(in srgb, var(--foreground) 20%, transparent); z-index: 50; animation: fadeIn 0.6s var(--transition-smooth) forwards; }
body.cart-open #theme-cart-overlay { display: block; }
#theme-cart-drawer { display: none; position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 32rem; background-color: var(--background); z-index: 50; box-shadow: var(--shadow-elevated); flex-direction: column; }
body.cart-open #theme-cart-drawer { display: flex; }
body.cart-opening #theme-cart-drawer { animation: slideUp 0.6s var(--transition-smooth) forwards; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); }
.cart-title { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.2em; font-family: var(--font-body); font-weight: 500; }
.cart-close { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.2em; font-family: var(--font-body); transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.cart-close:hover { opacity: 0.6; }
.cart-empty { flex: 1 1 0%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.cart-empty__icon { width: 3rem; height: 3rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.cart-empty__text { color: var(--muted-foreground); margin-bottom: 1.5rem; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; }
.cart-continue { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.2em; font-family: var(--font-body); text-decoration: underline; transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.cart-continue:hover { opacity: 0.7; }
.cart-items { flex: 1 1 0%; overflow: auto; padding: 0 2rem; }
.cart-item { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.cart-item__thumb { position: relative; display: block; width: 140px; height: 140px; background-color: var(--secondary); flex-shrink: 0; }
.cart-item__info { flex: 1 1 0%; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 0.25rem 0; }
.cart-item__name { display: block; font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.cart-item__name:hover { opacity: 0.7; }
.cart-item__price { font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); margin-top: 0.25rem; }
.cart-item__cat { font-size: 0.75rem; line-height: 1rem; color: var(--muted-foreground); margin-top: 0.25rem; font-family: var(--font-body); }
.cart-item__controls { margin-top: 0.75rem; }
.cart-item__qty { display: flex; align-items: center; gap: 0.75rem; }
.cart-qty-label { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--font-body); }
.cart-qty-box { display: flex; align-items: center; border: 1px solid var(--border); }
.cart-qty-minus, .cart-qty-plus { width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; line-height: 1rem; font-family: var(--font-body); transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.cart-qty-minus:hover, .cart-qty-plus:hover { background-color: var(--secondary); }
.cart-qty-minus:disabled { opacity: 0.4; cursor: not-allowed; }
.cart-qty-value { width: 2rem; height: 1.75rem; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; line-height: 1rem; border-left: 1px solid var(--border); border-right: 1px solid var(--border); background-color: var(--background); font-family: var(--font-body); }
.cart-remove { font-size: 0.75rem; line-height: 1rem; color: var(--muted-foreground); font-family: var(--font-body); margin-top: 0.5rem; text-decoration: underline; transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.cart-remove:hover { color: var(--foreground); }
.cart-footer { padding: 1.5rem 2rem; border-top: 1px solid var(--border); }
.cart-footer > * + * { margin-top: 1rem; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; }
.cart-checkout-btn { display: block; width: 100%; background-color: var(--foreground); color: var(--background); text-align: center; padding: 1rem 0; font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.2em; font-family: var(--font-body); transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.cart-checkout-btn:hover { opacity: 0.9; }

/* ==========================================================================
   Contact modal
   ========================================================================== */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 50; }
.modal__overlay { position: fixed; inset: 0; background-color: rgb(0 0 0 / 0.8); }
.modal__content { position: fixed; left: 50%; top: 50%; z-index: 50; display: grid; gap: 1rem; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto; transform: translate(-50%, -50%); border: 1px solid var(--border); background-color: var(--background); padding: 1.5rem; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); outline: none; }
.modal.is-open .modal__overlay { animation: fadeIn 0.2s ease both; }
.modal.is-open .modal__content { animation: dialogIn 0.2s ease both; }
.modal.is-closing .modal__overlay { animation: fadeOut 0.2s ease both; }
.modal.is-closing .modal__content { animation: dialogOut 0.2s ease both; }
.modal-header { display: flex; flex-direction: column; gap: 0.375rem; text-align: center; }
.modal-title { font-family: var(--font-display); font-size: 1.875rem; font-weight: 400; line-height: 1; letter-spacing: -0.025em; }
.modal-description { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); font-family: var(--font-body); }
.modal-info { display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); font-family: var(--font-body); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1rem 0; }
.modal-info > div { display: flex; align-items: center; gap: 0.625rem; }
.modal-info-link { transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.modal-info-link:hover { color: var(--foreground); }
.modal-info-link--break { word-break: break-all; }
.modal-form > * + * { margin-top: 1rem; }
.modal-form { animation: fadeIn 0.3s ease both; }
.modal-form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.modal-label { display: block; margin-bottom: 0.5rem; }
.form-field { width: 100%; padding: 0.75rem 0.875rem; background-color: var(--background); border: 1px solid var(--border); border-radius: 0; font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); outline: none; transition: border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.form-field::placeholder { color: var(--muted-foreground); }
.form-field:focus { border-color: var(--foreground); }
.form-field--textarea { resize: none; }
.modal-error { font-size: 0.875rem; line-height: 1.25rem; color: #b42d2d; font-family: var(--font-body); }
.modal-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.modal-submit { display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem; background-color: var(--foreground); color: var(--background); padding: 0.875rem 1.75rem; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.modal-submit:hover { opacity: 0.9; }
.modal-submit:disabled { opacity: 0.5; }
.modal-success { text-align: center; padding: 2rem 0; animation: successIn 0.35s ease both; }
.modal-success__icon { width: 3rem; height: 3rem; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; color: var(--accent); }
.modal-success__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; margin-bottom: 0.75rem; }
.modal-success__text { font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); font-family: var(--font-body); }
.modal-close { position: absolute; right: 1rem; top: 1rem; border-radius: 0.0625rem; opacity: 0.7; transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.modal-close:hover { opacity: 1; }
@media (min-width: 640px) {
	.modal-header { text-align: left; }
	.modal-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.modal-actions { flex-direction: row; align-items: center; justify-content: flex-end; }
}

/* ==========================================================================
   Inner pages, 404
   ========================================================================== */
.inner-main { padding-top: var(--header-height); min-height: 60vh; }
.inner-container { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.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; } }
.archive-empty { color: var(--muted-foreground); font-family: var(--font-body); }
.nf-main { display: flex; min-height: 100vh; align-items: center; justify-content: center; background-color: var(--muted); }
.nf-box { text-align: center; }
.nf-title { margin-bottom: 1rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; }
.nf-text { margin-bottom: 1rem; font-size: 1.25rem; line-height: 1.75rem; color: var(--muted-foreground); }
.nf-link { color: var(--primary); text-decoration: underline; }
.nf-link:hover { color: color-mix(in srgb, var(--primary) 90%, transparent); }

/* ==========================================================================
   Single product
   ========================================================================== */
.pd-main { padding-top: 8rem; }
.pd-wrap { max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.pd-back { padding-bottom: 0.5rem; }
.pd-back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); color: var(--muted-foreground); transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.pd-back-link:hover { color: var(--foreground); }
.pd-crumbs { padding-top: 1rem; padding-bottom: 1rem; }
.pd-crumbs__inner { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-body); color: var(--muted-foreground); }
.pd-crumb-shop { transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.pd-crumb-shop:hover { color: var(--foreground); }
.pd-crumbs__current { color: var(--foreground); }
.pd-body { padding-bottom: 5rem; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; min-width: 0; }
.pd-gallery, .pd-info { min-width: 0; max-width: 100%; }
.pd-gallery { display: flex; flex-direction: column; }
.pd-main-col { flex: 1 1 0%; min-width: 0; }
.pd-main-frame { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 4 / 5; background-color: var(--secondary); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.pd-main-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pd-zoom { position: absolute; bottom: 0.75rem; right: 0.75rem; display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px; border: 1px solid var(--border); background-color: color-mix(in srgb, var(--background) 75%, transparent); color: var(--foreground); box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
.pd-zoom:hover { background-color: color-mix(in srgb, var(--background) 95%, transparent); transform: scale(1.05); }
.pd-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; max-width: 100%; flex-wrap: wrap; }
.pd-thumb { position: relative; width: 3.5rem; height: 3.5rem; overflow: hidden; border: 1px solid transparent; opacity: 0.5; transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.pd-thumb:hover { opacity: 0.8; }
.pd-thumb.is-active { border-color: var(--foreground); opacity: 1; }
.pd-info { padding-top: 0; }
.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.25; }
.pd-price { font-size: 1.125rem; line-height: 1.75rem; margin: 0.75rem 0 1.5rem; font-family: var(--font-body); }
.pd-desc { font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); margin-bottom: 2rem; font-family: var(--font-body); }
.pd-specs { border-top: 1px solid var(--border); margin-bottom: 2rem; }
.pd-spec { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.pd-spec-label { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); color: var(--muted-foreground); }
.pd-spec-value { font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); text-align: right; }
.theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; }
.pd-qty-block { margin-bottom: 1.5rem; }
.pd-qty-label { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 0.75rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--secondary); }
.theme-qty-input { width: 44px; min-width: 44px; padding: 0.75rem 0; border: 0; background: transparent; text-align: center; font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); outline: none; -moz-appearance: textfield; appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-main-btn { display: block; width: 100%; text-align: center; background-color: var(--foreground); color: var(--background); padding: 1rem 0; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.pd-main-btn:hover { opacity: 0.9; }
.pd-main-btn:disabled, .pd-main-btn.is-added { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.pd-details { margin-top: 2rem; border-top: 1px solid var(--border); }
.pd-details-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--border); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); }
.pd-details-toggle svg { transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.pd-details-toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
.pd-details-panel { padding: 1rem 0; border-bottom: 1px solid var(--border); overflow-wrap: break-word; word-break: break-word; }
.pd-details-panel li { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); font-family: var(--font-body); }
.pd-details-panel li + li { margin-top: 0.5rem; }
.pd-related { max-width: 80rem; margin: 0 auto; padding: 5rem 1.5rem; border-top: 1px solid var(--border); }
.pd-related-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) {
	.pd-gallery { flex-direction: row; gap: 0.75rem; }
	.pd-thumbs { order: -1; flex-direction: column; flex-wrap: nowrap; width: 4rem; flex-shrink: 0; margin-top: 0; }
	.pd-thumb { width: 100%; height: auto; aspect-ratio: 1 / 1; }
	.product-title { font-size: 2.25rem; }
	.pd-related-title { font-size: 1.875rem; line-height: 2.25rem; }
}
@media (min-width: 1024px) {
	.pd-main { padding-top: 10rem; }
	.pd-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 4rem; }
	.pd-info { padding-top: 0.5rem; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background-color: color-mix(in srgb, var(--foreground) 85%, transparent); padding: 0.75rem; animation: fadeIn 0.2s ease both; }
.lightbox-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; }
.lightbox-ctrl { position: absolute; display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 9999px; border: 1px solid color-mix(in srgb, var(--background) 25%, transparent); background-color: color-mix(in srgb, var(--foreground) 40%, transparent); color: var(--background); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
.lightbox-ctrl:hover { background-color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.lightbox-close { top: 0.75rem; right: 0.75rem; }
.lightbox-close:hover { transform: scale(1.05); }
.lightbox-prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.75rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.18em; font-family: var(--font-body); color: color-mix(in srgb, var(--background) 80%, transparent); }
@media (min-width: 640px) {
	.lightbox { padding: 2rem; }
	.lightbox-close { top: 1.25rem; right: 1.25rem; }
	.lightbox-prev { left: 1.25rem; }
	.lightbox-next { right: 1.25rem; }
}

/* ==========================================================================
   WooCommerce overrides
   ========================================================================== */
.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 .single_add_to_cart_button.pd-main-btn { width: 100%; display: flex !important; padding: 1rem 0 !important; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; }

/* Card variant: plain text button, scoped after the global rules. */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card a.theme-card-add {
	background-color: transparent !important;
	color: var(--muted-foreground) !important;
	min-height: 0 !important;
	padding: 0.125rem 0 !important;
	border-radius: 0 !important;
	gap: 0.5rem;
	font-size: 0.75rem !important;
	letter-spacing: 0.2em !important;
	display: flex !important;
	transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover,
.theme-product-card a.theme-card-add:hover { color: var(--foreground) !important; opacity: 1 !important; }

.single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !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; }
.woocommerce-error, .woocommerce-message, .woocommerce-info { list-style: none; padding: 1rem 1.25rem; margin: 0 0 1.5rem; border: 1px solid var(--border); background-color: var(--card); font-family: var(--font-body); font-size: 0.875rem; border-radius: var(--radius); }

.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; }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.theme-attr-pill { min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--border); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; font-family: var(--font-body); color: var(--muted-foreground); transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.theme-attr-pill:hover { color: var(--foreground); }
.theme-attr-pill.is-selected { border-color: var(--foreground); color: var(--foreground); }
.single-product .woocommerce-variation-price { margin-bottom: 1rem; font-family: var(--font-body); }
.single-product .posted_in, .single-product .woocommerce-variation-description { overflow-wrap: break-word; word-break: break-word; }
.woocommerce-pagination { margin-top: 3rem; text-align: center; font-family: var(--font-body); }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 0.5rem; }
.woocommerce-pagination a, .woocommerce-pagination span { display: block; padding: 0.5rem 0.75rem; border: 1px solid var(--border); font-size: 0.75rem; }

/* Cart, checkout and account pages share the site container (title and content align). */
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content,
body.woocommerce-checkout .entry-content { max-width: none; width: 100%; }
body.woocommerce-checkout .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-cart { font-family: var(--font-body); color: var(--foreground); }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 4rem;
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout { display: block; margin: 0; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; padding: 0; }
body.woocommerce-checkout .wc-block-checkout__sidebar { background-color: var(--color-surface, #f8f8f8); border-radius: var(--card-radius); padding: var(--section-padding, 2rem); }
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
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 { width: 100% !important; max-width: none !important; background-color: var(--background); border: 1px solid var(--border); border-radius: 0; font-family: var(--font-body); font-size: 0.875rem; color: var(--foreground); }
body.woocommerce-checkout .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,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus { border-color: var(--foreground); outline: none; box-shadow: none; }
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--muted-foreground); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button { background-color: var(--foreground); color: var(--background); border-radius: 0; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--radius); font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }

/* Order received */
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-bottom: 2rem; padding: 0; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-foreground); }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; margin-top: 0.25rem; font-size: 0.875rem; letter-spacing: 0; text-transform: none; color: var(--foreground); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border: 1px solid var(--border); }
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.875rem; }
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; line-height: 1.625; }
