/* ══════════════════════════════════════════════════════════════
   Jabeenz — Single Product Page Styles
   BEM naming with .jbz- prefix
   ══════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────
   Layout — Two-Column (55/45)
   ────────────────────────────────────── */
.jbz-single-product {
  padding-bottom: var(--jbz-space-16);
}

.jbz-single-product__layout {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--jbz-space-12);
  align-items: start;
  padding-top: var(--jbz-space-8);
}

/* ──────────────────────────────────────
   Gallery — Left Column
   ────────────────────────────────────── */
.jbz-single-product__gallery {
  position: sticky;
  top: calc(var(--jbz-space-8) + 80px); /* accounts for sticky header */
}

.jbz-single-product__gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: var(--jbz-radius-lg);
  background: var(--jbz-grey-100);
  aspect-ratio: 3 / 4;
  cursor: zoom-in;
}

.jbz-single-product__gallery-main--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.jbz-single-product__gallery-main--placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jbz-single-product__gallery-link {
  display: block;
  width: 100%;
  height: 100%;
}

.jbz-single-product__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--jbz-transition-slow);
}

.jbz-single-product__gallery-main:hover .jbz-single-product__main-img {
  transform: scale(1.05);
}

/* Thumbnails */
.jbz-single-product__gallery-thumbs {
  display: flex;
  gap: var(--jbz-space-3);
  margin-top: var(--jbz-space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--jbz-grey-300) transparent;
  padding-bottom: var(--jbz-space-2);
}

.jbz-single-product__gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}

.jbz-single-product__gallery-thumbs::-webkit-scrollbar-track {
  background: transparent;
}

.jbz-single-product__gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--jbz-grey-300);
  border-radius: var(--jbz-radius-full);
}

.jbz-single-product__thumb {
  flex: 0 0 auto;
  width: 80px;
  height: 107px;
  border-radius: var(--jbz-radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  scroll-snap-align: start;
  transition:
    border-color var(--jbz-transition-fast),
    opacity var(--jbz-transition-fast);
  background: var(--jbz-grey-100);
  padding: 0;
}

.jbz-single-product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jbz-single-product__thumb:hover {
  border-color: var(--jbz-grey-500);
}

.jbz-single-product__thumb--active {
  border-color: var(--jbz-primary);
}

.jbz-single-product__thumb--active:hover {
  border-color: var(--jbz-primary);
}

/* Video thumbnail */
.jbz-single-product__thumb--video {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jbz-dark);
  color: var(--jbz-white);
}

.jbz-single-product__thumb-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--jbz-radius-full);
  backdrop-filter: blur(4px);
}

/* Badges overlay on gallery */
.jbz-badges--single {
  position: absolute;
  top: var(--jbz-space-4);
  left: var(--jbz-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--jbz-space-2);
  z-index: var(--jbz-z-dropdown);
}

/* ──────────────────────────────────────
   Details — Right Column
   ────────────────────────────────────── */
.jbz-single-product__details {
  display: flex;
  flex-direction: column;
  gap: var(--jbz-space-6);
}

/* Title */
.jbz-single-product__title {
  font-family: var(--jbz-font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: var(--jbz-line-height-heading);
  color: var(--jbz-dark);
  margin: 0;
}

/* ──────────────────────────────────────
   Price — Mode-Aware
   ────────────────────────────────────── */
.jbz-single-product__price {
  margin: 0;
}

.jbz-single-product__price--enquire {
  font-family: var(--jbz-font-heading);
  font-style: italic;
  font-size: var(--jbz-font-size-xl);
  color: var(--jbz-grey-700);
}

.jbz-single-product__price--buy,
.jbz-single-product__price--both {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--jbz-space-2);
}

