/* AutoSaller — B (clean dealer) + A (marketplace catalog) */

:root {
  --as-ink: #0e151c;
  --as-muted: #5a6572;
  --as-line: #d9e0e8;
  --as-surface: #eef2f6;
  --as-surface-2: #e4ebf2;
  --as-card: #ffffff;
  --as-brand: #123047;
  --as-accent: #0f766e;
  --as-accent-hover: #0d9488;
  --as-cta: #c2410c;
  --as-cta-hover: #9a3412;
  --as-ok: #166534;
  --as-ok-bg: #dcfce7;
  --as-radius: 14px;
  --as-shadow: 0 10px 30px rgba(14, 21, 28, 0.06);
  --as-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --as-display: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

html, body {
  height: auto;
  min-height: 100%;
}

body {
  font-family: var(--as-font);
  color: var(--as-ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #d7e8ef 0%, transparent 55%),
    radial-gradient(900px 400px at 100% 0%, #e7efe8 0%, transparent 45%),
    var(--as-surface);
}

#container {
  position: relative !important;
  width: 100%;
  min-height: 100vh;
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

#content,
#column-left,
#column-right {
  padding-bottom: 0 !important;
}

#top,
#cart,
.currency,
.language,
.list-inline-item .dropdown,
a[href*="checkout"],
a[title*="Shopping Cart"],
.btn-group [title*="Wishlist"],
.btn-group [title*="Compare"],
#compare-total,
#button-cart,
.product-thumb .button,
#form-product .input-group,
#menu {
  display: none !important;
}

/* Top bar */
#as-topbar {
  background: var(--as-brand);
  color: #dbe7f0;
  font-size: 0.86rem;
  padding: 0.55rem 0;
}
#as-topbar a { color: #fff; text-decoration: none; }
#as-topbar a:hover { color: #99f6e4; }

/* Header */
header.as-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--as-line);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
#logo h1, #logo a {
  font-family: var(--as-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--as-brand);
  text-decoration: none;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}
#logo .as-tagline {
  display: block;
  font-size: 0.8rem;
  color: var(--as-muted);
  font-weight: 500;
  margin-top: 0.1rem;
}
.as-header-cta .btn {
  background: var(--as-cta);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
}
.as-header-cta .btn:hover {
  background: var(--as-cta-hover);
  color: #fff;
}
.as-header .form-control {
  border-radius: 999px;
  border-color: var(--as-line);
  min-height: 46px;
}

