/* ============================================================
   smartlife-inspired layer — mychoice BRENDI saqlangan holda
   Maqsad: toza, oq-qora, katalog-markazli, "oyiga" pill.
   Funksiyalar tegilmagan — bu faqat vizual qatlam.
   ============================================================ */

/* ===== 1. Hero qidiruv maydoni (smartlife imzosi) ===== */
.mc-redesign .hero-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 440px;
    margin-top: 20px;
    padding: 4px 6px 4px 16px;
    background: #fff;
    border: 1px solid #e5e5ea;
    border-radius: 100px;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.06);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.mc-redesign .hero-search:focus-within {
    border-color: #1d1d1f;
    box-shadow: 0 6px 22px rgba(16, 24, 40, 0.12);
}
.mc-redesign .hero-search__icon {
    color: #8a8a8e;
    flex-shrink: 0;
}
.mc-redesign .hero-search__input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 15px;
    color: #1d1d1f;
    padding: 12px 0;
    min-width: 0;
}
.mc-redesign .hero-search__input::placeholder {
    color: #a0a0a6;
}
/* Qidiruv ikonkasini o'ng chekkaga qora doira sifatida qo'shamiz */
.mc-redesign .hero-search::after {
    content: "";
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1d1d1f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center/18px no-repeat;
    flex-shrink: 0;
    pointer-events: none;
}
@media (max-width: 720px) {
    .mc-redesign .hero-search { max-width: 100%; margin-top: 16px; }
}

/* ===== 2. Kategoriya kartalari -> gorizontal pill chip'lar ===== */
.mc-redesign #catalog .category-cards-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px !important;
    justify-content: center;
    grid-template-columns: none !important;
}
.mc-redesign #catalog .category-card {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    width: auto !important;
    min-width: 0 !important;
    padding: 9px 18px !important;
    border-radius: 100px !important;
    background: #fff !important;
    border: 1px solid #e5e5ea !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.mc-redesign #catalog .category-card:hover {
    border-color: #1d1d1f !important;
}
.mc-redesign #catalog .category-card.active {
    background: #1d1d1f !important;
    border-color: #1d1d1f !important;
    color: #fff !important;
}
.mc-redesign #catalog .category-card .category-card-icon {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    background: none !important;
    box-shadow: none !important;
}
.mc-redesign #catalog .category-card .category-card-icon svg {
    width: 20px;
    height: 20px;
}
.mc-redesign #catalog .category-card.active .category-card-icon svg,
.mc-redesign #catalog .category-card.active .category-card-icon {
    stroke: #fff;
    color: #fff;
}
.mc-redesign #catalog .category-card .category-card-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    margin: 0 !important;
}
@media (max-width: 720px) {
    .mc-redesign #catalog .category-cards-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .mc-redesign #catalog .category-cards-grid::-webkit-scrollbar { display: none; }
    .mc-redesign #catalog .category-card { flex-shrink: 0; }
}

/* ===== 3. Mahsulot kartasi — "oyiga" pill, toza kompakt ko'rinish ===== */
/* "Nasiyaga" yorlig'i kichik, kulrang */
.mc-redesign .product-card--b .price-nasiya {
    font-size: 11px;
    font-weight: 600;
    color: #8a8a8e;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
/* Oylik to'lov — qora pill (smartlife'da rangli, bizda brend qora) */
.mc-redesign .product-card--b .price-nasiya-num {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    background: #1d1d1f;
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 5px 11px;
    border-radius: 9px;
    margin: 2px 0 4px;
    width: fit-content;
    line-height: 1.15;
}
.mc-redesign .product-card--b .price-nasiya-suffix {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.75;
}
/* Naqd narx — pastda, ikkilamchi */
.mc-redesign .product-card--b .price-cash {
    display: block;
    font-size: 13px;
    color: #6b6b70;
    font-weight: 500;
}
.mc-redesign .product-card--b .price-cash-original {
    color: #b0b0b6;
    text-decoration: line-through;
    margin-left: 6px;
    font-weight: 400;
}

/* Karta ichini biroz ixchamlashtiramiz (smartlife zichligi) */
.mc-redesign .product-card--b .product-info {
    padding: 12px 14px 14px !important;
}
.mc-redesign .product-card--b .product-title {
    font-size: 15px !important;
    line-height: 1.3;
    margin-bottom: 4px !important;
}
.mc-redesign .product-card--b .product-storage-tag {
    font-size: 11px;
    color: #8a8a8e;
}

/* CTA tugmasi — to'liq kenglik, tiniq qora-oq */
.mc-redesign .product-card--b .btn-card-cta {
    width: 100%;
    margin-top: 10px;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    background: #f2f2f5 !important;
    color: #1d1d1f !important;
    border: 1px solid #e5e5ea !important;
    transition: background 0.18s ease, color 0.18s ease;
}
.mc-redesign .product-card--b .btn-card-cta:hover {
    background: #1d1d1f !important;
    color: #fff !important;
    border-color: #1d1d1f !important;
}

/* ===== 4. Umumiy tozalik — oqroq fon, yupqa chegara ===== */
.mc-redesign #catalog {
    background: #fafafa;
}
.mc-redesign #catalog .catalog-toolbar {
    border: none;
    background: transparent;
}

