:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --accent-cyan: #10b981;
    --accent-blue: #7c3aed;
    --accent-pink: #8b5cf6;
    --accent-green: #10b981;
    --accent-purple: #7c3aed;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
}

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

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

html {
    scroll-behavior: smooth;
}

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

section, header, footer, .announcement-bar {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #180d2b, #09171f);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    font-size: 0.9rem;
    color: #f8fafc;
}

.announcement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.announcement-content mark {
    background: rgba(16, 185, 129, 0.25);
    color: #6ee7b7;
    padding: 2px 6px;
    border-radius: 4px;
}

.badge-fire {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.timer-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.countdown-timer {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #10b981;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    flex-shrink: 0;
}

.logo-accent {
    color: var(--accent-blue);
}

.logo-tag {
    font-size: 0.7rem;
    background: #f5f3ff;
    color: var(--accent-blue);
    border: 1px solid #ddd6fe;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    font-weight: 800;
    line-height: 1;
}

.header-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.84rem;
    background: #f1f5f9;
    height: 38px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    color: #475569;
    white-space: nowrap;
    box-sizing: border-box;
    line-height: 1;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-messengers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-cta-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-messenger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    height: 38px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    transition: var(--transition);
    white-space: nowrap;
    box-sizing: border-box;
    border: 1px solid transparent;
}

.btn-messenger.telegram {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #bae6fd;
}

.btn-messenger.telegram:hover {
    background: #0284c7;
    color: #fff;
    border-color: #0284c7;
}

.btn-messenger.viber {
    background: #f3e8ff;
    color: #7e22ce;
    border-color: #e9d5ff;
}

.btn-messenger.viber:hover {
    background: #7e22ce;
    color: #fff;
    border-color: #7e22ce;
}

.header-phone {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    padding: 0 14px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f1f5f9;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    white-space: nowrap;
    box-sizing: border-box;
    line-height: 1;
}

.header-phone:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #0f172a;
}

@media (max-width: 1120px) {
    .header-status {
        display: none;
    }
}

@media (max-width: 860px) {
    .header-messengers {
        display: none;
    }
}

.footer-contacts {
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

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

.footer-phone-link {
    color: var(--accent-blue);
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
}

.footer-messengers {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.9rem;
}

.footer-msg {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
}

.footer-msg.telegram { color: #2babee; }
.footer-msg.viber { color: #a46bc7; }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 800;
    font-family: var(--font-heading);
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.35);
}

.btn-primary-sm {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 800;
    font-family: var(--font-heading);
    padding: 0 16px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
    white-space: nowrap;
    border: 1px solid transparent;
    box-sizing: border-box;
}

.btn-primary-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.btn-outline {
    background: #ffffff;
    color: var(--text-main);
    border: 1.5px solid var(--border-color);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-outline:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* Hero & Store Intro Section */
.hero {
    padding: 50px 0;
    position: relative;
}

.store-intro {
    padding: 70px 0;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f5f3ff;
    color: var(--accent-blue);
    border: 1px solid #ddd6fe;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-text h1,
.hero-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: #0f172a;
}

.highlight-text {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.feature-icon {
    font-size: 1.4rem;
}

.feature-item b {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
}

.feature-item span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

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

/* Gallery Box */
.hero-image-box {
    position: relative;
}

.hero-main-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.card-discount-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--accent-cyan);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.badge-new-arrival {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #fff;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
    pointer-events: none;
}

.hero-main-card img#mainGalleryImg {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
    transition: var(--transition);
}

/* Store Overview Card (Hero presentation) */
.store-overview-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
    position: relative;
    overflow: hidden;
}

.store-overview-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.overview-header {
    text-align: left;
}

.overview-tag {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent-blue);
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 4px;
}

.overview-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.brand-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brand-pill {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    transition: var(--transition);
}

.brand-pill:hover {
    border-color: var(--accent-blue);
    background: #f5f3ff;
    color: var(--accent-blue);
}

.store-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--accent-blue);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.25;
}

.trust-notice-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm);
    padding: 14px;
}

.trust-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.trust-text b {
    display: block;
    font-size: 0.9rem;
    color: #166534;
    margin-bottom: 2px;
}

.trust-text p {
    font-size: 0.8rem;
    color: #15803d;
    margin: 0;
    line-height: 1.35;
}

