/* === index.html === */

        /* --- DÉ™yiÅŸÉ™nlÉ™r vÉ™ SÄ±fÄ±rlama --- */
/* Header/promo/nav/footer chrome main.css-dən gəlir — dublikat silindi */

        :root {
            --brand-orange: var(--primary);
            --brand-dark: #e67e22;
            --glass: rgba(255, 255, 255, 0.12);
            --glass-border: rgba(255, 255, 255, 0.2);
            --text: #ffffff;
        }

        /* Arxa fon animasiyası */
        @keyframes flowGradient {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        @keyframes heroCatDriftA {
            0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
            50% { transform: translate3d(8px, -10px, 0) rotate(2deg); }
        }

        @keyframes heroCatDriftB {
            0%, 100% { transform: translate3d(0, 0, 0) rotate(2deg); }
            50% { transform: translate3d(-8px, 8px, 0) rotate(-1deg); }
        }

        @keyframes heroCatDriftC {
            0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
            50% { transform: translate3d(6px, 8px, 0) rotate(2deg); }
        }

        @keyframes heroCatFadeIn {
            from { opacity: 0; }
            to { opacity: var(--float-opacity, 0.9); }
        }

        /* Panel giriş animasiyası */
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(15px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Åžaquli mÉ™tn sÃ¼rÃ¼ÅŸmÉ™si */
        @keyframes ms-vertical-slide-infinite {

            0%,
            20% {
                transform: translateY(0);
            }

            33%,
            53% {
                transform: translateY(-40px);
            }

            66%,
            86% {
                transform: translateY(-80px);
            }

            100% {
                transform: translateY(0);
            }
        }


        .search-section {
            position: relative;
            isolation: isolate;
            overflow: hidden;
            padding: 10px 0 12px;
            /* Traktor sarı — sabit, dəyişmir */
            background: #f0a818;
            background-image: none;
            animation: none;
            display: flex;
            align-items: center;
            margin: 0;
        }

        /* Header ilə sarı kart arasındakı boz boşluğu sil */
        body:has(#axtaris) .site-main,
        .site-main:has(#axtaris),
        .site-main:has(.search-section) {
            padding-top: 0 !important;
        }

        .search-section__inner {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            gap: 10px;
            width: 100%;
        }

        .search-section__top {
            display: grid;
            grid-template-columns: minmax(160px, 240px) minmax(0, 1fr) minmax(160px, 240px);
            gap: 8px 16px;
            align-items: center;
            min-height: 0;
        }

        .search-section__copy {
            min-width: 0;
            position: relative;
            z-index: 2;
            justify-self: center;
            text-align: center;
            max-width: 560px;
            width: 100%;
        }

        .search-section__copy .ms-heavy-machinery-hero__wrapper {
            margin-bottom: 8px;
            font-size: 26px;
            color: #1f1408;
            justify-content: center;
        }

        .search-section__copy .ms-heavy-machinery-hero__static-text,
        .search-section__copy .ms-dynamic-text-scroller__item {
            color: #1f1408;
        }

        .search-section__copy .tabs-container {
            margin-bottom: 0;
            justify-content: center;
        }

        .search-section__copy .tabs-container label {
            background: rgba(255, 255, 255, 0.55);
            border: 1px solid rgba(80, 40, 0, 0.18);
            color: #2a1808;
            text-shadow: none;
            font-weight: 700;
        }

        .search-section__copy .tabs-container input:checked + label {
            background: #1f1408;
            border-color: #1f1408;
            color: #fff;
            box-shadow: 0 4px 12px rgba(31, 20, 8, 0.25);
        }

        .search-section__form {
            width: 100%;
            position: relative;
            z-index: 3;
        }

        /* Sol / sağ kateqoriya şəkilləri */
        .search-section__stage {
            position: relative;
            height: 108px;
            min-height: 108px;
            pointer-events: none;
            z-index: 1;
        }

        .search-section__float {
            position: absolute;
            display: block;
            width: 100px;
            opacity: 0;
            --float-opacity: 1;
            filter: drop-shadow(0 6px 10px rgba(80, 40, 0, 0.22));
            animation:
                heroCatFadeIn 0.8s ease forwards,
                heroCatDriftA 18s ease-in-out infinite;
            will-change: transform;
        }

        .search-section__float img {
            display: block;
            width: 100%;
            height: auto;
            object-fit: contain;
            user-select: none;
            -webkit-user-drag: none;
        }

        /* Sağ tərəf */
        .search-section__float--R1 {
            left: 28%;
            top: 0;
            width: 108px;
            animation-delay: 0s, 0s;
            animation-name: heroCatFadeIn, heroCatDriftA;
            z-index: 3;
        }
        .search-section__float--R2 {
            left: 0;
            bottom: 0;
            width: 86px;
            --float-opacity: 0.95;
            animation-delay: 0.1s, -5s;
            animation-name: heroCatFadeIn, heroCatDriftB;
            z-index: 2;
        }
        .search-section__float--R3 {
            right: 0;
            bottom: 2%;
            width: 92px;
            --float-opacity: 0.95;
            animation-delay: 0.16s, -8s;
            animation-name: heroCatFadeIn, heroCatDriftC;
            z-index: 2;
        }

        /* Sol tərəf — digər kateqoriyalar */
        .search-section__float--L1 {
            right: 22%;
            top: 0;
            width: 104px;
            animation-delay: 0.05s, -3s;
            animation-name: heroCatFadeIn, heroCatDriftB;
            z-index: 3;
        }
        .search-section__float--L2 {
            left: 0;
            bottom: 0;
            width: 84px;
            --float-opacity: 0.95;
            animation-delay: 0.12s, -7s;
            animation-name: heroCatFadeIn, heroCatDriftC;
            z-index: 2;
        }
        .search-section__float--L3 {
            right: 0;
            bottom: 4%;
            width: 90px;
            --float-opacity: 0.92;
            animation-delay: 0.2s, -11s;
            animation-name: heroCatFadeIn, heroCatDriftA;
            z-index: 2;
        }

        @media (max-width: 1100px) {
            .search-section__top {
                grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) minmax(120px, 180px);
            }

            .search-section__float--R1,
            .search-section__float--L1 {
                width: 88px;
            }
            .search-section__float--R2,
            .search-section__float--R3,
            .search-section__float--L2,
            .search-section__float--L3 {
                width: 72px;
            }
        }

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

            .search-section__stage {
                display: none;
            }

            .search-section__copy {
                justify-self: stretch;
                text-align: left;
                max-width: none;
            }

            .search-section__copy .ms-heavy-machinery-hero__wrapper,
            .search-section__copy .tabs-container {
                justify-content: flex-start;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .search-section__float {
                animation: none;
                opacity: var(--float-opacity, 1);
            }
        }

        .container {
            max-width: var(--container-max, 1140px);
            margin: 0 auto;
            padding: 0 var(--container-pad, 20px);
            width: 100%;
            box-sizing: border-box;
        }

        /* AnimasiyalÄ± BaÅŸlÄ±q Stili */
        .ms-heavy-machinery-hero__wrapper {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            font-size: 32px;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 30px;
        }

        .ms-dynamic-text-scroller {
            height: 40px;
            overflow: hidden;
            margin-left: 12px;
            position: relative;
        }

        .ms-dynamic-text-scroller__list {
            margin: 0;
            padding: 0;
            list-style: none;
            display: flex;
            flex-direction: column;
            animation: ms-vertical-slide-infinite 4s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
        }

        .ms-dynamic-text-scroller__item {
            height: 40px;
            display: flex;
            align-items: center;
            color: #ffffff;
            white-space: nowrap;
        }

        /* Tablar */
        .tabs-container {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }

        .tabs-container input {
            display: none;
        }

        .tabs-container label {
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            padding: 8px 20px;
            background: rgba(0, 0, 0, 0.32);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 50px;
            color: #fff;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .tabs-container input:checked+label {
            background: var(--brand-orange);
            border-color: #fff;
            color: #fff;
            text-shadow: none;
            box-shadow: 0 4px 14px rgba(247, 151, 28, 0.55);
        }

        /* Axtarış Paneli */
        .search-section .search-panel {
            background: rgba(255, 255, 255, 0.42);
            border: 1px solid rgba(80, 40, 0, 0.14);
            backdrop-filter: blur(12px);
        }

        .search-panel {
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 14px;
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
            gap: 10px;
            align-items: stretch;
            overflow: visible;
            position: relative;
            z-index: 30;
        }

        .field-animate {
            animation: slideUp 0.4s ease forwards;
        }

        .search-panel .input-group {
            position: relative;
            min-width: 0;
            overflow: visible;
            z-index: 1;
        }

        .search-panel .input-group:focus-within,
        .search-panel .input-group:has(.searchable-select__trigger[aria-expanded="true"]) {
            z-index: 40;
        }

        .search-panel .input-group--icon .input-group__icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 2;
            color: #f7971c;
            font-size: 13px;
            pointer-events: none;
        }

        .search-panel .input-group--icon .searchable-select__trigger,
        .search-panel .input-group--icon > input {
            padding-left: 36px !important;
        }

        .search-panel .input-group input,
        .search-panel .input-group select,
        .search-panel .searchable-select__trigger {
            width: 100%;
            min-height: 46px;
            padding: 11px 14px;
            border-radius: 12px;
            border: 1px solid transparent;
            background: #fff;
            font-size: 14px;
            font-weight: 600;
            outline: none;
            box-sizing: border-box;
            color: #1f2937;
            box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
        }

        .search-panel .searchable-select {
            width: 100%;
            position: relative;
        }

        .search-panel .searchable-select__native,
        .search-panel .input-group select.searchable-select__native {
            position: absolute !important;
            left: 0 !important;
            top: 0 !important;
            width: 1px !important;
            height: 1px !important;
            min-height: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
            opacity: 0 !important;
            border: 0 !important;
            overflow: hidden !important;
            pointer-events: none !important;
            box-shadow: none !important;
        }

        .search-panel .searchable-select__trigger {
            text-align: left;
            cursor: pointer;
            padding-right: 34px;
            position: relative;
            border: 1px solid transparent;
        }

        .search-panel .searchable-select__trigger::after {
            content: '';
            position: absolute;
            right: 14px;
            top: 50%;
            width: 7px;
            height: 7px;
            border-right: 2px solid #94a3b8;
            border-bottom: 2px solid #94a3b8;
            transform: translateY(-65%) rotate(45deg);
        }

        .search-panel .searchable-select__dropdown {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            right: 0;
            z-index: 80;
            background: #fff;
            border: 1px solid #e8ecf1;
            border-radius: 14px;
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
            overflow: hidden;
        }

        .search-panel .searchable-select__search {
            width: 100%;
            min-height: 42px;
            padding: 11px 12px 11px 36px;
            border: none;
            border-bottom: 1px solid #eef2f6;
            font-size: 14px;
            outline: none;
            box-shadow: none !important;
            background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242.656a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") 12px 50% / 14px no-repeat;
        }

        .search-panel .input-group input::placeholder {
            color: #94a3b8;
            opacity: 1;
            font-weight: 500;
        }

        .btn-search {
            background: linear-gradient(135deg, #f7971c, #ea580c);
            color: white;
            border: none;
            min-height: 46px;
            padding: 11px 22px;
            border-radius: 12px;
            font-weight: 800;
            cursor: pointer;
            transition: 0.3s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            white-space: nowrap;
            box-shadow: 0 8px 18px rgba(234, 88, 12, 0.3);
        }

        .btn-search:hover {
            background: #e67e22;
            transform: translateY(-1px);
        }

        /* Responsivlik */
        @media (max-width: 1024px) {
            .search-panel {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .btn-search {
                grid-column: span 3;
            }
        }

        @media (max-width: 600px) {
            .ms-heavy-machinery-hero__wrapper {
                font-size: 24px;
                flex-wrap: wrap;
            }

            .search-panel {
                grid-template-columns: 1fr;
            }

            .btn-search {
                grid-column: span 1;
            }
        }
    


        :root {
            --primary-color: var(--primary);
            --secondary-color: var(--danger-bright);
            --dark-text: #2f3542;
            --light-bg: #f1f2f6;
            --white: #ffffff;
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .main-site-wrapper-container {
            display: grid;
            grid-template-columns: 260px minmax(0, 1fr) 260px;
            gap: 16px;
            max-width: 1400px;
            margin: 8px auto 20px;
            padding: 0 15px;
            align-items: stretch;
        }

        /* --- Responsive Grid Layout --- */
        @media (max-width: 1200px) {
            .main-site-wrapper-container {
                grid-template-columns: 230px 1fr;
            }

            .promotional-marketing-sidebar-aside,
            .home-banner--promo {
                grid-column: span 2;
            }
        }

        @media (max-width: 992px) {
            .main-site-wrapper-container {
                grid-template-columns: 1fr;
            }

            .home-cat-panel,
            .home-left-ad,
            .home-banner--ad,
            .navigation-sidebar-category-section,
            .promotional-marketing-sidebar-aside,
            .home-banner--promo {
                grid-column: span 1;
            }

            .home-cat-panel,
            .navigation-sidebar-category-section {
                display: none;
            }
        }

        /* --- Unified home banner strip (ad | carousel | promo) --- */
        .home-left-ad,
        .home-banner--ad,
        .home-banner--carousel,
        .central-hero-carousel-display-area,
        .home-banner--promo,
        .promotional-marketing-sidebar-aside {
            height: 280px;
        }

        .home-banner,
        .home-left-ad,
        .central-hero-carousel-display-area,
        .promo-sidebar-card {
            border-radius: 16px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
            border: 1px solid rgba(15, 23, 42, 0.06);
        }

        .home-banner--ad,
        .home-left-ad,
        .home-banner--promo,
        .promotional-marketing-sidebar-aside {
            position: sticky;
            top: 72px;
        }

        .home-banner__link {
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
            text-decoration: none;
            color: inherit;
            position: relative;
            background: #0f172a;
        }

        .home-banner__media {
            flex: 1;
            min-height: 0;
            display: grid;
            place-items: center;
            padding: 10px;
            background:
                linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
        }

        .home-banner__media img,
        .home-left-ad__img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            display: block;
        }

        .home-banner__tag,
        .home-left-ad__badge {
            position: absolute;
            top: 10px;
            left: 10px;
            z-index: 3;
            display: inline-flex;
            padding: 4px 9px;
            border-radius: 999px;
            background: rgba(15, 23, 42, 0.72);
            color: #fff;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            backdrop-filter: blur(6px);
        }

        .home-banner__foot,
        .home-left-ad__caption {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 2;
            padding: 28px 12px 12px;
            background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.82) 48%);
            color: #fff;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .home-banner__foot strong,
        .home-left-ad__caption strong {
            font-size: 0.88rem;
            font-weight: 800;
            line-height: 1.25;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .home-banner__foot em,
        .home-left-ad__caption em {
            font-style: normal;
            font-size: 0.72rem;
            opacity: 0.8;
        }

        .home-banner__link--empty,
        .home-left-ad__fallback {
            align-items: flex-start;
            justify-content: flex-end;
            gap: 6px;
            padding: 16px;
            background:
                radial-gradient(circle at top right, rgba(247, 151, 28, 0.22), transparent 42%),
                linear-gradient(160deg, #111827 0%, #0f172a 100%);
            color: #fff;
        }

        .home-banner__empty-icon,
        .home-left-ad__fallback-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: grid;
            place-items: center;
            background: rgba(247, 151, 28, 0.18);
            color: #fb923c;
            font-size: 1.1rem;
            margin: auto 0 6px;
        }

        .home-banner__link--empty strong,
        .home-left-ad__fallback strong {
            font-size: 1rem;
            font-weight: 800;
            line-height: 1.25;
        }

        .home-banner__empty-text {
            font-size: 0.8rem;
            opacity: 0.78;
        }

        .home-banner__cta-text,
        .home-left-ad__fallback em {
            margin-top: 6px;
            font-style: normal;
            font-size: 0.86rem;
            font-weight: 750;
            color: #fb923c;
        }

        /* Legacy category panel kept for other pages if needed */
        .home-cat-panel {
            background: #fff;
            border: 1px solid #e8ecf1;
            border-radius: 16px;
            padding: 10px;
            box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
            height: 280px;
            display: flex;
            flex-direction: column;
            position: sticky;
            top: 72px;
            overflow: hidden;
        }

        .home-cat-panel__title {
            margin: 0 0 8px;
            padding: 8px 10px;
            font-size: 0.95rem;
            font-weight: 800;
            color: #0f172a;
            display: flex;
            align-items: center;
            gap: 8px;
            border-bottom: 1px solid #f1f5f9;
        }

        .home-cat-panel__title i {
            color: #ea580c;
        }

        .home-cat-panel__scroll {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            padding-right: 2px;
        }

        .home-cat-panel__scroll::-webkit-scrollbar {
            width: 4px;
        }

        .home-cat-panel__scroll::-webkit-scrollbar-thumb {
            background: rgba(234, 88, 12, 0.4);
            border-radius: 10px;
        }

        .home-cat-panel__list {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .home-cat-panel__item {
            position: relative;
        }

        .home-cat-panel__link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            padding: 8px 10px;
            border-radius: 10px;
            text-decoration: none;
            color: #334155;
            transition: background 0.15s ease, color 0.15s ease;
        }

        .home-cat-panel__link:hover {
            background: #fff7ed;
            color: #c2410c;
        }

        .home-cat-panel__left {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
        }

        .home-cat-panel__icon {
            width: 30px;
            height: 30px;
            border-radius: 9px;
            background: #fff7ed;
            color: #ea580c;
            display: grid;
            place-items: center;
            flex-shrink: 0;
            font-size: 13px;
            overflow: hidden;
        }

        .home-cat-panel__icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .home-cat-panel__name {
            font-size: 13px;
            font-weight: 650;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .home-cat-panel__chevron {
            font-size: 10px;
            color: #94a3b8;
            flex-shrink: 0;
        }

        .home-cat-panel__sub {
            display: none;
            position: absolute;
            left: calc(100% + 8px);
            top: 0;
            z-index: 20;
            min-width: 210px;
            margin: 0;
            padding: 8px;
            list-style: none;
            background: #fff;
            border: 1px solid #e8ecf1;
            border-radius: 12px;
            box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
        }

        .home-cat-panel__item.has-children:hover > .home-cat-panel__sub {
            display: block;
        }

        .home-cat-panel__sub a {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 10px;
            border-radius: 8px;
            text-decoration: none;
            color: #334155;
            font-size: 13px;
            font-weight: 600;
        }

        .home-cat-panel__sub a:hover {
            background: #fff7ed;
            color: #c2410c;
        }

        .home-cat-panel__sub i,
        .home-cat-panel__sub img {
            width: 16px;
            height: 16px;
            color: #ea580c;
            object-fit: contain;
        }

        .home-cat-panel__all {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            margin-top: 8px;
            padding: 9px 10px;
            border: none;
            border-radius: 10px;
            background: #f8fafc;
            color: #ea580c;
            font-size: 12px;
            font-weight: 750;
            font-family: inherit;
            text-decoration: none;
            flex-shrink: 0;
            cursor: pointer;
        }

        .home-cat-panel__all:hover {
            background: #ea580c;
            color: #fff;
        }

        /* Legacy class alias (older CSS hooks) */
        .navigation-sidebar-category-section {
            display: none;
        }

        .primary-nav-link-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 9px 12px;
            text-decoration: none;
            color: var(--dark-text);
            font-weight: 500;
            font-size: 13px;
            border-radius: 10px;
            transition: var(--transition);
            margin-bottom: 2px;
            line-height: 1.3;
        }

        .primary-nav-link-item span {
            display: flex;
            align-items: center;
            gap: 8px;
            min-width: 0;
        }

        .primary-nav-link-item span i {
            flex-shrink: 0;
        }

        .primary-nav-link-item i:first-child {
            width: 25px;
            color: var(--primary-color);
        }

        .category-nav-icon-wrap {
            width: 22px;
            height: 22px;
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .category-nav-icon-wrap img,
        .category-nav-icon {
            width: 22px;
            height: 22px;
            object-fit: contain;
        }

        .category-nav-icon-wrap i,
        .primary-nav-link-item .category-nav-icon-wrap i {
            width: auto;
            font-size: 14px;
            color: var(--primary-color, var(--primary));
        }

        .primary-navigation-item-has-children:hover>.primary-nav-link-item {
            background: var(--light-bg);
            color: var(--primary-color);
            transform: translateX(5px);
        }

        /* Alt Menyu (Submenu) ÃœÃ§Ã¼n MÃ¼asir Stil */
        .secondary-dropdown-menu-list {
            display: none;
            position: absolute;
            left: 100%;
            top: -10px;
            /* Æsas menyu ilÉ™ eyni hizada baÅŸlasÄ±n */
            width: 260px;
            background: #ffffff;

            /* Daha yumÅŸaq vÉ™ dÉ™rinlik verÉ™n kÃ¶lgÉ™ */
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);

            z-index: 1001;
            border-radius: 14px;
            padding: 12px;
            list-style: none;

            /* Sol tÉ™rÉ™fdÉ™ki incÉ™ vurÄŸu xÉ™tti */
            border-left: 4px solid var(--primary-color);
            margin-left: 15px;
            /* Ana menyu ilÉ™ submenu arasÄ±nda kiÃ§ik boÅŸluq */
        }

        /* Alt Menyu DaxilindÉ™ki LinklÉ™r */
        .secondary-dropdown-menu-list li a {
            display: block;
            padding: 10px 15px;
            color: #444;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.2s ease;
        }

        /* Linkin Ã¼zÉ™rinÉ™ gÉ™ldikdÉ™ (Hover) */
        .secondary-dropdown-menu-list li a:hover {
            background-color: var(--light-bg);
            /* YÃ¼ngÃ¼l fon rÉ™ngi */
            color: var(--primary-color);
            padding-left: 20px;
            /* SaÄŸa sÃ¼rÃ¼ÅŸmÉ™ effekti */
        }

        /* Hover zamanÄ± menyunun aÃ§Ä±lmasÄ± */
        .primary-navigation-item-has-children:hover .secondary-dropdown-menu-list {
            display: block;
            animation: slideInAndFade 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
        }

        /* Daha axÄ±cÄ± animasiya */
        @keyframes slideInAndFade {
            0% {
                opacity: 0;
                transform: translateX(20px);
            }

            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* AradakÄ± boÅŸluqda mausun itmÉ™mÉ™si Ã¼Ã§Ã¼n "gÃ¶rÃ¼nmÉ™z kÃ¶rpÃ¼" */
        .primary-navigation-item-has-children::after {
            content: "";
            position: absolute;
            right: -20px;
            top: 0;
            width: 20px;
            height: 100%;
        }

        /* --- Home carousel --- */
        .home-banner--carousel,
        .central-hero-carousel-display-area {
            position: relative;
            background: #0f172a;
        }

        @media (max-width: 768px) {
            .home-banner--carousel,
            .central-hero-carousel-display-area {
                height: 200px;
            }

            .home-cat-panel,
            .home-left-ad,
            .home-banner--ad,
            .home-banner--promo,
            .navigation-sidebar-category-section,
            .promotional-marketing-sidebar-aside {
                height: auto;
                max-height: none;
                position: static;
            }

            .home-left-ad,
            .home-banner--ad {
                height: 160px;
            }

            .home-banner--promo,
            .promotional-marketing-sidebar-aside,
            .promo-sidebar-card,
            .home-banner__promo {
                height: auto;
                min-height: 200px;
            }
        }

        .home-banner__slide,
        .carousel-slide-element {
            display: none;
            height: 100%;
            text-decoration: none;
            position: relative;
            overflow: hidden;
        }

        .home-banner__slide.active-carousel-state,
        .home-banner__slide.is-active,
        .carousel-slide-element.active-carousel-state {
            display: flex;
            align-items: flex-end;
        }

        .home-banner__slide-bg {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.62) 100%),
                var(--slide-image);
            background-size: cover;
            background-position: center;
            transform: scale(1.02);
        }

        .home-banner__slide--empty {
            background: #1f2937;
        }

        .home-banner__slide-bar {
            position: relative;
            z-index: 2;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 14px 16px;
            background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.78) 40%);
        }

        .home-banner__slide-title,
        .carousel-main-display-title {
            margin: 0;
            color: #fff;
            font-size: 0.98rem;
            font-weight: 750;
            letter-spacing: -0.01em;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            min-width: 0;
            flex: 1;
        }

        .home-banner__slide-cta,
        .carousel-cta-chip {
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            border-radius: 999px;
            background: #fff;
            color: #0f172a;
            font-size: 12px;
            font-weight: 750;
            box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
        }

        .carousel-caption-text-holder { display: none; }

        .home-banner__nav,
        .carousel-control-btn-prev,
        .carousel-control-btn-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 4;
            width: 34px;
            height: 34px;
            border: 0;
            border-radius: 50%;
            background: rgba(15, 23, 42, 0.45);
            color: #fff;
            display: grid;
            place-items: center;
            cursor: pointer;
            backdrop-filter: blur(4px);
        }

        .home-banner__nav--prev,
        .carousel-control-btn-prev { left: 10px; }

        .home-banner__nav--next,
        .carousel-control-btn-next { right: 10px; }

        .home-banner__nav:hover,
        .carousel-control-btn-prev:hover,
        .carousel-control-btn-next:hover {
            background: rgba(15, 23, 42, 0.7);
        }

        .home-banner__dots,
        .carousel-dots {
            position: absolute;
            left: 50%;
            bottom: 58px;
            transform: translateX(-50%);
            display: flex;
            gap: 6px;
            z-index: 3;
        }

        .home-banner__dot,
        .carousel-dot {
            width: 7px;
            height: 7px;
            border-radius: 999px;
            border: none;
            padding: 0;
            background: rgba(255, 255, 255, 0.45);
            cursor: pointer;
        }

        .home-banner__dot.is-active,
        .carousel-dot.is-active {
            width: 18px;
            background: #fff;
        }

        /* --- Home promo card --- */
        .home-banner__promo,
        .promo-sidebar-card {
            height: 100%;
            min-height: 280px;
            padding: 16px;
            color: #fff;
            background:
                radial-gradient(circle at top right, rgba(247, 151, 28, 0.18), transparent 42%),
                linear-gradient(165deg, #111827 0%, #0f172a 58%, #1e293b 100%);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 10px;
            border-radius: 16px;
            overflow: hidden;
        }

        .home-banner__promo-top {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .home-banner__promo-badge,
        .promo-day-badge {
            display: inline-flex;
            align-self: flex-start;
            padding: 4px 10px;
            border-radius: 999px;
            background: rgba(234, 88, 12, 0.95);
            color: #fff;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.02em;
        }

        .home-banner__promo-title,
        .promo-sidebar-title {
            margin: 0;
            color: #fff;
            font-size: 1.15rem;
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: -0.02em;
        }

        .home-banner__promo-text,
        .promo-sidebar-text {
            margin: 0;
            font-size: 0.84rem;
            line-height: 1.4;
            color: rgba(255, 255, 255, 0.78);
        }

        .home-banner__promo-media,
        .promo-image-container {
            position: relative;
            z-index: 1;
            flex: 1;
            min-height: 0;
            display: grid;
            place-items: center;
        }

        .home-banner__promo-media img,
        .promo-product-img {
            max-width: 100%;
            max-height: 84px;
            width: auto;
            object-fit: contain;
            filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
            animation: none !important;
        }

        .home-banner__promo-bottom {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .discount-blob,
        .promo-sidebar-card::before {
            display: none !important;
            animation: none !important;
        }

        .price-tag {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary-color);
            margin: 10px 0;
            display: block;
        }

        .old-price {
            font-size: 1rem;
            color: #747d8c;
            text-decoration: line-through;
            margin-left: 10px;
        }

        .buy-now-btn,
        .home-banner__promo-cta {
            background: linear-gradient(135deg, #f7971c 0%, #ea580c 100%);
            color: #fff;
            border: none;
            width: 100%;
            padding: 11px 14px;
            border-radius: 12px;
            font-weight: 750;
            font-size: 0.9rem;
            cursor: pointer;
            transition: transform 0.15s ease, box-shadow 0.15s ease;
            outline: none;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 8px 18px rgba(234, 88, 12, 0.28);
            position: relative;
            z-index: 2;
        }

        .buy-now-btn:hover,
        .home-banner__promo-cta:hover {
            transform: translateY(-1px);
            color: #fff;
        }

        .buy-now-btn:active,
        .home-banner__promo-cta:active {
            transform: scale(0.98);
        }

        .timer-flex,
        .home-banner__timer {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin: 0;
        }

        .t-unit {
            background: rgba(255, 255, 255, 0.08);
            padding: 6px 8px;
            border-radius: 10px;
            min-width: 44px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .t-unit b {
            display: block;
            font-size: 1rem;
            font-weight: 800;
        }

        .t-unit span {
            font-size: 0.58rem;
            text-transform: uppercase;
            opacity: 0.7;
            letter-spacing: 0.04em;
        }

        .corporate-partnership-branding-slider-section {
            width: 100%;
            background-color: #ffffff;
            padding: 40px 0;
            margin: 20px 0;
            overflow: hidden;
            /* Kenardan Ã§Ä±xan loqolarÄ±n gÃ¶rÃ¼nmÉ™mÉ™si Ã¼Ã§Ã¼n */
            border-top: 1px solid #eeeeee;
            border-bottom: 1px solid #eeeeee;
        }

        .partnership-slider-main-viewport {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
        }

        .partnership-logos-track-overflow-container {
            display: flex;
            width: max-content;
            align-items: center;
            will-change: transform;
        }

        .partnership-logos-set {
            display: flex;
            flex-shrink: 0;
            align-items: center;
            gap: 30px;
            padding-right: 30px;
        }

        .individual-partner-logo-item {
            width: 160px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #fff;
            border: 1px solid #f0f0f0;
            border-radius: 12px;
            padding: 15px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .individual-partner-logo-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            border-color: var(--primary);
            /* Sizin rÉ™ng kodunuz */
        }

        .individual-partner-logo-item img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            opacity: 1;
            transition: all 0.3s ease;
        }

        .individual-partner-logo-item:hover img {
            opacity: 1;
        }

        .partner-brand-fallback {
            font-size: 13px;
            font-weight: 700;
            color: #2f3542;
            text-align: center;
            line-height: 1.3;
            padding: 0 6px;
        }

        @keyframes continuousScrollAnimation {
            from {
                transform: translateX(0);
            }

            to {
                transform: translateX(-50%);
            }
        }

        .partnership-logos-track-overflow-container {
            animation: continuousScrollAnimation 40s linear infinite;
        }

        .partnership-logos-track-overflow-container:hover {
            animation-play-state: paused;
        }
    


        :root {
            --primary: #f7971c;
            --secondary: #2f3542;
            --success: var(--success-bright);
            --info: #1e90ff;
            --danger: var(--danger-bright);
            --light: #f1f2f6;
        }

        .product-section {
            max-width: min(100%, var(--container-max, 1140px));
            margin: 28px auto 36px;
            padding: 0 16px;
            font-family: var(--font-sans);
        }

        .product-section--compact .equipment-header {
            margin-bottom: 10px;
        }

        .product-section--compact .equipment-tabs.filter-wrapper {
            display: flex;
            justify-content: flex-start;
            gap: 6px;
            margin: 0;
            flex-wrap: wrap;
        }

        .product-section--compact .equipment-tab-link.f-btn {
            padding: 5px 12px;
            border: 1px solid #e8ecf1;
            background: #fff;
            color: #64748b;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 650;
            box-shadow: none;
        }

        .product-section--compact .equipment-tab-link.f-btn.active,
        .product-section--compact .equipment-tab-link.f-btn:hover {
            color: var(--primary-dark, #d97706);
            border-color: rgba(245, 158, 11, 0.45);
            background: rgba(245, 158, 11, 0.1);
            box-shadow: none;
        }

        .product-section-header {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 20px;
        }

        .product-section .home-section-title {
            margin: 0;
            font-size: 26px;
        }

        .product-section-all {
            font-size: 14px;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
            white-space: nowrap;
        }

        .product-section-all:hover {
            text-decoration: underline;
        }

        /* Filter Nav */
        .filter-wrapper {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 28px;
            flex-wrap: wrap;
        }

        .f-btn {
            padding: 10px 22px;
            border: none;
            background: var(--light);
            color: var(--secondary);
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s;
        }

        .f-btn.active,
        .f-btn:hover {
            background: var(--primary);
            color: white;
            box-shadow: 0 4px 15px rgba(247, 151, 28, 0.3);
        }

        /* Grid System */
        .catalog-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 25px;
        }

        @media (max-width: 1100px) {
            .catalog-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width: 800px) {
            .catalog-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 520px) {
            .catalog-grid {
                grid-template-columns: 1fr;
            }
        }

        .catalog-empty-hint {
            margin: 28px auto 0;
            max-width: 420px;
            padding: 16px 20px;
            text-align: center;
            font-size: 14px;
            font-weight: 600;
            color: #666;
            background: #fff;
            border: 1px dashed #ddd;
            border-radius: 12px;
        }

        .catalog-empty-hint[hidden] {
            display: none !important;
        }

        .card {
            background: #fff;
            border-radius: 18px;
            overflow: hidden;
            border: 1px solid #e8ecf1;
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
            transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .card--premium {
            border-color: rgba(234, 88, 12, 0.35);
            box-shadow: 0 12px 28px rgba(234, 88, 12, 0.1);
        }

        .card--boosted {
            border-color: rgba(37, 99, 235, 0.22);
        }

        .card-link {
            display: flex;
            flex-direction: column;
            height: 100%;
            color: inherit;
            text-decoration: none;
        }

        .card:hover {
            transform: translateY(-5px);
            border-color: rgba(234, 88, 12, 0.35);
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
        }

        .card-img-box {
            position: relative;
            height: 210px;
            overflow: hidden;
            background: #eef2f7;
        }

        .card-img-box::after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            height: 45%;
            background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.45));
            pointer-events: none;
            z-index: 1;
        }

        .card-img-link {
            display: block;
            width: 100%;
            height: 100%;
        }

        .card-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.45s ease;
        }

        .card:hover .card-img-box img {
            transform: scale(1.04);
        }

        .card-badges-left {
            position: absolute;
            top: 8px;
            left: 8px;
            z-index: 5;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 4px;
            max-width: calc(100% - 64px);
        }

        .card-badges-left .badge-premium,
        .card-badges-left .badge-boosted,
        .card-badges-left .badge-status {
            position: static;
        }

        .card-badges-bottom {
            position: absolute;
            left: 8px;
            right: 8px;
            bottom: 8px;
            z-index: 4;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            pointer-events: none;
        }

        .card-badges-bottom .badge-type,
        .card-badges-bottom .badge-year,
        .card-badges-bottom .badge-status {
            position: static;
        }

        .card-actions {
            position: absolute;
            top: 12px;
            right: 12px;
            z-index: 6;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .card-body {
            display: flex;
            flex-direction: column;
            flex: 1;
            padding: 14px 16px 16px;
            gap: 8px;
        }

        .card-meta-line {
            margin: 0;
            font-size: 12px;
            font-weight: 650;
            color: #94a3b8;
            letter-spacing: 0.01em;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .card-meta-row {
            display: none;
        }

        .card-title {
            margin: 0;
            font-size: 1rem;
            font-weight: 800;
            line-height: 1.35;
            color: #0f172a;
            letter-spacing: -0.02em;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 0;
        }

        .card-title a {
            color: inherit;
            text-decoration: none;
        }

        .card-title a:hover {
            color: #ea580c;
        }

        .card-footer {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 12px;
            margin-top: auto;
            padding-top: 12px;
            border: 0;
            border-top: 1px solid #eef2f7;
            outline: none;
            box-shadow: none;
            background: transparent;
        }

        .card-footer__main {
            min-width: 0;
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 6px;
            border: 0;
            outline: none;
        }

        .card-place {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 12px;
            margin-top: 0;
        }

        .card-place__item {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 12px;
            font-weight: 600;
            color: #94a3b8;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .card-place__item i {
            color: #cbd5e1;
            font-size: 11px;
        }

        .badge-status {
            display: inline-flex;
            align-items: center;
            padding: 2px 7px;
            border-radius: 999px;
            font-size: 9.5px;
            font-weight: 650;
            line-height: 1.2;
            color: #fff;
            text-transform: none;
            letter-spacing: 0.01em;
            z-index: 4;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
        }

        .card-img-box .badge-premium,
        .card-img-box .badge-boosted {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 6px 11px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0;
            color: #fff;
            text-transform: none;
        }

        .card-img-box .badge-premium.badge-premium--icon,
        .card-img-box .badge-boosted.badge-boosted--icon {
            width: 22px;
            height: 22px;
            padding: 0;
            border-radius: 50%;
            justify-content: center;
            gap: 0;
            font-size: 10px;
        }

        .card-img-box .badge-premium {
            background: linear-gradient(135deg, #f7971c, #ea580c);
            box-shadow: 0 6px 14px rgba(234, 88, 12, 0.28);
        }

        .card-img-box .badge-boosted {
            background: #2563eb;
            box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
        }

        .badge-type {
            display: inline-flex;
            align-items: center;
            padding: 2px 7px;
            border-radius: 999px;
            font-size: 9.5px;
            font-weight: 650;
            line-height: 1.2;
            color: #fff;
            background: rgba(15, 23, 42, 0.42);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            border: 0;
        }

        .badge-year {
            display: inline-flex;
            align-items: center;
            padding: 2px 7px;
            border-radius: 999px;
            font-size: 9.5px;
            font-weight: 650;
            line-height: 1.2;
            color: #fff;
            background: rgba(15, 23, 42, 0.42);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
        }

        .bg-new {
            background: rgba(5, 150, 105, 0.72);
        }

        .bg-used {
            background: rgba(71, 85, 105, 0.62);
        }

        .type-sale,
        .type-rent {
            border: 0 !important;
            color: #fff !important;
            background: rgba(15, 23, 42, 0.55) !important;
        }

        .price-tag {
            font-size: 1.2rem;
            font-weight: 850;
            color: #0f172a;
            letter-spacing: -0.03em;
            line-height: 1.15;
        }

        .price-tag span {
            font-size: 0.85rem;
            font-weight: 700;
            color: #94a3b8;
        }

        .btn-details {
            width: 42px;
            height: 42px;
            background: linear-gradient(135deg, #f7971c, #ea580c);
            color: white;
            border: none;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            flex-shrink: 0;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            box-shadow: 0 8px 16px rgba(234, 88, 12, 0.25);
            text-decoration: none;
        }

        .btn-details:hover {
            transform: translateX(2px);
            background: linear-gradient(135deg, #f7971c, #c2410c);
            color: #fff;
        }

        /* Animation for Filter */
        .hidden {
            display: none;
        }

        .show {
            animation: popIn 0.4s ease forwards;
        }

        @keyframes popIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }
    


        :root {
            --primary-orange: var(--primary);
            --deep-blue: #0f172a;
            --accent-yellow: #ffd200;
        }

        .premium-hero-banner {
            width: 100%;
            height: 350px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            font-family: var(--font-sans);
        }

        /* HÉ™rÉ™kÉ™tli Qradiyent Fon */
        .animated-gradient-bg {
            position: absolute;
            width: 200%;
            height: 200%;
            top: -50%;
            left: -50%;
            background: radial-gradient(circle at center, #1e293b 0%, #0f172a 40%, #1e1b4b 100%);
            background-size: 50% 50%;
            animation: rotateBg 15s linear infinite;
            z-index: 1;
        }

        /* Texnoloji tor effekti */
        .banner-overlay-grid {
            position: absolute;
            inset: 0;
            background-image: radial-gradient(rgba(247, 151, 28, 0.1) 1px, transparent 1px);
            background-size: 30px 30px;
            z-index: 2;
            opacity: 0.5;
        }

        .banner-inner-content {
            position: relative;
            z-index: 3;
            width: min(100%, var(--container-max, 1140px));
            margin: 0 auto;
            padding: 0 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .mini-label {
            color: var(--primary-orange);
            font-weight: 800;
            font-size: 12px;
            letter-spacing: 3px;
            border-left: 3px solid var(--primary-orange);
            padding-left: 10px;
            margin-bottom: 15px;
            display: block;
        }

        .main-slogan {
            font-size: 48px;
            font-weight: 900;
            color: white;
            line-height: 1.1;
            margin-bottom: 20px;
        }

        .gradient-text {
            background: linear-gradient(90deg, var(--primary-orange), var(--accent-yellow));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .sub-text {
            color: #94a3b8;
            font-size: 16px;
            max-width: 450px;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .action-btns {
            display: flex;
            gap: 15px;
        }

        .glow-btn {
            background: var(--primary-orange);
            color: #000;
            border: none;
            padding: 14px 30px;
            font-weight: 700;
            border-radius: 8px;
            cursor: pointer;
            box-shadow: 0 0 20px rgba(247, 151, 28, 0.4);
            transition: 0.3s;
        }

        .glow-btn:hover {
            background: white;
            box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
            transform: scale(1.05);
        }

        .glass-btn {
            background: rgba(255, 255, 255, 0.05);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 14px 30px;
            font-weight: 700;
            border-radius: 8px;
            cursor: pointer;
            backdrop-filter: blur(10px);
            transition: 0.3s;
        }

        .glass-btn:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: white;
        }

        /* ÃœzÉ™n NiÅŸan */
        .visual-element {
            position: relative;
        }

        .floating-badge {
            width: 120px;
            height: 120px;
            background: rgba(247, 151, 28, 0.1);
            border: 2px dashed var(--primary-orange);
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            animation: float 4s ease-in-out infinite;
        }

        .floating-badge .number {
            font-size: 28px;
            font-weight: 900;
            color: white;
        }

        .floating-badge .label {
            font-size: 10px;
            color: var(--primary-orange);
            font-weight: 700;
        }

        /* Animasiyalar */
        @keyframes rotateBg {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-20px) rotate(5deg);
            }
        }

        /* Mobil uyÄŸunluq */
        @media (max-width: 768px) {
            .premium-hero-banner {
                height: auto;
                padding: 60px 0;
            }

            .banner-inner-content {
                flex-direction: column;
                text-align: center;
                padding: 0 20px;
            }

            .mini-label {
                border-left: none;
                border-bottom: 2px solid var(--primary-orange);
                display: inline-block;
                padding: 0 10px;
            }

            .main-slogan {
                font-size: 32px;
            }

            .action-btns {
                justify-content: center;
            }

            .visual-element {
                display: none;
            }
        }
    


        /* CSS kodlarÄ± eyni qalÄ±r, prefikslÉ™r sayÉ™sindÉ™ heÃ§ nÉ™ toqquÅŸmayacaq */
        .equipment-section {
            max-width: min(100%, var(--container-max, 1140px));
            margin: 28px auto 20px;
            padding: 0 16px;
            font-family: var(--font-sans);
        }

        .equipment-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            gap: 12px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }

        .equipment-header--compact {
            flex-direction: column;
            align-items: stretch;
            gap: 8px;
            margin-bottom: 10px;
        }

        .equipment-header__row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            min-width: 0;
        }

        .equipment-header__titleblock {
            min-width: 0;
            flex: 1;
        }

        .equipment-header__start {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .equipment-header h2 {
            margin: 0;
            font-size: 1.15rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1.2;
            color: #1e293b;
        }

        .equipment-header__sub {
            margin: 2px 0 0;
            font-size: 0.75rem;
            color: #94a3b8;
            font-weight: 500;
            line-height: 1.25;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .equipment-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .equipment-tab-link {
            font-size: 12px;
            font-weight: 650;
            color: #64748b;
            border: 1px solid #e8ecf1;
            background: #fff;
            cursor: pointer;
            padding: 5px 12px;
            border-radius: 999px;
            margin-right: 0;
            transition: 0.2s;
        }

        .equipment-tab-link.active {
            color: var(--primary-dark, #d97706);
            border-color: rgba(245, 158, 11, 0.45);
            background: rgba(245, 158, 11, 0.1);
        }

        .equipment-nav {
            display: none !important;
        }

        .equipment-header__all {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            min-height: 32px;
            padding: 0 10px;
            border-radius: 999px;
            border: 1px solid #e8ecf1;
            background: #fff;
            color: #475569;
            font-size: 0.78rem;
            font-weight: 700;
            text-decoration: none;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .equipment-header__all:hover {
            border-color: rgba(245, 158, 11, 0.5);
            color: var(--primary-dark, #d97706);
        }

        .equipment-header__all i {
            font-size: 0.7rem;
        }

        .equipment-slider-wrapper {
            overflow: visible;
            width: 100%;
        }

        .equipment-section--grid #equipmentMainGrid,
        .equipment-section--grid .product-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 16px;
            align-items: stretch;
            overflow: visible;
            padding: 0;
            transform: none !important;
        }

        .equipment-section--grid #equipmentMainGrid .product-card,
        .equipment-section--grid .product-grid .product-card {
            position: relative;
            min-width: 0;
            width: 100%;
            flex: none;
            height: auto;
        }

        .equipment-section--grid #equipmentMainGrid .product-card.eq-hidden {
            display: none !important;
        }

        .equipment-section--boosted {
            margin-top: 16px;
        }

        .equipment-carousel-inner {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 16px;
            align-items: stretch;
            overflow: visible;
            padding: 0;
        }

        .equipment-carousel-inner .product-card {
            position: relative;
            min-width: 0;
            width: 100%;
            flex: none;
            height: auto;
        }

        .equipment-carousel-inner .product-card:hover {
            transform: translateY(-4px);
        }

        .equipment-carousel-inner::-webkit-scrollbar {
            display: none;
        }

        .equipment-empty-hint {
            display: none;
            margin-top: 8px;
            padding: 14px 16px;
            text-align: center;
            font-size: 14px;
            font-weight: 600;
            color: #666;
            background: #fff;
            border: 1px dashed #ddd;
            border-radius: 12px;
        }

        .equipment-empty-hint.is-visible {
            display: block;
        }

        @media (max-width: 1100px) {
            .equipment-section--grid #equipmentMainGrid,
            .equipment-section--grid .product-grid,
            .equipment-carousel-inner {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width: 900px) {
            .equipment-section {
                margin: 20px auto 14px;
                padding: 0 10px;
            }

            .equipment-header {
                align-items: stretch;
            }

            .equipment-header h2 {
                font-size: 1rem;
            }

            .equipment-header__sub {
                font-size: 0.72rem;
            }

            .equipment-section--grid #equipmentMainGrid,
            .equipment-section--grid .product-grid,
            .equipment-carousel-inner {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 12px;
            }

            .equipment-carousel-inner .product-card,
            .equipment-section--grid .product-card {
                min-width: 0;
                width: 100%;
                flex: none;
            }
        }

        @media (max-width: 560px) {
            .equipment-nav {
                display: none;
            }

            .equipment-header--compact {
                gap: 6px;
                margin-bottom: 8px;
            }

            .equipment-header__sub {
                display: none;
            }

            .equipment-header__all {
                min-height: 28px;
                padding: 0 8px;
                font-size: 0.72rem;
            }

            .equipment-tabs {
                width: 100%;
                flex-wrap: nowrap;
                overflow-x: auto;
                scrollbar-width: none;
                -webkit-overflow-scrolling: touch;
                padding-bottom: 1px;
            }

            .equipment-tabs::-webkit-scrollbar {
                display: none;
            }

            .equipment-tab-link {
                flex: 0 0 auto;
                text-align: center;
                padding: 5px 10px;
                font-size: 11px;
            }

            .equipment-section--grid #equipmentMainGrid,
            .equipment-section--grid .product-grid,
            .equipment-carousel-inner {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 10px;
            }

            .equipment-carousel-inner .product-card,
            .equipment-section--grid .product-card {
                min-width: 0;
                width: 100%;
                flex: none;
            }
        }

        .equipment-card {
            min-width: 290px;
            background: #fff;
            border: 1px solid #e1e4e8;
            border-radius: 12px;
            padding: 20px;
            position: relative;
            transition: 0.3s;
            display: flex;
            flex-direction: column;
        }

        .equipment-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
        }

        .equipment-actions {
            position: absolute;
            top: 14px;
            right: 14px;
            z-index: 3;
        }

        .equipment-year {
            font-weight: 600;
            color: #747d8c;
        }

        .equipment-title {
            font-size: 15px;
            color: #2f3542;
            margin: 10px 0;
            min-height: 40px;
            overflow: hidden;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .equipment-img {
            width: 100%;
            height: 160px;
            object-fit: contain;
            margin: 15px 0;
        }

        .equipment-cat {
            font-size: 12px;
            color: #747d8c;
            text-transform: uppercase;
        }

        .equipment-calc-box {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .eq-m-btn {
            padding: 3px 6px;
            font-size: 10px;
            border: 1px solid #ddd;
            background: #fff;
            border-radius: 4px;
            cursor: pointer;
        }

        .eq-m-btn.active {
            background: #2f3542;
            color: #fff;
            border-color: #2f3542;
        }

        .eq-m-val {
            font-size: 13px;
            color: #2f3542;
        }

        .eq-old-price {
            font-size: 12px;
            color: #a4b0be;
            text-decoration: line-through;
        }

        .eq-new-price {
            font-size: 20px;
            font-weight: 800;
            color: #2f3542;
        }

        .equipment-add-btn {
            width: 100%;
            background: var(--primary);
            color: #fff;
            border: none;
            padding: 12px;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

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


/* Header/promo/nav/footer chrome main.css-dən gəlir — dublikat silindi */

/* fixed-social styles live in main.css */
:root {
            --mb-primary: var(--primary);
            --mb-accent: #ff4d4d;
            --mb-white: #ffffff;
            --mb-glass: rgba(255, 255, 255, 0.95);
            --mb-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
            --mb-transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        }

        #mb-promo-root {
            font-family: var(--font-sans);
        }

        /* 1. MÃ¼rÉ™kkÉ™b Trigger DÃ¼ymÉ™si */
        .mb-promo-launcher {
            position: fixed;
            bottom: 30px;
            left: 30px;
            width: 60px;
            height: 60px;
            background: var(--mb-primary);
            color: var(--mb-white);
            border-radius: 18px;
            /* Modern kÃ¼nclÉ™r */
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 9998;
            transform: rotate(-15deg) scale(0);
            transition: var(--mb-transition);
            box-shadow: 0 10px 25px rgba(59, 93, 80, 0.3);
            border: 2px solid rgba(255, 255, 255, 0.1);
        }

        .mb-promo-launcher.is-active {
            transform: rotate(0deg) scale(1);
            animation: mb-float 3s ease-in-out infinite;
        }

        .mb-promo-launcher i {
            font-size: 24px;
        }

        /* 2. Advanced Popup PÉ™ncÉ™rÉ™si */
        .mb-promo-modal {
            position: fixed;
            bottom: 30px;
            left: 30px;
            z-index: 9999;
            width: 350px;
            background: var(--mb-glass);
            backdrop-filter: blur(10px);
            border-radius: 24px;
            box-shadow: var(--mb-shadow);
            border: 1px solid rgba(255, 255, 255, 0.4);
            transform: translateX(-120%) skewX(-5deg);
            /* GiriÅŸ animasiyasÄ± Ã¼Ã§Ã¼n maraqlÄ± kÃ¼nc */
            opacity: 0;
            transition: var(--mb-transition);
            overflow: hidden;
            pointer-events: none;
        }

        .mb-promo-modal.is-open {
            transform: translateX(0) skewX(0deg);
            opacity: 1;
            pointer-events: auto;
        }

        /* Dekorativ elementlÉ™r */
        .mb-promo-modal::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--mb-primary), var(--mb-accent));
        }

        .mb-promo-inner {
            padding: 35px 30px;
            position: relative;
        }

        .mb-promo-close-trigger {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #f5f5f5;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--mb-transition);
        }

        .mb-promo-close-trigger:hover {
            background: var(--mb-accent);
            color: white;
            transform: rotate(90deg);
        }

        .mb-promo-tag {
            background: rgba(255, 77, 77, 0.1);
            color: var(--mb-accent);
            font-size: 10px;
            font-weight: 800;
            padding: 6px 14px;
            border-radius: 8px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 15px;
            text-transform: uppercase;
        }

        .mb-promo-h {
            font-size: 22px;
            font-weight: 800;
            color: #1a1a1a;
            margin-bottom: 12px;
            line-height: 1.2;
        }

        .mb-promo-p {
            font-size: 15px;
            color: #555;
            line-height: 1.6;
            margin-bottom: 25px;
        }

        .mb-promo-action-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: var(--mb-primary);
            color: white;
            text-decoration: none;
            padding: 14px;
            border-radius: 14px;
            font-weight: 600;
            transition: var(--mb-transition);
            position: relative;
            overflow: hidden;
        }

        .mb-promo-action-btn:hover {
            background: rgb(251, 176, 79);
            box-shadow: 0 8px 20px rgba(247, 151, 28, 0.4);
        }

        /* Animasiyalar */
        @keyframes mb-float {

            0%,
            100% {
                transform: translateY(0) rotate(0);
            }

            50% {
                transform: translateY(-10px) rotate(5deg);
            }
        }

        @media (max-width: 480px) {
            .mb-promo-modal {
                left: 20px;
                right: 20px;
                width: auto;
            }
        }

/* ============================================================
   Card harmonization (Faza 2) — iki kart sistemini vizual
   olaraq vahidləşdirir: eyni radius/kölgə/hover (token əsaslı).
   ============================================================ */
.product-section .catalog-grid .card,
.equipment-section .product-card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.product-section .catalog-grid .card:hover,
.equipment-section .product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Home categories grid — live makina.az photo cards */
.home-cat-grid {
    max-width: 1400px;
    margin: 16px auto 20px;
    padding: 0 15px;
}

.home-cat-grid__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.home-cat-grid__head h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.home-cat-grid__head a,
.home-cat-grid__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ea580c;
    font-weight: 750;
    font-size: 0.9rem;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.home-cat-grid__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.home-cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 168px;
    padding: 16px 14px 14px;
    overflow: hidden;
    background: #f7f8fa;
    border: 1px solid #eef1f5;
    border-radius: 14px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.home-cat-card:hover {
    transform: translateY(-2px);
    border-color: #e8edf3;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.home-cat-card__deco {
    position: absolute;
    top: -8px;
    right: -10px;
    width: 92px;
    height: auto;
    opacity: 0.9;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 0;
}

.home-cat-card:hover .home-cat-card__deco {
    opacity: 0;
}

.home-cat-card__title {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 70%;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    color: #333;
    letter-spacing: -0.01em;
}

.home-cat-card__visual {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    margin: 4px 0 8px;
}

.home-cat-card__img {
    width: auto;
    max-width: 78%;
    height: 92px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.12));
}

.home-cat-card__visual > i {
    font-size: 2rem;
    color: #94a3b8;
}

.home-cat-card__more {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 0 12px 0 12px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
    transition: background 0.25s ease;
}

.home-cat-card__more img {
    width: 14px;
    height: 14px;
    opacity: 0.45;
    filter: invert(1);
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.home-cat-card:hover .home-cat-card__more {
    background: #d1913c;
}

.home-cat-card:hover .home-cat-card__more img {
    opacity: 1;
    filter: none;
}

/* legacy icon tiles (modal / fallback) */
.home-cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    height: 100%;
    min-height: 126px;
    padding: 16px 10px 14px;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    text-decoration: none;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
    font: inherit;
    width: 100%;
    box-sizing: border-box;
}

.home-cat-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(234, 88, 12, 0.45);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.home-cat-tile__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    background: #fff7ed;
    color: #ea580c;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    overflow: hidden;
}

.home-cat-tile__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-cat-tile__name {
    margin: 0;
    width: 100%;
    min-height: calc(1.3em * 2);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.home-cat-tile--catalog {
    border-style: dashed;
    border-color: #fdba74;
    background: linear-gradient(180deg, #fff7ed 0%, #fff 70%);
}

.home-cat-tile--catalog .home-cat-tile__icon {
    background: #ea580c;
    color: #fff;
}

.home-cat-tile--catalog:hover {
    border-color: #ea580c;
    border-style: solid;
}

@media (max-width: 1100px) {
    .home-cat-grid__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .home-cat-grid__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-cat-card {
        min-height: 148px;
    }

    .home-cat-card__img {
        height: 78px;
    }

    .home-cat-card__title {
        font-size: 0.92rem;
    }
}

@media (max-width: 640px) {
    .home-cat-grid {
        margin: 6px auto 20px;
        padding: 0 12px;
    }

    .home-cat-grid__head h2 {
        font-size: 1.15rem;
    }

    .home-cat-grid__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-cat-card {
        min-height: 136px;
        padding: 12px;
    }

    .home-cat-card__img {
        height: 68px;
    }

    .home-cat-card__more {
        width: 32px;
        height: 32px;
    }

    .home-cat-tile {
        min-height: 108px;
        padding: 10px 6px 12px;
        border-radius: 14px;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    }

    .home-cat-tile__icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
        font-size: 1rem;
    }

    .home-cat-tile__name {
        font-size: 0.72rem;
        min-height: calc(1.3em * 2);
    }
}

@media (max-width: 380px) {
    .home-cat-grid__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .home-cat-tile {
        min-height: 112px;
    }
}

/* Category catalog modal */
body.cat-catalog-open {
    overflow: hidden;
}

.cat-catalog {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.cat-catalog[hidden] {
    display: none !important;
}

.cat-catalog__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
}

.cat-catalog__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: min(88vh, 820px);
    background: #fff;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: catCatalogIn 0.28s ease;
}

@keyframes catCatalogIn {
    from { transform: translateY(24px); opacity: 0.6; }
    to { transform: translateY(0); opacity: 1; }
}

@media (min-width: 769px) {
    .cat-catalog {
        align-items: center;
        padding: 24px;
    }

    .cat-catalog__dialog {
        border-radius: 22px;
        max-height: min(84vh, 760px);
        animation-name: catCatalogInDesk;
    }

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

.cat-catalog__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 10px;
    border-bottom: 1px solid #f1f5f9;
}

.cat-catalog__head h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
}

