/* ==========================================================================
   Design System & Reset
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-darker: #09090b;
    --bg-dark: #121214;
    --bg-card: #1c1c21;
    --bg-glass: rgba(20, 20, 25, 0.7);
    --border-glass: rgba(223, 183, 108, 0.1);
    
    --color-primary: #dfb76c;
    --color-primary-dark: #9a7b43;
    --color-primary-light: #f3d082;
    --color-text-primary: #ffffff;
    --color-text-secondary: #a1a1aa;
    --color-text-muted: #71717a;
    
    --color-success: #10b981;
    --color-error: #ef4444;
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #dfb76c 0%, #9a7b43 100%);
    --gradient-gold-hover: linear-gradient(135deg, #f3d082 0%, #b28e4e 100%);
    --gradient-dark: linear-gradient(180deg, #121214 0%, #09090b 100%);
    --gradient-card: linear-gradient(135deg, rgba(28, 28, 33, 0.8) 0%, rgba(18, 18, 20, 0.9) 100%);
    
    /* Typography */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows & Borders */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 0 15px rgba(223, 183, 108, 0.2);
    
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --header-height: 80px;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-darker);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

button, input, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #121214;
    box-shadow: var(--shadow-sm);
}

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

.btn-outline {
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: rgba(223, 183, 108, 0.1);
    transform: translateY(-2px);
}

.btn-gold-fill {
    background: rgba(223, 183, 108, 0.1);
    color: var(--color-primary);
    border: 1px solid var(--border-glass);
}

.btn-gold-fill:hover {
    background: var(--gradient-gold);
    color: #121214;
    transform: translateY(-2px);
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(20, 20, 25, 0.9);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-full);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    animation: slideDownIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: var(--transition-normal);
}

.toast.hidden {
    opacity: 0;
    transform: translate(-50%, -40px);
    pointer-events: none;
}

.toast-icon {
    background: var(--color-primary);
    color: #121214;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* ==========================================================================
   Main Header
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
    transition: var(--transition-normal);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    color: var(--color-text-secondary);
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    padding: 8px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gradient-gold);
    transition: var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}
.header-actions{
    display:inline-flex;
}
.cart-toggle-btn {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.cart-toggle-btn:hover {
    background: rgba(223, 183, 108, 0.08);
    border-color: rgba(223, 183, 108, 0.3);
}

.cart-icon {
    width: 20px;
    height: 20px;
    color: var(--color-text-primary);
    transition: var(--transition-normal);
}

.cart-toggle-btn:hover .cart-icon {
    color: var(--color-primary);
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gradient-gold);
    color: #121214;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--bg-darker);
    animation: pulseBadge 2s infinite;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1b1b22 0%, var(--bg-darker) 100%);
    overflow: hidden;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(223, 183, 108, 0.03) 1px, transparent 0),
        radial-gradient(rgba(255, 255, 255, 0.01) 2px, transparent 0);
    background-size: 40px 40px, 80px 80px;
    opacity: 0.7;
    pointer-events: none;
}

.hero-content-wrapper {
    max-width: 800px;
    padding: 40px 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1s ease-out;
}

.hero-logo-container {
    margin-bottom: 24px;
}

.brand-emblem {
    width: 100px;
    height: 100px;
    animation: floatAnimation 6s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    background: linear-gradient(to right, #ffffff, #dcdcdc, #dfb76c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-bottom: 36px;
    font-weight: 300;
}

.hero-description strong {
    color: var(--color-primary);
    font-weight: 600;
}

.hero-actions-group {
    display: flex;
    gap: 16px;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    z-index: 2;
    animation: fadeIn 1.5s ease-out;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-text-secondary);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Catalog Section
   ========================================================================== */
.catalog-section {
    padding: 100px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 12px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 40px;
}

/* Filters */
.filter-container {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: var(--radius-md);
    gap: 4px;
}

.filter-btn {
    padding: 8px 20px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
    color: var(--color-text-secondary);
}

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

.filter-btn.active {
    background: var(--gradient-gold);
    color: #121214;
    box-shadow: var(--shadow-sm);
}

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

.product-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(180deg, rgba(223, 183, 108, 0.15) 0%, rgba(255, 255, 255, 0.02) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md), var(--shadow-gold);
    border-color: rgba(223, 183, 108, 0.15);
}

