/* ============================================= */
/* FILE: pdp.css                                 */
/* SECTION: Product Detail Page — Complete       */
/* ============================================= */

/* ---------- Scoped Variables ---------- */
.stellar-pdp-wrap {
  --cream: #F9F0E1;
  --paper: #FFFAF1;
  --sage: #9FABA0;
  --sage-ink: #5B7262;
  --forest: #1F3328;
  --forest-2: #2B4535;
  --brass: #A7843F;
  --ink: #23302A;
  --muted: #63705F;
  --line: #E3D8C3;
  --plate: #F3E8D3;
  --ok: #3F7A55;
  --danger: #A2432F;
  --bg: #F9F0E1;
  --surface: #FFFAF1;
  --text: #23302A;
  --onforest: #F4EBDA;
  width: 100%;
  box-sizing: border-box;
}

/* ---------- Typography Base ---------- */
.stellar-pdp-wrap h1,
.stellar-pdp-wrap h2,
.stellar-pdp-wrap h3,
.stellar-pdp-wrap .serif {
  font-family: "Marcellus", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.15;
  margin: 0;
}

/* ---------- Breadcrumbs ---------- */
.stellar-pdp-wrap .pd-crumbs {
  padding: 14px 0 6px;
  font-size: 14px;
  color: var(--muted);
}

.stellar-pdp-wrap .pd-crumbs a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}

.stellar-pdp-wrap .pd-crumbs a:hover {
  color: var(--text);
}

.stellar-pdp-wrap .pd-crumbs span {
  color: var(--text);
}

/* ---------- PDP Layout ---------- */
.stellar-pdp-wrap .pdp {
  padding-bottom: 20px;
}

.stellar-pdp-wrap .pdp .pd {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(30px, 4vw, 80px);
  padding: 10px 0 30px;
  align-items: start;
}

/* ---------- Gallery ---------- */
.stellar-pdp-wrap.gallery,
.stellar-pdp-wrap .gallery,
.elementor-widget-stellar-pdp-gallery,
.elementor-widget-stellar-pdp-gallery .stellar-pdp-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.stellar-pdp-wrap .g-main,
.elementor-widget-stellar-pdp-gallery .g-main,
.stellar-pdp-wrap.gallery .g-main,
.elementor-element .stellar-pdp-wrap .g-main,
body.single-product .stellar-pdp-wrap .g-main,
body.single-product .g-main,
div.g-main#gMain {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: none;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden !important;
  background: var(--plate, #F3E8D3);
  border: 1px solid rgba(227, 216, 195, 0.85);
  box-shadow: 0 16px 40px -10px rgba(35, 48, 42, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: zoom-in;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.stellar-pdp-wrap .g-main:hover,
.elementor-widget-stellar-pdp-gallery .g-main:hover {
  box-shadow: 0 20px 48px -10px rgba(35, 48, 42, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stellar-pdp-wrap .g-main.is-plate-zoomed,
.elementor-widget-stellar-pdp-gallery .g-main.is-plate-zoomed {
  cursor: zoom-out !important;
}

@media (hover: hover) and (pointer: fine) {
  .stellar-pdp-wrap .g-main.is-plate-zoomed .g-slide.on img,
  .elementor-widget-stellar-pdp-gallery .g-main.is-plate-zoomed .g-slide.on img {
    transform: scale(2.2) !important;
    cursor: zoom-out !important;
  }
}

.stellar-pdp-wrap .g-slide,
.elementor-widget-stellar-pdp-gallery .g-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s cubic-bezier(0.16, 1, 0.3, 1), visibility .25s ease;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  z-index: 0;
}

.stellar-pdp-wrap .g-slide.is-var-hidden,
.elementor-widget-stellar-pdp-gallery .g-slide.is-var-hidden,
.stellar-pdp-wrap .g-thumb.is-var-hidden,
.elementor-widget-stellar-pdp-gallery .g-thumb.is-var-hidden,
.gallery .g-slide.is-var-hidden,
.gallery .g-thumb.is-var-hidden,
.g-slide.is-var-hidden,
.g-thumb.is-var-hidden,
div.g-slide.is-var-hidden,
button.g-thumb.is-var-hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.stellar-pdp-wrap .g-slide.on,
.elementor-widget-stellar-pdp-gallery .g-slide.on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.stellar-pdp-wrap .g-slide img,
.elementor-widget-stellar-pdp-gallery .g-slide img,
.elementor-element .g-slide img,
div.g-slide img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, transform-origin;
}

/* Scoped PDP Image Containment */
.stellar-pdp-wrap img,
.elementor-widget-stellar-pdp-gallery img {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Product Video Slide & Player */
.stellar-pdp-wrap .g-slide.g-slide-video,
.elementor-widget-stellar-pdp-gallery .g-slide.g-slide-video {
  background: #000000;
  cursor: default !important;
}

.stellar-pdp-wrap .g-video-wrapper,
.elementor-widget-stellar-pdp-gallery .g-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  overflow: hidden;
  border-radius: inherit;
}

.stellar-pdp-wrap .g-video-iframe,
.elementor-widget-stellar-pdp-gallery .g-video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: inherit;
  outline: none;
}

/* Video Thumbnail Badge */
.stellar-pdp-wrap .g-thumb.g-thumb-video,
.elementor-widget-stellar-pdp-gallery .g-thumb.g-thumb-video,
.g-thumb.g-thumb-video {
  position: relative;
}

.stellar-pdp-wrap .g-thumb-play-badge,
.elementor-widget-stellar-pdp-gallery .g-thumb-play-badge,
.g-thumb-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  background: rgba(31, 51, 40, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 3;
}

.stellar-pdp-wrap .g-thumb-play-badge svg,
.elementor-widget-stellar-pdp-gallery .g-thumb-play-badge svg,
.g-thumb-play-badge svg {
  margin-left: 2px;
  width: 13px;
  height: 13px;
  display: block;
}

.stellar-pdp-wrap .g-thumb.g-thumb-video:hover .g-thumb-play-badge,
.elementor-widget-stellar-pdp-gallery .g-thumb.g-thumb-video:hover .g-thumb-play-badge,
.stellar-pdp-wrap .g-thumb.g-thumb-video.on .g-thumb-play-badge,
.elementor-widget-stellar-pdp-gallery .g-thumb.g-thumb-video.on .g-thumb-play-badge,
.g-thumb.g-thumb-video:hover .g-thumb-play-badge,
.g-thumb.g-thumb-video.on .g-thumb-play-badge {
  background: #FF0000;
  border-color: #FFFFFF;
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.55);
}

/* Lightbox Video Container */
.stellar-lightbox .sl-video-container {
  position: relative;
  width: min(88vw, 880px);
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.stellar-lightbox .sl-video-container iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

.stellar-lightbox .sl-thumb-video {
  position: relative;
}

.stellar-pdp-wrap .art-slide {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--sage-ink);
  padding: 12%;
}

.stellar-pdp-wrap .art-slide svg {
  width: 100%;
  height: 100%;
}

/* Glassmorphic Navigation Buttons */
.stellar-pdp-wrap .g-nav,
.elementor-widget-stellar-pdp-gallery .g-nav,
.gallery .g-nav,
button.g-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #1F3328;
  cursor: pointer;
  z-index: 4;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  outline: none !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.stellar-pdp-wrap .g-nav:hover,
