/* ==========================================================================
   BTA Single Product — Amazon-inspired layout
   Uses BTA design tokens (shared with shop filters)
   ========================================================================== */

:root {
  --bta-primary: #E4002B;
  --bta-primary-dark: #b8001f;
  --bta-accent: #F5B731;
  --bta-dark: #1A1D23;
  --bta-body: #3A3D45;
  --bta-border: #E2DED6;
  --bta-light: #F5F0E8;
  --bta-white: #ffffff;
  --bta-ff-heading: 'Oswald', sans-serif;
  --bta-ff-body: 'Inter', sans-serif;
  --bta-radius: 8px;
  --bta-radius-sm: 4px;
  --bta-transition: 0.25s ease;
}

/* ---------- Reset WC / Astra defaults ----------------------------------- */
.woocommerce div.product.bta-single,
.woocommerce #content div.product.bta-single {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 60px;
  font-family: var(--bta-ff-body);
  color: var(--bta-body);
}

.woocommerce div.product.bta-single div.images,
.woocommerce div.product.bta-single .woocommerce-product-gallery {
  display: none;
}

.woocommerce div.product.bta-single div.summary {
  display: none;
}

/* Hide Astra/WC default breadcrumb (we render our own .bta-single__breadcrumbs) */
.bta-single > .woocommerce-breadcrumb,
.woocommerce div.product.bta-single > .woocommerce-breadcrumb {
  display: none;
}

/* ---------- Breadcrumbs ------------------------------------------------- */
.bta-single__breadcrumbs {
  padding: 20px 0 16px;
  font-family: var(--bta-ff-body);
  font-size: 13px;
  color: #999;
}

.bta-single__crumb a {
  color: var(--bta-primary);
  text-decoration: none;
  transition: color var(--bta-transition);
}

.bta-single__crumb a:hover {
  color: var(--bta-primary-dark);
}

.bta-single__crumb-sep {
  margin: 0 8px;
  color: #ccc;
}

/* ---------- Top section (Gallery + Info) -------------------------------- */
.bta-single__top {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
}

/* ---------- Gallery ----------------------------------------------------- */
.bta-single__gallery {
  flex: 0 0 55%;
  max-width: 55%;
  display: flex;
  gap: 12px;
}

/* Thumbs column wrapper (arrows + scrollable list) */
.bta-single__thumbs-col {
  flex: 0 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-height: 100%;
}

.bta-single__thumbs {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: calc(4 * 80px + 3 * 8px);   /* 4 thumbs visible */
  overflow: hidden;
  scroll-behavior: smooth;
}

/* Thumb scroll arrows — same style as gallery nav arrows */
.bta-single__thumbs-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  color: var(--bta-dark);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Rotate chevrons to point up / down */
.bta-single__thumbs-arrow--up {
  transform: rotate(90deg);
}

.bta-single__thumbs-arrow--down {
  transform: rotate(90deg);
}

.bta-single__thumbs-arrow:hover {
  background: var(--bta-white);
  color: var(--bta-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 6px 16px rgba(0, 0, 0, 0.1);
}

.bta-single__thumbs-arrow:disabled {
  opacity: 0.25;
  cursor: default;
  box-shadow: none;
}

.bta-single__thumbs-arrow:disabled:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--bta-dark);
  box-shadow: none;
}

.bta-single__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  padding: 0;
  border: 2px solid var(--bta-border);
  border-radius: var(--bta-radius-sm);
  background: var(--bta-white);
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--bta-transition);
}

.bta-single__thumb:hover {
  border-color: var(--bta-primary);
}

.bta-single__thumb--active {
  border-color: var(--bta-primary);
  box-shadow: 0 0 0 1px var(--bta-primary);
}

.bta-single__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bta-single__main-image-wrap {
  flex: 1;
  min-width: 0;
}

