/* ==========================================================================
   POWERSTAR SUPERMARKETS - CORPORATE DESIGN SYSTEM (FINAL CLEAN V3)
   ========================================================================== */

/* --- 1. DESIGN TOKENS (VARIABLES) --- */
:root {
    /* === Brand Palette === */
    --ps-red: #DA291C;
    --ps-green: #006838;
    --ps-gold: #D4AF37;
    --ps-dark: #1A1A1A;
    --ps-grey-light: #F8F9FA;
    --ps-grey-med: #e9ecef;

    /* === UI Basics === */
    --bg-body: #FFFFFF;
    --text-main: #333333;
    --text-muted: #666666;
    --border-color: rgba(0, 0, 0, 0.1);

    /* === Layout & Spacing === */
    --container-width: 1200px;
    --section-spacing: 100px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;

    /* === Depth & Animation === */
    --shadow-soft: 0 5px 20px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- 2. RESET & TYPOGRAPHY --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--ps-dark);
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    display: block;
    border-style: none;
    object-fit: contain;
    background: transparent;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- 3. GLOBAL UTILITIES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-subtitle {
    display: block;
    color: var(--ps-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes zoomIn {
    from {
        transform: scale(0.98);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- 4. HEADER & NAVIGATION --- */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    min-height: 90px;
}

/* Logo Fix */
.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ps-dark);
    position: relative;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--ps-red);
    transition: 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--ps-red);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ps-dark);
}

/* --- 5. HERO SECTIONS --- */
.hero {
    position: relative;
    background-color: var(--ps-green);
    background-image: linear-gradient(rgba(0, 104, 56, 0.9), rgba(0, 50, 20, 0.95));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 0;
}

.hero.home-hero {
    background-image: linear-gradient(rgba(0, 60, 30, 0.7), rgba(0, 40, 20, 0.8)), url('../assets/supermarket-bg.jpg');
}

.hero.services-hero {
    background-image: linear-gradient(rgba(0, 60, 30, 0.8), rgba(0, 40, 20, 0.9)), url('../assets/products-hero.jpg');
}

.hero.offers-hero {
    background-image: url('../assets/hero/offers-hero.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    height: 80vh;
    position: relative;
}

.hero.offers-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero.contact-hero {
    background: linear-gradient(rgba(0, 104, 56, 0.85), rgba(0, 50, 20, 0.9)), url('../assets/contact-bg.jpg');
    height: 60vh;
    margin-bottom: 60px;
}

.hero.team-hero {
    background: linear-gradient(rgba(0, 40, 20, 0.8), rgba(0, 20, 10, 0.9)), url('../assets/team-happy.jpg');
}

.hero.media-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/supermarket-bg.jpg');
}

.hero.about-hero {
    background: linear-gradient(rgba(0, 60, 30, 0.8), rgba(0, 40, 20, 0.9)), url('../assets/team.jpg');
}

.hero.loyalty-hero {
    background: linear-gradient(rgba(0, 40, 20, 0.8), rgba(0, 20, 10, 0.9)), url('../assets/supermarket-bg.jpg');
    height: 80vh;
}

.hero.careers-hero {
    background: linear-gradient(rgba(0, 104, 56, 0.85), rgba(0, 50, 20, 0.9)), url('../assets/supermarket-bg.jpg');
    height: 60vh;
    margin-bottom: 60px;
}

.hero-glass-card {
    max-width: 850px;
    padding: 40px;
    animation: zoomIn 0.8s ease-out;
}

.hero-welcome-text {
    color: var(--ps-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* --- 6. BUTTONS & FORMS --- */
.btn,
.btn-primary,
.btn-white,
.btn-whatsapp,
.btn-chat-sm,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--ps-red);
    color: white;
}

.btn-primary:hover {
    background: #b01e14;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 41, 28, 0.3);
}

.btn-white {
    background: white;
    color: var(--ps-green);
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: var(--ps-green);
    color: white;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1ebc57;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    background: #f9f9f9;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--ps-green);
    outline: none;
    background: white;
}

/* --- 7. CARDS & GRIDS (GLOBAL) --- */
.department-grid,
.values-grid,
.benefits-grid,
.gallery-grid,
.team-grid,
.ordering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: var(--section-spacing);
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dept-card,
.value-card,
.benefit-item,
.blog-card,
.team-card,
.branch-card,
.step-card,
.info-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dept-card:hover,
.value-card:hover,
.benefit-item:hover,
.blog-card:hover,
.team-card:hover,
.branch-card:hover,
.step-card:hover,
.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* --- 8. HOMEPAGE MODULES --- */
.quick-access-section {
    margin-top: -50px;
    position: relative;
    z-index: 20;
    padding-bottom: var(--section-spacing);
}

.quick-card {
    padding: 30px 20px;
    text-align: center;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.quick-card:hover {
    border-color: var(--ps-green);
}

.quick-icon {
    font-size: 1.8rem;
    color: var(--ps-green);
    margin-bottom: 15px;
    width: 64px;
    height: 64px;
    background: var(--ps-grey-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.quick-card:hover .quick-icon {
    background: var(--ps-green);
    color: white;
}

/* --- 9. PAGE SPECIFIC STYLES --- */
/* Impact Stats */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: #ffffff;
    border-radius: 14px;
    padding: 50px 30px;
    margin: 60px auto;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--ps-green);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

/* Careers Basic */
.job-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ps-grey-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ps-dark);
    border: 1px solid var(--border-color);
}

.btn-job-apply {
    margin-top: auto;
    border: 1px solid var(--ps-red);
    color: var(--ps-red);
    background: white;
    padding: 10px 20px;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;
    display: block;
}

.btn-job-apply:hover {
    background: var(--ps-red);
    color: white;
}

.dept-card.filled {
    opacity: 0.6;
    background: #f9f9f9;
}

.btn-filled {
    margin-top: auto;
    border: 1px solid #ccc;
    color: #999;
    background: white;
    padding: 10px 20px;
    text-align: center;
    border-radius: 4px;
    cursor: not-allowed;
    display: block;
}

/* --- 10. FOOTER --- */
footer {
    background: var(--ps-green);
    color: white;
    padding: 80px 0 30px;
    text-align: center;
    border-top: 8px solid var(--ps-red);
}

.footer-content h4 {
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.icons-container a {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: 0.3s;
}

.icons-container a:hover {
    background: var(--ps-red);
    border-color: var(--ps-red);
    transform: translateY(-3px);
}

.copyright p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 40px;
}

