/* ==========================================================================
   Q Energy — Custom Styles
   ========================================================================== */

:root {
    --orange: #FA5F28;
    --orange-rgb: 250, 95, 40;
    --black: #0B0B0B;
    --charcoal: #1A1A1A;
    --charcoal-mid: #2D2D2D;
    --sand: #F7F4F0;
    --white: #FFFFFF;
    --gray-100: #F0EDE8;
    --gray-200: #E2DDD6;
    --gray-400: #8A8580;
    --gray-600: #5C5854;

    --font-display: Arial, Helvetica, sans-serif;
    --font-body: Arial, Helvetica, sans-serif;

    --header-height: 88px;
    --promo-height: 0px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(11, 11, 11, 0.08);
    --shadow-lg: 0 12px 48px rgba(11, 11, 11, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--charcoal);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--narrow { max-width: 800px; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--black);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 0;
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-header--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Header */
.site-header-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header {
    position: relative;
    z-index: 210;
    background: var(--white);
    border-bottom: 1px solid rgba(11, 11, 11, 0.06);
    height: var(--header-height);
    transition: box-shadow var(--transition);
}

.site-header-wrap.is-scrolled .site-header,
.site-header.is-scrolled {
    box-shadow: 0 8px 30px rgba(11, 11, 11, 0.06);
}

.site-header__bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    height: 100%;
}

.site-header__logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    line-height: 1;
    min-width: 0;
}

.site-header__logo img {
    height: 64px;
    width: auto;
    max-width: min(240px, 42vw);
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.site-nav__drawer-extra {
    display: none;
}

.search-form--drawer {
    display: none;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

@media (min-width: 901px) {
    .site-nav__drawer-extra {
        display: none !important;
    }
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.site-nav__list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: -0.01em;
    position: relative;
    transition: color var(--transition);
}

.site-nav__list > li > a::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.2rem;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.site-nav__list > li > a:hover,
.site-nav__list > li > a.is-active {
    color: var(--black);
}

.site-nav__list > li > a:hover::after,
.site-nav__list > li > a.is-active::after {
    transform: scaleX(1);
}

.nav-chevron {
    opacity: 0.45;
    transition: transform var(--transition), opacity var(--transition);
}

.has-dropdown:hover .nav-chevron,
.has-dropdown:focus-within .nav-chevron {
    opacity: 1;
    transform: rotate(180deg);
}

.has-dropdown {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 200px;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid rgba(11, 11, 11, 0.08);
    box-shadow: 0 16px 40px rgba(11, 11, 11, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: 120;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 0.7rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--charcoal);
    transition: background var(--transition), color var(--transition);
}

.nav-dropdown a:hover {
    background: var(--sand);
    color: var(--orange);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: end;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem;
    background: var(--sand);
    border-radius: 100px;
    border: 1px solid var(--gray-200);
}

.lang-switch__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--charcoal-mid);
    border-radius: 100px;
    transition: background var(--transition), color var(--transition);
}

.lang-switch__btn:hover,
.lang-switch__btn.is-active {
    background: var(--white);
    color: var(--orange);
}

.search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 168px;
    height: 42px;
    padding: 0 0.9rem;
    background: var(--sand);
    border: 1px solid transparent;
    transition: width var(--transition), border-color var(--transition), background var(--transition);
}

.search-form:focus-within {
    width: 220px;
    border-color: rgba(var(--orange-rgb), 0.35);
    background: var(--white);
}

.search-form__icon {
    flex-shrink: 0;
    color: var(--gray-600);
}

.search-form input {
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.86rem;
    outline: none;
    width: 100%;
    min-width: 0;
    color: var(--black);
}

.search-form input::placeholder {
    color: var(--gray-400);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 42px;
    padding: 0 1.1rem;
    background: var(--orange);
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: background var(--transition), transform var(--transition);
}

.header-cta:hover {
    background: #e04f1c;
    transform: translateY(-1px);
}

.header-cta svg {
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--sand);
    border: none;
    cursor: pointer;
    padding: 0 11px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }

.btn--primary {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.btn--primary:hover {
    background: #e04f1a;
    border-color: #e04f1a;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(var(--orange-rgb), 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--black);
    border-color: var(--black);
}

.btn--outline:hover {
    background: var(--black);
    color: var(--white);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
}

.btn--whatsapp svg { flex-shrink: 0; }

/* Hero — split panel */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
    min-height: calc(100vh - var(--header-height) - var(--promo-height));
    min-height: calc(100dvh - var(--header-height) - var(--promo-height));
    background: var(--black);
    overflow: hidden;
}

.hero__panel {
    display: flex;
    align-items: center;
    background: var(--black);
    z-index: 2;
}

.hero__panel-inner {
    width: 100%;
    max-width: 540px;
    padding: 4rem 3rem 4rem clamp(1.5rem, 4vw, 3.5rem);
}

.hero__eyebrow {
    display: inline-block;
    margin-bottom: 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
}

.hero__title {
    margin: 0 0 1.35rem;
    line-height: 1;
}

.hero__brand {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #fff;
    white-space: normal;
    max-width: 100%;
    word-break: keep-all;
}

.hero__subtitle {
    margin: 0 0 2.25rem;
    max-width: 26rem;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.hero__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
}

.hero__btn {
    height: 48px;
    padding: 0 1.35rem;
    border-radius: 0;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    flex: 0 0 auto;
}

.hero .btn--primary.hero__btn {
    min-width: 0;
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

.hero .btn--primary.hero__btn:hover {
    background: #e04f1c;
    border-color: #e04f1c;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(var(--orange-rgb), 0.35);
}

.hero__btn--wa {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero__btn--wa:hover {
    background: #fff;
    color: var(--black);
    border-color: #fff;
    transform: translateY(-1px);
}

.hero__visual {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background: #121820;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    inset: 0;
    animation: heroKen 22s ease-out forwards;
}

@keyframes heroKen {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.reveal--delay-3 {
    animation-delay: 0.45s;
}

@media (prefers-reduced-motion: reduce) {
    .hero__image {
        animation: none;
        transform: none;
    }
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal--delay-1 { animation-delay: 0.15s; }
.reveal--delay-2 { animation-delay: 0.3s; }

@keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Marquee */
.marquee {
    background: var(--orange);
    color: var(--white);
    overflow: hidden;
    padding: 0.75rem 0;
    width: 100%;
    max-width: 100%;
    contain: paint;
}

.marquee__track {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee__item {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Sections */
.section {
    padding: 5rem 0;
}

.intro-section {
    background: var(--sand);
    padding: 3.5rem 0;
}

.intro-text {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    text-align: center;
    color: var(--charcoal-mid);
    line-height: 1.8;
}

/* Category Strips */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.category-strip {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--sand);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    overflow: hidden;
}

.category-strip:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.category-strip__image {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius);
}

.category-strip__image img {
    width: 46px;
    height: 46px;
    max-height: 46px;
    object-fit: contain;
}

.category-strip__content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.375rem;
}

.category-strip__content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.category-strip__link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
}

/* Product Grid & Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.product-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-card__link { display: block; }

.product-card__image-wrap {
    position: relative;
    aspect-ratio: 1;
    background: var(--sand);
    overflow: hidden;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card__image {
    transform: scale(1.06);
}

.product-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.625rem;
    background: var(--black);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 100px;
}

.product-card__body { padding: 1.25rem; }

.product-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__excerpt {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__cta {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
}

/* About Teaser */
.about-teaser {
    background: var(--sand);
}

.about-teaser__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-teaser__content p {
    margin-bottom: 1rem;
    color: var(--charcoal-mid);
}

.about-teaser__content .btn { margin-top: 0.5rem; }

.about-teaser__visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pillar-card {
    padding: 2rem;
    background: var(--sand);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.pillars-section--alt .pillar-card {
    background: var(--white);
}

.pillar-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.25rem;
    color: var(--orange);
    background: rgba(var(--orange-rgb), 0.1);
    border-radius: 14px;
}

.pillar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.why-grid--about {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.why-card {
    padding: 1.75rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition);
}

.why-card:hover { border-color: var(--orange); }

.why-card--wide { grid-column: 1 / -1; }

.why-card__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(var(--orange-rgb), 0.12);
    color: var(--orange);
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 3rem;
    padding: 1.75rem 0 0;
    border-top: 1px solid var(--gray-200);
    list-style: none;
}

.trust-strip__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.35rem 1.5rem;
    position: relative;
}