.store-quick-contact {
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-quick-contact > span {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

.quick-contact-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-contact-pill.telegram {
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #0284c7;
}

.btn-contact-pill.viber {
    background: #f3e8ff;
    border: 1px solid #e9d5ff;
    color: #7e22ce;
}

.btn-contact-pill.phone {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.btn-contact-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.thumb-img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.thumb-img:hover, .thumb-img.active {
    opacity: 1;
    border-color: var(--accent-blue);
    transform: scale(1.05);
}

/* Specs & Catalog */
.catalog {
    padding: 35px 0 60px;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 40px;
}

.section-header h1,
.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
}

/* Category Filter Chips */
.category-filter-wrapper {
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 4px 10px;
    width: 100%;
    max-width: 100%;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
}

.category-filter-wrapper::-webkit-scrollbar {
    display: none;
}

.category-filter-chips {
    display: flex;
    gap: 8px;
    padding: 2px;
    width: max-content;
    margin: 0;
}

@media (min-width: 769px) {
    .category-filter-chips {
        margin: 0 auto;
    }
}

.filter-chip {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: #475569;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.filter-chip:hover,
.filter-chip.active {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
    transform: translateY(-1px);
}

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

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.product-card:hover {
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.12);
}

.product-img-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f8fafc;
    position: relative;
    touch-action: pan-y;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.card-thumbnails {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    width: 100%;
    max-width: 100%;
}

.card-thumbnails::-webkit-scrollbar {
    display: none;
}

.card-thumb-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition);
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #ffffff;
}

.card-thumb-img:hover, .card-thumb-img.active {
    opacity: 1;
    border-color: var(--accent-blue);
    transform: scale(1.06);
}

/* Floating Scroll to Top */
.scroll-top-btn {
    position: fixed;
    bottom: 85px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    color: var(--accent-blue);
    font-size: 1.2rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.product-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-cat {
    font-size: 0.75rem;
    color: var(--accent-blue);
    font-weight: 800;
    letter-spacing: 1px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 8px 0 16px;
    color: #0f172a;
}

.size-selector {
    margin-bottom: 24px;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-btn {
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    color: #1e293b;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.size-btn:hover, .size-btn.active {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #fff;
    font-weight: 800;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

.price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.price-now {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-blue);
    letter-spacing: -0.5px;
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 800;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

/* Order Section */
.order-section {
    padding: 80px 0;
}

.order-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

.order-header {
    text-align: center;
    margin-bottom: 30px;
}

.order-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 8px;
    color: #0f172a;
}

.order-header p {
    color: var(--text-muted);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
}

.form-input {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    color: #0f172a;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    background: #ffffff;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

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

/* Payment Method Selector */
.payment-method-group {
    margin: 6px 0;
}

.payment-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 8px;
}

.payment-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8fafc;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    user-select: none;
}

.payment-card:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.payment-card.active {
    border-color: var(--accent-blue);
    background: #f5f3ff;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.12);
}

.payment-card input[type="radio"] {
    accent-color: var(--accent-blue);
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.payment-card-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.payment-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.payment-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
}

.payment-badge-rec {
    background: #f5f3ff;
    color: #7c3aed;
    border: 1px solid #ddd6fe;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: auto;
}

.payment-badge-save {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: auto;
}

.payment-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.35;
    margin: 0;
}

.order-summary-box {
    background: #faf8ff;
    border: 1.5px dashed var(--accent-blue);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    color: #0f172a;
}

.summary-text-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.summary-text-block small {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.order-summary-box b {
    color: var(--accent-blue);
    font-size: 1.6rem;
    font-family: var(--font-heading);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 18px;
}

.form-security-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Reviews */
.reviews-section {
    padding: 60px 0 80px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.review-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.review-stars {
    color: #f59e0b;
    margin-bottom: 10px;
}

.review-text {
    font-size: 0.95rem;
    font-style: italic;
    color: #334155;
    margin-bottom: 16px;
    line-height: 1.55;
}

.review-author b {
    display: block;
    font-size: 0.9rem;
    color: #0f172a;
}

.review-author span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
    color: #0f172a;
}

.modal-card h3 {
    color: #0f172a;
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: #0f172a;
}

.modal-calc-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0;
}

.calc-result {
    background: #f5f3ff;
    border: 1px solid var(--accent-blue);
    padding: 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    margin-top: 15px;
    color: #0f172a;
}

