/* ===================================================
   MONCHERIE OFFICIAL STORE - 1 KESATUAN APP DESIGN
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --shopee-orange: #EE4D2D;
  --shopee-orange-dark: #D73211;
  --shopee-orange-soft: #FFF1ED;
  --mall-red: #D0011B;
  --bg-backdrop: #E9ECEF;
  --app-bg: #F7F7F9;
  --card-bg: #FFFFFF;
  --border-color: #ECECEC;
  --text-main: #1E1E24;
  --text-sub: #757575;
  --star-gold: #FFB800;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --app-width: 480px; /* Lebar 1 kesatuan mobile view yang proporsional */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

a,
a *,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none !important;
  color: inherit;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-backdrop);
  color: var(--text-main);
  line-height: 1.45;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ===================================================
   1 KESATUAN UTUH (UNIFIED APP CONTAINER)
   Semua elemen berada dalam 1 kolom vertikal tanpa terpisah!
   =================================================== */
.app-unified-container {
  width: 100%;
  max-width: var(--app-width);
  min-height: 100vh;
  background-color: var(--app-bg);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.08);
  padding-bottom: 76px; /* Ruang untuk mobile bottom bar */
}

/* ===================================================
   HEADER: LOGO MONCHERIE (KIRI) | OFFICIAL STORE (KANAN)
   =================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 10px;
}

/* LOGO KIRI: MONCHERIE */
.brand-moncherie {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 900;
}

.logo-symbol {
  color: var(--shopee-orange);
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transform: translateY(-0.5px);
}

