/**
 * Fabify E-Commerce Features CSS
 * All 50 features styling
 * Version: 1.0.0
 */

/* ============================================
   FEATURE 1: LOCATION/CURRENCY SELECTOR
   ============================================ */

/* Top Bar containing currency selector */
.fabify-top-bar {
    background: var(--dark, #121212);
    color: #fff;
    padding: 8px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Currency/Location Selector */
.currency-selector {
    position: relative;
}

.currency-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    transition: background 0.2s;
}

.currency-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.currency-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.currency-selector.open .currency-toggle svg {
    transform: rotate(180deg);
}

.currency-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-card, #fff);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
}

.currency-selector.open .currency-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.currency-dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border, #e5e5e5);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-main, #121212);
}

.currency-list {
    padding: 8px 0;
    max-height: 250px;
    overflow-y: auto;
}

.currency-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s;
    color: var(--text-main, #333);
    font-size: 13px;
}

.currency-option:hover {
    background: var(--bg-body, #f5f5f5);
}

.currency-option.active {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent, #00ff88);
}

.currency-option .currency-flag {
    margin-right: 10px;
    font-size: 16px;
}

.currency-option .currency-code {
    font-weight: 600;
    margin-left: auto;
    color: var(--text-muted, #666);
}

/* Location selector */
.location-selector {
    position: relative;
}

.location-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    transition: background 0.2s;
}

.location-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.location-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: var(--bg-card, #fff);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 260px;
    max-width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
}

.location-selector.open .location-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.location-search {
    padding: 12px;
    border-bottom: 1px solid var(--border, #eee);
}

.location-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border, #ddd);
    border-radius: 6px;
    font-size: 13px;
    background: var(--bg-body, #f9f9f9);
    color: var(--text-main, #333);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.location-search-input:focus {
    border-color: var(--accent, #00ff88);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.location-search-input::placeholder {
    color: var(--text-muted, #999);
}

.location-list {
    padding: 8px 0;
    max-height: 350px;
    overflow-y: auto;
}

.location-group-header {
    padding: 10px 16px 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted, #888);
    background: var(--bg-body, #f9f9f9);
    position: sticky;
    top: 0;
}

.location-option {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s;
    color: var(--text-main, #333);
    font-size: 13px;
}

.location-option:hover {
    background: var(--bg-body, #f5f5f5);
}

.location-option.active {
    background: rgba(0, 255, 136, 0.1);
}

.location-option .location-flag {
    margin-right: 10px;
    font-size: 18px;
}

/* Top bar promo text */
.top-bar-promo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-promo span {
    opacity: 0.9;
}

/* Mobile top bar */
@media (max-width: 768px) {
    .fabify-top-bar {
        padding: 6px 0;
    }

    .top-bar-left .top-bar-promo:not(:first-child) {
        display: none;
    }

    .currency-dropdown,
    .location-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        border-radius: 16px 16px 0 0;
        max-height: 60vh;
    }
}

/* Dark mode adjustments */
[data-theme="dark"] .currency-dropdown,
[data-theme="dark"] .location-dropdown {
    background: var(--bg-card);
    border: 1px solid var(--border);
}

[data-theme="dark"] .currency-option,
[data-theme="dark"] .location-option {
    color: var(--text-main);
}

[data-theme="dark"] .currency-option:hover,
[data-theme="dark"] .location-option:hover {
    background: var(--bg-body);
}

/* ============================================
   FEATURE 2: SEARCH FILTER CHIPS
   ============================================ */

.fabify-active-filters {
    background: linear-gradient(180deg, var(--bg-body, #f9f9f9) 0%, var(--bg-card, #fff) 100%);
    border-bottom: 1px solid var(--border, #e5e5e5);
    padding: 0 20px;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
}

.active-filters-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted, #666);
    margin-right: 8px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 24px;
    font-size: 13px;
    color: var(--text-main, #333);
    transition: all 0.2s ease;
    animation: chip-appear 0.3s ease-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

@keyframes chip-appear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-5px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.filter-chip:hover {
    border-color: var(--accent, #00ff88);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.15);
    transform: translateY(-1px);
}

/* Filter chip type icons */
.filter-chip[data-filter-type="category"]::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 2px;
}

.filter-chip[data-filter-type="price"]::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.filter-chip[data-filter-type="search"]::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #f59e0b;
    border-radius: 50%;
}

.filter-chip[data-filter-type="orderby"]::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #8b5cf6;
    border-radius: 2px;
    transform: rotate(45deg);
}

.filter-chip[data-filter-type="attribute"]::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ec4899;
    border-radius: 50%;
}

.filter-chip-label {
    font-weight: 500;
}

.filter-chip-value {
    color: var(--text-muted, #666);
}

.filter-chip-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--bg-body, #f5f5f5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-muted, #666);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-left: 2px;
}

.filter-chip-remove:hover {
    background: #ef4444;
    color: #fff;
    transform: scale(1.1);
}

.filter-chip.removing {
    animation: chip-remove 0.3s ease-out forwards;
}

@keyframes chip-remove {
    to {
        opacity: 0;
        transform: scale(0.8) translateY(-10px);
    }
}

.clear-all-filters {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px dashed var(--border, #ddd);
    color: var(--text-muted, #666);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 24px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.clear-all-filters:hover {
    background: #fef2f2;
    border-color: #ef4444;
    color: #ef4444;
}

.clear-all-filters::before {
    content: '';
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
}

/* Filter chips responsive */
@media (max-width: 768px) {
    .fabify-active-filters {
        padding: 0 16px;
    }

    .active-filters {
        gap: 8px;
        padding: 12px 0;
    }

    .filter-chip {
        padding: 6px 12px;
        font-size: 12px;
    }

    .filter-chip-remove {
        width: 18px;
        height: 18px;
        font-size: 12px;
    }
}

/* Dark mode */
[data-theme="dark"] .fabify-active-filters {
    background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-card) 100%);
}

[data-theme="dark"] .filter-chip {
    background: var(--bg-card);
    border-color: var(--border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .filter-chip:hover {
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
}

[data-theme="dark"] .filter-chip-remove {
    background: var(--bg-body);
}

/* ============================================
   FEATURE 3: SEARCH AUTOCOMPLETE
   ============================================ */

.search-autocomplete-wrap {
    position: relative;
}

.search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--bg-card, #fff);
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.15);
    z-index: 1002;
    display: none;
    overflow: hidden;
}

.search-autocomplete.active {
    display: block;
}

.search-trending {
    padding: 16px;
    border-bottom: 1px solid var(--border, #e5e5e5);
}

.search-trending-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted, #666);
    margin-bottom: 10px;
}

.search-trending-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-trending-item {
    padding: 6px 12px;
    background: var(--bg-body, #f5f5f5);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-main, #333);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.search-trending-item:hover {
    background: var(--accent, #00ff88);
    color: #000;
}

.search-products {
    padding: 8px 0;
}

.search-product-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-main, #333);
    transition: background 0.15s;
}

.search-product-item:hover {
    background: var(--bg-body, #f5f5f5);
}

.search-product-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 12px;
    background: var(--bg-body, #f5f5f5);
}

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

.search-product-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent, #00ff88);
}

.search-view-all {
    display: block;
    padding: 14px 16px;
    text-align: center;
    background: var(--bg-body, #f5f5f5);
    color: var(--text-main, #333);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}

.search-view-all:hover {
    background: var(--accent, #00ff88);
    color: #000;
}

.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: var(--text-muted, #666);
}

.search-no-results {
    padding: 30px;
    text-align: center;
    color: var(--text-muted, #666);
}

/* ============================================
   FEATURE 4: BREADCRUMB NAVIGATION
   ============================================ */

.fabify-breadcrumbs {
    padding: 16px 0;
    font-size: 13px;
}

.fabify-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fabify-breadcrumbs li {
    display: flex;
    align-items: center;
}

.fabify-breadcrumbs li:not(:last-child)::after {
    content: "›";
    margin: 0 10px;
    color: var(--text-muted, #999);
}

.fabify-breadcrumbs a {
    color: var(--text-muted, #666);
    text-decoration: none;
    transition: color 0.2s;
}

.fabify-breadcrumbs a:hover {
    color: var(--accent, #00ff88);
}

.fabify-breadcrumbs .breadcrumb-current {
    color: var(--text-main, #333);
    font-weight: 500;
}

/* ============================================
   FEATURE 5: MINI CART PREVIEW
   ============================================ */

.mini-cart-wrapper {
    position: relative;
}

.mini-cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    width: 360px;
    background: var(--bg-card, #fff);
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.15);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.mini-cart-wrapper:hover .mini-cart-dropdown,
.mini-cart-wrapper.active .mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border, #e5e5e5);
}

.mini-cart-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-main, #333);
}

.mini-cart-count {
    font-size: 13px;
    color: var(--text-muted, #666);
}

.mini-cart-items {
    max-height: 280px;
    overflow-y: auto;
    padding: 8px 0;
}

.mini-cart-item {
    display: flex;
    padding: 12px 16px;
    gap: 12px;
}

.mini-cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--bg-body, #f5f5f5);
}

.mini-cart-item-details {
    flex: 1;
}

.mini-cart-item-title {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text-main, #333);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-cart-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-cart-item-qty {
    font-size: 12px;
    color: var(--text-muted, #666);
}

.mini-cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent, #00ff88);
}

.mini-cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted, #999);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.mini-cart-item-remove:hover {
    color: #ef4444;
}

.mini-cart-footer {
    padding: 16px;
    border-top: 1px solid var(--border, #e5e5e5);
}

.mini-cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 15px;
}

.mini-cart-subtotal-label {
    color: var(--text-muted, #666);
}

.mini-cart-subtotal-value {
    font-weight: 700;
    color: var(--text-main, #333);
}

.mini-cart-buttons {
    display: flex;
    gap: 10px;
}

.mini-cart-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.mini-cart-btn-cart {
    background: var(--bg-body, #f5f5f5);
    color: var(--text-main, #333);
}

.mini-cart-btn-cart:hover {
    background: var(--border, #e5e5e5);
}

.mini-cart-btn-checkout {
    background: var(--accent, #00ff88);
    color: #000;
}

.mini-cart-btn-checkout:hover {
    background: #00e67a;
}

.mini-cart-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted, #666);
}

.mini-cart-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* Mobile */
@media (max-width: 768px) {
    .mini-cart-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        border-radius: 16px 16px 0 0;
        max-height: 70vh;
    }
}

/* ============================================
   FEATURE 6: STICKY HEADER
   ============================================ */

.header-main {
    transition: all 0.3s ease;
}

.header-main.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-card, #fff);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-main.is-sticky .header-container {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.header-main.is-sticky .logo-link {
    font-size: 26px;
}

/* Hide top bar when sticky */
.fabify-top-bar.is-hidden {
    transform: translateY(-100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

/* Placeholder for header height */
.header-placeholder {
    display: none;
}

body.has-sticky-header .header-placeholder {
    display: block;
}

/* ============================================
   FEATURE 7: MOBILE MEGA MENU
   ============================================ */

/* Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 1998;
    transition: all 0.3s ease;
}

body.mobile-nav-open .mobile-nav-overlay {
    opacity: 1;
    visibility: visible;
}

/* Mobile Nav Panel */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-card, #fff);
    z-index: 1999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body.mobile-nav-open .mobile-nav {
    transform: translateX(0);
}

/* Header */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border, #e5e5e5);
    background: var(--bg-card, #fff);
}

.mobile-nav-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main, #121212);
}

.mobile-nav-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-muted, #666);
    border-radius: 8px;
    transition: all 0.2s;
}

.mobile-nav-close:hover {
    background: var(--bg-body, #f5f5f5);
    color: var(--text-main, #121212);
}

/* Search */
.mobile-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-body, #f5f5f5);
    border-bottom: 1px solid var(--border, #e5e5e5);
}

.mobile-search-wrap svg {
    color: var(--text-muted, #666);
    flex-shrink: 0;
}

.mobile-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--text-main, #121212);
    outline: none;
}

.mobile-search-input::placeholder {
    color: var(--text-muted, #999);
}

/* Scrollable Content */
.mobile-nav-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Quick Links */
.mobile-nav-quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border, #e5e5e5);
}

.mobile-quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: var(--bg-body, #f5f5f5);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main, #333);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-quick-link:hover,
.mobile-quick-link:active {
    background: var(--accent, #00ff88);
    color: #000;
}

.mobile-quick-icon {
    font-size: 20px;
}

/* Section Titles */
.mobile-nav-section-title {
    padding: 16px 20px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted, #666);
}

/* Categories Accordion */
.mobile-nav-categories {
    border-bottom: 1px solid var(--border, #e5e5e5);
}

.mobile-accordion {
    border-bottom: 1px solid var(--border, #e5e5e5);
}

.mobile-accordion:last-child {
    border-bottom: none;
}

.mobile-accordion-header {
    display: flex;
    align-items: center;
}

.mobile-accordion-link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text-main, #121212);
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s;
}

.mobile-accordion-link:hover {
    background: var(--bg-body, #f5f5f5);
}

.mobile-cat-count {
    font-size: 12px;
    color: var(--text-muted, #999);
    font-weight: 400;
}

.mobile-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted, #666);
    transition: all 0.2s;
}

.mobile-accordion-toggle:hover {
    color: var(--text-main, #121212);
}

.mobile-accordion-toggle svg {
    transition: transform 0.3s ease;
}

.mobile-accordion.open .mobile-accordion-toggle svg {
    transform: rotate(180deg);
}

/* Accordion Content */
.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    background: var(--bg-body, #f5f5f5);
    transition: max-height 0.3s ease;
}

.mobile-accordion.open .mobile-accordion-content {
    max-height: 500px;
}

.mobile-subcat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 12px 36px;
    text-decoration: none;
    color: var(--text-main, #333);
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

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

.mobile-subcat-link:hover {
    background: rgba(0, 0, 0, 0.03);
    padding-left: 40px;
}

.mobile-subcat-all {
    font-weight: 600;
    color: var(--accent, #00ff88);
}

.mobile-subcat-count {
    font-size: 12px;
    color: var(--text-muted, #999);
}

/* Account Links */
.mobile-nav-account {
    border-bottom: 1px solid var(--border, #e5e5e5);
    padding-bottom: 8px;
}

.mobile-account-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-main, #333);
    font-size: 14px;
    transition: background 0.2s;
}

.mobile-account-link:hover {
    background: var(--bg-body, #f5f5f5);
}

.mobile-account-link svg {
    color: var(--text-muted, #666);
}

/* Help Links */
.mobile-nav-help {
    padding: 12px 20px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-help-link {
    padding: 8px 14px;
    background: var(--bg-body, #f5f5f5);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-muted, #666);
    font-size: 13px;
    transition: all 0.2s;
}

.mobile-help-link:hover {
    background: var(--border, #e5e5e5);
    color: var(--text-main, #333);
}

/* Cart Bar */
.mobile-nav-cart-bar {
    padding: 12px 20px;
    background: var(--bg-card, #fff);
    border-top: 1px solid var(--border, #e5e5e5);
}

.mobile-cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: var(--accent, #00ff88);
    color: #000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s;
}

.mobile-cart-button:hover {
    background: #00e67a;
}

.mobile-cart-badge {
    background: #000;
    color: #fff;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.mobile-cart-total {
    margin-left: auto;
    font-weight: 700;
}

/* Dark Mode */
[data-theme="dark"] .mobile-nav {
    background: var(--bg-card);
}

[data-theme="dark"] .mobile-search-wrap {
    background: var(--bg-body);
}

[data-theme="dark"] .mobile-quick-link {
    background: var(--bg-body);
}

[data-theme="dark"] .mobile-accordion-content {
    background: var(--bg-body);
}

[data-theme="dark"] .mobile-subcat-link {
    border-color: rgba(255, 255, 255, 0.05);
}

/* Hide on desktop */
@media (min-width: 769px) {
    .mobile-nav-overlay,
    .mobile-nav {
        display: none !important;
    }
}

/* ============================================
   FEATURE 8: TRENDING SEARCHES
   ============================================ */

.search-trending-badge {
    display: inline-block;
    padding: 2px 6px;
    background: var(--accent, #00ff88);
    color: #000;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-left: 6px;
}

/* ============================================
   FEATURE 9: RECENTLY VIEWED PRODUCTS
   ============================================ */

.recently-viewed-section {
    padding: 60px 0;
    background: var(--bg-body, #f9f9f9);
}

.recently-viewed-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.recently-viewed-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main, #121212);
    margin: 0;
}

.clear-recently-viewed {
    background: none;
    border: none;
    color: var(--text-muted, #666);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

.clear-recently-viewed:hover {
    color: #ef4444;
}

.recently-viewed-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.recently-viewed-scroll::-webkit-scrollbar {
    height: 6px;
}

.recently-viewed-scroll::-webkit-scrollbar-track {
    background: var(--border, #e5e5e5);
    border-radius: 3px;
}

.recently-viewed-scroll::-webkit-scrollbar-thumb {
    background: var(--text-muted, #999);
    border-radius: 3px;
}

.recently-viewed-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
    background: var(--bg-card, #fff);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.recently-viewed-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.rv-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-body, #f5f5f5);
}

.rv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.recently-viewed-card:hover .rv-image img {
    transform: scale(1.05);
}

.no-image-sm {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: var(--bg-body, #f5f5f5);
}

.rv-info {
    padding: 12px;
}

.rv-info h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main, #333);
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.rv-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent, #00ff88);
}

/* Dark Mode */
[data-theme="dark"] .recently-viewed-section {
    background: var(--bg-body);
}

[data-theme="dark"] .recently-viewed-card {
    background: var(--bg-card);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================
   FEATURE 10: PRODUCT RECOMMENDATIONS
   ============================================ */

.product-recommendations {
    padding: 40px 0;
    border-top: 1px solid var(--border, #e5e5e5);
}

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

.product-recommendations h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main, #121212);
    margin: 0;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

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

/* ============================================
   FEATURE 11: WISHLIST
   ============================================ */

.wishlist-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--bg-card, #fff);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    z-index: 10;
}

.wishlist-toggle:hover {
    transform: scale(1.1);
}

.wishlist-toggle svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted, #666);
    fill: none;
    transition: all 0.2s;
}

.wishlist-toggle.active svg {
    stroke: #ef4444;
    fill: #ef4444;
}

.wishlist-toggle:hover svg {
    stroke: #ef4444;
}

/* Wishlist Page */
.wishlist-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted, #666);
}

.wishlist-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

/* ============================================
   FEATURE 15: IMAGE ZOOM ON HOVER
   ============================================ */

.product-image-zoom-container {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.product-image-zoom-container img {
    transition: transform 0.3s ease;
}

.product-image-zoom-container:hover img {
    transform: scale(1.5);
}

.product-image-zoom-container.zoomed {
    cursor: zoom-out;
}

/* Magnifier lens style */
.zoom-lens {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid var(--accent, #00ff88);
    border-radius: 8px;
    background-repeat: no-repeat;
    pointer-events: none;
    display: none;
    z-index: 10;
}

.product-image-zoom-container:hover .zoom-lens {
    display: block;
}

/* ============================================
   FEATURE 17: VISUAL VARIANT SELECTOR
   ============================================ */

.variation-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.swatch-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--bg-body, #f5f5f5);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main, #333);
    transition: all 0.2s;
}

.swatch-item:hover {
    border-color: var(--border, #ddd);
}

.swatch-item.active {
    border-color: var(--accent, #00ff88);
    background: rgba(0, 255, 136, 0.1);
}

.swatch-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Color swatches */
.swatch-color {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    padding: 0;
}

.swatch-color.active {
    box-shadow: 0 0 0 3px var(--bg-card, #fff), 0 0 0 5px var(--accent, #00ff88);
}

/* ============================================
   FEATURE 18 & 21: STOCK STATUS BADGES
   ============================================ */

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.stock-badge.in-stock {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.stock-badge.low-stock {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
}

.stock-badge.out-of-stock {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.stock-badge.pre-order {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

/* Urgency Animation */
.stock-badge.low-stock::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ea580c;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============================================
   FEATURE 23: VERIFIED PURCHASE BADGE
   ============================================ */

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #16a34a;
    font-size: 12px;
    font-weight: 500;
}

.verified-badge svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   FEATURE 24: SOCIAL SHARE BUTTONS
   ============================================ */

.social-share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border, #e5e5e5);
}

.social-share-label {
    font-size: 13px;
    color: var(--text-muted, #666);
    margin-right: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-body, #f5f5f5);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-muted, #666);
    transition: all 0.2s;
    text-decoration: none;
}

.share-btn:hover {
    background: var(--border, #e5e5e5);
    color: var(--text-main, #333);
}

.share-btn.facebook:hover { background: #1877f2; color: #fff; }
.share-btn.twitter:hover { background: #1da1f2; color: #fff; }
.share-btn.pinterest:hover { background: #e60023; color: #fff; }
.share-btn.email:hover { background: var(--accent, #00ff88); color: #000; }
.share-btn.copy:hover { background: var(--text-main, #333); color: #fff; }

.share-btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   FEATURE 33: FLASH DEALS COUNTDOWN
   ============================================ */

.flash-deals-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
}

.flash-deals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.flash-deals-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.flash-deals-title h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.flash-icon {
    font-size: 28px;
}

.countdown-timer {
    display: flex;
    gap: 8px;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    min-width: 50px;
}

.countdown-value {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.countdown-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    margin-top: 4px;
}

/* ============================================
   FEATURE 37: FREE SHIPPING PROGRESS BAR
   ============================================ */

.free-shipping-bar {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    position: relative;
    overflow: hidden;
}

.shipping-progress-text {
    font-size: 14px;
    color: var(--text-main, #333);
    margin-bottom: 10px;
    text-align: center;
}

.shipping-progress-text strong {
    color: #16a34a;
}

.shipping-remaining {
    font-size: 16px;
    color: #16a34a;
}

.shipping-progress-track {
    height: 8px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.shipping-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
}

.shipping-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

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

.shipping-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #16a34a;
    font-weight: 600;
    font-size: 15px;
}

.shipping-success-icon {
    font-size: 24px;
    animation: bounce 0.6s ease;
}

/* Celebration Animation */
.shipping-qualified {
    animation: celebrate 0.5s ease-out;
}

@keyframes celebrate {
    0% { transform: scale(0.9); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

/* Confetti burst on qualification */
.shipping-confetti {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: confetti-burst 0.8s ease-out forwards;
}

@keyframes confetti-burst {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(15); opacity: 0; }
}

/* Mini Cart Shipping Bar */
.mini-cart-shipping-bar {
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.mini-shipping-progress {
    text-align: center;
}

.mini-shipping-text {
    display: block;
    font-size: 12px;
    color: var(--text-main, #333);
    margin-bottom: 8px;
}

.mini-shipping-text strong {
    color: #16a34a;
    font-size: 13px;
}

.mini-shipping-track {
    height: 4px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.mini-shipping-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.mini-shipping-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #16a34a;
    font-weight: 600;
    font-size: 13px;
}

/* Dark mode */
[data-theme="dark"] .free-shipping-bar,
[data-theme="dark"] .mini-cart-shipping-bar {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.15) 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

[data-theme="dark"] .shipping-progress-text,
[data-theme="dark"] .mini-shipping-text {
    color: var(--text-main);
}

/* ============================================
   FEATURE 11: SINGLE PRODUCT WISHLIST BUTTON
   ============================================ */

.fabify-wishlist-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    margin-top: 10px;
    background: var(--bg-body, #f5f5f5);
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main, #333);
    cursor: pointer;
    transition: all 0.2s;
}

.fabify-wishlist-btn:hover {
    background: var(--bg-card, #fff);
    border-color: #ef4444;
    color: #ef4444;
}

.fabify-wishlist-btn.active {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.fabify-wishlist-btn.active svg {
    fill: #ef4444;
}

.fabify-wishlist-btn svg {
    transition: all 0.2s;
}

/* ============================================
   FEATURE 13: BECAUSE YOU VIEWED
   ============================================ */

.fabify-because-viewed {
    margin: 40px 0;
    padding: 40px 0;
    border-top: 1px solid var(--border, #e5e5e5);
}

.fabify-because-viewed .fabify-section-title {
    font-size: 20px;
    margin-bottom: 20px;
}

.because-viewed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

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

.because-viewed-card {
    background: var(--bg-card, #fff);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--border, #e5e5e5);
    transition: all 0.2s;
}

.because-viewed-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.bv-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-body, #f5f5f5);
}

.bv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.because-viewed-card:hover .bv-image img {
    transform: scale(1.05);
}

.bv-info {
    padding: 12px;
}

.bv-info h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main, #333);
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bv-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent, #00ff88);
}

/* ============================================
   FEATURE 25-26: SECURITY BADGES (FOOTER)
   ============================================ */

.security-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--border, #333);
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted, #999);
    font-size: 13px;
}

.security-badge svg {
    width: 24px;
    height: 24px;
}

.payment-icons {
    display: flex;
    gap: 12px;
}

.payment-icon {
    width: 40px;
    height: 25px;
    background: var(--bg-card, #fff);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #333;
}

/* ============================================
   FEATURE 27: MONEY-BACK GUARANTEE
   ============================================ */

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    margin: 16px 0;
}

.guarantee-badge-icon {
    width: 48px;
    height: 48px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.guarantee-badge-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: #16a34a;
    margin: 0 0 4px;
}

.guarantee-badge-text p {
    font-size: 12px;
    color: var(--text-muted, #666);
    margin: 0;
}

/* ============================================
   FEATURE 39: PHOTO REVIEWS
   ============================================ */

.review-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.review-photo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
}

.review-photo:hover {
    transform: scale(1.05);
}

.review-photo-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: var(--bg-body, #f5f5f5);
    border: 2px dashed var(--border, #e5e5e5);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.review-photo-upload:hover {
    border-color: var(--accent, #00ff88);
    background: rgba(0, 255, 136, 0.05);
}

.review-photo-upload input {
    display: none;
}

/* ============================================
   FEATURE 40: HELPFUL VOTE ON REVIEWS
   ============================================ */

.review-helpful {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border, #e5e5e5);
}

.review-helpful-label {
    font-size: 13px;
    color: var(--text-muted, #666);
}

.helpful-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--bg-body, #f5f5f5);
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-main, #333);
    cursor: pointer;
    transition: all 0.2s;
}

.helpful-btn:hover {
    border-color: var(--accent, #00ff88);
}

.helpful-btn.voted {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--accent, #00ff88);
    color: var(--accent, #00ff88);
}

.helpful-count {
    font-weight: 600;
}

/* ============================================
   FEATURE 45: MULTI-COLUMN FOOTER
   ============================================ */

.fabify-footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 0;
}

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

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-main, #fff);
    margin: 0 0 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-column a {
    color: var(--text-muted, #999);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--accent, #00ff88);
}

/* ============================================
   FEATURE 46: NEWSLETTER WITH PRIVACY
   ============================================ */

.newsletter-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border, #333);
    border-bottom: 1px solid var(--border, #333);
}

.newsletter-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

@media (max-width: 768px) {
    .newsletter-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

.newsletter-footer-text h3 {
    font-size: 20px;
    color: var(--text-main, #fff);
    margin: 0 0 8px;
}

.newsletter-footer-text p {
    font-size: 14px;
    color: var(--text-muted, #999);
    margin: 0;
}

.newsletter-footer-form {
    display: flex;
    gap: 12px;
}

.newsletter-footer-form input {
    padding: 12px 16px;
    background: var(--bg-card, #1a1a1a);
    border: 1px solid var(--border, #333);
    border-radius: 8px;
    color: var(--text-main, #fff);
    font-size: 14px;
    min-width: 260px;
}

.newsletter-footer-form button {
    padding: 12px 24px;
    background: var(--accent, #00ff88);
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.newsletter-footer-form button:hover {
    background: #00e67a;
}

.newsletter-privacy {
    font-size: 12px;
    color: var(--text-muted, #666);
    margin-top: 8px;
}

.newsletter-privacy svg {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 4px;
}

/* ============================================
   FEATURE 47: SOCIAL LINKS
   ============================================ */

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card, #1a1a1a);
    border-radius: 8px;
    color: var(--text-muted, #999);
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--accent, #00ff88);
    color: #000;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   QUICK VIEW MODAL
   ============================================ */

.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quick-view-modal.active {
    opacity: 1;
    visibility: visible;
}

.quick-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.quick-view-content {
    position: relative;
    background: var(--bg-card, #fff);
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.quick-view-modal.active .quick-view-content {
    transform: scale(1);
}

.quick-view-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--bg-body, #f5f5f5);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main, #333);
    transition: all 0.2s;
}

.quick-view-close:hover {
    background: var(--border, #e5e5e5);
}

.quick-view-loading {
    padding: 60px;
    text-align: center;
    color: var(--text-muted, #666);
}

.quick-view-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

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

.qv-image {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-body, #f5f5f5);
}

.qv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qv-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qv-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main, #121212);
    margin: 0;
}

.qv-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent, #00ff88);
}

.qv-description {
    font-size: 14px;
    color: var(--text-muted, #666);
    line-height: 1.6;
}

.qv-view-full {
    display: inline-block;
    padding: 12px 24px;
    background: var(--bg-body, #f5f5f5);
    color: var(--text-main, #333);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
}

.qv-view-full:hover {
    background: var(--border, #e5e5e5);
}

.qv-add-to-cart {
    display: inline-block;
    padding: 14px 24px;
    background: var(--accent, #00ff88);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

.qv-add-to-cart:hover {
    background: #00e67a;
}

.qv-error {
    padding: 40px;
    text-align: center;
    color: #ef4444;
}

/* ============================================
   FEATURE 33: FLASH DEALS SECTION
   ============================================ */

.flash-deals-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.flash-deals-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.flash-deals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.flash-deals-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flash-deals-title h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.flash-icon {
    font-size: 32px;
    animation: flash-pulse 1.5s infinite;
}

@keyframes flash-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.flash-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.countdown-timer {
    display: flex;
    gap: 10px;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 60px;
    backdrop-filter: blur(10px);
}

.countdown-value {
    font-size: 28px;
    font-weight: 800;
    color: #00ff88;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.flash-deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

@media (max-width: 600px) {
    .flash-deals-grid {
        grid-template-columns: 1fr;
    }
}

.flash-deal-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.flash-deal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 255, 136, 0.3);
}

.deal-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: #ff4757;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    z-index: 10;
}

.deal-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
}

.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.flash-deal-card:hover .deal-image img {
    transform: scale(1.1);
}

.deal-info {
    padding: 16px;
}

.deal-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: #121212;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.deal-prices {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.deal-sale-price {
    font-size: 20px;
    font-weight: 800;
    color: #ff4757;
}

.deal-regular-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.deal-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666;
}

.deal-rating .star-rating {
    font-size: 12px;
}

.flash-deals-cta {
    text-align: center;
    margin-top: 30px;
}

.btn-view-all-deals {
    display: inline-block;
    padding: 14px 32px;
    background: #00ff88;
    color: #000;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-view-all-deals:hover {
    background: #00e67a;
    transform: scale(1.05);
}

/* ============================================
   TRENDING PRODUCTS SECTION
   ============================================ */

.trending-section {
    padding: 60px 0;
    background: var(--bg-body, #f9f9f9);
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    font-size: 28px;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

@media (max-width: 600px) {
    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.trending-card {
    position: relative;
    background: var(--bg-card, #fff);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.trending-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.trending-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.trending-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-body, #f5f5f5);
    position: relative;
}

.trending-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.trending-info {
    padding: 14px;
}

.trending-info h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main, #121212);
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.trending-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent, #00ff88);
    margin-bottom: 6px;
}

.trending-sold {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(0, 255, 136, 0.1);
    color: #16a34a;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
}

/* ============================================
   CUSTOMER TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    padding: 60px 0;
    background: var(--bg-card, #fff);
}

.testimonials-trust {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-rating {
    font-size: 18px;
    font-weight: 700;
    color: #f59e0b;
}

.trust-count {
    font-size: 14px;
    color: var(--text-muted, #666);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

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

.testimonial-card {
    padding: 24px;
    background: var(--bg-body, #f9f9f9);
    border-radius: 16px;
    border: 1px solid var(--border, #e5e5e5);
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: var(--accent, #00ff88);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent, #00ff88), #00b359);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
}

.testimonial-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main, #121212);
}

.testimonial-card .verified-badge {
    font-size: 11px;
    color: #16a34a;
}

.testimonial-rating {
    margin-bottom: 12px;
}

.testimonial-rating .star {
    color: #ddd;
    font-size: 16px;
}

.testimonial-rating .star.filled {
    color: #f59e0b;
}

.testimonial-content {
    font-size: 14px;
    color: var(--text-main, #333);
    line-height: 1.6;
    margin: 0 0 12px;
    font-style: italic;
}

.testimonial-product {
    display: block;
    font-size: 12px;
    color: var(--accent, #00ff88);
    text-decoration: none;
    margin-bottom: 8px;
}

.testimonial-product:hover {
    text-decoration: underline;
}

.testimonial-date {
    font-size: 11px;
    color: var(--text-muted, #999);
}

/* ============================================
   FEATURE 35: FIRST-TIME BUYER POPUP
   ============================================ */

.ftb-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ftb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.ftb-modal {
    position: relative;
    background: #fff;
    border-radius: 24px;
    max-width: 420px;
    width: 100%;
    overflow: hidden;
    animation: ftb-slide-up 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes ftb-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ftb-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s;
    z-index: 10;
}

.ftb-close:hover {
    background: #e5e5e5;
    color: #000;
}

.ftb-content {
    padding: 50px 40px 40px;
    text-align: center;
}

.ftb-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #00ff88, #00b359);
    color: #000;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 20px;
}

.ftb-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: #121212;
    margin: 0 0 12px;
    line-height: 1.2;
}

.ftb-content > p {
    font-size: 15px;
    color: #666;
    margin: 0 0 24px;
    line-height: 1.5;
}

.ftb-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.ftb-form input {
    padding: 16px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.ftb-form input:focus {
    outline: none;
    border-color: #00ff88;
}

.ftb-form button {
    padding: 16px 20px;
    background: #121212;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.ftb-form button:hover {
    background: #00ff88;
    color: #000;
}

.ftb-privacy {
    font-size: 12px;
    color: #999;
    margin: 0 0 16px;
}

.ftb-skip {
    background: none;
    border: none;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}

.ftb-skip:hover {
    color: #666;
}

/* Success state */
.ftb-success {
    padding: 20px 0;
}

.ftb-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #00ff88;
    color: #000;
    font-size: 32px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

.ftb-success h2 {
    margin-bottom: 12px;
}

.ftb-success p {
    margin-bottom: 24px;
}

.ftb-success strong {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 8px;
    font-family: monospace;
    font-size: 18px;
    letter-spacing: 2px;
}

.ftb-shop-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #121212;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 16px;
    transition: all 0.2s;
}

.ftb-shop-btn:hover {
    background: #00ff88;
    color: #000;
}

/* ============================================
   FEATURE 41: LIVE CHAT WIDGET
   ============================================ */

.live-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent, #00ff88), #00b359);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.4);
    transition: all 0.3s;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 255, 136, 0.5);
}

.chat-toggle-btn svg {
    width: 28px;
    height: 28px;
    color: #000;
}

.chat-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.live-chat-widget:hover .chat-tooltip {
    opacity: 1;
    visibility: visible;
}

.chat-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #fff;
}

/* Online indicator */
.chat-online-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: online-pulse 2s infinite;
}

@keyframes online-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* Dark mode adjustments */
[data-theme="dark"] .flash-deal-card {
    background: var(--bg-card);
}

[data-theme="dark"] .deal-info h3 {
    color: var(--text-main);
}

[data-theme="dark"] .ftb-modal {
    background: var(--bg-card);
}

[data-theme="dark"] .ftb-content h2 {
    color: var(--text-main);
}

[data-theme="dark"] .ftb-form input {
    background: var(--bg-body);
    border-color: var(--border);
    color: var(--text-main);
}

/* ============================================
   FEATURE 15: IMAGE ZOOM ENHANCEMENTS
   ============================================ */

.fabify-main-image-wrapper {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    border-radius: 12px;
    background: var(--bg-body, #f5f5f5);
}

.fabify-main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.15s ease-out;
}

.fabify-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
    pointer-events: none;
}

.fabify-main-image-wrapper:hover .fabify-zoom-hint {
    opacity: 0;
}

/* ============================================
   FEATURE 17: VISUAL VARIANT SWATCHES
   ============================================ */

.swatch-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.swatch-item {
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: var(--bg-body, #f5f5f5);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main, #333);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swatch-item:hover {
    border-color: var(--border, #ddd);
}

.swatch-item.active {
    border-color: var(--accent, #00ff88);
    background: rgba(0, 255, 136, 0.1);
}

.swatch-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.swatch-item.swatch-color {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    border-radius: 50%;
}

.swatch-item.swatch-color.active {
    box-shadow: 0 0 0 3px var(--bg-card, #fff), 0 0 0 5px var(--accent, #00ff88);
}

.swatch-item.swatch-color[style*="white"],
.swatch-item.swatch-color[style*="#ffffff"],
.swatch-item.swatch-color[style*="#fff"] {
    border: 2px solid #ddd;
}

/* ============================================
   FEATURE 20: PRODUCT COMPARISON
   ============================================ */

.compare-toggle {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
}

.compare-toggle:hover {
    border-color: var(--accent, #00ff88);
}

.compare-toggle.active {
    background: var(--accent, #00ff88);
    border-color: var(--accent, #00ff88);
    color: #000;
}

.compare-toggle svg {
    width: 14px;
    height: 14px;
}

/* Comparison Bar */
#compare-bar {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card, #fff);
    padding: 16px 24px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 999;
    transition: bottom 0.3s ease;
}

#compare-bar.visible {
    bottom: 0;
}

.compare-thumbs {
    display: flex;
    gap: 8px;
}

.compare-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border, #e5e5e5);
}

.compare-info {
    font-size: 14px;
    color: var(--text-muted, #666);
}

.compare-info strong {
    color: var(--text-main, #333);
}

.compare-actions {
    display: flex;
    gap: 10px;
}

.compare-view-btn {
    padding: 10px 20px;
    background: var(--accent, #00ff88);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.compare-view-btn:hover {
    background: #00e67a;
}

.compare-clear-btn {
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-muted, #666);
}

/* ============================================
   FEATURE 22: CUSTOMER Q&A
   ============================================ */

.qa-section {
    max-width: 800px;
}

.qa-section h3 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--text-main, #121212);
}

.qa-ask-form {
    background: var(--bg-body, #f9f9f9);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.qa-ask-form h4 {
    font-size: 16px;
    margin: 0 0 16px;
    color: var(--text-main, #333);
}

.qa-ask-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 12px;
}

.qa-ask-form textarea:focus {
    outline: none;
    border-color: var(--accent, #00ff88);
}

.qa-form-row {
    display: flex;
    gap: 12px;
}

.qa-form-row input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 8px;
    font-size: 14px;
}

.qa-submit-btn {
    padding: 12px 24px;
    background: var(--accent, #00ff88);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.qa-submit-btn:hover {
    background: #00e67a;
}

#qa-message {
    margin-top: 12px;
    font-size: 14px;
}

.qa-success { color: #16a34a; }
.qa-error { color: #dc2626; }
.qa-loading { color: var(--text-muted, #666); }

/* Q&A List */
.qa-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.qa-item {
    padding: 20px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 12px;
}

.qa-question,
.qa-answer {
    display: flex;
    gap: 12px;
}

.qa-answer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border, #e5e5e5);
}

.qa-icon {
    width: 32px;
    height: 32px;
    background: var(--accent, #00ff88);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.qa-icon-answer {
    background: #3b82f6;
    color: #fff;
}

.qa-content {
    flex: 1;
}

.qa-content p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-main, #333);
}

.qa-date,
.qa-author {
    font-size: 12px;
    color: var(--text-muted, #999);
}

.qa-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-muted, #666);
}

/* ============================================
   FEATURE 39: PHOTO REVIEWS
   ============================================ */

.review-photo-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    background: var(--bg-body, #f5f5f5);
    border: 2px dashed var(--border, #e5e5e5);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 16px;
}

.review-photo-upload:hover,
.review-photo-upload.dragover {
    border-color: var(--accent, #00ff88);
    background: rgba(0, 255, 136, 0.05);
}

.review-photo-upload-icon {
    font-size: 32px;
    opacity: 0.5;
}

.review-photo-upload-text {
    font-size: 14px;
    color: var(--text-muted, #666);
}

.review-photo-upload-hint {
    font-size: 12px;
    color: var(--text-muted, #999);
}

#review-photo-preview {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.review-photo-preview-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--accent, #00ff88);
}

/* Review photos display */
.review-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.review-photo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
}

.review-photo:hover {
    transform: scale(1.05);
}

/* ============================================
   FEATURE 40: HELPFUL VOTES (ENHANCED)
   ============================================ */

.review-helpful {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border, #e5e5e5);
}

.review-helpful-label {
    font-size: 13px;
    color: var(--text-muted, #666);
}

.helpful-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-body, #f5f5f5);
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-main, #333);
    cursor: pointer;
    transition: all 0.2s;
}

.helpful-btn:hover {
    border-color: var(--accent, #00ff88);
}

.helpful-btn.voted {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--accent, #00ff88);
    color: #16a34a;
    cursor: default;
}

.helpful-btn svg {
    width: 16px;
    height: 16px;
}

.helpful-count {
    font-weight: 600;
}

/* ============================================
   FEATURE 34: LOYALTY POINTS DISPLAY
   ============================================ */

.loyalty-points-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.loyalty-points-badge svg {
    width: 14px;
    height: 14px;
}

.product-points-earn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    margin: 12px 0;
    font-size: 13px;
    color: var(--text-main, #333);
}

.product-points-earn strong {
    color: #d97706;
}

/* ============================================
   FEATURE 36: ACTIVE COUPONS DISPLAY
   ============================================ */

.coupon-suggestions {
    margin-top: 12px;
}

.coupon-suggestion-toggle {
    background: none;
    border: none;
    color: var(--accent, #00ff88);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.coupon-list {
    margin-top: 12px;
    padding: 16px;
    background: var(--bg-body, #f9f9f9);
    border-radius: 8px;
}

.coupon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border, #e5e5e5);
}

.coupon-item:last-child {
    border-bottom: none;
}

.coupon-code {
    font-family: monospace;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 10px;
    background: var(--bg-card, #fff);
    border: 1px dashed var(--accent, #00ff88);
    border-radius: 4px;
    color: var(--accent, #00ff88);
}

.coupon-desc {
    font-size: 13px;
    color: var(--text-muted, #666);
    flex: 1;
    margin-left: 12px;
}

.coupon-apply-btn {
    padding: 6px 12px;
    background: var(--accent, #00ff88);
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* ============================================
   STICKY ADD TO CART BAR
   ============================================ */

.fabify-sticky-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: var(--bg-card, #fff);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 998;
    transition: bottom 0.3s ease;
}

.fabify-sticky-bar.visible {
    bottom: 0;
}

.sticky-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sticky-product-info img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.sticky-product-text {
    display: flex;
    flex-direction: column;
}

.sticky-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main, #333);
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent, #00ff88);
}

.sticky-add-to-cart {
    padding: 12px 32px;
    background: var(--accent, #00ff88);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
}

.sticky-add-to-cart:hover {
    background: #00e67a;
}

@media (max-width: 600px) {
    .sticky-title {
        display: none;
    }

    .sticky-add-to-cart {
        padding: 10px 20px;
    }
}

/* ============================================
   LIGHTBOX
   ============================================ */

.fabify-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fabify-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   FEATURE 19: BUNDLE/QUANTITY DISCOUNTS
   ============================================ */

.fabify-quantity-discounts {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border, #e5e5e5);
}

.qty-discount-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #00ff88 0%, #00b359 100%);
    color: #000;
}

.qty-discount-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-discount-text {
    font-size: 14px;
    font-weight: 700;
}

.qty-discount-table {
    background: var(--bg-card, #fff);
}

.qty-table-header {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted, #666);
    border-bottom: 1px solid var(--border, #e5e5e5);
    background: var(--bg-body, #f9f9f9);
}

.qty-discount-table table {
    width: 100%;
    border-collapse: collapse;
}

.qty-discount-table th,
.qty-discount-table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--border, #e5e5e5);
}

.qty-discount-table th {
    font-weight: 600;
    color: var(--text-muted, #666);
    background: var(--bg-body, #f9f9f9);
}

.qty-discount-table tr:last-child td {
    border-bottom: none;
}

.qty-discount-table tr:hover td {
    background: rgba(0, 255, 136, 0.05);
}

.qty-discount-percent {
    color: #16a34a;
    font-weight: 700;
}

.qty-discount-price {
    color: var(--accent, #00ff88);
    font-weight: 700;
}

/* Active tier highlight */
.qty-discount-table tr.active-tier td {
    background: rgba(0, 255, 136, 0.15);
    position: relative;
}

.qty-discount-table tr.active-tier td:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent, #00ff88);
}

/* Dark mode */
[data-theme="dark"] .qty-discount-table {
    background: var(--bg-card);
}

[data-theme="dark"] .qty-table-header,
[data-theme="dark"] .qty-discount-table th {
    background: var(--bg-body);
}

/* ============================================
   FEATURE 29: ORDER TRACKING PROGRESS BAR
   ============================================ */

.fabify-order-tracking {
    margin: 30px 0;
    padding: 24px;
    background: var(--bg-card, #fff);
    border-radius: 16px;
    border: 1px solid var(--border, #e5e5e5);
}

.tracking-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main, #121212);
    margin: 0 0 20px;
}

.tracking-progress-bar {
    height: 6px;
    background: var(--border, #e5e5e5);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 30px;
}

.tracking-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00b359);
    border-radius: 3px;
    transition: width 0.6s ease;
    position: relative;
}

.tracking-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

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

.tracking-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.tracking-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.tracking-step::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: var(--border, #e5e5e5);
    z-index: 0;
}

.tracking-step:last-child::before {
    display: none;
}

.tracking-step.completed::before {
    background: var(--accent, #00ff88);
}

.step-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    background: var(--bg-body, #f5f5f5);
    border: 2px solid var(--border, #e5e5e5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #999);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.tracking-step.completed .step-icon {
    background: var(--accent, #00ff88);
    border-color: var(--accent, #00ff88);
    color: #000;
}

.tracking-step.active .step-icon {
    background: var(--accent, #00ff88);
    border-color: var(--accent, #00ff88);
    color: #000;
    animation: pulse-step 2s infinite;
}

@keyframes pulse-step {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
    }
}

.step-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted, #666);
    margin-bottom: 4px;
}

.tracking-step.completed .step-label,
.tracking-step.active .step-label {
    color: var(--text-main, #121212);
}

.step-date {
    font-size: 11px;
    color: var(--text-muted, #999);
}

/* Mobile responsive */
@media (max-width: 600px) {
    .tracking-steps {
        flex-direction: column;
        gap: 16px;
    }

    .tracking-step {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 16px;
    }

    .tracking-step::before {
        display: none;
    }

    .step-icon {
        margin: 0;
        flex-shrink: 0;
    }

    .tracking-step .step-info {
        flex: 1;
    }
}

/* Dark mode */
[data-theme="dark"] .fabify-order-tracking {
    background: var(--bg-card);
}

/* ============================================
   FEATURE 30: FULFILLMENT BADGES
   ============================================ */

.fabify-fulfillment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.fulfillment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.fulfillment-badge.ships-fabify {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.fulfillment-badge.free-shipping {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.fulfillment-badge.free-shipping-eligible {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.fulfillment-badge svg {
    flex-shrink: 0;
}

/* Archive page badges */
.product .fabify-fulfillment-badges {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    justify-content: center;
    margin: 0;
}

.product .fulfillment-badge {
    padding: 4px 8px;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.95);
}

/* ============================================
   FEATURE 31: EDITOR'S PICK BADGES
   ============================================ */

.editors-pick-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.editors-pick-staff_favorite {
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: #fff;
}

.editors-pick-best_value {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.editors-pick-top_rated {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
}

.editors-pick-bestseller {
    background: linear-gradient(135deg, #00ff88, #00b359);
    color: #000;
}

.editors-pick-badge svg {
    flex-shrink: 0;
}

/* Archive page badge positioning */
.product .editors-pick-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    margin: 0;
    z-index: 5;
}

/* ============================================
   FEATURE 32: AUTHENTICITY GUARANTEE BADGE
   ============================================ */

.fabify-authenticity-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    margin: 20px 0;
}

.authenticity-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.authenticity-text {
    flex: 1;
}

.authenticity-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 2px;
}

.authenticity-text span {
    font-size: 12px;
    color: var(--text-muted, #666);
}

.authenticity-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: #16a34a;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

.authenticity-link:hover {
    background: #15803d;
    color: #fff;
}

.authenticity-link svg {
    flex-shrink: 0;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .fabify-authenticity-badge {
        flex-wrap: wrap;
    }

    .authenticity-link {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
}

/* Dark mode */
[data-theme="dark"] .fabify-authenticity-badge {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.08) 100%);
}

/* ============================================
   FEATURE 9 ENHANCED: Recently Viewed Carousel
   ============================================ */

.recently-viewed-carousel {
    margin: 40px 0;
    padding: 40px 0;
    background: var(--bg-body, #f9f9f9);
    border-top: 1px solid var(--border, #e5e5e5);
}

.recently-viewed-carousel .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 20px;
}

.recently-viewed-carousel .section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main, #121212);
    margin: 0;
}

.recently-viewed-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 20px 20px;
    margin: 0 -20px;
}

.recently-viewed-scroll::-webkit-scrollbar {
    height: 6px;
}

.recently-viewed-scroll::-webkit-scrollbar-track {
    background: var(--border, #e5e5e5);
    border-radius: 3px;
}

.recently-viewed-scroll::-webkit-scrollbar-thumb {
    background: var(--accent, #00ff88);
    border-radius: 3px;
}

.recently-viewed-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
    background: var(--bg-card, #fff);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.recently-viewed-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.clear-recently-viewed {
    background: none;
    border: none;
    color: var(--text-muted, #666);
    font-size: 14px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.clear-recently-viewed:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* ============================================
   FEATURE 11 ENHANCED: Wishlist Page & Header
   ============================================ */

/* Header wishlist link */
.header-wishlist-link {
    position: relative;
}

.header-wishlist-link .wishlist-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Wishlist page */
.fabify-wishlist-page h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-main, #121212);
}

.wishlist-empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-body, #f9f9f9);
    border-radius: 16px;
}

.wishlist-empty-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.wishlist-empty h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-main, #121212);
    margin-bottom: 12px;
}

.wishlist-empty p {
    color: var(--text-muted, #666);
    margin-bottom: 24px;
}

.wishlist-empty .button {
    background: var(--accent, #00ff88);
    color: #000;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.wishlist-empty .button:hover {
    background: #00e67a;
    transform: translateY(-2px);
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.wishlist-item {
    position: relative;
    background: var(--bg-card, #fff);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border, #e5e5e5);
    transition: all 0.2s;
}

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

.wishlist-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
}

.wishlist-remove:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

.wishlist-item-link {
    text-decoration: none;
    display: block;
}

.wishlist-item-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-body, #f5f5f5);
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.wishlist-item:hover .wishlist-item-image img {
    transform: scale(1.05);
}

.wishlist-item-info {
    padding: 16px;
}

.wishlist-item-info h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main, #333);
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wishlist-item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent, #00ff88);
}

.wishlist-item-actions {
    padding: 0 16px 16px;
}

.wishlist-item-actions .add-to-cart-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: var(--accent, #00ff88);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.wishlist-item-actions .add-to-cart-btn:hover {
    background: #00e67a;
}

.wishlist-item-actions .out-of-stock-notice {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background: var(--bg-body, #f5f5f5);
    color: var(--text-muted, #666);
    border-radius: 8px;
    font-size: 14px;
}

/* ============================================
   FEATURE 12: Enhanced Account Dashboard
   ============================================ */

.fabify-dashboard-enhanced {
    max-width: 100%;
}

.dashboard-welcome {
    margin-bottom: 32px;
}

.dashboard-welcome h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main, #121212);
    margin: 0 0 8px;
}

.dashboard-welcome p {
    color: var(--text-muted, #666);
    margin: 0;
    font-size: 16px;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

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

@media (max-width: 500px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 12px;
    position: relative;
    transition: all 0.2s;
}

.dashboard-stat-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main, #121212);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted, #666);
    margin-top: 4px;
}

.stat-link {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
    color: var(--accent, #00ff88);
    text-decoration: none;
    font-weight: 500;
}

.stat-link:hover {
    text-decoration: underline;
}

/* Birthday Banner */
.dashboard-birthday-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    margin-bottom: 32px;
}

.birthday-icon {
    font-size: 40px;
}

.birthday-content strong {
    display: block;
    font-size: 16px;
    color: #92400e;
    margin-bottom: 4px;
}

.birthday-content p {
    margin: 0;
    color: #a16207;
    font-size: 14px;
}

.birthday-content code {
    background: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    color: #92400e;
}

/* Dashboard Sections */
.dashboard-section {
    margin-bottom: 32px;
}

.dashboard-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.dashboard-section .section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main, #121212);
    margin: 0;
}

.dashboard-section .section-header a {
    color: var(--accent, #00ff88);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.dashboard-section .section-header a:hover {
    text-decoration: underline;
}

/* Recent Orders */
.recent-orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-order-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 12px;
    transition: all 0.2s;
}

.recent-order-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.order-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-body, #f5f5f5);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-placeholder {
    font-size: 28px;
}

.order-details {
    flex: 1;
    min-width: 0;
}

.order-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.order-id {
    font-weight: 600;
    color: var(--text-main, #121212);
}

.order-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.status-completed {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.order-status.status-processing {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.order-status.status-on-hold {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
}

.order-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted, #666);
}

.order-total {
    font-weight: 600;
    color: var(--text-main, #333);
}

.order-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-view-order,
.btn-reorder {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-view-order {
    background: var(--bg-body, #f5f5f5);
    color: var(--text-main, #333);
    border: 1px solid var(--border, #e5e5e5);
}

.btn-view-order:hover {
    background: var(--border, #e5e5e5);
}

.btn-reorder {
    background: var(--accent, #00ff88);
    color: #000;
    border: none;
}

.btn-reorder:hover {
    background: #00e67a;
}

/* Recently Viewed Mini */
.recently-viewed-mini {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.rv-mini-card {
    flex: 0 0 100px;
    text-decoration: none;
    text-align: center;
}

.rv-mini-card img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 8px;
    border: 1px solid var(--border, #e5e5e5);
    transition: all 0.2s;
}

.rv-mini-card:hover img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rv-mini-title {
    font-size: 12px;
    color: var(--text-main, #333);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .recent-order-card {
        flex-wrap: wrap;
    }

    .order-image {
        width: 50px;
        height: 50px;
    }

    .order-actions {
        width: 100%;
        margin-top: 12px;
    }

    .btn-view-order,
    .btn-reorder {
        flex: 1;
        text-align: center;
    }

    .dashboard-birthday-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   FEATURE 14: Birthday Field Styles
   ============================================ */

#fabify_birthday {
    width: 100%;
    max-width: 300px;
    padding: 12px 16px;
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-main, #333);
    background: var(--bg-card, #fff);
}

#fabify_birthday:focus {
    outline: none;
    border-color: var(--accent, #00ff88);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.woocommerce-form-row .description {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted, #666);
}

.woocommerce-form-row .optional {
    font-weight: 400;
    color: var(--text-muted, #999);
}

/* Dark mode adjustments */
[data-theme="dark"] .dashboard-stat-card,
[data-theme="dark"] .recent-order-card,
[data-theme="dark"] .wishlist-item {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .dashboard-birthday-banner {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.1) 0%, rgba(253, 230, 138, 0.1) 100%);
}

[data-theme="dark"] .birthday-content strong,
[data-theme="dark"] .birthday-content p {
    color: #fcd34d;
}

[data-theme="dark"] .birthday-content code {
    background: rgba(0, 0, 0, 0.3);
    color: #fcd34d;
}

[data-theme="dark"] .wishlist-empty {
    background: var(--bg-body);
}

[data-theme="dark"] .recently-viewed-carousel {
    background: var(--bg-body);
}

/* ============================================
   FEATURE 3 ENHANCED: SEARCH AUTOCOMPLETE WITH PRODUCTS
   FEATURE 8: TRENDING SEARCHES ON EMPTY SEARCH
   ============================================ */

/* Search form wrapper */
.search-form-wrap {
    flex: 1;
    max-width: 100%;
}

/* Enhanced search autocomplete dropdown */
#search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--bg-card, #fff);
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.15);
    z-index: 1002;
    display: none;
    overflow: hidden;
    max-height: 70vh;
    overflow-y: auto;
}

#search-autocomplete.active {
    display: block;
    animation: searchDropdownFadeIn 0.2s ease;
}

@keyframes searchDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FEATURE 8: Trending searches section */
#search-trending {
    padding: 16px;
    border-bottom: 1px solid var(--border, #e5e5e5);
}

#search-trending .search-trending-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted, #666);
    margin-bottom: 12px;
}

#search-trending .search-trending-title svg {
    color: var(--accent, #00ff88);
}

#search-trending .search-trending-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#search-trending .search-trending-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: var(--bg-body, #f5f5f5);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-main, #333);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

#search-trending .search-trending-item:hover,
#search-trending .search-trending-item.search-item-highlighted {
    background: var(--accent, #00ff88);
    color: #000;
    border-color: var(--accent, #00ff88);
}

/* Search suggestions section */
#search-suggestions {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border, #e5e5e5);
}

.search-suggestions-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted, #666);
    margin-bottom: 10px;
}

.search-suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-main, #333);
    transition: background 0.15s;
}

.search-suggestion-item:hover,
.search-suggestion-item.search-item-highlighted {
    background: var(--bg-body, #f5f5f5);
}

.search-suggestion-item svg {
    color: var(--text-muted, #999);
    flex-shrink: 0;
}

.search-suggestion-item span:first-of-type {
    flex: 1;
    font-weight: 500;
}

.search-suggestion-type {
    font-size: 11px;
    color: var(--text-muted, #999);
    background: var(--bg-body, #f0f0f0);
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: capitalize;
}

/* Product results section */
#search-products {
    padding: 8px 0;
}

#search-products .search-product-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-main, #333);
    transition: background 0.15s;
    gap: 12px;
}

#search-products .search-product-item:hover,
#search-products .search-product-item.search-item-highlighted {
    background: var(--bg-body, #f5f5f5);
}

#search-products .search-product-image {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--bg-body, #f5f5f5);
    flex-shrink: 0;
}

#search-products .search-product-info {
    flex: 1;
    min-width: 0;
}

#search-products .search-product-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

#search-products .search-product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent, #00ff88);
}

#search-products .search-product-rating {
    display: flex;
    align-items: center;
    margin-top: 2px;
}

#search-products .search-product-rating .star {
    font-size: 11px;
    color: #fbbf24;
}

#search-products .search-product-rating .star-empty {
    color: var(--text-muted, #ccc);
}

#search-products .search-product-rating .star-half {
    background: linear-gradient(90deg, #fbbf24 50%, var(--text-muted, #ccc) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* View all results link */
#search-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    text-align: center;
    background: var(--bg-body, #f5f5f5);
    color: var(--text-main, #333);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
    border-top: 1px solid var(--border, #e5e5e5);
}

#search-view-all:hover {
    background: var(--accent, #00ff88);
    color: #000;
}

#search-view-all svg {
    transition: transform 0.2s;
}

#search-view-all:hover svg {
    transform: translateX(3px);
}

/* Loading and no results states */
#search-products .search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    color: var(--text-muted, #666);
}

.search-loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border, #e5e5e5);
    border-top-color: var(--accent, #00ff88);
    border-radius: 50%;
    animation: searchSpinner 0.8s linear infinite;
}

@keyframes searchSpinner {
    to {
        transform: rotate(360deg);
    }
}

#search-products .search-no-results {
    padding: 30px;
    text-align: center;
    color: var(--text-muted, #666);
    font-size: 14px;
}

/* Dark mode for search */
[data-theme="dark"] #search-autocomplete {
    background: var(--bg-card, #1a1a1a);
    border: 1px solid var(--border, #333);
}

[data-theme="dark"] #search-trending .search-trending-item {
    background: rgba(255,255,255,0.1);
    color: var(--text-main, #fff);
}

[data-theme="dark"] #search-trending .search-trending-item:hover {
    background: var(--accent, #00ff88);
    color: #000;
}

[data-theme="dark"] .search-suggestion-type {
    background: rgba(255,255,255,0.1);
}

/* Mobile search autocomplete */
@media (max-width: 768px) {
    #search-autocomplete {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        border-radius: 16px 16px 0 0;
        max-height: 75vh;
    }

    #search-trending .search-trending-list {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    #search-trending .search-trending-item {
        flex-shrink: 0;
    }
}

/* ============================================
   FEATURE 5 ENHANCED: MINI CART PREVIEW
   Shows last 3 items with AJAX updates
   ============================================ */

/* More items indicator */
.mini-cart-more-items {
    padding: 10px 16px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted, #666);
    background: var(--bg-body, #f9f9f9);
    border-top: 1px solid var(--border, #e5e5e5);
}

/* Enhanced remove button */
.mini-cart-item-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: var(--text-muted, #999);
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
}

.mini-cart-item-remove:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.mini-cart-item-remove.loading {
    pointer-events: none;
}

.mini-cart-item-remove .spinner {
    width: 14px;
    height: 14px;
    border: 2px solid var(--border, #e5e5e5);
    border-top-color: var(--accent, #00ff88);
    border-radius: 50%;
    animation: searchSpinner 0.8s linear infinite;
}

/* Improved mini cart item layout */
.mini-cart-item {
    display: flex;
    padding: 12px 16px;
    gap: 12px;
    align-items: flex-start;
    border-bottom: 1px solid var(--border, #f0f0f0);
}

.mini-cart-item:last-child {
    border-bottom: none;
}

.mini-cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-body, #f5f5f5);
    flex-shrink: 0;
}

.mini-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-cart-item-details {
    flex: 1;
    min-width: 0;
}

.mini-cart-item-title {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text-main, #333);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.mini-cart-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.mini-cart-item-qty {
    font-size: 12px;
    color: var(--text-muted, #666);
}

.mini-cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent, #00ff88);
}

/* Mini cart active animation */
.mini-cart-wrapper.active .mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mini cart add animation */
@keyframes miniCartPop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.cart-badge.updated {
    animation: miniCartPop 0.3s ease;
}

/* Dark mode mini cart enhancements */
[data-theme="dark"] .mini-cart-more-items {
    background: rgba(255,255,255,0.05);
}

[data-theme="dark"] .mini-cart-item {
    border-bottom-color: var(--border, #333);
}

[data-theme="dark"] .mini-cart-item-remove:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* ============================================
   FEATURE 47: ENHANCED SOCIAL LINKS IN FOOTER
   ============================================ */

.footer-social-col {
    min-width: 200px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-social-link {
    position: relative;
    width: 44px;
    height: 44px;
    background: var(--dark, #121212);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.footer-social-link:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Platform-specific hover colors */
.footer-social-link.social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-social-link.social-facebook:hover {
    background: #1877f2;
}

.footer-social-link.social-twitter:hover {
    background: #1da1f2;
}

.footer-social-link.social-tiktok:hover {
    background: linear-gradient(45deg, #00f2ea, #ff0050);
}

.footer-social-link.social-youtube:hover {
    background: #ff0000;
}

.footer-social-link.social-pinterest:hover {
    background: #e60023;
}

/* Follower count tooltip */
.social-follower-count {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--dark, #121212);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10;
}

.social-follower-count::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid var(--dark, #121212);
}

.footer-social-link:hover .social-follower-count {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Social CTA text */
.footer-social-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.social-cta-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.social-cta-icon svg {
    width: 16px;
    height: 16px;
    color: var(--accent, #00ff88);
}

/* Mobile adjustments for footer social */
@media (max-width: 768px) {
    .footer-social-links {
        justify-content: center;
    }

    .footer-social-cta {
        justify-content: center;
        text-align: center;
    }
}

/* ============================================
   FEATURE 48: FAQ / HELP CENTER PAGE
   ============================================ */

.faq-page {
    padding: 60px 0 100px;
    background: var(--bg-body, #f9f9f9);
    min-height: 80vh;
}

/* FAQ Header */
.faq-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.faq-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main, #121212);
}

.faq-subtitle {
    font-size: 18px;
    color: var(--text-muted, #666);
    margin-bottom: 30px;
}

/* FAQ Search */
.faq-search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.faq-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-card, #fff);
    border: 2px solid var(--border, #e5e5e5);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-search-box:focus-within {
    border-color: var(--accent, #00ff88);
    box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.1);
}

.faq-search-icon {
    position: absolute;
    left: 16px;
    width: 22px;
    height: 22px;
    color: var(--text-muted, #666);
    pointer-events: none;
}

.faq-search-input {
    flex: 1;
    padding: 18px 50px 18px 50px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: var(--text-main, #121212);
    outline: none;
}

.faq-search-input::placeholder {
    color: var(--text-muted, #999);
}

.faq-search-clear {
    position: absolute;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body, #f5f5f5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-muted, #666);
    transition: all 0.2s;
}

.faq-search-clear:hover {
    background: var(--text-muted, #666);
    color: #fff;
}

.faq-search-clear svg {
    width: 16px;
    height: 16px;
}

/* Search Results Dropdown */
.faq-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--bg-card, #fff);
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
}

.faq-search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    color: var(--text-muted, #666);
}

.faq-search-count {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-muted, #666);
    border-bottom: 1px solid var(--border, #e5e5e5);
}

.faq-search-result-item {
    padding: 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border, #e5e5e5);
    transition: background 0.15s;
}

.faq-search-result-item:hover {
    background: var(--bg-body, #f5f5f5);
}

.faq-search-result-item:last-child {
    border-bottom: none;
}

.faq-result-category {
    display: inline-block;
    padding: 3px 8px;
    background: var(--accent, #00ff88);
    color: #000;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.faq-result-question {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main, #121212);
    margin: 0 0 6px 0;
}

.faq-result-question mark {
    background: rgba(0, 255, 136, 0.3);
    color: inherit;
    padding: 1px 2px;
    border-radius: 2px;
}

.faq-result-excerpt {
    font-size: 13px;
    color: var(--text-muted, #666);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faq-search-no-results {
    padding: 40px 20px;
    text-align: center;
}

.faq-search-no-results svg {
    width: 48px;
    height: 48px;
    color: var(--text-muted, #999);
    margin-bottom: 16px;
}

.faq-search-no-results p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main, #333);
    margin: 0 0 8px 0;
}

.faq-search-no-results span {
    font-size: 14px;
    color: var(--text-muted, #666);
}

.faq-search-no-results a {
    color: var(--accent, #00ff88);
    text-decoration: none;
}

/* Category Pills */
.faq-categories-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 50px;
}

.faq-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main, #333);
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-category-pill:hover {
    border-color: var(--accent, #00ff88);
    background: rgba(0, 255, 136, 0.05);
}

.faq-category-pill.active {
    background: var(--accent, #00ff88);
    border-color: var(--accent, #00ff88);
    color: #000;
}

.pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.faq-category-pill.active .pill-count {
    background: rgba(0, 0, 0, 0.2);
}

/* FAQ Category Sections */
.faq-category-section {
    margin-bottom: 50px;
}

.faq-category-header {
    margin-bottom: 24px;
}

.faq-category-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main, #121212);
    margin: 0 0 8px 0;
}

.faq-category-desc {
    font-size: 14px;
    color: var(--text-muted, #666);
    margin: 0;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card, #fff);
    border-radius: 12px;
    border: 1px solid var(--border, #e5e5e5);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--text-muted, #ccc);
}

.faq-item.open {
    border-color: var(--accent, #00ff88);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-item.highlight {
    animation: faqHighlight 2s ease;
}

@keyframes faqHighlight {
    0%, 100% { background: var(--bg-card, #fff); }
    50% { background: rgba(0, 255, 136, 0.1); }
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}

.faq-question:hover {
    background: var(--bg-body, #f9f9f9);
}

.faq-question-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main, #121212);
    padding-right: 16px;
}

.faq-toggle-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body, #f5f5f5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.faq-toggle-icon svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted, #666);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle-icon {
    background: var(--accent, #00ff88);
}

.faq-item.open .faq-toggle-icon svg {
    transform: rotate(180deg);
    color: #000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 24px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted, #555);
}

.faq-answer-content p {
    margin: 0 0 12px 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* Helpful Vote */
.faq-helpful {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-body, #f9f9f9);
    border-top: 1px solid var(--border, #e5e5e5);
    font-size: 13px;
    color: var(--text-muted, #666);
}

.faq-helpful-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-main, #333);
    cursor: pointer;
    transition: all 0.2s;
}

.faq-helpful-btn svg {
    width: 16px;
    height: 16px;
}

.faq-helpful-btn:hover {
    border-color: var(--accent, #00ff88);
    background: rgba(0, 255, 136, 0.05);
}

.faq-helpful.voted .faq-helpful-btn {
    display: none;
}

.faq-thanks {
    color: var(--accent, #00ff88);
    font-weight: 500;
}

.faq-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted, #666);
    font-style: italic;
}

/* Contact CTA */
.faq-contact-cta {
    margin-top: 60px;
}

.faq-contact-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px 40px;
    background: linear-gradient(135deg, var(--dark, #121212) 0%, #1a1a1a 100%);
    border-radius: 16px;
    color: #fff;
}

.faq-contact-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.faq-contact-icon svg {
    width: 30px;
    height: 30px;
}

.faq-contact-text {
    flex: 1;
}

.faq-contact-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.faq-contact-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.faq-contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: var(--accent, #00ff88);
    color: #000;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.faq-contact-btn:hover {
    background: #00e67a;
    transform: translateY(-2px);
}

/* FAQ Mobile responsive */
@media (max-width: 768px) {
    .faq-page {
        padding: 40px 0 60px;
    }

    .faq-title {
        font-size: 32px;
    }

    .faq-subtitle {
        font-size: 16px;
    }

    .faq-search-input {
        padding: 14px 45px;
        font-size: 15px;
    }

    .faq-categories-nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        margin-bottom: 30px;
        -webkit-overflow-scrolling: touch;
    }

    .faq-category-pill {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 13px;
    }

    .faq-category-title {
        font-size: 20px;
    }

    .faq-question {
        padding: 16px;
    }

    .faq-question-text {
        font-size: 15px;
    }

    .faq-answer-content {
        padding: 0 16px 16px;
        font-size: 14px;
    }

    .faq-helpful {
        flex-wrap: wrap;
        padding: 12px 16px;
    }

    .faq-contact-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .faq-contact-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   FEATURE 49: CONTACT PAGE
   ============================================ */

.contact-page {
    padding: 60px 0 100px;
    background: var(--bg-body, #f9f9f9);
}

/* Contact Header */
.contact-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.contact-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main, #121212);
}

.contact-subtitle {
    font-size: 18px;
    color: var(--text-muted, #666);
}

/* Contact Options Grid */
.contact-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 50px;
}

.contact-option-card {
    position: relative;
    background: var(--bg-card, #fff);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border, #e5e5e5);
    transition: all 0.3s ease;
}

.contact-option-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.contact-option-featured {
    border-color: var(--accent, #00ff88);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.15);
}

.contact-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    background: var(--accent, #00ff88);
    color: #000;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-option-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body, #f5f5f5);
    border-radius: 50%;
}

.contact-option-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-main, #333);
}

.contact-icon-email svg { color: #ef4444; }
.contact-icon-chat svg { color: var(--accent, #00ff88); }
.contact-icon-phone svg { color: #3b82f6; }

.chat-online-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border-radius: 50%;
    border: 3px solid var(--bg-card, #fff);
    animation: contactPulse 2s infinite;
}

@keyframes contactPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.contact-option-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--text-main, #121212);
}

.contact-option-desc {
    font-size: 14px;
    color: var(--text-muted, #666);
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.contact-option-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--bg-body, #f5f5f5);
    color: var(--text-main, #333);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.contact-option-btn:hover {
    background: var(--dark, #121212);
    color: #fff;
}

.contact-btn-primary {
    background: var(--accent, #00ff88);
    color: #000;
}

.contact-btn-primary:hover {
    background: #00e67a;
    color: #000;
}

/* Response Time Banner */
.contact-response-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto 50px;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08) 0%, rgba(0, 255, 136, 0.03) 100%);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
}

.response-banner-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent, #00ff88);
    border-radius: 50%;
}

.response-banner-icon svg {
    width: 24px;
    height: 24px;
    color: #000;
}

.response-banner-text strong {
    display: block;
    font-size: 15px;
    color: var(--text-main, #121212);
    margin-bottom: 4px;
}

.response-banner-text span {
    font-size: 13px;
    color: var(--text-muted, #666);
}

/* Contact Form Section */
.contact-form-section {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: var(--bg-card, #fff);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border, #e5e5e5);
}

.contact-form-header {
    margin-bottom: 30px;
}

.contact-form-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-main, #121212);
}

.contact-form-header p {
    font-size: 14px;
    color: var(--text-muted, #666);
    margin: 0;
}

/* Form Styles */
.contact-form .form-row {
    margin-bottom: 20px;
}

.contact-form .form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main, #333);
    margin-bottom: 8px;
}

.contact-form label .required {
    color: #ef4444;
}

.contact-form label .optional {
    color: var(--text-muted, #999);
    font-weight: 400;
    font-size: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px 16px;
    background: var(--bg-body, #f9f9f9);
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-main, #333);
    transition: all 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent, #00ff88);
    background: var(--bg-card, #fff);
    box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted, #999);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form select {
    cursor: pointer;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 32px;
    background: var(--accent, #00ff88);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.contact-submit-btn:hover:not(:disabled) {
    background: #00e67a;
    transform: translateY(-2px);
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Form Message */
.form-message {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
}

.form-message svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #15803d;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--bg-card, #fff);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border, #e5e5e5);
}

.contact-info-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--text-main, #121212);
}

/* Business Hours */
.business-hours {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.hours-days {
    color: var(--text-main, #333);
    font-weight: 500;
}

.hours-time {
    color: var(--text-muted, #666);
}

.current-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-body, #f5f5f5);
    border-radius: 8px;
    font-size: 13px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.status-open {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.status-indicator.status-closed {
    background: #ef4444;
}

.status-text {
    color: var(--text-main, #333);
    font-weight: 500;
}

/* Quick Links */
.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    border-bottom: 1px solid var(--border, #e5e5e5);
}

.quick-links li:last-child {
    border-bottom: none;
}

.quick-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: var(--text-main, #333);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.quick-links a:hover {
    color: var(--accent, #00ff88);
}

.quick-links svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted, #999);
    flex-shrink: 0;
}

/* Social Card */
.contact-social-card p {
    font-size: 13px;
    color: var(--text-muted, #666);
    margin: 0 0 16px 0;
}

.contact-social-links {
    display: flex;
    gap: 12px;
}

.contact-social-links .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body, #f5f5f5);
    border-radius: 50%;
    color: var(--text-main, #333);
    text-decoration: none;
    transition: all 0.2s;
}

.contact-social-links .social-link svg {
    width: 18px;
    height: 18px;
}

.contact-social-links .social-link:hover {
    transform: translateY(-3px);
}

.contact-social-links .social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #dc2743);
    color: #fff;
}

.contact-social-links .social-facebook:hover {
    background: #1877f2;
    color: #fff;
}

.contact-social-links .social-twitter:hover {
    background: #1da1f2;
    color: #fff;
}

/* Contact Page Mobile Responsive */
@media (max-width: 900px) {
    .contact-form-section {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-info-card {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 40px 0 60px;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-options-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .contact-form .form-row-half {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        flex-direction: column;
    }

    .contact-info-card {
        min-width: auto;
    }

    .contact-response-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   FEATURE 50: MOBILE APP BANNER
   ============================================ */

.fabify-app-banner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, var(--dark, #121212) 0%, #1a1a1a 100%);
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.app-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-banner-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.app-banner-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent, #00ff88);
}

.app-banner-text {
    flex: 1;
    min-width: 0;
}

.app-banner-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.app-banner-text span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.app-banner-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    background: var(--accent, #00ff88);
    color: #000;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.app-banner-btn:hover {
    background: #00e67a;
}

.app-banner-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.app-banner-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.app-banner-close svg {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* Show only on mobile devices */
@media (max-width: 768px) {
    .fabify-app-banner {
        display: flex;
    }

    body.app-banner-visible {
        padding-top: 70px;
    }
}

/* Banner dismissed state */
.fabify-app-banner.dismissed {
    display: none !important;
}

/* ============================================
   SOCIAL PROOF STATS BAR
   ============================================ */

.social-proof-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 30px 0;
    margin-bottom: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent, #00ff88);
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 26px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}

/* ============================================
   WHY SHOP WITH US SECTION
   ============================================ */

.why-shop-section {
    padding: 80px 0;
    background: var(--bg-body, #f9f9f9);
}

.section-title-center {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-main, #121212);
}

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

.benefit-card {
    background: var(--card-bg, #ffffff);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main, #121212);
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-muted, #666);
    line-height: 1.6;
    margin: 0;
}

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

@media (max-width: 600px) {
    .why-shop-section {
        padding: 50px 0;
    }
    
    .section-title-center {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-card {
        padding: 25px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        text-align: left;
    }
    
    .benefit-icon {
        font-size: 36px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .benefit-card h3 {
        margin-bottom: 5px;
    }
}

/* ============================================
   INSTAGRAM SECTION (Feature 43)
   ============================================ */

.instagram-section {
    padding: 70px 0;
    background: var(--bg-body, #f9f9f9);
}

.instagram-follow {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent, #00ff88);
    text-decoration: none;
    transition: opacity 0.2s;
}

.instagram-follow:hover {
    opacity: 0.8;
}

.instagram-tagline {
    text-align: center;
    color: var(--text-muted, #666);
    margin-bottom: 30px;
    font-size: 15px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.instagram-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.instagram-placeholder:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.insta-icon {
    font-size: 32px;
}

.instagram-placeholder span:last-child {
    font-size: 12px;
    color: var(--text-muted, #888);
    font-weight: 500;
}

.instagram-cta {
    text-align: center;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(131, 58, 180, 0.3);
    color: #fff;
}

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

@media (max-width: 600px) {
    .instagram-section {
        padding: 50px 0;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .insta-icon {
        font-size: 26px;
    }
}

/* ============================================
   FLASH DEALS FEATURED BADGE
   ============================================ */

.deal-badge.featured-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
}

/* ============================================
   TESTIMONIALS SECTION ENHANCEMENT
   ============================================ */

.testimonials-section {
    padding: 70px 0;
    background: var(--card-bg, #ffffff);
}

.testimonials-trust {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-rating {
    font-size: 18px;
    font-weight: 700;
    color: #fbbf24;
}

.trust-count {
    font-size: 14px;
    color: var(--text-muted, #666);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-body, #f9f9f9);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent, #00ff88) 0%, #00cc6a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
    font-size: 16px;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-author {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main, #121212);
}

.verified-badge {
    font-size: 11px;
    color: var(--accent, #00ff88);
    font-weight: 500;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
}

.testimonial-rating .star {
    color: #ddd;
    font-size: 14px;
}

.testimonial-rating .star.filled {
    color: #fbbf24;
}

.testimonial-content {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-main, #333);
    flex-grow: 1;
    margin: 0;
}

.testimonial-product {
    font-size: 12px;
    color: var(--text-muted, #888);
    text-decoration: none;
    transition: color 0.2s;
}

.testimonial-product:hover {
    color: var(--accent, #00ff88);
}

.testimonial-date {
    font-size: 11px;
    color: var(--text-muted, #999);
}

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

@media (max-width: 600px) {
    .testimonials-section {
        padding: 50px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonials-trust {
        flex-wrap: wrap;
    }
}

/* ============================================
   FEATURE: QUICK ADD TO CART ON PRODUCT CARDS
   ============================================ */

.quick-add-to-cart {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--accent, #00ff88);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 15;
    text-decoration: none;
}

.quick-add-to-cart svg {
    flex-shrink: 0;
}

/* Show on hover (desktop) */
.card-image-wrap:hover .quick-add-to-cart,
.product-card-premium:hover .quick-add-to-cart {
    opacity: 1;
    transform: translateY(0);
}

/* Always visible on mobile */
@media (max-width: 768px) {
    .quick-add-to-cart {
        opacity: 1;
        transform: translateY(0);
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin: 12px;
        margin-top: 0;
    }
}

.quick-add-to-cart:hover {
    background: #00e67a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.4);
}

.quick-add-to-cart:active {
    transform: translateY(0);
}

/* Select Options variant */
.quick-add-to-cart.quick-add-options {
    background: var(--bg-card, #fff);
    color: var(--text-main, #121212);
    border: 2px solid var(--border, #e5e5e5);
}

.quick-add-to-cart.quick-add-options:hover {
    border-color: var(--accent, #00ff88);
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Out of stock variant */
.quick-add-to-cart.quick-add-disabled {
    background: var(--bg-body, #f5f5f5);
    color: var(--text-muted, #999);
    cursor: not-allowed;
    pointer-events: none;
}

/* Loading state */
.quick-add-to-cart.loading {
    pointer-events: none;
    background: var(--bg-body, #f5f5f5);
}

.quick-add-to-cart.loading span {
    visibility: hidden;
}

.quick-add-to-cart.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: var(--accent, #00ff88);
    border-radius: 50%;
    animation: quick-add-spin 0.6s linear infinite;
}

@keyframes quick-add-spin {
    to { transform: rotate(360deg); }
}

/* Success state */
.quick-add-to-cart.success {
    background: #22c55e;
    color: #fff;
}

.quick-add-to-cart.success svg {
    display: none;
}

.quick-add-to-cart.success::before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Quick Add Toast Notification */
.quick-add-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card, #fff);
    color: var(--text-main, #121212);
    padding: 14px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10001;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 90%;
}

.quick-add-toast.visible {
    transform: translateX(-50%) translateY(0);
}

.quick-add-toast-icon {
    width: 24px;
    height: 24px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-add-toast-icon svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
}

.quick-add-toast-content {
    flex: 1;
}

.quick-add-toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.quick-add-toast-subtitle {
    font-size: 12px;
    color: var(--text-muted, #666);
}

.quick-add-toast-action {
    padding: 8px 16px;
    background: var(--accent, #00ff88);
    color: #000;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.quick-add-toast-action:hover {
    background: #00e67a;
}

/* Dark mode */
[data-theme="dark"] .quick-add-to-cart {
    background: var(--accent, #00ff88);
    color: #000;
}

[data-theme="dark"] .quick-add-to-cart.quick-add-options {
    background: var(--bg-card);
    color: var(--text-main);
    border-color: var(--border);
}

[data-theme="dark"] .quick-add-toast {
    background: var(--bg-card);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* ============================================
   FEATURE: CATEGORY DROPDOWN IN SEARCH BAR
   ============================================ */

.search-category-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 12px;
}

.search-category-dropdown select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: none;
    padding: 8px 24px 8px 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main, #333);
    cursor: pointer;
    min-width: 70px;
    max-width: 120px;
    outline: none;
}

.search-category-dropdown select:focus {
    outline: none;
}

.search-category-dropdown .dropdown-arrow {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted, #666);
}

.search-divider {
    width: 1px;
    height: 24px;
    background: var(--border, #e5e5e5);
    margin: 0 4px;
}

/* Adjust search pill layout */
.search-pill {
    display: flex;
    align-items: center;
}

.search-pill #header-search {
    flex: 1;
    min-width: 0;
}

/* Mobile: hide dropdown text, show icon */
@media (max-width: 768px) {
    .search-category-dropdown {
        padding-left: 8px;
    }

    .search-category-dropdown select {
        min-width: 50px;
        max-width: 80px;
        padding-right: 20px;
        font-size: 12px;
    }

    .search-divider {
        height: 20px;
    }
}

@media (max-width: 480px) {
    .search-category-dropdown {
        display: none;
    }

    .search-divider {
        display: none;
    }
}

/* Dark mode */
[data-theme="dark"] .search-category-dropdown select {
    color: var(--text-main);
}

[data-theme="dark"] .search-divider {
    background: var(--border);
}

/* ============================================
   FEATURE: VOICE SEARCH
   ============================================ */

.voice-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-muted, #666);
    transition: all 0.2s ease;
    margin-right: 4px;
    flex-shrink: 0;
}

.voice-search-btn:hover {
    background: var(--bg-body, #f5f5f5);
    color: var(--text-main, #333);
}

/* Listening state */
.voice-search-btn.listening {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    animation: voice-pulse 1.5s ease-in-out infinite;
}

.voice-search-btn.listening .mic-icon {
    display: none;
}

.voice-search-btn.listening .mic-listening-icon {
    display: block !important;
}

@keyframes voice-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(239, 68, 68, 0);
    }
}

/* Error state */
.voice-search-btn.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Not supported state */
.voice-search-btn.not-supported {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Voice Search Modal for mobile */
.voice-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10002;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.voice-search-modal.active {
    opacity: 1;
    visibility: visible;
}

.voice-search-modal-content {
    text-align: center;
    color: #fff;
}

.voice-search-visual {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: voice-modal-pulse 1.5s ease-in-out infinite;
}

@keyframes voice-modal-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 30px rgba(239, 68, 68, 0);
    }
}

.voice-search-visual svg {
    width: 48px;
    height: 48px;
    fill: #fff;
}

.voice-search-status {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.voice-search-hint {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 24px;
}

.voice-search-transcript {
    font-size: 24px;
    font-weight: 700;
    min-height: 36px;
    margin-bottom: 24px;
}

.voice-search-cancel {
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.voice-search-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hide voice search on browsers that don't support it (handled by JS) */
.voice-search-btn[hidden] {
    display: none;
}

/* Dark mode */
[data-theme="dark"] .voice-search-btn:hover {
    background: var(--bg-body);
    color: var(--text-main);
}

/* ============================================
   FEATURE: HERO IMAGE CAROUSEL/SLIDER
   ============================================ */

.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--dark, #121212);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 480px;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.carousel-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.carousel-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 60px 0;
    gap: 40px;
}

.carousel-text {
    flex: 1;
    max-width: 550px;
    color: #fff;
}

.carousel-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent, #00ff88);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.carousel-headline {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 16px 0;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-subtext {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 24px 0;
    opacity: 0.9;
    max-width: 450px;
}

.carousel-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--accent, #00ff88);
    color: #000;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.carousel-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.4);
}

.carousel-featured-image {
    flex: 0 0 auto;
    max-width: 400px;
}

.carousel-featured-image img {
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Dot Indicators */
.carousel-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.active {
    background: var(--accent, #00ff88);
    border-color: #fff;
    transform: scale(1.2);
}

/* Carousel Mobile Responsive */
@media (max-width: 992px) {
    .carousel-container {
        height: 420px;
    }

    .carousel-featured-image {
        display: none;
    }

    .carousel-text {
        max-width: 100%;
        text-align: center;
    }

    .carousel-slide-content {
        justify-content: center;
    }

    .carousel-subtext {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        height: 380px;
    }

    .carousel-headline {
        font-size: 28px;
    }

    .carousel-subtext {
        font-size: 15px;
    }

    .carousel-cta {
        padding: 14px 24px;
        font-size: 14px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-dots {
        bottom: 16px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 340px;
    }

    .carousel-slide-content {
        padding: 40px 0;
    }

    .carousel-headline {
        font-size: 24px;
    }

    .carousel-subtext {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .carousel-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* Carousel Pause on Hover indicator */
.hero-carousel:hover .carousel-dot.active {
    animation: none;
}

/* Progress indicator on active dot */
.carousel-dot.active::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: carousel-progress 5s linear infinite;
}

@keyframes carousel-progress {
    from {
        clip-path: polygon(50% 50%, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
    }
    12.5% {
        clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%);
    }
    25% {
        clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 50%, 100% 50%, 100% 50%);
    }
    37.5% {
        clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%);
    }
    50% {
        clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 50% 100%);
    }
    62.5% {
        clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 100%);
    }
    75% {
        clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 50%);
    }
    87.5% {
        clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%);
    }
    to {
        clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 50% 0%);
    }
}

/* ============================================
   FEATURE: ZIP CODE DELIVERY ESTIMATOR
   ============================================ */

.zip-delivery-selector {
    position: relative;
}

.zip-delivery-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    transition: background 0.2s;
}

.zip-delivery-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.zip-delivery-toggle svg {
    flex-shrink: 0;
}

.zip-delivery-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.zip-label {
    font-size: 10px;
    opacity: 0.7;
}

.zip-value {
    font-weight: 600;
    color: var(--accent, #00ff88);
}

.zip-chevron {
    transition: transform 0.2s;
    margin-left: 4px;
}

.zip-delivery-selector.open .zip-chevron {
    transform: rotate(180deg);
}

.zip-delivery-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 280px;
    background: var(--bg-card, #fff);
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1002;
    overflow: hidden;
}

.zip-delivery-selector.open .zip-delivery-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.zip-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--bg-body, #f5f5f5);
    border-bottom: 1px solid var(--border, #e5e5e5);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main, #121212);
}

.zip-dropdown-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-muted, #666);
    border-radius: 4px;
    transition: background 0.2s;
}

.zip-dropdown-close:hover {
    background: var(--border, #e5e5e5);
}

.zip-dropdown-desc {
    padding: 12px 16px;
    margin: 0;
    font-size: 13px;
    color: var(--text-muted, #666);
}

.zip-form {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
}

.zip-form input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background: var(--bg-card, #fff);
    color: var(--text-main, #121212);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.zip-form input:focus {
    outline: none;
    border-color: var(--accent, #00ff88);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.zip-form input::placeholder {
    color: var(--text-muted, #999);
}

.zip-submit-btn {
    padding: 12px 20px;
    background: var(--accent, #00ff88);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.zip-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.3);
}

.zip-estimates {
    padding: 0 16px 16px;
}

.zip-estimate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--bg-body, #f5f5f5);
    border-radius: 8px;
    margin-bottom: 8px;
}

.zip-estimate-row:last-child {
    margin-bottom: 0;
}

.zip-estimate-row.express {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.estimate-label {
    font-size: 13px;
    color: var(--text-muted, #666);
}

.estimate-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main, #121212);
}

.zip-estimate-row.express .estimate-value {
    color: var(--accent-dark, #16a34a);
}

.zip-error {
    padding: 10px 16px 16px;
    font-size: 13px;
    color: #ef4444;
}

/* Product page delivery estimates */
.product-delivery-estimate {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-body, #f5f5f5);
    border-radius: 8px;
    margin-top: 16px;
    font-size: 14px;
}

.product-delivery-estimate svg {
    flex-shrink: 0;
    color: var(--accent, #00ff88);
}

.product-delivery-estimate .delivery-text {
    flex: 1;
}

.product-delivery-estimate .delivery-dates {
    font-weight: 600;
    color: var(--text-main, #121212);
}

.product-delivery-estimate .change-zip {
    font-size: 12px;
    color: var(--accent, #00ff88);
    text-decoration: underline;
    cursor: pointer;
}

/* ZIP Mobile Responsive */
@media (max-width: 768px) {
    .zip-delivery-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 70vh;
    }

    .zip-delivery-toggle .zip-label {
        display: none;
    }
}

/* Dark mode */
[data-theme="dark"] .zip-delivery-dropdown {
    background: var(--bg-card);
    border: 1px solid var(--border);
}

[data-theme="dark"] .zip-dropdown-header {
    background: var(--bg-body);
}

[data-theme="dark"] .zip-form input {
    background: var(--bg-body);
    border-color: var(--border);
}

[data-theme="dark"] .zip-estimate-row {
    background: var(--bg-body);
}

/* ============================================
   FEATURE: FABIFY REWARDS CARD PROMOTION
   ============================================ */

.rewards-card-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-body, #f9f9f9) 0%, var(--bg-card, #fff) 100%);
}

.rewards-card-banner {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 48px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.rewards-card-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.rewards-card-visual {
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

.rewards-card-graphic {
    perspective: 1000px;
}

.card-front {
    width: 320px;
    height: 200px;
    background: linear-gradient(135deg, #00ff88 0%, #00d4aa 50%, #00b894 100%);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transform: rotateY(-8deg) rotateX(5deg);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(0, 255, 136, 0.3);
    transition: transform 0.4s ease;
}

.rewards-card-banner:hover .card-front {
    transform: rotateY(-3deg) rotateX(2deg) scale(1.02);
}

.card-logo {
    font-size: 28px;
    font-weight: 800;
    color: #000;
    letter-spacing: -0.5px;
}

.card-chip {
    position: absolute;
    top: 60px;
    left: 24px;
    width: 45px;
    height: 35px;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.card-chip::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.card-number {
    position: absolute;
    bottom: 60px;
    left: 24px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(0, 0, 0, 0.7);
    font-family: 'Courier New', monospace;
}

.card-name {
    position: absolute;
    bottom: 24px;
    left: 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.6);
}

.card-badge-premium {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.2);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
}

.rewards-card-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.rewards-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 255, 136, 0.2);
    color: var(--accent, #00ff88);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.rewards-headline {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.rewards-subtext {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px 0;
}

.rewards-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.rewards-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.rewards-benefits li svg {
    flex-shrink: 0;
    color: var(--accent, #00ff88);
}

.rewards-benefits li strong {
    color: #fff;
}

.rewards-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.rewards-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--accent, #00ff88);
    color: #000;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.rewards-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.4);
}

.rewards-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Rewards Card Mobile Responsive */
@media (max-width: 992px) {
    .rewards-card-banner {
        flex-direction: column;
        gap: 40px;
        padding: 40px 32px;
        text-align: center;
    }

    .rewards-card-visual {
        order: -1;
    }

    .card-front {
        transform: rotateY(0) rotateX(5deg);
        width: 280px;
        height: 175px;
    }

    .rewards-card-banner:hover .card-front {
        transform: rotateY(0) rotateX(2deg) scale(1.02);
    }

    .rewards-headline {
        font-size: 28px;
    }

    .rewards-subtext {
        font-size: 18px;
    }

    .rewards-benefits {
        display: inline-block;
        text-align: left;
    }

    .rewards-cta-group {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .rewards-card-section {
        padding: 40px 0;
    }

    .rewards-card-banner {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .card-front {
        width: 240px;
        height: 150px;
        padding: 20px;
    }

    .card-logo {
        font-size: 22px;
    }

    .card-chip {
        top: 48px;
        width: 38px;
        height: 28px;
    }

    .card-number {
        font-size: 14px;
        bottom: 48px;
    }

    .card-name {
        font-size: 10px;
        bottom: 20px;
    }

    .rewards-headline {
        font-size: 24px;
    }

    .rewards-subtext {
        font-size: 16px;
    }

    .rewards-benefits li {
        font-size: 14px;
    }

    .rewards-cta-primary {
        padding: 14px 28px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }

    .rewards-note {
        display: block;
        margin-top: 12px;
    }
}

/* Dark mode - already dark theme, minimal changes needed */
[data-theme="dark"] .rewards-card-section {
    background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-card) 100%);
}

/* ============================================
   FEATURE: LOYALTY POINTS SYSTEM
   ============================================ */

/* Header Points Display */
.header-points-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.header-points-link:hover {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2) 0%, rgba(0, 212, 255, 0.2) 100%);
    border-color: var(--accent, #00ff88);
}

.header-points-link svg {
    color: var(--accent, #00ff88);
}

.header-points-balance {
    font-weight: 600;
    font-size: 13px;
    color: var(--accent, #00ff88);
}

/* Dashboard Points Section */
.fabify-points-dashboard {
    background: linear-gradient(135deg, var(--bg-card, #ffffff) 0%, rgba(0, 255, 136, 0.05) 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.1);
}

.points-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));
    margin-bottom: 20px;
}

.points-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent, #00ff88) 0%, #00cc6a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.points-info h3 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted, #666);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.points-balance {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.points-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-main, #121212);
    line-height: 1;
}

.points-label {
    font-size: 18px;
    color: var(--text-muted, #666);
}

.points-value {
    font-size: 14px;
    color: var(--text-muted, #888);
    margin-top: 4px;
}

.points-earning-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.earning-rate,
.redemption-rate {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary, #555);
    background: var(--bg-body, #f9f9f9);
    padding: 10px 16px;
    border-radius: 8px;
}

.earning-rate svg,
.redemption-rate svg {
    color: var(--accent, #00ff88);
}

/* Points History */
.points-history h4 {
    margin: 0 0 16px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main, #121212);
}

.points-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.points-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-body, #f9f9f9);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.points-history-item:hover {
    background: var(--bg-card, #ffffff);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.history-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.history-description {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main, #333);
}

.history-date {
    font-size: 12px;
    color: var(--text-muted, #888);
}

.history-points {
    font-size: 15px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.history-points.positive {
    background: rgba(0, 255, 136, 0.15);
    color: #00cc6a;
}

.history-points.negative {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Product Page Points Display */
.fabify-product-points-earning {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08) 0%, rgba(0, 212, 255, 0.08) 100%);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    font-size: 14px;
    color: var(--text-secondary, #555);
}

.fabify-product-points-earning svg {
    color: var(--accent, #00ff88);
    flex-shrink: 0;
}

.fabify-product-points-earning strong {
    color: var(--accent, #00ff88);
}

/* Shop/Archive Points Badge */
.fabify-loop-points {
    margin-top: 4px;
}

.fabify-loop-points .points-icon {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    background: linear-gradient(135deg, var(--accent, #00ff88) 0%, #00cc6a 100%);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #000;
}

/* Checkout Points Display */
.fabify-points-earning-row th,
.fabify-points-earning-row td {
    padding-top: 16px !important;
    border-top: 1px dashed rgba(0, 255, 136, 0.3);
}

.points-earning-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main, #333);
}

.points-earning-label svg {
    color: var(--accent, #00ff88);
}

.checkout-points-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.points-to-earn-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.points-badge {
    background: linear-gradient(135deg, var(--accent, #00ff88) 0%, #00cc6a 100%);
    color: #000;
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
}

.points-text {
    font-size: 13px;
    color: var(--text-secondary, #666);
}

.current-balance-display {
    font-size: 12px;
    color: var(--text-muted, #888);
}

/* Cart Points Summary */
.fabify-cart-points-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.25);
    font-size: 14px;
}

.fabify-cart-points-summary svg {
    color: var(--accent, #00ff88);
    flex-shrink: 0;
}

.fabify-cart-points-summary strong {
    color: var(--accent, #00ff88);
}

/* ============================================
   FEATURE: BUY AGAIN SECTION
   ============================================ */

.fabify-buy-again {
    margin-bottom: 32px;
}

.buy-again-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.buy-again-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main, #121212);
}

.buy-again-header h3 svg {
    color: var(--accent, #00ff88);
}

.buy-again-subtitle {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted, #666);
}

.buy-again-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.buy-again-item {
    background: var(--bg-card, #ffffff);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
}

.buy-again-item:hover {
    border-color: var(--accent, #00ff88);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.buy-again-item.out-of-stock {
    opacity: 0.7;
}

.buy-again-image-link {
    display: block;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg-body, #f9f9f9);
}

.buy-again-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.buy-again-item:hover .buy-again-image-link img {
    transform: scale(1.05);
}

.out-of-stock-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.buy-again-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.buy-again-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main, #121212);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.buy-again-title:hover {
    color: var(--accent, #00ff88);
}

.buy-again-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main, #121212);
}

.buy-again-price del {
    color: var(--text-muted, #999);
    font-weight: 400;
    font-size: 13px;
}

.buy-again-price ins {
    text-decoration: none;
    color: #ef4444;
}

.buy-again-last-ordered {
    font-size: 11px;
    color: var(--text-muted, #888);
}

.buy-again-action {
    margin-top: auto;
}

.buy-again-add-to-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--text-main, #121212);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-again-add-to-cart:hover {
    background: var(--accent, #00ff88);
    color: #000;
}

.buy-again-add-to-cart.loading {
    opacity: 0.7;
    pointer-events: none;
}

.buy-again-add-to-cart.success {
    background: #22c55e;
    color: #fff;
}

.buy-again-unavailable {
    display: block;
    text-align: center;
    padding: 10px 16px;
    background: var(--bg-body, #f3f3f3);
    color: var(--text-muted, #888);
    border-radius: 8px;
    font-size: 12px;
}

/* Dashboard Welcome */
.fabify-dashboard {
    max-width: 100%;
}

.dashboard-welcome {
    margin-bottom: 32px;
}

.dashboard-welcome h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
}

.dashboard-welcome p {
    color: var(--text-secondary, #555);
    font-size: 14px;
    line-height: 1.6;
}

.dashboard-welcome a {
    color: var(--accent, #00ff88);
    text-decoration: none;
}

.dashboard-welcome a:hover {
    text-decoration: underline;
}

/* Dashboard Quick Links */
.dashboard-quick-links h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main, #121212);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    border-color: var(--accent, #00ff88);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.quick-link-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body, #f9f9f9);
    border-radius: 12px;
    color: var(--text-main, #121212);
    transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-icon {
    background: var(--accent, #00ff88);
    color: #000;
}

.quick-link-card span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main, #121212);
}

/* Buy Again Toast Notification */
.buy-again-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--text-main, #121212);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.4s ease;
}

.buy-again-toast.show {
    transform: translateX(0);
}

.buy-again-toast.success {
    background: linear-gradient(135deg, var(--accent, #00ff88) 0%, #00cc6a 100%);
    color: #000;
}

.buy-again-toast-icon {
    font-size: 20px;
}

.buy-again-toast-message {
    font-size: 14px;
    font-weight: 500;
}

.buy-again-toast-link {
    margin-left: auto;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: inherit;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.buy-again-toast-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive Styles for Loyalty & Buy Again */
@media (max-width: 1024px) {
    .buy-again-grid,
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-points-link {
        padding: 6px 10px;
    }

    .header-points-link span:not(.header-points-balance) {
        display: none;
    }

    .header-points-balance {
        display: block;
        font-size: 12px;
    }

    .points-header {
        flex-direction: column;
        text-align: center;
    }

    .points-earning-info {
        flex-direction: column;
        gap: 12px;
    }

    .earning-rate,
    .redemption-rate {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .buy-again-grid,
    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .fabify-points-dashboard {
        padding: 20px;
    }

    .points-number {
        font-size: 32px;
    }

    .buy-again-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}

/* Dark mode for Loyalty & Buy Again */
[data-theme="dark"] .fabify-points-dashboard {
    background: linear-gradient(135deg, var(--bg-card, #1a1a1a) 0%, rgba(0, 255, 136, 0.08) 100%);
    border-color: rgba(0, 255, 136, 0.3);
}

[data-theme="dark"] .points-history-item {
    background: var(--bg-body, #0d0d0d);
}

[data-theme="dark"] .points-history-item:hover {
    background: var(--bg-card, #1a1a1a);
}

[data-theme="dark"] .earning-rate,
[data-theme="dark"] .redemption-rate {
    background: var(--bg-body, #0d0d0d);
}

[data-theme="dark"] .buy-again-item {
    background: var(--bg-card, #1a1a1a);
    border-color: var(--border, rgba(255, 255, 255, 0.1));
}

[data-theme="dark"] .buy-again-image-link {
    background: var(--bg-body, #0d0d0d);
}

[data-theme="dark"] .quick-link-card {
    background: var(--bg-card, #1a1a1a);
    border-color: var(--border, rgba(255, 255, 255, 0.1));
}

[data-theme="dark"] .quick-link-icon {
    background: var(--bg-body, #0d0d0d);
}

[data-theme="dark"] .buy-again-unavailable {
    background: var(--bg-body, #0d0d0d);
}
