/* ═══════════════════════════════════════════════════════════════
   JEWEL NAG COUTURE — LUXURY PRODUCT PAGE CSS
   Add to: Appearance → Customize → Additional CSS
   OR enqueue from your child theme's functions.php
   ═══════════════════════════════════════════════════════════════ */

/* ─── GOOGLE FONTS IMPORT ─── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  --jnc-beige:        #f5f0e8;
  --jnc-beige-dark:   #ece5d8;
  --jnc-beige-deeper: #e0d8c8;
  --jnc-gold:         #b89d6a;
  --jnc-gold-light:   #d4b896;
  --jnc-olive:        #6b7c3f;
  --jnc-olive-dark:   #556330;
  --jnc-text:         #2c2418;
  --jnc-text-light:   #6b5d4f;
  --jnc-text-muted:   #9c8e80;
  --jnc-border:       #d6cdbf;
  --jnc-border-light: #e8e0d4;
  --jnc-white:        #fffdf9;
  --jnc-font-serif:   'Cormorant Garamond', Georgia, serif;
  --jnc-font-sans:    'Jost', 'Helvetica Neue', sans-serif;
  --jnc-radius:       2px;
  --jnc-transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --jnc-shadow:       0 4px 24px rgba(44, 36, 24, 0.08);
  --jnc-shadow-hover: 0 8px 40px rgba(44, 36, 24, 0.14);
}

/* ─── GLOBAL RESET FOR JNC ─── */
.jnc-product-wrapper,
.jnc-product-wrapper * {
  box-sizing: border-box;
}

.jnc-product-wrapper {
  background: var(--jnc-beige);
  min-height: 100vh;
  font-family: var(--jnc-font-sans);
  color: var(--jnc-text);
}

/* Hide default WooCommerce breadcrumb outside jnc */
.woocommerce-breadcrumb { display: none; }
.jnc-breadcrumb .woocommerce-breadcrumb {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--jnc-text-muted);
  margin: 0;
  padding: 0;
  background: none;
}
.jnc-breadcrumb .woocommerce-breadcrumb a {
  color: var(--jnc-text-muted);
  text-decoration: none;
}
.jnc-breadcrumb .woocommerce-breadcrumb a:hover {
  color: var(--jnc-gold);
}

/* ═══════════════════════════════════════════════
   MAIN PRODUCT SECTION
═══════════════════════════════════════════════ */
.jnc-product-main{
    display:grid;
    grid-template-columns:52% 48%;
    max-width:1800px;
    width:100%;
    margin:0 auto;
    padding:30px 50px;
    gap:55px; /* was 80-90 */
    align-items:start;
}
/* ─── GALLERY COLUMN ─── */
.jnc-gallery-col {
  position: sticky;
  top: 80px;
  padding-right: 48px;
}

.jnc-gallery-frame {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* Thumbnails strip */
.jnc-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 72px;
  flex-shrink: 0;
}

.jnc-thumb {
  width: 72px;
  height: 88px;
  overflow: hidden;
  border: 1px solid var(--jnc-border-light);
  cursor: pointer;
  transition: var(--jnc-transition);
  position: relative;
}

.jnc-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  transition: var(--jnc-transition);
}

.jnc-thumb.active::after,
.jnc-thumb:hover::after {
  border-color: var(--jnc-gold);
}

.jnc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Main image */
.jnc-main-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--jnc-border);
  /* Luxury corner frame */
  background: var(--jnc-white);
}

.jnc-main-image::before,
.jnc-main-image::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 2;
  pointer-events: none;
}

.jnc-main-image::before {
  top: 10px;
  left: 10px;
  border-top: 1.5px solid var(--jnc-gold);
  border-left: 1.5px solid var(--jnc-gold);
}

.jnc-main-image::after {
  bottom: 10px;
  right: 10px;
  border-bottom: 1.5px solid var(--jnc-gold);
  border-right: 1.5px solid var(--jnc-gold);
}

.jnc-main-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.jnc-main-image:hover img {
  transform: scale(1.03);
}