.jbz-single-product__price-from {
  font-size: var(--jbz-font-size-sm);
  color: var(--jbz-grey-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.jbz-single-product__price-amount {
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-3xl);
  font-weight: 700;
  color: var(--jbz-dark);
}

.jbz-single-product__price-amount del {
  color: var(--jbz-grey-500);
  font-weight: 400;
  font-size: var(--jbz-font-size-xl);
  text-decoration: line-through;
}

.jbz-single-product__price-amount ins {
  color: var(--jbz-primary);
  text-decoration: none;
}

.jbz-single-product__price-badge {
  margin-left: var(--jbz-space-2);
}

.jbz-single-product__price-note {
  width: 100%;
  font-size: var(--jbz-font-size-xs);
  color: var(--jbz-grey-500);
  margin-top: var(--jbz-space-1);
}

/* ──────────────────────────────────────
   Taxonomies — Category & Occasion
   ────────────────────────────────────── */
.jbz-single-product__taxonomies {
  display: flex;
  flex-wrap: wrap;
  gap: var(--jbz-space-3);
  font-size: var(--jbz-font-size-sm);
}

.jbz-single-product__taxonomies a {
  color: var(--jbz-secondary);
  text-decoration: none;
  transition: color var(--jbz-transition-fast);
}

.jbz-single-product__taxonomies a:hover {
  color: var(--jbz-secondary-hover);
  text-decoration: underline;
}

.jbz-single-product__category,
.jbz-single-product__occasion {
  color: var(--jbz-grey-700);
}

/* ──────────────────────────────────────
   Specs — Fabric, Embroidery, Weight
   ────────────────────────────────────── */
.jbz-single-product__specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--jbz-space-4);
  padding: var(--jbz-space-5);
  background: var(--jbz-grey-100);
  border-radius: var(--jbz-radius-md);
}

.jbz-single-product__spec {
  display: flex;
  flex-direction: column;
  gap: var(--jbz-space-1);
}

.jbz-single-product__spec-label {
  font-size: var(--jbz-font-size-xs);
  color: var(--jbz-grey-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.jbz-single-product__spec-value {
  font-size: var(--jbz-font-size-sm);
  color: var(--jbz-dark);
  font-weight: 500;
}

/* ──────────────────────────────────────
   Short Description / Excerpt
   ────────────────────────────────────── */
.jbz-single-product__excerpt {
  font-size: var(--jbz-font-size-base);
  line-height: var(--jbz-line-height-body);
  color: var(--jbz-grey-700);
}

.jbz-single-product__excerpt p:last-child {
  margin-bottom: 0;
}

/* ──────────────────────────────────────
   Customisation Note
   ────────────────────────────────────── */
.jbz-single-product__customisation {
  display: flex;
  gap: var(--jbz-space-3);
  padding: var(--jbz-space-4);
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border-radius: var(--jbz-radius-md);
  border-left: 3px solid var(--jbz-secondary);
}

.jbz-single-product__customisation-icon {
  flex-shrink: 0;
  color: var(--jbz-secondary-hover);
  margin-top: 2px;
}

.jbz-single-product__customisation p {
  margin: 0;
  font-size: var(--jbz-font-size-sm);
  color: #78350F;
  line-height: var(--jbz-line-height-body);
}

/* ──────────────────────────────────────
   Dupatta Info
   ────────────────────────────────────── */
.jbz-single-product__dupatta {
  padding: var(--jbz-space-3) var(--jbz-space-4);
  background: var(--jbz-light);
  border-radius: var(--jbz-radius-md);
  border: 1px solid rgba(229, 45, 39, 0.1);
}

.jbz-single-product__dupatta-label {
  display: inline-flex;
  align-items: center;
  gap: var(--jbz-space-2);
  font-weight: 600;
  font-size: var(--jbz-font-size-sm);
  color: var(--jbz-primary);
}

.jbz-single-product__dupatta-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--jbz-primary);
  border-radius: var(--jbz-radius-full);
}

.jbz-single-product__dupatta-desc {
  margin: var(--jbz-space-2) 0 0;
  font-size: var(--jbz-font-size-sm);
  color: var(--jbz-grey-700);
  line-height: var(--jbz-line-height-body);
}

/* ──────────────────────────────────────
   CTA — Dual Mode Buttons
   ────────────────────────────────────── */
.jbz-single-product__cta {
  display: flex;
  flex-direction: column;
  gap: var(--jbz-space-4);
}

.jbz-single-product__cta .jbz-btn--lg {
  width: 100%;
  justify-content: center;
  padding: var(--jbz-space-5) var(--jbz-space-8);
  font-size: var(--jbz-font-size-lg);
}

.jbz-single-product__cta--buy,
.jbz-single-product__cta--both {
  gap: var(--jbz-space-4);
}

/* Enquire alt CTA */
.jbz-single-product__enquire-alt {
  text-align: center;
  font-size: var(--jbz-font-size-sm);
  color: var(--jbz-grey-500);
  margin: 0;
}

