/* The Shack theme — The Free Website Guys */

:root {
	--color-background: #f9f6f0;
	--color-foreground: #1c362f;
	--color-primary: #22594b;
	--color-accent: #e49825;
	--color-border: #d9d2c9;
	--color-secondary: #f1ece4;
	--color-muted-foreground: #556d67;
	--color-dark-bg: #142e28;
	--color-card: #fcfaf8;
	--color-muted: #eae5dc;
	--color-accent-foreground: #1f3d35;
	--color-destructive: #b82e2e;
	--color-bone: #e6e0d6;
	--color-cream: var(--color-background);
	--color-linen: var(--color-secondary);
	--color-primary-foreground: var(--color-background);
}
.theme-dark {
	--color-background: var(--color-dark-bg);
	--color-foreground: var(--color-cream);
	--color-card: #1f3d35;
	--color-secondary: #2a473f;
	--color-muted: #3b544e;
	--color-muted-foreground: #d8cfc0;
	--color-accent: #eaab3e;
	--color-accent-foreground: #15322b;
	--color-primary: #eaab3e;
	--color-primary-foreground: var(--color-dark-bg);
	--color-border: #436059;
}

:root {
	--logo-height: 82px;
	--footer-logo-height: 95px;
	--radius: 0.5rem;
	--shadow-soft: 0 6px 24px -12px color-mix(in srgb, var(--color-foreground) 18%, transparent);
	--shadow-elevated: 0 24px 60px -24px color-mix(in srgb, var(--color-foreground) 28%, transparent);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--font-display: 'Fraunces', 'Times New Roman', serif;
	--font-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;
	--header-height: 100px;
	--btn-radius: 9999px;
	--btn-height: 0px;
	--btn-padding: 1rem 1.5rem;
	--btn-font-size: 1rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--checkout-max-width: 80rem;
	--checkout-gap: 2rem;
}

/* ---- Preflight ---- */
*, *::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%; scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body { margin: 0; max-width: 100%; overflow-x: clip; background-color: var(--color-background); color: var(--color-foreground); font-family: var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, h5, h6, .font-display { font-weight: inherit; font-size: inherit; margin: 0; font-family: var(--font-display); letter-spacing: -0.008em; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; }
p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: inherit; cursor: pointer; }
button, input, select, textarea { font-family: inherit; font-size: 100%; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button { background: transparent; border: 0; cursor: pointer; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
img, svg, video { display: block; vertical-align: middle; }
img:not(.site-logo-img):not(.hero-bg-img):not(.product-card-img):not(.product-main-image):not(.product-thumb-image):not(.service-card__img):not(.about-img):not(.related-card__img):not(.cart-item__img),
video:not(.hero-bg-img) { max-width: 100%; height: auto; }
.site-logo-img, .hero-bg-img, .product-card-img, .product-main-image, .product-thumb-image, .service-card__img, .about-img, .related-card__img, .cart-item__img { max-width: none; }
.hero-bg-img, .product-card-img, .product-main-image, .product-thumb-image, .related-card__img, .cart-item__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
::selection { background: color-mix(in srgb, var(--color-accent) 70%, transparent); color: var(--color-accent-foreground); }
section[id] { scroll-margin-top: calc(116px + var(--wp-admin--admin-bar--height, 0px)); }
.tabular-nums { font-variant-numeric: tabular-nums; }
.break-words { overflow-wrap: break-word; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

a, button, [role="button"] {
	transition: color 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease), transform 350ms var(--ease), opacity 300ms ease;
}
a, button { transition-property: color, background-color, border-color, opacity, transform, box-shadow; transition-duration: 250ms; transition-timing-function: var(--ease); }
a svg, button svg { transition: transform 400ms var(--ease), color 300ms ease, opacity 300ms ease; will-change: transform; }
a:hover svg, button:hover svg { transform: translateY(-1px) scale(1.06); }
a:active svg, button:active svg { transform: scale(0.96); }
button:active { transform: scale(0.97); }
img { transition: transform 700ms var(--ease), filter 700ms ease; }

/* ---- Layout ---- */
.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: 4rem; padding-right: 4rem; } }
.section { padding-top: 6rem; padding-bottom: 6rem; }
.site-main--inner { padding-top: calc(7rem + var(--wp-admin--admin-bar--height, 0px)); padding-bottom: 6rem; }
.page-title { font-family: var(--font-display); font-size: 2.25rem; line-height: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .page-title { font-size: 3rem; line-height: 1; } }
.page-fade { animation: page-fade 600ms var(--ease) both; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.875rem; line-height: 1.25rem; color: var(--color-primary); margin-bottom: 0.75rem; }
.section-heading { font-family: var(--font-display); font-size: 2.25rem; line-height: 2.5rem; }
@media (min-width: 768px) { .section-heading { font-size: 3rem; line-height: 1; } }
.shop-section .section-heading, .services-section .section-heading, .about-section .section-heading, .faq-section .section-heading, .contact-section .section-heading { font-size: 2.25rem; line-height: 2.5rem; }
@media (min-width: 768px) {
	.shop-section .section-heading, .services-section .section-heading, .about-section .section-heading, .faq-section .section-heading, .contact-section .section-heading { font-size: 3rem; line-height: 1; }
}
.section-intro { max-width: 42rem; margin-bottom: 3rem; }
.section-lead { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--color-muted-foreground); }