/* Hero */
.as-hero {
  padding: 2.5rem 0 1.5rem;
  margin-bottom: 0.5rem;
}
.as-hero-card {
  background: linear-gradient(135deg, #123047 0%, #1a4a63 55%, #0f766e 130%);
  color: #fff;
  border-radius: calc(var(--as-radius) + 4px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--as-shadow);
  position: relative;
  overflow: hidden;
}
.as-hero-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.as-hero-card > * { position: relative; z-index: 1; }
.as-hero h1 {
  font-family: var(--as-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 0.6rem;
  color: #fff;
  letter-spacing: -0.03em;
}
.as-hero p {
  max-width: 38rem;
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.as-hero .btn-light {
  background: #fff;
  color: var(--as-brand);
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
}
.as-hero .btn-outline-light {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
}

.as-section-title {
  font-family: var(--as-display);
  font-weight: 700;
  margin: 1.5rem 0 1rem;
  color: var(--as-ink);
  letter-spacing: -0.02em;
  font-size: 1.35rem;
}

/* Category chips */
.as-cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.as-cat-card {
  display: inline-flex;
  align-items: center;
  background: var(--as-card);
  border: 1px solid var(--as-line);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  text-decoration: none;
  color: var(--as-ink);
  font-weight: 600;
  font-size: 0.92rem;
  transition: 0.15s ease;
  box-shadow: 0 1px 0 rgba(14,21,28,0.03);
}
.as-cat-card:hover,
.as-cat-card.is-active {
  border-color: var(--as-accent);
  color: var(--as-accent);
  background: #f0fdfa;
}

/* Filters */
.as-filters {
  background: var(--as-card);
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  padding: 1rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--as-shadow);
}
.as-filters .form-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--as-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.as-filters .form-control,
.as-filters .form-select {
  border-radius: 10px;
  border-color: var(--as-line);
  min-height: 42px;
}
.as-filters .btn-apply {
  background: var(--as-brand);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  min-height: 42px;
  width: 100%;
}
.as-filters .btn-apply:hover { background: #0a2233; color: #fff; }
.as-filters .btn-reset {
  background: transparent;
  border: 1px solid var(--as-line);
  border-radius: 10px;
  min-height: 42px;
  width: 100%;
  font-weight: 600;
  color: var(--as-muted);
}

/* Product cards */
#product-list > .col {
  display: flex;
}
.product-thumb {
  background: var(--as-card);
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  overflow: hidden;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 0 rgba(14,21,28,0.03);
}
.product-thumb:hover {
  transform: translateY(-2px);
  box-shadow: var(--as-shadow);
}
.product-thumb .image {
  background: var(--as-surface-2);
  aspect-ratio: 16 / 11;
  overflow: hidden;
  flex: 0 0 auto;
  position: relative;
}
.product-thumb .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.as-card-gallery {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.as-card-gallery__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  cursor: grab;
}
.as-card-gallery.is-dragging .as-card-gallery__viewport {
  cursor: grabbing;
}
.as-card-gallery__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 100%;
  transition: transform 0.28s ease;
  will-change: transform;
}
.as-card-gallery.is-dragging .as-card-gallery__track {
  transition: none;
}
.as-card-gallery__slide {
  flex: 0 0 auto;
  width: 100%;
  min-width: 100%;
  height: 100%;
  display: block;
  position: relative;
}
.as-card-gallery__slide img {
  pointer-events: none;
  -webkit-user-drag: none;
  display: block;
}
.as-card-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--as-ink);
  box-shadow: 0 2px 8px rgba(14, 21, 28, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.as-card-gallery__prev { left: 8px; }
.as-card-gallery__next { right: 8px; }
.as-card-gallery:hover .as-card-gallery__nav,
.as-card-gallery:focus-within .as-card-gallery__nav {
  opacity: 1;
  pointer-events: auto;
}
@media (hover: none) {
  .as-card-gallery__nav {
    opacity: 0.9;
    pointer-events: auto;
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
}
.as-card-gallery__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
}
.as-card-gallery__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(14, 21, 28, 0.12);
}
.as-card-gallery__dot.is-active {
  background: #fff;
  width: 14px;
}
.product-thumb .content {
  padding: 0.85rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.35rem;
}
.product-thumb .description {
  flex: 1;
  padding: 0;
  margin: 0;
}
.product-thumb .description > p { display: none; }
.product-thumb h4 {
  font-size: 0.98rem;
  line-height: 1.3;
  margin: 0.15rem 0 0.35rem;
  font-weight: 700;
}
.product-thumb h4 a {
  color: var(--as-ink);
  text-decoration: none;
}
.product-thumb .as-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  color: var(--as-muted);
  font-size: 0.8rem;
  font-weight: 500;
}
.product-thumb .price {
  color: var(--as-ink);
  font-weight: 800;
  font-size: 1.15rem;
  margin-top: 0.25rem;
  font-family: var(--as-display);
  letter-spacing: -0.02em;
}
.product-thumb .as-sku {
  color: var(--as-muted);
  font-size: 0.75rem;
}
.product-thumb .as-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
}
.product-thumb .as-more,
.product-thumb .as-lead {
  flex: 1;
  text-align: center;
  border-radius: 10px;
  padding: 0.55rem 0.5rem;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
}
.product-thumb .as-more {
  background: #f3f6f9;
  color: var(--as-brand);
}
.product-thumb .as-lead {
  background: var(--as-cta);
  color: #fff;
}
.product-thumb .as-lead:hover { background: var(--as-cta-hover); color: #fff; }
.product-thumb .as-more:hover { background: #e8eef4; color: var(--as-brand); }

.as-badge {
  display: inline-block;
  background: var(--as-ok-bg);
  color: var(--as-ok);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
}

/* Product page */
#product-info h1 {
  font-family: var(--as-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}
#product-info .price-new,
#product-info h2 .price-new {
  color: var(--as-ink);
  font-weight: 800;
  font-family: var(--as-display);
}
.as-lead-box {
  background: var(--as-card);
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  padding: 1.2rem;
  margin-top: 1rem;
  box-shadow: var(--as-shadow);
  position: sticky;
  top: 90px;
}
.as-lead-box h3 {
  font-family: var(--as-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.as-lead-box .btn-primary {
  background: var(--as-cta);
  border: none;
  color: #fff;
  font-weight: 700;
  width: 100%;
  border-radius: 12px;
  min-height: 48px;
}
.as-lead-box .btn-primary:hover {
  background: var(--as-cta-hover);
  color: #fff;
}
.as-lead-type {
  display: flex;
  border: 1px solid var(--as-line);
  border-radius: 12px;
  overflow: hidden;
  background: #f3f5f8;
}
.as-lead-type__opt {
  flex: 1;
  margin: 0;
  cursor: pointer;
  text-align: center;
}
.as-lead-type__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.as-lead-type__opt span {
  display: block;
  padding: 0.55rem 0.4rem;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
  color: #5b6577;
  transition: background 0.15s ease, color 0.15s ease;
}
.as-lead-type__opt input:checked + span {
  background: var(--as-cta);
  color: #fff;
}
.as-lead-type__opt:first-child span {
  border-right: 1px solid var(--as-line);
}
.as-lead-type__opt:has(input:checked) + .as-lead-type__opt span,
.as-lead-type__opt:first-child:has(input:checked) span {
  border-right-color: transparent;
}
.as-lead-inn[hidden] {
  display: none !important;
}

/* Footer */
footer {
  background: var(--as-brand) !important;
  color: #c9d6e0 !important;
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem !important;
  position: relative !important;
  bottom: auto !important;
  width: 100%;
  border: none !important;
  flex-shrink: 0;
}
footer h5 { color: #fff !important; font-family: var(--as-display); }
footer a { color: #c9d6e0 !important; }
footer a:hover { color: #99f6e4 !important; }
footer hr { border-color: rgba(255,255,255,0.12); }

#common-home #content.col,
#product-category #content.col {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}
#product-category #compare-total,
#button-list,
#button-grid { display: none !important; }

.as-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.as-count {
  color: var(--as-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

/* Mobile sticky lead */
.as-mobile-cta {
  display: none;
}
@media (max-width: 767.98px) {
  .as-mobile-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.96);
    border-top: 1px solid var(--as-line);
    backdrop-filter: blur(8px);
  }
  .as-mobile-cta a {
    flex: 1;
    text-align: center;
    border-radius: 12px;
    padding: 0.75rem;
    font-weight: 700;
    text-decoration: none;
  }
  .as-mobile-cta .call {
    background: #f3f6f9;
    color: var(--as-brand);
  }
  .as-mobile-cta .lead {
    background: var(--as-cta);
    color: #fff;
  }
  body.as-body { padding-bottom: 76px; }
  .as-lead-box { position: static; }
}

/* Left sidebar catalog filters (InSales-style) */
.as-catalog-layout {
  align-items: flex-start;
  margin-top: 1rem;
}

.as-filter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  background: var(--as-card);
  color: var(--as-brand);
  font-weight: 700;
  box-shadow: var(--as-shadow);
}

.as-sidebar-col {
  margin-bottom: 1.25rem;
}

.as-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 100px);
  background: var(--as-card);
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  box-shadow: var(--as-shadow);
  overflow: hidden;
}

.as-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--as-line);
  background: #f8fafc;
}

.as-sidebar-head strong {
  font-size: 0.95rem;
  color: var(--as-brand);
}

.as-sidebar-reset {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--as-accent);
  text-decoration: none;
}

