/* ManaFresh - Premium brand stylesheet */
@import url('glass-theme.css');
@import url('brand-theme.css');
@import url('responsive-global.css');
@import url('product-card-premium.css');
@import url('bulk-order-modal.css');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #E31D36;
    --primary-dark: #B81628;
    --primary-light: #F25C6D;
    --secondary-color: #3B3B3B;
    --accent-color: #F25C6D;
    --text-color: #222222;
    --text-light: #666666;
    --bg-color: #FFF7F2;
    --white: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 24px rgba(59, 59, 59, 0.06);
    --shadow-hover: 0 16px 40px rgba(227, 29, 54, 0.12);
    --gradient-primary: linear-gradient(135deg, #E31D36 0%, #F25C6D 100%);
    --gradient-secondary: linear-gradient(135deg, #3B3B3B 0%, #5a5a5a 100%);
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 1100;
    border-bottom: 1px solid #ececec;
    overflow: visible;
}

.header-top {
    background: var(--white);
    color: var(--text-light);
    padding: 6px 0;
    font-size: 12px;
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
}

.header-top-content {
    text-align: center;
}

.main-nav {
    padding: 12px 0;
    background: var(--white);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 24px;
}

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

.logo img {
    height: 44px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.nav-menu {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
    padding: 8px 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    background: transparent;
    border: none;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    background: transparent;
}

.nav-icon {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    line-height: 1;
}

.nav-text {
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--gradient-secondary);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(230, 57, 70, 0.4);
    border: 2px solid var(--white);
}

.city-selector {
    padding: 6px 10px;
    border-radius: 8px;
    background: #f7f7f7;
}

.city-selector:hover {
    background: #f0f0f0;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    border: none;
    background: transparent;
    font: inherit;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    line-height: inherit;
}

button.nav-link.dropdown-toggle {
    text-decoration: none;
}

button.nav-link.dropdown-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 8px;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.3s;
    display: inline-block;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    min-width: 250px;
    max-width: 350px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    margin-top: 8px;
    border: 1px solid var(--border-color);
    padding: 12px 0;
}

/* Mega menu - Licious-style two-column categories (click to open) */
.dropdown-menu-mega {
    min-width: 560px;
    max-width: min(640px, calc(100vw - 24px));
    padding: 0;
    overflow: hidden;
    background: #ffffff !important;
    max-height: min(85vh, 720px);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.dropdown-mega-wrapper {
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    min-height: 0;
    max-height: min(85vh - 52px, 668px);
    height: min(85vh - 52px, 668px);
    align-items: stretch;
    overflow: hidden;
}

.dropdown-mega-left {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 300px;
    max-width: 42vw;
    min-height: 0;
    max-height: 100%;
    background: #ffffff;
    border-right: 1px solid #e8e8e8;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.dropdown-mega-left::-webkit-scrollbar {
    width: 6px;
}

.dropdown-mega-left::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
}

.dropdown-cat-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
    gap: 14px;
    width: 100%;
    padding: 14px 20px;
    margin: 0;
    border: none;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
    color: #1a1d21;
    text-decoration: none;
    transition: background 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
}

.dropdown-cat-main:last-child {
    border-bottom: none;
}

.dropdown-cat-main:hover,
.dropdown-cat-main.active,
.dropdown-cat-main[aria-selected="true"] {
    background: #f3f4f6;
    color: #1a1d21;
}

.dropdown-cat-main:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
    z-index: 1;
}

.dropdown-cat-icon-wrap {
    position: relative;
    flex-shrink: 0;
}

.dropdown-cat-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    font-size: 22px;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #eee;
}

.dropdown-cat-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.dropdown-cat-new {
    position: absolute;
    top: -4px;
    left: -4px;
    background: #e63946;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    line-height: 1;
}

.dropdown-cat-name {
    font-weight: 600;
    font-size: 14px;
    color: #1a1d21;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-mega-right {
    flex: 1;
    min-width: 260px;
    min-height: 0;
    max-height: 100%;
    background: #f5f5f5;
    padding: 0;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.dropdown-mega-right::-webkit-scrollbar {
    width: 6px;
}

.dropdown-mega-right::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
}

