/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
   :root {
    /* Colors */
    --primary-color: #0081c5; /* Blue from Logo */
    --primary-hover: #006b99;
    --secondary-color: #333333;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-main: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #f0f0f0;
    --border-color: #e5e5e5;
    
    /* Typography */
    --font-main: 'Montserrat', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1400px;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */
.top-bar {
    background-color: #ffffff;
    color: var(--text-main);
    font-size: 0.85rem;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid #f0f0f0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    font-weight: 500;
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.top-bar-right a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-right a i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.top-bar-right a:hover {
    color: var(--primary-color);
}

.main-header {
    background-color: var(--bg-main);
    padding: 15px 0;
    position: relative;
    z-index: 1005;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    position: relative;
}

.logo img {
    height: 50px;
}

.notification-bell {
    position: relative;
    margin-left: 15px;
    color: #f5a623; /* Yellow bell */
    font-size: 1.8rem;
    cursor: pointer;
}

.notification-bell .badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes bell-ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
    50% { transform: rotate(5deg); }
    60% { transform: rotate(-5deg); }
    70% { transform: rotate(0); }
    100% { transform: rotate(0); }
}

.notification-bell i {
    animation: bell-ring 2.5s infinite ease-in-out;
    transform-origin: top center;
    display: inline-block;
}

/* Campaign Dropdown */
.campaign-dropdown {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 15px 20px;
    width: max-content;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    text-align: left;
    border: 1px solid #eaeaea;
    cursor: default;
}
.campaign-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid #eaeaea;
    border-top: 1px solid #eaeaea;
}
.notification-bell.active .campaign-dropdown {
    top: 125%;
    opacity: 1;
    visibility: visible;
}
.campaign-dropdown h4 {
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 5px;
    font-weight: 700;
}
.campaign-dropdown p {
    color: #444;
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.campaign-dropdown a {
    color: #fff;
    background: var(--primary-color);
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.2);
}
.campaign-dropdown a:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    color: #fff;
}

/* Search Bar */
.search-area {
    flex: 1;
    max-width: 700px;
    margin: 0 30px;
}

.search-form {
    display: flex;
    align-items: center;
    background-color: #f7f7f7;
    border-radius: 4px;
    padding: 5px 15px;
    position: relative;
}

.search-icon {
    color: #999;
    margin-right: 10px;
}

.search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 0;
    outline: none;
    font-size: 0.95rem;
}

.search-btn-text {
    background: transparent;
    border: none;
    border-left: 1px solid #ddd;
    padding-left: 15px;
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 500;
}

.action-item:hover {
    color: var(--primary-color);
}

.action-item i {
    font-size: 1.2rem;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.auth-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.login-btn {
    color: var(--primary-color);
    background-color: #f0f8ff; /* Light blue tint */
    border: 1px solid #cce6ff;
}

.login-btn:hover {
    background-color: #e0f0ff;
    border-color: #b3d9ff;
}

.register-btn {
    color: #fff;
    background-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 129, 197, 0.2);
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 129, 197, 0.3);
    color: #fff;
}

.cart-btn {
    position: relative;
    background-color: #f5f5f5;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Header Responsive Queries */
@media (max-width: 992px) {
    .search-area {
        margin: 0 15px;
    }
    .action-item span,
    .auth-btn span {
        display: none;
    }
    .auth-btn {
        padding: 0;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: var(--secondary-color) !important;
    }
    .auth-btn i {
        font-size: 1.3rem;
        margin: 0;
    }
    .register-btn {
        display: none !important;
    }
    .header-actions {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .top-bar-right {
        justify-content: center;
        flex-wrap: wrap;
    }
    .header-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 10px 15px; /* row-gap column-gap */
        padding: 15px 0;
    }
    .logo-area {
        grid-column: 1;
        grid-row: 1;
    }
    .logo img {
        height: 32px; /* slightly smaller for mobile */
    }
    .notification-bell {
        font-size: 1.4rem; /* slightly smaller */
        margin-left: 10px;
    }
    .header-actions {
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-end;
        gap: 12px;
    }
    .action-item i {
        font-size: 1.3rem; /* consistent icon sizes */
    }
    .cart-btn {
        width: 38px;
        height: 38px;
    }
    .mobile-toggle {
        display: block;
        grid-column: 3;
        grid-row: 1;
        color: var(--secondary-color);
        margin-left: 5px;
    }
    .search-area {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 5px 0 0 0;
        max-width: 100%;
    }
    .header-categories {
        display: none; /* Hide mega menu on mobile */
    }
}

/* Mobile Sidebar Menu */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    z-index: 10000;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    transition: left var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal);
}

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

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.mobile-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

