/* style.css - Premium Dark Theme */
:root {
    --bg-color: #0f172a;
    --bg-light: #1e293b;
    --bg-lighter: #334155;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.5);
    
    --success: #10b981;
    --error: #ef4444;

    --bg-card: #1e293b;
    --border-color: #334155;
    --shadow: rgba(0, 0, 0, 0.4);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-color: #f8fafc;
    --bg-light: #ffffff;
    --bg-lighter: #e2e8f0;
    
    --text-main: #0f172a;
    --text-muted: #475569;
    
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.2);

    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .hero-section {
    background: radial-gradient(circle at 50% 30%, rgba(37, 99, 235, 0.08) 0%, rgba(241, 245, 249, 0.6) 60%, var(--bg-color) 100%), var(--bg-color);
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

/* Header & Nav - Always Sleek Midnight Glass */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #f8fafc, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-logo {
    max-height: 80px;
    width: auto;
}

/* Logos in Header and Footer (always dark background) */
.main-header .logo-dark,
.main-footer .logo-dark { 
    display: block !important; 
}
.main-header .logo-light,
.main-footer .logo-light { 
    display: none !important; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 45px;
    align-items: center;
}

.nav-links a {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

.theme-toggle { z-index: 100; pointer-events: auto;
    width: 60px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    position: relative;
    padding: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    display: flex;
    align-items: center;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .theme-toggle { z-index: 100; pointer-events: auto;
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.toggle-circle {
    width: 24px;
    height: 24px;
    background-color: #0f172a;
    border-radius: 50%;
    position: absolute;
    left: 2px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

[data-theme="light"] .toggle-circle {
    transform: translateX(30px);
    background-color: #ffffff;
}

.theme-icon-dark, .theme-icon-light {
    font-size: 14px;
    position: absolute;
}

.theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: block; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #f8fafc;
    position: relative;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Hamburger active state */
.menu-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}
.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}


/* Main sections */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0) 70%), var(--bg-color);
    position: relative;
}

[data-theme="light"] .hero-section {
    background: radial-gradient(circle at 50% 30%, rgba(37, 99, 235, 0.1) 0%, rgba(248, 250, 252, 0) 70%), var(--bg-color);
}

.hero-content h1,
.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.15;
    font-weight: 800;
}

.hero-content h1 span,
.hero-content h2 span {
    color: var(--accent);
}

.hero-content h1 span.highlight,
.hero-content h2 span.highlight,
.highlight {
    background: linear-gradient(135deg, #60a5fa 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 35px auto;
    line-height: 1.6;
}

.location-info {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px var(--accent-glow);
    font-family: var(--font-body);
    font-size: 0.98rem;
    text-decoration: none;
    line-height: 1.3;
}

.btn:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
    color: #ffffff !important;
}

.btn:active {
    transform: translateY(0);
}

.btn-campaign {
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.btn-campaign:hover {
    background: linear-gradient(135deg, #dc2626, #d97706);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

.btn-outline {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(8px);
    color: var(--text-main) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .btn-outline {
    background: #ffffff;
    color: #1e293b !important;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .btn-outline:hover {
    background: #f8fafc;
    border-color: var(--accent);
    color: var(--accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.15);
}

/* Trust Stats Strip */
.trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--bg-lighter);
}

.trust-stat-card {
    background: var(--bg-light);
    border: 1px solid var(--bg-lighter);
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 14px var(--shadow);
}

.trust-stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px var(--shadow);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* Services Section */
.services-section {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-color);
    padding: 35px 25px;
    border-radius: 16px;
    border: 1px solid var(--bg-lighter);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.service-icon {
    font-size: 2.2rem;
    line-height: 1;
    width: 55px;
    height: 55px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-tag-pill {
    background-color: var(--bg-light);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.service-features-list {
    list-style: none;
    margin-bottom: 25px;
    margin-top: auto;
}

.service-features-list li {
    font-size: 0.88rem;
    color: var(--text-main);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features-list li::before {
    content: '\2713'; /* Unicode checkmark */
    color: var(--accent);
    font-weight: bold;
}

.service-link {
    color: #fff;
    background-color: var(--accent);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    margin-top: auto;
}

.service-link:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 12px var(--accent-glow);
}

/* Campaign Promo Banner on Homepage */
.campaign-promo-banner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid var(--accent);
    border-radius: 16px;
    padding: 35px 40px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 8px 30px var(--accent-glow);
}

[data-theme="light"] .campaign-promo-banner {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(219, 39, 119, 0.1));
}

.campaign-promo-content h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.campaign-promo-content p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

@media (max-width: 768px) {
    .campaign-promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    .hero-content h1,
    .hero-content h2 {
        font-size: 2.3rem;
    }
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--bg-lighter);
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item span.icon {
    width: 40px;
    height: 40px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
}

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

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

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input, 
.form-group textarea,
.form-group select {
    padding: 15px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    appearance: none;
}

.form-group input:focus, 
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

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

.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    padding: 10px;
    background: transparent;
    border: 1px dashed var(--bg-lighter);
    width: 100%;
    cursor: pointer;
}
.file-upload-wrapper input[type="file"]:hover {
    border-color: var(--accent);
}

.form-message {
    padding: 15px;
    border-radius: 8px;
    display: none;
    font-weight: 600;
}

.form-message.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.form-message.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
}

