:root {
    --primary_dark_blue: #0B1B3D;
    --secondary_navy: #142850;
    --accent_turquoise: #00B4D8;
    --accent_cyan_hover: #0096C7;
    --background_light: #F8FAFC;
    --surface_white: #FFFFFF;
    --border_color: #E2E8F0;
    --text_primary_on_light: #0F172A;
    --text_secondary_on_light: #475569;
    --text_primary_on_dark: #F8FAFC;
    --text_secondary_on_dark: #94A3B8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    background-color: var(--background_light);
    color: var(--text_secondary_on_light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent_turquoise);
    outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
}

h2 {
    font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw + 0.25rem, 1.75rem);
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.cookie-consent-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(11, 27, 61, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-consent-modal {
    background-color: var(--surface_white);
    color: var(--text_primary_on_light);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    max-width: 540px;
    width: 100%;
    padding: 1.5rem;
    animation: cookieFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes cookieFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cookie-consent-link {
    color: var(--accent_cyan_hover);
    font-weight: 600;
}

.cookie-consent-link:hover {
    color: var(--primary_dark_blue);
}

.cookie-consent-preferences {
    background-color: var(--background_light);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border_color);
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.85rem;
        word-break: break-word;
    }

    h2 {
        font-size: 1.5rem;
        word-break: break-word;
    }

    h3 {
        font-size: 1.25rem;
        word-break: break-word;
    }

    h4 {
        font-size: 1.1rem;
    }

    h5 {
        font-size: 1rem;
    }

    a[href^="mailto:"],
    a[href^="tel:"],
    .text-break-mobile {
        font-size: 0.9rem;
        word-break: break-all;
    }
}

/* ===== site_header ===== */
#header.site-header-block {
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%
}

#header .nav-link {
    transition: color .2s ease-in-out;
    color: var(--text_primary_on_dark)
}

#header .nav-link:hover,
#header .nav-link:focus {
    color: var(--accent_turquoise) !important
}

#header .btn:hover {
    filter: brightness(1.08);
    transition: filter .2s ease-in-out
}

#header .brand-symbol {
    max-width: 70px;
    height: auto
}

#header .brand-text {
    letter-spacing: -0.5px
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    z-index: 1050;
    display: none;
    opacity: 1;
    overflow-y: auto
}

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

.mobile-menu-overlay .mobile-nav-link {
    transition: color .2s ease-in-out;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center
}

.mobile-menu-overlay .mobile-nav-link:hover {
    color: var(--accent_turquoise) !important
}

/* ===== hero_section ===== */
#hero {
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary_dark_blue, #0B1B3D) 0%, var(--secondary_navy, #142850) 100%);
    position: relative;
    width: 100%
}

.hero-title {
    font-size: clamp(1.125rem, 4vw, 2.75rem);
    line-height: 1.2;
    hyphens: auto;
    color: var(--text_primary_on_dark, #F8FAFC)
}

.hero-subtitle {
    font-size: clamp(0.875rem, 2vw, 1.15rem);
    color: var(--text_primary_on_dark, #F8FAFC);
    max-width: 560px
}

.extra-small {
    font-size: 0.75rem
}

.hero-btn-primary {
    background-color: var(--accent_turquoise, #00B4D8);
    border-color: var(--accent_turquoise, #00B4D8);
    border-radius: 0.5rem;
    transition: all .3s ease
}

.hero-btn-primary:hover {
    background-color: var(--accent_cyan_hover, #0096C7);
    border-color: var(--accent_cyan_hover, #0096C7);
    transform: translateY(-2px)
}

.hero-btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    border-radius: 0.5rem;
    transition: all .3s ease
}

.hero-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--surface_white, #FFFFFF);
    transform: translateY(-2px)
}

.hero-image-container {
    max-width: 100%
}

.hero-glow {
    background: radial-gradient(circle, rgba(0, 180, 216, 0.2) 0%, rgba(11, 27, 61, 0) 70%);
    filter: blur(30px);
    pointer-events: none
}

.hero-img {
    object-fit: cover;
    height: auto;
    aspect-ratio: 16/11
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.125rem !important;
        line-height: 1.2 !important
    }

    .hero-subtitle {
        font-size: 0.875rem !important;
        line-height: 1.3 !important
    }
}

/* ===== popular_products_grid ===== */
#popular-products {
    width: 100%;
    position: relative;
}

#popular-products .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#popular-products .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(11, 27, 61, 0.08) !important;
}

#popular-products .js-buy-btn {
    transition: background-color 0.2s ease, transform 0.15s ease;
}

