/* =========================================================
   B2BPro - layihənin öz stilləri
   style.css dizayndan gəlir və toxunulmur; əlavə/dəyişiklik
   yalnız bu faylda yazılır (style.css-dən sonra yüklənir).
   ========================================================= */

/* ---------- Axtarış: reklam bannerləri ---------- */

/* Paneldən yüklənmiş banner: slotu tam doldurur */
.sponsored-ad-slot-image {
    padding: 0;
    overflow: hidden;
    background: #eceef1;
}

.sponsored-ad-slot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- Banner layout (panel: top / bottom / left / right) ---------- */

.search-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.search-top .search-filters-card,
.search-top .sponsored-ads-block {
    margin-bottom: 0;
    min-width: 0;
}

/* DOM-da filtr həmişə birincidir - üst / sol variantda bannerlər vizual olaraq qabağa keçir */
.search-top--top .sponsored-ads-block,
.search-top--left .sponsored-ads-block {
    order: -1;
}

@media (min-width: 961px) {
    .search-top--left,
    .search-top--right {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
    }

    .search-top--left .search-filters-row-selects,
    .search-top--right .search-filters-row-selects {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Yarım enində axtarış qutusu tam sətir tutur, checkbox-lar altında bir sırada qalır */
    .search-top--left .search-input-wrap,
    .search-top--right .search-input-wrap {
        flex-basis: 100%;
    }

    .search-top--left .search-filters-actions,
    .search-top--right .search-filters-actions {
        justify-content: flex-start;
    }

    /* Yan variantda bannerlər alt-alta düzülür və filtr kartının hündürlüyünü doldurur */
    .search-top--left .sponsored-ads-block,
    .search-top--right .sponsored-ads-block {
        display: flex;
        flex-direction: column;
    }

    .search-top--left .sponsored-ads-grid.show,
    .search-top--right .sponsored-ads-grid.show {
        flex: 1;
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(72px, 1fr);
    }

    .search-top--left .sponsored-ad-slot,
    .search-top--right .sponsored-ad-slot {
        height: auto;
    }
}


/* ---------- Ana səhifə intro: karusel üslubları (panel → Ana səhifə → İntro) ---------- */

/* Yazı + şəkil karuseli: karusel .hero-image-in hündürlüyünü tam tutur */
.hero-image .hero-slider,
.hero-image .hero-slider .carousel-inner,
.hero-image .hero-slider .carousel-item {
    height: 100%;
}

.hero-slider .carousel-item a {
    display: block;
    height: 100%;
}

.hero-slider .carousel-item img,
.hero-image > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image > a {
    display: block;
    height: 100%;
}

/* Tam şəkil karuseli - yazı yoxdur, hero ilə eyni hündürlük */
.hero-carousel .carousel-item {
    height: 440px;
}

/* Konteyner enində karusel: yazı + şəkil blokunun xəttində, promo banneri kimi yuvarlaq künclü */
.hero-carousel--contained {
    padding-top: 24px;
}

.hero-carousel--contained .hero-slider {
    border-radius: 12px;
    overflow: hidden;
}

/* Oxlar: dizaynın brend karuselindəki ağ dairəvi düymələr kimi */
.hero-slider .hero-slider-arrow {
    top: 50%;
    bottom: auto;
    width: 44px;
    height: 44px;
    margin: 0 16px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #171717;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-slider .hero-slider-arrow:hover {
    background: #fff;
    color: var(--color-accent);
}

.hero-slider .hero-slider-dots {
    margin-bottom: 16px;
}

.hero-slider .hero-slider-dots [data-bs-target] {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    margin: 0 4px;
    background-color: #fff;
    opacity: 0.6;
}

.hero-slider .hero-slider-dots .active {
    width: 24px;
    border-radius: 5px;
    background-color: var(--color-accent);
    opacity: 1;
}

@media (max-width: 900px) {
    .hero-carousel .carousel-item {
        height: 340px;
    }
}

@media (max-width: 600px) {
    .hero-carousel .carousel-item {
        height: 220px;
    }

    .hero-carousel--contained {
        padding-top: 16px;
    }

    .hero-slider .hero-slider-arrow {
        width: 36px;
        height: 36px;
        margin: 0 8px;
    }
}

/* ---------------------------------------------------------
   Giriş: xəta mesajı, birdəfəlik linkin təsdiq səhifəsi, çıxış forması
   --------------------------------------------------------- */
.login-alert {
    margin: 16px 0 0;
    padding: 12px 14px;
    border: 1px solid #FFD2C2;
    border-radius: 8px;
    background: #FFF2EB;
    color: #C2410C;
    font-size: 14px;
    line-height: 1.45;
}

.login-note {
    margin: 16px 0 0;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

.login-button--link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.logout-form {
    margin: 0;
}

.logout-form button {
    width: 100%;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

/* ── Giriş / icazə bloku (site/component/gate) ────────────────
   Qonaq qorunan modulu açanda («Məhsullara baxmaq üçün daxil olun») və
   şirkətə modul bağlı olanda göstərilir. Dizaynın «Daha çox» giriş blokunun
   rəngləri ilə; masaüstündə səhifənin ortasında, mobildə tam enində. */
.site-gate {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52vh;
    padding: 48px 16px;
}

.site-gate-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 520px;
    padding: 40px 32px;
    border-radius: 16px;
    background: #F0F0F0;
    text-align: center;
}

.site-gate-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #fff;
    color: #FF5722;
    font-size: 28px;
}

.site-gate-card h1 {
    margin: 0 0 10px;
    color: #00294D;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.site-gate-card p {
    margin: 0 0 24px;
    color: #818181;
    font-size: 15px;
    line-height: 1.55;
}

.site-gate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 28px;
    border-radius: 8px;
    background: #FF5722;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .15s ease;
}

.site-gate-btn:hover,
.site-gate-btn:focus-visible {
    background: #E64A19;
    color: #fff;
}

@media (max-width: 575.98px) {
    .site-gate {
        min-height: auto;
        padding: 24px 16px 96px;
    }

    .site-gate-card {
        padding: 28px 18px;
    }

    .site-gate-card h1 {
        font-size: 20px;
    }

    .site-gate-btn {
        width: 100%;
    }
}

/* ---------- Bonuslar və hədiyyələr (kabinet) ---------- */

/* Əməliyyatın nəticəsi / xəta (redirect()->with) */
.b2b-flash {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.b2b-flash svg {
    flex-shrink: 0;
}

.b2b-flash-success {
    background: #E0F5E8;
    color: #00793A;
}

.b2b-flash-error {
    background: #FDECEA;
    color: #B42318;
}

.b2b-flash-info {
    background: #EEF4FB;
    color: #00294D;
}

/* Dizaynın səhifələməsi: aktiv səhifə düymədir, digərləri keçid */
.pagination a.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid #ECECEC;
    border-radius: 8px;
    background: #fff;
    color: #616161;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s;
}