.bta-single__main-image {
  position: relative;
  width: 100%;
  border: 1px solid var(--bta-border);
  border-radius: var(--bta-radius);
  overflow: hidden;
  background: var(--bta-white);
  cursor: pointer;
}

.bta-single__img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.2s ease;
}

/* Gallery nav arrows (on main image) */
.bta-single__gallery-prev,
.bta-single__gallery-next {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  color: var(--bta-dark);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.bta-single__gallery--has-nav .bta-single__gallery-prev,
.bta-single__gallery--has-nav .bta-single__gallery-next {
  display: flex;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.bta-single__gallery--has-nav:hover .bta-single__gallery-prev,
.bta-single__gallery--has-nav:hover .bta-single__gallery-next {
  opacity: 1;
}

.bta-single__gallery-prev { left: 12px; }
.bta-single__gallery-next { right: 12px; }

.bta-single__gallery-prev:hover,
.bta-single__gallery-next:hover {
  background: var(--bta-white);
  color: var(--bta-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* ---------- Info panel -------------------------------------------------- */
.bta-single__info {
  flex: 1;
  min-width: 0;
}

.bta-single__category-badge {
  display: inline-block;
  font-family: var(--bta-ff-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bta-primary);
  background: rgba(10, 122, 110, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  margin-bottom: 12px;
  transition: all var(--bta-transition);
}

.bta-single__category-badge:hover {
  background: rgba(10, 122, 110, 0.15);
  color: var(--bta-primary-dark);
}

.bta-single__title {
  font-family: var(--bta-ff-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bta-dark);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}

.bta-single__price {
  font-family: var(--bta-ff-body);
  font-size: 28px;
  font-weight: 700;
  color: var(--bta-dark);
  margin-bottom: 16px;
}

.bta-single__price del {
  color: #999;
  font-weight: 400;
  font-size: 20px;
}

.bta-single__price ins {
  text-decoration: none;
}

.bta-single__short-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--bta-body);
  margin-bottom: 20px;
}

.bta-single__short-desc p {
  margin: 0 0 8px;
}

/* ---------- Full description (fallback when specs can't be parsed) ------ */
.bta-single__description {
  border-top: 1px solid var(--bta-border);
  border-bottom: 1px solid var(--bta-border);
  padding: 16px 0;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--bta-body);
}

.bta-single__description h3 {
  font-family: var(--bta-ff-heading);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--bta-dark);
}

.bta-single__description ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.bta-single__description li {
  margin-bottom: 4px;
}

.bta-single__description p {
  margin: 0 0 8px;
}

/* ---------- Specs highlight --------------------------------------------- */
.bta-single__specs-highlight {
  border-top: 1px solid var(--bta-border);
  border-bottom: 1px solid var(--bta-border);
  padding: 16px 0;
  margin-bottom: 24px;
}

.bta-single__specs-heading {
  font-family: var(--bta-ff-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--bta-dark);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.bta-single__specs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.bta-single__specs-item {
  display: flex;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.bta-single__specs-key {
  font-weight: 600;
  color: var(--bta-dark);
  white-space: nowrap;
}

.bta-single__specs-key::after {
  content: ':';
}

.bta-single__specs-value {
  color: var(--bta-body);
}

/* ---------- Add to cart ------------------------------------------------- */
.bta-single__add-to-cart {
  margin-bottom: 20px;
}

.bta-single__add-to-cart .quantity {
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
}

.bta-single__add-to-cart .quantity .qty {
  width: 60px;
  height: 48px;
  text-align: center;
  border: 1px solid var(--bta-border);
  border-radius: var(--bta-radius-sm);
  font-family: var(--bta-ff-body);
  font-size: 16px;
  color: var(--bta-dark);
  outline: none;
  transition: border-color var(--bta-transition);
}

.bta-single__add-to-cart .quantity .qty:focus {
  border-color: var(--bta-primary);
}

.bta-single__add-to-cart .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  background: var(--bta-primary) !important;
  color: var(--bta-white) !important;
  border: none !important;
  border-radius: var(--bta-radius) !important;
  font-family: var(--bta-ff-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--bta-transition);
}

.bta-single__add-to-cart .single_add_to_cart_button:hover {
  background: var(--bta-primary-dark) !important;
}

/* ---------- Meta -------------------------------------------------------- */
.bta-single__meta {
  font-size: 13px;
  color: #888;
  line-height: 1.8;
}

.bta-single__meta .sku_wrapper,
.bta-single__meta .posted_in,
.bta-single__meta .tagged_as {
  display: block;
}

.bta-single__meta a {
  color: var(--bta-primary);
  text-decoration: none;
}

.bta-single__meta a:hover {
  color: var(--bta-primary-dark);
}

/* ---------- Tabs (Description + Reviews) -------------------------------- */
.bta-single__tabs {
  border-top: 1px solid var(--bta-border);
  margin-bottom: 48px;
}

.bta-single__tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--bta-border);
}

