/*
Theme Name: ShopPositype Ultimate
Theme URI: https://teetees.store/
Description: High-Performance Affiliate Catalog Theme. Super Fast. T-Shirt Collective Style.
Version: 3.2.0
Author: Master Marketer
*/

/* Global Reset & Base */
:root {
    --primary: #111111;
    --accent: #7ed321;
    --accent-glow: rgba(126, 211, 33, 0.35);
    --bg: #f5f5f5;
    --text: #111111;
    --header-height: 64px;
    --announce-height: 36px;
    --gap: 12px;
    --card-bg: #ffffff;
    --card-border: rgba(0,0,0,0.06);
    --overlay-bg: rgba(0,0,0,0.55);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Mode Variables */
body.dark-mode {
    --primary: #ffffff;
    --bg: #0a0a0a;
    --text: #ffffff;
    --card-bg: #1a1a1a;
    --card-border: rgba(255,255,255,0.1);
    --overlay-bg: rgba(0,0,0,0.7);
    background: #0a0a0a;
    color: #ffffff;
}

body.dark-mode .site-header {
    background: rgba(26, 26, 26, 0.85);
    border-bottom-color: rgba(255,255,255,0.1);
}

body.dark-mode .header-nav-left a,
body.dark-mode .header-logo a {
    color: #ffffff;
}

body.dark-mode .header-nav-left a::after {
    background: #ffffff;
}

body.dark-mode .header-icon-btn {
    color: #ffffff;
}

body.dark-mode .header-icon-btn:hover {
    background: rgba(255,255,255,0.1);
}

body.dark-mode .bento-item,
body.dark-mode .spt-card,
body.dark-mode .affc-card {
    background: var(--card-bg) !important;
    border-color: var(--card-border) !important;
}

body.dark-mode .bento-item:hover,
body.dark-mode .spt-card:hover,
body.dark-mode .affc-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.4) !important;
}

body.dark-mode .bento-overlay,
body.dark-mode .bento-product-info {
    background: linear-gradient(transparent, rgba(0,0,0,0.8)) !important;
}

body.dark-mode .site-footer {
    background: #1a1a1a;
    border-top-color: rgba(255,255,255,0.1);
}

body.dark-mode .footer-logo {
    color: #7ed321;
}

body.dark-mode .footer-social a {
    color: #ffffff;
    border-color: rgba(255,255,255,0.2);
}

body.dark-mode .footer-social a:hover {
    background: #ffffff;
    color: #0a0a0a;
    border-color: #ffffff;
}

body.dark-mode .footer-bottom {
    color: rgba(255,255,255,0.6);
}

body.dark-mode .quick-view-content {
    background: #1a1a1a;
}

body.dark-mode .quick-view-title {
    color: #ffffff;
}

body.dark-mode .quick-view-price {
    color: #ffffff;
}

body.dark-mode .quick-view-description {
    color: rgba(255,255,255,0.7);
}

body.dark-mode .quick-view-meta-item {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
}

body.dark-mode .quick-view-btn-primary {
    background: #ffffff;
    color: #0a0a0a;
}

body.dark-mode .quick-view-btn-primary:hover {
    background: #e5e5e5;
}

body.dark-mode .quick-view-btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
}

body.dark-mode .quick-view-btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}

body.dark-mode .quick-view-close {
    background: rgba(255,255,255,0.1);
}

body.dark-mode .quick-view-close:hover {
    background: rgba(255,255,255,0.2);
}

body.dark-mode .quick-view-close svg {
    stroke: #ffffff;
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    color: inherit;
}

.dark-mode-toggle:hover {
    background: rgba(0,0,0,0.05);
}

body.dark-mode .dark-mode-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.dark-mode-toggle svg {
    width: 20px;
    height: 20px;
}

/* Smooth transition for dark mode */
body,
.site-header,
.bento-item,
.spt-card,
.affc-card,
.site-footer,
.quick-view-content {
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
img { max-width: 100%; display: block; }
button:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* --- BACKGROUND --- */
body {
    position: relative;
    background: #ffffff;
}

/* --- ANNOUNCEMENT BAR --- */
.announce-bar {
    background: #111;
    color: #fff;
    height: var(--announce-height);
    overflow: hidden;
    position: relative;
    z-index: 1001;
}

.announce-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 24px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.announce-bar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: announcePulse 2s ease infinite;
    flex-shrink: 0;
}

.announce-bar a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.announce-bar a:hover { opacity: 0.8; }

@keyframes announcePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

body.dark-mode .announce-bar {
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* --- HEADER --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    height: var(--header-height);
    transition: background 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.4s;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
}

body.dark-mode .site-header {
    background: rgba(26, 26, 26, 0.85);
    border-bottom-color: rgba(255,255,255,0.08);
}

body.dark-mode .site-header.is-scrolled {
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 8px 32px rgba(0,0,0,0.3);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.header-nav-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-nav-left a {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111;
    position: relative;
    padding: 4px 0;
}

.header-nav-left a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1.5px;
    background: #111;
    transition: width 0.3s ease;
}

.header-nav-left a:hover::after { width: 100%; }

.header-logo {
    flex: 1;
    text-align: center;
}

.header-logo a {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #111;
    position: relative;
    transition: letter-spacing 0.4s var(--ease-out-expo);
}

.header-logo a:hover {
    letter-spacing: 0.26em;
}

.header-logo a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.4s var(--ease-out-expo);
}

.header-logo a:hover::after { width: 100%; }

.header-icons {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.header-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #111;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 44px;
    min-height: 44px;
}

.header-icon-btn:hover { background: rgba(0,0,0,0.05); }
.header-icon-btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .header-nav-left { display: none; }
    .header-left-group { flex: 0 0 auto; }
    .header-logo { flex: 1; text-align: center; }
    .header-logo a { font-size: 0.85rem; letter-spacing: 0.1em; }
    .header-inner { padding: 0 16px; }
    
    /* Improved mobile touch targets */
    .header-icon-btn {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }
    
    .header-menu-toggle {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }
    
    /* Ensure text is readable on mobile */
    .bento-product-name,
    .bento-title {
        font-size: 0.7rem;
    }
    
    /* Improve spacing for mobile */
    .bento-grid {
        gap: 8px;
    }
}

