.mobile-v2 {
  --v2-blue: #2f75de;
  --v2-blue-dark: #1f55b8;
  --v2-lavender: #c5cae4;
  --v2-ink: #1e2430;
  --v2-muted: #7c8494;
  --v2-line: #edf0f7;
  --v2-soft: #f6f8fc;
  --v2-shadow: 0 22px 44px rgba(57, 71, 118, 0.16);
  background: #ffffff;
}

.mobile-v2 .primary-button,
.mobile-v2 .cart-button,
.mobile-v2 .tab.is-active {
  background: linear-gradient(135deg, #4b8ff2, #2266d8);
  border-color: transparent;
}

.mobile-v2 .price,
.mobile-v2 .section-heading > a,
.mobile-v2 .rating,
.mobile-v2 .filter-title i,
.mobile-v2 .mobile-nav i {
  color: var(--v2-blue);
}

.mobile-v2 .product-badge {
  background: #edf4ff;
  color: var(--v2-blue-dark);
}

.mobile-v2 .product-card img,
.mobile-v2 .product-detail__image {
  background: linear-gradient(180deg, #ffffff, #f3f6fc);
}

@media (max-width: 620px) {
  .mobile-v2 {
    min-height: 100vh;
    padding-bottom: 84px;
    background:
      linear-gradient(120deg, rgba(255, 255, 255, 0.26), transparent 42%),
      #c2c7e0;
    color: var(--v2-ink);
  }

  .mobile-v2 .page-shell,
  .mobile-v2 .quick-links {
    width: min(100% - 26px, 390px);
  }

  .mobile-v2 .site-header {
    top: 10px;
    width: min(100% - 26px, 390px);
    margin: 10px auto 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 26px 26px 18px 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(63, 75, 117, 0.14);
  }

  .mobile-v2 .site-header::before {
    display: flex;
    height: 26px;
    align-items: center;
    justify-content: space-between;
    padding: 4px 16px 0;
    color: #1f2634;
    content: "9:41  |  LTE  100%";
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
  }

  .mobile-v2 .nav {
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    padding: 6px 12px 10px;
  }

  .mobile-v2 .brand {
    width: 30px;
    height: 30px;
    justify-content: center;
  }

  .mobile-v2 .brand__mark {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--v2-blue);
    box-shadow: none;
    font-size: 13px;
  }

  .mobile-v2 .brand__logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 999px;
  }

  .mobile-v2 .brand__text {
    display: none;
  }

  .mobile-v2 .search {
    grid-column: auto;
    min-width: 0;
    border: 0;
    border-radius: 999px;
    background: #f3f6fb;
    box-shadow: inset 0 0 0 1px #edf1f8;
  }

  .mobile-v2 .search input {
    min-height: 32px;
    padding: 7px 10px;
    background: transparent;
    font-size: 11px;
  }

  .mobile-v2 .search input::placeholder {
    color: #a2aaba;
  }

  .mobile-v2 .search button {
    min-height: 32px;
    width: 34px;
    padding: 0;
    justify-content: center;
    background: transparent;
    color: #8d96a7;
  }

  .mobile-v2 .nav-actions {
    gap: 4px;
  }

  .mobile-v2 .nav-actions .icon-button:first-child {
    display: none;
  }

  .mobile-v2 .icon-button {
    width: 30px;
    min-width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: #f3f6fb;
    color: var(--v2-blue);
  }

  .mobile-v2 .icon-button i {
    font-size: 14px;
  }

  .mobile-v2 .quick-links {
    display: none;
  }

  .mobile-v2 main {
    width: min(100% - 26px, 390px);
    margin: 12px auto 0;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--v2-shadow);
  }

  .mobile-v2 .promo-carousel {
    width: 100%;
    margin: 0;
    padding: 12px 12px 0;
  }

  .mobile-v2 .promo-carousel .carousel {
    border-radius: 14px;
    box-shadow: none;
  }

  .mobile-v2 .promo-slide {
    min-height: 128px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px;
    align-items: center;
    gap: 8px;
    padding: 15px 14px;
    background: linear-gradient(135deg, #306ed7, #89aef3);
  }

  .mobile-v2 .promo-slide--two {
    background: linear-gradient(135deg, #5371d9, #9cc2ff);
  }

  .mobile-v2 .promo-slide--three {
    background: linear-gradient(135deg, #3468c9, #6bb8ef);
  }

  .mobile-v2 .promo-slide span {
    font-size: 10px;
    text-transform: none;
  }

  .mobile-v2 .promo-slide h2 {
    max-width: 190px;
    margin: 5px 0 8px;
    font-size: 17px;
    line-height: 1.14;
  }

  .mobile-v2 .promo-slide p {
    display: none;
  }

  .mobile-v2 .promo-slide div::after {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border-radius: 999px;
    background: #ffffff;
    padding: 0 13px;
    color: var(--v2-blue);
    content: "Shop Now";
    font-size: 11px;
    font-weight: 800;
  }

  .mobile-v2 .promo-slide i {
    width: 78px;
    height: 94px;
    display: grid;
    place-items: center;
    align-self: center;
    margin: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.24);
    color: rgba(255, 255, 255, 0.92);
    font-size: 48px;
  }

  .mobile-v2 .carousel-indicators {
    right: auto;
    bottom: 6px;
    left: 16px;
    justify-content: flex-start;
    margin: 0;
  }

  .mobile-v2 .carousel-indicators [data-bs-target] {
    width: 5px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    opacity: 0.55;
  }

  .mobile-v2 .carousel-indicators .active {
    width: 16px;
    opacity: 1;
  }

  .mobile-v2 #kategori,
  .mobile-v2 #produk {
    width: 100%;
    padding: 16px 12px 0;
  }

  .mobile-v2 #produk {
    padding-bottom: 16px;
  }

  .mobile-v2 .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 8px;
    margin-bottom: 10px;
  }

  .mobile-v2 .section-heading .eyebrow,
  .mobile-v2 .section-subtitle,
  .mobile-v2 #produk .section-heading .eyebrow,
  .mobile-v2 #produk .section-subtitle {
    display: none;
  }

  .mobile-v2 .section-heading h2 {
    font-size: 14px;
    line-height: 1.2;
  }

  .mobile-v2 .section-heading > a {
    font-size: 10px;
  }

  .mobile-v2 .category-grid {
    gap: 9px;
    border: 0;
    background: transparent;
    padding-bottom: 4px;
  }

  .mobile-v2 .category-card {
    flex: 0 0 92px;
    min-height: 78px;
    border: 0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(35, 50, 92, 0.07);
    color: #202737;
    font-size: 10px;
    font-weight: 700;
  }

  .mobile-v2 .category-card:nth-child(3n),
  .mobile-v2 .category-card:nth-child(6n) {
    border: 0;
  }

  .mobile-v2 .category-card img {
    width: 34px;
    height: 34px;
    padding: 4px;
    border-radius: 8px;
    background: #f6f8fc;
  }

  .mobile-v2 .category-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f6f8fc;
    font-size: 20px;
    color: var(--v2-blue);
  }

  .mobile-v2 .category-icon .category-emoji {
    font-size: 18px;
  }

  /* Di HP cukup di-swipe; sembunyikan tombol panah. */
  .mobile-v2 .category-nav {
    display: none !important;
  }

  .mobile-v2 #produk .section-heading {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .mobile-v2 .product-tools {
    width: auto;
    display: flex;
    justify-content: flex-end;
  }

  .mobile-v2 .tabs,
  .mobile-v2 .dropdown,
  .mobile-v2 .filter-panel {
    display: none;
  }

  .mobile-v2 .catalog-layout {
    display: block;
  }

  .mobile-v2 .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mobile-v2 .product-card {
    overflow: visible;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(35, 50, 92, 0.08);
  }

  .mobile-v2 .product-card img {
    aspect-ratio: 1 / 0.82;
    border-radius: 12px 12px 0 0;
    padding: 12px;
  }

  .mobile-v2 .product-card__body {
    min-height: 132px;
    padding: 9px;
  }

  .mobile-v2 .product-card__top {
    min-height: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .mobile-v2 .product-badge {
    padding: 3px 7px;
    font-size: 9px;
  }

  .mobile-v2 .product-promo {
    width: auto;
    color: #98a1b4;
    font-size: 9px;
  }

  .mobile-v2 .product-card h3 {
    min-height: 34px;
    margin: 7px 0 4px;
    color: #202737;
    font-size: 11px;
    line-height: 1.3;
  }

  .mobile-v2 .price-wrap {
    margin-bottom: 5px;
  }

  .mobile-v2 .price {
    color: #1b2533;
    font-size: 11px;
  }

  .mobile-v2 .price-wrap span {
    display: none;
  }

  .mobile-v2 .product-meta {
    display: none;
  }

  .mobile-v2 .product-card__actions {
    grid-template-columns: 1fr 32px;
    gap: 6px;
    padding-top: 4px;
  }

  .mobile-v2 .outline-button {
    min-height: 28px;
    border-color: #d7e3fb;
    border-radius: 999px;
    color: var(--v2-blue);
    font-size: 10px;
  }

  .mobile-v2 .cart-button {
    min-height: 28px;
    width: 32px;
    border-radius: 999px;
    padding: 0;
    font-size: 0;
  }

  .mobile-v2 .cart-button i {
    font-size: 13px;
  }

  .mobile-v2 .mobile-nav {
    width: min(100% - 26px, 390px);
    right: 0;
    bottom: 12px;
    left: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(45, 59, 105, 0.18);
  }

  .mobile-v2 .mobile-nav a,
  .mobile-v2 .mobile-nav button {
    min-height: 58px;
    color: #9aa3b3;
    font-size: 9px;
    font-weight: 700;
  }

  .mobile-v2 .mobile-nav a:first-child {
    color: var(--v2-blue);
  }

  .mobile-v2 .mobile-nav i {
    font-size: 17px;
  }

  .mobile-v2 .footer {
    display: none;
  }

  .mobile-v2 .offcanvas.cart-panel {
    width: min(100% - 26px, 390px);
    margin: 12px auto;
    border: 0;
    border-radius: 24px;
  }

  .mobile-v2 .cart-summary .primary-button {
    border-radius: 999px;
  }
}

@media (max-width: 380px) {
  .mobile-v2 .page-shell,
  .mobile-v2 .quick-links,
  .mobile-v2 main,
  .mobile-v2 .site-header,
  .mobile-v2 .mobile-nav {
    width: min(100% - 18px, 360px);
  }

  .mobile-v2 .product-card__actions {
    grid-template-columns: 1fr 30px;
  }
}
