/* Al Ramzy Brothers — custom site (built from scratch) */

:root {
    --primary: #004ac6;
    --primary-dark: #003a9e;
    --accent: #ffb95f;
    --bg: #faf8ff;
    --surface: #ffffff;
    --surface-muted: #f2f3ff;
    --text: #131b2e;
    --text-muted: #545f73;
    --dark: #0f172a;
    --radius: 12px;
    --container: 72rem;
    --header-h: 5rem;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Inter', 'Tajawal', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

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

h1, h2, h3, h4, .font-headline {
    font-family: 'Manrope', 'Tajawal', sans-serif;
    line-height: 1.15;
}

a { color: inherit; }

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Header */
.site-header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 50;
    padding-top: var(--safe-top);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    min-width: 0;
}

.brand__logo {
    width: auto;
    height: 3.25rem;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
}

.brand__name {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.site-nav-wrap {
    flex-shrink: 0;
}

.site-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.25rem;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.site-nav a:hover { color: #fff; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn--primary {
    background: var(--primary);
    color: #fff;
}

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

.btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--light {
    background: #fff;
    color: var(--text);
}

.btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

/* Hero: فيديو فقط */
.hero {
    position: relative;
    padding-block-start: calc(var(--header-h) + var(--safe-top));
    overflow: hidden;
    background: #000;
}

.hero__media {
    position: relative;
    width: 100%;
    height: clamp(16rem, 62vh, 38rem);
    background: #0f172a;
}

@supports (height: 100dvh) {
    .hero__media {
        height: clamp(16rem, 62dvh, 38rem);
    }
}

/* Splash — الشاشة الكاملة عند فتح الموقع */
.site-splash {
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.site-splash.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-splash__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-splash__bar {
    position: absolute;
    inset-block-end: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(14rem, 70vw);
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
    z-index: 1;
}

.site-splash__bar::after {
    content: '';
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: var(--site-load, 0%);
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: inherit;
    transition: width 0.25s ease;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.hero__media.is-ready .hero__video {
    opacity: 1;
}

.stats-bar {
    position: relative;
    z-index: 1;
    background: #0a0f1c;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-block: 1.5rem;
}

.stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

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

.stat__value {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 900;
    color: var(--accent);
}

.stat__value--light { color: #fff; }

.stat__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
}

/* Sections */
.section {
    padding-block: clamp(3rem, 8vw, 6rem);
}

.section--muted { background: var(--surface-muted); }

.section--dark {
    background: var(--dark);
    color: #fff;
}

.section__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.section__head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 900;
    margin: 0 0 0.5rem;
}

.section__subtitle {
    margin: 0;
    color: var(--text-muted);
    max-width: 36rem;
}

.section--dark .section__subtitle { color: rgba(255, 255, 255, 0.65); }

.title-rule {
    width: 6rem;
    height: 4px;
    background: var(--primary);
    margin-top: 0.75rem;
}

.link-more {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.link-more:hover { text-decoration: underline; }

/* Grids */
.grid {
    display: grid;
    gap: 1.25rem;
}

.grid--products {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.grid--brands {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    margin-bottom: 2.5rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

/* About */
.about-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

.about-copy {
    border-inline-start: 6px solid var(--primary);
    padding-inline-start: 2rem;
}

.about-copy p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

.features {
    display: grid;
    gap: 1.5rem;
    margin-block: 1.5rem 2rem;
}

@media (min-width: 576px) {
    .features { grid-template-columns: 1fr 1fr; }
}

.feature h4 {
    margin: 0.35rem 0;
    font-size: 1.05rem;
}

.feature p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
}

.feature__icon {
    font-size: 2rem;
    color: var(--accent);
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 18rem;
    padding: 2rem;
}

.about-visual__logo {
    width: min(100%, 18rem);
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* من نحن — خط أكبر */
#about .section__title {
    font-size: clamp(2rem, 5vw, 2.85rem);
}

#about .about-copy p {
    font-size: 1.22rem;
    line-height: 1.78;
}

#about .feature h4 {
    font-size: 1.2rem;
}

#about .feature p {
    font-size: 1.08rem;
}

#about .feature__icon {
    font-size: 2.45rem;
}

