/* ==========================================================================
   GLOBAL VARIABLES & DESIGN SYSTEM
   ========================================================================== */
   :root {
    /* Colors */
    --ivory: #fdf9f3;
    --ivory2: #f7f1e8;
    --ivory3: #ebe3d5;
    --brown: #4a2810;
    --brown-light: #5f3619;
    --gold: #c9973a;
    --gold-pale: #fdf0d8;
    --gold-light: #e8b85a;
    --sage: #5a7a52;
    --red: #d9534f;
    --text-main: #2d1808;
    --text-muted: #8c7a6b;
    --white: #ffffff;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Jost', sans-serif;
    
    /* Transitions */
    --trans-fast: 0.2s ease-in-out;
    --trans-med: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(74, 40, 16, 0.08);
    --shadow-glow: 0 0 20px rgba(201, 151, 58, 0.4);
    --shadow-glass: 0 8px 32px rgba(89, 45, 15, 0.1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--ivory);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Custom Cursor */
}

/* Page Transitions */
.page-transition {
    opacity: 0;
    transition: opacity var(--trans-med);
}
.page-transition.loaded {
    opacity: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--brown);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

button {
    border: none;
    background: none;
    cursor: none;
    font-family: var(--font-sans);
}

input, textarea, select {
    font-family: var(--font-sans);
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100001;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

#cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s, transform 0.1s ease-out;
}

.cursor-hover #custom-cursor {
    width: 12px;
    height: 12px;
    background-color: var(--brown);
}

.cursor-hover #cursor-ring {
    width: 45px;
    height: 45px;
    border-color: var(--brown);
    background-color: rgba(74, 40, 16, 0.05);
}

/* ==========================================================================
   PARTICLE CANVAS
   ========================================================================== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
}

/* ==========================================================================
   INTRO SEQUENCE
   ========================================================================== */
#intro-sequence {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out, visibility 1s;
}

#intro-sequence.hidden {
    opacity: 0;
    visibility: hidden;
}

.intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.intro-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 1s ease;
}

.intro-video.fade-out video {
    opacity: 0;
}

.intro-text {
    position: absolute;
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--gold);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease, transform 1.5s ease;
    text-align: center;
    background: rgba(0,0,0,0.4);
    padding: 2rem 4rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.intro-text.show {
    opacity: 1;
    transform: translateY(0);
}

#skip-intro {
    position: absolute;
    bottom: 30px;
    right: 40px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--trans-fast);
}

#skip-intro:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

/* ==========================================================================
   BUTTONS & GLOBAL UI
   ========================================================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--text-main) 100%);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(201, 151, 58, 0.3);
    transition: var(--trans-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}
.btn-primary:hover {
    transform: translateY(-2px) rotate(1deg);
    box-shadow: 0 6px 20px rgba(201, 151, 58, 0.5);
}
.btn-secondary {
    background: transparent;
    color: var(--brown);
    border: 1px solid var(--brown);
    padding: 13px 28px;
    border-radius: 30px;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: var(--trans-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}
.btn-secondary:hover {
    background: var(--brown);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 40, 16, 0.2);
}
.glass-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 30px;
    transition: var(--trans-fast);
}
.glass-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.full-width {
    width: 100%;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
    padding: 20px 0;
}
.navbar.transparent {
    background: transparent;
}
.navbar.scrolled {
    background: rgba(253, 249, 243, 0.85);
    backdrop-filter: blur(22px) saturate(180%);
    box-shadow: 0 4px 30px rgba(74, 40, 16, 0.05);
    padding: 12px 0;
}
.navbar.scrolled .logo-text, .navbar.scrolled .nav-links a {
    color: var(--brown);
}
.navbar.scrolled .icon-btn {
    color: var(--brown);
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-emoji {
    font-size: 24px;
    background: linear-gradient(135deg, var(--gold), var(--brown));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 8px;
    background-color: var(--ivory2);
    border-radius: 8px;
}
.logo-text {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--brown);
    transition: color 0.4s;
}
.navbar.transparent .logo-text {
    color: var(--white);
}
.nav-links {
    display: flex;
    gap: 40px;
}
.nav-links a {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--brown);
    font-weight: 500;
    position: relative;
    transition: color 0.4s;
}
.navbar.transparent .nav-links a {
    color: var(--white);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.icon-btn {
    font-size: 18px;
    color: var(--brown);
    transition: transform 0.2s, color 0.4s;
}
.navbar.transparent .icon-btn {
    color: var(--white);
}
.icon-btn:hover {
    transform: scale(1.1);
}
.cart-pill-btn {
    background: var(--brown);
    color: var(--white);
    padding: 8px 16px 8px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s, background 0.2s;
}
.cart-pill-btn:hover {
    background: var(--brown-light);
    transform: translateY(-2px);
}
.cart-badge {
    background: var(--gold);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cart-badge.pop {
    transform: scale(1.75);
}

/* ==========================================================================
   CART DRAWER (LUXURY REDESIGN)
   ========================================================================== */