/* Footer - Always Sleek Deep Midnight */
.main-footer {
    background-color: #080e1a;
    padding: 70px 0 25px 0;
    border-top: 1px solid #1e293b;
    position: relative;
    color: #f8fafc;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr;
    gap: 50px;
    margin-bottom: 45px;
}

.footer-col-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc !important;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.5px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

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

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

.footer-nav-list a {
    color: #94a3b8 !important;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.footer-nav-list a:hover {
    color: #38bdf8 !important;
    transform: translateX(4px);
}

.footer-link-icon {
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b !important;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
    .footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Page content for terms and privacy */
.page-content {
    padding: 150px 0 100px 0; /* extra top padding for fixed header */
    max-width: 800px;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--accent);
}

.page-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.page-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-muted);
}

.page-content li {
    margin-bottom: 10px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-card, rgba(30, 41, 59, 0.95));
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color, var(--bg-lighter));
    padding: 15px 0;
    z-index: 9999;
    box-shadow: 0 -5px 20px var(--shadow, rgba(0,0,0,0.5));
}

.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-container p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-main);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 100px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 100px);
        background-color: rgba(11, 17, 32, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        transition: right 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-nav.open {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        gap: 35px;
    }

    .nav-links a {
        font-size: 1.4rem;
        color: #f8fafc !important;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   CAMPAIGN PAGE STYLES (Kampaania lehe stiilid)
   ========================================================================== */

.campaign-nav-badge {
    position: relative;
    color: var(--accent) !important;
}
.campaign-nav-badge::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #ef4444;
    border-radius: 50%;
    margin-left: 5px;
    vertical-align: super;
    box-shadow: 0 0 8px #ef4444;
    animation: pulseBadge 1.5s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
    100% { transform: scale(0.95); opacity: 1; }
}

.campaign-hero {
    padding-top: 150px;
    padding-bottom: 70px;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, rgba(59, 130, 246, 0.18) 0%, rgba(15, 23, 42, 0) 70%), var(--bg-color);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .campaign-hero {
    background: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.12) 0%, rgba(248, 250, 252, 0) 70%), var(--bg-color);
}

.campaign-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="light"] .campaign-badge {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(219, 39, 119, 0.1));
    border-color: rgba(37, 99, 235, 0.3);
    color: #1d4ed8;
}

.campaign-hero h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
}

.campaign-hero h1 span.highlight {
    background: linear-gradient(135deg, #60a5fa 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.campaign-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 35px auto;
}

/* Countdown Timer */
.timer-wrapper {
    margin: 30px auto 40px auto;
    max-width: 600px;
}

.timer-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 700;
}

.timer-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.timer-box {
    background: var(--bg-light);
    border: 1px solid var(--bg-lighter);
    padding: 15px 20px;
    border-radius: 12px;
    min-width: 85px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.timer-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent);
    line-height: 1;
}

.timer-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 5px;
    text-transform: uppercase;
}

/* Campaign Perks Bar - Sleek Dark Contrast Strip */
.campaign-perks-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #0b1120 0%, #0f172a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

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

