/* Mind Demons theme — The Free Website Guys */

/* ------------------------------------------------------------------
 * Design tokens (hex derived from the source HSL tokens via PHP
 * theme_hsl_to_hex(); re-emitted live by the Customizer inline style)
 * ----------------------------------------------------------------*/
:root {
  --background: #090e1a;
  --foreground: #f5f1eb;
  --card: #0f1524;
  --primary: #d6aa51;
  --primary-foreground: #0b111e;
  --secondary: #141a2a;
  --muted: #1b2232;
  --muted-foreground: #c9c0b1;
  --accent: #d8ae5a;
  --accent-foreground: #0b111e;
  --border: #2b3346;
  --input: var(--border);
  --ring: var(--primary);
  --surface-deep: #060a13;
  --accent-grad-start: #cc8f33;
  --accent-grad-mid: #e2b95a;
  --accent-grad-end: #efd580;
  --accent-grad-foreground: #0b111e;
  --alert: #ef6161;
  --alert-deep: #c81919;
  --alert-foreground: #ffffff;
  --alert-soft: #2c1111;
  --alert-border: #652929;
  --alert-grad-start: #9a1313;
  --alert-grad-mid: #bf1818;
  --alert-grad-end: #da1b1b;

  --radius: 0.75rem;
  --font-display: 'Marcellus', serif;
  --font-body: 'Nunito Sans', sans-serif;
  --shadow-soft: 0 2px 0 0 hsl(222 47% 4% / 0.3);
  --shadow-elevated: 0 18px 40px -18px hsl(222 47% 2% / 0.8);
  --shadow-alert: 0 20px 50px -24px hsl(0 80% 40% / 0.6);
  --shadow-accent: 0 20px 50px -24px hsl(40 70% 50% / 0.45);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --md-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-height: 136px;
  --logo-height: 62px;
}

/* ------------------------------------------------------------------
 * Base (Tailwind preflight parity)
 * ----------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: var(--border); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: var(--font-body); }
html, body { max-width: 100%; overflow-x: clip; }
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 { margin: 0; font-size: inherit; font-weight: inherit; font-family: var(--font-display); letter-spacing: 0; }
p, figure, blockquote, dl, dd, fieldset { margin: 0; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: inherit; }
a[href],
button:not(:disabled):not([disabled]),
summary,
select,
[role="button"]:not([aria-disabled="true"]),
[role="link"],
[role="tab"],
input[type="button"]:not(:disabled),
input[type="submit"]:not(:disabled),
input[type="reset"]:not(:disabled),
input[type="checkbox"]:not(:disabled),
input[type="radio"]:not(:disabled) { cursor: pointer; }
img, svg, video, canvas { display: block; vertical-align: middle; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.product-main-img):not(.product-thumb-img):not(.site-logo-img):not(.footer-logo-img):not(.resource-img):not(.about-img):not(.founder-img):not(.cart-line-img):not(.related-card-img),
video:not(.cover-video) { max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button { background-color: transparent; background-image: none; cursor: pointer; text-transform: none; -webkit-appearance: button; }
button:disabled { cursor: default; }
table { border-collapse: collapse; text-indent: 0; border-color: inherit; }
address { font-style: normal; }
[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; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.font-display { font-family: var(--font-display); font-size: inherit; font-weight: inherit; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.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.875rem; line-height: 1.25rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; color: var(--accent); }

/* ------------------------------------------------------------------
 * Gradient utilities (shared button hover system)
 * ----------------------------------------------------------------*/
.btn-gradient {
  background-image: linear-gradient(110deg, var(--accent-grad-start) 0%, var(--accent-grad-mid) 45%, var(--accent-grad-end) 100%);
  background-size: 170% 100%;
  background-position: 0% 50%;
  color: var(--accent-grad-foreground);
  transition: background-position 0.6s var(--transition-smooth);
}
.btn-gradient:hover { background-position: 100% 50%; }
.btn-gradient-fill {
  background-repeat: no-repeat;
  background-image: linear-gradient(110deg, var(--accent-grad-start) 0%, var(--accent-grad-end) 100%);
  background-size: 0% 100%;
  background-position: 50% 50%;
  transition: background-size 0.45s var(--transition-smooth), color 0.3s var(--transition-smooth);
}
.btn-gradient-fill:hover { background-size: 100% 100%; color: var(--accent-grad-foreground); }
.btn-alert {
  background-image: linear-gradient(110deg, var(--alert-grad-start) 0%, var(--alert-grad-mid) 45%, var(--alert-grad-end) 100%);
  background-size: 170% 100%;
  background-position: 0% 50%;
  color: var(--alert-foreground);
  transition: background-position 0.6s var(--transition-smooth);
}
.btn-alert:hover { background-position: 100% 50%; }
.btn-alert-fill {
  background-repeat: no-repeat;
  background-image: linear-gradient(110deg, var(--alert-grad-start) 0%, var(--alert-grad-end) 100%);
  background-size: 0% 100%;
  background-position: 50% 50%;
  transition: background-size 0.45s var(--transition-smooth), color 0.3s var(--transition-smooth), transform 0.3s ease, border-color 0.3s ease;
}
.btn-alert-fill:hover { background-size: 100% 100%; color: var(--alert-foreground); }
.grad-alert { background-image: linear-gradient(160deg, var(--alert-grad-start) 0%, var(--alert-grad-mid) 50%, var(--alert-grad-end) 100%); }
.grad-accent { background-image: linear-gradient(160deg, var(--accent-grad-start) 0%, var(--accent-grad-mid) 50%, var(--accent-grad-end) 100%); }

