/*
 * ================================================================
 *  Aanra Theme — pdp.css
 *  Page-specific styles, conditionally enqueued only on this page.
 *  Split out of the former monolithic components.css.
 * ================================================================
 */

/* ================================================================
   SINGLE PRODUCT PAGE
   ================================================================ */
.aanra-product {
  background: var(--brand-white);
  padding-bottom: 0;
}

/* ================================================================
   PRODUCT DETAIL PAGE
   ================================================================ */
.aanra-product {
  background: var(--brand-white);
  margin-top: var(--header-offset-desktop);
}
@media (max-width: 767px) {
  .aanra-product { margin-top: var(--header-offset-mobile); }
}

.aanra-product__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}
@media (min-width: 768px) {
  .aanra-product__inner {
    grid-template-columns: 56px 1fr 1fr;
    gap: 0;
    padding: 40px 40px 64px;
    align-items: start;
  }
}

/* Gallery */
.aanra-product__gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 768px) {
  .aanra-product__gallery {
    flex-direction: row;
    gap: 12px;
    grid-column: 1 / 3;
    padding-right: 40px;
  }
}

.aanra-product__thumbs {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-wrap: wrap;
  order: 2;
}
@media (min-width: 768px) {
  .aanra-product__thumbs {
    flex-direction: column;
    order: 1;
    flex-wrap: nowrap;
    flex-shrink: 0;
    width: 56px;
    gap: 8px;
    overflow-y: auto;
    max-height: calc(56px * 1.25 * 6 + 8px * 5);
  }
}

.aanra-product__thumb {
  width: 56px;
  height: 70px;
  cursor: pointer;
  border: 1.5px solid transparent;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.aanra-product__thumb.is-active {
  border-color: var(--brand-gold);
}
.aanra-product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aanra-product__main-img {
  position: relative;
  order: 1;
  flex: 1;
  min-width: 0;
}
@media (min-width: 768px) {
  .aanra-product__main-img { order: 2; }
}

.aanra-product__main-img img {
  width: 100% !important;
  max-width: 85% !important;
  margin-inline: auto !important;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--brand-ivory);
  display: block;
}

.aanra-product__gallery .aanra-product__img-prev,
.aanra-product__gallery .aanra-product__img-next,
.aanra-product__img-prev,
.aanra-product__img-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.92) !important;
  border: 0.5px solid rgba(58,30,23,0.15) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: var(--brand-dark) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
}
.aanra-product__img-prev { left: 10px; display: none !important; }
.aanra-product__img-next { right: 10px; display: none !important; }
@media (min-width: 768px) {
  .aanra-product__img-prev { display: flex !important; }
  .aanra-product__img-next { display: flex !important; }
}
.aanra-product__img-prev svg,
.aanra-product__img-next svg { stroke: var(--brand-dark); }

.aanra-product__gallery .aanra-product__img-prev:hover,
.aanra-product__gallery .aanra-product__img-prev:active,
.aanra-product__gallery .aanra-product__img-prev:focus,
.aanra-product__gallery .aanra-product__img-next:hover,
.aanra-product__gallery .aanra-product__img-next:active,
.aanra-product__gallery .aanra-product__img-next:focus {
  background: rgba(255,255,255,0.92) !important;
  color: var(--brand-dark) !important;
  box-shadow: none !important;
}

.aanra-product__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}
@media (min-width: 768px) {
  .aanra-product__dots {
    display: none;
  }
}
.aanra-product__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.2s;
}
.aanra-product__dot.is-active {
  background: var(--brand-gold);
}

/* Info column */
.aanra-product__info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.aanra-product__breadcrumb {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--brand-subtext);
  margin-bottom: 14px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.aanra-product__breadcrumb a {
  color: var(--brand-subtext);
  text-decoration: none;
}
.aanra-product__breadcrumb a:hover { color: var(--brand-dark); }

.aanra-product__name {
  font-family: var(--font-display) !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  color: var(--brand-dark) !important;
  line-height: 1.2 !important;
  margin-bottom: 10px !important;
}

