/* =========================================================
   Art By Tasha — theme.css
   ========================================================= */

:root {
    --color-background: #f6f3ee;
    --color-foreground: #211f1c;
    --color-primary: #c85a32;
    --color-primary-foreground: #faf8f5;
    --color-secondary: #ede7de;
    --color-secondary-foreground: #322f29;
    --color-muted: #ded8cf;
    --color-muted-foreground: #635d54;
    --color-accent: #d49a35;
    --color-accent-foreground: #211f1c;
    --color-border: #dad4c8;
    --color-teal: #2b6b73;
    --color-indigo: #255056;
    --color-butter: #f1e9da;
    --color-destructive: #c22929;
    --color-surface-deep: #272420;

    --font-display: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-script: 'Allura', cursive;
    --font-display-fallback: 'Cormorant Garamond', serif;

    --shadow-soft: 0 4px 20px -4px rgba(33, 31, 28, 0.10);
    --shadow-elevated: 0 8px 40px -8px rgba(33, 31, 28, 0.22);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    --radius: 0.75rem;
    --btn-radius: 999px;
    --btn-height: 3.25rem;
    --btn-padding: 0 2.25rem;
    --btn-font-size: 0.7rem;
    --btn-font-weight: 700;
    --btn-letter-spacing: 0.25em;
    --btn-text-transform: uppercase;
    --btn-icon-padding: 0.6rem;
    --card-radius: 1rem;
    --checkout-gap: 2rem;
    --header-height: 80px;
    --logo-height: 56px;
    --container-max: 80rem;
    --container-padding: 1.5rem;
}

/* ---------------------------------------------------------
   Reset / base
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-foreground);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: inherit; font-size: inherit; letter-spacing: -0.005em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.italic-marigold, .italic-rosa { font-style: italic; }
.italic-marigold { color: var(--color-accent); }
.italic-rosa { color: var(--color-primary); }

img:not(.theme-cover-img):not(.theme-hero-video):not(.theme-product-card-img):not(.theme-product-gallery-img):not(.theme-explore-tile-img) {
    max-width: 100%;
    height: auto;
}
.theme-product-card-img,
.theme-product-gallery-img,
.theme-explore-tile-img,
.theme-cart-item-image img,
.theme-product-main-image-wrap img,
.theme-product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}
.theme-cover-img,
.theme-hero-video,
.theme-about-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.theme-commissions-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    background: transparent;
}

.container-wide { width: 100%; max-width: var(--container-max); margin: 0 auto; padding-left: var(--container-padding); padding-right: var(--container-padding); }
@media (min-width: 1024px) { .container-wide { --container-padding: 2rem; } }

.theme-section-pad { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-section-pad { padding-top: 5rem; padding-bottom: 6rem; } }
.theme-section-pad--explore { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-section-pad--explore { padding-top: 5rem; padding-bottom: 5rem; } }
.theme-section-pad--featured { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-section-pad--featured { padding-top: 6rem; padding-bottom: 6rem; } }
.theme-section-pad--services { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-section-pad--services { padding-top: 7rem; padding-bottom: 7rem; } }
.theme-section-pad--shop { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-section-pad--shop { padding-top: 6rem; padding-bottom: 6rem; } }
.theme-section-pad--comingsoon { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-section-pad--comingsoon { padding-top: 7rem; padding-bottom: 7rem; } }
.theme-eyebrow { display: block; font-family: var(--font-body); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.75rem; }
.theme-eyebrow--teal { color: var(--color-teal); }
.theme-eyebrow--rosa { color: var(--color-primary); }
.theme-eyebrow--marigold { color: var(--color-accent); }
.theme-eyebrow--white { color: #fff; }
.scroll-mt { scroll-margin-top: calc(var(--site-header-offset, 6rem) + 0.5rem); }

.theme-section-header-center { text-align: center; margin-bottom: 2.5rem; }
.theme-section-footer-center { text-align: center; margin-top: 3.5rem; }

.theme-link-underline { position: relative; display: inline-block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; font-family: var(--font-body); }
.theme-link-underline::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--transition-smooth);
}
.theme-link-underline:hover::after { transform: scaleX(1); }
.theme-link-underline--white { color: #fff; font-family: var(--font-display-fallback); font-size: 12px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; }

.theme-btn-hero-primary, .theme-btn-full, .theme-btn-primary, .theme-btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-family: var(--font-display-fallback); font-weight: 700;
    font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
    padding: 1.1rem 2.5rem; transition: background-color 0.2s ease, opacity 0.2s ease, color 0.2s ease;
    border-radius: 0;
}
.theme-btn-hero-primary { background: var(--color-background); color: var(--color-foreground); }
.theme-btn-hero-primary:hover { background: rgba(246,243,238,0.9); }
.theme-btn-hero-primary.theme-btn-dark { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-hero-primary.theme-btn-dark:hover { opacity: 0.9; }
.theme-btn-hero-primary.theme-btn-rosa { background: var(--color-primary); color: var(--color-background); }
.theme-btn-hero-primary.theme-btn-rosa:hover { opacity: 0.9; }

/* ---------------------------------------------------------
   Reveal / motion (Section 2.1)
   --------------------------------------------------------- */
.reveal-item { opacity: 0; transform: translateY(32px); transition: opacity 0.7s cubic-bezier(0.25,0.4,0.25,1), transform 0.7s cubic-bezier(0.25,0.4,0.25,1); }
.reveal-item[data-reveal="fade-scale"] { transform: scale(0.98); }
.reveal-item.is-visible { opacity: 1; transform: none; }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@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.4s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.4s var(--transition-smooth) forwards; }

