/*
Theme Name: NNO
Theme URI: https://nno.lt
Description: Profesionali minimalistinė WooCommerce tema suaugusiųjų prekėms. Optimizuota konversijai su švariais spalviniais akcentais ir intuityviu dizainu.
Version: 1.0.0
Author: NNO
Author URI: https://nno.lt
Text Domain: nno
Domain Path: /languages
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, woocommerce, minimalist, clean, responsive, adults-only

NNO WordPress Theme, Copyright 2026
*/

/* ==========================================================================
   CSS RESET
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================================================
   DESIGN SYSTEM - Optimizuotos konversijai spalvos
   ========================================================================== */
:root {
    /* Pagrindinės spalvos - psichologiškai optimizuotos pardavimui */
    --color-primary: #1a1a1a;           /* Elegantiška juoda */
    --color-secondary: #D4AF37;         /* Auksinė - premium pojūtis */
    --color-accent: #E63946;            /* Ryški raudona - urgency & CTA */
    --color-magenta: #D946EF;           /* Magenta - sensual & premium */
    --color-magenta-dark: #C026D3;      /* Tamsesnė magenta */
    --color-pink: #EC4899;              /* Rožinė - playful & luxury */
    --color-success: #06D6A0;           /* Šviesi žalia - patvirtinimai */
    
    /* Neutralios spalvos */
    --color-text: #2d2d2d;
    --color-text-light: #6b6b6b;
    --color-text-muted: #9a9a9a;
    --color-border: #e5e5e5;
    --color-bg: #ffffff;
    --color-bg-light: #fafafa;
    --color-bg-dark: #f5f5f5;
    
    /* Šešėliai ir efektai */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.15);
    
    /* Radiusai */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Tarpai */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* Animacijos */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography - tobuli dydžiai skaitomumui */
    --font-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    
    --line-tight: 1.25;
    --line-normal: 1.5;
    --line-relaxed: 1.75;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-base);
    font-size: var(--text-base);
    line-height: var(--line-normal);
    color: var(--color-text);
    background-color: var(--color-bg-light);
}

/* Typography - naršyklių stiliai su tobulinimais */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--line-tight);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--space-md);
    line-height: var(--line-relaxed);
}

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

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) 0;
    gap: var(--space-xl);
}

/* Logo */
.site-logo {
    font-size: var(--text-2xl);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-logo a {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.site-logo a:hover {
    color: var(--color-secondary);
}

/* Navigation */
.main-nav {
    flex: 1;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-md);
    align-items: center;
}

.main-nav a {
    padding: var(--space-sm) var(--space-md);
    font-weight: 500;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    background: var(--color-bg-dark);
    color: var(--color-accent);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-icon {
    position: relative;
    padding: var(--space-sm);
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.header-icon:hover {
    color: var(--color-accent);
}

.header-icon svg {
    width: 24px;
    height: 24px;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-accent);
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--space-sm);
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    margin: 5px 0;
    transition: var(--transition-base);
}

/* ==========================================================================
   CATEGORY MEGA MENU
   ========================================================================== */
.category-nav {
    background: var(--color-bg-dark);
    border-bottom: 1px solid var(--color-border);
}

.category-menu {
    display: flex;
    list-style: none;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-menu > li {
    position: relative;
}

.category-menu > li > a {
    display: block;
    padding: var(--space-md) var(--space-lg);
    font-weight: 500;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.category-menu > li > a:hover {
    background: var(--color-bg);
    color: var(--color-accent);
}

/* ==========================================================================
   SHOP LAYOUT - Filtrai + Produktai
   ========================================================================== */
.shop-wrapper {
    padding: var(--space-2xl) 0;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-xl);
}

/* ==========================================================================
   FILTERS SIDEBAR
   ========================================================================== */
.filters-sidebar {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    height: fit-content;
    position: sticky;
    top: 120px;
    box-shadow: var(--shadow-sm);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-border);
}

.filters-header h3 {
    font-size: var(--text-lg);
    margin: 0;
}

.filters-reset {
    font-size: var(--text-sm);
    color: var(--color-accent);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

.filter-group {
    margin-bottom: var(--space-xl);
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.filter-toggle {
    font-size: var(--text-lg);
    transition: transform var(--transition-base);
}

.filter-group.collapsed .filter-toggle {
    transform: rotate(-90deg);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-accent);
}

.filter-option label {
    cursor: pointer;
    flex: 1;
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
}

.filter-count {
    color: var(--color-text-muted);
}

/* Price Range Filter */
.price-filter {
    margin-top: var(--space-md);
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-sm);
    align-items: center;
    margin-bottom: var(--space-md);
}

.price-inputs input {
    padding: var(--space-sm);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    text-align: center;
}

.price-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--radius-sm);
    background: var(--color-bg-dark);
    outline: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-accent);
    cursor: pointer;
}

