/* Softonetronics Store: G2A Desktop Hero + Driffle Mobile Dark Theme */

:root {
  --st-bg: #07090f;
  --st-surface: #0d111a;
  --st-surface-alt: #121723;
  --st-border: rgba(255, 255, 255, 0.08);
  --st-border-hover: rgba(255, 255, 255, 0.18);
  --st-yellow: #facc15;
}

body.store-dark {
  background-color: var(--st-bg) !important;
  color: #f1f5f9 !important;
  font-family: "Plus Jakarta Sans", "Kantumruy Pro", ui-sans-serif, system-ui, sans-serif;
}

.store-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .store-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.bg-hazard-stripe {
  background-image: repeating-linear-gradient(
    -45deg,
    #facc15 0px,
    #facc15 12px,
    #111827 12px,
    #111827 24px
  );
}

.bg-grid-pattern {
  background-image: radial-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1px);
  background-size: 16px 16px;
}

/* ======================== G2A DESKTOP HEADER ======================== */
.g2a-promo-bar {
  display: none;
  position: relative;
  height: 36px;
  border-bottom: 1px solid #000;
  overflow: hidden;
  user-select: none;
}
@media (min-width: 768px) {
  .g2a-promo-bar {
    display: block;
  }
}

.g2a-promo-ribbon {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 2rem;
  background-color: #facc15;
  transform: skewX(-20deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.g2a-promo-ribbon-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transform: skewX(20deg);
  color: #020617;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
}

.g2a-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 15, 0.92);
  backdrop-filter: blur(18px);
}
@media (min-width: 768px) {
  .g2a-header {
    background: rgba(0, 0, 0, 0.96);
  }
}

.g2a-header-row {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .g2a-header-row {
    height: 64px;
    gap: 1.15rem;
  }
}

.g2a-search-pill {
  display: none;
  flex: 1;
  max-width: 640px;
}
@media (min-width: 768px) {
  .g2a-search-pill {
    display: flex;
  }
}

.g2a-search-inner {
  display: flex;
  width: 100%;
  align-items: center;
  background: #ffffff;
  border-radius: 9999px;
  height: 40px;
  padding-left: 1rem;
  padding-right: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.g2a-search-inner input {
  flex: 1;
  min-width: 0;
  background: transparent;
  color: #0f172a;
  font-size: 0.875rem;
  border: none;
  outline: none;
  padding-right: 0.75rem;
}
.g2a-search-inner input::placeholder {
  color: #64748b;
}
.g2a-search-inner select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23475569'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat right 8px center / 14px 14px;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  border-left: 1px solid #e2e8f0;
  padding: 0 26px 0 12px;
  height: 32px;
  line-height: 32px;
  width: auto;
  min-width: 124px;
  max-width: 175px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  flex-shrink: 0;
  outline: none;
  cursor: pointer;
}
.g2a-search-inner select::picker-icon {
  display: none;
}
@media (min-width: 1024px) {
  .g2a-search-inner select {
    display: inline-block !important;
  }
}

.g2a-brand-name {
  color: #ffffff;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 112px;
  display: block;
}
@media (min-width: 640px) {
  .g2a-brand-name {
    font-size: 18px;
    max-width: none;
  }
}
.desktop-nav-pill {
  display: none !important;
}
.g2a-locale-pill {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background-color: #1c1f26;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 0.42rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.g2a-locale-pill:hover {
  background-color: #272c36;
  border-color: rgba(255, 255, 255, 0.25);
}
.g2a-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 96;
  background-color: rgba(2, 6, 23, 0.76);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
