/*
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. v1.1.9.13 - Pašalintas sulūžęs quick-view komentaras (rodė "Peržiūra */?>" kiekvienoje kortelėje).
Version: 1.1.9.13
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: 14px;
    font-weight: 400;
    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: 16px;
	font-weight:400;
}

.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: block; /*pakeiciau is 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: auto;
    margin-bottom: 0px;
}

.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;
    }
}
/* Logo styles */
.site-logo {
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: inline-block;
}

.custom-logo {
    width: auto;
    height: auto;
    max-width: 60px; /* Adjust based on your needs */
    max-height: 60px; /* Keep equal for 1:1 ratio */
    object-fit: contain;
}

/* For custom logo support */
.has-custom-logo .custom-logo-link img {
    width: auto;
    height: auto;
    max-width: 60px;
    max-height: 60px;
}


/* Puslapiavimo konteineris */
.nno-pagination-container {
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center; /* Centruoja puslapiavimą */
}

/* Sąrašo stilius */
.nno-pagination-container ul.page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px; 
    flex-wrap: wrap;
}

.nno-pagination-container ul.page-numbers li {
    display: block;
}

.nno-pagination-container ul.page-numbers li a,
.nno-pagination-container ul.page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    text-decoration: none;
    color: #333;
    background: #f5f5f5;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}


.nno-pagination-container ul.page-numbers li span.current {
    background-color: #000;
    color: #fff;
    border-color: #000;
}


.nno-pagination-container ul.page-numbers li a:hover {
    background-color: #eee;
    border-color: #bbb;
    transform: translateY(-2px); 
}

.nno-pagination-container ul.page-numbers li a.prev,
.nno-pagination-container ul.page-numbers li a.next {
    font-size: 18px;
}
/* ==========================================================================
   PAGRINDINIAI KONTEINERIAI
   ========================================================================== */
.woocommerce-checkout .container-narrow, 
.woocommerce-cart .container-narrow {
    max-width: 1200px !important;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* ==========================================================================
   KREPŠELIS (CART) - VIENAS STULPELIS
   ========================================================================== */
.woocommerce-cart .entry-content {
    max-width: 100%;
    margin: 0 auto;
}

.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals {
    width: 100% !important;
    float: none !important;
    display: block;
}

.woocommerce-cart .cart-collaterals {
    margin-top: var(--space-2xl);
}

.woocommerce-cart .cart_totals {
    width: 100% !important;
    text-align: left;
    background: #f9fafb;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   APMOKĖJIMAS (CHECKOUT) - PROCENTINIS IŠDĖSTYMAS
   ========================================================================== */
@media (min-width: 992px) {
    form.checkout.woocommerce-checkout {
        display: flex;
        justify-content: space-between;
        align-items: start;
        gap: 0;
    }

    /* Kairė pusė: 60% ploto */
    /*.woocommerce-checkout .col2-set {
        flex: 0 0 60% !important;
        max-width: 60% !important;
    }

    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        flex: 0 0 35% !important;
        max-width: 35% !important;
    }*/

    #order_review {
        position: sticky;
        top: 100px;
        z-index: 10;
    }
}

/* ==========================================================================
   FORMOS IR LAUKELIAI (NNO STILIUS)
   ========================================================================== */
.woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4%;
}

.form-row-first, .form-row-last {
    flex: 0 0 48% !important;
    max-width: 48% !important;
}

.form-row-wide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.woocommerce-checkout .form-row input.input-text, 
.woocommerce-checkout .form-row textarea {
    width: 100% !important;
    padding: 14px !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-md) !important;
    background: #fff !important;
}

.woocommerce-checkout .form-row input.input-text:focus {
    border-color: var(--color-magenta) !important;
    outline: none;
}

/* ==========================================================================
   LENTELĖS IR MYGTUKAI
   ========================================================================== */
.woocommerce table.shop_table {
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) !important;
    border-collapse: separate !important;
    overflow: hidden;
}

.woocommerce table.shop_table th {
    background-color: #f9fafb;
    padding: 15px !important;
}
.woocommerce table.shop_table {width:100%;}
#order_review {
    background: #ffffff;
    padding: 0px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-magenta);
    box-shadow: var(--shadow-lg);
}

#place_order, .checkout-button {
    width: 100% !important;
    background: linear-gradient(135deg, var(--color-magenta), var(--color-magenta-dark)) !important;
    color: #fff !important;
    padding: 18px !important;
    border-radius: var(--radius-md) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

#place_order:hover, .checkout-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(217, 70, 239, 0.4) !important;
}

/* ==========================================================================
   MOBILUS PRAPAIŠYMAS
   ========================================================================== */
@media (max-width: 991px) {
    .woocommerce-checkout .col2-set,
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .form-row-first, .form-row-last {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}
h3#order_review_heading, .cart_totals h2, .cart_totals table {
    display: none!important;
}

/* ==========================================================================
   MODERN CART & CHECKOUT STYLES
   ========================================================================== */

/* Modern Cart Container */
.modern-cart-container,
.modern-checkout-container {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-light);
    min-height: 60vh;
}

.cart-title,
.checkout-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-2xl);
    text-align: center;
}

/* Cart Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: var(--space-3xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.empty-cart-icon {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.empty-cart h2 {
    font-size: var(--text-2xl);
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.empty-cart p {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

/* Cart Items */
.cart-items {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: var(--space-md);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    align-items: center;
}

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

.cart-item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.cart-item-name {
    font-weight: 600;
    color: var(--color-text);
}

.cart-item-name a {
    color: inherit;
    text-decoration: none;
}

.cart-item-name a:hover {
    color: var(--color-magenta);
}

.cart-item-price {
    font-weight: 600;
    color: var(--color-text);
}

.cart-item-quantity .qty {
    width: 60px;
    padding: var(--space-xs);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    text-align: center;
}

.cart-item-subtotal {
    font-weight: 700;
    color: var(--color-primary);
    font-size: var(--text-lg);
}

.cart-item-remove .remove-item {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-base);
}

.cart-item-remove .remove-item:hover {
    background: #c53030;
    transform: scale(1.1);
}

