@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #004ac3;
    --primary-dark: #003998;
    --brand-gray: #f8fafc;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --white: #fff;
    --container: 80rem;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', system-ui, sans-serif;
    background: var(--brand-gray);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }

.is-hidden { display: none !important; }

.page { display: flex; flex-direction: column; min-height: 100vh; }
.main { flex: 1; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* Top banner */
.top-banner {
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    padding: 7px 0;
    overflow: hidden;
}

.top-banner__content {
    display: flex;
    width: max-content;
    animation: banner-marquee 28s linear infinite;
}

.top-banner__content:hover {
    animation-play-state: paused;
}

.top-banner__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 3rem;
    padding-right: 3rem;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    opacity: 0.95;
}

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

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

/* Header */
.header-wrap { position: relative; }

.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo { display: flex; align-items: center; }

.logo__img {
    display: block;
    height: 2rem;
    width: auto;
}

.logo__mark {
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.logo__text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.logo__accent { color: var(--primary); }

.site-nav {
    display: none;
    align-items: center;
    gap: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
}

.site-nav a:hover { color: var(--primary); }
.site-nav a.is-active { color: var(--primary); }

/* Nav categories dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    cursor: pointer;
    transition: color 0.2s;
}

.nav-dropdown__trigger:hover,
.nav-dropdown__trigger.is-active,
.nav-dropdown.is-open .nav-dropdown__trigger {
    color: var(--primary);
}

.nav-dropdown__chevron {
    transition: transform 0.2s;
}

.nav-dropdown.is-open .nav-dropdown__chevron {
    transform: rotate(180deg);
}

.nav-dropdown__menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 0.5rem;
    z-index: 60;
    background: transparent;
    border: none;
    box-shadow: none;
}

.nav-dropdown__menu[hidden] {
    display: none;
}

.nav-dropdown__panel {
    min-width: 15rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    padding: 0.5rem;
}

.nav-dropdown__item {
    display: block;
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #334155;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.nav-dropdown__item:hover {
    background: #f8fafc;
    color: var(--primary);
}

.nav-dropdown__item.is-active {
    background: #eff6ff;
    color: var(--primary);
}

.mobile-nav-categories {
    border-top: 1px solid #f1f5f9;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.mobile-nav-categories__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
}

.mobile-nav-categories__chevron {
    transition: transform 0.2s;
}

.mobile-nav-categories.is-open .mobile-nav-categories__chevron {
    transform: rotate(180deg);
}

.mobile-nav-categories__menu {
    padding: 0 0.5rem 0.5rem;
}

.mobile-nav-categories__menu[hidden] {
    display: none;
}

.mobile-nav-categories__menu a {
    display: block;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    color: #4b5563;
}

.mobile-nav-categories__menu a:hover {
    background: #f9fafb;
}

.mobile-nav-categories__menu a.is-active {
    background: #eff6ff;
    color: var(--primary);
}

.site-nav__divider {
    width: 1px;
    height: 1.5rem;
    background: var(--border);
}

.menu-toggle {
    display: flex;
    padding: 0.5rem;
    background: none;
    border: none;
    color: #475569;
    cursor: pointer;
}

@media (min-width: 768px) {
    .site-nav { display: flex; }
    .menu-toggle { display: none; }
}

.mobile-menu {
    display: none;
    background: var(--white);
    border-bottom: 1px solid #f1f5f9;
    position: absolute;
    width: 100%;
    z-index: 40;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mobile-menu.is-open { display: block; }

.mobile-menu__inner { padding: 1.5rem 1rem; }

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 0.25rem;
}

.mobile-menu a:hover { background: #f9fafb; }
.mobile-menu a.is-active { background: #eff6ff; color: var(--primary); }

.mobile-menu__cta { padding-top: 1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(0, 74, 195, 0.3);
}

.btn--primary:hover { background: var(--primary-dark); }

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1px solid #475569;
}

.btn--outline:hover { background: #1e293b; }

.btn--dark {
    background: #0f172a;
    color: var(--white);
}

.btn--dark:hover { background: #1e293b; }

.btn--pill {
    border-radius: 9999px;
    padding: 0.625rem 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn--primary.btn--pill:hover {
    color: var(--white);
}

.btn--block { width: 100%; }

.btn--lg { padding: 1rem 2rem; font-size: 1.125rem; }

.btn--search {
    background: #0f172a;
    color: var(--white);
    width: 100%;
}

@media (min-width: 768px) {
    .btn--search { width: auto; }
}

/* Icons */
.icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--white { color: var(--white); }

/* Hero */
.hero-section { margin-top: 1.5rem; }

.hero {
    position: relative;
    background: #111827;
    height: 500px;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) { .hero { height: 600px; } }

.hero-stats-bar {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    background: var(--primary);
    color: var(--white);
    border-radius: 0.9rem;
    padding: 0.75rem 1.1rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 10px 20px -15px rgba(0, 74, 195, 0.65);
}

@media (max-width: 768px) {
    .hero-stats-bar {
        font-size: 0.78rem;
        padding: 0.55rem 0.8rem;
        max-width: calc(100% - 2rem);
        white-space: normal;
    }
}

.hero__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    mix-blend-mode: overlay;
    transform: scale(1);
    transition: transform 6s ease-out;
}