.perk-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 26px;
    background: rgba(30, 41, 59, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.perk-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.perk-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.perk-item:hover .perk-icon-box {
    transform: scale(1.1);
}

.perk-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
    line-height: 1.3;
}

.perk-text p {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

/* Category Filter Tabs */
.filter-tabs-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    background-color: var(--bg-light);
    border: 1px solid var(--bg-lighter);
    color: var(--text-main);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 4px 12px var(--accent-glow);
}

/* Campaign Cards */
.campaign-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.deal-card {
    background-color: var(--bg-light);
    border-radius: 16px;
    border: 1px solid var(--bg-lighter);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.deal-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.deal-card.featured {
    border: 2px solid var(--accent);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.card-badge-top {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.discount-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    z-index: 2;
}

.deal-header {
    padding: 35px 25px 20px 25px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0) 100%);
    border-bottom: 1px solid var(--bg-lighter);
}

.deal-category {
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: block;
}

.deal-title {
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.deal-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.deal-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.specs-list {
    list-style: none;
    margin-bottom: 25px;
}

.specs-list li {
    font-size: 0.88rem;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

[data-theme="light"] .specs-list li {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.specs-list li span.spec-icon {
    font-size: 1.1rem;
    color: var(--accent);
}

.stock-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 20px;
}

.stock-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.deal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--bg-lighter);
}

.price-box {
    display: flex;
    flex-direction: column;
}

.old-price {
    font-size: 0.88rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.current-price {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-heading);
}

/* Calculator Section */
.calculator-section {
    background-color: var(--bg-color);
    border-top: 1px solid var(--bg-lighter);
    border-bottom: 1px solid var(--bg-lighter);
    padding: 80px 0;
}

.calc-card {
    background-color: var(--bg-light);
    border-radius: 16px;
    border: 1px solid var(--bg-lighter);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 25px;
}

.calc-option-group {
    margin-bottom: 20px;
}

.calc-option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.calc-select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-color);
    border: 1px solid var(--bg-lighter);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.calc-select:focus {
    outline: none;
    border-color: var(--accent);
}

.calc-summary {
    background-color: var(--bg-color);
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.calc-summary-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-heading);
    margin: 15px 0;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background-color: var(--bg-color);
    border: 1px solid var(--bg-lighter);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-author span {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.8rem;
    display: block;
    margin-top: 2px;
}

/* FAQ Accordion */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--bg-light);
    border: 1px solid var(--bg-lighter);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px 25px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Responsive tweaks for campaign */
@media (max-width: 768px) {
    .campaign-hero h1 {
        font-size: 2.2rem;
    }
    .timer-grid {
        gap: 8px;
    }
    .timer-box {
        padding: 10px 12px;
        min-width: 65px;
    }
    .timer-number {
        font-size: 1.4rem;
    }
    .calc-grid {
        grid-template-columns: 1fr;
    }
}

/* Kati Page & Modern Gallery Styles */
.kati-nav-badge {
    background: linear-gradient(135deg, #f59e0b, #ec4899);
    color: #ffffff !important;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kati-nav-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.purr-widget-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin: 40px auto;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .purr-widget-card {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.purr-meter-bar {
    height: 12px;
    background: var(--bg-lighter);
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0 15px 0;
    position: relative;
}

.purr-meter-fill {
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, #f59e0b, #ec4899);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-purr {
    background: linear-gradient(135deg, #f59e0b, #ec4899);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-purr:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.5);
}

.btn-purr:active {
    transform: scale(0.98);
}

/* Gallery Grid */
.modern-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-card {
    background-color: var(--bg-light);
    border-radius: 16px;
    border: 1px solid var(--bg-lighter);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(245, 158, 11, 0.5);
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    background-color: #0b0f19;
}

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

.gallery-card:hover .gallery-img-wrapper img {
    transform: scale(1.08);
}

.gallery-overlay-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 2;
}

.gallery-zoom-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
    z-index: 2;
}

.gallery-card:hover .gallery-zoom-btn {
    opacity: 1;
    transform: scale(1);
}

.gallery-zoom-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.gallery-card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.gallery-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 18px;
}

.gallery-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--bg-lighter);
}

.like-btn {
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.3);
    color: #ec4899;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.like-btn:hover {
    background: #ec4899;
    color: #fff;
}