.logo-text {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.6px;
  background: linear-gradient(135deg, #111111 0%, #EE4D2D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* KANAN: OFFICIAL STORE BADGE */
.official-store-badge {
  background: var(--mall-red);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(208, 1, 27, 0.25);
  line-height: 1;
}

.mall-icon {
  display: block;
  flex-shrink: 0;
}

.mall-text {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* SEARCH BOX */
.header-search-wrap {
  padding: 0 14px 12px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 9px 36px 9px 38px;
  background: #F0F1F4;
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  background: #ffffff;
  border-color: var(--shopee-orange);
  box-shadow: 0 0 0 3px rgba(238, 77, 45, 0.15);
}

.search-icon-left {
  position: absolute;
  left: 13px;
  color: #8C8C94;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.clear-search-btn {
  position: absolute;
  right: 10px;
  background: #D5D7DD;
  color: #555;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ===================================================
   MAIN BODY CONTENT DALAM 1 KESATUAN
   =================================================== */
.main-body-content {
  padding: 10px 12px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* BANNER SLIDER (3 SLIDE PROMO) */
.banner-carousel-section {
  margin-bottom: 10px;
}

.banner-slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.banner-slider-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.35, 1);
  width: 100%;
  will-change: transform;
}

.banner-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
}

.banner-card {
  height: 135px;
  padding: 10px 14px;
  color: #ffffff;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

/* THEMES GRADIENTS BERKELAS */
.banner-theme-orange {
  background: radial-gradient(circle at 85% 20%, #FFA05C 0%, #EE4D2D 45%, #C92F10 100%);
}

.banner-theme-red {
  background: radial-gradient(circle at 85% 20%, #FF6B4A 0%, #D0011B 50%, #8B0011 100%);
}

.banner-theme-dark {
  background: radial-gradient(circle at 85% 20%, #483431 0%, #201F24 55%, #101012 100%);
}

/* ELEMEN DEKORASI AMBIENT GLOW */
.banner-decor-shape {
  position: absolute;
  top: -35px;
  right: -25px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.banner-decor-sparkles {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  animation: sparkleTwinkle 2.5s ease-in-out infinite alternate;
}

@keyframes sparkleTwinkle {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 1; text-shadow: 0 0 8px rgba(255, 255, 255, 0.8); }
}

/* MASKOT BANNER ATAS (LOGO1.PNG) */
.banner-mascot-left {
  width: 98px;
  height: 118px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 3;
  margin-right: 8px;
}

.mascot-img-top {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
  animation: mascotTopBob 3s ease-in-out infinite alternate;
}

@keyframes mascotTopBob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.banner-text {
  flex: 1;
  min-width: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 4px;
  padding-right: 12px;
}

.banner-heading {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.22;
  color: #ffffff;
  letter-spacing: -0.4px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
  letter-spacing: -0.1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* MINI PROMO CHIP */
.banner-mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2.5px 8px;
  border-radius: var(--radius-full);
  font-size: 9.5px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 5px;
  width: fit-content;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease;
}

.banner-mini-chip.chip-gold {
  background: rgba(255, 184, 0, 0.28);
  border-color: rgba(255, 213, 79, 0.6);
  color: #FFF3C4;
}

.chip-arrow {
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

/* FLOATING MASCOT BAWAH (LOGO2.PNG) */
.floating-mascot-bottom {
  position: fixed;
  bottom: 55px; /* Diturunkan sedikit agar lebih pas */
  right: max(6px, calc(50% - 240px + 6px)); /* Tepi kanan wadah mobile 480px */
  width: 120px;
  height: 120px;
  z-index: 950;
  pointer-events: none; /* Klik tembus ke produk di belakangnya */
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
  animation: mascotFloatVertical 2.2s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes mascotFloatVertical {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-4.5px);
  }
}

.mascot-img-bottom {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform-origin: 50% 92%; /* Titik tumpu di bagian bawah agar kepala berayun */
  animation: mascotPureTilt 2.2s ease-in-out infinite alternate;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* AYUNAN MURNI 100% TANPA JEDA / PATAH */
@keyframes mascotPureTilt {
  0% {
    transform: rotate(-2.6deg);
  }
  100% {
    transform: rotate(2.6deg);
  }
}

/* DOTS INDIKATOR BANNER */
.banner-dots {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  padding: 3px 6px;
  border-radius: var(--radius-full);
}

.b-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: all 0.2s ease;
  cursor: pointer;
}

.b-dot.active {
  background: #ffffff;
  width: 14px;
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.9);
}

/* TIPS CEPAT */
.quick-code-hint {
  background: #FFF5F2;
  border: 1px dashed rgba(238, 77, 45, 0.35);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.hint-pill {
  background: var(--shopee-orange);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(238, 77, 45, 0.35);
}

.hint-pill svg {
  display: block;
}

.hint-text {
  font-size: 11.5px;
  color: #a4321b;
  font-weight: 600;
  line-height: 1.3;
}

/* KATEGORI STRIP */
.category-strip {
  margin-bottom: 10px;
}

.category-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 6px 13px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.cat-pill svg {
  fill: currentColor;
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  display: block;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.cat-pill:hover svg {
  transform: scale(1.08);
}

.cat-pill.active {
  background: var(--shopee-orange);
  color: #ffffff;
  border-color: var(--shopee-orange);
  box-shadow: 0 2px 6px rgba(238, 77, 45, 0.25);
}

.search-status-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 12px;
  margin-bottom: 10px;
}

.search-status-bar strong {
  color: var(--shopee-orange);
}

.reset-link {
  color: var(--shopee-orange);
  font-weight: 700;
  cursor: pointer;
}

/* ===================================================
   PRODUK DENGAN SUSUNAN 2 2 & THUMBNAIL WAJIB PERSEGI
   =================================================== */
.product-grid-section {
  width: 100%;
}

.product-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Susunan 2 2 */
  gap: 10px;
}

.product-card-shopee {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.15s ease;
  position: relative;
  text-decoration: none !important;
  color: var(--text-main) !important;
}

.product-card-shopee:hover {
  transform: translateY(-2px);
  border-color: rgba(238, 77, 45, 0.4);
}

/* THUMBNAIL WAJIB PERSEGI (1:1 SQUARE) */
.square-thumbnail-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Wajib Persegi */
  background: #F1F1F3;
  overflow: hidden;
}

.square-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover; /* Pas & Presisi Persegi */
  display: block;
}

/* BADGE DI THUMBNAIL */
.card-code-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-weight: 800;
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 0.3px;
}

.card-code-badge span {
  color: #FF7043;
}

.card-promo-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--shopee-orange);
  color: #fff;
  font-weight: 700;
  font-size: 9.5px;
  padding: 2px 5px;
  border-radius: 3px;
  z-index: 2;
}

