/**
 * Fresh Hair - Luxury Hair Cosmetics
 * Design System based on approved template (ukazka2.html)
 * 
 * Typography: Playfair Display + DM Sans
 * Palette: Cream/Gold/Rose/Charcoal
 */

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
    /* Colors */
    --color-bg: #FFFCF7;
    --color-bg-warm: #FDF8F0;
    --color-bg-accent: #F7F0E6;
    --color-gold: #B8956B;
    --color-gold-light: #D4B896;
    --color-gold-dark: #8B7355;
    --color-rose: #C4A4A0;
    --color-rose-dark: #9A7B77;
    --color-charcoal: #2C2825;
    --color-charcoal-light: #4A4542;
    --color-text: #3D3835;
    --color-text-muted: #7A746E;
    --color-white: #FFFFFF;
    --color-border: #E8E0D5;
    --color-success: #7A9E7E;
    --color-error: #E8564A;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(44, 40, 37, 0.04);
    --shadow-md: 0 8px 30px rgba(44, 40, 37, 0.08);
    --shadow-lg: 0 20px 60px rgba(44, 40, 37, 0.12);
    --shadow-gold: 0 10px 40px rgba(184, 149, 107, 0.2);
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    
    /* Layout */
    --container-max: 1440px;
    --container-padding: 48px;
    --header-height: 88px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

::selection {
    background: var(--color-gold-light);
    color: var(--color-charcoal);
}

/* Subtle grain texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 10000;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--color-charcoal);
    line-height: 1.2;
}

h1 { font-size: clamp(42px, 5vw, 64px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: clamp(24px, 3vw, 32px); }
h4 { font-size: 20px; }

h1 em, h2 em, h3 em {
    font-style: italic;
    color: var(--color-gold-dark);
}

p {
    margin-bottom: 1em;
}

/* =============================================
   CONTAINER
   ============================================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* =============================================
   ANNOUNCEMENT BAR
   ============================================= */
.announcement {
    background: var(--color-charcoal);
    color: var(--color-white);
    text-align: center;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.announcement::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(184, 149, 107, 0.1), transparent);
    animation: shimmer 8s infinite;
}

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

.announcement span {
    color: var(--color-gold-light);
    font-weight: 500;
}

/* =============================================
   HEADER
   ============================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 252, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 224, 213, 0.5);
    transition: all 0.4s var(--ease-out);
}

.header.scrolled {
    background: rgba(255, 252, 247, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo */
.logo {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    color: var(--color-charcoal);
    text-decoration: none;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-white);
    font-style: italic;
}

.logo img {
    height: 48px;
    width: auto;
}

/* Navigation */
.nav {
    display: flex;
    gap: 48px;
}

.nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: 0.3px;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
}

.nav a:hover {
    color: var(--color-gold-dark);
}

.nav a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    color: var(--color-text);
}

.icon-btn:hover {
    background: var(--color-charcoal);
    border-color: var(--color-charcoal);
    color: var(--color-white);
    transform: scale(1.05);
}

/* Cart Button */
.cart-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.cart-btn:hover::before {
    opacity: 1;
}

.cart-btn span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-count {
    background: var(--color-gold);
    color: var(--color-charcoal);
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.cart-btn:hover .cart-count {
    background: var(--color-white);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-bg-warm);
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-gold-light) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-rose) 0%, transparent 70%);
    bottom: -100px;
    left: 10%;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
    top: 30%;
    left: 30%;
    animation: float 18s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 80px var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 560px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
}

.hero-text h1 {
    margin-bottom: 28px;
}

.hero-text p {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: 18px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary svg {
    transition: transform 0.3s var(--ease-out);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--color-text);
    padding: 18px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--color-border);
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--color-charcoal);
    background: var(--color-charcoal);
    color: #ffffff !important;
}

/* =============================================
   HERO VISUAL
   ============================================= */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    width: 480px;
    height: 580px;
}