.hero-slide.is-active img {
    transform: scale(1.06);
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #111827, rgba(17, 24, 39, 0.6), transparent);
    display: flex;
    align-items: center;
}

.hero-slide__content {
    padding: 2.5rem;
    max-width: 36rem;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s ease 0.2s, transform 0.9s ease 0.2s;
}

.hero-slide.is-active .hero-slide__content {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 1024px) { .hero-slide__content { padding: 4rem; } }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero-eyebrow span {
    width: 2rem;
    height: 2px;
    background: var(--primary);
}

.hero-slide h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-style: italic;
}

@media (min-width: 768px) { .hero-slide h1 { font-size: 3rem; } }

.hero-slide p {
    font-size: 0.875rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    max-width: 28rem;
}

@media (min-width: 768px) { .hero-slide p { font-size: 1rem; } }

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-actions { flex-direction: row; }
}

/* Search bar */
.search-bar-wrap {
    position: relative;
    z-index: 20;
    margin-top: -2rem;
    padding: 0 1rem;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}

.search-bar {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .search-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.search-bar__fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

@media (min-width: 768px) {
    .search-bar__fields {
        flex-direction: row;
        align-items: center;
    }
}

.search-field .custom-select {
    width: 100%;
}

.search-field__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.search-input {
    width: 100%;
    border: 1px solid #dbe3ee;
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 74, 195, 0.12);
}

.search-divider {
    display: none;
    width: 1px;
    height: 2.5rem;
    background: #f1f5f9;
}

@media (min-width: 768px) { .search-divider { display: block; } }

/* Sections */
.section { padding: 5rem 0; }
.section--white { background: var(--white); }
.section--gray { background: var(--brand-gray); }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-muted);
    max-width: 42rem;
    margin: 0 auto;
}

.section-header--row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
    margin-bottom: 2.5rem;
}

.section-link {
    display: none;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary);
    font-weight: 500;
}

.section-link:hover { color: var(--primary-dark); }

@media (min-width: 640px) { .section-link { display: flex; } }

/* Category cards */
.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(4, 1fr); } }

.category-card {
    position: relative;
    height: 12rem;
    border-radius: 1rem;
    overflow: hidden;
    display: block;
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-card:hover img { transform: scale(1.1); }

.category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
}

.category-card__content {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-card h3 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
}

.category-card__line {
    width: 2rem;
    height: 4px;
    background: var(--primary);
    margin-top: 0.75rem;
}

/* Partners */
.partners {
    padding: 3rem 0;
    background: var(--white);
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    overflow: hidden;
}

.partners__track {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

@media (max-width: 768px) {
    .partners__track {
        animation-duration: 12s;
    }
}

.partners__track span {
    margin: 0 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to bottom right, #d1d5db, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.6;
}

/* Product grid & card */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .products-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Horizontal product slider */
.products-slider-section__header {
    margin-bottom: 1.5rem;
}

.featured-products-section .products-slider-section__header > div:first-child {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.featured-products-section .products-slider-section__header h2 {
    margin-bottom: 0.5rem;
}

.products-slider-section--detail {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid #e2e8f0;
}

.products-slider-section__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

@media (max-width: 639px) {
    .products-slider-section .section-header--row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .products-slider-section .section-header p {
        margin: 0;
    }

    .products-slider-section__actions {
        width: 100%;
        justify-content: space-between;
    }
}

.products-slider__nav {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.products-slider__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.products-slider__btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f7ff;
}

.products-slider__btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.products-slider__track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.25rem 0 0.5rem;
}

.products-slider__track::-webkit-scrollbar {
    display: none;
}

.products-slider__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-width: 0;
}

