/* Rising Reader Bookstore — theme by The Free Website Guys */

:root {
  --color-background: #faf7fd;
  --color-foreground: #2d1e3e;
  --color-primary: #9b69d3;
  --color-secondary: #efe7f9;
  --color-muted-foreground: #6a5e78;
  --color-accent: #e63345;
  --color-border: #e0d4ed;
  --color-card: #ffffff;
  --color-muted: #ede6f4;
  --color-destructive: #d32222;
  --color-primary-foreground: #ffffff;
  --color-accent-foreground: #ffffff;
  --color-button-text: #ffffff;
  --radius: 1rem;
  --font-display: 'Fraunces', serif;
  --font-body: 'Nunito', sans-serif;
  --shadow-soft: 0 6px 24px -8px hsl(268 50% 40% / 0.18);
  --shadow-elevated: 0 18px 40px -12px hsl(268 55% 50% / 0.3);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --logo-height: 56px;
  --header-height: 80px;
  --btn-radius: calc(var(--radius) - 2px);
  --btn-height: 2.75rem;
  --btn-padding: 0 2rem;
  --btn-font-size: 0.875rem;
  --btn-font-weight: 500;
  --btn-letter-spacing: normal;
  --btn-text-transform: none;
}

/* ---------- 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%; tab-size: 4; font-family: var(--font-body); }
body { margin: 0; line-height: inherit; 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-size: inherit; font-weight: inherit; margin: 0; font-family: var(--font-display); letter-spacing: -0.01em; }
p, figure, blockquote, dl, dd, pre { margin: 0; }
a { color: inherit; text-decoration: inherit; }
ul, ol, menu { list-style: none; margin: 0; padding: 0; }
img, svg, video, canvas { display: block; vertical-align: middle; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-main-img):not(.theme-thumb-img):not(.owner-photo-img):not(.cart-item__img):not(.owner__photo-img):not(.site-logo-img) { max-width: 100%; height: auto; }
video { max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, [role="button"] { cursor: pointer; background-color: transparent; background-image: none; text-transform: none; -webkit-appearance: button; }
button:disabled { cursor: default; }
summary { display: list-item; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid transparent; outline-offset: 2px; }

/* ---------- Layout helpers ---------- */
.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; } }
.container-narrow { max-width: 48rem; }
.icon-3 { width: 0.75rem; height: 0.75rem; }
.icon-4 { width: 1rem; height: 1rem; }
.icon-5 { width: 1.25rem; height: 1.25rem; }
.icon-6 { width: 1.5rem; height: 1.5rem; }
.icon-7 { width: 1.75rem; height: 1.75rem; }
.icon-8 { width: 2rem; height: 2rem; }
.icon-12 { width: 3rem; height: 3rem; }
.icon-thin { stroke-width: 1.5; }
.icon-hair { stroke-width: 1; }
.fill-current { fill: currentColor; }
.shrink { flex-shrink: 0; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

/* ---------- Page loader + scroll progress ---------- */
.theme-loader { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background-color: var(--color-background); opacity: 1; transition: opacity 0.5s ease, visibility 0s linear 0.5s; }
.theme-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.theme-loader__inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.theme-loader__book { position: relative; width: 5rem; height: 3.5rem; perspective: 400px; }
.theme-loader__cover { position: absolute; inset: 0; border-radius: calc(var(--radius) - 2px); background-color: var(--color-primary); border: 2px solid color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.theme-loader__page { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; border-radius: 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0; background-color: var(--color-secondary); border: 2px solid color-mix(in srgb, var(--color-foreground) 80%, transparent); transform-origin: left; animation: loaderFlip 0.9s ease-in-out infinite; }
@keyframes loaderFlip { from { transform: rotateY(0deg); } to { transform: rotateY(-180deg); } }
.theme-loader__text { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-primary); font-weight: 700; font-family: var(--font-body); }
.theme-scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; transform-origin: 0% 50%; transform: scaleX(var(--progress, 0)); transition: transform 0.12s linear; background-image: linear-gradient(to right, color-mix(in srgb, var(--color-primary) 60%, transparent), var(--color-primary), color-mix(in srgb, var(--color-primary) 60%, transparent)); box-shadow: 0 0 12px color-mix(in srgb, var(--color-primary) 60%, transparent); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background-color: transparent; transition: all 0.3s var(--transition-smooth); }
.site-header.is-solid { background-color: color-mix(in srgb, var(--color-background) 95%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 1024px) { .site-header__bar { height: 5rem; } }
.site-header__brand { display: flex; align-items: center; gap: 0.5rem; }
.site-logo-img { height: calc(var(--logo-height) * 0.7857) !important; width: calc(var(--logo-height) * 0.7857) !important; object-fit: contain; border-radius: 9999px; display: block; }
@media (min-width: 1024px) { .site-logo-img { height: var(--logo-height) !important; width: var(--logo-height) !important; } }
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.site-header__brand-text { display: none; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; color: var(--color-foreground); }
.site-header__brand-text .is-accent { color: var(--color-accent); }
@media (min-width: 640px) { .site-header__brand-text { display: block; } }
@media (min-width: 1024px) { .site-header__brand-text { font-size: 1.25rem; } }
.site-header__nav { display: none; align-items: center; }
@media (min-width: 1024px) { .site-header__nav { display: flex; } }
.site-header__nav .theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.site-header__nav a { font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); font-weight: 700; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); transition: color 0.15s var(--transition-smooth); }
.site-header__nav a:hover { color: var(--color-accent); }
.site-header__actions { display: flex; align-items: center; gap: 0.25rem; }
.lang-switch { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: calc(var(--radius) - 2px); background-color: color-mix(in srgb, var(--color-background) 90%, transparent); }
.lang-switch__btn { padding: 0.5rem; font-size: 0.75rem; line-height: 1rem; font-weight: 700; color: var(--color-muted-foreground); }
.lang-switch__btn.is-active { color: var(--color-accent); }
.lang-switch__sep { color: var(--color-muted-foreground); }
.site-header__cart { position: relative; padding: 0.625rem; color: var(--color-foreground); transition: color 0.15s var(--transition-smooth); }
.site-header__cart:hover { color: var(--color-accent); }
.theme-cart-count { position: absolute; top: 0; right: 0; min-width: 1.25rem; height: 1.25rem; padding: 0 0.25rem; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; line-height: 1rem; font-weight: 700; border-radius: 9999px; background-color: var(--color-accent); color: var(--color-accent-foreground); }
.theme-cart-count:empty { display: none; }
.site-header__toggle { padding: 0.625rem; color: var(--color-foreground); }
@media (min-width: 1024px) { .site-header__toggle { display: none; } }
.site-header__toggle .icon-close { display: none; }
.site-header.menu-open .site-header__toggle .icon-close { display: block; }
.site-header.menu-open .site-header__toggle .icon-menu { display: none; }
.site-header__mobile { display: none; border-top: 1px solid var(--color-border); padding: 0.75rem 0; }
.site-header.menu-open .site-header__mobile { display: block; animation: fadeIn 0.6s var(--transition-smooth) forwards; }
@media (min-width: 1024px) { .site-header__mobile, .site-header.menu-open .site-header__mobile { display: none; } }
.site-header__mobile a { display: block; width: 100%; text-align: left; padding: 0.75rem 0; font-family: var(--font-body); font-weight: 700; color: var(--color-foreground); }
.site-header__mobile a:hover { color: var(--color-accent); }
@media (max-width: 1023px) { .site-header .theme-nav-desktop { display: none !important; } }