/* Cart Actions */
.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-top: var(--space-lg);
}

/* Cart Totals */
.cart-totals-section {
    display:none!important;
}

.cart-totals-sticky {
    position: sticky;
    top: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-xl);
}

.cart-totals-sticky h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.cart-totals > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.cart-totals > div:last-child {
    border-bottom: none;
}

.cart-total {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary);
    padding-top: var(--space-md);
    border-top: 2px solid var(--color-border);
    margin-top: var(--space-md);
}

.proceed-to-checkout {
    margin-top: var(--space-xl);
}

.proceed-to-checkout .btn {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-lg);
    font-weight: 600;
}

/* Checkout Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-2xl);
}

@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .checkout-order-review-section {
        order: -1;
    }
}

/* Checkout Fields */
.checkout-fields-section {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-xl);
}

.checkout-billing,
.checkout-shipping,
.checkout-additional {
    margin-bottom: var(--space-2xl);
}

.checkout-billing h3,
.checkout-shipping h3,
.checkout-additional h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

/* Checkout Order Review */
.checkout-order-review-section {
    position: relative;
}

.checkout-order-review-sticky {
    position: sticky;
    top: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-xl);
}

.checkout-order-review-sticky h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

/* Order Items */
.order-review-items {
    margin-bottom: var(--space-lg);
}

.order-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
    align-items: center;
}

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

.order-item-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.order-item-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: var(--text-sm);
}

.order-item-quantity {
    color: var(--color-text-light);
    font-size: var(--text-xs);
    margin-left: var(--space-xs);
}

.order-item-total {
    font-weight: 600;
    color: var(--color-primary);
}

/* Order Totals */
.order-review-totals > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.order-review-totals > div:last-child {
    border-bottom: none;
}

.order-total {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary);
    padding-top: var(--space-md);
    border-top: 2px solid var(--color-border);
    margin-top: var(--space-md);
}

/* Payment Methods */
.checkout-payment {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.checkout-payment h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

/* Form Styling */
.woocommerce-checkout .form-row {
    margin-bottom: var(--space-lg);
}

.woocommerce-checkout .form-row label {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    display: block;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: var(--transition-base);
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    outline: none;
    border-color: var(--color-magenta);
    box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: var(--space-sm);
    }
    
    .cart-item-quantity,
    .cart-item-subtotal,
    .cart-item-remove {
        grid-column: 1 / -1;
        justify-self: start;
        margin-top: var(--space-sm);
    }
    
    .cart-actions {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .order-item {
        grid-template-columns: 50px 1fr;
        gap: var(--space-sm);
    }
    
    .order-item-total {
        grid-column: 1 / -1;
        justify-self: end;
        margin-top: var(--space-xs);
    }
}

/* ==========================================================================
   MODERN AUTH PAGES (LOGIN/REGISTER)
   ========================================================================== */

.modern-auth-container {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, #f8fafc 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-wrapper {
    max-width: 480px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.auth-header {
    text-align: center;
    padding: var(--space-2xl) var(--space-xl) var(--space-lg);
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-magenta-dark) 100%);
    color: white;
}

.auth-header h1 {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.auth-header p {
    opacity: 0.9;
    font-size: var(--text-base);
}

.auth-forms {
    padding: var(--space-xl);
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: var(--space-xl);
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xs);
}

.auth-tab {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    background: none;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition-base);
}

.auth-tab.active {
    background: white;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.auth-tab:hover:not(.active) {
    color: var(--color-text);
}

/* Form Groups */
.auth-form-container .form-group {
    margin-bottom: var(--space-lg);
}

.auth-form-container label {
    display: block;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.auth-form-container .required {
    color: var(--color-accent);
}

.auth-form-container input[type="text"],
.auth-form-container input[type="email"],
.auth-form-container input[type="password"] {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: var(--transition-base);
    background: var(--color-bg);
}

.auth-form-container input:focus {
    outline: none;
    border-color: var(--color-magenta);
    background: white;
    box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.1);
}

/* Password Input */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.password-toggle:hover {
    color: var(--color-text);
    background: var(--color-bg-light);
}

/* Checkbox */
.auth-form-container input[type="checkbox"] {
    margin-right: var(--space-xs);
    accent-color: var(--color-magenta);
}

.woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    font-weight: normal;
    color: var(--color-text-light);
}

/* Buttons */
.auth-form-container .btn {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-lg);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.auth-form-container .btn-primary {
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-magenta-dark) 100%);
    border: none;
    color: white;
}

.auth-form-container .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.forgot-password {
    color: var(--color-magenta);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
}

.forgot-password:hover {
    color: var(--color-magenta-dark);
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modern-auth-container {
        padding: var(--space-xl) var(--space-md);
    }
    
    .auth-wrapper {
        margin: 0;
    }
    
    .auth-header {
        padding: var(--space-xl) var(--space-lg) var(--space-md);
    }
    
    .auth-header h1 {
        font-size: var(--text-2xl);
    }
    
    .auth-forms {
        padding: var(--space-lg);
    }
    
    .auth-tabs {
        margin-bottom: var(--space-lg);
    }
    
    .auth-tab {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--text-sm);
    }
}

/* ==========================================================================
   BUY TOGETHER FEATURE
   ========================================================================== */

.buy-together-section {
    margin: var(--space-3xl) 0;
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.buy-together-section h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.buy-together-discount {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding: var(--space-md);
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-magenta-dark) 100%);
    border-radius: var(--radius-md);
    color: white;
}

.discount-badge {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-right: var(--space-sm);
}

.discount-text {
    font-size: var(--text-base);
    opacity: 0.9;
}

.buy-together-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.buy-together-item {
    padding: var(--space-lg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
}

.buy-together-item:hover {
    border-color: var(--color-magenta);
    box-shadow: var(--shadow-md);
}

.buy-together-item.main-product {
    border-color: var(--color-magenta);
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.05) 0%, rgba(192, 38, 211, 0.05) 100%);
}

.product-checkbox {
    margin-bottom: var(--space-md);
}

.product-checkbox input[type="checkbox"] {
    margin-right: var(--space-xs);
    accent-color: var(--color-magenta);
    transform: scale(1.2);
}