.trust-strip__item:first-child {
    padding-left: 0;
}

.trust-strip__item:last-child {
    padding-right: 0;
}

.trust-strip__item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15rem;
    bottom: 0.15rem;
    width: 1px;
    background: var(--gray-200);
}

.trust-strip__mark {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 0.45rem;
    background: var(--orange);
}

.trust-strip__text {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.01em;
    line-height: 1.35;
}

/* Page Hero (inner pages) */
.page-hero {
    padding: 4rem 0 3rem;
    background: var(--sand);
    border-bottom: 1px solid var(--gray-200);
}

.page-hero--compact { padding: 3rem 0 2rem; }

.page-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.75rem;
}

.page-hero__subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 600px;
}

/* Shop */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.shop-filters {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.is-active {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.shop-search input {
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    min-width: 200px;
    transition: border-color var(--transition);
}

.shop-search input:focus { border-color: var(--orange); }

.shop-count {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state h1, .empty-state h2 {
    margin-bottom: 0.75rem;
}

.empty-state p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Product Detail */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.breadcrumb a:hover { color: var(--orange); }

.product-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-detail__main-image {
    background: var(--sand);
    border-radius: var(--radius-lg);
    padding: 2rem;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail__main-image img {
    max-height: 100%;
    object-fit: contain;
}

.product-detail__categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.product-detail__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 1.25rem;
}

.product-detail__excerpt {
    margin-bottom: 1.5rem;
    color: var(--charcoal-mid);
}

.product-detail__actions {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
    flex-wrap: nowrap;
    margin-bottom: 1.5rem;
}

.product-detail__actions .btn {
    flex: 1;
    min-width: 0;
    padding: 0.85rem 0.65rem;
    font-size: 0.82rem;
    line-height: 1.2;
    white-space: nowrap;
}

.product-detail__actions .btn--lg {
    padding: 0.85rem 0.65rem;
    font-size: 0.82rem;
}

.product-detail__actions .btn-text--short {
    display: none;
}

@media (max-width: 520px) {
    .product-detail__actions .btn-text--long {
        display: none;
    }

    .product-detail__actions .btn-text--short {
        display: inline;
    }

    .product-detail__actions .btn {
        padding: 0.8rem 0.5rem;
        font-size: 0.78rem;
    }
}

.product-detail__specs {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.product-detail__specs h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Product Content (sanitized HTML) */
.product-content h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem;
}

.product-content ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.product-content li {
    margin-bottom: 0.375rem;
    font-size: 0.9rem;
}

.product-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.85rem;
}

.product-content th,
.product-content td {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--gray-200);
    text-align: left;
}

.product-content th {
    background: var(--sand);
    font-weight: 700;
}

.product-content tr:nth-child(even) td {
    background: rgba(247, 244, 240, 0.5);
}

/* About Page */
.about-page__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-page__content p {
    margin-bottom: 1rem;
    color: var(--charcoal-mid);
    font-size: 1.05rem;
    line-height: 1.75;
}

.about-page__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* CTA Section */
.cta-section {
    background: var(--black);
    color: var(--white);
}

.cta-section__inner {
    text-align: center;
    max-width: 600px;
}

.cta-section h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.cta-section__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn--outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-section .btn--outline:hover {
    background: var(--white);
    color: var(--black);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-location {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-block {
    margin-bottom: 1.75rem;
}

.contact-block h3 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.contact-link {
    font-size: 1.05rem;
    font-weight: 600;
    transition: color var(--transition);
}

.contact-link:hover { color: var(--orange); }

.contact-phones li {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
    margin-bottom: 0.375rem;
}

.contact-phone-country {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray-400);
    min-width: 60px;
}

.contact-phones a {
    font-weight: 600;
    transition: color var(--transition);
}

.contact-phones a:hover { color: var(--orange); }

.contact-form-wrap {
    background: var(--sand);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.contact-form h2 {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.required { color: var(--orange); }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--white);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--orange);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert--success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.alert--error {
    background: #fce4ec;
    border: 1px solid #ef9a9a;
    color: #c62828;
}

/* Footer */
.site-footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 0;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.2fr;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.site-footer__logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.site-footer__logo span {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
}

.site-footer h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.site-footer__links ul li,
.site-footer__categories ul li {
    margin-bottom: 0.5rem;
}

.site-footer a {
    font-size: 0.875rem;
    transition: color var(--transition);
}

.site-footer a:hover { color: var(--orange); }

.footer-location {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.footer-phones li {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.footer-phone-country {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    min-width: 50px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }

.newsletter-form input:focus { border-color: var(--orange); }

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Warranty page — Horizon layout, Q Energy colors */
.page-warranty .site-header-wrap {
    position: relative;
    z-index: 30;
}

.warranty-hero {
    position: relative;
    min-height: 42vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #111;
}

.warranty-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    filter: saturate(0.85) brightness(0.55);
}

.warranty-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0.55) 55%, rgba(10, 10, 10, 0.78) 100%),
        radial-gradient(circle at 28% 25%, rgba(250, 95, 40, 0.28), transparent 52%);
}

