/*
Theme Name: Liocool
Theme URI: http://example.com/liocool
Author: AI Assistant
Description: Premium C-Curve Neck Rests & Adaptive Pillows e-commerce theme.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
Text Domain: liocool
*/

/* ==========================================================================
   CSS VARIABLES (DESIGN TOKENS)
   ========================================================================== */
:root {
  --color-bg-body: #fcf6f4;
  --color-text-primary: #1e293b;
  --color-text-secondary: #64748b;
  --color-accent: #334155;
  --color-brown-script: #a07d67;
  --color-gold: #d4a373;
  
  --font-heading: 'Cormorant Garamond', serif; /* Elegant Serif */
  --font-body: 'Outfit', sans-serif;
  --font-script: 'Great Vibes', cursive; /* More italic script */
  
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --box-shadow-soft: 0 10px 30px rgba(0,0,0,0.02);
  --box-shadow-medium: 0 20px 40px rgba(0,0,0,0.05);
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-body);
  color: var(--color-text-primary);
  line-height: 1.6;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    position: relative;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo {
    justify-self: start;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.02em;
    color: #1a202c;
    line-height: 1;
    text-transform: lowercase;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
}

.main-navigation {
    justify-self: center;
}

.main-navigation ul li a {
    text-decoration: none;
    color: #1a202c;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s ease;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-self: end;
}

.user-profile-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f7f7f7;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    color: #1a202c;
}

.avatar-link {
    position: relative;
    display: flex;
    align-items: center;
}

.avatar-link img {
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.05);
}

.avatar-link {
    position: relative;
    display: block;
}

.avatar-link img {
    border-radius: 50%;
    width: 42px;
    height: 42px;
    object-fit: cover;
}

/* Removed notification-dot to clean up unused CSS */
/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
    height: 90vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Very soft white wash to prevent pixel distortion, with requested subtle blur */
    background: linear-gradient(to right, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 70%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 60px;
    position: relative;
    z-index: 2;
}

.hero-inner {
    padding-bottom: 140px;
}

.hero-script {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-brown-script);
    font-size: 28px;
    margin-bottom: 5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 500;
    line-height: 1.1;
    color: #2d3648;
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 450px;
}

.btn-shop-now {
    background: var(--color-accent);
    color: #fff;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-shop-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ==========================================================================
   FEATURE BAR
   ========================================================================== */
.feature-bar-wrapper {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    z-index: 10;
}

.feature-bar {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    border-radius: 100px;
    display: flex;
    justify-content: space-around;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: var(--box-shadow-medium);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: #4a5568;
}

.feature-item svg {
    color: #a0aec0;
}

/* ==========================================================================
   CATEGORY GRID
   ========================================================================== */
.products-section { padding: 120px 40px; max-width: 1400px; margin: 0 auto; }

.section-header .section-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 500;
    color: #2d3648;
}

.diamond { color: var(--color-gold); margin: 0 15px; font-size: 24px; }

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

.category-card {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
}

.category-card:hover { border-color: var(--color-gold); transform: translateY(-5px); }

.card-image-wrap {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

.card-pill {
    background: #f8f9fa;
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
}

.card-link {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
    max-width: 1200px;
    margin: 40px auto;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px;
    display: flex;
    justify-content: space-around;
    border: 1px solid rgba(255,255,255,0.5);
}

.trust-item { text-align: center; }
.trust-icon { font-size: 48px; margin-bottom: 15px; }
.trust-text strong { display: block; font-size: 18px; margin-bottom: 5px; }
.trust-text span { color: var(--color-text-secondary); font-size: 14px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 52px; }
}

@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 20px; }
    .main-navigation ul { gap: 20px; }
    .category-grid { grid-template-columns: 1fr; }
    .feature-bar { flex-direction: column; gap: 20px; border-radius: 30px; padding: 40px; }
}