/* ------------------------------------------------------------------
 * Buttons (shadcn Button parity)
 * ----------------------------------------------------------------*/
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap;
  height: 2.5rem; padding: 0.5rem 1rem; border-radius: calc(var(--radius) - 2px);
  font-family: var(--font-display); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s, text-decoration-color 0.15s, fill 0.15s, stroke 0.15s;
  cursor: pointer; text-decoration: none; border: 0;
}
.btn:focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.btn:disabled, .btn.is-disabled { pointer-events: none; opacity: 0.5; }
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; pointer-events: none; }
.btn--default { background-color: var(--primary); color: var(--primary-foreground); }
.btn--default:hover { background-color: color-mix(in srgb, var(--primary) 90%, transparent); }
.btn--outline { border: 1px solid var(--input); background-color: var(--background); }
.btn--outline:hover { background-color: var(--accent); color: var(--accent-foreground); }
.btn--ghost:hover { background-color: var(--accent); color: var(--accent-foreground); }
.btn--icon { width: 2.5rem; height: 2.5rem; padding: 0; }
.btn--pill { border-radius: 9999px; height: 3rem; font-weight: 700; }
.btn--lg { padding-left: 2rem; padding-right: 2rem; font-size: 1rem; line-height: 1.5rem; }
.btn--px8 { padding-left: 2rem; padding-right: 2rem; }
.btn--xl { padding-left: 2.5rem; padding-right: 2.5rem; }
.btn--block { width: 100%; }
.btn--transparent { background-color: transparent; }
.btn--hero-outline { border-color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.btn--link { height: auto; padding: 0; font-weight: 600; background: transparent; }
.btn--link:hover { background-color: transparent; color: var(--accent); }

/* ------------------------------------------------------------------
 * Reveal / motion
 * ----------------------------------------------------------------*/
@keyframes md-reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes md-view-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes md-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes marquee-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes md-dialog-in { from { opacity: 0; transform: translate(-50%, -48%) scale(0.95); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes md-dialog-out { from { opacity: 1; transform: translate(-50%, -50%) scale(1); } to { opacity: 0; transform: translate(-50%, -48%) scale(0.95); } }
@keyframes md-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes md-fade-out { from { opacity: 1; } to { opacity: 0; } }

.reveal-item { opacity: 0; }
.reveal-item.is-visible { opacity: 1; animation: md-reveal 0.8s var(--md-ease) var(--reveal-delay, 0s) backwards; }
body.is-customizer .reveal-item { opacity: 1; transform: none; animation: none; }
.md-view-enter { animation: md-view-in 0.45s var(--md-ease) both; }

/* ------------------------------------------------------------------
 * Header
 * ----------------------------------------------------------------*/
.site-header { position: fixed; left: 0; right: 0; top: 0; z-index: 50; border-bottom: 1px solid transparent; background-color: transparent; transition: background-color 0.3s, border-color 0.3s; }
body.admin-bar .site-header { top: 32px; }
body.admin-bar #theme-cart-drawer { top: 32px; height: calc(100% - 32px); }
@media screen and (max-width: 782px) {
  html #wpadminbar { position: fixed; }
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar #theme-cart-drawer { top: 46px; height: calc(100% - 46px); }
}
.site-header.is-solid { background-color: color-mix(in srgb, var(--background) 95%, transparent); border-color: var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-height); }
.site-brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; aspect-ratio: 1 / 1; border-radius: 9999px; object-fit: cover; display: block; }
.site-logo-text { display: none; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; letter-spacing: 0.08em; color: var(--accent); }
.site-brand .site-logo-text:only-child { display: block; line-height: var(--logo-height); }
@media (min-width: 640px) { .site-logo-text { display: block; } }
.site-nav { display: none; align-items: center; }
.site-nav .theme-nav-list { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a, .footer-nav a { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; white-space: nowrap; transition: color 0.15s; }
.site-nav a:hover { color: var(--accent); }
@media (min-width: 1024px) { .site-nav { display: flex; } }
.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.cart-btn { position: relative; width: 2.75rem; height: 2.75rem; }
.theme-cart-count { position: absolute; top: -0.125rem; right: -0.125rem; min-width: 1.25rem; height: 1.25rem; padding: 0 0.25rem; border-radius: 9999px; background-color: var(--primary); color: var(--primary-foreground); font-size: 0.75rem; line-height: 1rem; font-weight: 700; display: grid; place-items: center; font-family: var(--font-body); }
.theme-cart-count:empty { display: none; }
.header-cta { display: none; }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }
.menu-toggle { width: 2.75rem; height: 2.75rem; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-nav { border-top: 1px solid var(--border); background-color: var(--background); padding-top: 1rem; padding-bottom: 1rem; }
.mobile-nav .theme-mobile-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem; }
.mobile-nav a { display: flex; align-items: center; justify-content: flex-start; height: 3rem; padding: 0 1rem; border-radius: calc(var(--radius) - 2px); font-family: var(--font-display); font-size: 1rem; line-height: 1.5rem; font-weight: 500; transition: background-color 0.15s, color 0.15s; }
.mobile-nav a:hover { background-color: var(--accent); color: var(--accent-foreground); }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ------------------------------------------------------------------
 * Layout shells
 * ----------------------------------------------------------------*/
.site-main--inner { padding-top: var(--header-height); min-height: 100vh; }
.inner-wrap { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.section-anchor { scroll-margin-top: 9rem; }
.section-pad { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .section-pad { padding-top: 7rem; padding-bottom: 7rem; } }
.bg-secondary-surface { background-color: var(--secondary); }
.section-head { text-align: center; max-width: 42rem; margin-left: auto; margin-right: auto; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-title { font-size: 2.25rem; line-height: 2.5rem; }
@media (min-width: 768px) { .section-title { font-size: 3rem; line-height: 1; } }
.section-lead { color: var(--muted-foreground); font-size: 1.125rem; line-height: 1.75rem; margin-top: 1rem; }

/* ------------------------------------------------------------------
 * Hero
 * ----------------------------------------------------------------*/
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: center; background-color: var(--surface-deep); }
.hero-bg-img, .hero-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-bg-video { display: none; }
@media (min-width: 1024px) { .hero-bg-img { display: none; } .hero-bg-video { display: block; } }
.hero-overlay { position: absolute; inset: 0; background-image: linear-gradient(to right, color-mix(in srgb, var(--surface-deep) 90%, transparent), color-mix(in srgb, var(--surface-deep) 60%, transparent), color-mix(in srgb, var(--surface-deep) 10%, transparent)); }
.hero-content { position: relative; padding-top: 9rem; padding-bottom: 5rem; }
.hero-copy { max-width: 42rem; }
.hero-copy .eyebrow { margin-bottom: 1.25rem; }
.hero-title { font-size: 3rem; line-height: 1.08; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; line-height: 1.08; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; line-height: 1.08; } }
.hero-text { font-size: 1.125rem; line-height: 1.75rem; color: color-mix(in srgb, var(--foreground) 85%, transparent); max-width: 36rem; margin-bottom: 2.25rem; }
@media (min-width: 768px) { .hero-text { font-size: 1.25rem; line-height: 1.75rem; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Marquee */
.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background-color: var(--secondary); padding: 1rem 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%); }
@media (min-width: 768px) { .marquee { padding: 1.25rem 0; } }
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 30s linear infinite; will-change: transform; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex-shrink: 0; align-items: center; }
.marquee-group li { display: flex; flex-shrink: 0; align-items: center; }
.marquee-text { white-space: nowrap; padding: 0 2.5rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent); }
.marquee-group li:nth-child(even) .marquee-text { color: color-mix(in srgb, var(--foreground) 80%, transparent); }
.marquee-dot { width: 0.5rem; height: 0.5rem; flex-shrink: 0; transform: rotate(45deg); background-color: color-mix(in srgb, var(--accent) 60%, transparent); }
@media (min-width: 768px) { .marquee-text { padding: 0 4rem; font-size: 1.25rem; line-height: 1.75rem; } }