.warranty-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 5.5rem 1.25rem 6.5rem;
}

.warranty-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.warranty-hero__subtitle {
    margin: 0 auto;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.55;
}

.warranty-section {
    background: #f7f7f8;
    padding: 0 0 4.5rem;
    margin-top: -4.5rem;
    position: relative;
    z-index: 5;
}

.warranty-layout {
    display: grid;
    gap: 1.75rem;
    max-width: 920px;
    margin: 0 auto;
}

.warranty-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 22px;
    padding: 2rem 2rem 2.1rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.warranty-card__title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    margin: 0 0 0.55rem;
    color: var(--black);
}

.warranty-card__intro {
    color: var(--gray-600);
    font-size: 0.96rem;
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

.warranty-features {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
}

.warranty-features li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--charcoal);
}

.warranty-features__icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e8f8ee;
    color: #1f9d57;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.warranty-form {
    display: grid;
    gap: 0.9rem;
}

.warranty-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 701px) {
    .warranty-form__row {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: stretch;
    }
}

.warranty-scan-btn {
    background: var(--black);
    color: var(--white);
    height: 48px;
    width: 100%;
    padding: 0 1.15rem;
    white-space: nowrap;
    gap: 0.5rem;
    justify-content: center;
    border-radius: 10px;
}

.warranty-scan-btn:hover {
    background: #222;
}

.warranty-serial-input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    outline: none;
    background: rgba(255, 255, 255, 0.85);
    color: var(--black);
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.warranty-serial-input::placeholder {
    color: var(--gray-500);
}

.warranty-serial-input:focus {
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(250, 95, 40, 0.15);
}

.warranty-submit-btn {
    width: 100%;
    height: 50px;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.95rem;
    border-radius: 10px;
    padding: 0 1rem;
    white-space: nowrap;
}

.warranty-submit-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.warranty-scanner {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px dashed var(--gray-300);
    border-radius: 12px;
    background: #faf8f6;
}

.warranty-scanner__close {
    margin-top: 0.85rem;
    width: 100%;
    justify-content: center;
}

#warranty-qr-reader {
    overflow: hidden;
    border-radius: 10px;
}

.warranty-result {
    margin-top: 1.15rem;
}

.warranty-error {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.9rem 1rem;
    background: #fff1f1;
    border: 1px solid #f3b4b4;
    border-radius: 12px;
    color: #c62828;
    font-weight: 600;
    font-size: 0.92rem;
}

