/* ============================================================
   VERDETERRA — Default Single Product Page
   Premium product page matching the site's design system.
   ============================================================ */

/* ─── Product Page Container ─── */
.vt-product-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem 4rem;
}

/* ─── WooCommerce Notices ─── */
.vt-product-page .woocommerce-notices-wrapper {
  margin-bottom: 2rem;
}
.vt-product-page .woocommerce-notices-wrapper .woocommerce-message,
.vt-product-page .woocommerce-notices-wrapper .woocommerce-info {
  background: var(--pale-green);
  color: var(--deep-green);
  border: none;
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.vt-product-page .woocommerce-notices-wrapper .woocommerce-error {
  background: #fef2f2;
  color: #991b1b;
  border: none;
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
}

/* ─── Product Grid: Two Column Layout ─── */
.vt-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4rem;
}
/* Ensure only direct div children are grid items (prevent <p> tag wrapping issues) */
.vt-product-grid > p {
  display: none;
}
.vt-product-grid > .vt-product-gallery-col,
.vt-product-grid > .vt-product-summary-col {
  min-width: 0;
}

/* ─── Gallery Column ─── */
.vt-product-gallery-col {
  position: sticky;
  top: 100px;
  align-self: start;
}

.vt-product-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  background: var(--deep-green);
  color: #fff;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.vt-product-badge--sale {
  background: #c0392b;
}

.vt-product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vt-gallery-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--warm-neutral);
}

.vt-gallery-main-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vt-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.vt-gallery-img.fading {
  opacity: 0.3;
}

.vt-gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.vt-placeholder-icon {
  color: var(--stone);
  opacity: 0.5;
}

/* Gallery Thumbnails */
.vt-gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--stone) transparent;
}

.vt-gallery-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
  padding: 0;
  transition: all 0.25s ease;
  opacity: 0.6;
}
.vt-gallery-thumb:hover {
  opacity: 0.85;
  border-color: var(--stone);
}
.vt-gallery-thumb.active {
  border-color: var(--deep-green);
  opacity: 1;
}
.vt-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Summary Column ─── */
.vt-product-summary-col {
  padding-top: 0.5rem;
}

.vt-product-summary {
  max-width: 540px;
}

.vt-product-type-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  background: var(--pale-green);
  color: var(--deep-green);
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* ─── Product Title ─── */
.vt-product-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--deep-green);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

/* ─── Rating ─── */
.vt-product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.vt-product-rating .star-rating {
  color: var(--muted-green);
  font-size: 0.9rem;
}
.vt-rating-count {
  font-size: 0.85rem;
  color: var(--warm-gray);
}

/* ─── Price ─── */
.vt-product-price {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--warm-neutral);
}
.vt-product-price .price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--deep-green);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.vt-product-price .price ins {
  text-decoration: none;
}
.vt-product-price .price del {
  font-size: 1.4rem;
  color: var(--warm-gray);
  opacity: 0.7;
}
.vt-product-price .price .amount {
  color: var(--deep-green);
}
.vt-sale-notice {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #c0392b;
  margin-top: 0.5rem;
}

