/* Final Al-Ittihad visual refinement layer. */
:root {
    --brand-ink: #101214;
    --brand-charcoal: #202428;
    --brand-gold: #cda438;
    --brand-gold-light: #e5c46b;
    --brand-ivory: #fbfaf7;
    --brand-line: rgba(16, 18, 20, .11);
    --primary-color: var(--brand-gold);
    --accent-color: var(--brand-gold-light);
    --text-dark: var(--brand-ink);
    --light-bg: #f4f2ed;
    --border-color: #dedbd3;
    --gradient-gold: linear-gradient(135deg, #b98c20 0%, #d9b452 52%, #f0d789 100%);
    --gradient-dark: linear-gradient(145deg, #0d0f10 0%, #24282b 100%);
    --shadow-sm: 0 10px 28px rgba(16, 18, 20, .08);
    --shadow-md: 0 18px 45px rgba(16, 18, 20, .13);
}

html { color-scheme: light; }

body {
    background: var(--brand-ivory);
    font-feature-settings: "kern" 1;
    text-rendering: optimizeLegibility;
}

::selection { background: rgba(205, 164, 56, .3); color: var(--brand-ink); }

.container { max-width: 1280px; padding-inline: clamp(18px, 3vw, 36px); }

a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(205, 164, 56, .48);
    outline-offset: 3px;
}

.topbar { padding-block: 7px; }
.topbar-contact a { color: rgba(255, 255, 255, .82); }

.header { background: rgba(13, 15, 16, .92); }
.navbar { padding-block: 8px; }
.logo { height: 72px; border-radius: 50%; }
.nav-menu { gap: clamp(14px, 1.55vw, 24px); }
.nav-link { font-size: 14px; letter-spacing: .01em; }
.nav-icon-btn { border: 1px solid rgba(255, 255, 255, .08); }

.hero {
    min-height: auto;
    height: auto;
    padding-top: clamp(50px, 7vh, 85px);
    padding-bottom: clamp(60px, 8vh, 95px);
    isolation: isolate;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cinematic Hero Video Background with Increased Height */
.hero-video-cinematic {
    position: relative;
    overflow: hidden;
    padding: clamp(110px, 16vh, 180px) 0 clamp(90px, 14vh, 160px) !important;
    min-height: clamp(650px, 85vh, 850px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.hero-video-wrapper .hero-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.0) contrast(1.05);
    display: block;
}
.hero-video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.0) contrast(1.05);
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    /* Ultra-light, crystal transparent overlay so video is vivid, luminous, and 100% visible */
    background: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.22) 100%),
                linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 2;
}
.hero-heritage-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.75);
    border: 1.5px solid #c8a43d;
    padding: 10px 28px;
    border-radius: 50px;
    color: #e5c46b;
    font-weight: 800;
    font-size: 14.5px;
    margin-bottom: 24px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}
.hero-title {
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.85);
}
.hero-subtitle {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}
.hero-description {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
.dynamic-slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(70px, 10vh, 120px) 0 clamp(60px, 8vh, 100px);
}
.dynamic-slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(16, 18, 20, 0.65);
    border: 1.5px solid rgba(200, 164, 61, 0.4);
    color: #e5c46b;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}
.slider-arrow:hover {
    background: #c8a43d;
    color: #101214;
    border-color: #c8a43d;
    transform: translateY(-50%) scale(1.08);
}
[dir="rtl"] .slider-prev { right: 25px; left: auto; }
[dir="rtl"] .slider-next { left: 25px; right: auto; }
[dir="ltr"] .slider-prev { left: 25px; right: auto; }
[dir="ltr"] .slider-next { right: 25px; left: auto; }

.slider-dots-container {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.slider-dot.active {
    width: 32px;
    border-radius: 20px;
    background: #c8a43d;
    box-shadow: 0 0 10px rgba(200, 164, 61, 0.5);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(7, 9, 10, .82), rgba(7, 9, 10, .5), rgba(7, 9, 10, .82)),
        linear-gradient(180deg, rgba(7, 9, 10, .2), rgba(7, 9, 10, .7));
}

.hero-content {
    max-width: 960px;
    margin-inline: auto;
    position: relative;
    z-index: 5;
}

.hero-title {
    font-size: clamp(32px, 4.2vw, 56px);
    line-height: 1.15;
    letter-spacing: -.025em;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: clamp(19px, 2.2vw, 28px);
    line-height: 1.35;
    margin-bottom: 16px;
}

.hero-description {
    max-width: 780px;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.65;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
    margin-top: 8px;
    margin-bottom: 0;
}

.btn {
    min-height: 48px;
    padding: 13px 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 50px;
    line-height: 1.2;
    font-weight: 700;
}

.btn i {
    margin-inline-end: 4px;
}

.btn-primary { color: #111; box-shadow: 0 12px 28px rgba(185, 140, 32, .25); }
.btn-secondary { backdrop-filter: blur(10px); background: rgba(13, 15, 16, .38); }

section { padding-block: clamp(70px, 9vw, 112px); }
.section-header { margin-bottom: clamp(36px, 5vw, 58px); }
.section-tag { padding: 7px 18px; color: #171717; letter-spacing: .04em; }
.section-title { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.025em; }

.page-hero {
    padding-block: clamp(44px, 5vw, 62px);
    border-bottom: 1px solid rgba(185, 140, 32, .18);
}

.page-hero-content h1 { font-size: clamp(34px, 4.5vw, 54px); letter-spacing: -.035em; margin-block: 10px; }
.breadcrumb { font-weight: 600; }

.banner-card,
.service-card,
.why-card,
.product-card,
.contact-form,
.cart-summary,
.checkout-form,
.order-summary {
    border: 1px solid var(--brand-line);
}

.product-card {
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    transform: translateZ(0);
    position: relative;
    border: 1px solid var(--brand-line);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 0;
}

/* Animated golden border on hover via ::before pseudo-element */
.product-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0deg,
        transparent 60deg,
        #f2d77f 90deg,
        #d5a52e 120deg,
        #fff5c0 150deg,
        #d5a52e 180deg,
        transparent 210deg,
        transparent 360deg
    );
    opacity: 0;
    z-index: -1;
    transition: opacity 0.35s ease;
}