.warranty-error svg {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.warranty-success {
    padding: 1.05rem 1.15rem;
    border-radius: 14px;
    background: #f3faf5;
    border: 1px solid #b7e0c4;
}

.warranty-found-meta {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.warranty-found-meta p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--black);
    word-break: break-word;
}

.warranty-found-meta span {
    color: var(--gray-600);
    font-weight: 600;
    margin-inline-end: 0.25rem;
}

.warranty-year-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.85rem;
}

.warranty-year-card__head {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.9rem;
}

.warranty-year-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(250, 95, 40, 0.12);
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.warranty-year-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
}

.warranty-year-card__intro {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.88rem;
    line-height: 1.45;
}

.warranty-year-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 0.4rem;
}

.warranty-year-input {
    width: 100%;
    height: 46px;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
    box-sizing: border-box;
}

.warranty-year-input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(250, 95, 40, 0.15);
}

.warranty-calc-btn {
    width: 100%;
    justify-content: center;
    height: 46px;
}

.warranty-year-summary {
    margin-top: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: #fff4ee;
    border: 1px solid rgba(250, 95, 40, 0.25);
    text-align: center;
}

.warranty-year-summary--expired,
.warranty-year-summary--error {
    background: #fff1f1;
    border-color: #f3b4b4;
}

.warranty-year-summary__label {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.warranty-year-summary__years {
    margin: 0.25rem 0 0.35rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1.1;
}

.warranty-year-summary__meta {
    margin: 0.15rem 0 0;
    font-size: 0.88rem;
    color: var(--gray-600);
}

.warranty-download-btn {
    width: 100%;
    height: 48px;
    justify-content: center;
    gap: 0.5rem;
    background: var(--black);
    color: var(--white);
    border-radius: 10px;
}

.warranty-download-btn:hover {
    background: #222;
}

.warranty-result--warn .warranty-success {
    background: #fff8e8;
    border-color: #f0d59a;
}

.warranty-success__title {
    font-weight: 800;
    margin-bottom: 0.85rem;
    color: #1f7a45;
}

.warranty-result--warn .warranty-success__title {
    color: #9a6b00;
}

.warranty-success__grid {
    display: grid;
    gap: 0.65rem;
}

.warranty-success__grid > div {
    display: grid;
    grid-template-columns: minmax(110px, 160px) 1fr;
    gap: 0.5rem;
    font-size: 0.92rem;
}

.warranty-success__grid dt {
    color: var(--gray-600);
    font-weight: 600;
}

.warranty-success__grid dd {
    font-weight: 700;
    color: var(--black);
    word-break: break-word;
}

.warranty-info {
    background: #f3f3f4;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-inline-start: 4px solid var(--black);
    border-radius: 18px;
    padding: 1.75rem 1.75rem 1.85rem;
}

.warranty-info__title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.35rem;
}

.warranty-info__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    font-style: italic;
    flex-shrink: 0;
}

.warranty-info__block {
    margin-bottom: 1.35rem;
}

.warranty-info__block:last-child {
    margin-bottom: 0;
}

.warranty-info__block h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.warranty-info__block ul {
    display: grid;
    gap: 0.55rem;
}

.warranty-info__block li {
    position: relative;
    padding-inline-start: 1rem;
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.55;
}

.warranty-info__block li::before {
    content: '•';
    position: absolute;
    inset-inline-start: 0;
    color: var(--orange);
    font-weight: 800;
}

.warranty-info__block p {
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.55;
}