.jnc-img-zoom-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(245, 240, 232, 0.9);
  border: 1px solid var(--jnc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--jnc-text-light);
  z-index: 3;
  transition: var(--jnc-transition);
}

.jnc-img-zoom-icon:hover {
  background: var(--jnc-gold);
  color: var(--jnc-white);
  border-color: var(--jnc-gold);
}

/* ─── INFO COLUMN ─── */
.jnc-info-col {
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Share */
.jnc-share-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
  position: relative;
}

.jnc-share-btn {
  background: none;
  border: 1px solid var(--jnc-border);
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--jnc-font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jnc-text-light);
  cursor: pointer;
  transition: var(--jnc-transition);
}

.jnc-share-btn:hover {
  border-color: var(--jnc-gold);
  color: var(--jnc-gold);
}

.jnc-share-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--jnc-white);
  border: 1px solid var(--jnc-border);
  box-shadow: var(--jnc-shadow);
  z-index: 99;
  min-width: 160px;
  display: none;
  flex-direction: column;
}

.jnc-share-dropdown.open { display: flex; }

.jnc-share-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--jnc-text);
  text-decoration: none;
  transition: var(--jnc-transition);
  border-bottom: 1px solid var(--jnc-border-light);
}

.jnc-share-option:last-child { border-bottom: none; }

.jnc-share-option:hover {
  background: var(--jnc-beige-dark);
  color: var(--jnc-gold);
}

/* Title */
.jnc-product-title {
  font-family: var(--jnc-font-serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--jnc-text);
  margin: 0 0 10px;
  letter-spacing: 0.01em;
  font-style: italic;
}

.jnc-breadcrumb {
  margin-bottom: 20px;
}

/* Divider */
.jnc-divider {
  width: 100%;
  height: 1px;
  background: var(--jnc-border-light);
  margin: 18px 0;
}

/* Price */
.jnc-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.jnc-price .price,
.jnc-price .woocommerce-Price-amount {
  font-family: var(--jnc-font-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--jnc-text);
  letter-spacing: 0.02em;
}

.jnc-price ins {
  text-decoration: none;
}

.jnc-price del {
  color: var(--jnc-text-muted);
  font-size: 16px;
}

.jnc-tax-note {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--jnc-text-muted);
  text-transform: uppercase;
  font-weight: 300;
}

/* ─── WooCommerce Variation Form Overrides ─── */
.jnc-info-col .variations_form {
  margin: 0;
}

.jnc-info-col table.variations {
  border: none;
  width: 100%;
}

.jnc-info-col table.variations td,
.jnc-info-col table.variations th {
  border: none;
  padding: 0;
  vertical-align: middle;
}

.jnc-info-col table.variations td.label {
  display: none; /* We show our own label */
}

.jnc-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jnc-text-light);
  font-weight: 400;
  margin-bottom: 12px;
}

.jnc-size-guide-link {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--jnc-gold);
  text-decoration: underline;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  float: right;
  margin-top: -30px;
}

/* WooCommerce swatch/select */
.jnc-info-col .woocommerce-variation-add-to-cart,
.jnc-info-col form.cart {
  margin-top: 0;
}

/* Size swatches — WooCommerce native select hidden, we style with custom approach */
.jnc-info-col select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--jnc-beige);
  border: 1px solid var(--jnc-border);
  padding: 10px 14px;
  font-family: var(--jnc-font-sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--jnc-text);
  width: 100%;
  cursor: pointer;
  transition: var(--jnc-transition);
}

.jnc-info-col select:focus {
  outline: none;
  border-color: var(--jnc-gold);
}

/* Quantity */
.jnc-info-col .quantity {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--jnc-border);
  width: fit-content;
  margin: 18px 0 12px;
}

.jnc-info-col .qty {
  width: 52px;
  height: 46px;
  border: none;
  background: var(--jnc-beige);
  text-align: center;
  font-family: var(--jnc-font-sans);
  font-size: 15px;
  color: var(--jnc-text);
  -moz-appearance: textfield;
}