.jbz-single-product__enquire-alt a {
  color: var(--jbz-whatsapp);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--jbz-transition-fast);
}

.jbz-single-product__enquire-alt a:hover {
  color: var(--jbz-whatsapp-hover);
  text-decoration: underline;
}

/* Lead Time */
.jbz-single-product__lead-time {
  display: flex;
  align-items: center;
  gap: var(--jbz-space-2);
  font-size: var(--jbz-font-size-sm);
  color: var(--jbz-grey-500);
  margin: 0;
}

.jbz-single-product__lead-time svg {
  flex-shrink: 0;
  color: var(--jbz-secondary);
}

/* ──────────────────────────────────────
   Quantity Input
   ────────────────────────────────────── */
.jbz-quantity {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--jbz-grey-200);
  border-radius: var(--jbz-radius-md);
  overflow: hidden;
  transition: border-color var(--jbz-transition-fast);
}

.jbz-quantity:focus-within {
  border-color: var(--jbz-primary);
}

.jbz-quantity__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--jbz-grey-100);
  border: none;
  cursor: pointer;
  color: var(--jbz-dark);
  transition:
    background var(--jbz-transition-fast),
    color var(--jbz-transition-fast);
  padding: 0;
}

.jbz-quantity__btn:hover:not(:disabled) {
  background: var(--jbz-grey-200);
}

.jbz-quantity__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.jbz-quantity__input {
  width: 52px;
  height: 44px;
  border: none;
  text-align: center;
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-base);
  font-weight: 600;
  color: var(--jbz-dark);
  background: var(--jbz-white);
  -moz-appearance: textfield;
}

.jbz-quantity__input::-webkit-outer-spin-button,
.jbz-quantity__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.jbz-quantity__input:focus {
  outline: none;
}

.jbz-quantity--fixed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--jbz-space-2) var(--jbz-space-4);
  font-weight: 600;
  color: var(--jbz-grey-700);
}

/* ──────────────────────────────────────
   Trust Badges
   ────────────────────────────────────── */
.jbz-single-product__trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--jbz-space-3);
  padding: var(--jbz-space-5);
  background: var(--jbz-grey-100);
  border-radius: var(--jbz-radius-md);
}

.jbz-single-product__trust-item {
  display: flex;
  align-items: center;
  gap: var(--jbz-space-2);
  font-size: var(--jbz-font-size-xs);
  color: var(--jbz-grey-700);
}

.jbz-single-product__trust-item svg {
  flex-shrink: 0;
  color: var(--jbz-secondary);
}

/* ──────────────────────────────────────
   Social Sharing
   ────────────────────────────────────── */
.jbz-single-product__share {
  display: flex;
  align-items: center;
  gap: var(--jbz-space-4);
  padding-top: var(--jbz-space-4);
  border-top: 1px solid var(--jbz-grey-200);
}

.jbz-single-product__share-label {
  font-size: var(--jbz-font-size-sm);
  color: var(--jbz-grey-500);
  font-weight: 500;
}

.jbz-single-product__share-buttons {
  display: flex;
  gap: var(--jbz-space-2);
}

.jbz-single-product__share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--jbz-radius-full);
  border: 1px solid var(--jbz-grey-200);
  background: var(--jbz-white);
  color: var(--jbz-grey-700);
  cursor: pointer;
  transition:
    background var(--jbz-transition-fast),
    color var(--jbz-transition-fast),
    border-color var(--jbz-transition-fast),
    transform var(--jbz-transition-fast);
  text-decoration: none;
  padding: 0;
}

.jbz-single-product__share-btn:hover {
  transform: translateY(-2px);
}

.jbz-single-product__share-btn--whatsapp:hover {
  background: var(--jbz-whatsapp);
  color: var(--jbz-white);
  border-color: var(--jbz-whatsapp);
}

.jbz-single-product__share-btn--pinterest:hover {
  background: #E60023;
  color: var(--jbz-white);
  border-color: #E60023;
}

.jbz-single-product__share-btn--facebook:hover {
  background: #1877F2;
  color: var(--jbz-white);
  border-color: #1877F2;
}

.jbz-single-product__share-btn--copy:hover {
  background: var(--jbz-dark);
  color: var(--jbz-white);
  border-color: var(--jbz-dark);
}