/* ---- Header ---- */
.site-header { position: fixed; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; z-index: 40; background-color: var(--color-background); border-bottom: 1px solid var(--color-border); }
body.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 46px); }
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100px; }
.site-header__brand { display: flex; align-items: center; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; border-radius: 9999px; object-fit: cover; aspect-ratio: 1 / 1; }
.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; }
.site-nav { display: none; font-size: 15px; }
@media (min-width: 1024px) { .site-nav { display: flex; } }
.theme-nav-list { display: flex; gap: 2rem; }
.theme-nav-list a:hover, .theme-nav-link:hover { color: var(--color-primary); }
.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.header-cart { position: relative; padding: 0.75rem; cursor: pointer; }
.theme-cart-count { position: absolute; top: 0.25rem; right: 0.25rem; background-color: var(--color-accent); color: var(--color-accent-foreground); font-size: 0.75rem; line-height: 1rem; border-radius: 9999px; width: 1.25rem; height: 1.25rem; display: grid; place-items: center; }
.theme-cart-count:empty { display: none; }
.menu-toggle { padding: 0.75rem; cursor: pointer; }
.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; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-nav { border-top: 1px solid var(--color-border); background-color: var(--color-background); display: flex; flex-direction: column; }
.mobile-nav[hidden] { display: none; }
@media (min-width: 1024px) { .mobile-nav, .mobile-nav[hidden] { display: none; } }
.mobile-nav-list a { display: block; padding: 1rem 1.5rem; font-size: 1.125rem; line-height: 1.75rem; border-bottom: 1px solid var(--color-border); }

/* ---- Hero ---- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; padding-top: calc(100px + var(--wp-admin--admin-bar--height, 0px)); overflow: hidden; }
.hero .hero-bg-img { z-index: 0; pointer-events: none; }
.hero-gradient { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 85%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent), transparent); }
.hero-content { position: relative; z-index: 2; padding-bottom: 5rem; color: var(--color-background); }
.hero-eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.875rem; line-height: 1.25rem; margin-bottom: 1rem; color: var(--color-accent); }
.hero-title { font-family: var(--font-display); font-size: 3rem; line-height: 1.05; max-width: 48rem; }
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }
.hero-text { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.75rem; color: color-mix(in srgb, var(--color-background) 85%, transparent); }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-hero-primary, .btn-hero-outline { padding: 1rem 1.75rem; border-radius: 9999px; text-transform: none; cursor: pointer; }
.btn-hero-primary { background-color: var(--color-accent); color: var(--color-accent-foreground); font-weight: 500; }
.btn-hero-outline { border: 1px solid color-mix(in srgb, var(--color-background) 60%, transparent); }
.btn-hero-outline:hover { background-color: color-mix(in srgb, var(--color-background) 10%, transparent); }
.btn-press { transition: transform 250ms var(--ease), background-color 250ms, box-shadow 250ms; }
.btn-press:hover { transform: translateY(-2px); }
.btn-press:active { transform: scale(0.97); }

/* ---- Dark sections + marquee ---- */
.theme-dark { background-color: var(--color-background); color: var(--color-foreground); }
.marquee { overflow-x: clip; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 1.25rem 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 45s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; flex-shrink: 0; align-items: center; }
.marquee-row li { display: flex; align-items: center; white-space: nowrap; }
.marquee-fact { font-size: 16px; text-transform: uppercase; letter-spacing: 0.2em; }
.marquee-star { margin: 0 3.5rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; color: var(--color-accent); }