.product-card:hover::before {
    background: linear-gradient(180deg, rgba(223, 183, 108, 0.4) 0%, rgba(223, 183, 108, 0.05) 100%);
}

.product-image-container {
    height: 340px;
    overflow: hidden;
    position: relative;
    background-color: #0c0c0e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-container.svg-bg {
    background: radial-gradient(circle at center, #1b1b22 0%, #0a0a0d 100%);
}

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

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

.product-svg-wrapper {
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.product-card:hover .product-svg-wrapper {
    transform: scale(1.06) translateY(-5px);
}

.product-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.5));
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(18, 18, 20, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-volume {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-family: var(--font-headings);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.product-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-price {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.btn-add-cart {
    background: transparent;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-add-cart:hover {
    background: var(--gradient-gold);
    color: #121214;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-add-cart.added {
    background: var(--color-success);
    border-color: var(--color-success);
    color: #fff;
}

/* ==========================================================================
   Booking / Salon Section
   ========================================================================== */
.booking-section {
    padding: 60px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.booking-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.booking-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(223, 183, 108, 0.1) 0%, rgba(255, 255, 255, 0.01) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.booking-content {
    z-index: 2;
}

.booking-tag {
    font-family: var(--font-headings);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    display: inline-block;
}

.booking-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #dfb76c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.booking-text {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 32px;
}

.booking-text strong {
    color: var(--color-primary);
}

.booking-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-icon {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.benefit-item span:last-child {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Salon Graphic */
.booking-image-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    height: 100%;
}

.salon-graphic {
    position: relative;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at center, rgba(223, 183, 108, 0.08) 0%, transparent 70%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
}

.pole-glow {
    position: absolute;
    width: 80px;
    height: 200px;
    background: rgba(223, 183, 108, 0.1);
    filter: blur(25px);
    border-radius: 50%;
    animation: pulseBadge 3s infinite;
}

.barber-pole-wrapper {
    position: relative;
    width: 60px;
    height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
}

.pole-cap {
    width: 50px;
    height: 25px;
    background: linear-gradient(90deg, #b3b3b3 0%, #ffffff 30%, #e6e6e6 70%, #8c8c8c 100%);
    border: 2px solid #222;
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.8), 0 4px 8px rgba(0,0,0,0.4);
}

.pole-cap-top {
    border-radius: 25px 25px 5px 5px;
    border-bottom: none;
    position: relative;
}

.pole-cap-top::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #dfb76c 40%, #9a7b43 85%, #59421a 100%);
    border: 2px solid #222;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.pole-cap-bottom {
    border-radius: 5px 5px 25px 25px;
    border-top: none;
}

.barber-pole-glass {
    width: 44px;
    height: 190px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 2px solid #222;
    border-right: 2px solid #222;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.pole-stripes {
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        -45deg,
        #d32f2f 0px,
        #d32f2f 25px,
        #ffffff 25px,
        #ffffff 50px,
        #1976d2 50px,
        #1976d2 75px,
        #ffffff 75px,
        #ffffff 100px
    );
    position: absolute;
    top: -50%;
    left: -50%;
    animation: poleSpin 3s linear infinite;
}

.pole-reflection {
    position: absolute;
    top: 0;
    left: 4px;
    width: 8px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
    z-index: 5;
    border-radius: 4px;
}

.pole-reflection::after {
    content: '';
    position: absolute;
    top: 0;
    right: -24px;
    width: 4px;
    height: 100%;
    background: rgba(255,255,255,0.15);
    pointer-events: none;
}

@keyframes poleSpin {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100px);
    }
}

.salon-hours {
    position: absolute;
    bottom: -10px;
    font-family: var(--font-headings);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.1em;
    background: rgba(18, 18, 20, 0.8);
    border: 1px solid var(--border-glass);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    z-index: 3;
}

/* ==========================================================================
   Contacts & Instagram Section
   ========================================================================== */
.contacts-section {
    padding: 100px 24px;
    background: var(--bg-dark);
}

.contacts-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.contacts-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.contacts-intro {
    color: var(--color-text-secondary);
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 48px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(223, 183, 108, 0.05);
    border: 1px solid rgba(223, 183, 108, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--color-text-primary);
}

.info-item p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

.info-item a:hover {
    color: var(--color-primary);
}

/* Instagram Card */
.instagram-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
}

