:root {
  --hit-wine: #4c2d33;
  --hit-wine-dark: #321c21;
  --hit-cream: #f3eee8;
  --hit-paper: #ffffff;
  --hit-gold: #b28a4a;
  --hit-text: #241d1e;
  --hit-muted: #655a5c;
  --hit-border: #d9d2cc;
  --hit-success: #246b45;
  --hit-error: #a31313;
}

.hit-products-grid,
.hit-product,
.hit-my-products,
.hit-products-notice {
  color: var(--hit-text);
  font-family: inherit;
}

.hit-products-grid,
.hit-products-grid *,
.hit-product,
.hit-product *,
.hit-my-products,
.hit-my-products *,
.hit-products-notice,
.hit-products-notice * {
  box-sizing: border-box;
}

.hit-products-grid *,
.hit-product *,
.hit-my-products * {
  min-width: 0;
  max-width: 100%;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.hit-products-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(var(--hit-columns, 3), minmax(0, 1fr));
}

.hit-products-grid--1 { --hit-columns: 1; }
.hit-products-grid--2 { --hit-columns: 2; }
.hit-products-grid--3 { --hit-columns: 3; }

.hit-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hit-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(36 29 30 / 7%);
}

.hit-product-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--hit-cream);
}

.hit-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.hit-product-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--hit-wine);
  font-family: Georgia, serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
}

.hit-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.hit-product-card__title {
  margin: .35rem 0 .65rem;
  color: var(--hit-wine-dark);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.hit-product-card__title a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .15em;
}

.hit-product-card__body > p:not(.hit-product__badge, .hit-product__price) {
  flex: 1;
}

.hit-product {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
  overflow-wrap: anywhere;
}

.hit-product__hero {
  width: 100%;
  padding-block: clamp(1.25rem, 3vw, 2.5rem);
}

.hit-product__hero--with-image {
  display: grid;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
}

.hit-product__hero--without-image {
  display: block;
}

.hit-product__hero--without-image .hit-product__copy {
  width: 100%;
  max-width: 840px;
  margin-inline: auto;
}

.hit-product__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 38px rgb(50 28 33 / 16%);
}

.hit-product__badge {
  display: inline-block;
  margin: 0;
  padding: .3rem .65rem;
  border-radius: 999px;
  border: 1px solid #ded5cd;
  background: var(--hit-cream) !important;
  color: var(--hit-wine);
  font-size: .88rem;
  font-weight: 700;
}

.hit-product__title {
  margin: .7rem 0;
  color: var(--hit-wine-dark);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

.hit-product__subtitle {
  max-width: 55ch;
  margin: .5rem 0 1rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hit-product__price {
  margin: .85rem 0 1rem;
  color: var(--hit-wine-dark);
  font-size: 1.45rem;
  font-weight: 800;
}

.hit-product__price del {
  margin-inline-start: .45rem;
  color: #705f61;
  font-size: .8em;
  font-weight: 500;
}

.hit-product .hit-product__button,
.hit-products-grid .hit-product__button,
.hit-my-products .hit-product__button,
.hit-products-notice .hit-product__button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.1rem;
  border: 2px solid var(--hit-wine) !important;
  border-radius: 9px;
  background: var(--hit-wine) !important;
  color: #fff !important;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.hit-product .hit-product__button:hover,
.hit-products-grid .hit-product__button:hover,
.hit-my-products .hit-product__button:hover,
.hit-products-notice .hit-product__button:hover {
  border-color: var(--hit-wine-dark) !important;
  background: var(--hit-wine-dark) !important;
  color: #fff;
}

.hit-product .hit-product__button--secondary,
.hit-products-grid .hit-product__button--secondary,
.hit-my-products .hit-product__button--secondary {
  margin-top: .65rem;
  background: #fff !important;
  color: var(--hit-wine) !important;
}

.hit-product .hit-product__button--secondary:hover,
.hit-products-grid .hit-product__button--secondary:hover,
.hit-my-products .hit-product__button--secondary:hover {
  background: var(--hit-wine-dark) !important;
  color: #fff !important;
}

.hit-product__button:focus-visible,
.hit-product-card a:focus-visible,
.hit-product-interest input:focus-visible,
.hit-product-interest select:focus-visible {
  outline: 3px solid var(--hit-gold);
  outline-offset: 3px;
}

.hit-product__fineprint {
  margin: .55rem 0 0;
  color: var(--hit-muted);
  font-size: .88rem;
}

.hit-product__section,
.hit-product__content,
.hit-product-interest,
.hit-my-products,
.hit-products-notice {
  margin-block: 1.5rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--hit-border);
  border-radius: 14px;
  background: #fff !important;
  box-shadow: 0 7px 22px rgb(36 29 30 / 5%);
}

.hit-product-interest {
  width: 100%;
  max-width: 840px;
  margin-inline: auto;
}

.hit-product__section h2,
.hit-product-interest__title,
.hit-my-products h2 {
  margin-top: 0;
  color: var(--hit-wine-dark);
}

.hit-product__features {
  display: grid;
  gap: .7rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.hit-product__features li {
  position: relative;
  padding-inline-start: 1.65rem;
}

.hit-product__features li::before {
  position: absolute;
  inset-inline-start: .2rem;
  color: var(--hit-success);
  content: "✓";
  font-weight: 800;
}

.hit-product-interest__fields {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hit-product-interest label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 700;
}

.hit-product-interest input[type="text"],
.hit-product-interest input[type="email"],
.hit-product-interest select {
  width: 100%;
  min-height: 46px;
  padding: .55rem .7rem;
  border: 1px solid #756a6c !important;
  border-radius: 7px;
  background: #fff !important;
  color: var(--hit-text) !important;
  font: inherit;
}

.hit-product-interest input[type="checkbox"] {
  accent-color: var(--hit-wine);
}

.hit-product-interest__consent label {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-weight: 400;
}

.hit-product-interest__consent input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: .15rem;
}

.hit-product-interest__honeypot {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.hit-product-interest__status {
  min-height: 1.5em;
  margin-bottom: 0;
  font-weight: 700;
}

.hit-product-interest__status.is-success { color: var(--hit-success); }
.hit-product-interest__status.is-error { color: var(--hit-error); }
.hit-optional { font-size: .85em; font-weight: 400; }

.hit-my-products ul {
  display: grid;
  gap: .8rem;
  padding: 0;
  list-style: none;
}

.hit-my-products li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .8rem;
  border-bottom: 1px solid var(--hit-border);
}

@media (hover: hover) {
  .hit-product-card:hover .hit-product-card__media img { transform: scale(1.035); }
}

@media (max-width: 820px) {
  .hit-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hit-product__hero--with-image { grid-template-columns: 1fr; }
  .hit-product__image { order: -1; }
  .hit-product-interest__fields { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hit-products-grid { grid-template-columns: 1fr; }
  .hit-product__features { grid-template-columns: 1fr; }
  .hit-product .hit-product__button,
  .hit-products-grid .hit-product__button,
  .hit-my-products .hit-product__button,
  .hit-products-notice .hit-product__button { width: 100%; }
  .hit-my-products li { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .hit-product-card__media img { transition: none; }
}
