:root {
  --primary: #0b5ed7;
  --primary-dark: #0a58ca;
  --primary-light: #e7f1ff;
  --accent: #ffc107;
  --accent-hover: #ffca2c;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --text: #0f172a;
  --text-light: #64748b;
  --border: #e2e8f0;
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --dark-bg: #0f172a;
  --dark-text: #f1f5f9;
  --dark-surface: #1e293b;
  --dark-border: #334155;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-light); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* --- Modal fallback for offline/CDN failures --- */
body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1055;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.modal.show {
  display: block;
}

.modal-dialog {
  position: relative;
  width: calc(100% - 1.5rem);
  max-width: 500px;
  margin: 0.75rem auto;
  pointer-events: none;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1.5rem);
}

.modal-lg {
  max-width: min(800px, calc(100% - 1.5rem));
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  outline: 0;
}

.modal-header,
.modal-body,
.modal-footer {
  padding: 1rem;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(15, 23, 42, 0.56);
}

.btn-close {
  position: relative;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  opacity: 0.8;
}

.btn-close::before,
.btn-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.btn-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.btn-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.btn-close:hover,
.btn-close:focus {
  opacity: 1;
  background: var(--surface-hover);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1001;
}
.skip-link:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background: var(--text);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-weight: 600;
}

/* --- Topbar / Navbar --- */
.topbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.topbar.scrolled {
  box-shadow: var(--shadow-md);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  transition: padding 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  transition: var(--transition);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-logo {
  max-width: 40px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --- Navigation --- */
.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.store-nav-link,
.cart-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.store-nav-link {
  color: var(--primary);
  font-weight: 700;
  margin-left: 0.5rem;
}

.cart-nav-link {
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 700;
}

.cart-nav-link:hover,
.cart-nav-link:focus {
  border-color: var(--primary);
}

.cart-nav-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  min-height: 1.25rem;
}

.cart-count-badge {
  position: absolute;
  top: -0.65rem;
  right: -0.7rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  border: 2px solid var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  line-height: 1;
  font-weight: 900;
}

.cart-count-badge[hidden],
.shop-cart-float-count[hidden] {
  display: none !important;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.nav-dropdown-toggle:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-dropdown-icon {
  transition: transform 0.2s ease;
  width: 12px;
  height: 12px;
}

.nav-dropdown.open .nav-dropdown-icon {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  margin-top: 0.5rem;
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus {
  background: var(--bg-alt);
  color: var(--primary);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle-box {
  display: inline-block;
  width: 24px;
  height: 18px;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  position: absolute;
  left: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

.nav-toggle-bar {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  transform: translateY(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(7px) rotate(90deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-7px) rotate(90deg);
  opacity: 0;
}

/* --- Mobile Responsive --- */
@media (max-width: 991px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: calc(100vw - 100%);
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    clip-path: inset(0 0 0 100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: clip-path 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, visibility 0.2s ease;
    gap: 0;
    z-index: 999;
  }

  .nav.open {
    clip-path: inset(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-link,
  .nav-dropdown-toggle {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 1.1rem;
  }

  .store-nav-link,
  .cart-nav-link {
    justify-content: flex-start;
    border-inline: 0;
    border-top: 0;
    background: transparent;
    margin-left: 0;
  }

  .cart-count-badge {
    top: -0.5rem;
    right: -0.75rem;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    margin-top: 0;
    background: transparent;
    opacity: 1;
    transform: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .topbar-inner {
    padding: 0.75rem 0;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #e7f1ff 0%, #ffffff 100%);
  overflow: hidden;
  padding: 4rem 0;
  transition: background 0.5s ease;
}

body.dark-mode .hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.4) 100%);
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-video { display: none; }
  .hero-overlay { background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%); }
}

.hero-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-actions { justify-content: center; }

  .home-marketplace-links,
  .shop-hero-marketplace-links {
    margin-inline: auto;
  }

  .home-marketplace-links .shop-marketplace-copy,
  .shop-hero-marketplace-links .shop-marketplace-copy {
    justify-content: center;
  }
}

.hero-text {
  max-width: 600px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 1.5rem;
  color: var(--text);
  letter-spacing: 0;
}

.hero-title span {
  color: var(--primary);
  display: block;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 400px;
  width: 100%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  gap: 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

body.dark-mode .btn {
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-shop-home {
  background: linear-gradient(135deg, #0b5ed7 0%, #16a34a 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 94, 215, 0.28);
}

.btn-shop-home:hover,
.btn-shop-home:focus {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(11, 94, 215, 0.34);
}

.btn-shop-home i {
  font-size: 1.1rem;
}

.feature-shop {
  border-color: rgba(11, 94, 215, 0.2);
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(240, 253, 244, 0.96)),
    var(--surface);
}

.feature-shop .feature-icon {
  background: linear-gradient(135deg, var(--primary), #16a34a);
  color: #fff;
}

.btn-success {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
}

.btn-success:hover {
  background: #15803d;
  border-color: #15803d;
}

.shop-marketplace-links {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.72rem;
  align-items: stretch;
}

.shop-marketplace-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.shop-marketplace-label {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 800;
}

.shop-marketplace-promo {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.65rem;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1;
}

.shop-marketplace-promo i {
  color: #d97706;
}

.shop-marketplace-actions {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.shop-marketplace-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.76rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1;
  transition: var(--transition);
}

.shop-marketplace-button:hover,
.shop-marketplace-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
}

.shop-marketplace-button.is-shopee {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}

.shop-marketplace-button.is-shopee:hover,
.shop-marketplace-button.is-shopee:focus {
  background: #fb5a2e;
  border-color: #fb5a2e;
  color: #fff;
}

.shop-marketplace-button.is-lazada {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.shop-marketplace-button.is-lazada:hover,
.shop-marketplace-button.is-lazada:focus {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.shop-marketplace-button .bi-box-arrow-up-right {
  font-size: 0.78rem;
  opacity: 0.78;
}

.home-marketplace-links,
.shop-hero-marketplace-links {
  margin-top: 1.1rem;
  padding: 0.9rem;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.76)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
}

.home-marketplace-links {
  max-width: 560px;
}

body.dark-mode .home-marketplace-links {
  background: rgba(30, 41, 59, 0.72);
  border-color: var(--dark-border);
}

/* --- Features Section --- */
.features {
  padding: 5rem 0;
  background: var(--bg);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}

body.dark-mode .feature {
  background: var(--dark-surface);
  border-color: var(--dark-border);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: var(--primary-light);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary);
}

.feature h3 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.feature p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* --- Partners Section --- */
.partners {
  padding: 4rem 0;
  background: var(--bg-alt);
}

.logo-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.5rem;
}

.logo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-height: 100px;
  transition: var(--transition);
}

.logo-card:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
  border-color: var(--primary);
}

.logo-card img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- CTA Section --- */
.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.cta p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* --- Footer --- */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: inherit;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Main Layout --- */
.main {
  min-height: calc(100vh - 300px);
}

/* --- Utilities --- */
.w-100 { width: 100%; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

/* --- Animations --- */
.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Dark mode toggle button */
.dark-mode-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

body.dark-mode .dark-mode-toggle {
  background: var(--accent);
}

body.dark-mode .dark-mode-toggle:hover {
  background: var(--accent-hover);
}

/* --- GB Distributors Online Store --- */
.shopping-page .shop-hero {
  min-height: 68vh;
}

.shopping-page .btn {
  min-height: 46px;
  padding: 0.72rem 1.05rem;
  border-radius: var(--radius-md);
  border-width: 1px;
  gap: 0.45rem;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.shopping-page .btn i,
.shopping-page .btn span {
  flex: 0 0 auto;
}

.shop-add-label-short {
  display: none;
}

.shopping-page .btn-primary {
  background: linear-gradient(180deg, #0d6efd 0%, #0b5ed7 100%);
  border-color: #0b5ed7;
  color: #fff;
  box-shadow: 0 8px 18px rgba(11, 94, 215, 0.18);
}

.shopping-page .btn-primary:hover,
.shopping-page .btn-primary:focus {
  background: linear-gradient(180deg, #0b5ed7 0%, #084db5 100%);
  border-color: #084db5;
  box-shadow: 0 10px 22px rgba(11, 94, 215, 0.24);
}

.shopping-page .btn-outline {
  background: #fff;
  border-color: #cbd5e1;
  color: var(--text);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.shopping-page .btn-outline:hover,
.shopping-page .btn-outline:focus {
  background: #f8fbff;
  border-color: var(--primary);
  color: var(--primary);
}

.shopping-page .btn-danger-soft {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fff7f7;
}

.shopping-page .btn-danger-soft:hover,
.shopping-page .btn-danger-soft:focus {
  color: #fff;
  border-color: #dc2626;
  background: #dc2626;
}

.shop-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.shop-hero-panel {
  width: min(100%, 390px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}

.shop-hero-panel img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.shop-panel-kicker {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.shop-hero-panel strong {
  display: block;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.45;
}

.shop-hero-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.shop-hero-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-light);
  font-weight: 650;
  font-size: 0.95rem;
}

.shop-hero-list i {
  color: #16a34a;
}

.shop-quick-band {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.shop-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.shop-quick-actions a,
.shop-quick-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 68px;
  padding: 1rem;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-align: center;
  transition: var(--transition);
}

.shop-quick-actions a:last-child,
.shop-quick-actions button:last-child {
  border-right: 1px solid var(--border);
}

.shop-quick-actions a:hover,
.shop-quick-actions a:focus,
.shop-quick-actions button:hover,
.shop-quick-actions button:focus {
  background: var(--primary-light);
  color: var(--primary);
}

.shop-order-priority {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.shop-order-priority-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #eff6ff 0%, #fff7ed 100%);
}

.shop-order-priority .shop-eyebrow {
  margin-bottom: 0.45rem;
}

.shop-order-priority h2 {
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}

.shop-order-priority p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
}

.shop-order-priority-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-order-priority-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0.55rem;
  align-items: center;
  min-height: 54px;
  padding: 0.65rem;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
}

.shop-order-priority-steps span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1;
}

.shop-order-priority-steps strong {
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.2;
}

.shop-order-priority-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  min-width: 146px;
}

.shop-order-priority-actions .btn {
  width: 100%;
  min-height: 46px;
}

.shop-order-priority-marketplaces {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(191, 219, 254, 0.84);
}

.shop-order-priority-marketplaces p {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
}

.shop-marketplace-links-compact {
  width: min(100%, 380px);
  justify-self: end;
  gap: 0.55rem;
}

.shop-marketplace-links-compact .shop-marketplace-copy {
  justify-content: flex-end;
}

.shop-marketplace-links-compact .shop-marketplace-label {
  font-size: 0.84rem;
}

.shop-marketplace-links-compact .shop-marketplace-promo {
  min-height: 28px;
  padding: 0.32rem 0.55rem;
  font-size: 0.74rem;
}

.shop-marketplace-links-compact .shop-marketplace-button {
  min-height: 40px;
  padding: 0.6rem 0.78rem;
  font-size: 0.86rem;
}

.shop-section {
  background: var(--bg);
}

#shop-products.is-loading .shop-catalog-shell,
#shop-products.is-loading .shop-section-heading,
#shop-products.is-loading .shop-clear-filter {
  opacity: 0.55;
  pointer-events: none;
}

.shop-care-band {
  background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
  padding: 4rem 0;
}

.shop-care-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.shop-care-inner h2,
.shop-order-inner h2 {
  color: var(--text);
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.shop-care-inner p,
.shop-order-inner p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin: 0;
}

.shop-care-links {
  display: grid;
  gap: 0.75rem;
}

.shop-care-links a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 64px;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.shop-care-links a:hover,
.shop-care-links a:focus {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateX(4px);
}

.shop-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.shop-section-heading .section-title {
  text-align: left;
  margin: 0;
}

.shop-result-count {
  color: var(--text-light);
  margin: 0.35rem 0 0;
  font-weight: 650;
}

.shop-catalog-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.shop-catalog-shell:not(.has-sidebar) {
  grid-template-columns: 1fr;
}

.shop-catalog-sidebar {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 0.85rem;
  position: sticky;
  top: 6rem;
}

.shop-sidebar-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.25rem 0.35rem 0.85rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.shop-sidebar-heading h3 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 850;
  margin: 0;
}

.shop-sidebar-heading span {
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 750;
}

.shop-sidebar-link {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-height: 62px;
  padding: 0.55rem;
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-weight: 700;
  line-height: 1.3;
  transition: var(--transition);
}

.shop-sidebar-link:hover,
.shop-sidebar-link:focus,
.shop-sidebar-link.is-active {
  background: var(--primary-light);
  color: var(--primary);
}

.shop-sidebar-thumb {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: #f8fafc;
  color: var(--primary);
  border: 1px solid var(--border);
  overflow: hidden;
}

.shop-sidebar-link.is-active .shop-sidebar-thumb {
  border-color: rgba(11, 94, 215, 0.35);
  background: #fff;
}

.shop-sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}

.shop-sidebar-copy {
  min-width: 0;
}

.shop-sidebar-copy strong,
.shop-sidebar-copy small {
  display: block;
}

.shop-sidebar-copy strong {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.25;
}

.shop-sidebar-link.is-active .shop-sidebar-copy strong,
.shop-sidebar-link:hover .shop-sidebar-copy strong,
.shop-sidebar-link:focus .shop-sidebar-copy strong {
  color: var(--primary);
}

.shop-sidebar-copy small {
  color: var(--text-light);
  font-size: 0.72rem;
  line-height: 1.25;
  margin-top: 0.2rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.shop-catalog-main {
  min-width: 0;
}

.shop-catalog-topbar {
  min-height: 54px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-weight: 750;
}

.shop-catalog-topbar span,
.shop-catalog-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.shop-catalog-topbar a {
  color: var(--primary);
  white-space: nowrap;
}

.shop-empty-results {
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  background: #f8fafc;
  min-height: 320px;
  padding: 3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.shop-empty-results i {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.shop-empty-results h3 {
  color: var(--text);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.shop-empty-results p {
  color: var(--text-light);
  max-width: 440px;
  margin: 0 auto 1.25rem;
}

.shop-product-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.shop-product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.shop-product-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.shop-product-media {
  aspect-ratio: 1;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 4rem;
}

.shop-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.shop-product-body {
  padding: 1.15rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.shop-product-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.shop-product-status.is-available {
  background: #dcfce7;
  color: #166534;
}

.shop-product-status.is-sold-out {
  background: #fee2e2;
  color: #991b1b;
}

.shop-product-card h3 {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
  margin: 0.85rem 0 0.35rem;
}

.shop-product-card p {
  color: var(--text-light);
  margin: 0 0 0.85rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-product-price {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.shop-product-actions {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(84px, 0.72fr) minmax(132px, 1.28fr);
  gap: 0.65rem;
  align-items: stretch;
}

.shop-product-actions form,
.shop-product-actions .btn {
  width: 100%;
}

.shop-product-actions .btn {
  min-height: 50px;
  padding-inline: 0.8rem;
}

.shop-product-actions .btn-primary {
  box-shadow: 0 8px 18px rgba(11, 94, 215, 0.2);
}

.shop-viber-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 998;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 54px;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: #7360f2;
  color: #fff;
  font-weight: 850;
  box-shadow: 0 14px 32px rgba(80, 63, 205, 0.34);
}

.shop-viber-float:hover,
.shop-viber-float:focus {
  color: #fff;
  background: #5f4bd6;
  transform: translateY(-2px);
}

.shop-viber-float i {
  font-size: 1.25rem;
}

.shop-cart-float {
  display: none;
}

.shop-filter-bar {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  width: min(100%, 520px);
}

.shop-filter-bar .btn {
  min-width: 124px;
}

.shop-filter-bar input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  font: inherit;
}

.shop-clear-filter {
  margin: -1rem 0 2rem;
  text-align: right;
}

.shop-clear-filter a,
.shop-breadcrumb a {
  color: var(--primary);
  font-weight: 700;
}

.shop-breadcrumb {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.shop-detail-section,
.shop-cart-section {
  padding: 4rem 0 5rem;
  background: var(--bg);
}

.shop-checkout-banner {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(231, 241, 255, 0.85), rgba(255, 255, 255, 0.95)),
    var(--surface);
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1.25rem;
  align-items: center;
}

.shop-checkout-kicker {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.shop-checkout-banner h1 {
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0.25rem 0 0.5rem;
}

.shop-checkout-banner p {
  color: var(--text-light);
  margin: 0;
}

.shop-checkout-steps {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.shop-checkout-steps span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}

.shop-checkout-steps span.is-active {
  background: var(--primary);
  color: #fff;
}

.shop-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.shop-detail-media {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.shop-detail-media img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
  padding: 2rem;
}

.shop-detail-placeholder {
  color: var(--primary);
  font-size: 6rem;
}

.shop-detail-info h1 {
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: 0;
}

.shop-detail-price {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.shop-detail-description {
  color: var(--text-light);
  margin: 1.5rem 0;
  line-height: 1.7;
}

.shop-detail-description p {
  margin: 0 0 1rem;
}

.shop-add-form {
  display: grid;
  gap: 0.75rem;
  max-width: 520px;
}

.shop-add-form label,
.shop-cart-line-actions label {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 750;
}

.shop-add-form select,
.shop-add-form input,
.shop-cart-line-actions input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  font: inherit;
}

.shop-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.shop-soldout-note {
  color: #991b1b;
  font-weight: 800;
}

.shop-empty-cart {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 3rem 2rem;
  text-align: center;
}

.shop-empty-cart i {
  color: var(--primary);
  font-size: 3rem;
}

.shop-empty-cart h2 {
  color: var(--text);
  margin: 1rem 0 0.5rem;
}

.shop-empty-cart p {
  color: var(--text-light);
  margin: 0 auto 1.5rem;
  max-width: 520px;
}

.shop-empty-cart .btn + .btn {
  margin-left: 0.65rem;
}

.shop-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: start;
}

.shop-cart-lines {
  display: grid;
  gap: 1rem;
}

.shop-cart-line {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 250px;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 1rem;
}

.shop-cart-line-image {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 2.5rem;
}

.shop-cart-line-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.shop-cart-line-main h2 {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.35;
  margin: 0 0 0.4rem;
}

.shop-cart-line-main p {
  color: var(--text-light);
  margin: 0 0 0.35rem;
}

.shop-cart-line-main strong {
  color: var(--text);
}

.shop-cart-line-actions {
  display: grid;
  gap: 0.75rem;
}

.shop-cart-line-actions form {
  display: grid;
  grid-template-columns: 38px minmax(70px, 1fr) minmax(104px, auto);
  gap: 0.5rem;
  align-items: center;
}

.shop-cart-line-actions form + form {
  grid-template-columns: 1fr;
}

.shop-cart-line-actions .btn {
  min-height: 42px;
  padding-inline: 0.9rem;
}

.shop-cart-summary {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 1.35rem;
  position: sticky;
  top: 6rem;
}

.shop-cart-summary h2 {
  color: var(--text);
  margin: 0 0 1rem;
}

.shop-summary-card-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border-radius: var(--radius-md);
  background: #f0fdf4;
  color: #166534;
  padding: 0.85rem;
  font-weight: 750;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.shop-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.shop-cart-summary p {
  color: var(--text-light);
  margin: 1rem 0;
}

.shop-cart-summary .btn,
.shop-cart-summary form {
  width: 100%;
}

.shop-cart-summary .btn {
  min-height: 52px;
}

.shop-checkout-link {
  width: 100%;
}

.shop-checkout-link.is-loading {
  opacity: 0.86;
  pointer-events: none;
}

.shop-before-checkout-panel {
  margin: 1rem 0 0.8rem;
  padding: 0.95rem;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #eff6ff 0%, #fff7ed 100%);
}

.shop-before-checkout-heading {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.shop-before-checkout-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 850;
}

.shop-before-checkout-heading i {
  color: var(--primary);
}

.shop-before-checkout-heading .shop-instruction-link {
  flex: 0 0 auto;
  margin-top: 0;
  color: var(--primary);
}

.shop-before-checkout-list {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-before-checkout-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.65rem;
  align-items: flex-start;
}

.shop-before-checkout-list li > span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  border: 1px solid #bfdbfe;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
}

.shop-before-checkout-list strong,
.shop-before-checkout-list small {
  display: block;
}

.shop-before-checkout-list strong {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.25;
}

.shop-before-checkout-list small {
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.3;
  margin-top: 0.12rem;
}

.shop-after-checkout-note {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  background: #f5f3ff;
  color: #312e81;
  border: 1px solid #ddd6fe;
}

.shop-after-checkout-note > i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #7360f2;
  color: #fff;
}

.shop-after-checkout-note strong,
.shop-after-checkout-note span,
.shop-after-checkout-note a {
  display: block;
}

.shop-after-checkout-note strong {
  color: #1e1b4b;
  font-size: 0.94rem;
  margin-bottom: 0.2rem;
}

.shop-after-checkout-note span {
  color: #4338ca;
  font-size: 0.9rem;
  line-height: 1.35;
}

.shop-after-checkout-note a {
  color: #5f4bd6;
  font-size: 0.9rem;
  font-weight: 800;
  margin-top: 0.45rem;
}

.shop-instruction-link {
  display: inline-flex;
  align-items: center;
  color: #5f4bd6;
  background: transparent;
  border: 0;
  padding: 0;
  margin-top: 0.35rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
}

.shop-instruction-link:hover,
.shop-instruction-link:focus {
  color: #4338ca;
  text-decoration: underline;
}

.shop-order-modal .modal-content {
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

.shop-order-modal .modal-header {
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.35rem;
}

.shop-modal-eyebrow {
  display: block;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.shop-order-modal .modal-title {
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1.15;
  margin: 0;
}

.shop-order-modal .modal-body {
  padding: 1.35rem;
}

.shop-order-modal-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.shop-order-modal-steps article {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 1rem;
  min-height: 178px;
}

.shop-order-modal-steps article > span {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--primary);
  font-weight: 850;
  font-size: 0.82rem;
}

.shop-order-modal-steps article > i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: #eff6ff;
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.shop-order-modal-steps h3 {
  color: var(--text);
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.shop-order-modal-steps p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
}

.shop-order-modal-viber {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
}

.shop-order-modal-viber > i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #7360f2;
  color: #fff;
  font-size: 1.15rem;
}

.shop-order-modal-viber strong,
.shop-order-modal-viber span {
  display: block;
}

.shop-order-modal-viber strong {
  color: #1e1b4b;
  font-weight: 850;
}

.shop-order-modal-viber span {
  color: #4338ca;
  font-size: 0.92rem;
}

.shop-order-modal-viber .btn {
  min-height: 44px;
  white-space: normal;
  justify-self: end;
  min-width: 260px;
}

.shop-order-modal-viber .btn,
.shop-order-modal-viber .btn span {
  color: #fff;
}

.shop-order-modal-marketplaces {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-md);
  background: #fff7ed;
}

.shop-order-modal-marketplaces > div {
  min-width: 0;
}

.shop-order-modal-marketplaces .shop-marketplace-links {
  width: min(100%, 380px);
  justify-self: end;
}

.shop-order-modal-marketplaces strong,
.shop-order-modal-marketplaces span {
  display: block;
}

.shop-order-modal-marketplaces strong {
  color: #7c2d12;
  font-weight: 850;
  margin-bottom: 0.2rem;
}

.shop-order-modal-marketplaces span {
  color: #9a3412;
  font-size: 0.92rem;
  line-height: 1.4;
}

.shop-add-modal .modal-dialog {
  max-width: 460px;
}

.shop-add-modal .modal-content {
  border: 0;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

.shop-add-modal .modal-header {
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  padding: 1.15rem 1.25rem;
}

.shop-add-modal .modal-title {
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1.15;
  margin: 0;
}

.shop-add-modal .modal-body {
  padding: 1.2rem 1.25rem;
}

.shop-add-modal-product {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.95rem;
  align-items: center;
}

.shop-add-modal-image {
  width: 92px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f8fafc;
  overflow: hidden;
}

.shop-add-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.45rem;
}

.shop-add-modal-image i {
  color: var(--primary);
  font-size: 2rem;
}

.shop-add-modal-copy h3 {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 0.25rem;
}

.shop-add-modal-copy p {
  color: var(--text-light);
  font-size: 0.88rem;
  margin: 0 0 0.4rem;
}

.shop-add-modal-copy strong {
  color: #dc2626;
  font-size: 1.1rem;
}

.shop-add-modal-status {
  margin-top: 1rem;
  padding: 0.72rem 0.85rem;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 800;
}

.shop-add-modal-status.is-success {
  background: #dcfce7;
  color: #166534;
}

.shop-add-modal-status.is-error {
  background: #fee2e2;
  color: #991b1b;
}

.shop-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.shop-qty-row > span {
  color: var(--text);
  font-weight: 850;
}

.shop-qty-stepper {
  display: inline-grid;
  grid-template-columns: 42px 64px 42px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
}

.shop-qty-stepper button {
  width: 42px;
  height: 42px;
  border: 0;
  background: #eff6ff;
  color: var(--primary);
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shop-qty-stepper button:hover,
.shop-qty-stepper button:focus {
  background: #dbeafe;
}

.shop-qty-stepper button:disabled {
  color: #94a3b8;
  background: #f1f5f9;
}

.shop-qty-stepper input {
  width: 64px;
  height: 42px;
  border: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  font-weight: 850;
  text-align: center;
  outline: 0;
}

.shop-add-modal .modal-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem 1.25rem;
}

.shop-add-modal .modal-footer .btn {
  width: 100%;
  min-height: 48px;
}

.shop-add-modal .btn-primary.is-loading {
  opacity: 0.78;
}

.shop-order-section {
  background:
    linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  padding: 4.5rem 0;
}

.shop-order-header {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.shop-order-header h2 {
  color: var(--text);
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.12;
  margin: 0 0 0.8rem;
}

.shop-order-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin: 0 auto 1.35rem;
}

.shopping-page .shop-viber-button {
  background: #7360f2;
  border-color: #7360f2;
  box-shadow: 0 12px 28px rgba(80, 63, 205, 0.24);
  max-width: 100%;
  line-height: 1.25;
  white-space: normal;
}

.shopping-page .shop-viber-button span {
  flex: 1 1 auto;
}

.shopping-page .shop-viber-button:hover,
.shopping-page .shop-viber-button:focus {
  background: #5f4bd6;
  border-color: #5f4bd6;
}

.shop-order-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.shop-order-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 1.25rem;
  position: relative;
  min-height: 220px;
  box-shadow: var(--shadow-sm);
}

.shop-step-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 900;
}

.shop-step-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: #eff6ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 1rem;
}

.shop-order-card h3 {
  color: var(--text);
  font-size: 1.1rem;
  margin: 0 2rem 0.55rem 0;
}

.shop-order-card p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.55;
}