/* ---------- Buttons ---------- */
.btn-hero-primary, .btn-hero-outline { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap; height: 2.75rem; padding: 0 2rem; border-radius: 9999px; font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; text-transform: none; transition: color 0.15s var(--transition-smooth), background-color 0.15s var(--transition-smooth), border-color 0.15s var(--transition-smooth); }
.btn-hero-primary svg, .btn-hero-outline svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn-hero-primary { background-color: var(--color-accent); color: var(--color-accent-foreground); }
.btn-hero-primary:hover { background-color: color-mix(in srgb, var(--color-accent) 90%, transparent); }
.btn-hero-outline { border: 1px solid var(--color-primary); background-color: var(--color-background); color: var(--color-primary); }
.btn-hero-outline:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.btn-outline { 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); border: 1px solid var(--color-border); background-color: var(--color-background); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; transition: color 0.15s var(--transition-smooth), background-color 0.15s var(--transition-smooth); }
.btn-outline:hover { background-color: var(--color-accent); color: var(--color-accent-foreground); }
.btn-primary-lg { display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 0.5rem; height: 2.75rem; padding: 0 2rem; border-radius: calc(var(--radius) - 2px); background-color: var(--color-primary); color: var(--color-primary-foreground); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; transition: background-color 0.15s var(--transition-smooth); }
.btn-primary-lg:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 100vh; padding-top: 6rem; padding-bottom: 4rem; background-image: linear-gradient(to bottom, var(--color-secondary), var(--color-background), var(--color-background)); }
.hero__blob { position: absolute; border-radius: 9999px; filter: blur(64px); pointer-events: none; }
.hero__blob--left { top: 8rem; left: 8%; width: 10rem; height: 10rem; background-color: color-mix(in srgb, var(--color-primary) 20%, transparent); }
.hero__blob--right { bottom: 5rem; right: 10%; width: 14rem; height: 14rem; background-color: color-mix(in srgb, var(--color-accent) 15%, transparent); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero__copy { text-align: center; }
@media (min-width: 1024px) { .hero__copy { text-align: left; } }
.hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 9999px; background-color: var(--color-card); color: var(--color-accent); font-family: var(--font-body); font-weight: 700; font-size: 0.875rem; line-height: 1.25rem; box-shadow: var(--shadow-soft); }
.hero__title { margin-top: 1.5rem; font-family: var(--font-display); font-size: 3rem; line-height: 1.05; font-weight: 700; }
@media (min-width: 768px) { .hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 4.5rem; } }
.hero__title-accent { color: var(--color-accent); font-style: italic; }
.hero__subtitle { margin: 1.5rem auto 0; max-width: 32rem; color: var(--color-muted-foreground); font-size: 1.125rem; line-height: 1.75rem; font-family: var(--font-body); }
@media (min-width: 1024px) { .hero__subtitle { margin-left: 0; margin-right: 0; } }
.hero__actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; justify-content: center; }
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }
@media (min-width: 1024px) { .hero__actions { justify-content: flex-start; } }
.hero__art { display: flex; flex-direction: column; align-items: center; }
.hero__art-scale { transform: scale(1.1); transform-origin: bottom; }
@media (min-width: 640px) { .hero__art-scale { transform: scale(1.2); } }
@media (min-width: 1024px) { .hero__art-scale { transform: scale(1.25); } }