/* Mobile Filter Toggle */
.mobile-filters-toggle {
    display: none;
    width: 100%;
    padding: var(--space-md);
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-base);
    cursor: pointer;
    margin-bottom: var(--space-lg);
}

/* ==========================================================================
   PRODUCTS GRID
   ========================================================================== */
.shop-main {
    min-width: 0;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-bg);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.results-count {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.shop-sorting {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.shop-sorting select {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: white;
    cursor: pointer;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-xl);
}

.product-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

/* Product Image */
.product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-bg-dark);
}

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

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

.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--color-accent);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.sale {
    background: var(--color-accent);
}

.product-badge.new {
    background: var(--color-success);
}

/* Quick View */
.quick-view {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
    transition: all var(--transition-base);
    padding: var(--space-sm) var(--space-lg);
    background: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-sm);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.product-card:hover .quick-view {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Product Info */
.product-info {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-xs);
}

.product-title {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    line-height: var(--line-tight);
}

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

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.stars {
    color: var(--color-secondary);
    font-size: var(--text-sm);
}

.rating-count {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.product-price {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-accent);
    margin-top: auto;
    margin-bottom: var(--space-md);
}

.product-price del {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    margin-right: var(--space-sm);
}

/* Add to Cart Button */
.add-to-cart {
    width: 100%;
    padding: var(--space-md);
    background: linear-gradient(135deg, var(--color-primary), #000);
    color: white;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-base);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-magenta), var(--color-pink));
    transition: left 0.3s ease;
    z-index: -1;
}

.add-to-cart:hover::before {
    left: 0;
}

.add-to-cart:hover {
    border-color: var(--color-magenta);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(217, 70, 239, 0.4);
}

.add-to-cart:active {
    transform: translateY(0);
}

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */
.single-product {
    padding: var(--space-2xl) 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    background: var(--color-bg);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-bg-dark);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
}

.thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition-fast);
}

.thumb:hover,
.thumb.active {
    border-color: var(--color-accent);
}

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

/* Product Summary */
.product-summary {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.product-title-single {
    font-size: var(--text-3xl);
    margin: 0;
}

.product-meta-top {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.product-price-single {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-accent);
}

.product-price-single del {
    font-size: var(--text-2xl);
    color: var(--color-text-muted);
    margin-right: var(--space-md);
}

.stock-status {
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
}

.stock-status.in-stock {
    background: #d4edda;
    color: #155724;
}

.stock-status.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

.product-description {
    line-height: var(--line-relaxed);
    color: var(--color-text-light);
}

/* Product Meta */
.product-meta-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--color-bg-dark);
    border-radius: var(--radius-md);
}

.meta-item {
    display: flex;
    font-size: var(--text-sm);
}

.meta-label {
    font-weight: 600;
    min-width: 120px;
}

.meta-value a {
    color: var(--color-accent);
}

/* Quantity Selector */
.quantity-cart-wrap {
    display: flex;
    gap: var(--space-md);
}

