/**
 * GokuMusic Product Detail Layout & SEO Styles
 * Theme: XStore Child Theme
 * Scoped strictly to single product presentation area.
 */

:root {
  --goku-primary: #eab308;
  --goku-primary-gold: #f5dc32;
  --goku-primary-dark: #ca8a04;
  --goku-primary-deep: #a16207;
  --goku-primary-light: #fef9c3;
  --goku-primary-tint: #fefce8;
  --goku-primary-hover: #fde047;
  --goku-primary-border: #fde68a;
  
  --goku-obsidian: #0b0f19;
  --goku-charcoal: #111827;
  --goku-surface-dark: #1e293b;
  --goku-border-dark: #334155;

  --goku-red: #dc2626;
  --goku-red-dark: #b91c1c;
  --goku-text-dark: #0f172a;
  --goku-text-body: #334155;
  --goku-text-muted: #64748b;
  --goku-border: #e2e8f0;
  --goku-bg-light: #f8fafc;
  --goku-tag-gold: #f5dc32;
  --goku-rating-gold: #f59e0b;
}

/* Scoped Container for Single Product (Strictly Matching design/product-detail.html max-width: 1200px) */
body.single-product {
  overflow-x: clip !important;
}

.goku-product-layout,
div.product.goku-product-layout,
.single-product div.product.goku-product-layout {
  width: 100% !important;
  max-width: 1425px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 20px 15px 40px 15px !important;
  box-sizing: border-box !important;
  display: block !important;
  float: none !important;
}

.goku-product-layout *,
.goku-product-layout *::before,
.goku-product-layout *::after {
  box-sizing: border-box !important;
}

.goku-product-hero {
  display: grid !important;
  grid-template-columns: 46% 51% !important;
  gap: 3% !important;
  margin-bottom: 35px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  .goku-product-hero {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 20px !important;
    margin-bottom: 25px !important;
  }
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.goku-product-gallery {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.goku-main-photo-wrap {
  position: relative !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 4px !important;
  background: #fafafa !important;
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  cursor: zoom-in !important;
  box-sizing: border-box !important;
}

.goku-main-photo-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-width: 95% !important;
  max-height: 95% !important;
  object-fit: contain !important;
  transition: transform 0.25s ease !important;
  display: block !important;
  margin: 0 auto !important;
}

.goku-main-photo-wrap:hover img {
  transform: scale(1.04) !important;
}

.goku-real-photo-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(34, 34, 34, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.goku-zoom-hint {
  display: none !important;
}

/* Thumbnail slider container with arrow buttons */
.goku-thumbs-slider-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  margin-top: 10px !important;
  width: 100% !important;
}

.goku-thumb-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 28px !important;
  height: 28px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #333333 !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 5 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18) !important;
  transition: all 0.2s ease !important;
  font-size: 12px !important;
  line-height: 1 !important;
  padding: 0 !important;
}

.goku-thumb-arrow:hover {
  background: #eab308 !important;
  color: #0b0f19 !important;
  border-color: #eab308 !important;
  box-shadow: 0 3px 8px rgba(234, 179, 8, 0.35) !important;
}

.goku-thumb-prev {
  left: -8px !important;
}

.goku-thumb-next {
  right: -8px !important;
}

.goku-thumbs-row {
  display: flex !important;
  gap: 8px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 4px 2px !important;
  width: 100% !important;
}

.goku-thumbs-row::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.goku-thumb-item {
  flex: 0 0 68px;
  height: 68px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  padding: 2px;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.goku-thumb-item.active,
.goku-thumb-item:hover {
  border-color: #eab308;
  transform: translateY(-1px);
}

.goku-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

/* ==========================================================================
   Product Summary (Buy Box)
   ========================================================================== */
.goku-product-summary {
  display: flex;
  flex-direction: column;
}

.goku-entry-title {
  font-size: 22px;
  font-weight: 700;
  color: #222222;
  line-height: 1.35;
  margin-bottom: 10px;
}

.goku-rating-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #666;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eeeeee;
  flex-wrap: wrap;
}

.goku-stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