@keyframes shimmer { from { background-position: 180% 0; } to { background-position: -80% 0; } }
.skeleton-shimmer { background: linear-gradient(100deg, var(--color-muted) 20%, var(--color-secondary) 40%, var(--color-muted) 60%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }

@media (prefers-reduced-motion: reduce) {
    .reveal-item { transition: none; }
    .skeleton-shimmer, .theme-services-track, .theme-gallery-track { animation: none !important; }
}

/* ---------------------------------------------------------
   Announcement bar / scroll progress
   --------------------------------------------------------- */
.theme-announcement-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 52; background: var(--color-foreground); color: var(--color-background); }
.theme-announcement-inner { padding: 0.5rem 0; text-align: center; }
.theme-announcement-text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.theme-announcement-dismiss { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); opacity: 0.7; padding: 0.25rem; }
.theme-announcement-dismiss:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

.theme-scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; transform-origin: left; background: linear-gradient(to right, var(--color-primary), var(--color-accent), var(--color-teal)); transform: scaleX(0); }

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.site-header { position: fixed; top: var(--announcement-height, 0px); left: 0; right: 0; width: 100%; z-index: 50; background: var(--color-background); border-bottom: 1px solid transparent; transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease, top 0.2s ease; }
body { padding-top: var(--site-header-offset, var(--header-height)); }
.site-header.is-solid, .site-header.is-scrolled { background: rgba(246,243,238,0.95); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border-bottom-color: var(--color-border); }
.theme-navbar { display: flex; align-items: center; justify-content: space-between; height: 5rem; position: relative; }
.theme-logo-link { display: flex; align-items: center; background: var(--color-background); border: 1px solid var(--color-border); box-shadow: 0 6px 18px -8px rgba(20,50,60,0.35); padding: 0.5rem 0.75rem; margin-bottom: -1.5rem; position: relative; z-index: 10; }
@media (min-width: 768px) { .theme-logo-link { padding: 0.75rem 1rem; margin-bottom: -2.5rem; } }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; object-fit: contain; }
@media (min-width: 768px) { .site-header .site-logo-img { height: calc(var(--logo-height) * 1.357) !important; } }
.theme-footer-logo-link .site-logo-img { height: var(--logo-height) !important; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; line-height: var(--logo-height); display: block; }

.theme-nav-center { display: none; }
@media (min-width: 1024px) { .theme-nav-center { display: flex; align-items: center; gap: 2rem; position: absolute; left: 50%; transform: translateX(-50%); } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link { font-size: 12px; font-family: var(--font-display-fallback); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; position: relative; }
.theme-nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transition: transform 0.3s var(--transition-smooth); }
.theme-nav-link:hover::after { transform: scaleX(1); }

.theme-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-icon-btn { position: relative; padding: 0.5rem; display: inline-flex; align-items: center; justify-content: center; transition: opacity 0.2s ease; }
.theme-icon-btn:hover { opacity: 0.6; }
.theme-search-toggle { display: none; }
@media (min-width: 768px) { .theme-search-toggle { display: inline-flex; } }
.theme-mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-menu { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-close { display: inline-flex; }

.theme-cart-count { position: absolute; top: -2px; right: -2px; width: 1.25rem; height: 1.25rem; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 999px; }
.theme-cart-count:empty { display: none; }

.theme-mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.theme-mobile-menu.is-open { display: block; }
.theme-mobile-menu .theme-mobile-nav-list,
.theme-mobile-menu .theme-nav-list,
.theme-mobile-menu ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem;
    width: 100%;
}
.theme-mobile-nav-list li,
.theme-mobile-menu ul li { display: block !important; width: 100%; }
.theme-mobile-nav-list a,
.theme-mobile-menu ul a {
    display: block !important;
    width: 100%;
    text-align: left;
    font-size: 14px;
    font-family: var(--font-display-fallback);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.5rem 0;
}
.theme-mobile-nav-list a:hover,
.theme-mobile-menu ul a:hover { color: var(--color-muted-foreground); }
@media (min-width: 1024px) { .theme-mobile-menu { display: none !important; } }

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.theme-hero { background: var(--color-background); }
.theme-hero-media { position: relative; width: 100%; height: 78vh; min-height: 560px; overflow: hidden; }
@media (min-width: 768px) { .theme-hero-media { height: 88vh; min-height: 680px; } }
.theme-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-hero-gradient { position: absolute; inset: 0; background: linear-gradient(to right, rgba(33,31,28,0.55), rgba(33,31,28,0.35), rgba(33,31,28,0.25)); }
.theme-hero-content-wrap { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.theme-hero-content { position: relative; max-width: 56rem; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 3.5rem 1.5rem; }
.theme-hero-glow { position: absolute; inset: 0; z-index: -1; border-radius: 999px; transform: scaleY(0.75); background: radial-gradient(ellipse at center, rgba(20,18,16,0.72) 0%, rgba(20,18,16,0.45) 45%, rgba(20,18,16,0.12) 70%, transparent 85%); filter: blur(2px); }
@media (min-width: 768px) { .theme-hero-glow { transform: scaleY(0.7); } }
.theme-hero-title {
    font-family: var(--font-display); font-weight: 400; font-size: 3rem; line-height: 1.05; color: var(--color-background); margin-bottom: 1.5rem; white-space: nowrap;
    text-shadow: 0 0 35px rgba(255,255,255,0.85), 0 0 70px rgba(255,255,255,0.55), 0 0 120px rgba(255,255,255,0.35), 0 1px 4px rgba(0,0,0,0.2);
}
@media (min-width: 768px) { .theme-hero-title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .theme-hero-title { font-size: 6rem; } }
.theme-hero-subtitle { color: rgba(246,243,238,0.95); font-size: 1rem; line-height: 1.65; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; text-shadow: 0 0 25px rgba(255,255,255,0.8), 0 0 50px rgba(255,255,255,0.5), 0 1px 3px rgba(0,0,0,0.25); }
@media (min-width: 768px) { .theme-hero-subtitle { font-size: 1.125rem; } }
.theme-hero-cta-wrap { display: flex; justify-content: center; }

/* ---------------------------------------------------------
   Explore tiles
   --------------------------------------------------------- */
.explore-heading, .featured-heading, .shop-heading { font-weight: 400; font-size: 1.875rem; text-align: center; }
@media (min-width: 768px) { .explore-heading { font-size: 2.25rem; } .featured-heading, .shop-heading { font-size: 3rem; } }
.theme-explore-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-explore-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; } }
.theme-explore-tile { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; }
.theme-explore-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.25,0.4,0.25,1); }
.theme-explore-tile:hover .theme-explore-tile-img { transform: scale(1.05); }
.theme-explore-tile-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(33,31,28,0.85), rgba(33,31,28,0.4), rgba(33,31,28,0.1)); transition: background 0.5s ease; }
.theme-explore-tile:hover .theme-explore-tile-overlay { background: linear-gradient(to top, rgba(33,31,28,0.9), rgba(33,31,28,0.45), rgba(33,31,28,0.15)); }
.theme-explore-tile-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: var(--color-background); text-align: left; text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.theme-explore-tile-tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.5rem; filter: brightness(1.5); }
.theme-explore-tile-tagline.accent-rosa { color: var(--color-primary); }
.theme-explore-tile-tagline.accent-teal { color: var(--color-teal); }
.theme-explore-tile-tagline.accent-marigold { color: var(--color-accent); }
.tagline-rule { height: 1px; width: 1.5rem; background: currentColor; }
.theme-explore-tile-label { font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; color: var(--color-background); }
@media (min-width: 768px) { .theme-explore-tile-label { font-size: 1.875rem; } }
.theme-explore-tile-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; }

