/* ==========================================
   MÖÖÖ STORE - PERFECT STABLE PHP CSS
   ========================================== */

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent-cow: #0f172a;
    --udder-pink: #f472b6;
    --udder-dark: #e11d48;
    --grass-green: #22c55e;
    --grass-dark: #15803d;
    --sky-blue: #e0f2fe;
    --milk-cream: #fffdfa;
    --gold: #f59e0b;
    --amazon-orange: #ff9900;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --card-bg: rgba(255, 255, 255, 0.98);
    --glass-border: rgba(255, 255, 255, 0.85);
    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Strict Overflow Control */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    overflow-x: hidden !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--milk-cream);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0) 25%),
        radial-gradient(circle at 85% 75%, rgba(15, 23, 42, 0.03) 0%, rgba(15, 23, 42, 0) 30%),
        linear-gradient(180deg, #f0f9ff 0%, #fffdfa 40%, #f8fafc 100%);
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

/* Canvas Particle Overlay */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

/* Amazon Associates Top Banner */
.amazon-associates-top-banner {
    background: #0f172a;
    color: #f8fafc;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: clamp(0.72rem, 2vw, 0.82rem);
    font-weight: 600;
    border-bottom: 2px solid var(--amazon-orange);
    width: 100%;
    box-sizing: border-box;
}

/* Typography & Headings */
h1, h2, h3, .logo-text, .speech-bubble {
    font-family: 'Fredoka', cursive, 'Plus Jakarta Sans', sans-serif;
}

.gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #e11d48 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 4%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}

.logo-icon {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    animation: bounce 2s infinite ease-in-out;
}

.logo-text .highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: var(--transition);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
    margin-left: 0.2rem;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--accent-cow);
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Buttons */
.btn {
    border: none;
    outline: none;
    padding: 0.65rem 1.25rem;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.pulse-btn {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff;
    animation: pulseGlow 2s infinite;
}

.pulse-btn:hover {
    transform: scale(1.03);
}

.secondary-btn {
    background: #ffffff;
    color: var(--text-dark);
    border: 2px solid #e2e8f0;
}

.secondary-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.badge {
    background: #ffffff;
    color: var(--primary);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.78rem;
}

/* Main Container */
main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    padding: 2.5rem 4% 1.5rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.badge-tag {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-weight: 700;
    font-size: clamp(0.75rem, 2.5vw, 0.9rem);
    border-radius: 50px;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 5.5vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 0.85rem;
    letter-spacing: -0.5px;
    word-break: break-word;
}

.hero-content p {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.75rem;
    padding: 0 0.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    width: 100%;
}

/* Interactive Cow Stage Container */
.cow-stage-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: clamp(330px, 52vh, 500px);
    margin: 1rem auto 3rem;
    background: linear-gradient(180deg, #bae6fd 0%, #e0f2fe 65%, #dcfce7 65%, #86efac 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
    border: 4px solid #ffffff;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Atmosphere Elements */
.sun {
    position: absolute;
    top: 25px;
    right: 35px;
    width: clamp(45px, 8vw, 65px);
    height: clamp(45px, 8vw, 65px);
    background: radial-gradient(circle, #fef08a 0%, #f59e0b 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px #fde047;
}

.cloud {
    position: absolute;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    opacity: 0.8;
    animation: floatCloud 32s infinite linear;
    pointer-events: none;
}

.cloud-1 { top: 30px; left: -100px; animation-duration: 38s; }
.cloud-2 { top: 70px; left: -150px; animation-duration: 28s; animation-delay: 6s; }

/* Speech Bubble */
.speech-bubble {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(12px) scale(0.85);
    background: #ffffff;
    color: var(--text-dark);
    padding: 0.8rem 1.25rem;
    border-radius: 20px;
    font-size: clamp(0.85rem, 2.5vw, 1.05rem);
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 3px solid var(--accent-cow);
    z-index: 10;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    max-width: 90%;
    text-align: center;
    white-space: normal;
}

.speech-bubble.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 14px 14px 0 0;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
    display: block;
    width: 0;
}

/* SVG Canvas Wrapper */
.svg-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

#cowSvg {
    width: 100%;
    height: 100%;
    max-height: 100%;
    user-select: none;
    touch-action: manipulation;
}

/* SVG Interactive Targets */
.interactive-head-group, .interactive-udder-group, .interactive-bell {
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-head-group:hover {
    transform: translateY(-6px) scale(1.03);
}

.interactive-udder-group:hover #udderBase {
    fill: url(#cleanUdderGrad);
    filter: drop-shadow(0 0 14px rgba(244, 114, 182, 0.6));
}

.interactive-bell:hover {
    transform: rotate(15deg);
    transform-origin: 275px 285px;
}

.udder-pulse {
    animation: udderPulseRing 2s infinite ease-in-out;
}

/* Micro-Animations */
.realistic-element.organic-breathing {
    transform-origin: 400px 315px;
    animation: realisticBreathing 4.5s ease-in-out infinite;
}

@keyframes realisticBreathing {
    0%, 100% { transform: scale(1) translateY(0); }
    40% { transform: scale(1.018, 1.012) translateY(-2px); }
    70% { transform: scale(0.995, 1.005) translateY(1px); }
}

.realistic-head-sway {
    transform-origin: 230px 185px;
    animation: realisticHeadSway 6s ease-in-out infinite alternate;
}

@keyframes realisticHeadSway {
    0% { transform: rotate(0deg) translateY(0); }
    30% { transform: rotate(-2deg) translateY(-2px); }
    70% { transform: rotate(1.5deg) translateY(1px); }
    100% { transform: rotate(-1deg) translateY(-1px); }
}

.realistic-chewing-snout {
    transform-origin: 230px 222px;
    animation: realisticChewing 2.4s ease-in-out infinite;
}

@keyframes realisticChewing {
    0%, 100% { transform: translate(0, 0) scale(1); }
    20% { transform: translate(2px, 1px) scale(1.02, 0.98); }
    40% { transform: translate(-2px, -1px) scale(0.98, 1.02); }
    60% { transform: translate(2px, 1px) scale(1.02, 0.98); }
    80% { transform: translate(-1px, 0) scale(1); }
}

.realistic-ear-left {
    transform-origin: 180px 170px;
    animation: earSwatLeft 5s ease-in-out infinite;
}

.realistic-ear-right {
    transform-origin: 280px 170px;
    animation: earSwatRight 5s ease-in-out infinite 1.8s;
}

@keyframes earSwatLeft {
    0%, 82%, 100% { transform: rotate(0deg); }
    85% { transform: rotate(-18deg); }
    88% { transform: rotate(8deg); }
    91% { transform: rotate(-10deg); }
    94% { transform: rotate(4deg); }
}

@keyframes earSwatRight {
    0%, 82%, 100% { transform: rotate(0deg); }
    85% { transform: rotate(18deg); }
    88% { transform: rotate(-8deg); }
    91% { transform: rotate(10deg); }
    94% { transform: rotate(-4deg); }
}

.realistic-element.tail-swish {
    transform-origin: 575px 300px;
    animation: realisticTailSwish 4.2s ease-in-out infinite;
}

@keyframes realisticTailSwish {
    0%, 100% { transform: rotate(-5deg); }
    30% { transform: rotate(18deg); }
    45% { transform: rotate(-12deg); }
    60% { transform: rotate(22deg); }
    80% { transform: rotate(-3deg); }
}

.tail-tuft-bounce {
    transform-origin: 645px 365px;
    animation: tuftBounce 4.2s ease-in-out infinite;
}

@keyframes tuftBounce {
    0%, 100% { transform: scale(1); }
    35% { transform: scale(1.25) translateY(2px); }
    65% { transform: scale(1.15) translateY(-2px); }
}

.realistic-eyes-blink {
    animation: realisticEyesBlink 6s ease-in-out infinite;
    transform-origin: 230px 178px;
}

@keyframes realisticEyesBlink {
    0%, 94%, 100% { transform: scaleY(1) translateX(0); }
    40% { transform: scaleY(1) translateX(1px); }
    70% { transform: scaleY(1) translateX(-1px); }
    96% { transform: scaleY(0.1) translateX(0); }
}

.bell-sway {
    transform-origin: 275px 285px;
    animation: bellSwayAnim 4.5s ease-in-out infinite;
}

@keyframes bellSwayAnim {
    0%, 100% { transform: rotate(0deg); }
    40% { transform: rotate(-4deg); }
    70% { transform: rotate(3deg); }
}

/* Grass Field */
.grass-field {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    z-index: 5;
    pointer-events: none;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}

.blade {
    width: 14px;
    height: 38px;
    background: #16a34a;
    border-radius: 20px 20px 0 0;
    transform-origin: bottom center;
    animation: grassSway 3s infinite ease-in-out alternate;
}

/* Products Container */
.products-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 4%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.section-subtitle {
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 0.6rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 2.2vw, 1.05rem);
}

.product-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.75rem;
    width: 100%;
}

