:root {
    --primary: #e53935;
    --primary-dark: #c62828;
    --primary-light: #ffcdd2;
    --secondary: #ff6f00;
    --dark: #1a1a2e;
    --light-bg: #f8f9fa;
    --text-muted: #6c757d;
    --border: #eee;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #fff;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    font-size: 0.73rem;
    padding: 0;
    letter-spacing: 0.2px;
    overflow: hidden;
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
}
.top-bar-left {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.top-bar-marquee {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    color: rgba(255,255,255,0.85);
}
.top-bar-marquee strong {
    color: #fbbf24;
    font-weight: 700;
}
.top-bar-marquee i {
    color: #fbbf24;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.top-bar-right {
    flex-shrink: 0;
    padding-left: 20px;
}
.top-bar-links {
    display: flex;
    align-items: center;
    gap: 0;
}
.top-bar-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.2s;
    font-weight: 450;
    font-size: 0.72rem;
}
.top-bar-links a:hover {
    color: #fbbf24;
}
.top-bar-links .dropdown-toggle::after {
    font-size: 0.55rem;
    vertical-align: middle;
    margin-left: 3px;
    border-top-color: rgba(255,255,255,0.5);
}
.top-divider {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.2);
}
.top-bar-dropdown {
    position: relative;
    display: inline-block;
}
.top-bar-dropdown .dropdown-menu {
    min-width: 100px;
    font-size: 0.78rem;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding: 6px;
    margin-top: 8px;
}
.top-bar-dropdown .dropdown-item {
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.78rem;
}
.top-bar-dropdown .dropdown-item:hover {
    background: #fff5f5;
    color: var(--primary);
}
.flag-icon {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    margin-right: 4px;
    vertical-align: middle;
}
.top-bar a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}
.top-bar a:hover { color: #fbbf24; }

@media (max-width: 767px) {
    .top-bar-right { display: none; }
    .top-bar-left { mask-image: none; -webkit-mask-image: none; }
}

/* ===== MAIN HEADER ===== */
.main-header {
    background: #fff;
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1050;
}
.header-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 16px 0;
}
.header-logo .logo-img {
    height: 42px;
    width: auto;
}

/* Modern Search */
.header-search-wrapper {
    flex: 1;
    max-width: 620px;
    position: relative;
}
.search-box {
    display: flex;
    align-items: center;
    background: #f5f5f7;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s;
    overflow: visible;
    position: relative;
}
.search-box:focus-within {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(229,57,53,0.1);
}
.search-category-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
    cursor: pointer;
    border-right: 1px solid #e0e0e0;
    height: 44px;
    user-select: none;
    transition: color 0.2s;
}
.search-category-toggle:hover {
    color: var(--primary);
}
.search-category-toggle i {
    font-size: 0.6rem;
    transition: transform 0.2s;
}
.search-dropdown {
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    margin-top: 8px !important;
    min-width: 180px;
}
.search-dropdown .dropdown-item {
    border-radius: 8px;
    font-size: 0.82rem;
    padding: 8px 14px;
}
.search-dropdown .dropdown-item:hover {
    background: #fff3f3;
    color: var(--primary);
}
.search-input-wrap {
    display: flex;
    align-items: center;
    flex: 1;
}
.search-input {
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 0.85rem;
    width: 100%;
    outline: none;
    color: #333;
}
.search-input::placeholder {
    color: #999;
}
.search-btn {
    background: var(--primary);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 3px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.search-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ===== SEARCH PANEL ===== */
.search-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    z-index: 999;
    display: none;
    overflow: hidden;
}
.search-panel.active {
    display: block;
    animation: searchPanelIn 0.2s ease-out;
}
@keyframes searchPanelIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.search-panel-inner {
    padding: 20px 24px;
    max-height: 400px;
    overflow-y: auto;
}
.search-panel-section {
    margin-bottom: 20px;
}
.search-panel-section:last-child {
    margin-bottom: 0;
}
.sp-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.sp-section-header h6 {
    font-size: 0.72rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}