/* ─── Short Description ─── */
.vt-product-short-desc {
  font-size: 1.05rem;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.vt-product-short-desc p {
  margin-bottom: 0.5rem;
}

/* ─── Cart Section ─── */
.vt-product-cart-section {
  margin-bottom: 2rem;
}

/* Override WooCommerce default form styles */
.vt-product-page .variations_form {
  margin-bottom: 0;
}
.vt-product-page table.variations {
  border: none;
  width: 100%;
}
.vt-product-page table.variations tr {
  display: block;
  margin-bottom: 0;
  border: none;
}
.vt-product-page table.variations th,
.vt-product-page table.variations td {
  display: block;
  border: none;
  padding: 0;
}
.vt-product-page table.variations th.label {
  display: none;
}

/* Hide default WC selects (pill selectors from functions.php override these) */
.vt-product-page .variations select,
.vt-product-page .wc-block-components-variation-selector select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Reset variation link */
.vt-product-page .reset_variations {
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin-top: 0.5rem;
  display: inline-block;
  transition: color 0.3s ease;
}
.vt-product-page .reset_variations:hover {
  color: var(--deep-green);
}

/* ─── Quantity Selector ─── */
.vt-product-page .quantity {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1rem;
}
.vt-product-page .quantity .qty {
  width: 56px;
  height: 48px;
  text-align: center;
  border: 1.5px solid var(--warm-neutral);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  background: #fff;
  -moz-appearance: textfield;
}
.vt-product-page .quantity .qty::-webkit-inner-spin-button,
.vt-product-page .quantity .qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.vt-product-page .quantity .qty:focus {
  outline: none;
  border-color: var(--muted-green);
}

/* ─── Add to Cart Button ─── */
.vt-product-page .single_add_to_cart_button,
.vt-product-page button.single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 1.1rem 3rem !important;
  background-color: var(--deep-green) !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  width: 100% !important;
  max-width: 400px !important;
}
.vt-product-page .single_add_to_cart_button:hover,
.vt-product-page button.single_add_to_cart_button:hover {
  background-color: var(--forest-green) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(34, 46, 38, 0.25) !important;
}
.vt-product-page .single_add_to_cart_button.disabled,
.vt-product-page button.single_add_to_cart_button.disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ─── Stock Status ─── */
.vt-product-page .stock {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.vt-product-page .stock.in-stock {
  color: var(--muted-green);
}
.vt-product-page .stock.out-of-stock {
  color: #c0392b;
}

/* ─── Trust Signals ─── */
.vt-product-trust {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--warm-neutral);
  border-bottom: 1px solid var(--warm-neutral);
}
.vt-trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--warm-gray);
}
.vt-trust-item svg {
  color: var(--muted-green);
  flex-shrink: 0;
}

/* ─── Product Meta (SKU, Category, Tags) ─── */
.vt-product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.vt-meta-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
}
.vt-meta-label {
  font-weight: 600;
  color: var(--charcoal);
  min-width: 80px;
}
.vt-meta-value {
  color: var(--warm-gray);
}
.vt-meta-value a {
  color: var(--muted-green);
  transition: color 0.3s ease;
}
.vt-meta-value a:hover {
  color: var(--deep-green);
}

/* ─── Product Details / Description Section ─── */
.vt-product-details-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  padding: 3rem 0;
  margin-bottom: 3rem;
  border-top: 1px solid var(--warm-neutral);
}

.vt-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--deep-green);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.vt-section-title--center {
  text-align: center;
}

.vt-description-content {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.8;
}
.vt-description-content p {
  margin-bottom: 1rem;
}
.vt-description-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--deep-green);
  margin: 2rem 0 0.75rem;
}
.vt-description-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.vt-description-content li {
  margin-bottom: 0.5rem;
  color: var(--warm-gray);
}

/* WooCommerce additional info table */
.vt-product-additional-info table {
  width: 100%;
  border-collapse: collapse;
}
.vt-product-additional-info table th {
  font-weight: 600;
  color: var(--charcoal);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--warm-neutral);
  text-align: left;
  font-size: 0.9rem;
  width: 140px;
}
.vt-product-additional-info table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--warm-neutral);
  color: var(--warm-gray);
  font-size: 0.9rem;
}

/* ─── Reviews Section ─── */
.vt-product-reviews-section {
  padding: 3.5rem 0 4rem;
  border-top: 1px solid var(--warm-neutral);
  max-width: 820px;
}

/* Reviews section wrapper */
.vt-product-reviews-section .woocommerce-Reviews {
  margin: 0;
}

/* "Reviews" main heading */
.vt-product-reviews-section .woocommerce-Reviews-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--deep-green);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* No reviews message */
.vt-product-reviews-section .woocommerce-noreviews {
  font-size: 1rem;
  color: var(--warm-gray);
  font-style: italic;
  padding: 1.5rem 0;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--warm-neutral);
}

