:root {
    --brand-maroon: #BB1B59; /* Updated primary pink/maroon */
    --brand-dark-maroon: #8C0F3C; /* Darker shade for contrast */
    --brand-gold: #D6C3A5; /* Meiyra gold */
    --brand-dark-gold: #B8A282;
    --bg-white: #ffffff;
    --bg-light: #FBF4F6;
    --text-dark: #333333;
    --text-muted: #666666;
    --border-color: #E8D6DD;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.3s ease;
}

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

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

/* Top Bar */
.top-bar {
    background-color: var(--brand-maroon);
    color: white;
    font-size: 0.75rem;
    padding: 0.5rem 4rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-left span, .top-bar-right span {
    margin-right: 15px;
    cursor: pointer;
}

.top-bar-left span:hover {
    color: var(--brand-gold);
}

/* Main Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 4rem;
    background-color: var(--brand-maroon);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--brand-maroon);
    letter-spacing: 2px;
}

.site-logo {
    max-height: 140px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.site-logo:hover {
    transform: scale(1.02);
}

.search-bar {
    flex: 0 1 500px;
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: 4px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 0.8rem 1rem;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}

.search-btn {
    background: transparent;
    border: none;
    padding: 0 1rem;
    cursor: pointer;
    color: var(--text-muted);
}

.search-btn:hover {
    color: var(--brand-maroon);
}

.header-icons {
    display: flex;
    gap: 1.5rem;
}

.icon-wrapper {
    cursor: pointer;
    color: white;
    position: relative;
    transition: var(--transition-smooth);
}

.icon-wrapper:hover {
    color: var(--brand-gold);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--brand-gold);
    color: var(--text-dark);
    font-size: 0.65rem;
    font-weight: 600;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Navigation Menu */
.nav-menu {
    background-color: var(--brand-dark-maroon);
    padding: 0 4rem;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 1rem 0;
    display: block;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover, .highlight-nav {
    border-bottom: 2px solid var(--brand-gold);
}

/* Hero Section */
.hero-banner {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    background-color: #FBF4F6; /* Soft background */
    display: flex;
    align-items: center;
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-banner-content {
    position: relative;
    z-index: 2;
    padding: 4rem;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.85);
    margin-left: 4rem;
    border-radius: 4px;
}

.hero-banner h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--brand-maroon);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-banner p {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--brand-maroon);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.cta-button:hover {
    background-color: var(--brand-dark-gold);
}

/* Section Titles */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-align: center;
    color: var(--brand-maroon);
    margin-bottom: 3rem;
}

/* New Arrivals Marquee */
.new-arrivals-section {
    background-color: var(--bg-light);
    padding-top: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.marquee-container {
    padding: 1rem 0 3rem 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    gap: 2rem;
    padding-right: 2rem;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    background: var(--bg-white);
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    min-width: 250px;
    transition: var(--transition-smooth);
}

.marquee-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.marquee-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 1rem;
}

.marquee-item-details {
    display: flex;
    flex-direction: column;
}