.sp-clear-btn {
    background: none;
    border: none;
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
}
.sp-clear-btn:hover {
    opacity: 0.7;
}
.sp-recent-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sp-recent-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #f5f5f7;
    border-radius: 20px;
    font-size: 0.78rem;
    color: #444;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.sp-recent-item:hover {
    background: #fff5f5;
    color: var(--primary);
}
.sp-recent-item i {
    font-size: 0.68rem;
    color: #aaa;
}
.sp-category-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}
.sp-category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s;
}
.sp-category-item:hover {
    background: #fff5f5;
    color: var(--primary);
}
.sp-category-item:hover .sp-cat-icon {
    background: var(--primary);
    color: #fff;
}
.sp-cat-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #888;
    transition: all 0.2s;
}
.sp-cat-arrow {
    margin-left: auto;
    font-size: 0.65rem;
    color: #ccc;
}
.sp-category-item:hover .sp-cat-arrow {
    color: var(--primary);
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 20px;
    z-index: 100;
}
.suggestion-group h6 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    margin-bottom: 10px;
}
.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.suggestion-tags a {
    background: #f5f5f7;
    color: #555;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    text-decoration: none;
    transition: all 0.2s;
}
.suggestion-tags a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.header-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.25s;
    color: #6b7280;
    border: none;
    background: none;
    cursor: pointer;
}
.header-action-item:hover {
    color: var(--primary);
}
.action-icon-wrap {
    position: relative;
    font-size: 1.5rem;
    line-height: 1;
}
.action-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.action-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: inherit;
}
/* Remove old cart special style */
.cart-trigger {
    color: #6b7280;
}
.cart-trigger:hover {
    color: var(--primary);
}