/* --- 11. RESPONSIVE BASE --- */
@media (max-width: 1024px) {

    .departments-grid,
    .offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .locator-wrapper {
        flex-direction: column-reverse;
        height: 80vh;
    }

    .locator-list,
    .locator-map {
        width: 100%;
        height: 50%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 30px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .logo img {
        height: 45px !important;
    }

    .hero {
        min-height: 50vh !important;
        height: auto;
        padding-top: 100px;
    }

    .contact-split-wrapper,
    .general-staff-section {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PREMIUM PARTNERS MARQUEE
   ========================================= */
.partners-section {
    background: #fff;
    padding: 80px 0;
    position: relative;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 80px;
    animation: premiumScroll 45s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.partner-logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.partner-logo-item img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    mix-blend-mode: multiply;
}

.partner-logo-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
    cursor: pointer;
}

@keyframes premiumScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .marquee-track {
        gap: 40px;
        animation-duration: 25s;
    }

    .partner-logo-item img {
        height: 40px;
    }
}

/* =========================================
   LOYALTY CARD & REGISTRATION STYLES
   ========================================= */
.card-display {
    margin-bottom: 60px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
}

.smart-card {
    background: linear-gradient(135deg, #004d26 0%, #002b15 100%);
    width: 100%;
    max-width: 420px;
    height: 260px;
    border-radius: 16px;
    padding: 25px;
    color: white;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 77, 38, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.5s ease;
}

.smart-card:hover {
    transform: translateY(-10px) rotateX(5deg);
}

.smart-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(125deg, transparent 30%, rgba(255, 255, 255, 0.1) 40%, transparent 50%);
    border-radius: 16px;
    pointer-events: none;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-chip {
    width: 50px;
    height: 35px;
    background: linear-gradient(135deg, #d4af37 0%, #f9f295 50%, #d4af37 100%);
    border-radius: 6px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.card-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-number {
    font-size: 1.6rem;
    letter-spacing: 2px;
    text-align: center;
    margin-top: 10px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

.card-instruction {
    font-size: 0.65rem;
    text-align: center;
    text-transform: uppercase;
    opacity: 0.7;
    margin-top: 5px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.card-label {
    display: block;
    font-size: 0.55rem;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 2px;
    font-family: 'Poppins', sans-serif;
}

.card-holder,
.card-tier {
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.card-tier {
    color: var(--ps-gold);
}

.loyalty-form-section {
    max-width: 800px;
    margin: 0 auto 80px;
    background: white;
    padding: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.form-header-center {
    background: var(--ps-green);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.form-header-center h2 {
    color: white;
    margin-bottom: 10px;
}

.form-header-center p {
    margin: 0;
    opacity: 0.9;
}

.form-body {
    padding: 40px;
}

.form-section-title {
    font-size: 1.1rem;
    border-bottom: 2px solid var(--ps-grey-med);
    padding-bottom: 10px;
    margin-bottom: 25px;
    color: var(--ps-dark);
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-whatsapp-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 18px;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-submit:hover {
    background: #1ebc57;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
    .form-row-split {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .smart-card {
        height: 220px;
    }

    .card-number {
        font-size: 1.3rem;
    }
}

/* =========================================================
   CAREERS PAGE FIXES
   ========================================================= */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.icon-green {
    background: #e6f4ea;
    color: var(--ps-green);
}

.icon-gold {
    background: #fff8e1;
    color: var(--ps-gold);
}

.icon-red {
    background: #fce8e6;
    color: var(--ps-red);
}

.general-staff-section {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px;
    margin: 0 auto 60px auto;
    max-width: 900px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.general-staff-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.general-staff-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.application-notice {
    margin-top: 30px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-left: 5px solid #ffc107;
    color: #856404;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.application-notice i {
    font-size: 1.5rem;
    margin-top: 2px;
    color: #ffc107;
}

.application-notice strong {
    display: block;
    margin-bottom: 5px;
    color: #533f03;
    font-size: 0.95rem;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .general-staff-section {
        padding: 25px;
        text-align: center;
    }

    .general-staff-header {
        flex-direction: column;
        text-align: center;
    }

    .application-notice {
        text-align: left;
    }
}

/* =========================================================
   UNIVERSAL LAYOUT FIX
   ========================================================= */
.dept-card,
.value-card,
.benefit-item,
.blog-card,
.team-card,
.branch-card,
.step-card,
.info-card {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.dept-card p,
.value-card p,
.benefit-item p,
.branch-card p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.icon-circle,
.benefit-icon,
.quick-icon {
    margin-bottom: 20px;
}

.dept-card .btn,
.branch-card .btn,
.info-card .btn {
    margin-top: auto;
    width: 100%;
}

/* =========================================================
   DEPARTMENTS PAGE FIXES
   ========================================================= */
.values-grid.floating-cards {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.promo-banner {
    background: linear-gradient(135deg, #004d26 0%, #002b15 100%);
    border-radius: 16px;
    padding: 60px;
    margin: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 77, 38, 0.2);
}

.promo-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.promo-subtitle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ps-gold);
}

.promo-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.promo-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.8;
}

.promo-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: white;
    color: var(--ps-green) !important;
    border-color: white;
}

.promo-icon-bg {
    position: absolute;
    right: -20px;
    bottom: -40px;
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.03);
    transform: rotate(-15deg);
    pointer-events: none;
}

@media (max-width: 768px) {
    .promo-banner {
        padding: 40px 25px;
    }

    .promo-title {
        font-size: 1.8rem;
    }

    .promo-icon-bg {
        font-size: 10rem;
    }

    .values-grid.floating-cards {
        margin-top: -30px;
    }
}

/* =========================================================
   ORDER PAGE FIXES
   ========================================================= */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
    margin-top: -30px;
    position: relative;
    z-index: 5;
}

.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
    overflow: visible !important;
    margin-top: 15px;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--ps-green);
}

.step-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--ps-red);
    color: white;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(218, 41, 28, 0.3);
    z-index: 10;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--ps-green);
    margin-bottom: 20px;
    margin-top: 10px;
}

.ordering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
}

.order-branch-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.order-branch-card:hover {
    border-color: var(--ps-green);
    box-shadow: 0 8px 20px rgba(0, 104, 56, 0.1);
    transform: translateX(5px);
}

.ob-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: var(--ps-dark);
}

.ob-info span {
    font-size: 0.8rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-chat-sm {
    background: #25D366;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    text-decoration: none;
}

.btn-chat-sm:hover {
    background: #1ebc57;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    color: white;
}

.payment-trust {
    text-align: center;
    background: #f8f9fa;
    padding: 50px;
    border-radius: 16px;
    border: 1px dashed #ddd;
    margin-bottom: 60px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.pay-badge {
    background: white;
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #555;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pay-badge img {
    height: 24px;
    width: auto;
}

.pay-badge i {
    color: var(--ps-green);
    font-size: 1.2rem;
}

.fallback-icon {
    display: none;
    font-size: 1.5rem;
    color: var(--ps-green);
}

@media (max-width: 768px) {
    .ordering-grid {
        grid-template-columns: 1fr;
    }

    .payment-icons {
        flex-direction: column;
        align-items: center;
    }

    .pay-badge {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   CONTACT PAGE FIXES
   ========================================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
    padding: 0 20px;
}

.info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease;
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--ps-green);
}

.info-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 50%;
}

.info-card h4 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: var(--ps-dark);
}

.info-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.contact-split-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 100px;
    align-items: start;
}

.form-container {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-header {
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.form-customer .form-header {
    background: linear-gradient(135deg, var(--ps-green) 0%, #004d26 100%);
}

.form-vendor .form-header {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
}

.form-header h2 {
    color: white;
    margin: 10px 0 5px;
    font-size: 1.5rem;
}

.form-header p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
    font-weight: 300;
}

.form-container form {
    padding: 40px;
    background: white;
    flex-grow: 1;
}

.form-group label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: white;
    border-color: var(--ps-green);
    box-shadow: 0 0 0 4px rgba(0, 104, 56, 0.1);
}

.button {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .contact-split-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* =========================================================
   BRANCH LOCATOR STYLES
   ========================================================= */
.locator-wrapper {
    display: flex;
    height: 700px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    margin-bottom: 80px;
    border: 1px solid #e0e0e0;
}

.locator-list {
    width: 35%;
    height: 100%;
    overflow-y: auto;
    background: #fdfdfd;
    border-right: 1px solid #e0e0e0;
}

.locator-map {
    width: 65%;
    height: 100%;
    background: #eee;
    z-index: 1;
}

.branch-item {
    padding: 25px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.branch-item:hover,
.branch-item.active {
    background: white;
    border-left: 5px solid var(--ps-green);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.branch-info h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    color: var(--ps-dark);
}

.branch-meta {
    font-size: 0.85rem;
    color: #666;
    margin: 3px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.branch-meta i {
    color: var(--ps-green);
    width: 16px;
}

.btn-locate {
    background: white;
    border: 1px solid var(--ps-green);
    color: var(--ps-green);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.branch-item:hover .btn-locate {
    background: var(--ps-green);
    color: white;
}

@media (max-width: 900px) {
    .locator-wrapper {
        flex-direction: column-reverse;
        height: 800px;
    }

    .locator-list,
    .locator-map {
        width: 100%;
        height: 50%;
    }
}

/* =========================================================
   PREMIUM RETAIL CATALOG GRID
   ========================================================= */
.department-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    width: 100%;
}

@media (max-width: 1100px) {
    .department-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .department-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

.dept-card {
    background: #fff;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s ease;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.dept-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: #f0f0f0 !important;
}

.dept-card .dept-image-wrapper {
    height: 220px !important;
    border-bottom: none !important;
    position: relative;
    overflow: hidden;
}

.dept-card .dept-image-wrapper img {
    transition: transform 0.6s ease;
}

.dept-card:hover .dept-image-wrapper img {
    transform: scale(1.08);
}

.dept-card .card-content {
    padding: 25px 20px !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    background: #ffffff;
    z-index: 2;
}

.dept-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--ps-dark);
    letter-spacing: -0.5px;
}

.dept-card p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.8;
}

.dept-card .btn {
    margin-top: auto;
    background: transparent !important;
    color: var(--ps-green) !important;
    border: none !important;
    padding: 0 !important;
    text-transform: uppercase;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: none !important;
    width: auto !important;
    margin-left: auto;
    margin-right: auto;
}

.dept-card .btn::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.dept-card:hover .btn {
    color: var(--ps-red) !important;
    background: transparent !important;
}

.dept-card:hover .btn::after {
    transform: translateX(5px);
}

@media (max-width: 600px) {
    .dept-card .dept-image-wrapper {
        height: 140px !important;
    }

    .dept-card h3 {
        font-size: 0.95rem;
    }

    .dept-card p {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
}

/* =========================================================
   POWERSTAR BRANDED OFFERS (Clean Red & Green)
   ========================================================= */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.offer-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.offer-card:hover {
    border-color: var(--ps-red);
    /* Highlight Red on Hover */
    box-shadow: 0 10px 25px rgba(218, 41, 28, 0.08);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--ps-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 5;
}

.offer-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #fff;
    pointer-events: none;
    /* No Zoom */
}

.offer-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.offer-details {
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.offer-branches {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
    font-weight: 600;
}

.offer-branches i {
    color: var(--ps-green);
    margin-right: 4px;
}

.offer-details h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
    height: 40px;
    overflow: hidden;
    line-height: 1.4;
}

.price-row {
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: auto;
}

.new-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ps-green);
}