.like-btn.liked {
    background: #ec4899;
    color: #fff;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 15, 25, 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 20px;
    transform: translateZ(0);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-container {
    max-width: 1000px;
    width: 100%;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 60px var(--shadow);
    position: relative;
    display: flex;
    flex-direction: column;
    transform: scale(0.96) translateZ(0);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.lightbox-modal.active .lightbox-container {
    transform: scale(1) translateZ(0);
}

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 1px solid var(--bg-lighter);
}

.lightbox-counter {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

.lightbox-close-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-main);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
    color: var(--error);
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
    transform: scale(1.05);
}

.lightbox-body {
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.lightbox-img-wrapper {
    position: relative;
    width: 100%;
    max-height: 60vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-wrapper img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.lightbox-nav-btn:hover {
    background: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    padding: 20px 25px;
    background: var(--bg-light);
}

.lightbox-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.lightbox-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* E-Shop Product Cards */
.product-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.product-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 30px var(--shadow) !important;
}

.product-card:hover .product-image img {
    transform: scale(1.05) !important;
}

.product-zoom-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.85;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.product-card:hover .product-zoom-btn {
    opacity: 1;
    transform: scale(1.1);
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 6px 14px var(--accent-glow);
}

.product-zoom-btn:hover {
    transform: scale(1.18) !important;
    background: var(--accent-hover) !important;
}

/* Checkout Cart Items & Quantity Controls */
.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
}

.checkout-item-info {
    flex: 1;
    min-width: 130px;
}

.checkout-item-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
    line-height: 1.35;
}

.checkout-item-unit-price {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.checkout-item-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.checkout-qty-control {
    display: inline-flex;
    align-items: center;
    background: var(--bg-lighter);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.checkout-qty-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: bold;
    transition: background 0.2s, color 0.2s, transform 0.1s;
    user-select: none;
}

.checkout-qty-btn:hover {
    background: var(--accent);
    color: #ffffff;
}

.checkout-qty-btn:active {
    transform: scale(0.92);
}

.checkout-qty-val {
    min-width: 30px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    user-select: none;
    padding: 0 2px;
}

.checkout-item-total {
    min-width: 70px;
    text-align: right;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
}

.checkout-item-remove {
    background: none;
    border: none;
    color: var(--error, #ef4444);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px 6px;
    border-radius: 4px;
    text-decoration: underline;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.checkout-item-remove:hover {
    opacity: 0.75;
}

@media (max-width: 540px) {
    .checkout-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .checkout-item-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* Searchable Parcel Machine Dropdown */
.searchable-select-wrapper {
    position: relative;
    width: 100%;
}

.searchable-select-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.searchable-select-input {
    width: 100%;
    padding: 12px 38px 12px 38px !important;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--input-bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.searchable-select-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.searchable-select-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
}

.searchable-select-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    display: none;
    line-height: 1;
    border-radius: 50%;
    transition: color 0.2s, background-color 0.2s;
}

.searchable-select-clear:hover {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.1);
}

.searchable-select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 270px;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    z-index: 1000;
    display: none;
    padding: 4px 0;
}

.searchable-select-dropdown.open {
    display: block;
}

.searchable-select-option {
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background-color 0.15s ease;
}

.searchable-select-option:last-child {
    border-bottom: none;
}

.searchable-select-option:hover,
.searchable-select-option.highlighted {
    background-color: var(--bg-lighter);
}

.searchable-select-option.selected {
    background-color: rgba(37, 99, 235, 0.18);
    border-left: 3px solid var(--accent);
}

.searchable-option-name {
    font-weight: 600;
    font-size: 0.93rem;
    color: var(--text-main);
}

.searchable-option-address {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.searchable-select-empty,
.searchable-select-status {
    padding: 14px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Checkout Form Enhancements */
.checkout-form-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 10px;
    padding-bottom: 0;
}

.checkout-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkout-select {
    width: 100%;
    padding: 12px 38px 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--input-bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f2fe' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
    outline: none;
}

@media (max-width: 600px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.company-toggle-container {
    margin: 18px 0 12px 0;
    padding: 12px 14px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s, border-color 0.2s;
}

.company-toggle-container:hover {
    border-color: var(--accent);
}

.company-toggle-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent);
}

.company-toggle-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    margin: 0;
}

