/* ============================================================
   soodu.id — tampilan DESKTOP baru (≥ 993 px), Nov 2026
   Semua aturan di dalam media query ini: tampilan HP tidak berubah.
   ============================================================ */
@media only screen and (min-width: 993px) {

   :root {
      --dk-green: #27b441;
      --dk-green-dark: #1d8f33;
      --dk-green-deep: #0f481b;
      --dk-ink: #1f2933;
      --dk-muted: #6b7280;
      --dk-line: #e7ece9;
      --dk-soft: #f3f8f4;
      --dk-wrap: 1240px;
   }

   body { background: #f7f9f8; color: #4b5563; }

   /* ---------------------------------------------------------
      HEADER
      --------------------------------------------------------- */
   .navbar-desktop.navbar-fixed,
   .navbar-desktop.navbar-fixed nav { height: 72px; }
   .navbar-desktop nav {
      padding: 0 !important; line-height: normal;
      background: rgba(255, 255, 255, .96) !important;
      -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
      box-shadow: 0 1px 0 var(--dk-line), 0 6px 20px rgba(16, 40, 24, .05) !important;
   }
   .navbar-desktop .nav-wrapper {
      width: 92%; max-width: var(--dk-wrap); height: 72px; margin: 0 auto;
      display: flex; align-items: center; gap: 28px;
   }
   .navbar-desktop .nav-wrapper a.logo { height: auto; flex: none; display: flex; align-items: center; }
   .navbar-desktop .nav-wrapper .logo img { width: 124px; height: auto; display: block; }

   /* kolom cari */
   .navbar-desktop .nav-wrapper form { flex: 1 1 auto; max-width: 620px; position: relative; display: flex; align-items: center; }
   .navbar-desktop .nav-wrapper form .input-field { width: 100%; height: auto; margin: 0; }
   .navbar-desktop .nav-wrapper form input[type="search"] {
      height: 46px !important; width: 100% !important; margin: 0 !important;
      padding: 0 20px 0 48px !important; box-sizing: border-box;
      border: 1px solid var(--dk-line) !important; border-radius: 23px !important;
      background: var(--dk-soft) !important; color: var(--dk-ink) !important;
      font-size: 15px !important; font-weight: 500; box-shadow: none !important;
      transition: border-color .15s, background .15s, box-shadow .15s;
   }
   .navbar-desktop .nav-wrapper form input[type="search"]::placeholder { color: #8a948d !important; font-weight: 500 !important; }
   .navbar-desktop .nav-wrapper form input[type="search"]:focus {
      background: #fff !important; border-color: var(--dk-green) !important;
      box-shadow: 0 0 0 4px rgba(39, 180, 65, .14) !important;
   }
   .navbar-desktop .nav-wrapper form .material-icons {
      position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
      height: auto !important; line-height: 1 !important; font-size: 22px !important;
      color: var(--dk-muted) !important; pointer-events: none; z-index: 1;
   }
   .navbar-desktop .autocomplete-content { border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, .12); }

   /* tombol kanan */
   .dk-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; flex: none; }
   nav .dk-actions a { color: #374151; }
   nav .dk-actions i.material-icons { height: auto !important; line-height: 1 !important; font-size: 22px !important; display: inline-block; float: none !important; margin: 0 !important; }
   .dk-link {
      position: relative; display: inline-flex !important; align-items: center; gap: 7px;
      height: 42px; padding: 0 12px; border-radius: 12px;
      font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
      transition: background .15s, color .15s;
   }
   .dk-link:hover, .dk-link.active { background: var(--dk-soft); color: var(--dk-green-dark) !important; }
   .dk-badge {
      position: absolute; top: 3px; left: 25px; min-width: 18px; height: 18px; padding: 0 5px;
      border-radius: 9px; background: #e53935; color: #fff; font-size: 11px; font-weight: 700;
      line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff;
   }
   .dk-sep { width: 1px; height: 28px; background: var(--dk-line); margin: 0 10px; }

   .dk-btn {
      display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
      height: 40px; padding: 0 20px; border-radius: 20px; border: 1px solid transparent;
      font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer;
      transition: background .15s, color .15s, transform .15s, box-shadow .15s;
   }
   nav .dk-btn + .dk-btn { margin-left: 8px; }
   .dk-btn-lg { height: 50px; padding: 0 28px; border-radius: 25px; font-size: 16px; }
   .dk-btn-primary { background: var(--dk-green); color: #fff !important; box-shadow: 0 6px 16px rgba(39, 180, 65, .28); }
   .dk-btn-primary:hover { background: var(--dk-green-dark); transform: translateY(-1px); }
   .dk-btn-outline { border-color: var(--dk-green); color: var(--dk-green-dark) !important; background: #fff; }
   .dk-btn-outline:hover { background: var(--dk-soft); }
   .dk-btn-ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff !important; }
   .dk-btn-ghost:hover { background: rgba(255, 255, 255, .22); }

   .dk-account {
      display: inline-flex !important; align-items: center; gap: 8px;
      height: 44px; padding: 0 10px 0 4px; border-radius: 22px; border: 1px solid var(--dk-line);
      color: var(--dk-ink) !important; transition: border-color .15s, box-shadow .15s;
   }
   .dk-account:hover { border-color: #cfe3d5; box-shadow: 0 4px 12px rgba(0, 0, 0, .06); }
   .dk-account img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--dk-green); }
   .dk-account-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; text-transform: capitalize; }

   /* dropdown akun (Materialize) */
   #dropdown-user.dropdown-content {
      min-width: 230px; border-radius: 14px; padding: 6px 0;
      box-shadow: 0 16px 40px rgba(16, 40, 24, .16); margin-top: 8px;
   }
   #dropdown-user.dropdown-content li { min-height: 0; }
   #dropdown-user.dropdown-content li > a { padding: 11px 18px; font-size: 14px; font-weight: 600; line-height: 1.3; }
   #dropdown-user.dropdown-content li:hover { background: var(--dk-soft); }

   /* tombol keranjang melayang tidak perlu di desktop (sudah ada di header) */
   a[href$="/keranjang"][style*="position:fixed"] { display: none !important; }

   /* ---------------------------------------------------------
      BERANDA
      --------------------------------------------------------- */
   .container.dk-home { width: 92%; max-width: var(--dk-wrap); }
   .dk-home > .row.mt-1:first-child { margin-top: 22px !important; margin-bottom: 0; }

   .dk-home h5.title { font-size: 1.4rem; font-weight: 700; color: var(--dk-ink); margin: 34px 0 16px; }

   /* slider */
   .dk-hero {
      position: relative; overflow: hidden; border-radius: 22px;
      aspect-ratio: 1860 / 624; background: var(--dk-soft);
      box-shadow: 0 10px 30px rgba(16, 40, 24, .10);
   }
   .dk-hero-track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
   .dk-hero-slide { flex: 0 0 100%; height: 100%; display: block; outline-offset: -4px; }
   .dk-hero-slide picture, .dk-hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
   .dk-hero-nav {
      position: absolute; top: 50%; transform: translateY(-50%);
      width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      background: rgba(255, 255, 255, .92); color: var(--dk-ink);
      box-shadow: 0 6px 18px rgba(0, 0, 0, .18); opacity: 0; transition: opacity .2s, transform .2s;
   }
   .dk-hero-nav.prev { left: 18px; }
   .dk-hero-nav.next { right: 18px; }
   .dk-hero:hover .dk-hero-nav, .dk-hero-nav:focus-visible { opacity: 1; }
   .dk-hero-nav:hover { transform: translateY(-50%) scale(1.06); }
   .dk-hero-nav i { font-size: 30px; }
   .dk-hero-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; }
   .dk-hero-dots button {
      width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px; cursor: pointer;
      background: rgba(255, 255, 255, .55); box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
      transition: width .25s, background .25s;
   }
   .dk-hero-dots button.active { width: 28px; background: #fff; }
   .dk-hero.single .dk-hero-nav, .dk-hero.single .dk-hero-dots { display: none; }

   /* pintasan menu */
   .dk-shortcuts {
      display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px;
      margin: 22px .75rem 0; padding: 14px; background: #fff; border-radius: 20px;
      box-shadow: 0 1px 2px rgba(16, 40, 24, .05), 0 0 0 1px var(--dk-line);
   }
   .dk-shortcuts a {
      display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
      padding: 14px 6px 12px; border-radius: 14px; color: var(--dk-ink);
      transition: background .15s, transform .15s;
   }
   .dk-shortcuts a:hover { background: var(--dk-soft); transform: translateY(-2px); }
   .dk-sc-icon { width: 54px; height: 54px; border-radius: 17px; display: flex; align-items: center; justify-content: center; }
   .dk-sc-icon i { font-size: 28px; }
   .dk-sc-text b { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; }
   .dk-sc-text small { display: block; margin-top: 3px; font-size: 12px; color: var(--dk-muted); line-height: 1.3; }

   /* kategori */
   .dk-cats {
      display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; /* 28 subkategori = 2 baris */
      padding: 14px; background: #fff; border-radius: 20px;
      box-shadow: 0 1px 2px rgba(16, 40, 24, .05), 0 0 0 1px var(--dk-line);
   }
   .dk-cats a {
      display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
      padding: 12px 6px; border-radius: 14px; color: #374151; font-size: 13px; font-weight: 600; line-height: 1.25;
      transition: background .15s;
   }
   .dk-cats a:hover { background: var(--dk-soft); color: var(--dk-green-dark); }
   .dk-cats a:hover .dk-cat-img { transform: scale(1.06); }
   .dk-cat-img {
      width: 68px; height: 68px; border-radius: 50%; background: var(--dk-soft);
      display: flex; align-items: center; justify-content: center; transition: transform .2s;
   }
   .dk-cat-img img { width: 48px; height: 48px; object-fit: contain; }
   .dk-cats a > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

   /* judul bagian + filter */
   .dk-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 34px 0 16px; }
   .dk-section-head h5.title { margin: 0 !important; }
   .dk-filter { display: flex; gap: 8px; }
   .dk-filter a {
      display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px;
      border-radius: 19px; border: 1px solid #d5eadb; background: #fff;
      color: var(--dk-green-dark); font-size: 14px; font-weight: 700; transition: all .15s;
   }
   .dk-filter a i { font-size: 18px; }
   .dk-filter a:hover { background: var(--dk-green); border-color: var(--dk-green); color: #fff; }

   /* ajakan buka toko */
   .dk-seller-cta {
      display: flex; align-items: center; justify-content: space-between; gap: 32px;
      margin: 44px .75rem 0; padding: 38px 46px; border-radius: 24px; overflow: hidden; position: relative;
      background: radial-gradient(circle at 92% -20%, rgba(255, 255, 255, .14) 0, rgba(255, 255, 255, 0) 45%),
                  linear-gradient(115deg, var(--dk-green-deep) 0%, #14612a 55%, #1b7a35 100%);
      color: #fff;
   }
   .dk-seller-cta-tag {
      display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 14px;
      background: rgba(255, 255, 255, .14); color: #bdf5c6; font-size: 13px; font-weight: 700;
   }
   .dk-seller-cta-tag i { font-size: 17px; }
   .dk-seller-cta h3 { margin: 12px 0 8px; font-size: 28px; font-weight: 700; line-height: 1.25; color: #fff; }
   .dk-seller-cta p { margin: 0; max-width: 640px; color: #d5f3dc; font-size: 15px; line-height: 1.6; }
   .dk-seller-cta-actions { display: flex; gap: 12px; flex: none; }

   /* ---------------------------------------------------------
      KARTU PRODUK (semua daftar produk di desktop)
      --------------------------------------------------------- */
   .card-list-product.card {
      border-radius: 16px; background: #fff; margin: .4rem 0 1rem;
      box-shadow: 0 1px 2px rgba(16, 40, 24, .05), 0 0 0 1px var(--dk-line);
      transition: transform .18s ease, box-shadow .18s ease;
   }
   .card-list-product.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(16, 40, 24, .12), 0 0 0 1px #dfe8e2 !important; }
   .card-list-product.card.premium { box-shadow: 0 0 0 2px #ffd57a, 0 4px 14px rgba(255, 174, 0, .18) !important; }
   .card-list-product.card.exclusive { box-shadow: 0 0 0 2px #9fd5ff, 0 4px 14px rgba(83, 186, 255, .18) !important; }
   .card-list-product .card-image { height: auto; aspect-ratio: 1 / 1; overflow: hidden; background: var(--dk-soft); }
   .card-list-product .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
   .card-list-product.card:hover .card-image img { transform: scale(1.05); }
   .card-list-product .card-image .mall-badge {
      position: absolute; top: 10px; left: 10px; z-index: 1;
      padding: 3px 9px; border-radius: 8px; font-size: 11px; font-weight: 700;
      box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
   }
   .card-list-product .card-content { height: 124px; padding: 11px 13px 12px; display: flex; flex-direction: column; position: relative; }
   .card-list-product .card-content h6 {
      order: 1; margin: 0 0 6px; color: var(--dk-ink); font-size: 14px; font-weight: 600; line-height: 1.38;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
   }
   .card-list-product .card-content h5 {
      order: 2; margin: 0; text-align: left !important; color: var(--dk-green-dark);
      font-size: 17px; font-weight: 700; letter-spacing: -.2px;
   }
   .card-list-product .card-content .location {
      left: 13px; right: 13px; bottom: 11px; font-size: 11px; text-transform: none; color: var(--dk-muted);
      display: flex; flex-direction: column; gap: 2px;
   }
   .card-list-product .card-content .location > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
   .card-list-product .location i { font-size: 14px; color: #a3aaa5; margin-right: 3px; float: none; vertical-align: -3px; }

   /* paginasi */
   .dk-home .pagination li.active { border-radius: 10px; }
   .dk-home .pagination li a { border-radius: 10px; }

   /* ---------------------------------------------------------
      FOOTER
      --------------------------------------------------------- */
   footer.dk-footer {
      margin-top: 72px; padding: 0; min-height: 0; position: static;
      background: #0d3418; background-image: none; color: #b7d8bf;
   }
   .dk-footer-inner {
      width: 92%; max-width: var(--dk-wrap); margin: 0 auto; padding: 52px 0 36px;
      display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px;
   }
   footer.dk-footer img { filter: brightness(0) invert(1); -webkit-filter: brightness(0) invert(1); height: auto; }
   .dk-footer-brand p { margin: 16px 0 20px; max-width: 360px; color: #a9cdb3; font-size: 14px; line-height: 1.65; }
   .dk-footer-cta {
      display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 21px;
      background: var(--dk-green); color: #fff; font-weight: 700; font-size: 14px;
   }
   .dk-footer-cta:hover { background: #2fc54b; }
   .dk-footer-cta i { font-size: 20px; }
   .dk-footer-col h6 { margin: 4px 0 16px; color: #fff; font-size: 15px; font-weight: 700; }
   .dk-footer-col a { display: block; margin-bottom: 11px; color: #a9cdb3; font-size: 14px; transition: color .15s; }
   .dk-footer-col a:hover { color: #fff; }
   .dk-footer-bottom {
      width: 92%; max-width: var(--dk-wrap); margin: 0 auto; padding: 18px 0 22px;
      display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .1);
      color: #7fae8b; font-size: 13px;
   }
}

/* laptop kecil: pintasan 4 kolom agar teks tidak terlalu sempit */
@media only screen and (min-width: 993px) and (max-width: 1180px) {
   .dk-shortcuts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
   .dk-cats { grid-template-columns: repeat(7, minmax(0, 1fr)); }
   .dk-link span { display: none; }
   .dk-link { padding: 0 10px; }
   .dk-footer-inner { gap: 32px; }
}
