/* ========================================
   You Name It Media - Custom Storefront
   Creative/artsy + Midwest warmth
   ======================================== */

:root {
    --teal: #028FA4;
    --teal-dark: #026d7e;
    --teal-light: #03b5d1;
    --teal-glow: rgba(2, 143, 164, 0.15);
    --cream: #faf7f2;
    --warm-white: #fefcf9;
    --sand: #e8dfd4;
    --clay: #c4a882;
    --rust: #c45d3e;
    --rust-light: #e87a5c;
    --charcoal: #2a2a2a;
    --dark: #1a1a1a;
    --ink: #0b0b0c;
    --text: #333333;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5ddd3;
    --border-light: #f0ebe4;
    --success: #059669;
    --error: #dc2626;
    --warning: #d97706;
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    --shadow-teal: 0 4px 20px rgba(2, 143, 164, 0.25);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--warm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { margin-bottom: var(--space-md); }

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--teal-dark), var(--teal));
    color: #fff;
    font-size: 0.78rem;
    padding: 6px var(--space-xl);
    position: relative;
    z-index: 1001;
}
.announcement-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}
.announcement-social {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}
.announcement-social a {
    color: rgba(255,255,255,0.8);
    transition: color 0.2s ease;
    display: flex;
}
.announcement-social a:hover { color: #fff; }
.announcement-text {
    font-weight: 500;
    letter-spacing: 0.3px;
}
@media (max-width: 768px) {
    .announcement-inner { justify-content: center; }
    .announcement-social { display: none; }
    .announcement-text { font-size: 0.75rem; text-align: center; }
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--teal);
    color: #fff;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-weight: 600;
}
.skip-link:focus { top: var(--space-md); color: #fff; }

/* ========================================
   Header
   ======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--charcoal);
    text-decoration: none;
    letter-spacing: -0.3px;
}
.logo img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.logo span {
    font-weight: 800;
    background: linear-gradient(135deg, var(--charcoal), var(--teal-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo:hover span {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    -webkit-background-clip: text;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}
.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: var(--space-xs) 0;
}
.nav-links a:not(.nav-dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width var(--transition);
    border-radius: 2px;
}
.nav-links a:not(.nav-dropdown-toggle):hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--teal); }

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text);
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.cart-link:hover { background: var(--teal-glow); color: var(--teal); }
.cart-link svg { width: 22px; height: 22px; }
.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--rust);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition);
}
.cart-count.visible { opacity: 1; transform: scale(1); }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    cursor: pointer;
}
.nav-dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 5px;
    margin-bottom: 2px;
    transition: transform 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown-toggle::after {
    transform: rotate(-135deg);
}
/* Invisible hover bridge so dropdown doesn't close */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 16px;
    display: none;
}
.nav-dropdown:hover::before { display: block; }

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    min-width: 220px;
    padding: var(--space-xs) 0;
    z-index: 2000;
    list-style: none;
}
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a {
    display: block;
    padding: 9px var(--space-lg);
    color: var(--text) !important;
    font-size: 0.88rem !important;
    font-weight: 400 !important;
    white-space: nowrap;
    -webkit-text-fill-color: var(--text);
}
.nav-dropdown-menu a::after { display: none !important; width: 0 !important; }
.nav-dropdown-menu a:hover {
    background: var(--cream);
    color: var(--teal) !important;
    -webkit-text-fill-color: var(--teal);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    color: var(--text);
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}
.mobile-menu-btn svg { width: 24px; height: 24px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    min-height: 44px;
    line-height: 1;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover {
    background: var(--teal-dark); color: #fff;
    transform: translateY(-2px); box-shadow: var(--shadow-teal);
}
.btn-secondary { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-secondary:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.btn-rust { background: var(--rust); color: #fff; }
.btn-rust:hover { background: var(--rust-light); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ink) 0%, #1a2e35 50%, var(--teal-dark) 100%);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80px 60px at 15% 20%, rgba(2, 143, 164, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse 120px 90px at 85% 30%, rgba(196, 93, 62, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 60px 80px at 45% 80%, rgba(2, 143, 164, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 100px 50px at 70% 70%, rgba(196, 168, 130, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 40px 40px at 25% 60%, rgba(2, 143, 164, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 70px 70px at 90% 85%, rgba(196, 93, 62, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.hero-dot {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    z-index: 1;
}
.hero-dot:nth-child(1) { width: 12px; height: 12px; background: var(--teal-light); top: 20%; left: 10%; animation: float-dot 6s ease-in-out infinite; }
.hero-dot:nth-child(2) { width: 8px; height: 8px; background: var(--rust); top: 60%; left: 80%; animation: float-dot 8s ease-in-out infinite reverse; }
.hero-dot:nth-child(3) { width: 16px; height: 16px; background: var(--clay); top: 75%; left: 25%; animation: float-dot 7s ease-in-out infinite 1s; }
.hero-dot:nth-child(4) { width: 6px; height: 6px; background: var(--teal); top: 30%; left: 70%; animation: float-dot 5s ease-in-out infinite 0.5s; }
.hero-dot:nth-child(5) { width: 10px; height: 10px; background: var(--rust-light); top: 45%; left: 50%; animation: float-dot 9s ease-in-out infinite 2s; }

@keyframes float-dot {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(15px, -20px) scale(1.3); }
    50% { transform: translate(-10px, -35px) scale(0.8); }
    75% { transform: translate(20px, -15px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}
.hero-content-centered {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-text { color: #fff; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--teal-light);
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(4px);
}
.hero-badge svg { width: 16px; height: 16px; }
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}
.hero-title .highlight {
    background: linear-gradient(135deg, var(--teal-light), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
    max-width: 500px;
}
.hero-buttons { display: flex; gap: var(--space-md); flex-wrap: wrap; }

.hero-showcase {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}
.hero-product-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}
.hero-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(2, 143, 164, 0.4);
    box-shadow: 0 8px 30px rgba(2, 143, 164, 0.2);
}
.hero-product-card:nth-child(2) { margin-top: var(--space-2xl); }
.hero-product-card:nth-child(3) { margin-top: calc(var(--space-2xl) * -1); }
.hero-product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero-product-info {
    padding: var(--space-sm) var(--space-md);
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
}

/* Product Marquee Strip */
.marquee-strip {
    background: var(--ink);
    padding: var(--space-lg) 0;
    overflow: hidden;
    position: relative;
}
.marquee-strip::before,
.marquee-strip::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.marquee-strip::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee-strip::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }

.marquee-track {
    display: flex;
    gap: var(--space-md);
    animation: marquee-scroll 40s linear infinite;
    width: max-content;
}
.marquee-item {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    display: block;
}
.marquee-item:hover {
    border-color: var(--teal);
    transform: scale(1.1);
    z-index: 3;
}
.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Floating hero product images */
.hero-float {
    position: absolute;
    z-index: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.1);
    opacity: 0;
    animation: float-product-in 1s ease forwards;
}
.hero-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-float-1 {
    width: 140px; height: 140px;
    top: 12%; left: 5%;
    transform: rotate(-8deg);
    animation-delay: 0.3s;
}
.hero-float-2 {
    width: 120px; height: 120px;
    top: 8%; right: 8%;
    transform: rotate(6deg);
    animation-delay: 0.5s;
}
.hero-float-3 {
    width: 130px; height: 130px;
    bottom: 22%; left: 3%;
    transform: rotate(5deg);
    animation-delay: 0.7s;
}
.hero-float-4 {
    width: 150px; height: 150px;
    bottom: 18%; right: 4%;
    transform: rotate(-5deg);
    animation-delay: 0.9s;
}
.hero-float-5 {
    width: 100px; height: 100px;
    top: 50%; left: 18%;
    transform: rotate(-3deg) translateY(-50%);
    animation-delay: 1.1s;
}
.hero-float-6 {
    width: 110px; height: 110px;
    top: 45%; right: 15%;
    transform: rotate(4deg);
    animation-delay: 1.3s;
}