.bta-single__tab-btn {
  padding: 14px 24px;
  font-family: var(--bta-ff-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bta-body);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--bta-transition);
}

.bta-single__tab-btn:hover {
  color: var(--bta-primary) !important;
  background: none !important;
  border-bottom-color: var(--bta-primary) !important;
}

.bta-single__tab-btn:focus,
.bta-single__tab-btn:active {
  outline: none !important;
  background: none !important;
  border-bottom-color: transparent !important;
}

.bta-single__tab-btn--active:focus,
.bta-single__tab-btn--active:active,
.bta-single__tab-btn--active:hover {
  border-bottom-color: var(--bta-primary) !important;
}

.bta-single__tab-btn--active {
  color: var(--bta-primary);
  border-bottom-color: var(--bta-primary);
}

.bta-single__tab-panel {
  display: none;
  padding: 24px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--bta-body);
}

.bta-single__tab-panel--active {
  display: block;
}

.bta-single__tab-panel h3 {
  font-family: var(--bta-ff-heading);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--bta-dark);
}

.bta-single__tab-panel ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.bta-single__tab-panel li {
  margin-bottom: 6px;
}

.bta-single__tab-panel p {
  margin: 0 0 12px;
}

/* ---------- Reviews ----------------------------------------------------- */
.bta-single__reviews-wrap {
  border-top: 1px solid var(--bta-border);
  padding-top: 40px;
  margin-bottom: 48px;
}

.bta-single__reviews-wrap #reviews {
  font-family: var(--bta-ff-body);
}

.bta-single__reviews-wrap #reviews .woocommerce-Reviews-title {
  font-family: var(--bta-ff-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--bta-dark);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.bta-single__reviews-wrap #reviews .woocommerce-noreviews {
  color: #888;
  font-size: 15px;
  margin-bottom: 24px;
}

/* Review list */
.bta-single__reviews-wrap #reviews ol.commentlist {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.bta-single__reviews-wrap #reviews ol.commentlist li {
  border-bottom: 1px solid var(--bta-border);
  padding: 20px 0;
  margin: 0;
}

.bta-single__reviews-wrap #reviews ol.commentlist li:last-child {
  border-bottom: none;
}

.bta-single__reviews-wrap #reviews ol.commentlist li .comment_container {
  display: flex;
  gap: 16px;
}

.bta-single__reviews-wrap #reviews ol.commentlist li img.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bta-single__reviews-wrap #reviews ol.commentlist li .comment-text {
  flex: 1;
  border: none;
  padding: 0;
  margin: 0;
}

.bta-single__reviews-wrap #reviews ol.commentlist li .comment-text .meta {
  margin-bottom: 8px;
}

.bta-single__reviews-wrap #reviews ol.commentlist li .comment-text .meta strong {
  font-family: var(--bta-ff-heading);
  font-weight: 700;
  color: var(--bta-dark);
  font-size: 15px;
}