/* Price Box (Modern UI/UX Pricing Presentation) */
.goku-price-box {
  background: #fdfdfd !important;
  border: 1px solid #eeeeee !important;
  border-radius: 6px !important;
  padding: 14px 18px !important;
  margin-bottom: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.goku-price-wrap {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.goku-main-price {
  display: inline-flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  line-height: 1.2 !important;
  font-family: inherit !important;
}

/* Regular / Original Strikethrough Price */
.goku-main-price del {
  color: #888888 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  text-decoration: line-through !important;
  margin-right: 10px !important;
  opacity: 0.85 !important;
}

.goku-main-price del .amount {
  color: #888888 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

/* Active / Sale Price (Prominent, NO underline) */
.goku-main-price ins {
  color: #d32f2f !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  letter-spacing: -0.3px !important;
}

.goku-main-price ins .amount {
  color: #d32f2f !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

/* Single Price When Not On Sale */
.goku-main-price > .amount,
.goku-main-price > span:not(del):not(ins) {
  color: #d32f2f !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.goku-main-price .woocommerce-Price-currencySymbol {
  font-size: 0.82em !important;
  font-weight: 700 !important;
  margin-left: 2px !important;
}

/* Discount savings badge */
.goku-discount-badge {
  background: #ffebee !important;
  color: #c62828 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  border: 1px solid #ffcdd2 !important;
  display: inline-flex !important;
  align-items: center !important;
  letter-spacing: 0.2px !important;
  line-height: 1 !important;
}

.goku-stock-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #16a34a;
  font-size: 12px;
  font-weight: 600;
}

.goku-stock-dot {
  width: 8px;
  height: 8px;
  background: #16a34a;
  border-radius: 50%;
}

/* Quà Tặng Box */
.goku-promo-box {
  border: 1px solid #fde68a;
  background: #fefce8;
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.goku-promo-header {
  font-size: 13.5px;
  font-weight: 700;
  color: #a16207;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.goku-promo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #333333;
  padding: 0;
  margin: 0;
}

.goku-promo-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.goku-promo-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #eab308;
  font-size: 11px;
}

.goku-promo-list a {
  color: #ca8a04;
  font-weight: 600;
}

.goku-promo-list a:hover {
  text-decoration: underline;
}

/* Warranty Box */
.goku-warranty-box {
  border: 1px solid #e0e0e0;
  background: #ffffff;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.goku-warranty-title {
  font-size: 13px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 6px;
}

.goku-warranty-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: #555555;
  padding: 0;
  margin: 0;
}

.goku-warranty-list li {
  position: relative;
  padding-left: 18px;
}

.goku-warranty-list li::before {
  content: "🛡️";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 10px;
}

/* ==========================================================================
   Cart Actions (Clear Separation, No Overlap, Explicit Color Overrides)
   ========================================================================== */
.goku-product-layout .goku-cart-actions {
  display: flex !important;
  flex-direction: column !important;
  margin-bottom: 22px !important;
}

.goku-product-layout form.goku-cart-form,
.goku-product-layout form.cart {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.goku-product-layout .goku-qty-and-cart {
  display: flex !important;
  gap: 12px !important;
  align-items: stretch !important;
  margin-bottom: 14px !important;
  width: 100% !important;
}

.goku-product-layout .goku-qty-selector {
  display: flex !important;
  align-items: center !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  flex: 0 0 auto !important;
  height: 46px !important;
}

.goku-product-layout .goku-qty-btn {
  width: 38px !important;
  height: 46px !important;
  background: #f7f7f7 !important;
  border: none !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #444444 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  outline: none !important;
}

.goku-product-layout .goku-qty-btn:hover {
  background: #ebebeb !important;
}

.goku-product-layout .goku-qty-input {
  width: 48px !important;
  height: 46px !important;
  text-align: center !important;
  border: none !important;
  border-left: 1px solid #e5e5e5 !important;
  border-right: 1px solid #e5e5e5 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #222222 !important;
  background: #ffffff !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Thêm vào giỏ hàng button (Forced white background with gold border) */
.goku-product-layout button.goku-btn-add-to-cart,
.goku-product-layout .goku-btn-add-to-cart.button,
.goku-product-layout .goku-btn-add-to-cart.single_add_to_cart_button,
.goku-product-layout .goku-qty-and-cart .button.alt {
  flex: 1 !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: #0b0f19 !important;
  border: 2px solid #eab308 !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  height: 46px !important;
  line-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-transform: uppercase !important;
  padding: 0 16px !important;
  margin: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.goku-product-layout button.goku-btn-add-to-cart:hover,
.goku-product-layout .goku-btn-add-to-cart.button:hover,
.goku-product-layout .goku-btn-add-to-cart.single_add_to_cart_button:hover {
  background-color: #fef9c3 !important;
  background: #fef9c3 !important;
  color: #0b0f19 !important;
  border-color: #ca8a04 !important;
}

.goku-product-layout button.goku-btn-add-to-cart svg {
  fill: currentColor !important;
  width: 18px !important;
  height: 18px !important;
}

/* Buy Now Button Wrapper - Guaranteed Spacing */
.goku-product-layout .goku-buy-now-wrapper {
  margin-top: 14px !important;
  width: 100% !important;
  display: block !important;
}

.goku-product-layout button.goku-btn-buy-now,
.goku-product-layout .goku-btn-buy-now {
  width: 100% !important;
  height: auto !important;
  min-height: 58px !important;
  background-color: #eab308 !important;
  background: #eab308 !important;
  color: #0b0f19 !important;
  border: none !important;
  border-radius: 4px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 16px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35) !important;
  transition: background 0.2s ease, transform 0.1s ease !important;
  cursor: pointer !important;
  margin: 0 !important;
  text-transform: none !important;
  line-height: 1.35 !important;
}

.goku-product-layout .goku-btn-buy-now span:first-child {
  display: block !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  line-height: 1.25 !important;
}

.goku-product-layout button.goku-btn-buy-now:hover,
.goku-product-layout .goku-btn-buy-now:hover {
  background-color: #fde047 !important;
  background: #fde047 !important;
  transform: translateY(-1px) !important;
}

.goku-product-layout .goku-btn-sub {
  display: block !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  opacity: 0.95 !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}

/* Fast Contact Buttons */
.goku-fast-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.goku-btn-zalo {
  background: #eff6ff;
  color: #0068ff;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.goku-btn-zalo:hover {
  background: #dbeafe;
}

.goku-btn-call {
  background: #ffffff;
  color: #333333;
  border: 1px solid #dddddd;
  border-radius: 4px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.goku-btn-call:hover {
  background: #f5f5f5;
}

/* Meta Details */
.goku-meta-details {
  font-size: 12.5px;
  color: #777777;
  padding-top: 12px;
  border-top: 1px solid #eeeeee;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.goku-meta-details a {
  color: #ca8a04;
  font-weight: 600;
}

.goku-meta-details a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Mobile Responsive Rules (Phone Screen Optimizations <= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .goku-product-layout {
    padding: 10px 0 25px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .goku-product-hero {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    margin-bottom: 25px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .goku-product-gallery,
  .goku-product-summary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .goku-main-photo-wrap {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
  }

  .goku-entry-title {
    font-size: 19px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }

  .goku-rating-meta {
    font-size: 11.5px !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
    padding-bottom: 10px !important;
  }

  /* Price Box on Mobile */
  .goku-price-box {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 12px 14px !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .goku-price-wrap {
    width: 100% !important;
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .goku-main-price {
    font-size: 21px !important;
    line-height: 1.2 !important;
  }

  .goku-main-price ins {
    font-size: 21px !important;
  }

  .goku-main-price del {
    font-size: 14px !important;
    margin-right: 6px !important;
  }

  .goku-stock-badge {
    font-size: 11.5px !important;
  }

  /* Promo & Warranty on Mobile */
  .goku-promo-box,
  .goku-warranty-box {
    padding: 12px 14px !important;
    width: 100% !important;
  }

  .goku-promo-list,
  .goku-warranty-list {
    font-size: 12px !important;
  }

  /* Qty and Add to Cart on Mobile */
  .goku-product-layout .goku-qty-and-cart {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    align-items: stretch !important;
  }

  .goku-product-layout .goku-qty-selector {
    flex: 0 0 100px !important;
    height: 44px !important;
  }

  .goku-product-layout .goku-qty-btn {
    width: 32px !important;
    height: 44px !important;
  }

  .goku-product-layout .goku-qty-input {
    width: 36px !important;
    height: 44px !important;
    font-size: 14px !important;
  }

  .goku-product-layout button.goku-btn-add-to-cart,
  .goku-product-layout .goku-btn-add-to-cart.button {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: 13px !important;
    height: 44px !important;
    line-height: 40px !important;
    padding: 0 8px !important;
    white-space: nowrap !important;
  }

  .goku-product-layout .goku-btn-add-to-cart span {
    font-size: 13px !important;
  }

  .goku-product-layout .goku-btn-add-to-cart svg {
    width: 16px !important;
    height: 16px !important;
  }

  /* Buy Now Button on Mobile */
  .goku-product-layout button.goku-btn-buy-now,
  .goku-product-layout .goku-btn-buy-now {
    padding: 13px 10px !important;
    min-height: 52px !important;
    width: 100% !important;
  }

  .goku-product-layout .goku-btn-buy-now span:first-child {
    font-size: 13px !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }

  .goku-product-layout .goku-btn-sub {
    font-size: 11px !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  /* Fast Contact on Mobile */
  .goku-fast-contact {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .goku-btn-zalo,
  .goku-btn-call {
    width: 100% !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
  }

  /* Tabs Nav on Mobile */
  .goku-product-layout .goku-tabs-nav {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: 100% !important;
  }

  .goku-product-layout .goku-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }

  .goku-product-layout .goku-tab-btn {
    padding: 11px 13px !important;
    font-size: 12.5px !important;
    flex: 0 0 auto !important;
  }

  .goku-product-layout .goku-tab-content-area {
    padding: 16px 12px !important;
  }
}

/* ==========================================================================
   Tabs Section (Strict Spacing, Clean Border, Indented Content)
   ========================================================================== */
.goku-product-layout .goku-tabs-wrapper {
  border: 1px solid #e5e5e5 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  margin-top: 25px !important;
  margin-bottom: 40px !important;
  overflow: hidden !important;
}

.goku-product-layout .goku-tabs-nav {
  display: flex !important;
  border-bottom: 1px solid #e5e5e5 !important;
  background: #fafafa !important;
  overflow-x: auto !important;
}

.goku-product-layout .goku-tab-btn {
  padding: 14px 24px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #555555 !important;
  border: none !important;
  border-right: 1px solid #e5e5e5 !important;
  cursor: pointer !important;
  background: #fafafa !important;
  white-space: nowrap !important;
  outline: none !important;
  transition: all 0.15s ease !important;
}

.goku-product-layout .goku-tab-btn.active {
  background: #ffffff !important;
  color: #a16207 !important;
  border-bottom: 2px solid #eab308 !important;
  margin-bottom: -1px !important;
}

.goku-product-layout .goku-tab-content-area {
  padding: 30px !important; /* Generous 30px padding around all tab content */
  background: #ffffff !important;
}

@media (max-width: 600px) {
  .goku-product-layout .goku-tab-content-area {
    padding: 18px 14px !important;
  }
}

.goku-product-layout .goku-tab-pane {
  display: none;
}

.goku-product-layout .goku-tab-pane.active {
  display: block !important;
}

/* ==========================================================================
   Specifications Table (Fix: Generous Padding & Left Alignment - No Sticking)
   ========================================================================== */
.goku-product-layout .goku-specs-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  font-size: 14px !important;
  margin: 18px 0 28px 0 !important;
  border: 1px solid #e2e8f0 !important;
  table-layout: fixed !important;
  background: #ffffff !important;
}

.goku-product-layout .goku-specs-table tr {
  border-bottom: 1px solid #edf2f7 !important;
}

.goku-product-layout .goku-specs-table tr:nth-child(even) {
  background-color: #f8fafc !important;
}

.goku-product-layout .goku-specs-table tr:hover {
  background-color: #f1f5f9 !important;
}

.goku-product-layout .goku-specs-table td {
  padding: 12px 24px !important; /* Generous 24px left/right padding */
  border-right: 1px solid #edf2f7 !important;
  border-bottom: 1px solid #edf2f7 !important;
  vertical-align: middle !important;
  line-height: 1.55 !important;
  box-sizing: border-box !important;
}

.goku-product-layout .goku-specs-table .goku-spec-name {
  width: 35% !important;
  font-weight: 700 !important;
  color: #334155 !important;
  text-align: left !important;
  padding-left: 24px !important; /* Explicitly indented from left frame */
}

.goku-product-layout .goku-specs-table .goku-spec-val {
  width: 65% !important;
  color: #0f172a !important;
  text-align: left !important; /* LEFT-ALIGNED! DO NOT RIGHT ALIGN! */
  padding-left: 24px !important;
  padding-right: 24px !important;
}

@media (max-width: 600px) {
  .goku-product-layout .goku-specs-table .goku-spec-name {
    width: 45% !important;
    padding-left: 12px !important;
    padding-right: 8px !important;
  }
  .goku-product-layout .goku-specs-table .goku-spec-val {
    width: 55% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ==========================================================================
   SEO Article Typography (Step 5, 6, 7 of Seo helper.txt)
   ========================================================================== */
.goku-seo-article {
  color: #333333;
  font-size: 14.5px;
  line-height: 1.7;
}

.goku-lead-paragraph {
  font-size: 15px;
  line-height: 1.75;
  background: #fefce8;
  border-left: 4px solid #eab308;
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 25px;
  color: #334155;
}

.goku-seo-article h2 {
  font-size: 19px;
  font-weight: 700;
  color: #222222;
  margin: 28px 0 12px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid #eeeeee;
}

.goku-seo-article h3 {
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  margin: 20px 0 10px 0;
}

.goku-seo-article p {
  margin-bottom: 14px;
}

.goku-video-block {
  margin: 25px 0;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 18px;
}

.goku-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}

.goku-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.goku-article-image-box {
  margin: 22px 0;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  background: #fafafa;
}

.goku-article-image-box img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  background: #fff;
  display: block;
}

.goku-img-caption {
  font-size: 12.5px;
  color: #666;
  text-align: center;
  padding: 8px 12px;
  background: #f7f7f7;
  border-top: 1px solid #eee;
  font-style: italic;
}

/* Classroom Photos Grid matching design exactly */
.classroom-block {
  margin-top: 15px !important;
  margin-bottom: 25px !important;
}

.classroom-photos-grid,
.goku-classroom-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  margin-top: 12px !important;
  margin-bottom: 22px !important;
}

@media (max-width: 768px) {
  .classroom-photos-grid,
  .goku-classroom-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

.classroom-photo-item,
.goku-classroom-item {
  border: 1px solid #e0e0e0 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  cursor: zoom-in !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.classroom-photo-item:hover,
.goku-classroom-item:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.classroom-photo-item img,
.goku-classroom-item img {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.25s ease !important;
}

.classroom-photo-item:hover img,
.goku-classroom-item:hover img {
  transform: scale(1.04) !important;
}

/* SEO Conclusion Box matching design exactly */
.seo-conclusion-box,
.goku-conclusion-box {
  background: #fefce8 !important;
  border: 1px solid #fde68a !important;
  border-radius: 4px !important;
  padding: 20px 24px !important;
  margin-top: 30px !important;
  text-align: left !important;
}

.seo-conclusion-box h3,
.goku-conclusion-box h3 {
  font-size: 16.5px !important;
  font-weight: 700 !important;
  color: #a16207 !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

.seo-conclusion-box p,
.goku-conclusion-box p {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: #333333 !important;
  margin-bottom: 12px !important;
}

.seo-conclusion-box p:last-child,
.goku-conclusion-box p:last-child {
  margin-bottom: 0 !important;
}

/* Tab 3: Workshop Photos Gallery */
.goku-gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

@media (max-width: 768px) {
  .goku-gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

.goku-gallery-masonry img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: zoom-in;
}

.goku-gallery-masonry img:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Sticky Buy Bar
   ========================================================================== */
.goku-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.goku-sticky-bar.show {
  transform: translateY(0);
}

.goku-sticky-inner {
  max-width: 1425px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.goku-sticky-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.goku-sticky-thumb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  background: #fafafa;
}

.goku-sticky-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #222;
}

.goku-sticky-price {
  font-size: 15px;
  font-weight: 700;
  color: #d32f2f;
}

.goku-sticky-cta {
  background: #eab308;
  color: #0b0f19;
  border: none;
  border-radius: 4px;
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35);
}

.goku-sticky-cta:hover {
  background: #fde047;
}

/* ==========================================================================
   Fullscreen Lightbox Zoom Modal
   ========================================================================== */
.goku-lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  align-items: center;
  justify-content: center;
}

.goku-lightbox-modal.active {
  display: flex !important;
}

.goku-lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.goku-lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.goku-lightbox-img-wrap {
  max-width: 82vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.goku-lightbox-img-wrap img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: #ffffff;
}

.goku-lightbox-close {
  position: absolute;
  top: -45px;
  right: -10px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 38px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  padding: 0 10px;
  transition: transform 0.15s ease, color 0.15s ease;
  outline: none;
}

.goku-lightbox-close:hover {
  transform: scale(1.15);
  color: #eab308;
}

.goku-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  font-size: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: none;
  outline: none;
}

.goku-lightbox-arrow:hover {
  background: rgba(76, 175, 80, 0.9);
}

.goku-lightbox-arrow.goku-prev {
  left: -60px;
}

.goku-lightbox-arrow.goku-next {
  right: -60px;
}

@media (max-width: 768px) {
  .goku-lightbox-arrow.goku-prev {
    left: 10px;
  }
  .goku-lightbox-arrow.goku-next {
    right: 10px;
  }
  .goku-lightbox-close {
    top: -40px;
    right: 0;
  }
}

.goku-lightbox-counter {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  color: #e0e0e0;
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   Related Products Customizations
   1. Hide category breadcrumbs/meta on related product loop cards
   2. Ensure clean title & pricing alignment
   ========================================================================== */
.related.products .products-page-cats,
.related-products .products-page-cats,
.products-title.related-products-title ~ * .products-page-cats,
.related.products .product-details .products-page-cats,
.related.products .posted_in {
  display: none !important;
}

.related.products .product-title,
.related-products .product-title {
  margin-top: 6px !important;
}

/* --------------------------------------------------------------------------
   Related Products Pricing Prominence (High-Contrast & Hierarchy)
   -------------------------------------------------------------------------- */
.related.products .price,
.related-products .price,
.products-title.related-products-title ~ * .price,
.related.products .content-product .price {
  display: flex !important;
  flex-direction: row-reverse !important;
  justify-content: flex-end !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 6px 8px !important;
  margin-top: 8px !important;
  line-height: 1.2 !important;
}

/* Active / Current Price (Red, Bold, Prominent) */
.related.products .price .amount,
.related-products .price .amount,
.products-title.related-products-title ~ * .price .amount,
.related.products .content-product .price .amount,
.related.products .price ins .amount,
.related-products .price ins .amount {
  color: #d32f2f !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -0.2px !important;
}

/* Ins element reset */
.related.products .price ins,
.related-products .price ins {
  text-decoration: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Strikethrough Original Price (Muted Slate Gray) */
.related.products .price del,
.related-products .price del,
.products-title.related-products-title ~ * .price del,
.related.products .content-product .price del {
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
  margin: 0 !important;
  opacity: 0.85 !important;
}

.related.products .price del .amount,
.related-products .price del .amount,
.products-title.related-products-title ~ * .price del .amount,
.related.products .content-product .price del .amount {
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
}

/* Currency symbol spacing & sizing */
.related.products .price .woocommerce-Price-currencySymbol,
.related-products .price .woocommerce-Price-currencySymbol {
  font-size: 12px !important;
  font-weight: 600 !important;
  margin-left: 2px !important;
}