.aanra-product__price {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--brand-price);
  margin-bottom: 4px;
}

.aanra-product__tax-note {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--brand-subtext);
  margin-bottom: 16px;
}

.aanra-product__short-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: #666;
  line-height: 1.75;
  margin-bottom: 0;
}

.aanra-product__divider {
  height: 0.5px;
  background: rgba(58,30,23,0.1);
  margin: 18px 0;
}

/* Trust strip */
.aanra-product__trust-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  padding: 8px 0;
}
.aanra-product__trust-item {
  display: flex;
  align-items: center;
  padding: 0;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-accent);
}
.aanra-product__trust-dot {
  color: var(--brand-gold);
  margin-right: 10px;
  font-size: 18px;
  line-height: 1;
}

/* ATC row */
.aanra-product__atc-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aanra-product__qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aanra-product__icon-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.aanra-product__qty {
  display: flex;
  align-items: center;
  border: 0.5px solid rgba(58,30,23,0.2);
  border-radius: 0;
  overflow: hidden;
  width: fit-content;
  background: var(--brand-white);
}

.aanra-qty-btn {
  width: 42px;
  height: 44px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 18px;
  cursor: pointer;
  color: var(--brand-dark);
  font-family: var(--font-body);
}

.aanra-qty-input {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--brand-dark);
  outline: none;
  -webkit-appearance: none;
}

.tinv-wishlist-clear { display: none !important; }

.tinvwl-shortcode-add-to .tinvwl_add_to_wishlist_button,
a.tinvwl_add_to_wishlist_button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border: 0.5px solid rgba(58,30,23,0.2) !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: var(--brand-dark) !important;
  text-decoration: none !important;
}

a.tinvwl_add_to_wishlist_button:hover {
  border-color: var(--brand-dark) !important;
  background: none !important;
}

a.tinvwl_add_to_wishlist_button .tinvwl-label { display: none !important; }

.aanra-product__submit {
  width: 100%;
}

.aanra-product__out-of-stock {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--brand-subtext);
  margin-bottom: 8px;
}

.aanra-product__out-of-stock a {
  color: var(--brand-dark);
  text-decoration: underline;
}

.aanra-notify-me {
  margin-bottom: 8px;
}

.aanra-notify-me__label {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--brand-subtext);
  margin-bottom: 8px;
}

.aanra-notify-me__form {
  display: flex;
  gap: 8px;
}

.aanra-notify-me__input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--brand-gold-border);
  background: var(--brand-white);
  color: var(--brand-dark);
}

.aanra-notify-me__btn,
.aanra-notify-me__btn:hover,
.aanra-notify-me__btn:active,
.aanra-notify-me__btn:focus {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 12px 18px;
  background: var(--brand-accent) !important;
  color: var(--brand-white) !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
}

.aanra-notify-me__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.aanra-notify-me__success {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--brand-dark);
}

/* Detail accordion (single-open) */
.aanra-product__accordion {
  margin-top: 8px;
  border-top: 0.5px solid rgba(58,30,23,0.12);
}

.aanra-product__acc-item {
  border-bottom: 0.5px solid rgba(58,30,23,0.12);
}