.calc-result.hidden {
    display: none;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    display: none;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */

/* Tablets & Small Laptops (max-width: 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 16px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-badge {
        margin: 0 auto 16px;
    }

    .hero-desc {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-price-tag {
        justify-content: center;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features-list {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Phones (max-width: 768px) */
@media (max-width: 768px) {
    body {
        padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
        touch-action: pan-y;
    }

    .announcement-bar {
        padding: 6px 0;
    }

    .announcement-content {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        padding: 0 4px;
    }

    .announcement-text {
        font-size: 0.78rem;
        line-height: 1.35;
        text-align: center;
    }

    .timer-box {
        font-size: 0.78rem;
        padding: 2px 10px;
    }

    .header {
        padding: 10px 0;
        width: 100%;
        max-width: 100%;
    }

    .header-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        flex-wrap: nowrap;
    }

    .logo {
        font-size: 1.15rem;
        justify-content: flex-start;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .logo-tag {
        display: none;
    }

    .header-status {
        display: none;
    }

    .header-messengers {
        display: none;
    }

    .header-actions {
        width: auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
        flex-wrap: nowrap;
    }

    .header-cta-line {
        display: flex;
        gap: 6px;
        align-items: center;
        flex-wrap: nowrap;
    }

    .header-cta-line .header-phone {
        height: 34px;
        font-size: 0.78rem;
        padding: 0 9px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        border-radius: var(--radius-sm);
        white-space: nowrap;
        box-sizing: border-box;
    }

    .header-cart-btn {
        height: 34px;
        font-size: 0.8rem;
        padding: 0 9px;
        gap: 5px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-sm);
        box-sizing: border-box;
    }

    .header-cart-btn .header-cart-label {
        display: none;
    }

    .header-cta-line .btn-primary-sm {
        height: 34px;
        font-size: 0.8rem;
        padding: 0 11px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-sm);
        white-space: nowrap;
        box-sizing: border-box;
    }

    .hero,
    .store-intro {
        padding: 35px 0 45px;
    }

    .hero-text h1,
    .hero-text h2 {
        font-size: clamp(1.6rem, 6.5vw, 2.2rem);
        letter-spacing: -0.5px;
        line-height: 1.2;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }

    .hero-features-list {
        gap: 10px;
        margin-bottom: 22px;
    }

    .feature-item {
        padding: 10px 14px;
        gap: 10px;
        text-align: left;
    }

    .feature-icon {
        font-size: 1.25rem;
    }

    .feature-item b {
        font-size: 0.88rem;
    }

    .feature-item span {
        font-size: 0.78rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 15px 18px;
        font-size: 1rem;
        min-height: 48px;
    }

    .hero-main-card {
        padding: 12px;
        border-radius: var(--radius-md);
    }

    .store-overview-card {
        padding: 16px;
        border-radius: var(--radius-md);
        gap: 14px;
    }

    .overview-title {
        font-size: 1.15rem;
    }

    .store-stats-grid {
        gap: 8px;
    }

    .stat-box {
        padding: 10px 12px;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .gallery-thumbnails {
        gap: 8px;
        margin-top: 10px;
    }

    .thumb-img {
        width: 65px;
        height: 65px;
        border-radius: 6px;
    }

    .catalog {
        padding: 20px 0 35px;
    }

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

    .section-header h1,
    .section-header h2 {
        font-size: 1.55rem;
    }

    .section-header p {
        font-size: 0.88rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        border-radius: var(--radius-md);
    }

    .product-details {
        padding: 16px 14px;
    }

    .product-title {
        font-size: 1.2rem;
        margin: 4px 0 8px;
    }

    .product-desc {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .size-selector label {
        font-size: 0.85rem;
    }

    .size-options {
        gap: 6px;
    }

    .size-btn {
        padding: 8px 12px;
        font-size: 0.88rem;
        flex: 1 1 calc(33.333% - 6px);
        min-height: 44px;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .price-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        text-align: left;
        padding-top: 14px;
    }

    .price-now {
        font-size: 1.55rem;
    }

    .btn-buy {
        width: auto;
        flex: 1;
        max-width: 140px;
        padding: 10px 14px;
        font-size: 0.95rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .order-section {
        padding: 35px 0;
    }

    .order-wrapper {
        padding: 20px 14px;
        border-radius: var(--radius-md);
    }

    .order-header h2 {
        font-size: 1.5rem;
    }

    .order-header p {
        font-size: 0.85rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-input {
        font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
        padding: 14px 12px;
    }

    .payment-options-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .payment-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .order-summary-box {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 12px;
        font-size: 1rem;
    }

    .summary-text-block {
        text-align: center;
    }

    .order-summary-box b {
        font-size: 1.45rem;
    }

    .btn-submit {
        padding: 16px 14px;
        font-size: 0.95rem;
        white-space: normal;
        line-height: 1.3;
        min-height: 52px;
    }

    .reviews-section {
        padding: 35px 0 50px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .review-card {
        padding: 16px 14px;
    }

    .modal-card {
        padding: 22px 16px;
        max-width: 92%;
    }

    /* Mobile Sticky Quick Action Bar */
    .mobile-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(14px);
        border-top: 1px solid var(--border-color);
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
        gap: 8px;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
    }

    .mobile-sticky-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 6px;
        padding: 0 10px;
        border-radius: var(--radius-sm);
        text-decoration: none;
        font-weight: 700;
        font-size: 0.85rem;
        height: 44px;
        line-height: 1;
        white-space: nowrap;
        transition: var(--transition);
        box-sizing: border-box;
    }

    .mobile-sticky-btn.telegram {
        background: #e0f2fe;
        color: #0284c7;
        border: 1px solid #bae6fd;
        flex: 1;
    }

    .mobile-sticky-btn.viber {
        background: #f3e8ff;
        color: #7e22ce;
        border: 1px solid #e9d5ff;
        flex: 1;
    }

    .mobile-sticky-btn.order-now {
        background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
        color: #fff;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        flex: 1.4;
        font-weight: 800;
        font-size: 0.92rem;
        box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
    }

    .mobile-sticky-btn span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1;
        white-space: nowrap;
    }
}

/* Compact Mobile Devices (max-width: 540px) */
@media (max-width: 540px) {
    .header-phone .phone-text {
        display: none;
    }

    .header-cta-line .header-phone {
        width: 34px;
        height: 34px;
        padding: 0;
        justify-content: center;
    }

    .header-cta-line .header-phone .phone-icon {
        font-size: 1rem;
        line-height: 1;
    }

    .header-cart-btn {
        height: 34px;
        padding: 0 8px;
    }

    .header-cta-line .btn-primary-sm {
        height: 34px;
        padding: 0 10px;
        font-size: 0.8rem;
    }
}

/* Extra Small Devices (max-width: 380px) */
@media (max-width: 380px) {
    .logo {
        font-size: 1.05rem;
    }

    .header-cta-line .header-phone {
        width: 32px;
        height: 32px;
    }

    .header-cart-btn {
        height: 32px;
        padding: 0 7px;
    }

    .header-cta-line .btn-primary-sm {
        height: 32px;
        font-size: 0.75rem;
        padding: 0 8px;
    }

    .size-btn {
        flex: 1 1 calc(50% - 6px);
    }

    .hero-text h1 {
        font-size: 1.45rem;
    }

    .mobile-sticky-btn {
        padding: 0 6px;
        font-size: 0.78rem;
        gap: 4px;
    }

    .mobile-sticky-btn svg {
        width: 15px;
        height: 15px;
    }

    .mobile-sticky-btn span {
        font-size: 0.78rem;
    }
}

/* ==========================================
   SHOPPING CART SYSTEM (URBAN GRID)
   ========================================== */

/* Header Cart Button */
.header-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    color: #0f172a;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-sizing: border-box;
    line-height: 1;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
}