/* --- HAMBURGER MENU TOGGLE --- */
.header-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #111;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
    margin-right: 8px;
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
}

.header-menu-toggle:hover { background: rgba(0,0,0,0.05); }
.header-menu-toggle:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* --- SIDEBAR MEGA MENU --- */
.sidebar-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: #1a1a2e;
    color: #fff;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-menu.is-open {
    transform: translateX(0);
}

.sidebar-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.sidebar-menu-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin: 0;
    color: #fff;
}

.sidebar-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

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

.sidebar-menu-body {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.sidebar-menu-nav,
.sidebar-submenu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 8px 20px 28px;
    transition: transform 0.35s ease;
}

.sidebar-menu-nav {
    transform: translateX(0);
}

.sidebar-menu.has-submenu-active .sidebar-menu-nav {
    transform: translateX(-100%);
}

.sidebar-submenu {
    transform: translateX(100%);
}

.sidebar-submenu.is-active {
    transform: translateX(0);
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: opacity 0.2s;
    min-height: 48px;
}

.sidebar-menu-item:hover { opacity: 0.8; }
.sidebar-menu-item:focus {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.sidebar-menu-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sidebar-menu-item-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
}

.sidebar-menu-item-desc {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.3;
}

.sidebar-menu-arrow {
    flex-shrink: 0;
    color: rgba(255,255,255,0.5);
}

.sidebar-submenu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 8px;
}

.sidebar-submenu-back {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-submenu-back:hover { background: rgba(255,255,255,0.2); }

.sidebar-submenu-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.sidebar-submenu-nav {
    display: flex;
    flex-direction: column;
}

.sidebar-submenu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: opacity 0.2s;
}

.sidebar-submenu-item:hover { opacity: 0.8; }

.sidebar-submenu-item::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 2px solid rgba(255,255,255,0.4);
    border-right: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
}

.sidebar-popular-section {
    margin-top: 8px;
    margin-bottom: 8px;
}

.sidebar-popular-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin: 0 0 14px;
}

.sidebar-popular-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.sidebar-popular-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-align: center;
    transition: transform 0.2s;
}

.sidebar-popular-item:hover { transform: translateY(-2px); }

.sidebar-popular-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-popular-icon svg {
    width: 22px;
    height: 22px;
}

.sidebar-popular-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    line-height: 1.2;
}