.company-fields-wrapper {
    margin-top: 14px;
    padding: 16px;
    background-color: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    display: none;
    animation: fadeInSlide 0.25s ease forwards;
}

.company-fields-wrapper.active {
    display: block;
}

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

/* Dynamic Shipping Section Component */
.shipping-section-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

/* 1. Compact Summary Card (Shown once a method is chosen & collapsed) */
.shipping-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: var(--input-bg);
    border: 1px solid var(--accent);
    background-color: rgba(0, 242, 254, 0.04);
    box-shadow: 0 0 14px rgba(0, 242, 254, 0.12);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.shipping-summary-card:hover {
    border-color: var(--accent);
    background-color: rgba(0, 242, 254, 0.08);
    box-shadow: 0 0 18px rgba(0, 242, 254, 0.22);
}

.shipping-summary-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.shipping-summary-icon {
    font-size: 1.35rem;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shipping-summary-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.shipping-summary-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
}

.shipping-summary-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 1px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shipping-summary-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: 10px;
}

.shipping-summary-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.shipping-summary-price.free {
    color: #2ed573;
}

.shipping-change-btn {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    background-color: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.35);
    padding: 5px 11px;
    border-radius: 20px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.shipping-summary-card:hover .shipping-change-btn {
    background-color: var(--accent);
    color: #0b0f19;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* 2. Options List (Shown in full initially, and as dropdown when editing) */
.shipping-options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.25s ease;
}

.shipping-options-list.is-dropdown {
    margin-top: 8px;
    padding: 8px;
    background-color: var(--bg-card, #121624);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 242, 254, 0.1);
    gap: 6px;
    animation: fadeInSlide 0.2s ease forwards;
}

.shipping-option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    position: relative;
}

.shipping-option-card:hover {
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateY(-1px);
}

.shipping-option-card.selected {
    border-color: var(--accent);
    background-color: rgba(0, 242, 254, 0.08);
    box-shadow: 0 0 14px rgba(0, 242, 254, 0.18);
}

.shipping-option-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