.jnc-info-col .qty::-webkit-outer-spin-button,
.jnc-info-col .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* Custom +/- buttons injected via JS */
.jnc-qty-btn {
  width: 46px;
  height: 46px;
  background: var(--jnc-beige-dark);
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--jnc-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--jnc-transition);
  font-weight: 300;
}

.jnc-qty-btn:hover {
  background: var(--jnc-gold);
  color: var(--jnc-white);
}

/* Add to Cart */
.jnc-info-col .single_add_to_cart_button,
.jnc-info-col button.single_add_to_cart_button {
  background: var(--jnc-olive);
  color: #fff;
  border: none;
  padding: 15px 32px;
  font-family: var(--jnc-font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: var(--jnc-transition);
  margin-top: 8px;
  border-radius: 0;
}

.jnc-info-col .single_add_to_cart_button:hover {
  background: var(--jnc-olive-dark);
}

/* Buy Now */
.jnc-buy-now-wrap {
  margin-top: 10px;
}

.jnc-buy-now-btn {
  display: block;
  width: 100%;
  padding: 15px 32px;
  background: #1a1a1a;
  color: var(--jnc-gold-light);
  border: 1px solid #1a1a1a;
  font-family: var(--jnc-font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--jnc-transition);
  text-align: center;
}

.jnc-buy-now-btn:hover {
  background: var(--jnc-gold);
  border-color: var(--jnc-gold);
  color: var(--jnc-white);
}

/* Shipping Note */
.jnc-shipping-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--jnc-text-muted);
  margin-top: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--jnc-border-light);
  border-bottom: 1px solid var(--jnc-border-light);
}

/* ─── Right Dropdowns ─── */
.jnc-right-dropdowns {
  margin-top: 24px;
  border-top: 1px solid var(--jnc-border);
}

.jnc-dropdown-item {
  border-bottom: 1px solid var(--jnc-border-light);
}

.jnc-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 15px 0;
  font-family: var(--jnc-font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jnc-text);
  cursor: pointer;
  text-align: left;
  transition: var(--jnc-transition);
}

.jnc-dropdown-trigger:hover {
  color: var(--jnc-gold);
}

.jnc-dropdown-trigger .jnc-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--jnc-text-muted);
}

.jnc-dropdown-trigger[aria-expanded="true"] .jnc-chevron {
  transform: rotate(180deg);
}

.jnc-dropdown-body {
  display: none;
  padding: 0 0 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--jnc-text-light);
  letter-spacing: 0.03em;
}

.jnc-dropdown-body p { margin: 0 0 8px; }
.jnc-dropdown-body p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════
   FULL-WIDTH ACCORDIONS
═══════════════════════════════════════════════ */
.jnc-accordions-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px 60px;
  border-top: 1px solid var(--jnc-border);
}

.jnc-accordion {
  border-bottom: 1px solid var(--jnc-border-light);
}

.jnc-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--jnc-font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--jnc-text);
  cursor: pointer;
  text-align: left;
  transition: var(--jnc-transition);
}

.jnc-accordion-trigger:hover { color: var(--jnc-gold); }

.jnc-accordion-trigger .jnc-chevron {
  transition: transform 0.35s ease;
  color: var(--jnc-text-muted);
  flex-shrink: 0;
}

.jnc-accordion-trigger[aria-expanded="true"] .jnc-chevron {
  transform: rotate(180deg);
}

.jnc-accordion-body {
  display: none;
  padding-bottom: 28px;
  animation: jncFadeIn 0.3s ease;
}

@keyframes jncFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.jnc-description-content {
  font-size: 14px;
  line-height: 1.9;
  color: var(--jnc-text-light);
  letter-spacing: 0.03em;
  max-width: 780px;
}

.jnc-description-content p { margin: 0 0 14px; }

/* FAQ */
.jnc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 780px;
}

.jnc-faq-item strong {
  display: block;
  font-family: var(--jnc-font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--jnc-text);
  margin-bottom: 5px;
}

.jnc-faq-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--jnc-text-light);
}

/* Reviews */
.jnc-reviews-wrap #reviews {
  padding: 0;
}

.jnc-reviews-wrap #reviews h2,
.jnc-reviews-wrap #reviews .woocommerce-Reviews-title {
  font-family: var(--jnc-font-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--jnc-text);
  margin-bottom: 20px;
}

