* {margin:0;padding:0;box-sizing:border-box;}
body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    background:#f8f8f9;
    line-height: 1.6;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}


/* نوار بالا */
.top-bar {
    background: var(--steel);
    color: var(--frost);
    padding: 8px 0;
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
}
.top-bar .ticker {
    display:inline-block;
    animation: scrollLeft 25s linear infinite;
}
.top-bar span {margin-left:40px;}
@keyframes scrollLeft {
    0% {transform:translateX(100%);} 
    100% {transform:translateX(-100%);} 
}

:root {
    --ink: #14171b;
    --steel: #23272d;
    --steel-line: #343a42;
    --ember: #ff5a2b;
    --ember-deep: #d9451e;
    --copper: #f2a154;
    --frost: #f8f9fb;
    --muted: #9aa1ab;
    --text: var(--ink);
    --accent: var(--ember);
    --accent-soft: rgba(255,90,43,0.18);
    --radius: 14px;
    --header-height: 74px;
    --space: 8px;
}

.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000; 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: #fff;
    color: var(--text);
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

body.home-page .main-header {
    position: fixed;
    transform: translateY(-100%);
    background: transparent;
    box-shadow: none;
}

body.home-page .main-header.is-scrolled {
    background: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(255,255,255,0.14);
    box-shadow: 0 20px 48px rgba(24,24,24,0.18);
    transform: translateY(0); /* slide into view when scrolled */
}

body:not(.home-page) .main-header.is-scrolled {
    background: #fff;
}

body:not(.home-page) .main-header {
    background: #fff;
}

body:not(.home-page) .nav-link,
body:not(.home-page) .nav-link.btn-link,
body:not(.home-page) .nav-link.has-dropdown,
body:not(.home-page) .dropdown-item {
    color: black;
    text-shadow: none;
}

body:not(.home-page) .nav-link:hover,
body:not(.home-page) .nav-link:focus-visible,
body:not(.home-page) .nav-link.btn-link:hover,
body:not(.home-page) .nav-link.has-dropdown:hover,
body:not(.home-page) .dropdown-item:hover,
body:not(.home-page) .dropdown-item:focus-visible {
    background: rgba(255,90,43,0.08);
    color: black;
}

body.home-page .nav-link,
body.home-page .nav-link.btn-link,
body.home-page .nav-link.has-dropdown,
body.home-page .dropdown-item,
body.home-page .brand-logo,
body.home-page .brand-label {
    color: black;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}

body.home-page .main-header.is-scrolled .nav-link,
body.home-page .main-header.is-scrolled .brand-label {
    color: black;
}

.main-header.is-scrolled .nav-link:hover,
.main-header.is-scrolled .nav-link:focus-visible {
    background: white;
}
.header-inner {
    display: grid;
    grid-template-columns: minmax(auto, 220px) 1fr minmax(auto, 280px);
    align-items: center;
    gap: calc(var(--space) * 3);
    min-height: var(--header-height);
    padding: 0 24px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--space) * 1);
    text-decoration: none;
    color: var(--frost);
}

.brand-logo img {
    width: 44px;
    height: 44px;
    display: block;
}

.brand-label {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--frost);
}

.main-nav {
    position: relative;
}

.mobile-search-wrap {
    display: none;
}

.nav-menu {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(128px, 1fr);
    justify-content: center;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    min-width: 128px;
}

.nav-item > form {
    display: contents;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    color: black;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 16px;
    transition: color 0.28s ease, background 0.28s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--accent);
    background: var(--accent-soft);
}

.nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

.nav-link.active::after {
    transform: scaleX(1);
    opacity: 1;
}

.nav-link.btn-link,
.nav-link.has-dropdown,
.dropdown-item {
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    appearance: none;
    color: var(--frost);
}

.nav-link.btn-link:hover,
.nav-link.has-dropdown:hover,
.dropdown-item:hover,
.dropdown-item:focus-visible {
    background: rgba(255,90,43,0.12);
}

.nav-link.btn-link {
    padding: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.dropdown-wrap {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 50%;
    transform: translateX(50%) translateY(6px);
    width: min(560px, 86vw);
    background: white;
    border: 1px solid var(--steel-line);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.dropdown-wrap[aria-expanded="true"] .dropdown-panel,
.dropdown-panel.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(50%) translateY(0);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--frost);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    background: transparent;
    border: none;
    text-align: right;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
}

.dropdown-item:hover,
.dropdown-item:focus-visible,
.dropdown-item.active {
    background: rgba(255,90,43,0.14);
    color: var(--copper);
}

.dropdown-item .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--ember); flex-shrink: 0;
}

