/* Swiftly Goods Premium Design System - Reference Match */
:root {
    --primary-color: #1a5336; /* Dark Green */
    --primary-dark: #123d26;
    --secondary-color: #d4af37; /* Gold */
    --text-black: #000000;
    --text-grey: #666666;
    --bg-light: #ffffff;
    --bg-soft: #f8f8f8;
    --white: #ffffff;
    --shadow-premium: 0 20px 40px rgba(0,0,0,0.08);
    --shadow-soft: 0 4px 12px rgba(0,0,0,0.03);
    --radius-xl: 12px;
    --radius-lg: 10px;
    --radius-md: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-black);
    background-color: #FCFBF8; /* Earthy cream background */
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, .product-title {
    font-family: 'Playfair Display', serif;
}

/* Announcement Bar */
.announcement-bar {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 6px 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Header */
.navbar {
    background: var(--primary-color);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.custom-navbar .navbar-toggler-icon {
    filter: invert(1);
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    padding: 40px 0;
}

.product-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.price-box {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Bulk Discount Box */
.bulk-discount-box {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.bulk-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.bulk-title::before, .bulk-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

.bundle-item {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bundle-item:hover {
    border-color: var(--secondary-color);
}

.bundle-item.active {
    background: #f8fafc;
    border-color: var(--secondary-color);
}

/* Buy Button */
.btn-buy-now {
    background: linear-gradient(135deg, #d4af37, #b5952f);
    color: white;
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    border: none;
    margin-bottom: 20px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-buy-now:hover {
    background: linear-gradient(135deg, #c5a02e, #a38222);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

/* Time is Ticking Box */
.ticking-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    padding: 30px;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.ticking-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.ticking-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.countdown-box {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.countdown-item {
    font-size: 1.5rem;
    font-weight: 800;
}

.save-btn {
    background: #facc15;
    color: #000;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-decoration: none;
    text-transform: uppercase;
}

/* Gallery Thumbnails */
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumb-item {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
}

.thumb-item.active {
    border-color: var(--primary-color);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Checkout Form Refined */
.checkout-section {
    background: #f8fafc;
    padding: 60px 0;
}

.checkout-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #444;
}

.form-control {
    border: 1px solid #e2e8f0;
    padding: 12px;
    font-size: 0.95rem;
}

/* Fix for Mobile Image Visibility */
@media (max-width: 768px) {
    .heroSwiper {
        width: 100%;
        height: auto;
        min-height: 300px;
    }
    .heroSwiper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Order Modal Styles */
.modal-content {
    background: #ffffff;
}

.bundle-option {
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid #eee !important;
}

.bundle-option:hover {
    border-color: var(--primary-color) !important;
    background-color: rgba(26, 83, 54, 0.05) !important;
}

.bundle-option.active {
    border-color: var(--primary-color) !important;
    background-color: rgba(26, 83, 54, 0.1) !important;
}

.bg-soft {
    background-color: #f8fafc;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37, #b5952f);
    color: white;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    border-radius: 50px !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c5a02e, #a38222);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.btn-gold {
    background: linear-gradient(135deg, #d4af37, #b5952f);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #c5a02e, #a38222);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}
/* WhatsApp Order Button */
.btn-whatsapp-order {
    background-color: #25d366;
    color: white;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-whatsapp-order:hover {
    background-color: #128c7e;
    color: white;
}
/* Brand Logo Styling */
.brand-title {
    font-family: 'Playfair Display', serif; 
    font-size: 2.2rem; 
    color: var(--primary-color); 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.15); 
    line-height: 1;
}
.brand-subtitle {
    font-family: 'Playfair Display', serif; 
    font-size: 0.75rem; 
    color: #333; 
    letter-spacing: 0.5px; 
    margin-top: 4px; 
    margin-right: 5px;
}
.brand-logo-img {
    height: 45px;
}

@media (max-width: 768px) {
    .brand-title {
        font-size: 1.05rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    }
    .brand-subtitle {
        font-size: 0.55rem;
        letter-spacing: 0px;
        margin-top: 2px;
    }
    .brand-logo-img {
        height: 30px;
    }
    .navbar-brand {
        max-width: 70%;
    }
}