@media (min-width: 768px) {
  .g2a-modal-backdrop {
    align-items: center;
    padding: 1rem;
  }
}
.driffle-locale-sheet {
  position: relative;
  width: 100%;
  max-width: 440px;
  background-color: #111318;
  color: #f8fafc;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px 22px 0 0;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.65);
}
@media (min-width: 768px) {
  .driffle-locale-sheet {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  }
}
.driffle-slide-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background-color: #12141a;
  color: #f1f5f9;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .driffle-slide-menu {
    display: none !important;
  }
}
.driffle-gold-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.24), rgba(161, 98, 7, 0.24));
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fde047;
  border-radius: 9999px;
  padding: 0.24rem 0.55rem;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}
.driffle-nav-avatar {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background-color: #dce4f8;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}
.driffle-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 6px;
}
.driffle-avatar-circle {
  width: 96px;
  height: 96px;
  border-radius: 9999px;
  background-color: #dce4f8;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  user-select: none;
}
.driffle-avatar-img {
  width: 96px;
  height: 96px;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.driffle-avatar-edit {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background-color: #1b1f2a;
  border: 2px solid #0b0c10;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.driffle-avatar-edit:hover {
  background-color: #2563eb;
}
.driffle-stat-tile,
.driffle-card {
  background-color: #141720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}
.driffle-inset {
  background-color: #0e1118;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}
.driffle-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  background-color: #141720;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  color: #f8fafc;
  font-size: 14.5px;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.driffle-menu-row:hover {
  background-color: #1b202d;
  border-color: rgba(59, 130, 246, 0.35);
}
.driffle-row-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background-color: rgba(37, 99, 235, 0.18);
  color: #3b82f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.driffle-row-icon-purple {
  background-color: #9333ea;
  color: #ffffff;
}
.driffle-pill-tab {
  background-color: #141720;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.5rem 0.9rem;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.driffle-pill-tab.is-active {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #ffffff !important;
}
.driffle-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background-color: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.driffle-modal-box {
  width: 100%;
  max-width: 420px;
  background-color: #141720;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}
.driffle-wallet-blue {
  background: linear-gradient(135deg, #0b3aa4 0%, #07225c 100%);
  border: 1px solid rgba(96, 165, 250, 0.3);
}
.driffle-wallet-gold {
  background: linear-gradient(135deg, #625015 0%, #2d250a 100%);
  border: 1px solid rgba(250, 204, 21, 0.28);
}
.g2a-auth-submit {
  width: 100%;
  background-color: #1d63ff;
  color: #ffffff;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.g2a-auth-submit:hover {
  background-color: #1554e0;
}
.driffle-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: #2563eb;
  color: #ffffff !important;
  border-radius: 12px;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.driffle-primary-btn:hover {
  background-color: #1d4ed8;
}
.g2a-pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #1d63ff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  border: none;
}
.g2a-modal-card {
  position: relative;
  width: 100%;
  max-width: 390px;
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-radius: 12px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.48);
}
.g2a-modal-select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #cbd5e1 !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  outline: none;
}
.g2a-modal-select:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

/* G2A Added-to-Cart Slide-Over Drawer */
.g2a-cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background-color: rgba(2, 6, 23, 0.58);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: flex-end;
}
.g2a-cart-drawer {
  width: 100%;
  max-width: 390px;
  height: 100%;
  background-color: #f3f4f6;
  color: #0f172a;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.g2a-cart-head {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.9rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.g2a-upsell-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}
.g2a-upsell-btn {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background-color: #2563eb;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}
.g2a-upsell-btn:hover {
  background-color: #1d4ed8;
  transform: scale(1.06);
}
.mobile-only-inline {
  display: inline-flex !important;
}
@media (min-width: 768px) {
  .desktop-nav-pill,
  .g2a-locale-pill {
    display: inline-flex !important;
  }
  .mobile-only-inline {
    display: none !important;
  }
}

.g2a-hidden {
  display: none !important;
}

.g2a-bf-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #facc15 !important;
  color: #020617 !important;
}
.g2a-search-btn {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: #2563eb;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.g2a-search-btn:hover {
  background: #3b82f6;
}

.g2a-cat-strip {
  display: none;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 768px) {
  .g2a-cat-strip {
    display: block;
  }
}
.g2a-cat-strip-inner {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.g2a-cat-links {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}
.g2a-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.675rem;
  font-weight: 500;
  color: #cbd5e1;
  white-space: nowrap;
  padding: 0.25rem 0;
  transition: color 0.15s ease;
}
.g2a-cat-link:hover,
.g2a-cat-link.is-active {
  color: #ffffff;
  font-weight: 600;
}
.g2a-hot-badge {
  font-size: 9px;
  font-weight: 800;
  background: #e11d48;
  color: #ffffff;
  padding: 1px 5px;
  border-radius: 4px;
}
.g2a-cta-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(90deg, #7c3aed, #4f46e5);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 0.85rem;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.28);
}
.g2a-cta-pill:hover {
  filter: brightness(1.1);
}

/* ======================== G2A DESKTOP HERO SLIDER ======================== */
.g2a-hero {
  display: none;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
@media (min-width: 768px) {
  .g2a-hero {
    display: block;
  }
}
.g2a-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  pointer-events: none;
}
.g2a-hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.05) 55%, #07090f 100%);
  pointer-events: none;
}
.g2a-hero-wrap {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.75rem 3.25rem 1.25rem;
}
.g2a-hero-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}
.g2a-hero-card {
  position: relative;
  height: 344px;
  border-radius: 1rem;
  overflow: hidden;
  background: #0b0e18;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.g2a-hero-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.35);
}
.g2a-hero-bf {
  border: 2px solid rgba(250, 204, 21, 0.88);
  background: linear-gradient(180deg, #2b1f07 0%, #120e05 55%, #000000 100%);
}
.g2a-hero-bf:hover {
  border-color: #facc15;
}
.g2a-hero-box-card {
  position: relative;
  height: 344px;
  border-radius: 1rem;
  padding: 0.5rem 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease;
}
.g2a-hero-box-card:hover {
  transform: translateY(-6px);
}
.g2a-3d-box {
  position: relative;
  width: 136px;
  height: 170px;
  border-radius: 1rem;
  padding: 0.875rem;
  transform: rotate(-8deg);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.78);
}
.g2a-hero-box-card:hover .g2a-3d-box {
  transform: rotate(-3deg) scale(1.05);
}
.g2a-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease, background 0.15s ease;
}
.g2a-hero-arrow:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.06);
}