.aanra-product__acc-header,
.aanra-product__acc-header:hover,
.aanra-product__acc-header:focus,
.aanra-product__acc-header:active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 4px;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
  text-align: left;
}
.aanra-product__acc-title {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.aanra-product__acc-chevron {
  color: var(--brand-dark);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.aanra-product__acc-item.is-open .aanra-product__acc-chevron {
  transform: rotate(180deg);
}

/* Panel collapses via max-height for a smooth open/close */
.aanra-product__acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.aanra-product__acc-item.is-open .aanra-product__acc-panel {
  max-height: 1500px;
}
.aanra-product__acc-panel-inner {
  padding: 0 4px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(58,30,23,0.65);
}

/* Spec table fallback (used inside Product Description when empty) */
.aanra-product__spec-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.aanra-product__spec-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 0.5px solid rgba(58,30,23,0.07);
  font-size: 13px;
}
.aanra-product__spec-row span:first-child { color: var(--brand-subtext); }
.aanra-product__spec-row span:last-child { color: var(--brand-dark); font-weight: 500; }

/* Related products */
.aanra-product__related {
  padding: 48px 20px;
  background: var(--brand-ivory);
}
@media (min-width: 768px) {
  .aanra-product__related { padding: 48px 60px; }
}

/* ================================================================
   PDP — Kadence button override + sale badge
   ================================================================ */
.aanra-product__tab-btn,
.aanra-product__tab-btn:hover,
.aanra-product__tab-btn:focus,
body.single-product .aanra-product__tab-btn {
  background: none !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 2px solid transparent !important;
  box-shadow: none !important;
  color: var(--brand-subtext) !important;
  padding: 9px 0 !important;
  margin-right: 20px !important;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
}
.aanra-product__tab-btn.is-active,
body.single-product .aanra-product__tab-btn.is-active {
  color: var(--brand-dark) !important;
  border-bottom: 2px solid var(--brand-gold) !important;
  background: none !important;
  background-color: transparent !important;
}
.aanra-qty-btn,
.aanra-qty-btn:hover,
body.single-product .aanra-qty-btn {
  background: none !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--brand-dark) !important;
  width: 42px !important;
  height: 44px !important;
  font-size: 18px !important;
  padding: 0 !important;
}
body.single-product .aanra-qty-input,
.aanra-product__qty .aanra-qty-input {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
}
.aanra-product__price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.aanra-product__save-badge {
  font-family: var(--font-body);
  font-size: 10px;
  background: #3B6D11;
  color: #fff;
  padding: 2px 8px;
  letter-spacing: 0.5px;
}

/* ================================================================
   PRODUCT IMAGE LIGHTBOX
   ================================================================ */
.aanra-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(255,255,255,0.98);
  display: none;
  flex-direction: column;
}
.aanra-lightbox.is-open { display: flex; }

.aanra-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  flex-shrink: 0;
}
.aanra-lightbox__counter {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--brand-dark);
}
.aanra-lightbox__actions { display: flex; gap: 6px; }
.aanra-lightbox__btn {
  background: none;
  border: none;
  color: var(--brand-dark);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}
.aanra-lightbox__btn:hover { background: rgba(58,30,23,0.06); }

.aanra-lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 0 12px 24px;
}
.aanra-lightbox__img {
  max-width: 90%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}
.aanra-lightbox__img.is-zoomed {
  transform: scale(2);
  cursor: zoom-out;
}

.aanra-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--brand-dark);
  cursor: pointer;
  padding: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aanra-lightbox__nav--prev { left: 12px; }
.aanra-lightbox__nav--next { right: 12px; }
.aanra-lightbox__nav:hover { color: var(--brand-accent); }

@media (max-width: 767px) {
  .aanra-lightbox__img { max-width: 96%; }
  .aanra-lightbox__nav { padding: 6px; }
  .aanra-lightbox__nav--prev { left: 4px; }
  .aanra-lightbox__nav--next { right: 4px; }
}