@keyframes float-product-in {
    0% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    100% { opacity: 0.85; }
}

/* Gentle floating motion on hero products */
.hero-float-1 { animation: float-product-in 1s ease 0.3s forwards, hero-product-bob 6s ease-in-out 1.3s infinite; }
.hero-float-2 { animation: float-product-in 1s ease 0.5s forwards, hero-product-bob 7s ease-in-out 1.5s infinite; }
.hero-float-3 { animation: float-product-in 1s ease 0.7s forwards, hero-product-bob 8s ease-in-out 1.7s infinite; }
.hero-float-4 { animation: float-product-in 1s ease 0.9s forwards, hero-product-bob 6.5s ease-in-out 1.9s infinite; }
.hero-float-5 { animation: float-product-in 1s ease 1.1s forwards, hero-product-bob 7.5s ease-in-out 2.1s infinite; }
.hero-float-6 { animation: float-product-in 1s ease 1.3s forwards, hero-product-bob 8.5s ease-in-out 2.3s infinite; }

@keyframes hero-product-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Hero logo container */
.hero-logo-wrap {
    width: 140px;
    height: 140px;
    margin: 0 auto var(--space-xl);
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.1);
    animation: hero-text-in 0.6s ease 0.2s both;
}
.hero-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Mini product collage for About section */
.about-mini-collage {
    background: none !important;
    min-height: auto !important;
    overflow: visible;
}
.about-mini-collage::after { display: none; }
.mini-collage {
    position: relative;
    width: 320px;
    height: 350px;
    margin: 0 auto;
}
.mini-collage img {
    position: absolute;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid #fff;
}
.mini-collage img:hover {
    transform: scale(1.1) rotate(0deg) !important;
    box-shadow: var(--shadow-xl);
    z-index: 10;
}
.mc-1 {
    width: 180px; height: 180px;
    top: 0; left: 0;
    transform: rotate(-6deg);
    z-index: 3;
}
.mc-2 {
    width: 160px; height: 160px;
    top: 20px; right: 0;
    transform: rotate(4deg);
    z-index: 2;
}
.mc-3 {
    width: 200px; height: 200px;
    bottom: 0; left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    z-index: 4;
}

