.shop-page {
  --shop-bg: #f4f7fc;
  --shop-bg-soft: rgba(243, 248, 255, 0.88);
  --shop-panel: rgba(255, 255, 255, 0.8);
  --shop-panel-strong: rgba(255, 255, 255, 0.94);
  --shop-control-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 248, 255, 0.72));
  --shop-control-fill: rgba(255, 255, 255, 0.88);
  --shop-control-border: rgba(148, 163, 184, 0.16);
  --shop-control-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --shop-border: rgba(148, 163, 184, 0.18);
  --shop-border-strong: rgba(59, 130, 246, 0.16);
  --shop-ink: #142033;
  --shop-muted: #5c6779;
  --shop-accent: #2563eb;
  --shop-accent-strong: #1d4ed8;
  --shop-accent-soft: rgba(37, 99, 235, 0.12);
  --shop-highlight: #f59e0b;
  --shop-danger: #dc2626;
  --shop-shadow: 0 28px 72px rgba(15, 23, 42, 0.09);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 10px 0 22px;
  width: min(calc(100vw - 28px), 1920px);
  margin-inline: calc(50% - 50vw + 14px);
  position: relative;
  isolation: isolate;
  font-family: 'Manrope', 'Segoe UI', sans-serif;
}

.shop-page::before,
.shop-page::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  z-index: -1;
}

.shop-page::before {
  top: -52px;
  right: -32px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 68%);
}

.shop-page::after {
  left: -48px;
  bottom: 80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 72%);
}

.shop-hero,
.shop-toolbar,
.shop-modal-content,
.shop-offcanvas .offcanvas-header,
.shop-offcanvas .offcanvas-body,
.shop-category-shell {
  background: linear-gradient(180deg, var(--shop-panel-strong), var(--shop-panel));
  border: 1px solid var(--shop-border);
  box-shadow: var(--shop-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

[data-bs-theme="dark"] .shop-page {
  --shop-bg: #0d1320;
  --shop-bg-soft: rgba(17, 24, 39, 0.84);
  --shop-panel: rgba(15, 23, 42, 0.86);
  --shop-panel-strong: rgba(17, 24, 39, 0.94);
  --shop-control-bg: linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(15, 23, 42, 0.88));
  --shop-control-fill: rgba(15, 23, 42, 0.92);
  --shop-control-border: rgba(148, 163, 184, 0.18);
  --shop-control-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shop-border: rgba(148, 163, 184, 0.16);
  --shop-border-strong: rgba(148, 163, 184, 0.24);
  --shop-ink: #f8fafc;
  --shop-muted: #9fb0c7;
  --shop-accent-soft: rgba(96, 165, 250, 0.16);
  --shop-shadow: 0 28px 56px rgba(0, 0, 0, 0.28);
}

.shop-hero {
  border-radius: 32px;
  padding: 34px 38px 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  position: relative;
  overflow: hidden;
  min-height: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(237,245,255,0.92)),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 44%),
    radial-gradient(circle at bottom left, rgba(125, 211, 252, 0.14), transparent 46%);
}

.shop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.28), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.18), transparent 40%);
  pointer-events: none;
}

.shop-hero::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -46px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), rgba(56, 189, 248, 0.08) 42%, transparent 72%);
  filter: blur(10px);
  opacity: 0.9;
  pointer-events: none;
}

[data-bs-theme="dark"] .shop-hero::after {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.18), rgba(37, 99, 235, 0.1) 42%, transparent 72%);
  opacity: 0.72;
}

[data-bs-theme="dark"] .shop-hero,
[data-bs-theme="dark"] .shop-toolbar,
[data-bs-theme="dark"] .shop-modal-content,
[data-bs-theme="dark"] .shop-offcanvas .offcanvas-header,
[data-bs-theme="dark"] .shop-offcanvas .offcanvas-body,
[data-bs-theme="dark"] .shop-category-shell {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(15, 23, 42, 0.88)),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), transparent 34%),
    radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.12), transparent 36%);
  border-color: var(--shop-border);
}