.jnc-reviews-wrap .comment-form-rating label,
.jnc-reviews-wrap .comment-form-comment label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jnc-text-light);
  font-family: var(--jnc-font-sans);
}

.jnc-reviews-wrap .comment-form-comment textarea,
.jnc-reviews-wrap input[type="text"],
.jnc-reviews-wrap input[type="email"] {
  border: 1px solid var(--jnc-border);
  background: var(--jnc-white);
  padding: 12px 14px;
  font-family: var(--jnc-font-sans);
  font-size: 13px;
  color: var(--jnc-text);
  width: 100%;
  border-radius: 0;
  transition: var(--jnc-transition);
}

.jnc-reviews-wrap .comment-form-comment textarea:focus,
.jnc-reviews-wrap input[type="text"]:focus,
.jnc-reviews-wrap input[type="email"]:focus {
  outline: none;
  border-color: var(--jnc-gold);
}

.jnc-reviews-wrap #submit {
  background: var(--jnc-olive);
  color: #fff;
  border: none;
  padding: 13px 28px;
  font-family: var(--jnc-font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--jnc-transition);
  border-radius: 0;
}

.jnc-reviews-wrap #submit:hover { background: var(--jnc-olive-dark); }

/* ═══════════════════════════════════════════════
   RELATED PRODUCTS — YOU MAY ALSO LIKE
═══════════════════════════════════════════════ */
.jnc-related-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px 80px;
}

.jnc-related-title {
  font-family: var(--jnc-font-serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--jnc-text);
  text-align: center;
  margin: 0 0 14px;
}

.jnc-related-divider {
  width: 40px;
  height: 1px;
  background: var(--jnc-gold);
  margin: 0 auto 40px;
}

.jnc-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.jnc-related-card {
  background: var(--jnc-white);
  border: 1px solid var(--jnc-border-light);
  transition: var(--jnc-transition);
  overflow: hidden;
}

.jnc-related-card:hover {
  box-shadow: var(--jnc-shadow-hover);
  border-color: var(--jnc-border);
}

.jnc-related-img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.jnc-related-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.jnc-related-card:hover .jnc-related-img-wrap img {
  transform: scale(1.04);
}

.jnc-related-info {
  padding: 14px 12px 16px;
}

.jnc-related-name {
  display: block;
  font-family: var(--jnc-font-serif);
  font-size: 14px;
  font-weight: 400;
  color: var(--jnc-text);
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 6px;
  font-style: italic;
}

.jnc-related-name:hover { color: var(--jnc-gold); }

.jnc-related-price .woocommerce-Price-amount {
  font-family: var(--jnc-font-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--jnc-text-light);
  letter-spacing: 0.04em;
}

/* ─── Hide default WC related products ─── */
.related.products { display: none !important; }

/* ─── Hide WC default tabs ─── */
.woocommerce-tabs { display: none !important; }

