/* ==========================================================================
   Sadra Modern Theme - Mobile-First, Ultra Lightweight, RTL-First CSS
   ========================================================================== */

:root {
    --brand-primary: #1e3a2b;
    --brand-primary-light: #2d5640;
    --brand-accent: #2e7d32;
    --brand-accent-hover: #1b5e20;
    --brand-gold: #c8963e;
    --brand-navy: #152935;
    --brand-personnel: #0284c7;
    --brand-personnel-hover: #0369a1;
    --text-dark: #1f2937;
    --text-muted: #4b5563;
    --text-light: #6b7280;
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-alt: #f1f5f9;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-focus: #2e7d32;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --container-max: 1200px;
    --font-sans: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../asset-1.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
}

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

html, body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

html {
    direction: rtl;
    text-align: right;
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--bg-page);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.menu-locked {
    overflow: hidden !important;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
    color: var(--brand-accent);
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.shell {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 1rem;
}

/* ==========================================================================
   Header & Utility Bar
   ========================================================================== */

.top-bar {
    background: #0f172a;
    color: #94a3b8;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0.4rem 0;
}

.top-bar .shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.top-contact {
    display: flex;
    gap: 0.85rem 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.top-contact a {
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
}

.top-contact a:hover {
    color: #ffffff;
}

.top-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.site-header {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-content: flex-start;
    min-height: 72px;
    height: auto;
    padding-block: 0.5rem;
    gap: 0.65rem;
    flex-wrap: nowrap;
}

.site-header .shell {
    max-width: 1440px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-decoration: none;
    flex-shrink: 0;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    margin: 0;
    min-width: 0;
    flex-shrink: 1;
}

.main-nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex-wrap: wrap;
    min-width: 0;
}

.main-nav a {
    color: var(--text-dark);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.4rem 0.55rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--brand-accent);
    background-color: #f0fdf4;
}

.mobile-menu-ctas {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    flex-wrap: nowrap;
    margin: 0;
    justify-self: end;
}

.header-actions .btn {
    font-size: 0.82rem;
    padding: 0.45rem 0.75rem;
    white-space: nowrap;
}

.desktop-only {
    display: inline-flex;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--brand-accent);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--brand-accent-hover);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--brand-accent);
    color: var(--brand-accent);
    background-color: #f0fdf4;
}

/* Personnel Login Button */
.btn-personnel {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 2px 4px rgba(2,132,199,0.25);
    font-weight: 700;
    padding: 0.48rem 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-personnel:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    box-shadow: 0 4px 8px rgba(2,132,199,0.35);
    color: #ffffff !important;
}

.btn-personnel .btn-icon {
    font-size: 0.95rem;
}

/* Hamburger Toggle Button */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 0;
}

.menu-toggle .bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] .bar-1 {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bar-2 {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .bar-3 {
    transform: translateY(-6px) rotate(-45deg);
}

.menu-backdrop {
    display: none;
}

/* ==========================================================================
   Home Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-content .badge {
    display: inline-block;
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(1.5rem, 4vw, 2.3rem);
    font-weight: 900;
    line-height: 1.35;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    object-fit: cover;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ==========================================================================
   Sections General
   ========================================================================== */

.section {
    padding: 3.5rem 0;
}

.section-alt {
    background-color: #f1f5f9;
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.section-badge {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-accent);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   Domains Grid
   ========================================================================== */

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.domain-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.domain-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.domain-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.domain-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 0.4rem;
}

.domain-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.domain-card .card-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.domain-card.agri {
    border-color: #86efac;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.domain-card.livestock {
    border-color: #fde047;
    background: linear-gradient(180deg, #fefce8 0%, #ffffff 100%);
}

/* ==========================================================================
   Products Grid
   ========================================================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.product-thumb {
    aspect-ratio: 1;
    background-color: #f8fafc;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-accent);
    background: #f0fdf4;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    align-self: flex-start;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 0.4rem;
}

.product-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.55;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================================================
   Custom Production Band
   ========================================================================== */

.custom-band {
    background: linear-gradient(135deg, #1e3a2b 0%, #0f2017 100%);
    color: #ffffff;
    padding: 3.5rem 0;
}

.custom-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
}

.custom-grid .section-title {
    color: #ffffff;
}

.custom-grid .section-subtitle {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.custom-specs-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.custom-specs-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.custom-specs-list strong {
    font-size: 0.9rem;
    color: #ffffff;
    display: block;
    margin-bottom: 0.2rem;
}

.custom-specs-list span {
    font-size: 0.78rem;
    color: #94a3b8;
}

/* ==========================================================================
   Preview Boxes (Agri & Livestock)
   ========================================================================== */

.preview-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.preview-box.reverse {
    grid-template-columns: 1fr 1fr;
}

.preview-box img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-height: 350px;
    object-fit: cover;
}

/* ==========================================================================
   Order Steps
   ========================================================================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.step-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ecfdf5;
    color: var(--brand-accent);
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.step-card h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 0.4rem;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Forms & Contact Card
   ========================================================================== */

.contact-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.65rem 0.8rem;
    font-size: 0.88rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: #ffffff;
    color: var(--text-dark);
    outline: none;
    box-sizing: border-box;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.form-alert.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-alert.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   Page & Single Article Styles
   ========================================================================== */

.page-main {
    padding: 2.5rem 0 4rem;
}

.page-intro {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.page-intro h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--brand-primary);
}

.sadra-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-dark);
}