[data-bs-theme="dark"] .shop-toolbar-strip,
[data-bs-theme="dark"] .shop-search-wrap,
[data-bs-theme="dark"] .shop-filter-field input,
[data-bs-theme="dark"] .shop-filter-field select,
[data-bs-theme="dark"] .shop-toolbar-link,
[data-bs-theme="dark"] .shop-category-pill,
[data-bs-theme="dark"] .shop-category-link,
[data-bs-theme="dark"] .shop-stat-card,
[data-bs-theme="dark"] .shop-product-card,
[data-bs-theme="dark"] .shop-detail-media,
[data-bs-theme="dark"] .shop-qty-box,
[data-bs-theme="dark"] .shop-cart-mini-image,
[data-bs-theme="dark"] .shop-cart-hero-btn {
  background: linear-gradient(180deg, rgba(17,24,39,0.94), rgba(15,23,42,0.88));
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

[data-bs-theme="dark"] .shop-product-media,
[data-bs-theme="dark"] .shop-detail-media,
[data-bs-theme="dark"] .shop-cart-mini-image {
  background: linear-gradient(135deg, rgba(30,41,59,0.9), rgba(15,23,42,0.96));
}

[data-bs-theme="dark"] .shop-modal-header,
[data-bs-theme="dark"] .shop-price-block {
  border-color: rgba(148, 163, 184, 0.14);
}

[data-bs-theme="dark"] .shop-product-footer .shop-outline-btn {
  background: rgba(255,255,255,0.04);
  border-color: rgba(148, 163, 184, 0.16);
}

.shop-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  max-width: 1100px;
}

.shop-hero-badge,
.shop-section-kicker,
.shop-modal-kicker,
.shop-category-kicker,
.shop-hero-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shop-accent-strong);
}

.shop-hero-badge {
  width: fit-content;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--shop-accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42);
}

[data-bs-theme="dark"] .shop-hero-badge,
[data-bs-theme="dark"] .shop-rating-pill,
[data-bs-theme="dark"] .shop-trust-chip,
[data-bs-theme="dark"] .shop-search-wrap,
[data-bs-theme="dark"] .shop-filter-field input,
[data-bs-theme="dark"] .shop-filter-field select,
[data-bs-theme="dark"] .shop-icon-btn,
[data-bs-theme="dark"] .shop-secondary-btn,
[data-bs-theme="dark"] .shop-outline-btn,
[data-bs-theme="dark"] .shop-clear-btn,
[data-bs-theme="dark"] .shop-category-pill,
[data-bs-theme="dark"] .shop-toolbar-status-card,
[data-bs-theme="dark"] .shop-detail-media,
[data-bs-theme="dark"] .shop-qty-box,
[data-bs-theme="dark"] .shop-cart-mini-card,
[data-bs-theme="dark"] .shop-cart-summary-card,
[data-bs-theme="dark"] .shop-cart-empty-state,
[data-bs-theme="dark"] .shop-live-search-dropdown,
[data-bs-theme="dark"] .shop-live-result-item,
[data-bs-theme="dark"] .shop-live-result-empty,
[data-bs-theme="dark"] .shop-live-result-loading,
[data-bs-theme="dark"] .shop-hero-panel-shell,
[data-bs-theme="dark"] .shop-spotlight-row,
[data-bs-theme="dark"] .shop-stat-card,
[data-bs-theme="dark"] .shop-product-card,
[data-bs-theme="dark"] .shop-empty-state,
[data-bs-theme="dark"] .shop-cart-hero-btn {
  background-color: rgba(255, 255, 255, 0.04);
}

.shop-hero-title {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--shop-ink);
  margin: 0;
}

.shop-hero-text {
  max-width: 60ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--shop-muted);
}

.shop-hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.shop-trust-chip,
.shop-rating-pill,
.shop-toolbar-status-card,
.shop-filter-field input,
.shop-filter-field select,
.shop-category-pill,
.shop-icon-btn,
.shop-secondary-btn,
.shop-outline-btn,
.shop-clear-btn,
.shop-search-wrap,
.shop-cart-hero-btn,
.shop-hero-panel-shell,
.shop-spotlight-row,
.shop-stat-card,
.shop-detail-media,
.shop-qty-box,
.shop-cart-mini-card,
.shop-cart-summary-card,
.shop-cart-empty-state,
.shop-live-search-dropdown,
.shop-live-result-item,
.shop-live-result-empty,
.shop-live-result-loading {
  border: 1px solid var(--shop-border);
  background: rgba(255, 255, 255, 0.6);
}