.header-cart-btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: var(--accent-blue);
    transform: translateY(-1px);
}

.header-cart-btn:active {
    transform: scale(0.97);
}

.header-cart-btn .cart-icon {
    font-size: 1rem;
    line-height: 1;
}

/* Cart Badge */
.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #94a3b8;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s;
}

.cart-badge.has-items {
    background: #ef4444;
    animation: cartBadgePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartBadgePop {
    0% { transform: scale(0.6); }
    70% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* Floating Cart Button */
.floating-cart-btn {
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    border: none;
    color: #ffffff;
    font-size: 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
    transition: var(--transition);
}

.floating-cart-btn:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.5);
}

.floating-cart-btn:active {
    transform: scale(0.95);
}

.floating-cart-btn .floating-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    border: 2px solid #ffffff;
}

/* Adjust scroll-top-btn position so it doesn't overlap floating cart */
.scroll-top-btn {
    bottom: 90px !important;
}

/* Body lock when cart open */
body.cart-open {
    overflow: hidden !important;
}

/* Cart Drawer Overlay */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 430px;
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 35px rgba(15, 23, 42, 0.2);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.cart-drawer.active {
    transform: translateX(0);
}

/* Cart Drawer Header */
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}

.cart-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-header-title h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.cart-header-count {
    color: #64748b;
    font-size: 1rem;
    font-weight: 700;
}