.pagination a.pagination-link:hover {
    border-color: #FE5F0E;
    color: #FE5F0E;
}

.rewards-section .pagination {
    margin-top: 24px;
}

.reward-brand {
    text-transform: uppercase;
}

.reward-card h4 a,
.reward-image {
    color: inherit;
    text-decoration: none;
}

.reward-image {
    display: block;
}

a.reward-redeem-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

a.reward-redeem-btn:hover {
    color: #fff;
}

a.rewards-clear-btn,
a.rewards-clear-btn:hover {
    color: #fff;
    text-decoration: none;
}

.stock-out_of_stock {
    background: #FDECEA;
    color: #B42318;
}

.rewards-empty {
    padding: 32px 16px;
    border: 1px dashed #E5E5E5;
    border-radius: 8px;
    color: #737373;
    text-align: center;
}

/* «Necə bonus qazanmaq olar» - aktiv qaydalar və istifadəçinin proqresi */
.how-it-works-rules {
    margin-bottom: 32px;
}

.earn-progress {
    margin-top: 12px;
}

.earn-progress small {
    display: block;
    margin-top: 6px;
    color: #737373;
    font-size: 12px;
}

.earn-progress-bar {
    width: 100%;
    height: 8px;
    border: none;
    border-radius: 999px;
    background: #ECECEC;
    overflow: hidden;
    appearance: none;
}

.earn-progress-bar::-webkit-progress-bar {
    border-radius: 999px;
    background: #ECECEC;
}

.earn-progress-bar::-webkit-progress-value {
    border-radius: 999px;
    background: #D66100;
}

.earn-progress-bar::-moz-progress-bar {
    border-radius: 999px;
    background: #D66100;
}

/* Hədiyyə detalı: alış forması */
.gift-redeem-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0;
}

.gift-redeem-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.gift-redeem-row label {
    min-width: 120px;
    color: #404040;
    font-size: 14px;
    font-weight: 600;
}

.gift-redeem-row input[type="number"] {
    width: 96px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
}

.gift-redeem-row select,
.gift-redeem-row textarea {
    flex: 1 1 260px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
}

.gift-redeem-total {
    color: #404040;
    font-size: 14px;
}

.gift-redeem-form .product-add-cart-btn {
    align-self: flex-start;
    min-width: 220px;
}

.gift-detail-page .reward-locked-btn {
    max-width: 320px;
    margin: 20px 0;
}

.gift-description {
    margin-top: 16px;
    color: #525252;
    font-size: 14px;
    line-height: 1.6;
}

/* Bonus tarixçəsi və hədiyyə sifarişləri */
.bonus-amount-in {
    color: #00A143;
}

.bonus-amount-out {
    color: #B42318;
}

.gift-status-pending {
    background: #FFF2E0;
    color: #D6820A;
}

.gift-status-approved,
.gift-status-preparing {
    background: #E7F0FE;
    color: #2E7FF0;
}

.gift-status-delivered {
    background: #E0F5E8;
    color: #00A143;
}

.gift-status-rejected,
.gift-status-cancelled {
    background: #FDECEA;
    color: #B42318;
}

.gift-order-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.gift-order-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.gift-order-meta h4 {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
}

.gift-order-meta p {
    color: #525252;
    font-size: 14px;
}

.gift-order-note {
    font-style: italic;
}

.gift-order-history {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gift-order-history li {
    padding: 6px 0;
    border-bottom: 1px solid #F0F0F0;
    font-size: 14px;
}

.gift-order-history small {
    margin-left: 6px;
    color: #737373;
}

.gift-order-history em {
    display: block;
    color: #525252;
    font-size: 13px;
}

/* «Qiymət bahadır?» düyməsi və paneli */
.price-report-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 0;
    border: none;
    background: none;
    color: #D66100;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.price-report-btn:hover {
    color: #b8540a;
}

.price-report-product {
    margin-bottom: 4px;
    font-size: 14px;
}

.price-report-hint {
    margin-bottom: 16px;
    color: #737373;
    font-size: 13px;
}

.price-report-panel .return-field input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
}

.price-report-result {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.price-report-result.is-success {
    background: #E0F5E8;
    color: #00793A;
}

.price-report-result.is-error {
    background: #FDECEA;
    color: #B42318;
}

@media (max-width: 767.98px) {
    .gift-order-meta {
        grid-template-columns: 1fr;
    }

    .gift-redeem-row label {
        min-width: 100%;
    }

    .gift-redeem-form .product-add-cart-btn {
        width: 100%;
    }
}
/* ── Kataloq / məhsul səhifələri (products.js) ── */

/* Az nəticədə kartlar bütün eni tutub uzanmasın (auto-fit → auto-fill) */
.catalog-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.catalog-results {
    transition: opacity .2s;
}

.catalog-results.is-loading {
    opacity: .45;
    pointer-events: none;
}

.catalog-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 64px 16px;
    border: 1px dashed #E0E0E0;
    border-radius: 12px;
    text-align: center;
    color: #808080;
}

.catalog-empty svg {
    width: 32px;
    height: 32px;
    color: #C4C4C4;
}

.catalog-empty h3 {
    margin: 0;
    color: #171717;
    font-size: 16px;
    font-weight: 600;
}

.catalog-empty p {
    margin: 0;
    font-size: 14px;
}

.category-header.active {
    color: #FF5722;
}

/* Populyar istehsalçı kartı link oldu - seçilən brend vurğulanır */
a.manufacturer-card {
    color: #171717;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s;
}

a.manufacturer-card:hover,
a.manufacturer-card.active {
    border-color: #FF5722;
}

/* Sevimli düyməsi: aktiv halda dolu ürək */
.product-wishlist-btn.is-active {
    border-color: #FF5722;
    color: #FF5722;
}

.product-wishlist-btn.is-active svg,
.product-card-unlike.is-active svg {
    fill: currentColor;
}

.product-wishlist-btn:disabled,
.product-card-unlike:disabled {
    opacity: .6;
    cursor: wait;
}

/* «Sevimlilər» səhifəsində kartın sağ üst küncündəki «çıxar» düyməsi */
.product-card {
    position: relative;
}

.product-card-unlike {
    position: absolute;
    /* Sürətli baxış (göz) düyməsinin altında */
    top: 60px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #FF5722;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    cursor: pointer;
}

.product-card-unlike svg {
    width: 18px;
    height: 18px;
}

.add-to-cart-btn:disabled,
.product-add-cart-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.product-stop-note {
    color: #B42318;
}

.product-info h1 a {
    color: inherit;
    text-decoration: none;
}

