@import url('site_theme.css');

* { box-sizing: border-box; }

body.shop-body {
    margin: 0;
    font-family: 'Cairo', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.65;
    padding-bottom: 72px;
}

/* صفحات المتجر العامة — عمود واحد ونفس الذوق */
body.shop-unified {
    background: linear-gradient(165deg, #f0f3f2 0%, #e8eeec 35%, #f2f5f4 70%, #eef1f0 100%);
}

.shop-main {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px 8px;
}

@media (min-width: 900px) {
    .shop-main {
        padding: 0 28px 12px;
    }
}

.shop-main .shop-section {
    padding-left: 0;
    padding-right: 0;
}

.shop-main .home-intro {
    padding-left: 0;
    padding-right: 0;
}

.shop-main .hero-slider-wrap {
    max-width: 100%;
    margin-top: 28px;
    margin-bottom: 8px;
}

.home-intro-accent {
    color: var(--primary);
}

.shop-topbar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    position: sticky;
    top: 0;
    z-index: 100;
}

.shop-topbar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.shop-logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-logo i { color: var(--accent); }

.shop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.shop-nav a {
    color: var(--dark);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

.shop-nav a:hover, .shop-nav a.active {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.shop-hero {
    background: linear-gradient(135deg, #0d9488 0%, #115e59 50%, #134e4a 100%);
    color: var(--white);
    padding: 56px 20px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.shop-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.shop-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

.shop-hero p {
    max-width: 640px;
    margin: 0 auto 28px;
    opacity: 0.95;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.shop-btn-primary {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.shop-btn-primary:hover {
    transform: translateY(-2px);
}

.shop-main .shop-btn-primary {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.shop-main .shop-btn-primary:hover {
    filter: brightness(1.06);
}

.hero-slide .shop-btn-primary {
    background: var(--white) !important;
    color: var(--primary-dark) !important;
    filter: none !important;
    box-shadow: var(--shadow-sm) !important;
}

.hero-slide .shop-btn-primary:hover {
    filter: none !important;
    transform: translateY(-2px);
}

.shop-btn-ghost {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.35);
}

.shop-btn-ghost:hover {
    background: rgba(255,255,255,0.25);
}

.shop-main .shop-btn-ghost {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
}

.shop-main .shop-btn-ghost:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.shop-main .hero-slide .shop-btn-ghost {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.42);
}

.shop-main .hero-slide .shop-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.24);
    color: var(--white);
}

.shop-section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 48px 20px;
}

.shop-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.shop-unified .shop-section-title h2 {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 100%;
}

.shop-unified .shop-section-title h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.shop-section-title h2 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    color: var(--dark);
    margin: 0 0 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.shop-section-title p {
    color: var(--gray);
    margin: 0;
    max-width: 560px;
    margin-inline: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.service-card i {
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.service-card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.service-card p {
    margin: 0;
    color: var(--gray);
    font-size: 0.95rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid var(--border);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.category-card .meta {
    padding: 14px;
    text-align: center;
}

.category-card .meta strong {
    display: block;
    color: var(--dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-card .body {
    padding: 16px;
}

.product-card .body h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--dark);
}

.product-card .price {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 1.15rem;
}

.product-card .badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 5px 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(154, 123, 46, 0.2);
}

.shop-footer {
    background: linear-gradient(165deg, var(--primary-dark) 0%, #062a27 100%);
    color: rgba(255, 255, 255, 0.88);
    padding: 44px 20px 28px;
    margin-top: 48px;
    border-top: 3px solid var(--accent);
}

.shop-footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    text-align: center;
}

.shop-footer a {
    color: rgba(255, 255, 255, 0.92);
    margin: 0 10px;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.shop-footer a:hover {
    color: #f0e6d4;
    border-bottom-color: var(--accent);
}

/* أنماط الفوتر الموبايل: assets/site_theme.css (.mobile-footer-shop) */

.shop-alert {
    background: var(--accent-soft);
    color: #6b5420;
    padding: 14px 20px;
    text-align: center;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(154, 123, 46, 0.25);
}

.shop-surface-alt {
    background: rgba(255, 255, 255, 0.72);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-top: 8px;
    margin-bottom: 8px;
}

.product-detail-hero img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: var(--radius);
}

.product-detail-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 16px 0;
}

.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    justify-content: center;
}

.filters-bar a {
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--white);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.filters-bar a:hover, .filters-bar a.active {
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

/* ========== هيدر مع الشعار + قائمة الموبايل ========== */
.shop-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-dark);
}

.shop-brand-logo {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(13, 148, 136, 0.2));
    transition: transform 0.35s ease;
}