.sidebar-shop-all {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
    padding: 14px 20px;
    background: #4f46e5;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.sidebar-shop-all:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

body.sidebar-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .sidebar-menu { width: 100%; max-width: 100%; }
    .sidebar-popular-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- MAIN --- */
.site-main {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

/* --- BENTO GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 120px;
    grid-auto-flow: dense;
    gap: var(--gap);
}

.bento-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
    opacity: 0;
    transform: translateY(24px);
    min-height: 200px;
}

.bento-item:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.bento-item.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(126, 211, 33, 0.15);
}

.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.8s var(--ease-out-expo);
    z-index: 0;
    pointer-events: none;
}

.bento-item:hover::before {
    transform: translateX(100%);
}

.bento-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    pointer-events: auto;
}

.bento-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.bento-item:hover .bento-link img { transform: scale(1.05); }

/* Dual Image Hover Effect */
.bento-product-images {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bento-product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.bento-product-img-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.bento-item:hover .bento-product-img {
    opacity: 0;
    transform: scale(1.05);
}

.bento-item:hover .bento-product-img-secondary {
    opacity: 1;
    transform: scale(1.05);
}

/* Dynamic Status Badges */
.bento-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 10;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-top-seller {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: #fff;
    box-shadow: 0 4px 12px rgba(238, 90, 90, 0.4);
}

.badge-selling-fast {
    background: linear-gradient(135deg, #ffd93d, #f0b429);
    color: #fff;
    box-shadow: 0 4px 12px rgba(240, 180, 41, 0.4);
}

.badge-new-drop {
    background: linear-gradient(135deg, #6bcf7f, #4ade80);
    color: #fff;
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.4);
}

.badge-custom {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Glassmorphic Quick Action Overlay */
.bento-item .glassmorphic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
    z-index: 5;
    pointer-events: none;
}

.bento-item:hover .glassmorphic-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.glassmorphic-overlay .glassmorphic-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #111827;
}

.glassmorphic-overlay .glassmorphic-action-btn:hover {
    transform: scale(1.1);
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

body.dark-mode .glassmorphic-overlay .glassmorphic-action-btn {
    background: rgba(26, 26, 26, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.dark-mode .glassmorphic-overlay .glassmorphic-action-btn:hover {
    background: #1a1a1a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.glassmorphic-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.glassmorphic-action-btn:hover {
    transform: scale(1.1);
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

body.dark-mode .glassmorphic-action-btn {
    background: rgba(26, 26, 26, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .glassmorphic-action-btn:hover {
    background: #1a1a1a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Sticky Pill Navigation (Category Filter) */
.spt-tax-nav {
    position: sticky;
    top: 100px;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s var(--ease-out-expo);
}

body.dark-mode .spt-tax-nav {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.spt-chip-row {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.spt-chip-row::-webkit-scrollbar {
    height: 4px;
}

.spt-chip-row::-webkit-scrollbar-track {
    background: transparent;
}

.spt-chip-row::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.spt-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s var(--ease-out-expo);
    background: #fff;
}

.spt-chip:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    transform: translateY(-1px);
}

.spt-chip--active,
.spt-chip:active {
    background: #111827;
    color: #fff;
    border-color: #111827;
    text-decoration: none;
}

body.dark-mode .spt-chip {
    background: #1a1a1a;
    color: #e5e7eb;
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .spt-chip:hover {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .spt-chip--active,
body.dark-mode .spt-chip:active {
    background: #fff;
    color: #111827;
    border-color: #fff;
}

/* Enhanced Marquee Ticker */
.tp-marquee {
    background: linear-gradient(90deg, #111827, #1f2937, #111827);
    color: #fff;
    padding: 12px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .tp-marquee {
    background: linear-gradient(90deg, #0a0a0a, #1a1a1a, #0a0a0a);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.tp-marquee-track {
    display: flex;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
}

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

.tp-marquee-item {
    display: inline-flex;
    align-items: center;
    padding: 0 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tp-marquee-item strong {
    color: #7ed321;
    margin-left: 4px;
}

.tp-marquee-sep {
    color: rgba(255, 255, 255, 0.3);
    margin-left: 8px;
}

/* On-Card Color Swatches */
.bento-color-swatches {
    position: absolute;
    bottom: 60px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 10;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}

.bento-item:hover .bento-color-swatches {
    opacity: 1;
    transform: translateY(0);
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    cursor: pointer;
    transition: all 0.2s var(--ease-out-expo);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.color-swatch:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.color-swatch:active {
    transform: scale(1.1);
}

.color-swatch.active {
    border-color: #111827;
    transform: scale(1.15);
    box-shadow: 0 0 0 2px #fff, 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .color-swatch {
    border-color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .color-swatch.active {
    border-color: #fff;
    box-shadow: 0 0 0 2px #111827, 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Hero Card Video/GIF Background */
.bento-product-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-product-media video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Dark Mode Enhancements for New Features */
body.dark-mode .bento-status-badge {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body.dark-mode .bento-color-swatches {
    bottom: 60px;
}

body.dark-mode .glassmorphic-overlay {
    background: rgba(0, 0, 0, 0.3);
}

body.dark-mode .color-overlay {
    opacity: 0.4 !important;
}

/* Overlay for collection blocks */
.bento-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 16px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.55));
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
    z-index: 5;
}

.bento-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.bento-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    margin-top: 6px;
    transform: translateY(8px);
    transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.bento-item:hover .bento-cta {
    opacity: 1;
    transform: translateY(0);
}

.bento-cta::after {
    content: '→';
    transition: transform 0.3s var(--ease-spring);
}

.bento-item:hover .bento-cta::after {
    transform: translateX(4px);
}

/* Product card info */
.bento-item .bento-product-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 12px 12px !important;
    background: linear-gradient(transparent, rgba(0,0,0,0.55)) !important;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #fff !important;
    border-top: none !important;
}

.bento-item .bento-product-name {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff !important;
    line-height: 1.2;
}

.bento-item .bento-product-price {
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff !important;
}

/* Grid spans (desktop) - 6-column dense grid */
.bento-tall { grid-column: span 2; grid-row: span 4; }
.bento-wide { grid-column: span 3; grid-row: span 1; }
.bento-tall-mid { grid-column: span 1; grid-row: span 3; }
.bento-product { grid-column: span 1; grid-row: span 2; }
.bento-mid-wide { grid-column: span 2; grid-row: span 1; }

/* Mobile grid */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }
    .bento-tall, .bento-wide, .bento-tall-mid, .bento-product, .bento-mid-wide {
        grid-column: span 2;
    }
    .bento-tall, .bento-tall-mid {
        min-height: 300px;
    }

    /* Responsive Status Badges */
    .bento-status-badge {
        font-size: 0.6rem;
        padding: 4px 8px;
        top: 8px;
        left: 8px;
    }

    /* Responsive Color Swatches */
    .bento-color-swatches {
        bottom: 50px;
        left: 8px;
        gap: 4px;
    }

    .color-swatch {
        width: 16px;
        height: 16px;
    }

    /* Responsive Glassmorphic Overlay */
    .glassmorphic-overlay .glassmorphic-action-btn {
        width: 36px;
        height: 36px;
    }

    .glassmorphic-overlay .glassmorphic-action-btn svg {
        width: 14px;
        height: 14px;
    }

    /* Responsive Pill Navigation */
    .spt-tax-nav {
        top: 64px;
        padding: 8px 0;
    }

    .spt-chip {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    /* Responsive Marquee */
    .tp-marquee-item {
        font-size: 0.7rem;
        padding: 0 12px;
    }
        grid-row: span 4;
        min-height: 420px;
    }
    .bento-product {
        grid-row: span 3;
        min-height: 320px;
    }
    .bento-wide, .bento-mid-wide {
        grid-row: span 2;
        min-height: 220px;
    }


}

/* --- SKELETON LOADING --- */
.skeleton-loader {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 120px;
    grid-auto-flow: dense;
    gap: var(--gap);
    width: 100%;
}

.skeleton-item {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.06);
}

body.dark-mode .skeleton-item {
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    border-color: rgba(255,255,255,0.1);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-tall { grid-column: span 2; grid-row: span 4; }
.skeleton-wide { grid-column: span 3; grid-row: span 1; }
.skeleton-tall-mid { grid-column: span 1; grid-row: span 3; }
.skeleton-product { grid-column: span 1; grid-row: span 2; }
.skeleton-mid-wide { grid-column: span 2; grid-row: span 1; }

@media (max-width: 768px) {
    .skeleton-loader {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }
    .skeleton-tall, .skeleton-wide, .skeleton-tall-mid, .skeleton-product, .skeleton-mid-wide {
        grid-column: span 2;
    }
    .skeleton-tall, .skeleton-tall-mid {
        grid-row: span 4;
        min-height: 420px;
    }
    .skeleton-product {
        grid-row: span 3;
        min-height: 320px;
    }
    .skeleton-wide, .skeleton-mid-wide {
        grid-row: span 2;
        min-height: 220px;
    }
}

.infinite-scroll-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    gap: 12px;
}

.infinite-scroll-loader span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
}

body.dark-mode .infinite-scroll-loader span {
    color: rgba(255,255,255,0.7);
}

.infinite-scroll-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0,0,0,0.1);
    border-top-color: #111;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

body.dark-mode .infinite-scroll-spinner {
    border-color: rgba(255,255,255,0.2);
    border-top-color: #fff;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- LOAD MORE & SHOP ALL --- */
.bento-load-more-wrap {
    margin-top: 40px;
    text-align: center;
}
#bento-load-more {
    display: inline-block;
    padding: 14px 40px;
    background: #111;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
#bento-load-more:hover {
    background: #333;
}
#bento-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* keep old pagination styles in case used elsewhere */
.bento-pagination {
    margin-top: 32px;
    text-align: center;
}
.bento-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    margin: 0 4px;
    padding: 0 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #111;
    border: 1px solid rgba(0,0,0,0.1);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bento-pagination .page-numbers.current {
    background: #111;
    color: #fff;
    border-color: #111;
}
.bento-pagination .page-numbers:hover:not(.current) {
    background: rgba(0,0,0,0.04);
}
.bento-pagination .prev,
.bento-pagination .next {
    padding: 0 14px;
}

.bento-shop-all {
    margin-top: 24px;
    text-align: center;
}
.bento-shop-all a {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: #111;
    border: 2px solid #111;
    transition: background 0.2s, color 0.2s;
    min-width: 150px;
    text-align: center;
}
.bento-shop-all a:hover {
    background: #fff;
    color: #111;
}

/* --- SIDEBAR --- */
.widget-area {
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-md);
}

body.dark-mode .widget-area {
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.1);
}

.widget {
    margin-bottom: 32px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 16px;
    color: #111;
}

body.dark-mode .widget-title {
    color: #fff;
}

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

.widget li {
    margin-bottom: 8px;
}

.widget a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.widget a:hover {
    color: var(--accent);
}

body.dark-mode .widget a {
    color: rgba(255,255,255,0.7);
}

body.dark-mode .widget a:hover {
    color: var(--accent);
}

/* --- CATALOG PAGE --- */
.catalog-page-wrapper {
    position: relative;
    z-index: 1;
    background: #fff;
}

.catalog-header {
    padding: 60px 20px 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.catalog-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    color: #111;
}

.catalog-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

body.dark-mode .catalog-header {
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border-bottom-color: rgba(255,255,255,0.1);
}

body.dark-mode .catalog-title {
    color: #fff;
}

body.dark-mode .catalog-subtitle {
    color: rgba(255,255,255,0.7);
}

.catalog-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

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

@media (max-width: 768px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .catalog-header {
        padding: 40px 20px 30px;
    }
    
    .catalog-title {
        font-size: 2rem;
    }
    
    .catalog-subtitle {
        font-size: 1rem;
    }
}

.catalog-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.catalog-empty {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

body.dark-mode .catalog-empty {
    color: rgba(255,255,255,0.7);
}

/* --- FOOTER --- */
.site-footer {
    position: relative;
    z-index: 1;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 48px 24px 32px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-brand {
    display: flex;
    justify-content: center;
}

.footer-logo {
    display: inline-block;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #7ed321;
    transition: opacity 0.2s;
}

.footer-logo:hover { opacity: 0.8; }

.footer-social {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 0.7rem;
    color: #777;
}

.footer-bottom p { margin: 0; }

/* --- Archive & Single Product Cards (solid like bento) --- */
.spt-card,
.affc-card {
    position: relative;
    z-index: 2;
    background: #fff !important;
    background-color: #fff !important;
    opacity: 1 !important;
    border: 1px solid rgba(0,0,0,0.12) !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.1s ease;
    display: flex;
    flex-direction: column;
}

.spt-card:hover,
.affc-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.15) !important;
}


.spt-card-img-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f5f5f5 !important;
}

.spt-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.spt-card:hover .spt-card-img-wrap img {
    transform: scale(1.05);
}

.spt-card-content {
    padding: 16px !important;
    background: #fff !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.spt-card-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.3;
}

.spt-card-title a {
    color: #111;
}

.spt-card-price {
    font-size: 0.85rem;
    font-weight: 800;
    color: #111;
}

.spt-btn-view {
    display: inline-block;
    margin-top: 4px;
    padding: 8px 16px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    background: #111;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
}

.spt-btn-view:hover {
    background: #333;
    transform: translateY(-2px);
}

/* --- Archive & Single: solid cards over blurred background --- */
.spt-main-content,
.spt-single-wrap,
.spt-related {
    position: relative;
    z-index: 2;
    background: #fff !important;
    isolation: isolate;
}

.spt-shell {
    position: relative;
    z-index: 2;
    background: #fff !important;
    isolation: isolate;
}

.spt-single-wrap {
    padding: 40px 20px 64px;
}

.spt-grid {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

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

.spt-single-layout {
    position: relative;
    z-index: 3;
    background: #fff !important;
    isolation: isolate;
}

.spt-single-media,
.spt-single-info {
    position: relative;
    z-index: 3;
    background: #fff !important;
    background-color: #fff !important;
    opacity: 1 !important;
    border: 1px solid rgba(0,0,0,0.12) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.spt-single-info {
    padding: 24px;
}

.spt-storefront {
    position: relative;
    z-index: 2;
    background: #fff !important;
}

@media (max-width: 768px) {
    .footer-logo { font-size: 2rem; }
}

/* --- QUICK VIEW MODAL --- */
.quick-view-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(8px);
}

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

.quick-view-content {
    background: #fff;
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.quick-view-modal.is-open .quick-view-content {
    transform: scale(1) translateY(0);
}

.quick-view-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.quick-view-close:hover {
    background: rgba(0,0,0,0.2);
}

.quick-view-image {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.quick-view-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quick-view-details {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quick-view-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.quick-view-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111;
}

.quick-view-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.quick-view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.quick-view-meta-item {
    font-size: 0.75rem;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 20px;
    font-weight: 600;
}

.quick-view-actions {
    margin-top: auto;
    display: flex;
    gap: 12px;
}

.quick-view-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.quick-view-btn-primary {
    background: #111;
    color: #fff;
}

.quick-view-btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.quick-view-btn-secondary {
    background: #f5f5f5;
    color: #111;
}

.quick-view-btn-secondary:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
}

.quick-view-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: #666;
}

@media (max-width: 768px) {
    .quick-view-content {
        grid-template-columns: 1fr;
        max-height: 85vh;
    }
    
    .quick-view-image {
        min-height: 300px;
    }
    
    .quick-view-details {
        padding: 24px;
    }
    
    .quick-view-title {
        font-size: 1.25rem;
    }
}

/* --- WISHLIST SYSTEM --- */
.wishlist-btn {
    position: relative;
}

/* Quick View Trigger Button */
.quick-view-trigger {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quick-view-trigger svg {
    width: 16px;
    height: 16px;
    stroke: #111;
    stroke-width: 2;
    fill: none;
}

.bento-item:hover .quick-view-trigger,
.spt-card:hover .quick-view-trigger,
.affc-card:hover .quick-view-trigger {
    opacity: 1;
    transform: translateY(0);
}

.quick-view-trigger:hover {
    background: #fff;
    transform: translateY(0) scale(1.1);
}

body.dark-mode .quick-view-trigger {
    background: rgba(26, 26, 26, 0.95);
    border-color: rgba(255,255,255,0.1);
}

body.dark-mode .quick-view-trigger svg {
    stroke: #fff;
}

body.dark-mode .quick-view-trigger:hover {
    background: rgba(255,255,255,0.1);
}

.wishlist-btn.is-active {
    color: #ef4444 !important;
}

.wishlist-btn.is-active::after {
    content: '♥';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 12px;
    color: #ef4444;
    animation: heartPop 0.3s ease;
}

@keyframes heartPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.wishlist-heart {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wishlist-heart svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #111;
    stroke-width: 2;
    transition: fill 0.2s, stroke 0.2s;
}

.wishlist-heart:hover {
    opacity: 1;
    transform: translateY(0);
}

.bento-item:hover .wishlist-heart,
.spt-card:hover .wishlist-heart,
.affc-card:hover .wishlist-heart {
    opacity: 1;
    transform: translateY(0);
}

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

.wishlist-heart.is-active {
    background: rgba(255,255,255,1);
    border-color: #ef4444;
}

/* Wishlist Sidebar */
.wishlist-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}

body.dark-mode .wishlist-sidebar {
    background: #1a1a1a;
    box-shadow: -4px 0 20px rgba(0,0,0,0.4);
}

.wishlist-sidebar.is-open {
    transform: translateX(0);
}

.wishlist-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

body.dark-mode .wishlist-sidebar-header {
    border-bottom-color: rgba(255,255,255,0.1);
}

.wishlist-sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

body.dark-mode .wishlist-sidebar-title {
    color: #fff;
}

.wishlist-sidebar-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

body.dark-mode .wishlist-sidebar-close {
    background: rgba(255,255,255,0.1);
}

.wishlist-sidebar-close:hover {
    background: rgba(0,0,0,0.1);
}

body.dark-mode .wishlist-sidebar-close:hover {
    background: rgba(255,255,255,0.2);
}

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

.wishlist-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

body.dark-mode .wishlist-empty {
    color: rgba(255,255,255,0.6);
}

.wishlist-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.wishlist-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: transform 0.2s;
}

body.dark-mode .wishlist-item {
    background: rgba(255,255,255,0.05);
}

.wishlist-item:hover {
    transform: translateX(-4px);
}

.wishlist-item-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.wishlist-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wishlist-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

body.dark-mode .wishlist-item-title {
    color: #fff;
}

.wishlist-item-price {
    font-size: 0.9rem;
    font-weight: 800;
    color: #111;
}

body.dark-mode .wishlist-item-price {
    color: #fff;
}

.wishlist-item-remove {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(239,68,68,0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.wishlist-item-remove:hover {
    background: rgba(239,68,68,0.2);
}

.wishlist-item-remove svg {
    width: 14px;
    height: 14px;
    stroke: #ef4444;
}

.wishlist-sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

body.dark-mode .wishlist-sidebar-footer {
    border-top-color: rgba(255,255,255,0.1);
}

.wishlist-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.wishlist-count.has-items {
    opacity: 1;
    transform: scale(1);
}

/* Wishlist Trigger Button in Header */
.wishlist-trigger {
    position: relative;
}



/* --- FLOATING ACTION BUTTON --- */
.fab-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    align-items: flex-end;
}

.fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
}

body.dark-mode .fab-main {
    background: #fff;
    color: #0a0a0a;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

.fab-main svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.fab-main.is-active svg {
    transform: rotate(45deg);
}

.fab-menu {
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s ease;
    pointer-events: none;
}

.fab-container.is-open .fab-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.fab-item {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    position: relative;
}

body.dark-mode .fab-item {
    background: #1a1a1a;
    color: #fff;
    border-color: rgba(255,255,255,0.1);
}

.fab-item:hover {
    transform: scale(1.1);
    background: #f5f5f5;
}

body.dark-mode .fab-item:hover {
    background: rgba(255,255,255,0.1);
}

.fab-item svg {
    width: 20px;
    height: 20px;
}

.fab-item::after {
    content: attr(data-label);
    position: absolute;
    right: 60px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.2s ease;
}

.fab-item:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.fab-badge.has-items {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-main {
        width: 52px;
        height: 52px;
    }
    
    .fab-item {
        width: 44px;
        height: 44px;
    }
    
    .fab-item::after {
        display: none;
    }
}

/* --- PRODUCT COMPARISON SYSTEM --- */
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 16px 24px;
    z-index: 9997;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

body.dark-mode .compare-bar {
    background: #1a1a1a;
    border-top-color: rgba(255,255,255,0.1);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}

.compare-bar.is-visible {
    transform: translateY(0);
}

.compare-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.compare-items {
    display: flex;
    gap: 12px;
    flex: 1;
    overflow-x: auto;
    padding: 4px 0;
}

.compare-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 8px;
    min-width: 200px;
    max-width: 250px;
    position: relative;
}

body.dark-mode .compare-item {
    background: rgba(255,255,255,0.05);
}

.compare-item-img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.compare-item-info {
    flex: 1;
    min-width: 0;
}

.compare-item-title {
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

body.dark-mode .compare-item-title {
    color: #fff;
}

.compare-item-price {
    font-size: 0.8rem;
    font-weight: 800;
    color: #111;
}

body.dark-mode .compare-item-price {
    color: #fff;
}

.compare-item-remove {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(239,68,68,0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.compare-item-remove:hover {
    background: rgba(239,68,68,0.2);
}

.compare-item-remove svg {
    width: 12px;
    height: 12px;
    stroke: #ef4444;
}

.compare-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.compare-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
}

body.dark-mode .compare-count {
    color: rgba(255,255,255,0.7);
}

.compare-btn {
    padding: 10px 20px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

body.dark-mode .compare-btn {
    background: #fff;
    color: #0a0a0a;
}

.compare-btn:hover {
    background: #333;
}

body.dark-mode .compare-btn:hover {
    background: #e5e5e5;
}

.compare-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.compare-clear {
    padding: 10px 16px;
    background: transparent;
    color: #666;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

body.dark-mode .compare-clear {
    color: rgba(255,255,255,0.7);
    border-color: rgba(255,255,255,0.2);
}

.compare-clear:hover {
    background: rgba(0,0,0,0.05);
}

body.dark-mode .compare-clear:hover {
    background: rgba(255,255,255,0.1);
}

/* Comparison Modal */
.compare-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(8px);
}

.compare-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.compare-modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 1200px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

body.dark-mode .compare-modal-content {
    background: #1a1a1a;
}

.compare-modal.is-open .compare-modal-content {
    transform: scale(1) translateY(0);
}

.compare-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

body.dark-mode .compare-modal-header {
    border-bottom-color: rgba(255,255,255,0.1);
}

.compare-modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

body.dark-mode .compare-modal-title {
    color: #fff;
}

.compare-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

body.dark-mode .compare-modal-close {
    background: rgba(255,255,255,0.1);
}

.compare-modal-close:hover {
    background: rgba(0,0,0,0.1);
}

body.dark-mode .compare-modal-close:hover {
    background: rgba(255,255,255,0.2);
}

.compare-modal-body {
    padding: 24px;
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.compare-product-card {
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
}

body.dark-mode .compare-product-card {
    background: rgba(255,255,255,0.05);
}

.compare-product-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.compare-product-details {
    padding: 16px;
}

.compare-product-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}

body.dark-mode .compare-product-title {
    color: #fff;
}

.compare-product-price {
    font-size: 1rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 12px;
}

body.dark-mode .compare-product-price {
    color: #fff;
}

.compare-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.compare-meta-tag {
    font-size: 0.7rem;
    padding: 4px 8px;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    font-weight: 600;
}

body.dark-mode .compare-meta-tag {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.compare-product-actions {
    margin-top: 16px;
}

.compare-view-btn {
    width: 100%;
    padding: 10px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

body.dark-mode .compare-view-btn {
    background: #fff;
    color: #0a0a0a;
}

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

body.dark-mode .compare-view-btn:hover {
    background: #e5e5e5;
}

/* Compare trigger button on product cards */
.compare-trigger {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.compare-trigger svg {
    width: 16px;
    height: 16px;
}

.bento-item:hover .compare-trigger,
.spt-card:hover .compare-trigger,
.affc-card:hover .compare-trigger {
    opacity: 1;
    transform: translateY(0);
}

.compare-trigger.is-active {
    background: #111;
    border-color: #111;
}

.compare-trigger.is-active svg {
    stroke: #fff;
}

body.dark-mode .compare-trigger.is-active {
    background: #fff;
    border-color: #fff;
}

body.dark-mode .compare-trigger.is-active svg {
    stroke: #0a0a0a;
}

@media (max-width: 768px) {
    .compare-bar {
        padding: 12px 16px;
    }

    .compare-bar-inner {
        flex-direction: column;
        gap: 12px;
    }

    .compare-items {
        width: 100%;
    }

    .compare-item {
        min-width: 150px;
        max-width: 180px;
    }

    .compare-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* --- SINGLE PRODUCT SIDEBAR --- */
.spt-single-layout-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.spt-single-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.spt-sidebar-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.08);
}

body.dark-mode .spt-sidebar-section {
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.1);
}

.spt-sidebar-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #111;
}

body.dark-mode .spt-sidebar-title {
    color: #fff;
}

.spt-sidebar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.spt-sidebar-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.spt-sidebar-item:hover {
    transform: translateY(-4px);
}

.spt-sidebar-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

body.dark-mode .spt-sidebar-img {
    background: rgba(255,255,255,0.05);
}

.spt-sidebar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.spt-sidebar-item:hover .spt-sidebar-img img {
    transform: scale(1.05);
}

.spt-sidebar-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #999;
}

body.dark-mode .spt-sidebar-img-placeholder {
    color: rgba(255,255,255,0.3);
}

.spt-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spt-sidebar-item-title {
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #111;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body.dark-mode .spt-sidebar-item-title {
    color: #fff;
}

.spt-sidebar-item-price {
    font-size: 0.8rem;
    font-weight: 800;
    color: #ef4444;
}

.spt-sidebar-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spt-sidebar-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}

body.dark-mode .spt-sidebar-cat {
    background: rgba(255,255,255,0.05);
}

.spt-sidebar-cat:hover {
    background: #e5e5e5;
}

body.dark-mode .spt-sidebar-cat:hover {
    background: rgba(255,255,255,0.1);
}

.spt-sidebar-cat-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #111;
}

body.dark-mode .spt-sidebar-cat-name {
    color: #fff;
}

.spt-sidebar-cat-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    background: rgba(0,0,0,0.05);
    padding: 2px 8px;
    border-radius: 12px;
}

body.dark-mode .spt-sidebar-cat-count {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
}

.spt-sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spt-sidebar-link {
    padding: 10px 12px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    color: #111;
    transition: background 0.2s ease;
}

body.dark-mode .spt-sidebar-link {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.spt-sidebar-link:hover {
    background: #e5e5e5;
}

body.dark-mode .spt-sidebar-link:hover {
    background: rgba(255,255,255,0.1);
}

@media (max-width: 1024px) {
    .spt-single-layout-wrapper {
        grid-template-columns: 1fr;
    }

    .spt-single-sidebar {
        position: static;
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }

    .spt-sidebar-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

    .spt-sidebar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .spt-sidebar-section {
        padding: 16px;
    }
}

/* --- BANNER PLACEMENT SPOTS --- */
/* Hero Banner - Large full-width banner */
.banner-spot-hero {
    width: calc(100% - 32px);
    max-width: 1280px;
    margin: 16px auto 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.banner-spot-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(126, 211, 33, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(118, 75, 162, 0.4) 0%, transparent 50%);
    animation: heroMesh 8s ease-in-out infinite alternate;
    z-index: 1;
}

.banner-spot-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    z-index: 1;
    pointer-events: none;
}

@keyframes heroMesh {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

body.dark-mode .banner-spot-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.banner-spot-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.banner-spot-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
    color: #fff;
}

.banner-spot-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.banner-spot-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: badgeFloat 3s ease-in-out infinite;
}

.banner-spot-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: announcePulse 1.5s ease infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.banner-spot-hero-desc {
    font-size: 1rem;
    margin: 0 0 24px;
    opacity: 0.9;
}

.banner-spot-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, background 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.banner-spot-hero-btn::after {
    content: '→';
    transition: transform 0.3s var(--ease-spring);
}

.banner-spot-hero-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    background: var(--accent);
    color: #111;
}

.banner-spot-hero-btn:hover::after {
    transform: translateX(4px);
}

/* Medium Banner - Half width */
.banner-spot-medium {
    width: 100%;
    max-width: 640px;
    margin: 0 auto 24px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .banner-spot-medium {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
}

.banner-spot-medium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.banner-spot-medium-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px;
    color: #fff;
}

.banner-spot-medium-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.banner-spot-medium-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.banner-spot-medium-btn:hover {
    transform: translateY(-2px);
}

/* Small Banner - Sidebar size */
.banner-spot-small {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

body.dark-mode .banner-spot-small {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 100%);
}

.banner-spot-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.banner-spot-small-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 16px;
    color: #fff;
}

.banner-spot-small-title {
    font-size: 0.9rem;
    font-weight: 800;
    margin: 0 0 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.banner-spot-small-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.banner-spot-small-btn:hover {
    transform: translateY(-2px);
}

/* Banner Grid for multiple banners */
.banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.banner-grid .banner-spot-medium {
    margin: 0;
}

/* Banner close button */
.banner-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: auto;
    height: 32px;
    border-radius: 16px;
    background: rgba(0,0,0,0.3);
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    transition: background 0.2s ease;
}

.banner-close:hover {
    background: rgba(0,0,0,0.5);
}

.banner-close-icon {
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
}

.banner-close-text {
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Banner label for admin identification */
.banner-label {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    z-index: 10;
    opacity: 0.7;
}

/* Responsive banners */
@media (max-width: 768px) {
    .banner-spot-hero {
        min-height: 200px;
        margin-bottom: 24px;
    }

    .banner-spot-hero-title {
        font-size: 1.5rem;
    }

    .banner-spot-hero-desc {
        font-size: 0.9rem;
    }

    .banner-spot-medium {
        min-height: 150px;
        margin-bottom: 16px;
    }

    .banner-spot-small {
        min-height: 120px;
    }

    .banner-grid {
        grid-template-columns: 1fr;
    }
}

/* Banner animation */
@keyframes bannerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-spot-hero,
.banner-spot-medium,
.banner-spot-small {
    animation: bannerFadeIn 0.5s ease;
}

/* Banner placeholder when no content */
.banner-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 600;
}

.banner-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

/* ============================================
   PREMIUM UPGRADE v3.1 — Teepography Ultimate
   ============================================ */

/* --- MARQUEE TICKER --- */
.tp-marquee {
    overflow: hidden;
    background: #111;
    color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tp-marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.tp-marquee:hover .tp-marquee-track {
    animation-play-state: paused;
}

.tp-marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 32px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(255,255,255,0.7);
}

.tp-marquee-item strong {
    color: var(--accent);
}

.tp-marquee-sep {
    color: rgba(255,255,255,0.2);
}

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

body.dark-mode .tp-marquee {
    background: #0a0a0a;
}

/* --- STATS STRIP --- */
.tp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    padding: 0 4px;
}

.tp-stat {
    text-align: center;
    padding: 20px 12px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
}

.tp-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tp-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
}

.tp-stat-num .tp-accent { color: var(--accent); }

.tp-stat-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
}

body.dark-mode .tp-stat-num { color: #fff; }

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

/* --- SEARCH MODAL --- */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 10002;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 24px 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.search-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.search-modal-box {
    width: 100%;
    max-width: 640px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(-20px) scale(0.97);
    transition: transform 0.4s var(--ease-out-expo);
}

.search-modal.is-open .search-modal-box {
    transform: translateY(0) scale(1);
}

.search-modal-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.search-modal-input-wrap svg {
    flex-shrink: 0;
    color: #888;
}

.search-modal-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    background: transparent;
    color: #111;
}

.search-modal-input::placeholder { color: #bbb; }

.search-modal-hints {
    padding: 16px 24px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-modal-hint-label {
    width: 100%;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 4px;
}

.search-modal-hint {
    padding: 6px 14px;
    background: #f5f5f5;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    border: none;
    transition: background 0.2s, color 0.2s;
}

.search-modal-hint:hover {
    background: #111;
    color: #fff;
}

body.dark-mode .search-modal-box { background: #1a1a1a; }
body.dark-mode .search-modal-input { color: #fff; }
body.dark-mode .search-modal-input-wrap { border-color: rgba(255,255,255,0.08); }
body.dark-mode .search-modal-hint { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
body.dark-mode .search-modal-hint:hover { background: var(--accent); color: #111; }

/* --- ENHANCED BUTTONS --- */
#bento-load-more {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

#bento-load-more::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

#bento-load-more:hover::after {
    transform: translateX(100%);
}

#bento-load-more:hover {
    background: var(--accent);
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.bento-shop-all a {
    border-radius: 999px;
    letter-spacing: 0.12em;
    transition: all 0.3s var(--ease-out-expo);
}

.bento-shop-all a:hover {
    background: var(--accent);
    color: #111;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

/* --- PRODUCT BADGE --- */
.bento-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    padding: 4px 10px;
    background: var(--accent);
    color: #111;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
}

.bento-badge.is-hot {
    background: #ef4444;
    color: #fff;
}

/* --- ENHANCED FOOTER --- */
.footer-inner {
    gap: 40px;
}

.footer-links {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links-col {
    min-width: 150px;
}

.footer-links-col h4 {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 16px;
    color: #111;
}

.footer-links-col a {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
    transition: color 0.2s, transform 0.2s;
}

.footer-links-col a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

body.dark-mode .footer-links-col h4 { color: #fff; }
body.dark-mode .footer-links-col a { color: rgba(255,255,255,0.6); }
body.dark-mode .footer-links-col a:hover { color: var(--accent); }

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }
    
    .footer-links-col {
        text-align: center;
    }
}

.footer-newsletter {
    display: flex;
    gap: 8px;
    max-width: 360px;
    width: 100%;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.footer-newsletter input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.footer-newsletter button {
    padding: 12px 20px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.footer-newsletter button:hover {
    background: var(--accent);
    color: #111;
    transform: scale(1.05);
}

body.dark-mode .footer-newsletter input {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
    color: #fff;
}

body.dark-mode .footer-newsletter button {
    background: #fff;
    color: #111;
}

/* --- CURSOR GLOW (desktop) --- */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

body.has-cursor-glow .cursor-glow {
    opacity: 1;
}

/* --- MAGNETIC CARD EFFECT --- */
.magnetic-active {
    transition: transform 0.1s ease-out;
}

@media (max-width: 1024px) {
    .magnetic-active {
        transform: none !important;
    }
}

/* --- SECTION HEADING --- */
.tp-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 0 4px;
}

.tp-section-head h2 {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0;
}

.tp-section-head a {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    transition: color 0.2s;
}

.tp-section-head a:hover { color: var(--accent); }

/* --- HOMEPAGE ACTIONS SECTION --- */
.homepage-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    padding: 0 20px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    white-space: nowrap;
    min-width: 140px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.02em;
    background: var(--primary);
    color: white;
}

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

body.dark-mode .action-btn {
    background: white;
    color: var(--primary);
}

/* --- BANNER CLOSE BUTTON ENHANCEMENTS --- */
.banner-close {
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.banner-close:hover {
    transform: scale(1.05);
}

/* --- CONTAINER CLASS --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* --- FEATURED CATEGORIES SECTION --- */
.featured-categories-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-category-card {
    position: relative;
    padding: 40px 24px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
    box-shadow: var(--shadow-md);
}

.featured-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.featured-category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.featured-category-card:hover::before {
    opacity: 1;
}

.featured-category-content {
    position: relative;
    z-index: 1;
}

.featured-category-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.featured-category-count {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 500;
}

/* --- NEWSLETTER SECTION --- */
.newsletter-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a1a2e 100%);
    color: white;
}

.newsletter-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.newsletter-text {
    font-size: 1.125rem;
    opacity: 0.9;
    margin: 0 0 32px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: background 0.3s, border-color 0.3s;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
    border-color: var(--accent);
}

.newsletter-btn {
    padding: 16px 24px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(126, 211, 33, 0.4);
    background: #8ed42e;
}

/* --- SOCIAL PROOF SECTION --- */
.social-proof-section {
    padding: 60px 20px;
    background: white;
}

.social-proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--bg);
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-proof-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.social-proof-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.social-proof-text {
    display: flex;
    flex-direction: column;
}

.social-proof-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.social-proof-label {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

/* Dark Mode for New Sections */
body.dark-mode .featured-categories-section {
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

body.dark-mode .newsletter-section {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a2e 100%);
}

body.dark-mode .social-proof-section {
    background: #1a1a1a;
}

body.dark-mode .social-proof-item {
    background: #2a2a2a;
}

body.dark-mode .social-proof-number {
    color: var(--accent);
}

body.dark-mode .social-proof-label {
    color: rgba(255,255,255,0.7);
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    .bento-item,
    .banner-spot-hero,
    .tp-marquee-track,
    .announce-bar-dot {
        animation: none !important;
        transition: none !important;
    }
    .bento-item { opacity: 1; transform: none; }
}

/* --- PERFORMANCE OPTIMIZATIONS --- */
/* Contain layout for better paint performance */
.bento-item,
.spt-card,
.affc-card,
.footer-links-col,
.sidebar-menu-item {
    contain: layout;
}

/* GPU acceleration for animated elements */
.bento-item:hover,
.header-icon-btn:hover,
.action-btn:hover,
.quick-view-modal.is-open .quick-view-content {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Tablet responsive styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .bento-tall, .bento-wide {
        grid-column: span 2;
    }

    .bento-color-swatches {
        bottom: 55px;
    }

    .spt-tax-nav {
        top: 80px;
    }

    .tp-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .glassmorphic-overlay .glassmorphic-action-btn {
        width: 40px;
        height: 40px;
    }
}

/* Optimize font loading */
@font-face {
    font-display: swap;
}

/* Lazy loading placeholder support */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.lazy.loaded {
    opacity: 1;
}

/* Print styles */
@media print {
    .site-header,
    .announce-bar,
    .sidebar-menu,
    .wishlist-sidebar,
    .dark-mode-toggle,
    .header-icon-btn,
    .action-btn,
    .newsletter-section,
    .social-proof-section {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bento-grid {
        display: block;
    }
    
    .bento-item {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
}