/* ===== LOGIN MODAL ===== */
/* Modal Error Styles */
.login-input-group.has-error .login-input-wrap {
    border-color: #e53935 !important;
    background: #fff5f5 !important;
}
.login-input-group.has-error .login-input-wrap i {
    color: #e53935 !important;
}
.modal-error {
    display: none;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    font-size: 0.72rem;
    color: #e53935;
    font-weight: 500;
}
.modal-error i { font-size: 0.75rem; }
.modal-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-alert-success {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-alert-info {
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    color: #c62828;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s;
}
.login-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.login-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    width: 620px;
    max-width: 92vw;
    background: #fff;
    border-radius: 24px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    overflow: hidden;
}
.login-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
.login-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: #555;
    transition: all 0.2s;
    z-index: 5;
}
.login-modal-close:hover {
    background: var(--primary);
    color: #fff;
    transform: rotate(90deg);
}
.login-modal-content {
    padding: 40px 36px 32px;
}
.login-modal-header {
    text-align: center;
    margin-bottom: 28px;
}
.login-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: var(--primary);
}
.login-modal-header h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}
.login-modal-header p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}
.login-form {
    margin-bottom: 20px;
}
.login-input-group {
    margin-bottom: 16px;
}
.login-input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}
.login-input-wrap {
    display: flex;
    align-items: center;
    background: #f5f5f7;
    border-radius: 12px;
    border: 1.5px solid transparent;
    padding: 0 16px;
    transition: all 0.25s;
}
.login-input-wrap:focus-within {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229,57,53,0.08);
}
.login-input-wrap i {
    color: #bbb;
    font-size: 1rem;
    margin-right: 12px;
    transition: color 0.2s;
}
.login-input-wrap:focus-within i {
    color: var(--primary);
}
.login-input-wrap input {
    border: none;
    background: transparent;
    padding: 14px 0;
    font-size: 0.88rem;
    width: 100%;
    outline: none;
    color: var(--dark);
    font-weight: 500;
}
.login-input-wrap input::placeholder {
    color: #bbb;
    font-weight: 400;
}
.btn-login-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 4px;
}
.btn-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229,57,53,0.3);
}
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.login-remember {
    font-size: 0.75rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.login-remember input {
    accent-color: var(--primary);
}
.login-forgot {
    font-size: 0.75rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.login-forgot:hover {
    text-decoration: underline;
}
.login-switch {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}
.login-switch a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.login-switch a:hover {
    text-decoration: underline;
}
.login-divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
}
.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
}
.login-divider span {
    background: #fff;
    padding: 0 14px;
    font-size: 0.72rem;
    color: #bbb;
    position: relative;
    font-weight: 500;
}
.login-social {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}
.btn-social {
    flex: 1;
    padding: 11px;
    border-radius: 10px;
    border: 1.5px solid #eee;
    background: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.btn-social:hover {
    border-color: var(--primary);
    background: #fff5f5;
    color: var(--primary);
}
.login-terms {
    text-align: center;
    font-size: 0.68rem;
    color: #bbb;
    margin: 0;
}
.login-terms a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* ===== CART DRAWER ===== */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s;
}
.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-drawer.active {
    right: 0;
}
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}
.cart-drawer-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
}
.cart-count {
    background: #f5f5f7;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 10px;
    color: var(--text-muted);
}
.cart-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
    transition: all 0.2s;
}
.cart-drawer-close:hover {
    background: var(--primary);
    color: #fff;
    transform: rotate(90deg);
}
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}
.cart-drawer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}
.cart-drawer-item:last-child {
    border-bottom: none;
}
.cart-item-img {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    overflow: hidden;
    background: #f9f9f9;
    flex-shrink: 0;
}
.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-info {
    flex: 1;
    min-width: 0;
}
.cart-item-info h6 {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart-item-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
}
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f7;
    border-radius: 8px;
    padding: 2px 4px;
}
.qty-btn {
    width: 26px;
    height: 26px;
    border: none;
    background: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #555;
}
.qty-btn:hover {
    background: var(--primary);
    color: #fff;
}
.cart-item-qty span {
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 16px;
    text-align: center;
}
.cart-item-remove {
    border: none;
    background: none;
    color: #ccc;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.2s;
}
.cart-item-remove:hover {
    color: var(--primary);
    background: #fff5f5;
}
.cart-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}
.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.cart-subtotal span {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.cart-subtotal strong {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
}
.cart-footer-note {
    font-size: 0.7rem;
    color: #bbb;
    margin-bottom: 16px;
}
.btn-cart-view {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1.5px solid #e0e0e0;
    color: var(--dark);
    text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.2s;
    background: #fff;
}
.btn-cart-view:hover {
    border-color: var(--dark);
    color: var(--dark);
}
.btn-cart-checkout {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.84rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-cart-checkout:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #b71c1c 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(229,57,53,0.3);
}

/* Mobile Search */
.mobile-search {
    padding: 0 0 12px;
}
.mobile-search-box {
    display: flex;
    align-items: center;
    background: #f5f5f7;
    border-radius: 30px;
    padding: 10px 16px;
    gap: 10px;
}
.mobile-search-box i {
    color: #999;
    font-size: 1rem;
}
.mobile-search-box input {
    border: none;
    background: transparent;
    font-size: 0.85rem;
    width: 100%;
    outline: none;
}

/* Hide desktop search on mobile */
@media (max-width: 991px) {
    .header-search-wrapper { display: none; }
    .header-wrapper { gap: 15px; }
    .action-label { display: none; }
    .header-action-item { padding: 8px 10px; }
}

/* Header Mobile Toggle */
.header-mobile-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    padding: 6px 10px;
    cursor: pointer;
    display: none;
    order: -1;
}
@media (max-width: 991px) {
    .header-mobile-toggle { display: flex; align-items: center; }
}

/* ===== MAIN NAVIGATION ===== */
.main-nav {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    z-index: 1040;
}
.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}
.nav-menu-item {
    position: relative;
}
.nav-menu-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 16px 18px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.25s;
    white-space: nowrap;
    position: relative;
}
.nav-menu-link::after {
    display: none;
}
.nav-menu-link:hover,
.nav-menu-item.active .nav-menu-link {
    color: var(--primary);
}
.nav-menu-link i.bi-chevron-down {
    font-size: 0.55rem;
    transition: transform 0.3s;
    opacity: 0.5;
}
.nav-menu-item:hover .nav-menu-link i.bi-chevron-down {
    transform: rotate(180deg);
    opacity: 1;
}

