:root {
    /* Theme: White & Red */
    --bg-color: #ffffff;
    /* Pure White */
    --card-bg: #f8f8f8;
    /* Very Light Grey */
    --text-primary: #1a1a1a;
    /* Almost Black */
    --text-secondary: #555555;
    /* Dark Grey */

    /* Professional Red Accents */
    --accent-primary: #D32F2F;
    --accent-secondary: #B71C1C;
    --accent-gradient: linear-gradient(135deg, #D32F2F, #B71C1C);

    --navbar-height: 90px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

img,
video,
svg,
canvas {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-wrap: break-word;
}

body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
}

body.modal-open {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

html.modal-open {
    overflow: hidden;
    overscroll-behavior: none;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
    padding: 0.75rem 1.25rem;
    background: var(--accent-primary);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 6px 0;
}

.skip-link:focus {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
}

#main-content {
    scroll-margin-top: calc(var(--navbar-height) + 1rem);
}

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

/* Global Link Reset */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Background Glow Effect - Light Theme */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Top Bar */
.top-bar {
    background: #f4f4f4;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.5rem max(5%, env(safe-area-inset-right, 0px)) 0.5rem max(5%, env(safe-area-inset-left, 0px));
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.top-bar i {
    color: var(--accent-primary);
    margin-right: 8px;
}

.top-bar span {
    margin-left: 25px;
}

.top-bar-link {
    margin-left: 25px;
    color: inherit;
}

.top-bar-link:hover {
    color: var(--accent-primary);
}

/* Header & Navbar */
header {
    position: relative;
    z-index: 1000;
    background: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

/* Removed header::before backdrop since we applied it to header directly for cleaner light mode */
header::before {
    display: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 max(5%, env(safe-area-inset-right, 0px)) 0 max(5%, env(safe-area-inset-left, 0px));
    height: var(--navbar-height);
}

.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-decoration: none;
    line-height: 0;
}

.logo:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

.logo-img {
    display: block;
    width: auto;
    height: auto;
    max-height: calc(var(--navbar-height) - 10px);
    max-width: min(520px, 92vw);
    object-fit: contain;
    object-position: left center;
    border: 0;
    box-shadow: none;
    outline: none;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 5px;
    animation: spin 10s linear infinite;
}

.logo-main {
    font-size: 2rem;
    font-weight: 900;
    color: #000;
    /* Black Logo */
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.logo-sub {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 5px;
}

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

.logo i {
    color: var(--accent-primary);
    animation: spin 10s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    position: relative;
}

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

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

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

.btn-client-zone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-primary);
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(255, 0, 0, 0.05);
    /* Light red tint */
    padding: 10px 20px;
    border: 1px solid var(--accent-primary);
    border-radius: 4px;
    transition: var(--transition);
}

.btn-client-zone:hover {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    transform: skew(-10deg);
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 3.5rem max(5%, env(safe-area-inset-right, 0px)) 2.5rem max(5%, env(safe-area-inset-left, 0px));
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-bg-shape {
    display: none;
}

/* Light gradient for hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, #fafafa 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    width: 100%;
    z-index: 2;
}

.hero-content > * {
    min-width: 0;
}

.hero-content.hero-content-centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-subtitle {
    color: var(--accent-primary);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: #000;
}

/* Clean up hero text stroke for light mode */
.hero-text h1 span {
    color: var(--accent-primary);
    background: none;
    -webkit-text-fill-color: initial;
    -webkit-text-stroke: 0;
}

.hero-text p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
    border-left: 4px solid var(--accent-primary);
    padding-left: 1rem;
    background: rgba(0, 0, 0, 0.03);
}

/* Buttons */
.hero-cta,
.btn-search,
button {
    background: var(--accent-primary);
    color: #fff;
    padding: 0.8rem 2rem;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: visible;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

a.hero-cta {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.hero-cta:hover,
.btn-search:hover,
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: var(--accent-secondary);
    color: #fff;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.hero-image:hover img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transform: scale(1.03);
}

/* Filter Section */
.filter-section {
    position: relative;
    z-index: 10;
    margin-top: -50px;
    padding: 0 max(5%, env(safe-area-inset-right, 0px)) 0 max(5%, env(safe-area-inset-left, 0px));
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
    border: 1px solid #e0e0e0;
    border-top: 4px solid var(--accent-primary);
    box-shadow: var(--shadow-soft);
    border-radius: 8px;
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.filter-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 4px;
}

.filter-header h3 {
    color: #000;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.filter-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.filter-row.three-cols {
    grid-template-columns: repeat(3, 1fr) !important;
}

.filter-group {
    width: 100%;
}

@media (max-width: 768px) {

    .filter-row,
    .filter-row.three-cols {
        grid-template-columns: 1fr;
    }
}

.filter-checkboxes {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    justify-content: flex-start;
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: #333;
    user-select: none;
    font-weight: 500;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    border: 2px solid #ccc;
    background-color: #fff;
    height: 18px;
    width: 18px;
    flex-shrink: 0;
    transition: all 0.2s;
    border-radius: 4px;
}

.checkbox-container input:checked~.checkmark {
    border-color: var(--accent-primary);
    background-color: var(--accent-primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.filter-group label {
    display: block;
    font-size: 0.75rem;
    color: #555;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    font-weight: 700;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 0.4rem 0.8rem;
    background: #fdfdfd;
    border: 1px solid #ddd;
    color: #333;
    font-family: inherit;
    transition: var(--transition);
    border-radius: 4px;
    height: 36px;
    font-size: 0.9rem;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

/* Szybkie wyszukiwanie rozmiaru (wiele formatów) */
.filter-smart-tire {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eee;
}

.filter-smart-tire__group label,
.filter-smart-tire .filter-smart-tire__label {
    color: var(--accent-primary) !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.04em;
}

.filter-smart-tire__input,
.filter-smart-tire__group .filter-smart-tire__input {
    width: 100%;
    min-height: 48px;
    padding: 0.65rem 1rem 0.65rem 2.75rem !important;
    border: 2px solid var(--accent-primary) !important;
    border-radius: 8px !important;
    background: #fff !important;
    font-size: 1.05rem !important;
    font-weight: 500;
    height: auto !important;
}

.filter-smart-tire__input.filter-smart-tire__input--ok,
.filter-smart-tire__input.filter-smart-tire__input--ok:focus {
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.12);
}

.filter-smart-tire__wrap {
    position: relative;
}

.filter-smart-tire__wrap .filter-smart-tire__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-primary);
    font-size: 1.15rem;
    pointer-events: none;
    z-index: 1;
}

.filter-smart-tire__hint {
    font-size: 0.82rem;
    color: #666;
    margin: 0.65rem 0 0;
    line-height: 1.45;
    max-width: 52rem;
}

.filter-smart-tire__hint strong {
    color: #333;
}

/* Products Section */
.products-section {
    padding: 4rem max(5%, env(safe-area-inset-right, 0px)) 4rem max(5%, env(safe-area-inset-left, 0px));
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #000;
    display: inline-block;
    position: relative;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-primary);
}

/* Sortowanie produktów — spójne z sekcją filtrów */
.products-section .section-title {
    margin-bottom: 2rem;
}

.products-sort-bar {
    position: relative;
    z-index: 20;
    max-width: 1200px;
    margin: 0 auto 2.5rem;
}

.products-sort-card {
    display: flex;
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 1rem 1.35rem;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    border-top: 3px solid var(--accent-primary);
    transition: var(--transition);
}

.products-sort-card:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
    border-color: #ddd;
}