.product-checkbox label {
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
}

.buy-together-item .product-image {
    margin-bottom: var(--space-md);
}

.buy-together-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin: 0 auto;
}

.product-details h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    line-height: var(--line-tight);
}

.product-details h4 a {
    color: inherit;
    text-decoration: none;
}

.product-details h4 a:hover {
    color: var(--color-magenta);
}

.product-details .product-price {
    font-weight: 700;
    color: var(--color-primary);
    font-size: var(--text-lg);
}

.buy-together-summary {
    padding: var(--space-lg);
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.total-price {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.total-price .label {
    font-weight: 600;
    color: var(--color-text);
    font-size: var(--text-lg);
}

.original-price {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text-light);
}

.discounted-price {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-magenta);
}

#add-bundle-to-cart {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-lg);
    font-weight: 600;
    white-space: nowrap;
}

#add-bundle-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .buy-together-products {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .buy-together-item {
        padding: var(--space-md);
    }
    
    .buy-together-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .total-price {
        justify-content: center;
    }
    
    #add-bundle-to-cart {
        width: 100%;
    }
}

/* ==========================================================================
   PROMOTIONAL FEATURES
   ========================================================================== */

/* Promo Notification on Product Pages */
.promo-notification {
    margin: var(--space-lg) 0;
    padding: var(--space-lg);
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.promo-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.promo-product-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.promo-message h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: #92400e;
    margin-bottom: var(--space-xs);
}

.promo-message p {
    color: #92400e;
    margin: 0;
    font-weight: 500;
}

/* Cart Promo Offer */
.cart-promo-offer {
    margin: var(--space-xl) 0;
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-magenta-dark) 100%);
    border-radius: var(--radius-lg);
    color: white;
    box-shadow: var(--shadow-lg);
}

.promo-offer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-lg);
    align-items: center;
}

.promo-offer-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.promo-offer-details h4 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: white;
}

.promo-offer-details p {
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

.promo-offer-price {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.promo-offer-price .original-price {
    opacity: 0.7;
    font-size: var(--text-sm);
}

.promo-offer-price .promo-price {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: #fbbf24;
}

.promo-offer-action .btn {
    background: white;
    color: var(--color-magenta);
    border: none;
    padding: var(--space-md) var(--space-xl);
    font-weight: 700;
    transition: var(--transition-base);
}

.promo-offer-action .btn:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Cart Threshold Popup */
.cart-threshold-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.popup-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-content h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.popup-content p {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.popup-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.popup-actions .btn {
    padding: var(--space-md) var(--space-xl);
    font-weight: 600;
    min-width: 140px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .promo-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .promo-offer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-md);
    }
    
    .promo-offer-price {
        justify-content: center;
    }
    
    .popup-content {
        padding: var(--space-xl);
        margin: var(--space-md);
    }
    
    .popup-actions {
        flex-direction: column;
    }
    
    .popup-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */

#nno-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    max-width: 400px;
}

.nno-toast {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 4px solid var(--color-border);
}

.nno-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.nno-toast-success {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

.nno-toast-error {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fef1f1 100%);
}

.nno-toast-info {
    border-left-color: var(--color-magenta);
    background: linear-gradient(135deg, #fdf4ff 0%, #faf5ff 100%);
}

.toast-message {
    flex: 1;
    font-weight: 500;
    color: var(--color-text);
}

.nno-toast-success .toast-message {
    color: #065f46;
}

.nno-toast-error .toast-message {
    color: #991b1b;
}

.toast-close {
    background: none;
    border: none;
    font-size: var(--text-xl);
    color: var(--color-text-light);
    cursor: pointer;
    padding: 0;
    margin-left: var(--space-md);
    line-height: 1;
    transition: var(--transition-base);
}

.toast-close:hover {
    color: var(--color-text);
}

/* Mobile responsive */
@media (max-width: 768px) {
    #nno-toast-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .nno-toast {
        padding: var(--space-sm) var(--space-md);
    }
}

/* ==========================================================================
   SEARCH OVERLAY
   ========================================================================== */

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.search-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
	margin: 20% auto;
}

.search-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: none;
    border: none;
    font-size: var(--text-2xl);
    color: var(--color-text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.search-close:hover {
    background: var(--color-bg-light);
    color: var(--color-text);
}

.search-form {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.search-field {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-lg);
    transition: var(--transition-base);
}

.search-field:focus {
    outline: none;
    border-color: var(--color-magenta);
    box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.1);
}

.search-submit {
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-magenta-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

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

/* Search Results */
.search-results {
    margin-top: var(--space-xl);
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition-base);
}

.search-result-item:hover {
    background: var(--color-bg-light);
}

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

.search-result-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.search-result-content h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.search-result-content .price {
    color: var(--color-magenta);
    font-weight: 700;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .search-container {
        margin: var(--space-md);
        padding: var(--space-lg);
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-submit {
        width: 100%;
    }
}

/* ==========================================================================
   MODERN CART & CHECKOUT
   ========================================================================== */

.modern-cart-container,
.modern-checkout-container {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-light);
    min-height: 60vh;
}

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

.cart-title,
.checkout-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-text);
}

/* Cart Layout */
.cart-layout {
    display: block;
    grid-template-columns: 1fr 400px;
    gap: var(--space-2xl);
    align-items: start;
}

.cart-items-section {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
}

.cart-totals-section {
    position: sticky;
    top: var(--space-xl);
}

.cart-totals-sticky {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--color-border);
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.empty-cart-icon {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.empty-cart h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.empty-cart p {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

/* Cart Items */
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border);
}

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

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

.cart-item-details {
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.cart-item-name a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition-base);
}

.cart-item-name a:hover {
    color: var(--color-magenta);
}

.cart-item-price {
    font-weight: 700;
    color: var(--color-magenta);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.cart-item-quantity .qty {
    width: 60px;
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
}

.cart-item-subtotal {
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--color-text);
}

.cart-item-remove {
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--color-bg-light);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: var(--text-lg);
    transition: var(--transition-base);
}

.remove-item:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Cart Actions */
.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