/* Mega Dropdown */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 700px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    pointer-events: none;
}
.nav-menu-item:hover > .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.mega-inner {
    display: flex;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
}

/* Subcategories Column */
.mega-col-sub {
    width: 240px;
    padding: 24px;
    background: #f9fafb;
    border-right: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.mega-heading {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    font-size: 0.84rem;
    color: #444;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
}
.mega-list li a i {
    font-size: 0.6rem;
    opacity: 0;
    transition: all 0.2s;
    color: var(--primary);
}
.mega-list li a:hover {
    background: #fff;
    color: var(--primary);
    padding-left: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.mega-list li a:hover i {
    opacity: 1;
}
.mega-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    background: #fff;
    border-radius: 8px;
    transition: all 0.2s;
}
.mega-view-all:hover {
    background: var(--primary);
    color: #fff;
}

/* Products Column */
.mega-col-products {
    flex: 1;
    padding: 24px;
}
.mega-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.mega-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.mega-product-item:hover {
    background: #f9fafb;
    border-color: #f0f0f0;
}
.mega-product-img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f7;
    flex-shrink: 0;
}
.mega-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mega-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.2rem;
}
.mega-product-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.mega-product-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    line-height: 1.3;
    margin-bottom: 2px;
}
.mega-product-item:hover .mega-product-name {
    color: var(--primary);
}
.mega-product-price {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
}

/* Mobile Nav Toggle */
.nav-mobile-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    padding: 10px;
    cursor: pointer;
    display: none;
}

@media (max-width: 991px) {
    .nav-menu { display: none; }
    .nav-mobile-toggle { display: block; }
    .main-nav .container { padding: 0 12px; }
    .main-nav { display: none; }
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 20px 0 10px;
}
.hero-banner {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}
.hero-banner img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(105deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 70%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
}
.hero-tag {
    background: var(--primary);
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    width: fit-content;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.hero-overlay h1 {
    color: #fff;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}
.hero-overlay p {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    max-width: 420px;
    margin-bottom: 20px;
}
.btn-hero {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
    transition: all 0.3s;
}
.btn-hero:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-2px);
}
.hero-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}
.hero-swiper .swiper-pagination {
    bottom: 28px;
}
.hero-swiper .swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
    width: 24px;
    border-radius: 10px;
}

/* Hero Progress Bar */
.hero-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(255,255,255,0.2);
    z-index: 12;
    border-radius: 4px;
    overflow: hidden;
}
.hero-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, #ff6f61 100%);
    border-radius: 3px;
}

/* Hero Nav Arrows */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 12;
    transition: all 0.3s;
    opacity: 0;
}
.hero-swiper:hover .hero-nav-btn {
    opacity: 1;
}
.hero-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}
.hero-nav-prev { left: 20px; }
.hero-nav-next { right: 20px; }

/* Hero Slide Counter */
.hero-slide-counter {
    position: absolute;
    bottom: 18px;
    right: 24px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    z-index: 12;
    letter-spacing: 1px;
    font-family: monospace;
}
.hero-slide-counter span:first-child {
    color: #fff;
    font-size: 1rem;
}

/* Hero Slide Content Animation */
.hero-swiper .swiper-slide-active .hero-tag {
    animation: heroFadeUp 0.6s ease-out 0.1s both;
}
.hero-swiper .swiper-slide-active .hero-overlay h1 {
    animation: heroFadeUp 0.6s ease-out 0.25s both;
}
.hero-swiper .swiper-slide-active .hero-overlay p {
    animation: heroFadeUp 0.6s ease-out 0.4s both;
}
.hero-swiper .swiper-slide-active .btn-hero {
    animation: heroFadeUp 0.6s ease-out 0.55s both;
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTIONS COMMON ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.section-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    letter-spacing: -0.3px;
}
.section-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 4px 0 0;
    font-weight: 400;
}
.swiper-nav-btns {
    display: flex;
    gap: 8px;
}
.swiper-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
    font-size: 0.85rem;
    color: #555;
}
.swiper-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(229,57,53,0.25);
}