#popular-products .js-buy-btn:hover {
    background-color: var(--accent_cyan_hover) !important;
    color: var(--surface_white) !important;
}

#popular-products .js-buy-btn:active {
    transform: scale(0.98);
}

.product-features {
    color: var(--text_secondary_on_light);
    padding-left: 1.15rem;
}

.product-features li {
    margin-bottom: 0.25rem;
}

.product-features li::marker {
    color: var(--accent_turquoise);
}

@media (max-width: 767.98px) {
    #popular-products h2 {
        font-size: 1rem !important;
        line-height: 1.25;
        hyphens: auto;
    }

    #popular-products h3 {
        font-size: 0.875rem !important;
        line-height: 1.2;
        hyphens: auto;
    }
}

/* ===== categories_section ===== */
#categories {
    overflow: hidden;
    background-color: var(--background_light);
    width: 100%
}

.hovaris-categories .hovaris-cat-badge {
    background-color: rgba(0, 180, 216, 0.12);
    color: var(--accent_turquoise);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em
}

.hovaris-categories .hovaris-cat-title {
    color: var(--text_primary_on_light);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.25;
    hyphens: auto
}

.hovaris-categories .hovaris-cat-subtitle {
    color: var(--text_secondary_on_light);
    font-size: 1.05rem;
    line-height: 1.5
}

.hovaris-categories .hovaris-cat-card {
    background-color: var(--surface_white);
    border: 1px solid var(--border_color);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer
}

.hovaris-categories .hovaris-cat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent_turquoise);
    box-shadow: 0 12px 24px rgba(11, 27, 61, 0.08)
}

.hovaris-categories .hovaris-cat-icon-wrapper {
    width: 52px;
    height: 52px;
    background-color: rgba(0, 180, 216, 0.1);
    color: var(--accent_turquoise);
    font-size: 1.5rem;
    transition: background-color 0.25s ease, color 0.25s ease
}

.hovaris-categories .hovaris-cat-card:hover .hovaris-cat-icon-wrapper {
    background-color: var(--accent_turquoise);
    color: var(--surface_white)
}

.hovaris-categories .hovaris-card-heading {
    color: var(--text_primary_on_light);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    hyphens: auto
}

.hovaris-categories .hovaris-card-desc {
    color: var(--text_secondary_on_light);
    font-size: 0.9rem;
    line-height: 1.45
}

.hovaris-categories .hovaris-card-action {
    border-color: var(--border_color) !important
}

.hovaris-categories .hovaris-action-label {
    color: var(--secondary_navy);
    font-size: 0.875rem;
    font-weight: 600
}

.hovaris-categories .hovaris-card-action i {
    color: var(--accent_turquoise);
    font-size: 1rem;
    transition: transform 0.2s ease
}

.hovaris-categories .hovaris-cat-card:hover .hovaris-card-action i {
    transform: translateX(4px);
    color: var(--accent_cyan_hover)
}

@media(max-width:767.98px) {
    .hovaris-categories .hovaris-cat-title {
        font-size: 1rem;
        line-height: 1.2
    }

    .hovaris-categories .hovaris-card-heading {
        font-size: 0.875rem;
        line-height: 1.2
    }

    .hovaris-categories .hovaris-cat-subtitle {
        font-size: 0.875rem
    }

    .hovaris-categories .hovaris-cat-card {
        padding: 1.25rem !important
    }
}