.card-photos-count {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1.5px 6px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
}

/* CARD DETAILS */
.card-info {
  padding: 9px 8px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title-text {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 34px;
  margin-bottom: 4px;
}

.card-desc-short {
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 31px;
  margin-bottom: 8px;
}

.card-btn-action {
  margin-top: auto;
  background: var(--shopee-orange-soft);
  color: var(--shopee-orange);
  border: 1px solid rgba(238, 77, 45, 0.2);
  border-radius: var(--radius-xs);
  padding: 6px 0;
  font-size: 11.5px;
  font-weight: 800;
  text-align: center;
  transition: all 0.15s ease;
}

.product-card-shopee:hover .card-btn-action {
  background: var(--shopee-orange);
  color: #ffffff;
}

/* ===================================================
   INFINITE SCROLL LOADER & STATUS (GESER UNTUK MEMUAT)
   =================================================== */
.infinite-scroll-loader {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 0 16px;
  width: 100%;
  color: var(--shopee-orange);
}

.scroll-spinner {
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(238, 77, 45, 0.2);
  border-top-color: var(--shopee-orange);
  border-radius: 50%;
  animation: spinLoader 0.75s linear infinite;
}

@keyframes spinLoader {
  to {
    transform: rotate(360deg);
  }
}

.scroll-loading-text {
  font-size: 13px;
  font-weight: 700;
  color: #555;
  letter-spacing: -0.2px;
}

.infinite-scroll-end {
  display: none;
  text-align: center;
  padding: 20px 0 14px;
  font-size: 12px;
  font-weight: 600;
  color: #9AA6AC;
  letter-spacing: 0.2px;
}

.infinite-scroll-end span {
  position: relative;
  display: inline-block;
  padding: 0 14px;
}

.infinite-scroll-end span::before,
.infinite-scroll-end span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: #E2E5E8;
}

.infinite-scroll-end span::before {
  left: -20px;
}

.infinite-scroll-end span::after {
  right: -20px;
}

.card-fade-in {
  animation: cardFadeIn 0.35s ease forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================================
   FOOTER MOBILE APPS: HOME | RIWAYAT | BANTUAN - SOFT & MENYATU
   =================================================== */
.mobile-app-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--app-width);
  height: 62px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 999;
  padding: 0 8px;
}

.nav-item {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  color: #8A969E; /* Abu-abu lembut yang menyatu dan tidak tegas */
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-icon-wrapper svg {
  fill: currentColor;
  display: block;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), fill 0.2s ease;
}

/* HOVER & ACTIVE LEMBUT: MENYATU DENGAN TINT HALUS */
.nav-item:hover,
.nav-item.active {
  color: var(--shopee-orange) !important;
}

.nav-item:hover .nav-icon-wrapper,
.nav-item.active .nav-icon-wrapper {
  background: rgba(238, 77, 45, 0.07);
}

.nav-item:hover .nav-icon-wrapper svg,
.nav-item.active .nav-icon-wrapper svg {
  fill: var(--shopee-orange);
  transform: translateY(-1px);
}

.nav-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.1px;
  color: inherit;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.nav-item:hover .nav-label,
.nav-item.active .nav-label {
  font-weight: 700;
  color: var(--shopee-orange);
}

/* ===================================================
   MODAL DETAIL PRODUK + SLIDER FOTO PERSEGI (1:1)
   =================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  padding: 12px;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-sheet {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  max-height: 88vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.22s ease;
}

.modal-backdrop.open .modal-sheet {
  transform: translateY(0);
}

.modal-close-round {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.modal-square-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Persegi */
  background: #F3F4F6; /* Netral terang lembut agar tidak pernah blank hitam */
  border-radius: 5%; /* Pojok tumpul 5% */
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.square-slider-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.35, 1);
  will-change: transform;
}