.hero-image-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 520px;
    border: 1px solid var(--color-gold-light);
    border-radius: 200px 200px 20px 20px;
    opacity: 0.5;
}

.hero-image-main {
    position: relative;
    width: 380px;
    height: 500px;
    background: linear-gradient(180deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
    border-radius: 190px 190px 20px 20px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

/* Floating Cards */
.hero-floating-card {
    position: absolute;
    background: var(--color-white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    animation: floatCard 6s ease-in-out infinite;
}

.hero-floating-card.card-1 {
    top: 60px;
    right: -40px;
    animation-delay: 0s;
}

.hero-floating-card.card-2 {
    bottom: 80px;
    left: -60px;
    animation-delay: 2s;
}

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

.floating-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-rating .stars {
    color: var(--color-gold);
    font-size: 14px;
    letter-spacing: 2px;
}

.floating-rating .score {
    font-weight: 600;
    font-size: 14px;
}

.floating-rating .label {
    font-size: 11px;
    color: var(--color-text-muted);
    display: block;
    margin-top: 4px;
}

.floating-delivery {
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-delivery .icon {
    width: 44px;
    height: 44px;
    background: var(--color-bg-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.floating-delivery .text {
    font-size: 13px;
    font-weight: 600;
}

.floating-delivery .subtext {
    font-size: 11px;
    color: var(--color-text-muted);
}

/* =============================================
   SECTIONS
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 16px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--color-gold);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    color: var(--color-charcoal);
}

/* =============================================
   CATEGORIES SECTION
   ============================================= */
.categories {
    padding: 100px var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

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

.category-card {
    position: relative;
    background: var(--color-white);
    border-radius: 24px;
    padding: 40px 28px;
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
    border: 1px solid transparent;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, var(--color-gold-light) 150%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold-light);
}

.category-card:hover::before {
    opacity: 0.3;
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: var(--color-bg-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    transition: all 0.5s var(--ease-out);
    position: relative;
    z-index: 1;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--color-gold);
}

.category-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.category-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    position: relative;
    z-index: 1;
    margin: 0;
}

.category-count {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-bg-accent);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-gold-dark);
    transition: all 0.3s ease;
}

.category-card:hover .category-count {
    background: var(--color-gold);
    color: var(--color-white);
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */
.products-section {
    background: var(--color-bg-warm);
    padding: 100px 0;
}

.products-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.products-header-text h2 {
    margin-bottom: 8px;
}

.products-header-text p {
    color: var(--color-text-muted);
    font-size: 15px;
    margin: 0;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    background: var(--color-white);
    padding: 6px;
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
}

.filter-tab {
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    color: var(--color-text-muted);
}

.filter-tab:hover {
    color: var(--color-text);
}

.filter-tab.active {
    background: var(--color-charcoal);
    color: var(--color-white);
}

/* Products Layout */
.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.sidebar-section {
    margin-bottom: 36px;
}

.sidebar-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 4px;
}

.sidebar-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--color-white);
    border-radius: 14px;
    text-decoration: none;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s var(--ease-out);
    border: 1px solid transparent;
}

.sidebar-nav a:hover {
    background: var(--color-charcoal);
    color: var(--color-white);
    transform: translateX(6px);
    border-color: var(--color-charcoal);
}

.sidebar-nav .count {
    background: var(--color-bg-accent);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.sidebar-nav a:hover .count {
    background: rgba(255,255,255,0.2);
    color: var(--color-white);
}

.sidebar-nav a.active {
    background: var(--color-gold);
    color: var(--color-charcoal);
}

.sidebar-nav a.active .count {
    background: rgba(255,255,255,0.5);
    color: var(--color-charcoal);
}

/* =============================================
   PRODUCT GRID
   ============================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* =============================================
   PRODUCT CARD
   ============================================= */
.product-card {
    background: var(--color-white);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s var(--ease-out);
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold-light);
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 10;
    text-transform: uppercase;
}

.product-badge.bestseller {
    background: var(--color-charcoal);
    color: var(--color-white);
}

.product-badge.sale {
    background: linear-gradient(135deg, #E8564A 0%, #C4362B 100%);
    color: var(--color-white);
}

.product-badge.new {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-white);
}

/* Wishlist Button */
.product-wishlist {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease-out);
    font-size: 18px;
}