/* ---------------------------------------------------------
   About
   --------------------------------------------------------- */
.theme-about-section { position: relative; overflow: hidden; }
.theme-about-overlay { position: absolute; inset: 0; background: rgba(26,18,9,0.7); }
.theme-about-inner { position: relative; padding: 5rem 1.5rem; }
@media (min-width: 768px) { .theme-about-inner { padding: 7rem 3.5rem; } }
@media (min-width: 1024px) { .theme-about-inner { padding-left: 5rem; padding-right: 5rem; } }
.theme-about-content { max-width: 42rem; margin: 0 auto; text-align: center; text-shadow: 0 0 18px rgba(74,34,10,0.95), 0 2px 10px rgba(58,26,8,0.9); }
.about-heading { font-weight: 600; font-size: 1.875rem; line-height: 1.25; margin-bottom: 2rem; color: #fff; letter-spacing: -0.01em; }
@media (min-width: 768px) { .about-heading { font-size: 2.25rem; } }
.theme-about-paragraph { color: #fff; line-height: 1.65; margin-bottom: 1.25rem; }

/* ---------------------------------------------------------
   Products
   --------------------------------------------------------- */
.theme-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-shop-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; } }
.theme-featured-section .theme-section-header-center { margin-bottom: 3.5rem; }
.theme-featured-section .theme-section-footer-center { margin-top: 3.5rem; }
.theme-featured-products { grid-template-columns: repeat(1, minmax(0,1fr)); gap: 2rem; }
@media (min-width: 768px) { .theme-featured-products { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-featured-products { gap: 3rem; } }
.theme-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 1024px) { .theme-related-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card-wrap.is-hidden-by-filter { display: none !important; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-link { position: absolute; inset: 0; z-index: 1; display: block; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 3/4; background: var(--color-secondary); overflow: hidden; margin-bottom: 1.25rem; transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__image-wrapper { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.theme-product-card__image-wrapper .theme-product-card-img { transition: transform 0.7s cubic-bezier(0.25,0.4,0.25,1); }
.theme-product-card:hover .theme-product-card__image-wrapper .theme-product-card-img { transform: scale(1.04); }
.theme-sold-out-badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3; padding: 0.35rem 0.75rem; font-size: 12px; font-weight: 500; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.18em; background: var(--color-foreground); color: var(--color-background); border-radius: 999px; pointer-events: none; }
.theme-product-card__quick-add {
    position: absolute !important;
    bottom: 0.75rem !important;
    right: 0.75rem !important;
    top: auto !important;
    left: auto !important;
    z-index: 4;
    width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
    border-radius: 999px !important; background: var(--color-background) !important; color: var(--color-foreground) !important; box-shadow: var(--shadow-soft);
    min-height: unset !important;
    padding: 0.6rem !important;
    opacity: 0; transform: translateY(0.5rem); transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
    pointer-events: auto;
    border: none !important;
}
.theme-product-card__quick-add--link { text-decoration: none; }
@media (hover: hover) { .theme-product-card:hover .theme-product-card__quick-add { opacity: 1; transform: translateY(0); } }
@media (max-width: 767px) { .theme-product-card__quick-add { opacity: 1; transform: none; } }
@media (hover: hover) { .theme-product-card__quick-add:hover { transform: scale(1.12) rotate(90deg); } }

.theme-product-card__info { text-align: center; margin-top: 1rem; flex: 1; min-width: 0; position: relative; z-index: 2; }
.theme-product-card__title { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; line-height: 1.4; color: var(--color-foreground); overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } }
.theme-product-card__title-link { color: inherit; transition: color 0.3s ease; }
.theme-product-card:hover .theme-product-card__title-link { color: var(--color-primary); }
.theme-product-card__price { font-family: var(--font-body); font-size: 1rem; font-weight: 400; margin-top: 0.5rem; line-height: 1.25; }
.theme-product-card__price .price del { color: var(--color-muted-foreground); text-decoration: line-through; margin-right: 0.35rem; }
.theme-product-card__price .price ins { text-decoration: none; }

/* ---------------------------------------------------------
   Artist
   --------------------------------------------------------- */
.theme-artist-section { overflow: hidden; }
.theme-artist-grid { display: grid; grid-template-columns: 1fr; min-height: 540px; }
@media (min-width: 1024px) { .theme-artist-grid { grid-template-columns: 2fr 3fr; min-height: 700px; } }
.theme-artist-photo { position: relative; min-height: 360px; overflow: hidden; }
@media (min-width: 1024px) { .theme-artist-photo { min-height: 100%; } }
.theme-artist-text { display: flex; flex-direction: column; justify-content: center; padding: 3.5rem 1.5rem; }
@media (min-width: 768px) { .theme-artist-text { padding: 5rem 2.5rem; } }
@media (min-width: 1024px) { .theme-artist-text { padding: 5rem 4rem; } }
@media (min-width: 1280px) { .theme-artist-text { padding: 5rem 6rem; } }
.theme-artist-pill { display: inline-flex; align-self: flex-start; align-items: center; border: 1px solid rgba(33,31,28,0.2); border-radius: 999px; padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-teal); margin-bottom: 2rem; }
.artist-heading { font-weight: 400; font-size: 2.25rem; line-height: 1.2; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .artist-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .artist-heading { font-size: 3.75rem; } }
.theme-artist-script { font-family: var(--font-script); font-size: 1.875rem; color: var(--color-primary); line-height: 1.2; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-artist-script { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-artist-script { font-size: 3rem; } }
.theme-artist-paragraph { color: rgba(33,31,28,0.75); line-height: 1.65; margin-bottom: 1.25rem; max-width: 42rem; overflow-wrap: break-word; }
.theme-artist-divider { width: 100%; max-width: 42rem; height: 1px; background: rgba(33,31,28,0.15); margin: 2rem 0; }
.theme-artist-signature-name { font-family: var(--font-script); font-size: 1.875rem; margin-bottom: 0.25rem; }
.theme-artist-signature-title { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(33,31,28,0.6); }

/* ---------------------------------------------------------
   Services carousel
   --------------------------------------------------------- */
.theme-services-header, .theme-comingsoon-header { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
@media (min-width: 768px) { .theme-services-header, .theme-comingsoon-header { margin-bottom: 3.5rem; } }
.theme-services-header .theme-eyebrow, .theme-comingsoon-header .theme-eyebrow { margin-bottom: 1rem; }
.comingsoon-heading { margin-bottom: 1.5rem; }
.theme-commissions-text-inner .theme-eyebrow { margin-bottom: 1.25rem; }
.commissions-heading { margin-bottom: 1.75rem; }
.services-heading, .comingsoon-heading, .commissions-heading { font-weight: 400; font-size: 2.5rem; line-height: 1.05; letter-spacing: -0.01em; }
.gallery-heading { font-weight: 400; font-size: 1.875rem; line-height: 1.05; letter-spacing: -0.01em; }
@media (min-width: 768px) { .services-heading, .commissions-heading, .comingsoon-heading { font-size: 3rem; } .gallery-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-heading, .comingsoon-heading, .commissions-heading, .gallery-heading { font-size: 3.75rem; } }
.theme-shop-section .shop-heading { margin-bottom: 2.5rem; }

.theme-services-carousel-wrap { position: relative; }
.theme-carousel-nav { display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--color-background); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); transition: background-color 0.2s ease, color 0.2s ease; }
@media (min-width: 768px) { .theme-carousel-nav { display: flex; } }
.theme-carousel-nav:hover { background: var(--color-primary); color: var(--color-background); border-color: var(--color-primary); }
.theme-carousel-prev { left: -0.5rem; }
.theme-carousel-next { right: -0.5rem; }
@media (min-width: 1024px) { .theme-carousel-prev { left: -1.5rem; } .theme-carousel-next { right: -1.5rem; } }

.theme-services-track { display: flex; gap: 1.5rem; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 0.5rem 0; }
.theme-services-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .theme-services-track { gap: 2rem; } }