.cart-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(26, 16, 8, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1001; opacity: 0; visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed; top: 0; right: -480px; width: 100%; max-width: 480px; height: 100vh;
    background: rgba(253, 249, 243, 0.95); /* Ivory with slight transparency */
    backdrop-filter: blur(20px);
    z-index: 1002;
    transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column;
    box-shadow: -20px 0 60px rgba(74, 40, 16, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}
.cart-drawer.active { right: 0; }

.cart-header {
    padding: 35px 35px 25px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(107, 62, 30, 0.1);
}
.cart-header h2 {
    font-size: 28px; font-weight: 500;
    background: linear-gradient(135deg, var(--brown), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.close-cart {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--white); border: 1px solid var(--ivory3);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--text-main); cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.close-cart:hover {
    background: var(--brown); color: var(--white); border-color: var(--brown);
    transform: rotate(90deg) scale(1.1);
}

.cart-items {
    flex: 1; overflow-y: auto; padding: 25px 35px;
    display: flex; flex-direction: column; gap: 24px;
}
.cart-items::-webkit-scrollbar { width: 6px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: var(--ivory3); border-radius: 10px; }

.empty-cart-state {
    text-align: center; margin: auto; display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.empty-icon { font-size: 80px; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); animation: float 3s ease-in-out infinite; }
.empty-cart-state h3 { font-family: var(--font-serif); font-size: 28px; color: var(--brown); }
.empty-cart-state p { color: var(--text-muted); font-size: 16px; margin-bottom: 10px; }

.cart-item {
    position: relative;
    display: flex; gap: 20px; padding: 20px;
    background: var(--white); border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 10px 30px rgba(74, 40, 16, 0.04);
    transition: all 0.3s ease;
    animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0; transform: translateY(20px);
}
.cart-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(74, 40, 16, 0.08);
    border-color: var(--ivory3);
}
@keyframes slideUpFade { to { opacity: 1; transform: translateY(0); } }

.cart-item-img {
    width: 90px; height: 90px; flex-shrink: 0;
    border-radius: 16px; overflow: hidden;
    background: var(--ivory2);
    position: relative;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cart-item:hover .cart-item-img img { transform: scale(1.1); }

.cart-item-details { flex: 1; padding-right: 20px; display: flex; flex-direction: column; justify-content: center; }
.cart-item-name {
    font-family: var(--font-sans); font-weight: 500; font-size: 16px;
    color: var(--brown); margin-bottom: 6px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-item-price { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--gold); margin-bottom: 15px; }

.cart-item .qty-selector {
    background: var(--ivory); padding: 4px; border-radius: 30px; border: 1px solid var(--ivory3);
    align-self: flex-start;
}
.cart-item .qty-btn { width: 28px; height: 28px; font-size: 16px; }
.cart-item .qty-input { width: 30px; font-size: 14px; }

.cart-item-remove {
    position: absolute; top: 15px; right: 15px;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--ivory2); border: none;
    color: var(--text-muted); font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s;
}
.cart-item-remove:hover { background: #ffebee; color: var(--red); transform: scale(1.1); }

/* Free Shipping Progress */
.shipping-progress-container {
    padding: 0 35px 20px; border-bottom: 1px solid rgba(107, 62, 30, 0.1);
}
.shipping-text { font-size: 14px; color: var(--text-main); margin-bottom: 10px; font-weight: 500; text-align: center; }
.shipping-text span { color: var(--gold); font-weight: 600; }
.progress-bar-bg { width: 100%; height: 6px; background: var(--ivory3); border-radius: 10px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), #ffce70); border-radius: 10px; transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1); }

.cart-footer { padding: 30px 35px; background: var(--white); border-top: 1px solid rgba(107, 62, 30, 0.1); box-shadow: 0 -10px 40px rgba(0,0,0,0.02); }
.cart-total-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 25px;
}
.cart-total-row span:first-child { font-size: 18px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.cart-total-row span:last-child { font-family: var(--font-serif); font-size: 36px; font-weight: 600; color: var(--brown); }

.checkout-btn-wrap { position: relative; width: 100%; }
.checkout-btn-wrap .btn-primary { width: 100%; padding: 20px; font-size: 18px; letter-spacing: 1px; border-radius: 16px; box-shadow: 0 15px 30px rgba(74, 40, 16, 0.2); }
.checkout-btn-wrap .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(74, 40, 16, 0.25); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background: var(--brown);
    color: var(--ivory);
    padding: 80px 40px 30px;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}
.footer-col h3 {
    color: var(--gold);
    margin-bottom: 24px;
    font-size: 22px;
}
.footer-col a {
    display: block;
    color: var(--ivory2);
    margin-bottom: 12px;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
}
.footer-col a:hover {
    opacity: 1;
    transform: translateX(4px);
    color: var(--gold);
}
.brand-col .logo {
    margin-bottom: 20px;
}
.brand-col .tagline {
    opacity: 0.7;
    margin-bottom: 30px;
    font-weight: 300;
}
.social-links {
    display: flex;
    gap: 15px;
}
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}
.social-btn:hover {
    background: var(--gold);
    color: var(--brown) !important;
    transform: translateY(-4px) !important;
}
.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0;
    text-align: center;
}
.sep-line {
    height: 1px;
    background: var(--gold);
    opacity: 0.3;
    margin-bottom: 30px;
}
.footer-bottom p {
    opacity: 0.6;
    font-size: 14px;
}
.footer-paws {
    opacity: 0.3;
    letter-spacing: 4px;
}