.jbz-single-product__share-btn--copied {
  background: var(--jbz-whatsapp) !important;
  color: var(--jbz-white) !important;
  border-color: var(--jbz-whatsapp) !important;
}

/* ──────────────────────────────────────
   Meta
   ────────────────────────────────────── */
.jbz-single-product__meta {
  display: flex;
  flex-direction: column;
  gap: var(--jbz-space-2);
  font-size: var(--jbz-font-size-sm);
  padding-top: var(--jbz-space-4);
  border-top: 1px solid var(--jbz-grey-200);
}

.jbz-single-product__meta-row {
  display: flex;
  gap: var(--jbz-space-2);
  line-height: 1.6;
}

.jbz-single-product__meta-label {
  color: var(--jbz-grey-500);
  flex-shrink: 0;
  font-weight: 500;
}

.jbz-single-product__meta-value {
  color: var(--jbz-grey-700);
}

.jbz-single-product__meta-value a {
  color: var(--jbz-secondary);
  text-decoration: none;
  transition: color var(--jbz-transition-fast);
}

.jbz-single-product__meta-value a:hover {
  color: var(--jbz-secondary-hover);
  text-decoration: underline;
}

/* Occasion dots */
.jbz-single-product__occasion-link {
  display: inline-flex;
  align-items: center;
  gap: var(--jbz-space-1);
}

.jbz-single-product__occasion-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: var(--jbz-radius-full);
  flex-shrink: 0;
}

/* ──────────────────────────────────────
   Product Tabs (Desktop) / Accordion (Mobile)
   ────────────────────────────────────── */
.jbz-tabs {
  margin-top: var(--jbz-space-8);
}

/* Desktop tab navigation */
.jbz-tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--jbz-grey-200);
  margin-bottom: var(--jbz-space-8);
}

.jbz-tabs__tab {
  padding: var(--jbz-space-4) var(--jbz-space-6);
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-sm);
  font-weight: 600;
  color: var(--jbz-grey-500);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition:
    color var(--jbz-transition-fast),
    border-color var(--jbz-transition-fast);
  white-space: nowrap;
}

.jbz-tabs__tab:hover {
  color: var(--jbz-dark);
}

.jbz-tabs__tab--active {
  color: var(--jbz-primary);
  border-bottom-color: var(--jbz-primary);
}

/* Mobile accordion triggers — hidden on desktop */
.jbz-tabs__accordion-trigger {
  display: none;
}

/* Tab panels */
.jbz-tabs__panel {
  display: none;
}

.jbz-tabs__panel--active {
  display: block;
}

.jbz-tabs__panel[hidden] {
  display: none;
}

.jbz-tabs__panel-inner {
  font-size: var(--jbz-font-size-base);
  line-height: var(--jbz-line-height-body);
  color: var(--jbz-grey-700);
  max-width: 800px;
}

.jbz-tabs__panel-inner h4 {
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-lg);
  color: var(--jbz-dark);
  margin-top: var(--jbz-space-6);
  margin-bottom: var(--jbz-space-3);
}

.jbz-tabs__panel-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jbz-tabs__panel-inner ul li {
  position: relative;
  padding-left: var(--jbz-space-6);
  margin-bottom: var(--jbz-space-2);
}

.jbz-tabs__panel-inner ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--jbz-secondary);
  border-radius: var(--jbz-radius-full);
}

.jbz-tabs__panel-inner a {
  color: var(--jbz-whatsapp);
  font-weight: 600;
  text-decoration: none;
}

.jbz-tabs__panel-inner a:hover {
  text-decoration: underline;
}

/* Fabric tab specific */
.jbz-tab-fabric__row {
  display: flex;
  justify-content: space-between;
  padding: var(--jbz-space-3) 0;
  border-bottom: 1px solid var(--jbz-grey-200);
}

.jbz-tab-fabric__row:last-of-type {
  border-bottom: none;
}

.jbz-tab-fabric__label {
  color: var(--jbz-grey-500);
  font-weight: 500;
}

.jbz-tab-fabric__value {
  color: var(--jbz-dark);
  font-weight: 600;
}

.jbz-tab-fabric__care {
  margin-top: var(--jbz-space-6);
  padding-top: var(--jbz-space-4);
  border-top: 1px solid var(--jbz-grey-200);
}