.sadra-content p {
    margin-bottom: 1.25rem;
}

.breadcrumbs {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.breadcrumbs a {
    color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3.5rem 0 1.5rem;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.85rem;
}

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

.footer-contact-item {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
}

.footer-contact-item span {
    color: #38bdf8;
}

.footer-bottom {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #64748b;
}

/* Catalog controls and navigation */
.catalog-tools{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:16px;align-items:end;background:#fff;border:1px solid var(--border-color);border-radius:18px;padding:20px;margin:24px 0 16px}
.catalog-field{display:grid;gap:8px;min-width:0}.catalog-field label{font-weight:700;font-size:14px}
.catalog-field input,.catalog-field select{width:100%;min-width:0;min-height:48px;border:1px solid #cbd5d1;border-radius:10px;background:#fff;color:var(--text-main);font:inherit;padding:10px 12px}
.catalog-field input:focus-visible,.catalog-field select:focus-visible{outline:3px solid #bce5c5;outline-offset:2px}
.catalog-categories{background:#fff;border:1px solid var(--border-color);border-radius:18px;margin-bottom:24px;padding:16px}
.catalog-categories summary{cursor:pointer;font-weight:800;min-height:44px;align-content:center}.catalog-categories summary span{font-size:13px;font-weight:400;margin-inline-start:12px;color:var(--text-muted)}
.catalog-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}
.catalog-category{display:flex;justify-content:center;align-items:center;text-align:center;min-height:52px;padding:10px;border:1px solid #dce5df;border-radius:12px;font-size:14px;font-weight:600;line-height:1.7;color:#334c3b;background:#f8faf8;text-decoration:none}
.catalog-category:hover,.catalog-category.is-selected{background:#e9f6eb;border-color:#2e7d32;color:#225d28}
a.domain-card{color:inherit;text-decoration:none}.domain-card:focus-visible{outline:3px solid var(--brand-accent);outline-offset:4px}
.page-back{padding-top:20px}.page-back .btn{min-height:44px;gap:8px}
@media(max-width:680px){.catalog-tools{grid-template-columns:1fr;padding:16px;gap:14px}.catalog-tools .btn{width:100%;min-height:48px}.catalog-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-title{font-size:clamp(1.65rem,6.2vw,2.4rem);line-height:1.55}.hero-content,.hero-image,.preview-box>div{min-width:0}.hero-lead{overflow-wrap:anywhere}.shell{max-width:100%}}

/* Mobile Quick Nav */
.mobile-quick-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(76px + env(safe-area-inset-bottom, 0px));
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 9998;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.mobile-quick-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 56px;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}
.mobile-quick-nav a span:first-child{font-size:26px;line-height:1.15}
@media(max-width:980px){body{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}}

.mobile-quick-nav a.active, .mobile-quick-nav a:hover {
    color: var(--brand-accent);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Debugging Overflow & Layouts)
   ========================================================================== */

@media (min-width: 981px) and (max-width: 1279px) {
    .header-inner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .brand { grid-column: 1; grid-row: 1; }
    .header-actions { grid-column: 2; grid-row: 1; }
    .main-nav { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 992px) {
    .hero-grid,
    .custom-grid,
    .preview-box,
    .preview-box.reverse {
        grid-template-columns: 1fr !important;
        direction: rtl !important;
    }

    .preview-box.reverse > * {
        direction: rtl !important;
    }

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

@media (max-width: 980px) {
    .top-bar {
        display: none !important;
    }

    .header-inner {
        display: flex;
        height: 64px;
        min-height: 64px;
        padding-block: 0;
        gap: 0.5rem;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .brand-title {
        font-size: 1rem;
    }

    .brand-subtitle {
        display: none;
    }

    .desktop-only {
        display: none !important;
    }

    .btn-personnel {
        padding: 0.4rem 0.65rem;
        font-size: 0.78rem;
        gap: 0.25rem;
    }

    .menu-toggle {
        display: flex;
    }

    /* Full-Screen Drawer Menu */
    .main-nav {
        display: none;
    }

    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        align-items: stretch;
        overscroll-behavior: contain;
        background: #ffffff;
        padding: 1.25rem 1.5rem 3rem;
        z-index: 10001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .main-nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.2rem;
    }

    .main-nav-links a {
        display: block;
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.98rem;
        border-radius: var(--radius-sm);
        border-bottom: 1px solid var(--border-light);
    }

    .mobile-menu-ctas {
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        border-top: 2px solid var(--border-color);
        width: 100%;
    }

    .menu-backdrop.open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.4);
        z-index: 10000;
    }

    body.menu-locked .site-header {
        z-index: 10002;
    }

    .header-actions {
        margin-inline-start: auto;
    }

    .mobile-quick-nav {
        display: flex;
    }

    body {
        padding-bottom: 56px;
    }

    .site-footer {
        padding-bottom: 4.5rem;
    }
}

@media (max-width: 480px) {
    .header-actions > .btn-personnel {
        width: 40px;
        min-width: 40px;
        height: 40px;
        padding: 0;
    }

    .header-actions > .btn-personnel .btn-text {
        display: none;
    }
}

@media (max-width: 600px) {
    .shell {
        padding-inline: 0.85rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .domains-grid,
    .products-grid,
    .steps-grid,
    .form-grid,
    .footer-grid,
    .custom-specs-list {
        grid-template-columns: 1fr !important;
    }

    .preview-box {
        padding: 1.25rem;
    }

    .custom-specs-card,
    .contact-card {
        padding: 1.25rem;
    }

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


/* ---------- 3-Step Custom Order Modal Dialog ---------- */
dialog.sadra-modal {
  border: 0;
  border-radius: 20px;
  padding: 0;
  width: min(94vw, 580px);
  max-width: 580px;
  max-height: 90vh;
  box-shadow: 0 25px 65px rgba(0,0,0,0.35);
  font-family: inherit;
  direction: rtl;
  overflow-y: auto;
  background: #ffffff;
  position: fixed;
  inset: 0;
  margin: auto;
  box-sizing: border-box;
}
dialog.sadra-modal::backdrop {
  background: rgba(19, 26, 36, 0.65);
  backdrop-filter: blur(5px);
}
.dg {
  padding: 24px 28px 22px;
  display: grid;
  gap: 14px;
  box-sizing: border-box;
}
.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.modal-top .x {
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: #8c8273;
  cursor: pointer;
  padding: 0 4px;
  transition: color .15s;
  outline: none;
}
.modal-top .x:focus { outline: none; }
.modal-top .x:focus-visible { outline: 2px solid var(--brand-accent); border-radius: 6px; }
.modal-top .x:hover { color: #dc2626; }
.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1c232d;
  margin: 0;
}
.st {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}
.st i.st-bar {
  flex: 1;
  height: 5px;
  border-radius: 4px;
  background: #e2dac9;
  transition: background .2s;
}
.st i.st-bar.on {
  background: #b8863f;
}
.modal-step label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #2b3543;
  margin-bottom: 12px;
}
.modal-step input, .modal-step select, .modal-step textarea {
  padding: 11px 14px;
  border-radius: 11px;
  border: 1.5px solid #d4cfc3;
  background: #faf8f5;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1c232d;
  outline: none;
  box-sizing: border-box;
  width: 100%;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.modal-step input:focus, .modal-step select:focus, .modal-step textarea:focus {
  border-color: #b8863f;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(184,134,63,0.18);
}
.modal-summary-card {
  background: #f7f5ef;
  border: 1px solid #e5dfd2;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #4b5668;
  margin-bottom: 12px;
  line-height: 1.6;
}
.modal-err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.pa {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}

/* Catalog Tabs Styles */
.catalog-tabs .catalog-tab-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}
.catalog-tabs .catalog-tab-btn:hover {
  border-color: #b8863f;
  color: #1c232d;
}
.catalog-tabs .catalog-tab-btn.active {
  background: #b8863f;
  color: #ffffff;
  border-color: #b8863f;
  box-shadow: 0 4px 12px rgba(184,134,63,0.25);
}

/* ==========================================================================
   High-Resolution & Large Displays Responsiveness (1400px, 1680px, 2000px+)
   ========================================================================== */

@media (min-width: 1400px) {
    :root {
        --container-max: 1380px;
    }
    html {
        font-size: 16px;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .hero-lead {
        font-size: 1.15rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .brand-title {
        font-size: 1.25rem;
    }
    .brand-subtitle {
        font-size: 0.8rem;
    }
    .main-nav a {
        font-size: 0.94rem;
        padding: 0.45rem 0.65rem;
    }
    .header-actions .btn {
        font-size: 0.86rem;
        padding: 0.48rem 0.9rem;
    }
    .domains-grid {
        gap: 1.5rem;
    }
    .domain-card {
        padding: 1.75rem;
    }
}

@media (min-width: 1680px) {
    :root {
        --container-max: 1580px;
    }
    html {
        font-size: 17.5px;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-lead {
        font-size: 1.25rem;
    }
    .section-title {
        font-size: 2.3rem;
    }
    .brand-title {
        font-size: 1.35rem;
    }
    .brand-subtitle {
        font-size: 0.85rem;
    }
    .main-nav a {
        font-size: 1rem;
        padding: 0.5rem 0.8rem;
    }
    .header-actions .btn {
        font-size: 0.92rem;
        padding: 0.55rem 1.05rem;
    }
    .domains-grid {
        gap: 1.75rem;
    }
    .domain-card {
        padding: 2rem;
    }
    .hero-grid {
        gap: 3.5rem;
    }
}

@media (min-width: 2000px) {
    :root {
        --container-max: 1800px;
    }
    html {
        font-size: 19px;
    }
    .hero-title {
        font-size: 3.6rem;
    }
    .section-title {
        font-size: 2.6rem;
    }
}