/* ------------------------------------------------------------------
 * Shop grid + product cards
 * ----------------------------------------------------------------*/
.shop-section .section-head { margin-bottom: 3rem; }
.theme-product-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1.5rem; 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-wrap { min-width: 0; display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; flex: 1; height: 100%; background-color: var(--card); border: 1px solid var(--border); border-radius: 1rem; overflow: clip; transition: transform 0.5s ease-out, box-shadow 0.5s ease-out, border-color 0.5s ease-out; }
.theme-product-card:hover { transform: translateY(-0.375rem); border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.theme-product-card__image-link { display: block; overflow: clip; }
.theme-product-card__image-wrapper { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.product-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.7s ease-out; }
.theme-product-card:hover .product-card-img { transform: scale(1.05); }
.theme-product-card__info { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; }
.theme-product-card__title { font-size: 1.5rem; line-height: 2rem; }
.theme-product-card__title a { display: inline; text-align: left; transition: color 0.15s; }
.theme-product-card__title a:hover { color: var(--accent); }
.theme-product-card__price { color: var(--accent); font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; margin-top: 0.5rem; flex: 1; }
.theme-product-card__price del { opacity: 0.6; font-weight: 400; }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__cta { margin-top: 1rem; }
.theme-product-card__stock { margin-top: 0.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-foreground); font-weight: 700; }
.theme-product-card--related { background-color: var(--card); border: 1px solid var(--border); border-radius: 1rem; overflow: clip; text-align: left; transition: none; height: auto; }
.theme-product-card--related:hover { transform: none; box-shadow: none; border-color: var(--border); }
.theme-product-card--related .product-card-img { transition: none; }
.theme-product-card--related:hover .product-card-img { transform: none; }
.theme-product-card--related .theme-product-card__info { padding: 1rem; display: block; }
.theme-product-card--related .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.related-name { font-weight: 700; font-family: var(--font-body); }
.related-price { color: var(--accent); }
.theme-product-card .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card .theme-product-card__cta { position: relative; z-index: 3; pointer-events: auto; }
.theme-no-products { text-align: center; color: var(--muted-foreground); grid-column: 1 / -1; }