.elementor-widget-stellar-pdp-gallery .g-nav:hover,
.gallery .g-nav:hover,
button.g-nav:hover {
  background: #1F3328;
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(31, 51, 40, 0.28);
  border-color: #1F3328;
}

.stellar-pdp-wrap .g-nav:active,
.elementor-widget-stellar-pdp-gallery .g-nav:active,
.gallery .g-nav:active,
button.g-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.stellar-pdp-wrap .g-nav.prev,
.elementor-widget-stellar-pdp-gallery .g-nav.prev,
button.g-nav.prev {
  left: 14px;
}

.stellar-pdp-wrap .g-nav.next,
.elementor-widget-stellar-pdp-gallery .g-nav.next,
button.g-nav.next {
  right: 14px;
}

.stellar-pdp-wrap .g-nav svg,
.elementor-widget-stellar-pdp-gallery .g-nav svg,
.gallery .g-nav svg,
button.g-nav svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  margin: auto !important;
  flex-shrink: 0 !important;
  pointer-events: none !important;
}

/* Modern Dark Pill Zoom Badge */
.stellar-pdp-wrap .g-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  background: rgba(27, 38, 32, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.stellar-pdp-wrap .g-hint:hover {
  background: #1F3328;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

@media (hover: none) {
  .stellar-pdp-wrap .g-hint {
    display: none;
  }

  .stellar-pdp-wrap .g-main {
    cursor: default;
  }
}

/* ---------- Thumbs Row ---------- */
.stellar-pdp-wrap .g-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 2px 10px;
  max-width: 100%;
  justify-content: flex-start;
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 114, 98, 0.3) transparent;
  -webkit-overflow-scrolling: touch;
}

.stellar-pdp-wrap .g-thumbs::-webkit-scrollbar {
  height: 4px;
}

.stellar-pdp-wrap .g-thumbs::-webkit-scrollbar-track {
  background: transparent;
}

.stellar-pdp-wrap .g-thumbs::-webkit-scrollbar-thumb {
  background: rgba(91, 114, 98, 0.25);
  border-radius: 999px;
}

.stellar-pdp-wrap .g-thumb,
.elementor-widget-stellar-pdp-gallery .g-thumb {
  width: 70px !important;
  min-width: 70px !important;
  height: 70px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 2px solid transparent;
  padding: 0;
  background: var(--plate, #F3E8D3);
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  flex-shrink: 0;
  box-sizing: border-box !important;
}

.stellar-pdp-wrap .g-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 69, 53, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09);
}

.stellar-pdp-wrap .g-thumb.on {
  border-color: #1F3328 !important;
  box-shadow: 0 0 0 1.5px #1F3328, 0 6px 18px rgba(31, 51, 40, 0.22) !important;
  transform: translateY(-2px);
}

.stellar-pdp-wrap .g-thumb img,
.elementor-widget-stellar-pdp-gallery .g-thumb img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  border-radius: 0 !important;
  padding: 4px !important;
  margin: auto !important;
  box-sizing: border-box !important;
}

.stellar-pdp-wrap .g-thumb .art-slide svg {
  width: 100%;
  height: 100%;
}

/* ---------- Product Info Column ---------- */
.stellar-pdp-wrap .pd-info .cat-l {
  font-size: 14px;
  color: var(--sage-ink);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 6px;
}

.stellar-pdp-wrap .pd-info .cat-l:hover {
  text-decoration: underline;
}

.stellar-pdp-wrap .pd-info h1 {
  font-size: clamp(28px, 3.2vw, 44px);
  margin: 4px 0 10px;
  color: var(--text);
}

.stellar-pdp-wrap .rating {
  display: inline-flex;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 10px;
  align-items: center;
}

.stellar-pdp-wrap .rating:hover {
  color: var(--text);
}

.stellar-pdp-wrap .st {
  color: var(--brass);
  letter-spacing: 2px;
}

/* ---------- Price ---------- */
.stellar-pdp-wrap .price {
  display: flex;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 6px 0 4px;
}

.stellar-pdp-wrap .pd-info .price b,
.stellar-pdp-wrap .stellar-price-block b {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
}

.stellar-pdp-wrap .pd-info .price s,
.stellar-pdp-wrap .stellar-price-block s {
  color: var(--muted);
  font-size: 16px;
}

.stellar-pdp-wrap .savepill {
  background: var(--brass);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.stellar-pdp-wrap .price b del {
  display: none !important;
}

.stellar-pdp-wrap .price b ins {
  text-decoration: none !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.stellar-pdp-wrap .tax {
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0 14px;
}

/* ---------- Perks ---------- */
.stellar-pdp-wrap .perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.stellar-pdp-wrap .perks>span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--plate);
  color: var(--text);
}

.stellar-pdp-wrap .perks svg {
  width: 18px;
  height: 18px;
  color: var(--sage-ink);
}

/* ---------- Tone Preview ---------- */
.stellar-pdp-wrap .audio {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.stellar-pdp-wrap .a-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--forest-2);
  color: #fff;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  cursor: pointer;
  flex: none;
  transition: background .15s ease, transform 0.15s ease;
  box-sizing: border-box;
}

.stellar-pdp-wrap .a-play:hover {
  background: var(--forest);
  transform: scale(1.04);
}

.stellar-pdp-wrap .a-play.is-playing {
  background: var(--brass, #A7843F) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(167, 132, 63, 0.35);
}

.stellar-pdp-wrap .a-play svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
  margin: auto;
}

.stellar-pdp-wrap .a-play svg.icon-play {
  transform: translateX(1.5px);
  margin-left: 1px;
}

.stellar-pdp-wrap .a-play svg.icon-pause {
  transform: none;
  margin: auto;
}

.stellar-pdp-wrap .a-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 0 0 auto;
}

.stellar-pdp-wrap .a-meta b {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stellar-pdp-wrap .a-meta span {
  font-size: 12px;
  color: var(--muted);
}

.stellar-pdp-wrap .a-track {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
  min-width: 60px;
}

.stellar-pdp-wrap .a-track i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brass);
  transition: width 0.15s linear;
}

.stellar-pdp-wrap .a-time {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- Shipping Steps ---------- */
.stellar-pdp-wrap .ship-line {
  list-style: none;
  padding: 16px;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  position: relative;
}

.stellar-pdp-wrap .ship-line li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  position: relative;
}

.stellar-pdp-wrap .ship-line li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  border-top: 1.5px dashed var(--line);
}

.stellar-pdp-wrap .ship-line span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--plate);
  display: grid;
  place-items: center;
  color: var(--sage-ink);
}

.stellar-pdp-wrap .ship-line svg {
  width: 18px;
  height: 18px;
}

.stellar-pdp-wrap .ship-line b {
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.stellar-pdp-wrap .ship-line em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Stock ---------- */
.stellar-pdp-wrap .stock {
  color: var(--ok);
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 18px;
}

/* ---------- Quantity + Buy ---------- */
.stellar-pdp-wrap .buy-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 18px;
}

.stellar-pdp-wrap .qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
}

.stellar-pdp-wrap .qty button {
  width: 40px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--text);
  transition: background .15s ease;
}

.stellar-pdp-wrap .qty button:hover {
  background: var(--plate);
}