/* ======================== DRIFFLE MOBILE UI ======================== */
.driffle-mobile-only {
  display: block;
}
.desktop-catalog-only {
  display: none;
}
@media (min-width: 768px) {
  .driffle-mobile-only {
    display: none !important;
  }
  .desktop-catalog-only {
    display: block;
  }
}

.driffle-rail {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-left: -1rem;
  margin-right: -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 0.25rem;
}
.driffle-rail-card {
  width: 152px;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.driffle-portrait-box {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 1rem;
  overflow: hidden;
  background-color: #090c14;
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.driffle-platform-tile {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  padding: 2px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
}
.driffle-platform-tile-inner {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: rgba(11, 14, 23, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
}

.driffle-list-row {
  display: flex;
  gap: 0.75rem;
  background: #11151f;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  padding: 0.625rem;
}
.driffle-list-thumb {
  position: relative;
  width: 76px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #090c14;
  display: flex;
  align-items: center;
  justify-content: center;
}

.driffle-bottom-nav {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  pointer-events: none;
}
@media (min-width: 768px) {
  .driffle-bottom-nav {
    display: none !important;
  }
}
.driffle-bottom-pill {
  pointer-events: auto;
  flex: 1;
  background: rgba(22, 26, 36, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 0.35rem 0.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.driffle-bottom-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  color: #94a3b8;
  transition: all 0.15s ease;
}
.driffle-bottom-tab.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
.driffle-search-circle {
  pointer-events: auto;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: rgba(22, 26, 36, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
}

.driffle-cart-badge {
  position: absolute;
  top: -6px;
  right: -9px;
  min-width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 1.5px solid #161a24;
  z-index: 2;
}

/* Floating Telegram positioned cleanly above bottom nav on mobile */
.telegram-float-btn {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 40;
  background: #0284c7;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.35);
}
.telegram-float-btn:hover {
  background: #0ea5e9;
}
@media (min-width: 768px) {
  .telegram-float-btn {
    bottom: 24px;
    right: 24px;
  }
}

/* Sticky Mobile/Tablet Cart Checkout Dock (always visible above bottom nav) */
.driffle-cart-sticky-bar {
  position: fixed;
  bottom: 76px;
  left: 12px;
  right: 12px;
  z-index: 44;
  background: rgba(16, 19, 28, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(59, 130, 246, 0.42);
  border-radius: 16px;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}
body:has(.driffle-cart-sticky-bar) .telegram-float-btn {
  bottom: 148px;
}
@media (min-width: 768px) {
  .driffle-cart-sticky-bar {
    bottom: 16px;
    max-width: 720px;
    margin: 0 auto;
  }
  body:has(.driffle-cart-sticky-bar) .telegram-float-btn {
    bottom: 88px;
  }
}
@media (min-width: 1024px) {
  .driffle-cart-sticky-bar {
    display: none !important;
  }
  body:has(.driffle-cart-sticky-bar) .telegram-float-btn {
    bottom: 24px;
  }
}

/* ======================== UNIFIED DARK STORE SURFACE ======================== */
.store-dark-main .bg-white:not(.qr-white-keep):not(.g2a-search-inner):not(.badge-light-keep):not(.g2a-auth-card) {
  background-color: #0d111a !important;
  color: #f1f5f9 !important;
}
.store-dark-main .bg-slate-50,
.store-dark-main .bg-slate-100 {
  background-color: #131926 !important;
  color: #e2e8f0 !important;
}
.store-dark-main .border-slate-200,
.store-dark-main .border-slate-200\/80,
.store-dark-main .border-slate-300,
.store-dark-main .border-slate-100 {
  border-color: rgba(255, 255, 255, 0.09) !important;
}
.store-dark-main .text-slate-900,
.store-dark-main .text-slate-800 {
  color: #f8fafc !important;
}
.store-dark-main .text-slate-700,
.store-dark-main .text-slate-600 {
  color: #cbd5e1 !important;
}
.store-dark-main .text-slate-500,
.store-dark-main .text-slate-400 {
  color: #94a3b8 !important;
}
.store-dark-main .text-indigo-700,
.store-dark-main .text-indigo-600 {
  color: #60a5fa !important;
}
.store-dark-main .bg-indigo-50,
.store-dark-main .bg-indigo-50\/70 {
  background-color: rgba(59, 130, 246, 0.16) !important;
  color: #dbeafe !important;
}
.store-dark-main .border-indigo-200,
.store-dark-main .border-indigo-300 {
  border-color: rgba(59, 130, 246, 0.35) !important;
}
.store-dark-main .bg-amber-50 {
  background-color: rgba(245, 158, 11, 0.12) !important;
}
.store-dark-main .text-amber-950,
.store-dark-main .text-amber-900,
.store-dark-main .text-amber-800,
.store-dark-main .text-amber-700 {
  color: #fcd34d !important;
}
.store-dark-main .border-amber-300,
.store-dark-main .border-amber-200 {
  border-color: rgba(245, 158, 11, 0.32) !important;
}
.store-dark-main .bg-emerald-50 {
  background-color: rgba(16, 185, 129, 0.12) !important;
}
.store-dark-main .text-emerald-950,
.store-dark-main .text-emerald-800,
.store-dark-main .text-emerald-700 {
  color: #6ee7b7 !important;
}
.store-dark-main .bg-rose-50 {
  background-color: rgba(244, 63, 94, 0.12) !important;
}
.store-dark-main .text-rose-950,
.store-dark-main .text-rose-800,
.store-dark-main .text-rose-700,
.store-dark-main .text-rose-600 {
  color: #fda4af !important;
}
.store-dark-main .bg-emerald-100 {
  background-color: rgba(16, 185, 129, 0.16) !important;
}
.store-dark-main .bg-amber-100 {
  background-color: rgba(245, 158, 11, 0.16) !important;
}
.store-dark-main .bg-rose-100 {
  background-color: rgba(244, 63, 94, 0.16) !important;
}
.store-dark-main input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not(.g2a-auth-input),
.store-dark-main select,
.store-dark-main textarea {
  background-color: #07090f !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}
.g2a-auth-card {
  background-color: #ffffff !important;
  color: #0f172a !important;
}
.g2a-auth-card .text-slate-900,
.g2a-auth-card .text-slate-800 {
  color: #0f172a !important;
}
.g2a-auth-card .text-slate-700,
.g2a-auth-card .text-slate-600,
.g2a-auth-card .text-slate-500 {
  color: #475569 !important;
}
.store-dark-main .g2a-auth-card .g2a-auth-input,
.g2a-auth-input {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}
.store-dark-main .g2a-auth-card .g2a-auth-input:focus,
.g2a-auth-input:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16) !important;
  outline: none !important;
}
.g2a-auth-input::placeholder {
  color: #94a3b8 !important;
}
.store-dark-main input::placeholder,
.store-dark-main textarea::placeholder {
  color: #64748b !important;
}
/* Keep scannable KHQR QR code container crisp white! */
.qr-white-keep {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

/* ======================== DESKTOP G2A BELOW-HERO SHOWCASE & LIGHT SURFACE ======================== */
.g2a-pc-only {
  display: none !important;
}
@media (min-width: 768px) {
  .g2a-pc-only {
    display: block !important;
  }
  .g2a-light-canvas {
    background-color: #f3f5f8;
    color: #0f172a;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    border-top: 1px solid #e2e8f0;
  }
  .store-dark-main:has(.g2a-light-canvas) {
    padding-bottom: 0 !important;
  }
  .store-dark-main:has(.g2a-light-canvas) + footer {
    margin-top: 0 !important;
  }
}

.g2a-pill-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.g2a-pill-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 132px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
}
.g2a-pill-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
}

.g2a-bento-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 2.25rem;
}
@media (min-width: 1024px) {
  .g2a-bento-grid {
    grid-template-columns: 184px minmax(0, 1fr) 184px;
  }
}
@media (min-width: 1200px) {
  .g2a-bento-grid {
    grid-template-columns: 196px minmax(0, 1fr) 196px;
  }
}

.g2a-side-banner {
  display: none;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: 1.25rem 0.875rem;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
}
@media (min-width: 1024px) {
  .g2a-side-banner {
    display: flex;
  }
}
.g2a-side-banner.is-left {
  background: #0f172a;
  color: #ffffff;
}
.g2a-side-banner.is-right {
  background: linear-gradient(180deg, #e5e9f0 0%, #f8fafc 48%, #dde3ec 100%);
  border: 1px solid #cbd5e1;
  color: #0f172a;
}
.g2a-discover-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2563eb;
  color: #ffffff !important;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1.35rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.g2a-discover-btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}
.g2a-ai-card-left {
  width: 92px;
  height: 118px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  transform: rotate(-14deg) translate(-16px, 10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}
.g2a-ai-card-right {
  position: relative;
  width: 96px;
  height: 122px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
  transform: rotate(10deg) translate(16px, -22px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}

.g2a-bento-center {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-width: 0;
}

.g2a-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.625rem;
}
@media (min-width: 1024px) {
  .g2a-tile-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}
.g2a-tile-card {
  background-color: #ffffff !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  height: 88px;
  padding: 0.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.g2a-tile-card:hover {
  border-color: #2563eb;
  color: #2563eb !important;
  transform: translateY(-2px);
}
.g2a-tile-label {
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.g2a-coupon-bar {
  background: linear-gradient(90deg, #facc15 0%, #fbbf24 100%);
  border: 1px solid #eab308;
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.22);
}
.g2a-coupon-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
}
.g2a-coupon-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease;
}
.g2a-coupon-code-btn:hover {
  background-color: #f8fafc !important;
  transform: translateY(-1px);
}
.g2a-timer-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}
.g2a-timer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.g2a-timer-digits {
  background-color: #111827;
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1;
  width: 40px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}
.g2a-timer-unit {
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  color: #111827;
  margin-top: 3px;
  letter-spacing: 0.06em;
}

.g2a-mini-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.625rem;
}
@media (min-width: 1024px) {
  .g2a-mini-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.g2a-mini-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background-color: #0f172a;
  border: 1px solid #cbd5e1;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.g2a-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
}

/* Desktop Light Surface overrides inside .g2a-light-canvas */
@media (min-width: 768px) {
  .g2a-light-canvas .g2a-light-heading {
    color: #0f172a !important;
  }
  .g2a-light-canvas .g2a-light-sub {
    color: #475569 !important;
  }
  .g2a-light-canvas .g2a-light-select {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
  }
  .g2a-light-canvas .g2a-pc-product-card {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
  }
  .g2a-light-canvas .g2a-pc-product-card:hover {
    border-color: #93c5fd !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12) !important;
  }
  .g2a-light-canvas .g2a-pc-product-title {
    color: #0f172a !important;
  }
  .g2a-light-canvas .g2a-pc-product-cat {
    color: #2563eb !important;
  }
  .g2a-light-canvas .g2a-pc-product-meta {
    color: #64748b !important;
  }
  .g2a-light-canvas .g2a-pc-product-price {
    color: #059669 !important;
  }
  .g2a-light-canvas .g2a-pc-card-divider {
    border-color: #f1f5f9 !important;
  }
  .g2a-light-canvas .g2a-pc-cart-btn {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
  }
  .g2a-light-canvas .g2a-pc-cart-btn:hover {
    background-color: #e2e8f0 !important;
  }
  .g2a-light-canvas .g2a-pc-step-card {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
  }
  .g2a-light-canvas .g2a-pc-step-card h3 {
    color: #0f172a !important;
  }
  .g2a-light-canvas .g2a-pc-step-card p {
    color: #475569 !important;
  }
  .g2a-light-canvas .g2a-light-empty {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #475569 !important;
  }
}

/* ======================== G2A EXTENDED SHOWCASE SHELVES ======================== */
.g2a-sec-header {
  margin-bottom: 1rem;
}
.g2a-sec-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.g2a-sec-sub {
  font-size: 0.78rem;
  color: #475569;
  margin-top: 2px;
}

.g2a-shelf-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.875rem;
}
@media (min-width: 1024px) {
  .g2a-shelf-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.g2a-white-card {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.625rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  color: #0f172a !important;
}
.g2a-white-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}
.g2a-white-card-img {
  aspect-ratio: 1 / 1.04;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f1f5f9;
  margin-bottom: 0.625rem;
}
.g2a-white-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g2a-white-card-meta {
  font-size: 11px;
  color: #64748b;
  margin-top: 0.35rem;
}
.g2a-white-card-region {
  font-size: 10px;
  font-weight: 800;
  color: #16a34a;
  text-transform: uppercase;
  margin-top: 2px;
}
.g2a-price-row {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.g2a-price-main {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
}
.g2a-price-old {
  font-size: 11px;
  color: #94a3b8;
  text-decoration: line-through;
}
.g2a-discount-tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: 3px;
  background-color: #ea580c;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.3;
}
.g2a-show-more-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2563eb !important;
  text-decoration: none;
}
.g2a-show-more-link:hover {
  text-decoration: underline;
}

/* Pick a Card! 4x2 Brand Gift Cards */
.g2a-pick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}
@media (min-width: 1024px) {
  .g2a-pick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.g2a-pick-card {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.875rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  display: block;
}
.g2a-pick-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}
.g2a-pick-art {
  height: 108px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

/* Recommended Based on Past Purchases */
.g2a-rec-box {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}
@media (min-width: 1024px) {
  .g2a-rec-box {
    grid-template-columns: 235px minmax(0, 1fr);
  }
}
.g2a-rec-left {
  padding: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #ffffff;
}
@media (min-width: 1024px) {
  .g2a-rec-left {
    border-bottom: none;
    border-right: 1px solid #e2e8f0;
  }
}
.g2a-rec-right {
  position: relative;
  padding: 1.25rem 1.75rem;
  background-color: #f8fafc;
}
.g2a-rec-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}
@media (min-width: 1024px) {
  .g2a-rec-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.g2a-rec-arrow {
  position: absolute;
  right: 10px;
  top: 46%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.g2a-rec-arrow:hover {
  background-color: #eff6ff;
  transform: translateY(-50%) scale(1.06);
}

/* ======================== DARK DRIFFLE SHELVES (BEST SELLING GAMES & GIFT CARDS) ======================== */
.driffle-dark-shelves {
  background-color: #0b0e14;
  color: #ffffff;
  padding: 2.5rem 0 2.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 768px) {
  .store-dark-main:has(.driffle-dark-shelves) {
    padding-bottom: 0 !important;
  }
  .store-dark-main:has(.driffle-dark-shelves) + footer {
    margin-top: 0 !important;
    border-top-color: rgba(255, 255, 255, 0.08);
  }
}
.driffle-shelf-track {
  display: flex;
  gap: 0.875rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
.driffle-shelf-card {
  width: 176px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background-color: #141923;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}
@media (min-width: 1024px) {
  .driffle-shelf-card {
    width: 192px;
  }
}
.driffle-shelf-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 204, 21, 0.45);
}
.driffle-shelf-art {
  position: relative;
  aspect-ratio: 3 / 3.85;
  background-color: #090c14;
  overflow: hidden;
}
.driffle-platform-dot {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 26px;
  height: 26px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  z-index: 2;
}
.driffle-cashback-ribbon {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #facc15;
  color: #020617;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  padding: 3px 16px 3px 8px;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
  text-transform: uppercase;
  z-index: 2;
}
.driffle-shelf-body {
  padding: 0.65rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.driffle-shelf-btn {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background-color: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.driffle-shelf-btn:hover {
  background-color: #2563eb;
}
.driffle-show-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #232938;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.driffle-show-all-btn:hover {
  background-color: #2d3548;
  border-color: rgba(255, 255, 255, 0.28);
}

/* Clear cart pill button & server-side pagination links */
.cart-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
  color: #fda4af;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.cart-clear-btn:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.55);
}

.driffle-pagination {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.driffle-pagination nav {
  width: 100%;
  display: flex;
  justify-content: center;
}
.driffle-pagination a,
.driffle-pagination span[aria-current="page"] > span,
.driffle-pagination span[aria-disabled="true"] > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.driffle-pagination a {
  background: #141923;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}
.driffle-pagination a:hover {
  background: #1e293b;
  color: #ffffff;
}
.driffle-pagination span[aria-current="page"] > span {
  background: #2563eb;
  border: 1px solid #3b82f6;
  color: #ffffff;
}

/* Checkout 2-Group Payment Cards, Fee/Wait Pills & QR Countdown Timer */
.checkout-group-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.checkout-group-header.is-instant {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}
.checkout-group-header.is-manual {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}
.checkout-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  padding: 0.15rem 0.55rem;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}
.checkout-pill.is-instant {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}
.checkout-pill.is-manual {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}
.checkout-pill.is-fee {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
}
.qr-countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}
.qr-countdown-pill.is-expired {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fda4af;
}