.shop-brand:hover .shop-brand-logo {
    transform: scale(1.03);
}

.shop-brand-text {
    font-weight: 800;
    font-size: 1rem;
    max-width: 200px;
    line-height: 1.25;
    display: none;
}

@media (min-width: 993px) {
    .shop-brand-text {
        display: block;
    }
}

.shop-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.shop-menu-toggle:hover {
    transform: scale(1.05);
}

.shop-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(4px);
}

.shop-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.shop-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--primary-soft) 0%, var(--white) 100%);
}

.shop-drawer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.shop-drawer-close {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--primary-dark);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.shop-drawer-close:hover {
    background: var(--primary-soft);
    transform: rotate(90deg);
}

.shop-drawer-links {
    display: flex;
    flex-direction: column;
    padding: 12px 10px 24px;
    gap: 4px;
}

.shop-drawer-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.2s;
}

.shop-drawer-links a i {
    width: 22px;
    text-align: center;
    color: var(--primary);
}

.shop-drawer-links a:hover,
.shop-drawer-links a.active {
    background: var(--primary-soft);
    transform: translateX(-4px);
}

.shop-drawer-links a.active {
    border-inline-end: 3px solid var(--accent);
}

body.shop-menu-open .shop-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}

body.shop-menu-open .shop-nav-drawer {
    transform: translateX(0);
}

body.shop-menu-open {
    overflow: hidden;
}

@media (max-width: 992px) {
    .shop-nav-desktop {
        display: none !important;
    }

    .shop-menu-toggle {
        display: flex;
    }

    .shop-topbar-inner {
        flex-wrap: nowrap;
    }

    .shop-brand-logo {
        height: 42px;
        max-width: 140px;
    }
}

/* ========== سلايدر الصيانة ========== */
.hero-slider-wrap {
    position: relative;
    max-width: 1400px;
    margin: 28px auto 0;
}

.hero-slider {
    position: relative;
    min-height: min(72vh, 560px);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: min(65vh, 480px);
        border-radius: var(--radius-sm);
    }
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease, visibility 0.9s;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
}

.hero-slide.active .hero-slide-bg {
    animation: heroKenBurns 9s ease-out forwards;
}

@keyframes heroKenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.07); }
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(8, 63, 58, 0.9) 0%, rgba(13, 92, 84, 0.78) 42%, rgba(22, 56, 54, 0.65) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: min(72vh, 560px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 48px;
    color: var(--white);
}

@media (max-width: 768px) {
    .hero-slide-content {
        min-height: min(65vh, 480px);
        padding: 88px 18px 40px;
    }
}

.hero-slide-content h2 {
    font-size: clamp(1.5rem, 4.5vw, 2.65rem);
    margin: 0 0 16px;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.hero-slide-content p {
    max-width: 560px;
    margin: 0 0 28px;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    opacity: 0.95;
    line-height: 1.7;
}

.hero-slide.active .hero-animate {
    animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}

.hero-slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.25s, background 0.25s;
}

.hero-slider-dots button.active {
    background: var(--white);
    transform: scale(1.25);
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(154, 123, 46, 0.45);
}

.hero-slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 100%;
    pointer-events: none;
    padding: 0 12px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}

.hero-slider-arrows button {
    pointer-events: auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s, transform 0.2s;
}

.hero-slider-arrows button:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
}

@media (max-width: 576px) {
    .hero-slider-arrows {
        display: none;
    }
}

/* ========== شريط منتجات أفقي (سلايدر منتجات) ========== */
.products-strip-wrap {
    overflow: hidden;
    margin: 0 -12px;
    padding: 8px 0 16px;
}

.products-strip {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 12px 12px 20px;
    -webkit-overflow-scrolling: touch;
}

.products-strip::-webkit-scrollbar {
    height: 6px;
}

.products-strip::-webkit-scrollbar-thumb {
    background: rgba(13, 148, 136, 0.35);
    border-radius: 99px;
}

.product-strip-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s;
    animation: stripFade 0.6s ease both;
}

.product-strip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

@keyframes stripFade {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-strip-card a {
    text-decoration: none;
    color: inherit;
}

.product-strip-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.product-strip-card .strip-body {
    padding: 14px;
}

.product-strip-card h3 {
    margin: 0 0 8px;
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--dark);
}

.product-strip-card .price {
    font-weight: 800;
    color: var(--primary-dark);
}

.strip-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.strip-nav button {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    color: var(--white);
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, filter 0.2s;
}