.wave-divider { position: relative; margin-top: -1px; }
.wave-divider svg { display: block; width: 100%; height: auto; }

/* ========================================
   Sections
   ======================================== */
.section {
    padding: var(--space-4xl) var(--space-xl);
    position: relative;
    background:
        radial-gradient(ellipse 600px 400px at 10% 0%, rgba(2,143,164,0.03) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 90% 100%, rgba(196,93,62,0.02) 0%, transparent 70%),
        var(--warm-white);
}
.section-header { text-align: center; max-width: 600px; margin: 0 auto var(--space-3xl); }
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--teal);
    margin-bottom: var(--space-sm);
}
.section-title { margin-bottom: var(--space-md); }
.section-subtitle { color: var(--text-light); font-size: 1.05rem; }
.container { max-width: 1200px; margin: 0 auto; }

.bg-cream { background: var(--cream); position: relative; }
.bg-cream::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.03) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}
.bg-dark { background: var(--ink); color: #fff; position: relative; }
.bg-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(2, 143, 164, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(196, 93, 62, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-teal { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); color: #fff; position: relative; overflow: hidden; }
.bg-teal::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0),
        radial-gradient(ellipse 300px 200px at 10% 80%, rgba(255,255,255,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 250px 250px at 90% 20%, rgba(0,0,0,0.1) 0%, transparent 70%);
    background-size: 20px 20px, 100% 100%, 100% 100%;
    pointer-events: none;
}
.bg-teal::after {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.bg-teal h2, .bg-teal h3 { color: #fff; }

/* ========================================
   Product Cards
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-xl);
}
.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal);
}
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--rust));
    transition: all 0.4s ease;
    border-radius: 0 0 4px 4px;
}
.product-card:hover::after { width: 100%; left: 0; }

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--cream);
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--rust);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-quick-add {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    transition: all var(--transition);
    white-space: nowrap;
}
.product-card:hover .product-quick-add { opacity: 1; transform: translateX(-50%) translateY(0); }

.product-card-body { padding: var(--space-lg); }
.product-card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}
.product-card-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--charcoal);
    line-height: 1.3;
}
.product-card-name a { color: inherit; text-decoration: none; }
.product-card-name a:hover { color: var(--teal); }
.product-card-price { font-size: 1.1rem; font-weight: 700; color: var(--teal-dark); }
.product-card-price .compare-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: var(--space-sm);
}

/* ========================================
   Shop Filters
   ======================================== */
.shop-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}
.category-filters { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
    min-height: 44px;
    display: flex;
    align-items: center;
}
.filter-btn:hover, .filter-btn.active { background: var(--teal); color: #fff; border-color: var(--teal); }
.product-count { color: var(--text-light); font-size: 0.9rem; }

/* ========================================
   Product Detail
   ======================================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}
.product-gallery { position: sticky; top: 100px; }
.product-main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--cream);
    aspect-ratio: 1;
}
.product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: 2rem; margin-bottom: var(--space-md); }
.product-price-display { font-size: 1.75rem; font-weight: 700; color: var(--teal-dark); margin-bottom: var(--space-xl); }
.product-description { color: var(--text-light); margin-bottom: var(--space-xl); line-height: 1.8; }

.variant-selector { margin-bottom: var(--space-xl); }
.variant-selector label { display: block; font-weight: 600; margin-bottom: var(--space-sm); font-size: 0.9rem; }
.variant-options { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.variant-option {
    padding: 10px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition);
    min-height: 44px;
    font-size: 0.9rem;
}
.variant-option:hover { border-color: var(--teal); }
.variant-option.selected { border-color: var(--teal); background: var(--teal-glow); color: var(--teal-dark); }

.quantity-selector { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-xl); }
.quantity-selector label { font-weight: 600; font-size: 0.9rem; }
.qty-controls { display: flex; align-items: center; border: 2px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.qty-btn {
    width: 44px; height: 44px; border: none; background: var(--cream);
    font-size: 1.2rem; cursor: pointer; transition: background var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--sand); }
.qty-input {
    width: 60px; height: 44px; border: none; text-align: center;
    font-size: 1rem; font-weight: 600; background: #fff;
}
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.add-to-cart-section { display: flex; gap: var(--space-md); margin-bottom: var(--space-xl); }

/* ========================================
   Cart
   ======================================== */
.cart-items { display: flex; flex-direction: column; gap: var(--space-lg); }
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-lg);
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}
.cart-item-image { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1; background: var(--cream); }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 600; margin-bottom: var(--space-xs); }
.cart-item-variant { font-size: 0.85rem; color: var(--text-light); }
.cart-item-price { font-weight: 700; color: var(--teal-dark); font-size: 1.1rem; }
.cart-item-remove {
    background: none; border: none; color: var(--text-muted); cursor: pointer;
    padding: var(--space-sm); transition: color var(--transition);
    min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center;
}
.cart-item-remove:hover { color: var(--error); }

.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-3xl); align-items: start; }
.cart-summary {
    background: #fff; border-radius: var(--radius-lg);
    border: 1px solid var(--border-light); padding: var(--space-2xl);
    position: sticky; top: 100px;
}
.cart-summary h3 { margin-bottom: var(--space-lg); padding-bottom: var(--space-md); border-bottom: 1px solid var(--border-light); }
.cart-summary-row { display: flex; justify-content: space-between; align-items: center; padding: var(--space-sm) 0; font-size: 0.95rem; }
.cart-summary-row.total {
    font-size: 1.2rem; font-weight: 700; color: var(--charcoal);
    border-top: 2px solid var(--border); margin-top: var(--space-md); padding-top: var(--space-md);
}
.cart-summary .btn { width: 100%; margin-top: var(--space-lg); }
.cart-empty { text-align: center; padding: var(--space-4xl) var(--space-xl); }
.cart-empty svg { width: 80px; height: 80px; color: var(--text-muted); margin-bottom: var(--space-lg); }
.cart-empty h2 { margin-bottom: var(--space-md); }
.cart-empty p { color: var(--text-light); margin-bottom: var(--space-xl); }