.dropdown-subcats-panel {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    min-height: min(100%, 280px);
    box-sizing: border-box;
}

.dropdown-subcats-panel.is-visible,
.dropdown-subcats-panel:not([hidden]) {
    display: flex;
}

.dropdown-subcat-link {
    display: block;
    padding: 16px 28px;
    color: #1a1d21 !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #e8e8e8;
    transition: background 0.15s ease, color 0.15s ease;
    background: transparent;
}

.dropdown-subcat-link:visited {
    color: #1a1d21 !important;
}

.dropdown-subcat-link:last-child {
    border-bottom: none;
}

.dropdown-subcat-link:hover {
    color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.65);
}

.dropdown-mega-footer {
    display: block;
    padding: 14px 24px;
    background: #f5f5f5;
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    text-decoration: none !important;
    border-top: 1px solid #eee;
    transition: background 0.2s ease;
}

.dropdown-mega-footer:hover {
    background: #eee;
    color: var(--primary-color) !important;
}

/* Categories: open on click only (not hover) */
.nav-dropdown-categories.active .dropdown-toggle {
    color: var(--secondary-color);
}

.nav-dropdown-categories.active .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown:not(.nav-dropdown-categories):hover .dropdown-menu,
.nav-dropdown:not(.nav-dropdown-categories).active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-categories .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
}

.nav-dropdown-categories.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Prevent hover from opening categories mega menu */
.nav-dropdown-categories:hover .dropdown-menu:not(.force-open) {
    opacity: 0;
    visibility: hidden;
}

.nav-dropdown-categories.active:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-loading {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: rgba(45, 134, 89, 0.08);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-item-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.dropdown-item-text {
    flex: 1;
    font-weight: 500;
    font-size: 14px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.dropdown-header {
    padding: 12px 20px 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-item.view-all {
    background: linear-gradient(135deg, rgba(45, 134, 89, 0.1) 0%, rgba(77, 163, 117, 0.1) 100%);
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 8px;
    border-top: 1px solid var(--border-color);
}

.dropdown-item.view-all:hover {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.4);
}

/* Nav link styles are now unified above */

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.btn-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Banners Section */
.banners-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.banner-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.banner-slider-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transform: translateX(100%);
}

.banner-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.banner-slide.prev {
    transform: translateX(-100%);
}

.banner-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
    color: inherit;
}

.banner-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.banner-slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 32px;
    color: #fff;
}

.banner-slide-title {
    margin: 0 0 14px;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.85),
        0 2px 12px rgba(0, 0, 0, 0.65),
        0 0 40px rgba(0, 0, 0, 0.35);
}

.banner-slide-desc {
    margin: 0;
    max-width: 640px;
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    line-height: 1.6;
    opacity: 1;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.85),
        0 2px 10px rgba(0, 0, 0, 0.6);
}

.banner-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-slide-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.banner-fallback-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.2);
    color: #fff;
}

.banner-fallback-icon .glass-icon {
    flex-shrink: 0;
}

.banner-fallback-title {
    margin: 0 0 15px 0;
    color: white;
    font-size: 32px;
    font-weight: 700;
}

.banner-fallback-desc {
    margin: 0;
    opacity: 0.95;
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
}

/* Navigation Arrows */
.banner-slider-prev,
.banner-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: var(--primary-color);
}

.banner-slider-prev {
    left: 20px;
}

.banner-slider-next {
    right: 20px;
}