.product-info h1 a:hover {
    color: #FF5722;
}

.product-tab-empty {
    margin: 0;
    color: #999;
    font-size: 14px;
}

.product-description-html {
    color: #4D4D4D;
    font-size: 14px;
    line-height: 1.7;
}

.product-description-html img {
    max-width: 100%;
    height: auto;
}

.compatible-vehicles-toolbar select option[hidden] {
    display: none;
}

/* Kiçik bildiriş (sevimlilər) */
.site-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 2000;
    max-width: calc(100% - 32px);
    padding: 12px 18px;
    border-radius: 8px;
    background: #171717;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity .25s, transform .25s;
}

.site-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.site-toast.is-error {
    background: #B42318;
}

@media (max-width: 767.98px) {
    /* Mobil alt menyunun üstündə qalsın */
    .site-toast {
        bottom: 84px;
    }

    .product-card-unlike {
        top: 56px;
        right: 8px;
    }
}

/* Sənəd (yükləmə) paneli olmayanda tablar bütün eni tutsun */
.product-detail-bottom > .product-tabs:only-child {
    grid-column: 1 / -1;
}

/* ── Axtarış səhifəsi (products.js → [data-js="search"]) ── */

/* Choices.js select-ləri dizaynın select-i kimi görünsün */
.search-select-group .choices {
    margin-bottom: 0;
    font-size: 14px;
}

.search-select-group .choices__inner {
    min-height: 44px;
    padding: 6px 10px;
    border: 1px solid #e3e5e9;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
}

.search-select-group .choices.is-focused .choices__inner,
.search-select-group .choices.is-open .choices__inner {
    border-color: #f97316;
}

.search-select-group .choices__list--single {
    padding: 4px 16px 4px 0;
}

.search-select-group .choices__list--dropdown,
.search-select-group .choices__list[aria-expanded] {
    z-index: 20;
    border-color: #e3e5e9;
    border-radius: 8px;
}

.search-select-group .choices__list--dropdown .choices__item--selectable.is-highlighted,
.search-select-group .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
    background: #FFF1EB;
}

.search-select-group .choices__input {
    font-size: 14px;
}

.search-select-group .choices[data-type*="select-one"]::after {
    right: 14px;
}

/* Sıralama başlığı düymədir - üç ikondan görünəni data-dir seçir */
button.datatable-sortable-header {
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
}

.datatable-sort-icon .sort-icon-asc,
.datatable-sort-icon .sort-icon-desc,
[data-dir="asc"] .datatable-sort-icon .sort-icon-none,
[data-dir="desc"] .datatable-sort-icon .sort-icon-none {
    display: none;
}

[data-dir="asc"] .datatable-sort-icon .sort-icon-asc,
[data-dir="desc"] .datatable-sort-icon .sort-icon-desc {
    display: inline;
    color: #FF5722;
}

/* Şəkil - sürətli baxış düyməsi */
.datatable-thumb-btn {
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
}

.datatable-thumb-btn:hover .datatable-thumb {
    outline: 2px solid #FF5722;
    outline-offset: 1px;
}

a.datatable-product-name {
    color: inherit;
    text-decoration: none;
}

a.datatable-product-name:hover {
    color: #FF5722;
}

.datatable-price-old {
    display: block;
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
}

#searchResults tr.is-selected td {
    background: #FFF7F3;
}

#searchResults tr.is-unavailable td {
    color: #9CA3AF;
}

.search-page.is-loading .search-results-table {
    opacity: .7;
}

.search-sort-wrap label {
    margin: 0 0 0 8px;
}

/* Toplu seçim paneli - sağ aşağı, yalnız seçim olanda */
.search-bulk-bar {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 32px);
    padding: 12px 14px 12px 18px;
    border-radius: 12px;
    background: #171717;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.search-bulk-bar[hidden] {
    display: none;
}

.search-bulk-text {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.search-bulk-clear {
    padding: 6px 8px;
    border: none;
    background: transparent;
    color: #D1D5DB;
    font-size: 13px;
    cursor: pointer;
}

.search-bulk-clear:hover {
    color: #fff;
}

.search-bulk-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: #FF5722;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.search-bulk-add:disabled {
    opacity: .6;
    cursor: wait;
}

.search-bulk-add svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 767.98px) {
    /* Mobil alt menyunun üstündə, bütün en */
    .search-bulk-bar {
        right: 16px;
        left: 16px;
        bottom: 84px;
        justify-content: space-between;
    }

    .search-bulk-clear {
        display: none;
    }

    .search-sort-wrap {
        flex-wrap: wrap;
    }
}