/* Delivery tab specific */
.jbz-tab-delivery__row--highlight {
  display: flex;
  gap: var(--jbz-space-3);
  padding: var(--jbz-space-4);
  background: var(--jbz-light);
  border-radius: var(--jbz-radius-md);
  border-left: 3px solid var(--jbz-secondary);
  margin-bottom: var(--jbz-space-6);
}

.jbz-tab-delivery__row--highlight svg {
  flex-shrink: 0;
  color: var(--jbz-secondary);
  margin-top: 2px;
}

.jbz-tab-delivery__row--highlight strong {
  color: var(--jbz-dark);
}

.jbz-tab-delivery__row--highlight p {
  margin: var(--jbz-space-1) 0 0;
}

.jbz-tab-delivery__custom-note {
  margin-top: var(--jbz-space-4);
  padding: var(--jbz-space-3) var(--jbz-space-4);
  background: #FEF3C7;
  border-radius: var(--jbz-radius-md);
  font-size: var(--jbz-font-size-sm);
}

.jbz-tab-delivery__custom-note p {
  margin: 0;
  color: #92400E;
}

/* Styling tab */
.jbz-tab-styling__cta {
  margin-top: var(--jbz-space-6);
  padding: var(--jbz-space-4);
  background: var(--jbz-grey-100);
  border-radius: var(--jbz-radius-md);
  text-align: center;
}

/* ──────────────────────────────────────
   Sections — Complete Look & Related
   ────────────────────────────────────── */
.jbz-section {
  padding-top: var(--jbz-space-16);
  padding-bottom: var(--jbz-space-16);
}

.jbz-section__heading {
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-3xl);
  font-weight: 700;
  color: var(--jbz-dark);
  text-align: center;
  margin-bottom: var(--jbz-space-10);
}

.jbz-single-product__related {
  background: var(--jbz-grey-100);
}

.jbz-single-product__complete-look {
  border-top: 1px solid var(--jbz-grey-200);
}

/* Product Grid */
.jbz-product-grid {
  display: grid;
  gap: var(--jbz-space-6);
}

.jbz-product-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ──────────────────────────────────────
   Breadcrumb
   ────────────────────────────────────── */
.jbz-breadcrumb {
  padding: var(--jbz-space-4) 0;
}

.jbz-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--jbz-space-1);
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--jbz-font-size-sm);
}

.jbz-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: var(--jbz-space-1);
  color: var(--jbz-grey-500);
}

.jbz-breadcrumb__item a {
  color: var(--jbz-grey-500);
  text-decoration: none;
  transition: color var(--jbz-transition-fast);
}

.jbz-breadcrumb__item a:hover {
  color: var(--jbz-secondary);
}

.jbz-breadcrumb__item--current {
  color: var(--jbz-dark);
  font-weight: 500;
}

.jbz-breadcrumb__separator {
  display: flex;
  align-items: center;
  color: var(--jbz-grey-300);
  margin-left: var(--jbz-space-1);
}

/* ──────────────────────────────────────
   Sticky Mobile Bar
   ────────────────────────────────────── */
.jbz-single-product__sticky-bar {
  position: fixed;
  bottom: 60px; /* Above mobile bottom tabs */
  left: 0;
  right: 0;
  z-index: var(--jbz-z-sticky);
  background: var(--jbz-white);
  border-top: 1px solid var(--jbz-grey-200);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform var(--jbz-transition-base),
    opacity var(--jbz-transition-base);
  pointer-events: none;
}

.jbz-single-product__sticky-bar--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.jbz-single-product__sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--jbz-space-3) 0;
}