/* ═══════════════════════════════════════════════
   MOBILE STYLES
═══════════════════════════════════════════════ */
@media (max-width: 768px) {

  .jnc-product-main {
    grid-template-columns: 1fr;
    padding: 70px 16px 30px; /* top space for nav shortcode */
    gap: 0;
  }

  .jnc-gallery-col {
    position: static;
    padding-right: 0;
    margin-bottom: 24px;
  }

  .jnc-gallery-frame {
    flex-direction: column-reverse;
  }

  .jnc-thumbs {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .jnc-thumbs::-webkit-scrollbar { display: none; }

  .jnc-thumb {
    width: 60px;
    height: 72px;
    flex-shrink: 0;
  }

  .jnc-info-col {
    padding-left: 0;
  }

  /* On mobile, share button stays top right */
  .jnc-share-wrap {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 200;
    margin-bottom: 0;
  }

  .jnc-product-title {
    font-size: 22px;
    margin-top: 8px;
  }

  /* Mobile: quantity + add to cart side by side */
  .jnc-info-col .woocommerce-variation-add-to-cart,
  .jnc-info-col form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .jnc-info-col .quantity {
    width: auto;
    margin: 0;
  }

  .jnc-info-col .single_add_to_cart_button {
    flex: 1;
    min-width: 140px;
    margin-top: 0;
    padding: 13px 16px;
  }

  .jnc-accordions-section,
  .jnc-related-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .jnc-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .jnc-related-section {
    padding-bottom: 50px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .jnc-product-main {
    padding: 40px 32px;
    grid-template-columns: 52% 1fr;
  }

  .jnc-gallery-col { padding-right: 28px; }

  .jnc-accordions-section,
  .jnc-related-section {
    padding-left: 32px;
    padding-right: 32px;
  }

  .jnc-related-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ═══════════════════════════════════════════════
   PATCH v2 — All fixes
   ═══════════════════════════════════════════════ */

/* FIX 1: Full width — remove Astra container constraints */
.woocommerce #page,
.woocommerce .site-content,
.woocommerce .ast-container,
body.single-product .ast-container,
body.single-product #content,
body.single-product .entry-content,
body.single-product .site-content .ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

body.single-product .ast-article-single,
body.single-product .ast-grid-right-sidebar,
body.single-product .ast-grid-left-sidebar {
  padding: 0 !important;
}

/* FIX 2: Wishlist row — right-aligned, below shipping note */
.jnc-wishlist-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 4px;
}

/* Style YITH / TI wishlist button inside our row */
.jnc-wishlist-row .yith-wcwl-add-to-wishlist,
.jnc-wishlist-row .tinvwl_add_to_wishlist_button,
.jnc-wishlist-row a {
  font-family: var(--jnc-font-sans) !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  color: var(--jnc-text-muted) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: var(--jnc-transition) !important;
}

.jnc-wishlist-row a:hover,
.jnc-wishlist-row .yith-wcwl-add-to-wishlist a:hover {
  color: var(--jnc-gold) !important;
}

.jnc-wishlist-fallback {
  font-family: var(--jnc-font-sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--jnc-text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--jnc-transition);
}
.jnc-wishlist-fallback:hover { color: var(--jnc-gold); }

/* FIX 3: Right column accordions (replacing old dropdowns) */
.jnc-right-accordions {
  margin-top: 20px;
  border-top: 1px solid var(--jnc-border);
}

.jnc-racc-item {
  border-bottom: 1px solid var(--jnc-border-light);
}

.jnc-racc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 14px 0;
  font-family: var(--jnc-font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jnc-text);
  cursor: pointer;
  text-align: left;
  transition: var(--jnc-transition);
}

.jnc-racc-trigger:hover { color: var(--jnc-gold); }

.jnc-racc-trigger .jnc-chevron {
  transition: transform 0.3s ease;
  color: var(--jnc-text-muted);
  flex-shrink: 0;
}

.jnc-racc-trigger[aria-expanded="true"] .jnc-chevron {
  transform: rotate(180deg);
}

.jnc-racc-body {
  display: none;
  padding: 0 0 14px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--jnc-text-light);
}

.jnc-racc-body p { margin: 0 0 8px; }
.jnc-racc-body p:last-child { margin-bottom: 0; }

/* Remove old dropdown styles */
.jnc-right-dropdowns { display: none !important; }

/* FIX 4: Accordion visibility fix — ensure closed ones are hidden */
.jnc-accordion-body {
  display: none;
  overflow: hidden;
}

/* FIX 5: Related section header with See All link */
.jnc-related-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 0;
  position: relative;
}

.jnc-related-title {
  margin-bottom: 0 !important;
}

.jnc-see-all {
  font-family: var(--jnc-font-sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jnc-text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--jnc-transition);
  position: absolute;
  right: 0;
}

.jnc-see-all:hover {
  color: var(--jnc-gold);
}

/* FIX 6: Size row label + guide on same line */
.jnc-size-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.jnc-size-row .jnc-label {
  margin-bottom: 0;
}

.jnc-size-guide-link {
  float: none;
  margin: 0;
}