.instagram-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(223, 183, 108, 0.1) 0%, rgba(255, 255, 255, 0.01) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.instagram-badge {
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    background: rgba(223, 183, 108, 0.05);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glass);
}

.insta-logo {
    width: 60px;
    height: 60px;
    margin: 32px auto 16px auto;
    filter: drop-shadow(0 4px 10px rgba(253, 89, 73, 0.3));
}

.insta-svg {
    width: 100%;
    height: 100%;
}

.instagram-handle {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: #fff;
    font-weight: 600;
}

.qr-code-wrapper {
    background: #fff;
    padding: 16px;
    border-radius: var(--radius-md);
    width: 180px;
    height: 180px;
    margin: 0 auto 32px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-frame {
    width: 100%;
    height: 100%;
}

.qr-svg {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Cart Sidebar Drawer
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    background: #121215;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 201;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    height: 80px;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-header h3 {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
}

.cart-close-btn {
    font-size: 2rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.cart-close-btn:hover {
    color: var(--color-text-primary);
}

.cart-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
}

/* Empty State */
.cart-empty-state {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-secondary);
}

.cart-empty-state svg {
    margin-bottom: 16px;
    opacity: 0.3;
}

.cart-empty-state p {
    margin-bottom: 24px;
    font-weight: 300;
}