.warranty-support {
    border: 2px solid rgba(250, 95, 40, 0.28);
    background:
        linear-gradient(135deg, rgba(250, 95, 40, 0.12) 0%, rgba(250, 95, 40, 0.04) 45%, transparent 100%),
        var(--white);
    border-radius: 24px;
    padding: 2.25rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.warranty-support h2 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.warranty-support p {
    color: var(--gray-600);
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    max-width: 52ch;
}

@media (max-width: 700px) {
    .warranty-hero {
        min-height: 36vh;
    }

    .warranty-hero__content {
        padding: 4.5rem 1rem 5.5rem;
    }

    .warranty-section {
        margin-top: -3.5rem;
        padding-bottom: 3rem;
    }

    .warranty-card,
    .warranty-info,
    .warranty-support {
        padding: 1.35rem 1.15rem;
        border-radius: 16px;
    }

    .warranty-form__row {
        grid-template-columns: 1fr;
    }

    .warranty-serial-input,
    .warranty-submit-btn,
    .warranty-scan-btn {
        width: 100%;
        min-height: 48px;
    }

    .warranty-success__grid > div {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }
}

/* WhatsApp Float (removed — AI chat takes this spot) */
.whatsapp-float { display: none !important; }

/* Solar advisor chatbot */
.qe-chat {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    right: auto;
    z-index: 95;
    font-family: var(--font-body);
}

.qe-chat__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    max-width: min(240px, calc(100vw - 3rem));
    min-height: 52px;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 999px;
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 8px 28px rgba(250, 95, 40, 0.35);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.88rem;
}

.qe-chat__toggle-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qe-chat__panel {
    display: none;
    position: absolute;
    bottom: calc(100% + 0.75rem);
    left: 0;
    right: auto;
    width: min(380px, calc(100vw - 1.5rem));
    height: min(560px, calc(100vh - 7rem));
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    flex-direction: column;
}

.qe-chat.is-open .qe-chat__panel {
    display: flex;
}

.qe-chat.is-open .qe-chat__toggle-label {
    display: none;
}

.qe-chat__header {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: var(--white);
}

.qe-chat__header strong {
    display: block;
    font-size: 0.98rem;
}

.qe-chat__header p {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    opacity: 0.8;
}

.qe-chat__close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.qe-chat__messages {
    flex: 1;
    overflow-y: auto;
    padding: 0.9rem;
    background: #f7f5f2;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.qe-chat__bubble {
    max-width: 92%;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.55;
    word-break: break-word;
}

.qe-chat__bubble--bot {
    align-self: flex-start;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--charcoal);
}

.qe-chat__bubble--user {
    align-self: flex-end;
    background: var(--orange);
    color: var(--white);
}

.qe-chat__typing {
    opacity: 0.7;
}

.qe-chat__products {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.qe-chat__product {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    background: #fff7f2;
    border: 1px solid rgba(250, 95, 40, 0.2);
    color: var(--black);
    text-decoration: none;
    font-size: 0.82rem;
}

.qe-chat__product:hover {
    background: #ffefe6;
}

.qe-chat__product-title {
    font-weight: 700;
}

.qe-chat__product-meta {
    color: var(--orange);
    font-weight: 700;
    white-space: nowrap;
}

.qe-chat__estimate {
    margin-top: 0.65rem;
    padding: 0.55rem 0.7rem;
    background: #fff4ee;
    border: 1px solid rgba(250, 95, 40, 0.25);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--charcoal);
}

.qe-chat__estimate strong {
    color: var(--orange);
}

.qe-chat__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.55rem;
}

.qe-chat__links a {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--orange);
}