/* Cart Totals */
.cart-totals-sticky h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.cart-totals > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.cart-totals > div:last-child {
    border-bottom: none;
}

.cart-total {
    font-size: var(--text-lg);
    font-weight: 700;
    padding-top: var(--space-lg) !important;
    border-top: 2px solid var(--color-border) !important;
    margin-top: var(--space-md);
}

.cart-total .value {
    color: var(--color-magenta);
    font-size: var(--text-xl);
}

.proceed-to-checkout {
    margin-top: var(--space-xl);
}

.btn-large {
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--text-lg);
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .cart-totals-section {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .container-narrow {
        padding: 0 var(--space-md);
    }
    
    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: var(--space-md);
        padding: var(--space-md) 0;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    
    .cart-item-quantity,
    .cart-item-subtotal,
    .cart-item-remove {
        grid-column: 2;
        justify-self: end;
        margin-top: var(--space-sm);
    }
    
    .cart-item-details {
        grid-column: 2;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .cart-actions-left,
    .cart-actions-right {
        width: 100%;
    }
    
    .cart-items-section,
    .cart-totals-sticky {
        padding: var(--space-lg);
    }
}

/* ==========================================================================
   CHECKOUT STYLING
   ========================================================================== */

.checkout-layout {
    display: block;
    grid-template-columns: 1fr 400px;
    gap: var(--space-2xl);
    align-items: start;
}

.checkout-fields-section {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
}
/*
.checkout-order-review-section {
    position: sticky;
    top: var(--space-xl);
}*/
/*
.checkout-order-review-sticky {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--color-border);
}*/

.checkout-billing,
.checkout-shipping,
.checkout-additional {
    margin-bottom: var(--space-2xl);
}

.checkout-billing h3,
.checkout-shipping h3,
.checkout-additional h3,
.checkout-order-review-sticky h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-border);
}

/* Form Fields */
.woocommerce-checkout .form-row {
    margin-bottom: var(--space-lg);
}

.woocommerce-checkout .form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.woocommerce-checkout .form-row .required {
    color: #dc2626;
}

.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="password"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: var(--transition-base);
    background: white;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    outline: none;
    border-color: var(--color-magenta);
    box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.1);
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: calc(50% - var(--space-sm));
    float: left;
}

.woocommerce-checkout .form-row-last {
    float: right;
}

.woocommerce-checkout .form-row-wide {
    clear: both;
}

/* Order Review Items */
.order-review-items {
    margin-bottom: var(--space-xl);
}

.order-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

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

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

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

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

.order-item-name {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.order-item-quantity {
    color: var(--color-text-light);
    font-weight: normal;
}

.order-item-total {
    font-weight: 700;
    color: var(--color-magenta);
}

/* Order Totals */
.order-review-totals > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.order-review-totals > div:last-child {
    border-bottom: none;
}

.order-total {
    font-size: var(--text-lg);
    font-weight: 700;
    padding-top: var(--space-lg) !important;
    border-top: 2px solid var(--color-border) !important;
    margin-top: var(--space-md);
}

.order-total .value {
    color: var(--color-magenta);
    font-size: var(--text-xl);
}

/* Payment Methods */
.checkout-payment {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 2px solid var(--color-border);
}

.checkout-payment h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

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

.wc_payment_method {
    margin-bottom: var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.wc_payment_method input[type="radio"] {
    display: none;
}

.wc_payment_method label {
    display: block;
    padding: 0px;
    cursor: pointer;
    transition: var(--transition-base);
    font-weight: 600;
}

.wc_payment_method:hover label {
    background: var(--color-bg-light);
}

.wc_payment_method input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #fdf4ff 0%, #faf5ff 100%);
    border-color: var(--color-magenta);
    color: var(--color-magenta);
}

.payment_box {
    padding: var(--space-lg);
    background: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
}

#place_order {
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--text-lg);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-magenta-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    margin-top: var(--space-lg);
}

#place_order:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

#place_order:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .checkout-order-review-section {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .checkout-fields-section,
    .checkout-order-review-sticky {
        padding: var(--space-lg);
    }
    
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100%;
        float: none;
        margin-bottom: var(--space-lg);
    }
    
    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    
    .order-item-image {
        width: 50px;
        height: 50px;
    }
}

/* ==========================================================================
   MODERN AUTHENTICATION
   ========================================================================== */

.modern-auth-container {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, #fdf4ff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-wrapper {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.auth-header {
    text-align: center;
    padding: var(--space-2xl) var(--space-2xl) var(--space-xl);
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-magenta-dark) 100%);
    color: white;
}

.auth-header h1 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.auth-header p {
    opacity: 0.9;
    font-size: var(--text-base);
}

.auth-forms {
    padding: var(--space-2xl);
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: var(--space-xl);
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xs);
}

.auth-tab {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    background: none;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    color: var(--color-text-light);
}

.auth-tab.active {
    background: white;
    color: var(--color-magenta);
    box-shadow: var(--shadow-sm);
}

.auth-tab:hover:not(.active) {
    color: var(--color-text);
}

/* Form Groups */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.form-group .required {
    color: #dc2626;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: var(--transition-base);
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-magenta);
    box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.1);
}

/* Password Input */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.password-toggle:hover {
    color: var(--color-text);
    background: var(--color-bg-light);
}

/* Checkbox */
.woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: normal !important;
}