.products-sort-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, rgba(255, 0, 0, 0.1) 0%, rgba(204, 0, 0, 0.06) 100%);
    color: var(--accent-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.products-sort-body {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    flex: 1;
    min-width: 0;
}

.products-sort-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Ten sam customowy select co w filtrach (czerwona ramka / hover / lista) */
.products-sort-select-group {
    width: auto;
    min-width: min(300px, 100%);
    max-width: 100%;
    flex: 0 1 320px;
    margin-bottom: 0 !important;
}

.products-sort-select-group .custom-select-wrapper {
    width: 100%;
}

/* Native select zanim zadziała JS — ta sama kolorystyka */
.products-sort-select-group > select {
    border-color: var(--accent-primary) !important;
    font-weight: 600;
}

.products-sort-card .select-selected {
    border-color: var(--accent-primary);
    padding: 0.65rem 1rem;
    font-weight: 600;
    border-radius: 6px;
}

.products-sort-card .select-selected.select-arrow-active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.products-sort-card .select-selected:after {
    border-color: var(--accent-primary) transparent transparent transparent;
}

.products-sort-card .select-selected.select-arrow-active:after {
    border-color: transparent transparent var(--accent-primary) transparent;
}

@media (max-width: 600px) {
    .products-sort-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .products-sort-icon {
        margin: 0 auto;
    }

    .products-sort-body {
        flex-direction: column;
        justify-content: center;
    }

    .products-sort-select-group {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    padding: 2rem;
    background: #fdfdfd;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.05), transparent 60%);
    opacity: 0;
    transition: 0.3s;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-details {
    padding: 1.5rem;
}

.product-brand {
    color: var(--accent-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 800;
}

.product-title {
    font-size: 1.3rem;
    margin: 0.5rem 0 1rem 0;
    font-weight: 700;
    color: #111;
}

.spec-badge {
    background: #f4f4f4;
    padding: 4px 8px;
    font-size: 0.8rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.price {
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
}

.btn-buy {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    background: var(--accent-primary);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-buy:hover {
    background: var(--accent-secondary);
}

.product-image--card {
    position: relative;
    padding: 1.5rem;
    height: 220px;
}

.product-image--card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.82);
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 2;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    border-left: 3px solid #ccc;
}

.stock-badge--in {
    border-left-color: #2ecc71;
}

.stock-badge--low {
    border-left-color: #f1c40f;
}

.stock-badge--out {
    border-left-color: #e74c3c;
}

.product-specs-table {
    background: #222;
    border-radius: 4px;
    overflow: hidden;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-spec-row {
    padding: 8px 12px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.product-spec-row:last-child {
    border-bottom: none;
}

.product-spec-row i {
    width: 20px;
    color: #777;
    flex-shrink: 0;
}

.product-spec-label {
    color: #bbb;
}

.product-spec-value {
    margin-left: auto;
    color: #fff;
    font-weight: 700;
}

.product-spec-value--stock-in {
    color: #2ecc71;
}

.product-spec-value--stock-low {
    color: #f1c40f;
}

.product-spec-value--stock-out {
    color: #e74c3c;
}

.product-title--card {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    min-height: 3em;
    line-height: 1.4;
    color: #111;
}

.price-brutto {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111;
    line-height: 1.1;
}

.price-netto {
    font-size: 0.85rem;
    color: #666;
    margin-top: 2px;
}

.products-count {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: -0.5rem auto 1.5rem;
    max-width: 900px;
}

.products-section--loading .no-results {
    display: none !important;
}

.products-section--loading #productsGrid:empty + #pagination {
    display: none;
}

.products-error {
    text-align: center;
    color: var(--accent-primary);
    padding: 2rem;
    grid-column: 1 / -1;
}

.products-error h3 {
    margin-bottom: 0.5rem;
}

.products-error a {
    color: var(--accent-primary);
    font-weight: 700;
}

.product-footer .prices {
    display: flex;
    flex-direction: column;
}

@media (prefers-reduced-motion: reduce) {
    .products-loader__spinner {
        animation: none;
        border-top-color: var(--accent-primary);
    }

    .product-card:hover {
        transform: none;
    }
}

/* Footer */
footer {
    border-top: 1px solid #e0e0e0;
    padding: 4rem max(5%, env(safe-area-inset-right, 0px)) max(2rem, env(safe-area-inset-bottom, 0px)) max(5%, env(safe-area-inset-left, 0px));
    margin-top: 5rem;
    background: #f8f8f8;
    color: #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: #000;
    text-transform: uppercase;
    font-weight: 800;
    border-left: 3px solid var(--accent-primary);
    padding-left: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col a {
    color: #555;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-col a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.footer-col i {
    color: var(--accent-primary);
    margin-right: 15px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    overflow: hidden;
    overscroll-behavior: contain;
}

.modal-content {
    background: #fff;
    padding: 3rem;
    border: 1px solid #eee;
    border-top: 5px solid var(--accent-primary);
    text-align: center;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.phone-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.phone-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #000;
    margin: 1.5rem 0;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--accent-primary);
}

/* Page Headers */
.page-header {
    background: #f8f8f8;
    padding: 3rem max(5%, env(safe-area-inset-right, 0px)) 3rem max(5%, env(safe-area-inset-left, 0px));
    text-align: center;
    border-bottom: 1px solid #eee;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #000;
}

.page-header p {
    color: #555;
    font-size: 1.2rem;
}

.page-header-cta {
    margin-top: 1.5rem;
}

/* Page Content */
/* Toast Notification */
.notification-toast {
    position: fixed;
    top: max(0.75rem, env(safe-area-inset-top, 0px));
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    background: #fff;
    backdrop-filter: blur(5px);
    color: #000;
    padding: 1rem 1.5rem;
    border-left: 5px solid var(--accent-primary);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-weight: 700;
    min-width: 0;
    max-width: min(22rem, calc(100vw - 1.5rem));
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #eee;
}

.notification-toast.show {
    transform: translateX(0);
}

@media (max-width: 480px) {
    .notification-toast {
        min-width: 0;
        max-width: none;
        width: auto;
        left: max(0.75rem, env(safe-area-inset-left, 0px));
        right: max(0.75rem, env(safe-area-inset-right, 0px));
        top: max(0.75rem, env(safe-area-inset-top, 0px));
        padding: 1rem 1.15rem;
    }
}

.notification-toast.success {
    border-color: #28a745;
}

.notification-toast.success i {
    color: #28a745;
}

.notification-toast.error {
    border-color: #ff0000;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 max(1rem, env(safe-area-inset-right, 0px)) 0 max(1rem, env(safe-area-inset-left, 0px));
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: #f9f9f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
    transition: var(--transition);
    flex-shrink: 0;
}

.service-item:hover .service-icon {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.2);
    border-color: var(--accent-primary);
    transform: scale(1.1) rotate(5deg);
}

@keyframes glowPulse {
    0% {
        filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.2));
        transform: scale(1.05);
    }

    50% {
        filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.4));
        transform: scale(1.08);
    }

    100% {
        filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.2));
        transform: scale(1.05);
    }
}

