:root {
    /* New Palette: Pink/Reddish/Luxury */
    --primary: #e5989b;
    /* Muted Pink */
    --secondary: #ffb4a2;
    /* Peach/Rose */
    --accent: #b5838d;
    /* Darker Rose/Mauve */
    --dark: #6d6875;
    /* Muted Purple/Grey for text */
    --bg-body: #fff0f3;
    /* Very light pink background */
    --bg-card: #ffffff;
    --white: #ffffff;
    --shadow: 0 15px 35px rgba(229, 152, 155, 0.15);
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border: 1px solid rgba(255, 255, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--accent);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* --- Buttons --- */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(229, 152, 155, 0.3);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: 0.5s;
}

.btn-primary:hover::after {
    transform: translateX(0);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(229, 152, 155, 0.4);
}

/* --- Navigation --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    transition: 0.4s;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 5%;
}

.brand-logo img {
    height: 50px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    font-size: 16px;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-link:hover::before {
    width: 100%;
}

/* Header Icons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 20px;
    color: var(--accent);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--accent);
}

/* --- Hero Section --- */
.hero-v2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 5% 50px;
    overflow: hidden;
}

.hero-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 70% 20%, #ffcdb2 0%, var(--bg-body) 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.hero-text h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: var(--accent);
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--dark);
    opacity: 0.8;
}

.hero-visual {
    position: relative;
}

.hero-img-main {
    width: 100%;
    border-radius: 30px;
    transform: rotate(-3deg);
    box-shadow: var(--shadow);
}

.hero-img-float {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 5px solid white;
}

/* --- Product Cards --- */
.products-v2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 50px 5%;
}

.card-v2 {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    border: 1px solid pink;
}

.card-v2:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.card-img-container {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.card-v2:hover .card-img-container img {
    transform: scale(1.1);
}

.card-details {
    padding: 25px;
    text-align: center;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.card-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
}

.btn-add-cart {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.btn-add-cart:hover {
    background: var(--primary);
    color: white;
}

/* --- Mobile Menu Rebuild --- */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 240, 243, 0.98);
    /* Theme background */
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease-in-out;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    color: var(--accent);
    font-weight: 700;
    position: relative;
    padding: 5px 0;
    transition: 0.3s;
    text-decoration: none;
}

.mobile-nav-link:hover {
    color: var(--primary);
    transform: scale(1.05);
}

/* Active State - High Visibility */
.mobile-nav-link.active {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(229, 152, 155, 0.5);
}

.mobile-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(229, 152, 155, 0.8);
}

.mobile-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 35px;
    color: var(--accent);
    cursor: pointer;
    transition: 0.3s;
}

.mobile-close-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.mobile-nav-link {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 800;
    margin: 15px 0;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8),
        -1px -1px 0 rgba(255, 255, 255, 0.8),
        1px -1px 0 rgba(255, 255, 255, 0.8),
        -1px 1px 0 rgba(255, 255, 255, 0.8),
        1px 1px 0 rgba(255, 255, 255, 0.8);
    transition: 0.3s;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: var(--primary);
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(229, 152, 155, 0.6);
}

.mobile-nav-link.active {
    color: var(--primary);
    position: relative;
    text-shadow: 0 0 25px rgba(229, 152, 155, 0.8);
}

.mobile-nav-link.active::after {
    content: '';
    display: block;
    width: 20px;
    height: 4px;
    background: var(--primary);
    margin: 5px auto 0;
    border-radius: 2px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    /* Hide Order Now Button on Mobile specifically if it exists, but we are removing it globally too */
    .header-actions .btn-primary {
        display: none !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .products-v2-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols on mobile */
        gap: 15px;
        padding: 20px;
    }

    .card-img-container {
        height: 180px;
    }

    .card-details {
        padding: 15px;
    }

    .card-title {
        font-size: 1rem;
    }
}

/* --- About V3 --- */
.about-v3-section {
    padding: 100px 5%;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

.about-v3-img-grid {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-v3-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-v3-img:nth-child(2) {
    transform: translateY(30px);
}

.about-v3-content {
    flex: 1;
    min-width: 300px;
}

.about-v3-subtitle {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.about-v3-content h2 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 25px;
    line-height: 1.1;
}

.about-v3-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 30px;
}

.stat-box {
    display: inline-block;
    margin-right: 30px;
    text-align: center;
}

.stat-box span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-box label {
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .about-v3-section {
        gap: 40px;
        padding: 60px 5%;
    }

    .about-v3-content h2 {
        font-size: 2.5rem;
    }

    .about-v3-img-grid {
        grid-template-columns: 1fr;
    }

    .about-v3-img {
        height: 200px;
    }

    .about-v3-img:nth-child(2) {
        display: none;
    }
}

/* --- Drawer & Side Cart System --- */
.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.drawer {
    position: fixed;
    top: 0;
    height: 100vh;
    background: #fff;
    z-index: 1002;
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateX(100%);
    /* Hidden by default */
    width: 400px;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
}

.drawer-left {
    left: 0;
    transform: translateX(-100%);
}

.drawer-right {
    right: 0;
    transform: translateX(100%);
}

.drawer.open {
    transform: translateX(0);
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h3 {
    margin: 0;
    font-size: 1.4rem;
}

.close-btn {
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    transition: 0.3s;
}

.close-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

/* --- Mobile Menu Styles --- */
.mobile-links {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s;
}

.mobile-link:hover,
.mobile-link.active {
    background: var(--bg-body);
    color: var(--primary);
    padding-left: 20px;
}

/* --- Cart Drawer Styles --- */
.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart-msg {
    text-align: center;
    padding: 50px 0;
    color: #999;
    font-style: italic;
}

.cart-item-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.2;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: bold;
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    background: #f8f8f8;
    padding: 2px 8px;
    border-radius: 15px;
    width: fit-content;
}

.qty-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--dark);
    line-height: 1;
}

.qty-val {
    font-weight: bold;
    font-size: 0.9rem;
}

.cart-item-remove {
    color: #ffb4a2;
    cursor: pointer;
    align-self: flex-start;
    padding: 5px;
}

.cart-item-remove:hover {
    color: #e5989b;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fff;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--accent);
}

.view-cart-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--dark);
    text-decoration: underline;
}