.stellar-pdp-wrap .qty input {
  width: 44px;
  border: 0;
  background: none;
  text-align: center;
  font-weight: 600;
  outline: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}

.stellar-pdp-wrap .qty input::-webkit-outer-spin-button,
.stellar-pdp-wrap .qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stellar-pdp-wrap .buy-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.stellar-pdp-wrap .buy-main .btn {
  padding: 15px 22px;
  font-size: 16px;
}

/* ---------- Hide Default WooCommerce View Cart Links ---------- */
.stellar-pdp-wrap .added_to_cart,
.stellar-pdp-wrap a.added_to_cart,
.pairs .added_to_cart,
.pair .added_to_cart,
.buy-main .added_to_cart,
.sticky-buy .added_to_cart,
.stellar-pdp-add-btn+.added_to_cart,
.single-product .stellar-pdp-wrap a.added_to_cart,
.single-product a.added_to_cart,
a.added_to_cart.wc-forward {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

/* ---------- PDP Buttons ---------- */
.stellar-pdp-wrap .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--forest-2);
  background: var(--forest-2);
  color: var(--onforest);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
  font-family: inherit;
}

.stellar-pdp-wrap .btn:hover {
  background: var(--forest);
}

.stellar-pdp-wrap .btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.stellar-pdp-wrap .btn.ghost:hover {
  border-color: var(--sage-ink);
}

.stellar-pdp-wrap .btn.brass {
  background: var(--brass);
  border-color: var(--brass);
  color: #fff;
}

.stellar-pdp-wrap .btn.brass:hover {
  background: #8f6f30;
  border-color: #8f6f30;
}

.stellar-pdp-wrap .btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* ---------- WhatsApp Link ---------- */
/* ---------- WhatsApp Link ---------- */
.stellar-pdp-wrap .wa-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  color: #1F7A4A;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

.stellar-pdp-wrap .wa-link:hover {
  text-decoration: underline;
}

/* ---------- Trust Row ---------- */
.stellar-pdp-wrap .pd-trust {
  list-style: none;
  padding: 24px 0;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stellar-pdp-wrap .pd-trust li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.stellar-pdp-wrap .pd-trust svg {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--sage-ink);
  margin-top: 2px;
}

.stellar-pdp-wrap .pd-trust b {
  display: block;
  font-weight: 600;
  font-size: 15px;
}

.stellar-pdp-wrap .pd-trust span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Pairs Well With ---------- */
.stellar-pdp-wrap .pd-details {
  padding: 30px 0 10px;
}

.stellar-pdp-wrap .pairs {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
  background: var(--surface);
}

.stellar-pdp-wrap .pairs h2 {
  font-family: "Figtree", sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}

.stellar-pdp-wrap .pair {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
}

.stellar-pdp-wrap .pair .plate {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--plate);
  display: grid;
  place-items: center;
  color: var(--sage-ink);
  overflow: hidden;
}

.stellar-pdp-wrap .pair .plate svg {
  width: 70%;
  height: 70%;
}

.stellar-pdp-wrap .pair .plate img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 4px !important;
  box-sizing: border-box !important;
}

.stellar-pdp-wrap .pair .pn {
  font-weight: 500;
  font-size: 14.5px;
  text-decoration: none;
  color: var(--text);
}

.stellar-pdp-wrap .pair .pn:hover {
  color: var(--sage-ink);
}

.stellar-pdp-wrap .pair .pp {
  font-weight: 600;
  font-size: 14px;
}

.stellar-pdp-wrap .pair .btn {
  padding: 7px 16px;
  font-size: 14px;
}

/* ---------- Intro Paragraph ---------- */
.stellar-pdp-wrap .pd-intro {
  font-size: 18px;
  line-height: 1.7;
  max-width: 80ch;
  color: var(--muted);
  margin: 0 0 30px;
}

.stellar-pdp-wrap .pd-intro b {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Two Column Details ---------- */
.stellar-pdp-wrap .pd-cols {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}

.stellar-pdp-wrap .pd-cols h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  margin-bottom: 12px;
}

.stellar-pdp-wrap .pd-cols h3 {
  font-family: "Figtree", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 8px;
}

/* ---------- Features List ---------- */
.stellar-pdp-wrap .feats {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stellar-pdp-wrap .feats li {
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.stellar-pdp-wrap .feats li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass);
}

.stellar-pdp-wrap .feats b {
  display: block;
  font-weight: 600;
  color: var(--text);
}

.stellar-pdp-wrap .feats span {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Accordion ---------- */
.stellar-pdp-wrap .acc details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.stellar-pdp-wrap .acc details:first-of-type {
  border-top: 1px solid var(--line);
}

.stellar-pdp-wrap .acc summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
}

.stellar-pdp-wrap .acc summary::-webkit-details-marker {
  display: none;
}

.stellar-pdp-wrap .acc summary::marker {
  display: none;
}

.stellar-pdp-wrap .acc summary::after {
  content: "+";
  font-size: 22px;
  color: var(--muted);
  line-height: 1;
}

.stellar-pdp-wrap .acc details[open] summary::after {
  content: "–";
}

.stellar-pdp-wrap .acc p {
  color: var(--muted);
  margin: 10px 0 0;
  line-height: 1.7;
  font-size: 15px;
}

/* ---------- Reviews ---------- */
.stellar-pdp-wrap .reviews {
  padding: 40px 0 10px;
  font-family: "Figtree", system-ui, sans-serif;
  color: var(--text);
}

.stellar-pdp-wrap .rv-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.stellar-pdp-wrap .rv-head h2 {
  font-family: "Marcellus", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.15;
  font-size: clamp(26px, 2.4vw, 34px);
  margin: 0;
  color: var(--text);
}

.stellar-pdp-wrap .rv-summary {
  color: var(--muted);
  font-size: 15px;
}

.stellar-pdp-wrap .rv-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.stellar-pdp-wrap .rv-list {
  display: flex;
  flex-direction: column;
}

.stellar-pdp-wrap .rv {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.stellar-pdp-wrap .rv:first-child {
  padding-top: 0;
}

.stellar-pdp-wrap .rv:last-child {
  border-bottom: 1px solid var(--line);
}

.stellar-pdp-wrap .rv p {
  margin: 4px 0;
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

.stellar-pdp-wrap .rv-meta {
  font-size: 13px;
  color: var(--muted);
  display: block;
}

.stellar-pdp-wrap .rv-empty {
  padding: 26px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.stellar-pdp-wrap .rv-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  position: sticky;
  top: 100px;
}

.stellar-pdp-wrap .rv-form h3 {
  font-family: "Figtree", system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  color: var(--text);
}

.stellar-pdp-wrap .rv-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stellar-pdp-wrap .rv-form .field input,
.stellar-pdp-wrap .rv-form .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 12px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  outline: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
  resize: vertical;
}

.stellar-pdp-wrap .rv-form .field input:focus,
.stellar-pdp-wrap .rv-form .field textarea:focus {
  border-color: var(--sage-ink);
  box-shadow: 0 0 0 3px rgba(91, 114, 98, .12);
}

.stellar-pdp-wrap .rv-form .field textarea {
  min-height: 90px;
}

.stellar-pdp-wrap .rv-form .field input[aria-invalid="true"],
.stellar-pdp-wrap .rv-form .field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(162, 43, 47, .12);
}