.banner-slider-prev:hover,
.banner-slider-next:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.banner-slider-prev:active,
.banner-slider-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Dots Indicator */
.banner-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.banner-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.banner-dot.active {
    background: var(--white);
    width: 32px;
    border-radius: 6px;
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
    background: var(--white);
    position: relative;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.section-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--text-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Category UI - same size, proper alignment, professional brand look */
.categories-section {
    padding: 48px 0 56px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: stretch;
}

@media (min-width: 1200px) {
    .categories-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .categories-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 768px) and (max-width: 991px) {
    .categories-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 480px) and (max-width: 767px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 479px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .categories-section { padding: 32px 0 40px; }
    .category-icon-wrap { width: 80px; height: 80px; min-width: 80px; min-height: 80px; font-size: 32px; margin-bottom: 12px; }
    .category-name { font-size: 13px; }
}

/* Category items - no box, circular image + text only (Licious-style) */
.category-card {
    text-decoration: none;
    color: inherit;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.category-card:hover .category-icon-wrap {
    transform: scale(1.06);
}

.category-card:hover .category-name {
    color: var(--primary-color);
}

.category-icon-wrap {
    width: 88px;
    height: 88px;
    min-width: 88px;
    min-height: 88px;
    border-radius: 50%;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 40px;
    line-height: 1;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.category-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-name {
    font-weight: 600;
    color: #1a1d21;
    font-size: 14px;
    line-height: 1.4;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

/* Products Section */
.featured-products-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.view-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.view-all-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* Product cards - Licious-style: image-heavy, red add button, specs, delivery */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.products-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.products-empty-icon {
    font-size: 56px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.products-empty h3 {
    font-size: 20px;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.products-empty p {
    color: #6b7280;
    font-size: 15px;
    margin: 0 0 20px 0;
}

.products-empty-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.products-empty-link:hover {
    background: var(--primary-dark);
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.product-card-licious .product-card-image-wrap {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: #f5f5f5;
}

.product-card-licious .product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-licious .product-card-image-wrap > a {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.product-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.product-wishlist-btn:hover {
    background: #fff;
    color: var(--secondary-color);
}

.product-add-btn-wrap {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    z-index: 2;
    pointer-events: none;
}

.product-add-btn-wrap > * {
    pointer-events: auto;
}

.weight-select-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 132px;
    max-width: calc(100% - 50px);
}

.product-custom-weight-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 100px;
    max-width: calc(100% - 50px);
}

.product-card-licious .product-custom-weight-input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 10px;
    border: none;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: #1a1d21;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}

.product-card-licious .product-custom-weight-unit {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    padding-right: 4px;
}

.product-card-licious .product-weight-select {
    width: 100%;
    min-width: 132px;
    height: 40px;
    padding: 0 28px 0 14px;
    border: none;
    border-radius: 20px;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 40px;
    color: #1a1d21;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2316a34a' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 6px;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    box-sizing: border-box;
}

.product-card-licious .product-weight-select option.bulk-option {
    font-weight: 700;
    color: #92400e;
    background: #fffbeb;
}

.product-card-licious .product-weight-select:hover,
.product-card-licious .product-weight-select:focus {
    outline: none;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}

.product-add-btn {
    width: 42px;
    height: 40px;
    min-width: 42px;
    flex-shrink: 0;
    border: none;
    background: var(--secondary-color);
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(230, 57, 70, 0.4);
    transition: transform 0.2s, background 0.2s;
}

.product-add-btn.is-loading {
    opacity: 0.65;
    cursor: wait;
    pointer-events: none;
}

.product-add-btn:hover {
    background: #c92a2a;
    transform: scale(1.04);
}

.product-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-licious .product-name {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    color: #1a1d21;
    margin-bottom: 6px;
}

.product-card-licious .product-name a {
    color: inherit;
    text-decoration: none;
}

.product-card-licious .product-name a:hover {
    color: var(--primary-color);
}

.product-specs {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 10px;
}

.product-price-row {
    display: flex;
    gap: 8px;
    align-items: baseline;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 4px;
}

.product-price-row .price-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
}

.product-card-licious .current-price {
    font-size: 20px;
    font-weight: 800;
    color: #1a1d21;
}

.product-card-licious .old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-card-licious .discount-text {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background: var(--gradient-primary);
    padding: 3px 8px;
    border-radius: 6px;
    line-height: 1.3;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.weight-select-chevron {
    display: none;
}

.bulk-order-badge {
    display: inline-block;
    font-size: 10px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: 1px solid #fcd34d;
}

.bulk-order-badge.is-active {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    border-color: #15803d;
}

.product-specs .spec-weight {
    font-weight: 600;
    color: #495057;
}
.add-to-cart-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(2px);
}
.add-to-cart-popup-overlay.show {
    display: flex;
}
.add-to-cart-popup {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
    position: relative;
    animation: atcPopupIn 0.25s ease-out;
}
@keyframes atcPopupIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.add-to-cart-popup .atc-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f3f5;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.add-to-cart-popup .atc-close:hover {
    background: #e9ecef;
    color: #333;
}
.add-to-cart-popup h3 {
    margin: 0 0 18px;
    padding-right: 36px;
    color: var(--primary-color);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
}
.add-to-cart-popup .atc-body {
    background: #f6f9f7;
    border: 1px solid #e8efe9;
    border-radius: 10px;
    padding: 14px 16px;
}
.add-to-cart-popup .atc-body p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #444;
}
.add-to-cart-popup .atc-body p:last-child {
    margin-bottom: 0;
}
.add-to-cart-popup .atc-body strong {
    color: #1a1a1a;
    font-weight: 600;
}
.add-to-cart-popup .bulk-tag {
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 4px;
}
.add-to-cart-popup .atc-actions {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.add-to-cart-popup .atc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}
.add-to-cart-popup .atc-btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(45, 134, 89, 0.35);
}
.add-to-cart-popup .atc-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(45, 134, 89, 0.4);
    color: #fff;
    text-decoration: none;
}
.add-to-cart-popup .atc-btn-outline {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.add-to-cart-popup .atc-btn-outline:hover {
    background: rgba(45, 134, 89, 0.06);
    color: var(--primary-color);
    text-decoration: none;
}

.product-delivery {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.delivery-icon {
    color: var(--secondary-color);
    font-size: 14px;
}


/* Footer */
.main-footer {
    background: linear-gradient(135deg, #2b2d42 0%, #1a1c2e 100%);
    color: var(--white);
    padding: 40px 0 16px;
    margin-top: 48px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
    margin-bottom: 24px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}

.footer-section h3 {
    font-size: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: #b0b3b8;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #b0b3b8;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #b0b3b8;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

.social-links a svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    position: relative;
    z-index: 1;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.social-links a:hover::before {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    padding-bottom: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #b0b3b8;
}

.footer-bottom p {
    margin: 0;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--white);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dropdown-menu {
        position: fixed;
        left: 50% !important;
        transform: translateX(-50%) translateY(-10px);
        width: 90%;
        max-width: 300px;
        margin-top: 0;
    }
    
    .dropdown-menu-mega {
        min-width: 90%;
        max-width: 95vw;
        max-height: min(88vh, 720px);
        border-radius: 12px;
    }
    
    .dropdown-mega-wrapper {
        min-height: 240px;
        height: min(88vh - 48px, 640px);
        max-height: min(88vh - 48px, 640px);
    }
    
    .dropdown-mega-left {
        width: 150px;
        padding: 6px 0;
    }
    
    .dropdown-cat-main {
        padding: 10px 14px;
    }
    
    .dropdown-cat-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 18px;
    }
    
    .nav-dropdown.active .dropdown-menu,
    .nav-dropdown-categories.active .dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }

    .dropdown-mega-right {
        padding: 0;
    }

    .dropdown-subcat-link {
        padding: 14px 18px;
    }
    
    .dropdown-arrow {
        margin-left: auto;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    
    .section-title {
        font-size: 28px;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
    
    .banner-slider-wrapper {
        height: 300px;
    }
    
    .banner-fallback-title {
        font-size: 24px;
    }
    
    .banner-fallback-desc {
        font-size: 16px;
    }
    
    .banner-slider-prev,
    .banner-slider-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .banner-slider-prev {
        left: 10px;
    }
    
    .banner-slider-next {
        right: 10px;
    }
}

/* ========================================
   Partner Stores Page - Modern Marketplace
   Colors: Primary #16a34a, Hover #15803d
   ======================================== */

.stores-page {
    min-height: 60vh;
    background: #f8fafc;
}

.stores-hero {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    padding: 40px 0 36px;
    margin: 0;
}

.stores-page-title {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.stores-page-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    margin: 0;
}

.stores-container {
    padding: 32px 20px 56px;
}

/* Filters - single horizontal row */
.stores-filters {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.stores-filter-form {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.stores-page .filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stores-page .filter-group label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.stores-page .filter-group input,
.stores-page .filter-group select {
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    height: 42px;
    box-sizing: border-box;
}

.stores-page .filter-search {
    flex: 1;
    min-width: 200px;
}

.stores-page .filter-btn-apply {
    padding: 10px 20px;
    height: 42px;
    background: #16a34a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.stores-page .filter-btn-apply:hover {
    background: #15803d;
}

.stores-page .filter-btn-reset {
    padding: 10px 20px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.stores-page .filter-btn-reset:hover {
    color: #16a34a;
    text-decoration: none;
}

/* Store cards - CSS Grid with responsive columns */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

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

@media (max-width: 767px) {
    .stores-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 479px) {
    .stores-grid {
        gap: 16px;
    }
}

/* Card style */
.stores-page .store-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    padding: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.stores-page .store-card,
.stores-page .store-card:visited,
.stores-page .store-card:hover {
    text-decoration: none;
    color: inherit;
}

.stores-page .store-card * {
    text-decoration: none;
}

.stores-page .store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.stores-page .store-card-cover {
    height: 100px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.stores-page .store-card-body {
    padding: 24px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Avatar circle - perfect circle, green gradient */
.stores-page .store-card-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.stores-page .store-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stores-page .store-card-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    font-size: 26px;
    font-weight: 700;
}

/* Typography */
.stores-page .store-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.stores-page .store-card-city {
    font-size: 13px;
    color: #6b7280;
    display: block;
    margin-bottom: 10px;
}

.stores-page .store-card-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex: 1;
}

/* View Products button - pill shaped */
.stores-page .store-card-footer {
    margin-top: auto;
}

.stores-page .store-card-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #16a34a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 24px;
    transition: background 0.2s;
}

.stores-page .store-card:hover .store-card-btn {
    background: #15803d;
}

/* Empty state */
.stores-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.stores-empty-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.stores-empty h3 {
    font-size: 20px;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.stores-empty p {
    color: #6b7280;
    margin: 0;
}

.stores-grid--locations {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.store-location-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.store-location-card--highlight {
    border-color: var(--primary-color, #16a34a);
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.15);
}

.store-location-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.store-location-card__icon {
    font-size: 24px;
    line-height: 1;
}

.store-location-card__name {
    margin: 0;
    font-size: 1.15rem;
    color: #111827;
}

.store-location-card__details {
    margin: 0;
}

.store-location-card__row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 8px 12px;
    padding: 10px 0;
    border-top: 1px solid #f3f4f6;
}

.store-location-card__row:first-child {
    border-top: none;
    padding-top: 0;
}

.store-location-card__row dt {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.store-location-card__row dd {
    margin: 0;
    font-size: 15px;
    color: #1f2937;
    line-height: 1.5;
}

.store-location-card__row dd a {
    color: var(--primary-color, #16a34a);
    text-decoration: none;
}

.store-location-card__row dd a:hover {
    text-decoration: underline;
}

.stores-section-title {
    font-size: 1.25rem;
    color: #111827;
    margin: 32px 0 16px;
}

.stores-section-title--other {
    margin-top: 40px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.stores-empty--inline {
    grid-column: 1 / -1;
    padding: 40px 20px;
    margin-bottom: 8px;
}

.stores-change-city-link {
    background: none;
    border: none;
    padding: 0;
    margin-left: 6px;
    color: var(--primary-color, #16a34a);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

/* Offers page styles: assets/css/offers-premium.css */

/* Filters stack on mobile */
@media (max-width: 767px) {
    .stores-filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .stores-page .filter-search {
        min-width: 100%;
    }

    .stores-page .filter-group input,
    .stores-page .filter-group select {
        min-width: 0;
    }

    .stores-hero {
        padding: 32px 0 28px;
    }

    .stores-page-title {
        font-size: 26px;
    }

    .stores-container {
        padding: 24px 16px 40px;
    }

    .stores-filters {
        padding: 20px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}
