/* Single Product Page — Cotton-inspired visual system (content unchanged) */

body.single-product .site-main,
body.single-product #primary,
body.single-product .content-area {
  max-width: none;
  width: 100%;
}

/* Dynamic size guide */
.bsp-sp__size-guide {
  margin: 18px 0;
}

.bsp-sp__size-guide-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid #111111;
  border-radius: 0;
  background: transparent;
  color: #111111;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.bsp-sp__size-guide-trigger:hover {
  opacity: 0.62;
}

.bsp-sp__size-guide-trigger svg {
  flex: 0 0 auto;
}

.bsp-sp__size-guide-modal[hidden] {
  display: none;
}

.bsp-sp__size-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 100010;
  display: grid;
  place-items: center;
  padding: 24px;
}

.bsp-sp__size-guide-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
}

.bsp-sp__size-guide-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow-y: auto;
  border: 1px solid #111111;
  border-radius: 0;
  background: #ffffff;
  color: #111111;
  box-shadow: none;
}

.bsp-sp__size-guide-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid #e5e5e5;
  background: #ffffff;
}

.bsp-sp__size-guide-head > div {
  min-width: 0;
  flex: 1;
}

.bsp-sp__size-guide-kicker {
  margin: 0 0 6px;
  color: #6b6b6b;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bsp-sp__size-guide-head h2 {
  margin: 0;
  color: #111111;
  font-family: var(--bsp-font-heading, Georgia, "Times New Roman", serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
}

.bsp-sp__size-guide-unit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #111111;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.bsp-sp__size-guide-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #111111;
  color: #ffffff;
  cursor: pointer;
}

.bsp-sp__size-guide-body {
  padding: 28px;
}

.bsp-sp__size-guide-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e5e5e5;
}

.bsp-sp__size-guide-table {
  width: 100%;
  min-width: 560px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  color: #333333;
  font-size: 14px;
}

.bsp-sp__size-guide-table th,
.bsp-sp__size-guide-table td {
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
}

.bsp-sp__size-guide-table th:last-child,
.bsp-sp__size-guide-table td:last-child {
  border-right: 0;
}

.bsp-sp__size-guide-table tbody tr:last-child th,
.bsp-sp__size-guide-table tbody tr:last-child td {
  border-bottom: 0;
}

.bsp-sp__size-guide-table thead th {
  background: #111111;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.bsp-sp__size-guide-table tbody th {
  background: #f7f7f7;
  color: #111111;
  font-weight: 600;
}

.bsp-sp__size-guide-how {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #e5e5e5;
}

.bsp-sp__size-guide-how:has(.bsp-sp__size-guide-copy:only-child) {
  grid-template-columns: 1fr;
}