/* ============================================================
   smartlife oqimi — qora-oq-kulrang, sodda (2-bosqich)
   ============================================================ */

/* ===== Hero — sodda: dekorativ bezaklar yashiriladi ===== */
.mc-redesign .hero-store__orbit { display: none !important; }
.mc-redesign .mc-watermark { display: none !important; }

/* ===== Promo banner -> smartlife qora banner (rangli gradientlar o'rniga) ===== */
.mc-redesign .promo__slide,
.mc-redesign .promo--blue,
.mc-redesign .promo--green,
.mc-redesign .promo--amber,
.mc-redesign .promo--dark {
    background: linear-gradient(115deg, #0a0a0c 0%, #1b1b1f 58%, #2c2c31 100%) !important;
}
.mc-redesign .promo__badge {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
.mc-redesign .promo__btn {
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
}
.mc-redesign .promo__btn:hover { background: #f0f0f2 !important; }
.mc-redesign .promo__img {
    max-width: 340px;
    max-height: 250px;
    filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.55));
}
.mc-redesign .promo__dot.is-active { background: #1d1d1f; }
.mc-redesign .promo__nav {
    background: rgba(255, 255, 255, 0.85);
    color: #111;
}

/* ===== Bo'lim sarlavhasi — smartlife (qora qalin + kulrang davomi) ===== */
.sl-section-title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: #1d1d1f;
    margin: 0 0 22px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}
.sl-section-title span { color: #a8a8ae; font-weight: 700; }

/* ===== "Xit sotuv" kartalari — toza oq, kompakt ===== */
.mc-redesign #bestsellers .bestsellers-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.mc-redesign .bs-card {
    display: flex !important;
    flex-direction: column;
    background: #fff !important;
    border: 1px solid #ececf0 !important;
    border-radius: 18px !important;
    padding: 20px 18px !important;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04) !important;
    overflow: hidden;
}
.mc-redesign .bs-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.10) !important;
}
.mc-redesign .bs-card__body { order: 1; padding: 0 !important; }
.mc-redesign .bs-card__title {
    font-size: 17px; font-weight: 700; color: #1d1d1f;
    margin: 0 0 8px; line-height: 1.25;
}
.mc-redesign .bs-card__monthly {
    font-size: 15px; font-weight: 800; color: #1d1d1f; margin: 0;
}
.mc-redesign .bs-card__monthly span { font-size: 12px; font-weight: 500; color: #8a8a8e; }
.mc-redesign .bs-card__price { font-size: 13px; color: #8a8a8e; margin-top: 2px; }
.mc-redesign .bs-card__img-wrap {
    order: 2;
    display: flex; align-items: center; justify-content: center;
    padding: 16px 0; min-height: 170px;
    background: none !important; border-radius: 0 !important;
}
.mc-redesign .bs-card__img { max-height: 180px; width: auto; object-fit: contain; }
.mc-redesign .bs-card__actions {
    order: 3; display: flex; align-items: center; gap: 10px; margin-top: auto;
}
.mc-redesign .bs-card__buy {
    flex: 1;
    background: #1d1d1f; color: #fff;
    border: none; border-radius: 100px;
    padding: 11px 14px; font-weight: 600; font-size: 14px; cursor: pointer;
    transition: background 0.18s ease;
}
.mc-redesign .bs-card__buy:hover { background: #000; }
.mc-redesign .bs-card__buy:disabled { background: #c7c7cc; cursor: not-allowed; }
.mc-redesign .bs-card__more {
    background: none; border: none; color: #6b6b70;
    font-weight: 600; font-size: 14px; cursor: pointer; padding: 6px 4px;
}
.mc-redesign .bs-card__more:hover { color: #1d1d1f; }

@media (max-width: 900px) {
    .mc-redesign #bestsellers .bestsellers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .mc-redesign .bs-card { padding: 16px 14px !important; }
    .mc-redesign .bs-card__title { font-size: 15px; }
    .mc-redesign .bs-card__img-wrap { min-height: 130px; }
    .mc-redesign .bs-card__img { max-height: 140px; }
}

/* ===== Yakuniy CTA — "Apple'ga MyChoice bilan yanada yaqin" ===== */
.sl-cta {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #f0f0f2;
}
.sl-cta__inner { text-align: center; }
.sl-cta__title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800; color: #1d1d1f;
    margin: 0 0 10px; letter-spacing: -0.6px;
}
.sl-cta__title span { color: #8a8a8e; }
.sl-cta__text { font-size: 16px; color: #6b6b70; margin: 0 0 24px; }
.sl-cta__btn {
    display: inline-flex;
    background: #1d1d1f; color: #fff;
    padding: 14px 32px; border-radius: 100px;
    font-weight: 700; font-size: 15px; text-decoration: none;
    transition: transform 0.15s ease, background 0.18s ease;
}
.sl-cta__btn:hover { background: #000; transform: translateY(-2px); }

/* ============================================================
   smartlife oqim tartibi: hero -> promo banner -> Xit sotuv -> katalog
   ("Xit sotuv" bo'limi ilgari minimal.css'da yashirilgan edi — qaytaramiz)
   ============================================================ */
.mc-redesign #hero { order: 1; }
.mc-redesign #promo { order: 2; }
.mc-redesign #bestsellers { order: 3; }
.mc-redesign #shop-paths { order: 4; }
.mc-redesign #catalog { order: 5; }
.mc-redesign #calculator { order: 6; }
.mc-redesign #tradein { order: 7; }
.mc-redesign #advantages { order: 8; }
.mc-redesign #reviews { order: 9; }
.mc-redesign #branches { order: 10; }

/* ============================================================
   Hero — bachkanalikni kamaytirish: sodda, markazlashgan, yengil
   (bezakli orbit showcase va ishonch chiplari olib tashlanadi)
   ============================================================ */
.mc-redesign .hero-store__showcase { display: none !important; }
.mc-redesign .hero-store__proof { display: none !important; }
.mc-redesign .hero-store__inner {
    display: block !important;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.mc-redesign .hero-store__eyebrow { justify-content: center; }
.mc-redesign .hero-store__title {
    font-size: clamp(1.9rem, 5vw, 3.2rem) !important;
    letter-spacing: -0.5px;
}
.mc-redesign .hero-store__title span { color: #8a8a8e; }
.mc-redesign .hero-store__text { margin-left: auto; margin-right: auto; }
.mc-redesign .hero-store__actions { justify-content: center; }
.mc-redesign .hero-search { margin-left: auto; margin-right: auto; }
.mc-redesign .hero-store {
    padding-top: clamp(28px, 5vw, 52px) !important;
    padding-bottom: clamp(24px, 4vw, 40px) !important;
}

/* Yuqoridagi ishonch-lentasi ham yengillashsin (ortiqcha bo'lmasin) */
.mc-redesign #mc-top-scroll { opacity: 0.85; }

/* Eslatma: mobil katalog navigatsiyasi endi store.css'da (yuqori yopishqoq tablar). */