.cart-drawer-close {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}

.cart-drawer-close:hover {
    color: #0f172a;
    background: #e2e8f0;
}

/* Cart Drawer Body */
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 22px;
}

/* Cart Empty State */
.cart-empty-state {
    text-align: center;
    padding: 60px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cart-empty-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    opacity: 0.8;
}

.cart-empty-state h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.cart-empty-state p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 280px;
}

.cart-empty-state .btn-go-catalog {
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
}

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

.cart-item {
    position: relative;
    display: flex;
    gap: 14px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: var(--transition);
}

.cart-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.cart-item-img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 8px;
    background: #f1f5f9;
    flex-shrink: 0;
    border: 1px solid #f1f5f9;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.3;
    padding-right: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.cart-item-size {
    font-size: 0.8rem;
    color: #475569;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 6px;
    font-weight: 600;
}

.cart-item-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.cart-item-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent-blue);
    font-family: var(--font-heading);
}

.cart-qty-ctrls {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.cart-qty-btn {
    width: 26px;
    height: 26px;
    background: #f8fafc;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    line-height: 1;
}

.cart-qty-btn:hover {
    background: #e2e8f0;
}

.cart-qty-val {
    min-width: 26px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

.cart-item-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.95rem;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

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

/* Cart Drawer Footer */
.cart-drawer-footer {
    padding: 18px 22px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #334155;
}

.cart-total-price {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    color: #0f172a;
}

.cart-delivery-note {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 14px;
    line-height: 1.4;
}

.btn-checkout-cart {
    width: 100%;
    height: 48px;
    border-radius: var(--radius-sm);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.btn-continue-shopping {
    width: 100%;
    height: 38px;
    background: transparent;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    color: #475569;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-continue-shopping:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Order Form Cart Summary Box */
.cart-order-summary-box {
    background: #f8fafc;
    border: 1.5px dashed var(--accent-blue);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
}

.cart-summary-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 700;
    color: #0f172a;
    font-size: 0.92rem;
}

.btn-edit-cart {
    background: none;
    border: none;
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
    transition: var(--transition);
}

.btn-edit-cart:hover {
    color: var(--accent-cyan);
}

.cart-order-summary-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-summary-line-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.cart-summary-item-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.cart-summary-item-text {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.35;
}

.cart-summary-item-text b {
    color: #0f172a;
}

/* Toast Notification */
.cart-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: #0f172a;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    text-align: center;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-toast.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Mobile Responsiveness for Shopping Cart */
@media (max-width: 768px) {
    .floating-cart-btn {
        bottom: 74px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .scroll-top-btn {
        bottom: 134px !important;
        right: 16px;
    }

    .cart-drawer {
        width: 100%;
    }

    .cart-badge {
        min-width: 18px;
        height: 18px;
        font-size: 0.68rem;
    }
}

/* ==========================================================================
   ORDER SUCCESS MODAL WITH PDF DOWNLOAD
   ========================================================================== */
.order-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.order-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.order-success-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    z-index: 10001;
    animation: successModalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.order-success-card .btn-close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.order-success-card .btn-close-modal:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.order-success-icon {
    font-size: 3.2rem;
    line-height: 1;
    margin-bottom: 12px;
}

.order-success-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.order-success-sub {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 20px;
}

.success-order-num {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
}

.success-order-details-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    text-align: left;
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.6;
}

.success-order-details-box .details-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.success-order-details-box .details-row:last-child {
    margin-bottom: 0;
    padding-top: 6px;
    border-top: 1px dashed #cbd5e1;
    font-weight: 700;
    color: #0f172a;
}

.order-success-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.btn-download-pdf-receipt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download-pdf-receipt:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.btn-secondary-outline {
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 11px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary-outline:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.order-success-footer-note {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

/* ==========================================================================
   OFFSCREEN PDF INVOICE TEMPLATE (FOR HTML2PDF RENDERING)
   ========================================================================== */
.pdf-render-wrapper {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 794px;
    background: #ffffff;
    z-index: -9999;
    pointer-events: none;
}

.pdf-invoice-container {
    width: 794px;
    box-sizing: border-box;
    background: #ffffff;
    color: #111827;
    padding: 32px 36px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.45;
}

.pdf-inv-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.pdf-inv-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1;
}

.pdf-inv-logo span {
    color: #7c3aed;
}

.pdf-inv-logo small {
    font-size: 10px;
    background: #111827;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 4px;
    letter-spacing: 0.05em;
}

.pdf-inv-tagline {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.pdf-inv-contacts {
    font-size: 11px;
    color: #475569;
    margin-top: 6px;
}

.pdf-inv-meta {
    text-align: right;
}

.pdf-doc-badge {
    display: inline-block;
    background: #7c3aed;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.pdf-meta-num {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.pdf-meta-date {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.pdf-meta-status {
    font-size: 11px;
    color: #10b981;
    margin-top: 2px;
}

.pdf-inv-divider {
    height: 2px;
    background: linear-gradient(90deg, #7c3aed 0%, #10b981 100%);
    margin: 14px 0 20px 0;
    border-radius: 2px;
}

.pdf-inv-info-grid {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

.pdf-info-box {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
}

.pdf-box-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 6px;
    margin-bottom: 8px;
}

.pdf-box-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11.5px;
}

.pdf-box-table td {
    padding: 3px 0;
    vertical-align: top;
}

.pdf-box-table .pdf-lbl {
    width: 75px;
    color: #64748b;
    font-weight: 600;
}

.pdf-inv-table-section {
    margin-bottom: 20px;
}

.pdf-section-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #0f172a;
    margin-bottom: 8px;
}

.pdf-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #cbd5e1;
    font-size: 11px;
}

.pdf-table th {
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    font-size: 10.5px;
    letter-spacing: 0.02em;
}

.pdf-table td {
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    vertical-align: middle;
}

.pdf-table tr:nth-child(even) td {
    background: #f8fafc;
}

.pdf-item-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 11.5px;
}

.pdf-item-code {
    font-size: 9.5px;
    color: #64748b;
}

.pdf-inv-summary-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.pdf-summary-notes {
    flex: 1.2;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
}

.pdf-badge-guarantee {
    font-size: 11px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.pdf-guarantee-list {
    margin: 0;
    padding-left: 14px;
    font-size: 10px;
    color: #475569;
    line-height: 1.45;
}

.pdf-guarantee-list li {
    margin-bottom: 4px;
}

.pdf-totals-box {
    flex: 1;
    background: #ffffff;
    border: 2px solid #0f172a;
    border-radius: 10px;
    padding: 14px 16px;
}

.pdf-tot-row {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: #475569;
    margin-bottom: 6px;
}

.pdf-tot-row b {
    color: #0f172a;
}

.pdf-tot-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

.pdf-tot-row.pdf-grand-total {
    font-size: 14px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 4px;
}

.pdf-tot-row.pdf-grand-total b {
    color: #10b981;
    font-size: 16px;
}

.pdf-tot-payment-type {
    font-size: 10px;
    color: #64748b;
    text-align: right;
    margin-top: 2px;
}

.pdf-inv-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #cbd5e1;
    padding-top: 14px;
}

.pdf-stamp-area {
    display: flex;
    align-items: center;
}

.pdf-stamp-seal {
    width: 100px;
    height: 100px;
    border: 3px double #7c3aed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-5deg);
    opacity: 0.88;
}

.pdf-seal-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pdf-seal-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 900;
    color: #7c3aed;
    letter-spacing: 0.05em;
}

.pdf-seal-dept {
    font-size: 7.5px;
    font-weight: 700;
    color: #475569;
    margin: 2px 0;
}

.pdf-seal-status {
    font-size: 8px;
    font-weight: 800;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 1px 4px;
    border-radius: 3px;
}

.pdf-sign-area {
    text-align: right;
    flex: 1;
    padding-left: 20px;
}

.pdf-sign-row {
    font-size: 11px;
    color: #475569;
    margin-bottom: 6px;
}

.pdf-sign-line {
    font-weight: 700;
    color: #0f172a;
    border-bottom: 1px solid #0f172a;
    padding-bottom: 2px;
    display: inline-block;
    margin-left: 8px;
}

.pdf-final-thanks {
    font-size: 10px;
    color: #64748b;
    margin: 0;
}