/* Specific Glow for SVGs */
.service-item:hover .service-icon svg {
    animation: glowPulse 2s infinite ease-in-out;
}

/* For Standard Icons (FontAwesome) */
.service-item:hover .service-icon i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transform: scale(1.1);
    animation: none;
}

.service-item h3 {
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.service-item:hover h3 {
    color: var(--accent-primary);
}

.service-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Content Section Layout */
.content-section {
    padding: 4rem max(5%, env(safe-area-inset-right, 0px)) 4rem max(5%, env(safe-area-inset-left, 0px));
    max-width: 1400px;
    margin: 0 auto;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    background: #fdfdfd;
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.contact-info-item h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    color: #000;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    font-weight: 800;
}

.contact-info-item h3 i {
    color: var(--accent-primary);
    background: rgba(255, 0, 0, 0.05);
    padding: 10px;
    border-radius: 4px;
}

.contact-info-item p {
    color: #555;
    line-height: 1.6;
    padding-left: 0;
    margin-left: 4px;
}

.contact-info-item p.phone-number {
    padding-left: 0;
    text-align: left;
    margin-top: 0.5rem;
    color: #000;
}

.contact-form-container {
    background: #fff;
    padding: 2.5rem;
    border: 1px solid #eee;
    border-top: 4px solid var(--accent-primary);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

/* Specific fix for inputs in contact form */
.contact-form-container form input,
.contact-form-container form textarea {
    width: 100%;
    padding: 1rem;
    background: #fdfdfd;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 4px;
    margin-bottom: 0;
    font-family: 'Outfit', sans-serif;
    transition: 0.3s;
}

.contact-form-container form input:focus,
.contact-form-container form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.1);
}