@media (min-width: 640px) {
    .products-slider__slide {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .products-slider__slide {
        flex: 0 0 calc(25% - 1.125rem);
    }
}

.products-slider__slide .product-card {
    height: 100%;
}

.product-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color 0.2s;
}

.product-card:hover { border-color: var(--primary); }

.product-card__image {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f8fafc;
    margin-bottom: 1rem;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    transition: transform 0.5s;
}

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

.badge-discount {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    padding: 0.4rem 0.65rem;
    border-radius: 0 0 0 0.75rem;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 74, 195, 0.35);
}

.badge-discount--lg {
    font-size: 13px;
    padding: 0.55rem 0.85rem;
    border-radius: 0 0 0 1rem;
}

.product-card__body { flex: 1; display: flex; flex-direction: column; }

.product-card h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card:hover h3 { color: var(--primary); }

.product-card__meta {
    font-size: 11px;
    color: #94a3b8;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.product-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
}

.price-old {
    font-size: 0.75rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.price-current {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--primary);
}

.price-current--dark { color: #0f172a; margin-top: 1rem; }

.price-note {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 0.2rem;
    font-weight: 600;
}

.product-card__cart-form {
    margin: 0;
}

.product-card__cart-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #334155;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.product-card__cart-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.product-card__cart-btn.is-loading,
.btn.is-loading {
    opacity: 0.7;
    cursor: wait;
}

.product-card__cart-btn.is-added,
.btn.is-added {
    background: #15803d !important;
    color: var(--white) !important;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.about-section {
    padding-top: 5rem;
}

.about-block {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1rem 0 0;
    display: grid;
    gap: 1.5rem;
}
.about-block__content{
    max-width: 35rem;
}
.about-block__content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.about-block__content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.about-block__content p + p {
    margin-top: 0.75rem;
}

.about-highlights {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}

.about-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
}

.about-highlight__icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: #eff6ff;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-block__media {
    border-radius: 1rem;
    overflow: hidden;
    border: none;
    background: transparent;
}

.about-block__media img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16/9;
    object-fit: cover;
}

@media (min-width: 900px) {
    .about-block {
        grid-template-columns: 1.2fr 1fr;
        align-items: stretch;
        padding: 1.25rem 0 0;
    }

    .about-block__media {
        height: 100%;
    }

    .about-block__media img {
        height: 100%;
    }
}

.service-card {
    padding: 2rem;
    border-radius: 1rem;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    transition: background 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    background: var(--white);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background 0.3s, color 0.3s;
}

.service-card:hover .service-card__icon {
    background: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-card p { color: var(--text-muted); line-height: 1.7; }

/* Products page */
.page-products { background: var(--brand-gray); min-height: 100vh; padding: 2.5rem 0; }

.page-header { margin-bottom: 2.5rem; }

.page-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

.mobile-filters-toggle {
    display: inline-flex;
    margin-bottom: 1rem;
}

.mobile-filters-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 69;
}

.products-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .products-layout { flex-direction: row; }
}

.sidebar {
    width: 100%;
    flex-shrink: 0;
}

@media (min-width: 768px) { .sidebar { width: 16rem; } }

.sidebar__box {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    position: sticky;
    top: 7rem;
}