/* ===== CATEGORIES ===== */
.section-categories {
    padding: 45px 0 35px;
}
.featured-cat-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}
.featured-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 20px 10px 16px;
    border-radius: 14px;
    border: 1px solid #f0f0f0;
    background: #fff;
    transition: all 0.3s ease;
}
.featured-cat-card:hover {
    border-color: #e8e8e8;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}
.featured-cat-img {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.featured-cat-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.featured-cat-card:hover .featured-cat-img img {
    transform: scale(1.08);
}
.featured-cat-name {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.featured-cat-card:hover .featured-cat-name {
    color: var(--primary);
}

/* Category Banners */
.cat-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 175px;
    cursor: pointer;
}
.cat-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-banner:hover img {
    transform: scale(1.08);
}
.cat-banner-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.75) 100%);
}
.cat-banner-content h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

/* Category Promo Banners (new style) */
.cat-promo-banner {
    display: flex;
    align-items: center;
    position: relative;
    background: #f5f3f0;
    border-radius: 16px;
    padding: 28px 30px;
    text-decoration: none;
    transition: all 0.3s;
    height: 230px;
    overflow: hidden;
}
.cat-promo-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%);
    border-radius: 16px;
    z-index: 1;
}
.cat-promo-banner:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.cat-promo-text {
    position: relative;
    z-index: 2;
}
.cat-promo-text h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.cat-promo-text p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    font-style: italic;
    margin-bottom: 12px;
}
.cat-promo-btn {
    display: inline-block;
    background: #fff;
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.2s;
}
.cat-promo-banner:hover .cat-promo-btn {
    background: var(--primary);
    color: #fff;
}
.cat-promo-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
.cat-promo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* ===== PRODUCT CARDS ===== */
.section-products {
    padding: 45px 0;
}
/* 5 columns on desktop */
@media (min-width: 992px) {
    .hp-product-col {
        flex: 0 0 20%;
        max-width: 20%;
    }
}
.product-card {
    position: relative;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    transform: translateY(-6px);
    border-color: transparent;
}
.product-card .product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.product-card .product-badges .badge {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
}
.product-card .product-actions {
    position: absolute;
    top: 12px;
    right: -45px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-actions {
    right: 12px;
}
.product-card .action-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: none;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.product-card .action-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(229,57,53,0.3);
}
.product-card .product-img {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f7 100%);
    overflow: hidden;
    padding: 20px;
    position: relative;
}
.product-card .product-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, rgba(255,255,255,0.8));
    pointer-events: none;
}
.product-card .product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-img img {
    transform: scale(1.1) rotate(1deg);
}
.product-card .product-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card .product-category {
    font-size: 0.65rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    font-weight: 600;
}
.product-card .product-title {
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}
.product-card .product-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}
.product-card .product-title a:hover {
    color: var(--primary);
}
.product-card .product-rating {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 2px;
}
.product-card .product-rating i {
    color: #ffc107;
    font-size: 0.68rem;
}
.product-card .product-rating span {
    font-size: 0.68rem;
    color: #bbb;
    margin-left: 5px;
    font-weight: 500;
}
.product-card .product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}
.product-card .price-current {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.3px;
}
.product-card .price-original {
    font-size: 0.78rem;
    color: #bbb;
    text-decoration: line-through;
    font-weight: 400;
}
.product-card .product-footer {
    margin-top: auto;
}
.btn-add-cart {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.3s;
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
}
.btn-add-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.btn-add-cart:hover::before {
    left: 100%;
}
.btn-add-cart:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #b71c1c 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229,57,53,0.3);
}

/* Small Product Card */
.product-card-sm .product-img {
    height: 175px;
}

