.gallery {
  position: relative;
}

.gallery .carousel__slide {
  flex: 0 0 100%;
}

.gallery__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--c-purple-soft);
}

.gallery__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.gallery__counter {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--c-white);
  background: rgba(20, 14, 45, 0.5);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

.product-info {
  padding: 22px var(--pad) 6px;
}

.product__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(28px, 8.5vw, 40px);
  line-height: 1.08;
  margin: 6px 0 18px;
}

.product__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.product__price .price-sale {
  font-size: 30px;
}

.product__price .price-old {
  font-size: 18px;
}

.product__save {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-weight: 700;
  font-size: 14px;
}

.product__installments {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-weight: 700;
}

.product__installments svg {
  width: 22px;
  height: 22px;
  color: var(--c-muted);
}

.product__details-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--c-green-bright);
  font-weight: 700;
  font-size: 14px;
}

.product__freight {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--c-green-bright);
  font-weight: 700;
}

.product__freight svg {
  width: 22px;
  height: 22px;
}

.variant-group {
  margin-top: 24px;
}

.variant-group__label {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.variant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-pill {
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--c-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.variant-pill:hover {
  border-color: var(--c-white);
}

.variant-pill.is-selected {
  background: var(--c-green);
  border-color: var(--c-green);
}

.variant-pill.is-disabled {
  opacity: 0.4;
  text-decoration: line-through;
  cursor: not-allowed;
}

.product__qty {
  margin-top: 26px;
}

.product__qty-label {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.product__stock {
  margin-top: 14px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}

.product__stock-low {
  margin-top: 6px;
  text-align: center;
  font-weight: 700;
  color: var(--c-green-bright);
}

.product__cta {
  width: 100%;
  margin-top: 26px;
  padding: 20px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--c-white);
  background: var(--c-green);
  border-radius: var(--r-pill);
  transition: background 0.16s ease;
}

.product__cta:hover {
  background: var(--c-green-bright);
}

.product__cta.is-disabled {
  background: rgba(0, 152, 57, 0.4);
  letter-spacing: 0.12em;
  cursor: not-allowed;
}

.product__cta-note {
  margin-top: 16px;
  text-align: center;
  font-weight: 700;
}

.product__cta-note .hl {
  color: var(--c-green-bright);
}

.product__shipping {
  margin-top: 32px;
}

.product__shipping-label {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cep-form {
  display: flex;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.cep-form input {
  flex: 1;
  height: 50px;
  padding: 0 20px;
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  outline: none;
}

.cep-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.cep-form button {
  padding: 0 24px;
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.18);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cep-result {
  margin-top: 14px;
}

.cep-result__addr {
  font-size: 13px;
  color: var(--c-muted);
  margin-bottom: 8px;
}

.ship-opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ship-opt__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ship-opt__name {
  font-weight: 700;
  font-size: 14px;
}

.ship-opt__eta {
  font-size: 12px;
  color: var(--c-muted);
}

.ship-opt__price {
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.ship-opt__free {
  color: var(--c-green-bright);
}

.cep-result__msg {
  font-size: 13px;
  color: var(--c-muted);
}

.tabs {
  margin-top: 36px;
  padding: 0 var(--pad);
}

.tabs__nav {
  display: flex;
  gap: 26px;
  border-bottom: 2px solid var(--c-purple-line);
}

.tabs__tab {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--c-white);
  padding-bottom: 12px;
  margin-bottom: -2px;
  border-bottom: 3px solid transparent;
}

.tabs__tab.is-active {
  color: var(--c-green-bright);
  border-bottom-color: var(--c-green-bright);
}

.tabs__panel {
  display: none;
  padding-top: 22px;
}

.tabs__panel.is-active {
  display: block;
}

.tabs__panel h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 14px;
}

.tabs__panel p {
  margin-bottom: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.product__trust {
  margin-top: 24px;
}

.product__trust-item {
  margin-bottom: 16px;
}

.product__trust-item strong {
  display: block;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 4px;
}

.product__share {
  display: flex;
  gap: 18px;
  margin-top: 22px;
}

.product__share a {
  display: inline-flex;
  color: var(--c-white);
}

.product__share svg {
  width: 22px;
  height: 22px;
}

.specs {
  width: 100%;
  border-collapse: collapse;
}

.specs th,
.specs td {
  text-align: left;
  padding: 11px 0;
  border-bottom: 1px solid var(--c-purple-line);
  font-size: 15px;
}

.specs th {
  font-weight: 800;
  color: var(--c-muted);
  width: 42%;
}