/* ------------------------------------------------------------------
 * About / Founder
 * ----------------------------------------------------------------*/
.about-grid, .founder-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; } .founder-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; } }
.about-img { width: 100%; max-width: 614px; height: auto; margin: 0 auto; border-radius: 1.5rem; border: 1px solid var(--border); }
.founder-img { width: 100%; max-width: 28rem; height: auto; margin: 0 auto; border-radius: 1.5rem; border: 1px solid var(--border); }
@media (min-width: 768px) { .founder-img { grid-column: span 2 / span 2; } .founder-copy { grid-column: span 3 / span 3; } }
.about-copy .eyebrow, .founder-copy .eyebrow { margin-bottom: 1rem; }
.about-copy .section-title { line-height: 1.25; margin-bottom: 1.5rem; }
.about-copy p:not(.eyebrow) { color: var(--muted-foreground); font-size: 1.125rem; line-height: 1.625; }
.about-copy p:not(.eyebrow) + p { margin-top: 1.25rem; }
.founder-copy .section-title { margin-bottom: 0.5rem; }
.founder-role { color: var(--accent); font-weight: 600; margin-bottom: 1.5rem; }
.founder-body > * + * { margin-top: 1rem; }
.founder-body { color: var(--muted-foreground); font-size: 1.125rem; line-height: 1.625; }

/* ------------------------------------------------------------------
 * Resources
 * ----------------------------------------------------------------*/