/* Categories section */
.categories-section {
    background: linear-gradient(180deg, #e9ebf1 0%, #dfe4ee 100%);
    padding-block: clamp(2.2rem, 5vw, 3.25rem);
}

.categories-head {
    margin-bottom: 1.25rem;
}

.categories-head .section__title {
    margin: 0;
    font-size: clamp(1.65rem, 3.3vw, 2.15rem);
    color: #121826;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
}

.category-chip {
    position: relative;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(0, 74, 198, 0.12);
    box-shadow: 0 8px 22px rgba(9, 20, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.category-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 74, 198, 0.42);
    box-shadow: 0 14px 28px rgba(0, 58, 158, 0.16);
}

.category-chip__icon {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.category-chip h3 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    color: #1f2937;
}

.category-chip p {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: #5f6a7a;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Trusted brands */
.trusted-brands-section {
    background: #fff;
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.trusted-brands-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.trusted-brands-head .section__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.65rem, 3.3vw, 2.15rem);
    color: #121826;
}

.trusted-brands-lead {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: #5f6a7a;
}

.trusted-brands-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.trusted-brand-card {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 11rem;
    padding: 0.15rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, opacity 0.25s ease;
    opacity: 0;
}

.trusted-brand-card.is-visible {
    display: flex;
    opacity: 1;
}

.trusted-brand-card:hover {
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow: none;
}

.trusted-brand-card img {
    display: block;
    max-width: 100%;
    max-height: 10.5rem;
    width: auto;
    height: auto;
    object-fit: contain;
    background: transparent;
}

@media (min-width: 640px) {
    .trusted-brands-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .trusted-brand-card {
        min-height: 13rem;
    }

    .trusted-brand-card img {
        max-height: 12rem;
    }
}

/* Category banners */
.bento {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .bento { grid-template-columns: 2fr 1fr; }
}

.bento__card {
    position: relative;
    min-height: 18rem;
    border-radius: 1rem;
    overflow: hidden;
}

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

.bento__card:hover img { transform: scale(1.05); }

.bento__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent 60%);
}

.bento__body {
    position: absolute;
    inset-block-end: 0;
    inset-inline: 0;
    padding: 1.5rem;
    color: #fff;
}

.bento__body h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