.old-price {
    font-size: 0.85rem;
    color: #999;
    text-decoration: line-through;
}

.btn-add {
    width: 100%;
    background: transparent;
    border: 2px solid var(--ps-red);
    color: var(--ps-red);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 10px 0;
    text-align: center;
    border-radius: 4px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-add:hover {
    background: var(--ps-red);
    color: white;
}

@media (max-width: 900px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* =========================================================
   FINAL HERO SLIDER (Ultra-Wide "Thin Strip" Style)
   ========================================================= */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 30px auto 60px;
    overflow: hidden;
    border-radius: 12px;
    background: transparent;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* 3.5:1 Ratio = Thin Strip */
    aspect-ratio: 3.5 / 1;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    /* Cover fills the box edge-to-edge (No black bars) */
    object-fit: cover;
}

.slide-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 8%;
    color: white;
    text-align: left;
}

.slide-title {
    font-size: 2.5rem;
    margin: 0 0 10px;
    font-weight: 800;
}

.slide-subtitle {
    color: var(--ps-gold);
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.slider-arrow:hover {
    background: var(--ps-red);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* --- MOBILE & TABLET (Must remain readable) --- */
@media (max-width: 1024px) {
    .slider-container {
        aspect-ratio: 3 / 1;
        /* Slightly taller on tablets */
    }
}

@media (max-width: 768px) {
    .slider-container {
        /* On phone, a thin strip is too small to see. 
           We make it a standard rectangle (16:9) just for mobile. */
        aspect-ratio: 16 / 9;
        border-radius: 0;
        width: 100%;
        margin-top: 0;
    }

    .slide img {
        object-fit: cover;
    }
}
/* =========================================
   POWERSTAR CORPORATE THEME - FINAL V5
   ========================================= */
   :root {
    --ps-red: #DA291C;
    --ps-green: #006838;
    --ps-dark: #1A1A1A;
    --ps-grey: #f8f9fa;
    --text-color: #444;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: white;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: var(--ps-dark); }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* --- HERO SECTION --- */
.hero.about-hero {
    position: relative;
    height: 60vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/* Dark overlay for text readability */
.hero.about-hero::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.5); z-index: 1;
}
.hero-glass-card {
    position: relative; z-index: 2;
    padding: 40px 60px;
    border-bottom: 5px solid var(--ps-red);
    max-width: 900px;
    color: white;
    /* Ensure visibility */
    opacity: 1; transform: none; 
}
.hero h1 { 
    font-size: 3.5rem; margin: 10px 0; font-weight: 800; color: white; text-transform: uppercase; 
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- 1. IMPACT STATS BAR --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }

.impact-bar {
    background: white;
    padding: 50px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    border-top: 4px solid var(--ps-green);
}
.stats-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
    divide-x: 1px solid #eee;
}
.stat-num { 
    font-size: 2.8rem; font-weight: 800; color: var(--ps-green); line-height: 1; 
    font-family: 'Montserrat', sans-serif; 
}
.stat-label { 
    font-size: 0.85rem; font-weight: 700; text-transform: uppercase; color: #555; 
    margin-top: 5px; letter-spacing: 1px; 
}

/* --- 2. NARRATIVE SECTION --- */
.narrative-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin: 80px 0;
}
.section-subtitle { 
    display: block; color: var(--ps-red); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; font-size: 0.9rem; 
}
.section-header-center { text-align: center; margin-bottom: 50px; }
.narrative-image img {
    width: 100%; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* --- 3. MISSION, VISION, QUALITY --- */
.values-grid-3 {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.value-card {
    background: white; padding: 40px 30px; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center;
    border-bottom: 3px solid transparent; transition: 0.3s;
}
.value-card:hover { border-bottom-color: var(--ps-green); transform: translateY(-5px); }
.value-card i { font-size: 3rem; color: var(--ps-red); margin-bottom: 20px; }
.value-card h3 { margin-bottom: 15px; }
.value-content { color: #666; }
.value-content ul { padding-left: 20px; margin: 0; }
.value-content li { margin-bottom: 8px; }

/* --- 4. CORE VALUES (DNA) --- */
.values-grid-5 {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 25px;
}
.dna-card {
    background: white; padding: 30px 20px; border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center;
    flex: 1 1 180px; max-width: 220px; transition: 0.3s; border: 1px solid #eee;
}
.dna-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--ps-red); }
.dna-card i { font-size: 2.5rem; color: var(--ps-red); margin-bottom: 15px; }
.dna-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }

/* --- 5. EXECUTIVE COMMITTEE --- */
.exec-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-bottom: 80px;
}
.exec-card {
    background: white; border: 1px solid #eee; padding: 35px; border-radius: 12px; text-align: center; transition: 0.3s;
}
.exec-card:hover { transform: translateY(-5px); border-color: var(--ps-green); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.exec-img {
    width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 4px solid var(--ps-grey); pointer-events: none;
}
.exec-role { color: var(--ps-green); font-weight: 700; font-size: 0.9rem; margin-bottom: 15px; text-transform: uppercase; }
.exec-bio { font-size: 0.95rem; color: #666; font-style: italic; line-height: 1.6; }

/* --- 6. HEARTBEAT (Horizontal Scroll) --- */
.heartbeat-section { background: var(--ps-grey); padding: 80px 0; overflow: hidden; }
.team-scroll-wrapper {
    display: flex; overflow-x: auto; gap: 30px; padding: 20px 0 40px; scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.team-scroll-wrapper::-webkit-scrollbar { height: 6px; }
.team-scroll-wrapper::-webkit-scrollbar-thumb { background: var(--ps-red); border-radius: 4px; }
.team-scroll-wrapper::-webkit-scrollbar-track { background: #ddd; }

.team-card {
    min-width: 350px; background: white; border-radius: 12px; overflow: hidden; border: 1px solid #ddd; cursor: pointer; transition: 0.3s;
    position: relative; top: 0;
}
.team-card:hover { top: -10px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.team-card img { width: 100%; height: 240px; object-fit: cover; }
.team-card-body { padding: 25px; }
.team-card h4 { color: var(--ps-dark); margin: 0 0 5px 0; font-size: 1.3rem; font-weight: 700; }
.read-more { color: var(--ps-green); font-weight: 600; font-size: 0.9rem; }
.read-more i { margin-left: 5px; transition: 0.3s; }
.team-card:hover .read-more i { transform: translateX(5px); }

/* --- 7. PARTNERS (Marquee) --- */
.partners-intro-box { max-width: 800px; margin: 0 auto 50px; text-align: center; color: #555; font-size: 1.1rem; }
.marquee-wrapper { overflow: hidden; background: white; padding: 50px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.marquee-track { display: flex; gap: 80px; align-items: center; animation: scroll 40s linear infinite; }
.marquee-track img { height: 70px; width: auto; filter: grayscale(100%); opacity: 0.6; transition: 0.4s; }
.marquee-track img:hover { filter: grayscale(0); opacity: 1; transform: scale(1.05); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- 8. TESTIMONIALS --- */
.voc-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.voc-card {
    background: white; padding: 40px; border-radius: 12px; border: 1px solid #eee; box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.stars { color: var(--ps-red); margin-bottom: 15px; }

/* --- MODAL --- */
.modal {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8); align-items: center; justify-content: center;
}
.modal.active { display: flex; }
.modal-content {
    background-color: #fefefe; padding: 30px; border-radius: 12px; width: 90%; max-width: 600px;
    position: relative; max-height: 90vh; overflow-y: auto;
}
.close-modal {
    color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer;
}
.close-modal:hover { color: var(--ps-red); }
#modal-img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
#modal-title { color: var(--ps-red); margin-top: 0; }
#modal-desc { line-height: 1.8; color: #555; white-space: pre-wrap; }

/* --- MOBILE --- */
@media (max-width: 900px) {
    .impact-bar { padding: 30px 15px; margin-top: 0; }
    .stats-row { grid-template-columns: 1fr 1fr; gap: 30px; divide-x: none; }
    .narrative-split, .values-grid-3, .voc-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .team-card { min-width: 280px; }
}
/* --- MEDIA / BLOG STYLES --- */
.filter-container { text-align: center; margin: 40px 0; }
.filter-btn { background: white; border: 1px solid #ddd; padding: 10px 25px; border-radius: 30px; margin: 5px; cursor: pointer; transition: 0.3s; font-weight: 600; color: #555; }
.filter-btn.active, .filter-btn:hover { background: #DA291C; color: white; border-color: #DA291C; box-shadow: 0 4px 10px rgba(218,41,28,0.3); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

/* Premium Card */
.media-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.05); transition: transform 0.3s ease; display: flex; flex-direction: column; }
.media-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }

.card-image-wrapper { position: relative; height: 220px; overflow: hidden; }
.card-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.media-card:hover img { transform: scale(1.05); }

.category-tag { position: absolute; top: 15px; right: 15px; padding: 5px 12px; border-radius: 4px; color: white; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; }
.category-tag.news { background: #006838; }
.category-tag.event { background: #DA291C; }
.category-tag.csr { background: #007bff; }
.category-tag.promotion { background: #ff9800; }

.card-content { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.meta-date { font-size: 0.8rem; color: #999; margin-bottom: 10px; }
.media-card h3 { font-size: 1.25rem; margin: 0 0 10px; color: #333; line-height: 1.4; }
.media-card p { font-size: 0.95rem; color: #666; line-height: 1.6; margin-bottom: 20px; flex: 1; }

.read-more { background: none; border: none; color: #DA291C; font-weight: bold; cursor: pointer; padding: 0; font-size: 0.9rem; transition: 0.3s; }
.read-more:hover { padding-left: 5px; }

/* Article Modal (Popup) */
.article-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; overflow-y: auto; padding: 20px 0; backdrop-filter: blur(5px); }
.article-content { background: white; width: 90%; max-width: 800px; border-radius: 12px; position: relative; overflow: hidden; margin: auto; animation: slideUp 0.4s ease; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.close-article { position: absolute; top: 15px; right: 20px; font-size: 2rem; color: white; cursor: pointer; z-index: 10; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }

.article-header { height: 350px; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; }
.article-header::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }

.article-title-box { position: relative; z-index: 2; padding: 40px; width: 100%; color: white; }
.category-pill { background: #DA291C; padding: 4px 10px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; border-radius: 4px; }
.article-title-box h2 { font-size: 2rem; margin: 15px 0 5px; line-height: 1.2; }

.article-body { padding: 40px; font-size: 1.1rem; color: #444; line-height: 1.8; }
.article-intro { font-weight: bold; color: #222; font-size: 1.2rem; }
.btn-external { display: inline-block; background: #3b5998; color: white; padding: 12px 30px; border-radius: 30px; text-decoration: none; font-weight: bold; box-shadow: 0 5px 15px rgba(59, 89, 152, 0.3); transition: 0.3s; }
.btn-external:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(59, 89, 152, 0.4); }

@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media(max-width: 768px) { .article-header { height: 250px; } .article-title-box h2 { font-size: 1.5rem; } }
/* Video Play Overlay */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    border: 2px solid white;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    pointer-events: none; /* Allows click to pass through to the image */
    transition: 0.3s;
}

.card-image-wrapper:hover .play-overlay {
    background: #DA291C;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Video Player in Modal */
.article-video-wrapper {
    width: 100%;
    background: black;
    display: flex;
    justify-content: center;
}

.article-video {
    width: 100%;
    max-height: 450px;
}
/* --- BRANCH LOCATOR STYLES --- */
.locator-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
    height: 600px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 80px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.locator-list {
    background: #fff;
    overflow-y: auto;
    border-right: 1px solid #eee;
}

.locator-map {
    background: #f0f0f0;
    height: 100%;
    width: 100%;
}

.branch-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: 0.2s;
}

.branch-item:hover {
    background: #f9fdfa;
}

.branch-info h3 {
    margin: 0 0 5px 0;
    color: #006838;
    font-size: 1.1rem;
    cursor: pointer;
}

.branch-info p {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #666;
}

.branch-actions {
    margin-top: 15px;
}

/* THE DIRECTIONS BUTTON */
.btn-directions {
    display: inline-block;
    padding: 8px 15px;
    background: #fff;
    color: #006838;
    border: 1px solid #006838;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-directions:hover {
    background: #006838;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 104, 56, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .locator-wrapper {
        grid-template-columns: 1fr;
        height: auto;
    }
    .locator-list {
        max-height: 400px; /* List scrollable on mobile */
    }
    .locator-map {
        height: 400px; /* Fixed height for map on mobile */
    }
}
/* --- PREMIUM LOGO UPGRADE --- */

/* 1. Set a fixed height for the header so it never grows too big */
header {
    height: 90px !important; /* Fixed height: Taller than before, but controlled */
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); /* Subtle premium shadow */
}

/* 2. Remove wasted vertical space in the container */
.header-inner {
    height: 100%;
    padding: 0 5%; /* Keep side padding, remove top/bottom padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* 3. Force the Logo Image to fill the available height */
.logo img {
    height: 75px !important; /* MUCH Larger (Standard is usually 40px) */
    width: auto;  /* Keep the correct shape (don't stretch) */
    object-fit: contain; /* Ensure it stays sharp */
    transition: transform 0.3s ease;
}

/* Optional: Slight zoom on hover for a premium feel */
.logo img:hover {
    transform: scale(1.05); 
}

/* --- MOBILE ADJUSTMENTS (Phones) --- */
@media (max-width: 768px) {
    header {
        height: 70px !important; /* Slightly smaller header on phones */
    }
    
    .logo img {
        height: 55px !important; /* Maximize size for mobile screens */
    }
    
    /* Adjust hamburger menu to center with new logo size */
    .mobile-toggle {
        font-size: 1.5rem;
        margin-top: 5px; 
    }
}
/* --- EMERGENCY VISIBILITY FIX --- */
/* This forces the site to show up even if JS loads slowly */
.reveal {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}
.reveal.active {
    opacity: 1 !important;
    transform: none !important;
}
/* ==============================
   NEW PROFESSIONAL OFFERS GRID
============================== */
.offers-grid-container {
    display: grid;
    gap: 25px;
    padding: 20px 0;
    /* Default to 2 columns for mobile as requested */
    grid-template-columns: repeat(2, 1fr);
}

/* Tablet Landscape (3 columns) */
@media (min-width: 768px) {
    .offers-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (4 columns) */
@media (min-width: 1200px) {
    .offers-grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Professional Offer Card */
.pro-offer-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pro-offer-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: #e0e0e0;
}

/* Badges Container */
.card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

/* Standard Discount Label (e.g., HOT) */
.badge-label {
    background: #333;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* The Glowing CTA Badge (e.g., Save na Powerstar) */
.badge-glow {
    background: linear-gradient(45deg, #DA291C, #ff4d4d);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(218, 41, 28, 0.5);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 5px rgba(218, 41, 28, 0.4); }
    50% { box-shadow: 0 0 20px rgba(218, 41, 28, 0.8); }
    100% { box-shadow: 0 0 5px rgba(218, 41, 28, 0.4); }
}

/* "You Save" Badge */
.saved-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #006838;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* Image Area */
.card-image-wrap {
    height: 180px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.card-image-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.pro-offer-card:hover .card-image-wrap img {
    transform: scale(1.05);
}

/* Content Area */
.card-content-wrap {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-branches {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.card-unit {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

/* Pricing Section */
.card-pricing {
    margin-top: auto; /* Pushes pricing to bottom of content area */
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.95rem;
}

.price-new {
    color: #DA291C;
    font-size: 1.4rem;
    font-weight: 800;
}

/* Card Actions (Buttons) */
.card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f4f6f9;
    padding: 10px 15px;
    border-radius: 30px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.qty-btn.minus { background: #e2e6ea; color: #333; }
.qty-btn.minus:hover { background: #d3d7db; }

.qty-btn.plus { background: #006838; color: white; }
.qty-btn.plus:hover { background: #00552e; }

.qty-display {
    font-weight: bold;
    font-size: 1.1rem;
    width: 30px;
    text-align: center;
}
/* --- STORE LOCATOR STYLES --- */
.locator-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr; /* Fixed width for list, rest for map */
    gap: 0; /* Remove gap to make them touch like Google Maps */
    height: 600px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden; /* Keeps corners rounded */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

/* The List Section */
.locator-list {
    height: 100%;
    overflow-y: auto; /* Scrollable */
    background: #fff;
    border-right: 1px solid #eee;
}

/* Individual Branch Cards */
.locator-item {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.locator-item:hover {
    background-color: #f9fcf9; /* Very light green hover */
    border-left: 4px solid #006838; /* Green accent on hover */
    padding-left: 16px; /* Adjust padding to account for border */
}

.locator-item h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 700;
}

.locator-item p {
    margin: 0 0 5px 0;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.locator-item small {
    display: block;
    margin-top: 8px;
    color: #999;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Custom Scrollbar (Makes it look modern) */
.locator-list::-webkit-scrollbar {
    width: 8px;
}
.locator-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.locator-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.locator-list::-webkit-scrollbar-thumb:hover {
    background: #006838; /* Green scrollbar on hover */
}

/* The Map Section */
.locator-map {
    height: 100%;
    width: 100%;
    background: #e0e0e0;
}

/* Mobile Responsive Fix */
@media (max-width: 768px) {
    .locator-wrapper {
        grid-template-columns: 1fr; /* Stack vertically */
        height: auto;
        border: none;
        box-shadow: none;
    }
    .locator-map {
        height: 400px;
        order: -1; /* Map on top */
        border-radius: 8px;
        margin-bottom: 20px;
    }
    .locator-list {
        height: auto;
        max-height: 400px; /* Limit list height on mobile */
        border: 1px solid #eee;
        border-radius: 8px;
    }
}
/* --- NEW OFFER CARD DESIGN --- */
.offer-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    padding-bottom: 20px;
    transition: all 0.2s ease;
}
.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #006838;
}

/* Badges */
.hot-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #222; /* Sleek Black */
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
}
.save-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #006838; /* Powerstar Green */
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}

/* Image */
.offer-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fff;
}
.offer-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Details */
.offer-details {
    padding: 0 15px;
    text-align: center;
}
.branch-indicator {
    color: #DA291C;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.offer-details h3 {
    font-size: 1rem;
    margin: 5px 0;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.unit {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* Timer */
.product-timer {
    background: #fff3cd;
    color: #856404;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 50px;
    margin-bottom: 10px;
    display: inline-block;
}

/* Qty Buttons [ - 0 + ] */
.qty-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 5px;
    width: 85%;
    margin: 0 auto;
    border: 1px solid #eee;
}
.qty-control button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.qty-control button:first-child {
    background: #e0e0e0;
    color: #555;
}
.qty-control button:last-child {
    background: #006838;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 104, 56, 0.2);
}
.qty-control button:active {
    transform: scale(0.9);
}
.qty-control input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 800;
    font-size: 1.1rem;
    color: #333;
}
/* --- PREMIUM DEPARTMENTS LAYOUT --- */
.branch-selector-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
}
.branch-selector-wrapper select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-weight: 600;
    color: #333;
    outline: none;
}

/* Category Slider */
.category-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    margin-bottom: 30px;
    scrollbar-width: thin;
}
.category-slider::-webkit-scrollbar { height: 4px; }
.category-slider::-webkit-scrollbar-thumb { background: #006838; border-radius: 4px; }

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    cursor: pointer;
    transition: 0.2s;
}
.cat-item:hover { transform: translateY(-5px); }
.cat-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 1.5rem;
    color: #006838;
    transition: 0.3s;
}
.cat-item.active .cat-circle {
    background: #e8f5e9;
    border-color: #006838;
}
.cat-name {
    font-size: 0.8rem;
    color: #444;
    text-align: center;
    font-weight: 500;
}

/* Product Grid (2 Mobile, 3 Tablet, 4 Desktop) */
.products-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr); /* Mobile Default */
}
@media (min-width: 768px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Clean Card Design */
.product-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    position: relative;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #006838;
}
.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}
.badge-red {
    background: #DA291C;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
}
.badge-black {
    background: #222;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
}

.card-img {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.card-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.card-info h4 {
    font-size: 0.9rem;
    color: #333;
    margin: 0 0 5px 0;
    min-height: 2.5em; /* Align cards */
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-now { font-weight: 800; color: #DA291C; font-size: 1.1rem; }
.price-was { font-size: 0.8rem; color: #999; text-decoration: line-through; margin-left: 5px; }

.add-btn {
    margin-top: 10px;
    width: 100%;
    padding: 8px;
    background: white;
    border: 1px solid #006838;
    color: #006838;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.add-btn:hover {
    background: #006838;
    color: white;
}
/* --- JUMIA/HIGH-END STYLE DEPARTMENTS --- */

/* Fix Footer Overlap */
.main-content-pad {
    padding-top: 20px;
    padding-bottom: 80px; /* Adds space before footer */
    min-height: 60vh;
}

/* Section Headers */
.section-header {
    font-size: 1.3rem;
    color: #222;
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 1. CATEGORY BANNER */
.category-banner {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 30px;
    border-radius: 0 0 20px 20px; /* Rounded bottom corners */
    overflow: hidden;
}
.banner-overlay {
    background: rgba(0,0,0,0.4);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 30px;
    color: white;
}
.banner-overlay h1 { margin: 0; font-size: 2rem; }
.banner-overlay p { margin: 10px 0 0 0; font-size: 1rem; opacity: 0.9; }

/* 2. CATEGORY CIRCLE SCROLLER */
.category-scroller {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 10px 5px 25px 5px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
}
.category-scroller::-webkit-scrollbar { height: 5px; }
.category-scroller::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }

.cat-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    cursor: pointer;
    transition: 0.3s;
}
.cat-circle-item:hover { transform: translateY(-5px); }

.cat-circle-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 10px;
    transition: 0.3s;
}
/* Active State (Green Ring) */
.cat-circle-item.active .cat-circle-icon {
    border-color: #006838;
    background: #e8f5e9;
    color: #006838;
}
.cat-circle-name {
    font-size: 0.85rem;
    color: #333;
    font-weight: 600;
    text-align: center;
}

/* 3. DEALS SCROLLER (Horizontal Cards) */
.deals-scroller {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 5px 30px 5px;
    scrollbar-width: thin;
}
.deals-scroller .product-card {
    min-width: 260px; /* Fixed width for scroller items */
    max-width: 260px;
}

/* 4. MAIN PRODUCTS GRID (2-col mobile, 4-col desktop) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Default Mobile */
    gap: 15px;
}
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 25px; } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }


/* CARD DESIGN (Unified Premium Look) */
.product-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    padding: 15px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: #006838;
    transform: translateY(-3px);
}

/* Card Elements */
.card-badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; gap: 5px; }
.badge { padding: 4px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
.badge.hot { background: #222; color: #fff; }
.badge.save { background: #DA291C; color: #fff; }

.card-img-container {
    height: 160px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 15px;
}
.card-img-container img { max-height: 100%; max-width: 100%; object-fit: contain; }

.card-branch-info { /* Only for Deals section */
    font-size: 0.75rem; color: #666; margin-bottom: 5px; display: flex; align-items: center; gap: 5px;
}

.card-title { font-size: 0.95rem; color: #333; margin: 0 0 10px 0; line-height: 1.4; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-unit { font-size: 0.8rem; color: #999; margin-bottom: 10px; display: block; }

.card-pricing { margin-bottom: 15px; }
.price-now { font-size: 1.2rem; font-weight: 800; color: #DA291C; }
.price-was { font-size: 0.9rem; color: #aaa; text-decoration: line-through; margin-left: 8px; }

/* Qty Control (+/-) */
.card-qty-control {
    display: flex; align-items: center; justify-content: space-between;
    background: #f5f5f5; border-radius: 50px; padding: 5px;
}
.qty-btn { width: 32px; height: 32px; border-radius: 50%; border: none; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.qty-btn.minus { background: #e0e0e0; color: #333; }
.qty-btn.plus { background: #006838; color: white; }
.qty-btn:hover { transform: scale(1.1); }
.qty-input { width: 40px; border: none; background: transparent; text-align: center; font-weight: 800; font-size: 1rem; }

/* Timer Styles */
.offer-timer-pill { display: inline-flex; align-items: center; gap: 5px; background: #fff3e0; color: #d84315; font-size: 0.75rem; font-weight: bold; padding: 4px 8px; border-radius: 20px; margin-bottom: 8px; }


/* CART MODAL STYLES */
.float-cart { position: fixed; bottom: 30px; right: 30px; background: #DA291C; color: white; padding: 15px 20px; border-radius: 50px; border: none; font-weight: bold; z-index: 999; cursor: pointer; box-shadow: 0 5px 20px rgba(218, 41, 28, 0.4); display: flex; align-items: center; gap: 10px; }
.cart-badge { background: white; color: #DA291C; padding: 2px 6px; border-radius: 50%; font-size: 0.8rem; }

.modal-content { background: white; width: 95%; max-width: 450px; border-radius: 15px; overflow: hidden; }
.modal-header { padding: 15px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.modal-header button { background: none; border: none; font-size: 1.2rem; cursor: pointer; }
.scrollable-cart { max-height: 50vh; overflow-y: auto; padding: 15px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table td { padding: 10px 0; border-bottom: 1px solid #f9f9f9; }
.cart-summary { padding: 15px; background: #f9f9f9; display: flex; justify-content: space-between; font-weight: bold; }
.modal-footer { padding: 20px; background: white; }
.form-input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 15px; font-family: inherit; }
.btn-whatsapp-checkout { width: 100%; padding: 15px; background: #25D366; color: white; border: none; border-radius: 8px; font-weight: bold; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-whatsapp-checkout:hover { background: #1da851; }
/* --- PREMIUM DEALS SCROLLER --- */
.deals-section {
    position: relative;
    margin-bottom: 40px;
}

.section-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

/* Glass Buttons */
.scroll-arrow {
    background: white;
    border: 1px solid #eee;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: #333;
}
.scroll-arrow:hover {
    background: #DA291C;
    color: white;
    transform: scale(1.1);
    border-color: #DA291C;
}

.deals-wrapper {
    position: relative;
}

/* The Scroller Track */
.deals-scroller {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 5px 20px 5px; /* Padding for shadow clearance */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}
.deals-scroller::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

/* Premium Card in Scroller */
.deals-scroller .product-card {
    min-width: 280px; /* Fixed width for consistency */
    max-width: 280px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
/* Hover Effect: Lift up */
.deals-scroller .product-card:hover {
    transform: translateY(-8px) scale(1.02);
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Fade Overlay (Right side) to suggest more content */
.fade-overlay-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.9));
    pointer-events: none; /* Let clicks pass through */
    z-index: 1;
}
/* --- NEW SIDE CART DRAWER STYLES --- */

/* 1. The Overlay (Dark background) */
.cart-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); /* Semi-transparent black */
    z-index: 998; /* Below drawer, above everything else */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
/* Active state for overlay */
.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 2. The Drawer container */
.cart-drawer {
    position: fixed;
    top: 0; 
    right: -450px; /* Start hidden off-screen to the right */
    width: 100%;
    max-width: 400px; /* Max width on large screens */
    height: 100vh; /* Full height */
    background: white;
    z-index: 999; /* Highest priority */
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column; /* Stack header, body, footer vertically */
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smooth slide effect */
}
/* Active state for drawer (Slide in) */
.cart-drawer.active {
    right: 0;
}

/* 3. Drawer Internal Layout */
.drawer-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
}

.drawer-body {
    flex: 1; /* Takes up all available middle space */
    overflow-y: auto; /* Allows scrolling inside this part only */
    padding: 20px;
    scrollbar-width: thin; /* Thinner scrollbar */
}

.drawer-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: white;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
}

/* Buttons & Inputs fix for drawer */
.close-drawer-btn {
    background: none; border: none; font-size: 1.5rem; color: #999; cursor: pointer;
}
.close-drawer-btn:hover { color: #DA291C; }

.cart-summary { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 1.1rem; }

/* Ensure form inputs look good in the side bar */
.cart-drawer .form-input { padding: 12px; border: 2px solid #eee; border-radius: 6px; }
.cart-drawer .btn-whatsapp-checkout { padding: 15px; font-size: 1.1rem; }
/* --- BRANCH GATEKEEPER MODAL --- */
#branch-gatekeeper { background: rgba(0,0,0,0.8); } /* Darker background */
.branch-select-btn {
    width: 100%;
    padding: 15px;
    background: white;
    border: 2px solid #eee;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    display: flex; justify-content: space-between; align-items: center;
}
.branch-select-btn:hover {
    border-color: #006838;
    background: #f0fdf4;
    color: #006838;
}
.branch-select-btn i { opacity: 0; transition: 0.3s; }
.branch-select-btn:hover i { opacity: 1; }

/* --- PREMIUM CATEGORY OVALS (Image 8 style) --- */
.category-scroller.premium-cats {
    padding: 20px 0;
}
.cat-oval-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 25px;
    cursor: pointer;
    transition: transform 0.3s;
    min-width: 100px;
}
.cat-oval-item:hover { transform: translateY(-5px); }
.cat-oval-img-box {
    width: 100px;
    height: 100px;
    background: #f8f9fa;
    border-radius: 50%; /* Circle shape */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border: 2px solid transparent;
    transition: 0.3s;
    overflow: hidden;
}
.cat-oval-item.active .cat-oval-img-box {
    border-color: #006838;
    background: white;
    box-shadow: 0 5px 15px rgba(0,104,56,0.2);
}
.cat-oval-img-box img {
    width: 70%; /* Adjust based on your images */
    height: 70%;
    object-fit: contain;
}
.cat-oval-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* --- REUSABLE SCROLLER STYLES (For Deals & New Category Sections) --- */
/* Ensure these styles apply to the new sections too */
.categorized-section { margin-bottom: 40px; position: relative; }
/* Re-use existing .deals-scroller, .scroll-controls styles */
/* --- PREMIUM HOME DEPARTMENTS --- */
.premium-dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 10px;
}

.dept-card-premium {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dept-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.dept-card-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dept-card-premium:hover img {
    transform: scale(1.1); /* Gentle Zoom Effect */
}

.dept-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.dept-title {
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* --- TOAST NOTIFICATION (Replaces Receipt) --- */
#toast-notification {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 50px;
    padding: 16px;
    position: fixed;
    z-index: 10000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
}

#toast-notification.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}
/* --- STRICT RESPONSIVE GRID (4-3-2 Layout) --- */
.strict-grid-4-3-2 {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr); /* Computer: 4 items */
}

@media (max-width: 1024px) {
    .strict-grid-4-3-2 {
        grid-template-columns: repeat(3, 1fr); /* Tablet: 3 items */
    }
}

@media (max-width: 768px) {
    .strict-grid-4-3-2 {
        grid-template-columns: repeat(2, 1fr); /* Phone: 2 items */
        gap: 15px; /* Slightly tighter gap on mobile */
    }
}

/* Ensure the premium department grid follows suit if needed */
.premium-dept-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) { .premium-dept-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .premium-dept-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- WHATSAPP ORDER CARDS --- */
.branch-card-pro:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #006838 !important;
}

.branch-card-pro a:hover {
    background: #1da851 !important; /* Darker WhatsApp Green */
    transform: scale(1.02);
}

/* --- GLOBAL POLISH --- */
html {
    scroll-behavior: smooth;
}

section.reveal {
    margin-bottom: 100px; /* High-end breathing room */
}

/* --- UTILITIES --- */
.grid-loading-placeholder {
    grid-column: 1/-1;
    text-align: center;
    padding: 40px;
    color: #999;
}

.section-footer-center {
    text-align: center;
    margin-top: 40px;
}

/* --- BUTTONS --- */
.btn-outline-premium {
    border: 2px solid #006838;
    color: #006838;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-premium:hover {
    background: #006838;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 104, 56, 0.2);
}

/* --- HORIZONTAL REVIEWS GRID --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns Desktop */
    gap: 30px;
    margin-top: 30px;
}

/* Responsive Stacking */
@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns Tablet */
    }
}

@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr; /* 1 Column Mobile */
    }
}

/* --- PREMIUM REVIEW CARD --- */
.review-card-premium {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-bottom: 4px solid #D4AF37; /* Gold Accent */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.review-stars {
    color: #D4AF37;
    margin-bottom: 15px;
}

.review-quote {
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.review-author strong {
    color: #000;
    display: block;
    font-weight: 700;
}

.review-author span {
    font-size: 0.8rem;
    color: #888;
}

/* --- 1. CINEMATIC HERO (Pan & Zoom) --- */
.hero-zoom-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; z-index: -1;
}
.hero-bg-img {
    width: 100%; height: 100%;
    background-image: url('../assets/supermarket-bg.jpg');
    background-size: cover;
    background-position: center;
    /* Simulates a camera panning and zooming */
    animation: panZoom 30s linear infinite alternate;
}
@keyframes panZoom {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.15) translate(-2%, 1%); }
    100% { transform: scale(1.25) translate(2%, -2%); }
}

/* Clear Glass Card (Reduced Blur) */
.hero-glass-clear {
    max-width: 800px;
    margin: 0 auto;
    /* Very subtle dark tint for text readability, almost no blur */
    background: rgba(0, 0, 0, 0.3); 
    backdrop-filter: blur(3px); /* Minimal blur */
    border: 1px solid rgba(255,255,255,0.15);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: white;
}

/* --- 2. UNIVERSAL MARQUEE (Auto-Scroll) --- */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}
.marquee-track {
    display: inline-flex;
    gap: 30px;
    animation: scrollLeft 25s linear infinite; /* Adjust speed here */
}
/* Pause scrolling on hover so users can click */
.marquee-track:hover {
    animation-play-state: paused;
}
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves half way (since we duplicate content) */
}

/* --- 3. CARDS (Team & Execs) --- */
.profile-card {
    min-width: 280px;
    width: 280px;
    height: 380px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s;
    white-space: normal; /* Allow text wrapping inside card */
    display: inline-block; /* Required for marquee */
    vertical-align: top;
}
.profile-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }

.profile-img-box {
    width: 100%; height: 75%;
    overflow: hidden;
    background: #f4f4f4; /* Placeholder color */
    display: flex; align-items: center; justify-content: center;
}
.profile-img-box img {
    width: 100%; height: 100%; object-fit: cover;
    transition: 0.5s;
}
/* Placeholder Icon if no image */
.profile-placeholder-icon {
    font-size: 4rem; color: #ccc;
}

.profile-card:hover img { transform: scale(1.1); }

.profile-info {
    height: 25%;
    padding: 15px;
    text-align: center;
    background: white;
    border-top: 3px solid #006838;
}
.profile-info h4 { margin: 0; font-size: 1.1rem; color: #333; }
.profile-info span { font-size: 0.85rem; color: #777; display: block; margin-top: 5px; }

/* --- 4. PARTNERS (Clean - No Grey Overlay) --- */
.partner-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    /* No filter/grayscale applied */
    transition: transform 0.3s;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.partner-logo:hover { transform: scale(1.1); }

/* --- 5. MODAL (Popup) --- */
.bio-modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0; top: 0; 
    width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.8); 
    backdrop-filter: blur(5px);
    justify-content: center; 
    align-items: center;
}
.bio-modal.active { display: flex; }

.bio-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-top: 6px solid #D4AF37;
    animation: modalPop 0.3s ease-out;
}
@keyframes modalPop { from {transform: scale(0.8); opacity: 0;} to {transform: scale(1); opacity: 1;} }

.close-bio {
    position: absolute; top: 15px; right: 20px;
    font-size: 2rem; cursor: pointer; color: #999;
}
.close-bio:hover { color: red; }
/* --- 1. LOGO LOADER (Prevent Empty Look) --- */
.loader-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
}
.loader-pulse {
    width: 40px;
    opacity: 0.5;
    animation: pulseLogo 1.5s infinite ease-in-out;
}
@keyframes pulseLogo {
    0% { transform: scale(0.9); opacity: 0.4; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(0.9); opacity: 0.4; }
}

/* --- 2. PARTNERS LOGO FIX (Remove Grey) --- */
/* This forces logos to show in full color */
.marquee-track img {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    height: 80px; /* Ensure uniform height */
    margin: 0 40px;
    object-fit: contain;
}

/* --- 3. FAQ ACCORDION STYLES --- */
.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    transition: background 0.3s;
}
.faq-question:hover {
    background: #f1f1f1;
    color: #006838;
}
.faq-answer {
    max-height: 0; 
    overflow: hidden; 
    padding: 0 20px; 
    transition: max-height 0.3s ease-out; 
    background: #fff; 
    color: #555; 
    line-height: 1.6;
    white-space: pre-line; /* <--- THIS IS THE MAGIC FIX */
}
.faq-item.active .faq-answer {
    max-height: 500px; /* Arbitrary large height */
    padding-bottom: 20px;
    border-top: 1px solid #f9f9f9;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #006838;
}

/* =========================================
   FIX: Modern Department Grid Layout
   ========================================= */
.modern-dept-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Columns on Desktop */
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.dept-card-modern {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.dept-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-color: #DA291C; /* Powerstar Red */
}

/* Fix the Image Size */
.dept-img-box {
    height: 160px; /* Force consistent height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.dept-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures logo fits perfectly without cutting */
}

/* Typography Fixes */
.dept-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.dept-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
}

.dept-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #DA291C;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   MOBILE RESPONSIVENESS (Phone View)
   ========================================= */
@media (max-width: 992px) {
    .modern-dept-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns on Tablets */
    }
}

@media (max-width: 600px) {
    .modern-dept-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns on Mobile */
        gap: 15px;
    }
    
    .dept-card-modern {
        padding: 15px;
    }
    
    .dept-img-box {
        height: 120px; /* Smaller images on phone */
    }
    
    .dept-content h3 {
        font-size: 0.95rem;
    }
    
    .dept-content p {
        display: none; /* Hide description on mobile to save space */
    }
}

/* =========================================
   PREMIUM CORPORATE SCROLLER
   ========================================= */
.category-scroller {
    display: flex;
    overflow-x: auto;
    gap: 30px; /* Generous spacing for luxury feel */
    padding: 25px 10px 40px 10px; /* Extra padding for shadows */
    margin-bottom: 20px;
    scroll-behavior: smooth;
    
    /* Hide scrollbars completely */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.category-scroller::-webkit-scrollbar {
    display: none;
}

/* The Individual Item Container */
.cat-pill {
    min-width: 110px;  /* Fixed width ensures uniform spacing */
    width: 110px;      /* Prevents items from squishing */
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* The Premium Circle */
.cat-img-circle {
    width: 90px;      /* Larger, authoritative size */
    height: 90px;
    border-radius: 50%;
    background: #ffffff;
    
    /* Subtle "Expensive" Border & Shadow */
    border: 1px solid #e5e5e5;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06); 
    
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

/* The Image inside */
.cat-img-circle img {
    width: 100%;
    height: 100%;
    padding: 12px; /* Internal breathing room so logo doesn't touch edges */
    object-fit: contain; /* Keeps the product proportion perfect */
    transition: transform 0.5s ease;
}

/* Typography (The "Corporate" Look) */
.cat-pill span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2c3e50; /* Dark Corporate Blue-Grey */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    
    /* Alignment Magic: Forces all text to be same height */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limits text to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 32px; /* Ensures 1-line text aligns with 2-line text */
}

/* HOVER EFFECTS (Interactive Polish) */
.cat-pill:hover .cat-img-circle {
    border-color: #DA291C; /* Powerstar Red Border */
    transform: translateY(-5px); /* Floats up */
    box-shadow: 0 15px 30px rgba(218, 41, 28, 0.15); /* Red Glow */
}

.cat-pill:hover .cat-img-circle img {
    transform: scale(1.1); /* Subtle Zoom on image */
}

.cat-pill:hover span {
    color: #DA291C; /* Text turns red */
}

        /* This forces the main hero image to be sharp */
        .hero, .about-hero {
            filter: none !important; /* Removes generic blur */
            backdrop-filter: none !important; /* Removes backdrop blur */
            -webkit-filter: none !important;
        }

        /* This ensures no "foggy" overlay is sitting on top of the image */
        .hero::before, .about-hero::before,
        .hero::after, .about-hero::after {
            backdrop-filter: none !important;
            filter: none !important;
        }

        /* Optional: If the image is still too dark, this lightens the overlay */
        /* You can remove this part if you like the darkness */
        .about-hero {
             background-blend-mode: normal !important;
        }
        
/* --- BRANCH SIDEBAR DRAWER (Like the Cart) --- */
.branch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.branch-overlay.active {
    opacity: 1;
    visibility: visible;
}

.branch-drawer {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen by default */
    width: 320px;
    height: 100%;
    background: white;
    z-index: 9999;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Smooth slide */
    display: flex;
    flex-direction: column;
}

.branch-drawer.active {
    right: 0; /* Slides in */
}

/* Branch List Styling inside Sidebar */
.branch-select-btn {
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
}

.branch-select-btn:hover {
    background: #e8f5e9;
    border-color: #006838;
    color: #006838;
}

/* --- MOBILE SIDEBAR FIXES --- */
@media (max-width: 480px) {
    .branch-drawer {
        width: 100% !important; /* Full width on mobile */
        max-width: 100%;
        box-shadow: none; /* Cleaner look */
    }
}

/* --- CATEGORY CIRCLE FIXES (Tighter Spacing) --- */
.category-scroller {
    gap: 10px !important; /* Reduced from 20px+ */
}

/* --- SECTION DESIGN (Watermark & Zebra Striping) --- */
.categorized-section {
    margin-bottom: 30px; /* Reduced gap */
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

/* Zebra Striping (Grey Backgrounds) */
.categorized-section:nth-child(even) {
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* Watermark Logo Effect */
.categorized-section:nth-child(even)::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background-image: url('../assets/logo.png'); /* Ensure path is correct */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.04; /* Very Faint */
    pointer-events: none;
    z-index: 0;
    transform: rotate(-15deg);
}

/* Supermarket Aisle Header Style */
.section-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px; /* Tight header spacing */
    position: relative;
    z-index: 2;
}

.section-header {
    font-size: 1.4rem;
    color: #333;
    font-weight: 800;
    position: relative;
    padding-left: 15px;
}

.section-header::after {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 5px;
    background: #DA291C;
    border-radius: 4px;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .categorized-section:nth-child(even)::before {
        width: 150px;
        height: 150px;
        top: 10%;
    }
    .categorized-section {
        padding: 20px 0;
        margin-bottom: 15px;
    }
    /* Make category pills smaller to fit more */
    .cat-pill {
        min-width: 90px !important; 
    }
    .cat-img-circle {
        width: 60px !important;
        height: 60px !important;
    }
}

/* --- TIGHTER SECTION SPACING --- */

.categorized-section {
    margin-bottom: 10px !important; /* drastically reduced from 30px */
    padding: 15px 0 !important;     /* drastically reduced internal space */
    position: relative;
    overflow: hidden;
}

/* Zebra Striping (Grey Backgrounds) */
.categorized-section:nth-child(even) {
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* Watermark Logo Effect */
.categorized-section:nth-child(even)::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -5%;
    width: 250px; /* Slightly smaller to fit tight space */
    height: 250px;
    background-image: url('../assets/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-15deg);
}

/* Header Styling - Compact */
.section-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px !important; /* Pulls products closer to title */
    position: relative;
    z-index: 2;
    padding: 0 5px; /* Aligns with grid */
}

.section-header {
    font-size: 1.2rem; /* Slightly smaller for compact look */
    color: #333;
    font-weight: 800;
    position: relative;
    padding-left: 12px;
    margin: 0;
}

.section-header::after {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 4px;
    background: #DA291C;
    border-radius: 4px;
}

/* Mobile Specific - Ultra Tight */
@media (max-width: 480px) {
    .categorized-section {
        margin-bottom: 5px !important; /* Almost touching */
        padding: 10px 0 !important;
    }
    
    .categorized-section:nth-child(even)::before {
        width: 120px;
        height: 120px;
    }
    
    .section-header {
        font-size: 1.1rem;
    }
}

/* --- AGE VERIFICATION GATE --- */
.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Darker background for seriousness */
    backdrop-filter: blur(8px);
    z-index: 10000; /* Highest priority */
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.age-gate-overlay.active {
    display: flex;
    opacity: 1;
}

.age-gate-box {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border-top: 5px solid #DA291C; /* Warning Red */
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.age-gate-overlay.active .age-gate-box {
    transform: scale(1);
}

.age-icon {
    font-size: 3rem;
    color: #DA291C;
    margin-bottom: 15px;
    border: 3px solid #DA291C;
    width: 70px;
    height: 70px;
    line-height: 65px;
    border-radius: 50%;
    display: inline-block;
    font-weight: 800;
}

/* --- LOCKED SECTION (Privacy Protection) --- */
.locked-section-banner {
    background: #fff5f5; /* Very light red tint */
    border: 2px dashed #DA291C;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 10px;
}

.locked-section-banner:hover {
    background: #fff0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 41, 28, 0.1);
}

.lock-icon {
    font-size: 2.5rem;
    color: #DA291C;
    margin-bottom: 15px;
}

/* --- LOCKED SECTION (Privacy Protection) --- */
.locked-section-banner {
    background: #fff5f5; /* Very light red tint */
    border: 2px dashed #DA291C;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 10px;
}

.locked-section-banner:hover {
    background: #fff0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 41, 28, 0.1);
}

.lock-icon {
    font-size: 2.5rem;
    color: #DA291C;
    margin-bottom: 15px;
}

/* --- SINGLE CATEGORY PAGE VIEW --- */
.category-page-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.back-btn {
    background: #f4f4f4;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    color: #333;
}

.back-btn:hover {
    background: #DA291C;
    color: white;
}

/* The Grid Layout for "Huge" Products */
.full-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* Smart Responsive */
    gap: 15px;
    padding-bottom: 50px;
}

/* Mobile Tweak */
@media (max-width: 480px) {
    .full-product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on phone */
        gap: 10px;
    }
}

/* =========================================
   BRANCH DRAWER STYLES (Fixes the "Broken" Look)
   ========================================= */
.branch-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 9998;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.branch-overlay.active { opacity: 1; visibility: visible; }

.branch-drawer {
    position: fixed; top: 0; right: -350px; /* Hidden off-screen */
    width: 320px; height: 100%;
    background: white; z-index: 9999;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}
.branch-drawer.active { right: 0; /* Slide in */ }

.drawer-header {
    /* Matches your HTML inline styles but ensures stability */
    flex-shrink: 0;
}

/* Branch Buttons inside the drawer */
.branch-select-btn {
    width: 100%; padding: 15px; margin-bottom: 8px;
    background: #fff; border: 1px solid #eee; border-radius: 8px;
    text-align: left; cursor: pointer; transition: 0.2s;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.95rem; color: #333;
}
.branch-select-btn:hover {
    background: #f0fdf4; border-color: #006838; color: #006838;
}