/* ==========================================================================
   THE DIVINE KITCHEN FOODS - PRODUCTION STYLESHEET
   ========================================================================== */

:root {
    --brand-red: #98060f;
    --brand-red-dark: #7a040b;
    --brand-red-light: #bb0915;
    --brand-gold: #fdcf41;
    --brand-gold-hover: #e5b328;
    --brand-yellow-light: #fef4d8;
    --bg-cream: #fcfbf7;
    --sidebar-bg: #fcf9f2;
    --card-bg: #ffffff;
    --card-border: #ede7dc;
    --text-dark: #222222;
    --text-muted: #6b7280;
    --stars-gold: #f5a623;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-script: 'Great Vibes', cursive;
    
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 6px 18px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

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

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   SITE PRELOADER
   -------------------------------------------------------------------------- */
.site-preloader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preloader-logo-wrap {
    position: relative;
    width: 170px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    animation: preloaderPulse 1.8s ease-in-out infinite alternate;
    filter: drop-shadow(0 6px 15px rgba(152, 6, 15, 0.2));
}

.preloader-ring {
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: 8px;
    right: 8px;
    border: 2.5px solid transparent;
    border-top-color: var(--brand-red);
    border-bottom-color: #d4a017;
    border-radius: 50%;
    animation: preloaderSpin 1.4s linear infinite;
}

@keyframes preloaderPulse {
    0% {
        transform: scale(0.96);
        opacity: 0.88;
    }
    100% {
        transform: scale(1.04);
        opacity: 1;
    }
}

@keyframes preloaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-brand-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-red);
    letter-spacing: 0.5px;
}

.preloader-bar-track {
    width: 150px;
    height: 3px;
    background: #f0ede6;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.preloader-bar-fill {
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-red), #eab308);
    border-radius: 10px;
    position: absolute;
    left: -45%;
    animation: preloaderBar 1.2s infinite ease-in-out;
}

@keyframes preloaderBar {
    0% { left: -45%; }
    50% { left: 35%; width: 55%; }
    100% { left: 105%; }
}

/* --------------------------------------------------------------------------
   TOP ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.top-announcement-bar {
    background-color: var(--brand-red);
    font-size: 0.8rem;
    letter-spacing: 0.2px;
}

.top-announcement-bar a:hover {
    color: var(--brand-gold) !important;
}

/* --------------------------------------------------------------------------
   MAIN HEADER
   -------------------------------------------------------------------------- */
.main-site-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--card-border);
}

/* Logo Styling */
.header-logo-wrap {
    display: inline-flex;
    align-items: center;
}

.header-logo {
    height: 100px;
    max-height: 100px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.08));
}

.header-logo:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .header-logo {
        height: 70px;
        max-height: 70px;
    }
}

.footer-logo {
    height: 58px;
    width: auto;
    max-width: 145px;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition-smooth);
}

.footer-logo:hover {
    transform: scale(1.04);
}

.company-sub, .company-addr, .company-web {
    font-size: 0.7rem;
    line-height: 1.25;
    display: block;
}

.company-web:hover {
    color: var(--brand-red) !important;
}

/* Header Search Bar */
.header-search-form {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.header-search-form:focus-within {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(152, 6, 15, 0.15);
}

.header-search-input {
    border: none;
    background: transparent;
    font-size: 0.88rem;
    padding: 9px 14px;
    color: var(--text-dark);
}

.header-search-input:focus {
    outline: none;
    box-shadow: none;
    background: transparent;
}

.btn-header-search {
    background-color: var(--brand-red);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    margin: 3px;
    transition: var(--transition-smooth);
}

.btn-header-search:hover {
    background-color: var(--brand-red-dark);
    color: #ffffff;
}

/* Header Actions */
.header-action-icon {
    font-size: 1.35rem;
    color: #333333;
    transition: var(--transition-smooth);
}

.header-action-btn:hover .header-action-icon {
    color: var(--brand-red);
    transform: translateY(-2px);
}

.action-top-text {
    font-size: 0.82rem;
    line-height: 1.1;
}

.action-sub-text {
    font-size: 0.72rem;
    line-height: 1.1;
}

.action-caption {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4b5563;
    margin-top: 2px;
}

.header-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    font-size: 0.65rem;
    width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-red) !important;
    border: 2px solid #ffffff;
}