/* Thank you page — set password prompt */
.aanra-thankyou__pwd-prompt {
  margin: 24px 0 16px;
  padding: 16px 20px;
  border: 1px solid var(--brand-gold-light, #E5C37A);
  border-radius: 4px;
  background: var(--brand-ivory, #FAF5E2);
}
.aanra-thankyou__pwd-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--brand-subtext, #6B4C3B);
  margin: 0 0 12px;
  line-height: 1.6;
}
.aanra-thankyou__pwd-btn {
  display: inline-block;
  font-size: 13px;
  padding: 10px 20px;
}
.aanra-btn--outline {
  background: transparent !important;
  border: 1px solid var(--brand-gold, #946E1F) !important;
  color: var(--brand-gold, #946E1F) !important;
}
.aanra-btn--outline:hover {
  background: var(--brand-gold, #946E1F) !important;
  color: var(--brand-ivory, #FAF5E2) !important;
}



/* ================================================================
   CUSTOMER REVIEWS — PDP
   Reviews list visible to all. Login prompt for non-purchasers.
   Form visible only to logged-in verified purchasers (PHP-gated).
   ================================================================ */

.aanra-reviews {
  padding: 48px 24px 40px;
  border-top: 0.5px solid rgba(58,30,23,0.12);
  margin-top: 0;
  background: #fff;
}

.aanra-reviews__header {
  text-align: center;
  margin-bottom: 28px;
}

.aanra-reviews__title {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(58,30,23,0.45);
}

/* ── Review carousel — 3 cards visible on desktop, 1 on mobile,
      horizontal scroll-snap so visitors can page through all reviews ── */
.aanra-reviews__carousel {
  position: relative;
  margin: 0 0 20px;
}

.aanra-reviews__list {
  list-style: none;
  padding: 4px 2px 10px;
  margin: 0;
  display: grid;
  grid-auto-flow: column;
  /* 88% width leaves a visible sliver of the next card peeking in from the
     edge — on a full-width (100%) card there's no visual cue at all that
     more reviews exist beyond the nav arrows, which are easy to miss. */
  grid-auto-columns: 88%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.aanra-reviews__list::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  .aanra-reviews__list {
    grid-auto-columns: calc((100% - 32px) / 3);
    gap: 16px;
    padding: 4px 4px 12px;
  }
}

/* ── Individual review — now a standalone card ── */
.aanra-review {
  scroll-snap-align: start;
  padding: 20px 18px;
  border: 0.5px solid rgba(58,30,23,0.12);
  border-radius: 3px;
  background: var(--brand-white, #fff);
  display: flex;
  flex-direction: column;
}

/* ── Carousel nav arrows — same visual language as the PDP gallery
      arrows (.aanra-product__img-prev/next), same !important protection
      since that's what makes those render reliably against the rest
      of the cascade ── */
.aanra-reviews__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.92) !important;
  border: 0.5px solid rgba(58,30,23,0.15) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: var(--brand-dark) !important;
  border-radius: 50% !important;
  padding: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  box-shadow: 0 2px 6px rgba(58,30,23,0.08);
  transition: opacity 0.15s ease;
}
.aanra-reviews__nav svg { stroke: var(--brand-dark) !important; }
.aanra-reviews__nav:hover,
.aanra-reviews__nav:active,
.aanra-reviews__nav:focus {
  background: rgba(255,255,255,0.92) !important;
  color: var(--brand-dark) !important;
  box-shadow: none !important;
}
.aanra-reviews__nav[disabled] { opacity: 0.25; cursor: default; pointer-events: none; }
.aanra-reviews__nav--prev { left: -6px; }
.aanra-reviews__nav--next { right: -6px; }
@media (min-width: 768px) {
  .aanra-reviews__nav--prev { left: -17px; }
  .aanra-reviews__nav--next { right: -17px; }
}
/* Hide nav entirely when there aren't enough cards to scroll (JS toggles this) */
.aanra-reviews__carousel.is-not-scrollable .aanra-reviews__nav { display: none; }

.aanra-review__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.aanra-review__who {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aanra-review__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-ivory);
  border: 0.5px solid rgba(148,110,31,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--brand-accent);
  flex-shrink: 0;
  text-transform: uppercase;
}

.aanra-review__name {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-dark);
  margin-bottom: 2px;
}

.aanra-review__verified {
  font-family: var(--font-body);
  font-size: 9px;
  color: var(--brand-accent);
  letter-spacing: 0.3px;
}

.aanra-review__date {
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(58,30,23,0.38);
}

.aanra-review__stars {
  color: var(--brand-accent);
  font-size: 11px;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  line-height: 1;
}

.aanra-review__text {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(58,30,23,0.68);
  line-height: 1.75;
  margin: 0;
}

/* ── Customer photo ── */
.aanra-review__photos {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.aanra-review__photo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 2px;
  border: 0.5px solid rgba(58,30,23,0.12);
  cursor: zoom-in;
}

/* ── Empty state (no reviews yet) ── */
.aanra-reviews__empty {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(58,30,23,0.4);
  padding: 20px 0;
  border-top: 0.5px solid rgba(58,30,23,0.1);
  border-bottom: 0.5px solid rgba(58,30,23,0.1);
  margin-bottom: 20px;
}

/* ── Login prompt (non-logged-in / non-purchaser) ── */
.aanra-reviews__gate {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(58,30,23,0.55);
  letter-spacing: 0.3px;
  padding: 14px 0 0;
  margin-top: 0;
}

.aanra-reviews__gate a {
  color: var(--brand-accent);
  text-decoration: underline;
  font-weight: 500;
}

/* ── Write a review form (logged-in verified purchaser only) ── */
.aanra-reviews__form-wrap {
  border-top: 0.5px solid rgba(58,30,23,0.12);
  padding-top: 24px;
  margin-top: 4px;
}

.aanra-reviews__form-title {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(58,30,23,0.45);
  margin-bottom: 18px;
}

.aanra-reviews__star-picker {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.aanra-reviews__star-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: rgba(58,30,23,0.18);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.15s;
}

.aanra-reviews__star-btn.is-active,
.aanra-reviews__star-btn:hover {
  color: var(--brand-accent);
}

.aanra-reviews__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

@media (max-width: 767px) {
  .aanra-reviews__fields { grid-template-columns: 1fr; }
}

.aanra-reviews__field-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(58,30,23,0.6);
  display: block;
  margin-bottom: 5px;
}

.aanra-reviews__input,
.aanra-reviews__textarea {
  width: 100%;
  border: 0.5px solid rgba(58,30,23,0.22);
  border-radius: 0;
  padding: 0 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--brand-dark);
  background: #fff;
  outline: none;
  box-shadow: none;
}