/* ---- Product grid + cards ---- */
.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@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-card { background-color: var(--color-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-link { display: block; position: relative; aspect-ratio: 1 / 1; background-color: var(--color-bone); overflow: hidden; cursor: pointer; }
.theme-product-card__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.theme-product-card__info { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; flex: 1; min-width: 0; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; min-width: 0; }
.theme-product-card__title a:hover { color: var(--color-primary); }
.theme-product-card__price { font-weight: 500; white-space: nowrap; }
.theme-stock-badge { position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3; background-color: var(--color-foreground); color: var(--color-background); font-size: 0.75rem; line-height: 1rem; padding: 0.25rem 0.75rem; border-radius: 9999px; }
.price del { opacity: 0.6; margin-right: 0.25rem; }
.price ins { text-decoration: none; }

/* WooCommerce add-to-cart button 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-primary-foreground) !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;
	line-height: 1.5 !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease, transform 250ms var(--ease) !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover { background-color: var(--color-primary) !important; color: var(--color-primary-foreground) !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; }
.theme-product-card .add_to_cart_button.theme-card-btn { margin-top: 1.25rem; padding: 0.75rem 1rem !important; }
.ajax_add_to_cart.theme-btn-loading,
.single_add_to_cart_button.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, .add_to_cart_button.added::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; }

/* ---- Services ---- */
.services-section { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.services-section .section-heading { max-width: 42rem; }
.services-lead { margin-top: 1rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.75rem; color: color-mix(in srgb, var(--color-primary-foreground) 80%, transparent); }
.services-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-card { border: 1px solid color-mix(in srgb, var(--color-primary-foreground) 20%, transparent); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.service-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; height: auto; }
.service-card__body { padding: 1.5rem; }
.service-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; }
.service-card__desc { margin-top: 0.5rem; color: color-mix(in srgb, var(--color-primary-foreground) 75%, transparent); }

/* ---- About ---- */
.about-layout { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-layout { grid-template-columns: 1fr 1fr; } }
.about-img { width: 100%; max-width: 28rem; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow-soft); height: auto; }
.about-p { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--color-muted-foreground); }
.about-p--first { margin-top: 1.5rem; }