/* ===== DAILY BEST SELLS ===== */
.section-bestsells {
    padding: 55px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
}
.bestsell-promo {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
    border-radius: 20px;
    padding: 40px 28px;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.bestsell-promo::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(229,57,53,0.3) 0%, transparent 70%);
    border-radius: 50%;
}
.bestsell-promo::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(229,57,53,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.bestsell-promo h3 {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.3px;
}
.bestsell-promo p {
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}
.btn-promo {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 11px 24px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
    letter-spacing: 0.2px;
}
.btn-promo:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.2);
}

/* ===== HERITAGE SECTION ===== */
.section-heritage {
    padding: 80px 0;
    background: linear-gradient(135deg, #fffbf5 0%, #fff9f0 50%, #fff5eb 100%);
    position: relative;
    overflow: hidden;
}
.section-heritage::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(229,57,53,0.04) 0%, transparent 70%);
    border-radius: 50%;
}
.heritage-images {
    position: relative;
    padding: 20px;
}
.heritage-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.heritage-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.heritage-img-float {
    position: absolute;
    bottom: -10px;
    right: -10px;
    border-radius: 16px;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.heritage-img-float img {
    width: 200px;
    height: 160px;
    object-fit: cover;
}
.heritage-stat {
    position: absolute;
    top: 30px;
    left: -10px;
    background: #fff;
    border-radius: 14px;
    padding: 16px 22px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    z-index: 2;
}
.heritage-stat strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.heritage-stat span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}
.heritage-content {
    padding-left: 20px;
}
.heritage-tag {
    display: inline-block;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}
.heritage-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.text-highlight {
    color: var(--primary);
    position: relative;
}
.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(229,57,53,0.12);
    border-radius: 4px;
    z-index: -1;
}
.heritage-lead {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 14px;
    font-weight: 450;
}
.heritage-text {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 20px;
}
.heritage-text:last-of-type {
    margin-bottom: 28px;
}
.heritage-text strong {
    color: var(--dark);
    font-weight: 600;
}
.btn-heritage {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    padding: 13px 30px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}
.btn-heritage:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(229,57,53,0.3);
}

@media (max-width: 991px) {
    .heritage-content { padding-left: 0; margin-top: 30px; }
    .heritage-content h2 { font-size: 1.6rem; }
    .heritage-img-float { position: relative; bottom: auto; right: auto; margin-top: 15px; display: inline-block; }
    .heritage-stat { top: 10px; left: 10px; }
}