.shop-contact-cta p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991px) {
  .shop-hero-panel {
    margin-inline: auto;
  }

  .shop-quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-order-priority-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .shop-order-priority-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-order-priority-marketplaces,
  .shop-order-modal-marketplaces {
    grid-template-columns: 1fr;
  }

  .shop-marketplace-links-compact {
    justify-self: start;
  }

  .shop-marketplace-links-compact .shop-marketplace-copy {
    justify-content: flex-start;
  }

  .shop-care-inner,
  .shop-order-steps {
    grid-template-columns: 1fr;
  }

  .shop-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-detail,
  .shop-cart-layout,
  .shop-cart-line,
  .shop-catalog-shell,
  .shop-checkout-banner {
    grid-template-columns: 1fr;
  }

  .shop-cart-summary {
    position: static;
  }

  .shop-catalog-sidebar {
    position: static;
  }

  .shop-checkout-steps {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }
}

@media (max-width: 575px) {
  .shop-quick-actions {
    grid-template-columns: 1fr;
  }

  .shop-quick-actions a,
  .shop-quick-actions button {
    min-height: 64px;
  }

  .shop-order-priority {
    padding: 0.85rem 0;
  }

  .shop-order-priority-inner {
    padding: 0.85rem;
    gap: 0.75rem;
  }

  .shop-order-priority h2 {
    font-size: 1.05rem;
  }

  .shop-order-priority p {
    font-size: 0.86rem;
  }

  .shop-order-priority-steps {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .shop-order-priority-steps li {
    min-height: 44px;
    padding: 0.5rem;
  }

  .shop-order-priority-actions {
    gap: 0.5rem;
  }

  .shop-marketplace-links {
    width: 100%;
  }

  .shop-marketplace-copy {
    gap: 0.4rem;
  }

  .shop-marketplace-actions {
    gap: 0.5rem;
  }

  .shop-marketplace-button {
    min-width: 0;
    padding-inline: 0.65rem;
    font-size: 0.86rem;
  }

  .shop-order-priority-marketplaces {
    gap: 0.65rem;
  }

  .shop-order-priority-actions .btn {
    min-height: 44px;
    padding-inline: 0.75rem;
  }

  .shop-hero-panel {
    padding: 1.25rem;
  }

  .shop-filter-bar,
  .shop-detail-actions,
  .shop-cart-line-actions form,
  .shop-catalog-topbar {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .shop-section {
    padding-block: 2rem;
  }

  .shop-section-heading {
    gap: 0.85rem;
    margin-bottom: 1rem;
  }

  .shop-section-heading .section-title {
    font-size: 1.55rem;
  }

  .shop-result-count {
    font-size: 0.86rem;
  }

  .shop-filter-bar {
    gap: 0.55rem;
  }

  .shop-filter-bar input,
  .shop-filter-bar .btn {
    min-height: 44px;
  }

  .shop-catalog-shell {
    gap: 1rem;
  }

  .shop-catalog-sidebar {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding: 0.65rem;
    border-radius: var(--radius-md);
    scroll-snap-type: x proximity;
  }

  .shop-sidebar-heading {
    display: none;
  }

  .shop-sidebar-link {
    min-height: 112px;
    min-width: 112px;
    flex: 0 0 112px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.55rem;
    scroll-snap-align: start;
  }

  .shop-sidebar-thumb {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .shop-sidebar-copy strong {
    font-size: 0.78rem;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .shop-sidebar-copy small {
    display: none;
  }

  .shop-catalog-topbar {
    display: none;
  }

  .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
  }

  .shop-product-card {
    border-radius: var(--radius-md);
  }

  .shop-product-card:hover {
    transform: none;
  }

  .shop-product-media {
    font-size: 2.4rem;
  }

  .shop-product-media img {
    padding: 0.45rem;
  }

  .shop-product-body {
    padding: 0.68rem;
  }

  .shop-product-status {
    min-height: 19px;
    padding: 0.1rem 0.45rem;
    font-size: 0.62rem;
  }

  .shop-product-card h3 {
    min-height: 2.12rem;
    margin: 0.5rem 0 0.35rem;
    font-size: 0.82rem;
    line-height: 1.28;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .shop-product-card p {
    display: none;
  }

  .shop-product-price {
    color: #dc2626;
    font-size: 0.96rem;
    margin-top: auto;
    margin-bottom: 0.55rem;
  }

  .shop-product-actions {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.45rem;
  }

  .shop-product-actions .btn {
    min-height: 38px;
    padding-inline: 0.45rem;
    border-radius: 10px;
    font-size: 0.76rem;
    gap: 0.28rem;
  }

  .shop-product-actions .btn-outline span,
  .shop-add-label-full {
    display: none;
  }

  .shop-add-label-short {
    display: inline;
  }

  .shop-checkout-banner {
    padding: 1.1rem;
    gap: 0.9rem;
  }

  .shop-checkout-banner h1 {
    font-size: 1.8rem;
  }

  .shop-checkout-banner p {
    font-size: 0.9rem;
  }

  .shop-checkout-steps span {
    font-size: 0.78rem;
    padding: 0.45rem 0.5rem;
  }

  .shop-detail-media {
    min-height: 280px;
  }

  .shop-cart-line {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.8rem;
  }

  .shop-cart-line-image {
    width: 82px;
  }

  .shop-cart-line-main h2 {
    font-size: 0.95rem;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .shop-cart-line-main p {
    font-size: 0.82rem;
  }

  .shop-cart-line-actions {
    grid-column: 1 / -1;
  }

  .shop-cart-line-actions form {
    grid-template-columns: 34px minmax(64px, 1fr) minmax(92px, auto);
    flex-direction: row;
  }

  .shop-cart-line-actions form + form {
    grid-template-columns: 1fr;
  }

  .shop-cart-line-actions .btn {
    min-height: 40px;
    font-size: 0.82rem;
  }

  .shop-cart-summary {
    padding: 1rem;
  }

  .shop-detail-section,
  .shop-cart-section {
    padding: 1.5rem 0 3rem;
  }

  .shop-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.85rem;
  }

  .shop-detail {
    gap: 1rem;
  }

  .shop-detail-info h1 {
    font-size: 1.45rem;
  }

  .shop-detail-price {
    color: #dc2626;
    font-size: 1.35rem;
  }

  .shop-detail-description {
    max-height: 180px;
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    padding: 0.9rem;
    font-size: 0.92rem;
  }

  .shop-order-section {
    padding: 3rem 0;
  }

  .shop-order-header {
    margin-bottom: 1.25rem;
  }

  .shop-order-header h2 {
    font-size: 1.55rem;
  }

  .shop-order-header p {
    font-size: 0.95rem;
  }

  .shop-order-card {
    min-height: auto;
    padding: 1rem;
  }

  .shop-empty-cart .btn {
    width: 100%;
    max-width: 260px;
  }

  .shop-empty-cart .btn + .btn {
    margin-top: 0.65rem;
    margin-left: 0;
  }

  .shop-order-modal .modal-dialog {
    width: calc(100% - 1.4rem);
    margin: 0.7rem auto;
  }

  .shop-order-modal .modal-header,
  .shop-order-modal .modal-body {
    padding: 1rem;
  }

  .shop-order-modal .modal-title {
    font-size: 1.35rem;
  }

  .shop-order-modal-steps {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .shop-order-modal-steps article {
    min-height: auto;
    padding: 0.9rem;
  }

  .shop-order-modal-viber {
    grid-template-columns: 38px 1fr;
    align-items: flex-start;
  }

  .shop-order-modal-viber .btn {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .shop-add-modal .modal-dialog {
    align-items: flex-end;
    width: 100%;
    max-width: none;
    min-height: calc(100% - 0.5rem);
    margin: 0.5rem 0 0;
  }

  .shop-add-modal .modal-content {
    border-radius: 24px 24px 0 0;
  }

  .shop-add-modal .modal-header,
  .shop-add-modal .modal-body {
    padding: 1rem;
  }

  .shop-add-modal-product {
    grid-template-columns: 82px 1fr;
    gap: 0.8rem;
  }

  .shop-add-modal-image {
    width: 82px;
    border-radius: 16px;
  }

  .shop-add-modal-copy h3 {
    font-size: 0.95rem;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .shop-add-modal-copy strong {
    font-size: 1rem;
  }

  .shop-qty-row {
    margin-top: 0.9rem;
  }

  .shop-add-modal .modal-footer {
    grid-template-columns: 1fr 1.15fr;
    padding: 0.85rem 1rem 1rem;
  }

  .shop-add-modal .modal-footer .btn {
    min-height: 46px;
    font-size: 0.86rem;
  }

  .shopping-page {
    padding-bottom: 5.8rem;
  }

  .shop-cart-float {
    position: fixed;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 999;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 16px 34px rgba(11, 94, 215, 0.34);
  }

  .shop-cart-float:hover,
  .shop-cart-float:focus {
    color: #fff;
    background: var(--primary-dark);
    transform: translateY(-2px);
  }

  .shop-cart-float i {
    font-size: 1.35rem;
  }

  .shop-cart-float-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .shop-cart-float-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.38rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    border: 2px solid #fff;
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.26);
  }

  .shop-viber-float {
    right: 0.85rem;
    bottom: 4.95rem;
    max-width: min(235px, calc(100vw - 1.7rem));
    min-height: 46px;
    padding: 0.68rem 0.88rem;
    border-radius: 999px;
    font-size: 0.78rem;
    line-height: 1.15;
    box-shadow: 0 12px 26px rgba(80, 63, 205, 0.28);
  }

  .shop-viber-float span {
    max-width: 170px;
  }
}