.shop-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--shop-ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.shop-hero-actions,
.shop-toolbar-actions,
.shop-filter-actions,
.shop-detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-primary-btn,
.shop-secondary-btn,
.shop-outline-btn,
.shop-icon-btn,
.shop-clear-btn,
.shop-cart-hero-btn {
  border-radius: 14px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  font-weight: 800;
  font-size: 0.84rem;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  text-decoration: none;
}

.shop-primary-btn {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.24);
}

.shop-primary-btn:hover,
.shop-primary-btn:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.3);
}

.shop-secondary-btn,
.shop-outline-btn,
.shop-icon-btn,
.shop-clear-btn,
.shop-cart-hero-btn {
  color: var(--shop-ink);
  border: 1px solid var(--shop-border-strong);
}

.shop-secondary-btn:hover,
.shop-outline-btn:hover,
.shop-icon-btn:hover,
.shop-clear-btn:hover,
.shop-cart-hero-btn:hover {
  color: var(--shop-accent-strong);
  border-color: rgba(37, 99, 235, 0.28);
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

.shop-cart-hero-btn {
  justify-content: flex-start;
  min-width: min(100%, 248px);
  padding-right: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(242,247,255,0.86));
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.shop-icon-btn {
  min-width: 40px;
  padding-inline: 10px;
}

.shop-cart-hero-icon,
.shop-cart-header-icon,
.shop-cart-empty-icon,
.shop-empty-icon,
.shop-hero-point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shop-cart-hero-icon,
.shop-cart-header-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(29, 78, 216, 0.96));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
  flex: 0 0 38px;
}

.shop-cart-hero-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.shop-cart-hero-text strong,
.shop-cart-hero-text small {
  line-height: 1.2;
}

.shop-cart-hero-text small,
.shop-section-subtitle,
.shop-price-note,
.shop-detail-support-note,
.shop-cart-header-subtitle,
.shop-summary-sub,
.shop-cart-mini-total-label,
.shop-cart-mini-unit-price span,
.shop-live-result-price,
.shop-spotlight-copy span,
.shop-category-summary,
.shop-empty-state p,
.shop-detail-description,
.shop-detail-price-alt,
.shop-product-desc,
.shop-hero-panel-copy {
  color: var(--shop-muted);
}

.shop-cart-hero-count,
.shop-cart-count-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.shop-hero-stats,
.shop-toolbar-status-grid {
  display: grid;
  gap: 10px;
}

.shop-hero-stats {
  margin-top: 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 940px;
}

.shop-stat-card,
.shop-toolbar-status-card {
  border-radius: 20px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(245,249,255,0.84));
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.shop-stat-label,
.shop-toolbar-status-card span {
  display: block;
  color: var(--shop-muted);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.shop-stat-value,
.shop-toolbar-status-card strong,
.shop-summary-label,
.shop-summary-row,
.shop-detail-title,
.shop-detail-price-main,
.shop-category-link,
.shop-product-title,
.shop-price-main,
.shop-live-result-title,
.shop-spotlight-price,
.shop-cart-mini-title,
.shop-cart-mini-unit-price,
.shop-cart-mini-total-price,
.shop-summary-row.total strong {
  color: var(--shop-ink);
}

.shop-stat-value {
  font-size: 1.52rem;
  font-weight: 800;
  line-height: 1;
}

.shop-hero-panel-shell {
  border-radius: 30px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.shop-hero-panel-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--shop-ink);
  margin: 2px 0 0;
}

.shop-hero-panel-points {
  display: grid;
  gap: 12px;
}

.shop-hero-point {
  display: flex;
  gap: 12px;
  align-items: center;
}

.shop-hero-point-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--shop-accent-soft);
  color: var(--shop-accent-strong);
  flex: 0 0 42px;
}

.shop-spotlight-stack {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.shop-spotlight-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 20px;
}

.shop-spotlight-media {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(245, 158, 11, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shop-accent-strong);
  overflow: hidden;
}