.theme-service-card { scroll-snap-align: start; flex: none; width: 85vw; display: flex; flex-direction: column; background: var(--color-background); border: 1px solid var(--color-border); overflow: hidden; box-shadow: var(--shadow-soft); outline: 2px solid transparent; transition: box-shadow 0.5s ease, transform 0.4s cubic-bezier(0.25,0.4,0.25,1), outline-color 0.5s ease; }
.accent-rosa.theme-service-card:hover { outline-color: rgba(200, 90, 50, 0.3); }
.accent-marigold.theme-service-card:hover { outline-color: rgba(212, 154, 53, 0.3); }
.accent-teal.theme-service-card:hover { outline-color: rgba(42, 106, 115, 0.3); }
@media (min-width: 640px) { .theme-service-card { width: 360px; } }
@media (min-width: 1024px) { .theme-service-card { width: 380px; } }
.theme-service-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-10px); }
.theme-service-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.theme-service-card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.1), transparent); opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.theme-service-card:hover .theme-service-card-media::after { opacity: 1; }
.theme-service-card-media img { transition: transform 0.9s ease-out; }
.theme-service-card:hover .theme-service-card-media img { transform: scale(1.1); }
.theme-service-numeral { position: absolute; top: 1rem; left: 1rem; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.3em; padding: 0.25rem 0.5rem; background: rgba(246,243,238,0.9); }
.accent-rosa .theme-service-numeral, .accent-rosa .theme-service-kicker, .accent-rosa .theme-service-icon { color: var(--color-primary); }
.accent-marigold .theme-service-numeral, .accent-marigold .theme-service-kicker, .accent-marigold .theme-service-icon { color: var(--color-accent); }
.accent-teal .theme-service-numeral, .accent-teal .theme-service-kicker, .accent-teal .theme-service-icon { color: var(--color-teal); }
.theme-service-inquire { position: absolute; bottom: 1rem; right: 1rem; color: #fff; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0; transform: translateY(0.5rem); transition: opacity 0.5s ease, transform 0.5s ease; }
.theme-service-card:hover .theme-service-inquire { opacity: 1; transform: none; }
.theme-service-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
@media (min-width: 768px) { .theme-service-card-body { padding: 1.75rem; } }
.theme-service-card-kicker-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.theme-service-icon { display: flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid currentColor; transition: transform 0.5s ease; }
.theme-service-card:hover .theme-service-icon { transform: rotate(360deg) scale(1.1); }
.theme-service-kicker { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; }
.theme-service-title { font-size: 1.5rem; line-height: 1.25; margin-bottom: 0.75rem; letter-spacing: -0.01em; transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-service-title { font-size: 1.875rem; } }
.theme-service-card:hover .theme-service-title { color: var(--color-primary); }
.theme-service-desc { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.65; }
@media (min-width: 768px) { .theme-service-desc { font-size: 1rem; } }

/* ---------------------------------------------------------
   Coming soon
   --------------------------------------------------------- */
.theme-comingsoon-paragraph { color: rgba(33,31,28,0.75); line-height: 1.65; }
.theme-comingsoon-tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.theme-comingsoon-tag { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border: 1px solid var(--color-teal); color: var(--color-teal); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; }
.tag-rule { height: 1px; width: 1rem; background: var(--color-teal); }

/* ---------------------------------------------------------
   Commissions
   --------------------------------------------------------- */
.theme-commissions-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-commissions-grid { grid-template-columns: 1fr 1fr; } }
.theme-commissions-media { position: relative; min-height: 420px; order: 2; }
@media (min-width: 768px) { .theme-commissions-media { min-height: 560px; } }
@media (min-width: 1024px) { .theme-commissions-media { min-height: 640px; order: 2; } }
.theme-commissions-video-wrap { position: absolute; inset: 0; background: #fffdf0; overflow: hidden; }
.theme-commissions-video { cursor: pointer; }
.theme-commissions-text { display: flex; align-items: center; padding: 4rem 1.5rem; order: 1; }
@media (min-width: 768px) { .theme-commissions-text { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .theme-commissions-text { padding: 6rem 5rem; order: 1; } }
@media (min-width: 1280px) { .theme-commissions-text { padding: 6rem 6rem; } }
.theme-commissions-text-inner { max-width: 36rem; }
.theme-commissions-paragraph { color: rgba(33,31,28,0.8); line-height: 1.65; margin-bottom: 1.5rem; }
.theme-commissions-paragraph--italic { font-style: italic; color: rgba(33,31,28,0.7); margin-bottom: 2.5rem; }

/* ---------------------------------------------------------
   Gallery marquee
   --------------------------------------------------------- */
.theme-gallery-header { margin-bottom: 2.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 768px) { .theme-gallery-header { margin-bottom: 3.5rem; } }
.theme-gallery-header-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.theme-gallery-header .theme-eyebrow { margin-bottom: 0.75rem; }
.theme-gallery-track { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; scrollbar-width: none; padding-left: 1.5rem; padding-right: 1.5rem; }
.theme-gallery-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .theme-gallery-track { gap: 1.5rem; padding-left: 3rem; padding-right: 3rem; } }
.theme-gallery-item { flex: none; width: 78%; }
@media (min-width: 640px) { .theme-gallery-item { width: 55%; } }
@media (min-width: 768px) { .theme-gallery-item { width: 40%; } }
@media (min-width: 1024px) { .theme-gallery-item { width: 30%; } }
@media (min-width: 1280px) { .theme-gallery-item { width: 26%; } }
.theme-gallery-link { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; transition: transform 0.3s ease; }
.theme-gallery-link:hover { transform: translateY(-6px); }
.theme-gallery-link img { object-position: top; transition: transform 0.9s cubic-bezier(0.25,0.4,0.25,1); }
.theme-gallery-link:hover img { transform: scale(1.04); }
.theme-gallery-label { position: absolute; inset-inline: 0; bottom: 0; padding: 0.75rem; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-background); background: linear-gradient(to top, rgba(33,31,28,0.7), transparent); opacity: 0; transition: opacity 0.3s ease; }
.theme-gallery-link:hover .theme-gallery-label { opacity: 1; }
.theme-gallery-controls { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.theme-gallery-controls .theme-carousel-nav {
    position: static; transform: none; display: flex;
    width: 3rem; height: 3rem; border-radius: 0;
    background: transparent; border: 1px solid rgba(33,31,28,0.2);
    color: rgba(33,31,28,0.7); box-shadow: none;
}
.theme-gallery-controls .theme-carousel-nav:hover {
    background: transparent; color: var(--color-primary); border-color: var(--color-primary);
}

/* ---------------------------------------------------------
   Shop section
   --------------------------------------------------------- */
.theme-shop-search { position: relative; max-width: 26rem; margin: 0 auto 2rem; }
.theme-shop-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.theme-shop-search input { width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: 0; border-bottom: 1px solid var(--color-border); font-family: var(--font-body); font-size: 0.9rem; }
.theme-shop-search input:focus { outline: none; border-bottom-color: var(--color-foreground); }
.theme-shop-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-filter { padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; border-radius: 999px; border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground); transition: all 0.3s ease; }
.theme-cat-filter:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-cat-filter.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.theme-shop-price-filter-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-price-filter-toggle { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--color-muted-foreground); }
.theme-price-filter-toggle:hover { color: var(--color-foreground); }
.theme-price-filter-toggle svg { transition: transform 0.3s ease; }
.theme-price-filter-toggle.is-open svg { transform: rotate(180deg); }
.theme-price-filter-panel { width: 100%; max-width: 24rem; padding-top: 0.5rem; }
.theme-price-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.5rem; }