.contact-form-container form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.contact-form-container h3 {
    color: #000;
}

/* Social Media Section */
.social-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
    margin-top: 2rem;
}

.btn-social-fb {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    color: #316FF6;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid #ddd;
    cursor: pointer;
    width: 60px;
    height: 60px;
}

.btn-social-fb:hover {
    transform: translateY(-5px);
    border-radius: 50%;
    background: #1877F2;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #1877F2;
}

.btn-social-fb svg {
    width: 30px;
    height: 30px;
    transition: opacity 0.3s;
}

.fb-label {
    position: absolute;
    opacity: 0;
    transition: all 0.3s;
    font-size: 0.8rem;
    color: #fff;
    pointer-events: none;
    top: -35px;
    background: #333;
    padding: 4px 8px;
    border-radius: 4px;
}

.btn-social-fb:hover .fb-label {
    opacity: 1;
    transform: translateY(-5px);
}

/* =========================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================= */

/* Footer Bottom Layout */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    border-top: 1px solid #ddd;
    margin-top: 4rem;
    color: #777;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    text-align: left;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #777;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

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

/* Tablet & Mobile Navigation */
.nav-toggle {
    display: none;
    font-size: 1.8rem;
    color: #1a1a1a;
    cursor: pointer;
    z-index: 2005;
    position: fixed;
    top: max(0.75rem, calc(env(safe-area-inset-top, 0px) + 0.5rem));
    right: max(5%, env(safe-area-inset-right, 0px));
    background: #fff;
    padding: 0.5rem 0.6rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 992px) {
    :root {
        --navbar-height: 104px;
    }

    .top-bar {
        font-size: 0.75rem;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        text-align: center;
        padding: 0.8rem max(3%, env(safe-area-inset-right, 0px)) 0.8rem max(3%, env(safe-area-inset-left, 0px));
    }

    .top-bar span {
        margin-left: 10px;
    }

    .nav-container {
        padding: 0 5%;
        height: var(--navbar-height);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        height: 100dvh;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: max(2rem, env(safe-area-inset-top, 0px)) max(1.5rem, env(safe-area-inset-right, 0px)) max(2rem, env(safe-area-inset-bottom, 0px)) max(1.5rem, env(safe-area-inset-left, 0px));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 2000;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        gap: 2.5rem;
    }

    .nav-links.nav-active {
        right: 0;
        touch-action: manipulation;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 800;
        letter-spacing: 2px;
        color: #000;
    }

    .nav-links a::after {
        height: 3px;
    }

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

    .hero {
        padding-top: 6rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .filter-group select,
    .filter-group input,
    .contact-form-container form input,
    .contact-form-container form textarea {
        font-size: 16px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        margin-top: 1rem;
    }

    .hero {
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero-text p {
        margin: 0 auto 2rem;
        border-left: none;
        padding-left: 0;
        padding-bottom: 0;
        width: 100%;
    }

    .hero h1 {
        font-size: 3rem;
        line-height: 1.1;
    }

    .filter-container {
        padding: 1.5rem;
        margin-top: 0;
        border-top: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        /* Softer shadow on mobile */
    }

    .filter-row,
    .filter-row.three-cols {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
    }

    .filter-checkboxes {
        justify-content: center;
    }

    .filter-actions button {
        width: 100% !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-col h4 {
        border-left: none;
        border-bottom: none;
        padding-left: 0;
        padding-bottom: 0.5rem;
        display: inline-block;
        margin-bottom: 1.5rem;
        position: relative;
    }

    .footer-col h4::after {
        content: '';
        display: block;
        width: 40px;
        height: 3px;
        background: var(--accent-primary);
        margin: 8px auto 0;
    }

    .page-header h1 {
        text-align: center;
        font-size: 2.5rem;
        position: relative;
        display: inline-block;
        margin-bottom: 1rem;
    }

    .page-header h1::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background: var(--accent-primary);
        margin: 10px auto 0;
    }

    .footer-col i {
        margin-right: 8px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-text,
    .footer-links {
        text-align: center;
        width: 100%;
        justify-content: center;
    }

    .footer-links {
        position: static;
        transform: none;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .top-bar {
        font-size: 0.7rem;
        padding: 0.6rem 3%;
    }

    .contact-form-container form>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .hero-text>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .top-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.65rem;
        padding: 0.5rem max(4%, env(safe-area-inset-right, 0px)) 0.5rem max(4%, env(safe-area-inset-left, 0px));
        gap: 0.3rem;
    }

    .top-bar .top-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }

    .top-bar span {
        margin-left: 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    :root {
        --navbar-height: 94px;
    }

    .nav-container {
        height: var(--navbar-height);
    }

    .logo-icon {
        font-size: 2rem;
    }

    .logo-img {
        max-width: min(380px, 90vw);
    }

    .logo-main {
        font-size: 1.5rem;
    }

    .logo-sub {
        font-size: 0.7rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .page-header {
        padding: 1.5rem max(5%, env(safe-area-inset-right, 0px)) 1.5rem max(5%, env(safe-area-inset-left, 0px));
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .modal-content {
        padding: 1.5rem max(1rem, env(safe-area-inset-right, 0px)) 1.5rem max(1rem, env(safe-area-inset-left, 0px));
        width: 90%;
        max-width: 520px;
        box-sizing: border-box;
    }

    .phone-number {
        font-size: 1.8rem;
    }

    .filter-checkboxes {
        gap: 1rem;
    }

    .contact-form-container {
        padding: 1.5rem max(1rem, env(safe-area-inset-right, 0px)) 1.5rem max(1rem, env(safe-area-inset-left, 0px));
    }

    .contact-form-container form>div[style*="grid-template-columns"] {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
    }

    .contact-grid {
        gap: 1.5rem;
    }

    .contact-info {
        gap: 1.5rem;
        padding: 1.5rem max(1rem, env(safe-area-inset-right, 0px)) 1.5rem max(1rem, env(safe-area-inset-left, 0px));
    }

    .contact-info-item {
        padding-bottom: 1rem;
        border-bottom: 1px solid #eee;
    }

    .contact-info-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .contact-info-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .contact-info-item p {
        font-size: 0.95rem;
    }

    .hero-text>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        text-align: center;
        margin-top: 2rem !important;
    }

    .services-grid {
        gap: 1.5rem;
        padding: 0 max(0.5rem, env(safe-area-inset-right, 0px)) 0 max(0.5rem, env(safe-area-inset-left, 0px));
    }

    .service-item {
        padding: 2rem 1.5rem;
    }

    .hero-cta,
    .btn-search,
    button {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
    }

    .footer-col ul li {
        margin-bottom: 0.8rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .logo-img {
        max-width: min(340px, 92vw);
    }

    .logo-main {
        font-size: 1.3rem;
    }

    .logo-sub {
        font-size: 0.65rem;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .page-header h1 {
        font-size: 1.7rem;
    }

    .contact-info-item h3 {
        font-size: 1rem;
        gap: 10px;
    }
}

/* Custom Select Styles */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select-wrapper select {
    display: none;
}

.select-selected {
    background-color: #fdfdfd;
    color: #333;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    transition: all 0.3s;
}

.select-selected.select-arrow-active {
    border-color: #ff0000;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Custom Arrow */
.select-selected:after {
    content: "";
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #333 transparent transparent transparent;
    margin-left: 10px;
    margin-top: 5px;
}

.select-selected.select-arrow-active:after {
    border-color: transparent transparent #ff0000 transparent;
    margin-top: -5px;
}

/* Dropdown Items Container */
.select-items {
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border: 1px solid #ff0000;
    border-top: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.select-items div {
    color: #333;
    padding: 10px 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.select-items div:last-child {
    border-bottom: none;
}

.select-items div:hover,
.same-as-selected {
    background-color: #ff0000;
    color: #fff;
}

.select-hide {
    display: none;
}

.select-items::-webkit-scrollbar {
    width: 8px;
}

.select-items::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.select-items::-webkit-scrollbar-thumb {
    background: #ff0000;
    border-radius: 4px;
}


/* Map Marker Reset */
.custom-map-marker {
    background: none !important;
    border: none !important;
}

/* Facebook Icon Style */
.wrapper {
    display: inline-flex;
    list-style: none;
    padding-left: 0;
}

.wrapper .icon {
    position: relative;
    background: #ffffff;
    border-radius: 50%;
    padding: 15px;
    margin: 10px 0;
    width: 50px;
    height: 50px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: #333;
}

.wrapper .tooltip {
    position: absolute;
    top: 0;
    font-size: 14px;
    background: #ffffff;
    color: #ffffff;
    padding: 5px 8px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #ffffff;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
    top: -45px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
    background: #1877F2;
    color: #ffffff;
}

/* Fix for link wrapping the li */
.wrapper a {
    text-decoration: none;
    color: inherit;
}

/* Product Detail Modal */
.product-modal {
    padding: 1rem;
}

.product-detail-content {
    max-width: 920px !important;
    width: 100%;
    padding: 0 !important;
    text-align: left !important;
    max-height: min(92vh, 900px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) #ececec;
}

.product-detail-content::-webkit-scrollbar {
    width: 7px;
}

.product-detail-content::-webkit-scrollbar-track {
    background: #ececec;
    border-radius: 999px;
    margin: 10px 4px 10px 0;
}

.product-detail-content::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 999px;
    border: 2px solid #ececec;
    min-height: 48px;
}

.product-detail-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

.product-detail-content::-webkit-scrollbar-corner {
    background: transparent;
}

.product-modal__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 5;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #333;
    font-size: 1.15rem;
    font-weight: 400;
    text-transform: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.product-modal__close:hover,
.product-modal__close:focus-visible {
    background: #fff;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    outline: none;
}

.product-modal__close i {
    line-height: 1;
    pointer-events: none;
}

.product-modal__layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.25fr);
    gap: 0;
    margin-bottom: 0;
    overflow: visible;
    flex: 0 0 auto;
}

.product-modal__media {
    background: linear-gradient(160deg, #f8f8f8 0%, #efefef 100%);
    padding: 2rem 1.5rem;
    border-right: 1px solid #eee;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-product-img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12));
}

.product-modal__main {
    padding: 1.75rem 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-modal__brand {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 0.35rem;
}

.product-modal__brand:empty {
    display: none;
}

.modal-product-title {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 800;
    color: #111;
    margin-bottom: 0.65rem;
    line-height: 1.35;
    padding-right: 2rem;
}

.modal-stock-status {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
}

.modal-stock-status.in-stock {
    background: #e8f5e9;
    color: #2e7d32;
}

.modal-stock-status.low-stock {
    background: #fff8e1;
    color: #f57f17;
}

.modal-stock-status.out-of-stock {
    background: #ffebee;
    color: #c62828;
}

.product-modal__pricing {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(135deg, #fafafa, #f3f3f3);
    border: 1px solid #ececec;
    border-left: 4px solid var(--accent-primary);
    border-radius: 12px;
    padding: 1rem 1.15rem;
}

.product-modal__price-main,
.product-modal__price-sub {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.product-modal__price-sub {
    text-align: right;
}

.product-modal__price-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
}

.product-modal__price-label--muted {
    color: #888;
}

.modal-price-brutto {
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 900;
    color: #111;
    line-height: 1.1;
}

.modal-price-netto {
    font-size: 1rem;
    font-weight: 700;
    color: #555;
}

.product-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.product-modal__cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    min-height: 3.5rem;
}

.product-modal__cta i {
    font-size: 1.35rem;
    flex-shrink: 0;
}

.product-modal__cta-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.2;
}

.product-modal__cta-text strong {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.92;
}

.product-modal__cta-text span:last-child {
    font-size: 0.92rem;
    font-weight: 800;
}

.product-modal__cta--phone {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.25);
}

.product-modal__cta--phone:hover {
    background: var(--accent-secondary);
    color: #fff;
    transform: translateY(-2px);
}

.product-modal__cta--whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.22);
}

.product-modal__cta--whatsapp:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-2px);
}

.product-modal-form {
    margin-top: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    display: grid;
    gap: 0.75rem;
}

.product-modal-form__title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #222;
    margin: 0;
}

.product-modal-form__hint {
    font-size: 0.78rem;
    color: #777;
    margin: -0.35rem 0 0;
}

.product-modal-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.product-modal-form__field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.3rem;
}

