/* =========================================================
   OZIE DIGITAL - DESKTOP ONLY
   Hanya aktif pada layar >= 1024px dengan mouse/pointer presisi.
   Android/touch device tetap memakai tampilan lama.
   ========================================================= */
@media (min-width:1024px) and (hover:hover) and (pointer:fine) {
  /* ---------- Store / Buyer ---------- */
  body:not(.seller-body) .topbar-inner {
    max-width: 960px;
    height: 72px;
    padding-left: 24px;
    padding-right: 24px;
  }

  body:not(.seller-body) .app-shell {
    max-width: 960px;
    padding: 24px 24px 112px;
  }

  body:not(.seller-body) .brand {
    font-size: 18px;
  }

  body:not(.seller-body) .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  body:not(.seller-body) .home-banner-slider,
  body:not(.seller-body) .home-banner-empty {
    aspect-ratio: auto;
    height: 320px;
    border-radius: 22px;
  }

  body:not(.seller-body) .home-search {
    max-width: 760px;
    margin: 18px auto 0;
  }

  body:not(.seller-body) .home-search input {
    min-height: 48px;
  }

  body:not(.seller-body) .home-search button {
    min-width: 100px;
  }

  body:not(.seller-body) .section-head {
    margin-top: 30px;
    margin-bottom: 14px;
  }

  body:not(.seller-body) .section-head h2 {
    font-size: 20px;
  }

  body:not(.seller-body) .category-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }

  body:not(.seller-body) .category {
    min-height: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border-radius: 18px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }

  body:not(.seller-body) .category:hover {
    transform: translateY(-2px);
    border-color: #cfe0f7;
    box-shadow: 0 10px 24px rgba(17,24,39,.07);
  }

  body:not(.seller-body) .category .emoji {
    font-size: 27px;
  }

  body:not(.seller-body) .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  body:not(.seller-body) .product-card {
    border-radius: 18px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }

  body:not(.seller-body) .product-card:hover {
    transform: translateY(-3px);
    border-color: #cfe0f7;
    box-shadow: 0 12px 28px rgba(17,24,39,.09);
  }

  body:not(.seller-body) .product-body {
    padding: 14px;
  }

  body:not(.seller-body) .product-title {
    font-size: 14px;
    min-height: 38px;
  }

  body:not(.seller-body) .card {
    border-radius: 20px;
    padding: 20px;
  }

  body:not(.seller-body) .cart-item {
    grid-template-columns: 92px minmax(0,1fr);
    gap: 16px;
    padding: 16px 0;
  }

  body:not(.seller-body) .cart-mini {
    width: 92px;
    height: 92px;
  }

  body:not(.seller-body) .auth-wrap {
    max-width: 500px;
    margin-top: 42px;
  }

  body:not(.seller-body) .input,
  body:not(.seller-body) .select,
  body:not(.seller-body) .textarea {
    min-height: 46px;
  }

  body:not(.seller-body) .btn {
    min-height: 44px;
  }

  body:not(.seller-body) .bottom-nav.bottom-nav-five,
  body:not(.seller-body) .bottom-nav {
    left: 50%;
    right: auto;
    bottom: 18px;
    width: min(720px, calc(100vw - 48px));
    max-width: 720px;
    transform: translateX(-50%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 12px;
    box-shadow: 0 12px 34px rgba(17,24,39,.14);
    overflow: hidden;
  }

  body:not(.seller-body) .bottom-nav a {
    min-height: 54px;
    border-radius: 14px;
    transition: background .18s ease, color .18s ease;
  }

  body:not(.seller-body) .bottom-nav a:hover {
    background: #f2f7ff;
  }

  /* Detail produk tetap nyaman dibaca dan tidak terlalu melebar */
  body.product-detail-page .app-shell {
    max-width: 900px;
    padding: 24px 0 112px;
    overflow: visible;
  }

  body.product-detail-page .product-detail-marketplace {
    gap: 12px;
  }

  body.product-detail-page .product-gallery,
  body.product-detail-page .marketplace-product-info,
  body.product-detail-page .marketplace-benefit-list,
  body.product-detail-page .marketplace-review-section,
  body.product-detail-page .marketplace-description-card,
  body.product-detail-page .marketplace-variant-card {
    border-radius: 18px;
    overflow: hidden;
  }

  body.product-detail-page .product-gallery-slide {
    aspect-ratio: 1.35 / 1;
  }

  body.product-detail-page .marketplace-product-action {
    width: min(760px, calc(100vw - 48px));
    left: 50%;
    right: auto;
    bottom: 18px;
    transform: translateX(-50%);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(17,24,39,.18);
  }

  /* ---------- Seller Center ---------- */
  body.seller-body {
    padding-bottom: 112px;
  }

  body.seller-body .seller-topbar-inner,
  body.seller-body .seller-flash,
  body.seller-body .seller-shell {
    max-width: 1040px;
  }

  body.seller-body .seller-topbar-inner {
    height: 78px;
    padding-left: 24px;
    padding-right: 24px;
  }

  body.seller-body .seller-shell {
    padding: 8px 24px 28px;
  }

  body.seller-body .seller-page-head {
    margin-top: 24px;
    margin-bottom: 12px;
  }

  body.seller-body .seller-page-head h1,
  body.seller-body .seller-chat-page-title h1,
  body.seller-body .seller-notification-title h1 {
    font-size: 24px;
  }

  body.seller-body .seller-card,
  body.seller-body .seller-form-card,
  body.seller-body .seller-edit-profile-section {
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 8px 26px rgba(26,39,71,.06);
  }

  body.seller-body .seller-edit-profile-section {
    padding: 0;
  }

  body.seller-body .seller-store-head {
    gap: 18px;
  }

  body.seller-body .seller-logo {
    width: 84px;
    height: 84px;
  }

  body.seller-body .seller-store-main h2 {
    font-size: 22px;
  }

  body.seller-body .seller-kpi-grid {
    gap: 12px;
    margin-top: 22px;
  }

  body.seller-body .seller-kpi {
    padding: 15px 12px;
    border-radius: 15px;
    background: #f7f9fc;
  }

  body.seller-body .seller-kpi strong {
    font-size: 21px;
  }

  body.seller-body .seller-order-grid {
    gap: 12px;
    margin-top: 18px;
  }

  body.seller-body .seller-order-stat {
    min-height: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    border-radius: 16px;
    background: #f7f9fc;
    transition: transform .18s ease, background .18s ease;
  }

  body.seller-body .seller-order-stat:hover {
    transform: translateY(-2px);
    background: #eef5ff;
  }

  body.seller-body .seller-product-list {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
  }

  body.seller-body .seller-product-row {
    min-height: 110px;
    padding: 15px;
    border: 1px solid #edf0f4;
    box-shadow: 0 5px 18px rgba(26,39,71,.04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }

  body.seller-body .seller-product-row:hover {
    transform: translateY(-2px);
    border-color: #d9e8fb;
    box-shadow: 0 10px 26px rgba(26,39,71,.07);
  }

  body.seller-body .seller-product-thumb {
    width: 86px;
    height: 86px;
  }

  body.seller-body .seller-form-grid {
    gap: 16px;
  }

  body.seller-body .seller-image-grid {
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 12px;
  }

  body.seller-body .seller-chat-layout {
    grid-template-columns: 320px minmax(0,1fr);
    min-height: 680px;
    border-radius: 22px;
  }

  body.seller-body .seller-chat-messages {
    height: 560px;
  }

  body.seller-body .seller-bottom-nav {
    left: 50%;
    right: auto;
    bottom: 18px;
    width: min(820px, calc(100vw - 48px));
    border: 1px solid #e3e8ef;
    border-radius: 20px;
    transform: translateX(-50%);
    box-shadow: 0 12px 34px rgba(26,39,71,.14);
    overflow: hidden;
  }

  body.seller-body .seller-bottom-inner {
    max-width: none;
    height: 66px;
  }

  body.seller-body .seller-bottom-nav a {
    border-radius: 14px;
    transition: background .18s ease, color .18s ease;
  }

  body.seller-body .seller-bottom-nav a:hover {
    background: #f3f7fd;
  }

  body.seller-body .seller-icon-btn,
  body.seller-body .seller-small-btn,
  body.seller-body .seller-primary-btn,
  body.seller-body .seller-secondary-btn,
  body.seller-body .seller-edit-profile-btn {
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  }

  body.seller-body .seller-icon-btn:hover,
  body.seller-body .seller-small-btn:hover,
  body.seller-body .seller-primary-btn:hover,
  body.seller-body .seller-secondary-btn:hover,
  body.seller-body .seller-edit-profile-btn:hover {
    transform: translateY(-1px);
  }
}

@media (min-width:1280px) and (hover:hover) and (pointer:fine) {
  body:not(.seller-body) .topbar-inner,
  body:not(.seller-body) .app-shell {
    max-width: 1180px;
  }

  body:not(.seller-body) .home-banner-slider,
  body:not(.seller-body) .home-banner-empty {
    height: 360px;
  }

  body:not(.seller-body) .category-grid {
    grid-template-columns: repeat(8, minmax(0,1fr));
  }

  body:not(.seller-body) .product-grid {
    grid-template-columns: repeat(5, minmax(0,1fr));
  }

  body.seller-body .seller-topbar-inner,
  body.seller-body .seller-flash,
  body.seller-body .seller-shell {
    max-width: 1120px;
  }
}