.woocommerce-form__input-checkbox {
    width: auto !important;
    margin: 0 !important;
    accent-color: var(--color-magenta);
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.forgot-password {
    color: var(--color-magenta);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Button Styling */
.auth-forms .btn-large {
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-top: var(--space-md);
}

/* Error Messages */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    margin-bottom: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid;
}

.woocommerce-error {
	position:fixed;
	 z-index: 99999;
    bottom: 160px;
    left: 10%;
    background: #fef2f2;
    border-left-color: #dc2626;
    color: #991b1b;
}

.woocommerce-message {
    background: #ecfdf5;
    border-left-color: #10b981;
    color: #065f46;
}

.woocommerce-info {
    background: #eff6ff;
    border-left-color: #3b82f6;
    color: #1e40af;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modern-auth-container {
        padding: var(--space-xl) 0;
    }
    
    .auth-wrapper {
        margin: 0 var(--space-md);
        max-width: none;
    }
    
    .auth-header,
    .auth-forms {
        padding: var(--space-lg);
    }
    
    .auth-tabs {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .auth-tab {
        text-align: center;
    }
}


/* ==========================================================================
   PROMOTIONAL FEATURES
   ========================================================================== */

/* Promo Notification on Product Page */
.promo-notification {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    box-shadow: var(--shadow-sm);
}

.promo-content {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.promo-product-image {
    flex-shrink: 0;
}

.promo-product-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.promo-details h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: #92400e;
    margin-bottom: var(--space-xs);
}

.promo-details p {
    color: #78350f;
    margin-bottom: var(--space-sm);
}

.promo-product-name {
    font-weight: 600;
    color: #451a03;
    font-size: var(--text-sm);
}

/* Promo Offer Banner */
.promo-offer-banner {
    position: fixed;
    bottom: var(--space-lg);
    left: var(--space-lg);
    right: var(--space-lg);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--color-magenta);
    z-index: 9999;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.promo-banner-content {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    position: relative;
}

.promo-banner-image {
    flex-shrink: 0;
}

.promo-banner-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.promo-banner-text {
    flex: 1;
    min-width: 0;
}

.promo-banner-text h4 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.promo-banner-text p {
    color: var(--color-text-light);
    font-size: var(--text-base);
}

.promo-banner-action {
    flex-shrink: 0;
}

.promo-banner-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    font-size: var(--text-xl);
    color: var(--color-text-light);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.promo-banner-close:hover {
    background: var(--color-bg-light);
    color: var(--color-text);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .promo-notification {
        padding: var(--space-md);
    }
    
    .promo-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .promo-offer-banner {
        left: var(--space-md);
        right: var(--space-md);
        bottom: var(--space-md);
    }
    
    .promo-banner-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
        padding: var(--space-md);
    }
    
    .promo-banner-text h4 {
        font-size: var(--text-lg);
    }
    
    .promo-banner-action {
        width: 100%;
    }
    
    .promo-banner-action .btn {
        width: 100%;
    }
}
.order-shipping span.label {
    display: none;
}


/* 1. Padarome, kad "Pristatymas" blokas būtų per visą plotį (vienas stulpelis) */
#order_review table.shop_table tr.shipping {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

/* 2. Nuimame numatytąjį stulpelių plotį */
#order_review table.shop_table tr.shipping th, 
#order_review table.shop_table tr.shipping td {
    display: block;
    width: 100% !important;
    text-align: left !important;
    padding: 5px 0 !important;
    border: none !important;
}

/* 3. Antraštė "Pristatymas" */
#order_review table.shop_table tr.shipping th {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
    color: #333;
}

/* 4. Pristatymo metodų sąrašas kaip GRID */
#shipping_method {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Automatinis tinklelis */
    gap: 10px;
    margin: 10px 0;
    list-style: none !important;
    padding: 0 !important;
}

/* 5. Kiekvieno pasirinkimo stilius (kvadratėlis/kortelė) */
#shipping_method li {
    margin: 0 !important;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

#shipping_method li:hover {
    border-color: #000;
    background: #fff;
}

/* 6. Sutvarkome radio mygtukus ir tekstą viduje */
#shipping_method li input[type="radio"] {
    margin-right: 10px;
    flex-shrink: 0;
}

#shipping_method li label {
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    margin-bottom: 0;
    display: block;
    width: 100%;
}

/* Paslepia "Pristatymo parinktys" tekstą, jei WooCommerce jį įterpia papildomai */
.woocommerce-shipping-totals-title {
    display: none;
}
/* Remove the problematic CSS that hides category submenus */
/* ul.category-submenu {
    display: none!important;
} */

/* ==========================================================================
   ARCHIVE & PAGINATION FIXES
   ========================================================================== */

/* Ensure products display properly */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.products-grid .product {
    width: 100%;
    margin: 0;
}