.shop-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-spotlight-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shop-spotlight-copy strong,
.shop-category-link,
.shop-product-title,
.shop-detail-title,
.shop-summary-label,
.shop-cart-mini-title,
.shop-empty-state h4,
.shop-section-title,
.category-row-title {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.shop-toolbar,
.shop-category-shell {
  border-radius: 28px;
  padding: 20px;
}

.shop-toolbar {
  display: grid;
  gap: 16px;
}

.shop-toolbar-top,
.shop-category-header,
.shop-summary-top,
.shop-cart-mini-header,
.shop-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.shop-section-title,
.category-row-title {
  font-size: clamp(1.48rem, 2vw, 2.08rem);
  color: var(--shop-ink);
  margin: 0;
}

.shop-toolbar-strip {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: 20px;
  background: var(--shop-control-bg);
  border: 1px solid var(--shop-control-border);
  box-shadow: var(--shop-control-shadow);
}

.shop-category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.shop-category-pill {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--shop-ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(247,250,255,0.68));
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.shop-category-pill:hover,
.shop-category-pill.active {
  color: var(--shop-accent-strong);
  border-color: rgba(37, 99, 235, 0.24);
  background: rgba(37, 99, 235, 0.1);
}

.shop-search-wrap {
  min-width: min(100%, 360px);
  width: 360px;
  padding: 0 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--shop-control-border);
  background: var(--shop-control-bg);
  box-shadow: var(--shop-control-shadow);
}

.shop-search-wrap-inline {
  min-width: 220px;
  width: 280px;
  flex: 0 1 280px;
}

.shop-search-wrap i,
.shop-live-result-item > i {
  color: var(--shop-muted);
}

.shop-search-input {
  width: 100%;
  min-height: 38px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--shop-ink);
  font-size: 0.84rem;
}

.shop-search-input::placeholder,
.shop-filter-field span {
  color: var(--shop-muted);
}

.shop-live-search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  z-index: 1050;
  max-height: 360px;
  overflow-y: auto;
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 22px 44px rgba(20, 32, 51, 0.14);
}

.shop-live-result-item,
.shop-live-result-loading,
.shop-live-result-empty {
  border-radius: 16px;
}

.shop-live-result-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  color: inherit;
  text-decoration: none;
  margin-bottom: 6px;
}

.shop-live-result-item:last-child {
  margin-bottom: 0;
}

.shop-live-result-item:hover {
  color: inherit;
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.18);
}

.shop-live-result-media,
.shop-live-result-media img,
.shop-live-result-fallback {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.shop-live-result-media img {
  object-fit: cover;
}

.shop-live-result-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--shop-accent-soft);
  color: var(--shop-accent-strong);
}

.shop-live-result-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shop-live-result-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-live-result-price {
  font-size: 0.86rem;
  font-weight: 700;
}

.shop-live-result-loading,
.shop-live-result-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 16px;
  color: var(--shop-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.shop-filter-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.shop-filter-form-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(118px, 1fr)) auto;
  gap: 8px;
  align-items: end;
  flex: 1 1 620px;
}

.shop-filter-field {
  display: grid;
  gap: 6px;
}

.shop-filter-field-inline {
  min-width: 0;
}

.shop-filter-field span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-filter-field input,
.shop-filter-field select,
.shop-qty-box button,
.shop-qty-box input {
  min-height: 40px;
  border-radius: 12px;
  box-shadow: none !important;
}

.shop-filter-field input,
.shop-filter-field select {
  border: 1px solid var(--shop-control-border) !important;
  padding: 0 12px;
  color: var(--shop-ink);
  background: var(--shop-control-fill);
  font-size: 0.84rem;
}

.shop-filter-field input:focus,
.shop-filter-field select:focus {
  border-color: rgba(37, 99, 235, 0.3) !important;
}

.shop-clear-btn {
  min-width: 40px;
  min-height: 40px;
}

.shop-filter-submit-btn {
  min-width: 40px;
  min-height: 40px;
  padding-inline: 0;
}

.shop-filter-submit-btn span {
  display: none;
}

.shop-toolbar-actions {
  display: grid;
  grid-template-columns: repeat(3, auto) minmax(220px, 1fr);
  align-items: end;
  gap: 8px;
  justify-content: end;
  flex: 0 1 560px;
}