/* Hotline Pill */
.btn-hotline-pill {
    background-color: var(--brand-gold);
    border: none;
    border-radius: 30px;
    padding: 6px 16px;
    transition: var(--transition-smooth);
}

.btn-hotline-pill:hover {
    background-color: var(--brand-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 207, 65, 0.4);
}

.hotline-pill-icon {
    font-size: 1.25rem;
}

.hotline-phone {
    font-size: 0.85rem;
    line-height: 1.1;
}

.hotline-text {
    font-size: 0.7rem;
    color: #4b5563;
    line-height: 1.1;
}

/* --------------------------------------------------------------------------
   SIDEBAR NAVIGATION
   -------------------------------------------------------------------------- */
.sticky-sidebar-wrapper {
    position: sticky;
    top: 20px;
}

.sidebar-navigation {
    background-color: var(--sidebar-bg);
    border-radius: 12px;
    padding: 10px;
    border: 1px solid var(--card-border);
}

.sidebar-item {
    margin-bottom: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.sidebar-icon-box {
    width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 0.95rem;
}

.sidebar-link:hover {
    background-color: rgba(152, 6, 15, 0.08);
    color: var(--brand-red);
}

.sidebar-item.active .sidebar-link,
.sidebar-link.active {
    background-color: var(--brand-red);
    color: #ffffff;
    font-weight: 600;
}

.sidebar-item.active .sidebar-link .sidebar-icon-box,
.sidebar-link.active .sidebar-icon-box {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   HERO BANNER SECTION
   -------------------------------------------------------------------------- */
.hero-banner-section {
    background: linear-gradient(90deg, #12381e 0%, rgba(18, 56, 30, 0.95) 42%, rgba(18, 56, 30, 0.65) 62%, rgba(18, 56, 30, 0.15) 100%), 
                url('../images/hero-products-clean.jpg') right center / cover no-repeat;
    min-height: 280px;
    border: 1px solid #cbe0c3;
}

.hero-banner-inner {
    min-height: 280px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #c9e8be;
}

.hero-main-title {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 0.95rem;
    color: #e5f5df;
    line-height: 1.4;
}

.btn-hero-cta {
    background-color: var(--brand-red);
    color: #ffffff;
    border-radius: 30px;
    padding: 9px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-hero-cta:hover {
    background-color: var(--brand-red-dark);
    color: #ffffff;
    transform: translateX(3px);
}

.hero-showcase-img {
    max-height: 250px;
    width: auto;
    object-fit: cover;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

/* --------------------------------------------------------------------------
   3 PROMO FEATURE CARDS
   -------------------------------------------------------------------------- */
.promo-card {
    border: 1px solid var(--card-border);
    transition: var(--transition-smooth);
    min-height: 110px;
}

.promo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.card-tea {
    background: linear-gradient(135deg, #f0f7ee 0%, #e5f2e2 100%);
    border-color: #d1e7cb;
}

.card-salt {
    background: linear-gradient(135deg, #edf5fa 0%, #e0eff8 100%);
    border-color: #cde4f2;
}

.card-flour {
    background: linear-gradient(135deg, #faf4e8 0%, #f6ecda 100%);
    border-color: #eedcc0;
}

.promo-round-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #ffffff;
}

.promo-icon-tea {
    background-color: #438139;
}

.promo-icon-salt {
    background-color: #1d5f9e;
}

.promo-icon-flour {
    background-color: #b87b28;
}

.promo-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.card-tea .promo-title { color: #2e5927; }
.card-salt .promo-title { color: #164674; }
.card-flour .promo-title { color: #7a5118; }

.promo-shop-link {
    font-size: 0.78rem;
}

.card-tea .promo-shop-link { color: #2e5927; }
.card-salt .promo-shop-link { color: #164674; }
.card-flour .promo-shop-link { color: #7a5118; }

.promo-art-img {
    width: 95px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

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

/* --------------------------------------------------------------------------
   SECTION HEADINGS
   -------------------------------------------------------------------------- */
.section-heading-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
}

.section-view-all-link {
    font-size: 0.82rem;
    transition: var(--transition-smooth);
}

.section-view-all-link:hover {
    color: var(--brand-red-dark) !important;
    transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   SHOP BY CATEGORY CARDS
   -------------------------------------------------------------------------- */
.category-grid-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    width: 100%;
}

@media (max-width: 991px) {
    .category-grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.category-item-card {
    background-color: #ffffff;
    border: 1px solid var(--card-border);
    transition: var(--transition-smooth);
    padding: 14px 10px;
    height: 100%;
    border-radius: 12px;
}

.category-item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: #d6ccbe;
}

.category-icon-box {
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #fdfaf6;
    border-radius: 10px;
    margin-bottom: 10px;
}

.category-icon-img {
    max-height: 88px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.06));
}

.category-item-card:hover .category-icon-img {
    transform: scale(1.08);
}

.category-title {
    font-size: 0.85rem;
    color: #333333;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   PRODUCT CARDS
   -------------------------------------------------------------------------- */
.product-item-card {
    border: 1px solid var(--card-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.product-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--brand-red);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
    z-index: 2;
}

.btn-wishlist-toggle {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 0.95rem;
    padding: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 2;
}

.btn-wishlist-toggle:hover,
.btn-wishlist-toggle.active {
    color: var(--brand-red);
    transform: scale(1.15);
}

.product-image-area {
    height: 175px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #faf8f5;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.product-pack-img {
    max-height: 155px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
}

.product-item-card:hover .product-pack-img {
    transform: scale(1.06);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.13));
}

.product-name {
    font-size: 0.82rem;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-weight {
    font-size: 0.72rem;
}

.stars-gold {
    color: var(--stars-gold);
    font-size: 0.7rem;
    letter-spacing: -1px;
}

.rating-count {
    font-size: 0.68rem;
}

.price-current {
    font-size: 0.9rem;
    color: #111827;
}

.price-original {
    font-size: 0.75rem;
}

.btn-add-to-cart {
    background-color: var(--brand-red);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.76rem;
    padding: 7px 10px;
    transition: var(--transition-smooth);
}

.btn-add-to-cart:hover {
    background-color: var(--brand-red-dark);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   FEATURED TEA CAROUSEL
   -------------------------------------------------------------------------- */
.section-featured-tea {
    position: relative;
}

.carousel-nav-btn {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid var(--card-border);
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition-smooth);
}

.carousel-nav-btn:hover {
    background-color: var(--brand-red);
    color: #ffffff;
    border-color: var(--brand-red);
}

.prev-btn { left: -14px; }
.next-btn { right: -14px; }

.tea-carousel-row {
    scrollbar-width: none;
}

.tea-carousel-row::-webkit-scrollbar {
    display: none;
}

@media (min-width: 992px) {
    .col-lg-custom-5 {
        width: 20%;
    }
}

/* --------------------------------------------------------------------------
   EVERYDAY ESSENTIALS BANNERS
   -------------------------------------------------------------------------- */
.essential-promo-box {
    min-height: 160px;
    border: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

.essential-promo-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.essential-salt {
    background: linear-gradient(135deg, #dcf0fb 0%, #cae5f7 100%);
    border-color: #bde0f5;
}

.essential-flour {
    background: linear-gradient(135deg, #faefdc 0%, #f7e4c7 100%);
    border-color: #eed5b1;
}

.essential-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #1a1a1a;
}

.essential-sub {
    font-size: 0.85rem;
}

.btn-essential-salt {
    background-color: #194a7a;
    font-size: 0.8rem;
    border: none;
    transition: var(--transition-smooth);
}

.btn-essential-salt:hover {
    background-color: #12375c;
    transform: translateX(3px);
}

.btn-essential-flour {
    background-color: var(--brand-red);
    font-size: 0.8rem;
    border: none;
    transition: var(--transition-smooth);
}

.btn-essential-flour:hover {
    background-color: var(--brand-red-dark);
    transform: translateX(3px);
}

.essential-img {
    max-height: 155px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
    transition: var(--transition-smooth);
}

.essential-promo-box:hover .essential-img {
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   SPECIAL OFFER 20% OFF BANNER & COUNTDOWN
   -------------------------------------------------------------------------- */
.flash-sale-banner {
    background: linear-gradient(90deg, #96060f 0%, #aa0812 50%, #82030a 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.offer-starburst-badge {
    background-color: var(--brand-gold);
    color: var(--brand-red);
    font-weight: 900;
    font-size: 0.72rem;
    line-height: 1.1;
    text-align: center;
    padding: 8px 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: rotate(-5deg);
}

.offer-title {
    font-size: 1.6rem;
    line-height: 1.1;
}

.timer-unit-box {
    background-color: #bb0915;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 6px 12px;
    min-width: 54px;
}

.timer-num {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.timer-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: capitalize;
}

.btn-offer-shop {
    background-color: var(--brand-gold);
    border-radius: 30px;
    padding: 8px 22px;
    font-size: 0.85rem;
    border: none;
    transition: var(--transition-smooth);
}

.btn-offer-shop:hover {
    background-color: var(--brand-gold-hover);
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   WHY CHOOSE DIVINE KITCHEN FOODS?
   -------------------------------------------------------------------------- */
.why-choose-card {
    border: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

.why-choose-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.feature-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--brand-yellow-light);
    color: #b27f1c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.feature-title {
    font-size: 0.85rem;
    color: #111827;
}

/* --------------------------------------------------------------------------
   MODERN MANUFACTURING & QUALITY
   -------------------------------------------------------------------------- */
.factory-quality-card {
    border: 1px solid var(--card-border);
}

.factory-photo {
    min-height: 220px;
    object-fit: cover;
}

.factory-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: #6b7280;
}

.factory-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #111827;
}

.btn-factory-learn {
    background-color: var(--brand-red);
    border-radius: 30px;
    padding: 7px 20px;
    font-size: 0.8rem;
    border: none;
    transition: var(--transition-smooth);
}

.btn-factory-learn:hover {
    background-color: var(--brand-red-dark);
    transform: translateX(3px);
}

.checkpoint-icon-wrap {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(152, 6, 15, 0.1);
    color: var(--brand-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid var(--card-border);
    }
}

/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonial-card {
    border: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.customer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.avatar-np { background: linear-gradient(135deg, #1b4d29 0%, #2f8546 100%); }
.avatar-sf { background: linear-gradient(135deg, #d97706 0%, #b45309 100%); }
.avatar-ts { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%); }

.avatar-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border: 2px solid var(--card-border);
    flex-shrink: 0;
}

.testimonial-quote {
    font-size: 0.78rem;
    font-style: italic;
    line-height: 1.4;
}

.customer-name {
    font-size: 0.82rem;
    color: #111827;
}

/* --------------------------------------------------------------------------
   INSTAGRAM GRID
   -------------------------------------------------------------------------- */
.instagram-tile-box {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--card-border);
    transition: var(--transition-smooth);
    position: relative;
    display: block;
}

.instagram-tile-box img {
    transition: transform 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-tile-box:hover img {
    transform: scale(1.08);
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    color: #ffffff;
    font-size: 1.5rem;
}

.instagram-tile-box:hover .instagram-overlay {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   NEWSLETTER SUBSCRIPTION
   -------------------------------------------------------------------------- */
.newsletter-subscription-box {
    background-color: #fbd65c;
    border: 1px solid #ecc244;
}

.newsletter-icon-envelope {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: var(--brand-red);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.newsletter-title {
    font-size: 1.1rem;
    color: #1a1a1a;
}

.newsletter-email-input {
    border: 1px solid #e5c353;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 0.85rem;
    min-width: 250px;
    background-color: #ffffff;
}

.newsletter-email-input:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(152, 6, 15, 0.15);
}

.btn-newsletter-submit {
    background-color: var(--brand-red);
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.btn-newsletter-submit:hover {
    background-color: var(--brand-red-dark);
}

/* --------------------------------------------------------------------------
   SITE FOOTER
   -------------------------------------------------------------------------- */
.site-main-footer {
    background-color: var(--brand-red);
    border-top: 3px solid #7d030a;
}

.footer-logo {
    max-height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.footer-company-name {
    font-size: 0.9rem;
    color: #ffffff;
}

.footer-column-title {
    font-size: 0.88rem;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-link:hover {
    color: var(--brand-gold);
    transform: translateX(3px);
}

.footer-social-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-fb { background-color: #1877f2; }
.social-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-tw { background-color: #000000; }

.footer-social-circle:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Payment Badges */
.payment-badge-pill {
    background-color: #ffffff;
    color: #111827;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    height: 22px;
}

.visa-pill {
    color: #1a1f71;
    font-style: italic;
    font-weight: 900;
}

.mastercard-pill {
    display: inline-flex;
    align-items: center;
}

.mc-circle-red {
    width: 11px;
    height: 11px;
    background-color: #eb001b;
    border-radius: 50%;
    margin-right: -4px;
    z-index: 1;
}

.mc-circle-yellow {
    width: 11px;
    height: 11px;
    background-color: #f79e1b;
    border-radius: 50%;
}

.mc-circle-blue {
    width: 11px;
    height: 11px;
    background-color: #00a2e5;
    border-radius: 50%;
    margin-right: -4px;
    z-index: 1;
}

.cod-pill {
    color: #7a5118;
    background-color: #fef7ea;
    border: 1px solid #edd5b4;
    font-size: 0.65rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
}

.footer-tagline-script {
    font-family: var(--font-script);
    font-size: 1.6rem;
    color: var(--brand-gold);
    letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN SYSTEM
   -------------------------------------------------------------------------- */

/* Mobile Bottom Sticky Navigation Bar */
.mobile-bottom-nav {
    height: 60px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    border-top: 1px solid #ede7dc !important;
    background: #ffffff !important;
    backdrop-filter: blur(10px);
}

.mobile-nav-item {
    flex: 1;
    padding: 5px 0;
    transition: var(--transition-smooth);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--brand-red) !important;
    transform: translateY(-2px);
}

/* Tablet Screens (max-width: 991.98px) */
@media (max-width: 991.98px) {
    .header-logo {
        height: 75px;
        max-height: 75px;
    }
    
    .hero-main-title {
        font-size: 1.75rem;
    }
    
    .hero-showcase-img {
        max-height: 180px;
        opacity: 0.4;
    }
    
    .prev-btn, .next-btn {
        display: none;
    }
    
    .category-grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile Devices (max-width: 767.98px) */
@media (max-width: 767.98px) {
    body {
        padding-bottom: 65px; /* Reserve space for mobile-bottom-nav */
    }

    /* Top Announcement Bar */
    .top-announcement-bar {
        padding: 4px 0;
    }
    .top-bar-left, .top-bar-right {
        font-size: 0.72rem;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    .top-bar-left span:last-child {
        display: none; /* Hide secondary slogan on small phones */
    }
    .top-bar-left span.opacity-50 {
        display: none;
    }

    /* Header */
    .main-site-header {
        padding: 8px 0 !important;
    }
    .header-logo {
        height: 64px;
        max-height: 64px;
    }
    .header-search-form {
        margin-top: 4px;
    }
    .header-search-input {
        font-size: 0.82rem;
        padding: 7px 10px;
    }
    .btn-header-search {
        padding: 6px 12px;
    }
    .header-action-icon {
        font-size: 1.25rem;
    }
    .header-badge {
        width: 15px;
        height: 15px;
        font-size: 0.6rem;
        top: -4px;
        right: -6px;
    }

    /* Hero Banner */
    .hero-banner-card {
        padding: 18px 14px !important;
        border-radius: 12px;
    }
    .hero-main-title {
        font-size: 1.35rem;
        line-height: 1.25;
    }
    .hero-subtitle {
        font-size: 0.78rem;
    }
    .hero-tag-badge {
        font-size: 0.68rem;
        padding: 3px 8px;
    }
    .btn-hero-primary {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    .btn-hero-secondary {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    .hero-showcase-img {
        display: none;
    }

    /* Promo Cards Row */
    .promo-card {
        padding: 12px 14px !important;
    }
    .promo-title {
        font-size: 0.95rem;
    }
    .promo-art-img {
        width: 80px;
        height: 65px;
    }

    /* Shop by Category: Swipeable reel on mobile */
    .category-grid-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding: 4px 2px 10px 2px;
        scrollbar-width: none;
    }
    .category-grid-container::-webkit-scrollbar {
        display: none;
    }
    .category-grid-col {
        flex: 0 0 115px;
        scroll-snap-align: start;
    }
    .category-item-card {
        padding: 10px 6px;
        border-radius: 10px;
    }
    .category-icon-box {
        height: 80px;
        margin-bottom: 6px;
    }
    .category-icon-img {
        max-height: 68px;
    }
    .category-title {
        font-size: 0.78rem;
    }

    /* Product Cards */
    .product-item-card {
        padding: 10px !important;
        border-radius: 10px;
    }
    .product-image-area {
        height: 140px;
        padding: 8px;
        margin-bottom: 8px;
        border-radius: 8px;
    }
    .product-pack-img {
        max-height: 125px;
    }
    .product-name {
        font-size: 0.82rem;
        line-height: 1.25;
        height: 2.5em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-weight {
        font-size: 0.72rem;
    }
    .product-rating-stars {
        font-size: 0.7rem;
    }
    .price-current {
        font-size: 0.92rem;
    }
    .price-original {
        font-size: 0.75rem;
    }
    .btn-add-to-cart {
        font-size: 0.76rem;
        padding: 7px 4px;
        border-radius: 6px;
    }
    .product-discount-badge {
        font-size: 0.6rem;
        padding: 2px 6px;
        top: 8px;
        left: 8px;
    }
    .btn-wishlist-toggle {
        top: 6px;
        right: 6px;
        font-size: 0.85rem;
    }

    /* Ribbon Banner */
    .promo-ribbon-card img {
        min-height: 60px !important;
        max-height: 75px;
        object-fit: cover;
    }

    /* Everyday Essentials */
    .essential-promo-box {
        min-height: 130px;
        padding: 16px !important;
    }
    .essential-title {
        font-size: 1.25rem;
    }
    .essential-sub {
        font-size: 0.78rem;
        margin-bottom: 10px !important;
    }
    .btn-essential-salt,
    .btn-essential-flour {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
    .essential-img {
        max-height: 105px;
    }

    /* Flash Sale Banner */
    .flash-sale-banner {
        padding: 18px 14px !important;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .flash-sale-title {
        font-size: 1.2rem;
    }
    .timer-box {
        width: 50px;
        height: 50px;
        font-size: 1.15rem;
    }
    .timer-unit-label {
        font-size: 0.62rem;
    }
    .btn-claim-offer {
        width: 100%;
        justify-content: center;
        padding: 10px;
        font-size: 0.85rem;
    }

    /* Why Choose Us Cards */
    .why-choose-card {
        padding: 12px !important;
    }
    .feature-icon-circle {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        margin-right: 10px !important;
    }
    .feature-title {
        font-size: 0.84rem;
    }
    .feature-desc {
        font-size: 0.72rem;
    }

    /* Manufacturing Quality Section */
    .factory-visual-banner {
        min-height: 180px !important;
        padding: 18px !important;
    }
    .factory-title {
        font-size: 1.3rem;
    }
    .factory-details-content {
        padding: 18px !important;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 16px !important;
    }
    .quote-text {
        font-size: 0.82rem;
    }

    /* Site Footer */
    .site-main-footer {
        padding-top: 2rem !important;
        padding-bottom: 5.5rem !important; /* clear bottom nav */
    }
    .footer-company-name {
        font-size: 0.85rem;
    }
    .footer-column-title {
        font-size: 0.84rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem !important;
    }
    .footer-tagline-script {
        font-size: 1.35rem;
    }
}

/* Extra Small Phones (max-width: 375px) */
@media (max-width: 375px) {
    .header-logo {
        height: 52px;
        max-height: 52px;
    }
    .product-image-area {
        height: 125px;
    }
    .product-pack-img {
        max-height: 110px;
    }
    .category-grid-col {
        flex: 0 0 100px;
    }
    .timer-box {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