/* Contact */
.contact-panel {
    display: grid;
    gap: 0;
    background: var(--dark);
    color: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

@media (min-width: 992px) {
    .contact-panel { grid-template-columns: 1fr 1.1fr; }
}

.contact-panel__info {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.contact-panel__info p {
    color: rgba(255, 255, 255, 0.65);
}

.contact-panel__map {
    margin-top: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    opacity: 0.55;
    filter: grayscale(1);
}

.contact-panel__map img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.contact-panel__form {
    background: var(--surface-muted);
    padding: clamp(1.5rem, 4vw, 3rem);
}

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

@media (min-width: 576px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}

.form-field {
    display: block;
    margin-bottom: 1rem;
}

.form-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: var(--radius);
    font: inherit;
    background: #fff;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
}

/* Footer */
.site-footer {
    background: #020617;
    color: rgba(255, 255, 255, 0.65);
    padding-block: 3rem 1.5rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

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

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

.footer-col--brand p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-brand__logo {
    display: block;
    margin-bottom: 1rem;
    border-radius: 12px;
}

.footer-dynamic {
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.footer-contact__item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-contact__item .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--accent, #f59e0b);
    flex-shrink: 0;
}

.footer-contact__label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.2rem;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
}

.footer-contact a:hover {
    color: #93c5fd;
}

.footer-contact__body {
    flex: 1;
    min-width: 0;
}

.footer-contact__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.footer-contact__phone {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.footer-contact__phone:hover {
    color: #93c5fd;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #25d366;
    color: #fff !important;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
    background: #1ebe57;
    transform: translateY(-1px);
    color: #fff !important;
}

.btn-whatsapp--inline {
    margin-top: 0.65rem;
}

.whatsapp-btn__icon {
    flex-shrink: 0;
}

.whatsapp-float {
    position: fixed;
    z-index: 90;
    inset-inline-end: max(1rem, env(safe-area-inset-right, 0px));
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
}

.whatsapp-float__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem 0.65rem 0.7rem;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float__btn:hover {
    background: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.whatsapp-float__num {
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    direction: ltr;
    unicode-bidi: plaintext;
}

@media (max-width: 480px) {
    .whatsapp-float__num {
        display: none;
    }

    .whatsapp-float__btn {
        width: 3.25rem;
        height: 3.25rem;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

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

.footer-branch-link {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-branch-link:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.footer-branch,
.footer-branch-wrap .footer-branch {
    margin: 0;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-branch h5 {
    margin: 0 0 0.35rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.footer-branch p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

.site-footer h4 {
    color: #fff;
    margin: 0 0 1rem;
}

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

.footer-links li { margin-bottom: 0.65rem; }

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

.footer-links a:hover { color: #93c5fd; }

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.footer-tag {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(0, 0, 0, 0.55);
    -webkit-tap-highlight-color: transparent;
}

body.nav-open {
    overflow: hidden;
}

body.nav-open .nav-overlay {
    display: block;
}

/* Mobile nav — مخفية حتى الضغط على ☰ */
@media (max-width: 991px) {
    .menu-toggle { display: flex; }

    .site-header__inner {
        display: flex;
        flex-wrap: nowrap;
    }

    /* إخفاء القائمة من شريط الهيدر — تظهر فقط كدرج */
    .site-header__inner > .site-nav-wrap {
        position: fixed;
        top: calc(var(--header-h) + var(--safe-top));
        right: 0;
        left: auto;
        width: min(85vw, 18rem);
        max-width: 100%;
        height: calc(100vh - var(--header-h) - var(--safe-top));
        height: calc(100dvh - var(--header-h) - var(--safe-top));
        margin: 0;
        background: var(--dark);
        padding: 1rem 1.25rem;
        padding-bottom: calc(1.25rem + var(--safe-bottom));
        transform: translateX(100%);
        transition: transform 0.28s ease, visibility 0.28s ease;
        visibility: hidden;
        pointer-events: none;
        z-index: 48;
        box-shadow: -12px 0 32px rgba(0, 0, 0, 0.45);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    [dir="rtl"] .site-header__inner > .site-nav-wrap {
        right: 0;
        left: auto;
        transform: translateX(100%);
        box-shadow: -12px 0 32px rgba(0, 0, 0, 0.45);
    }

    .site-header__inner > .site-nav-wrap.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-nav a {
        display: block;
        padding: 0.9rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        -webkit-tap-highlight-color: transparent;
    }

    .header-actions .btn--primary { display: none; }
}

@media (min-width: 992px) {
    .nav-overlay { display: none !important; }

    .site-header__inner > .site-nav-wrap {
        position: static;
        width: auto;
        height: auto;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        background: transparent;
        padding: 0;
        box-shadow: none;
        overflow: visible;
    }
}

/* موبايل — تخطيط ومسافات */
@media (max-width: 767px) {
    :root {
        --header-h: 4.25rem;
    }

    .container {
        width: calc(100% - 1.25rem);
        max-width: 100%;
        margin-inline: auto;
    }

    .site-header .container {
        width: calc(100% - 1rem);
    }

    .site-header__inner {
        gap: 0.5rem;
        min-height: var(--header-h);
    }

    .brand {
        gap: 0.5rem;
        flex: 1;
        min-width: 0;
    }

    .brand__logo {
        height: 2.65rem;
        flex-shrink: 0;
    }

    .brand__name {
        font-size: 0.88rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-actions {
        gap: 0.35rem;
    }

    .btn--ghost {
        padding: 0.5rem 0.65rem;
        font-size: 0.78rem;
        min-height: 2.75rem;
    }

    .menu-toggle {
        min-width: 2.75rem;
        min-height: 2.75rem;
    }

    .hero__media {
        height: clamp(11rem, 42vh, 22rem);
    }

    @supports (height: 100dvh) {
        .hero__media {
            height: clamp(11rem, 42dvh, 22rem);
        }
    }

    .section {
        padding-block: 2.25rem;
    }

    .section__title {
        font-size: 1.5rem;
    }

    #about .section__title {
        font-size: clamp(1.75rem, 5.5vw, 2rem);
    }

    .about-grid {
        gap: 1.75rem;
    }

    .about-copy {
        border-inline-start-width: 4px;
        padding-inline-start: 1rem;
    }

    .about-copy p {
        font-size: 0.95rem;
        line-height: 1.65;
        overflow-wrap: break-word;
    }

    #about .about-copy p {
        font-size: 1.1rem;
        line-height: 1.72;
    }

    #about .feature h4 {
        font-size: 1.12rem;
    }

    #about .feature p {
        font-size: 1rem;
    }

    #about .feature__icon {
        font-size: 2.15rem;
    }

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

    .category-chip {
        padding: 0.8rem 0.9rem;
    }

    .category-chip__icon {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .category-chip h3 {
        font-size: 0.93rem;
    }

    .category-chip p {
        font-size: 0.78rem;
    }

    .hero__video,
    .site-splash__video {
        max-width: 100%;
    }

    .features {
        gap: 1.25rem;
        margin-block: 1.25rem 0;
    }

    .about-visual {
        min-height: auto;
        padding: 1rem 0 0;
    }

    .about-visual__logo {
        width: min(100%, 12.5rem);
        padding: 1rem;
        margin-inline: auto;
    }

    .site-splash__bar {
        inset-block-end: calc(1.25rem + var(--safe-bottom));
    }
}

@media (max-width: 380px) {
    .brand__name {
        display: none;
    }
}

/* Dynamic cards (script.js) */
.tw-product-card,
.arb-product-card {
    display: block;
    background: var(--surface);
    border-bottom: 4px solid transparent;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.tw-product-card:hover,
.arb-product-card:hover {
    box-shadow: 0 16px 40px rgba(19, 27, 46, 0.12);
    border-bottom-color: var(--primary);
}

.tw-product-card__media,
.arb-product-card__media {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    background: var(--surface-muted);
}

.tw-product-card__media img,
.arb-product-card__media .tw-product-card__emoji,
.arb-product-card__media .arb-product-card__emoji {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.tw-product-card__emoji,
.arb-product-card__emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.tw-product-card__badge,
.arb-product-card__badge {
    position: absolute;
    top: 0.75rem;
    inset-inline-start: 0.75rem;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.6rem;
    color: #fff;
    z-index: 2;
}

.tw-product-card__badge--genuine,
.arb-product-card__badge--genuine { background: #784b00; }

.tw-product-card__badge--new,
.arb-product-card__badge--new { background: var(--primary); }

.tw-product-card__body,
.arb-product-card__body { padding: 1.25rem; }

.tw-product-card__cat,
.arb-product-card__cat {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tw-product-card__title,
.arb-product-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0.35rem 0 0.85rem;
    line-height: 1.35;
}

.tw-product-card__row,
.arb-product-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.tw-product-card__price,
.arb-product-card__price {
    font-size: 1.05rem;
    font-weight: 800;
}

.tw-product-card__link,
.arb-product-card__link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}

.tw-filter-btn,
.arb-filter-btn {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid #dae2fd;
    background: #fff;
    color: var(--text);
    cursor: pointer;
}

.tw-filter-btn:hover,
.arb-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tw-filter-btn.active,
.arb-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.tw-brand-card,
.arb-brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5.5rem;
    padding: 1rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    filter: grayscale(1);
}

.tw-brand-card:hover,
.tw-brand-card.active,
.arb-brand-card:hover,
.arb-brand-card.active {
    border-color: var(--primary);
    filter: grayscale(0);
    box-shadow: 0 0 0 2px rgba(0, 74, 198, 0.2);
}

.tw-brand-card img,
.arb-brand-card img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.tw-brand-card__fallback,
.arb-brand-card__fallback {
    font-size: 0.75rem;
    font-weight: 800;
    text-align: center;
}

.tw-contact-block,
.arb-contact-block {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

a.tw-contact-block,
a.arb-contact-block {
    text-decoration: none;
    color: inherit;
}

.tw-contact-block__icon,
.arb-contact-block__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(0, 74, 198, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.tw-contact-block h4,
.arb-contact-block h4 {
    margin: 0 0 0.2rem;
    color: #fff;
    font-size: 1rem;
}

.tw-contact-block p,
.arb-contact-block p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
}

#contactInfo {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 1.15rem;
    vertical-align: middle;
}