.product-modal-form__field input,
.product-modal-form__field textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font: inherit;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.product-modal-form__field input:focus,
.product-modal-form__field textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.12);
}

.product-modal-form__submit {
    width: 100%;
    margin-top: 0.15rem;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-weight: 800;
}

.product-modal__specs {
    border-top: 1px solid #eee;
    padding: 1.15rem 1.75rem 1.5rem;
    background: #fafafa;
    flex-shrink: 0;
}

.product-modal__specs-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-modal__specs-title i {
    color: var(--accent-primary);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.55rem;
}

.spec-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.spec-item--empty {
    display: none;
}

.spec-label {
    font-size: 0.68rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.spec-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111;
    word-break: break-word;
}

@media (max-width: 768px) {
    .product-modal {
        padding: 0.5rem;
    }

    .product-detail-content {
        max-height: 96vh;
        border-radius: 12px;
    }

    .product-modal__layout {
        grid-template-columns: 1fr;
    }

    .product-modal__media {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 1.25rem 1rem 1rem;
    }

    .modal-product-img {
        max-height: 220px;
    }

    .product-modal__main {
        padding: 1.25rem 1rem 1rem;
    }

    .product-modal__actions,
    .product-modal-form__row {
        grid-template-columns: 1fr;
    }

    .product-modal__specs {
        padding: 1rem;
    }

    .specs-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== Professional refresh v50 ===== */

.hero-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 1.75rem;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    margin-bottom: 0.85rem;
    color: var(--accent-primary);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.hero-title {
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    color: #111;
}

.hero-title__accent {
    color: var(--accent-primary);
}

.hero-lead {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 520px;
    margin: 0 auto 1.25rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.25rem;
    margin-top: 1.25rem;
}

.hero-actions .hero-cta {
    min-width: auto;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    text-decoration: none;
}

.hero-phone-link {
    color: #333;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-bottom: 2px solid rgba(211, 47, 47, 0.25);
    transition: color 0.2s, border-color 0.2s;
}

.hero-phone-link:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.hero-booking-link {
    margin-bottom: 1.25rem;
    background: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    text-decoration: none;
    border: 1px solid #eee;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    gap: 12px;
}

.hero-booking-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-primary);
}