/* Hide empty <p> tags WC adds */
.vt-product-reviews-section #comments > p:empty,
.vt-product-reviews-section #review_form_wrapper > p:empty,
.vt-product-reviews-section .woocommerce-Reviews > p:empty {
  display: none;
}

/* ─── Review Form ─── */
.vt-product-reviews-section #review_form_wrapper {
  margin: 0;
}
.vt-product-reviews-section #respond {
  margin: 0;
  padding: 0;
}

/* "Be the first to review" heading */
.vt-product-reviews-section .comment-reply-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--deep-green);
  margin-bottom: 1.75rem;
  line-height: 1.3;
}
.vt-product-reviews-section .comment-reply-title small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--warm-gray);
  display: block;
  margin-top: 0.25rem;
}
.vt-product-reviews-section .comment-reply-title small a {
  color: var(--muted-green);
  transition: color 0.3s ease;
}
.vt-product-reviews-section .comment-reply-title small a:hover {
  color: var(--deep-green);
}

/* Hide empty <p> inside respond */
.vt-product-reviews-section #respond > p:empty {
  display: none;
}

/* Form notes */
.vt-product-reviews-section .comment-notes {
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.vt-product-reviews-section .required-field-message .required,
.vt-product-reviews-section .comment-form .required {
  color: #c0392b;
  font-weight: 600;
}

/* Form layout */
.vt-product-reviews-section .comment-form {
  max-width: 600px;
}

/* Rating select — styled as a custom dropdown */
.vt-product-reviews-section .comment-form-rating {
  margin-bottom: 1.5rem;
}
.vt-product-reviews-section .comment-form-rating label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.vt-product-reviews-section .comment-form-rating select,
.vt-product-reviews-section select#rating {
  width: 100% !important;
  max-width: 280px !important;
  padding: 0.8rem 1.1rem !important;
  border: 1.5px solid var(--warm-neutral) !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  color: var(--charcoal) !important;
  background: #fff !important;
  cursor: pointer !important;
  transition: border-color 0.3s ease !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6560' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  padding-right: 2.5rem !important;
}
.vt-product-reviews-section .comment-form-rating select:focus,
.vt-product-reviews-section select#rating:focus {
  outline: none !important;
  border-color: var(--muted-green) !important;
  box-shadow: 0 0 0 3px rgba(91, 146, 121, 0.1) !important;
}

/* Comment textarea */
.vt-product-reviews-section .comment-form-comment {
  margin-bottom: 1.5rem;
}
.vt-product-reviews-section .comment-form-comment label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}

/* Name and Email fields */
.vt-product-reviews-section .comment-form-author,
.vt-product-reviews-section .comment-form-email {
  margin-bottom: 1.5rem;
}
.vt-product-reviews-section .comment-form-author label,
.vt-product-reviews-section .comment-form-email label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}

/* All form inputs and textarea */
.vt-product-reviews-section .comment-form input[type="text"],
.vt-product-reviews-section .comment-form input[type="email"],
.vt-product-reviews-section .comment-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--warm-neutral);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  line-height: 1.6;
}
.vt-product-reviews-section .comment-form input[type="text"]:focus,
.vt-product-reviews-section .comment-form input[type="email"]:focus,
.vt-product-reviews-section .comment-form textarea:focus {
  outline: none;
  border-color: var(--muted-green);
  box-shadow: 0 0 0 3px rgba(91, 146, 121, 0.1);
}
.vt-product-reviews-section .comment-form input::placeholder,
.vt-product-reviews-section .comment-form textarea::placeholder {
  color: var(--stone);
}
.vt-product-reviews-section .comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Cookie consent checkbox */
.vt-product-reviews-section .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.vt-product-reviews-section .comment-form-cookies-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--deep-green);
  cursor: pointer;
  flex-shrink: 0;
}
.vt-product-reviews-section .comment-form-cookies-consent label {
  font-size: 0.85rem;
  color: var(--warm-gray);
  line-height: 1.5;
  cursor: pointer;
}

