@font-face {
    font-family: "CairoLocal";
    src: url("../../admin/fonts/Cairo-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "CairoLocal";
    src: url("../../admin/fonts/Cairo-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --blue: #095cbf;
    --blue-deep: #064a9c;
    --red: #ed1c24;
    --green: #99c93a;
    --ink: #102033;
    --text: #344054;
    --muted: #667085;
    --line: #e3e8ef;
    --soft: #f5f8fc;
    --surface: #ffffff;
    --shadow: 0 18px 45px rgba(16, 32, 51, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--soft);
    color: var(--text);
    font-family: "CairoLocal", Arial, sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

.site-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.top-line {
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--green), var(--red));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(227, 232, 239, .9);
    backdrop-filter: blur(16px);
}

.header-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 92px;
}

.brand-link {
    display: flex;
    align-items: center;
    min-width: 190px;
}

.brand-logo {
    width: 190px;
    height: 64px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.site-nav a,
.site-nav .nav-link-button {
    position: relative;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-weight: 700;
    padding: 10px 14px;
}

.site-nav form {
    display: flex;
    margin: 0;
}

.site-nav a::after,
.site-nav .nav-link-button::after {
    position: absolute;
    right: 14px;
    bottom: 5px;
    left: 14px;
    height: 3px;
    content: "";
    background: var(--green);
    border-radius: 999px;
    opacity: 0;
    transform: scaleX(.3);
    transition: .2s ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav .nav-link-button:hover {
    color: var(--blue);
}

.site-nav a:hover::after,
.site-nav a.is-active::after,
.site-nav .nav-link-button:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-switcher {
    display: inline-flex;
    padding: 3px;
    background: #eef4fb;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.language-switcher a {
    min-width: 42px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 10px;
    text-align: center;
}

.language-switcher a.is-active {
    background: var(--blue);
    color: #fff;
}

.header-cta,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    padding: 10px 18px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.header-cta,
.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 14px 25px rgba(9, 92, 191, .18);
}

.btn-secondary {
    background: #e9f1fb;
    color: var(--blue);
}

.header-cta:hover,
.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--blue);
}

.home-hero {
    position: relative;
    min-height: clamp(520px, 72vh, 760px);
    overflow: hidden;
    background: var(--ink);
}

.hero-slider,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transition: opacity .7s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(9, 92, 191, .88), rgba(16, 32, 51, .44), rgba(16, 32, 51, .1));
}

[dir="rtl"] .hero-slide::after {
    background: linear-gradient(270deg, rgba(9, 92, 191, .88), rgba(16, 32, 51, .44), rgba(16, 32, 51, .1));
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    min-height: clamp(520px, 72vh, 760px);
    color: #fff;
    padding: 48px 0;
}

.hero-copy {
    max-width: 650px;
}

.hero-logo {
    width: min(360px, 72vw);
    margin-bottom: 26px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, .92);
    border-radius: 8px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.kicker::before {
    width: 34px;
    height: 3px;
    content: "";
    background: var(--green);
    border-radius: 999px;
}

.hero-copy .kicker {
    color: #dff3ff;
}

.hero-title {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.12;
}

.hero-text {
    max-width: 570px;
    margin: 18px 0 26px;
    color: rgba(255, 255, 255, .9);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 160px));
    gap: 14px;
    margin-top: 32px;
}

.hero-stat {
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .12);
}

.hero-stat strong {
    display: block;
    font-size: 28px;
    line-height: 1;
}

.hero-stat span {
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
}

.slider-controls {
    position: absolute;
    right: 28px;
    bottom: 28px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
}

[dir="rtl"] .slider-controls {
    right: auto;
    left: 28px;
}

.slider-arrow,
.slider-dot {
    border: 1px solid rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .14);
    color: #fff;
    cursor: pointer;
}

.slider-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 25px;
    line-height: 1;
}

.slider-dots {
    display: flex;
    gap: 7px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    padding: 0;
}

.slider-dot.is-active {
    width: 26px;
    background: var(--green);
}

.section-band {
    padding: 74px 0;
}

.section-band.is-white {
    background: #fff;
}

.section-band.is-soft {
    background: var(--soft);
}