/* Product Card - Clean Authentic Amazon Style */
.product-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 2px solid #e2e8f0;
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px -8px rgba(37, 99, 235, 0.15);
    border-color: #bfdbfe;
}

.product-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.product-img-wrapper {
    width: 100%;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border: 1px solid #f1f5f9;
}

.product-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.06);
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    color: var(--text-dark);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 0.65rem;
}

.product-rating .count {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.prime-delivery-tag {
    font-size: 0.82rem;
    color: #007185;
    font-weight: 600;
    margin-top: auto;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.prime-delivery-tag strong {
    color: #00a8e8;
    font-weight: 800;
}

.amazon-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff9900 0%, #ff8c00 100%);
    color: #0f172a;
    font-weight: 800;
    padding: 0.8rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.25);
    font-size: 0.92rem;
}

.amazon-btn:hover {
    background: linear-gradient(135deg, #ffaa22 0%, #ff9900 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 153, 0, 0.35);
}

/* Amazon Associates Legal Section Styling */
.legal-section {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem 4%;
    width: 100%;
}

.legal-container {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.legal-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.78rem;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.legal-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.associate-statement {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-links-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.legal-modal-btn {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: var(--text-dark);
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.legal-modal-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* ==========================================
   ULTRA CLEAN COMPACT MODAL SYSTEM
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 1.25rem;
    box-sizing: border-box;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.glass-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-lg);
    border: 2px solid var(--glass-border);
    max-width: 960px;
    width: 100%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    position: relative;
    padding: 1.5rem;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    overflow: hidden;
}

.modal-overlay.active .glass-card {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
    flex-shrink: 0;
    width: 100%;
}

.modal-header h2 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--text-dark);
    margin: 0;
}