.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-secondary); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-shop-empty-state { text-align: center; padding: 5rem 0; display: none; }
.theme-shop-empty-state.is-visible { display: block; }
.theme-shop-empty-state p { max-width: 28rem; margin: 0 auto; color: var(--color-muted-foreground); line-height: 1.65; }
.theme-shop-empty-state a { text-decoration: underline; }
.theme-shop-empty-state a:hover { color: var(--color-foreground); }

/* ---------------------------------------------------------
   Final CTA
   --------------------------------------------------------- */
.theme-final-cta-section { position: relative; overflow: hidden; background: var(--color-butter); }
.theme-final-cta-bg { position: absolute; inset: 0; }
.theme-final-cta-overlay { position: absolute; inset: 0; background: rgba(246,243,238,0.4); }
.theme-final-cta-inner { position: relative; padding: 6rem 0 8rem; }
@media (min-width: 768px) { .theme-final-cta-inner { padding: 8rem 0; } }
.theme-final-cta-card { max-width: 42rem; margin: 0 auto; text-align: center; background: rgba(246,243,238,0.95); backdrop-filter: blur(4px); box-shadow: var(--shadow-elevated); padding: 3rem 2rem; border: 1px solid rgba(218,212,200,0.6); }
@media (min-width: 768px) { .theme-final-cta-card { padding: 4rem 3.5rem; } }
.final-cta-heading { font-weight: 400; font-size: 1.875rem; line-height: 1.25; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .final-cta-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .final-cta-heading { font-size: 3.75rem; } }
.theme-final-cta-paragraph { color: rgba(33,31,28,0.8); line-height: 1.65; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.theme-final-cta-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .theme-final-cta-actions { flex-direction: row; } }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.theme-footer-main { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .theme-footer-main { padding-top: 4rem; padding-bottom: 4rem; } }
.theme-gallery-pad { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-gallery-pad { padding-top: 7rem; padding-bottom: 7rem; } }
.theme-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .theme-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-footer-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.theme-footer-logo-link { display: inline-block; margin-bottom: 1.25rem; }
.theme-footer-brand-text { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.65; max-width: 20rem; }
.theme-footer-heading { font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1.25rem; }
.theme-footer-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-list a { font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-footer-list a:hover { color: var(--color-foreground); }
.theme-footer-contact-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-footer-social-text { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 1.5rem; }
.theme-footer-bottom { border-top: 1px solid var(--color-border); }
.theme-footer-bottom-inner { padding: 1.25rem 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 640px) { .theme-footer-bottom-inner { flex-direction: row; } }
.theme-footer-copy, .theme-footer-credit { font-size: 12px; color: var(--color-muted-foreground); letter-spacing: 0.02em; }
.theme-footer-credit a { text-decoration: underline; }
.theme-footer-credit a:hover { color: var(--color-foreground); }

/* ---------------------------------------------------------
   Contact modal
   --------------------------------------------------------- */
#theme-contact-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.8); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
body.contact-open #theme-contact-overlay { opacity: 1; pointer-events: auto; }
#theme-contact-modal { position: fixed; left: 50%; top: 50%; z-index: 91; width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto; transform: translate(-50%,-48%) scale(0.96); opacity: 0; pointer-events: none; background: var(--color-background); border: 1px solid var(--color-border); box-shadow: var(--shadow-elevated); padding: 1.75rem; border-radius: 0.5rem; transition: opacity 0.2s ease, transform 0.2s ease; }
body.contact-open #theme-contact-modal { opacity: 1; pointer-events: auto; transform: translate(-50%,-50%) scale(1); }
.theme-contact-close { position: absolute; right: 1rem; top: 1rem; opacity: 0.7; }
.theme-contact-close:hover { opacity: 1; }
.theme-contact-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; padding-right: 1.5rem; }
.theme-contact-description { font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-contact-info { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-contact-info a { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-contact-info a:hover { color: var(--color-foreground); }
.theme-contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .theme-contact-form-row { grid-template-columns: 1fr 1fr; } }
.theme-contact-field { margin-bottom: 1rem; }
.theme-contact-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; }
.theme-contact-field input, .theme-contact-field textarea { width: 100%; padding: 0.65rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border); border-radius: 0.375rem; font-size: 1rem; font-family: var(--font-body); resize: none; }
.theme-contact-field input:focus, .theme-contact-field textarea:focus { outline: none; box-shadow: 0 0 0 2px rgba(200,90,50,0.3); }
.theme-contact-form-footer { display: flex; justify-content: flex-end; }
.theme-btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 0.375rem; padding: 0.65rem 1.5rem; }
.theme-btn-primary:hover { opacity: 0.9; }
.theme-btn-outline { border: 1px solid var(--color-border); background: var(--color-background); border-radius: 0.375rem; padding: 0.6rem 1.5rem; }
.theme-btn-outline:hover { background: var(--color-secondary); }
.theme-btn-full { width: 100%; }
.theme-contact-form-error { color: var(--color-destructive); font-size: 0.85rem; margin-top: 0.75rem; }
.theme-contact-success { text-align: center; padding: 2rem 0; }
.theme-contact-success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-contact-success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-success p { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------
   Side cart drawer
   --------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(33,31,28,0.2); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer { position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 96; background: var(--color-background); box-shadow: var(--shadow-elevated); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s var(--transition-smooth); }
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer-inner { display: flex; flex-direction: column; height: 100%; }
.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer-header h2 { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer-close:hover { opacity: 0.6; }
.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer-empty svg { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer-empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-drawer-items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer-item { display: flex; gap: 1rem; }
.theme-cart-item-image { width: 5rem; height: 6rem; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; display: block; }
.theme-cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-body { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 0.875rem; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.15rem; }
.theme-cart-item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.6rem; }
.theme-cart-item-controls button.theme-qty-minus, .theme-cart-item-controls button.theme-qty-plus { padding: 0.25rem; border-radius: 0.25rem; }
.theme-cart-item-controls button:hover { background: var(--color-secondary); }
.theme-cart-item-qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item-remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-item-remove:hover { color: var(--color-foreground); }
.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------
   Single product page
   --------------------------------------------------------- */
.theme-single-product-main { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .theme-single-product-main { padding-top: 7rem; } }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); display: flex; align-items: center; flex-wrap: wrap; }
.theme-breadcrumb a, .theme-breadcrumb-cat a { color: var(--color-muted-foreground); }
.theme-breadcrumb a:hover, .theme-breadcrumb-cat a:hover { color: var(--color-foreground); }
.theme-breadcrumb-cat { display: inline; }
.theme-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb-current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; min-width: 0; padding-bottom: 3rem; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-main-image-wrap { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; overflow-x: auto; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); }
.theme-product-thumb img { opacity: 0.6; transition: opacity 0.2s ease; }
.theme-product-thumb:hover img, .theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground); opacity: 0; transition: opacity 0.2s ease; }
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-info { position: static; }
@media (min-width: 1024px) { .theme-product-info { position: sticky; top: 7rem; align-self: start; } }
.theme-product-category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-category a { color: inherit; }
.theme-product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem; }
@media (min-width: 1024px) { .theme-product-title { font-size: 2.75rem; } }
.theme-product-price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-price .price del { color: var(--color-muted-foreground); text-decoration: line-through; margin-right: 0.5rem; }
.theme-product-price .price ins { text-decoration: none; }
.theme-stock-status--out { color: var(--color-destructive); font-size: 0.875rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.theme-product-teaser { color: var(--color-muted-foreground); line-height: 1.65; margin-bottom: 2rem; font-size: 1rem; overflow-wrap: break-word; }

.theme-attribute-group { margin-bottom: 1.5rem; }
.theme-attribute-label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-weight: 400; }
.theme-attribute-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-pill-btn { padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-family: var(--font-body); border: 1px solid var(--color-border); border-radius: 999px; transition: all 0.2s ease; }
.theme-pill-btn:hover { border-color: rgba(33,31,28,0.6); }
.theme-pill-btn.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.theme-quantity-wrapper { margin-bottom: 1rem; }
.theme-quantity-wrapper--inline { margin-bottom: 0; }
.theme-quantity-label { display: block; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-weight: 600; }
.theme-qty-control, .theme-quantity-wrapper--inline { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-control button, .theme-quantity-wrapper--inline button { padding: 0.6rem 0.75rem; transition: background-color 0.2s ease; }
.theme-qty-control button:hover, .theme-quantity-wrapper--inline button:hover { background: var(--color-secondary); }
.theme-qty-input, .qty.theme-qty-input { width: 2.75rem; text-align: center; border: none; background: transparent; font-family: var(--font-body); font-size: 0.875rem; -moz-appearance: textfield; padding: 0.6rem 0; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-btn-full.single_add_to_cart_button { width: 100%; margin-top: 0.5rem; border-radius: 999px; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.theme-accordion-trigger span { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; font-family: var(--font-body); }
.theme-accordion-trigger svg { transition: transform 0.25s ease; }
.theme-accordion.is-open .theme-accordion-trigger svg { transform: rotate(180deg); }
.theme-accordion-panel { padding-bottom: 1.5rem; font-family: var(--font-body); }
.theme-accordion-panel[hidden] { display: none !important; }
.theme-accordion-panel p {
    font-size: 15px;
    color: var(--color-muted-foreground);
    line-height: 1.65;
    margin-bottom: 0.75rem;
}
.theme-accordion-panel p:last-child { margin-bottom: 0; }
.theme-product-accordions .theme-accordion + .theme-accordion { border-top: 1px solid var(--color-border); }
.theme-product-description, .theme-product-description p { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.65; margin-bottom: 1rem; overflow-wrap: break-word; }
.theme-product-details-list ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details-list li { font-size: 15px; color: var(--color-muted-foreground); display: flex; align-items: flex-start; }
.theme-product-details-list li::before { content: ''; width: 4px; height: 4px; background: var(--color-foreground); border-radius: 999px; margin: 0.5rem 0.75rem 0 0; flex-shrink: 0; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.theme-related-header { text-align: center; margin-bottom: 3rem; }
.theme-related-kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-related-heading { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-heading { font-size: 2.25rem; } }

/* variations table layout */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }
.woocommerce-variation-price, .woocommerce-variation-availability { font-size: 0.9rem; color: var(--color-muted-foreground); margin: 0.5rem 0; }

/* ---------------------------------------------------------
   WooCommerce add-to-cart button overrides (Section 11.4.1)
   --------------------------------------------------------- */
.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-foreground) !important;
    color: var(--color-background) !important;
    border: none !important;
    border-radius: 999px !important;
    min-height: 3.25rem !important;
    padding: 1rem 2.25rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: var(--font-body) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: opacity 0.2s ease, background-color 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-foreground) !important;
    color: var(--color-background) !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.6 !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.6 !important;
    background-color: var(--color-foreground) !important;
}