.product-wishlist:hover {
    background: var(--color-rose);
    color: var(--color-white);
    transform: scale(1.1);
}

/* Product Image */
.product-image {
    position: relative;
    height: 300px;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-image img {
    transform: scale(1.08) rotate(2deg);
}

/* Quick Shop Overlay */
.quick-shop {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(44, 40, 37, 0.95), transparent);
    transform: translateY(100%);
    transition: transform 0.5s var(--ease-out);
}

.product-card:hover .quick-shop {
    transform: translateY(0);
}

.quick-shop-btn {
    width: 100%;
    padding: 14px;
    background: var(--color-white);
    border: none;
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quick-shop-btn:hover {
    background: var(--color-gold);
}

/* Product Info */
.product-info {
    padding: 24px;
}

.product-brand {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 8px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-charcoal);
    margin-bottom: 4px;
    line-height: 1.3;
}

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

.product-name a:hover {
    color: var(--color-gold-dark);
}

.product-volume {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-charcoal);
}

.product-price-old {
    font-size: 14px;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-left: 8px;
}

.add-to-cart {
    width: 48px;
    height: 48px;
    background: var(--color-bg-accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
    color: var(--color-text);
}

.add-to-cart:hover {
    background: var(--color-gold);
    color: var(--color-white);
    transform: scale(1.1);
}

/* =============================================
   REVIEWS SECTION
   ============================================= */
.reviews-section {
    padding: 100px var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.review-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 36px;
    position: relative;
    border: 1px solid var(--color-border);
    transition: all 0.4s var(--ease-out);
}

.review-card:hover {
    border-color: var(--color-gold-light);
    box-shadow: var(--shadow-md);
}

.review-stars {
    color: var(--color-gold);
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.review-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--color-bg-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-gold-dark);
}

.review-author-name {
    font-weight: 600;
    font-size: 15px;
}

.review-author-title {
    font-size: 12px;
    color: var(--color-text-muted);
}

.review-verified {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--color-success);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

/* Reviews Badges */
.reviews-badges {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--color-border);
}

.review-badge {
    display: flex;
    align-items: center;
    gap: 16px;
}

.review-badge-icon {
    width: 56px;
    height: 56px;
    background: var(--color-bg-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.review-badge-score {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-charcoal);
}

.review-badge-label {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: 80px var(--container-padding) 40px;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
    margin: 20px 0;
}

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

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
}

.footer-social a:hover {
    background: var(--color-gold);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--color-white);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-gold-light);
    padding-left: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.payment-methods {
    display: flex;
    gap: 16px;
}