.bsp-sp__size-guide-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.bsp-sp__size-guide-copy h3 {
  margin: 0 0 14px;
  color: #111111;
  font-family: var(--bsp-font-heading, Georgia, "Times New Roman", serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.bsp-sp__size-guide-copy {
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.7;
}

.bsp-sp__size-guide-copy > :first-child {
  margin-top: 0;
}

.bsp-sp__size-guide-copy > :last-child {
  margin-bottom: 0;
}

body.bsp-size-guide-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .bsp-sp__size-guide-modal {
    align-items: end;
    padding: 0;
  }

  .bsp-sp__size-guide-dialog {
    width: 100%;
    max-height: 90vh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
  }

  .bsp-sp__size-guide-head,
  .bsp-sp__size-guide-body {
    padding: 20px;
  }

  .bsp-sp__size-guide-how {
    grid-template-columns: 1fr;
  }
}

.bsp-sp {
  background: var(--bsp-sp-bg, #ffffff);
  padding: 20px 24px 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.bsp-sp__container {
  max-width: none;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.bsp-sp__breadcrumbs {
  margin-bottom: 24px;
  color: var(--bsp-sp-muted, #8a8a8a);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.bsp-sp__breadcrumbs a {
  color: var(--bsp-sp-text, #555555);
  text-decoration: none;
}

.bsp-sp__breadcrumbs a:hover {
  color: var(--bsp-sp-accent, #111111);
}

.bsp-sp__breadcrumb-sep {
  margin: 0 8px;
  color: #cfcfcf;
}

.bsp-sp__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(300px, 0.9fr);
  gap: clamp(24px, 3vw, 32px);
  align-items: start;
  margin-bottom: 40px;
  width: 100%;
}

/* Gallery — thumbs + 2-col media grid (Cotton) */
.bsp-sp__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.bsp-sp__gallery--has-thumbs {
  grid-template-columns: 60px minmax(0, 1fr);
  column-gap: 16px;
}

@media (min-width: 992px) {
  .bsp-sp__summary {
    position: sticky;
    top: 28px;
    align-self: start;
    z-index: 5;
  }

  .bsp-sp__thumbs {
    position: sticky;
    top: 28px;
    align-self: start;
    z-index: 4;
    max-height: calc(100vh - 56px);
  }

  body.admin-bar .bsp-sp__summary,
  body.admin-bar .bsp-sp__thumbs {
    top: 60px;
  }

  body.admin-bar .bsp-sp__thumbs {
    max-height: calc(100vh - 88px);
  }

  body.bsp-sticky-header.bsp-header-stuck .bsp-sp__summary,
  body.bsp-sticky-header.bsp-header-stuck .bsp-sp__thumbs {
    top: 160px;
  }

  body.bsp-sticky-header.bsp-header-stuck .bsp-sp__thumbs {
    max-height: calc(100vh - 188px);
  }

  body.admin-bar.bsp-sticky-header.bsp-header-stuck .bsp-sp__summary,
  body.admin-bar.bsp-sticky-header.bsp-header-stuck .bsp-sp__thumbs {
    top: 192px;
  }

  body.admin-bar.bsp-sticky-header.bsp-header-stuck .bsp-sp__thumbs {
    max-height: calc(100vh - 220px);
  }
}

.bsp-sp__thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  max-height: min(85vh, 920px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bsp-sp__thumbs::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.bsp-sp__thumb {
  border: 1px solid transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

.bsp-sp__thumb.is-active {
  border-color: var(--bsp-sp-accent, #111111);
}

.bsp-sp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bsp-sp__thumbs-more {
  display: none;
}

.bsp-sp__media-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.bsp-sp__media-item {
  margin: 0;
  background: var(--bsp-sp-gallery-bg, #f3f1ee);
  overflow: hidden;
}

.bsp-sp__media-item.is-active {
  outline: 0;
}

.bsp-sp__media-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.bsp-sp__media-btn:not(.bsp-sp__media-btn--zoomable) {
  cursor: default;
}

.bsp-sp__media-img,
.bsp-sp__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Legacy single-image zoom hooks (kept inert if unused) */
.bsp-sp__main-image {
  display: none;
}

.bsp-sp__zoom-btn {
  display: none;
}

/* Summary */
.bsp-sp__title {
  margin: 0 0 12px;
  color: var(--bsp-sp-title, #111111);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.bsp-sp__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.bsp-sp__review-link {
  color: var(--bsp-sp-muted, #8a8a8a);
  font-size: 13px;
  text-decoration: none;
}

.bsp-sp__review-link:hover {
  color: var(--bsp-sp-accent, #111111);
}

.bsp-sp__price-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 22px;
}

.bsp-sp__price {
  font-size: 16px;
  font-weight: 400;
  color: var(--bsp-sp-title, #111111);
  letter-spacing: 0.01em;
}

.bsp-sp__price del {
  color: var(--bsp-sp-muted, #8a8a8a);
  font-size: 15px;
  font-weight: 400;
  margin-right: 8px;
}

.bsp-sp__price ins {
  text-decoration: none;
  color: var(--bsp-sp-sale, #cf2e2e);
}

.bsp-sp__stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
}

.bsp-sp__stock.is-in-stock {
  color: #2f9e44;
}

.bsp-sp__stock.is-in-stock svg {
  display: none;
}

.bsp-sp__stock.is-out-of-stock {
  color: #c92a2a;
}

.bsp-sp__stock svg {
  width: 14px;
  height: 14px;
}

.bsp-sp__sold {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  color: var(--bsp-sp-text, #555555);
  white-space: nowrap;
}


.bsp-sp__description {
  margin-bottom: 0;
  color: var(--bsp-sp-text, #555555);
  font-size: 14px;
  line-height: 1.65;
}

.bsp-sp__description p {
  margin: 0 0 12px;
}

.bsp-sp__description p:last-child {
  margin-bottom: 0;
}

.bsp-sp__accordion {
  margin-top: 28px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.bsp-sp__accordion-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--bsp-sp-title, #111111);
  cursor: pointer;
}

.bsp-sp__accordion-summary::-webkit-details-marker {
  display: none;
}

.bsp-sp__accordion-summary::after {
  content: '';
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-right: 1.5px solid #111;
  border-bottom: 1.5px solid #111;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}

.bsp-sp__accordion[open] > .bsp-sp__accordion-summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.bsp-sp__accordion-body {
  padding: 0 0 22px;
}

.bsp-sp__option {
  margin-bottom: 22px;
}

.bsp-sp__option-label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bsp-sp-title, #111111);
  text-transform: capitalize;
}

.bsp-sp__size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bsp-sp__size-btn {
  min-width: 52px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  background: #fff;
  color: var(--bsp-sp-title, #111111);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bsp-sp__size-btn:hover {
  border-color: #111111;
}

.bsp-sp__size-btn.is-active {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.bsp-sp__size-options--color {
  gap: 12px;
  align-items: center;
  padding: 3px 0;
}

.bsp-sp__size-btn.bsp-sp__color-swatch {
  min-width: 28px;
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bsp-sp-swatch-color, #d1d5db);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
  position: relative;
  text-transform: none;
}

.bsp-sp__size-btn.bsp-sp__color-swatch::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  pointer-events: none;
}

.bsp-sp__size-btn.bsp-sp__color-swatch.is-active {
  border-color: transparent;
  color: inherit;
  background: var(--bsp-sp-swatch-color, #d1d5db);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.bsp-sp__size-btn.bsp-sp__color-swatch.is-active::after {
  border-color: #111111;
}

.bsp-sp__purchase {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 22px;
}

@media (min-width: 768px) {
  .bsp-sp__purchase {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "qty . wish"
      "actions actions actions";
    align-items: stretch;
  }

  .bsp-sp__qty-control {
    grid-area: qty;
  }

  .bsp-sp__purchase-actions {
    grid-area: actions;
  }

  .bsp-sp__purchase .bsp-sp__wishlist {
    grid-area: wish;
  }
}

.bsp-sp__qty-control {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
}

.bsp-sp__qty-btn {
  width: 44px;
  height: 50px;
  border: 0;
  background: #fff;
  color: var(--bsp-sp-title, #111111);
  font-size: 18px;
  cursor: pointer;
}

.bsp-sp__qty-btn:hover {
  background: #f5f5f5;
}

.bsp-sp__qty-input {
  width: 52px;
  height: 50px;
  border: 0;
  border-left: 1px solid #d4d4d4;
  border-right: 1px solid #d4d4d4;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  -moz-appearance: textfield;
}

.bsp-sp__qty-input::-webkit-outer-spin-button,
.bsp-sp__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.bsp-sp__purchase-actions {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}

.bsp-sp__purchase .bsp-sp__add-cart {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  border: 1px solid #111111;
  border-radius: 0;
  background: #ffffff;
  color: #111111;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.bsp-sp__purchase .bsp-sp__checkout {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  border: 1px solid #111111;
  border-radius: 0;
  background: #111111;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.bsp-sp__add-cart:hover:not(:disabled):not(.is-disabled) {
  background: #111111;
  color: #ffffff;
}

.bsp-sp__checkout:hover:not(:disabled):not(.is-disabled) {
  background: #333333;
  color: #fff;
}

.bsp-sp__add-cart:disabled,
.bsp-sp__add-cart.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.bsp-sp__checkout:disabled,
.bsp-sp__checkout.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.bsp-sp__purchase .bsp-sp__wishlist {
  width: 50px;
  min-height: 50px;
  flex-shrink: 0;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  background: #fff;
  color: var(--bsp-sp-text, #555555);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.bsp-sp__wishlist.is-active,
.bsp-sp__wishlist:hover {
  border-color: var(--bsp-sp-accent, #1a1a1a);
  color: var(--bsp-sp-accent, #1a1a1a);
}

.bsp-sp__wishlist.is-active svg path {
  fill: var(--bsp-sp-accent, #1a1a1a);
}

.bsp-sp__viewing {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid #e5e5e5;
  border-radius: 0;
  background: transparent;
}

.bsp-sp__viewing p {
  margin: 0;
  color: var(--bsp-sp-text, #555555);
  font-size: 13px;
  font-weight: 400;
}

.bsp-sp__share-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--bsp-sp-border, #e5e7eb);
}

.bsp-sp__share-row .bsp-sp__share {
  flex: 1;
  min-width: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.bsp-sp__compare-trigger {
  flex-shrink: 0;
  border: 0;
  background: none;
  padding: 0;
  color: var(--bsp-sp-title, #111827);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
}

.bsp-sp__compare-trigger:hover {
  color: var(--bsp-sp-accent, #1a1a1a);
}

@media (max-width: 767px) {
  .bsp-sp__share-row {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
  }

  .bsp-sp__share-row .bsp-sp__share {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 12px;
  }

  .bsp-sp__share-label {
    font-size: 13px;
  }

  .bsp-sp__share-btn {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .bsp-sp__compare-trigger {
    margin-left: auto;
    font-size: 13px;
  }
}

@media (max-width: 479px) {
  .bsp-sp__share-row {
    flex-direction: column;
    align-items: stretch;
  }

  .bsp-sp__share-row .bsp-sp__share {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .bsp-sp__share-links {
    width: 100%;
    justify-content: flex-start;
  }

  .bsp-sp__compare-trigger {
    align-self: flex-end;
    margin-left: 0;
    margin-top: 2px;
  }
}

.bsp-sp__share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--bsp-sp-border, #e5e7eb);
}

.bsp-sp__share-label {
  flex-shrink: 0;
  color: var(--bsp-sp-text, #9ca3af);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.bsp-sp__share-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.bsp-sp__share-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.bsp-sp__share-btn:hover {
  background: #e5e7eb;
  color: #111827;
}

.bsp-sp__share-btn:focus-visible {
  outline: 2px solid var(--bsp-sp-accent, #1a1a1a);
  outline-offset: 2px;
}


/* Trust badges */
.bsp-sp__trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
  padding: 28px 0;
  border: 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  border-radius: 0;
  background: transparent;
}

.bsp-sp__trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.bsp-sp__trust-icon {
  color: var(--bsp-sp-accent, #1a1a1a);
  flex-shrink: 0;
}

.bsp-sp__trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: var(--bsp-sp-text, #6b7280);
}

.bsp-sp__trust-text strong {
  color: var(--bsp-sp-title, #111827);
  font-size: 13px;
}

/* Lower: tabs + related */
.bsp-sp__lower {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 48px;
}

.bsp-sp__lower--tabs-only {
  grid-template-columns: 1fr;
}

.bsp-sp__tabs {
  background: var(--bsp-sp-card, #fff);
  border: 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  border-radius: 0;
  overflow: hidden;
}

.bsp-sp__tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid #e5e5e5;
}

.bsp-sp__tab-btn {
  border: 0;
  background: transparent;
  color: var(--bsp-sp-text, #555555);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 18px 20px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.bsp-sp__tab-btn.is-active {
  color: var(--bsp-sp-accent, #111111);
  border-bottom-color: #111111;
}

.bsp-sp__tab-panels {
  padding: 28px 4px 24px;
}

.bsp-sp__tab-panel {
  color: var(--bsp-sp-text, #555555);
  font-size: 14px;
  line-height: 1.7;
}

.bsp-sp__tab-panel[hidden] {
  display: none;
}

.bsp-sp__shipping-list {
  margin: 0;
  padding-left: 20px;
}

.bsp-sp__shipping-list li {
  margin-bottom: 8px;
}

/* Related + Recently viewed — Featured Products (cotton) layout */
.bsp-sp > .bsp-fp-slider.bsp-sp__fp-slider {
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
}

.bsp-sp > .bsp-fp-slider.bsp-sp__related--fp {
  border-top: 1px solid #e5e5e5;
}

.bsp-sp > .bsp-fp-slider.bsp-sp__recently-viewed--fp {
  border-top: 0;
  padding-top: 24px;
}

.bsp-sp__reviews-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  background: #fff;
  color: var(--bsp-sp-accent, #1a1a1a);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bsp-sp__reviews-viewport {
  overflow: hidden;
}

.bsp-sp__reviews-track {
  display: flex;
  gap: 14px;
  transition: transform 0.35s ease;
}

.bsp-sp__container--lower {
  max-width: 1300px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Reviews section */
.bsp-sp__reviews {
  background: var(--bsp-sp-card, #fff);
  padding: 40px 0 48px;
  margin-bottom: 0;
}

.bsp-sp__reviews-container,
.bsp-sp__newsletter-container {
  max-width: none;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.bsp-sp__reviews-title {
  margin: 0 0 24px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 500;
  color: var(--bsp-sp-title, #111111);
  letter-spacing: -0.01em;
}

.bsp-sp__reviews-summary {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

.bsp-sp__reviews-score-stars svg {
  color: #e5e7eb;
}

.bsp-sp__reviews-score-stars svg.is-filled {
  color: var(--bsp-sp-accent, #1a1a1a);
}

.bsp-sp__reviews-average {
  margin: 8px 0 4px;
  color: var(--bsp-sp-title, #111827);
}

.bsp-sp__reviews-based {
  margin: 0;
  color: var(--bsp-sp-muted, #9ca3af);
  font-size: 13px;
}

.bsp-sp__reviews-bar-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) 36px;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--bsp-sp-text, #6b7280);
}

.bsp-sp__reviews-bar-track {
  height: 8px;
  border-radius: 999px;
  background: #f3f4f6;
  overflow: hidden;
}

.bsp-sp__reviews-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--bsp-sp-accent, #1a1a1a);
}

.bsp-sp__reviews-write {
  border: 1px solid #111111;
  border-radius: 0;
  background: #fff;
  color: #111111;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 12px 18px;
  cursor: pointer;
  white-space: nowrap;
}

.bsp-sp__reviews-write:hover {
  background: #111111;
  color: #ffffff;
}

.bsp-sp__reviews-slider {
  position: relative;
  padding: 0 44px;
}

.bsp-sp__reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.bsp-sp__reviews-arrow--prev {
  left: 0;
}

.bsp-sp__reviews-arrow--next {
  right: 0;
}

.bsp-sp__review-card {
  flex: 0 0 calc(33.333% - 10px);
  min-width: 280px;
  border: 0;
  border-top: 1px solid #e5e5e5;
  border-radius: 0;
  padding: 18px 4px;
  background: transparent;
}

.bsp-sp__review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.bsp-sp__review-card-stars svg {
  color: #e5e7eb;
}

.bsp-sp__review-card-stars svg.is-filled {
  color: var(--bsp-sp-accent, #1a1a1a);
}

.bsp-sp__review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #16a34a;
  font-size: 11px;
  font-weight: 600;
}

.bsp-sp__review-card-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--bsp-sp-title, #111827);
}

.bsp-sp__review-card-body {
  color: var(--bsp-sp-text, #6b7280);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.bsp-sp__review-card-body p {
  margin: 0;
}

.bsp-sp__review-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bsp-sp__review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.bsp-sp__review-author {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--bsp-sp-title, #111827);
}

.bsp-sp__review-date {
  margin: 0;
  font-size: 12px;
  color: var(--bsp-sp-muted, #9ca3af);
}

/* Newsletter */
.bsp-sp__newsletter {
  padding: 0 0 48px;
  background: var(--bsp-sp-card, #ffffff);
}

.bsp-sp__newsletter-container {
  border-radius: 0;
  overflow: hidden;
  background: var(--bsp-sp-card, #ffffff);
  border: 0;
}

.bsp-sp__newsletter-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}

.bsp-sp__newsletter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
}

.bsp-sp__newsletter-media--placeholder {
  min-height: 280px;
  background: #f3f1ee;
}

.bsp-sp__newsletter-content {
  padding: 32px 36px;
}

.bsp-sp__newsletter-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 500;
  color: var(--bsp-sp-title, #111111);
}

.bsp-sp__newsletter-subtitle {
  margin: 0 0 20px;
  color: var(--bsp-sp-text, #6b7280);
}

.bsp-sp__newsletter-form {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.bsp-sp__newsletter-form input[type="email"] {
  flex: 1;
  min-height: 48px;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  padding: 0 14px;
  font-size: 14px;
  background: #ffffff;
}

.bsp-sp__newsletter-form button {
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: #111111;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0 22px;
  cursor: pointer;
}

.bsp-sp__newsletter-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.bsp-sp__newsletter-features li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bsp-sp-text, #6b7280);
  font-size: 13px;
  font-weight: 500;
}

.bsp-sp__newsletter-feature-icon {
  color: var(--bsp-sp-accent, #1a1a1a);
}

/* Zoom overlay */
.bsp-sp__zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 100080;
  background: rgba(17, 24, 39, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 24px;
}

.bsp-sp__zoom-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(92vw, 900px);
  max-height: 90vh;
}

.bsp-sp__zoom-overlay img.bsp-sp__zoom-image {
  max-width: min(92vw, 900px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.bsp-sp__zoom-counter {
  position: absolute;
  left: 50%;
  bottom: -36px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.bsp-sp__zoom-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bsp-sp__zoom-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.bsp-sp__zoom-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--bsp-sp-title, #111827);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.18);
}

.bsp-sp__zoom-nav:hover {
  background: #fff;
}

.bsp-sp__zoom-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.bsp-sp__zoom-nav--prev {
  left: 24px;
}

.bsp-sp__zoom-nav--next {
  right: 24px;
}

/* WooCommerce review form in tab */
.bsp-sp__tab-panel--reviews #review_form_wrapper {
  margin-top: 0;
}

.bsp-sp__tab-panel--reviews .comment-form-rating label,
.bsp-sp__tab-panel--reviews .comment-form-comment label {
  font-weight: 600;
  color: var(--bsp-sp-title, #111827);
}

.bsp-sp__tab-panel--reviews #respond .form-submit input {
  background: var(--bsp-sp-accent, #1a1a1a);
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
}

@media (max-width: 1199px) {
  .bsp-sp__lower {
    grid-template-columns: 1fr;
  }

  .bsp-sp__review-card {
    flex: 0 0 calc(50% - 7px);
  }
}

@media (max-width: 991px) {
  .bsp-sp__hero {
    grid-template-columns: 1fr;
  }

  .bsp-sp__trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bsp-sp__reviews-summary {
    grid-template-columns: 1fr;
  }

  .bsp-sp__newsletter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .bsp-sp__mbd-tier-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .bsp-sp__mbd-prices {
    align-items: flex-start;
    text-align: left;
  }

  .bsp-sp {
    padding-top: 16px;
  }

  .bsp-sp__purchase {
    align-items: center;
    gap: 10px;
  }

  .bsp-sp__purchase-actions {
    flex: 1 1 100%;
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .bsp-sp__purchase .bsp-sp__add-cart,
  .bsp-sp__purchase .bsp-sp__checkout,
  .bsp-sp__purchase > .bsp-sp__add-cart.is-disabled {
    width: 100%;
    flex: none;
    min-height: 48px;
    font-size: 13px;
    letter-spacing: 0.05em;
  }

  .bsp-sp__purchase > .bsp-sp__add-cart.is-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bsp-sp__purchase .bsp-sp__wishlist {
    margin-left: auto;
  }


  .bsp-sp__gallery {
    grid-template-columns: 1fr;
  }

  .bsp-sp__gallery--has-thumbs {
    grid-template-columns: 1fr;
  }

  .bsp-sp__thumbs {
    display: none;
  }

  .bsp-sp__media-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 7px;
    -webkit-overflow-scrolling: touch;
  }

  .bsp-sp__media-item {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }

  .bsp-sp__trust {
    grid-template-columns: 1fr;
  }

  .bsp-sp__review-card {
    flex: 0 0 78%;
  }

  .bsp-sp__newsletter-form {
    flex-direction: column;
  }

  .bsp-sp__reviews-slider {
    padding: 0 36px;
  }

  .bsp-sp__zoom-nav--prev {
    left: 12px;
  }

  .bsp-sp__zoom-nav--next {
    right: 12px;
  }

  .bsp-sp__zoom-nav {
    width: 40px;
    height: 40px;
  }

  .bsp-sp__zoom-close {
    top: 12px;
    right: 12px;
  }
}