.as-sidebar-reset:hover {
  color: var(--as-accent-hover);
}

.as-sidebar-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 0.35rem 0;
}

.as-sidebar-foot {
  flex: 0 0 auto;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid var(--as-line);
  background: #fff;
}

.as-filter-block {
  border-bottom: 1px solid var(--as-line);
}

.as-filter-block:last-child {
  border-bottom: 0;
}

.as-filter-block > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--as-ink);
  position: relative;
  user-select: none;
}

.as-filter-block > summary::-webkit-details-marker {
  display: none;
}

.as-filter-block > summary::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--as-muted);
  border-bottom: 2px solid var(--as-muted);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.15s ease;
}

.as-filter-block[open] > summary::after {
  transform: translateY(-25%) rotate(-135deg);
}

.as-filter-block > summary:hover {
  color: var(--as-accent);
}

.as-filter-list {
  list-style: none;
  margin: 0;
  padding: 0 0.75rem 0.85rem;
}

.as-filter-list--links .as-filter-item a {
  display: block;
  padding: 0.35rem 0.25rem;
  color: var(--as-ink);
  text-decoration: none;
  font-size: 0.88rem;
}

.as-filter-list--links .as-filter-item a:hover {
  color: var(--as-accent);
}

.as-filter-item.is-collapsed {
  display: none;
}