/* ===== FEATURES ===== */
.section-features {
    padding: 55px 0;
    border-top: 1px solid #f0f0f0;
    background: #fff;
}
.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}
.feature-box:hover {
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border-color: #f0f0f0;
    transform: translateY(-3px);
}
.feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    transition: all 0.3s;
}
.feature-box:hover .feature-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 5px 15px rgba(229,57,53,0.25);
}
.feature-box h6 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
}
.feature-box p {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

/* ===== STEPS ===== */
.section-steps {
    padding: 65px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}
.step-box {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}
.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 6px 25px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid #f5f5f5;
}
.step-box:hover .step-icon {
    background: var(--primary);
    color: #fff;
    transform: translateY(-8px) rotate(-3deg);
    box-shadow: 0 12px 30px rgba(229,57,53,0.25);
    border-color: transparent;
}
.step-box h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}
.step-box p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    color: #ccc;
    padding: 55px 0 25px;
}
.site-footer h5 {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.site-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer ul li {
    margin-bottom: 10px;
}
.site-footer ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s;
}
.site-footer ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}
.footer-contact li {
    font-size: 0.8rem;
    color: #aaa;
}
.footer-contact li i {
    color: var(--primary);
    margin-right: 8px;
    width: 16px;
}
.app-badge {
    height: 32px;
    border-radius: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    margin-top: 40px;
}
.footer-bottom p {
    font-size: 0.75rem;
    color: #666;
}
.payment-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.payment-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    font-weight: 600;
}
.payment-icons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.payment-icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    color: #aaa;
    font-weight: 500;
}
.payment-icon i {
    font-size: 0.8rem;
    color: #888;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.95rem;
    margin-left: 6px;
    transition: all 0.3s;
    text-decoration: none;
}
.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.footer-secure-strip {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap;
}
.footer-secure-strip span {
    font-size: 0.68rem;
    color: #666;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}
.footer-secure-strip span i {
    color: #22c55e;
    font-size: 0.8rem;
}

/* ===== MOBILE NAV DRAWER ===== */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 9996;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 9997;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 30px rgba(0,0,0,0.15);
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav-drawer.active {
    left: 0;
}
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.mobile-nav-logo {
    height: 30px;
}
.mobile-nav-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #555;
    cursor: pointer;
}
.mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav-list li a {
    display: flex;
    align-items: center;
    padding: 13px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s;
}
.mobile-nav-list li a:hover,
.mobile-nav-list li a.active {
    background: #fff5f5;
    color: var(--primary);
}
.mobile-nav-list li a i {
    font-size: 1rem;
    width: 20px;
    color: #888;
}
.mobile-nav-list li a:hover i,
.mobile-nav-list li a.active i {
    color: var(--primary);
}
.mobile-nav-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 20px;
}
.mobile-nav-footer {
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mobile-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid #e8e8e8;
    color: var(--dark);
    transition: all 0.2s;
}
.mobile-nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.mobile-nav-btn.whatsapp {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-overlay h1 { font-size: 1.8rem; }
    .hero-overlay { padding: 30px; }
    .hero-banner img { height: 300px; }
    .heritage-content { padding-left: 0; margin-top: 30px; }
    .heritage-content h2 { font-size: 1.5rem; }
    .heritage-img-float { display: none; }
    .section-bestsells .col-lg-3 { display: none; }
    .login-modal { width: 90vw; }
    .login-modal-content { padding: 30px 24px; }
    .featured-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
@media (max-width: 767px) {
    /* Top Bar */
    .top-bar { font-size: 0.68rem; }
    .top-bar-inner { height: 28px; }

    /* Header */
    .header-wrapper { padding: 10px 0; gap: 10px; }
    .header-logo .logo-img { height: 32px; }
    .action-icon-wrap { font-size: 1.25rem; }
    .header-action-item { padding: 6px 8px; }

    /* Mobile Search */
    .mobile-search { padding: 0 0 8px; }
    .mobile-search-box { padding: 8px 14px; }

    /* Hero */
    .hero-section { padding: 8px 0 6px; }
    .hero-overlay h1 { font-size: 1.3rem; }
    .hero-overlay p { font-size: 0.75rem; margin-bottom: 14px; }
    .hero-banner img { height: 220px; }
    .hero-overlay { padding: 18px; }
    .btn-hero { padding: 9px 20px; font-size: 0.78rem; }
    .hero-tag { font-size: 0.6rem; padding: 3px 10px; margin-bottom: 10px; }
    .hero-nav-btn { display: none; }
    .hero-slide-counter { display: none; }

    /* Sections */
    .section-header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 18px; }
    .section-header h2 { font-size: 1.15rem; }
    .section-subtitle { font-size: 0.75rem; }
    .section-categories { padding: 25px 0 20px; }
    .section-products { padding: 25px 0; }

    /* Categories */
    .featured-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .featured-cat-img { width: 60px; height: 60px; }
    .featured-cat-card { padding: 14px 8px 12px; border-radius: 10px; }
    .featured-cat-name { font-size: 0.65rem; }
    .cat-banner { height: 120px; border-radius: 12px; }
    .cat-banner-content { padding: 16px; }
    .cat-banner-content h4 { font-size: 0.9rem; margin-bottom: 6px; }

    /* Product Cards */
    .product-card { border-radius: 12px; }
    .product-card .product-img { height: 155px; padding: 12px; }
    .product-card .product-body { padding: 10px 12px 12px; }
    .product-card .product-category { font-size: 0.58rem; margin-bottom: 4px; }
    .product-card .product-title { font-size: 0.72rem; margin-bottom: 6px; min-height: 2em; }
    .product-card .price-current { font-size: 0.88rem; }
    .product-card .price-original { font-size: 0.68rem; }
    .product-card .product-actions { display: none; }
    .product-card .product-badges .badge { font-size: 0.55rem; padding: 3px 6px; }
    .btn-add-cart { font-size: 0.7rem; padding: 7px 8px; border-radius: 8px; }

    /* Best Sells */
    .section-bestsells { padding: 30px 0; }
    .bestsell-promo { padding: 22px 18px; border-radius: 14px; }
    .bestsell-promo h3 { font-size: 1rem; }
    .bestsell-promo p { font-size: 0.75rem; }

    /* Heritage */
    .section-heritage { padding: 40px 0; }
    .heritage-img-main img { height: 250px; }
    .heritage-stat { display: none; }
    .heritage-content h2 { font-size: 1.3rem; }
    .heritage-lead { font-size: 0.85rem; }
    .heritage-text { font-size: 0.8rem; }
    .heritage-feature-item { gap: 10px; }
    .hf-icon { width: 36px; height: 36px; min-width: 36px; font-size: 0.95rem; border-radius: 10px; }
    .heritage-feature-item h6 { font-size: 0.78rem; }
    .btn-heritage { padding: 11px 24px; font-size: 0.8rem; }

    /* Features */
    .section-features { padding: 30px 0; }
    .feature-box { padding: 14px; gap: 12px; }
    .feature-icon { width: 44px; height: 44px; min-width: 44px; font-size: 1.1rem; border-radius: 10px; }
    .feature-box h6 { font-size: 0.8rem; }
    .feature-box p { font-size: 0.7rem; }

    /* Steps */
    .section-steps { padding: 35px 0; }
    .step-icon { width: 55px; height: 55px; font-size: 1.3rem; border-radius: 16px; }
    .step-box h6 { font-size: 0.82rem; }
    .step-box p { font-size: 0.72rem; }

    /* Footer */
    .site-footer { padding: 35px 0 15px; }
    .site-footer h5 { font-size: 0.85rem; margin-bottom: 14px; }
    .site-footer ul li a { font-size: 0.75rem; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-social { margin: 0; }
    .footer-social a { margin: 0 8px; }
    .payment-icons { justify-content: center; }
    .app-badge { height: 28px; }

    /* WhatsApp */
    .whatsapp-float { width: 48px; height: 48px; font-size: 1.3rem; bottom: 16px; right: 16px; }

    /* Login Modal */
    .login-modal { width: 94vw; border-radius: 18px; }
    .login-modal-content { padding: 28px 20px 24px; }
    .login-icon { width: 50px; height: 50px; font-size: 1.3rem; }
    .login-modal-header h4 { font-size: 1.1rem; }
    .login-input-wrap { padding: 0 12px; }
    .login-input-wrap input { padding: 12px 0; font-size: 0.84rem; }
    .btn-login-submit { padding: 12px; font-size: 0.84rem; }

    /* Cart Drawer */
    .cart-drawer { width: 100%; max-width: 100vw; right: -100%; }
    .cart-drawer.active { right: 0; }
    .cart-drawer-header { padding: 16px 18px; }
    .cart-drawer-body { padding: 12px 18px; }
    .cart-drawer-footer { padding: 16px 18px; }
    .cart-drawer-item { gap: 10px; padding: 12px 0; }
    .cart-item-img { width: 58px; height: 58px; border-radius: 10px; }
}

@media (max-width: 575px) {
    .product-card .product-img { height: 140px; padding: 10px; }
    .product-card .product-body { padding: 8px 10px 10px; }
    .product-card .product-title { font-size: 0.68rem; -webkit-line-clamp: 1; min-height: auto; }
    .product-card .price-current { font-size: 0.82rem; }
    .btn-add-cart { font-size: 0.65rem; padding: 6px; }
    .btn-add-cart i { display: none; }
    .section-header h2 { font-size: 1rem; }
    .hero-overlay h1 { font-size: 1.1rem; }
    .hero-banner img { height: 180px; }
    .cat-banner { height: 100px; }
    .cat-banner-content h4 { font-size: 0.78rem; }
    .cat-banner-content .btn { font-size: 0.6rem; padding: 3px 10px; }
}