.product-card:hover::before {
    opacity: 1;
    animation: spin-border 2.4s linear infinite;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 18px;
    background: #fff;
    z-index: -1;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes spin-border {
    to { --angle: 360deg; }
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.13), 0 0 0 0 transparent;
    border-color: transparent;
}

/* ===== product-image reset ===== */
.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 17px 17px 0 0;
}


.product-image.is-placeholder { padding: 34px; }
.product-image.is-placeholder::after {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px dashed rgba(16, 18, 20, .13);
    border-radius: 14px;
    pointer-events: none;
}
.product-image.is-placeholder img {
    width: min(58%, 170px);
    height: auto;
    max-height: 170px;
    object-fit: contain;
    filter: grayscale(1) contrast(.92);
    opacity: .72;
    border-radius: 50%;
}

.product-main-image.is-placeholder {
    background: linear-gradient(145deg, #eeece7, #fbfaf7);
    border: 1px solid var(--brand-line);
}
.product-main-image.is-placeholder img {
    width: min(56%, 310px);
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .75;
    border-radius: 50%;
}

.product-thumbnails { flex-wrap: wrap; }
.product-thumbnails .thumb {
    padding: 0;
    appearance: none;
}

.catalog-categories {
    padding: 34px 0 8px;
    background: #f7f5f0;
}
.catalog-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.catalog-category-card {
    position: relative;
    min-height: 148px;
    overflow: hidden;
    border: 1px solid var(--brand-line);
    border-radius: 18px;
    background: #17191b;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 3px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(18, 20, 22, .08);
    isolation: isolate;
}
.catalog-category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10, 11, 12, .08), rgba(10, 11, 12, .9));
}
.catalog-category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform .35s ease;
}
.catalog-category-card:hover img { transform: scale(1.04); }
.catalog-category-card span { font-weight: 800; font-size: 17px; }
.catalog-category-card small { color: rgba(255,255,255,.72); }
.catalog-category-card.active {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 2px rgba(205, 164, 56, .2), 0 14px 34px rgba(18, 20, 22, .12);
}
.catalog-category-card:first-child {
    background: linear-gradient(145deg, #111315, #25282b);
    justify-content: center;
    align-items: center;
    text-align: center;
}
.catalog-category-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(205, 164, 56, .14);
    color: var(--brand-gold-light);
}