.section-band.is-blue {
    background: var(--blue);
    color: #fff;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-title {
    max-width: 720px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.25;
}

.section-intro {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--muted);
}

.section-band.is-blue .section-title,
.section-band.is-blue .kicker {
    color: #fff;
}

.section-band.is-blue .section-intro {
    color: rgba(255, 255, 255, .84);
}

.category-grid,
.product-grid,
.contact-grid,
.about-grid {
    display: grid;
    gap: 18px;
}

.category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-grid,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card,
.product-card,
.info-block,
.filter-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.category-card {
    min-height: 245px;
    overflow: hidden;
}

.category-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #edf2f7;
}

.category-card-body,
.product-card-body,
.info-block {
    padding: 18px;
}

.category-card h3,
.product-card h3,
.product-card h2,
.info-block h2,
.info-block h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.35;
}

.category-card p,
.product-card p,
.info-block p {
    margin: 0;
    color: var(--muted);
}

.product-card {
    display: block;
    overflow: hidden;
    color: inherit;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover,
.product-card:focus-visible {
    border-color: rgba(9, 92, 191, .34);
    box-shadow: 0 20px 45px rgba(16, 32, 51, .12);
    transform: translateY(-2px);
}

.product-card:focus-visible {
    outline: 3px solid rgba(153, 201, 58, .42);
    outline-offset: 3px;
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #eef3f8;
}

.product-card-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--blue);
    font-weight: 700;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    background: #edf5ff;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
}

.pill.is-red {
    background: #fff0f1;
    color: var(--red);
}

.about-panel {
    display: grid;
    align-content: center;
    min-height: 100%;
}

.about-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.about-media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
}

.about-media img:first-child {
    grid-row: span 2;
    aspect-ratio: auto;
    height: 100%;
}

.page-hero {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 54px 0 42px;
}

.page-hero .section-title {
    margin-top: 0;
}

.product-detail-hero {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 54px 0;
}

.product-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
    gap: 42px;
    align-items: start;
}

.product-gallery {
    min-width: 0;
}

.product-main-image {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 24px;
    background: #f7fafc;
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.product-thumb {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    padding: 6px;
    transition: border-color .18s ease, transform .18s ease;
}

.product-thumb:hover,
.product-thumb.is-active {
    border-color: var(--blue);
    transform: translateY(-1px);
}

.product-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #f7fafc;
}

.product-summary {
    min-width: 0;
}

.back-link {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--blue);
    font-weight: 700;
}

.product-summary h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.18;
}