/* ---- FAQ ---- */
.faq-section { background-color: var(--color-linen); }
.faq-container { max-width: 48rem; }
.faq-section .section-heading { margin-bottom: 2.5rem; }
.faq-list { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.faq-item { padding: 1.25rem 0; }
.faq-item + .faq-item { border-top: 1px solid var(--color-border); }
.faq-q { cursor: pointer; font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-q::-webkit-details-marker { display: none; }
.faq-plus { font-size: 1.5rem; line-height: 1; transition: transform 350ms var(--ease); flex-shrink: 0; }
.faq-item.is-faq-open .faq-plus { transform: rotate(45deg); }
.faq-a-wrap {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 400ms var(--ease);
}
.faq-item.is-faq-open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; transition: padding-top 400ms var(--ease); }
.faq-item.is-faq-open .faq-a-inner { padding-top: 0.75rem; }
.faq-a {
	margin: 0;
	color: var(--color-muted-foreground);
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.faq-item.is-faq-open .faq-a { opacity: 1; transform: translateY(0); }

/* ---- Contact ---- */
.contact-container { max-width: 42rem; text-align: center; }
.contact-lead { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--color-muted-foreground); }
.contact-actions { margin-top: 2.5rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .contact-actions { flex-direction: row; } }
.contact-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem 1.5rem; border-radius: 9999px; }
.contact-btn { cursor: pointer; }
.contact-btn--primary { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.contact-btn--outline { border: 1px solid var(--color-border); }
.contact-alt { margin-top: 1.5rem; color: var(--color-muted-foreground); }
.contact-alt a { text-decoration: underline; }

/* ---- Footer ---- */
.site-footer { padding: 4rem 0; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.footer-brand { display: inline-flex; }
.footer-text { margin-top: 1.25rem; font-size: 15px; line-height: 1.625; color: var(--color-muted-foreground); max-width: 20rem; }
.footer-heading { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; }
.footer-list { margin-top: 1rem; font-size: 15px; }
.footer-list li + li { margin-top: 0.75rem; }
.footer-list a:hover, .footer-credit:hover { color: var(--color-primary); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 0.75rem; justify-content: space-between; font-size: 13px; color: var(--color-muted-foreground); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-credit { text-underline-offset: 4px; }
.footer-credit:hover { text-decoration: underline; }

/* ---- Single product ---- */
.product-back { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-muted-foreground); margin-bottom: 2rem; cursor: pointer; }
.single-product .theme-product-layout { display: grid; gap: 3rem; min-width: 0; }
@media (min-width: 1024px) { .single-product .theme-product-layout { grid-template-columns: 1fr 1fr; } }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-main { position: relative; aspect-ratio: 1 / 1; background-color: var(--color-bone); border-radius: var(--radius); overflow: hidden; }
.single-product .theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; max-width: 100%; }
.theme-thumb { position: relative; width: 4.5rem; height: 4.5rem; border-radius: 0.375rem; overflow: hidden; border: 2px solid transparent; background-color: var(--color-bone); cursor: pointer; }
.theme-thumb.is-active { border-color: var(--color-primary); }
.product-title { font-family: var(--font-body); font-weight: 600; font-size: 2.25rem; line-height: 2.5rem; margin-top: 0.75rem; }
.single-product .product-title { font-family: var(--font-display); font-weight: 400; }
@media (min-width: 768px) { .single-product .product-title { font-size: 3rem; line-height: 1; } }
.product-price { font-size: 1.5rem; line-height: 2rem; margin-top: 1rem; }
.product-stock { margin-top: 0.5rem; color: var(--color-muted-foreground); }
.product-quip { font-style: italic; color: var(--color-primary); margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; }
.product-description { color: var(--color-muted-foreground); margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; }
.single-product .woocommerce-product-details__short-description, .single-product .woocommerce-variation-description, .single-product .posted_in, .product-description { overflow-wrap: break-word; word-break: break-word; }
.single-product .theme-add-to-cart-area { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: 9999px; }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem; }
.theme-qty-input { width: 2rem; text-align: center; background: transparent; border: 0; -moz-appearance: textfield; appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 200px; text-transform: none !important; padding: 1rem 1.5rem !important; }
.product-bullets { margin-top: 2.5rem; border-top: 1px solid var(--color-border); padding-top: 1.5rem; color: var(--color-muted-foreground); }
.product-bullets li + li { margin-top: 0.5rem; }
.single-product .variations, .single-product .variations tbody, .single-product .variations tr, .single-product .variations td { display: block; width: 100%; }
.single-product .variations td.label { padding-bottom: 0.25rem; }
.single-product .variations td.value { padding-top: 0; }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill { border: 1px solid var(--color-border); border-radius: 9999px; padding: 0.5rem 1rem; cursor: pointer; }
.theme-attr-pill.is-selected { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.single-product .reset_variations { display: none !important; }
.single-product .woocommerce-variation-price { margin-top: 0.75rem; }
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
.related-products-section .related-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; margin-top: 6rem; margin-bottom: 2rem; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related-card { display: block; background-color: var(--color-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); cursor: pointer; }
.related-card .related-card__img { position: relative; aspect-ratio: 1 / 1; width: 100%; height: auto; inset: auto; object-fit: cover; }
.related-card__body { padding: 1rem; display: flex; justify-content: space-between; }
.related-card__name { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; }
.not-found__link { text-decoration: underline; cursor: pointer; }

/* ---- Cart drawer ---- */
#theme-cart-overlay { display: none; position: fixed; inset: 0; background-color: color-mix(in srgb, var(--color-foreground) 30%, transparent); z-index: 50; animation: fade-in 0.7s ease-out both; }
#theme-cart-drawer { display: none; position: fixed; right: 0; top: var(--wp-admin--admin-bar--height, 0px); height: calc(100% - var(--wp-admin--admin-bar--height, 0px)); width: 100%; max-width: 28rem; background-color: var(--color-cream); z-index: 51; box-shadow: var(--shadow-elevated); flex-direction: column; transform: translateX(100%); transition: transform 0.35s var(--ease); will-change: transform; }
body.cart-open #theme-cart-overlay { display: block; }
body.cart-open #theme-cart-drawer { display: flex; transform: translateX(0); }
#theme-cart-drawer.is-updating { pointer-events: none; }
#theme-cart-drawer.is-cart-entering { transition-duration: 0.35s; }
.cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.cart-drawer__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; color: var(--color-foreground); }
.cart-drawer__close { padding: 0.375rem; border-radius: 9999px; cursor: pointer; }
.cart-drawer__close:hover { background-color: color-mix(in srgb, var(--color-foreground) 6%, transparent); }
.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 { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); margin-bottom: 1rem; }
.cart-drawer__empty-text { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 1.5rem; font-size: 15px; }
.cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; }
.cart-item { display: flex; gap: 1rem; }
.cart-drawer__items .cart-item + .cart-item { margin-top: 1.25rem; }
.cart-item__thumb { position: relative; width: 5rem; height: 6rem; background-color: var(--color-bone); border-radius: 0.375rem; overflow: hidden; flex-shrink: 0; }
.cart-item__main { flex: 1; min-width: 0; }
.cart-item__name { display: block; font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.cart-item__name:hover { color: var(--color-primary); }
.cart-item__price { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-top: 0.125rem; }
.cart-item__each { margin-left: 0.5rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.cart-item__meta { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin: 0.25rem 0 0; padding: 0; list-style: none; }
.cart-item__meta li + li { margin-top: 0.125rem; }
.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; cursor: pointer; }
.cart-item__qty-btn:hover { background-color: var(--color-bone); }
.cart-item__qty { font-size: 15px; width: 1.5rem; text-align: center; }
.cart-item__remove { margin-left: auto; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); cursor: pointer; }
.cart-item__remove:hover { color: var(--color-destructive); }
.cart-drawer__footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background-color: color-mix(in srgb, var(--color-linen) 40%, transparent); }
.cart-drawer__footer > * + * { margin-top: 1rem; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 15px; }
.cart-drawer__subtotal-label { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.cart-drawer__subtotal-value { font-weight: 500; }
.cart-drawer__note { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
#theme-cart-drawer .woocommerce-message { display: none; }
.theme-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap; border-radius: 9999px; font-size: 15px; font-weight: 500; border: 1px solid; height: 2.75rem; padding: 0.625rem 1.5rem; cursor: pointer; transition: transform 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out; }
.theme-btn:hover { transform: scale(1.02); box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.theme-btn:active { transform: scale(0.97); }
.theme-btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.theme-btn--default { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-btn--default:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, transparent); }
.theme-btn--outline { background-color: transparent; color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 25%, transparent); }
.theme-btn--outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-btn--ghost { border-color: transparent; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-btn--ghost:hover { background-color: color-mix(in srgb, var(--color-foreground) 6%, transparent); color: var(--color-primary); box-shadow: none; }
.theme-btn--lg { height: 3rem; padding: 0 1.75rem; }
.theme-btn--sm { height: 2.25rem; padding: 0 1rem; }
.cart-drawer__footer .theme-btn { display: flex; width: 100%; }

/* ---- WooCommerce notices ---- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius); background-color: var(--color-card); border: 1px solid var(--color-border); list-style: none; font-family: var(--font-body); }
.woocommerce-error { border-color: var(--color-destructive); color: var(--color-destructive); }

/* ---- Cart / account width parity ---- */
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 { font-family: var(--font-body); }
body.woocommerce-cart .wc-block-cart__submit-button, body.woocommerce-cart .wc-block-components-button:not(.is-link) { background-color: var(--color-primary); color: var(--color-primary-foreground); border-radius: 9999px; font-weight: 500; }
body.woocommerce-cart .wc-block-cart__sidebar { background-color: var(--color-card); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 1.5rem; }

/* ---- Checkout (WC Blocks) ---- */
body.woocommerce-checkout .site-main.site-main--inner.theme-checkout-main {
	padding-top: calc(7rem + var(--wp-admin--admin-bar--height, 0px));
	padding-bottom: 4rem;
}
.theme-checkout-shell {
	width: 100%;
	max-width: none;
	margin-inline: auto;
	padding-inline: 1.5rem;
	padding-block: 0.5rem 4rem;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.theme-checkout-shell { padding-inline: 4rem; }
}
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%;
}
.theme-checkout-header {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	margin-bottom: 0;
	box-sizing: border-box;
}
.checkout-continue-link { margin-bottom: 1rem; }
.theme-checkout-title {
	font-family: var(--font-display);
	font-size: 2.25rem;
	line-height: 2.5rem;
	margin: 0;
}
@media (min-width: 768px) {
	.theme-checkout-title { font-size: 3rem; line-height: 1; }
}
.theme-checkout-intro {
	margin: 0.75rem 0 0;
	max-width: 42rem;
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: var(--color-muted-foreground);
}
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 .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout {
	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;
}
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;
}
@media (min-width: 768px) {
	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-components-notices,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout > .wc-block-components-notices,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout > .wc-block-components-notices {
		grid-column: 1 / -1;
	}
	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,
	.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;
	box-shadow: none;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background-color: var(--color-card);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	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-weight: 400;
}
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,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-select select,
.entry-content .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	color: var(--color-foreground);
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}
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: 2px solid var(--color-primary);
	outline-offset: 1px;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-radius: 9999px;
	font-family: var(--font-body);
	font-weight: 500;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
	border-radius: var(--radius);
	font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-cart-items,