.payment-methods img {
    height: 28px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    :root {
        --container-padding: 24px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image-container {
        width: 320px;
        height: 420px;
    }
    
    .hero-image-main {
        width: 280px;
        height: 360px;
    }
    
    .hero-floating-card {
        display: none;
    }
    
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .sidebar-nav li {
        margin: 0;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .reviews-badges {
        flex-direction: column;
        gap: 24px;
    }
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

/* =============================================
   PAGE CONTENT (Inner Pages)
   ============================================= */
.page-content {
    padding: 40px 0 100px;
    min-height: 60vh;
}

/* Plná šířka containeru pro všechny stránky */
.page-content .container {
    max-width: var(--container-max);
}

/* Pro e-shop katalog a jiné široké stránky */
.page-content .container.container-wide,
.page-content .container:has(.catalog-layout) {
    max-width: var(--container-max);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--color-gold-dark);
}

.breadcrumb .separator {
    color: var(--color-border);
}

.breadcrumb .current {
    color: var(--color-text);
    font-weight: 500;
}

/* Content Article */
.content-article {
    background: var(--color-white);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.content-article h1 {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.content-article h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-charcoal);
}

.content-article h3 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 16px;
}

.content-article p {
    margin-bottom: 1.5em;
    line-height: 1.8;
}

.content-article ul,
.content-article ol {
    margin-bottom: 1.5em;
    padding-left: 24px;
}

.content-article li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.content-article a {
    color: var(--color-gold-dark);
    text-decoration: underline;
    text-decoration-color: var(--color-gold-light);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.content-article a:hover {
    color: var(--color-charcoal);
    text-decoration-color: var(--color-charcoal);
}

.content-article img {
    border-radius: 16px;
    margin: 24px 0;
}

.content-article blockquote {
    background: var(--color-bg-warm);
    border-left: 4px solid var(--color-gold);
    padding: 24px 32px;
    margin: 32px 0;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--color-text-muted);
}

/* Contact Form */
.contact-form {
    background: var(--color-bg-warm);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
}

.contact-form h2 {
    margin-top: 0;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-charcoal);
}

.form-group label span {
    color: var(--color-rose-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 15px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(184, 149, 107, 0.15);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

/* ======================================
   CUSTOM CHECKBOX – souhlas s OP
   ====================================== */
.checkbox-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(184, 149, 107, 0.06) 0%, rgba(184, 149, 107, 0.02) 100%);
    border: 1.5px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    margin-bottom: 20px;
}

.checkbox-consent:hover {
    border-color: var(--color-gold-light);
    background: linear-gradient(135deg, rgba(184, 149, 107, 0.1) 0%, rgba(184, 149, 107, 0.04) 100%);
}

.checkbox-consent:has(input:checked) {
    border-color: var(--color-gold);
    background: linear-gradient(135deg, rgba(184, 149, 107, 0.12) 0%, rgba(184, 149, 107, 0.06) 100%);
}

.checkbox-consent input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.checkbox-consent .check-box {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 6px;
    border: 2px solid var(--color-border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 1px;
}

.checkbox-consent:hover .check-box {
    border-color: var(--color-gold-light);
}

.checkbox-consent:has(input:checked) .check-box {
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.3);
}

.checkbox-consent .check-box svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
    stroke-width: 3;
    fill: none;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.15s ease;
}

.checkbox-consent:has(input:checked) .check-box svg {
    opacity: 1;
    transform: scale(1);
}

.checkbox-consent .check-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-charcoal-light);
}

.checkbox-consent .check-text a {
    color: var(--color-gold-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(139, 115, 85, 0.3);
    transition: all 0.2s ease;
}

.checkbox-consent .check-text a:hover {
    color: var(--color-charcoal);
    border-bottom-color: var(--color-gold-dark);
}

.form-group .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.form-actions .required-note {
    font-size: 13px;
    color: var(--color-text-muted);
}

.form-actions .required-note span {
    color: var(--color-rose-dark);
}

/* Alert Messages */
.alert {
    padding: 20px 24px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 14px;
    line-height: 1.5;
}

.alert::before {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.alert-success {
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.08), rgba(166, 137, 106, 0.12));
    border: 1px solid rgba(139, 115, 85, 0.25);
    color: #5c4a3a;
}

.alert-success::before {
    content: '✓';
    background: linear-gradient(135deg, #8b7355, #a6896a);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.alert-error {
    background: linear-gradient(135deg, rgba(180, 90, 80, 0.08), rgba(180, 90, 80, 0.12));
    border: 1px solid rgba(180, 90, 80, 0.25);
    color: #8b4a42;
}

.alert-error::before {
    content: '!';
    background: linear-gradient(135deg, #b45a50, #c96a60);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.alert-info {
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.06), rgba(166, 137, 106, 0.1));
    border: 1px solid rgba(139, 115, 85, 0.2);
    color: #6b5a4a;
}