.bta-single__reviews-wrap #reviews ol.commentlist li .comment-text .meta .woocommerce-review__published-date {
  color: #888;
  font-size: 13px;
}

.bta-single__reviews-wrap #reviews ol.commentlist li .comment-text .description p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--bta-body);
  margin: 0;
}

/* Star rating */
.bta-single__reviews-wrap .star-rating {
  color: var(--bta-accent);
  font-size: 14px;
}

.bta-single__reviews-wrap .star-rating::before {
  color: var(--bta-border);
}

/* Review form */
.bta-single__reviews-wrap #review_form_wrapper {
  margin-top: 8px;
}

.bta-single__reviews-wrap #respond .comment-reply-title {
  font-family: var(--bta-ff-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--bta-dark);
  display: block;
  margin-bottom: 16px;
}

.bta-single__reviews-wrap #respond .comment-form label {
  display: block;
  font-family: var(--bta-ff-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--bta-dark);
  margin-bottom: 4px;
}

.bta-single__reviews-wrap #respond .comment-form .comment-form-rating label {
  margin-bottom: 8px;
}

.bta-single__reviews-wrap #respond .comment-form p.stars a {
  color: var(--bta-accent);
}

.bta-single__reviews-wrap #respond .comment-form input[type="text"],
.bta-single__reviews-wrap #respond .comment-form input[type="email"],
.bta-single__reviews-wrap #respond .comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--bta-border);
  border-radius: var(--bta-radius-sm);
  font-family: var(--bta-ff-body);
  font-size: 15px;
  color: var(--bta-dark);
  outline: none;
  transition: border-color var(--bta-transition);
}

.bta-single__reviews-wrap #respond .comment-form input:focus,
.bta-single__reviews-wrap #respond .comment-form textarea:focus {
  border-color: var(--bta-primary);
}

.bta-single__reviews-wrap #respond .comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.bta-single__reviews-wrap #respond .comment-form .form-submit input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 28px;
  background: var(--bta-primary) !important;
  color: var(--bta-white) !important;
  border: none !important;
  border-radius: var(--bta-radius) !important;
  font-family: var(--bta-ff-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--bta-transition);
}

.bta-single__reviews-wrap #respond .comment-form .form-submit input[type="submit"]:hover {
  background: var(--bta-primary-dark) !important;
}

/* ---------- Related products -------------------------------------------- */
.bta-single__related-wrap {
  border-top: 1px solid var(--bta-border);
  padding-top: 40px;
}

.bta-single__related-wrap > section > h2,
.bta-single__related-wrap .related > h2 {
  font-family: var(--bta-ff-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--bta-dark);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

/* Related product grid */
.bta-single__related-wrap ul.products,
.woocommerce .bta-single__related-wrap ul.products.columns-3,
.woocommerce .bta-single__related-wrap ul.products.columns-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* ---------- Product card (same as shop page) ---------------------------- */
.bta-single__related-wrap li.bta-product-card.product {
  list-style: none;
  background: var(--bta-white);
  border: 1px solid var(--bta-border);
  border-radius: var(--bta-radius);
  padding: 12px !important;
  margin: 0;
}

.bta-single__related-wrap .bta-product-card__image-link {
  display: block;
  overflow: hidden;
  border-radius: var(--bta-radius-sm);
}

.bta-single__related-wrap .bta-product-card__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--bta-radius-sm);
  transition: transform 0.4s ease;
}

.bta-single__related-wrap .bta-product-card:hover .bta-product-card__image {
  transform: scale(1.03);
}

.bta-single__related-wrap .bta-product-card__body {
  padding: 16px 16px 16px;
}

