/* Single product — extracted EXACTLY from user's design HTML */

.makeart-single { background: var(--bg); }

.breadcrumb { padding: 16px 0; border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); }
.breadcrumb-inner a { transition: color .15s; }
.breadcrumb-inner a:hover { color: var(--orange); }
.breadcrumb-inner .sep { opacity: 0.4; }
.breadcrumb-inner .current { color: var(--ink); font-weight: 500; }

.product-page { padding: 40px 0 80px; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.gallery { position: sticky; top: 88px; }
.gallery-main {
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
  margin-bottom: 14px;
  cursor: zoom-in;
  /* Internal padding so a `contain` image breathes inside the rounded
     container instead of touching the edge. */
  padding: 18px;
}
/* object-fit: contain — the FULL product is shown, never cropped at the
   sides. Matches what the merchant asked for on wide letter products
   (was `cover` which sliced off the leftmost / rightmost letters). */
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.gallery-main:hover img { transform: scale(1.04); }
.gallery-badge { position: absolute; top: 20px; right: 20px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 100px; z-index: 2; }
.gallery-fav { position: absolute; top: 20px; left: 20px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); display: grid; place-items: center; color: var(--ink-soft); z-index: 2; cursor: pointer; transition: all .2s; border: none; }
.gallery-fav:hover { color: var(--orange); transform: scale(1.08); }
.gallery-fav svg { width: 18px; height: 18px; }
.gallery-fav.active svg { fill: var(--orange); color: var(--orange); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-thumb {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
  padding: 6px;
}
.gallery-thumb:hover { border-color: var(--ink-soft); }
.gallery-thumb.active { border-color: var(--orange); }
/* `contain` here too so wide products are previewed in full — otherwise the
   user clicks a thumb and the main image looks different from what they saw. */
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s;
}

.product-info-col { padding-top: 4px; }
.product-cat-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.product-cat-label svg { width: 14px; height: 14px; }
.product-title { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; letter-spacing: -0.5px; line-height: 1.15; color: var(--ink); margin-bottom: 14px; }

.rating-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.rating-stars { display: flex; gap: 3px; color: var(--orange); }
.rating-stars svg { width: 16px; height: 16px; fill: currentColor; }
.rating-num { font-size: 14px; font-weight: 700; color: var(--ink); }
.rating-count { font-size: 13px; color: var(--ink-muted); border-bottom: 1px solid var(--line); }
.rating-sold { font-size: 13px; color: var(--ink-muted); padding-right: 14px; border-right: 1px solid var(--line); }

.price-block { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.price-main { font-family: var(--serif); font-size: 38px; font-weight: 700; letter-spacing: -1px; color: var(--ink); line-height: 1; }
.price-main .currency { font-size: 22px; color: var(--ink-muted); font-weight: 600; margin-left: 2px; }
.price-old { font-size: 18px; color: var(--ink-muted); text-decoration: line-through; font-weight: 500; }
.price-save { background: var(--orange-light); color: var(--orange); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 100px; }

.inline-trust { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; margin-bottom: 20px; flex-wrap: wrap; }
.inline-trust-item { display: flex; align-items: center; gap: 6px; color: var(--ink-soft); }
.inline-trust-sep { color: var(--line); }
.dot-green { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.live-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; animation: pulse-ring 2s ease-in-out infinite; box-shadow: 0 0 0 0 rgba(237,106,38,.4); }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(237,106,38,.4); } 70% { box-shadow: 0 0 0 6px rgba(237,106,38,0); } 100% { box-shadow: 0 0 0 0 rgba(237,106,38,0); } }

.pdiv { height: 1px; background: var(--line-soft); margin: 24px 0; }

.option-label { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.option-label span { font-weight: 500; color: var(--ink-muted); }
.option-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.option-chip { padding: 10px 18px; border-radius: 100px; border: 1.5px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--surface); cursor: pointer; transition: all .15s; display: flex; align-items: center; gap: 8px; }
.option-chip:hover { border-color: var(--ink-soft); color: var(--ink); }
.option-chip.active { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }
.option-chip-swatch { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(0,0,0,.08); }
.size-chips { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.size-chip { width: 52px; height: 52px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-soft); background: var(--surface); cursor: pointer; transition: all .15s; display: grid; place-items: center; }
.size-chip:hover { border-color: var(--ink-soft); }
.size-chip.active { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }

.personalization-box { background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 22px; transition: border-color .2s; }
.personalization-box:focus-within { border-color: var(--orange); }
.personalization-box-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.personalization-box-title { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.personalization-box-title svg { width: 16px; height: 16px; color: var(--orange); }
.personalization-box-req { font-size: 11px; font-weight: 600; color: var(--orange); background: var(--orange-light); padding: 3px 9px; border-radius: 100px; }
.personalization-input { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 16px; font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--surface); outline: none; transition: border-color .15s; resize: none; }
.personalization-input:focus { border-color: var(--orange); }
.personalization-hint { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--ink-muted); }
.personalization-preview-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-weight: 600; font-size: 12px; cursor: pointer; transition: opacity .15s; background: none; border: none; }
.personalization-preview-btn:hover { opacity: 0.75; }
.personalization-preview-btn svg { width: 13px; height: 13px; }