.jbz-single-product__sticky-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.jbz-single-product__sticky-title {
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-sm);
  font-weight: 600;
  color: var(--jbz-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jbz-single-product__sticky-price {
  font-size: var(--jbz-font-size-xs);
  color: var(--jbz-grey-700);
  font-weight: 600;
}

/* ──────────────────────────────────────
   WooCommerce form.cart overrides
   ────────────────────────────────────── */
.jbz-single-product .cart {
  margin: 0;
  padding: 0;
}

.jbz-single-product .cart .quantity {
  margin: 0;
}

/* ──────────────────────────────────────
   Responsive — Tablet (< 1024px)
   ────────────────────────────────────── */
@media (max-width: 1024px) {
  .jbz-single-product__layout {
    grid-template-columns: 50fr 50fr;
    gap: var(--jbz-space-8);
  }

  .jbz-single-product__title {
    font-size: var(--jbz-font-size-3xl);
  }

  .jbz-product-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ──────────────────────────────────────
   Responsive — Mobile (< 768px)
   ────────────────────────────────────── */
@media (max-width: 768px) {

  .jbz-single-product__layout {
    grid-template-columns: 1fr;
    gap: var(--jbz-space-6);
    padding-top: var(--jbz-space-4);
  }

  .jbz-single-product__gallery {
    position: static;
  }

  .jbz-single-product__title {
    font-size: var(--jbz-font-size-2xl);
  }

  .jbz-single-product__price-amount {
    font-size: var(--jbz-font-size-2xl);
  }

  .jbz-single-product__specs {
    grid-template-columns: 1fr 1fr;
  }

  .jbz-single-product__trust {
    grid-template-columns: 1fr;
  }

  /* Gallery thumbs smaller on mobile */
  .jbz-single-product__thumb {
    width: 64px;
    height: 85px;
  }

  /* ── Tabs → Accordion on mobile ── */
  .jbz-tabs__nav {
    display: none;
  }

  .jbz-tabs__accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--jbz-space-4);
    font-family: var(--jbz-font-body);
    font-size: var(--jbz-font-size-base);
    font-weight: 600;
    color: var(--jbz-dark);
    background: none;
    border: none;
    border-bottom: 1px solid var(--jbz-grey-200);
    cursor: pointer;
    transition: color var(--jbz-transition-fast);
    text-align: left;
  }

  .jbz-tabs__accordion-trigger:hover {
    color: var(--jbz-primary);
  }

  .jbz-tabs__accordion-icon {
    transition: transform var(--jbz-transition-fast);
    flex-shrink: 0;
    color: var(--jbz-grey-500);
  }

  .jbz-tabs__accordion-trigger--active .jbz-tabs__accordion-icon {
    transform: rotate(180deg);
    color: var(--jbz-primary);
  }

  .jbz-tabs__panel {
    display: none;
  }

  .jbz-tabs__panel--active {
    display: block;
    padding: var(--jbz-space-4);
    border-bottom: 1px solid var(--jbz-grey-200);
    animation: jbz-accordion-open 0.3s ease;
  }

  @keyframes jbz-accordion-open {
    from {
      opacity: 0;
      max-height: 0;
    }
    to {
      opacity: 1;
      max-height: 2000px;
    }
  }

  /* Product grid — 2 columns on mobile */
  .jbz-product-grid--4 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--jbz-space-4);
  }

  /* Sections spacing */
  .jbz-section {
    padding-top: var(--jbz-space-10);
    padding-bottom: var(--jbz-space-10);
  }

  .jbz-section__heading {
    font-size: var(--jbz-font-size-2xl);
    margin-bottom: var(--jbz-space-6);
  }

  /* Sticky bar */
  .jbz-single-product__sticky-bar {
    bottom: 56px; /* mobile bottom tabs */
  }

  /* Breadcrumb wrapping */
  .jbz-breadcrumb {
    padding: var(--jbz-space-3) 0;
  }

  .jbz-breadcrumb__list {
    font-size: var(--jbz-font-size-xs);
  }
}

/* ──────────────────────────────────────
   Responsive — Small Mobile (< 480px)
   ────────────────────────────────────── */
@media (max-width: 480px) {
  .jbz-single-product__share {
    flex-direction: column;
    align-items: flex-start;
  }

  .jbz-single-product__specs {
    grid-template-columns: 1fr;
  }

  .jbz-single-product__title {
    font-size: var(--jbz-font-size-xl);
  }
}

/* ──────────────────────────────────────
   Desktop sticky bar hidden (> 768px)
   ────────────────────────────────────── */
@media (min-width: 769px) {
  .jbz-single-product__sticky-bar {
    display: none;
  }
}

/* ──────────────────────────────────────
   Print
   ────────────────────────────────────── */
@media print {
  .jbz-single-product__sticky-bar,
  .jbz-single-product__share,
  .jbz-single-product__cta .jbz-btn--whatsapp {
    display: none !important;
  }

  .jbz-single-product__layout {
    grid-template-columns: 1fr 1fr;
  }

  .jbz-single-product__gallery {
    position: static;
  }
}