.alert-info::before {
    content: 'i';
    background: linear-gradient(135deg, #a6896a, #b8956b);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
}

@media (max-width: 768px) {
    .content-article {
        padding: 32px 24px;
    }
    
    .contact-form {
        padding: 28px 24px;
    }
}

/* =============================================
   AUTH FORMS (Login, Register, etc.)
   ============================================= */
.auth-form {
    margin-top: 24px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-links {
    margin-top: 24px;
}

.auth-links p {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
}

.auth-links a {
    color: var(--color-gold-dark);
    font-weight: 500;
}

.auth-links a:hover {
    color: var(--color-charcoal);
}

/* =============================================
   CHECKOUT PROGRESS BAR
   ============================================= */
.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
   margin: 20px 0 24px; margin: 40px 0;
    padding: 0 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.step-number {
width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-warm);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-muted);
    transition: all 0.3s var(--ease-out);
}

.progress-step.active .step-number {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-charcoal);
}

.progress-step.completed .step-number {
    background: var(--color-charcoal);
    border-color: var(--color-charcoal);
    color: white;
}

.step-label {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--color-charcoal);
}

.progress-line {
    width: 80px;
    height: 2px;
    background: var(--color-border);
    margin: 0 12px 24px;
}

.progress-line.active {
    background: var(--color-gold);
}


/* =============================================
   CART STYLES
   ============================================= */