.qe-chat__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.55rem 0.75rem 0.15rem;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.qe-chat__chip {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fafafa;
    color: var(--black);
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.qe-chat__chip:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.qe-chat__form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.45rem;
    padding: 0.7rem;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.qe-chat__input {
    width: 100%;
    min-width: 0;
    height: 42px;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    padding: 0 0.75rem;
    font: inherit;
    font-size: 0.88rem;
}

.qe-chat__input:focus {
    outline: none;
    border-color: var(--orange);
}

.qe-chat__send {
    border: none;
    border-radius: 10px;
    background: var(--black);
    color: var(--white);
    padding: 0 0.9rem;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}

[dir="rtl"] .qe-chat {
    left: 1.5rem;
    right: auto;
}

[dir="rtl"] .qe-chat__panel {
    left: 0;
    right: auto;
}

@media (max-width: 700px) {
    .qe-chat {
        bottom: 1.5rem;
    }

    .qe-chat__toggle-label {
        display: none;
    }

    .qe-chat__toggle {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .qe-chat__panel {
        position: fixed;
        left: 0.75rem;
        right: 0.75rem;
        bottom: 5rem;
        width: auto;
        height: min(70vh, 520px);
    }

    /* Full-screen chat on phones when open */
    .qe-chat.is-open {
        inset: 0;
        top: 0;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100%;
        height: 100%;
        z-index: 10000;
    }

    .qe-chat.is-open .qe-chat__toggle {
        display: none;
    }

    .qe-chat.is-open .qe-chat__panel {
        inset: 0;
        top: 0;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: none;
        height: 100dvh;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .qe-chat.is-open .qe-chat__header {
        padding-top: calc(0.95rem + env(safe-area-inset-top, 0px));
    }

    .qe-chat.is-open .qe-chat__form {
        padding-bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
    }
}

body.qe-chat-open {
    overflow: hidden;
    touch-action: none;
}

body.qe-chat-open .translate-float {
    visibility: hidden;
    pointer-events: none;
}


/* Language translate float */
.translate-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    left: auto;
    z-index: 90;
}

.translate-float__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 56px;
    height: 56px;
    padding: 0 0.85rem;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition);
}

.translate-float__toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.translate-float__current {
    line-height: 1;
}