.qty-gift-row { display: flex; align-items: center; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.qty-ctrl { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--line); border-radius: 100px; overflow: hidden; background: var(--surface); }
.qty-btn { width: 42px; height: 42px; display: grid; place-items: center; font-size: 20px; font-weight: 300; color: var(--ink); cursor: pointer; transition: all .15s; border: none; background: none; }
.qty-btn:hover { background: var(--bg-soft); }
.qty-val { width: 44px; text-align: center; font-size: 15px; font-weight: 700; color: var(--ink); border-left: 1px solid var(--line); border-right: 1px solid var(--line); line-height: 42px; }
.gift-wrap-inline { display: flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1.5px solid var(--line); border-radius: 100px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: all .18s; flex: 1; justify-content: center; background: var(--surface); }
.gift-wrap-inline:hover { border-color: var(--orange-soft); color: var(--ink); }
.gift-wrap-inline.active { border-color: var(--orange); background: var(--orange-light); color: var(--orange); }
.gift-wrap-inline-check { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 11px; color: #fff; background: var(--surface); flex-shrink: 0; transition: all .15s; }
.gift-wrap-inline.active .gift-wrap-inline-check { background: var(--orange); border-color: var(--orange); }

.btn-design-main { width: 100%; background: var(--orange); color: #fff; border: none; border-radius: 14px; padding: 18px 24px; font-size: 17px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: all .2s; box-shadow: 0 6px 20px rgba(237,106,38,.3); margin-bottom: 10px; letter-spacing: -0.2px; }
.btn-design-main:hover { background: #d85a1a; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(237,106,38,.4); }
.btn-design-main svg { width: 18px; height: 18px; }
.btn-add-secondary { width: 100%; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 24px; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: all .2s; margin-bottom: 18px; }
.btn-add-secondary:hover { border-color: var(--ink); background: var(--bg-soft); }
.btn-add-secondary svg { width: 16px; height: 16px; }

.micro-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.micro-trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.micro-trust-item svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }

.delivery-box { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.delivery-box-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-light); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; }
.delivery-box-icon svg { width: 22px; height: 22px; }
.delivery-box-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.delivery-box-text span { font-size: 13px; color: var(--ink-muted); }

.share-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.share-label { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.share-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: all .15s; cursor: pointer; }
.share-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.share-btn svg { width: 15px; height: 15px; }

.tabs-section { padding: 64px 0; border-top: 1px solid var(--line-soft); }
.tabs-nav { display: flex; border-bottom: 2px solid var(--line-soft); gap: 0; margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; }
.tab-btn { padding: 14px 28px; font-size: 15px; font-weight: 600; color: var(--ink-muted); cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -2px; transition: all .18s; white-space: nowrap; background: none; border-top: 0; border-left: 0; border-right: 0; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--orange); border-bottom-color: var(--orange); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.details-prose h3 { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 14px; color: var(--ink); letter-spacing: -0.3px; }
.details-prose p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 16px; }

.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--line-soft); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 13px 0; font-size: 14px; vertical-align: top; }
.specs-table td:first-child { font-weight: 700; color: var(--ink); width: 44%; padding-left: 0; }
.specs-table td:last-child { color: var(--ink-soft); }

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; cursor: pointer; gap: 16px; }
.faq-q-text { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.2px; flex: 1; }
.faq-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); flex-shrink: 0; transition: all .2s; }
.faq-icon svg { width: 16px; height: 16px; transition: transform .25s; }
.faq-item.open .faq-icon { background: var(--orange); color: #fff; border-color: var(--orange); }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { font-size: 15px; color: var(--ink-soft); line-height: 1.7; padding-bottom: 20px; }
.faq-item.open .faq-a { max-height: 400px; }

.related { padding: 72px 0; background: var(--bg-soft); }
.related-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 16px; flex-wrap: wrap; }
.related-title { font-family: var(--serif); font-size: 32px; font-weight: 700; letter-spacing: -0.5px; color: var(--ink); }
.related-title .accent { color: var(--orange); font-style: italic; font-weight: 500; }
.view-all-link { font-size: 14px; font-weight: 600; color: var(--orange); border-bottom: 1.5px solid var(--orange); padding-bottom: 1px; white-space: nowrap; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--line-soft); padding: 14px 20px; z-index: 90; gap: 12px; align-items: center; box-shadow: 0 -8px 24px rgba(0,0,0,.08); }
.sticky-cta-info { flex: 1; }
.sticky-cta-name { font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta-price { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--orange); line-height: 1; margin-top: 2px; }
.sticky-cta-btn { background: var(--orange); color: #fff; border: none; border-radius: 100px; padding: 13px 24px; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; flex-shrink: 0; transition: all .2s; }
.sticky-cta-btn:hover { background: #d85a1a; }

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery { position: static; }
  .gallery-main { max-height: 500px; }
  .details-grid { grid-template-columns: 1fr; gap: 32px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-cta { display: flex; }
  .product-page { padding-bottom: 100px; }
}
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .micro-trust { gap: 12px; }
  .delivery-box { flex-direction: column; text-align: center; }
}

/* Hide the customizer plugin's built-in launch button on product pages — we render our own */
.makeart-cust-mount-hidden .makeart-customizer-mount { display: none !important; }