.as-filter-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.28rem 0.25rem;
  cursor: pointer;
  font-size: 0.86rem;
  line-height: 1.35;
}

.as-filter-label input[type="checkbox"] {
  margin-top: 0.15rem;
  accent-color: var(--as-accent);
  flex: 0 0 auto;
}

.as-filter-text {
  flex: 1 1 auto;
  color: var(--as-ink);
}

.as-filter-count {
  flex: 0 0 auto;
  min-width: 1.5rem;
  text-align: right;
  color: var(--as-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.as-filter-more {
  display: block;
  width: calc(100% - 1.5rem);
  margin: 0 0.75rem 0.85rem;
  padding: 0.35rem 0.5rem;
  border: 0;
  background: transparent;
  color: var(--as-accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.as-filter-more:hover {
  color: var(--as-accent-hover);
}

.as-range-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.45rem;
  align-items: center;
  padding: 0 0.75rem 0.65rem;
}

.as-range-row .form-control {
  min-height: 38px;
  border-radius: 10px;
  border-color: var(--as-line);
  font-size: 0.86rem;
}

.as-range-sep {
  color: var(--as-muted);
  font-size: 0.85rem;
}

.as-range-slider {
  position: relative;
  height: 28px;
  margin: 0 0.75rem 0.85rem;
}

.as-range-slider input[type="range"] {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
  appearance: none;
  height: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
}

.as-range-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--as-surface-2);
  border-radius: 999px;
}

.as-range-slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--as-accent);
  box-shadow: 0 1px 4px rgba(15, 118, 110, 0.35);
  margin-top: -6px;
  cursor: pointer;
}

.as-range-slider input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--as-accent);
  cursor: pointer;
}

.as-filter-block .form-control[type="search"] {
  margin: 0 0.75rem 0.85rem;
  width: calc(100% - 1.5rem);
  min-height: 38px;
  border-radius: 10px;
}

.as-sidebar-foot .btn-apply {
  background: var(--as-brand);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  min-height: 42px;
}

.as-sidebar-foot .btn-apply:hover {
  background: #0a2233;
  color: #fff;
}

.as-filter-block {
  position: relative;
}

.as-range-apply {
  display: none;
  margin: 0 0.75rem 0.85rem;
  width: calc(100% - 1.5rem);
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  background: var(--as-accent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
  animation: as-range-pop 0.18s ease-out;
}

.as-range-apply.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.as-range-apply:hover {
  background: var(--as-accent-hover);
}

@keyframes as-range-pop {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.as-catalog-main {
  min-width: 0;
}

@media (max-width: 991.98px) {
  body.as-filter-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(14, 21, 28, 0.45);
    z-index: 250;
  }

  .as-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 300;
    width: min(92vw, 360px);
    max-height: none;
    border-radius: 0;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    top: 0;
  }

  .as-sidebar.is-open {
    transform: translateX(0);
  }

  .as-sidebar-col {
    margin-bottom: 0;
  }
}

/* Logo */
#logo .as-logo {
  max-height: 64px;
  width: auto;
  display: block;
}

.as-header-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.as-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 40px;
  min-height: 40px;
  padding: 0.4rem 0.55rem;
  border-radius: 12px;
  border: 1px solid var(--as-line);
  background: #fff;
  color: var(--as-brand);
  text-decoration: none;
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
}

.as-icon-btn:hover {
  color: var(--as-accent);
  border-color: #b7d5d2;
}

.as-icon-btn .fa-telegram,
.as-social .fa-telegram {
  color: #229ED9;
  font-size: 1.2rem;
}

.as-badge-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--as-cta);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.as-footer-social a {
  color: #229ED9;
  text-decoration: none;
  font-weight: 600;
}

.product-thumb {
  position: relative;
}

.as-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--as-cta);
  box-shadow: 0 4px 12px rgba(14,21,28,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.as-fav.is-active,
.as-wishlist-btn.is-active {
  color: var(--as-cta);
}

.as-product-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#wishlist-total {
  display: inline-flex !important;
}
