:root {
    --color-bg: #FCF9F9;
    /* Clean soft warm white */
    --color-bg-alt: #F5EAE9;
    /* Soft blush */
    --color-primary: #AD7A7A;
    /* Elegant rosewood */
    --color-primary-hover: #966767;
    --color-accent: #D2A8A8;
    /* Light dusty rose */
    --color-text: #383030;
    /* Warm dark gray */
    --color-text-light: #7A6969;
    /* Soft warm gray */
    --color-white: #FFFFFF;

    --font-main: 'Outfit', sans-serif;

    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 12px rgba(173, 122, 122, 0.08);
    --shadow-md: 0 10px 30px rgba(173, 122, 122, 0.12);
    --shadow-lg: 0 15px 40px rgba(173, 122, 122, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
    padding: 1rem 3rem;
    border-radius: 50px;
}

.btn-outline:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.btn:active,
.icon-btn:active,
.socials a:active,
.qty-btn:active {
    transform: scale(0.95);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: center;
    z-index: 1000;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(252, 249, 249, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--color-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.mobile-menu-btn {
    display: none;
}

.nav-links a {
    font-size: 1.05rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
}

.dropdown-toggle i {
    font-size: 0.82rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--color-white);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.8rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1001;
    border: 1px solid rgba(173, 122, 122, 0.08);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu a {
    display: block !important;
    padding: 0.8rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: var(--color-text) !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    text-align: left !important;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background: var(--color-bg-alt) !important;
    color: var(--color-primary) !important;
    padding-left: 1.8rem !important;
}

/* Mobile Adjustments for Dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        padding: 0 0 0 1.5rem;
        display: none;
        min-width: 100%;
        border: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        justify-content: space-between;
        padding: 1rem 1.5rem;
        width: 100%;
    }
}

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

.icon-btn {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: var(--color-text);
    cursor: pointer;
    transition: color var(--transition), transform var(--transition);
}

.icon-btn:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 5%;
    padding-top: 5rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    max-width: 600px;
}

.pill-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-image-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--color-bg-alt), #DFD1D1);
    border-radius: 200px 20px 200px 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-placeholder::before {
    content: 'Hero Image Here';
    color: var(--color-primary);
    font-size: 1.2rem;
    opacity: 0.6;
}

.glass-float {
    position: absolute;
    bottom: 3rem;
    right: -1rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    padding: 1rem 1.8rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-sm);
    color: var(--color-primary);
    font-weight: 600;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Common Section */
section {
    padding: 7rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--color-text-light);
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.category-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/11;
    background-color: var(--color-bg-alt);
    cursor: pointer;
}

.cat-image {
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-alt);
    transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.placeholder-tools {
    background: linear-gradient(to top right, #F5EAE9, #EAD7D7);
}

.placeholder-cosmetics {
    background: linear-gradient(to top right, #EBE1E1, #D8CACA);
}

.category-card:hover .cat-image {
    transform: scale(1.05);
}

.cat-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    color: var(--color-white);
}

.cat-content h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.link-arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
}

.link-arrow i {
    transition: transform var(--transition);
}

.category-card:hover .link-arrow i {
    transform: translateX(8px);
}

/* Featured Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-img-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--color-bg-alt);
    margin-bottom: 1.2rem;
}

.product-img {
    width: 100%;
    height: 100%;
    background: #EBE1E1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primary);
    font-size: 0.9rem;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.product-img::after {
    content: 'Product Image';
    opacity: 0.5;
}

.tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-white);
    color: var(--color-text);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.tag.new {
    background: var(--color-primary);
    color: var(--color-white);
}

.add-to-cart-overlay {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(252, 249, 249, 1) 0%, rgba(252, 249, 249, 0.8) 80%, transparent 100%);
    transition: bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    justify-content: center;
    z-index: 3;
}

.product-card:hover .add-to-cart-overlay {
    bottom: 0;
}

.btn-quick-add {
    width: 100%;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 0.9rem;
    border-radius: 6px;
    font-family: var(--font-main);
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, background-color var(--transition);
}

.btn-quick-add:hover {
    transform: scale(1.02);
    background: var(--color-primary-hover);
}

.product-category {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: color var(--transition);
    color: var(--color-text);
}

.product-title:hover {
    color: var(--color-primary);
}

.price-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 600;
    font-size: 1.15rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.rating i {
    color: #e9c46a;
}

.view-all-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

/* Values */
.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 6rem 10%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.value-item {
    text-align: center;
}

.icon-circle {
    width: 85px;
    height: 85px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.8rem;
    margin: 0 auto 1.5rem;
    color: var(--color-white);
}

.value-item h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.value-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

/* Newsletter */
.newsletter {
    background-color: var(--color-bg-alt);
    border-radius: 30px;
    margin-top: 4rem;
    margin-bottom: 4rem;
    padding: 7rem 5%;
    display: flex;
    justify-content: center;
}

.newsletter-content {
    max-width: 650px;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 3.2rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1.1rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 1rem;
    background: var(--color-white);
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--color-primary);
}

.newsletter-form .btn {
    border-radius: 50px;
}

/* Footer */
footer {
    background-color: #2D2828;
    color: rgba(255, 255, 255, 0.7);
    padding: 6rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.footer-brand .logo {
    color: var(--color-white);
    display: block;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    margin-bottom: 2rem;
    max-width: 80%;
}

.socials {
    display: flex;
    gap: 1rem;
}

.socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--color-white);
    transition: background-color var(--transition), transform var(--transition);
}