.shop-toolbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 12px;
  border: 1px solid var(--shop-control-border);
  background: var(--shop-control-bg);
  color: var(--shop-ink);
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shop-control-shadow);
}

.shop-toolbar-link:hover {
  color: var(--shop-accent-strong);
  border-color: rgba(37, 99, 235, 0.28);
  background: rgba(37, 99, 235, 0.08);
}

@media (min-width: 992px) {
  .shop-toolbar-strip {
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }

  .shop-filter-form-inline {
    grid-template-columns: repeat(3, minmax(94px, 108px)) auto;
    gap: 7px;
    flex: 0 1 395px;
    min-width: 0;
  }

  .shop-filter-field span {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .shop-filter-field input,
  .shop-filter-field select {
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .shop-toolbar-actions {
    grid-template-columns: repeat(3, auto) minmax(190px, 220px);
    gap: 7px;
    flex: 0 1 500px;
    width: min(100%, 500px);
    max-width: 100%;
    min-width: 0;
    justify-content: end;
    margin-left: auto;
    margin-right: 30px;
  }

  .shop-search-wrap-inline {
    min-width: 190px;
    width: 220px;
    flex: 0 1 220px;
    max-width: 220px;
  }

  .shop-search-wrap {
    min-width: min(100%, 320px);
    width: 320px;
    padding: 0 10px;
  }

  .shop-search-input {
    min-height: 36px;
    font-size: 0.8rem;
  }
}

@media (min-width: 992px) and (max-width: 1220px) {
  .shop-toolbar-strip {
    gap: 10px;
  }

  .shop-toolbar-actions {
    grid-template-columns: repeat(3, auto) minmax(170px, 190px);
    gap: 6px;
    width: min(100%, 440px);
    flex-basis: 440px;
  }

  .shop-search-wrap-inline {
    min-width: 170px;
    width: 190px;
    max-width: 190px;
  }

  .shop-search-wrap {
    min-width: min(100%, 290px);
    width: 290px;
  }
}

.shop-toolbar-link__label {
  line-height: 1;
}

.shop-products-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.shop-category-shell {
  display: grid;
  gap: 16px;
}

.shop-category-summary {
  margin: 8px 0 0;
  line-height: 1.5;
  font-size: 0.86rem;
  max-width: 56ch;
}

.shop-category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255,255,255,0.72);
}

.shop-horizontal-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 70px) / 8);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.shop-horizontal-scroll::-webkit-scrollbar {
  height: 7px;
}

.shop-horizontal-scroll::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.22);
  border-radius: 999px;
}

.horizontal-item {
  min-width: 0;
  scroll-snap-align: start;
}

.shop-product-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,255,0.94));
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.shop-product-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(37,99,235,0.88), rgba(56,189,248,0.75));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.shop-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 22px 38px rgba(15, 23, 42, 0.12);
}

.shop-product-card:hover::after {
  opacity: 1;
}

.shop-product-media {
  position: relative;
  aspect-ratio: 1 / 0.8;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(56, 189, 248, 0.08));
  overflow: hidden;
}

.shop-product-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.08));
  pointer-events: none;
}

.shop-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-product-placeholder,
.shop-product-placeholder.large {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shop-accent-strong);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(56, 189, 248, 0.08));
}

.shop-product-placeholder {
  font-size: 1.8rem;
}

.shop-product-placeholder.large {
  min-height: 100%;
  border-radius: 28px;
}

.shop-product-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.shop-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.shop-badge-featured {
  background: rgba(37, 99, 235, 0.92);
}

.shop-badge-discount {
  background: rgba(245, 158, 11, 0.92);
}

.shop-badge-stock {
  background: rgba(16, 185, 129, 0.92);
}

.shop-badge-out {
  background: rgba(220, 38, 38, 0.92);
}

.shop-fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.82);
  color: var(--shop-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(10px);
}

.shop-fav-btn:hover,
.shop-fav-btn.active {
  color: #ef4444;
  background: rgba(255, 255, 255, 0.94);
  transform: scale(1.05);
}