.square-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  position: relative;
}

.square-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 5;
  color: #718096; /* Abu-abu saat tidak diklik */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none;
  -webkit-user-select: none;
}

.slider-btn svg {
  display: block;
  flex-shrink: 0;
  stroke: currentColor; /* Ikuti warna abu-abu default */
  pointer-events: none;
  transition: stroke 0.18s ease;
}

/* Saat disentuh / diklik / hover: Menyala Oren */
.slider-btn:hover,
.slider-btn:active,
.slider-btn.glow-orange {
  color: var(--shopee-orange) !important;
  border-color: var(--shopee-orange) !important;
  background: #ffffff !important;
  box-shadow: 0 0 12px rgba(238, 77, 45, 0.4) !important;
}

.slider-btn:hover svg,
.slider-btn:active svg,
.slider-btn.glow-orange svg {
  stroke: var(--shopee-orange) !important;
}

.slider-btn:active {
  transform: translateY(-50%) scale(0.92);
}

.prev-btn { left: 8px; }
.next-btn { right: 8px; }

.slider-dots-row {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 5;
}

.s-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.s-dot.active {
  background: var(--shopee-orange);
  width: 18px;
  border-radius: 4px;
}

.modal-sheet-content {
  padding: 16px;
}

.code-and-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.code-tag-pill {
  background: #1E1E24;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
}

.code-tag-pill span {
  color: #FF7043;
}

/* TOMBOL SALIN NOMOR: OREN AGAK TRANSPARAN, SAAT BERHASIL JADI HIJAU */
.action-pill-btn {
  background: rgba(238, 77, 45, 0.1) !important;
  color: var(--shopee-orange) !important;
  border: 1px solid rgba(238, 77, 45, 0.28) !important;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.action-pill-btn svg {
  fill: var(--shopee-orange) !important;
  transition: fill 0.2s ease, transform 0.2s ease;
}

.action-pill-btn:hover {
  background: rgba(238, 77, 45, 0.18) !important;
  border-color: var(--shopee-orange) !important;
}

/* JIKA BERHASIL DISALIN -> WARNA HIJAU */
.action-pill-btn.copied-success {
  background: rgba(39, 174, 96, 0.15) !important;
  color: #219653 !important;
  border-color: rgba(39, 174, 96, 0.45) !important;
  transform: scale(1.03);
}

.action-pill-btn.copied-success svg {
  fill: #219653 !important;
}

.modal-prod-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
}

.modal-price-box {
  background: #FFF7F4;
  border: 1px solid #FFE6DE;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.price-discount {
  color: var(--shopee-orange);
  font-size: 19px;
  font-weight: 900;
}

.price-normal {
  color: var(--text-sub);
  font-size: 12px;
  text-decoration: line-through;
}