.close-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.close-btn:hover {
    background: #e11d48;
    color: #ffffff;
    border-color: #e11d48;
}

.modal-body {
    flex-grow: 1;
    min-height: 250px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
    padding: 0.5rem 0.5rem 0.5rem 0;
}

.modal-body .product-card {
    min-height: 380px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.modal-body .product-img-wrapper {
    width: 100%;
    height: 190px;
    min-height: 190px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 0.75rem;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid #f1f5f9;
}

.modal-body .product-img-wrapper img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Toast Message */
.toast-message {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--accent-cow);
    color: #ffffff;
    padding: 0.85rem 1.3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    pointer-events: none;
    max-width: calc(100vw - 50px);
    text-align: center;
}

.toast-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background: var(--accent-cow);
    color: #ffffff;
    padding: 3rem 4% 2rem;
    text-align: center;
    margin-top: 3.5rem;
    width: 100%;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Fredoka', cursive, sans-serif;
    margin-bottom: 0.4rem;
}

.footer p {
    color: #94a3b8;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.footer-disclosure-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem auto 1.5rem;
    max-width: 850px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.footer-disclosure-box .trademark-note {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.footer-legal-nav {
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    color: #64748b;
}

.footer-legal-nav a {
    color: #60a5fa;
    text-decoration: none;
    margin: 0 0.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-legal-nav a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.8rem;
    color: #64748b;
    border-top: 1px solid #334155;
    padding-top: 1.25rem;
}

/* Keyframe Animations */
@keyframes grassSway {
    0% { transform: rotate(-8deg); }
    100% { transform: rotate(8deg); }
}

@keyframes floatCloud {
    0% { transform: translateX(0); }
    100% { transform: translateX(110vw); }
}

@keyframes udderPulseRing {
    0%, 100% { transform: scale(1); opacity: 0.25; }
    50% { transform: scale(1.15); opacity: 0.6; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4); }
    50% { box-shadow: 0 0 0 16px rgba(225, 29, 72, 0); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.head-tilt {
    animation: headTiltAnim 0.65s ease-in-out;
}

@keyframes headTiltAnim {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-12deg) scale(1.05); }
    60% { transform: rotate(8deg) scale(1.05); }
    100% { transform: rotate(0deg) scale(1); }
}

/* Mobile Breakpoints */
@media (max-width: 868px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 1rem 5%;
        border-bottom: 2px solid #e2e8f0;
        box-shadow: 0 12px 25px rgba(0,0,0,0.08);
        gap: 0.75rem;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 0.65rem 3%;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    .btn {
        padding: 0.55rem 0.85rem;
        font-size: 0.82rem;
    }

    .hero-section {
        padding: 1.75rem 3% 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .cow-stage-container {
        width: 96%;
        height: 330px;
        margin: 0.5rem auto 2rem;
    }

    .speech-bubble {
        top: 15px;
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
        width: 92%;
    }

    .glass-card {
        padding: 1.25rem 1rem;
        max-height: 90vh;
    }

    .modal-header {
        padding-left: 0;
        padding-right: 0;
    }

    .product-cards-grid {
        grid-template-columns: 1fr;
    }

    .modal-body {
        grid-template-columns: 1fr;
        padding-right: 0;
    }

    .toast-message {
        bottom: 15px;
        right: 50%;
        transform: translateX(50%) translateY(20px);
        width: 90%;
    }

    .toast-message.show {
        transform: translateX(50%) translateY(0);
    }
}

/* ==========================================
   DARK THEME MODE OVERRIDES
   ========================================== */
html.dark-theme, body.dark-theme {
    background-color: #0b1329 !important;
    color: #f8fafc !important;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 75%, rgba(225, 29, 72, 0.06) 0%, transparent 30%),
        linear-gradient(180deg, #0b1329 0%, #0f172a 40%, #090d1a 100%) !important;
}

html.dark-theme .navbar {
    background: rgba(15, 23, 42, 0.94) !important;
    border-bottom: 2px solid rgba(51, 65, 85, 0.8) !important;
}

html.dark-theme .nav-links a {
    color: #cbd5e1 !important;
}

html.dark-theme .nav-links a:hover, html.dark-theme .nav-links a.active {
    color: #60a5fa !important;
    background: rgba(37, 99, 235, 0.18) !important;
}

html.dark-theme .product-card, html.dark-theme .legal-container, html.dark-theme .legal-page-container {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .product-title, html.dark-theme .legal-container h3, html.dark-theme .dua-card h2, html.dark-theme h1, html.dark-theme h2 {
    color: #f8fafc !important;
}

html.dark-theme .product-img-wrapper {
    background: #0f172a !important;
    border-color: #334155 !important;
}

html.dark-theme .dua-card {
    background: #0f172a !important;
    border-color: #334155 !important;
}

html.dark-theme .dua-card div[dir="rtl"] {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

html.dark-theme .secondary-btn {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-color: #475569 !important;
}

html.dark-theme .secondary-btn:hover {
    background: #334155 !important;
}

html.dark-theme .glass-card {
    background: rgba(15, 23, 42, 0.98) !important;
    border-color: #334155 !important;
}

html.dark-theme .modal-header {
    border-bottom-color: #334155 !important;
}

html.dark-theme .modal-header h2 {
    color: #f8fafc !important;
}

html.dark-theme .cow-stage-container {
    background: linear-gradient(180deg, #091e3a 0%, #112a45 65%, #052e16 65%, #14532d 100%) !important;
    border-color: #334155 !important;
}

html.dark-theme .speech-bubble {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-color: #ff9900 !important;
}

html.dark-theme .speech-bubble::after {
    border-color: #1e293b transparent transparent transparent !important;
}