[data-bs-theme="dark"] .shop-fav-btn {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="dark"] .shop-fav-btn:hover,
[data-bs-theme="dark"] .shop-fav-btn.active {
  background: rgba(15, 23, 42, 0.94);
  color: #fda4af;
}

.shop-product-body {
  padding: 12px 11px 11px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.shop-product-meta-row,
.shop-product-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.shop-category-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--shop-accent-strong);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.shop-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--shop-ink);
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.shop-rating-pill i {
  color: var(--shop-highlight);
}

.shop-rating-pill.is-muted i {
  color: var(--shop-accent);
}

.shop-product-desc {
  display: none;
}

.shop-product-highlights span {
  display: none;
}

.shop-product-title {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.2em;
}

.shop-price-block {
  display: grid;
  gap: 4px;
  padding-top: 6px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.shop-price-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1;
}

.shop-price-main small {
  color: var(--shop-muted);
  font-size: 0.64rem;
  font-weight: 700;
  text-decoration: line-through;
}

.shop-price-note {
  display: none;
}

.shop-product-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.shop-product-footer .btn {
  min-height: 34px;
  padding: 0;
  border-radius: 12px;
  border-width: 1px;
  box-shadow: none;
}

.shop-product-footer .btn span {
  display: none;
}

.shop-product-footer .btn i {
  margin: 0;
  font-size: 0.86rem;
}

.shop-empty-state {
  min-height: 340px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  border: 1px dashed var(--shop-border-strong);
  padding: 26px;
}

.shop-empty-state.compact {
  min-height: auto;
}

.shop-empty-icon,
.shop-cart-empty-icon {
  width: 76px;
  height: 76px;
  border-radius: 26px;
  background: var(--shop-accent-soft);
  color: var(--shop-accent-strong);
  font-size: 1.85rem;
}

.shop-modal-content {
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(243,247,255,0.94));
}

.shop-modal-header {
  padding: 20px 22px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.shop-detail-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.shop-detail-media {
  min-height: 320px;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(219,234,254,0.7), rgba(240,249,255,0.92));
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.shop-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-detail-content {
  display: grid;
  align-content: start;
  gap: 12px;
}

.shop-detail-category {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--shop-accent-soft);
  color: var(--shop-accent-strong);
  font-weight: 800;
  margin-bottom: 2px;
  width: fit-content;
}

.shop-detail-title {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin: 0;
  line-height: 1.08;
}

.shop-detail-description {
  margin: 0;
  line-height: 1.65;
  font-size: 0.96rem;
}

.shop-detail-price-wrap {
  margin-bottom: 2px;
}

.shop-detail-price-main {
  font-size: 1.95rem;
  line-height: 1;
}

.shop-detail-stock {
  font-weight: 800;
  color: var(--shop-accent-strong);
  margin-bottom: 0;
}

.shop-detail-support-note {
  margin: 0;
  line-height: 1.55;
  font-size: 0.88rem;
}

.shop-qty-box {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255,255,255,0.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.shop-qty-box button,
.shop-qty-box input {
  border: 0;
  background: transparent;
  text-align: center;
  color: var(--shop-ink);
  min-height: 44px;
}

.shop-qty-box button {
  width: 48px;
  font-weight: 800;
}

.shop-qty-box input {
  width: 78px;
  outline: none;
}

.shop-offcanvas {
  width: min(94vw, 470px) !important;
  border-left: 1px solid var(--shop-border);
}

.shop-cart-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--shop-border) !important;
}

.shop-cart-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.shop-cart-body {
  gap: 16px;
  padding: 18px 18px 22px;
  min-height: 0;
}

.shop-cart-top-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(56, 189, 248, 0.06));
  color: var(--shop-muted);
  font-size: 0.92rem;
  line-height: 1.52;
}

.shop-cart-top-note i {
  color: var(--shop-accent-strong);
  margin-top: 2px;
}