/* Pagination styling */
.nno-pagination-container {
    margin: 40px 0;
    text-align: center;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-numbers li {
    margin: 0;
}

.page-numbers a,
.page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-numbers a:hover {
    background: var(--color-magenta);
    color: white;
    border-color: var(--color-magenta);
    transform: translateY(-1px);
}

.page-numbers .current {
    background: var(--color-magenta);
    color: white;
    border-color: var(--color-magenta);
}

.page-numbers .dots {
    background: transparent;
    border: none;
    color: #999;
}

/* Mobile pagination */
@media (max-width: 768px) {
    .page-numbers {
        gap: 4px;
    }
    
    .page-numbers a,
    .page-numbers span {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }
}

/* ==========================================================================
   MOBILE OPTIMIZED CART & CHECKOUT
   ========================================================================== */

/* Cart Mobile Optimization */
@media (max-width: 768px) {
    .modern-cart-container {
        padding: var(--space-sm);
    }
    
    .cart-layout {
        display: block !important;
        gap: 0;
    }
    
    .cart-items-section {
        margin-bottom: var(--space-xl);
    }
    
    .cart-item {
        display: grid !important;
        grid-template-columns: 80px 1fr auto;
        grid-template-rows: auto auto auto;
        grid-template-areas: 
            "image details remove"
            "image quantity quantity"
            "image subtotal subtotal";
        gap: var(--space-sm);
        padding: var(--space-md);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        margin-bottom: var(--space-md);
        background: var(--color-bg);
    }
    
    .cart-item-image {
        grid-area: image;
        width: 80px;
        height: 80px;
        overflow: hidden;
        border-radius: var(--radius-sm);
    }
    
    .cart-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .cart-item-details {
        grid-area: details;
        min-width: 0;
    }
    
    .cart-item-name {
        font-size: var(--text-sm);
        font-weight: 600;
        line-height: var(--line-tight);
        margin-bottom: var(--space-xs);
    }
    
    .cart-item-name a {
        color: var(--color-text);
        text-decoration: none;
    }
    
    .cart-item-price {
        font-size: var(--text-sm);
        color: var(--color-text-light);
    }
    
    .cart-item-quantity {
        grid-area: quantity;
        display: flex;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .cart-item-quantity .quantity {
        display: flex;
        align-items: center;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-sm);
        overflow: hidden;
        background: var(--color-bg);
    }
    
    .cart-item-quantity .qty {
        width: 60px;
        height: 40px;
        text-align: center;
        border: none;
        background: transparent;
        font-size: var(--text-sm);
    }
    
    .cart-item-quantity .qty-btn {
        width: 40px;
        height: 40px;
        border: none;
        background: var(--color-bg-dark);
        color: var(--color-text);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        transition: background var(--transition-fast);
    }
    
    .cart-item-quantity .qty-btn:hover {
        background: var(--color-border);
    }
    
    .cart-item-subtotal {
        grid-area: subtotal;
        font-weight: 600;
        font-size: var(--text-lg);
        color: var(--color-magenta);
        text-align: right;
    }
    
    .cart-item-remove {
        grid-area: remove;
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
    }
    
    .cart-item-remove .remove-item {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: var(--color-accent);
        color: white;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: bold;
        transition: all var(--transition-fast);
    }
    
    .cart-item-remove .remove-item:hover {
        background: #c53030;
        transform: scale(1.1);
    }
    
    .cart-actions {
        display: flex;
        flex-direction: column;
        gap: var(--space-md);
        margin-top: var(--space-lg);
    }
    
    .cart-actions-left,
    .cart-actions-right {
        width: 100%;
    }
    
    .cart-totals-section {
        position: static !important;
        width: 100%;
        margin-top: var(--space-xl);
    }
    
    .cart-totals-sticky {
        position: static !important;
        background: var(--color-bg-light);
        border-radius: var(--radius-lg);
        padding: var(--space-lg);
        box-shadow: var(--shadow-md);
    }
}

/* Checkout Mobile Optimization */
@media (max-width: 768px) {
    .modern-checkout-container {
        padding: var(--space-sm);
    }
    
    .checkout-layout {
        display: block !important;
        gap: 0;
    }
    
    .checkout-fields-section {
        margin-bottom: var(--space-xl);
    }
    
    .checkout-customer-details {
        display: block !important;
        gap: 0;
    }
    
    .checkout-billing,
    .checkout-shipping {
        margin-bottom: var(--space-lg);
    }
    
    .checkout-billing h3,
    .checkout-shipping h3,
    .checkout-additional h3 {
        font-size: var(--text-xl);
        margin-bottom: var(--space-md);
        padding-bottom: var(--space-sm);
        border-bottom: 2px solid var(--color-magenta);
        color: var(--color-text);
    }
    
    /* Form fields mobile optimization */
    .woocommerce-input-wrapper {
        position: relative;
    }
    
    .form-row {
        margin-bottom: var(--space-md) !important;
    }
    
    .form-row label {
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: var(--space-xs);
        display: block;
        font-size: var(--text-sm);
    }
    
    .form-row input[type="text"],
    .form-row input[type="email"],
    .form-row input[type="tel"],
    .form-row input[type="password"],
    .form-row select,
    .form-row textarea {
        width: 100% !important;
        height: 48px;
        padding: 0 var(--space-md);
        border: 2px solid var(--color-border);
        border-radius: var(--radius-md);
        font-size: var(--text-base);
        background: var(--color-bg);
        transition: border-color var(--transition-fast);
    }
    
    .form-row textarea {
        height: auto;
        min-height: 80px;
        padding: var(--space-md);
        resize: vertical;
    }
    
    .form-row input:focus,
    .form-row select:focus,
    .form-row textarea:focus {
        outline: none;
        border-color: var(--color-magenta);
        box-shadow: 0 0 0 3px rgba(212, 70, 239, 0.1);
    }
    
    .form-row.validate-required label::after {
        content: " *";
        color: var(--color-accent);
        font-weight: bold;
    }
    
    /* Two column fields on mobile */
    .form-row-first,
    .form-row-last {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
    }
    
    /* Checkbox and radio styling */
    .form-row input[type="checkbox"],
    .form-row input[type="radio"] {
        width: auto !important;
        height: auto !important;
        margin-right: var(--space-sm);
        transform: scale(1.2);
        accent-color: var(--color-magenta);
    }
    
    .checkout-order-review-section {
        position: static !important;
        width: 100%;
    }
    
    .checkout-order-review-sticky {
        position: static !important;
        background: var(--color-bg-light);
        border-radius: var(--radius-lg);
        padding: var(--space-lg);
        box-shadow: var(--shadow-md);
    }
    
    /* Order review table mobile */
    .woocommerce-checkout-review-order-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: var(--space-lg);
    }
    
    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td {
        padding: var(--space-sm);
        border-bottom: 1px solid var(--color-border);
        text-align: left;
        font-size: var(--text-sm);
    }
    
    .woocommerce-checkout-review-order-table .product-name {
        font-weight: 600;
    }
    
    .woocommerce-checkout-review-order-table .product-total {
        text-align: right;
        font-weight: 600;
        color: var(--color-magenta);
    }
    
    /* Payment methods mobile */
    .wc_payment_methods {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .wc_payment_method {
        margin-bottom: var(--space-sm) !important;
        border: 2px solid var(--color-border);
        border-radius: var(--radius-md);
        overflow: hidden;
        background: var(--color-bg);
    }
    
    .wc_payment_method input[type="radio"] {
        display: none;
    }
    
    .wc_payment_method label {
        display: block;
        padding: var(--space-md);
        cursor: pointer;
        font-weight: 600;
        transition: all var(--transition-fast);
        position: relative;
    }
    
    .wc_payment_method label::before {
        content: "";
        width: 20px;
        height: 20px;
        border: 2px solid var(--color-border);
        border-radius: 50%;
        position: absolute;
        right: var(--space-md);
        top: 50%;
        transform: translateY(-50%);
        background: var(--color-bg);
    }
    
    .wc_payment_method input[type="radio"]:checked + label {
        background: rgba(212, 70, 239, 0.1);
        border-color: var(--color-magenta);
    }
    
    .wc_payment_method input[type="radio"]:checked + label::before {
        background: var(--color-magenta);
        border-color: var(--color-magenta);
    }
    
    .wc_payment_method input[type="radio"]:checked + label::after {
        content: "✓";
        position: absolute;
        right: calc(var(--space-md) + 4px);
        top: 50%;
        transform: translateY(-50%);
        color: white;
        font-size: 12px;
        font-weight: bold;
    }
    
    .payment_box {
        padding: var(--space-md);
        background: var(--color-bg-light);
        border-top: 1px solid var(--color-border);
        font-size: var(--text-sm);
        line-height: var(--line-normal);
    }
    
    /* Place order button */
    #place_order {
        width: 100% !important;
        height: 56px;
        background: linear-gradient(135deg, var(--color-magenta), var(--color-magenta-dark));
        color: white;
        border: none;
        border-radius: var(--radius-md);
        font-size: var(--text-lg);
        font-weight: 600;
        cursor: pointer;
        transition: all var(--transition-fast);
        margin-top: var(--space-lg);
        box-shadow: var(--shadow-md);
    }
    
    #place_order:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }
    
    #place_order:active {
        transform: translateY(0);
    }
    
    /* Loading state */
    #place_order.loading {
        opacity: 0.7;
        cursor: not-allowed;
        pointer-events: none;
    }
    
    #place_order.loading::after {
        content: "";
        width: 20px;
        height: 20px;
        border: 2px solid transparent;
        border-top: 2px solid white;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        display: inline-block;
        margin-left: var(--space-sm);
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .cart-item {
        grid-template-columns: 60px 1fr auto;
        padding: var(--space-sm);
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    
    .cart-item-name {
        font-size: var(--text-xs);
    }
    
    .cart-item-quantity .qty {
        width: 50px;
        height: 36px;
    }
    
    .cart-item-quantity .qty-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .checkout-title,
    .cart-title {
        font-size: var(--text-2xl);
        text-align: center;
        margin-bottom: var(--space-lg);
    }
    
    .form-row input[type="text"],
    .form-row input[type="email"],
    .form-row input[type="tel"],
    .form-row input[type="password"],
    .form-row select {
        height: 44px;
        font-size: var(--text-sm);
    }
}

