.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding-inline: 20px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius);
  transition: filter 0.15s, transform 0.05s, background 0.15s, border-color 0.15s;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.5;
  cursor: default;
  filter: none;
}

.btn--primary {
  color: var(--primary-ink);
  background: var(--primary);
  box-shadow: 0 10px 26px -12px var(--primary-glow);
}

.btn--primary:hover {
  filter: brightness(1.06);
}

.btn--cta {
  color: var(--primary-ink);
  background: linear-gradient(120deg, var(--primary-deep), var(--primary) 55%, var(--primary-bright));
  box-shadow: 0 12px 30px -14px var(--primary-glow);
}

.btn--cta:hover {
  filter: brightness(1.05);
}

.btn--ghost {
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--border-strong);
  background: var(--surface-3);
}

.btn--block {
  width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding-inline: 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  background: hsl(180 100% 67% / 0.08);
  border: 1px solid hsl(180 100% 67% / 0.35);
  border-radius: 999px;
}

.pill svg {
  width: 16px;
  height: 16px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  color: var(--primary);
  background: hsl(180 100% 67% / 0.1);
  border: 1px solid hsl(180 100% 67% / 0.25);
  border-radius: var(--radius);
}

.section-head__icon svg {
  width: 20px;
  height: 20px;
}

.section-head h2 {
  font-size: 19px;
  margin-right: auto;
}

.panel {
  padding: 20px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.cat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  min-height: 116px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0.012));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s, transform 0.18s;
}

.cat-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.cat-card__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, var(--art-a, #1a2440), var(--art-b, #0c1426));
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  pointer-events: none;
}

.cat-card__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.08);
  filter: blur(7px) saturate(1.15);
}

.cat-card__thumb,
.cat-card__body {
  position: relative;
  z-index: 1;
}

.cat-card__thumb {
  position: relative;
  width: 84px;
  height: 84px;
  flex: none;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--art-a, #1d2a4d), var(--art-b, #0b1322));
}

.cat-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card__body {
  flex: 1;
  min-width: 0;
}

.cat-card__title {
  font-size: 16px;
  font-weight: 700;
}

.cat-link {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
}

.cat-link svg {
  width: 15px;
  height: 15px;
}

.cat-link:hover {
  color: var(--primary-bright);
}

.carousel-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, background 0.15s, opacity 0.15s;
}

.carousel-nav svg {
  width: 16px;
  height: 16px;
}

.carousel-nav:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
}

.carousel-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s, transform 0.18s;
}

.product-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.product-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--art-a, #1d2a4d), var(--art-b, #0b1322));
}

.product-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.product-card__title a {
  color: inherit;
  text-decoration: none;
}

.product-card__title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.64em;
}

.product-card__pricerow {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
}

.price-old {
  font-size: 12px;
  color: var(--muted-dim);
  text-decoration: line-through;
}

.discount-chip {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 2px 7px 2px 5px;
  font-size: 11px;
  font-weight: 800;
  color: var(--pix);
  background: hsl(172 60% 50% / 0.14);
  border: 1px solid hsl(172 60% 50% / 0.32);
  border-radius: 999px;
}

.discount-chip svg {
  width: 11px;
  height: 11px;
}

.product-card__price {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary);
}

.product-card__priceblock {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.product-card__pricecol {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.pix-line {
  font-size: 12px;
  color: var(--muted);
}

.pix-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  flex: none;
  color: var(--pix);
  background: hsl(172 60% 50% / 0.14);
  border: 1px solid hsl(172 60% 50% / 0.34);
  border-radius: var(--radius-sm);
}

.pix-badge svg {
  width: 18px;
  height: 18px;
}

.product-card__buy {
  height: 42px;
  margin-top: 2px;
  font-size: 13.5px;
}

.product-card__buy svg {
  width: 16px;
  height: 16px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qty-stepper__btn,
.qty-stepper__val {
  height: 34px;
  min-width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.qty-stepper__btn {
  font-size: 18px;
  color: var(--fg);
  transition: background 0.15s, border-color 0.15s;
}

.qty-stepper__btn:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.cart-item__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item__thumb {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--art-a, #1d2a4d), var(--art-b, #0b1322));
}

.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cart-item__name {
  font-weight: 700;
  font-size: 14px;
}

.cart-item__price {
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item__remove {
  width: 34px;
  height: 34px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  background: var(--danger);
  border-radius: var(--radius-sm);
  transition: filter 0.15s;
}

.cart-item__remove:hover {
  filter: brightness(1.08);
}