.stellar-pdp-wrap .rate {
  display: flex;
  gap: 4px;
}

.stellar-pdp-wrap .rate button {
  border: 0;
  background: none;
  font-size: 28px;
  color: var(--line);
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  transition: color .15s ease, transform .1s ease;
}

.stellar-pdp-wrap .rate button:hover {
  transform: scale(1.1);
}

.stellar-pdp-wrap .rate button.on {
  color: var(--brass);
}

.stellar-pdp-wrap .rv-form .btn {
  align-self: flex-start;
}


/* ---------- Sticky Buy Bar ---------- */
.stellar-pdp-wrap .sticky-buy,
#stickyBuy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--surface);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .25s ease;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.stellar-pdp-wrap .sticky-buy.show,
#stickyBuy.show {
  transform: none;
}

.stellar-pdp-wrap .sb-in,
#stickyBuy .sb-in {
  max-width: 1760px;
  margin: 0 auto;
  padding: 10px clamp(20px, 3.2vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.stellar-pdp-wrap .sb-p,
#stickyBuy .sb-p {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.stellar-pdp-wrap .sb-p .plate,
#stickyBuy .sb-p .plate {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 10px;
  background: var(--plate);
  display: grid;
  place-items: center;
  color: var(--sage-ink);
  overflow: hidden;
}

.stellar-pdp-wrap .sb-p .plate svg,
#stickyBuy .sb-p .plate svg {
  width: 70%;
  height: 70%;
}

.stellar-pdp-wrap .sb-p .plate img,
#stickyBuy .sb-p .plate img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 3px !important;
  box-sizing: border-box !important;
}

.stellar-pdp-wrap .sb-p b,
#stickyBuy .sb-p b {
  display: block;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stellar-pdp-wrap .sb-p span,
#stickyBuy .sb-p span {
  font-size: 14px;
  color: var(--muted);
}

.stellar-pdp-wrap .sb-b,
#stickyBuy .sb-b {
  display: flex;
  gap: 8px;
}

.stellar-pdp-wrap .sb-b .btn,
#stickyBuy .sb-b .btn {
  padding: 10px 18px;
}

/* Toast styles */
.pdp-toast {
  position: fixed;
  left: 50%;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 20px);
  opacity: 0;
  background: var(--forest-2);
  color: var(--onforest);
  padding: 12px 20px;
  border-radius: 14px;
  z-index: 100;
  font-size: 15px;
  font-weight: 500;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  max-width: calc(100% - 32px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4);
  text-align: center;
}

.pdp-toast.is-error {
  background: #A2432F;
  color: #fff;
}

.pdp-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.pdp-toast a {
  color: #F4EBDA;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 4px;
  transition: color 0.15s ease;
}

.pdp-toast a:hover {
  color: #fff;
}

/* ---------- Responsive (Scoped strictly to .stellar-pdp-wrap) ---------- */

/* ── Tablet wide: 1180px ── */
@media (max-width: 1180px) {
  .stellar-pdp-wrap .pdp .pd {
    gap: clamp(24px, 3vw, 48px);
  }

  .stellar-pdp-wrap .pd-cols {
    gap: clamp(24px, 3vw, 48px);
  }

  .stellar-pdp-wrap .rv-grid {
    gap: clamp(24px, 3vw, 48px);
  }
}

/* ── Tablet: 980px ── */
@media (max-width: 980px) {

  /* PDP grid: stack gallery above info */
  .stellar-pdp-wrap .pdp .pd {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Gallery */
  .stellar-pdp-wrap .g-main,
  .elementor-widget-stellar-pdp-gallery .g-main {
    max-width: 440px !important;
    max-height: none !important;
    border-radius: 18px;
  }

  /* Product info */
  .stellar-pdp-wrap .pd-info h1 {
    font-size: clamp(26px, 5vw, 36px);
  }

  /* Trust row: 2-column */
  .stellar-pdp-wrap .pd-trust {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  /* Details + Reviews: single column */
  .stellar-pdp-wrap .pd-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stellar-pdp-wrap .rv-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Review form: un-sticky */
  .stellar-pdp-wrap .rv-form {
    position: static;
  }

  /* Shipping: 2-column grid */
  .stellar-pdp-wrap .ship-line {
    grid-template-columns: 1fr 1fr;
    row-gap: 18px;
  }

  .stellar-pdp-wrap .ship-line li:nth-child(2)::after,
  .stellar-pdp-wrap .ship-line li:nth-child(4)::after {
    display: none;
  }

  /* Sticky buy bar */
  .stellar-pdp-wrap .sb-in,
  #stickyBuy .sb-in {
    padding: 10px clamp(16px, 2.5vw, 32px);
    gap: 10px;
  }

  .stellar-pdp-wrap .sb-b .btn,
  #stickyBuy .sb-b .btn {
    padding: 9px 16px;
    font-size: 14px;
  }
}

/* ── Tablet narrow / large phone: 768px ── */
@media (max-width: 768px) {

  /* Breadcrumbs */
  .stellar-pdp-wrap .pd-crumbs {
    padding: 10px 0 4px;
    font-size: 13px;
  }

  /* Gallery */
  .stellar-pdp-wrap .g-main,
  .elementor-widget-stellar-pdp-gallery .g-main,
  div.g-main#gMain {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 80vh !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    border-radius: 18px !important;
  }

  .stellar-pdp-wrap .g-slide img,
  .elementor-widget-stellar-pdp-gallery .g-slide img {
    padding: 0 !important;
  }

  .stellar-pdp-wrap .g-thumb,
  .elementor-widget-stellar-pdp-gallery .g-thumb {
    width: 64px !important;
    min-width: 64px !important;
    height: 64px !important;
    border-radius: 12px !important;
  }

  .stellar-pdp-wrap .g-thumb img,
  .elementor-widget-stellar-pdp-gallery .g-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 3px !important;
  }

  .stellar-pdp-wrap .g-nav,
  .elementor-widget-stellar-pdp-gallery .g-nav,
  .gallery .g-nav,
  button.g-nav {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  /* Product info */
  .stellar-pdp-wrap .pd-info h1 {
    font-size: clamp(24px, 6vw, 32px);
  }

  .stellar-pdp-wrap .pd-info .price b,
  .stellar-pdp-wrap .stellar-price-block b {
    font-size: 26px;
  }

  /* Perks */
  .stellar-pdp-wrap .perks {
    gap: 8px;
  }

  .stellar-pdp-wrap .perks>span {
    font-size: 13px;
    padding: 7px 10px;
  }

  /* Audio */
  .stellar-pdp-wrap .audio {
    gap: 10px;
    padding: 10px 14px;
  }

  .stellar-pdp-wrap .a-time {
    display: none;
  }

  /* Shipping labels */
  .stellar-pdp-wrap .ship-line b {
    font-size: 12px;
  }

  .stellar-pdp-wrap .ship-line em {
    font-size: 11.5px;
  }

  /* Buy box: full-width buttons */
  .stellar-pdp-wrap .buy-main {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stellar-pdp-wrap .buy-main .btn {
    padding: 14px 20px;
  }

  /* Pairs: hide price */
  .stellar-pdp-wrap .pair {
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
  }

  .stellar-pdp-wrap .pair .pp {
    display: none;
  }

  .stellar-pdp-wrap .pair .btn {
    padding: 7px 12px;
    font-size: 13px;
  }

  /* Trust row */
  .stellar-pdp-wrap .pd-trust {
    gap: 12px;
  }

  .stellar-pdp-wrap .pd-trust svg {
    width: 26px;
    height: 26px;
  }

  .stellar-pdp-wrap .pd-trust b {
    font-size: 14px;
  }

  .stellar-pdp-wrap .pd-trust span {
    font-size: 13px;
  }

  /* Reviews */
  .stellar-pdp-wrap .rv-head {
    gap: 12px;
  }

  .stellar-pdp-wrap .rv-form {
    padding: 18px 16px;
  }

  /* Accordion */
  .stellar-pdp-wrap .acc summary {
    font-size: 15px;
  }

  /* Intro */
  .stellar-pdp-wrap .pd-intro {
    font-size: 16px;
    margin-bottom: 22px;
  }

  /* Coupon ticket */
  .stellar-pdp-wrap .stellar-coupon-card {
    padding: 14px 16px;
    gap: 12px;
  }

  .stellar-pdp-wrap .stellar-coupon-code {
    font-size: 16px;
  }

  .stellar-pdp-wrap .stellar-coupon-meta {
    min-width: 160px;
  }

  /* Sticky buy */
  .stellar-pdp-wrap .sb-p b,
  #stickyBuy .sb-p b {
    font-size: 14px;
  }

  .stellar-pdp-wrap .sb-p span,
  #stickyBuy .sb-p span {
    font-size: 13px;
  }
}

