/* Core Variables & Reset */
:root {
    --primary-color: #1a1a1a;
    /* Rich Black */
    --secondary-color: #c5a059;
    /* Elegant Gold */
    --text-color-light: #f4f4f4;
    --text-color-dark: #333;
    --bg-color: #fff;
    --bg-accent: #f9f9f9;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s ease-in-out;
    --container-padding: 0 5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 75px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color-dark);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Reusable Components */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-gold {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- HEADER / NAVIGATION --- */
header {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.logo span {
    color: var(--secondary-color);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

/* ---- Dropdown nav items ---- */
.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item > a .fa-chevron-down {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.nav-item:hover > a .fa-chevron-down,
.nav-item.open > a .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 170px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    list-style: none;
    padding: 8px 0;
    z-index: 1100;
    border-top: 2px solid var(--secondary-color);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--text-color-dark);
    text-transform: uppercase;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: var(--bg-accent);
    color: var(--secondary-color);
    padding-left: 26px;
}

.dropdown-menu li a::after {
    display: none;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color-dark);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-icon {
    color: var(--text-color-dark);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.nav-icon:hover {
    color: var(--secondary-color);
}

#cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* --- HERO SECTION --- */
#home {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)), url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?q=80&w=2070') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color-light);
    text-align: center;
    padding-top: 80px;
    /* Header space */
}

.hero-content {
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-light {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* --- COLLECTIONS SECTIONS --- */
.collections-section {
    padding-top: 80px;
    padding-bottom: 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cat-cta {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(255,255,255,0.6);
    padding: 6px 18px;
    transition: var(--transition);
}

.category-item:hover .cat-cta {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* About buttons */
.about-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */

/* ---- Keyframes ---- */
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.5); }
    50%       { box-shadow: 0 0 0 10px rgba(197, 160, 89, 0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

/* ---- Scroll-reveal base (cards & elements) ---- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* staggered delays for grids */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

/* ---- Hero shimmer on eyebrow text ---- */
.hero-eyebrow {
    background: linear-gradient(
        90deg,
        var(--secondary-color) 0%,
        #f0d080 40%,
        var(--secondary-color) 60%,
        #c5a059 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* ---- Logo subtle float on hover ---- */
.logo {
    transition: letter-spacing 0.4s ease, color 0.3s ease;
}
.logo:hover {
    letter-spacing: 6px;
}

/* ---- Nav link reveal underline (already has ::after) — enhanced speed ---- */
.nav-menu a {
    transition: color 0.25s ease;
}
.nav-menu a::after {
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Dropdown slides in (desktop only) ---- */
@keyframes dropDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Mobile-safe dropdown animation — no translateX shift */
@keyframes mobileDropDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (min-width: 769px) {
    .nav-item:hover .dropdown-menu {
        animation: dropDown 0.22s ease forwards;
    }
}

/* ---- Product card enhanced hover ---- */
.product-card {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(197,160,89,0.08) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.product-card:hover::after {
    opacity: 1;
}

/* ---- Category card zoom + glow ---- */
.category-item {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.category-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

/* ---- Buttons — fill sweep + pulse ---- */
.btn {
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease,
                transform 0.2s ease, box-shadow 0.3s ease;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    transform: translateX(-101%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn:hover::before {
    transform: translateX(0);
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.btn:active {
    transform: translateY(0);
}

/* ---- Cart icon pulse when items added ---- */
.cart-count {
    animation: pulse-gold 2s infinite;
}

/* ---- Cart sidebar slides in ---- */
@keyframes slideInRight {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}
.cart-sidebar.open {
    animation: slideInRight 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ---- Section titles underline draw ---- */
.section-title {
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}
section.visible .section-title::after {
    width: 60px;
}

/* ---- About section image float ---- */
.about-image img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.about-image img:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* ---- Page-entry animation for list & detail pages ---- */
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.list-banner,
.detail-breadcrumb {
    animation: pageFadeIn 0.55s ease forwards;
}
.detail-section,
.related-section {
    animation: pageFadeIn 0.65s ease forwards 0.1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* ---- Thumbnail strip active indicator ---- */
.thumb-img {
    transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.thumb-img:hover {
    transform: scale(1.06);
}

/* ---- Size pill pop on hover ---- */
.size-pill {
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.size-pill:hover {
    transform: scale(1.08);
}

/* ---- Footer link hover ---- */
.footer-links a,
.footer-bottom a {
    position: relative;
    transition: color 0.25s ease;
}
.footer-links a::after,
.footer-bottom a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}
.footer-links a:hover::after,
.footer-bottom a:hover::after {
    width: 100%;
}

/* --- SECTIONS (GENERAL) --- */
section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
    scroll-margin-top: 75px;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- ABOUT US --- */
#about-us {
    background-color: var(--bg-accent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- CATEGORIES (OUR PRODUCTS) --- */
#our-products {
    padding-bottom: 50px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.category-item {
    position: relative;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.category-item:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: var(--transition);
}

.category-item:hover .category-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.category-overlay h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.category-overlay p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
}

/* --- PRODUCT LISTINGS --- */
.product-section {
    padding-top: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: #fff;
    border: 1px solid #eee;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-details {
    padding: 20px;
    text-align: center;
}

.product-gender {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-material-tag {
    font-size: 0.78rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-sizes-preview {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 12px;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.product-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-view-product,
.btn-add-cart {
    padding: 10px 20px;
    font-size: 0.8rem;
}

/* --- CONTACT --- */
#contact {
    background-color: var(--bg-accent);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-details {
    list-style: none;
    margin-top: 2rem;
}

.contact-details li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #555;
}

.contact-details i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    font-family: var(--font-body);
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

/* --- FOOTER --- */
footer {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 50px 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.footer-logo span {
    color: var(--secondary-color);
    font-weight: 400;
}

.social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--text-color-light);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    font-size: 0.8rem;
    color: #aaa;
}

/* --- PRODUCT DETAIL MODAL --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    border-radius: 5px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--secondary-color);
}

.modal-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-modal-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.thumb-images {
    display: flex;
    gap: 10px;
}

.thumb-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumb-img.active {
    border-color: var(--secondary-color);
}

.modal-details h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 10px;
}

.modal-price {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-desc {
    color: #555;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.modal-meta {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.modal-meta p {
    margin-bottom: 5px;
}

.modal-meta span {
    font-weight: 600;
    color: #333;
}

.modal-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 30px;
}

.quantity-input {
    width: 60px;
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

/* --- CART SIDEBAR --- */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100%;
    background: #fff;
    z-index: 1500;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: 0.5s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.close-cart {
    font-size: 1.3rem;
    cursor: pointer;
}

.cart-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 15px;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.cart-item-details h4 {
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.cart-item-details p {
    font-size: 0.85rem;
    color: #777;
}

.remove-item {
    margin-left: auto;
    color: #cc0000;
    cursor: pointer;
    font-size: 0.9rem;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.whatsapp-btn {
    width: 100%;
    background-color: #25D366;
    color: #fff;
    border: none;
    padding: 15px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background-color: #1ebe57;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }

    .modal-content {
        grid-template-columns: 1fr;
        width: 95%;
        max-height: 95vh;
    }

    .main-modal-img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 270px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 0 30px;
        transition: 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
        overflow-y: auto;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu > li > a {
        display: flex;
        justify-content: space-between;
        padding: 14px 30px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0.9rem;
    }

    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        display: none;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: var(--bg-accent);
        padding: 0;
        width: 100%;
        animation: none !important;  /* cancel desktop dropDown animation */
        opacity: 1 !important;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-item.open .dropdown-menu {
        display: block;
        transform: none !important;
        animation: mobileDropDown 0.22s ease forwards !important;
    }

    .dropdown-menu li a {
        padding: 12px 30px 12px 45px;
        font-size: 0.8rem;
        border-bottom: 1px solid #ebebeb;
        color: var(--text-color-dark);
    }

    .dropdown-menu li a:hover {
        padding-left: 50px;
        color: var(--secondary-color);
    }

    /* Ensure all nav links are visible in the white mobile panel */
    .nav-menu a,
    .nav-menu > li > a {
        color: var(--text-color-dark) !important;
    }

    .hamburger {
        display: block;
        color: var(--text-color-dark);
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}