.cat-catalog__head p {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: #64748b;
}

.cat-catalog__close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: #f1f5f9;
    color: #334155;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.cat-catalog__close:hover {
    background: #e2e8f0;
}

.cat-catalog__search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 16px 8px;
    padding: 11px 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.cat-catalog__search i {
    color: #94a3b8;
}

.cat-catalog__search input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font: inherit;
    font-size: 0.95rem;
    color: #0f172a;
}

.cat-catalog__body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 14px 14px;
    -webkit-overflow-scrolling: touch;
}

.cat-catalog__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.cat-catalog__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 104px;
    padding: 12px 8px;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    text-decoration: none;
    color: #0f172a;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cat-catalog__card[hidden],
.cat-catalog__card.is-filtered-out {
    display: none !important;
}

.cat-catalog__card:hover {
    transform: translateY(-2px);
    border-color: rgba(234, 88, 12, 0.45);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.cat-catalog__card--child {
    min-height: 92px;
    background: #f8fafc;
    border-style: dashed;
}

.cat-catalog__card-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: #fff7ed;
    color: #ea580c;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    overflow: hidden;
}

.cat-catalog__card--child .cat-catalog__card-icon {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    background: #fff;
    border: 1px solid #ffe4c4;
}

.cat-catalog__card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cat-catalog__card-name {
    font-size: 0.78rem;
    font-weight: 750;
    text-align: center;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-catalog__card-count {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ea580c;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cat-catalog__empty {
    text-align: center;
    color: #94a3b8;
    padding: 28px 12px;
    margin: 0;
}

.cat-catalog__empty[hidden] {
    display: none !important;
}

.cat-catalog__foot {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #f1f5f9;
    background: #fff;
}

.cat-catalog__all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f7971c, #ea580c);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(234, 88, 12, 0.28);
}

@media (max-width: 700px) {
    .cat-catalog__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .cat-catalog__card {
        min-height: 92px;
        padding: 10px 6px;
        border-radius: 14px;
    }

    .cat-catalog__card-icon {
        width: 40px;
        height: 40px;
    }

    .cat-catalog__card-name {
        font-size: 0.72rem;
    }
}

@media (max-width: 420px) {
    .cat-catalog__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* === Home ad strip — Kontakt-style portret story kartlar === */
.home-ad-strip {
    max-width: var(--container-max, 1140px);
    margin: 8px auto 16px;
    padding: 0 var(--container-pad, 20px);
    box-sizing: border-box;
}

.home-ad-strip__viewport {
    position: relative;
    overflow: visible;
    background: transparent;
}

.home-ad-strip__track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 2px 10px;
}

.home-ad-strip__track::-webkit-scrollbar {
    display: none;
}

.home-ad-strip__card {
    position: relative;
    flex: 0 0 132px;
    width: 132px;
    height: 220px;
    scroll-snap-align: start;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    border-radius: 18px;
    background: #0f172a;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.home-ad-strip__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.home-ad-strip__badge i {
    font-size: 9px;
    color: #f7971c;
}

.home-ad-strip__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.home-ad-strip__caption {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-ad-strip__fallback {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 6px;
    height: 100%;
    padding: 16px 12px;
    box-sizing: border-box;
    background: linear-gradient(160deg, #1c2438 0%, #0f172a 100%);
}

.home-ad-strip__fallback strong {
    font-size: 14px;
    font-weight: 750;
    line-height: 1.25;
}

.home-ad-strip__fallback em {
    font-style: normal;
    font-size: 12px;
    color: #f7971c;
    font-weight: 700;
}

.home-ad-strip__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    z-index: 3;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.home-ad-strip__nav--prev { left: 4px; }
.home-ad-strip__nav--next { right: 4px; }

.home-ad-strip__nav:hover {
    background: rgba(15, 23, 42, 0.8);
}

.home-ad-strip__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 2px;
}

.home-ad-strip__dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
    padding: 0;
    cursor: pointer;
}

.home-ad-strip__dot.is-active {
    width: 16px;
    background: #f7971c;
}

@media (min-width: 768px) {
    .home-ad-strip__card {
        flex-basis: 156px;
        width: 156px;
        height: 260px;
        border-radius: 20px;
    }
}

@media (min-width: 1025px) {
    .home-ad-strip__card {
        flex-basis: 176px;
        width: 176px;
        height: 292px;
        border-radius: 22px;
    }

    .home-ad-strip__track {
        gap: 12px;
    }
}

@media (max-width: 1024px) {
    .home-ad-strip {
        margin: 6px auto 12px;
        padding: 0 10px;
    }

    .home-ad-strip__nav {
        display: none;
    }
}