/* ========================================
   About
   ======================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); align-items: center; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.about-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-image { min-height: 300px; background: linear-gradient(135deg, rgba(2,143,164,0.1), #e8dfd4); }
.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid var(--teal);
    border-radius: var(--radius-lg);
    transform: translate(12px, 12px);
    z-index: -1;
    opacity: 0.3;
}
.about-text h2 { margin-bottom: var(--space-lg); }
.about-text p { color: var(--text-light); }

.about-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); margin-top: var(--space-3xl); }
.about-highlight { text-align: center; padding: var(--space-xl); }
.about-highlight-icon {
    width: 60px; height: 60px; margin: 0 auto var(--space-md);
    background: var(--teal-glow); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center; color: var(--teal);
}
.about-highlight-icon svg { width: 28px; height: 28px; }
.about-highlight h3 { font-size: 1.1rem; margin-bottom: var(--space-sm); }
.about-highlight p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

.platforms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-lg); margin-top: var(--space-2xl); }
.platform-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg); padding: var(--space-xl); text-align: center; transition: all var(--transition);
}
.platform-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); border-color: var(--teal); }
.platform-card h3 { font-size: 1rem; margin-bottom: var(--space-sm); }
.platform-card p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin: 0; }

/* ========================================
   CTA
   ======================================== */