/* ── Mobile: 560px ── */
@media (max-width: 560px) {

  /* Gallery */
  .stellar-pdp-wrap .g-main,
  .elementor-widget-stellar-pdp-gallery .g-main,
  div.g-main#gMain {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 75vh !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
  }

  .stellar-pdp-wrap .g-slide img,
  .elementor-widget-stellar-pdp-gallery .g-slide img {
    padding: 6px !important;
  }

  .stellar-pdp-wrap .g-thumb,
  .elementor-widget-stellar-pdp-gallery .g-thumb {
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    border-radius: 10px !important;
  }

  .stellar-pdp-wrap .g-thumb img,
  .elementor-widget-stellar-pdp-gallery .g-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 3px !important;
  }

  .stellar-pdp-wrap .g-thumbs {
    gap: 8px;
    margin-top: 10px;
  }

  .stellar-pdp-wrap .g-nav,
  .elementor-widget-stellar-pdp-gallery .g-nav,
  .gallery .g-nav,
  button.g-nav {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  .stellar-pdp-wrap .g-nav.prev {
    left: 8px;
  }

  .stellar-pdp-wrap .g-nav.next {
    right: 8px;
  }

  /* Product info */
  .stellar-pdp-wrap .pd-info h1 {
    font-size: 22px;
  }

  .stellar-pdp-wrap .pd-info .price b,
  .stellar-pdp-wrap .stellar-price-block b {
    font-size: 22px;
  }

  .stellar-pdp-wrap .pd-info .price s,
  .stellar-pdp-wrap .stellar-price-block s {
    font-size: 14px;
  }

  .stellar-pdp-wrap .tax {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .stellar-pdp-wrap .rating {
    font-size: 13px;
    gap: 6px;
  }

  /* Perks */
  .stellar-pdp-wrap .perks {
    gap: 6px;
  }

  .stellar-pdp-wrap .perks>span {
    font-size: 12px;
    padding: 6px 9px;
    gap: 6px;
  }

  .stellar-pdp-wrap .perks svg {
    width: 15px;
    height: 15px;
  }

  /* Audio */
  .stellar-pdp-wrap .audio {
    padding: 10px 12px;
    gap: 8px;
  }

  .stellar-pdp-wrap .a-meta b {
    font-size: 13px;
  }

  .stellar-pdp-wrap .a-meta span {
    font-size: 11px;
  }

  /* Shipping */
  .stellar-pdp-wrap .ship-line {
    grid-template-columns: 1fr 1fr;
    row-gap: 16px;
    padding: 12px;
  }

  .stellar-pdp-wrap .ship-line span {
    width: 32px;
    height: 32px;
  }

  .stellar-pdp-wrap .ship-line svg {
    width: 16px;
    height: 16px;
  }

  .stellar-pdp-wrap .ship-line b {
    font-size: 11.5px;
  }

  .stellar-pdp-wrap .ship-line em {
    font-size: 11px;
  }

  /* Stock */
  .stellar-pdp-wrap .stock {
    font-size: 13px;
  }

  /* Qty + Buy */
  .stellar-pdp-wrap .buy-row {
    gap: 10px;
  }

  .stellar-pdp-wrap .qty button {
    width: 36px;
    height: 40px;
    font-size: 16px;
  }

  .stellar-pdp-wrap .qty input {
    width: 38px;
  }

  .stellar-pdp-wrap .buy-main {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }

  .stellar-pdp-wrap .buy-main .btn {
    padding: 13px 18px;
    font-size: 15px;
  }

  /* WhatsApp */
  .stellar-pdp-wrap .wa-link {
    font-size: 14px;
  }

  /* Trust row: single column */
  .stellar-pdp-wrap .pd-trust {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }

  .stellar-pdp-wrap .pd-trust li {
    gap: 10px;
  }

  .stellar-pdp-wrap .pd-trust svg {
    width: 24px;
    height: 24px;
  }

  .stellar-pdp-wrap .pd-trust b {
    font-size: 14px;
  }

  .stellar-pdp-wrap .pd-trust span {
    font-size: 13px;
  }

  /* Pairs */
  .stellar-pdp-wrap .pair {
    grid-template-columns: 44px 1fr auto;
    gap: 8px;
    padding: 6px 0;
  }

  .stellar-pdp-wrap .pair .plate {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }

  .stellar-pdp-wrap .pair .pn {
    font-size: 13.5px;
  }

  .stellar-pdp-wrap .pair .btn {
    padding: 6px 10px;
    font-size: 12px;
  }

  /* Details */
  .stellar-pdp-wrap .pd-intro {
    font-size: 15px;
  }

  .stellar-pdp-wrap .pd-cols h2 {
    font-size: 22px;
  }

  /* Accordion */
  .stellar-pdp-wrap .acc summary {
    font-size: 14.5px;
  }

  .stellar-pdp-wrap .acc p {
    font-size: 14px;
  }

  .stellar-pdp-wrap .acc details {
    padding: 13px 0;
  }

  /* Reviews */
  .stellar-pdp-wrap .rv-head {
    gap: 8px;
    margin-bottom: 12px;
  }

  .stellar-pdp-wrap .rv-head h2 {
    font-size: 22px;
  }

  .stellar-pdp-wrap .rv-form {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .stellar-pdp-wrap .rv-form h3 {
    font-size: 16px;
  }

  .stellar-pdp-wrap .rate button {
    font-size: 24px;
  }

  .stellar-pdp-wrap .rv p {
    font-size: 14px;
  }

  .stellar-pdp-wrap .rv-meta {
    font-size: 12px;
  }

  /* Coupon ticket card: stack vertically */
  .stellar-pdp-wrap .stellar-coupon-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    gap: 12px;
  }

  .stellar-pdp-wrap .stellar-coupon-meta {
    min-width: 0;
    width: 100%;
  }

  .stellar-pdp-wrap .stellar-coupon-code {
    font-size: 15px;
  }

  .stellar-pdp-wrap .stellar-coupon-actions {
    width: 100%;
  }

  .stellar-pdp-wrap .stellar-coupon-actions .btn {
    flex: 1;
    justify-content: center;
  }

  /* Inline coupon input: stack vertically */
  .stellar-pdp-wrap .coupon {
    flex-direction: column;
    gap: 8px;
  }

  .stellar-pdp-wrap .coupon .btn {
    width: 100%;
    padding: 12px 20px;
  }

  /* Sticky buy bar */
  .stellar-pdp-wrap .sb-in,
  #stickyBuy .sb-in {
    padding: 8px 14px;
    gap: 8px;
  }

  .stellar-pdp-wrap .sb-p .plate,
  #stickyBuy .sb-p .plate {
    display: none;
  }

  .stellar-pdp-wrap .sb-p b,
  #stickyBuy .sb-p b {
    font-size: 13.5px;
  }

  .stellar-pdp-wrap .sb-p span,
  #stickyBuy .sb-p span {
    font-size: 12px;
  }

  .stellar-pdp-wrap .sb-b .btn,
  #stickyBuy .sb-b .btn {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* ── Extra small: 400px ── */