/* Crystal-clear bright active badge in dark theme */
.shipping-check-badge {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.shipping-option-card.selected .shipping-check-badge {
    border-color: var(--primary, #00f2fe);
    background-color: var(--primary, #00f2fe);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.8);
}

.shipping-check-icon {
    width: 12px;
    height: 12px;
    stroke: #0a0a0f;
    stroke-width: 3.5;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.shipping-option-card.selected .shipping-check-icon {
    opacity: 1;
    transform: scale(1);
}

.shipping-option-icon {
    font-size: 1.3rem;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shipping-option-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.shipping-option-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
}

.shipping-option-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.2;
}

.shipping-option-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-left: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.shipping-option-price.free {
    color: #2ed573;
}

@media (max-width: 600px) {
    .shipping-summary-card {
        padding: 11px 13px;
    }
    .shipping-summary-title {
        font-size: 0.88rem;
    }
    .shipping-summary-desc {
        font-size: 0.74rem;
    }
    .shipping-summary-price {
        font-size: 0.88rem;
    }
    .shipping-change-btn {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    .shipping-option-card {
        padding: 11px 13px;
    }
    .shipping-option-name {
        font-size: 0.88rem;
    }
    .shipping-option-sub {
        font-size: 0.74rem;
    }
    .shipping-option-price {
        font-size: 0.88rem;
    }
}

/* ==========================================================================
   Address Autocomplete Styles
   ========================================================================== */
.address-autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.address-autocomplete-input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.address-autocomplete-icon {
    position: absolute;
    left: 14px;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 2;
}

.address-autocomplete-wrapper input {
    padding-left: 40px !important;
    padding-right: 36px !important;
    width: 100%;
}

.address-autocomplete-spinner {
    position: absolute;
    right: 14px;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: addrSpin 0.7s linear infinite;
    display: none;
    z-index: 2;
}

[data-theme="light"] .address-autocomplete-spinner {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--accent);
}

@keyframes addrSpin {
    to { transform: rotate(360deg); }
}

.address-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 12px 35px var(--shadow), 0 0 1px rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1050;
    display: none;
    padding: 6px 0;
}

.address-autocomplete-dropdown.open {
    display: block;
    animation: fadeInSlide 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.address-autocomplete-item {
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: background 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .address-autocomplete-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

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

.address-autocomplete-item:hover,
.address-autocomplete-item.active {
    background: var(--primary-glow);
}

.address-autocomplete-item-icon {
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
    opacity: 0.7;
}

.address-autocomplete-item-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.address-autocomplete-item-street {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
}

.address-autocomplete-item-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.address-autocomplete-hint {
    padding: 8px 14px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
    border-top: 1px solid var(--border-color);
    background: var(--input-bg);
}

/* --- Shop Sidebar & Layout --- */
.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}

.shop-layout > * {
    min-width: 0;
}

.shop-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.shop-sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.shop-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shop-category-list li a {
    display: block;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.shop-category-list li a:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(3px);
}

.shop-category-list li a.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 10px var(--accent-glow);
    pointer-events: none;
}

/* Responsive for Shop Layout */
@media (max-width: 900px) {
    .shop-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .shop-sidebar-sticky {
        position: static;
    }
    
    .shop-sidebar-title {
        display: none; /* Hide title on mobile for cleaner look */
    }
    
    .shop-category-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 15px;
        margin-bottom: -5px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .shop-category-list::-webkit-scrollbar {
        height: 6px;
    }
    .shop-category-list::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 10px;
    }
    
    .shop-category-list li {
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    
    .shop-category-list li a {
        white-space: nowrap;
        padding: 8px 20px;
        border-radius: 30px; /* Pill-like on mobile */
    }
    
    .shop-category-list li a:hover {
        transform: none; /* Disable horizontal nudge on mobile */
    }
}

/* --- View Toggle Buttons --- */
.view-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.view-btn:hover {
    background: rgba(0,0,0,0.05);
    color: var(--text-main);
}

.dark-mode .view-btn:hover {
    background: rgba(255,255,255,0.1);
}

.view-btn.active {
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
}

/* --- List View for Products --- */
.products-list-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.products-list-view .product-card {
    flex-direction: row !important;
    align-items: stretch;
}

.products-list-view .product-card > a {
    display: contents !important; /* Ensure layout remains unaffected by <a> */
}

.products-list-view .product-card > a > div:first-child {
    width: 250px !important;
    flex-shrink: 0 !important;
    border-bottom: none !important;
    border-right: 1px solid var(--border-color) !important;
}

.products-list-view .product-card .card-body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

@media (max-width: 650px) {
    .products-list-view .product-card {
        flex-direction: column !important;
    }
    .products-list-view .product-card > a > div:first-child {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color) !important;
    }
}

/* --- Shop Top Bar (Desktop) --- */
.shop-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.shop-count {
    font-size: 0.95rem;
    color: var(--text-main);
}

/* --- Mobile Filter Toolbar --- */
.mobile-shop-toolbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
    padding: 10px 20px;
    z-index: 100;
    align-items: center;
    justify-content: space-between;
}

[data-theme="light"] .mobile-shop-toolbar {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.toolbar-info {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.toolbar-filter-btn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--accent-glow);
    cursor: pointer;
    transition: transform 0.2s;
}

.toolbar-filter-btn:active {
    transform: scale(0.95);
}

/* --- Filter Modal (Mobile) --- */
.filter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.filter-modal.active {
    display: flex;
    align-items: flex-end;
}

.filter-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s;
}

.filter-modal-content {
    position: relative;
    width: 100%;
    max-height: 85vh;
    background: var(--bg-body);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-main);
}

.close-filter-btn {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
}

.filter-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

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

.filter-label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 1.05rem;
}

.filter-select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
}

.filter-radio-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-main);
}

.filter-radio input {
    width: 20px;
    height: 20px;
    accent-color: #e91e63;
}

.filter-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
    background: var(--bg-card);
    padding-bottom: env(safe-area-inset-bottom, 15px);
}

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

@media (max-width: 900px) {
    .mobile-shop-toolbar {
        display: flex;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 15px));
    }
    .products-section {
        padding-bottom: 100px !important; /* space for bottom bar */
    }
    .shop-sort-desktop {
        display: none; /* Hide desktop sort on mobile */
    }
}