.hero-anim { opacity: 0; animation-fill-mode: both; animation-timing-function: ease-out; }
.hero-anim--badge { animation-name: heroDown; animation-duration: 0.4s; animation-delay: 0s; }
.hero-anim--title { animation-name: heroUp40; animation-duration: 0.8s; animation-delay: 0.2s; }
.hero-anim--text { animation-name: fadeIn; animation-duration: 0.3s; animation-delay: 0.5s; }
.hero-anim--actions { animation-name: heroUp20; animation-duration: 0.4s; animation-delay: 0.7s; }
@keyframes heroDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes heroUp40 { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes heroUp20 { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Animated books */
.animated-books { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 0.5rem; height: 16rem; }
.animated-books__book { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 0.75rem 0; border-radius: calc(var(--radius) - 2px); border: 2px solid color-mix(in srgb, var(--color-foreground) 80%, transparent); box-shadow: var(--shadow-soft); opacity: 0; translate: 0 80px; animation-name: bookIn, bookFloat; animation-timing-function: ease-out, ease-in-out; animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none; }
.animated-books__book--primary { background-color: var(--color-primary); }
.animated-books__book--accent { background-color: var(--color-accent); }
.animated-books__book--secondary { background-color: var(--color-secondary); }
.animated-books__book--primary-70 { background-color: color-mix(in srgb, var(--color-primary) 70%, transparent); }
.animated-books__book--accent-80 { background-color: color-mix(in srgb, var(--color-accent) 80%, transparent); }
.animated-books .h-40 { height: 10rem; } .animated-books .h-48 { height: 12rem; } .animated-books .h-36 { height: 9rem; } .animated-books .h-44 { height: 11rem; } .animated-books .h-32 { height: 8rem; }
.animated-books .w-12 { width: 3rem; } .animated-books .w-14 { width: 3.5rem; } .animated-books .w-11 { width: 2.75rem; } .animated-books .w-10 { width: 2.5rem; }
.book-rot-0 { rotate: -8deg; } .book-rot-1 { rotate: 0deg; } .book-rot-2 { rotate: 6deg; } .book-rot-3 { rotate: -3deg; } .book-rot-4 { rotate: 10deg; }
.book-float-0 { animation-duration: 0.6s, 3s; animation-delay: 0s, 0s; }
.book-float-1 { animation-duration: 0.6s, 3.3s; animation-delay: 0.3s, 0.3s; }
.book-float-2 { animation-duration: 0.6s, 3.6s; animation-delay: 0.6s, 0.6s; }
.book-float-3 { animation-duration: 0.6s, 3.9s; animation-delay: 0.9s, 0.9s; }
.book-float-4 { animation-duration: 0.6s, 4.2s; animation-delay: 1.2s, 1.2s; }
@keyframes bookIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bookFloat { 0% { translate: 0 0; } 50% { translate: 0 -14px; } 100% { translate: 0 0; } }
.animated-books__bar { width: 1.5rem; height: 0.25rem; border-radius: 9999px; background-color: color-mix(in srgb, var(--color-background) 80%, transparent); }
.animated-books__face { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.animated-books__eyes { display: flex; gap: 0.5rem; }
.animated-books__eyes span { width: 0.375rem; height: 0.375rem; border-radius: 9999px; background-color: var(--color-foreground); }
.animated-books__mouth { width: 0.75rem; height: 0.375rem; border-bottom: 2px solid var(--color-foreground); border-radius: 0 0 9999px 9999px; }
.animated-books__deco { position: absolute; }
.animated-books__heart { top: -0.5rem; left: 1rem; color: var(--color-accent); animation: decoHeart 2s ease-in-out infinite; }
.animated-books__sparkles { top: 1.5rem; right: 0.5rem; color: var(--color-primary); animation: decoSparkles 1.8s ease-in-out infinite; }
.animated-books__star { top: 5rem; left: -1rem; color: var(--color-primary); animation: decoStar 2.5s ease-in-out infinite; }
@keyframes decoHeart { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.3) rotate(15deg); } }
@keyframes decoSparkles { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.4); opacity: 1; } }
@keyframes decoStar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { background-color: var(--color-accent); color: var(--color-accent-foreground); padding: 1rem 0; overflow-x: clip; }
.marquee__track { display: flex; gap: 2rem; white-space: nowrap; width: max-content; animation: marqueeScroll 30s linear infinite; }
.marquee__item { display: flex; align-items: center; gap: 2rem; font-family: var(--font-body); font-weight: 700; font-size: 0.875rem; line-height: 1.25rem; text-transform: uppercase; letter-spacing: 0.15em; }
@keyframes marqueeScroll { from { transform: translateX(0%); } to { transform: translateX(-50%); } }