/* ===== benefits_section ===== */
#benefits.benefits-section {
    background-color: var(--background_light);
    width: 100%;
}

#benefits .benefits-badge {
    background-color: rgba(0, 180, 216, 0.12);
    color: var(--accent_turquoise);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 50rem;
    letter-spacing: 0.02em;
}

#benefits .benefits-title {
    color: var(--text_primary_on_light);
    font-size: 2rem;
    line-height: 1.25;
    hyphens: auto;
}

#benefits .benefits-subtitle {
    color: var(--text_secondary_on_light);
    font-size: 1.05rem;
    line-height: 1.6;
}

#benefits .benefit-card {
    background-color: var(--surface_white);
    border-radius: 1rem;
    border: 1px solid var(--border_color) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
}

#benefits .benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(11, 27, 61, 0.08);
    border-color: var(--accent_turquoise) !important;
}

#benefits .benefit-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: rgba(0, 180, 216, 0.1);
    color: var(--accent_turquoise);
    flex-shrink: 0;
}

#benefits .benefit-icon {
    font-size: 1.75rem;
    color: var(--accent_turquoise);
}

#benefits .benefit-card-title {
    color: var(--text_primary_on_light);
    font-size: 1.25rem;
    line-height: 1.35;
    hyphens: auto;
}

#benefits .benefit-card-text {
    color: var(--text_secondary_on_light);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    #benefits .benefits-title {
        font-size: 1rem;
        line-height: 1.2;
    }

    #benefits .benefit-card-title {
        font-size: 0.875rem;
        line-height: 1.2;
    }

    #benefits .benefits-subtitle,
    #benefits .benefit-card-text {
        font-size: 0.8125rem;
        line-height: 1.45;
    }

    #benefits .benefit-card {
        padding: 1.25rem !important;
    }

    #benefits .benefit-icon-wrapper {
        width: 44px;
        height: 44px;
    }

    #benefits .benefit-icon {
        font-size: 1.35rem;
    }
}

/* ===== order_steps_section ===== */
#how-to-order .order-steps-progress-line {
    position: absolute;
    top: 60px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent_turquoise) 0%, var(--secondary_navy) 50%, var(--accent_turquoise) 100%);
    opacity: 0.35;
    z-index: 1;
}

#how-to-order .order-step-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    z-index: 2;
}

#how-to-order .order-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(11, 27, 61, 0.08) !important;
    border-color: var(--accent_turquoise) !important;
}

#how-to-order .order-step-icon-box {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#how-to-order .order-step-card:hover .order-step-icon-box {
    transform: scale(1.08);
    background-color: var(--secondary_navy) !important;
}

@media (max-width: 767.98px) {
    #how-to-order h2.order-steps-title {
        font-size: 1rem !important;
        line-height: 1.25;
        hyphens: auto;
    }

    #how-to-order h3.order-step-heading {
        font-size: 0.875rem !important;
        line-height: 1.25;
        hyphens: auto;
    }

    #how-to-order p.order-steps-subtitle {
        font-size: 0.875rem !important;
    }

    #how-to-order p.order-step-text {
        font-size: 0.8125rem !important;
    }
}

/* ===== new_products_grid ===== */
#new-releases .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    hyphens: auto;
}

#new-releases .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(11, 27, 61, 0.08) !important;
}

#new-releases .buyNowBtn {
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

#new-releases .buyNowBtn:hover {
    background-color: var(--secondary_navy) !important;
}

#new-releases .buyNowBtn:active {
    opacity: 0.9;
}

@media (max-width: 767.98px) {
    #new-releases h2 {
        font-size: 1.125rem !important;
        line-height: 1.25 !important;
    }

    #new-releases h3 {
        font-size: 0.875rem !important;
        line-height: 1.25 !important;
    }
}