/* Card compact circular button — overrides global rules, scoped after them */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card__quick-add.add_to_cart_button,
.theme-product-card__quick-add.ajax_add_to_cart,
.related-products-section .theme-product-card__quick-add {
    position: absolute !important;
    bottom: 0.75rem !important;
    right: 0.75rem !important;
    top: auto !important;
    left: auto !important;
    min-height: unset !important;
    height: 2.5rem !important;
    width: 2.5rem !important;
    padding: var(--btn-icon-padding) !important;
    border-radius: 50% !important;
    background: var(--color-background) !important;
    color: var(--color-foreground) !important;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide WooCommerce's injected "View cart" link */
.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; }

/* ---------------------------------------------------------
   Archive / shop page
   --------------------------------------------------------- */
.theme-archive-main { padding-top: 2.5rem; padding-bottom: 5rem; }
.theme-archive-header { text-align: center; margin-bottom: 2.5rem; }
.page-title { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; margin-bottom: 1rem; }
.theme-archive-empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------
   404
   --------------------------------------------------------- */
.theme-404-main { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-muted); }
.theme-404-inner { text-align: center; padding: 4rem 0; }
.theme-404-inner h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404-inner p { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }
.theme-404-link:hover { opacity: 0.9; }

/* ---------------------------------------------------------
   Generic page (entry-content / no-hero pages)
   --------------------------------------------------------- */