/* ---------- Generic sections ---------- */
.section { scroll-margin-top: 6rem; padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.eyebrow { color: var(--color-accent); font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.875rem; line-height: 1.25rem; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 2.5rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .section-title { font-size: 3rem; line-height: 1; } }
.section-lead { color: var(--color-muted-foreground); font-family: var(--font-body); margin: 1rem auto 0; max-width: 36rem; }
#shop, #pickup, #about, #owner, #faq, #contact, #give-books, #plushies { scroll-margin-top: 6rem; }

/* Shop */
.filter-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.theme-cat-filter { padding: 0.625rem 1.25rem; border-radius: 9999px; font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); font-weight: 700; background-color: var(--color-secondary); color: var(--color-foreground); transition: all 0.15s var(--transition-smooth); }
.theme-cat-filter:hover { background-color: color-mix(in srgb, var(--color-primary) 20%, transparent); }
.theme-cat-filter.is-active { background-color: var(--color-primary); color: var(--color-primary-foreground); box-shadow: var(--shadow-soft); }
.theme-product-grid { display: grid; grid-template-columns: 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: 768px) { .theme-product-grid { gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__media { position: relative; aspect-ratio: 1 / 1; background-color: var(--color-secondary); border-radius: 1.5rem; overflow: hidden; margin-bottom: 1rem; box-shadow: var(--shadow-soft); transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.15s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__media { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-elevated); }
.product-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--transition-smooth); }
.theme-product-card:hover .product-card-img { transform: scale(1.1); }
.product-card-img.is-soldout { opacity: 0.6; }
.theme-product-card__cat, .theme-product-card__new, .theme-product-card__soldout { position: absolute; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; line-height: 1rem; font-weight: 700; font-family: var(--font-body); }
.theme-product-card__cat { top: 0.75rem; left: 0.75rem; background-color: color-mix(in srgb, var(--color-background) 90%, transparent); color: var(--color-foreground); }
.theme-product-card__new { top: 0.75rem; right: 0.75rem; background-color: var(--color-accent); color: var(--color-accent-foreground); }
.theme-product-card__soldout { bottom: 0.75rem; right: 0.75rem; background-color: var(--color-foreground); color: var(--color-background); }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; transition: color 0.15s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__title { color: var(--color-accent); }
.theme-product-card__price { font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); font-family: var(--font-body); font-weight: 700; }
.theme-product-card__price .price, .theme-product-card__price .amount { color: inherit; }
.theme-product-card__price del { opacity: 0.6; margin-right: 0.25rem; }
.theme-product-card__price ins { text-decoration: none; }
.shop-empty { text-align: center; color: var(--color-muted-foreground); font-family: var(--font-body); }
.shop-soon-wrap { margin-top: 2.5rem; }
.shop-soon { display: flex; align-items: center; gap: 1.25rem; border-radius: 1rem; background-color: var(--color-secondary); border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); padding: 1.25rem 1.5rem; }
@media (min-width: 768px) { .shop-soon { padding-left: 2rem; padding-right: 2rem; } }
.shop-soon__icon { color: var(--color-primary); flex-shrink: 0; }
.shop-soon__line { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; }
.shop-soon__tag { color: var(--color-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; margin-right: 0.5rem; }
.shop-soon__title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.shop-soon__desc { font-family: var(--font-body); color: var(--color-muted-foreground); font-size: 0.875rem; line-height: 1.25rem; margin-top: 0.25rem; }

/* Pickup */
.pickup { position: relative; overflow: hidden; background-color: var(--color-primary); color: var(--color-primary-foreground); }
.pickup__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pickup__overlay { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--color-primary) 70%, transparent); }
.pickup__content { position: relative; padding: 5rem 0; }
.pickup__title { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 2.5rem; text-align: center; margin-bottom: 3rem; }
@media (min-width: 768px) { .pickup__title { font-size: 3rem; line-height: 1; } }
.pickup__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .pickup__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pickup__card { background-color: color-mix(in srgb, var(--color-background) 10%, transparent); border-radius: 1.5rem; padding: 2rem; text-align: center; }
.pickup__icon { width: 4rem; height: 4rem; margin: 0 auto 1.25rem; border-radius: 9999px; background-color: var(--color-background); color: var(--color-accent); display: flex; align-items: center; justify-content: center; transition: transform 0.3s var(--transition-smooth); }
.pickup__card:hover .pickup__icon { transform: rotate(10deg) scale(1.1); }
.pickup__card-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.pickup__card-text { font-family: var(--font-body); opacity: 0.9; }