.free-shipping-bar {
    background: var(--color-bg-warm);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.free-shipping-bar .shipping-progress {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    opacity: 0.3;
    transition: width 0.5s ease;
}

.free-shipping-bar p {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 14px;
}

.free-shipping-bar.success {
    background: #D1FAE5;
}

.free-shipping-bar.success p {
    color: #065F46;
}

.cart-items {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

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

.cart-item .item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item .item-name {
    font-weight: 600;
    color: var(--color-charcoal);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

.cart-item .item-name:hover {
    color: var(--color-gold-dark);
}

.cart-item .item-price-unit {
    font-size: 13px;
    color: var(--color-text-muted);
}

.cart-item .item-total {
    font-weight: 600;
    font-size: 16px;
    min-width: 100px;
    text-align: right;
}

.cart-item .item-remove {
    color: var(--color-text-muted);
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s var(--ease-out);
}

.cart-item .item-remove:hover {
    color: #DC2626;
    background: #FEE2E2;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-bg-warm);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

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

.qty-input {
    width: 50px;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0;
}

.cart-summary {
    background: var(--color-white);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.summary-row.total {
    border-bottom: none;
    font-size: 20px;
    font-weight: 600;
    padding-top: 16px;
    margin-bottom: 20px;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart svg {
    color: var(--color-text-muted);
    opacity: 0.3;
    margin-bottom: 24px;
}

.empty-cart h2 {
    margin-bottom: 8px;
}

.empty-cart p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

/* =============================================
   CHECKOUT SECTIONS
   ============================================= */
.checkout-section {
    background: var(--color-white);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.checkout-section h2 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 20px;
}

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

.section-header h2 {
    margin: 0;
}

.section-header a {
    font-size: 14px;
    color: var(--color-gold-dark);
}

.checkout-buttons {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
}

.checkout-form .form-row {
    margin-bottom: 16px;
}

.checkout-form .form-row.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.login-prompt {
    background: var(--color-bg-accent);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
}

.login-prompt a {
    color: var(--color-gold-dark);
    font-weight: 600;
}

/* Option Cards (Doprava/Platba) */
.option-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-card {
    cursor: pointer;
}

.option-card input {
    display: none;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 2px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.3s var(--ease-out);
}

.option-card input:checked + .option-content {
    border-color: var(--color-gold);
    background: var(--color-bg-accent);
}

.option-icon {
    width: 48px;
    height: 48px;
    background: var(--color-bg-warm);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.option-card input:checked + .option-content .option-icon {
    background: var(--color-gold);
    color: var(--color-charcoal);
}

.option-details {
    flex: 1;
}

.option-name {
    font-weight: 600;
}

.option-price {
    font-weight: 600;
    font-size: 15px;
}

.option-price .free {
    color: #059669;
}

/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 32px;
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.summary-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.summary-item .item-info {
    flex: 1;
}

.summary-item .item-name {
    font-weight: 500;
    display: block;
}

.summary-item .item-qty {
    font-size: 13px;
    color: var(--color-text-muted);
}

.summary-item .item-price {
    font-weight: 600;
}

.summary-sidebar {
    position: sticky;
    top: 120px;
}

.summary-totals {
    background: var(--color-white);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
}

.total-row.grand-total {
    font-size: 20px;
    font-weight: 600;
    border-top: 2px solid var(--color-charcoal);
    margin-top: 12px;
    padding-top: 16px;
}

/* =============================================
   PRODUCT DETAIL
   ============================================= */
/* =============================================
   PRODUCT DETAIL - Luxury Style
   ============================================= */
.product-detail {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 80px;
    margin: 40px 0 60px;
    align-items: start;
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 120px;
}

.main-image {
    position: relative;
    background: linear-gradient(145deg, #FFFCF7 0%, #F5EDE3 100%);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(139, 115, 85, 0.15);
    padding: 40px;
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 550px;
    object-fit: contain;
    transition: transform 0.6s var(--ease-out);
}

.main-image:hover img {
    transform: scale(1.03);
}

.main-image .badge {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
}

.thumbnail-strip {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--color-white);
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product Info Panel */
.product-info {
    background: var(--color-white);
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(44, 40, 37, 0.08);
    position: sticky;
    top: 120px;
}

.product-brand {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 12px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(184, 149, 107, 0.1) 0%, rgba(212, 184, 150, 0.15) 100%);
    border-radius: 20px;
}

.product-info h1 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 12px;
    color: var(--color-charcoal);
}

.product-subtitle {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--color-border);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.meta-item svg {
    color: var(--color-gold);
}

/* Price Box - Elegant */
.product-price-box {
    background: linear-gradient(135deg, var(--color-bg-warm) 0%, var(--color-bg-accent) 100%);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
}

.price-current {
    display: block;
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-charcoal);
    line-height: 1;
}

.price-original {
    display: block;
    font-size: 18px;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.price-save {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 8px;
}

.price-note {
    display: block;
    font-size: 12px;
    color: var(--color-gold-dark);
    margin-top: 4px;
}

.price-retail {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* Stock Status */
.stock-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: 14px;
}

.stock-status.in-stock {
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
}

.stock-status.out-of-stock {
    color: #DC2626;
    background: rgba(220, 38, 38, 0.08);
}

/* Add to Cart Form */
.add-to-cart-form {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: var(--color-bg-accent);
    border-radius: 14px;
    overflow: hidden;
}

.qty-btn {
    width: 48px;
    height: 56px;
    border: none;
    background: transparent;
    font-size: 20px;
    font-weight: 500;
    color: var(--color-charcoal);
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--color-gold-light);
    color: var(--color-charcoal);
}

.qty-input {
    width: 50px;
    height: 56px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.add-to-cart-form .btn-primary {
    flex: 1;
    padding: 18px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 14px;
}

.btn-large {
    padding: 20px 40px;
    font-size: 16px;
}

/* Payment Icons */
.payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: var(--color-bg);
    border-radius: 12px;
    margin-bottom: 24px;
}

.payment-methods img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
}

/* Benefits */
.product-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--color-text);
    padding: 14px 16px;
    background: var(--color-bg-warm);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit:hover {
    background: var(--color-bg-accent);
}

.benefit svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

/* Share */
.product-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.product-share span {
    font-size: 13px;
    color: var(--color-text-muted);
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-bg-accent);
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

/* =============================================
   PRODUCT TABS - Luxury
   ============================================= */
.product-tabs {
    margin: 80px 0;
    background: var(--color-white);
    border-radius: 32px;
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.tabs-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    padding-bottom: 0;
    border-bottom: none;
    background: var(--color-bg-accent);
    border-radius: 16px;
    padding: 6px;
}

.tab-btn {
    padding: 14px 28px;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--color-charcoal);
    background: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
    color: var(--color-charcoal);
    background: var(--color-white);
    box-shadow: 0 4px 12px rgba(44, 40, 37, 0.08);
}

.tab-panel {
    display: none;
    line-height: 1.9;
    font-size: 15px;
    color: var(--color-text);
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.tab-panel p {
    margin-bottom: 16px;
}

.tab-panel ul,
.tab-panel ol {
    margin: 16px 0;
    padding-left: 24px;
}

.tab-panel li {
    margin-bottom: 8px;
}

/* Contact Form in Tab */
.contact-form {
    max-width: 600px;
    margin-top: 24px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--color-bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(184, 149, 107, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Related Products */
.related-products {
    margin: 100px 0 60px;
}

.related-products h2 {
    font-family: var(--font-display);
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
}

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

/* =============================================
   THANK YOU PAGE
   ============================================= */
.thank-you-page {
    padding: 60px 20px;
}

.success-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.success-icon svg {
    color: #059669;
}

.thank-you-page h1 {
    margin-bottom: 16px;
}

.order-number {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.order-number strong {
    color: var(--color-charcoal);
}

.thank-you-text {
    max-width: 500px;
    margin: 0 auto 40px;
    color: var(--color-text-muted);
}

.next-steps {
    background: var(--color-bg-warm);
    border-radius: 20px;
    padding: 32px;
    max-width: 500px;
    margin: 0 auto 40px;
    text-align: left;
}

.next-steps h3 {
    text-align: center;
    margin-bottom: 24px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-icon {
    font-size: 24px;
}

.thank-you-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   RESPONSIVE - CHECKOUT & PRODUCT
   ============================================= */
@media (max-width: 1100px) {
    .product-detail {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .product-info {
        padding: 32px;
    }
    
    .products-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .product-info {
        position: static;
    }
    
    .main-image {
        padding: 24px;
    }
    
    .product-benefits {
        grid-template-columns: 1fr;
    }
    
    .product-tabs {
        padding: 32px 24px;
        border-radius: 24px;
    }
    
    .tabs-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
        text-align: center;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .products-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-sidebar {
        position: static;
    }
    
    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 12px;
    }
    
    .cart-item .item-quantity,
    .cart-item .item-total {
        grid-column: 2;
    }
    
    .cart-item .item-remove {
        position: absolute;
        right: 16px;
        top: 16px;
    }
    
    .checkout-form .form-row.two-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .product-info h1 {
        font-size: 24px;
    }
    
    .price-current {
        font-size: 32px;
    }
    
    .add-to-cart-form {
        flex-direction: column;
    }
    
    .add-to-cart-form .btn-primary {
        width: 100%;
    }
    
    .quantity-selector {
        justify-content: center;
    }
    
    .product-tabs {
        padding: 24px 16px;
        margin: 40px 0;
    }
    
    .tabs-nav {
        padding: 4px;
    }
    
    .tab-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .products-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .checkout-progress {
        transform: scale(0.85);
    }
    
    .progress-line {
        width: 40px;
    }
    
    .checkout-buttons {
        flex-direction: column;
    }
}

/* MOBIL – ještě těsnější */
@media (max-width: 600px) {
    .checkout-progress {
        margin: 16px 0 20px;     /* ještě o kousek méně */
        transform: scale(0.82);  /* bylo 0.85 */
    }
    
    .progress-line {
        width: 36px;
        margin: 0 8px 12px;
    }
    
    .progress-step {
        gap: 4px;
    }
}