/* ==========================================================================
   HOMEPAGE HTML SECTIONS CSS 
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    margin-bottom: 50px;
}
.section-header.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section-header.between {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.section-eyebrow {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.gold-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
}
.section-title {
    font-size: 48px;
}
.italic-gold {
    font-style: italic;
    color: var(--gold);
    font-weight: 500;
}

/* ---------------- HERO SECTION (PAPPIE STYLE) ---------------- */
.hp-hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    width: 100%;
    overflow: hidden;
    background: #2B7674; /* Dark Teal */
    font-family: var(--font-sans);
    color: var(--white);
}

.hp-bg-stripe {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 38vh;
    transform: translateY(-50%);
    background: #F3AF4B; /* Muted Orange */
    z-index: 1;
}

.hp-big-text {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    z-index: 2;
    pointer-events: none;
    font-size: clamp(80px, 18vw, 250px);
    font-family: var(--font-sans);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -2px;
    display: flex;
    justify-content: center;
    gap: 4vw;
}

.hp-word {
    color: #ffffff;
    /* Soft 3D drop shadow effect matching the teal background */
    text-shadow: 
        1px 1px 0 rgba(29, 87, 85, 0.5),
        2px 2px 0 rgba(29, 87, 85, 0.5),
        3px 3px 0 rgba(29, 87, 85, 0.5),
        4px 4px 0 rgba(29, 87, 85, 0.5),
        6px 6px 15px rgba(0, 0, 0, 0.15);
}

.hp-center-dog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
    width: 600px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Drop shadow to make the transparent canvas pop like a 3d object */
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.3));
    animation: hpFloatDog 6s infinite ease-in-out;
}

@keyframes hpFloatDog {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -55%); }
}