.quantity-selector {
    display: flex;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.qty-btn {
    width: 48px;
    height: 48px;
    background: var(--color-bg-dark);
    border: none;
    font-size: var(--text-xl);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.qty-btn:hover {
    background: var(--color-accent);
    color: white;
}

.qty-input {
    width: 80px;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: var(--text-lg);
    border-left: 2px solid var(--color-border);
    border-right: 2px solid var(--color-border);
}

.add-to-cart-single {
    flex: 1;
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--color-magenta), var(--color-magenta-dark));
    color: white;
    border: 2px solid var(--color-magenta);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: var(--text-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(217, 70, 239, 0.3);
    position: relative;
    overflow: hidden;
}

.add-to-cart-single::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.add-to-cart-single:hover::after {
    width: 300px;
    height: 300px;
}

.add-to-cart-single:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(217, 70, 239, 0.5);
}

/* ==========================================================================
   STICKY CART (Mobile)
   ========================================================================== */
.sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: var(--space-md);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.sticky-cart.visible {
    transform: translateY(0);
}

.sticky-cart-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    max-width: 600px;
    margin: 0 auto;
}

.sticky-cart-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.sticky-cart-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky-cart-info {
    flex: 1;
}

.sticky-cart-title {
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: 4px;
}

.sticky-cart-price {
    font-weight: 700;
    color: var(--color-accent);
}

.sticky-cart-btn {
    padding: var(--space-md) var(--space-xl);
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

/* ==========================================================================
   MY ACCOUNT PAGE
   ========================================================================== */
.account-wrapper {
    padding: var(--space-2xl) 0;
}

.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-xl);
}