/* About */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about__title { margin-bottom: 1.5rem; }
.about__text > * + * { margin-top: 1rem; }
.about__text { color: var(--color-muted-foreground); font-family: var(--font-body); font-size: 1.125rem; line-height: 1.75rem; }
.about__cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 640px) { .about__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about__card { background-color: var(--color-card); border-radius: 1.5rem; padding: 1.5rem; box-shadow: var(--shadow-soft); }
.about__card-icon { color: var(--color-primary); margin-bottom: 0.75rem; }
.about__card-title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.about__card-text { font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.about__card--accent { background-color: var(--color-accent); color: var(--color-accent-foreground); box-shadow: var(--shadow-elevated); }
.about__card--accent .about__card-icon { color: inherit; }
.about__card--accent .about__card-text { color: inherit; opacity: 0.95; }

/* Donate */
.donate { scroll-margin-top: 6rem; padding: 4rem 0; background-color: var(--color-secondary); }
@media (min-width: 768px) { .donate { padding: 5rem 0; } }
.donate__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
@media (min-width: 768px) { .donate__grid { grid-template-columns: 1fr auto; } }
.donate__eyebrow { color: var(--color-accent); font-family: var(--font-body); font-weight: 700; text-transform: uppercase; font-size: 0.875rem; line-height: 1.25rem; }
.donate__title { font-family: var(--font-display); font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; margin-top: 0.5rem; }
.donate__text { font-family: var(--font-body); color: var(--color-muted-foreground); margin-top: 1rem; max-width: 42rem; }
.donate__links { display: flex; flex-direction: column; gap: 0.75rem; font-family: var(--font-body); }
.donate__links a { display: inline-flex; gap: 0.5rem; align-items: center; color: var(--color-accent); text-decoration: underline; word-break: break-all; }

/* Owner */
.owner-section { background-color: var(--color-secondary); }
.owner__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; margin-bottom: 3.5rem; }
@media (min-width: 1024px) { .owner__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .owner__photo { grid-column: span 2 / span 2; } .owner__copy { grid-column: span 3 / span 3; } }
.owner__photo { position: relative; max-width: 24rem; margin: 0 auto; width: 100%; }
.owner__photo-bg { position: absolute; inset: -0.75rem; background-color: var(--color-primary); border-radius: 2rem; transform: rotate(3deg); }
.owner__photo-img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2rem; }
.owner__title { margin-bottom: 1.5rem; }
.owner-gallery { gap: 0.75rem; }
.owner-gallery--mobile { display: flex; height: 900px; }
.owner-gallery--desktop { display: none; height: 820px; }
@media (min-width: 640px) { .owner-gallery--mobile { height: 1100px; } }
@media (min-width: 768px) { .owner-gallery { gap: 1rem; } .owner-gallery--mobile { display: none; } .owner-gallery--desktop { display: flex; } }
@media (min-width: 1024px) { .owner-gallery--desktop { height: 900px; } }
.owner-gallery__col { display: flex; flex: 1 1 0%; min-width: 0; flex-direction: column; gap: 0.75rem; }
@media (min-width: 768px) { .owner-gallery__col { gap: 1rem; } }
.owner-gallery__item { display: flex; flex: 1 1 0%; flex-basis: 0; min-height: 0; overflow: hidden; border-radius: 1rem; box-shadow: var(--shadow-soft); background-color: var(--color-muted); }
.owner-gallery__item img { width: 100%; height: 100%; object-fit: cover; border-radius: 1rem; display: block; }
.grow-2 { flex-grow: 2; } .grow-3 { flex-grow: 3; } .grow-4 { flex-grow: 4; }

/* FAQ */
.faq__list > * + * { margin-top: 0.75rem; }
.faq__item { background-color: var(--color-card); border-radius: 1rem; padding: 0 1.5rem; border: 1px solid var(--color-border); }
.faq__summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.faq__summary::-webkit-details-marker { display: none; }
.faq__plus { color: var(--color-accent); font-size: 1.5rem; line-height: 2rem; transition: transform 0.15s var(--transition-smooth); }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__answer { padding-bottom: 1.25rem; color: var(--color-muted-foreground); font-family: var(--font-body); }

/* Contact */
.contact { scroll-margin-top: 6rem; background-color: var(--color-secondary); padding: 5rem 0; }
@media (min-width: 768px) { .contact { padding: 7rem 0; } }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact__title { margin-bottom: 1.25rem; }
.contact__desc { color: var(--color-muted-foreground); font-family: var(--font-body); margin-bottom: 2rem; max-width: 28rem; }
.contact__social { display: flex; gap: 0.75rem; }
.contact__social a { width: 2.75rem; height: 2.75rem; border-radius: 9999px; background-color: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; transition: background-color 0.15s var(--transition-smooth); }
.contact__social a:hover { background-color: var(--color-accent); }
.contact__card { background-color: var(--color-card); border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow-elevated); }
@media (min-width: 768px) { .contact__card { padding: 2.5rem; } }
.contact__card-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; }
.contact__card-text { font-family: var(--font-body); color: var(--color-muted-foreground); margin-top: 0.75rem; }
.contact__links { margin-top: 1.75rem; }
.contact__links > * + * { margin-top: 0.75rem; }
.contact__link { display: flex; align-items: center; gap: 1rem; border-radius: 1rem; background-color: var(--color-secondary); padding: 1rem 1.25rem; font-family: var(--font-body); font-weight: 700; transition: color 0.15s var(--transition-smooth), background-color 0.15s var(--transition-smooth); }
.contact__link:hover { background-color: var(--color-accent); color: var(--color-accent-foreground); }
.contact__icon { width: 2.75rem; height: 2.75rem; border-radius: 9999px; background-color: var(--color-card); display: flex; align-items: center; justify-content: center; color: var(--color-accent); flex-shrink: 0; transition: background-color 0.15s var(--transition-smooth); }
.contact__link:hover .contact__icon { background-color: color-mix(in srgb, var(--color-card) 60%, transparent); }
.contact__link-body { min-width: 0; }
.contact__label { display: block; font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.15em; opacity: 0.7; }
.contact__value { display: block; }
.contact__value--break { word-break: break-all; }
.contact__note { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); margin-top: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.contact__note-icon { flex-shrink: 0; color: var(--color-accent); }