.strip-nav button:hover {
    filter: brightness(1.08);
    transform: scale(1.05);
}

/* ========== ظهور تدريجي عند التمرير ========== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ========== الصفحة الرئيسية — وضوح «صيانة منزلية» ========== */
.home-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 28px 20px 20px;
    text-align: center;
}

/* خلفية صورة خلف عنوان «إحنا بتوع الصيانة» والبطاقات السريعة */
.home-intro-has-bg {
    position: relative;
    overflow: hidden;
    max-width: calc(900px + 32px);
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 32px 20px 26px;
}

.home-intro-has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--home-intro-bg);
    background-size: cover;
    background-position: center 35%;
    z-index: 0;
}

.home-intro-has-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        160deg,
        rgba(238, 242, 241, 0.94) 0%,
        rgba(232, 242, 240, 0.88) 42%,
        rgba(22, 56, 54, 0.5) 100%
    );
}

.home-intro-has-bg > * {
    position: relative;
    z-index: 2;
}

.home-intro-has-bg .home-intro-badge {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-intro-has-bg h1,
.home-intro-has-bg .home-intro-lead {
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.home-intro-has-bg .home-intro-lead {
    color: var(--dark);
}

.home-intro-has-bg .home-quick-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
    .home-intro-has-bg {
        margin-left: 12px;
        margin-right: 12px;
        padding: 28px 16px 22px;
        border-radius: var(--radius-sm);
    }

    .home-intro-has-bg::before {
        background-image: var(--home-intro-bg-mobile, var(--home-intro-bg));
        background-position: center center;
    }

    .home-intro-has-bg::after {
        background: linear-gradient(
            180deg,
            rgba(238, 242, 241, 0.82) 0%,
            rgba(14, 60, 54, 0.68) 55%,
            rgba(8, 47, 42, 0.78) 100%
        );
    }

    .home-intro-has-bg h1 {
        color: var(--white);
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    }

    .home-intro-has-bg .home-intro-accent {
        color: #f0e6d4;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    }

    .home-intro-has-bg .home-intro-lead {
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    }

    .home-intro-has-bg .home-intro-lead strong {
        color: #fff;
    }
}

.home-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--accent-soft) 100%);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.92rem;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 18px;
}

.home-intro-badge i {
    color: var(--accent);
    font-size: 1.05rem;
}

.home-intro h1 {
    margin: 0 0 14px;
    font-size: clamp(1.55rem, 4.2vw, 2.15rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.35;
}

.home-intro-lead {
    margin: 0 auto 22px;
    max-width: 34em;
    font-size: 1.12rem;
    color: var(--gray);
    line-height: 1.75;
}

.home-intro-lead strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.home-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 4px;
}

@media (min-width: 640px) {
    .home-quick-actions {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

.home-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 12px;
    background: var(--white);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--dark);
    font-weight: 800;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.35;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    min-height: 108px;
}

.home-quick-card i {
    font-size: 1.7rem;
    color: var(--primary);
}

.home-quick-card:hover {
    transform: translateY(-4px);
    border-color: rgba(154, 123, 46, 0.35);
    box-shadow: var(--shadow);
}

.home-quick-card.accent i {
    color: var(--accent);
}

.hero-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 4px;
}

.hero-slide-actions .shop-btn-ghost {
    border-color: rgba(255, 255, 255, 0.45);
}

.shop-section-title .section-kicker {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--accent);
    margin: 0 0 8px;
}

/* معرض 6 صور — صيانة أجهزة منزلية (بعد «مميز ليك») */
.home-appliance-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.home-appliance-gallery-item {
    margin: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    background: var(--white);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-appliance-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.home-appliance-gallery-item img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    vertical-align: middle;
}

.home-appliance-gallery-item figcaption {
    padding: 10px 12px 12px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    line-height: 1.35;
}

.home-appliance-gallery-cta {
    text-align: center;
    margin: 28px 0 0;
}

@media (max-width: 900px) {
    .home-appliance-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .home-appliance-gallery-item img {
        height: 160px;
    }
}

@media (max-width: 520px) {
    .home-appliance-gallery-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .home-appliance-gallery-item img {
        height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide.active .hero-slide-bg {
        animation: none;
    }
    .hero-slide {
        transition: opacity 0.35s ease, visibility 0.35s;
    }
    .hero-slide.active .hero-animate {
        animation: none !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .product-strip-card {
        animation: none;
    }
    .shop-brand-logo,
    .shop-menu-toggle,
    .shop-drawer-close {
        transition: none;
    }
}