.aanra-reviews__input {
  height: 40px;
}

.aanra-reviews__textarea {
  height: 88px;
  padding: 10px 12px;
  resize: vertical;
  margin-bottom: 14px;
}

.aanra-reviews__input:focus,
.aanra-reviews__textarea:focus {
  border-color: var(--brand-accent);
}

.aanra-reviews__upload-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(58,30,23,0.5);
  border: 0.5px dashed rgba(58,30,23,0.2);
  padding: 10px 14px;
  cursor: pointer;
  margin-bottom: 18px;
  transition: border-color 0.15s;
}

.aanra-reviews__upload-label:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

.aanra-reviews__upload-input {
  display: none;
}

.aanra-reviews__submit,
.aanra-reviews__submit:hover,
.aanra-reviews__submit:active,
.aanra-reviews__submit:focus {
  width: 100%;
  height: 44px;
  background-color: var(--brand-gold) !important;
  color: var(--brand-dark) !important;
  border: none !important;
  font-family: var(--font-body) !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  letter-spacing: 3.5px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.aanra-reviews__notice {
  font-family: var(--font-body);
  font-size: 12px;
  padding: 10px 14px;
  margin-top: 12px;
  border-left: 2px solid var(--brand-accent);
  color: var(--brand-dark);
  background: rgba(148,110,31,0.05);
}

/* ── Star rating inline (in product info, links to reviews) ── */
.aanra-pdp__rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0 14px;
  border-bottom: 0.5px solid rgba(58,30,23,0.12);
  margin-bottom: 14px;
}

.aanra-pdp__stars {
  color: var(--brand-accent);
  font-size: 12px;
  letter-spacing: 1.5px;
  line-height: 1;
}

.aanra-pdp__rating-score {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--brand-dark);
}

.aanra-pdp__rating-link {
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(58,30,23,0.5);
  text-decoration: underline;
  cursor: pointer;
}