.mobile-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.mobile-nav {
    list-style: none;
}

.mobile-nav li {
    border-bottom: 1px solid #f5f5f5;
}

.mobile-nav li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-main);
    font-weight: 500;
    text-decoration: none;
}

.mobile-nav li a:hover {
    color: var(--primary-color);
    background-color: #fafafa;
}
/* ==========================================================================
   Header Categories & Mega Menu
   ========================================================================== */
.header-categories {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    z-index: 1000;
}

.category-icons-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.cat-dropdown-wrapper {
    /* To allow hovering from the icon to the mega menu seamlessly */
    padding-bottom: 20px;
    margin-bottom: -20px;
}

.cat-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    border-top: 1px solid #eee;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.cat-dropdown-wrapper:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-inner {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    gap: 20px;
}

.mega-column {
    flex: 1;
}

.mega-group {
    margin-bottom: 30px;
}

.mega-group h4 {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.mega-group ul li {
    margin-bottom: 8px;
}

.mega-group ul li a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.mega-group ul li a:hover {
    color: var(--primary-color);
}

.cat-img-wrapper {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.cat-icon-item:hover .cat-img-wrapper {
    transform: translateY(-5px);
}

.cat-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cat-icon-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.cat-icon-item:hover span {
    color: var(--primary-color);
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.announcement-bar {
    background-color: orange;
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
    display: flex;
}

.marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    font-weight: 500;
    font-size: 0.95rem;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background-color: #fafbfc;
    border-top: 1px solid #eaeaea;
    color: var(--text-main);
    font-family: var(--font-main);
    position: relative;
}

/* CTA Section */
.footer-cta-section {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cta-box {
    border-radius: 6px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    min-height: 200px;
}

.cta-box-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.cta-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.cta-box p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Newsletter Box */
.newsletter-box {
    background-color: var(--primary-color);
}

.footer-newsletter-form {
    display: flex;
    background: #fff;
    border-radius: 4px;
    padding: 5px;
    margin-top: 20px;
}

.footer-newsletter-form input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    outline: none;
    font-size: 0.9rem;
}

.footer-newsletter-form button {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-weight: 700;
    padding: 10px 20px;
    cursor: pointer;
}

/* Stores Box */
.stores-box {
    background-image: url('https://www.google.com/maps/vt/pb=!1m4!1m3!1i12!2i2360!3i1546!2m3!1e0!2sm!3i407101440!3m7!2sen!5e1105!12m4!1e68!2m2!1sset!2sRoadmap!4e0');
    background-size: cover;
    background-position: center;
    padding: 0;
}

.stores-box .cta-box-content {
    background-color: #e5e5e5;
    color: var(--secondary-color);
    width: 40%;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stores-box h3 {
    color: var(--secondary-color);
}

.stores-box p {
    color: #666;
}

.btn-store {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    margin-top: auto;
    transition: background var(--transition-fast);
}

.btn-store:hover {
    background-color: var(--primary-hover);
    color: #fff;
}

/* Footer Links Section */
.footer-links-section {
    padding: 60px 0;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr 1.5fr;
    gap: 40px;
}

.brand-col .footer-logo img {
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.brand-slogan {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-social a {
    color: #333;
    background: #f5f5f5;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: #fff;
}

.etbis-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.etbis-badge img {
    height: 80px;
    object-fit: contain;
}

.etbis-badge span {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-box {
    background: linear-gradient(145deg, #ffffff, #f8fbfd);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06), inset 0 0 0 1px rgba(255,255,255,0.8);
    border: 1px solid #eef2f6;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(255,255,255,0.9);
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #00b4d8);
}

.contact-box-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.icon-pulse {
    width: 40px;
    height: 40px;
    background: rgba(0, 129, 197, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    position: relative;
}

.icon-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(0, 129, 197, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.contact-box h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 800;
    margin: 0;
}

.contact-box p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-btn {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
    border-radius: 12px;
}

.contact-btn .btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f0f7fb;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-btn .btn-text {
    display: flex;
    flex-direction: column;
}

.contact-btn .btn-text span {
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.contact-btn .btn-text strong {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

.contact-btn:hover {
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 129, 197, 0.2);
}

.contact-btn:hover::before {
    width: 100%;
}

.contact-btn:hover .btn-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.contact-btn:hover .btn-text span,
.contact-btn:hover .btn-text strong {
    color: #ffffff;
}

/* Specific styling for whatsapp btn */
.whatsapp-btn .btn-icon {
    background: #e8f9ef;
    color: #25D366;
}

.whatsapp-btn:hover::before {
    background: #25D366;
}

.whatsapp-btn:hover {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn:hover .btn-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.links-col h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.links-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-col ul li {
    margin-bottom: 15px;
}

.links-col ul li a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.links-col ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
    padding: 25px 0;
    margin-top: 20px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #777;
    font-size: 0.9rem;
}

.payment-methods {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.pay-logo {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #eaeaea;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #444;
}

.payment-methods img {
    height: 25px;
    object-fit: contain;
}

/* Custom CSS Bank Logos - Elegant Card Style */
.pay-logo {
    background: #fff;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    padding: 6px 10px;
    border-radius: 6px;
    height: 35px;
    font-weight: 800;
    font-size: 0.95rem;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: -0.5px;
    font-family: Arial, sans-serif;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.pay-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

.pay-logo.advantage { color: #f26722; font-style: normal; font-size: 0.9rem; }
.pay-logo.maximum { color: #e30a7d; }
.pay-logo.cardfinans { color: #003b7e; font-style: normal; font-weight: 700; font-size: 0.85rem; }
.pay-logo.worldcard { color: #433d85; }
.pay-logo.worldcard span { font-weight: 400; font-style: italic; }
.pay-logo.bonus { color: #006f4e; font-style: normal; font-weight: 900; font-size: 0.9rem;}
.pay-logo.bonus i { color: #fdbb11; font-size: 0.85rem; }
.pay-logo.axess { color: #000; font-style: normal; font-weight: 900; font-family: 'Arial Black', sans-serif;}

/* Responsive Footer */
@media (max-width: 992px) {
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .pay-logos {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
    .etbis-badge {
        align-items: center;
    }
    .links-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .stores-box .cta-box-content {
        width: 100%;
        background-color: rgba(229, 229, 229, 0.9);
    }
    .brand-col .footer-logo {
        display: block;
        text-align: center;
    }
    .brand-col .footer-logo img {
        margin: 0 auto;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    .contact-box {
        padding: 20px;
    }
    .pay-logos {
        gap: 10px;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Hero Carousel Section
   ========================================================================== */
.hero-carousel-section {
    padding: 40px 0;
    background-color: var(--bg-main);
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    padding-bottom: 50px; /* Space for pagination */
}

.heroSwiper .swiper-slide {
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.5;
    transform: scale(0.85);
}

.heroSwiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide-content {
    border-radius: 20px;
    overflow: hidden;
    height: auto;
    aspect-ratio: 2.2 / 1;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    color: #fff;
}

.hero-slide-overlay h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -1px;
    max-width: 600px;
}

.hero-slide-overlay p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    max-width: 500px;
    color: #e0e0e0;
}

.hero-slide-overlay .btn {
    align-self: flex-start;
}

/* Custom Navigation */
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    background: rgba(255, 255, 255, 0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.heroSwiper .swiper-button-next:after,
.heroSwiper .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.heroSwiper .swiper-button-next {
    right: 5%;
}

.heroSwiper .swiper-button-prev {
    left: 5%;
}

/* Custom Pagination */
.heroSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: transparent;
    border: 2px solid #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.heroSwiper .swiper-pagination-bullet-active {
    width: 25px;
    border-radius: 10px;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-slide-overlay {
        padding: 0 20px;
        /* background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%); */
        justify-content: flex-end;
        padding-bottom: 30px;
    }
    .hero-slide-overlay h2 {
        font-size: 1.8rem;
    }
    .hero-slide-overlay p {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Brands Marquee Section
   ========================================================================== */
.brands-marquee-section {
    padding: 40px 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.brands-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Gradient Mask for a seamless scrolling effect */
.brands-marquee::before,
.brands-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brands-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-main) 0%, transparent 100%);
}

.brands-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-main) 0%, transparent 100%);
}

.brands-marquee-track {
    display: flex;
    width: max-content;
    flex-wrap: nowrap;
    animation: marquee-brands 35s linear infinite;
}

.brands-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 80px;
    padding-right: 80px;
}

.brands-group img {
    height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    filter: grayscale(0%) opacity(100%);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.brands-group img:hover {
    transform: scale(1.05);
}

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

@media (max-width: 768px) {
    .brands-group {
        gap: 40px;
        padding-right: 40px;
    }
    .brands-group img {
        height: 35px;
    }
    .brands-marquee::before,
    .brands-marquee::after {
        width: 50px;
    }
}

/* ==========================================================================
   Campaign Banners Section
   ========================================================================== */
.campaign-banners-section {
    background-color: var(--bg-light);
}

.campaign-banner-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
    color: var(--text-main);
}

.campaign-banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.banner-image {
    position: relative;
    width: 100%;
    height: auto;
    background-color: #f8f8f8;
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-price-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-price-tag .price {
    font-size: 1.5rem;
    font-weight: 700;
}

.banner-price-tag .type {
    font-size: 0.8rem;
    opacity: 0.9;
}

.banner-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fafafa;
    border-top: 1px solid var(--border-color);
}

.banner-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--secondary-color);
}

.banner-footer i {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.campaign-banner-card:hover .banner-footer i {
    color: var(--primary-color);
    transform: translateX(5px);
}

.campaign-next, .campaign-prev, .stores-next, .stores-prev {
    color: var(--secondary-color);
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

.campaign-next:after, .campaign-prev:after, .stores-next:after, .stores-prev:after {
    font-size: 1rem;
    font-weight: bold;
}

.campaign-next, .stores-next {
    right: -20px;
}

.campaign-prev, .stores-prev {
    left: -20px;
}

@media (max-width: 1200px) {
    .campaign-next, .stores-next { right: 10px; }
    .campaign-prev, .stores-prev { left: 10px; }
}

/* ==========================================================================
   Reels Section
   ========================================================================== */
.reels-section {
    background-color: var(--bg-light);
}

.reels-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    padding: 20px 0 40px 0;
}

@media (max-width: 1024px) {
    .reels-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .reels-grid {
        grid-template-columns: 1fr;
    }
}

.reel-card {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform var(--transition-fast);
}

.reel-card:hover {
    transform: translateY(-5px);
}

.reel-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.25));
}

.reel-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    padding-left: 3px;
    transition: background var(--transition-fast);
}

.reel-card:hover .reel-play-btn {
    background: var(--primary-color);
}

.reel-product-box {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.reel-product-box img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
}

.reel-product-box span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
}
/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-section {
    background-color: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-image {
    display: block;
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

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

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.btn-read-more i {
    margin-left: 8px;
    font-size: 0.85rem;
    transition: transform var(--transition-fast);
}

.btn-read-more:hover {
    color: var(--primary-color);
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

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

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Sections & Utilities
   ========================================================================== */
.section-padding {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   Categories Grid
   ========================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    grid-template-rows: 420px;
    gap: 16px;
}

/* İlk kart büyük (featured) */
.categories-grid .category-card:first-child {
    grid-row: 1;
}

.category-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    display: block;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.category-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
    transform: translateY(-4px);
}

.category-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Üst kısımdan hafif karartı */
.category-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.0) 30%,
        rgba(0,0,0,0.55) 75%,
        rgba(0,0,0,0.80) 100%
    );
    z-index: 1;
    transition: opacity 0.4s ease;
}

.category-card:hover .category-image::before {
    opacity: 0.85;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 22px 22px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.category-overlay h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    transform: translateY(4px);
}

/* Featured (ilk) kart için daha büyük yazı */
.categories-grid .category-card:first-child .category-overlay h3 {
    font-size: 1.75rem;
}

.category-card:hover .category-overlay h3 {
    transform: translateY(0);
}

/* Glassmorphism keşfet butonu */
.category-overlay .cat-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 30px;
    letter-spacing: 0.3px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
    text-decoration: none;
}

.category-card:hover .cat-explore-btn {
    opacity: 1;
    transform: translateY(0);
}

.category-overlay .cat-explore-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.category-overlay .cat-explore-btn i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.category-overlay .cat-explore-btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 260px;
    }
    .categories-grid .category-card:first-child {
        grid-column: 1 / -1;
        grid-row: 1;
    }
}

@media (max-width: 600px) {
    .categories-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 10px;
    }
    .categories-grid .category-card {
        height: 200px;
    }
    .categories-grid .category-card:first-child {
        grid-column: 1 / -1;
        height: 220px;
    }
    .category-overlay h3 {
        font-size: 1rem;
    }
    .categories-grid .category-card:first-child .category-overlay h3 {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Products Grid
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
}

.product-image {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect ratio */
    overflow: hidden;
    background-color: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    mix-blend-mode: multiply;
}

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

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 10;
}

.product-card:hover .product-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.action-btn {
    background: #fff;
    color: var(--text-dark);
    border: 1px solid #eee;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.action-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.product-info {
    padding: 20px 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-title:hover {
    color: var(--primary-color);
}

.product-price {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.new-price {
    color: var(--primary-color);
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb-area {
    background-color: var(--bg-light);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--secondary-color);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb i {
    font-size: 0.7rem;
    color: #ccc;
}

/* ==========================================================================
   Category Page Layout
   ========================================================================== */
.category-header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.category-header h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.category-layout {
    display: flex;
    gap: var(--spacing-xl);
}

.category-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.category-content {
    flex: 1;
}

.filter-widget {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.filter-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.filter-widget .mobile-filter-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-widget .mobile-filter-toggle .toggle-icon {
    display: none;
}

@media (max-width: 992px) {
    .filter-widget .mobile-filter-toggle {
        cursor: pointer;
        margin-bottom: 0;
        border-bottom: none;
    }
    
    .filter-widget .mobile-filter-toggle .toggle-icon {
        display: block;
        transition: transform 0.3s ease;
        font-size: 1rem;
        color: var(--primary-color);
    }
    
    .filter-widget .filter-content {
        display: none;
        padding-top: 15px;
        border-top: 1px solid var(--border-color);
    }
    
    .filter-widget.active .filter-content {
        display: block;
    }
    
    .filter-widget.active .mobile-filter-toggle .toggle-icon {
        transform: rotate(180deg);
    }
}

.filter-list li {
    margin-bottom: 3px;
}

.filter-list a {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.filter-list a i {
    width: 16px;
    margin-right: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    transition: all 0.3s ease;
}

.filter-list a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.filter-list a:hover i {
    color: var(--primary-color);
}

.filter-list a.active {
    background-color: #ffa500;
    color: var(--text-light);
}

.filter-list a.active i {
    color: var(--text-light);
}

/* Sub Categories Styling */
.sub-filter-list {
    list-style: none;
    padding-left: 15px;
    margin-top: 2px;
    margin-bottom: 5px;
    border-left: 2px solid var(--bg-light);
}

.sub-filter-list li {
    margin-bottom: 2px;
}

.sub-filter-list a {
    padding: 4px 10px;
    font-size: 0.85rem;
    font-weight: 400;
}

.sub-filter-list a i {
    font-size: 0.75rem;
}

/* Responsive for Category */
@media (max-width: 992px) {
    .category-layout {
        flex-direction: column;
    }
    .category-sidebar {
        width: 100%;
    }
}

/* ==========================================================================
   Product Detail Page
   ========================================================================== */
.product-detail-layout {
    display: flex;
    gap: var(--spacing-xl);
}

.p-title {
    text-align: center;
}

.product-gallery {
    flex: 1;
    max-width: 600px;
}

.main-image {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.product-info-detail {
    flex: 1;
}

.product-title-large {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.product-price-large {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.product-price-large .old-price {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 15px;
    font-weight: normal;
}

.product-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.product-meta {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-lg);
}

.product-meta p {
    margin-bottom: 5px;
}

.product-meta a {
    color: var(--primary-color);
}

.add-to-cart-area form {
    display: flex;
    gap: 15px;
    align-items: stretch;
    margin-bottom: var(--spacing-lg);
}

.qty-selector {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    background: var(--bg-light);
    border: none;
    width: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.qty-btn:hover {
    background: #e2e2e2;
}

.qty-selector input {
    width: 50px;
    border: none;
    text-align: center;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    font-size: 1rem;
}

.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-lg {
    padding: 0 30px;
    font-size: 1.1rem;
    flex: 1;
}

.extra-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Responsive for Product Detail */
@media (max-width: 992px) {
    .product-detail-layout {
        flex-direction: column;
    }
    .product-gallery {
        max-width: 100%;
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .main-nav {
        display: none; /* Will be toggled via JS */
    }
    .mobile-toggle {
        display: block;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    width: calc(100% - 40px);
}

.toast-message {
    background: #fff;
    color: var(--secondary-color);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    border-left: 5px solid var(--primary-color);
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    opacity: 0;
}

.toast-message.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-message.success {
    border-left-color: #2e7d32;
}

.toast-message.success i {
    color: #2e7d32;
}

.toast-message.error {
    border-left-color: #c62828;
}

.toast-message.error i {
    color: #c62828;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.pagination li a,
.pagination li.page-ellipsis span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border-radius: 8px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.pagination li.page-ellipsis span {
    background-color: transparent;
    border-color: transparent;
    color: var(--text-muted, #6c757d);
    padding: 0;
    min-width: auto;
}

.pagination li a:hover,
.pagination li a.active {
    background-color: #ffa500;
    color: var(--text-light);
    border-color: #ffa500;
    box-shadow: var(--shadow-sm);
}

.pagination li a i {
    font-size: 12px;
}

.pagination li a:has(i.fa-chevron-left) {
    gap: 8px;
}

.pagination li a:has(i.fa-chevron-right) {
    gap: 8px;
}

/* Contact Pop-up Widget */
.contact-popup-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    height: 420px;
    border-radius: 20px;
    background-image: url('../img/contact-popup-bg.png');
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    animation: slideUpFade 0.5s ease-out;
}

/* Gradient overlay for text readability */
.contact-popup-widget::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.contact-popup-widget .popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-popup-widget .popup-close:hover {
    background: #fff;
    transform: scale(1.1);
}

.contact-popup-widget .popup-content {
    position: relative;
    z-index: 2;
    padding: 25px 20px;
    color: #fff;
}

.contact-popup-widget h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 5px 0;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    color: #fff;
}

.contact-popup-widget p {
    font-size: 0.9rem;
    margin: 0 0 20px 0;
    opacity: 0.9;
    line-height: 1.4;
    color: #fff;
}

.contact-popup-widget .popup-actions {
    display: flex;
    gap: 12px;
}

.contact-popup-widget .btn {
    flex: 1;
    padding: 12px 5px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.contact-popup-widget .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-popup-widget .btn-call {
    background: #fff;
    color: #2c3e50;
}

.contact-popup-widget .btn-whatsapp {
    background: #25D366;
    color: #fff;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .contact-popup-widget {
        width: 280px;
        height: 380px;
        bottom: 80px;
        right: 15px;
    }
}

/* Contact Pop-up Video Background */
.contact-popup-widget.has-video {
    background-image: none !important;
}

.popup-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Floating Actions */
.sticky-whatsapp {
    position: fixed;
    bottom: 25px;
    left: 20px;
    width: 55px;
    height: 55px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}
.sticky-whatsapp:hover {
    transform: scale(1.1);
    background: #128c7e;
    color: #fff;
}

.scroll-top-btn {
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #fff;
    color: var(--primary-color, #0081c5);
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    padding: 0;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top-btn:hover {
    background: var(--primary-color, #0081c5);
    color: #fff;
}

@media (max-width: 768px) {
    .sticky-whatsapp {
        bottom: 80px;
        left: 15px;
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
    .scroll-top-btn {
        bottom: 80px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