/* Mobile: wishlist still bottom-right */
@media (max-width: 768px) {
  .jnc-wishlist-row {
    justify-content: flex-end;
  }
  .jnc-see-all {
    position: static;
  }
  .jnc-related-header {
    justify-content: space-between;
    padding: 0 4px;
  }
}

/* ═══════════════════════════════════════
   PATCH v3
═══════════════════════════════════════ */

/* FIX: Full width — target Astra's actual content wrapper */
body.single-product .ast-separate-container .ast-article-single,
body.single-product .ast-plain-container .ast-article-single,
body.single-product #page #content,
body.single-product #page #primary,
body.single-product #page #main,
body.single-product .ast-container,
body.single-product #content > .ast-container,
body.single-product .entry-content,
body.single-product article.product {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}

/* Kill Astra sidebar grid on product pages */
body.single-product #primary.content-area {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* FIX: Hide duplicate/default WooCommerce wishlist buttons */
/* Hides the YITH wishlist that WC injects into the summary hook */
.woocommerce-product-details__short-description ~ .yith-wcwl-add-to-wishlist,
.product_meta ~ .yith-wcwl-add-to-wishlist,
form.cart ~ .yith-wcwl-add-to-wishlist,
.woocommerce-variation-add-to-cart ~ .yith-wcwl-add-to-wishlist,
/* Hide any wishlist NOT inside our wrapper */
.woocommerce div.product .yith-wcwl-add-to-wishlist:not(.jnc-wishlist-row .yith-wcwl-add-to-wishlist),
.woocommerce div.product .tinvwl-loop-button-wrapper:not(.jnc-wishlist-row .tinvwl-loop-button-wrapper),
/* The one WC adds after add-to-cart in summary */
.woocommerce-tabs ~ .yith-wcwl-add-to-wishlist {
  display: none !important;
}

/* FIX: Quantity — hide the WC default +/- and only show ours */
/* Remove any duplicate injected qty buttons */
.jnc-info-col .quantity .plus,
.jnc-info-col .quantity .minus {
  display: none !important;
}

/* Our custom qty buttons are jnc-qty-btn — keep those */
.jnc-qty-btn { display: flex !important; }

/* FIX: Wishlist placement — move to right of title, small & elegant */
.jnc-wishlist-row {
  display: none !important; /* hide the bottom one */
}

/* Instead, wishlist goes inline after title */
.jnc-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.jnc-title-row .jnc-product-title {
  flex: 1;
}

.jnc-title-wishlist {
  display: flex;
  align-items: center;
  padding-top: 6px;
  flex-shrink: 0;
}

.jnc-title-wishlist a,
.jnc-title-wishlist .yith-wcwl-add-to-wishlist,
.jnc-title-wishlist button {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  color: var(--jnc-text-muted) !important;
  font-size: 0 !important; /* hide text, show only icon */
  cursor: pointer !important;
  transition: var(--jnc-transition) !important;
  display: flex !important;
  align-items: center !important;
}

.jnc-title-wishlist svg {
  width: 18px;
  height: 18px;
  stroke: var(--jnc-text-muted);
  fill: none;
  transition: var(--jnc-transition);
}

.jnc-title-wishlist a:hover svg,
.jnc-title-wishlist button:hover svg {
  stroke: #c0392b;
  fill: #c0392b;
}

/* ═══════════════════════════════════════
   PATCH v4
═══════════════════════════════════════ */