.dropdown-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--steel-line);
}

.dropdown-footer a {
    color: var(--muted);
    font-size: .82rem;
    text-decoration: none;
}

.dropdown-footer a:hover {
    color: var(--copper);
}

.search-toggle,
.mobile-menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    border: 1px solid var(--steel-line);
    background: rgba(255,255,255,0.08);
    color: black;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
}

.search-toggle:hover,
.mobile-menu-toggle:hover {
    background: rgba(255,255,255,0.14);
}

.search-toggle:focus-visible,
.mobile-menu-toggle:focus-visible {
    outline: 2px solid rgba(211,84,0,0.35);
    outline-offset: 3px;
}

.search-panel {
    width: 44px;
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--steel-line);
    overflow: hidden;
    transition: width 0.32s ease, background 0.32s ease, box-shadow 0.32s ease;
}

.search-panel.open {
    width: min(332px, calc(100vw - 144px));
    background: var(--steel);
    box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}

.search-panel.closed {
    background: rgba(255,255,255,0.08);
}

.search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
    gap: 8px;
    padding-inline: 12px;
}

.search-panel.closed .search-form {
    padding-inline: 0;
    gap: 0;
    justify-content: center;
}

.search-form input {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--frost);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0;
    min-width: 0;
}

.search-form input::placeholder {
    color: rgba(248,249,251,0.65);
}

.search-form input:focus {
    outline: none;
}

.search-panel.closed .search-form input {
    width: 0;
    opacity: 0;
    pointer-events: none;
}

.search-submit {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.22s ease, background 0.22s ease;
}

.search-submit:hover {
    transform: scale(1.04);
    background: #bd5a00;
}

.search-submit svg {
    width: 18px;
    height: 18px;
}

.mobile-menu-toggle {
    display: none;
    position: relative;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
    transition: transform 0.32s ease, opacity 0.32s ease;
}

.mobile-menu-panel {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 20000;
    overflow: hidden;
    pointer-events: none;
    isolation: isolate;
    opacity: 0;
    visibility: hidden;
    transition: opacity 360ms ease, visibility 360ms ease;
    will-change: opacity, visibility;
}

.mobile-menu-panel.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    transition: background 360ms ease, backdrop-filter 360ms ease;
}

.mobile-menu-panel.open .mobile-menu-backdrop {
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(10px);
}

.mobile-menu-content {
    position: relative;
    /* use a sidebar width so content slides in nicely */
    width: min(420px, 92vw);
    max-width: 100%;
    height: 100%;
    padding: 22px 18px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
    background: rgba(12, 14, 18, 0.98);
    color: var(--frost);
    transform: translateX(-12%);
    opacity: 0;
    transition: transform 360ms cubic-bezier(.2,.9,.2,1), opacity 260ms ease;
    box-shadow: 0 24px 48px rgba(6, 8, 10, 0.6);
}

.mobile-menu-panel.open .mobile-menu-content {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mobile-menu-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--frost);
}

.mobile-menu-close {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: var(--frost);
}

.mobile-nav-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    width: 100%;
}

.mobile-nav-link,
.mobile-nav-link.has-dropdown {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--frost);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible,
.mobile-nav-link.has-dropdown:hover,
.mobile-nav-link.has-dropdown:focus-visible {
    background: rgba(255, 90, 43, 0.14);
}

.mobile-nav-link.active,
.mobile-nav-link.has-dropdown.active {
    color: var(--ember);
}

.mobile-menu-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff5a2b 0%, #d9451e 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border: none;
}

.mobile-menu-contact svg {
    width: 18px;
    height: 18px;
}

.mobile-menu-panel .dropdown-panel {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    margin-top: 0;
    box-shadow: none;
    transition: height 0.24s ease, margin-top 0.24s ease, padding 0.24s ease;
}

.mobile-menu-panel .dropdown-wrap[aria-expanded="true"] .dropdown-panel {
    pointer-events: auto;
    height: auto;
    padding: 12px 0 0;
    margin-top: 10px;
}