.site-main { padding-top: 3rem; padding-bottom: 4rem; }
body.theme-no-hero .site-main { padding-top: calc(var(--header-height) + 1rem); }
.entry-content { font-family: var(--font-body); line-height: 1.7; }
.entry-content p { margin-bottom: 1rem; }

/* ---------------------------------------------------------
   WooCommerce Checkout Block overrides (Section 13)
   --------------------------------------------------------- */
body.woocommerce-checkout .site-main {
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 4rem;
}
body.woocommerce-checkout .wc-block-checkout {
    display: block;
    font-family: var(--font-body);
}
@media (min-width: 768px) {
    body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--checkout-gap);
        align-items: start;
    }
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
    min-width: 0;
    width: 100%;
    max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout select,
body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout input[type="number"],
body.woocommerce-checkout textarea {
    width: 100% !important;
    max-width: none !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 0.375rem !important;
    background: var(--color-background) !important;
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    color: var(--color-foreground) !important;
    box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder,
body.woocommerce-checkout input::placeholder,
body.woocommerce-checkout textarea::placeholder {
    color: var(--color-muted-foreground) !important;
    opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout input:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible,
body.woocommerce-checkout .wc-block-components-select select:focus-visible {
    outline: none !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input {
    padding: revert;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    background: var(--color-primary) !important;
    color: var(--color-primary-foreground) !important;
    border-radius: var(--btn-radius) !important;
    font-family: var(--font-body) !important;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    font-weight: 700;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-components-notice-banner {
    border-radius: 0.5rem;
    font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
    background-color: var(--color-secondary);
    border-radius: var(--card-radius);
    padding: 2rem;
}
body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-checkbox label {
    font-family: var(--font-body);
}

/* ---------------------------------------------------------
   Cart / My Account width parity (Section 13.7)
   --------------------------------------------------------- */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 4rem;
}

/* ---------------------------------------------------------
   Thank you page (Section 22.8)
   --------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-details,
body.theme-thankyou-page .woocommerce-customer-details { font-family: var(--font-body); }
body.theme-thankyou-page h2,
body.theme-thankyou-page .woocommerce-order-details__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
    display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-details table {
    width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
    padding: 0.75rem; 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;
}
body.theme-thankyou-page .woocommerce-customer-details address {
    max-width: 480px; overflow-wrap: break-word;
}
@media (min-width: 768px) {
    body.theme-thankyou-page .woocommerce-customer-details {
        display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
    }
    body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }
}

/* ---------------------------------------------------------
   Customizer controls (admin panel)
   --------------------------------------------------------- */
.theme-media-control { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-media-url-input { width: 100%; min-width: 0; box-sizing: border-box; }
.theme-media-preview { max-width: 100%; height: auto; display: block; }