.resources-section .section-head { margin-bottom: 3.5rem; }
.resource-list { margin-bottom: 4rem; }
.resource-list > * + * { margin-top: 1.5rem; }
@media (min-width: 1024px) { .resource-list > * + * { margin-top: 2rem; } }
.resource-row { display: grid; overflow: clip; border-radius: 1.5rem; border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); background-color: var(--card); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.resource-row:hover { border-color: color-mix(in srgb, var(--accent) 70%, transparent); box-shadow: var(--shadow-accent); }
@media (min-width: 768px) { .resource-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.resource-media { position: relative; min-height: 220px; overflow: clip; }
@media (min-width: 768px) { .resource-media { min-height: 320px; } .resource-row.is-flipped .resource-media { order: 2; } .resource-row.is-flipped .resource-copy { order: 1; } }
.resource-stripe { position: absolute; top: 0; bottom: 0; z-index: 10; width: 0.375rem; left: 0; }
.resource-row.is-flipped .resource-stripe { left: auto; right: 0; }
.resource-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.resource-row:hover .resource-img { transform: scale(1.04); }
.resource-tint { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--accent) 0%, transparent); transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.resource-row:hover .resource-tint { background-color: color-mix(in srgb, var(--accent) 10%, transparent); }
.resource-copy { display: flex; flex-direction: column; justify-content: center; padding: 2rem; }
@media (min-width: 768px) { .resource-copy { padding: 3rem; } }
.resource-top { margin-bottom: 1.25rem; display: flex; align-items: center; gap: 1rem; }
.resource-num { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; color: var(--accent); }
@media (min-width: 768px) { .resource-num { font-size: 3rem; } }
.resource-line { height: 1px; flex: 1; background-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.resource-top svg { flex-shrink: 0; color: var(--accent); }
.resource-title { margin-bottom: 1rem; font-size: 1.5rem; line-height: 2rem; }
@media (min-width: 768px) { .resource-title { font-size: 1.875rem; line-height: 2.25rem; } }
.resource-text { font-size: 1.125rem; line-height: 1.625; color: var(--muted-foreground); }

.help-box { position: relative; overflow: clip; border-radius: 1.5rem; border: 1px solid color-mix(in srgb, var(--alert) 45%, transparent); background-color: var(--alert-soft); padding: 1.75rem; box-shadow: var(--shadow-alert); }
@media (min-width: 768px) { .help-box { padding: 2.5rem; } }
.help-bar { position: absolute; left: 0; right: 0; top: 0; height: 0.375rem; }
.help-head { margin-bottom: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.help-icon { display: flex; width: 3rem; height: 3rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid color-mix(in srgb, var(--alert) 60%, transparent); background-color: color-mix(in srgb, var(--alert) 15%, transparent); color: var(--alert); }
.help-title { font-size: 1.5rem; line-height: 2rem; }
@media (min-width: 768px) { .help-title { font-size: 2.25rem; line-height: 2.5rem; } }
.help-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; border: 1px solid color-mix(in srgb, var(--alert) 50%, transparent); padding: 0.5rem 1rem; font-size: 0.75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--alert); }
.help-ping { position: relative; display: flex; width: 0.5rem; height: 0.5rem; }
.help-ping::before { content: ''; position: absolute; display: inline-flex; width: 100%; height: 100%; border-radius: 9999px; background-color: var(--alert); opacity: 0.75; animation: md-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
.help-ping::after { content: ''; position: relative; display: inline-flex; width: 0.5rem; height: 0.5rem; border-radius: 9999px; background-color: var(--alert); }
.help-text { margin-bottom: 1.75rem; max-width: 42rem; font-size: 1.125rem; line-height: 1.625; color: color-mix(in srgb, var(--foreground) 85%, transparent); }
.hotline-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .hotline-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hotline { display: block; min-height: 7.5rem; border-radius: 1rem; border: 1px solid var(--alert-border); background-color: color-mix(in srgb, var(--background) 70%, transparent); padding: 1.25rem; }
.hotline:hover { transform: translateY(-0.25rem); border-color: var(--alert); }
.hotline__name { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; font-family: var(--font-body); transition: color 0.3s; }
.hotline__name svg { margin-top: 0.25rem; flex-shrink: 0; color: var(--alert); transition: color 0.3s; }
.hotline__detail { margin-top: 0.5rem; color: var(--muted-foreground); transition: color 0.3s; }
.hotline:hover .hotline__name, .hotline:hover .hotline__name svg { color: var(--alert-foreground); }
.hotline:hover .hotline__detail { color: color-mix(in srgb, var(--alert-foreground) 90%, transparent); }

/* ------------------------------------------------------------------
 * FAQ
 * ----------------------------------------------------------------*/
.faq-section { position: relative; overflow: hidden; }
.faq-bg-video { pointer-events: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faq-overlay { pointer-events: none; position: absolute; inset: 0; background-color: color-mix(in srgb, var(--surface-deep) 85%, transparent); }
.faq-inner { position: relative; max-width: 48rem; }
.faq-inner .section-head { margin-bottom: 2.5rem; }
.faq-list > * + * { margin-top: 0.75rem; }
.faq-item { border: 1px solid var(--border); border-radius: 0.75rem; background-color: color-mix(in srgb, var(--card) 90%, transparent); transition: border-color 0.3s, background-color 0.3s; }
.faq-item:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.faq-question { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; padding: 1.25rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; min-height: 3rem; font-family: var(--font-body); }
.faq-question svg { flex-shrink: 0; color: var(--accent); transition: transform 0.3s; }
.faq-item.is-open .faq-question svg { transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows 0.4s var(--md-ease), opacity 0.4s var(--md-ease), visibility 0s linear 0.4s; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition-delay: 0s; }
.faq-answer__inner { overflow: clip; min-height: 0; }
.faq-answer p { padding: 0 1.25rem 1.25rem; color: var(--muted-foreground); font-size: 1.125rem; line-height: 1.75rem; }

/* ------------------------------------------------------------------
 * Contact
 * ----------------------------------------------------------------*/
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-copy .eyebrow { margin-bottom: 1rem; }
.contact-copy .section-title { margin-bottom: 1.5rem; }
.contact-copy p:not(.eyebrow) { color: var(--muted-foreground); font-size: 1.125rem; line-height: 1.75rem; margin-bottom: 2rem; }
.contact-links > * + * { margin-top: 1rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border-radius: 0.75rem; background-color: var(--card); border: 1px solid var(--border); transition: border-color 0.15s; overflow-wrap: break-word; word-wrap: break-word; }
.contact-card:hover { border-color: var(--accent); }
.contact-card svg { color: var(--accent); flex-shrink: 0; }
.contact-card span { font-size: 1.125rem; line-height: 1.75rem; min-width: 0; }
.social-row { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-top: 0.5rem; }
.social-pill { padding: 0.75rem 1.25rem; border-radius: 9999px; border: 1px solid var(--border); font-weight: 600; transition: color 0.15s, border-color 0.15s; }
.social-pill:hover { border-color: var(--accent); color: var(--accent); }

/* ------------------------------------------------------------------
 * Footer
 * ----------------------------------------------------------------*/
.site-footer { background-color: var(--surface-deep); border-top: 1px solid var(--border); }
.footer-grid { display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 143px 1fr 1fr 1fr; } }
.footer-logo-img { width: 143px; max-width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 1rem; object-fit: cover; }
.footer-tagline { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.25rem; margin-top: 1.25rem; }
.footer-heading { color: var(--accent); font-size: 1.125rem; line-height: 1.75rem; margin-bottom: 1rem; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.footer-nav .theme-footer-list { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.footer-nav a { height: 2.25rem; color: var(--muted-foreground); font-weight: 500; transition: color 0.15s; }
.footer-nav a:hover { color: var(--accent); }
.footer-link { display: block; margin-bottom: 0.5rem; color: var(--muted-foreground); transition: color 0.15s; }
.footer-link:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom__inner { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1.25rem; padding-bottom: 1.25rem; font-size: 0.75rem; line-height: 1rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .footer-bottom__inner { flex-direction: row; justify-content: space-between; } }
.footer-credit a { font-weight: 700; }
.footer-credit a:hover { color: var(--accent); text-decoration: underline; }

/* ------------------------------------------------------------------
 * Contact dialog
 * ----------------------------------------------------------------*/
.md-dialog { position: fixed; inset: 0; z-index: 50; }
.md-dialog-overlay { position: fixed; inset: 0; z-index: 50; background-color: rgb(0 0 0 / 0.8); animation: md-fade-in 0.2s ease both; }
.md-dialog-content { position: fixed; left: 50%; top: 50%; z-index: 50; display: grid; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto; transform: translate(-50%, -50%); gap: 1rem; border: 1px solid var(--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); animation: md-dialog-in 0.2s ease both; }
@media (min-width: 640px) { .md-dialog-content { border-radius: var(--radius); } }
.md-dialog.is-closing .md-dialog-overlay { animation: md-fade-out 0.2s ease both; }
.md-dialog.is-closing .md-dialog-content { animation: md-dialog-out 0.2s ease both; }
.md-dialog-header { display: flex; flex-direction: column; text-align: center; }
.md-dialog-header > * + * { margin-top: 0.375rem; }
@media (min-width: 640px) { .md-dialog-header { text-align: left; } }
.md-dialog-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1; font-weight: 600; letter-spacing: -0.025em; }
.md-dialog-desc { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.md-dialog-close { position: absolute; right: 1rem; top: 1rem; border-radius: calc(var(--radius) - 4px); opacity: 0.7; transition: opacity 0.15s; }
.md-dialog-close:hover { opacity: 1; }
.md-dialog-close:focus-visible { outline: 2px solid transparent; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.md-dialog-close svg { width: 1rem; height: 1rem; }
.md-form { margin-top: 0.75rem; }
.md-form > * + * { margin-top: 1rem; }
.md-form label { display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.md-input { display: block; width: 100%; margin-top: 0.5rem; padding: 0.75rem; background-color: var(--background); border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; line-height: 1.5rem; font-weight: 400; font-family: var(--font-body); color: var(--foreground); }
.md-input:focus { outline: 2px solid transparent; outline-offset: 2px; box-shadow: 0 0 0 2px var(--ring); }
.md-input::placeholder { color: var(--muted-foreground); }
textarea.md-input { resize: vertical; }
.md-dialog-call { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.md-dialog-call a { text-decoration: underline; }

/* ------------------------------------------------------------------
 * Cart drawer
 * ----------------------------------------------------------------*/
#theme-cart-overlay { display: none; position: fixed; inset: 0; z-index: 60; background-color: color-mix(in srgb, var(--surface-deep) 70%, transparent); }
#theme-cart-drawer { display: none; position: fixed; right: 0; top: 0; z-index: 61; height: 100%; width: 100%; max-width: 28rem; flex-direction: column; background-color: var(--card); border-left: 1px solid var(--border); }
body.cart-open #theme-cart-overlay { display: block; }
body.cart-open #theme-cart-drawer { display: flex; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; border-bottom: 1px solid var(--border); }
.cart-drawer__title { font-size: 1.5rem; line-height: 2rem; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 1.25rem; }
.cart-drawer__body > * + * { margin-top: 1rem; }
.cart-drawer__empty { color: var(--muted-foreground); }
.cart-line { display: flex; gap: 1rem; align-items: flex-start; }
.cart-line-img { width: 5rem; height: 6rem; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.cart-line__info { flex: 1; min-width: 0; }
.cart-line__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.cart-line__name { font-weight: 700; }
.cart-line__remove { width: 2.25rem; height: 2.25rem; flex-shrink: 0; color: var(--muted-foreground); }
.cart-line__remove:hover { color: var(--alert); }
.cart-line__meta { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.cart-line__price { color: var(--accent); font-weight: 600; }
.cart-line__price del { opacity: 0.6; }
.cart-line__price ins { text-decoration: none; }
.cart-line__qty { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.cart-line__qty .btn { width: 2.25rem; height: 2.25rem; }
.cart-line__count { width: 1.5rem; text-align: center; }
.cart-drawer__foot { padding: 1.25rem; border-top: 1px solid var(--border); }
.cart-drawer__foot > * + * { margin-top: 0.75rem; }
.cart-drawer__total { display: flex; justify-content: space-between; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }

/* ------------------------------------------------------------------
 * Inner pages / single product
 * ----------------------------------------------------------------*/
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted-foreground); font-weight: 600; min-height: 2.75rem; transition: color 0.15s; }
.back-link:hover { color: var(--accent); }
.back-link svg { width: 1rem; height: 1rem; }
.theme-product-layout { display: grid; gap: 2.5rem; margin-top: 1.5rem; min-width: 0; }
@media (min-width: 768px) { .theme-product-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.product-main-img-wrap { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1rem; border: 1px solid var(--border); }
.product-main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; max-width: 100%; }
.theme-thumb { position: relative; width: 4rem; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 0.5rem; border: 1px solid var(--border); padding: 0; }
.theme-thumb.is-active { border-color: var(--accent); }
.product-thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-type { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-foreground); font-weight: 700; }
.product-type a { pointer-events: none; }
.product-title { font-size: 2.25rem; line-height: 2.5rem; margin-top: 0.5rem; }
@media (min-width: 768px) { .product-title { font-size: 3rem; line-height: 1; } }
.product-price { color: var(--accent); font-size: 1.5rem; line-height: 2rem; font-weight: 700; margin-top: 1rem; }
.product-price del { opacity: 0.6; font-weight: 400; }
.product-price ins { text-decoration: none; }
.product-each { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.product-desc { color: var(--muted-foreground); margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.75rem; overflow-wrap: break-word; word-break: break-word; }
.product-desc p + p { margin-top: 1rem; }
.product-stock-out { margin-top: 1.5rem; font-weight: 700; color: var(--alert); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.875rem; }
.single-product .variations, .single-product .variations tbody, .single-product .variations tr, .single-product .variations td { display: block; width: 100%; }
.single-product .variations { margin-top: 1.5rem; border: 0; }
.single-product .variations td.label { padding: 0 0 0.5rem; font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.single-product .variations td.label label { font-family: var(--font-body); font-weight: 600; font-style: normal; }
.single-product .variations td.value { padding: 0; }
.single-product .reset_variations, .single-product .woocommerce-variation-description, .single-product .woocommerce-variation-price, .single-product .woocommerce-variation-availability { display: none !important; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill { min-height: 2.75rem; padding: 0 1rem; border-radius: 9999px; border: 1px solid var(--border); font-weight: 600; transition: color 0.15s, border-color 0.15s; font-family: var(--font-body); }
.theme-attr-pill.is-selected { border-color: var(--accent); color: var(--accent); }
.theme-add-to-cart-area { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.single-product .theme-add-to-cart-area { flex-wrap: nowrap; }
.theme-qty-row { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.theme-qty-label { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.theme-quantity-wrapper { display: flex; align-items: center; gap: 0.75rem; }
.theme-quantity-wrapper .theme-qty-minus, .theme-quantity-wrapper .theme-qty-plus { width: 2.75rem; height: 2.75rem; }
.theme-qty-input { width: 2rem; text-align: center; background: transparent; border: 0; padding: 0; color: inherit; -moz-appearance: textfield; appearance: textfield; font-family: var(--font-body); font-size: 1rem; line-height: 1.5rem; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-qty-input:focus { outline: none; }
.theme-add-to-cart-area .single_add_to_cart_button { margin-top: 2rem; width: 100%; }
@media (min-width: 640px) { .theme-add-to-cart-area .single_add_to_cart_button { width: auto; } }
.product-details { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); overflow-wrap: break-word; word-break: break-word; }
.product-details h3 { font-size: 1.25rem; line-height: 1.75rem; color: var(--foreground); margin-bottom: 0.75rem; }
.product-details ul > * + *, .product-details p + p { margin-top: 0.5rem; }
.related-products-section h2 { font-size: 1.875rem; line-height: 2.25rem; margin-top: 4rem; margin-bottom: 1.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-product-card--related .theme-product-card__image-wrapper { aspect-ratio: 4 / 5; }
.page-title { font-size: 2.25rem; line-height: 2.5rem; margin-top: 1rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .page-title { font-size: 3rem; line-height: 1; } }
.entry-content { color: var(--foreground); }
.entry-content p + p { margin-top: 1rem; }
.page-404 { text-align: center; padding: 4rem 0; }
.page-404 p { color: var(--muted-foreground); margin: 1rem 0 2rem; }

/* ------------------------------------------------------------------
 * WooCommerce overrides (add-to-cart buttons, notices, view-cart link)
 * ----------------------------------------------------------------*/
.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(--primary) !important;
  color: var(--accent-grad-foreground) !important;
  border: none !important;
  border-radius: 9999px !important;
  min-height: 3rem !important;
  padding: 0.5rem 2.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-display) !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: background-position 0.6s var(--transition-smooth) !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover { background-color: var(--primary) !important; color: var(--accent-grad-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(--primary) !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after, .ajax_add_to_cart.loading::after { display: none !important; }
.woocommerce-page a.added_to_cart.wc-forward, .single-product a.added_to_cart.wc-forward, body a.added_to_cart.wc-forward { display: none !important; }
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius); border: 1px solid var(--border); background-color: var(--card); color: var(--foreground); list-style: none; }
.woocommerce-error { border-color: var(--alert-border); background-color: var(--alert-soft); }
.woocommerce-message a, .woocommerce-info a { text-decoration: underline; color: var(--accent); }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* ------------------------------------------------------------------
 * WooCommerce Cart / Checkout blocks (native blocks, themed)
 * ----------------------------------------------------------------*/
body.woocommerce-cart .site-main--inner, body.woocommerce-checkout .site-main--inner { padding-bottom: 4rem; }
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart { color: var(--foreground); max-width: none; }
body.woocommerce-checkout .wc-block-checkout *, body.woocommerce-cart .wc-block-cart * { border-color: var(--border); }
body.woocommerce-checkout .wc-block-components-sidebar-layout, body.woocommerce-cart .wc-block-components-sidebar-layout { display: block; margin: 0; }
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart.is-large { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart.is-large { grid-template-columns: 1fr 360px; }
}
body.woocommerce-checkout .wc-block-checkout { display: block; }
body.woocommerce-checkout .wc-block-components-notice-banner, body.woocommerce-cart .wc-block-components-notice-banner { grid-column: 1 / -1; background: var(--card); color: var(--foreground); border: 1px solid var(--border); border-radius: var(--radius); }
body.woocommerce-checkout .wc-block-checkout__main, body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__main, body.woocommerce-cart .wc-block-cart__sidebar { min-width: 0; width: 100%; max-width: none; padding: 0; margin: 0; }
body.woocommerce-checkout .wc-block-checkout__sidebar, body.woocommerce-cart .wc-block-cart__sidebar { background-color: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1.5rem; }
body.woocommerce-checkout .wc-block-components-title, body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-cart .wc-block-cart__totals-title, body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 2rem; color: var(--foreground); text-transform: none; }
body.woocommerce-checkout .wc-block-components-checkout-step__description, body.woocommerce-checkout .wc-block-components-product-metadata, body.woocommerce-cart .wc-block-components-product-metadata { color: var(--muted-foreground); }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-cart .wc-block-components-text-input input {
  width: 100% !important; max-width: none !important; background-color: var(--background); color: var(--foreground);
  border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-text-input input[type="number"],
body.woocommerce-checkout .wc-block-components-text-input input[type="password"],
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-textarea textarea { background-color: var(--background) !important; color: var(--foreground) !important; border: 1px solid var(--border) !important; border-radius: var(--radius) !important; }
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--muted-foreground); }
body.woocommerce-checkout .wc-block-components-select .wc-blocks-components-select__container { background-color: var(--background); border-radius: var(--radius); }
body.woocommerce-checkout .wc-block-components-select .wc-blocks-components-select__select { background-color: var(--background); color: var(--foreground); border: 1px solid var(--border); border-radius: var(--radius); }
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__container { box-shadow: none; border: 1px solid var(--border); }
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select { box-shadow: none; border: 0; }
body.woocommerce-checkout .wc-block-components-checkbox label, body.woocommerce-checkout .wc-block-components-checkout-terms, body.woocommerce-checkout .wc-block-checkout__terms { color: var(--muted-foreground); }
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 { outline: 2px solid transparent; box-shadow: 0 0 0 2px var(--ring); }
body.woocommerce-checkout .wc-block-components-text-input label, body.woocommerce-checkout .wc-block-components-select label, body.woocommerce-checkout .wc-block-components-textarea label { color: var(--muted-foreground); }
body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--accent-foreground); }
body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { background-color: var(--background); border: 1px solid var(--border); }
body.woocommerce-checkout .wc-block-components-radio-control__option, body.woocommerce-checkout .wc-block-components-radio-control-accordion-option { border-color: var(--border); }
body.woocommerce-checkout .wc-block-components-panel__button, body.woocommerce-checkout .wc-block-components-totals-item, body.woocommerce-checkout .wc-block-components-order-summary-item__description,
body.woocommerce-cart .wc-block-components-totals-item, body.woocommerce-cart .wc-block-cart-items th { color: var(--foreground); }
body.woocommerce-checkout .wc-block-components-product-name, body.woocommerce-cart .wc-block-components-product-name { color: var(--foreground); font-weight: 700; }
body.woocommerce-checkout .wc-block-components-product-price, body.woocommerce-cart .wc-block-components-product-price { color: var(--accent); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-checkout .wc-block-components-button:not(.is-link),
body.woocommerce-cart .wc-block-components-button:not(.is-link) {
  background-color: var(--primary); background-image: linear-gradient(110deg, var(--accent-grad-start) 0%, var(--accent-grad-mid) 45%, var(--accent-grad-end) 100%); background-size: 170% 100%; background-position: 0% 50%;
  color: var(--accent-grad-foreground); border: 0; border-radius: 9999px; min-height: 3rem; font-family: var(--font-display); font-weight: 700; text-transform: none; transition: background-position 0.6s var(--transition-smooth);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover, body.woocommerce-cart .wc-block-cart__submit-button:hover { background-position: 100% 50%; }
body.woocommerce-checkout .wc-block-components-button.is-link, body.woocommerce-cart .wc-block-components-button.is-link, body.woocommerce-cart .wc-block-cart-item__remove-link { color: var(--accent); background: none; }
body.woocommerce-cart .wc-block-cart-items, body.woocommerce-cart .wc-block-cart-items td, body.woocommerce-cart .wc-block-cart-items th { border-color: var(--border); }
body.woocommerce-cart .wc-block-components-quantity-selector { background: var(--background); border: 1px solid var(--border); border-radius: 9999px; }
body.woocommerce-cart .wc-block-components-quantity-selector input, body.woocommerce-cart .wc-block-components-quantity-selector button { color: var(--foreground); background: transparent; }
body.woocommerce-checkout .wc-block-components-totals-wrapper, body.woocommerce-cart .wc-block-components-totals-wrapper { border-color: var(--border); }
body.woocommerce-checkout .wc-block-components-order-summary-item__image img, body.woocommerce-cart .wc-block-cart-item__image img { border-radius: 0.5rem; }
body.woocommerce-checkout .wc-block-components-product-badge, body.woocommerce-checkout .wc-block-components-order-summary-item__quantity { background: var(--primary); color: var(--primary-foreground); border-color: var(--background); }

/* Thank-you page */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { color: var(--foreground); }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0 0 2rem; padding: 1.25rem; background: var(--card); border: 1px solid var(--border); border-radius: 1rem; }
body.theme-thankyou-page .woocommerce-order-overview li { color: var(--muted-foreground); font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; color: var(--foreground); font-size: 1rem; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; min-width: 0; padding: 1rem; background: var(--card); border: 1px solid var(--border); border-radius: 1rem; }
body.theme-thankyou-page .woocommerce-order h2, body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; line-height: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; background: var(--card); border: 1px solid var(--border); border-radius: 1rem; margin-bottom: 2rem; }
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; overflow-wrap: break-word; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }

/* ------------------------------------------------------------------
 * Reduced motion (source parity)
 * ----------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none !important; }
}