.shop-cart-items-scroll {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.shop-cart-mini-card,
.shop-cart-summary-card,
.shop-cart-empty-state {
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(20, 32, 51, 0.08);
}

.shop-cart-mini-card {
  padding: 12px;
}

.shop-cart-mini-top {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.shop-cart-mini-image {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(56, 189, 248, 0.08));
  border: 1px solid var(--shop-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-cart-mini-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-cart-fallback-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--shop-accent-strong);
}

.shop-cart-mini-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-cart-mini-title {
  font-size: 1rem;
  text-decoration: none;
}

.shop-cart-mini-title:hover,
.shop-category-link:hover {
  color: var(--shop-accent-strong);
}

.shop-cart-mini-remove {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  background: rgba(220, 38, 38, 0.08);
  color: var(--shop-danger);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
}

.shop-cart-mini-remove:hover {
  background: rgba(220, 38, 38, 0.14);
}

.shop-cart-mini-unit-price {
  font-size: 0.94rem;
  font-weight: 800;
}

.shop-cart-mini-qty-row {
  display: flex;
  align-items: center;
}

.shop-cart-mini-qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--shop-border);
  background: rgba(255, 255, 255, 0.7);
}

.shop-cart-mini-qty button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 32, 51, 0.06);
  color: var(--shop-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shop-cart-mini-qty button:hover {
  background: rgba(37, 99, 235, 0.12);
  color: var(--shop-accent-strong);
}

.shop-cart-mini-qty-value {
  min-width: 28px;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--shop-ink);
}

.shop-cart-mini-total-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-cart-mini-total-price {
  font-size: 1.18rem;
  font-weight: 900;
}

.shop-cart-summary {
  margin-top: auto;
}

.shop-cart-summary-card {
  padding: 18px;
}

.shop-summary-label {
  font-size: 1.04rem;
}

.shop-summary-divider {
  height: 1px;
  margin: 14px 0;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.08), rgba(148, 163, 184, 0.26), rgba(148, 163, 184, 0.08));
}

.shop-summary-row.total {
  margin-top: 10px;
  font-size: 1.06rem;
}

.shop-summary-row.total strong {
  font-size: 1.38rem;
}

.shop-cart-checkout-btn {
  min-height: 56px;
  border-radius: 20px;
  font-size: 1rem;
}

.shop-cart-empty-state {
  min-height: 280px;
  text-align: center;
  gap: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.shop-alert-pill {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 0.94rem;
  backdrop-filter: blur(12px);
  animation: shopPillIn 0.3s ease;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.shop-alert-pill.success {
  background: rgba(16, 185, 129, 0.92);
  color: #fff;
}

.shop-alert-pill.danger {
  background: rgba(220, 38, 38, 0.92);
  color: #fff;
}

.shop-alert-pill.warning {
  background: rgba(245, 158, 11, 0.94);
  color: #fff;
}

.shop-alert-pill .shop-alert-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-alert-pill.closing {
  animation: shopPillOut 0.4s ease forwards;
}

@keyframes shopPillIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shopPillOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(40px);
  }
}

/* Cart badge bounce animation */
@keyframes cartBadgeBounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.55); }
  55%  { transform: scale(0.88); }
  75%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.cart-badge-bounce {
  animation: cartBadgeBounce 0.55s cubic-bezier(.36,.07,.19,.97) both;
}