/* ==========================================================================
   FIXED HEADER & MENU - COMPATIBLE WITH EXISTING STRUCTURE
   ========================================================================== */

/* Header improvements without breaking existing layout */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Ensure header layout doesn't conflict */
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    position: relative;
}

/* Logo styling without conflicts */
.site-logo img {
    transition: transform 0.3s ease;
	object-fit:contain;
}

.site-logo:hover img {
    transform: scale(1.02);
}

/* Main navigation - keep existing positioning */
.main-nav {
    /* Remove absolute positioning that caused conflicts */
    position: static;
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--color-magenta);
    background: rgba(212, 70, 239, 0.08);
}

/* Current page indicator */
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    color: var(--color-magenta);
    background: rgba(212, 70, 239, 0.1);
    font-weight: 600;
}

/* Header actions - ensure proper spacing */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

.header-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.header-icon:hover {
    background: rgba(212, 70, 239, 0.1);
    color: var(--color-magenta);
}

/* Cart count styling */
.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

/* Mobile menu toggle - ensure it doesn't conflict */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--color-text);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle:hover {
    background: rgba(212, 70, 239, 0.1);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Category Navigation - Simple Horizontal Scroll */
.category-nav {
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0;
    position: relative;
}

.category-nav::before {
    content: "← Slinkite horizontaliai →";
    position: absolute;
    top: 5px;
    right: 20px;
    font-size: 11px;
    color: #999;
    font-style: italic;
}

.category-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-magenta) #f1f1f1;
    scroll-behavior: smooth;
}

/* Beautiful pink scrollbar */
.category-menu::-webkit-scrollbar {
    height: 8px;
}

.category-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.category-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--color-magenta), #e879f9);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(212, 70, 239, 0.3);
}

.category-menu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #c026d3, var(--color-magenta));
    box-shadow: 0 2px 8px rgba(212, 70, 239, 0.5);
}

.category-item {
    flex-shrink: 0;
    position: relative;
}

.category-link {
    display: block;
    padding: 12px 20px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    min-width: 120px;
    text-align: center;
}

.category-link:hover {
    background: var(--color-magenta);
    color: white;
    border-color: var(--color-magenta);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 70, 239, 0.3);
}

.category-count {
    font-size: 12px;
    opacity: 0.8;
    margin-left: 5px;
}

/* Filters Sidebar Styling */
.filters-sidebar {
    background: white;
    border-right: 1px solid #e5e5e5;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 25px;
    overflow: hidden;
}

.filter-title {
    background: #f8f9fa;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    transition: background 0.3s ease;
}

.filter-title:hover {
    background: #f0f0f0;
}

.filter-toggle {
    color: var(--color-magenta);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.filter-group.expanded .filter-toggle {
    transform: rotate(180deg);
}

.filter-options {
    padding: 0px;
    background: white;
}

.filter-group.expanded .filter-options {
    display: block;
}

.filter-option {
    display: flex;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.filter-option:hover {
    color: var(--color-magenta);
}

.filter-option input[type="checkbox"] {
    margin-right: 10px;
    accent-color: var(--color-magenta);
}

.filter-option-level-1 {
    padding-left: 10px;
    font-size: 14px;
    color: #666;
}

.filter-option-level-2 {
    padding-left: 20px;
    font-size: 13px;
    color: #888;
}

/* Mobile filters */
.mobile-filters-toggle {
    display: none;
    background: var(--color-magenta);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    align-items: center;
    gap: 8px;
}

.mobile-filters-toggle svg {
    width: 18px;
    height: 18px;
}

/* Mobile category navigation */
@media (max-width: 768px) {
    .category-nav::before {
        content: "👈 Slinkite";
        top: 3px;
        right: 15px;
        font-size: 10px;
        background: rgba(212, 70, 239, 0.1);
        padding: 2px 6px;
        border-radius: 4px;
        color: var(--color-magenta);
    }
    
    .category-menu {
        padding: 0 15px;
        gap: 12px;
    }
    
    .category-link {
        min-width: 100px;
        padding: 10px 15px;
        font-size: 13px;
    }
    
    /* Mobile filters sidebar */
    .mobile-filters-toggle {
        display: flex;
    }
    
    .filters-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        z-index: 1500;
        overflow-y: auto;
        transition: left 0.3s ease;
        padding-top: 80px;
    }
    
    .filters-sidebar.active {
        left: 0;
    }
    
    /*body.filters-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1400;
        backdrop-filter: blur(3px);*/
    }
}