/* Star rating input — WooCommerce stars plugin */
.vt-product-reviews-section .comment-form .stars {
  margin-bottom: 1.5rem;
}
.vt-product-reviews-section .comment-form .stars a {
  color: var(--stone);
  font-size: 1.3rem;
  transition: color 0.2s ease;
  padding: 0 2px;
}
.vt-product-reviews-section .comment-form .stars a:hover,
.vt-product-reviews-section .comment-form .stars a.active {
  color: var(--muted-green);
}

/* Submit button */
.vt-product-reviews-section .form-submit {
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.vt-product-reviews-section .form-submit p {
  margin: 0;
}
.vt-product-reviews-section .form-submit input[type="submit"],
.vt-product-reviews-section .form-submit .wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem 2.5rem !important;
  background-color: var(--deep-green) !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  width: 100% !important;
  max-width: 300px !important;
}
.vt-product-reviews-section .form-submit input[type="submit"]:hover,
.vt-product-reviews-section .form-submit .wp-block-button__link:hover {
  background-color: var(--forest-green) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(34, 46, 38, 0.25) !important;
}

/* ─── Review List (when reviews exist) ─── */
.vt-product-reviews-section .commentlist {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
}
.vt-product-reviews-section .commentlist li {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--warm-neutral);
}
.vt-product-reviews-section .commentlist li:first-child {
  padding-top: 0;
}
.vt-product-reviews-section .commentlist .avatar {
  border-radius: 50%;
  margin-right: 1rem;
}
.vt-product-reviews-section .commentlist .meta,
.vt-product-reviews-section .woocommerce-review__author {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.vt-product-reviews-section .woocommerce-review__author-date {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.vt-product-reviews-section .commentlist .comment-date,
.vt-product-reviews-section .woocommerce-review__published-date {
  font-size: 0.8rem;
  color: var(--stone);
}
.vt-product-reviews-section .star-rating {
  color: var(--muted-green);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  display: inline-block;
}
.vt-product-reviews-section .commentlist .description,
.vt-product-reviews-section .woocommerce-review__description {
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.8;
}
.vt-product-reviews-section .woocommerce-review__verified {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-green);
  background: rgba(143, 203, 155, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

/* ─── Reviews Responsive ─── */
@media (max-width: 768px) {
  .vt-product-reviews-section {
    padding: 2.5rem 0 3rem;
    max-width: none;
  }
  .vt-product-reviews-section .comment-form {
    max-width: none;
  }
  .vt-product-reviews-section .form-submit input[type="submit"] {
    max-width: none !important;
  }
}
}
.vt-product-reviews-section .comment-form .form-submit {
  margin-top: 0.5rem;
}
.vt-product-reviews-section .comment-form .form-submit input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  padding: 1rem 2.5rem !important;
  background-color: var(--deep-green) !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.vt-product-reviews-section .comment-form .form-submit input[type="submit"]:hover {
  background-color: var(--forest-green) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(34, 46, 38, 0.25) !important;
}

/* No reviews message */
.vt-product-reviews-section .woocommerce-noreviews,
.vt-product-reviews-section .commentlist + p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  font-style: italic;
  padding: 1.5rem 0;
}

/* ─── WooCommerce Tabs Override ─── */
.vt-product-page .woocommerce-tabs {
  padding: 3rem 0;
  border-top: 1px solid var(--warm-neutral);
  margin-bottom: 3rem;
}
.vt-product-page .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 2rem;
  border-bottom: 1px solid var(--warm-neutral);
}
.vt-product-page .woocommerce-tabs ul.tabs li {
  border: none;
  background: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
}
.vt-product-page .woocommerce-tabs ul.tabs li a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-gray);
  padding: 0.75rem 1.5rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}