.badge-disc {
  background: var(--shopee-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 3px;
}

.modal-desc-heading {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 8px;
  margin-bottom: 2px; /* Presisi, rapat dan tidak dijauhkan */
  line-height: 1.2;
}

.modal-desc-text {
  font-size: 13px;
  color: #3b4249;
  line-height: 1.5;
  white-space: pre-line;
  max-height: 160px;
  overflow-y: auto;
  margin-top: 0;
  margin-bottom: 14px;
}

.modal-cta-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-buy-shopee {
  background: linear-gradient(135deg, #F0532D, #EE4D2D);
  color: #ffffff !important;
  border: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(238, 77, 45, 0.4);
  transition: all 0.2s ease;
}

.btn-buy-shopee,
.btn-buy-shopee:visited,
.btn-buy-shopee:hover,
.btn-buy-shopee:active,
.btn-buy-shopee span,
.btn-buy-shopee * {
  color: #ffffff !important;
}

.btn-buy-shopee svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

.btn-buy-shopee:hover {
  background: linear-gradient(135deg, #e0441e, #d83d1e);
  box-shadow: 0 6px 18px rgba(238, 77, 45, 0.45);
}

.btn-share-link {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 9px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

/* ===================================================
   DRAWER RIWAYAT & BANTUAN
   =================================================== */
.modal-drawer {
  max-height: 80vh;
}

.drawer-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-main);
}

.drawer-body {
  padding: 14px 16px;
  max-height: 60vh;
  overflow-y: auto;
}

.history-item-row {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  align-items: center;
}

.history-thumb {
  width: 52px;
  height: 52px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xs);
  object-fit: cover;
  flex-shrink: 0;
}

.history-info {
  flex: 1;
  min-width: 0;
}

.history-title {
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-price {
  font-size: 13px;
  color: var(--shopee-orange);
  font-weight: 800;
  margin-top: 2px;
}

/* BANTUAN */
.help-step-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.step-num {
  width: 26px;
  height: 26px;
  background: var(--shopee-orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

.step-text strong {
  font-size: 13.5px;
  color: var(--text-main);
  display: block;
}

.step-text p {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 2px;
}

.help-contact-box {
  background: #FFF7F4;
  border: 1px solid #FFE4DC;
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  text-align: center;
}

.contact-label {
  font-size: 12px;
  font-weight: 700;
  color: #666;
  margin-bottom: 10px;
}

.btn-whatsapp-chat {
  background: #25D366;
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  justify-content: center;
}

.help-wa-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.help-wa-actions .help-channel-btn {
  flex: 1;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  font-size: 13px;
}

/* TOAST */
.toast-msg {
  position: fixed;
  bottom: 76px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: rgba(20, 20, 20, 0.92);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  z-index: 10000;
  opacity: 0;
  transition: all 0.2s ease;
  pointer-events: none;
}

/* ===================================================
   HALAMAN MANDIRI (BUKAN POPUP): DETAIL, RIWAYAT, BANTUAN
   =================================================== */
.header-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  text-decoration: none;
  margin-right: 4px;
  padding: 4px;
  border-radius: 50%;
}

.header-back-btn:hover {
  background: #f0f0f0;
}

.detail-info-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* BADGE KATEGORI DI HALAMAN DETAIL PRODUK */
.detail-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(238, 77, 45, 0.08);
  color: var(--shopee-orange);
  border: 1px solid rgba(238, 77, 45, 0.22);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.detail-category-pill svg {
  fill: var(--shopee-orange);
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  flex-shrink: 0;
}

/* SECTION PRODUK TERKAIT DI DETAIL PRODUK */
.related-products-section {
  margin-top: 16px;
  width: 100%;
}

.related-section-header {
  margin-bottom: 12px;
}

.related-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 9px;
  padding: 7px 11px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.related-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.related-header-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(238, 77, 45, 0.09);
  color: var(--shopee-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.related-header-icon svg {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.related-header-text {
  min-width: 0;
}

.related-header-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.related-header-sub {
  font-size: 10px;
  color: #888;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-header-count {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  background: rgba(238, 77, 45, 0.08);
  border: 1px solid rgba(238, 77, 45, 0.18);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 800;
  color: var(--shopee-orange);
  white-space: nowrap;
  flex-shrink: 0;
}

.detail-prod-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
}

.subpage-content {
  padding: 14px 12px 24px;
}

/* ─── OLD SUBPAGE HEADER (kept for help page) ─── */
.subpage-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.subpage-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.subpage-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFF1ED;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.subpage-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-main);
}

.subpage-subtitle {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 1px;
}

.clear-history-pill {
  background: #f0f1f4;
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: #666;
  cursor: pointer;
}

.clear-history-pill:hover {
  background: #fee;
  color: #c00;
  border-color: #fcc;
}

/* ─── PREMIUM HISTORY HERO HEADER ─── */
.history-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #EE4D2D 0%, #ff6b47 60%, #ff8c6a 100%);
  border-radius: 18px;
  padding: 16px 16px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(238, 77, 45, 0.30);
}

.history-hero-deco {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  pointer-events: none;
}

.history-hero-deco-1 {
  width: 100px;
  height: 100px;
  top: -30px;
  right: -20px;
}

.history-hero-deco-2 {
  width: 60px;
  height: 60px;
  bottom: -20px;
  right: 70px;
  background: rgba(255, 255, 255, 0.07);
}

.history-hero-left {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.history-hero-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}

.history-hero-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.history-hero-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.history-hero-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.80);
  font-weight: 500;
  line-height: 1.3;
}