/* ---------- Footer ---------- */
.site-footer { background-color: var(--color-foreground); color: var(--color-background); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.site-footer__brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.site-footer .site-logo-img { height: var(--logo-height) !important; width: var(--logo-height) !important; background-color: var(--color-background); }
.site-footer__brand-name { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.site-footer__tagline { font-size: 0.875rem; line-height: 1.25rem; opacity: 0.8; font-family: var(--font-body); max-width: 20rem; }
.site-footer__social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.site-footer__social a { width: 2.75rem; height: 2.75rem; border-radius: 9999px; background-color: color-mix(in srgb, var(--color-background) 10%, transparent); display: flex; align-items: center; justify-content: center; transition: background-color 0.15s var(--transition-smooth); }
.site-footer__social a:hover { background-color: var(--color-accent); }
.site-footer__heading { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; margin-bottom: 1rem; }
.site-footer__nav .theme-nav-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.site-footer__nav a { font-size: 0.875rem; line-height: 1.25rem; opacity: 0.8; font-family: var(--font-body); padding: 0.25rem 0; display: inline-block; }
.site-footer__nav a:hover { opacity: 1; }
.site-footer__contact { font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); opacity: 0.9; }
.site-footer__contact > * + * { margin-top: 0.75rem; }
.site-footer__contact li { display: flex; gap: 0.5rem; align-items: center; }
.site-footer__contact a { word-break: break-all; }
.site-footer__contact a:hover { text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent); padding: 1rem 0; text-align: center; font-size: 0.75rem; line-height: 1rem; font-family: var(--font-body); opacity: 0.7; }
.site-footer__dot { margin: 0 0.5rem; opacity: 0.5; }
.site-footer__credit { opacity: 1; }
.site-footer__credit a { text-decoration: underline; }

/* ---------- Inner pages ---------- */
.page-main, .product-main { padding-top: 6rem; min-height: 60vh; }
@media (min-width: 1024px) { .page-main, .product-main { padding-top: 7rem; } }
.page-main { padding-bottom: 4rem; }
.page-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; margin-bottom: 1.5rem; padding-top: 2.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.25rem; line-height: 2.5rem; } }
.entry-content > * + * { margin-top: 1rem; }
.not-found { display: flex; min-height: 100vh; align-items: center; justify-content: center; background-color: var(--color-muted); }
.not-found__inner { text-align: center; }
.not-found__title { margin-bottom: 1rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; }
.not-found__text { margin-bottom: 1rem; font-size: 1.25rem; line-height: 1.75rem; color: var(--color-muted-foreground); }
.not-found__link { color: var(--color-primary); text-decoration: underline; }
.not-found__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ---------- Single product ---------- */
.product-back { padding: 1.5rem 0; }
.product-back__link { display: inline-flex; align-items: center; font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); font-family: var(--font-body); transition: color 0.15s var(--transition-smooth); }
.product-back__link svg { margin-right: 0.5rem; }
.product-back__link:hover { color: var(--color-foreground); }
.single-product .theme-product-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-bottom: 5rem; min-width: 0; }
@media (min-width: 1024px) { .single-product .theme-product-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }
.single-product .theme-product-layout > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.single-product .theme-product-gallery { grid-column: 1; }
.single-product .theme-product-info { grid-column: 1; }
@media (min-width: 1024px) {
  .single-product .theme-product-gallery,
  .single-product .theme-product-info { grid-column: auto; }
}
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-main { position: relative; aspect-ratio: 3 / 4; background-color: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; }
.theme-main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fade-img { transition: opacity 0.5s cubic-bezier(0.25, 0.4, 0.25, 1); }
html.js-ready .fade-img:not(.is-loaded) { opacity: 0; }
.single-product .theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
.theme-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 2px solid transparent; opacity: 0.6; transition: all 0.15s var(--transition-smooth); background-color: var(--color-secondary); }
.theme-thumb:hover { opacity: 1; }
.theme-thumb.is-active { border-color: var(--color-primary); opacity: 1; }
.theme-thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-product-info { padding: 0; }
@media (min-width: 1024px) { .theme-product-info { padding-top: 2.5rem; padding-bottom: 2.5rem; } }
.theme-product-cats { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.product-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 700; margin-top: 0.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; line-height: 2.25rem; } }
.theme-product-price { font-size: 1.5rem; line-height: 2rem; margin-bottom: 1.5rem; font-family: var(--font-body); font-weight: 600; color: var(--color-primary); }
.theme-product-price .theme-price-suffix { font-size: inherit; font-weight: 600; color: inherit; }
.theme-product-price .amount, .theme-product-price .price { color: inherit; }
.theme-product-price del { opacity: 0.6; margin-right: 0.5rem; }
.theme-product-price ins { text-decoration: none; }
.theme-stock-label { color: var(--color-accent); font-family: var(--font-body); font-weight: 700; margin-bottom: 1rem; }
.theme-product-desc { color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 2rem; font-family: var(--font-body); white-space: pre-line; overflow-wrap: break-word; word-break: break-word; }
.theme-product-desc p + p { margin-top: 1rem; }
.theme-add-to-cart-area, .single-product .theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; display: flex; align-items: center; transition: background-color 0.15s var(--transition-smooth); }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input { width: 3rem; min-width: 48px; padding: 0.75rem 0; text-align: center; font-family: var(--font-body); background: transparent; border: 0; outline: none; -moz-appearance: textfield; appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; text-transform: none; }
.single-product .woocommerce-product-details__short-description, .single-product .woocommerce-variation-description, .single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
.theme-product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-product-details__title { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; margin-bottom: 1rem; font-family: var(--font-body); }
.theme-product-details ul > * + * { margin-top: 0.5rem; }
.theme-product-details li { display: flex; align-items: flex-start; font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-product-details li::before { content: ''; flex-shrink: 0; width: 0.375rem; height: 0.375rem; background-color: var(--color-primary); border-radius: 9999px; margin-top: 0.5rem; margin-right: 0.75rem; }
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-title { font-size: 1.5rem; line-height: 2rem; } }