.entry-content .wc-block-cart-items {
	font-family: var(--font-body);
}

/* ---- 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; padding: 1.5rem; margin-bottom: 2rem; background-color: var(--color-card); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
body.theme-thankyou-page .woocommerce-order-overview li { list-style: none; }
body.theme-thankyou-page .woocommerce-order h2, body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; 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 th, body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); text-align: left; }
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; }

/* ---- Motion ---- */
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); will-change: opacity, transform; }
[data-aos].is-revealed { opacity: 1; transform: translateY(0); }
body.is-customizer [data-aos] { opacity: 1; transform: none; }
.hover-lift { transition: transform 400ms var(--ease), box-shadow 400ms var(--ease); }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.img-zoom { transition: transform 900ms var(--ease); }
.group:hover .img-zoom { transform: scale(1.06); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in-bottom { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes page-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hero-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes hero-img { from { opacity: 0; } to { opacity: 1; } }
.hero-in { animation: hero-in 1000ms var(--ease) both; }
.hero-img { animation: hero-img 1400ms var(--ease) both; }

@media (max-width: 1023px) {
	#top video, #top img { animation: none !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	a, button, [role="button"], a svg, button svg, img { transition: none !important; transform: none !important; }
	[data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
	.marquee-track { animation: none; }
	.page-fade, .hero-in, .hero-img { animation: none; }
	.img-zoom, .btn-press { transition: none; }
	.faq-a-wrap, .faq-a, .faq-a-inner, .faq-plus { transition: none !important; }
	.faq-item.is-faq-open .faq-a { opacity: 1; transform: none; }
}
