/* --------------------------------------------------
   Two-column grid on desktop, stacked on mobile
-------------------------------------------------- */
.single-product .product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 4rem;
  align-items: start;
  margin: 4rem auto;
  max-width: 1200px;
}

.single-product .woocommerce-product-gallery {
  grid-column: 2;
}

.single-product .summary {
  grid-column: 1;
}

/* Mobile: full-width stacking */
@media (max-width: 768px) {
  .single-product .product {
    display: block;
    margin: 2rem 1rem;
  }
  .single-product .woocommerce-product-gallery,
  .single-product .summary {
    width: 100%;
  }
  .single-product .woocommerce-product-gallery {
    margin-bottom: 2rem;
  }
}

/* --------------------------------------------------
   Typography & spacing
-------------------------------------------------- */
.single-product .product_title {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1rem;
}

.single-product .price {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1.5rem;
}

.single-product .price del {
  margin-left: .75rem;
  color: #888;
  text-decoration: line-through;
}

/* Short description: italic first paragraph */
.single-product .woocommerce-product-details__short-description p:first-child {
  font-style: italic;
  margin-bottom: 2rem;
}

/* Remove default tabs/related (we’ll keep it super minimal) */
.woocommerce-tabs,
.upsells,
.related {
  display: none !important;
}

/* --------------------------------------------------
   Variations (size) & quantity styling
-------------------------------------------------- */
/* Wrap size + qty side-by-side */
.single-product form.variations_form {
  display: flex;
  gap: 4rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .single-product form.variations_form {
    display: block;
  }
}

/* Show the “Size” label */
.single-product .variations label {
  font-weight: 700;
  margin-bottom: .5rem;
  display: block;
}

/* Quantity: hide native input, show numeric list */
.single-product .quantity input.qty {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.single-product .quantity:before {
  content: "1  2  3  4  5  6  7  8  9";
  display: block;
  font-size: 1.25rem;
  letter-spacing: .1em;
  cursor: pointer;
}
.single-product .quantity:before span {
  margin-right: 1rem;
}
.single-product .quantity input.qty:focus + .quantity:before {
  /* no focus styling here—JS needed to sync, omitted for brevity */
}

/* --------------------------------------------------
   Add to cart button
-------------------------------------------------- */
.single-product .single_add_to_cart_button {
  border: 1px solid #000;
  background: none;
  color: #000;
  padding: 1.25rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: background .3s, color .3s;
  margin-top: 1.5rem;
}

.single-product .single_add_to_cart_button:hover {
  background: #000;
  color: #fff;
}
/* hide the default spinner field */
.quantity .qty {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.hftt-qty-buttons {
  display: flex;
  gap: .5em;
}
.hftt-qty-button {
  padding: .5em 1em;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
}
.hftt-qty-button:hover,
.hftt-qty-button.selected {
  background: #000;
  color: #fff;
}
/* kill the variations table entirely */
.variations {
  display: none !important;
}

/* just in case a fallback select sneaks through */
select[name^="attribute_size"],
select[name^="attribute_pa_size"] {
  display: none !important;
}