.mobile-menu-panel .dropdown-wrap[aria-expanded="true"] .dropdown-panel {
    transform: none;
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel .dropdown-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.mobile-nav-link.has-dropdown {
    position: relative;
}

.mobile-nav-link.has-dropdown::after {
    content: '\25BC';
    margin-inline-start: 8px;
    font-size: 0.8rem;
    opacity: 0.65;
    transition: transform 0.24s ease;
}

.dropdown-wrap[aria-expanded="true"] > .mobile-nav-link.has-dropdown::after {
    transform: rotate(-180deg);
}

.mobile-menu-panel .dropdown-item {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    transition: background 0.2s ease;
}

.mobile-menu-panel .dropdown-item:hover,
.mobile-menu-panel .dropdown-item:focus-visible {
    background: rgba(255,90,43,0.12);
}

.mobile-menu-panel .dropdown-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu-panel .dropdown-footer a {
    display: inline-block;
    color: var(--ember);
    font-weight: 600;
    text-decoration: none;
}

.mobile-menu-panel .dropdown-footer a:hover {
    text-decoration: underline;
}

.mobile-menu-panel .dropdown-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-panel .mobile-search-form {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 12px;
}

.mobile-menu-panel .mobile-search-form input {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--frost);
    font-family: inherit;
}

.mobile-menu-panel .mobile-search-form input::placeholder {
    color: rgba(244, 245, 246, 0.6);
}

.mobile-menu-panel .search-submit {
    background: var(--ember);
}

.mobile-call-btn {
    display: none;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    background: var(--ember);
    color: #fff;
    padding: 0 14px;
    min-height: 44px;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    font-weight: 500;
    border: none;
    white-space: nowrap;
}

.mobile-call-btn svg {
    width: 18px;
    height: 18px;
}

.mobile-call-btn:hover,
.mobile-call-btn:focus-visible {
    background: #d9451e;
}

.breadcrumb-wrapper{background:#fff;padding:15px 0;margin-bottom:30px;box-shadow:0 2px 5px rgba(0,0,0,.05)}
.breadcrumb{background:0 0;padding:0;margin:0;font-size:14px}
.breadcrumb-item+.breadcrumb-item::before{content:"←";padding:0 8px;color:#999}
.breadcrumb-item a{color:var(--main);text-decoration:none}
.breadcrumb-item a:hover{text-decoration:underline}
.breadcrumb-item.active{color:#666}

@media (max-width: 1199px) {
    .header-inner {
        grid-template-columns: minmax(auto, 180px) 1fr minmax(auto, 240px);
        gap: 16px;
        padding: 0 20px;
    }

    .nav-menu {
        gap: 12px;
    }
}

@media (max-width: 991px) {
    .main-header {
        padding: 0;
    }

    .header-inner {
        grid-template-columns: minmax(auto, 180px) auto;
        gap: 12px;
        padding: 0 18px;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        z-index: 9999;
        transform: translateX(100%);
        background: rgba(20,20,26,0.98);
        padding: 90px 22px 24px;
        display: grid;
        align-items: start;
        overflow-y: auto;
    }

    .main-nav.open {
        transform: translateX(0);
        opacity: 1;
        z-index: 9999;
    }

    .mobile-search-wrap {
        display: block;
        margin-bottom: 16px;
    }

    .mobile-call-btn {
        display: inline-flex;
    }

    .header-actions {
        gap: 10px;
    }

    .mobile-search-form {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 12px 12px;
        background: var(--steel);
        border: 1px solid var(--steel-line);
        border-radius: 14px;
    }

    .mobile-search-form input {
        width: 100%;
        border: none;
        background: transparent;
        color: var(--frost);
        font-family: inherit;
        font-size: 0.95rem;
        padding: 0;
    }

    .mobile-search-form input::placeholder {
        color: var(--muted);
    }

    .mobile-search-form input:focus {
        outline: none;
    }

    .search-panel {
        display: none;
    }

    .nav-menu {
        display: grid;
        grid-auto-flow: row;
        grid-auto-columns: 1fr;
        gap: 12px;
        align-items: stretch;
    }

    .nav-item {
        min-width: auto;
    }
.nav-link {
    justify-content: space-between;
    padding: 0 18px;
    border-radius: 14px;
    background: var(--steel);
    border: 1px solid var(--steel-line);
    color: var(--frost);
    min-height: 54px;
}

.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(255,90,43,0.12);
    border-color: var(--ember);
}

.nav-link.active {
    background: rgba(255,90,43,0.16);
    border-color: var(--ember);
    color: var(--copper);
}
    .dropdown-panel {
        position: static;
        width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        height: 0;
        padding: 0;
        overflow: hidden;
        border: none;
        margin-top: 0;
        box-shadow: none;
    }

    .dropdown-wrap[aria-expanded="true"] .dropdown-panel {
        pointer-events: auto;
        height: auto;
        padding: 10px;
        margin-top: 6px;
        border: 1px solid var(--steel-line);
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
    }

    .search-toggle {
        display: inline-flex;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }
}

@media (max-width: 576px) {
    .header-inner {
        grid-template-columns: 1fr auto;
        padding: 0 16px;
    }

    .brand-logo img {
        width: 40px;
        height: 40px;
    }

    .search-submit {
        width: 38px;
        height: 38px;
    }

    .nav-link {
        min-height: 52px;
        font-size: 14px;
    }
}

.section-title {
    font-size:28px;
    text-align:center;
    margin:50px 0 30px;
    color:#333;
}

.category-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-bottom:50px;
}
.category-card {
    background:#fff;
    border-radius:12px;
    padding:35px;
    text-align:center;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
    transition:.3s;
    cursor:pointer;
}
.category-card:hover {
    transform:translateY(-8px);
}
.category-icon {
    font-size:55px;
    margin-bottom:15px;
}

.slider-container {
    position:relative;
    margin-bottom:60px;
    overflow: hidden;
}
.slider-track {
    display:flex;
    gap:25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 5px;
}
.slider-track::-webkit-scrollbar {
    height: 8px;
}
.slider-track::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.slider-track::-webkit-scrollbar-thumb {
    background: var(--main);
    border-radius: 10px;
}

.product-card {
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
    min-width:290px;
    transition:.3s;
    flex-shrink:0;
}
.product-card:hover {
    transform:translateY(-8px);
}
.product-image {
    height:210px;
    background:#fdf2e9;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:60px;
    color:var(--main-2);
}
.product-info {
    padding:20px;
    text-align:center;
}
.product-info h3 {
    font-size:17px;
    margin-bottom:8px;
    height:48px;
    overflow:hidden;
}
.product-meta {
    font-size:13px;
    color:#777;
    margin-bottom:12px;
}
.price {
    font-size:20px;
    font-weight:bold;
    color:var(--main);
    margin-bottom:15px;
}
.add-cart-btn {
    width:100%;
    background:var(--main);
    color:#fff;
    padding:12px;
    border:none;
    border-radius:6px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}
.add-cart-btn:hover {
    background:var(--main-2);
}

.features {
    background:#fff;
    padding:60px 0;
}
.features-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
    text-align:center;
}
.feature-icon {
    font-size:52px;
    color:var(--main);
    margin-bottom:15px;
}