.hp-floaters {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.hp-shape {
    position: absolute;
    animation: hpFloatShape 7s infinite ease-in-out;
}

@keyframes hpFloatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hp-sphere-half {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ffffff 50%, #F3AF4B 50%);
    border-radius: 50%;
    top: 20%;
    left: 28%;
    box-shadow: -10px 10px 20px rgba(0,0,0,0.1);
    animation-delay: -1s;
}

.hp-spring {
    width: 25px;
    height: 70px;
    top: 15%;
    right: 38%;
    background: repeating-linear-gradient(-45deg, transparent, transparent 8px, #e74c3c 8px, #e74c3c 16px);
    border-radius: 12px;
    transform-origin: center;
    animation-delay: -3s;
    filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.2));
}

.hp-sphere-blue {
    width: 20px;
    height: 20px;
    background: #3498db;
    border-radius: 50%;
    top: 18%;
    right: 32%;
    box-shadow: inset -5px -5px 10px rgba(0,0,0,0.2);
    animation-delay: -4s;
}

.hp-pill-black {
    width: 70px;
    height: 14px;
    background: #2c3e50;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
}

.hp-pill-1 {
    top: 38%;
    left: 32%;
    transform: rotate(-30deg) !important;
    animation: none; /* Keep static or apply specific rotation */
}

.hp-pill-2 {
    top: 45%;
    left: 28%;
    transform: rotate(15deg) !important;
    animation: none;
}

.hp-cube {
    width: 45px;
    height: 45px;
    background: #F3AF4B;
    top: 55%;
    left: 30%;
    transform: rotate(45deg) !important;
    box-shadow: inset -10px -10px 20px rgba(255,255,255,0.4), 10px 10px 20px rgba(0,0,0,0.1);
    border-radius: 4px;
    animation: none;
}

.hp-sphere-stack {
    top: 35%;
    right: 30%;
    display: flex;
    flex-direction: column;
    animation-delay: -2s;
}

.hp-stack-ball {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: inset -10px -10px 15px rgba(0,0,0,0.2), 0 5px 10px rgba(0,0,0,0.1);
    position: relative;
}

.hp-red { background: #e74c3c; z-index: 3; }
.hp-purple { background: #9b59b6; z-index: 2; margin-top: -10px; margin-left: 10px; }
.hp-orange { background: #F3AF4B; z-index: 1; margin-top: -10px; margin-left: -5px; }

.hp-arrow-btn {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #2B7674;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    pointer-events: auto;
    transition: transform 0.3s;
    text-decoration: none;
    font-weight: 300;
}

.hp-arrow-btn:hover {
    transform: translateY(-50%) scale(1.1);
    color: #F3AF4B;
}

.hp-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 5%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 5;
}

.hp-left-text {
    max-width: 450px;
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 1.8;
    opacity: 0.9;
    position: relative;
    padding-left: 20px;
}

.hp-asterisk {
    position: absolute;
    left: 0;
    top: 0;
    color: #F3AF4B;
    font-size: 28px;
    line-height: 1;
}

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 30px;
    margin-top: 24px;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
    transition: all 0.3s;
    pointer-events: auto;
}

.hp-btn:hover {
    background: #F3AF4B;
    border-color: #F3AF4B;
    color: #fff;
}

.hp-right-stats {
    display: flex;
    gap: 50px;
    align-items: center;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 50px;
    margin-bottom: 20px;
}

.hp-stat {
    display: flex;
    flex-direction: column;
}

.hp-num {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
}

.hp-lbl {
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 2px;
    margin-top: 4px;
}

/* ---------------- MARQUEE ---------------- */
.marquee-strip {
    background: var(--brown); color: var(--ivory);
    padding: 12px 0; overflow: hidden; white-space: nowrap;
    position: relative;
}
.marquee-content {
    display: inline-block;
    animation: marqueeScroll 40s linear infinite;
}
.marquee-strip:hover .marquee-content { animation-play-state: paused; }
.marquee-content span {
    font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 2px;
    margin-right: 40px;
}
.gold-dot { color: var(--gold); margin: 0 15px; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------------- FEATURES ---------------- */
.features-strip {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--white); border-bottom: 1px solid var(--ivory3);
}
.feature-item {
    padding: 30px 40px; display: flex; align-items: center; gap: 20px;
    border-right: 1px solid var(--ivory3); transition: background 0.3s;
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: var(--gold-pale); }
.feature-icon { font-size: 28px; }
.feature-text h4 { font-family: var(--font-sans); font-size: 14px; margin-bottom: 2px; color: var(--brown); }
.feature-text p { font-size: 12px; color: var(--text-muted); margin: 0; }

/* ---------------- CATEGORIES ---------------- */
.categories-section {
    padding: 100px 40px; max-width: 1400px; margin: 0 auto;
}
.categories-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.category-card {
    position: relative; aspect-ratio: 3/4.2; border-radius: 24px;
    overflow: hidden; display: block;
    transform: translateY(0); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cat-bg {
    position: absolute; inset: 0; background: var(--cat-grad);
    transition: transform 0.6s ease;
}
.cat-emoji {
    position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%);
    font-size: 100px; transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cat-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    transition: background 0.4s;
}
.cat-content {
    position: absolute; bottom: 30px; left: 30px; right: 30px;
    color: var(--white); z-index: 2;
}
.cat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }
.cat-content h3 { font-size: 30px; color: var(--white); margin: 5px 0; }
.cat-count { font-size: 13px; opacity: 0.7; }
.cat-arrow {
    position: absolute; top: 30px; right: 30px; width: 44px; height: 44px;
    border-radius: 50%; background: rgba(255,255,255,0.2); backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 18px;
    opacity: 0; transform: scale(0.5); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.category-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); }