.sidebar__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.sidebar__title span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar__close {
    border: none;
    background: #e2e8f0;
    color: #334155;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.filter-group { margin-bottom: 2rem; }

.filter-group h3 {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.filter-link {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 0.25rem;
}

.filter-link:hover { background: #f8fafc; }
.filter-link.is-active { background: #eff6ff; color: var(--primary); font-weight: 500; }

.filter-input {
    width: 100%;
    border: 1px solid #dbe3ee;
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.6rem 0.7rem;
    font-size: 0.875rem;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #475569;
}
.products-toolbar .custom-select{
    max-width: 17rem;
}
.products-toolbar {
    background: var(--white);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.products-toolbar strong { color: #0f172a; }

.products-toolbar .custom-select {
    min-width: 12rem;
}

@media (min-width: 1024px) {
    .mobile-filters-toggle,
    .mobile-filters-overlay,
    .sidebar__close {
        display: none;
    }
}

@media (max-width: 1023px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: min(22rem, 88vw);
        z-index: 70;
        transform: translateX(-102%);
        transition: transform 0.25s ease;
        padding: 0.5rem;
    }

    .sidebar.is-open {
        transform: translateX(0);
    }

    .sidebar__box {
        position: static;
        top: auto;
        height: 100%;
        overflow-y: auto;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination button,
.pagination span {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--white);
    color: #475569;
    font-weight: 500;
}

.pagination .is-current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination .is-disabled {
    color: #d1d5db;
    cursor: not-allowed;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

/* Product detail */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.product-detail {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .product-detail { flex-direction: row; gap: 3rem; }
}

.product-detail__gallery {
    flex: 3;
    background: #f8fafc;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    display: block;
}

@media (min-width: 1024px) {
    .product-detail__gallery {
        position: sticky;
        top: 7rem;
        align-self: flex-start;
    }
}

.product-detail__gallery img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.75rem;
    mix-blend-mode: multiply;
}

.product-detail__sidebar { flex: 2; }

.product-detail__sticky {
    position: sticky;
    top: 7rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-box {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.detail-box__category {
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.detail-box h1 {
    font-size: 1.875rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.detail-box__sku {
    font-size: 11px;
    color: #94a3b8;
    font-family: ui-monospace, monospace;
    margin-bottom: 1.5rem;
}

.detail-divider { height: 1px; background: #f1f5f9; margin-bottom: 1.5rem; }

.detail-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.price-detail {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.price-detail__main {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--primary);
}

.price-detail__main--dark { color: #0f172a; }

.install-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    margin-top: 0.75rem;
}

.spec-list { margin: 2rem 0; font-size: 13px; font-weight: 500; }

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8fafc;
}

.spec-row span:first-child {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-row span:last-child { font-weight: 700; }

.detail-note {
    text-align: center;
    font-size: 10px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 1rem;
}

.detail-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.7;
    font-weight: 500;
}

/* Service page */
.service-hero {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.service-hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) { .service-hero h1 { font-size: 3rem; } }

.service-hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.service-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 6rem;
}

@media (min-width: 1024px) { .service-split { grid-template-columns: 1fr 1fr; } }

.service-image {
    aspect-ratio: 4/3;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

.check-list { list-style: none; }

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #374151;
}

.check-list .icon { color: #22c55e; }

.cta-box {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .cta-box {
        flex-direction: row;
        justify-content: space-between;
        padding: 3rem;
    }
}

.cta-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-box p { color: var(--text-muted); max-width: 42rem; }

/* Custom select */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select__native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.custom-select__label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    letter-spacing: 0.05em;
}

.custom-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-select__trigger:hover {
    border-color: #cbd5e1;
}

.custom-select.is-open .custom-select__trigger,
.custom-select__trigger:focus-visible {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 74, 195, 0.12);
}

.custom-select__value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select__chevron {
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.custom-select.is-open .custom-select__chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.custom-select__menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    z-index: 70;
    list-style: none;
    margin: 0;
    padding: 0.35rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0.625rem;
    box-shadow: 0 16px 24px -8px rgba(15, 23, 42, 0.18);
    max-height: 14rem;
    overflow-y: auto;
}

.custom-select__menu[hidden] {
    display: none;
}

.custom-select__option {
    padding: 0.5rem 0.625rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.custom-select__option:hover {
    background: #f8fafc;
    color: var(--primary);
}

.custom-select__option.is-selected {
    background: #eff6ff;
    color: var(--primary);
    font-weight: 600;
}

/* Search bar variant */
.custom-select--search .custom-select__trigger {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.custom-select--search .custom-select__trigger:hover {
    border: none;
}

.custom-select--search.is-open .custom-select__trigger {
    box-shadow: none;
}

.custom-select--search .custom-select__menu {
    min-width: 11rem;
}

/* Compact toolbar variant */
.custom-select--compact .custom-select__label {
    display: none;
}

.custom-select--compact .custom-select__trigger {
    padding: 0.375rem 0.625rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background: #f8fafc;
}

/* Contact section above footer */
.contact-section {
    margin-top: 3rem;
    margin-bottom: -4rem;
    position: relative;
    z-index: 6;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    box-shadow: 0 20px 30px -20px rgba(15, 23, 42, 0.35);
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: fit-content;
    margin: 0 auto;
}

.contact-card__left { min-width: 0; }
.contact-card__right { min-width: 0; }

.contact-card__title {
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: 2rem;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 0.75rem;
    font-weight: 800;
    text-align: center;
}

.contact-card__text {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 44rem;
    text-align: center;
}

/* Footer */
.site-footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    margin-top: auto;
    padding: 7rem 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 640px) {
    .footer-main { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-main {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2.5rem;
        align-items: start;
    }

    .contact-card__right {
        max-width: 44rem;
    }
}

.footer-col--brand { max-width: 26rem; }

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo__img {
    display: block;
    height: 2rem;
    width: auto;
}

.footer-logo__mark {
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    max-width: 22rem;
}

.footer-contact-lines {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-contact-lines a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    text-transform: none;
    letter-spacing: normal;
}

.footer-contact-lines a:hover { color: var(--primary); }

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-nav-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.footer-nav--primary,
.footer-nav--categories {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #334155;
    text-transform: none;
    letter-spacing: normal;
}

@media (min-width: 1024px) {
    .footer-nav-layout {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.footer-nav a:hover { color: var(--primary); }

.dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.badge-available {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-form__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 560px) {
    .footer-form__layout {
        /* Poruka je sada u istoj koloni (ispod email/telefon) */
        grid-template-columns: 1fr;
        gap: 1.25rem;
        align-items: stretch;
    }
}

.footer-form__left {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.footer-col--form .form-field--grow {
    flex: 0 0 auto;
    height: auto;
}

.form-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.95rem;
}

.footer-form__right {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.form-field--grow {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.form-field--grow textarea {
    flex: 1;
    min-height: 7.5rem;
    resize: vertical;
}

@media (min-width: 560px) {
    .form-field--grow textarea {
        min-height: 7.5rem;
        height: auto;
    }

    .footer-form__left .btn {
        /* Dugme ostaje odmah ispod poruke */
        margin-top: 0;
    }
}

.form-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text);
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Poppins', system-ui, sans-serif;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 74, 195, 0.12);
    background: var(--white);
}

.form-field textarea { resize: vertical; min-height: 5rem; }

.form-error {
    display: block;
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 0.25rem;
    text-transform: none;
    font-weight: 500;
}

.form-alert {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    text-transform: none;
    letter-spacing: normal;
}

.form-alert--success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.25rem 0 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
}

.footer-legal-links {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal-links a {
    font-size: 0.78rem;
    color: #64748b;
}

.footer-legal-links a:hover {
    color: var(--primary);
}

@media (max-width: 700px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Floating contact */
.floating-contact {
    position: fixed;
    bottom: 2.5rem;
    right: 2rem;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s;
}

.floating-contact:hover { transform: translateY(-4px); }

.floating-contact__label {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e293b;
    display: none;
}

@media (min-width: 640px) { .floating-contact__label { display: block; } }

.floating-contact__btn {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 25px 50px -12px rgba(0, 74, 195, 0.5);
    transition: background 0.2s;
}

.floating-contact:hover .floating-contact__btn { background: var(--primary-dark); }

.pulse { animation: pulse 2s infinite; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Legal pages */
.legal-content h2 {
    font-size: 1rem;
    margin: 1.25rem 0 0.5rem;
    color: #0f172a;
}

.legal-content p {
    color: #475569;
    line-height: 1.75;
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 80;
}

.cookie-consent__box {
    max-width: 60rem;
    margin: 0 auto;
    background: #111827;
    color: #f8fafc;
    border-radius: 1rem;
    border: 1px solid #1f2937;
    padding: 1rem 1.2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.cookie-consent__box h3 {
    margin-bottom: 0.35rem;
}

.cookie-consent__box p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.cookie-consent__actions {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.cookie-consent__actions button, .cookie-modal__actions button{
    margin-top: 0;
}
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
}

.cookie-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.cookie-modal__panel {
    position: relative;
    max-width: 42rem;
    margin: 8vh auto 0;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 1.2rem;
    z-index: 2;
}

.cookie-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-close {
    border: none;
    background: #f1f5f9;
    border-radius: 9999px;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cookie-modal__desc {
    color: #64748b;
    margin-bottom: 0.8rem;
}

.cookie-options {
    display: grid;
    gap: 0.6rem;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem;
}

.cookie-option small {
    display: block;
    color: #64748b;
    margin-top: 0.2rem;
}

.cookie-option--locked {
    background: #f8fafc;
}

.cookie-modal__actions {
    margin-top: 0.85rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Error page */
.error-page {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.error-page h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.error-page a {
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-page a:hover { text-decoration: underline; }

.service-block h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-block p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Nav cart */
.nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: #475569;
    transition: background 0.2s, color 0.2s;
}

.nav-cart:hover,
.nav-cart.is-active {
    background: #eff6ff;
    color: var(--primary);
}

.nav-cart__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 4px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mobile-cart-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    color: #4b5563;
}

.mobile-cart-link:hover {
    background: #f9fafb;
}

/* Toast */
#toast-container {
    position: fixed;
    top: 5.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
    width: max-content;
    max-width: calc(100% - 2rem);
}

.site-toast {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    pointer-events: auto;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: toast-in 0.3s ease;
}

.site-toast--success { background: #eff6ff; color: var(--primary-dark); border: 1px solid #bfdbfe; }
.site-toast--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.site-toast--info { background: #f8fafc; color: #334155; border: 1px solid var(--border); }

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn--outline-dark {
    background: var(--white);
    color: #334155;
    border: 1px solid var(--border);
    margin-top: 0.5rem;
}

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

/* Product detail — installation & price */
.add-to-cart-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.25rem 0;
}

.install-option {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 2px solid #bfdbfe;
    border-radius: 0.875rem;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.install-option:has(input:checked) {
    border-color: var(--primary);
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    box-shadow: 0 0 0 3px rgba(0, 74, 195, 0.12);
}

.install-option input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.2rem;
    accent-color: var(--primary);
    flex-shrink: 0;
    cursor: pointer;
}

.install-option__box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.install-option__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
}

.install-option__desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.install-option__price {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--primary);
    white-space: nowrap;
}

.price-summary {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem 1.125rem;
}

.price-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 0.35rem 0;
}

.price-summary__row strong {
    color: #0f172a;
    font-weight: 700;
}

.price-summary__row--install strong {
    color: var(--primary);
}

.price-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 2px solid var(--border);
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.price-summary__total strong {
    font-size: 1.375rem;
    font-weight: 900;
    color: var(--primary);
}

.is-hidden { display: none !important; }

/* Cart page */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr 22rem;
        align-items: start;
    }
}

.cart-item {
    display: grid;
    grid-template-columns: 5rem 1fr auto;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.cart-item__image {
    width: 5rem;
    height: 5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #f8fafc;
}

.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item__name {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.9375rem;
}

.cart-item__name:hover { color: var(--primary); }

.cart-item__meta {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0.25rem 0 0.5rem;
}

.cart-item__tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    background: #eff6ff;
    padding: 2px 8px;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
}

.cart-item__prices {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.cart-item__aside {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.cart-item__total {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--primary);
}

.cart-item__remove {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.cart-item__remove:hover { color: #dc2626; }

.cart-summary__box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    position: sticky;
    top: 7rem;
}

.cart-summary__box h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    padding: 0.35rem 0;
}

.cart-summary__row--muted {
    color: var(--text-muted);
}

.cart-summary__total {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 2px solid var(--border);
    font-weight: 700;
    font-size: 1.0625rem;
}

.cart-summary__total strong {
    font-size: 1.25rem;
    color: var(--primary);
}

.cart-summary .btn {
    margin-bottom: 0.5rem;
}

/* Checkout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr 22rem;
        align-items: start;
    }
}

.checkout-form__section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.checkout-form__section h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.checkout-form__section .form-field {
    margin-bottom: 0.9rem;
}

.checkout-form__section .form-field:last-child {
    margin-bottom: 0;
}

.checkout-form__section .form-field label {
    margin-bottom: 0.55rem;
}

.checkout-form__section .form-row-inline {
    margin-bottom: 0.9rem;
}

.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid var(--primary);
    border-radius: 0.75rem;
    background: #eff6ff;
}

.payment-option strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #0f172a;
}

.payment-option p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

.payment-option .icon {
    color: var(--primary);
    flex-shrink: 0;
}

.checkout-items {
    list-style: none;
    margin-bottom: 1rem;
}

.checkout-items li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8125rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.checkout-items li em {
    font-style: normal;
    color: var(--primary);
    font-size: 0.6875rem;
}

.checkout-items strong {
    white-space: nowrap;
}

/* Order success */
.order-success {
    padding: 4rem 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.order-success__box {
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.order-success__icon {
    color: #22c55e;
    margin-bottom: 1rem;
}

.order-success__icon .icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto;
}

.order-success h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.order-success p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.order-success__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 480px) {
    .order-success__actions {
        flex-direction: row;
        justify-content: center;
    }

}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }
    .products-toolbar{
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .form-row-inline{
        display: flex;
        flex-direction: column;
    }
    .hero-slide__content{
        padding-top: 7rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .search-bar-wrap{
        margin-top: 1rem;
    }
    .hero-slide h1{
        font-size: 2rem;
    }
    .search-bar, .service-card, .contact-card, .detail-box, .products-toolbar, .sidebar__box, .cart-item, .cart-summary__box, .checkout-form__section{
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .mobile-menu__cta a{
        color: var(--white);
    }
}