.product-lead {
    max-width: 680px;
    margin: 16px 0 0;
    color: var(--text);
    font-size: 17px;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.btn-primary.is-disabled {
    opacity: .62;
    pointer-events: none;
    box-shadow: none;
}

.order-phone {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    color: var(--muted);
}

.order-phone strong {
    color: var(--ink);
}

.product-tabs {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.product-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tab-button {
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--blue);
    cursor: pointer;
    font-weight: 700;
    padding: 7px 12px;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.product-tab-button:hover,
.product-tab-button.is-active {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.product-tab-button:focus-visible {
    outline: 3px solid rgba(153, 201, 58, .42);
    outline-offset: 2px;
}

.product-tab-panels {
    border: 1px solid var(--line);
    border-inline-start: 4px solid var(--green);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    min-height: 210px;
    padding: 20px;
}

.product-tab-panel h2 {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 21px;
}

.product-tab-panel div {
    color: var(--text);
    max-height: 300px;
    /* overflow: auto; */
    overflow-wrap: anywhere;
}

.product-tabs-empty {
    margin-top: 24px;
    text-align: start;
}

.filter-panel {
    margin-bottom: 28px;
    padding: 20px;
}

.filter-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr) auto;
    gap: 12px;
}

.form-control {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    padding: 9px 12px;
}

textarea.form-control {
    resize: vertical;
}

.phone-control {
    position: relative;
}

.phone-input-row {
    display: grid;
    grid-template-columns: minmax(240px, .86fr) minmax(0, 1fr);
    gap: 10px;
}

.country-picker {
    position: relative;
    min-width: 0;
}

.country-toggle {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    padding: 7px 10px;
    text-align: start;
}

.country-toggle-text {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.country-toggle-text span {
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.country-toggle-text strong {
    color: var(--blue);
    font-size: 13px;
    line-height: 1.2;
}

.country-flag-wrap {
    display: inline-flex;
    width: 34px;
    height: 24px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #f8fafc;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
}

.country-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.phone-country-menu[hidden],
.country-option[hidden],
.country-option.is-filtered-out,
.country-empty-message[hidden] {
    display: none !important;
}

.phone-country-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-start: 0;
    z-index: 30;
    width: min(390px, calc(100vw - 32px));
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(16, 32, 51, .16);
    padding: 10px;
}

.country-search {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    padding: 8px 10px;
}

.country-options {
    display: grid;
    gap: 4px;
    max-height: 260px;
    margin-top: 8px;
    overflow: auto;
    padding-inline-end: 2px;
}

.country-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    padding: 8px;
    text-align: start;
}

.country-option:hover,
.country-option.is-selected {
    background: #eef5ff;
}

.country-option span:not(.country-flag-wrap):not(.country-flag-fallback) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.country-option strong {
    color: var(--blue);
    font-size: 13px;
}

.country-empty-message {
    color: var(--muted);
    font-size: 13px;
    padding: 12px 10px;
    text-align: center;
}

.phone-local-input {
    direction: ltr;
    text-align: left;
}

.auth-shell {
    width: min(560px, calc(100% - 32px));
}

.auth-shell.is-wide {
    width: min(900px, calc(100% - 32px));
}

.auth-panel,
.profile-summary {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 24px;
}

.auth-title {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: 22px;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

.auth-grid .form-field {
    margin-bottom: 0;
}

.auth-grid .form-field.is-full {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.password-input-wrap {
    position: relative;
}

.password-input-wrap .form-control {
    padding-inline-end: 48px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    inset-inline-end: 6px;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    padding: 0;
    transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
    background: #eef5ff;
}

.password-toggle:focus-visible {
    outline: 3px solid rgba(153, 201, 58, .42);
    outline-offset: 2px;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.form-error {
    color: var(--red);
    font-size: 13px;
}

.form-alert {
    border-radius: 8px;
    margin-bottom: 18px;
    padding: 12px 14px;
}

.form-alert.is-success {
    border: 1px solid rgba(153, 201, 58, .42);
    background: #f2fae7;
    color: #3d6d11;
}

.form-alert.is-error {
    border: 1px solid rgba(237, 28, 36, .26);
    background: #fff3f3;
    color: #a5161c;
}

.checkbox-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    margin: 2px 0 18px;
}

.auth-submit {
    width: 100%;
}

.auth-grid + .auth-submit {
    margin-top: 20px;
}

.auth-resend-form {
    margin-top: 12px;
}

.verification-target {
    display: grid;
    gap: 3px;
    margin: 0 0 18px;
    color: var(--muted);
    text-align: center;
}

.verification-target strong {
    color: var(--ink);
    direction: ltr;
    font-size: 18px;
}

.verification-code-input {
    direction: ltr;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
}

.auth-switch {
    margin: 18px 0 0;
    color: var(--muted);
    text-align: center;
}

.auth-switch a {
    color: var(--blue);
    font-weight: 700;
}

.profile-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.profile-summary {
    display: grid;
    gap: 8px;
}

.profile-summary h2 {
    margin: 0;
    color: var(--ink);
    font-size: 24px;
}

.profile-summary span {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.consultation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.consultation-form-panel {
    min-width: 0;
}

.consultation-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.consultation-panel-head p {
    margin: 0;
    color: var(--muted);
}

.consultation-type-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.consultation-type-card {
    position: relative;
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--blue);
    cursor: pointer;
    font-weight: 700;
    padding: 10px 14px;
}

.consultation-type-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.consultation-type-card.is-selected {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.consultation-type-card:has(input:checked) {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.consultation-fields-grid {
    margin-top: 10px;
}

.consultation-customer-card {
    position: sticky;
    top: 118px;
}

.consultation-customer-card .btn-secondary {
    margin-top: 8px;
}

.consultation-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.consultation-card {
    display: grid;
    align-content: start;
    min-height: 170px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 18px;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.consultation-card:hover,
.consultation-card:focus-visible {
    border-color: rgba(9, 92, 191, .34);
    box-shadow: 0 20px 45px rgba(16, 32, 51, .12);
    transform: translateY(-2px);
}

.consultation-card h3 {
    margin: 12px 0 6px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.35;
}

.consultation-card p {
    margin: 0;
    color: var(--muted);
}

.consultation-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.consultation-detail-item {
    display: grid;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 16px;
}

.consultation-detail-item.is-wide {
    grid-column: span 3;
}

.consultation-detail-item span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.consultation-detail-item strong {
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.empty-state {
    border: 1px dashed #b9c5d3;
    border-radius: 8px;
    color: var(--muted);
    padding: 28px;
    text-align: center;
}

.category-grid > .empty-state,
.product-grid > .empty-state {
    grid-column: 1 / -1;
}

.gallery-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.pagination-wrap {
    margin-top: 28px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 0;
}

.page-item {
    list-style: none;
}

.page-link {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--blue);
    padding: 6px 10px;
}

.page-item.active .page-link {
    background: var(--blue);
    color: #fff;
}

.page-item.disabled .page-link {
    color: #98a2b3;
}

.contact-card {
    display: grid;
    gap: 16px;
}

.contact-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}

.contact-item h2 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 17px;
}

.contact-item p,
.contact-item a,
.contact-item span {
    display: block;
    margin: 0;
    color: var(--text);
    overflow-wrap: anywhere;
}

.site-footer {
    background: #0d2239;
    color: rgba(255, 255, 255, .78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 34px;
    padding: 48px 0;
}

.footer-logo {
    width: 220px;
    margin-bottom: 18px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 18px;
}

.site-footer a,
.site-footer span {
    display: block;
    margin-bottom: 9px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 16px 0;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .header-shell {
        grid-template-columns: auto auto;
    }

    .nav-toggle {
        display: block;
        justify-self: end;
    }

    .site-nav,
    .header-actions {
        display: none;
        grid-column: 1 / -1;
    }

    .site-header.is-open .site-nav,
    .site-header.is-open .header-actions {
        display: flex;
    }

    .site-header.is-open .site-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .site-header.is-open .header-actions {
        justify-content: space-between;
        flex-wrap: wrap;
        padding-bottom: 16px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .consultation-layout {
        grid-template-columns: 1fr;
    }

    .consultation-customer-card {
        position: static;
    }

    .consultation-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .consultation-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .consultation-detail-item.is-wide {
        grid-column: span 2;
    }
}

@media (max-width: 760px) {
    .site-shell {
        width: min(100% - 22px, 1180px);
    }

    .brand-logo {
        width: 150px;
        height: 54px;
    }

    .home-hero,
    .hero-content {
        min-height: 640px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-stats,
    .about-grid,
    .about-media,
    .contact-grid,
    .footer-grid,
    .filter-grid,
    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-band {
        padding: 48px 0;
    }

    .product-detail-hero {
        padding: 36px 0;
    }

    .product-detail-hero-grid {
        gap: 26px;
    }

    .product-main-image img {
        padding: 14px;
    }

    .product-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-actions .btn-primary,
    .product-actions .btn-secondary {
        width: 100%;
    }

    .product-tab-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-tab-button {
        width: 100%;
    }

    .product-tab-panels {
        min-height: 190px;
        padding: 16px;
    }

    .auth-shell,
    .auth-shell.is-wide {
        width: min(100% - 22px, 1180px);
    }

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

    .consultation-panel-head {
        display: grid;
    }

    .consultation-type-toggle,
    .consultation-list,
    .consultation-detail-grid {
        grid-template-columns: 1fr;
    }

    .consultation-detail-item.is-wide {
        grid-column: auto;
    }

    .phone-input-row {
        grid-template-columns: 1fr;
    }

    .phone-country-menu {
        width: 100%;
    }

    .slider-controls {
        right: 16px;
        bottom: 16px;
    }

    [dir="rtl"] .slider-controls {
        right: auto;
        left: 16px;
    }
}