/* ===== about_section ===== */
.about-section {
    width: 100%;
    position: relative;
}

@media (max-width: 767.98px) {
    .about-section h2 {
        font-size: 1rem !important;
        line-height: 1.25 !important;
        hyphens: auto;
    }

    .about-section h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }
}

/* ===== faq_accordion ===== */
#faq.faq-section {
    background-color: var(--background_light);
}

#faq .custom-faq-accordion .accordion-item {
    background-color: var(--surface_white);
    border: 1px solid var(--border_color) !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#faq .custom-faq-accordion .accordion-item:hover {
    border-color: var(--accent_turquoise) !important;
    box-shadow: 0 8px 24px rgba(11, 27, 61, 0.06) !important;
}

#faq .custom-faq-accordion .accordion-button {
    background-color: var(--surface_white);
    color: var(--text_primary_on_light);
    font-size: 1.05rem;
    box-shadow: none;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    hyphens: auto;
}

#faq .custom-faq-accordion .accordion-button:not(.collapsed) {
    background-color: #F0F9FF;
    color: var(--primary_dark_blue);
}

#faq .custom-faq-accordion .accordion-button:focus {
    box-shadow: none;
}

#faq .custom-faq-accordion .accordion-button::after {
    filter: grayscale(1);
    transition: transform 0.25s ease;
}

#faq .custom-faq-accordion .accordion-button:not(.collapsed)::after {
    filter: none;
}

@media (max-width: 767.98px) {
    #faq h2 {
        font-size: 1rem;
        line-height: 1.25;
        hyphens: auto;
    }

    #faq h3 {
        font-size: 0.875rem;
        line-height: 1.2;
        hyphens: auto;
    }

    #faq .custom-faq-accordion .accordion-button {
        font-size: 0.95rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ===== contact_form ===== */
.contact-form-section {
    width: 100%;
}

.contact-form-section .form-control:focus,
.contact-form-section .form-select:focus {
    border-color: var(--accent_turquoise) !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 180, 216, 0.2) !important;
}

.contact-form-section .form-check-input:checked {
    background-color: var(--accent_turquoise) !important;
    border-color: var(--accent_turquoise) !important;
}

.contact-form-section .btn-primary:hover,
.contact-form-section .btn-primary:focus {
    background-color: var(--accent_cyan_hover) !important;
    border-color: var(--accent_cyan_hover) !important;
}

@media (max-width: 767.98px) {
    .contact-form-section h2.contact-title {
        font-size: 1rem !important;
        line-height: 1.25 !important;
    }

    .contact-form-section h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
    }

    .contact-form-section p.contact-subtitle {
        font-size: 0.875rem !important;
    }
}

/* ===== location_map_section ===== */
.hovaris-location-section .js-btn-call:hover {
    background-color: var(--accent_cyan_hover) !important;
    color: #FFFFFF !important;
}

.hovaris-location-section .js-btn-email:hover {
    background-color: rgba(0, 180, 216, 0.08) !important;
    color: var(--secondary_navy) !important;
    border-color: var(--accent_turquoise) !important;
}

@media (max-width: 767.98px) {
    .hovaris-location-section h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    .hovaris-location-section h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    .hovaris-location-section h4 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
    }

    .hovaris-location-section p,
    .hovaris-location-section a {
        font-size: 0.875rem !important;
    }
}

/* ===== site_footer ===== */
.site-footer {
    position: relative;
    width: 100%;
    font-family: inherit
}

.site-footer .footer-logo {
    max-width: 48px;
    height: auto;
    object-fit: contain
}

.site-footer .footer-link {
    transition: color .2s ease-in-out
}

.site-footer .footer-link:hover {
    color: var(--accent_turquoise) !important;
    text-decoration: underline !important
}

@media(max-width:767.98px) {
    .site-footer h2 {
        font-size: 1rem !important;
        line-height: 1.2;
        hyphens: auto
    }

    .site-footer .footer-brand span {
        font-size: .875rem
    }
}