@media (max-width: 400px) {

  /* Gallery */
  .stellar-pdp-wrap .g-main,
  .elementor-widget-stellar-pdp-gallery .g-main,
  div.g-main#gMain {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 70vh !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    border-radius: 14px !important;
  }

  .stellar-pdp-wrap .g-slide img,
  .elementor-widget-stellar-pdp-gallery .g-slide img {
    padding: 4px !important;
  }

  .stellar-pdp-wrap .g-thumb,
  .elementor-widget-stellar-pdp-gallery .g-thumb {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    border-radius: 8px !important;
  }

  .stellar-pdp-wrap .g-thumb img,
  .elementor-widget-stellar-pdp-gallery .g-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 2px !important;
  }

  .stellar-pdp-wrap .g-thumbs {
    gap: 6px;
  }

  /* Product info */
  .stellar-pdp-wrap .pd-info h1 {
    font-size: 20px;
  }

  .stellar-pdp-wrap .pd-info .price b,
  .stellar-pdp-wrap .stellar-price-block b {
    font-size: 20px;
  }

  /* Buy */
  .stellar-pdp-wrap .buy-main .btn {
    font-size: 14px;
    padding: 12px 14px;
  }

  /* Perks */
  .stellar-pdp-wrap .perks>span {
    font-size: 11.5px;
    padding: 5px 8px;
  }

  /* Shipping: single column */
  .stellar-pdp-wrap .ship-line {
    grid-template-columns: 1fr;
  }

  .stellar-pdp-wrap .ship-line li::after {
    display: none;
  }

  /* Pairs */
  .stellar-pdp-wrap .pair .pn {
    font-size: 12.5px;
  }

  .stellar-pdp-wrap .pair .btn {
    padding: 5px 9px;
    font-size: 11.5px;
  }

  /* Sticky bar: hide title */
  .stellar-pdp-wrap .sb-p b,
  #stickyBuy .sb-p b {
    display: none;
  }

  .stellar-pdp-wrap .sb-p,
  #stickyBuy .sb-p {
    gap: 6px;
  }

  .stellar-pdp-wrap .sb-b .btn,
  #stickyBuy .sb-b .btn {
    padding: 8px 12px;
    font-size: 12.5px;
  }

  /* Reviews form */
  .stellar-pdp-wrap .rv-form {
    padding: 12px;
  }

  .stellar-pdp-wrap .rv-form .field input,
  .stellar-pdp-wrap .rv-form .field textarea {
    font-size: 14px;
    padding: 10px 12px;
  }

  /* Coupon */
  .stellar-pdp-wrap .stellar-coupon-code {
    font-size: 14px;
    letter-spacing: 1px;
  }
}

/* =================================================================
   Stellar Coupon — Voucher Ticket Card (scoped to .stellar-pdp-wrap)
   ================================================================= */