.bta-single__related-wrap .bta-product-card__category {
  display: block;
  font-family: var(--bta-ff-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--bta-primary);
  text-decoration: none;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.bta-single__related-wrap .bta-product-card__category:hover {
  color: var(--bta-primary-dark);
}

.bta-single__related-wrap .bta-product-card__title {
  display: block;
  font-family: var(--bta-ff-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--bta-dark);
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 8px;
}

.bta-single__related-wrap .bta-product-card__title:hover {
  color: var(--bta-primary);
}

.bta-single__related-wrap .bta-product-card__price {
  font-family: var(--bta-ff-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--bta-dark);
}

.bta-single__related-wrap .bta-product-card__price del {
  color: #999;
  font-weight: 400;
  font-size: 14px;
}

.bta-single__related-wrap .bta-product-card__price ins {
  text-decoration: none;
}

/* ---------- Lightbox ---------------------------------------------------- */
.bta-single__lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.bta-single__lightbox[aria-hidden="false"] {
  display: flex;
}

.bta-single__lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--bta-white);
  font-size: 40px;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--bta-transition);
}

.bta-single__lightbox-close:hover {
  opacity: 1;
}

.bta-single__lightbox-prev,
.bta-single__lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--bta-white);
  font-size: 48px;
  cursor: pointer;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0.7;
  transition: opacity var(--bta-transition), background var(--bta-transition);
}

.bta-single__lightbox-prev:hover,
.bta-single__lightbox-next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.bta-single__lightbox-prev {
  left: 20px;
}

.bta-single__lightbox-next {
  right: 20px;
}

.bta-single__lightbox-img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bta-single__lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--bta-radius);
}

/* ---------- WC notices -------------------------------------------------- */
.woocommerce div.product.bta-single .woocommerce-message,
.woocommerce div.product.bta-single .woocommerce-info,
.woocommerce div.product.bta-single .woocommerce-error {
  font-family: var(--bta-ff-body);
}

.woocommerce div.product.bta-single .woocommerce-message {
  border-top-color: var(--bta-primary);
}

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 1024px) {
  .bta-single__top {
    gap: 30px;
  }

  .bta-single__gallery {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .bta-single__title {
    font-size: 26px;
  }

  .bta-single__price {
    font-size: 24px;
  }

  .bta-single__specs-list {
    grid-template-columns: 1fr;
  }

  .bta-single__related-wrap ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .woocommerce div.product.bta-single {
    padding: 0 15px 40px;
  }

  .bta-single__top {
    flex-direction: column;
    gap: 24px;
  }

  .bta-single__gallery {
    flex: none;
    max-width: 100%;
    width: 100%;
    flex-direction: column-reverse;
  }

  .bta-single__thumbs-col {
    flex-direction: row;
    flex: none;
    max-height: none;
    gap: 4px;
  }

  .bta-single__thumbs {
    flex-direction: row;
    flex: none;
    max-height: none;
    max-width: calc(4 * 64px + 3 * 8px);   /* 4 thumbs visible on mobile */
    overflow: hidden;
    gap: 8px;
    padding-bottom: 4px;
  }

  .bta-single__thumbs-arrow {
    width: 32px;
    height: 32px;
  }

  .bta-single__thumbs-arrow--up,
  .bta-single__thumbs-arrow--down {
    transform: none;   /* horizontal: no rotation needed, ‹ and › already point left/right */
  }

  .bta-single__thumb {
    width: 64px;
    height: 64px;
  }

  .bta-single__info {
    width: 100%;
  }

  .bta-single__title {
    font-size: 24px;
  }

  .bta-single__price {
    font-size: 22px;
  }

  .bta-single__related-wrap ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .bta-single__lightbox-prev,
  .bta-single__lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .bta-single__title {
    font-size: 20px;
  }

  .bta-single__price {
    font-size: 20px;
  }

  .bta-single__related-wrap ul.products {
    grid-template-columns: 1fr;
  }

  .bta-single__add-to-cart .single_add_to_cart_button {
    width: 100%;
    margin-top: 8px;
  }

  .bta-single__thumb {
    width: 56px;
    height: 56px;
  }
}