.product-title { line-height: 1.45; }
.product-price { color: #8e6913; font-size: 20px; }
.product-action:disabled,
.action-btn:disabled,
.ajax-cart-btn:disabled {
    cursor: not-allowed;
    opacity: .4;
    filter: grayscale(1);
    transform: none !important;
}

input,
select,
textarea,
.form-control {
    border-radius: 12px !important;
    border-color: #d5d1c8 !important;
    background: rgba(255, 255, 255, .92) !important;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus {
    border-color: var(--brand-gold) !important;
    box-shadow: 0 0 0 4px rgba(205, 164, 56, .13) !important;
}

.footer { background: linear-gradient(145deg, #0c0e0f, #1d2022 55%, #111314); }
.footer-logo { border-radius: 50%; }
.footer a:hover { color: var(--brand-gold-light); }

/* Quote Request System Styling */
.product-price.quote-price,
.compare-price.quote-price {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: #a47a1f;
    background: rgba(201, 169, 97, 0.14);
    border: 1px solid rgba(201, 169, 97, 0.28);
    padding: 6px 12px;
    border-radius: 50px;
}

.product-price-tag.quote-price-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(20, 23, 26, 0.96), rgba(35, 39, 42, 0.98));
    border: 1px solid rgba(201, 169, 97, 0.35);
    padding: 16px 20px;
    border-radius: 16px;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-price-tag.quote-price-banner i {
    font-size: 28px;
    color: #f4d77b;
    flex: 0 0 28px;
}

.product-price-tag.quote-price-banner div {
    display: flex;
    flex-direction: column;
}

.product-price-tag.quote-price-banner strong {
    font-size: 18px;
    font-weight: 800;
    color: #f4d77b;
}

.product-price-tag.quote-price-banner span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 3px;
}

.badge-quote-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #6d5419;
    background: rgba(201, 169, 97, 0.15);
    border: 1px solid rgba(201, 169, 97, 0.35);
    padding: 5px 12px;
    border-radius: 30px;
}

@media (min-width: 993px) and (max-width: 1180px) {
    .logo { height: 62px; }
    .nav-menu { gap: 11px; }
    .nav-link { font-size: 12.5px; }
    .nav-actions { gap: 6px; }
}

@media (max-width: 992px) {
    .logo { height: 60px; }
    .hero { min-height: calc(100svh - 82px); padding-block: 104px; }
    .hero-scroll { display: none; }
    .catalog-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .topbar-contact a:nth-child(2), .topbar-social { display: none; }
    .topbar-inner { gap: 10px; }
    .hero { padding-block: 88px 72px; }
    .hero-title { font-size: clamp(36px, 11vw, 52px); }
    .hero-subtitle { font-size: 22px; }
    .hero-description { font-size: 16px; line-height: 1.7; }
    .hero-buttons { gap: 12px; }
    .hero-buttons .btn { width: 100%; }
    .product-image { height: 225px; }
    .product-meta { align-items: stretch; flex-direction: column; }
    .product-meta .btn { width: 100%; }
    .catalog-category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .catalog-category-card { min-height: 126px; padding: 13px; }
    .catalog-category-card span { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

/* Fixed Sticky Header on scroll */
.header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}
.product-detail .product-info,
.product-detail .product-info h1,
.product-detail .product-info h2,
.product-detail .product-info h3,
.product-detail .product-info h4,
.product-detail .product-full-desc,
.product-detail .spec-label,
.product-detail .spec-value { color: #17191b !important; }
.product-purchase { display:grid; gap:14px; }
.quantity-picker { display:flex; align-items:center; gap:12px; color:#17191b; font-weight:800; }
.product-qty { width:88px; min-height:46px; padding:8px 12px; color:#17191b !important; background:#fff !important; border:1px solid #b9bec2; border-radius:12px; font:inherit; text-align:center; }
.ajax-compare-btn.compared { color:#17191b !important; background:linear-gradient(135deg,#d5a52e,#f2d77f) !important; }
.compare-section { padding:50px 0 80px; }
.compare-toolbar { display:flex; justify-content:space-between; gap:12px; margin-bottom:20px; }
.compare-grid { display:grid; grid-template-columns:repeat(var(--compare-columns),minmax(0,1fr)); gap:16px; }
.compare-card { position:relative; display:flex; flex-direction:column; gap:14px; padding:18px; color:#17191b; background:#fff; border:1px solid #d7dbde; border-radius:20px; box-shadow:0 15px 40px #1112; }
.compare-card > a img { width:100%; aspect-ratio:1/1; object-fit:contain; border-radius:14px; background:#f6f7f7; }
.compare-card h2 { color:#17191b; font-size:clamp(16px,2vw,21px); line-height:1.4; }
.compare-card dl { display:grid; gap:8px; margin:0; }
.compare-card dt { font-weight:800; color:#555d61; }
.compare-card dd { margin:0 0 8px; color:#17191b; line-height:1.55; }
.compare-price { color:#987014; font-size:20px; font-weight:900; }
.compare-remove { position:absolute; inset-block-start:10px; inset-inline-end:10px; z-index:2; width:36px; height:36px; border:0; border-radius:50%; cursor:pointer; }
.empty-state { padding:70px 20px; text-align:center; color:#17191b; }
.empty-state > i { font-size:52px; color:#c69521; margin-bottom:18px; }
.company-intro-video .video-overlay { border:0; width:100%; }
.company-intro-video .video-placeholder { width:100%; height:100%; object-fit:contain; background:#050505; }
.service-shell { max-width:1050px; margin:auto; padding:clamp(24px,5vw,64px) 20px; }
.service-intro { max-width:760px; margin:0 auto 24px; text-align:center; }
.service-intro h1 { color:#17191b; font-size:clamp(30px,5vw,50px); }
.service-intro p { color:#5e666b; line-height:1.8; }
.service-card { max-width:920px; margin:auto; padding:clamp(20px,4vw,36px); background:#fff; border:1px solid #dadddf; border-radius:24px; box-shadow:0 18px 50px #20242818; }
.service-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.service-field label { display:block; margin-bottom:7px; color:#17191b; font-weight:800; }
.service-field input,.service-field select,.service-field textarea { width:100%; min-height:48px; padding:12px 14px; color:#17191b; background:#fff; border:1px solid #cbd0d3; border-radius:12px; }
.service-field textarea { min-height:130px; resize:vertical; }
.service-grid .form-response,.service-grid .span-2 { grid-column:1/-1; }
.service-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.notice,.form-response { padding:14px 16px; border-radius:12px; margin-bottom:16px; }
.notice.ok,.alert-success { background:#e8f7ef; color:#176843; }.notice.err,.alert-error { background:#fff0f0; color:#9f2727; }
.track-card dl { display:grid; grid-template-columns:minmax(150px,220px) 1fr; gap:12px; }.track-card dt { font-weight:800; }.track-card dd { margin:0; }.reference { font-size:clamp(20px,4vw,30px); font-weight:900; direction:ltr; text-align:start; }
[dir="ltr"] .nav-menu,[dir="ltr"] .footer,[dir="ltr"] .product-card,[dir="ltr"] .service-card { text-align:left; }
[dir="ltr"] .product-actions { left:auto; right:12px; }

@media (max-width: 760px) {
    .compare-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .compare-card { padding:11px; gap:9px; }.compare-card dd { font-size:13px; }.compare-card .btn { padding:9px 7px; font-size:12px; }
    .service-grid { grid-template-columns:1fr; }.service-grid .span-2,.service-grid .form-response { grid-column:auto; }.track-card dl { grid-template-columns:1fr; }
}

@media (max-width: 640px) {
    .shop-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; }
    .product-card { min-width:0; border-radius:15px; }
    .product-card .product-image { height:auto !important; aspect-ratio:1/1; min-height:0; }
    .product-card .product-body { padding:10px !important; gap:6px; }
    .product-card .product-title { min-height:2.8em; margin:0; font-size:14px; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
    .product-card .product-desc { display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; margin:0; font-size:11px; min-height:1.45em; }
    .product-card .product-meta { flex-direction:column; align-items:stretch; gap:7px; }
    .product-card .product-price { font-size:14px; }
    .product-card .btn-sm { width:100%; min-height:34px; padding:7px 6px; font-size:11px; }
    .product-actions { gap:5px; }.product-action,.action-btn { width:32px !important; height:32px !important; font-size:12px !important; }
    .catalog-category-card { min-height:112px; }
    .product-detail-actions { display:grid; grid-template-columns:1fr repeat(3,48px); gap:8px; }
}

/* Premium mobile header and navigation */
.mobile-menu-brand,
.mobile-menu-footer,
.mobile-menu-backdrop {
    display: none;
}

@media (max-width: 992px) {
    .header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1100 !important;
        backdrop-filter: none;
        border-bottom: 1px solid rgba(213, 170, 56, .25);
        box-shadow: 0 14px 38px rgba(0, 0, 0, .28);
    }

    .navbar {
        padding-block: 8px;
    }

    .navbar .container {
        position: relative;
        min-height: 92px;
        padding-inline: 16px;
    }

    .logo-container {
        position: absolute;
        left: 50% !important;
        right: auto !important;
        top: 50%;
        transform: translate(-50%, -50%) !important;
        z-index: 3;
    }

    [dir="rtl"] .logo-container {
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
    }

    .logo-container a {
        display: grid;
        place-items: center;
        width: 84px;
        height: 84px;
        border-radius: 50%;
        background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.11), rgba(255,255,255,.02) 48%, rgba(0,0,0,.18));
        border: 1px solid rgba(226, 190, 89, .42);
        box-shadow: 0 0 0 5px rgba(208, 163, 44, .06), 0 10px 28px rgba(0,0,0,.4), inset 0 0 18px rgba(255,255,255,.06);
    }

    .logo-container .logo {
        width: 76px !important;
        height: 76px !important;
        object-fit: contain;
        border-radius: 50%;
        filter: drop-shadow(0 3px 9px rgba(226, 190, 89, .2));
    }

    .mobile-menu-toggle {
        position: absolute;
        inset-inline-start: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        padding: 0;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(218, 176, 61, .32);
        border-radius: 16px;
        background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
        box-shadow: inset 0 1px rgba(255,255,255,.1), 0 8px 22px rgba(0,0,0,.25);
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
        background: linear-gradient(90deg, #c9971f, #f4dc8c);
    }

    .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav-actions {
        position: absolute;
        inset-inline-end: 16px;
        top: 50%;
        transform: translateY(-50%);
        gap: 7px;
    }

    .nav-actions #compareBtn {
        display: none;
    }

    .nav-icon-btn {
        width: 42px;
        height: 42px;
        font-size: 17px;
        background: linear-gradient(145deg, rgba(211,169,56,.16), rgba(255,255,255,.035));
        border-color: rgba(224, 184, 72, .28);
        box-shadow: inset 0 1px rgba(255,255,255,.08), 0 7px 18px rgba(0,0,0,.22);
    }

    .mobile-menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1090;
        background: rgba(2, 3, 4, .72);
        backdrop-filter: blur(8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        touch-action: none;
        transition: opacity .32s ease, visibility .32s ease;
    }

    .mobile-menu-backdrop.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: none;
    }

    body.mobile-nav-open {
        overscroll-behavior-y: none;
    }

    /* Traditional Luxury Side Navigation Drawer */
    .nav-menu {
        display: flex;
        position: fixed;
        top: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh;
        width: min(320px, 86vw);
        margin: 0;
        padding: 20px 16px 28px;
        gap: 6px;
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
        border-radius: 0;
        background: #111417;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.85);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 1400;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    [dir="rtl"] .nav-menu {
        right: 0;
        left: auto;
        border-left: 1px solid rgba(205, 164, 56, 0.25);
        transform: translateX(100%);
    }

    [dir="ltr"] .nav-menu {
        left: 0;
        right: auto;
        border-right: 1px solid rgba(205, 164, 56, 0.25);
        transform: translateX(-100%);
    }

    .nav-menu.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0) !important;
    }

    .mobile-menu-brand {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 10px;
        padding: 4px 2px 16px;
        border-bottom: 1px solid rgba(205, 164, 56, 0.2);
    }

    .mobile-menu-brandmark {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .mobile-menu-brandmark img {
        width: 52px;
        height: 52px;
        object-fit: contain;
        flex: 0 0 52px;
        border-radius: 50%;
        border: 1px solid rgba(205, 164, 56, 0.35);
    }

    .mobile-menu-brandmark div {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .mobile-menu-brandmark strong {
        color: #fff;
        font-size: 13.5px;
        font-weight: 700;
        line-height: 1.35;
    }

    .mobile-menu-brandmark span {
        color: #c9a961;
        font-size: 11px;
        margin-top: 2px;
    }

    .mobile-menu-close {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.06);
        color: #f4d77b;
        font-size: 18px;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .mobile-menu-close:hover {
        background: rgba(205, 164, 56, 0.2);
    }

    .nav-menu > li:not(.mobile-menu-brand):not(.mobile-menu-footer) > .nav-link {
        width: 100%;
        min-height: 46px;
        padding: 10px 14px;
        gap: 12px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        background: rgba(255, 255, 255, 0.03);
        color: rgba(255, 255, 255, 0.92);
        font-size: 14.5px;
        font-weight: 700;
        transition: all 0.25s ease;
    }

    .nav-menu > li > .nav-link i:first-child {
        width: 28px;
        height: 28px;
        display: grid;
        place-items: center;
        flex: 0 0 28px;
        border-radius: 8px;
        background: rgba(205, 164, 56, 0.15);
        color: #e4bd50;
        font-size: 13px;
    }

    .nav-menu > li > .nav-link .nav-dropdown-icon {
        margin-inline-start: auto;
        transition: transform 0.3s ease;
    }

    .nav-menu > li > .nav-link::after {
        display: none;
    }

    .nav-menu > li > .nav-link.active,
    .nav-menu > li > .nav-link:hover {
        color: #fff;
        border-color: rgba(205, 164, 56, 0.4);
        background: rgba(205, 164, 56, 0.12);
    }

    /* Submenu Accordion on Mobile */
    .nav-dropdown {
        position: static;
    }

    .nav-dropdown .dropdown-menu {
        display: none;
        flex-direction: column;
        gap: 2px;
        padding: 6px 8px 10px;
        margin-top: 4px;
        background: rgba(0, 0, 0, 0.35);
        border-radius: 12px;
        border: 1px solid rgba(205, 164, 56, 0.15);
        box-shadow: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
    }

    .nav-dropdown.open .dropdown-menu {
        display: flex;
    }

    .nav-dropdown .dropdown-menu li {
        width: 100%;
    }

    .nav-dropdown .dropdown-menu a {
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 8px 12px;
        border-radius: 8px;
        background: transparent;
        color: rgba(255, 255, 255, 0.82);
        font-size: 13px;
        font-weight: 500;
        line-height: 1.35;
        transition: all 0.2s ease;
    }

    .nav-dropdown .dropdown-menu a:hover {
        color: #f4d77b;
        background: rgba(205, 164, 56, 0.12);
    }

    .nav-dropdown .dropdown-menu a i {
        color: #c9a961;
        font-size: 12px;
    }

    .nav-service-call-li {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 16px 0 10px !important;
    }

    .nav-service-call-btn {
        margin: 0 auto !important;
        text-align: center !important;
        justify-content: center !important;
        display: inline-flex !important;
        padding: 10px 28px !important;
        font-size: 15px !important;
    }

    .mobile-menu-footer {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: auto !important;
        padding-top: 16px !important;
        border-top: 1px solid rgba(205, 164, 56, 0.2) !important;
        width: 100% !important;
    }

    .mobile-lang-switcher {
        display: flex !important;
        gap: 10px !important;
        width: 100% !important;
        justify-content: space-between !important;
    }

    .mobile-lang-btn {
        flex: 1 !important;
        min-height: 44px !important;
        padding: 8px 12px !important;
        border-radius: 10px !important;
        font-weight: 700 !important;
        font-size: 14px !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        border: 1px solid rgba(205, 164, 56, 0.25) !important;
        background: rgba(255, 255, 255, 0.05) !important;
        color: #ffffff !important;
        transition: all 0.2s ease !important;
    }

    .mobile-lang-btn.active {
        background: linear-gradient(135deg, #dfb248, #c8a43d) !important;
        color: #17191b !important;
        border-color: #dfb248 !important;
        box-shadow: 0 4px 12px rgba(223, 178, 72, 0.3) !important;
    }

    .mobile-lang-btn i {
        font-size: 15px !important;
        flex-shrink: 0 !important;
    }

    .mobile-phone-btn {
        width: 100% !important;
        min-height: 46px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 10px 16px !important;
        border-radius: 10px !important;
        border: 1px solid rgba(205, 164, 56, 0.35) !important;
        background: rgba(205, 164, 56, 0.1) !important;
        color: #f4d77b !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        direction: ltr !important;
        transition: all 0.2s ease !important;
    }

    .mobile-phone-btn:hover {
        background: rgba(205, 164, 56, 0.2) !important;
        color: #ffffff !important;
    }

    /* Services Section on Mobile: Compact, 2-lines, hide long bullet points */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }

    .service-card {
        padding: 18px 12px !important;
        border-radius: 16px !important;
    }

    .service-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }

    .service-title {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }

    .service-description {
        font-size: 12px !important;
        line-height: 1.4 !important;
        margin-bottom: 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .service-card .service-list {
        display: none !important;
    }

    /* Stats Section on Mobile: 2 Cards per row */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .stat-item {
        padding: 20px 10px !important;
        border-radius: 14px !important;
    }

    .stat-icon {
        font-size: 32px !important;
        margin-bottom: 8px !important;
    }

    .stat-label {
        font-size: 15px !important;
        margin-bottom: 4px !important;
    }

    .stat-desc {
        font-size: 11.5px !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 480px) {
    .navbar .container { min-height: 84px; }
    .logo-container a { width: 74px; height: 74px; }
    .logo-container .logo { width: 68px !important; height: 68px !important; }
    .mobile-menu-toggle { inset-inline-start: 12px; width: 42px; height: 42px; }
    .nav-actions { inset-inline-end: 12px; gap: 5px; }
    .nav-icon-btn { width: 38px; height: 38px; font-size: 15px; }
    .services-grid { gap: 10px !important; }
    .service-card { padding: 15px 10px !important; }
    .service-title { font-size: 14.5px !important; }
    .stats-grid { gap: 10px !important; }
    .stat-item { padding: 16px 8px !important; }
    .stat-label { font-size: 14px !important; }
}

@media (max-width: 355px) {
    .nav-actions #wishlistBtn { display: none; }
    .logo-container a { width: 70px; height: 70px; }
    .logo-container .logo { width: 64px !important; height: 64px !important; }
}

/* ==========================================================================
   Horizontal Compact Contact Form
   ========================================================================== */
.horizontal-contact-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #fbfaf7 0%, #f1eee4 100%);
}

.horizontal-contact-header {
    margin-bottom: 30px;
    text-align: center;
}

.horizontal-contact-card {
    max-width: 1080px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--brand-line, #e2d8c3);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(18, 20, 22, 0.07);
    padding: 36px 40px;
}

.horizontal-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 24px;
}

.form-group-compact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label-compact {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrap i {
    position: absolute;
    inset-inline-start: 14px;
    color: #c9a961;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.input-icon-wrap input,
.input-icon-wrap select {
    width: 100%;
    height: 48px;
    padding-inline-start: 40px;
    padding-inline-end: 14px;
    border: 1.5px solid #e0dbce;
    border-radius: 12px;
    background: #fdfdfc;
    font-size: 14px;
    font-family: inherit;
    color: #222;
    transition: all 0.25s ease;
}

.input-icon-wrap input:focus,
.input-icon-wrap select:focus {
    outline: none;
    border-color: #c9a961;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
}

.horizontal-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee8dc;
}

.compact-checkbox {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.btn-submit-compact {
    min-width: 180px;
    height: 50px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #c9a961 0%, #b89345 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(184, 147, 69, 0.35);
    transition: all 0.3s ease;
}

.btn-submit-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 147, 69, 0.45);
}

@media (max-width: 900px) {
    .horizontal-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .horizontal-contact-card {
        padding: 24px 20px;
    }
    .horizontal-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .horizontal-form-bottom {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-submit-compact {
        width: 100%;
    }
}

/* ==========================================================================
   Footer Banners
   ========================================================================== */
.footer-banners-wrapper {
    background: #111315;
    padding: 35px 0 35px;
    margin-top: 55px;
    border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}

.footer-banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.footer-banner-grid .banner-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.footer-banner-grid .banner-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 169, 97, 0.5);
}

.footer-banner-grid .banner-icon {
    font-size: 28px;
    color: #f2d160;
    min-width: 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 97, 0.16);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 14px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(242, 209, 96, 0.35));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-banner-grid .banner-card:hover .banner-icon {
    filter: drop-shadow(0 0 14px rgba(242, 209, 96, 0.6));
    transform: scale(1.08);
}

.footer-banner-grid .banner-content h3 {
    font-size: 16px;
    color: #fff;
    margin: 4px 0 6px;
    font-weight: 700;
}

.footer-banner-grid .banner-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #f2d160;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-banner-grid .banner-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .footer-banner-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Product Image Links & Brands Dropdown
   ========================================================================== */
.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.product-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image-link img {
    transform: scale(1.05);
}

.brands-dropdown {
    min-width: 220px;
}

.brands-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brands-dropdown li a i {
    color: #c9a961;
    font-size: 13px;
}

.nav-dropdown-icon {
    font-size: 10px;
    opacity: 0.7;
    margin-inline-start: 4px;
}

/* ==========================================================================
   Home Categories & Products Layout Refinement (Proper Spacing & Elegance)
   ========================================================================== */
.home-categories-section {
    padding: 70px 0 60px;
    background: linear-gradient(180deg, #fbf9f5 0%, #ffffff 50%, #faf6ef 100%);
    border-top: 1px solid rgba(205, 164, 56, 0.18);
    border-bottom: 1px solid rgba(205, 164, 56, 0.18);
    position: relative;
    z-index: 2;
}

.home-categories-section .section-header {
    margin-bottom: 40px;
}

.home-categories-section .section-title {
    color: #0f172a !important;
}

.home-categories-section .section-description {
    color: #475569 !important;
}

/* ==========================================================================
   Home Categories Items Slider (سلايدر الأقسام الرئيسية الفاخر)
   ========================================================================== */
.categories-slider-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.categories-slider-outer {
    position: relative;
    width: 100%;
}

.cat-slider-side-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(223, 178, 72, 0.8);
    color: #b48a28;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(180, 138, 40, 0.18);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-slider-side-btn:hover {
    background: #dfb248;
    color: #0b0f17;
    border-color: #dfb248;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 10px 28px rgba(223, 178, 72, 0.5);
}

.cat-slider-side-right {
    right: -24px;
}

.cat-slider-side-left {
    left: -24px;
}

@media (max-width: 1200px) {
    .cat-slider-side-right {
        right: -8px;
    }
    .cat-slider-side-left {
        left: -8px;
    }
}

@media (max-width: 768px) {
    .cat-slider-side-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .cat-slider-side-right {
        right: 4px;
    }
    .cat-slider-side-left {
        left: 4px;
    }
}

.cat-slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1e242a;
    border: 1.5px solid rgba(223, 178, 72, 0.35);
    color: #dfb248;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-slider-arrow:hover {
    background: #dfb248;
    color: #0b0f17;
    border-color: #dfb248;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(223, 178, 72, 0.4);
}

.categories-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.categories-slider-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-slider-track::-webkit-scrollbar {
    display: none;
}

.cat-slide-card {
    flex: 0 0 280px;
    height: 275px;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    text-decoration: none;
    color: #0f172a;
    scroll-snap-align: start;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.cat-slide-card:hover {
    transform: translateY(-8px);
    border-color: #dfb248;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12), 0 0 20px rgba(223, 178, 72, 0.18);
}

.cat-slide-img-box {
    position: relative;
    width: 100%;
    height: 185px;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}

.cat-slide-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-slide-card:hover .cat-slide-img-box img {
    transform: scale(1.08);
}

.cat-badge-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(223, 178, 72, 0.6);
    color: #dfb248;
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

[dir="rtl"] .cat-badge-pill {
    right: auto;
    left: 12px;
}

.cat-slide-info {
    position: relative;
    padding: 14px 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    background: #ffffff;
    gap: 8px;
}

.cat-slide-title {
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-slide-card:hover .cat-slide-title {
    color: #b8860b;
}

.cat-slide-meta {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cat-slide-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #dfb248;
    font-size: 12.5px;
    font-weight: 800;
    transition: all 0.25s ease;
    margin-top: 2px;
}

.cat-slide-card:hover .cat-slide-action {
    color: #996e10;
    transform: translateX(-3px);
}

[dir="ltr"] .cat-slide-card:hover .cat-slide-action {
    transform: translateX(3px);
}

/* Subcategories Drill-Down View */
.categories-sub-view {
    animation: fadeInCat 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInCat {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subview-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    flex-wrap: wrap;
}

.btn-back-categories {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f1f5f9;
    color: #0f172a;
    border: 1.5px solid #cbd5e1;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-back-categories:hover {
    background: #dfb248;
    color: #0b0f17;
    border-color: #dfb248;
    transform: translateX(3px);
    box-shadow: 0 6px 16px rgba(223, 178, 72, 0.3);
}

[dir="ltr"] .btn-back-categories:hover {
    transform: translateX(-3px);
}

.subview-active-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.subview-active-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subview-active-count {
    background: rgba(223, 178, 72, 0.15);
    color: #8f6c12;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid rgba(223, 178, 72, 0.35);
}

.btn-subview-all-products {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    border: 1.5px solid #0f172a;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-subview-all-products:hover {
    background: #dfb248;
    color: #0b0f17;
    border-color: #dfb248;
    box-shadow: 0 6px 18px rgba(223, 178, 72, 0.35);
}

/* Subcategories Grid */
.subcategories-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
}

.subcat-drill-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #0f172a;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.subcat-drill-card:hover {
    transform: translateY(-6px);
    border-color: #dfb248;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09), 0 0 18px rgba(223, 178, 72, 0.2);
}

.subcat-drill-img-box {
    width: 100%;
    height: 140px;
    background: #f8fafc;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

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

.subcat-drill-card:hover .subcat-drill-img-box img {
    transform: scale(1.08);
}

.subcat-drill-info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 8px;
    background: #ffffff;
}

.subcat-drill-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
    transition: color 0.25s ease;
}

.subcat-drill-card:hover .subcat-drill-title {
    color: #b8860b;
}

.subcat-drill-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}

.subcat-prod-badge {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
}

.subcat-prod-badge.muted {
    color: #94a3b8;
    font-style: italic;
}

.subcat-cta-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all 0.25s ease;
}

.subcat-drill-card:hover .subcat-cta-arrow {
    background: #dfb248;
    color: #000;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .cat-slide-card {
        flex: 0 0 220px;
        height: 245px;
    }
    .cat-slide-img-box {
        height: 160px;
    }
    .cat-slide-info {
        padding: 10px 14px 12px;
        gap: 6px;
    }
    .cat-slide-title {
        font-size: 14.5px;
    }
    .subcategories-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .subcat-drill-img-box {
        height: 115px;
    }
    .subcat-drill-title {
        font-size: 13.5px;
    }
    .subview-header-bar {
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .btn-back-categories, .btn-subview-all-products {
        justify-content: center;
    }
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.home-category-card {
    position: relative;
    min-height: 160px;
    border-radius: 18px;
    overflow: hidden;
    background: #181b1e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.home-category-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-gold);
    box-shadow: 0 16px 36px rgba(201, 169, 97, 0.25);
}

.home-category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s ease;
}

.home-category-card:hover img {
    transform: scale(1.08);
}

.home-category-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(15, 17, 19, 0.15) 0%, rgba(15, 17, 19, 0.88) 100%);
    transition: background 0.3s ease;
}

.home-category-card:hover .home-category-overlay {
    background: linear-gradient(180deg, rgba(15, 17, 19, 0.1) 0%, rgba(15, 17, 19, 0.75) 100%);
}

.home-category-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-category-info .cat-name {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
}

.home-category-info .cat-count,
.home-category-info .cat-link-hint {
    font-size: 11px;
    color: var(--brand-gold-light);
    font-weight: 600;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 4px;
}

.home-category-card.all-card {
    background: linear-gradient(145deg, #1c1f22, #292d32);
    border-color: rgba(201, 169, 97, 0.3);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.home-category-card.all-card .home-category-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.15);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.home-category-card.all-card:hover .home-category-icon {
    transform: scale(1.1);
    background: var(--brand-gold);
    color: #111;
}

/* Home Products Section */
.home-products-section {
    padding: 85px 0 95px;
    background: #fdfbf7;
    position: relative;
}

.home-products-section .section-header {
    margin-bottom: 50px;
}

.home-products-section .shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.home-products-section .product-card {
    background: #fff;
    border: 1px solid #ebe5d8;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.home-products-section .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(184, 147, 69, 0.14);
    border-color: rgba(184, 147, 69, 0.4);
}

@media (max-width: 1200px) {
    .home-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .home-products-section .shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .home-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .home-category-card {
        min-height: 130px;
        padding: 14px;
    }
    .home-products-section .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .home-categories-section {
        padding: 50px 0 40px;
    }
    .home-products-section {
        padding: 60px 0 70px;
    }
}

@media (max-width: 520px) {
    .home-products-section .shop-grid {
        grid-template-columns: 1fr;
    }
}



/* ==========================================================================
   Cart Page Visual Refinement - Eliminate Unwanted White Lines & Borders
   ========================================================================== */
.cart-section {
    background: var(--brand-ivory);
    padding: 50px 0 80px;
}

.cart-table-wrapper {
    background: #ffffff;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    margin-bottom: 25px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    border: none !important;
}

.cart-table th {
    background: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 800;
    font-size: 14.5px;
    padding: 16px 20px;
    border-bottom: 1.5px solid #cbd5e1 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.cart-table td {
    background: #ffffff !important;
    color: #1e293b !important;
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    vertical-align: middle;
}

.cart-table tr:last-child td {
    border-bottom: none !important;
}

.cart-summary {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.cart-summary h3 {
    color: #0f172a !important;
    font-weight: 800;
    font-size: 19px;
    margin-bottom: 18px;
    border-bottom: 1.5px solid #f1f5f9;
    padding-bottom: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #334155;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
}

.summary-row .summary-value {
    font-weight: 800;
    color: #0f172a;
}

/* ==========================================================================
   Visual Distinction: Headings vs Interactive Buttons (Item 8)
   ========================================================================== */
/* Informational Tags & Headings - Non-button appearance */
.section-tag,
.hero-heritage-badge {
    pointer-events: none; /* Disallow clicking */
    user-select: none;
    cursor: default !important;
    box-shadow: none !important;
    transform: none !important;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-tag {
    display: inline-block;
    background: transparent !important;
    color: #b89345 !important;
    border: none !important;
    border-inline-start: 4px solid #c8a43d !important;
    border-radius: 0 !important;
    padding: 2px 10px !important;
    font-size: 13.5px;
    margin-bottom: 10px;
}

.hero-heritage-badge {
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(200, 164, 61, 0.35) !important;
    border-radius: 6px !important;
    padding: 7px 16px !important;
}

/* Interactive Buttons - Distinct clickability */
.btn, 
.action-btn,
.kiros-quote-btn,
.kiros-wa-btn,
.kiros-maint-btn,
.ajax-cart-btn {
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.btn:hover,
.kiros-quote-btn:hover,
.kiros-wa-btn:hover {
    transform: translateY(-2px) !important;
}

.btn:active,
.kiros-quote-btn:active {
    transform: translateY(1px) !important;
}

/* Dynamic Slider Enhancements */
.hero-video-cinematic {
    position: relative;
    min-height: clamp(620px, 86vh, 880px);
}
.dynamic-slide-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.85s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.dynamic-slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.hero-video-cinematic .slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(13, 15, 16, 0.72);
    border: 1.5px solid rgba(200, 164, 61, 0.45);
    color: #e5c46b;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    z-index: 12;
}
.hero-video-cinematic .slider-arrow:hover {
    background: #c8a43d;
    color: #0b0d0e;
    border-color: #c8a43d;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 18px rgba(200, 164, 61, 0.4);
}
.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 24px;
}
@media (max-width: 768px) {
    .hero-video-cinematic {
        min-height: 580px;
        padding: 90px 16px 60px !important;
    }
    .hero-video-cinematic .slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    [dir="rtl"] .slider-prev { right: 10px; }
    [dir="rtl"] .slider-next { left: 10px; }
    [dir="ltr"] .slider-prev { left: 10px; }
    [dir="ltr"] .slider-next { right: 10px; }
    .hero-buttons {
        gap: 10px;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 290px;
        padding: 13px 20px !important;
        font-size: 14.5px !important;
    }
}

/* ==========================================================================
   ENHANCEMENTS: TYPOGRAPHY, CENTERING, ENLARGED CARDS, SEARCH AUTOCOMPLETE
   ========================================================================== */

/* Multi-Language Typography */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Heebo:wght@300;400;500;700;800;900&family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

html[lang="he"], body.lang-he, [dir="rtl"][lang="he"] {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

html[lang="ar"], body.lang-ar, [dir="rtl"][lang="ar"] {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

html[lang="en"], body.lang-en, [dir="ltr"][lang="en"] {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Center all section headers across all pages */
.section-header,
.section-title,
.section-tag,
.section-description,
.biz-solutions-header,
.custom-stainless-header,
.kiros-quote-header,
.catalog-categories .section-header,
.home-categories-header,
.featured-header {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.section-tag, .badge-pill, .hero-meta-badge {
    display: inline-flex !important;
    margin-inline: auto !important;
}

/* Enhanced Logo & Menu Sizing */
.logo img, .site-logo img {
    height: 64px !important;
    max-height: 64px !important;
    width: auto !important;
    transition: transform 0.3s ease;
}
@media (min-width: 992px) {
    .logo img, .site-logo img {
        height: 72px !important;
        max-height: 72px !important;
    }
}
.nav-link {
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* Enlarged Business Solutions Cards */
.biz-card {
    min-height: 380px !important;
    border-radius: 20px !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.biz-card-img-wrap {
    height: 200px !important;
}
.biz-card-img-wrap img {
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}
.biz-card:hover .biz-card-img-wrap img {
    transform: scale(1.08) !important;
}
.biz-card-body {
    padding: 22px !important;
}
.biz-card-title {
    font-size: 19px !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
}
.biz-card-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Live Search Autocomplete Styles */
.search-modal-results {
    margin-top: 18px;
    background: #111417;
    border: 1.5px solid rgba(223, 178, 72, 0.35);
    border-radius: 16px;
    overflow: hidden;
    max-height: 420px;
    overflow-y: auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}
.search-suggest-loading {
    padding: 20px;
    text-align: center;
    color: #dfb248;
    font-size: 14.5px;
    font-weight: 600;
}
.search-suggest-empty {
    padding: 30px 20px;
    text-align: center;
    color: #94a3b8;
}
.search-suggest-empty i {
    font-size: 32px;
    color: #64748b;
    margin-bottom: 10px;
    display: block;
}
.search-suggest-empty p {
    margin: 0;
    font-size: 14px;
}
.search-suggest-list {
    display: flex;
    flex-direction: column;
}
.search-suggest-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    color: #ffffff;
    transition: all 0.2s ease;
}
.search-suggest-item:hover,
.search-suggest-item.highlighted {
    background: rgba(223, 178, 72, 0.12);
}
.suggest-img-wrap {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #1e2226;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    flex-shrink: 0;
}
.suggest-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.suggest-info {
    flex: 1;
    min-width: 0;
}
.suggest-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.suggest-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}
.suggest-cat {
    color: #dfb248;
    background: rgba(223, 178, 72, 0.12);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
}
.suggest-price {
    color: #4ade80;
    font-weight: 800;
}
.suggest-arrow {
    color: #64748b;
    font-size: 14px;
    transition: transform 0.2s ease, color 0.2s ease;
}
.search-suggest-item:hover .suggest-arrow {
    color: #dfb248;
    transform: translateX(-4px);
}
[dir="ltr"] .search-suggest-item:hover .suggest-arrow {
    transform: translateX(4px);
}
.search-suggest-all-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(223, 178, 72, 0.15);
    color: #dfb248;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    border-top: 1.5px solid rgba(223, 178, 72, 0.3);
    transition: all 0.2s ease;
}
.search-suggest-all-btn:hover {
    background: #dfb248;
    color: #0b0d0e;
}

/* Empty cart high-contrast text styling */
.empty-cart h3 {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 26px !important;
    margin-bottom: 12px !important;
}
.empty-cart p {
    color: #475569 !important;
    font-size: 16px !important;
    margin-bottom: 25px !important;
}

/* ========================================================
   Delicate Realistic Blue Sparks (شرارات نار زرقاء واقعية وخفيفة وناعمة جداً)
   ======================================================== */
.site-ambient-sparks-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none !important;
    z-index: 999;
    overflow: hidden;
    contain: strict;
    isolation: isolate;
}

/* Base spark item */
.spark-item {
    position: absolute;
    pointer-events: none !important;
    opacity: 0;
    will-change: transform, opacity;
}

/* 1. Micro Sparkle Star (شرارة نجمية رباعية الأطراف دقيقة وصغيرة جداً ببريق ناصع) */
.spark-item.spark-star {
    width: 6px;
    height: 6px;
    background: #ffffff;
    clip-path: polygon(50% 0%, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0% 50%, 37% 37%);
    filter: drop-shadow(0 0 1px #ffffff) drop-shadow(0 0 3px #00d2ff) drop-shadow(0 0 6px #0284c7);
}

/* 2. Micro Slender Needle Ember (شرارة متطايرة صغيرة ورفيعة جداً كالإبرة مع ذيل لهب أزرق) */
.spark-item.spark-ember {
    width: 1.8px;
    height: 5.5px;
    background: linear-gradient(180deg, #ffffff 0%, #00d2ff 60%, rgba(2, 132, 199, 0) 100%);
    border-radius: 1px;
    box-shadow: 
        0 0 2px 0.8px #ffffff,
        0 0 4px 1.5px #00d2ff,
        0 0 8px 2px rgba(2, 132, 199, 0.6);
}

/* 10 Dynamic Sparks with fast upward speed and natural staggered delays */
.sp-1  { left: 8%;  bottom: -25px; animation: sparkRiseFastA 3.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite; animation-delay: -0.7s; }
.sp-2  { left: 20%; bottom: -25px; animation: sparkRiseFastB 4.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite; animation-delay: -2.3s; }
.sp-3  { left: 32%; bottom: -25px; animation: sparkRiseFastA 3.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite; animation-delay: -1.5s; }
.sp-4  { left: 44%; bottom: -25px; animation: sparkRiseFastB 4.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite; animation-delay: -0.4s; }
.sp-5  { left: 56%; bottom: -25px; animation: sparkRiseFastA 3.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite; animation-delay: -3.1s; }
.sp-6  { left: 68%; bottom: -25px; animation: sparkRiseFastB 4.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite; animation-delay: -1.9s; }
.sp-7  { left: 80%; bottom: -25px; animation: sparkRiseFastA 3.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite; animation-delay: -1.1s; }
.sp-8  { left: 92%; bottom: -25px; animation: sparkRiseFastB 4.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite; animation-delay: -2.8s; }
.sp-9  { left: 26%; bottom: -25px; animation: sparkRiseFastA 4.0s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite; animation-delay: -3.6s; }
.sp-10 { left: 74%; bottom: -25px; animation: sparkRiseFastB 3.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite; animation-delay: -0.9s; }

/* Dynamic upward rising keyframes with high visibility & realistic flicker */
@keyframes sparkRiseFastA {
    0% {
        transform: translate3d(0, 0, 0) scale(0.7) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    30% {
        opacity: 0.8;
        transform: translate3d(14px, -32vh, 0) scale(1.1) rotate(18deg);
    }
    55% {
        opacity: 0.95;
        transform: translate3d(-12px, -65vh, 0) scale(0.95) rotate(-14deg);
    }
    80% {
        opacity: 0.75;
        transform: translate3d(16px, -92vh, 0) scale(0.85) rotate(20deg);
    }
    100% {
        transform: translate3d(-8px, -118vh, 0) scale(0.4) rotate(-10deg);
        opacity: 0;
    }
}

@keyframes sparkRiseFastB {
    0% {
        transform: translate3d(0, 0, 0) scale(0.7) rotate(0deg);
        opacity: 0;
    }
    12% {
        opacity: 1;
    }
    35% {
        opacity: 0.75;
        transform: translate3d(-16px, -36vh, 0) scale(1.1) rotate(-20deg);
    }
    60% {
        opacity: 0.9;
        transform: translate3d(12px, -68vh, 0) scale(0.9) rotate(16deg);
    }
    82% {
        opacity: 0.7;
        transform: translate3d(-12px, -95vh, 0) scale(0.8) rotate(-12deg);
    }
    100% {
        transform: translate3d(8px, -120vh, 0) scale(0.35) rotate(18deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-ambient-sparks-layer {
        display: none !important;
    }
}