/* Desktop enhancements only. Mobile stays exactly as-is because desktop extras are hidden by default. */
.desktop-store-shell,
.desktop-store-top,
.desktop-nav-links,
.desktop-store-brand,
.desktop-store-actions,
.desktop-store-brand-mark,
.desktop-store-brand-copy,
.desktop-store-btn,
.desktop-home-shell,
.desktop-sticky-purchase-bar,
.desktop-card-actions,
.desktop-card-cta,
.desktop-card-meta {
  display: none !important;
}

@media (min-width: 992px) {
  html,
  body {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    overflow-x: hidden;
    background: #f4f6fb !important;
  }

  body {
    font-family: 'Poppins', 'Mier demi', sans-serif;
    color: #182230;
  }

  #container,
  ._2dxSCm,
  ._3CzzrP,
  ._38U37R,
  .only-desktop {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .BottomNavBarstyled__StyledNavBar-sc-be71xz-0,
  .iyYCAl,
  .mobile-bottom-nav,
  .bottom-navigation,
  .bottom-menu,
  .mobile-menu-bottom,
  #showmenu,
  #back-btn,
  .location-strip,
  .mid-sale-banner,
  .premium-hero-wrap,
  .menu,
  .eCQLMa,
  .header-title {
    display: none !important;
  }

  .desktop-store-shell,
  .desktop-store-top,
  .desktop-nav-links,
  .desktop-store-brand,
  .desktop-store-actions,
  .desktop-store-brand-mark,
  .desktop-store-brand-copy,
  .desktop-store-btn,
  .desktop-home-shell,
  .desktop-sticky-purchase-bar,
  .desktop-card-actions,
  .desktop-card-cta,
  .desktop-card-meta {
    display: block !important;
  }
  .desktop-store-top,
  .desktop-nav-links,
  .desktop-store-brand,
  .desktop-store-actions,
  .desktop-card-actions,
  .desktop-card-cta,
  .desktop-card-meta,
  .desktop-home-trust,
  .desktop-home-cta-row,
  .desktop-sticky-purchase-inner,
  .desktop-sticky-actions {
    display: flex !important;
  }
  .desktop-store-brand-mark,
  .desktop-store-btn,
  .desktop-home-badge {
    display: inline-flex !important;
  }
  .desktop-store-brand-copy,
  .desktop-home-copy,
  .desktop-home-spotlight {
    display: block !important;
  }

  ._38U37R {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(255,255,255,.96) !important;
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.06);
  }

  ._1FWdmb,
  .search-bar,
  .desktop-store-shell,
  .desktop-home-shell,
  .products,
  .categories-page-wrap,
  .desktop-category-shell,
  .desktop-page-intro,
  .product-details-page,
  .fashion-product-page,
  .wishlist-page,
  .address-page-shell,
  .cart_page,
  ._1fhgRH {
    width: min(1480px, calc(100% - 72px)) !important;
    max-width: min(1480px, calc(100% - 72px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  ._1FWdmb {
    min-height: 80px;
    padding: 16px 0 !important;
    display: grid !important;
    grid-template-columns: 180px minmax(0,1fr) 180px;
    align-items: center;
    gap: 20px;
  }

  ._1FWdmb .d-flex.align-items-center { min-width: 180px; }
  ._1FWdmb .Z4_K_h { margin: 0 !important; }
  ._1FWdmb .Z4_K_h svg { width: 164px !important; height: auto !important; overflow: visible !important; }

  .header-menu {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
  }

  .header-menu > a {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ebe5f1;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
  }

  .search-bar {
    display: block !important;
    padding: 0 0 18px !important;
    background: transparent !important;
  }

  .search-form-rebuilt,
  .search-box-rebuilt,
  .search-bar > div,
  .search-bar .ORogdv,
  .search-bar ._1k9EoO,
  .search-bar ._2d36Hu {
    width: 100% !important;
    max-width: 100% !important;
  }

  .search-box-rebuilt {
    height: 58px;
    border-radius: 18px !important;
    border: 1px solid #e7ddec !important;
    background: #fff !important;
    padding: 0 18px !important;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(17,24,39,.08);
  }

  .search-input-rebuilt { font-size: 15px !important; }

  .desktop-store-shell {
    display: block !important;
    margin-top: 8px !important;
    margin-bottom: 16px !important;
  }

  .desktop-store-top {
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, #ffffff, #fbf7ff);
    border: 1px solid #ebe5f1;
    border-radius: 24px;
    padding: 24px 28px;
    box-shadow: 0 18px 44px rgba(17,24,39,.08);
  }

  .desktop-store-brand { align-items: center; gap: 18px; }

  .desktop-store-brand-mark {
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #9f2089, #cc53a9);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .04em;
  }

  .desktop-store-eyebrow {
    color: #9f2089;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 6px;
  }

  .desktop-store-brand-copy h2 {
    margin: 0;
    font-size: 30px;
    color: #172033;
    letter-spacing: -.04em;
  }

  .desktop-store-brand-copy p {
    margin: 8px 0 0;
    color: #667085;
    font-size: 14px;
  }

  .desktop-store-actions { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

  .desktop-store-btn {
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid #e5d4ec;
    color: #344054;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 22px rgba(17,24,39,.05);
  }

  .desktop-store-btn--primary {
    background: #9f2089;
    color: #fff;
    border-color: #9f2089;
  }

  .desktop-store-btn--ghost {
    background: #f8f2fb;
    color: #9f2089;
    border-color: #ead6ee;
  }

  .desktop-nav-links {
    margin-top: 14px;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
  }

  .desktop-nav-links a {
    text-decoration: none;
    color: #475467;
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    border: 1px solid #ebe5f1;
    font-size: 13px;
    font-weight: 600;
  }

  .desktop-nav-links a.is-active,
  .desktop-nav-links a:hover {
    color: #9f2089;
    border-color: #e2bde5;
    background: #fff;
  }

  .desktop-home-shell {
    display: block !important;
    margin-bottom: 30px !important;
  }

  .desktop-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
    gap: 24px;
    padding: 18px 0 8px;
  }

  .desktop-home-copy,
  .desktop-home-spotlight {
    background: linear-gradient(180deg, #ffffff, #faf7ff);
    border: 1px solid #ebe5f1;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 22px 48px rgba(17,24,39,.08);
  }

  .desktop-home-badge {
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f6ebfa;
    color: #9f2089;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
  }

  .desktop-home-copy h1 {
    margin: 0;
    font-size: clamp(36px, 4vw, 58px);
    line-height: .96;
    letter-spacing: -.05em;
    color: #172033;
  }

  .desktop-home-copy p {
    margin: 18px 0 0;
    max-width: 620px;
    font-size: 16px;
    line-height: 1.7;
    color: #667085;
  }

  .desktop-home-cta-row { gap: 14px; margin-top: 24px; }

  .desktop-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    text-decoration: none;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
  }
  .desktop-home-btn--primary { background:#9f2089; color:#fff; }
  .desktop-home-btn--secondary { background:#fff; color:#182230; border:1px solid #ebe5f1; }

  .desktop-home-trust {
    gap: 16px;
    margin-top: 22px;
    flex-wrap: wrap;
  }
  .desktop-home-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #ebe5f1;
    color: #475467;
    font-size: 13px;
    font-weight: 600;
  }

  .desktop-spotlight-card {
    border-radius: 22px;
    padding: 22px;
    background: linear-gradient(135deg, #1f2937, #101828);
    color: #fff;
    margin-bottom: 16px;
  }
  .desktop-spotlight-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity:.7; }
  .desktop-spotlight-card h3 { margin: 12px 0 10px; font-size: 24px; }
  .desktop-spotlight-card p { margin: 0; color: rgba(255,255,255,.75); line-height: 1.7; }

  .desktop-category-mini-grid { display: grid; gap: 12px; }
  .desktop-category-mini-card {
    display:flex; align-items:center; justify-content:space-between; gap:14px; text-decoration:none;
    padding: 16px 18px; border-radius: 18px; background:#fff; border:1px solid #ebe5f1; color:#182230;
    box-shadow: 0 10px 24px rgba(17,24,39,.05);
  }
  .desktop-category-mini-card span { font-size: 14px; font-weight: 700; }
  .desktop-category-mini-card i { color:#9f2089; }

  .products {
    padding: 10px 0 70px !important;
    background: transparent !important;
    margin-top: 0 !important;
  }

  .products-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 0 0 20px !important;
    margin-bottom: 24px;
    border-bottom: 1px solid #e8ebf3;
  }

  .products-head h4, .products-head .wDrko,
  .desktop-category-title, .desktop-category-title h1, .desktop-category-title h2, .desktop-category-title h3 {
    margin: 0 !important;
    font-size: 42px !important;
    line-height: .98 !important;
    color: #172033 !important;
    letter-spacing: -0.05em;
  }

  .products-subtitle,
  .desktop-category-count,
  .desktop-page-intro {
    color: #667085 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .product-list,
  .product-skeletons {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch;
  }

  .product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #eceff5;
    box-shadow: 0 14px 36px rgba(17,24,39,.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }

  .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(17,24,39,.12);
    border-color: #e0d6e9;
  }

  .product-img {
    aspect-ratio: .8 / 1;
    background: linear-gradient(180deg, #f6f7fb, #eef1f8);
    overflow: hidden;
  }

  .product-img img {
    width: 100%; height: 100%; object-fit: cover; display:block; transition: transform .35s ease;
  }
  .product-card:hover .product-img img { transform: scale(1.04); }

  .desktop-card-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    justify-content: flex-end;
    gap: 10px;
  }

  .desktop-card-icon {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: #344054;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(17,24,39,.14);
    cursor: pointer;
  }
  .desktop-card-icon.is-active { color:#e11d48; }

  .product-details {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1 1 auto;
  }

  .product-name {
    margin: 0;
    color: #1f2937;
    font-size: 17px;
    line-height: 1.5;
    min-height: 52px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-price {
    display:flex; flex-wrap:wrap; align-items:center; gap:8px;
  }

  .sell-price { font-size: 22px !important; font-weight: 700; color: #111827; }
  .mrp-price { color: #98a2b3; font-size: 14px; text-decoration: line-through; }
  .off-percentage { color: #067647; font-size: 13px; font-weight: 700; }
  .free-delivery { margin: 0; color: #475467; font-size: 13px; font-weight: 600; }

  .desktop-card-meta {
    gap: 8px; flex-wrap: wrap; margin-top: -2px;
  }
  .desktop-card-meta span {
    display:inline-flex; align-items:center; min-height:28px; padding:0 10px; border-radius:999px;
    background:#f8f2fb; color:#9f2089; font-size:11px; font-weight:700;
  }

  .NewProductCardstyled__OfferPill-sc-6y2tys-31.iMEkWH {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 8px 10px;
    border-radius: 999px;
    background: #eefdf3;
    border: 1px solid #ccead8;
  }

  .product-rating-trusted-row,
  .NewProductCardstyled__RatingsRow-sc-6y2tys-8 {
    margin-top: auto;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .desktop-card-cta {
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 16px 18px;
  }

  .desktop-quick-add {
    flex: 1 1 auto;
    min-height: 48px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #9f2089, #c84ca8);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(159,32,137,.24);
    cursor: pointer;
  }
  .desktop-quick-add:disabled { opacity:.7; cursor:wait; }
  .desktop-cta-note { white-space: nowrap; color:#98a2b3; font-size:12px; font-weight:700; }

  .desktop-category-shell {
    display: grid !important;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 56px;
  }

  .desktop-category-sidebar {
    display: block !important;
    position: sticky;
    top: 132px;
    align-self: start;
    background: #fff;
    border: 1px solid #eceff5;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 14px 32px rgba(17,24,39,.08);
  }
  .desktop-category-sidebar h3 { margin:0 0 10px; font-size:24px; }
  .desktop-category-links { display:grid; gap:10px; }
  .desktop-category-links a {
    display:flex; align-items:center; justify-content:space-between; gap:12px; text-decoration:none;
    padding: 13px 14px; border-radius: 16px; color:#344054; background:#f8f9fc; font-size:14px; font-weight:600;
  }
  .desktop-category-links a.is-active, .desktop-category-links a:hover { background:#9f2089; color:#fff; }
  .desktop-category-main .product-list { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

  .categories-page-wrap {
    padding: 20px 0 70px !important;
    background: transparent !important;
  }
  .category-grid-rebuild { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 22px !important; }
  .category-card-rebuild { border-radius: 24px !important; box-shadow: 0 16px 36px rgba(17,24,39,.07) !important; }
  .category-card-text { padding: 16px !important; }
  .category-card-text p { font-size: 17px !important; }
  .category-card-text span { font-size: 12px !important; }

  .product-slider.old-view-product-slider,
  .old-gallery-thumbnails-wrap,
  .container-fluid.product-detail,
  .storage-div,
  .button-container,
  .brand-assurance-strip {
    width: min(1480px, calc(100% - 72px)) !important;
    max-width: min(1480px, calc(100% - 72px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .container.p-0.card { border: none !important; background: transparent !important; box-shadow:none !important; }
  .product-slider.old-view-product-slider {
    background:#fff; border:1px solid #eceff5; border-radius:28px; overflow:hidden; box-shadow:0 18px 42px rgba(17,24,39,.08);
  }
  .old-gallery-thumbnails-wrap {
    margin-top: 16px !important; background:#fff; border:1px solid #eceff5; border-radius:22px; padding:16px; box-shadow:0 12px 28px rgba(17,24,39,.06);
  }
  .old-gallery-thumbnails { gap:12px !important; }
  .old-gallery-thumb { width:96px !important; height:114px !important; border-radius:18px !important; }

  .product-info-card,
  .storage-div .SizeSelectionstyled__SizeCard-sc-155vsje-0,
  .container-fluid.product-detail,
  .button-container,
  .brand-assurance-strip {
    background:#fff !important; border:1px solid #eceff5 !important; border-radius:24px !important; box-shadow:0 14px 32px rgba(17,24,39,.06);
  }
  .container-fluid.product-detail { margin-top:16px !important; padding:24px !important; }
  .storage-div { margin-top:16px !important; }
  .storage-div .SizeSelectionstyled__SizeCard-sc-155vsje-0 { padding:24px !important; }

  .brand-assurance-strip {
    margin-top: 18px !important;
  }

  .button-container {
    display:flex !important; gap:16px; align-items:center; padding:18px !important; margin-top:18px !important;
  }
  .button-container .product-page-buy {
    min-height: 56px; border-radius: 16px !important; font-size:15px !important; font-weight:700; box-shadow:none !important;
  }

  .desktop-sticky-purchase-bar {
    display:block !important;
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: min(980px, calc(100% - 120px));
    z-index: 1100;
  }
  .desktop-sticky-purchase-inner {
    align-items:center; justify-content:space-between; gap:18px; padding:16px 18px; border-radius:22px;
    background: rgba(17,24,39,.94); color:#fff; box-shadow:0 24px 60px rgba(15,23,42,.25); backdrop-filter:blur(16px);
  }
  .desktop-sticky-copy strong { display:block; font-size:16px; }
  .desktop-sticky-copy span { display:block; color:rgba(255,255,255,.75); margin-top:4px; }
  .desktop-sticky-actions { gap:12px; }
  .desktop-sticky-btn {
    min-height: 48px; padding: 0 20px; border-radius: 14px; border:none; background:#9f2089; color:#fff; font-weight:700;
  }
  .desktop-sticky-btn--ghost { background:#fff; color:#182230; }
}

@media (min-width: 1200px) {
  .product-list, .product-skeletons { grid-template-columns: repeat(5, minmax(0,1fr)) !important; }
}

@media (min-width: 1440px) {
  .product-list,
  .product-skeletons,
  .desktop-category-main .product-list,
  .category-grid-rebuild {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
  .category-grid-rebuild { grid-template-columns: repeat(5, minmax(0,1fr)) !important; }
}


/* === Next phase desktop-only polish === */
@media (min-width: 992px) {
  .desktop-filter-group {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eef1f6;
    display: grid;
    gap: 10px;
  }
  .desktop-filter-group h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
  }
  .desktop-filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475467;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
  }
  .desktop-filter-group input[type="radio"],
  .desktop-filter-group input[type="checkbox"] {
    accent-color: #9f2089;
  }
  .desktop-filter-select {
    width: 100%;
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid #d9deea;
    background: #fff;
    padding: 0 14px;
    font-weight: 600;
    color: #344054;
  }

  .product-slider.old-view-product-slider {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 0;
    align-items: stretch;
  }
  .product-slider.old-view-product-slider .carousel,
  .product-slider.old-view-product-slider .carousel-inner,
  .product-slider.old-view-product-slider .carousel-item {
    height: 100%;
  }
  .product-slider.old-view-product-slider img {
    width: 100%;
    height: 100%;
    max-height: 640px;
    object-fit: cover;
  }
  .container-fluid.product-detail .col-md-7,
  .container-fluid.product-detail .col-md-5,
  .container-fluid.product-detail [class*="col-"] {
    max-width: 100%;
  }
  .product-info-card,
  .container-fluid.product-detail {
    position: relative;
  }
  .button-container {
    position: sticky;
    bottom: 18px;
    z-index: 25;
  }

  #container > div[data-reactroot=""] > ._1fhgRH,
  #container > div > ._1fhgRH {
    width: min(1380px, calc(100% - 56px));
    max-width: min(1380px, calc(100% - 56px));
    margin: 22px auto 120px;
  }
  .desktop-checkout-note {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
  }
  .desktop-checkout-note .note-card {
    background: #fff;
    border: 1px solid #eceff5;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 12px 28px rgba(17,24,39,.06);
  }
  .desktop-checkout-note strong {
    display: block;
    color: #111827;
    font-size: 15px;
    margin-bottom: 6px;
  }
  .desktop-checkout-note span {
    display: block;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
  }
  .card.py-1.max-height,
  .max-height .card,
  .card.py-1,
  ._1fhgRH .card {
    border-radius: 28px !important;
    border: 1px solid #eceff5 !important;
    box-shadow: 0 18px 42px rgba(17,24,39,.06) !important;
    overflow: hidden;
  }
  .gqSLnX, .gNFCeh, .cHsEym, .GmPbS, .cart__footer {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
  .button-container.flex {
    width: min(1380px, calc(100% - 56px)) !important;
    max-width: min(1380px, calc(100% - 56px)) !important;
    margin: 18px auto 0 !important;
    background: transparent !important;
  }
  .button-container.flex .sc-fThYeS,
  .button-container.flex .sc-BrFsL,
  .button-container.flex .dUijPM,
  .button-container.flex .iAFVK {
    background: #fff;
    border: 1px solid #eceff5;
    border-radius: 22px;
    min-height: 86px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(17,24,39,.06);
  }
  .button-container.flex .sc-fThYeS,
  .button-container.flex .dUijPM { flex-direction: column; align-items: flex-start; }
  .button-container.flex .sc-BrFsL,
  .button-container.flex .iAFVK { flex: 1 1 280px; }
}