.cta-section { text-align: center; padding: var(--space-4xl) var(--space-xl); }
.cta-section h2 { margin-bottom: var(--space-md); }
.cta-section p { max-width: 500px; margin: 0 auto var(--space-2xl); opacity: 0.85; }
.cta-buttons { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }

/* ========================================
   Contact
   ======================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-lg); }
.form-group { display: flex; flex-direction: column; gap: var(--space-sm); }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all var(--transition);
    background: #fff;
    min-height: 44px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-glow);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.form-status { padding: var(--space-md); border-radius: var(--radius-md); font-weight: 500; display: none; }
.form-status.success { display: block; background: #ecfdf5; color: var(--success); border: 1px solid #a7f3d0; }
.form-status.error { display: block; background: #fef2f2; color: var(--error); border: 1px solid #fecaca; }

.contact-info-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border-light); padding: var(--space-2xl); }
.contact-info-card h3 { margin-bottom: var(--space-xl); }
.contact-info-item { display: flex; align-items: flex-start; gap: var(--space-md); margin-bottom: var(--space-lg); }
.contact-info-icon {
    width: 44px; height: 44px; background: var(--teal-glow); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; }

.social-links { display: flex; gap: var(--space-md); margin-top: var(--space-xl); }
.social-link {
    width: 44px; height: 44px; background: var(--cream); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--text); transition: all var(--transition);
}
.social-link:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.social-link svg { width: 20px; height: 20px; }

/* ========================================
   Footer
   ======================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); position: relative; overflow: hidden; }
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 400px 300px at 30% 0%, rgba(2, 143, 164, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 300px 400px at 70% 100%, rgba(196, 93, 62, 0.07) 0%, transparent 70%),
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.02) 1px, transparent 0);
    background-size: 100%, 100%, 28px 28px;
    pointer-events: none;
}
.site-footer::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(2,143,164,0.3), rgba(196,93,62,0.2), transparent);
    pointer-events: none;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-xl) var(--space-xl);
    position: relative;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-2xl); margin-bottom: var(--space-2xl); }
.footer-brand h3 { color: #fff; margin-bottom: var(--space-md); font-size: 1.3rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-heading { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: var(--space-lg); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--teal-light); }
.footer-etsy-bar {
    text-align: center;
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: var(--space-xl);
}
.footer-etsy-bar strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}
.footer-etsy-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    align-items: center;
}
.footer-etsy-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    transition: color var(--transition);
    white-space: nowrap;
}
.footer-etsy-links a:hover { color: var(--teal-light); }
.footer-etsy-links span {
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
}

.footer-bottom {
    border-top: none;
    padding-top: var(--space-xl);
    display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem;
}
.footer-social { display: flex; gap: var(--space-md); }
.footer-social a {
    width: 38px; height: 38px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08); display: flex; align-items: center;
    justify-content: center; color: rgba(255,255,255,0.6); transition: all var(--transition);
}
.footer-social a:hover { background: var(--teal); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
    position: fixed; bottom: var(--space-xl); right: var(--space-xl);
    width: 48px; height: 48px; background: var(--teal); color: #fff; border: none;
    border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(20px); transition: all var(--transition);
    z-index: 999; box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--teal-dark); transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ========================================
   Animations
   ======================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.15s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.25s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(8) { transition-delay: 0.35s; }

@keyframes splatter-in {
    0% { clip-path: circle(0% at 50% 50%); opacity: 0; }
    60% { clip-path: circle(80% at 50% 50%); opacity: 1; }
    100% { clip-path: circle(100% at 50% 50%); opacity: 1; }
}
.product-card.animate-in { animation: splatter-in 0.7s ease forwards; }

.brush-underline { position: relative; display: inline-block; }
.brush-underline::after {
    content: '';
    position: absolute;
    bottom: -4px; left: -4px; right: -4px;
    height: 8px; background: var(--teal-glow); border-radius: 4px;
    transform: rotate(-1deg); z-index: -1;
}

/* Toast */
.toast {
    position: fixed; bottom: var(--space-xl); left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--charcoal); color: #fff;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md); font-weight: 500;
    z-index: 10000; opacity: 0; transition: all 0.4s ease;
    pointer-events: none; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: var(--space-sm);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }

/* Page header (inner pages) */
.page-header {
    background: linear-gradient(135deg, var(--ink) 0%, #1a2e35 100%);
    color: #fff; padding: var(--space-4xl) var(--space-xl) var(--space-3xl);
    text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 200px 150px at 20% 50%, rgba(2, 143, 164, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 150px 200px at 80% 50%, rgba(196, 93, 62, 0.1) 0%, transparent 70%);
    pointer-events: none;
}
.page-header h1 { color: #fff; position: relative; }
.page-header p { color: rgba(255,255,255,0.7); position: relative; max-width: 500px; margin: var(--space-md) auto 0; }
.page-header .breadcrumb { position: relative; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: var(--space-md); }
.page-header .breadcrumb a { color: var(--teal-light); }

/* Checkout Success */
.success-page { text-align: center; padding: var(--space-4xl) var(--space-xl); max-width: 600px; margin: 0 auto; }
.success-checkmark {
    width: 80px; height: 80px; margin: 0 auto var(--space-xl);
    background: #ecfdf5; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--success);
}
.success-checkmark svg { width: 40px; height: 40px; }

/* 404 */
.error-page {
    text-align: center; padding: var(--space-4xl) var(--space-xl); min-height: 60vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.error-page h1 { font-size: 8rem; color: var(--teal); line-height: 1; margin-bottom: var(--space-md); }
.error-page p { color: var(--text-light); margin-bottom: var(--space-xl); }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; flex-direction: column; padding: var(--space-lg) var(--space-xl);
        border-bottom: 1px solid var(--border-light); box-shadow: var(--shadow-md); gap: var(--space-md);
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1rem; padding: var(--space-sm) 0; }
    .nav-dropdown-menu {
        position: static; box-shadow: none; border: none; border-radius: 0;
        padding: 0 0 0 var(--space-lg); min-width: auto; margin-top: 0;
    }
    .nav-dropdown:hover .nav-dropdown-menu { display: none; }
    .nav-links.open .nav-dropdown-menu { display: block; }
    .nav-dropdown-toggle { cursor: pointer; }
    .hero-content { grid-template-columns: 1fr; padding: var(--space-3xl) var(--space-lg); }
    .hero-showcase { display: none; }
    .hero-float { display: none; }
    .marquee-item { width: 70px; height: 70px; }
    .hero-logo-wrap { width: 100px; height: 100px; padding: 15px; }
    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
    .product-card-body { padding: var(--space-md); }
    .product-card-name { font-size: 0.9rem; }
    .product-quick-add { display: none; }
    .product-detail { grid-template-columns: 1fr; gap: var(--space-xl); }
    .product-gallery { position: static; }
    .cart-layout { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 80px 1fr; gap: var(--space-md); }
    .cart-item-price { grid-column: 2; }
    .cart-item-remove { grid-column: 2; justify-self: end; }
    .cart-summary { position: static; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; max-height: 300px; }
    .about-image img[onerror] { min-height: 200px; }
    .about-highlights { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
    .section { padding: var(--space-3xl) var(--space-lg); }
    .page-header { padding: var(--space-3xl) var(--space-lg) var(--space-2xl); }
    .shop-controls { flex-direction: column; align-items: stretch; }
    .category-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: var(--space-sm); }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
    .product-card-body { padding: var(--space-sm); }
    .product-card-name { font-size: 0.8rem; }
    .product-card-price { font-size: 0.95rem; }
    .product-card-category { font-size: 0.65rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .platforms-grid { grid-template-columns: 1fr 1fr; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
    .hero-dot { animation: none !important; }
}

/* Focus */
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ========================================
   WOW Factor Animations
   ======================================== */

/* Animated gradient text shimmer on hero title */
.hero-title .highlight {
    background: linear-gradient(90deg, var(--teal-light), var(--teal), var(--rust-light), var(--teal-light));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shimmer 4s ease infinite;
}
@keyframes gradient-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Magnetic tilt effect on product cards (JS applies transform) */
.product-card { transform-style: preserve-3d; perspective: 800px; }
.product-card.tilt { transition: transform 0.1s ease-out, box-shadow 0.3s ease; }

/* Paint drip color bar on product card hover */
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 0;
    background: linear-gradient(180deg, var(--teal), transparent);
    opacity: 0;
    z-index: 2;
    transition: height 0.5s ease, opacity 0.3s ease;
    pointer-events: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.product-card:hover::before {
    height: 6px;
    opacity: 1;
}

/* Pulse glow on Add to Cart button */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(2, 143, 164, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(2, 143, 164, 0); }
}
.add-to-cart-section .btn-primary {
    animation: pulse-glow 2.5s ease-in-out infinite;
}
.add-to-cart-section .btn-primary:hover {
    animation: none;
    box-shadow: var(--shadow-teal);
}

/* Typewriter effect for hero badge */
.hero-badge {
    overflow: hidden;
    animation: badge-slide-in 0.8s ease 0.3s both;
}
@keyframes badge-slide-in {
    from { opacity: 0; transform: translateY(-10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Hero text staggered entrance */
.hero-title { animation: hero-text-in 0.8s ease 0.5s both; }
.hero-subtitle { animation: hero-text-in 0.8s ease 0.7s both; }
.hero-buttons { animation: hero-text-in 0.8s ease 0.9s both; }
@keyframes hero-text-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Floating particles canvas */
#particles-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Smooth color shift on section backgrounds */
.bg-cream { transition: background-color 0.5s ease; }

/* Product image zoom lens effect */
.product-main-image {
    cursor: zoom-in;
    overflow: hidden;
}
.product-main-image img {
    transition: transform 0.3s ease;
}
.product-main-image:hover img {
    transform: scale(1.08);
}

/* Category card hover lift with icon bounce */
.about-highlight {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: var(--radius-lg);
}
.about-highlight:hover {
    transform: translateY(-8px);
    background: #fff;
    box-shadow: var(--shadow-lg);
}
.about-highlight:hover .about-highlight-icon {
    animation: icon-bounce 0.5s ease;
    background: var(--teal);
    color: #fff;
}
@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* Animated counter numbers */
.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
    margin-bottom: var(--space-sm);
    font-variant-numeric: tabular-nums;
}
.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-2xl);
    text-align: center;
}

/* CTA button ripple effect */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-effect 0.6s ease-out;
    pointer-events: none;
}
@keyframes ripple-effect {
    to { transform: scale(4); opacity: 0; }
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--rust-light));
    z-index: 10001;
    width: 0%;
    transition: width 0.1s linear;
}