/* Search Overlay - Fixed */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}



.search-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: var(--color-accent);
    color: white;
}

.search-form {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.search-field {
    flex: 1;
    height: 50px;
    padding: 0 20px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    transition: border-color 0.3s ease;
}

.search-field:focus {
    outline: none;
    border-color: var(--color-magenta);
    box-shadow: 0 0 0 3px rgba(212, 70, 239, 0.1);
}

.search-submit {
    height: 50px;
    padding: 0 30px;
    background: linear-gradient(135deg, var(--color-magenta), #c026d3);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(212, 70, 239, 0.4);
}

/* Mobile Responsive Menu - Fixed */
@media (max-width: 1024px) {
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease;
        padding: 80px 20px 20px;
        overflow-y: auto;
        z-index: 1500;
        justify-content: flex-start;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
    }
    
    .main-nav a {
        padding: 15px 20px;
        border-radius: 8px;
        font-size: 16px;
        display: block;
        width: 100%;
        text-align: left;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1600;
    }
    
    /* Mobile menu overlay */
  /*  body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1400;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }*/
}

@media (max-width: 768px) {
    .header-main {
        padding: var(--space-sm) 0;
        min-height: 70px;
    }
    
    .site-logo img {
        height: 40px;
    }
    
    .header-actions {
        gap: var(--space-sm);
    }
    
    .header-icon {
        width: 40px;
        height: 40px;
    }
    
    .header-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .search-container {
        width: 95%;
        padding: var(--space-lg);
    }
    
    .search-field {
        height: 48px;
        font-size: var(--text-base);
    }
    
    .search-submit {
        height: 48px;
        padding: 0 var(--space-lg);
    }
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-magenta);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Accessibility */
.header-icon:focus,
.mobile-menu-toggle:focus,
.search-submit:focus,
.main-nav a:focus {
    outline: 2px solid var(--color-magenta);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .site-header {
        background: white;
        border-bottom: 2px solid black;
    }
    
    .header-icon:hover {
        background: black;
        color: white;
    }
}

/* Body states - consolidated */
body.menu-open {
    overflow: hidden;
}
/* Product Grid Fix for Archive Pages */
.products-grid,
ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.products-grid .product,
ul.products li.product {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Responsive grid */
@media (max-width: 1200px) {
    .products-grid,
    ul.products {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .products-grid,
    ul.products {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .products-grid,
    ul.products {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
}



/* Hide subcategories by default */
.subcategories-list {
    display: none;
    padding-left: 20px;
}

/* Show subcategories when main category checkbox is checked */
.main-cat-checkbox:checked ~ .subcategories-list,
.main-category-item:has(.main-cat-checkbox:checked) .subcategories-list {
    display: block;
}

/* Rotate arrow when open */
.main-cat-checkbox:checked ~ .subcategory-arrow,
.main-category-item:has(.main-cat-checkbox:checked) .subcategory-arrow {
    transform: rotate(90deg);
}

.subcategory-arrow {
    display: inline-block;
    margin-left: 8px;
    font-size: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.main-category {
    cursor: pointer;
    font-weight: 600;
}

.subcategory {
    font-size: 14px;
    color: #666;
}
.archive-description {
    margin: 20px 0 25px;
    padding: 15px 20px;
    background: #f9f9f9;
    border-left: 4px solid #C026D3;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.archive-description p {
    margin: 0;
}

.archive-description.default-description {
    background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
}
/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    animation: fadeIn 0.3s ease;
}

.search-overlay.active {
    display: flex !important;
}

.search-container {
    max-width: 700px;
    width: 90%;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

.search-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    line-height: 1;
}

.search-close:hover {
    color: #333;
}

.search-input-wrapper {
    position: relative;
}

.search-field {
    width: 100%;
    padding: 16px 50px 16px 20px;
    font-size: 18px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    background: #f9fafb;
}

.search-field:focus {
    border-color: #C026D3;
    background: #fff;
}

.search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s;
}

.search-submit:hover {
    color: #C026D3;
}

.search-submit svg {
    width: 24px;
    height: 24px;
}

/* Search Results */
.search-results {
    margin-top: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.search-results-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-results-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 8px;
    background: #f9fafb;
    transition: all 0.2s;
    text-decoration: none;
    color: #333;
}

.search-result-item:hover {
    background: #f3f4f6;
    transform: translateX(5px);
}

.search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

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

.search-result-item .product-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.search-result-item .product-price {
    font-size: 14px;
    color: #C026D3;
    font-weight: 700;
}

.search-result-item .product-category {
    font-size: 12px;
    color: #6b7280;
}

.search-results-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid #e5e7eb;
}

.search-category-link {
    padding: 6px 14px;
    background: #f3f4f6;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.search-category-link:hover {
    background: #C026D3;
    color: #fff;
}

.search-results-loading {
    text-align: center;
    padding: 30px 0;
}

.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #C026D3;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.search-quick-links {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.quick-link-label {
    font-size: 13px;
    color: #6b7280;
    margin-right: 5px;
}

.search-quick-links a {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    padding: 4px 12px;
    background: #f3f4f6;
    border-radius: 15px;
    transition: all 0.2s;
}

.search-quick-links a:hover {
    background: #C026D3;
    color: #fff;
}

.no-results {
    text-align: center;
    padding: 30px 0;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .search-overlay {
        padding-top: 40px;
    }
    
    .search-container {
        padding: 20px;
        width: 95%;
    }
    
    .search-results-products {
        grid-template-columns: 1fr;
    }
    
    .search-field {
        font-size: 16px;
        padding: 14px 45px 14px 16px;
    }
}

/* Scrollbar Styling */
.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}