/* Variations */
.single-product .variations, .single-product .variations tbody, .single-product .variations tr, .single-product .variations td { display: block; width: 100%; }
.single-product .variations { margin-bottom: 1.5rem; }
.single-product .variations tr + tr { margin-top: 1.5rem; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; font-size: 0.875rem; line-height: 1.25rem; display: block; margin-bottom: 0.75rem; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 0.875rem; line-height: 1.25rem; border: 1px solid var(--color-border); font-family: var(--font-body); transition: all 0.15s var(--transition-smooth); }
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-attr-pill.is-selected { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-attr-pill__dot { width: 1rem; height: 1rem; border-radius: 9999px; border: 1px solid var(--color-border); }
.single_variation_wrap .woocommerce-variation-price { margin-bottom: 1rem; font-family: var(--font-body); font-weight: 600; color: var(--color-primary); }

/* WooCommerce buttons (override WooCommerce .button styles) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !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.25rem !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover { opacity: 0.9 !important; background-color: var(--color-primary) !important; color: var(--color-button-text) !important; }
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled { cursor: not-allowed !important; opacity: 0.5 !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.5 !important; background-color: var(--color-primary) !important; }
.single_add_to_cart_button .theme-icon-check { width: 1rem; height: 1rem; margin-right: 0.5rem; }
.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-error, .woocommerce-info { list-style: none; border: 1px solid var(--color-border); border-radius: calc(var(--radius) - 2px); padding: 0.75rem 1rem; margin-bottom: 1rem; background-color: var(--color-card); font-family: var(--font-body); font-size: 0.875rem; }
.woocommerce-error { border-color: var(--color-destructive); color: var(--color-destructive); }

/* ---------- Cart drawer ---------- */
#theme-cart-overlay { display: none; position: fixed; inset: 0; background-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); z-index: 50; }
#theme-cart-drawer { display: none; position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background-color: var(--color-background); z-index: 51; box-shadow: var(--shadow-elevated); flex-direction: column; }
body.cart-open #theme-cart-overlay { display: block; }
body.cart-open #theme-cart-drawer { display: flex; }
body.cart-open.cart-opening #theme-cart-overlay { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
body.cart-open.cart-opening #theme-cart-drawer { animation: slideUp 0.6s var(--transition-smooth) forwards; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.cart-drawer__close { padding: 0.25rem; transition: opacity 0.15s var(--transition-smooth); }
.cart-drawer__close:hover { opacity: 0.6; }
.cart-drawer__empty { flex: 1 1 0%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-drawer__empty > svg { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.cart-drawer__empty-text { color: var(--color-muted-foreground); margin-bottom: 1.5rem; font-family: var(--font-body); }
.cart-drawer__items { flex: 1 1 0%; overflow: auto; padding: 1.5rem; }
.cart-drawer__items > * + * { margin-top: 1.5rem; }
.cart-item { display: flex; gap: 1rem; }
.cart-item__thumb { display: block; width: 5rem; height: 6rem; background-color: var(--color-secondary); overflow: hidden; flex-shrink: 0; }
.cart-item__img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__body { flex: 1 1 0%; min-width: 0; }
.cart-item__name { display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-body); transition: opacity 0.15s var(--transition-smooth); }
.cart-item__name:hover { opacity: 0.7; }
.cart-item__meta, .cart-item__price { font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); margin-top: 0.125rem; font-family: var(--font-body); }
.cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-item__qty-btn { padding: 0.25rem; border-radius: calc(var(--radius) - 4px); display: flex; transition: background-color 0.15s var(--transition-smooth); }
.cart-item__qty-btn:hover { background-color: var(--color-secondary); }
.cart-item__qty { font-size: 0.875rem; line-height: 1.25rem; width: 1.5rem; text-align: center; font-family: var(--font-body); }
.cart-item__remove { margin-left: auto; font-size: 0.75rem; line-height: 1rem; color: var(--color-muted-foreground); font-family: var(--font-body); transition: color 0.15s var(--transition-smooth); }
.cart-item__remove:hover { color: var(--color-foreground); }
.cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); }
.cart-drawer__footer > * + * { margin-top: 1rem; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); }
.cart-drawer__subtotal-label { color: var(--color-muted-foreground); }
.cart-drawer__subtotal-value { font-weight: 500; }
.cart-drawer__note { font-size: 0.75rem; line-height: 1rem; color: var(--color-muted-foreground); font-family: var(--font-body); }