footer {
    background:#1a1a1a;
    color:#ddd;
    padding:60px 0 20px;
    margin-top:80px;
}
.footer-content {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
    margin-bottom:40px;
}
.footer-section h3 {
    color:var(--main);
    margin-bottom:20px;
    font-size:20px;
}

/* color switcher UI */
.color-controls{display:flex;gap:8px;align-items:center}
.color-btn{width:28px;height:28px;border-radius:6px;border:2px solid rgba(255,255,255,0.6);cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,0.15)}
.color-btn.active{outline:3px solid rgba(255,255,255,0.25);transform:translateY(-2px)}
.color-btn.orange{background:#d35400}
.color-btn.blue{background:#002a68}
.color-btn.green{background:#00ac6d}
.color-btn.gray{background:#292929}
.color-btn.purple{background:#00e4c2c7}
.footer-section a {
    color:#bbb;
    text-decoration:none;
    display:block;
    margin-bottom:10px;
}
.footer-section a:hover {
    color:#fff;
}
.footer-bottom {
    text-align:center;
    padding-top:25px;
    border-top:1px solid #333;
    color:#777;
    font-size:14px;
}

/* Trust Seal (eNamad) responsive styling */
.footer-trust-seal {
    text-align: center;
    padding: 30px 20px 20px;
    border-top: 1px solid #333;
}

.trust-seal-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trust-seal-wrapper a {
    display: inline-flex;
    align-items: center;
}

.trust-seal-wrapper img {
    max-width: 100px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.trust-seal-wrapper:hover img {
    transform: scale(1.05);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .trust-seal-wrapper img {
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .footer-trust-seal {
        padding: 20px 10px 15px;
    }
    
    .trust-seal-wrapper img {
        max-width: 70px;
    }
}

/* Render numbers left-to-right inside RTL layout (phone numbers) */
.ltr-num {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}

/* Keep the small filter card visually below the main navbar when scrolling */
.card.sticky-top {
    z-index: 5;
}


.floating-actions {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.floating-actions.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.fab-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.fab-btn:hover { transform: translateY(-3px); }
.fab-whatsapp { background: #25D366; }
.fab-top { background: var(--ember); }



/* Chrome, Edge, Opera, Safari */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        rgba(255, 122, 26, 0.82),
        rgba(255, 77, 38, 0.82)
    );
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background .25s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 136, 51, 0.95),
        rgba(255, 64, 0, 0.95)
    );
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 96, 32, 0.85) transparent;
}