.vt-product-page .woocommerce-tabs ul.tabs li.active a {
  color: var(--deep-green);
  border-bottom-color: var(--deep-green);
}
.vt-product-page .woocommerce-tabs ul.tabs::before,
.vt-product-page .woocommerce-tabs ul.tabs::after {
  display: none;
}
.vt-product-page .woocommerce-tabs .panel {
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.vt-product-page .woocommerce-tabs .panel h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--deep-green);
  margin-bottom: 1rem;
}

/* ─── Related Products ─── */
.vt-related-products {
  padding: 4rem 0;
  background: var(--cream);
}
.vt-related-products .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}
.vt-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.vt-related-card {
  display: block;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(234, 230, 229, 0.6);
  transition: all 0.4s ease;
  text-decoration: none;
  color: inherit;
}
.vt-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(34, 46, 38, 0.08);
}
.vt-related-card-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--warm-neutral);
}
.vt-related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.vt-related-card:hover .vt-related-card-image img {
  transform: scale(1.05);
}
.vt-related-card-content {
  padding: 1.5rem;
}
.vt-related-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--deep-green);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.vt-related-card-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--deep-green);
}
.vt-related-card-price .amount {
  color: var(--deep-green);
}
.vt-related-card-price del {
  color: var(--warm-gray);
  font-size: 0.9rem;
}
.vt-related-card-price del + ins {
  text-decoration: none;
}

/* ─── Breadcrumb override ─── */
.woocommerce-breadcrumb {
  padding: 6.5rem 2.5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.82rem;
  color: var(--warm-gray);
}
.woocommerce-breadcrumb a {
  color: var(--muted-green);
  transition: color 0.3s ease;
}
.woocommerce-breadcrumb a:hover {
  color: var(--deep-green);
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .vt-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .vt-product-gallery-col {
    position: static;
  }
  
  .vt-product-title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
  }
  
  .vt-product-price .price {
    font-size: 1.8rem;
  }
  
  .vt-product-details-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .vt-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
  .vt-product-page {
    padding: 0 0.75rem 3rem;
  }
  
  .woocommerce-breadcrumb {
    padding: 5rem 0.75rem 1rem;
    font-size: 0.78rem;
  }
  
  .vt-product-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .vt-product-gallery-col {
    position: static;
  }
  
  .vt-gallery-main {
    border-radius: var(--radius-lg);
  }
  
  .vt-gallery-main-image {
    aspect-ratio: 1 / 1;
  }
  
  .vt-gallery-thumbs {
    gap: 0.5rem;
  }
  
  .vt-gallery-thumb {
    width: 56px;
    height: 56px;
  }
  
  .vt-product-summary-col {
    padding-top: 0;
  }
  
  .vt-product-summary {
    max-width: none;
  }
  
  .vt-product-title {
    font-size: 1.6rem;
  }
  
  .vt-product-price .price {
    font-size: 1.6rem;
  }
  
  .vt-product-short-desc {
    font-size: 0.95rem;
  }
  
  .vt-product-page .single_add_to_cart_button,
  .vt-product-page button.single_add_to_cart_button {
    max-width: none !important;
  }
  
  .vt-product-trust {
    gap: 0.5rem;
    padding: 1.25rem 0;
  }
  
  .vt-product-details-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }
  
  .vt-related-products {
    padding: 3rem 0;
  }
  
  .vt-related-products .container {
    padding: 0 0.75rem;
  }
  
  .vt-related-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .vt-product-page {
    padding: 0 0.6rem 2.5rem;
  }
  
  .woocommerce-breadcrumb {
    padding: 5rem 0.6rem 1rem;
  }
  
  .vt-product-title {
    font-size: 1.4rem;
  }
  
  .vt-product-price .price {
    font-size: 1.4rem;
  }
  
  .vt-gallery-main {
    border-radius: var(--radius-md);
  }
  
  .vt-related-card-content {
    padding: 1rem;
  }
  
  .vt-related-card-title {
    font-size: 0.95rem;
  }
}