.aanra-pdp__rating-link:hover {
  color: var(--brand-accent);
}


/* ================================================================
   v2.22.35 — PRODUCT PAGE BUY BOX (phones first)
   Button on the first screen, three reassurance lines under it,
   a bottom bar once the button scrolls away.
   ================================================================ */
.aanra-product__name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.aanra-product__name-row .aanra-product__name { margin-bottom: 6px !important; }
.aanra-product__name-wish { flex-shrink: 0; }
.aanra-product__name-wish a.tinvwl_add_to_wishlist_button {
  width: 36px !important;
  height: 36px !important;
  border: none !important;
}

.aanra-pdp__rating-row { margin-bottom: 14px; }

.aanra-product__buy-lines {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.aanra-product__buy-lines li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  color: var(--brand-dark);
}
.aanra-product__buy-lines svg { color: var(--brand-accent); flex-shrink: 0; }

.aanra-product__short-desc { margin-top: 16px; }
.aanra-product__accordion { margin-top: 18px; }

@media (max-width: 767px) {
  /* Photo goes edge to edge; thumbnails and breadcrumb give way so the
     button and the three lines fit the first screen of smaller phones. */
  .aanra-product__inner { gap: 14px; padding-top: 0; }
  .aanra-product__gallery { margin: 0 -20px; }
  .aanra-product__main-img img {
    max-width: 100% !important;
    aspect-ratio: 1 / 1;
  }
  .aanra-product__thumbs,
  .aanra-product__breadcrumb { display: none !important; }
  .aanra-product__name { font-size: 24px !important; }
  /* Price and 'Inclusive of all taxes' on one line; rating row slimmer.
     Together this keeps the three lines under the button inside the
     first screen of smaller Android phones (about 740px). */
  .aanra-product__price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
  .aanra-product__price { margin-bottom: 0 !important; }
  .aanra-product__tax-note { margin: 0 !important; }
  .aanra-pdp__rating-row {
    padding: 4px 0 0 !important;
    border-bottom: 0 !important;
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
  }
  .aanra-product__buy-lines { margin-top: 10px; gap: 4px; }
}

/* Bottom bar */
.aanra-sticky-atc { display: none; }
@media (max-width: 767px) {
  .aanra-sticky-atc {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    align-items: center;
    gap: 12px;
    height: 64px;
    padding: 0 14px calc(env(safe-area-inset-bottom, 0px));
    background: var(--brand-white);
    border-top: 1px solid rgba(var(--brand-gold-rgb), 0.5);
    box-shadow: 0 -4px 12px rgba(58, 30, 23, 0.08);
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }
  .aanra-sticky-atc.is-visible { transform: translateY(0); }
  .aanra-sticky-atc__img { width: 40px; height: 40px; object-fit: cover; flex-shrink: 0; }
  .aanra-sticky-atc__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    line-height: 1.3;
  }
  .aanra-sticky-atc__name {
    font-size: 12px;
    color: var(--brand-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .aanra-sticky-atc__price { font-size: 14px; color: var(--brand-accent); }
  .aanra-sticky-atc__btn {
    height: 44px;
    padding: 0 18px;
    border: none !important;
    border-radius: 0 !important;
    background: var(--brand-gold) !important;
    color: var(--brand-dark) !important;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    flex-shrink: 0;
  }
  /* Keep the page's last lines readable above the bar */
  body.aanra-sticky-atc-on .aanra-footer { padding-bottom: 64px; }
}

/* v2.22.52 — WhatsApp button on product pages (phones): sits low while the
   bottom Add to Bag bar is hidden, and moves above the bar when it shows,
   so it covers the Add to Bag button less often. */
@media (max-width: 767px) {
  body.single-product .aanra-whatsapp-fab {
    bottom: 16px;
    transition: bottom 0.25s ease, transform 0.2s ease;
  }
  body.single-product.aanra-sticky-atc-on .aanra-whatsapp-fab {
    bottom: 80px;
  }
}