.stellar-pdp-wrap .stellar-coupon-card,
.stellar-coupon-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 2px dashed var(--line, #E3D8C3);
  border-radius: 18px;
  background: var(--surface, #FFFAF1);
  margin: 16px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.stellar-coupon-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 200px;
}

.stellar-coupon-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--sage-ink, #5B7262);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stellar-coupon-code {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--plate, #F3E8D3);
  color: var(--forest-2, #2B4535);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border: 1px dashed var(--sage-ink, #5B7262);
  width: fit-content;
  margin: 4px 0;
  user-select: all;
}

.stellar-coupon-desc {
  font-size: 14.5px;
  font-weight: 600;
  margin: 2px 0 0;
  color: var(--text, #23302A);
}

.stellar-coupon-note {
  font-size: 12.5px;
  color: var(--muted, #63705F);
}

.stellar-coupon-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stellar-coupon-actions .btn {
  padding: 10px 18px;
  font-size: 14px;
}

/* =================================================================
   Inline Coupon Input Box (PDP scoped styles)
   ================================================================= */

.stellar-pdp-wrap .coupon {
  display: flex;
  gap: 8px;
  margin: 14px 0;
  align-items: stretch;
}

.stellar-pdp-wrap .coupon input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line, #E3D8C3);
  background: var(--bg, #F9F0E1);
  border-radius: 12px;
  padding: 11px 14px;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  color: var(--text, #23302A);
  outline: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.stellar-pdp-wrap .coupon input::placeholder {
  text-transform: none;
  letter-spacing: normal;
  color: var(--muted, #63705F);
}

.stellar-pdp-wrap .coupon input:focus {
  border-color: var(--sage-ink, #5B7262);
  box-shadow: 0 0 0 3px rgba(91, 114, 98, .12);
}

.stellar-pdp-wrap .coupon input[aria-invalid="true"] {
  border-color: var(--danger, #A2432F);
  box-shadow: 0 0 0 3px rgba(162, 43, 47, .12);
}

.stellar-pdp-wrap .coupon .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1.5px solid var(--line, #E3D8C3);
  background: var(--surface, #FFFAF1);
  color: var(--text, #23302A);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.stellar-pdp-wrap .coupon .btn:hover {
  border-color: var(--sage-ink, #5B7262);
  background: var(--plate, #F3E8D3);
}

.stellar-pdp-wrap .coupon .btn:active {
  transform: translateY(1px);
}

.stellar-pdp-wrap .coupon .btn:focus-visible {
  outline: 2px solid var(--brass, #A7843F);
  outline-offset: 3px;
}

.stellar-pdp-wrap .msg {
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  margin: 4px 0 0;
  line-height: 1.5;
  color: var(--muted, #63705F);
}

.stellar-pdp-wrap .msg.ok {
  color: var(--ok, #3F7A55);
  font-weight: 500;
}

.stellar-pdp-wrap .msg.err {
  color: var(--danger, #A2432F);
  font-weight: 500;
}

/* ============================================= */
/* SECTION: PDP Product Variations & Swatches    */
/* ============================================= */

.stellar-pdp-variations,
.elementor-widget-stellar-pdp-variations .stellar-pdp-variations {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 10px 0 16px;
  box-sizing: border-box;
}

.stellar-variation-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.stellar-variation-group:last-of-type {
  margin-bottom: 0 !important;
}

/* Headings: e.g. "Size: 52 CM" or "Type: Wide, 80 cm" */
.stellar-attr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14.5px;
  line-height: 1.35;
  margin: 0 0 8px 0;
  user-select: none;
}

.stellar-attr-header-left {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.stellar-attr-header .stellar-attr-label {
  color: var(--text, #23302A);
  font-weight: 400;
}

.stellar-attr-header .stellar-attr-selected-val {
  color: var(--text, #23302A);
  font-weight: 700;
}

/* Clear Selection Buttons — Luxury Forest Theme */
.stellar-reset-inline {
  display: none;
  align-items: center;
  gap: 5px;
  background: rgba(43, 69, 53, 0.05);
  border: 1px solid rgba(43, 69, 53, 0.16);
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--forest-2, #2B4535);
  font-family: "Figtree", system-ui, -apple-system, sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  text-decoration: none !important;
  user-select: none;
  box-shadow: 0 1px 2px rgba(43, 69, 53, 0.04);
}

.stellar-reset-inline svg {
  display: inline-block;
  width: 11px;
  height: 11px;
  stroke: currentColor;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.stellar-reset-inline:hover {
  background: var(--forest-2, #2B4535);
  border-color: var(--forest-2, #2B4535);
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(43, 69, 53, 0.22);
  text-decoration: none !important;
}

.stellar-reset-inline:hover svg {
  transform: rotate(90deg);
}

.stellar-reset-wrap {
  margin-top: 14px;
  display: block;
}

.stellar-reset-wrap .stellar-reset-variations {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface, #FFFAF1);
  border: 1px solid var(--line, #E3D8C3);
  padding: 6px 15px;
  border-radius: 999px;
  color: var(--forest-2, #2B4535);
  font-family: "Figtree", system-ui, -apple-system, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  text-decoration: none !important;
  user-select: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.stellar-reset-wrap .stellar-reset-variations svg {
  display: inline-block;
  width: 12px;
  height: 12px;
  stroke: currentColor;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.stellar-reset-wrap .stellar-reset-variations:hover {
  background: var(--forest-2, #2B4535);
  border-color: var(--forest-2, #2B4535);
  color: #FFFFFF !important;
  box-shadow: 0 3px 8px rgba(43, 69, 53, 0.25);
  text-decoration: none !important;
}

.stellar-reset-wrap .stellar-reset-variations:hover svg {
  transform: rotate(90deg);
}

/* Swatches Container */
.stellar-swatches-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

/* Base Swatch Button (Pill Style) */
.stellar-swatch-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  vertical-align: middle !important;
  cursor: pointer;
  background-color: var(--surface, #FFFAF1);
  border: 1px solid var(--line, #E3D8C3);
  color: var(--text, #23302A);
  font-size: 14px;
  font-weight: 500;
  font-family: "Figtree", system-ui, -apple-system, sans-serif;
  line-height: 1 !important;
  border-radius: 999px;
  padding: 0 22px !important;
  min-height: 38px;
  height: 38px;
  box-sizing: border-box !important;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  -webkit-tap-highlight-color: transparent;
}

.stellar-swatch-btn .swatch-text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
}

.stellar-swatch-btn:focus-visible {
  outline: 2px solid var(--brass, #A7843F);
  outline-offset: 2px;
}

.stellar-swatch-btn:hover:not(.is-disabled) {
  border-color: var(--forest-2, #2B4535);
  background-color: var(--plate, #F3E8D3);
  color: var(--forest, #1F3328);
}

.stellar-swatch-btn.is-selected {
  background-color: #2B4535 !important;
  border-color: #2B4535 !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  box-shadow: 0 3px 10px rgba(43, 69, 53, 0.28) !important;
}

/* ---------- Maroon Box Swatch (Reference Images 2 & 3: QUALITY, SOUND) ---------- */
.stellar-swatch-btn.box-maroon {
  border-radius: 2px;
  padding: 9px 22px;
  font-family: "Marcellus", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  min-height: 40px;
  border: 1px solid #E3D8C3;
  background-color: var(--surface, #FFFAF1);
  color: #23302A;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.stellar-swatch-btn.box-maroon:hover:not(.is-disabled) {
  border-color: #8B1E1E;
  color: #8B1E1E;
  background-color: #FFFDF9;
}

.stellar-swatch-btn.box-maroon.is-selected {
  border: 2px solid #8B1E1E !important;
  background-color: var(--surface, #FFFAF1) !important;
  color: #8B1E1E !important;
  font-weight: 600 !important;
}

/* ---------- Minimalist Box Swatch ---------- */
.stellar-swatch-btn.box-minimal {
  border-radius: 8px;
  padding: 8px 18px;
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--line, #E3D8C3);
  background: var(--surface, #FFFAF1);
  color: var(--text, #23302A);
}

.stellar-swatch-btn.box-minimal:hover:not(.is-disabled) {
  border-color: var(--ink, #23302A);
  background: var(--plate, #F3E8D3);
}

.stellar-swatch-btn.box-minimal.is-selected {
  border-color: var(--forest, #1F3328) !important;
  background-color: var(--forest, #1F3328) !important;
  color: var(--onforest, #F4EBDA) !important;
  font-weight: 600 !important;
}

/* Out of Stock / Disabled Swatches */
.stellar-swatch-btn.is-disabled {
  opacity: 0.38 !important;
  cursor: not-allowed !important;
  border-style: dashed !important;
  background: rgba(0, 0, 0, 0.02) !important;
}

.stellar-swatch-btn.is-disabled .swatch-text {
  text-decoration: line-through;
}

/* Validation shake animation if user clicks Add To Cart without choosing options */
@keyframes stellarAttrShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.stellar-variation-group.stellar-attr-unselected {
  animation: stellarAttrShake 0.45s cubic-bezier(.36,.07,.19,.97) both;
}

.stellar-variation-group.stellar-attr-unselected .stellar-attr-header {
  color: var(--danger, #A2432F) !important;
}

.stellar-variation-group.stellar-attr-unselected .stellar-swatches-wrap {
  outline: 1.5px dashed var(--danger, #A2432F);
  outline-offset: 4px;
  border-radius: 6px;
}

/* ============================================= */
/* SECTION: PDP Sticky Buy Bar & Variant Swatches */
/* ============================================= */

.sticky-buy {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  background-color: rgba(255, 250, 241, 0.96) !important;
  background: rgba(255, 250, 241, 0.96) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid rgba(227, 216, 195, 0.85) !important;
  box-shadow: 0 -6px 25px rgba(35, 48, 42, 0.09) !important;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  padding: 10px 0 !important;
  padding-bottom: max(10px, env(safe-area-inset-bottom, 10px)) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.sticky-buy.show {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.sticky-buy .sb-in {
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Left: Thumbnail & Title & Price */
.sticky-buy .sb-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.sticky-buy .sb-plate {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: #F3E8D3;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sticky-buy .sb-plate img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 3px !important;
  box-sizing: border-box !important;
}

.sticky-buy .sb-plate svg {
  width: 60%;
  height: 60%;
  stroke: #5B7262;
}

.sticky-buy .sb-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sticky-buy .sb-title {
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #23302A;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-buy .sb-price {
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #3F7A55;
}

/* Center: Sticky Swatches / Variations Inline */
.sticky-buy .sb-center.sb-variations {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  flex: 1 !important;
  margin: 0 !important;
  width: auto !important;
  min-width: 0 !important;
}

.sticky-buy .sb-variation-group {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  width: auto !important;
  flex-shrink: 0 !important;
}

.sticky-buy .sb-attr-label {
  font-family: "Figtree", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #23302A !important;
  white-space: nowrap !important;
}

.sticky-buy .sb-swatches-wrap {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  margin: 0 !important;
}

.sticky-buy .sb-swatch-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 5px 16px !important;
  min-height: 32px !important;
  height: 32px !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  border-radius: 999px !important;
  border: 1px solid #E3D8C3 !important;
  background: #FFFAF1 !important;
  color: #23302A !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  -webkit-tap-highlight-color: transparent;
}

.sticky-buy .sb-swatch-btn:hover:not(.is-disabled) {
  border-color: #2B4535 !important;
  background: #F3E8D3 !important;
}

.sticky-buy .sb-swatch-btn.is-selected {
  background-color: #2B4535 !important;
  border-color: #2B4535 !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
}

/* Right: Action Buttons */
.sticky-buy .sb-right.sb-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

.sticky-buy .sb-btn-add {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  border: 1.5px solid #23302A !important;
  background: transparent !important;
  color: #23302A !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  -webkit-tap-highlight-color: transparent;
}

.sticky-buy .sb-btn-add:hover {
  background: #23302A !important;
  color: #FFFFFF !important;
}

.sticky-buy .sb-btn-buy {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  border: 1.5px solid #2B4535 !important;
  background: #2B4535 !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  -webkit-tap-highlight-color: transparent;
}

.sticky-buy .sb-btn-buy:hover {
  background: #1D2E24 !important;
  border-color: #1D2E24 !important;
}

/* ── Tablet & Small Laptop (max-width: 900px) ── */
@media (max-width: 900px) {
  .sticky-buy .sb-in {
    flex-wrap: wrap;
    padding: 8px 16px;
    gap: 10px;
  }
  .sticky-buy .sb-title {
    max-width: 160px;
  }
  .sticky-buy .sb-center.sb-variations {
    order: 3;
    width: 100% !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
  }
  .sticky-buy .sb-center.sb-variations::-webkit-scrollbar {
    display: none;
  }
  .sticky-buy .sb-right.sb-actions {
    margin-left: auto;
  }
}

/* ── Mobile Layout Optimization (max-width: 640px) ── */
@media (max-width: 640px) {
  .sticky-buy {
    padding: 6px 0 !important;
    padding-bottom: max(6px, env(safe-area-inset-bottom, 6px)) !important;
    box-shadow: 0 -4px 18px rgba(35, 48, 42, 0.12) !important;
  }

  .sticky-buy .sb-in {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    padding: 0 12px !important;
    gap: 6px !important;
  }

  /* Variations strip at the top with smooth horizontal swipe */
  .sticky-buy .sb-center.sb-variations {
    grid-column: 1 / -1 !important;
    order: 1 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 0 0 5px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(227, 216, 195, 0.6) !important;
  }

  .sticky-buy .sb-center.sb-variations::-webkit-scrollbar {
    display: none !important;
  }

  .sticky-buy .sb-variation-group {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .sticky-buy .sb-attr-label {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #5B7262 !important;
    font-weight: 700 !important;
  }

  .sticky-buy .sb-swatches-wrap {
    gap: 4px !important;
  }

  .sticky-buy .sb-swatch-btn {
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 10px !important;
    font-size: 11.5px !important;
  }

  .sticky-buy .sb-left {
    grid-column: 1 / 2 !important;
    order: 2 !important;
    flex: 1 1 auto !important;
    gap: 8px !important;
  }

  .sticky-buy .sb-plate {
    width: 36px !important;
    height: 36px !important;
    border-radius: 6px !important;
  }

  .sticky-buy .sb-info {
    gap: 1px !important;
    max-width: 130px !important;
  }

  .sticky-buy .sb-title {
    font-size: 12px !important;
    max-width: 100% !important;
    line-height: 1.2 !important;
  }

  .sticky-buy .sb-price {
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .sticky-buy .sb-right.sb-actions {
    grid-column: 2 / 3 !important;
    order: 3 !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .sticky-buy .sb-btn-add {
    height: 36px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }

  .sticky-buy .sb-btn-buy {
    height: 36px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }
}

/* ── Ultra-Compact Mobile (max-width: 380px) ── */
@media (max-width: 380px) {
  .sticky-buy .sb-in {
    padding: 0 8px !important;
    gap: 4px !important;
  }

  .sticky-buy .sb-plate {
    width: 32px !important;
    height: 32px !important;
  }

  .sticky-buy .sb-info {
    max-width: 90px !important;
  }

  .sticky-buy .sb-title {
    font-size: 11.5px !important;
  }

  .sticky-buy .sb-price {
    font-size: 12px !important;
  }

  .sticky-buy .sb-right.sb-actions {
    gap: 4px !important;
  }

  .sticky-buy .sb-btn-add {
    height: 34px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
  }

  .sticky-buy .sb-btn-buy {
    height: 34px !important;
    padding: 0 11px !important;
    font-size: 11px !important;
  }
}

/* ============================================= */
/* Lightbox & Zoom Modal                         */
/* ============================================= */
.stellar-lightbox {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.stellar-lightbox.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.stellar-lightbox .sl-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 19, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.stellar-lightbox .sl-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 94vw;
  max-height: 94vh;
  padding: 10px;
  box-sizing: border-box;
}

.stellar-lightbox .sl-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  max-width: min(88vw, 60vh);
  max-height: 80vh;
  width: auto;
  height: 80vh;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.stellar-lightbox .sl-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center;
  border-radius: 18px;
  display: block;
  user-select: none;
  cursor: zoom-in;
  padding: 0;
  box-sizing: border-box;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stellar-lightbox .sl-img.is-zoomed {
  cursor: zoom-out;
  transform: scale(2);
}

.stellar-lightbox .sl-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  z-index: 10;
}

.stellar-lightbox .sl-close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.08);
}

.stellar-lightbox .sl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  z-index: 10;
}

.stellar-lightbox .sl-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.08);
}

.stellar-lightbox .sl-prev {
  left: -58px;
}

.stellar-lightbox .sl-next {
  right: -58px;
}

.stellar-lightbox .sl-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  max-width: 88vw;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: thin;
}

.stellar-lightbox .sl-thumb {
  width: 44px;
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.stellar-lightbox .sl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 2px;
  box-sizing: border-box;
}

.stellar-lightbox .sl-thumb:hover {
  opacity: 0.9;
}

.stellar-lightbox .sl-thumb.on {
  opacity: 1;
  border-color: var(--brass, #A7843F);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .stellar-lightbox .sl-prev {
    left: 6px;
    background: rgba(0, 0, 0, 0.4);
  }
  .stellar-lightbox .sl-next {
    right: 6px;
    background: rgba(0, 0, 0, 0.4);
  }
  .stellar-lightbox .sl-close {
    top: -42px;
    right: 4px;
  }
}