/* ---------- Reveal animations ---------- */
html.js-reveal .reveal-item { opacity: 0; transform: translateY(30px); transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
html.js-reveal .reveal-item.is-visible { opacity: 1; transform: none; }
html.js-reveal .scale-in-item { opacity: 0; transform: scale(0.95); transition: opacity 0.5s var(--transition-smooth), transform 0.5s var(--transition-smooth); }
html.js-reveal .scale-in-item.is-visible { opacity: 1; transform: scale(1); }
html.js-reveal .scale-in-item.is-visible.rot-pos:hover { transform: rotate(1.5deg) scale(1.02); transition-duration: 0.3s; }
html.js-reveal .scale-in-item.is-visible.rot-neg:hover { transform: rotate(-1.5deg) scale(1.02); transition-duration: 0.3s; }
.scale-in-item.rot-pos:hover { transform: rotate(1.5deg) scale(1.02); }
.scale-in-item.rot-neg:hover { transform: rotate(-1.5deg) scale(1.02); }
body.is-customizer .reveal-item,
body.is-customizer .scale-in-item,
body.is-customizer .hero-anim { opacity: 1 !important; transform: none !important; animation: none !important; }

/* ---------- Cart & checkout pages (native WooCommerce blocks) ---------- */
body.woocommerce-checkout .site-main, body.woocommerce-cart .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
body.woocommerce-checkout .page-title, body.woocommerce-cart .page-title, body.woocommerce-account .page-title { padding-top: 2rem; }
body.woocommerce-checkout .entry-content, body.woocommerce-cart .entry-content, body.woocommerce-account .entry-content { max-width: none; }
body.woocommerce-checkout .wc-block-checkout, body.woocommerce-cart .wc-block-cart { font-family: var(--font-body); color: var(--color-foreground); }
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--checkout-gap, 2rem); align-items: start; }
}
body.woocommerce-checkout .wc-block-checkout { display: block; }
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large { display: grid; }
body.woocommerce-checkout .wc-block-components-notice-banner, body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices { grid-column: 1 / -1; }
body.woocommerce-checkout .wc-block-checkout__main, body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; padding: 0; }
body.woocommerce-checkout .wc-block-checkout__sidebar { background-color: var(--color-secondary); border-radius: 1.5rem; padding: 2rem; }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input.is-active input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select-control__select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-form-token-field__input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-address-form input[type="text"],
body.woocommerce-checkout .wc-block-components-address-form input[type="tel"],
body.woocommerce-checkout .wc-block-components-address-form input[type="email"],
body.woocommerce-checkout .wc-block-components-address-form select { width: 100% !important; max-width: none !important; font-family: var(--font-body) !important; font-size: 1rem !important; line-height: 1.5 !important; color: var(--color-foreground) !important; background-color: var(--color-background) !important; border: 1px solid var(--color-border) !important; border-radius: calc(var(--radius) - 2px) !important; box-shadow: none !important; padding: revert !important; min-height: unset !important; }
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-combobox .wc-block-components-combobox-control input:focus { border-color: var(--color-primary) !important; box-shadow: 0 0 0 1px var(--color-primary) !important; outline: none !important; }
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select-control__container,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control { border: none !important; background: transparent !important; box-shadow: none !important; }
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select-control__select { appearance: auto !important; }
body.woocommerce-checkout .wc-block-components-title, body.woocommerce-checkout .wc-block-components-checkout-step__title { font-family: var(--font-display); font-weight: 700; color: var(--color-foreground); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button, body.woocommerce-cart .wc-block-cart__submit-button { background-color: var(--color-primary); color: var(--color-primary-foreground); border-radius: calc(var(--radius) - 2px); font-family: var(--font-body); font-weight: 500; text-transform: none; border: 0; }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover, body.woocommerce-cart .wc-block-cart__submit-button:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, transparent); }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: calc(var(--radius) - 2px); font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-order-summary, body.woocommerce-checkout .wc-block-components-totals-wrapper { border-color: var(--color-border); }
body.woocommerce-checkout .woocommerce-form-row input.input-text,
body.woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .form-row select,
body.woocommerce-cart .woocommerce-form-row input.input-text,
body.woocommerce-cart .form-row .input-text,
body.woocommerce-cart .form-row select { width: 100% !important; max-width: none !important; font-family: var(--font-body) !important; font-size: 1rem !important; color: var(--color-foreground) !important; border: 1px solid var(--color-border) !important; border-radius: calc(var(--radius) - 2px) !important; background-color: var(--color-background) !important; padding: revert !important; box-shadow: none !important; }

/* Thank you */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.5rem 0; padding: 0; list-style: none; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; color: var(--color-muted-foreground); text-transform: uppercase; letter-spacing: 0.1em; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; color: var(--color-foreground); text-transform: none; letter-spacing: 0; font-size: 1rem; }
body.theme-thankyou-page .woocommerce-order h2, body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border: 1px solid var(--color-border); border-radius: 1rem; }
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(--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; padding: 1rem; border: 1px solid var(--color-border); border-radius: 1rem; }