/* Smooth parallax for page headers */
.page-header {
    background-attachment: fixed;
}

/* Platform card shine sweep */
.platform-card {
    overflow: hidden;
}
.platform-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255,255,255,0.08) 45%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0.08) 55%,
        transparent 100%
    );
    transform: rotate(30deg) translateX(-100%);
    transition: none;
    pointer-events: none;
}
.platform-card:hover::after {
    animation: shine-sweep 0.8s ease forwards;
}
@keyframes shine-sweep {
    to { transform: rotate(30deg) translateX(100%); }
}

/* Cart bounce animation when item added */
@keyframes cart-bounce {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.3); }
    60% { transform: scale(0.9); }
    80% { transform: scale(1.1); }
}
.cart-count.bounce {
    animation: cart-bounce 0.5s ease;
}

/* Floating shapes in hero - paint brush strokes */
.hero-brush {
    position: absolute;
    z-index: 1;
    opacity: 0.06;
    pointer-events: none;
}
.hero-brush-1 {
    top: 10%; right: 5%;
    width: 200px; height: 40px;
    background: var(--teal-light);
    border-radius: 100px;
    transform: rotate(-15deg);
    animation: brush-float 8s ease-in-out infinite;
}
.hero-brush-2 {
    bottom: 20%; left: 8%;
    width: 150px; height: 30px;
    background: var(--rust);
    border-radius: 100px;
    transform: rotate(10deg);
    animation: brush-float 10s ease-in-out infinite reverse;
}
@keyframes brush-float {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(-20px) rotate(-12deg); }
}