/* Cart Items */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.cart-item-image-wrapper {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: #0c0c0e;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.cart-item-svg {
    width: 80%;
    height: 80%;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 500;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.qty-val {
    width: 32px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.cart-item-remove {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.cart-item-remove:hover {
    color: var(--color-error);
}

/* Cart Footer Summary */
.cart-drawer-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #0a0a0d;
}

.delivery-options {
    margin-bottom: 20px;
}

.delivery-options h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    color: var(--color-text-secondary);
}

.delivery-toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.delivery-option {
    border: 1.5px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.01);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.delivery-option input {
    display: none;
}

.delivery-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.delivery-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.delivery-price {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.delivery-option.active {
    border-color: var(--color-primary);
    background: rgba(223, 183, 108, 0.04);
}

.delivery-option.active .delivery-title {
    color: #fff;
}

.delivery-option.active .delivery-price {
    color: var(--color-primary);
}

.cart-totals {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.total-row.total-grand {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.total-row.total-grand span:last-child {
    color: var(--color-primary);
}

.checkout-actions {
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Order Success Modal
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--gradient-card);
    border: 1.5px solid var(--color-primary);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    animation: scaleUpIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--color-success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.success-checkmark {
    font-size: 2.2rem;
    color: var(--color-success);
    font-weight: bold;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #fff;
}

.modal-text {
    color: var(--color-text-secondary);
    font-weight: 300;
    margin-bottom: 24px;
}

.order-summary-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: left;
    margin-bottom: 24px;
}

.order-summary-card h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
}

.summary-details p {
    display: flex;
    justify-content: space-between;
}

.summary-details strong {
    font-weight: 500;
    color: var(--color-text-secondary);
}

.modal-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #09090b;
    padding: 40px 24px;
    text-align: center;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-copyright {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-dev {
    font-family: var(--font-headings);
    color: var(--color-primary);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUpIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideDownIn {
    from { opacity: 0; transform: translate(-50%, -40px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 6px; }
    50% { opacity: 0.3; top: 18px; }
    100% { opacity: 1; top: 6px; }
}

@keyframes poleSpin {
    from { transform: translateY(0); }
    to { transform: translateY(-80px); }
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(223, 183, 108, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(223, 183, 108, 0); }
    100% { box-shadow: 0 0 0 0 rgba(223, 183, 108, 0); }
}

/* Utilities */
.hidden {
    display: none !important;
}

/* ==========================================================================
   Responsive Design — Tablet & Mobile
   ========================================================================== */

/* ── Hamburger Menu Button (hidden on desktop) ── */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-normal);
    background: transparent;
    border: none;
    padding: 4px;
    flex-shrink: 0;
}

.hamburger-btn:hover {
    background: rgba(223, 183, 108, 0.08);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.hamburger-btn.open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger-btn.open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 98;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
}

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
    .booking-card {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 32px;
    }
    .booking-image-wrapper {
        order: -1;
    }
    .contacts-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    html {
        font-size: 15px;
    }

    /* Header */
    .main-header {
        height: var(--header-height);
    }

    .header-container {
        padding: 0 16px;
        gap: 8px;
    }

    .brand-title {
        font-size: 1.05rem;
        letter-spacing: 0.08em;
    }

    .brand-subtitle {
        font-size: 0.65rem;
        letter-spacing: 0.25em;
    }

    /* Show hamburger, hide desktop nav */
    .hamburger-btn {
        display: flex;
    }

    .nav-menu {
        /* Slide-down mobile drawer */
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(9, 9, 11, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(223, 183, 108, 0.15);
        padding: 24px 20px;
        gap: 4px;
        z-index: 99;
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        pointer-events: none;
    }

    .nav-menu.mobile-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 14px 16px;
        border-radius: 10px;
        color: var(--color-text-secondary);
        letter-spacing: 0.08em;
    }

    .nav-link:hover, .nav-link.active {
        background: rgba(223, 183, 108, 0.06);
        color: var(--color-primary);
    }

    .nav-link::after {
        display: none;
    }

    /* Hero */
    .hero-content-wrapper {
        padding: 24px 16px;
    }

    .hero-logo-container {
        max-width: 260px !important;
        margin-bottom: 20px !important;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 0.01em;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .hero-actions-group {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 12px;
    }

    .hero-actions-group .btn {
        width: 100%;
    }

    .scroll-indicator {
        display: none;
    }

    /* Catalog section */
    .catalog-section {
        padding: 64px 16px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    /* Filter pills — horizontal scroll */
    .filter-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 6px;
        padding: 4px;
        width: 100%;
        justify-content: flex-start;
    }

    .filter-container::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    /* Products grid — single column */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image-container {
        height: 260px;
    }

    .product-info {
        padding: 18px;
    }

    .product-title {
        font-size: 1.2rem;
    }

    .product-footer {
        flex-wrap: wrap;
        gap: 12px;
    }

    .product-price {
        font-size: 1.2rem;
    }

    /* Quantity selector on cards */
    .quantity-selector {
        width: 100%;
        justify-content: space-between;
    }

    /* Booking section */
    .booking-section {
        padding: 40px 16px;
    }

    .booking-card {
        grid-template-columns: 1fr;
        padding: 28px 20px;
        gap: 24px;
    }

    .booking-title {
        font-size: 2rem;
    }

    .booking-text {
        font-size: 1rem;
    }

    .booking-image-wrapper {
        order: -1;
        height: auto;
    }

    .salon-graphic {
        width: 160px;
        height: 160px;
    }

    .barber-pole-wrapper {
        height: 160px;
        width: 40px;
    }

    .barber-pole-glass {
        height: 125px;
        width: 30px;
    }

    .pole-cap {
        width: 34px;
        height: 18px;
    }

    /* Contacts section */
    .contacts-section {
        padding: 64px 16px;
    }

    .contacts-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contacts-title {
        font-size: 1.8rem;
    }

    .contacts-intro {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .info-list {
        gap: 24px;
    }

    .instagram-card {
        padding: 28px 20px;
    }

    .qr-code-wrapper {
        width: 150px;
        height: 150px;
    }

    /* Cart Drawer — full width on mobile */
    .cart-drawer {
        width: 100%;
        right: -100%;
    }

    .cart-drawer-header {
        height: 64px;
        padding: 0 16px;
    }

    .cart-drawer-body {
        padding: 16px;
    }

    .cart-drawer-footer {
        padding: 16px;
    }

    .delivery-toggle-group {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .delivery-option {
        padding: 8px 10px;
    }

    .delivery-title {
        font-size: 0.8rem;
    }

    /* Order modal */
    .modal-content {
        padding: 28px 20px;
        max-width: 100%;
    }

    .modal-title {
        font-size: 1.6rem;
    }

    /* Footer */
    .main-footer {
        padding: 28px 16px;
    }
}

/* ── Small phones (≤400px) ── */
@media (max-width: 400px) {
    .brand-title {
        font-size: 0.9rem;
    }

    .brand-subtitle {
        display: none;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .product-image-container {
        height: 220px;
    }

    .filter-btn {
        padding: 7px 13px;
        font-size: 0.78rem;
    }

    .booking-title {
        font-size: 1.7rem;
    }
}