/* Alt kateqoriya (Choices.js depth sinfi) */
.choices__item--depth-1 { padding-left: 26px !important; color: #4D4D4D; }
.choices__item--depth-2 { padding-left: 42px !important; color: #4D4D4D; }
.choices__item--depth-3 { padding-left: 58px !important; color: #4D4D4D; }

/* =========================================================
   Üstünlük kartları - aktiv kart sayına görə sütun (SiteFeaturesQuery)
   5+ kartda 4 sütun, son sətirdəki kartlar mərkəzdə
   ========================================================= */
.features[class*="features--cols-"] .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.features[class*="features--cols-"] .feature-card {
    flex: 0 0 calc((100% - (var(--feature-cols) - 1) * 20px) / var(--feature-cols));
    max-width: calc((100% - (var(--feature-cols) - 1) * 20px) / var(--feature-cols));
}

.features--cols-1 { --feature-cols: 1; }
.features--cols-2 { --feature-cols: 2; }
.features--cols-3 { --feature-cols: 3; }
.features--cols-4 { --feature-cols: 4; }

.features--cols-1 .feature-card {
    max-width: 480px !important;
}

@media (max-width: 1024px) {
    .features[class*="features--cols-"] .feature-card {
        flex-basis: calc((100% - (var(--feature-cols) - 1) * 16px) / var(--feature-cols));
        max-width: calc((100% - (var(--feature-cols) - 1) * 16px) / var(--feature-cols));
    }
}

@media (max-width: 900px) {
    .features--cols-3,
    .features--cols-4 { --feature-cols: 2; }
}

@media (max-width: 560px) {
    .features[class*="features--cols-"] { --feature-cols: 1; }
    .features[class*="features--cols-"] .feature-card { max-width: 100%; }
}

/* =========================================================
   Header: canlı axtarış təklifləri (header.js)
   ========================================================= */
.header-search {
    position: relative;
}

.header-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #ECECEC;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 22, 41, .12);
}

.header-suggest-group + .header-suggest-group {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #F0F0F0;
}

.header-suggest-title {
    padding: 6px 8px;
    color: #808080;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.header-suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    color: #141414;
    text-decoration: none;
}

.header-suggest-item:hover,
.header-suggest-item.is-active,
.header-suggest-all:hover,
.header-suggest-all.is-active {
    background: #FFF2EB;
    color: #141414;
}

.header-suggest-thumb {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: #F4F4F4;
    object-fit: cover;
}

.header-suggest-icon {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 6px;
    background: #F4F4F4;
    color: #EB6A00;
    font-weight: 700;
}

.header-suggest-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.header-suggest-name {
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-suggest-meta {
    overflow: hidden;
    color: #808080;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-suggest-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    white-space: nowrap;
}

.header-suggest-price {
    font-size: 14px;
    font-weight: 700;
}

.header-suggest-stock {
    font-size: 11px;
    font-weight: 600;
}

.header-suggest-stock.stock-in_stock { color: #1A9E55; }
.header-suggest-stock.stock-limited { color: #D66100; }
.header-suggest-stock.stock-out_of_stock { color: #EF3F24; }

.header-suggest-all {
    display: block;
    margin-top: 6px;
    padding: 10px 8px;
    border-top: 1px solid #F0F0F0;
    border-radius: 8px;
    color: #D66100;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.header-suggest-state {
    padding: 14px 10px;
    color: #808080;
    font-size: 14px;
}

/* Müqayisə sayğacı (header menyusundakı «Müqayisə» linki) */
.header-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #FF5722;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.catalog-subcategories h4 a {
    color: inherit;
    text-decoration: none;
}

.catalog-empty {
    color: #808080;
}

/* =========================================================
   Müqayisə düyməsi (kart, detal), «Qiymət bahadır?» (kart, axtarış sətri)
   ========================================================= */
.product-card-compare {
    position: absolute;
    /* Şəklin sağ aşağı küncü (şəkil 240px, mobil 160px) */
    top: 192px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #141414;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    cursor: pointer;
}

.product-card-compare svg {
    width: 16px;
    height: 16px;
}

.product-card-compare.is-active,
.product-compare-btn.is-active {
    color: #FF5722;
}

.product-card-compare:disabled,
.product-compare-btn:disabled {
    opacity: .6;
    cursor: wait;
}

@media (max-width: 900px) {
    .product-card-compare {
        top: 116px;
    }
}

.product-card .price-report-btn {
    margin-top: 10px;
    font-size: 13px;
}

.price-report-btn--compact {
    display: inline-flex;
    margin: 0 0 0 6px;
    text-decoration: none;
    vertical-align: middle;
}

.price-report-btn--compact svg {
    width: 18px;
    height: 18px;
}

/* =========================================================
   Səbət: header paneli və səbət səhifəsi (cart.js)
   ========================================================= */
.cart-sidebar-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.cart-panel-loading {
    color: #808080;
}

.cart-item-name {
    color: #141414;
    text-decoration: none;
}

.cart-item-code,
.cart-item-reason,
.cart-product-reason,
.cart-qty-hint {
    display: block;
    color: #808080;
    font-size: 12px;
}

.cart-item-reason,
.cart-product-reason {
    color: #EF3F24;
}

.cart-sidebar-item.is-busy,
[data-js="cart-row"].is-busy {
    opacity: .5;
    pointer-events: none;
}

.cart-product-name {
    color: #141414;
    text-decoration: none;
}

.cart-page.is-loading [data-js="cart-summary"] {
    opacity: .6;
}

tr[data-js="cart-row"].is-unavailable td {
    background: #FFF7F5;
}

.cart-empty-link {
    display: inline-block;
    margin-left: 8px;
    color: #D66100;
    font-weight: 600;
}

.cart-checkout-reasons {
    margin: 12px 0 0;
    padding: 10px 12px 10px 28px;
    border-radius: 8px;
    background: #FFF2EB;
    color: #B8540A;
    font-size: 13px;
}

.cart-form-error {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #FDECEA;
    color: #C62828;
    font-size: 14px;
}

.place-order-btn {
    margin-top: 16px;
}

.place-order-btn:disabled {
    background: #FFB59D;
    cursor: not-allowed;
}

/* Pulsuz çatdırılma irəliləməsi - 5% addımla (CartPageService) */
.free-shipping-fill--p0 { width: 0; }
.free-shipping-fill--p5 { width: 5%; }
.free-shipping-fill--p10 { width: 10%; }
.free-shipping-fill--p15 { width: 15%; }
.free-shipping-fill--p20 { width: 20%; }
.free-shipping-fill--p25 { width: 25%; }
.free-shipping-fill--p30 { width: 30%; }
.free-shipping-fill--p35 { width: 35%; }
.free-shipping-fill--p40 { width: 40%; }
.free-shipping-fill--p45 { width: 45%; }
.free-shipping-fill--p50 { width: 50%; }
.free-shipping-fill--p55 { width: 55%; }
.free-shipping-fill--p60 { width: 60%; }
.free-shipping-fill--p65 { width: 65%; }
.free-shipping-fill--p70 { width: 70%; }
.free-shipping-fill--p75 { width: 75%; }
.free-shipping-fill--p80 { width: 80%; }
.free-shipping-fill--p85 { width: 85%; }
.free-shipping-fill--p90 { width: 90%; }
.free-shipping-fill--p95 { width: 95%; }
.free-shipping-fill--p100 { width: 100%; }

/* =========================================================
   Müqayisə səhifəsi
   ========================================================= */
.comparison-table--count-1 { --product-count: 1; }
.comparison-table--count-2 { --product-count: 2; }
.comparison-table--count-4 { --product-count: 4; }

.comparison-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-product-header h4 a {
    color: inherit;
    text-decoration: none;
}

.comparison-product-header > a img {
    max-width: 100%;
}

.comparison-empty {
    padding: 48px 16px;
    border: 1px dashed #DADADA;
    border-radius: 12px;
    background: #fff;
    color: #4D4D4D;
    text-align: center;
}

.comparison-empty .btn-second {
    display: inline-flex;
    margin-top: 12px;
}

@media (max-width: 767.98px) {
    .comparison-table {
        min-width: calc(140px + var(--product-count) * 180px);
    }
}

/* =========================================================
   Haqqımızda, hüquqi səhifələr - paneldən gələn rich text
   ========================================================= */
.about-subtitle {
    margin: -8px 0 20px;
    color: #4D4D4D;
    font-size: 18px;
}

.about-banner {
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 12px;
}

.about-banner img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
    margin: 24px 0 10px;
    color: #141414;
    font-weight: 600;
}

.rich-content > :first-child {
    margin-top: 0;
}

.rich-content p,
.rich-content li {
    color: #4D4D4D;
    font-size: 16px;
    line-height: 1.6;
}

.rich-content ul,
.rich-content ol {
    padding-left: 22px;
}

.rich-content a {
    color: #D66100;
}

.rich-content img {
    max-width: 100%;
    height: auto;
}

.rich-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.legal-updated {
    margin: 20px 0 0;
    color: #808080;
    font-size: 13px;
}

/* =========================================================
   Əlaqə formu nəticəsi, footer sosial ikonları
   ========================================================= */
.contact-form-result {
    margin: 12px 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.contact-form-result.is-success {
    background: #E8F7EE;
    color: #1A7F45;
}

.contact-form-result.is-error {
    background: #FDECEA;
    color: #C62828;
}

.contact-detail-item a {
    color: inherit;
    text-decoration: none;
}

.footer-socials a svg,
.footer-socials a img {
    width: 22px;
    height: 22px;
}

/* ─── Kabinet: sifariş / sənəd statusunun rəngi (panelin «Sifariş statusları» palitrası) ─── */
.order-status-badge.tone-warning, .order-status-pill.tone-warning, .doc-type-badge.tone-warning { background: #FFF2E0; color: #D6820A; }
.order-status-badge.tone-info, .order-status-pill.tone-info, .doc-type-badge.tone-info { background: #E7F0FE; color: #2E7FF0; }
.order-status-badge.tone-primary, .order-status-pill.tone-primary, .doc-type-badge.tone-primary { background: #EEE9FE; color: #6A4CE6; }
.order-status-badge.tone-success, .order-status-pill.tone-success, .doc-type-badge.tone-success { background: #E0F5E8; color: #00A143; }
.order-status-badge.tone-danger, .order-status-pill.tone-danger, .doc-type-badge.tone-danger { background: #FDEAEE; color: #E23A5B; }
.order-status-badge.tone-secondary, .order-status-pill.tone-secondary, .doc-type-badge.tone-secondary { background: #F0F0F0; color: #4D4D4D; }
.order-status-badge.tone-dark, .order-status-pill.tone-dark, .doc-type-badge.tone-dark { background: #E3E3E3; color: #1F1F1F; }
.order-status-badge { display: inline-block; white-space: nowrap; }
.order-number-link { color: inherit; font-weight: 600; text-decoration: none; }
.order-number-link:hover { color: #FF5722; }
.order-item-discount { display: block; color: #E23A5B; font-size: 12px; }
.order-detail-date + .order-detail-date { display: block; margin-top: 2px; }
.order-detail-actions { flex-wrap: wrap; }
.order-detail-actions a.order-action-btn { text-decoration: none; }
.order-action-danger { border-color: #F5C2CD; background: #FDEAEE; color: #E23A5B; }
.order-action-danger:hover { background: #FAD6DE; }
.order-cancel-form { margin: 0 0 20px; padding: 16px; border: 1px solid #F5C2CD; border-radius: 8px; background: #FFF8F9; }
.order-cancel-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.order-cancel-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #e5e5e5; border-radius: 6px; resize: vertical; }
.order-cancel-form p { margin: 8px 0 12px; font-size: 13px; color: #6b6b6b; }
.order-cancel-info { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 0 0 20px; padding: 12px 16px; border-radius: 8px; background: #FDEAEE; color: #B3243F; font-size: 14px; }
.order-cancel-info p { flex-basis: 100%; margin: 0; color: #6b2a37; }
.stepper-node.cancelled { background: #E23A5B; }
.stepper-track { flex-wrap: wrap; }
.account-restricted-note { padding: 16px; border: 1px dashed #d9d9d9; border-radius: 8px; background: #FAFAFA; color: #4D4D4D; font-size: 14px; }
.doc-description { color: #808080; font-size: 12px; margin-top: 2px; }
.doc-status-badge.effect-in { background: #FDEAEE; color: #E23A5B; }
.doc-status-badge.effect-out { background: #E0F5E8; color: #00A143; }
.doc-status-badge.effect-none { background: #F0F0F0; color: #4D4D4D; }
.documents-tabs a { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 6px; color: #4D4D4D; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.documents-tabs a.active { background: #FF5722; color: #fff; }
.documents-tabs { display: flex; gap: 4px; overflow-x: auto; }
.debt-amount-in { color: #E23A5B; }
.debt-amount-out { color: #00A143; }
.documents-stats-grid .doc-stats-value + .doc-stats-value { margin-top: 2px; font-size: 16px; }
.document-line-no { color: #808080; font-weight: 600; text-align: center; }
.document-items-table .order-items-header, .document-items-table .order-items-row { grid-template-columns: 40px 1fr 120px 70px 120px; }

/* Sənədin çap görünüşü (brauzerin «PDF kimi saxla» funksiyası) */
.document-print-page { background: #F3F4F6; }
.document-print-sheet { max-width: 900px; margin: 24px auto; padding: 32px; border-radius: 10px; background: #fff; }
.document-print-actions { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.document-print-signatures { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; font-size: 14px; }
@media (max-width: 767px) {
    .document-print-sheet { margin: 0; padding: 16px; border-radius: 0; }
    .document-print-signatures { flex-direction: column; }
    .document-items-table .order-items-header, .document-items-table .order-items-row { grid-template-columns: 32px 1fr 90px 50px 90px; }
}
@media print {
    .document-print-page { background: #fff; }
    .document-print-sheet { margin: 0; padding: 0; max-width: none; }
    .document-print-actions { display: none; }
}
.documents-page .doc-type-badge, .documents-page .doc-status-badge, .datatable td strong { white-space: nowrap; }

/* =========================================================
   Bildirişlər - tablar, əməliyyatlar, detal, «Bildiriş seçimləri» (mobil: cədvəl kartlara çevrilir)
   ========================================================= */
.notifications-header--actions { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.notifications-header__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.notifications-header__buttons form { margin: 0; }
.notif-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: 1px solid var(--color-accent); border-radius: 8px; background: var(--color-accent); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; line-height: 1.3; }
.notif-btn:hover { color: #fff; opacity: .92; }
.notif-btn[hidden] { display: none; }
.notif-btn--ghost { background: #fff; color: var(--color-primary); border-color: #E2E2E2; }
.notif-btn--ghost:hover { color: var(--color-accent); border-color: var(--color-accent); }
.notif-btn svg { width: 16px; height: 16px; }

.notifications-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.notifications-tabs { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.notifications-tab { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; color: #4d4d4d; font-size: 14px; text-decoration: none; white-space: nowrap; border: 1px solid #ECECEC; }
.notifications-tab.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.notifications-tab__count { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(0, 0, 0, .06); font-size: 12px; text-align: center; }
.notifications-tab.active .notifications-tab__count { background: rgba(255, 255, 255, .2); }
.notifications-filter { margin: 0; }
.notifications-filter__select { min-width: 200px; max-width: 100%; padding: 8px 12px; border: 1px solid #E2E2E2; border-radius: 8px; background: #fff; font-size: 14px; }

.notification-item.is-unread { background: #F1F6FE; }
.notification-top-row h4 a { color: inherit; text-decoration: none; }
.notification-top-row h4 a:hover { color: var(--color-accent); }
.notification-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.notification-type { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; background: #EEE; color: #555; white-space: nowrap; }
.notification-type svg { width: 13px; height: 13px; }
.notification-type.tone-info { background: #E7F0FE; color: #2E7FF0; }
.notification-type.tone-success { background: #E0F5E8; color: #00A143; }
.notification-type.tone-danger { background: #FDEAEE; color: #E23A5B; }
.notification-type.tone-warning { background: #FFF2E0; color: #D6820A; }
.notification-type.tone-primary { background: #EEE9FE; color: #6A4CE6; }
.notification-actions { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; margin-left: auto; }
.notification-link { padding: 0; border: 0; background: none; color: #6b6b6b; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.notification-link:hover { color: var(--color-accent); }
.notification-link--danger:hover { color: #E23A5B; }

.notification-detail { background: #fff; border-radius: 12px; padding: 28px 24px; max-width: 760px; }
.notification-detail h1 { margin: 12px 0 6px; font-size: 26px; font-weight: 600; color: #141414; }
.notification-detail__body { margin: 16px 0; color: #4d4d4d; font-size: 15px; line-height: 1.7; white-space: pre-line; }
.notification-detail__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.notification-detail__actions form { margin: 0; }

.notif-card { background: #fff; border-radius: 12px; padding: 22px 20px; margin-bottom: 16px; }
.notif-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 20px; font-weight: 600; color: #141414; }
.notif-card h2 svg { width: 20px; height: 20px; }
.notif-card h3 { margin: 18px 0 8px; font-size: 15px; font-weight: 600; color: #333; }
.notif-muted { margin: 0 0 10px; color: #808080; font-size: 14px; }
.notif-status { margin: 0 0 10px; font-size: 14px; color: #333; }
.notif-alert { margin-bottom: 16px; padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.notif-alert--success { background: #E0F5E8; color: #00702F; }
.notif-alert--danger { background: #FDEAEE; color: #B3243F; }
.notif-switches { display: flex; flex-wrap: wrap; gap: 10px; }
.notif-switch { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid #ECECEC; border-radius: 8px; font-size: 14px; cursor: pointer; }
.notif-switch small { color: #999; font-size: 12px; }
.notif-switch.is-disabled { opacity: .6; cursor: not-allowed; }
.notif-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 16px; }
.notif-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.notif-table th { padding: 10px 8px; text-align: center; color: #808080; font-weight: 500; border-bottom: 1px solid #ECECEC; white-space: nowrap; }
.notif-table th:first-child, .notif-table td:first-child { text-align: left; }
.notif-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid #F3F3F3; vertical-align: top; }
.notif-table td strong { display: block; font-weight: 500; color: #141414; }
.notif-table td small { display: block; color: #999; font-size: 12px; }
.notif-table tr.is-disabled td { opacity: .55; }
.notif-recipients { text-align: left !important; }
.notif-recipients label { display: block; font-size: 13px; white-space: nowrap; }
.notif-recipients select { margin-top: 4px; max-width: 220px; font-size: 13px; }

@media (max-width: 767px) {
    .notifications-header h1 { font-size: 26px; }
    .notifications-filter, .notifications-filter__select { width: 100%; }
    .notification-actions { margin-left: 0; }
    .notification-top-row { flex-wrap: wrap; }
    /* Seçim cədvəli mobil ekranda kartlara çevrilir - hər xananın öz etiketi var */
    .notif-table thead { display: none; }
    .notif-table, .notif-table tbody, .notif-table tr, .notif-table td { display: block; width: 100%; }
    .notif-table tr { padding: 10px 0; border-bottom: 1px solid #ECECEC; }
    .notif-table td { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border: 0; text-align: right; }
    .notif-table td::before { content: attr(data-label); color: #808080; font-size: 13px; text-align: left; }
    .notif-table td:first-child { display: block; text-align: left; }
    .notif-table td:first-child::before { content: none; }
    .notif-recipients { text-align: right !important; }
    .notif-recipients label { white-space: normal; }
}

/* ═══════════════════════ Kabinet: interaktiv qat (account.js) ═══════════════════════
   Loader, AJAX cədvəl vəziyyəti, sahə xətaları, təsdiq modalı, sıralama, ünvan, cihaz,
   qaytarma formu, idarə paneli. Mobil: filtrlər sütuna düşür, cədvəl üfüqi sürüşür. */

/* Düymə loader-i - mətn qalır, yanında fırlanan halqa; ikinci klik bloklanır */
.is-loading[aria-busy="true"], button.is-loading { position: relative; pointer-events: none; opacity: .85; }
button.is-loading::after {
    content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 8px; vertical-align: -2px;
    border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
    animation: account-spin .7s linear infinite;
}
@keyframes account-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { button.is-loading::after { animation-duration: 2s; } }

/* AJAX cədvəl bölgəsi: yüklənəndə köhnə sətirlər solğun, üstündə spinner */
.account-table-region { position: relative; min-height: 80px; transition: opacity .15s; }
.account-table-region.is-loading { opacity: .55; pointer-events: none; }
.account-table-region.is-loading::after {
    content: ""; position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px;
    border: 3px solid var(--color-accent, #FE5F0E); border-right-color: transparent; border-radius: 50%;
    animation: account-spin .7s linear infinite;
}
.account-filters { align-items: flex-end; }
.account-reset-btn {
    display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
    border: 1px solid #E3E3E3; border-radius: 7px; background: #fff; color: #4D4D4D; font-size: 14px; font-weight: 500; cursor: pointer;
}
.account-reset-btn:hover { border-color: var(--color-accent, #FE5F0E); color: var(--color-accent, #FE5F0E); }
.account-per-page { min-width: 90px !important; }
.account-per-page-select { height: 44px; padding: 0 10px; border: 1px solid #E3E3E3; border-radius: 7px; background: #fff; }
.account-table-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; flex-wrap: wrap; }
.account-table-info { color: #808080; font-size: 13px; }
.account-table-footer .pagination { margin: 0; }

/* Sıralanan başlıq */
.datatable-sort-link { display: inline-flex; align-items: center; gap: 4px; color: inherit; text-decoration: none; white-space: nowrap; }
.datatable-sort-link:hover { color: var(--color-primary, #00294D); }
.datatable-sort-icon { width: 12px; height: 12px; opacity: .35; }
th.is-sorted .datatable-sort-link { color: var(--color-primary, #00294D); }
th.is-sorted .datatable-sort-icon { opacity: 1; }

/* Sahə xətası (422) */
.is-invalid, .is-invalid:focus { border-color: #E23A5B !important; box-shadow: 0 0 0 3px rgba(226, 58, 91, .12) !important; }
.field-error { display: block; margin-top: 6px; color: #E23A5B; font-size: 12px; line-height: 1.4; }
.profile-field-hint { margin: 4px 0 0; color: #808080; font-size: 13px; }

/* Təsdiq modalı (Bəli / Xeyr) */
.account-confirm-modal .modal-content { border: 0; border-radius: 14px; padding: 24px; }
.account-confirm-body { display: flex; gap: 14px; align-items: flex-start; }
.account-confirm-body p { margin: 0; color: #171717; font-size: 15px; line-height: 1.55; }
.account-confirm-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: #FFF2E0; color: #D6820A; }
.account-confirm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.account-confirm-no, .account-confirm-yes { height: 42px; padding: 0 20px; border-radius: 7px; font-size: 14px; font-weight: 600; cursor: pointer; }
.account-confirm-no { border: 1px solid #E3E3E3; background: #fff; color: #4D4D4D; }
.account-confirm-yes { border: 0; background: #E23A5B; color: #fff; }
.account-confirm-yes:hover { background: #c92f4e; }

/* Sətir əməliyyatı (cihazı unut) */
.account-row-action {
    display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 7px;
    border: 1px solid #E3E3E3; background: #fff; color: #4D4D4D; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.account-row-action.is-danger:hover { border-color: #E23A5B; color: #E23A5B; }
.account-row-muted { color: #BDBDBD; }

/* Yan menyu: şirkətin adı uzun ola bilər */
.account-badge-name { display: block; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Profil / ünvan */
.address-item-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.address-item-line { color: #171717; font-size: 14px; }
.address-item-meta { color: #808080; font-size: 12px; }
.address-default-badge { display: inline-block; width: fit-content; padding: 2px 8px; border-radius: 6px; background: #E0F5E8; color: #00A143; font-size: 11px; font-weight: 600; }
.address-default-check { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: #4D4D4D; font-size: 14px; cursor: pointer; }
.address-modal-form textarea, .address-modal-form select { width: 100%; }
.address-modal-form textarea { padding: 10px 12px; border: 1px solid #E3E3E3; border-radius: 7px; resize: vertical; font: inherit; }

/* Təhlükəsizlik */
.security-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.security-logout-others-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 7px;
    border: 1px solid #F3C7D0; background: #FDEAEE; color: #E23A5B; font-size: 14px; font-weight: 600; cursor: pointer;
}
.security-stats { margin-bottom: 20px; }
.security-device-info { display: flex; align-items: center; gap: 10px; }
.security-device-info > span:nth-child(2) { display: flex; flex-direction: column; }
.security-device-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: #F5F5F5; color: #4D4D4D; flex-shrink: 0; }
.security-current-badge { padding: 2px 8px; border-radius: 6px; background: #E7F0FE; color: #2E7FF0; font-size: 11px; font-weight: 600; white-space: nowrap; }
tr.is-current-row td { background: #FAFCFF; }
.security-password-card { margin-top: 24px; }

/* Qaytarma */
.return-more-badge { margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: #F0F0F0; color: #4D4D4D; font-size: 11px; font-weight: 600; }
.return-lines-region { position: relative; min-height: 48px; }
.return-lines-region.is-loading { opacity: .5; }
.return-lines-empty { margin: 0; padding: 12px; border: 1px dashed #E3E3E3; border-radius: 8px; color: #808080; font-size: 13px; }
.return-lines { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow-y: auto; }
.return-line { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #ECECEC; border-radius: 8px; background: #fff; }
.return-line.is-disabled { opacity: .55; }
.return-line-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.return-line-name { color: #171717; font-size: 14px; font-weight: 500; }
.return-line-meta { color: #808080; font-size: 12px; }
.return-line-qty { width: 72px; height: 38px; padding: 0 8px; border: 1px solid #E3E3E3; border-radius: 7px; text-align: center; }
.return-order-dropdown { max-height: 260px; overflow-y: auto; }
.return-order-dropdown button { display: block; width: 100%; text-align: left; }
.return-order-empty { display: block; padding: 10px 14px; color: #808080; font-size: 13px; }
.return-upload-hint { display: block; margin-top: 6px; color: #808080; font-size: 12px; }
.return-action-btn.is-danger { border-color: #F3C7D0; color: #E23A5B; }
.return-info-text { white-space: pre-line; text-align: right; }
.return-item-approved { display: block; color: #00A143; font-size: 11px; }
.return-images-card { margin-top: 20px; }
.return-images-card .return-image-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px; }

/* İdarə paneli */
.dashboard-period-form { display: flex; align-items: center; gap: 8px; }
.dashboard-period-label { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; color: #808080; font-size: 13px; }
.dashboard-stats-link { color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.dashboard-stats-link:hover { border-color: var(--color-accent, #FE5F0E); box-shadow: 0 4px 14px rgba(0, 0, 0, .05); }
.doc-stats-note.note-warning { color: #D6820A; }
.orders-breakdown-item { color: inherit; text-decoration: none; }
.orders-breakdown-item:hover { border-color: var(--color-accent, #FE5F0E); }
.dashboard-empty-text { margin: 0; color: #808080; font-size: 14px; }
.dashboard-recent { margin-top: 24px; }
.dashboard-recent-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dashboard-recent-header h3 { margin: 0; color: #171717; font-size: 16px; font-weight: 600; }
.dashboard-recent-link { display: inline-flex; align-items: center; gap: 4px; color: var(--color-accent, #FE5F0E); font-size: 14px; font-weight: 500; text-decoration: none; }

/* Sənədlər: tab + filtr sətri */
.documents-filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.documents-date-input { min-width: 220px; }

@media (max-width: 767px) {
    .account-filters { flex-direction: column; align-items: stretch; }
    .account-filters > * { width: 100%; min-width: 0 !important; }
    .account-reset-btn { justify-content: center; }
    .documents-filter-row { flex-direction: column; align-items: stretch; }
    .documents-date-input { min-width: 0; }
    .account-table-footer { flex-direction: column; align-items: flex-start; }
    .security-logout-others-btn { width: 100%; justify-content: center; }
    .dashboard-period-form { width: 100%; }
    .dashboard-period-form .dashboard-date-input { flex: 1; }
    .return-info-text { text-align: left; }
    .account-confirm-actions { flex-direction: column-reverse; }
    .account-confirm-actions button { width: 100%; }
}
/* Header səbət düyməsi: «Səbətim» yazısı çıxarıldı - hündürlük «Hesab» düyməsi ilə eynidir (44px, bütün ekranlarda) */
.header-cart-btn { height: 44px; padding: 0 14px; gap: 8px; }
.header-cart-info { font-size: 15px; }

/* Kampaniya detalı: hero fonu kampaniyanın şəklidir (<img>, inline stil yox); şəkil yoxdursa tünd fon */
.promotion-hero--dynamic { overflow: hidden; background-color: #0b2545; }
.promotion-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promotion-hero--dynamic .promotion-hero-breadcrumb-wrap,
.promotion-hero--dynamic .promotion-hero-inner { z-index: 1; }
/* Paneldən gələn təsvirdə sətir keçidləri qorunur */
.promotion-info-description--text { white-space: pre-line; }
.promotion-products .catalog-empty .action-btn { display: inline-flex; margin-top: 12px; }

/* Təhlükəsizlik → cihazlar cədvəli: style.css-də .security-device-info sütun idi, ikon / ad / nişan alt-alta yığılırdı.
   Hüceyrə yeni quruluşdadır: ikon | (ad + «Bu cihaz») / növ · ilk giriş; qalan sütunlar bir sətirdə */
.security-device-cell { min-width: 240px; }
.security-device-row { display: flex; align-items: center; gap: 12px; }
.security-device-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.security-device-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.security-device-title .security-device-name { line-height: 1.3; }
.security-device-row .security-device-icon { width: 38px; height: 38px; border-radius: 10px; }
.security-device-row .security-device-icon svg { width: 18px; height: 18px; }
.security-nowrap { white-space: nowrap; color: #4D4D4D; font-size: 13px; vertical-align: middle; }
.security-ip { font-variant-numeric: tabular-nums; }
.security-device-cell + td, .datatable td.security-device-cell { vertical-align: middle; }

/* Ünvanlarım / Parolu dəyiş - ayrıca kabinet səhifələri */
.profile-info-header-actionable { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.account-password-card { max-width: 560px; }
.account-password-fields { display: flex; flex-direction: column; gap: 16px; }

/* Ana səhifə intro (yazı + şəkil): şəkil ekranın sağ kənarına yox, konteynerin sağ kənarına qədər uzanır
   (header-in səbət düyməsi ilə eyni xətt). --hero-gap = ekran kənarı ilə konteynerin məzmun kənarı arası
   (Bootstrap .container max-width + 12px daxili boşluq). Sol kənar yerində qalır - en o qədər qısalır. */
.hero-banner { --hero-gap: 12px; }
@media (min-width: 576px) { .hero-banner { --hero-gap: calc((100% - 540px) / 2 + 12px); } }
@media (min-width: 768px) { .hero-banner { --hero-gap: calc((100% - 720px) / 2 + 12px); } }
@media (min-width: 992px) { .hero-banner { --hero-gap: calc((100% - 960px) / 2 + 12px); } }
@media (min-width: 1200px) { .hero-banner { --hero-gap: calc((100% - 1140px) / 2 + 12px); } }
@media (min-width: 1400px) { .hero-banner { --hero-gap: calc((100% - 1320px) / 2 + 12px); } }
@media (min-width: 601px) {
    .hero-banner .hero-image { right: var(--hero-gap); width: calc(55% - var(--hero-gap)); }
}
@media (min-width: 601px) and (max-width: 900px) {
    .hero-banner .hero-image { width: calc(50% - var(--hero-gap)); }
}

/* =========================================================
   Stok: «Stok yenilənib» nişanı, «Stoku izlə» düyməsi, «Stokunu izlədiklərim», axtarış sətri
   ========================================================= */
.stock-restocked { color: #0B7A75; background: #DDF5F3; }
.search-row-stock { display: block; margin-top: 4px; padding: 1px 6px; border-radius: 6px; font-size: 11px; white-space: nowrap; width: fit-content; }
.search-row-stock.stock-limited { background: #FFF2E0; color: #D66100; }
.stock-watch-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 10px; border: 1px solid #D9DEE7; border-radius: 8px; background: #fff; color: #33415C; font-size: 12px; font-weight: 500; line-height: 1.3; cursor: pointer; white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.stock-watch-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.stock-watch-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.stock-watch-btn.is-active { border-color: #0B7A75; background: #DDF5F3; color: #0B7A75; }
.stock-watch-btn:disabled { opacity: .6; cursor: progress; }
.product-card .stock-watch-btn { width: 100%; justify-content: center; }
.datatable .stock-watch-btn { margin-top: 6px; }
.stock-watch-codes { display: block; margin-top: 2px; color: #6b6b6b; font-size: 12px; }
.stock-watch-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.stock-watch-actions .stock-watch-btn { margin-top: 0; }
.search-results-table .price-report-btn--compact { display: inline-flex; align-items: center; gap: 4px; width: auto; height: auto; margin-top: 6px; padding: 2px 0; background: none; border: 0; font-size: 12px; line-height: 1.3; white-space: nowrap; }
.search-results-table .price-report-btn--compact svg { width: 14px; height: 14px; flex-shrink: 0; }
@media (max-width: 767px) {
    .stock-watch-actions { flex-direction: column; align-items: flex-start; }
}

/* Axtarış səhifəsinin mətn input-u (header input-u bu səhifədə gizlidir) */
.search-query-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.search-query-input { position: relative; flex: 1; min-width: 0; }
.search-query-input svg { position: absolute; top: 50%; left: 12px; width: 18px; height: 18px; transform: translateY(-50%); color: #8A8F98; pointer-events: none; }
.search-query-input input { width: 100%; height: 44px; padding: 0 12px 0 38px; border: 1px solid #E2E2E2; border-radius: 8px; background: #fff; font-size: 15px; }
.search-query-input input:focus { border-color: var(--color-accent); outline: none; }

/* Checkout: ünvanın istəyə bağlı olduğu işarəsi */
.form-field-optional { color: #8A8F98; font-weight: 400; text-transform: none; letter-spacing: 0; }

/* Texniki işlər rejimi: icazəli admin saytı görür, üstündə xəbərdarlıq (SiteMaintenance) */
.site-closed-notice { position: fixed; left: 50%; bottom: 16px; z-index: 2000; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; background: #0f1c3f; color: #fff; font-size: 13px; text-align: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); max-width: calc(100vw - 32px); }
.dashboard-restricted-note { margin-top: 16px; }

/* Axtarış səhifəsində header input-u yoxdur: sağdakı düymələr yerində qalır */
.header-actions { margin-left: auto; }

/* Axtarış cədvəli: səbət, stok izləmə və «Qiymət bahadır?» bir sütunda, ortada */
.search-row-actions { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.search-results-table .search-row-actions .stock-watch-btn,
.search-results-table .search-row-actions .price-report-btn--compact { margin: 0; }