/* Account Navigation */
.account-nav {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.account-nav h3 {
    margin-bottom: var(--space-md);
    font-size: var(--text-lg);
}

.account-nav ul {
    list-style: none;
}

.account-nav li {
    margin-bottom: var(--space-xs);
}

.account-nav a {
    display: block;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.account-nav a:hover,
.account-nav a.active {
    background: var(--color-accent);
    color: white;
}

/* Account Content */
.account-content {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
}

.account-content h2 {
    margin-bottom: var(--space-lg);
}

/* Orders Table */
.orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.orders-table th {
    background: var(--color-bg-dark);
    padding: var(--space-md);
    text-align: left;
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orders-table th:first-child {
    border-radius: var(--radius-md) 0 0 0;
}

.orders-table th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}

.orders-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.orders-table tr:hover {
    background: var(--color-bg-light);
}

.order-status {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.completed {
    background: #d4edda;
    color: #155724;
}

.order-status.processing {
    background: #fff3cd;
    color: #856404;
}

.order-status.pending {
    background: #f8d7da;
    color: #721c24;
}

/* ==========================================================================
   CART & CHECKOUT
   ========================================================================== */
.cart-wrapper,
.checkout-wrapper {
    padding: var(--space-2xl) 0;
}

.cart-table {
    width: 100%;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cart-totals {
    background: var(--color-bg);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-top: var(--space-lg);
}

.proceed-checkout {
    width: 100%;
    padding: var(--space-lg);
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: var(--text-lg);
    cursor: pointer;
    transition: all var(--transition-base);
}

.proceed-checkout:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--color-primary);
    color: white;
    padding: var(--space-3xl) 0 var(--space-lg);
    margin-top: var(--space-3xl);
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-widget h3 {
    color: white;
    margin-bottom: var(--space-md);
    font-size: var(--text-lg);
}

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

.footer-widget li {
    margin-bottom: var(--space-sm);
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-widget a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

/* ==========================================================================
   PAGE & POST TEMPLATES
   ========================================================================== */
.content-wrapper {
    padding: var(--space-2xl) 0;
}

.content-main {
    background: var(--color-bg);
    padding: var(--space-3xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.entry-header {
    margin-bottom: var(--space-2xl);
}

.entry-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
}

.entry-meta {
    display: flex;
    gap: var(--space-lg);
    color: var(--color-text-light);
    font-size: var(--text-sm);
}

.entry-content {
    font-size: var(--text-lg);
    line-height: var(--line-relaxed);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
}

.entry-content ul,
.entry-content ol {
    margin-left: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.entry-content li {
    margin-bottom: var(--space-sm);
}

.entry-content img {
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
}

.entry-content blockquote {
    padding: var(--space-lg);
    border-left: 4px solid var(--color-accent);
    background: var(--color-bg-dark);
    border-radius: var(--radius-md);
    margin: var(--space-xl) 0;
    font-style: italic;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        position: static;
        display: none;
    }
    
    .filters-sidebar.active {
        display: block;
    }
    
    .mobile-filters-toggle {
        display: block;
    }
    
    .account-layout {
        grid-template-columns: 1fr;
    }
    
    .product-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --text-4xl: 1.875rem;
        --text-3xl: 1.5rem;
        --text-2xl: 1.25rem;
    }
    
    .header-main {
        padding: var(--space-md) 0;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-lg);
        padding: var(--space-lg);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .content-main {
        padding: var(--space-lg);
    }
    
    .entry-content {
        font-size: var(--text-base);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .quantity-cart-wrap {
        flex-direction: column;
    }
    
    .quantity-selector {
        justify-content: center;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }

.loading {
    opacity: 0.5;
    pointer-events: none;
}

.hidden {
    display: none !important;
}

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

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ==========================================================================
   AGE VERIFICATION MODAL
   ========================================================================== */
#age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.age-verification-modal {
    background: linear-gradient(135deg, var(--color-primary) 0%, #000 100%);
    border: 2px solid var(--color-magenta);
    box-shadow: 0 0 60px rgba(217, 70, 239, 0.5), 0 20px 80px rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: modalEnter 0.5s ease-out;
}

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

.age-verification-modal h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(217, 70, 239, 0.5);
    background: linear-gradient(135deg, #fff, var(--color-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.age-verification-modal p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.age-verification-modal .btn {
    display: inline-block;
    padding: 16px 40px;
    margin: 0 10px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-verification-modal #age-confirm {
    background: linear-gradient(135deg, var(--color-magenta), var(--color-magenta-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(217, 70, 239, 0.4);
}

.age-verification-modal #age-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(217, 70, 239, 0.6);
}

.age-verification-modal .btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.age-verification-modal .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .age-verification-modal {
        padding: 40px 30px;
    }
    
    .age-verification-modal h2 {
        font-size: 24px;
    }
    
    .age-verification-modal p {
        font-size: 16px;
    }
    
    .age-verification-modal .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

/* ==========================================================================
   PRODUCT DELIVERY INFO BADGES
   ========================================================================== */
.product-delivery-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--color-bg-light), #fff);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--color-text);
    font-weight: 500;
    transition: all 0.3s ease;
}

.delivery-badge:hover {
    border-color: var(--color-magenta);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.delivery-badge svg,
.delivery-badge .dashicons {
    color: var(--color-magenta);
    font-size: 18px;
}

.delivery-badge.free-shipping {
    border-color: var(--color-success);
}

.delivery-badge.free-shipping svg,
.delivery-badge.free-shipping .dashicons {
    color: var(--color-success);
}

.delivery-badge.private-packaging {
    border-color: var(--color-magenta);
}

.delivery-badge.parcel-machine {
    border-color: var(--color-accent);
}

.delivery-badge.parcel-machine svg,
.delivery-badge.parcel-machine .dashicons {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .product-delivery-info {
        flex-direction: column;
    }
    
    .delivery-badge {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION (APP STYLE)
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(0, 0, 0, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(217, 70, 239, 0.3);
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3), 0 -1px 10px rgba(217, 70, 239, 0.2);
}

.mobile-bottom-nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-bottom-nav li {
    flex: 1;
    text-align: center;
}

.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-bottom-nav a:hover,
.mobile-bottom-nav a.active {
    color: var(--color-magenta);
}

.mobile-bottom-nav .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.mobile-bottom-nav a.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-magenta), var(--color-pink));
    border-radius: 0 0 3px 3px;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(217, 70, 239, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(217, 70, 239, 0.8);
    }
}

.mobile-bottom-nav .cart-count {
    position: absolute;
    top: 4px;
    right: 12px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-magenta));
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(217, 70, 239, 0.5);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }
    
    body {
        padding-bottom: 70px;
    }
}