/* Cart item selections display */
.shop-cart-selections {
  font-size: 0.76rem;
  color: var(--bs-secondary-color, #6c757d);
  margin: 2px 0 4px;
  line-height: 1.4;
}
.shop-cart-selections.shop-cart-extras {
  color: var(--bs-info, #0dcaf0);
  font-style: italic;
}
[data-bs-theme="dark"] .shop-cart-selections {
  color: #adb5bd;
}
[data-bs-theme="dark"] .shop-cart-selections.shop-cart-extras {
  color: #6ea8fe;
}

@media (max-width: 1399.98px) {
  .shop-horizontal-scroll {
    grid-auto-columns: calc((100% - 50px) / 6);
  }
}

@media (max-width: 1199.98px) {
  .shop-hero {
    padding: 28px 30px 24px;
  }

  .shop-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-toolbar-strip {
    padding: 10px;
  }

  .shop-filter-form-inline {
    grid-template-columns: repeat(3, minmax(108px, 1fr)) auto;
  }

  .shop-detail-layout {
    grid-template-columns: 1fr;
  }

  .shop-horizontal-scroll {
    grid-auto-columns: calc((100% - 40px) / 5);
  }
}

@media (max-width: 991.98px) {
  .shop-page {
    gap: 20px;
  }

  .shop-hero,
  .shop-toolbar,
  .shop-category-shell {
    padding: 18px;
    border-radius: 22px;
  }

  .shop-hero::after {
    width: 120px;
    height: 120px;
  }

  .shop-toolbar-top,
  .shop-category-header {
    flex-direction: column;
  }

  .shop-toolbar-strip {
    align-items: stretch;
  }

  .shop-toolbar-actions {
    width: 100%;
    grid-template-columns: repeat(3, auto) minmax(200px, 1fr);
    justify-content: flex-start;
  }

  .shop-search-wrap {
    width: 100%;
  }

  .shop-horizontal-scroll {
    grid-auto-columns: calc((100% - 24px) / 4);
  }
}

@media (max-width: 767.98px) {
  .shop-hero-title {
    font-size: clamp(2rem, 8vw, 2.9rem);
  }

  .shop-hero {
    min-height: auto;
    padding: 20px 18px 18px;
  }

  .shop-hero-actions {
    gap: 8px;
  }

  .shop-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-toolbar-strip,
  .shop-filter-form-inline,
  .shop-toolbar-actions {
    gap: 8px;
  }

  .shop-filter-form-inline,
  .shop-toolbar-actions {
    flex: 1 1 100%;
  }

  .shop-filter-form-inline {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }

  .shop-filter-field span {
    font-size: 0.58rem;
  }

  .shop-toolbar-link {
    min-height: 38px;
    padding: 7px 9px;
    justify-content: center;
    font-size: 0.66rem;
  }

  .shop-search-wrap-inline {
    width: 100%;
    min-width: 100%;
    grid-column: 1 / -1;
  }

  .shop-category-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .shop-category-pills::-webkit-scrollbar {
    height: 6px;
  }

  .shop-category-pills::-webkit-scrollbar-thumb {
    background: rgba(92, 103, 121, 0.24);
    border-radius: 999px;
  }

  .shop-category-pill {
    flex: 0 0 auto;
  }

  .shop-cart-hero-btn,
  .shop-primary-btn,
  .shop-secondary-btn,
  .shop-outline-btn,
  .shop-clear-btn {
    width: 100%;
  }

  .shop-cart-hero-count {
    margin-left: auto;
  }

  .shop-cart-mini-top {
    grid-template-columns: 1fr;
  }

  .shop-cart-mini-image {
    width: 100%;
    height: 180px;
  }

  .shop-horizontal-scroll {
    grid-auto-columns: calc((100% - 16px) / 3);
  }

  .shop-product-body {
    padding: 8px 7px 7px;
    gap: 6px;
  }

  .shop-category-name,
  .shop-rating-pill small,
  .shop-price-note {
    display: none;
  }

  .shop-product-title {
    font-size: 0.68rem;
    line-height: 1.25;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .shop-price-main {
    font-size: 0.78rem;
  }

  .shop-product-badges {
    top: 5px;
    left: 5px;
    right: 28px;
    gap: 3px;
  }

  .shop-badge {
    padding: 2px 4px;
    font-size: 0.42rem;
    letter-spacing: 0.02em;
  }

  .shop-fav-btn {
    top: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
  }

  .shop-fav-btn i {
    font-size: 0.56rem;
  }

  .shop-product-footer .btn {
    min-height: 28px;
  }

  .shop-detail-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-qty-box {
    width: 100%;
    justify-content: space-between;
  }

  .shop-qty-box input {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .shop-page {
    gap: 16px;
    width: min(calc(100vw - 16px), 1920px);
    margin-inline: calc(50% - 50vw + 8px);
  }

  .shop-hero,
  .shop-toolbar,
  .shop-category-shell {
    padding: 14px;
    border-radius: 18px;
  }

  .shop-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-offcanvas {
    width: 100% !important;
  }

  .shop-toolbar-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-filter-form-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-search-wrap-inline {
    grid-column: 1 / -1;
  }

  .shop-cart-header {
    padding: 18px 16px 12px;
  }

  .shop-cart-body {
    padding: 14px 14px 18px;
  }

  .shop-alert-pill {
    right: 14px;
    left: 14px;
    top: 14px;
  }
}