.category-card:hover .cat-bg { transform: scale(1.08); }
.category-card:hover .cat-emoji { transform: translate(-50%, -50%) scale(1.15); }
.category-card:hover .cat-overlay { background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 70%); }
.category-card:hover .cat-arrow { opacity: 1; transform: scale(1); }

/* ---------------- PRODUCTS GRID ---------------- */
.products-section {
    padding: 60px 40px 100px; max-width: 1400px; margin: 0 auto;
}
.products-filters {
    display: flex; gap: 15px; margin-bottom: 20px;
}
.filter-tab {
    padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 500;
    color: var(--text-muted); background: transparent; transition: all 0.3s;
}
.filter-tab:hover { background: var(--ivory2); color: var(--brown); }
.filter-tab.active { background: var(--brown); color: var(--white); box-shadow: var(--shadow-soft); transform: translateY(-2px); }

.view-all-link {
    font-size: 14px; font-weight: 500; color: var(--brown);
    border-bottom: 1px solid var(--gold); padding-bottom: 2px;
    transition: color 0.3s; margin-bottom: 20px;
}
.view-all-link:hover { color: var(--gold); }

.products-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.products-grid.shimmer-grid {
    display: none;
}

.product-card {
    background: var(--ivory); border-radius: 24px; border: 1px solid var(--ivory3);
    overflow: hidden; text-align: left; position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-10px); box-shadow: var(--shadow-soft);
}
.prod-img-area {
    height: 230px; position: relative;
    background: linear-gradient(135deg, var(--ivory2) 0%, #e6dfd3 100%);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.prod-img-area::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.6) 0%, transparent 70%);
}
.prod-emoji { font-size: 86px; position: relative; z-index: 1; transition: transform 0.4s; }
.product-card:hover .prod-emoji { transform: scale(1.1); }
.prod-image { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; transition: transform 0.4s; }
.product-card:hover .prod-image { transform: scale(1.05); }

.prod-badge {
    position: absolute; top: 15px; left: 15px; z-index: 2;
    padding: 6px 12px; border-radius: 12px; font-size: 11px; font-weight: 600;
    color: var(--white); text-transform: uppercase; letter-spacing: 1px;
}
.badge-best { background: var(--brown); }
.badge-new { background: var(--sage); }
.badge-sale { background: var(--red); }

.prod-wishlist {
    position: absolute; top: 15px; right: 15px; z-index: 2;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.8); backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; transition: transform 0.2s, background 0.2s;
}
.prod-wishlist:hover { transform: scale(1.1); background: var(--white); }
.prod-wishlist.active { color: var(--red); animation: bounceHeart 0.4s; }
@keyframes bounceHeart { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }

.quick-add-bar {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: rgba(74, 40, 16, 0.9); backdrop-filter: blur(10px);
    color: var(--white); text-align: center; padding: 12px;
    font-size: 13px; font-weight: 500; letter-spacing: 1px;
    transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}
.product-card:hover .quick-add-bar { transform: translateY(0); }

.prod-info {
    padding: 24px; position: relative;
}
.prod-cat {
    font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
    color: var(--text-muted); margin-bottom: 8px; display: block;
}
.prod-name {
    font-family: var(--font-serif); font-size: 20px; color: var(--brown); line-height: 1.3;
    margin-bottom: 10px; height: 52px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
}
.prod-rating {
    display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted);
    margin-bottom: 15px;
}
.stars { color: var(--gold); letter-spacing: 2px; }

.prod-bottom {
    display: flex; justify-content: space-between; align-items: flex-end;
}
.prod-price-area { display: flex; flex-direction: column; }
.prod-price {
    font-family: var(--font-serif); font-size: 24px; font-weight: 600; color: var(--brown);
}
.prod-old-price {
    font-size: 14px; text-decoration: line-through; color: var(--text-muted); margin-bottom: -4px;
}
.add-to-cart-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white); box-shadow: var(--shadow-glow);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.product-card:hover .add-to-cart-btn { transform: rotate(8deg) scale(1.05); }
.add-to-cart-btn.added {
    background: var(--sage); transform: rotate(0) scale(1);
}

/* Skeleton loader */
.skeleton { position: relative; overflow: hidden; background: var(--ivory2); }
.skeleton::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* Toast */
#toast-container {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; gap: 10px; z-index: 9999;
}
.toast {
    background: rgba(45, 24, 8, 0.85); backdrop-filter: blur(10px);
    border: 1px solid var(--gold);
    color: var(--white); padding: 12px 24px; border-radius: 30px;
    font-size: 14px; display: flex; align-items: center; gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: toastUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes toastUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 100px 40px;
    background: var(--ivory2);
    position: relative;
    overflow: hidden;
}

.testimonials-section .section-header {
    max-width: 1400px;
    margin: 0 auto 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(74, 40, 16, 0.05);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-family: var(--font-serif);
    font-size: 140px;
    line-height: 1;
    color: var(--gold-pale);
    opacity: 0.5;
    z-index: 0;
}

.testimonial-card * {
    position: relative;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
}

.quote-icon {
    width: 44px;
    height: 44px;
    background: var(--gold-pale);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 32px;
    line-height: 1;
    margin-bottom: 24px;
    padding-top: 20px;
}

.testimonial-card .stars {
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.review-text {
    font-family: var(--font-sans);
    font-style: italic;
    font-weight: 300;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
    min-height: 80px;
    flex: 1;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brown-light), var(--brown));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.reviewer-info h4 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 2px;
}

.reviewer-info span {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MOBILE MENU DRAWER & BUTTON
   ========================================================================== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 20px;
    cursor: none;
    z-index: 1005;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s linear;
    transform-origin: 1px;
}

.navbar.scrolled .mobile-menu-btn .bar {
    background-color: var(--brown);
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--ivory);
    z-index: 1004;
    display: flex;
    flex-direction: column;
    padding: 100px 40px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-drawer.active {
    right: 0;
}

.mobile-drawer a {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--brown);
    margin-bottom: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

.mobile-drawer a:hover {
    color: var(--gold);
}

@media (max-width: 900px) {
    .nav-links, .search-btn, .wishlist-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.open .bar:nth-child(1) {
        transform: rotate(45deg);
    }
    
    .mobile-menu-btn.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.open .bar:nth-child(3) {
        transform: rotate(-45deg);
    }
}
/* ==========================================================================
   SCROLL TO TOP ARROW BUTTON
   ========================================================================== */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(201, 151, 58, 0.4);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background: var(--brown);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(74, 40, 16, 0.4);
}