.marquee-item-details h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.marquee-item-details p {
    color: var(--brand-maroon);
    font-weight: 600;
    font-size: 0.9rem;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Shop By Category */
.shop-category {
    padding: 5rem 4rem;
    background-color: var(--bg-white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.category-card {
    cursor: pointer;
}

.category-img-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--bg-light);
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

.category-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-img-container {
    border-color: var(--brand-gold);
}

.category-card:hover .category-img-container img {
    transform: scale(1.1);
}

.category-card p {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
}

/* Featured Products */
.products {
    padding: 5rem 4rem;
    background-color: var(--bg-light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-image-container {
    height: 300px;
    overflow: hidden;
    position: relative;
    background-color: #fff;
    padding: 1rem;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

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

.product-info {
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.product-title {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    color: var(--brand-maroon);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted, #999);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.add-to-cart-btn {
    background: transparent;
    border: 1px solid var(--brand-maroon);
    color: var(--brand-maroon);
    padding: 0.6rem 1.5rem;
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.add-to-cart-btn:hover {
    background-color: var(--brand-maroon);
    color: white;
}

/* Trust Indicators */
.trust-indicators {
    padding: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    background-color: var(--bg-white);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.trust-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--brand-maroon);
    margin-bottom: 0.5rem;
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100%;
    background-color: var(--bg-white);
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.cart-overlay.active .cart-sidebar {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-light);
}

.cart-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
}

.close-cart {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-cart:hover {
    color: var(--brand-maroon);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-items::-webkit-scrollbar { width: 6px; }
.cart-items::-webkit-scrollbar-track { background: var(--bg-light); }
.cart-items::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

.cart-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.cart-item-details { flex: 1; }

.cart-item-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: var(--brand-maroon);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.qty-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qty-btn:hover {
    background: var(--brand-gold);
    color: white;
    border-color: var(--brand-gold);
}

.item-qty { font-size: 0.9rem; width: 20px; text-align: center; }

.remove-item {
    background: transparent;
    border: none;
    color: #ff4d4d;
    font-size: 0.8rem;
    cursor: pointer;
    text-transform: uppercase;
    margin-left: auto;
}

.remove-item:hover { text-decoration: underline; }

.empty-cart-msg { text-align: center; color: var(--text-muted); margin-top: 2rem; }

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-white);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.cart-total span:last-child {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--brand-maroon);
}

.checkout-button {
    width: 100%;
    background-color: var(--brand-maroon);
    color: white;
    border: none;
    padding: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
}

.checkout-button:hover { background-color: var(--brand-dark-gold); }

/* Video Loader */
.video-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--brand-maroon);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.video-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.footer-links {
    display: flex;
    justify-content: space-around;
    padding: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--brand-maroon);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-col a:hover { color: var(--brand-gold); }

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--brand-maroon);
    color: white;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .header { padding: 1rem 2rem; flex-wrap: wrap; }
    .site-logo { max-height: 100px; }
    .search-bar { order: 3; flex: 100%; margin-top: 1rem; }
    .nav-menu ul { gap: 1rem; flex-wrap: wrap; }
    .nav-menu a { padding: 0.5rem 0; }
    .hero-banner { height: 50vh; }
    .hero-banner-content { margin-left: 2rem; padding: 2rem; }
    .hero-banner h1 { font-size: 2.2rem; }
    .shop-category, .products, .trust-indicators { padding: 3rem 2rem; }
}

@media (max-width: 600px) {
    .top-bar { display: none; }
    .header { padding: 1rem; }
    .site-logo { max-height: 60px; }
    
    .nav-menu { padding: 0; }
    .nav-menu ul { 
        flex-wrap: wrap; 
        justify-content: center;
        padding: 0.5rem 1rem;
        gap: 0.5rem 1rem;
    }
    .nav-menu ul::-webkit-scrollbar { display: none; }
    .nav-menu a { white-space: nowrap; font-size: 0.75rem; padding: 0.4rem 0; }

    .hero-banner { height: 60vh; padding: 3rem 0; }
    .hero-banner-content { margin: 0 1rem; padding: 1.5rem; text-align: center; width: calc(100% - 2rem); max-width: none; }
    .hero-banner h1 { font-size: 1.8rem; }
    
    .shop-category, .products, .trust-indicators { padding: 2.5rem 1rem; }
    
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .category-img-container { width: 100px; height: 100px; }
    
    .product-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 0.8rem; 
    }
    .product-image-container { height: 160px; padding: 0.5rem; }
    .product-info { padding: 0.8rem 0.5rem; }
    .product-title { font-size: 0.85rem; margin-bottom: 0.3rem; }
    .product-sku { font-size: 0.7rem; }
    .product-price { font-size: 0.9rem; margin: 0.3rem 0 0.8rem 0; }
    .add-to-cart { padding: 0.5rem; font-size: 0.8rem; width: 100%; }
    .sale-badge { font-size: 0.6rem; padding: 3px 6px; top: 5px; right: 5px; }
    .out-of-stock-badge { font-size: 0.6rem; padding: 3px 6px; top: 5px; left: 5px; }
    
    .trust-indicators { grid-template-columns: 1fr; gap: 2rem; }
    
    .cart-sidebar { width: 100%; right: -100%; }
    
    .footer-links { padding: 2rem 1rem; flex-direction: column; text-align: center; }
}

/* Out of Stock Styling */
.product-card.out-of-stock .product-image {
    opacity: 0.5;
    filter: grayscale(100%);
}

.out-of-stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    z-index: 10;
}

.sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e91e63;
    color: white;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 10;
}

/* Contact Section */
.contact-section {
    padding: 5rem 4rem;
    background-color: var(--bg-white);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-form .input-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-smooth);
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--brand-maroon);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content-wrapper {
    position: relative;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 800px;
    height: 80vh;
}

.lightbox-content {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform:scale(0.9)} 
    to {transform:scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
}

.lightbox-nav {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0,0,0,0.5);
    border: none;
}

.lightbox-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-nav.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-nav.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-family: var(--font-body);
}

@media (max-width: 768px) {
    .lightbox-content-wrapper { width: 100%; height: 70vh; }
    .lightbox-nav { font-size: 20px; padding: 10px; }
}

.form-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    text-align: center;
    display: none;
}

.form-success[data-fs-success] {
    /* Formspree will handle display */
}

.form-error {
    color: #c62828;
    margin-bottom: 1rem;
}

.field-error {
    color: #c62828;
    font-size: 0.8rem;
    margin-top: 0.2rem;
    display: block;
}

@media (max-width: 600px) {
    .contact-section { padding: 3rem 1rem; }
    .contact-container { padding: 1.5rem; }
}