/* FORCE hide ALL wishlist buttons except our icon in title */
.jnc-info-col .yith-wcwl-add-to-wishlist,
.jnc-info-col .yith-wcwl-add-button,
.jnc-info-col a.yith-wcwl-add-to-wishlist,
.jnc-info-col .tinvwl-loop-button-wrapper,
form.cart + .yith-wcwl-add-to-wishlist,
form.cart + div .yith-wcwl-add-to-wishlist,
.woocommerce-variation-add-to-cart + .yith-wcwl-add-to-wishlist,
div.product .yith-wcwl-add-to-wishlist:not(.jnc-title-wishlist *),
div.product p.yith-wcwl-add-to-wishlist,
.product .yith-wcwl-add-to-wishlist { 
  display: none !important; 
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ACCORDION FIX — remove that brown/image block, clean open state */
.jnc-racc-body img,
.jnc-accordion-body img:first-child {
  display: none !important;
}

/* That brown block is likely a featured image or thumbnail in description */
.jnc-racc-body .wp-post-image,
.jnc-accordion-body .wp-post-image,
.jnc-description-content img:first-child,
.jnc-racc-body > p > img:only-child {
  display: none !important;
}

/* Clean accordion open styling — no background, no weird blocks */
.jnc-accordion-body,
.jnc-racc-body {
  background: transparent !important;
  border: none !important;
  padding-top: 0 !important;
}

.jnc-accordion-body *,
.jnc-racc-body * {
  background-color: transparent !important;
}

/* Text content only */
.jnc-racc-body p,
.jnc-racc-body li,
.jnc-accordion-body p,
.jnc-accordion-body li {
  font-family: var(--jnc-font-sans);
  font-size: 13px;
  line-height: 1.9;
  color: var(--jnc-text-light) !important;
  background: none !important;
}

/* FULL WIDTH — nuclear option targeting every possible Astra wrapper */
body.single-product,
body.single-product #page,
body.single-product #content,
body.single-product #primary,
body.single-product #main,
body.single-product .site-content,
body.single-product .ast-container,
body.single-product .ast-grid-right-sidebar-layout,
body.single-product .ast-grid-left-sidebar-layout,
body.single-product .ast-separate-container,
body.single-product .ast-plain-container,
body.single-product .ast-article-single,
body.single-product .entry-content,
body.single-product .post-content,
body.single-product article,
body.single-product article.product,
body.single-product .woocommerce-notices-wrapper,
body.single-product div.product {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  float: none !important;
  flex: none !important;
}

/* Override Astra's grid system */
body.single-product .ast-row {
  margin: 0 !important;
  max-width: 100% !important;
}

body.single-product #primary.content-area {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  -webkit-box-flex: 0 !important;
  flex: 0 0 100% !important;
}
.jnc-info-col {
    width: 100%;
    max-width: none;
}
@media (min-width: 1600px){

    .jnc-product-main{
        max-width: 1900px;
        grid-template-columns: 60% 40%;
        padding-left: 60px;
        padding-right: 60px;
    }

}
.jnc-gallery-col{
    padding-right:0;
}

.jnc-main-image{
    max-width:900px;
}
.jnc-info-col{
    padding-left:0 !important;
    margin-left:-40px;
}
body.single-product .jnc-product-main{
    min-height:auto;
}

body.single-product .jnc-info-col{
    width:100%;
    max-width:700px;
}

.jnc-info-col{
    padding-left:0 !important;
    margin-left:-15px;
}
/* ==========================
   MOBILE PRODUCT PAGE FIXES
   ========================== */
@media (max-width: 768px){

    /* Side spacing */
    .jnc-product-main,
    .jnc-accordions-section,
    .jnc-related-section{
        padding-left:20px !important;
        padding-right:20px !important;
    }

    /* Qty + Cart row */
    .jnc-info-col form.cart{
        display:flex !important;
        align-items:center;
        gap:12px;
    }

    .jnc-info-col .quantity{
        flex:0 0 46%;
    }

    .jnc-info-col .single_add_to_cart_button{
        flex:1;
        min-width:0;
    }

    /* Buy now centered */
    .jnc-buy-now-btn{
        text-align:center !important;
        display:flex !important;
        align-items:center;
        justify-content:center;
        width:100%;
    }

    /* Shipping row */
    .jnc-shipping-note{
        justify-content:center;
        text-align:center;
    }

    /* Accordion alignment */
    .jnc-accordion-trigger,
    .jnc-racc-trigger{
        padding-left:0 !important;
        padding-right:0 !important;
        width:100%;
    }

    /* Same left-right level */
    .jnc-accordion,
    .jnc-racc-item{
        margin:0;
        width:100%;
    }

    /* Title spacing */
    .jnc-product-title{
        margin-top:10px;
        margin-bottom:10px;
    }

    /* Wishlist spacing */
    .jnc-title-wishlist{
        margin-left:10px;
    }
}