.history-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.40);
  color: #ffffff;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(4px);
}

.history-clear-btn:hover {
  background: rgba(255, 255, 255, 0.30);
  transform: translateY(-1px);
}

.history-clear-btn:active {
  transform: translateY(0);
}

/* ─── HISTORY EMPTY STATE ─── */
.history-empty-state {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.history-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(238, 77, 45, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.history-empty-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.history-empty-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 18px;
}

.history-empty-cta {
  display: inline-block;
  padding: 9px 24px;
  border-radius: var(--radius-full);
  background: var(--shopee-orange);
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 3px 12px rgba(238, 77, 45, 0.30);
}

.history-empty-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(238, 77, 45, 0.38);
  color: #fff !important;
}

.history-page-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-page-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: transform 0.15s ease;
}

.history-page-card:hover {
  transform: translateY(-1px);
  border-color: rgba(238, 77, 45, 0.4);
}

.history-page-thumb {
  width: 58px;
  height: 58px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xs);
  object-fit: cover;
  flex-shrink: 0;
}

.history-page-info {
  flex: 1;
  min-width: 0;
}

.history-page-code {
  background: #1e1e24;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 2px;
}

.history-page-title {
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-page-price {
  font-size: 13.5px;
  color: var(--shopee-orange);
  font-weight: 800;
  margin-top: 2px;
}

.history-page-arrow {
  color: var(--shopee-orange);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 3px;
}

.history-page-arrow span {
  font-size: 11px;
}

.help-page-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.help-section-title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-color);
}

.help-contact-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.contact-title {
  font-size: 14px;
  font-weight: 800;
}

.contact-desc {
  font-size: 12px;
  color: #666;
  margin: 4px auto 14px;
  max-width: 320px;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.empty-state-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

/* ─── WA CHANNEL CARD (BANTUAN) ─── */
.help-channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-left: 4px solid #25D366;
  border-radius: 14px;
  padding: 14px 14px;
  margin-top: 10px;
  box-shadow: 0 1px 6px rgba(37, 211, 102, 0.08);
}

.help-channel-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.help-channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.help-channel-text {
  min-width: 0;
}

.help-channel-label {
  font-size: 10px;
  font-weight: 700;
  color: #25D366;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.help-channel-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.help-channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.30);
}

.help-channel-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(37, 211, 102, 0.40);
}

/* ═══════════════════════════════════════════
   MODAL KONFIRMASI HAPUS RIWAYAT
═══════════════════════════════════════════ */
.clear-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 10, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.clear-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.clear-modal-card {
  background: #ffffff;
  border-radius: 20px;
  width: calc(100% - 40px);
  max-width: 340px;
  padding: 24px 16px 20px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18), 0 20px 60px rgba(238, 77, 45, 0.12);
  transform: translateY(40px);
  transition: transform 0.30s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  opacity: 0;
}

.clear-modal-overlay.active .clear-modal-card {
  transform: translateY(0);
  opacity: 1;
}

.clear-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff0ee 0%, #ffddd7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(238, 77, 45, 0.18);
}

.clear-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.clear-modal-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 24px;
  padding: 0 4px;
}

.clear-modal-actions {
  display: flex;
  gap: 10px;
}

.clear-modal-cancel {
  flex: 1;
  padding: 13px;
  border-radius: 14px;
  background: #f3f4f6;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
  transition: background 0.15s;
}

.clear-modal-cancel:hover {
  background: #e5e7eb;
}

.clear-modal-confirm {
  flex: 1;
  padding: 13px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EE4D2D 0%, #d93b1f 100%);
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(238, 77, 45, 0.35);
}

.clear-modal-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(238, 77, 45, 0.45);
}

.clear-modal-confirm:active {
  transform: translateY(0);
}