.socials a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a:hover {
    color: var(--color-white);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .glass-float {
        right: auto;
        left: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values {
        grid-template-columns: 1fr;
        padding: 5rem 5%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: inline-block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(252, 249, 249, 0.98);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
        gap: 1.5rem;
        text-align: center;
    }

    .nav-links.active {
        max-height: 300px;
        padding: 2rem 5%;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ── Toast Notification ── */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    pointer-events: none;
}

.toast {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transform: translateX(120px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 500;
    min-width: 220px;
    font-size: 0.95rem;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast i {
    font-size: 1.3rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

.cart-count {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Cart Drawer ── */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cart-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 420px;
    max-width: 95vw;
    background: var(--color-white);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(173, 122, 122, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.8rem;
    border-bottom: 1px solid rgba(173, 122, 122, 0.15);
}

.cart-drawer-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
}

.cart-drawer-header h3 i {
    color: var(--color-primary);
    font-size: 1.5rem;
}

.cart-close-btn {
    background: var(--color-bg-alt);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--color-text);
    transition: background var(--transition), transform var(--transition);
}

.cart-close-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: rotate(90deg);
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem 1.8rem;
}

.cart-drawer-items::-webkit-scrollbar {
    width: 5px;
}

.cart-drawer-items::-webkit-scrollbar-thumb {
    background: rgba(173, 122, 122, 0.3);
    border-radius: 5px;
}

.drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--color-text-light);
    min-height: 200px;
}

.drawer-empty i {
    font-size: 3.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.drawer-empty p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.drawer-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(173, 122, 122, 0.1);
    align-items: flex-start;
}

.drawer-item-img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    background: var(--color-bg-alt);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.8rem;
}

.drawer-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.drawer-item-info {
    flex: 1;
}

.drawer-item-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.drawer-item-price {
    font-size: 0.82rem;
    color: var(--color-text-light);
    margin-bottom: 0.6rem;
}

.drawer-qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drawer-qty-btn {
    background: var(--color-bg-alt);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--color-text);
    transition: background var(--transition);
}

.drawer-qty-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.drawer-qty-val {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
}

.drawer-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}

.drawer-item-total {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text);
}

.drawer-remove-btn {
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.2rem;
    transition: color var(--transition);
}

.drawer-remove-btn:hover {
    color: #c0392b;
}

.cart-drawer-footer {
    padding: 1.5rem 1.8rem;
    border-top: 1px solid rgba(173, 122, 122, 0.15);
    background: var(--color-white);
}

.drawer-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-text);
}

.drawer-total-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
}

.drawer-checkout-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.drawer-continue-btn {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    font-family: var(--font-main);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem;
    transition: color var(--transition);
}

.drawer-continue-btn:hover {
    color: var(--color-primary);
}

/* ─── Extended Product Sections ─── */
.p-extended {
    max-width: 1280px;
    margin: 4rem auto 0;
    padding: 0 5%;
    border-top: 1px solid rgba(173, 122, 122, 0.15);
}

.p-section-title {
    font-size: 2.2rem;
    color: var(--color-text);
    margin: 4rem 0 2rem;
    text-align: center;
    font-weight: 600;
}