.hero-booking-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.hero-booking-link i {
    color: var(--accent-primary);
    font-size: 1.4rem;
}

.hero-booking-link span {
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.filter-container--hero {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 8px;
}

.filter-header-sub {
    font-size: 0.85rem;
    color: #777;
}

.filter-advanced-toggle {
    background: none;
    border: none;
    color: var(--accent-primary);
    font-weight: 700;
    cursor: pointer;
    padding: 0.5rem 0 1rem;
    font-size: 0.95rem;
    box-shadow: none;
    text-transform: none;
}

.filter-advanced-toggle:hover {
    transform: none;
    background: none;
    text-decoration: underline;
}

.filter-advanced {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-bottom: 0.5rem;
}

.select-disabled {
    background: #f0f0f0 !important;
    color: #777 !important;
    cursor: not-allowed !important;
}

.filter-actions {
    display: flex;
    gap: 1rem;
    grid-column: span 2;
}

.features-section {
    padding: 4rem 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item i {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
}

.products-loader {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.products-section--loading .products-loader {
    display: block;
}

.products-loader__spinner {
    width: 44px;
    height: 44px;
    border: 3px solid #eee;
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: tm-spin 0.8s linear infinite;
}

@keyframes tm-spin {
    to { transform: rotate(360deg); }
}

.no-results {
    text-align: center;
    padding: 2rem;
}

.no-results a {
    color: var(--accent-primary);
    font-weight: 700;
}

.pagination-info {
    color: var(--text-secondary);
    margin-right: 1rem;
    font-size: 0.9rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    background: #eee;
    color: #333;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    min-width: 40px;
}

.pagination-btn--active,
.pagination-btn:hover:not(:disabled) {
    background: var(--accent-primary);
    color: #fff;
}

.pagination-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

#pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--accent-primary);
    margin-bottom: 2rem;
}

.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--accent-primary);
    font-weight: 900;
}