.translate-float__menu {
    position: absolute;
    bottom: calc(100% + 0.65rem);
    left: 0;
    min-width: 140px;
    padding: 0.35rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.translate-float:hover .translate-float__menu,
.translate-float:focus-within .translate-float__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.translate-float__menu a {
    display: block;
    width: 100%;
    padding: 0.65rem 0.85rem;
    text-align: start;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    border-radius: calc(var(--radius) - 2px);
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.translate-float__menu a:hover,
.translate-float__menu a.is-active {
    background: var(--sand);
    color: var(--orange);
}

.translate-float__toggle.is-active {
    background: var(--orange);
    color: var(--white);
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero__visual {
        order: -1;
        min-height: 42vw;
        max-height: 360px;
    }

    .hero__panel-inner {
        padding: 2.5rem 1.5rem 3rem;
        max-width: none;
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .site-header__bar {
        gap: 1.25rem;
    }

    .search-form--desktop,
    .search-form--desktop:focus-within {
        width: 140px;
    }

    .header-cta span {
        display: none;
    }

    .header-cta {
        padding: 0;
        width: 42px;
        justify-content: center;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .nav-toggle { display: flex; }

    .site-header__bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
    }

    .site-header__logo {
        margin-left: -0.5rem;
    }

    .site-header__actions {
        margin-right: -0.5rem;
    }

    .site-header__logo img {
        height: 48px;
        max-width: min(180px, 50vw);
    }

    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: calc(var(--header-height) + 1rem) 1.5rem 3rem;
        gap: 0.5rem;
        transform: translate3d(100%, 0, 0);
        transition: transform 0.28s ease, visibility 0.28s ease;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 200;
        visibility: hidden;
        pointer-events: none;
        -webkit-overflow-scrolling: touch;
    }

    html[lang="ar"] .site-nav,
    [dir="rtl"] .site-nav {
        transform: translate3d(-100%, 0, 0);
    }

    .site-nav.is-open {
        transform: translate3d(0, 0, 0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    body.nav-open {
        overflow: hidden;
        touch-action: none;
    }

    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        width: 100%;
    }

    .site-nav__list > li > a {
        display: flex;
        justify-content: space-between;
        padding: 1rem 0.25rem;
        font-size: 1.15rem;
        border-bottom: 1px solid var(--gray-100);
    }

    .site-nav__list > li > a::after {
        display: none;
    }

    .nav-chevron {
        display: none;
    }

    .nav-dropdown {
        display: none !important;
    }

    .site-nav__drawer-extra {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        padding-top: 1rem;
        margin-top: 0.5rem;
        border-top: 1px solid var(--gray-100);
    }

    .site-nav__mobile-label {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--gray-400);
        margin: 0.35rem 0;
    }

    .site-nav__drawer-extra > a {
        padding: 0.65rem 0.25rem;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--charcoal);
    }

    .search-form--desktop {
        display: none;
    }

    .search-form--drawer {
        display: flex;
        width: 100%;
        margin-top: 1rem;
        height: 46px;
    }

    .search-form--drawer:focus-within {
        width: 100%;
    }

    .search-form--drawer input {
        display: block;
    }

    .category-grid { grid-template-columns: 1fr; }

    .about-teaser__grid,
    .about-page__grid,
    .product-detail__grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .pillars-grid { grid-template-columns: 1fr; }

    .why-grid { grid-template-columns: 1fr; }

    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 0;
    }

    .trust-strip__item {
        padding: 0.25rem 1rem;
    }

    .trust-strip__item:nth-child(odd) {
        padding-left: 0;
    }

    .trust-strip__item:nth-child(even) {
        padding-right: 0;
    }

    .trust-strip__item:nth-child(odd)::before {
        display: none;
    }

    .trust-strip__item:nth-child(even)::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0.15rem;
        bottom: 0.15rem;
        width: 1px;
        background: var(--gray-200);
    }

    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    :root {
        --header-height: 72px;
        --promo-height: 0px;
    }

    .site-header__actions {
        gap: 0.45rem;
    }

    .header-cta,
    .nav-toggle {
        width: 40px;
        height: 40px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero__visual {
        order: -1;
        min-height: 200px;
        max-height: 280px;
    }

    .hero__panel-inner {
        padding: 2rem 1.25rem 2.5rem;
    }

    .hero__eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
        margin-bottom: 0.85rem;
    }

    .hero__brand {
        font-size: clamp(2.1rem, 11vw, 2.85rem);
        white-space: normal;
    }

    .hero__subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero__actions {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        width: 100%;
        gap: 0.65rem;
    }

    .hero__btn {
        height: 46px;
        padding: 0 1rem;
        font-size: 0.86rem;
        width: 100%;
        justify-content: center;
    }

    .section { padding: 3.5rem 0; }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .site-footer__grid { grid-template-columns: 1fr; }

    .site-footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .trust-strip {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .trust-strip__item,
    .trust-strip__item:nth-child(even),
    .trust-strip__item:nth-child(odd) {
        padding: 0;
    }

    .trust-strip__item::before,
    .trust-strip__item:nth-child(even)::before {
        display: none;
    }

    .translate-float {
        right: 1rem;
        left: auto;
        bottom: 1rem;
    }

    .qe-chat {
        left: 1rem;
        right: auto;
        bottom: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .marquee__track { animation: none; }
}

/* RTL — Arabic layout */
html[lang="ar"] body,
body.is-rtl {
    font-family: Arial, Helvetica, sans-serif;
}

[dir="rtl"] .site-header__logo,
html[lang="ar"] .site-header__logo {
    margin-left: 0;
    margin-right: -0.9rem;
}

[dir="rtl"] .site-header__actions,
html[lang="ar"] .site-header__actions {
    margin-right: 0;
    margin-left: -0.5rem;
}

@media (max-width: 900px) {
    [dir="rtl"] .nav-toggle,
    html[lang="ar"] .nav-toggle {
        margin-left: -0.4rem;
    }
}

[dir="rtl"] .category-strip,
[dir="rtl"] .product-detail__grid,
[dir="rtl"] .about-teaser__grid,
[dir="rtl"] .about-page__grid,
[dir="rtl"] .contact-grid {
    direction: rtl;
}

[dir="rtl"] .search-form--desktop .search-form__icon {
    order: 1;
}

[dir="rtl"] .nav-chevron {
    transform: scaleX(-1);
}

[dir="rtl"] .translate-float__menu {
    left: auto;
    right: 0;
}

[dir="rtl"] .qe-chat {
    right: auto;
    left: 1.5rem;
}

@media (max-width: 600px) {
    [dir="rtl"] .translate-float {
        right: 1rem;
        left: auto;
    }
}