/* Newsletter section */
.newsletter-section {
    background: var(--cream);
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    position: relative;
}
.newsletter-section .section-label,
.newsletter-section .section-title,
.newsletter-section .section-subtitle {
    text-align: center;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.02) 1px, transparent 0);
    background-size: 20px 20px;
    pointer-events: none;
}
.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 450px;
    margin: var(--space-lg) auto 0;
    position: relative;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color var(--transition);
    min-height: 44px;
}
.newsletter-form input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-glow);
}

/* ========================================
   Quick Preview Modal
   ======================================== */
.qp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 5000;
    justify-content: center;
    align-items: center;
    padding: var(--space-xl);
}
.qp-overlay.active { display: flex; }

.qp-modal {
    background: #fff;
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    transition: all 0.25s ease;
}
.qp-modal.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.qp-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    border: none;
    background: var(--cream);
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all var(--transition);
    line-height: 1;
}
.qp-close:hover { background: var(--border); }

.qp-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.qp-image {
    background: var(--cream);
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    overflow: hidden;
}
.qp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}

.qp-info {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.qp-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--teal);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}
.qp-info h2 {
    font-size: 1.4rem;
    margin-bottom: var(--space-md);
    line-height: 1.3;
}
.qp-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: var(--space-lg);
}
.qp-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}
.qp-variant-label {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
}
.qp-variant-options {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}
.qp-variant-btn {
    padding: 6px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    min-height: 36px;
}
.qp-variant-btn:hover { border-color: var(--teal); }
.qp-variant-btn.selected { border-color: var(--teal); background: var(--teal-glow); color: var(--teal-dark); }

.qp-actions {
    display: flex;
    gap: var(--space-sm);
}
.qp-actions .btn { flex: 1; font-size: 0.9rem; padding: 10px 16px; }

.product-quick-actions {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    transition: all var(--transition);
    white-space: nowrap;
}
.product-card:hover .product-quick-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .qp-body { grid-template-columns: 1fr; }
    .qp-image { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
    .qp-image img { min-height: 250px; max-height: 300px; }
    .qp-actions { flex-direction: column; }
    .product-quick-actions { display: none; }
}

/* Policy pages */
.policy-content h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    font-size: 1.3rem;
    color: var(--charcoal);
}
.policy-content p { color: var(--text-light); line-height: 1.8; }
.policy-content ul {
    list-style: disc;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--text-light);
}
.policy-content li { margin-bottom: var(--space-sm); line-height: 1.7; }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.text-center { text-align: center; }
.mt-xl { margin-top: var(--space-xl); }
.mb-xl { margin-bottom: var(--space-xl); }