.about-photo {
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    width: 100%;
    object-fit: cover;
}

.content-section--alt {
    background: #fdfdfd;
}

.service-quote {
    background: #f8f9fa;
    border-left: 4px solid var(--accent-primary);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
    color: #555;
    line-height: 1.8;
    font-style: italic;
    font-size: 1.05rem;
}

.service-list-title {
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-weight: 500;
}

.service-list i {
    color: var(--accent-primary);
}

.contact-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
    margin-bottom: 8px;
}

.contact-card i {
    color: var(--accent-primary);
    width: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    text-align: center;
    padding: 2.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.service-card__icon {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: var(--accent-primary);
}

.booking-section {
    background: #fdfdfd;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.booking-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.booking-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
    max-width: 350px;
    flex: 1;
    min-width: 260px;
    gap: 0.75rem;
}

.booking-card h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
}

.booking-card p {
    margin: 0 0 0.75rem;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 260px;
}

.booking-card .hero-cta {
    width: 100%;
    max-width: 280px;
    margin-top: 0.5rem;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
}

.booking-card .hero-cta--phone {
    font-size: 1.05rem;
    font-weight: 800;
}

.booking-card .hero-cta--online {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    margin-top: 4rem;
    box-shadow: var(--shadow-soft);
}

.map-container--small {
    height: 250px;
    margin-top: 1rem;
}

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

.contact-form-container h3 {
    margin-bottom: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form textarea,
.product-inquiry-form textarea {
    width: 100%;
    padding: 0.8rem;
    background: #fdfdfd;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 4px;
    font-family: inherit;
}

.form-status {
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    text-align: center;
}

.form-status--success {
    background: #d4edda;
    color: #155724;
}

.form-status--error {
    background: #f8d7da;
    color: #721c24;
}

.phone-number a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-primary);
}

.footer-trust {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    line-height: 1.5;
}