/* Benefits Grid */
.p-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.p-benefit-card {
    background: var(--color-bg-alt);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.p-benefit-card:hover {
    transform: translateY(-5px);
}

.p-benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
    font-size: 1.8rem;
    box-shadow: var(--shadow-sm);
}

.p-benefit-card h4 {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.p-benefit-card p {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* How to Use */
.p-usage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.p-usage-img {
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
}

.p-usage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-usage-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.p-step {
    display: flex;
    gap: 1.5rem;
}

.p-step-num {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.p-step-content h4 {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.p-step-content p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Reviews */
.p-reviews-container {
    margin-bottom: 6rem;
}

.p-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(173, 122, 122, 0.15);
}

.p-reviews-summary {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.p-reviews-score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.p-reviews-stars .ph-star {
    font-size: 1.5rem;
    color: #e9c46a;
}

.p-reviews-count {
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.btn-write-review {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-write-review:hover {
    background: var(--color-primary);
    color: #fff;
}

.p-review-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.p-review {
    background: var(--color-bg-alt);
    padding: 2.2rem;
    border-radius: 16px;
}

.p-review-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.p-reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.p-reviewer-avatar {
    width: 45px;
    height: 45px;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.p-reviewer-info h5 {
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.p-verified {
    font-size: 0.82rem;
    color: #27ae60;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
}

.p-review-date {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.p-review-rating {
    color: #e9c46a;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.p-review-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--color-text);
}

.p-review-body {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 1.05rem;
}

@media (max-width: 900px) {
    .p-usage {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .p-usage-img {
        height: 350px;
    }

    .p-reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* ─── Review Carousel ─── */
.p-reviews-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 1rem 0.5rem 3rem;
    margin: 0 -0.5rem;
}

.p-review-list {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.35, 1);
}

.p-review {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 0 !important;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(173, 122, 122, 0.1);
}

.p-review:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(173, 122, 122, 0.3);
}

@media (min-width: 768px) {
    .p-review {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    .p-review {
        flex: 0 0 calc(33.333% - 1.34rem);
    }
}

.p-carousel-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    gap: 2rem;
}

.p-carousel-dots {
    display: flex;
    gap: 0.8rem;
}

.p-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    cursor: pointer;
    transition: all 0.3s ease;
}

.p-carousel-dot.active {
    background: var(--color-primary);
    width: 25px;
    border-radius: 5px;
}

.p-carousel-nav {
    display: flex;
    gap: 1.5rem;
}

.p-carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.p-carousel-btn:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.p-carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}


/* ─── Shared Product Grid & Cards ─── */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--color-text-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
}

.product-img-wrapper {
    background: var(--color-bg-alt);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    mix-blend-mode: normal;
}

.product-img {
    aspect-ratio: 1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

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

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.4rem 0.8rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.tag.new {
    background: #e9c46a;
}

.add-to-cart-overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    transition: bottom 0.3s ease;
    display: flex;
    justify-content: center;
    border-radius: 16px;
}

.product-card:hover .add-to-cart-overlay {
    bottom: 0;
}

.btn-quick-add {
    width: 100%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-main);
    transition: background 0.3s ease;
}

.btn-quick-add:hover {
    background: var(--color-primary-hover);
}

.product-info {
    padding: 1.2rem 0.5rem;
}

.product-category {
    font-size: 0.8rem;
    color: var(--color-text-light);
    display: block;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.price-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
}

.rating {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.rating i {
    color: #e9c46a;
}

/* ─── Product Recommendations Section ─── */
.p-recommendations {
    margin: 6rem 0;
}

.p-recommendations .p-section-title {
    margin-bottom: 3rem;
    text-align: center;
}

.p-recommendations .products-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 0;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .p-recommendations .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .p-recommendations .products-grid {
        grid-template-columns: 1fr;
    }
}

/* -- Auth Modal -- */
.auth-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.auth-overlay.show {
    display: flex;
}

.auth-modal {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2.5rem;
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.auth-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
}

.auth-modal h2 {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-modal p {
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.auth-form-group label {
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-form-group input {
    padding: 0.85rem 1rem;
    border: 1.5px solid rgba(173, 122, 122, 0.25);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition);
}

.auth-form-group input:focus {
    border-color: var(--color-primary);
}

.auth-btn-submit {
    width: 100%;
    padding: 0.85rem;
    font-size: 1.05rem;
    margin-top: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.auth-toggle {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.auth-toggle a {
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
}

/* Auth Profile Dropdown */
.auth-profile-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 5%;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 1rem;
    z-index: 1000;
    min-width: 200px;
}

.auth-profile-menu.show {
    display: block;
}

.auth-profile-menu p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(173, 122, 122, 0.1);
}

.auth-profile-menu button {
    width: 100%;
    padding: 0.6rem;
    text-align: left;
    background: none;
    border: none;
    font-size: 0.95rem;
    color: var(--color-text);
    cursor: pointer;
    border-radius: 6px;
}

.auth-profile-menu button:hover {
    background: var(--color-bg-alt);
    color: #c0392b;
}

.auth-user-active {
    color: var(--color-primary) !important;
}


/* -- Review Form Modal -- */
.review-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.review-overlay.show {
    display: flex;
}

.review-modal {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.review-modal h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.star-rating-input {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.star-rating-input i {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating-input i.active {
    color: #e9c46a;
}

.review-form-group {
    margin-bottom: 1.2rem;
}

.review-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.review-form-group input,
.review-form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid rgba(173, 122, 122, 0.25);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition);
}

.review-form-group input:focus,
.review-form-group textarea:focus {
    border-color: var(--color-primary);
}

.btn-submit-review {
    width: 100%;
    margin-top: 1rem;
}

/* Auth required for review message */
.review-auth-msg {
    text-align: center;
    padding: 2rem;
    background: var(--color-bg-alt);
    border-radius: 12px;
    margin-top: 2rem;
}

.review-auth-msg p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

/* ─── Announcement Bar ─── */
.announcement-bar {
    background-color: #fdf5f5; /* Very light blush */
    border-bottom: 1px solid rgba(173, 122, 122, 0.1);
    height: 34px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 90;
    width: 100%;
}

.announcement-slider {
    display: flex;
    flex-shrink: 0;
    width: 300%; /* 3 slides */
    height: 100%;
    animation: announcement-slide 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.announcement-slide {
    width: 33.333%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-text);
    letter-spacing: 0.3px;
    padding: 0 20px;
    text-align: center;
}

.announcement-slide i {
    color: var(--color-primary);
    font-size: 1rem;
}

.announcement-slide strong {
    color: var(--color-primary);
    font-weight: 700;
}

@keyframes announcement-slide {
    0%, 30% { transform: translateX(0); }
    33.33%, 63.33% { transform: translateX(-33.333%); }
    66.66%, 96.66% { transform: translateX(-66.666%); }
    100% { transform: translateX(0); }
}

@media (max-width: 600px) {
    .announcement-slide {
        font-size: 0.75rem;
        padding: 0 10px;
    }
}

/* ─── Cart Recommendations ─── */
.cart-recommendations {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(173, 122, 122, 0.2);
}

.reco-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.reco-title i {
    color: var(--color-primary);
}

.reco-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.reco-card {
    background: var(--color-bg-alt);
    border-radius: 10px;
    padding: 0.6rem;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: transform var(--transition);
}

.reco-card:hover {
    transform: translateY(-2px);
}

.reco-img-wrapper {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.4rem;
}

.reco-img-wrapper img {
    max-height: 100%;
    mix-blend-mode: multiply;
}

.reco-name {
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reco-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
}

.reco-add-overlay {
    position: absolute;
    top: 5px;
    right: 5px;
}

.reco-add-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

/* ── Search Popup ── */
.search-popup {
    position: absolute;
    width: 320px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.search-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-header-mini {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid var(--color-border);
    gap: 0.8rem;
}

#searchInput {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--color-text);
    background: transparent;
}

.search-header-mini i {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.search-results-mini {
    max-height: 400px;
    overflow-y: auto;
}

.search-results-mini.has-results {
    padding: 0.5rem 0;
}

.search-item-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.2rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.search-item-mini:hover {
    background: var(--color-bg-alt);
}

.search-item-mini img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

.search-item-info {
    display: flex;
    flex-direction: column;
}

.search-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

.search-item-price {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.search-no-results {
    padding: 2rem;
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Custom Scrollbar for mini results */
.search-results-mini::-webkit-scrollbar {
    width: 4px;
}
.search-results-mini::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 10px;
}