* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Georgia, serif;
    background-color: WHITE;
    color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}


/* Navigation Bar */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    z-index: 100;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    transition: padding 0.3s ease;
}

.brand {
    font-family: "Georgia", serif;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.2;
    z-index: 102;
}

.brand span {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 8px;
    letter-spacing: 2.5px;
    opacity: 0.65;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.btn-quote {
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 9px 18px;
    border-radius: 2px;
    transition: all 0.3s ease !important;
}

.btn-quote:hover {
    background: #ffffff;
    color: #000000 !important;
}


/* Hamburger Menu Icon Base */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 102;
    padding: 0;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* FIXED DOCK ICONS */

.floating-dock {
    position: fixed;
    right: 20px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 999;
}

.dock-btn {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.dock-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.dock-btn svg {
    width: 26px;
    height: 26px;
}

.dock-btn.cart {
    background-color: #B0416E;
}

.notification-badge {
    position: absolute;
    top: -2px;
    left: -2px;
    background-color: #D4AF37;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
}

.dock-btn.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aebe6 90%);
}

.dock-btn.whatsapp {
    background-color: #25D366;
}


/* CART OVERLAY AND SLIDE-IN DRAWER */

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh;
    background-color: #FFFFFF;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-overlay.active .cart-drawer {
    right: 0;
}

.drawer-header {
    padding: 1.25rem;
    background-color: #FAF6F0;
    border-bottom: 1px solid #E8DFD8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.drawer-title {
    font-size: 1.2rem;
    font-family: "Georgia", serif;
    font-weight: 600;
    color: #0a0a0a;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #333333;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

.drawer-body {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
    color: #333333;
}

.empty-cart-msg {
    text-align: center;
    color: #795548;
    margin-top: 3rem;
    font-style: italic;
}

.drawer-footer {
    padding: 1.25rem;
    border-top: 1px solid #E8DFD8;
    background-color: #FAF6F0;
    flex-shrink: 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    color: #3C2A21;
    margin-bottom: 1rem;
}

.checkout-wa-btn {
    width: 100%;
    background-color: #25D366;
    color: #ffffff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
    transition: background-color 0.2s ease;
}

.checkout-wa-btn:hover {
    background-color: #1DA851;
}


/* SHOP & PRODUCTS LAYOUT */

.shop-header-section {
    padding: 60px 24px 20px;
    background-color: #ffffff;
}

.shop-container {
    max-width: 1200px;
    margin: 60px auto;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.pill-btn {
    background-color: #f5f5f5;
    color: #444444;
    border: 1px solid #e0e0e0;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 450;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pill-btn:hover {
    background-color: #e8e8e8;
    color: #111111;
}

.pill-btn.active {
    background-color: #2c2c2c;
    color: #ffffff;
    border-color: #2c2c2c;
}

.glass-search-container {
    width: 100%;
    max-width: 720px;
    margin: 20px auto;
    padding: 0 15px;
}

.glass-search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(20, 15, 18, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 6px 8px 6px 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.185);
    transition: all 0.3s ease;
}

.glass-search-wrapper:focus-within {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 32px 0 rgba(0, 0, 0, 0.314);
}

.glass-search-wrapper .search-icon {
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, 0.7);
    margin-right: 12px;
    flex-shrink: 0;
}

.glass-search-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.8rem;
    font-family: inherit;
}

.glass-search-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    font-family: Arial, Helvetica, sans-serif;
    padding-right: 0;
}

.search-submit-btn {
    background: rgba(110, 50, 65, 0.65);
    color: #ffffff;
    border: none;
    padding: 10px 26px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.1s ease;
    white-space: nowrap;
}

.search-submit-btn:hover {
    background: rgba(130, 60, 78, 0.85);
}

.search-submit-btn:active {
    transform: scale(0.97);
}

.products-section {
    padding: 0 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f9f9f9;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .card-image-wrapper img {
    transform: scale(1.04);
}

.category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.88);
    color: #444444;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.card-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 0.92rem;
    font-weight: 500;
    color: #222222;
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 12px;
}

.add-to-cart-btn {
    width: 100%;
    background: #ffffff;
    color: #5c3a41;
    border: 1px solid #5c3a41;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: auto;
}

.add-to-cart-btn:hover {
    background-color: #5c3a41;
    color: #ffffff;
}


/* MEDIA QUERIES FOR TABLET & MOBILE */

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}


/* MOBILE NAVIGATION AND BREAKPOINT FIX */

@media (max-width: 768px) {
    nav {
        padding: 18px 24px;
    }
    /* 1. Show the hamburger icon */
    .hamburger {
        display: flex;
    }
    /* 2. Slide-over Mobile Navigation Menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        /* max-width: 300px; */
        height: 100%;
        background-color: rgba(10, 10, 10, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 101;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    /* 3. Class added by JS to toggle menu view */
    .nav-links.nav-active {
        right: 0;
    }
}

@media (max-width: 600px) {
    .shop-header-section {
        padding: 40px 16px 16px;
    }
    .products-section {
        padding: 0 16px 40px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .pill-btn {
        padding: 6px 12px;
        font-size: 0.72rem;
    }
    .card-content {
        padding: 10px;
    }
    .product-title {
        font-size: 0.82rem;
    }
    .product-price {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    .add-to-cart-btn {
        padding: 6px;
        font-size: 0.72rem;
    }
    .brand {
        font-size: 16px;
    }
    .brand span {
        font-size: 7px;
        letter-spacing: 1.8px;
    }
}

@media (max-width: 480px) {
    .floating-dock {
        right: 14px;
        bottom: 18px;
        gap: 10px;
    }
    .dock-btn {
        width: 46px;
        height: 46px;
    }
    .dock-btn svg {
        width: 22px;
        height: 22px;
    }
    .notification-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    .cart-drawer {
        max-width: 100%;
    }
    .glass-search-wrapper {
        padding: 5px 6px 5px 12px;
    }
    .search-submit-btn {
        padding: 8px 12px;
        font-size: 0.7rem;
    }
}