.footer-col a {
    color: inherit;
}

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

.footer-social {
    margin-top: 1rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin: 2rem 0 1rem;
    font-size: 1.2rem;
}

.legal-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.legal-updated {
    margin-top: 2rem;
    color: #888;
    font-size: 0.9rem;
}

.reviews-summary {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 520px;
    margin: 0 auto 3rem;
    border-top: 4px solid var(--accent-primary);
    box-shadow: var(--shadow-soft);
}

.reviews-summary h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0.25rem 0 1rem;
    line-height: 1.45;
    color: #222;
}

.reviews-summary #review-count {
    margin: 0.5rem 0 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 600;
}

.reviews-summary__updated {
    margin: 0.35rem 0 0;
    color: #888;
    font-size: 0.8rem;
    line-height: 1.4;
}

.reviews-summary__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

.rating-number {
    font-size: 3rem;
    font-weight: 900;
    color: #111;
    line-height: 1;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin: 10px 0;
}

.rating-stars--small {
    font-size: 0.8rem;
    margin: 2px 0;
}

.reviews-summary__cta {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
    white-space: normal;
    max-width: 100%;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.reviewer-avatar--photo {
    overflow: hidden;
    background: #eee;
    padding: 0;
}

.reviewer-avatar--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info h4 {
    margin-bottom: 2px;
}

.review-text {
    color: #444;
    font-style: italic;
    line-height: 1.6;
}

.review-footer {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #666;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.review-source {
    color: var(--accent-primary);
    font-weight: 600;
}

.google-icon-container {
    margin-left: auto;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #1a1a1a;
    color: #fff;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner__text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
    min-width: 240px;
}

.cookie-banner__text a {
    color: #ff8a80;
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-banner__btn {
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.cookie-banner__btn--accept {
    background: var(--accent-primary);
    color: #fff;
}

.cookie-banner__btn--more {
    background: transparent;
    color: #fff;
    border: 1px solid #666;
}

.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    padding: 0.5rem;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
}

.sticky-mobile-cta__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    border-radius: 6px;
    text-decoration: none;
}

.sticky-mobile-cta__btn i {
    font-size: 1.1rem;
}

.sticky-mobile-cta__btn--call {
    color: var(--accent-primary);
}

.sticky-mobile-cta__btn--book {
    background: var(--accent-primary);
    color: #fff;
}

.sticky-mobile-cta__btn--whatsapp {
    background: #25D366;
    color: #fff;
}

.sticky-mobile-cta__btn--search {
    background: #f0f0f0;
}

@media (max-width: 992px) {
    .sticky-mobile-cta {
        display: grid;
    }

    body {
        padding-bottom: 72px;
    }

    body.nav-open {
        padding-bottom: 0;
    }

    .cookie-banner {
        bottom: 72px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 3rem;
        padding-bottom: 4rem;
    }

    .filter-container--hero {
        padding: 1.25rem;
    }

    .filter-actions {
        flex-direction: column;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .top-bar {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .top-bar .top-left {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 0.7rem;
    }

    .top-bar-link {
        margin-left: 12px;
        font-size: 0.75rem;
    }
}

/* —— Premium enhancements v57 —— */
.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.footer-legal {
    font-size: 0.85rem;
    color: #777;
    margin-top: 0.75rem;
}

.top-bar-link--whatsapp {
    color: #25D366;
}

.wrapper .whatsapp:hover,
.wrapper .whatsapp:hover .tooltip,
.wrapper .whatsapp:hover .tooltip::before {
    background: #25D366;
    color: #fff;
}

.hero-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    color: #555;
    font-size: 0.9rem;
}

.hero-perks li {
    position: relative;
    padding-left: 1rem;
}

.hero-perks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 2.5rem;
        padding-bottom: 2rem;
    }

    .hero-perks {
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
    }
}

.trust-bar {
    background: #1a1a1a;
    color: #fff;
    padding: 1rem max(5%, env(safe-area-inset-right, 0px)) 1rem max(5%, env(safe-area-inset-left, 0px));
}

.trust-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    justify-content: center;
    text-align: left;
}

.trust-bar__item i {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

.reviews-summary__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

.hero-cta--outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.hero-cta--outline:hover {
    background: var(--accent-primary);
    color: #fff;
}

.section-intro,
.contact-form-note,
.price-table-note {
    text-align: center;
    color: #666;
    max-width: 720px;
    margin: 0 auto 1.5rem;
}

.price-table-wrap {
    overflow-x: auto;
    max-width: 800px;
    margin: 0 auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.price-table th,
.price-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.price-table th {
    background: #1a1a1a;
    color: #fff;
    font-weight: 700;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table td:last-child {
    font-weight: 700;
    color: var(--accent-primary);
    white-space: nowrap;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 0.25rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    padding: 0.85rem 0;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding-bottom: 1rem;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .sticky-mobile-cta__btn span {
        font-size: 0.62rem;
    }

    .trust-bar__item {
        font-size: 0.8rem;
    }
}