/*
 * Single Product Styles
 * Sections:
 *   1. Product Meta (Hero)
 *   2. Brand Title Section
 *   3. Three Box Section
 *   4. Customer Reviews
 *   5. Related Products
 *   6. Popups (Size Chart, Review)
 *   7. Complete Your Look
 *   8. Tabs
 *   9. Responsive
 */

/* ============================================================
   1. PRODUCT META (HERO)
============================================================ */
.sp-meta {
  padding: 0;
}

.sp-meta__container {
  display: flex;
  gap: 0;
}

/* Gallery – 60% */
.sp-meta__gallery {
  flex: 0 0 60%;
  max-width: 60%;
  position: relative;
}

.sp-meta__gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  position: sticky;
  top: 6.5em;
  overflow: visible;
}

/* Desktop: swiper-wrapper is transparent so items sit in the grid */
.sp-meta__gallery-grid .swiper-wrapper {
  display: contents;
}

@media only screen and (min-width: 992px) {
  .sp-meta__gallery-grid .swiper-slide {
    transform: none !important;
    width: 100% !important;
  }
}
.sp-meta__gallery-controls {
  display: none;
}

.sp-meta__gallery-item {
  overflow: hidden;
  border-radius: 0;
}

.sp-meta__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info – 40% */
.sp-meta__info {
  flex: 0 0 39.584%;
  max-width: 39.584%;
  padding: 3em 3em 0 3em;
}

/* Title */
.sp-meta__title {
  font-size: 2.5em;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 4px;
}

/* Meta details */
.sp-meta__details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em 0.55em;
  font-size: 0.94em;
  color: var(--color-black);
  margin-bottom: 1.467em;
  line-height: 1.6;
}

.sp-meta__detail strong {
  color: #12121299;
  font-weight: 400;
}

.sp-meta__detail a {
  color: inherit;
  text-decoration: none;
}

.sp-meta__detail a:hover {
  color: var(--color-black);
}

.sp-meta__details .sp-meta__detail:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 60%;
  background: var(--color-black-20);
  margin-left: 0.35em;
  vertical-align: middle;
}

/* Short Description */
.sp-meta__short-desc {
  border-bottom: 1px solid var(--stroke-light);
  padding-bottom: 1.467em;
  margin-bottom: 1.467em;
}

.sp-meta__short-desc p {
  font-size: 0.94em;
  line-height: 1.47;
  margin: 0;
  opacity: 0.8;
}

.sp-meta__short-desc p:last-child {
  margin-bottom: 0;
}

/* Price */
.sp-meta__price-row {
  display: flex;
  align-items: center;
  gap: 0.7em;
  flex-wrap: wrap;
  margin-bottom: 1.467em;
}

.sp-meta__price-row .product-badge {
  transform: rotate(0);
  text-orientation: unset;
  writing-mode: unset;
}
.sp-meta__price {
  font-size: 1.625em;
  text-transform: uppercase;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: -1%;
  line-height: 1.25;
}

.sp-meta__price del {
  color: var(--color-gray-60);
  font-size: 0.8em;
  margin-right: 0.5em;
}

.sp-meta__price ins {
  text-decoration: none;
  color: var(--color-black);
}

.sp-meta__rating {
  display: flex;
  align-items: center;
}

/* ============================================================
   SIZE PICKER
============================================================ */
.sp-sizes {
  margin-bottom: 1.467em;
}

.sp-sizes__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75em;
}

.sp-sizes__label {
  text-transform: uppercase;

  font-family: "Fjalla One", sans-serif;
  font-size: 0.94em;
  color: #12121299;
  line-height: 1.6;
}

.sp-sizes__selected {
  color: #121212;
}

.sp-sizes__chart-link {
  display: flex;
  align-items: center;
  gap: 0.525em;
  background: none;
  border: none;
  cursor: pointer;

  color: var(--color-black);

  padding: 0;
  font-family: "Fjalla One", sans-serif;
  text-transform: uppercase;
  font-size: 0.94em;
  color: var(--color-black);
  line-height: 1.6;
}

.sp-sizes__chart-link:hover {
  opacity: 0.7;
}

.sp-sizes__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.sp-sizes__btn {
  min-width: 4.3em;
  padding: 1.001em 1.13em;
  border: 1px solid #e6e6e6;
  border-radius: var(--border-radius--small);
  background: var(--color-white);
  font-size: 0.875em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-transform: uppercase;
}

.sp-sizes__btn:hover {
  border-color: var(--color-black);
}

.sp-sizes__btn--active {
  border-color: var(--color-black);
}

.sp-sizes__btn--unavailable {
  opacity: 0.4;
  cursor: not-allowed;
  position: relative;
  overflow: hidden;
}

.sp-sizes__btn--unavailable::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(37deg);
  font-size: 0.75em;
  z-index: 2;
  width: 200%;
  border-bottom: 1px solid #e6e6e6;
}

.sp-sizes__stock {
  display: flex;
  align-items: center;
  gap: 0.925em;
  margin-top: 1.467em;
  font-size: 0.94em;
  color: #0d8756;
  font-weight: 600;
  line-height: 1.6;
}

.sp-sizes__stock::before {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  background: var(--stock-color, #2E8B57);
  border-radius: 50%;
}

.sp-sizes__stock svg {
  flex-shrink: 0;
}

/* ============================================================
   ADD TO CART
============================================================ */
.sp-add-to-cart {
  margin-bottom: 1.375em;
}

.sp-add-to-cart__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1em 2em;
  font-size: 0.825em;
  outline: none;
  box-shadow: none;
  transition: all 0.4s ease;
}

.sp-add-to-cart__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.sp-add-to-cart__btn:disabled:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.sp-add-to-cart__btn.is-loading span {
  opacity: 0;
}

.sp-add-to-cart__btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: sp-spin 0.6s linear infinite;
}

@keyframes sp-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   TRUST BADGE
============================================================ */
.sp-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  color: #006fcf;
  padding: 0;
  margin-bottom: 1.467em;
}

.sp-trust svg {
  flex-shrink: 0;
}

.sp-trust__item {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 0.94em;
  line-height: 1.47;
  gap: 0.55em;
  position: relative;
}
.sp-trust__item:first-of-type::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.9em;
  background: #006fcf;
  vertical-align: middle;
  opacity: 0.2;
}

/* ============================================================
   DELIVERY BOX
============================================================ */
.line-separator {
  border-right: 1px solid #e6e6e6;
  height: 0.95em;
}
.sp-delivery {
  background: #fff;
  border-radius: var(--border-radius--medium);
  padding: 0.75em;
  margin-bottom: 1.467em;
}

.sp-delivery__header {
  display: flex;
  gap: 0.55em;
  margin-bottom: 0.675em;
  padding-bottom: 0.55em;
  border-bottom: 1px solid #e6e6e6;
}

.sp-delivery__title {
  display: none;
  align-items: center;
  font-weight: 400;
  font-size: 0.94em;
  line-height: 1.47;
  gap: 0.55em;
  text-transform: uppercase;
  font-family: "Fjalla One", sans-serif;
  color: rgba(18, 18, 18, 0.6);
}
.sp-delivery__title img {
  display: block;
  width: 1.3em;
  height: 1.3em;
}
.sp-delivery__title b {
  font-weight: 400;
  color: rgba(18, 18, 18, 1);
}

.question-row span {
  color: rgba(18, 18, 18, 0.6);
}

.question-row span a {
  color: #121212;
}

.sp-delivery__row svg,
.sp-delivery__row img {
  flex-shrink: 0;
  width: 1.25em;
  height: 1.25em;
  margin-top: 0;
  object-fit: contain;
}

.sp-delivery__title.is-active {
  display: flex;
}

.sp-delivery__content {
  display: flex;
  flex-direction: column;
  gap: 0.675em;
}

.sp-delivery__row {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 500;
  font-size: 0.94em;
  line-height: 1.47;
}

.sp-delivery__row b {
  font-weight: 700;
}

/* ============================================================
   ACCORDION (Product Description)
============================================================ */
.sp-accordion {
  border-top: 1px solid var(--stroke-light);
  margin-bottom: 0;
}

.sp-accordion:last-of-type {
  border-bottom: 1px solid var(--stroke-light);
}

.sp-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.467em 0 1.467em;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Fjalla One", sans-serif;
  font-size: 0.94em;
  line-height: 1;
  font-weight: 400;
  text-align: left;
  color: var(--color-black);
  text-transform: uppercase;
}

.sp-accordion__icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.sp-accordion__icon::before,
.sp-accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--color-black);
  transition: transform 0.4s ease;
  border-radius: 2px;
}

/* Horizontal bar (—) */
.sp-accordion__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

/* Vertical bar (|) — together with ::before forms + */
.sp-accordion__icon::after {
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

/* When open: rotate vertical bar 90° → + becomes − */
.sp-accordion--open .sp-accordion__icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.sp-accordion__content {
  display: none;
}

.sp-accordion__inner {
  padding-bottom: 1.725em;
  font-size: 0.94em;
  line-height: 1.47;
  margin: 0;
  opacity: 0.8;
}

.sp-accordion__inner p {
  margin: 0 0 1.35em;
}

.sp-accordion__inner p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   COMPLETE YOUR LOOK
============================================================ */
.sp-complete-look {
  border-top: 1px solid var(--stroke-light);
  padding-top: 1.725em;
  margin-bottom: 2.25em;
}

.sp-complete-look__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75em;
}

.sp-complete-look__title {
  font-family: "Fjalla One", sans-serif;
  font-size: 0.94em;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

.sp-complete-look__arrows {
  display: flex;
  gap: 0.25em;
}

.sp-complete-look__prev,
.sp-complete-look__next {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.sp-complete-look__prev.swiper-button-disabled,
.sp-complete-look__next.swiper-button-disabled {
  opacity: 0.6;
}

.sp-complete-look__prev:hover,
.sp-complete-look__next:hover {
  opacity: 1;
}

.sp-complete-look__swiper {
  overflow: hidden;
}

.sp-complete-look__swiper .product-item {
  width: 100%;
}

.sp-complete-look__swiper .product-item__image img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.sp-complete-look__swiper .product-item__category {
  display: none;
}

.sp-complete-look__swiper .product-item__title {
  font-size: 0.94em;
  line-height: 1.13;
  margin-bottom: 2px;
}

.sp-complete-look__swiper .product-item__image {
  margin-bottom: 7px;
}

.sp-complete-look__swiper .product-item__price {
  font-size: 0.75em;
}

.sp-complete-look__swiper .product-item__actions {
  display: none;
}

.sp-complete-look__swiper .product-item__actions.product-item__actions--mobile {
  display: block;
  position: relative;
  transform: translateY(0);
  padding: 0;
}

.sp-complete-look__swiper
  .product-item__actions.product-item__actions--mobile
  .product-item__view {
  display: none;
}

.sp-complete-look__swiper .swiper-slide {
  height: auto;
}
.sp-complete-look__swiper .product-item__info {
  flex: 1;
  justify-content: space-between;
  gap: 0.55em;
}

.sp-complete-look__swiper .product-item__add-to-cart {
  font-size: 0.75em;
  gap: 0.75em;
  min-height: 3em;
  width: 100%;
}
.sp-complete-look__swiper .product-item__add-to-cart svg {
  width: 1em;
}
/* Accordion table (additional info) */
.sp-accordion__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

.sp-accordion__table tr {
  border-bottom: 1px solid var(--stroke-light);
}

.sp-accordion__table th,
.sp-accordion__table td {
  padding: 0.75em 0;
  text-align: left;
  font-size: 1em;
}

.sp-accordion__table th {
  font-weight: 600;
  width: 40%;
  color: var(--color-black);
}

.sp-accordion__table td {
  color: var(--color-gray-60);
}

/* ============================================================
   2. BRAND TITLE SECTION
============================================================ */
.sp-brand-title {
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
}

.sp-brand-title__inner {
  width: 100%;
  text-align: center;
  max-width: 90em;
  margin: 0 auto;
}

.sp-brand-title h2 {
  font-family: "Fjalla One", sans-serif;
  font-size: 4.75em;
  font-weight: 400;
  letter-spacing: -2px;
  text-transform: uppercase;
  line-height: 1.11;
  margin: 0;
  padding: 2.5em 0;
}

/* ============================================================
   3. THREE BOX SECTION
============================================================ */
.sp-three-boxes {
  padding-top: 0;
  padding-bottom: 7em;
}

.sp-three-boxes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25em;
}

.sp-three-boxes__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius--small);
  aspect-ratio: 3 / 4;
}

.sp-three-boxes__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.sp-three-boxes__item:hover img {
  transform: scale(1.03);
}

.sp-three-boxes__overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1.5em;
  color: var(--color-white);
  text-align: center;
  width: 100%;
  max-width: 27em;
}

.sp-three-boxes__overlay h3 {
  font-family: "Fjalla One", sans-serif;
  font-size: 3em;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 0 0.175em;
  line-height: 1.188;
  color: var(--color-white);
  letter-spacing: 0.2px;
}

.sp-three-boxes__overlay p {
  font-size: 1.125em;
  line-height: 1.445;
  margin: 0;
  opacity: 1;
  letter-spacing: 0.2px;
}

/* ============================================================
   4. CUSTOMER REVIEWS
============================================================ */
.sp-reviews {
  padding-top: 0em;
  padding-bottom: 5em;
  position: relative;
}

.sp-reviews__container {
  display: flex;
  gap: 3em;
  padding-top: 5em;
}

.sp-reviews::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 6em);
  height: 1px;
  border-top: 1px solid var(--color-black-20);
}

.sp-reviews__left {
  flex: 1;
  min-width: 0;
}

.sp-reviews__right {
  flex: 1;
  min-width: 0;
}

.sp-reviews__summary {
  max-width: 32em;
  position: sticky;
  top: 8.5em;
}

.sp-reviews__summary h2 {
  font-family: "Fjalla One", sans-serif;
  font-size: var(--font-size--h1);
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 0.228em;
}

.sp-reviews__summary > p {
  font-size: 1.125em;
  line-height: 1.445;
  margin: 0 0 2.5em;
}

.sp-reviews__rating {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.25em;
}

.sp-reviews__avg {
  font-family: "Fjalla One", sans-serif;
  font-size: 3.75em;
  display: inline-block;
  line-height: 1;
}

.sp-stars {
  display: inline-flex;
  gap: 0;
}

.sp-stars svg {
  width: 1em;
  height: 1em;
}

.sp-reviews__rating-flex {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.sp-reviews__rating-flex .sp-stars svg {
  width: 1.25em;
  height: 1.25em;
}
.sp-reviews__rating-flex .sp-stars svg path {
  stroke: #ffcc25;
  fill: #ffcc25;
}

.sp-meta__rating-count {
  font-weight: 400;
  font-size: 0.8em;
  line-height: 1.75;
  text-decoration: underline;
}

.sp-reviews__count {
  font-size: 0.94em;
  line-height: 1.47;
  color: #121212;
  margin: 0;
}

.sp-reviews__write-btn {
  box-shadow: none;
}

.sp-reviews__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75em;
  padding: 2.125em 0;
  border-top: 1px solid rgba(18, 18, 18, 0.08);
}

.sp-reviews__rating-stars {
  display: flex;
  align-items: center;
  gap: 1.25em;
}

/* Review list */
.sp-reviews__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(18, 18, 18, 0.08);
  border-left: 1px solid rgba(18, 18, 18, 0.08);
  border-right: 1px solid rgba(18, 18, 18, 0.08);
}

.sp-reviews__item {
  padding: 1.75em 1.5em;
  border-bottom: 1px solid var(--color-black-15);
  display: flex;
  justify-content: space-between;
}
.sp-reviews__item-left {
  width: 30%;
}

.sp-reviews__item-right {
  width: 65%;
}

.sp-reviews__item-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sp-reviews__item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 0.4em;
}

.sp-reviews__item-author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
}

.sp-reviews__item-author strong {
  font-size: 0.95em;
}

.sp-reviews__verified {
  display: inline;
  align-items: center;
  padding: 2px 4px;
  gap: 2px;
  font-size: 0.75em;
  line-height: 1;
  color: #006fcf;
  font-family: "Fjalla One", sans-serif;
  text-transform: uppercase;
  border-radius: 2px;
  background-color: #f0f0f0;
}

.sp-reviews__recommend {
  font-size: 0.75em;
  color: #121212;
  display: flex;
  align-items: center;
  margin: 0;
  gap: 2px;
  line-height: 1;
}

.sp-reviews__item-body {
  font-size: 1em;
  line-height: 1.6;
  color: #121212;
  opacity: 0.8;
  margin-bottom: 0em;
}

.sp-reviews__item-body p {
  margin: 0 0 0em;
}

.sp-reviews__item-image {
  margin-bottom: 0.75em;
}

.sp-reviews__item-image img {
  max-width: 120px;
  border-radius: var(--border-radius--small);
}

.sp-reviews__item-date {
  font-size: 0.75em;
  color: #7b7b7b;
  line-height: 1.5;
}

.sp-reviews__item-title {
  text-transform: uppercase;
  margin-bottom: 15px;
  font-size: 1.25em;
}

.sp-reviews__empty {
  font-size: 0.92em;
  color: var(--color-gray-60);
  padding: 2em 0;
}

.sp-reviews__item-left__top {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  align-items: flex-start;
}

.sp-reviews__item-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75em;
}

/* ============================================================
   5. RELATED PRODUCTS
============================================================ */
.sp-related {
  padding-top: 9.5em;
  padding-bottom: 0;
}

.sp-related__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2em;
}

.sp-related__header h2 {
  font-family: "Fjalla One", sans-serif;
  font-size: var(--font-size--h3);
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.15;
}

.sp-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
}

.sp-related__grid .product-item {
  width: 100%;
}

/* ============================================================
   6. POPUPS
============================================================ */
.sp-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0.3s,
    opacity 0.3s ease;
}

.sp-popup.is-open {
  visibility: visible;
  opacity: 1;
}

.sp-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.sp-popup__panel {
  position: relative;
  background: var(--color-white);
  border-radius: var(--border-radius--small);
  max-width: 600px;
  width: calc(100% - 30px);
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.sp-popup.is-open .sp-popup__panel {
  transform: translateY(0);
}

.sp-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25em 1.5em;
  border-bottom: 1px solid var(--stroke-light);
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--color-black);
}

.sp-review-success {
  padding: 2em 0;
}
.sp-review-success p {
  margin: 0;
  text-align: center;
}

.sp-popup__header h3 {
  font-family: "Fjalla One", sans-serif;
  font-size: 1.2em;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
  color: var(--color-white);
}

.sp-popup__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.sp-popup__close:hover {
  opacity: 0.6;
}

.sp-popup__close svg path {
  stroke: var(--color-white);
}

.sp-popup__body {
  padding: 1.5em;
}

.sp-popup__body img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius--small);
}

/* Review form inside popup */
.sp-popup__body .comment-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sp-popup__body .comment-form p {
  margin: 0 0 1.25em;
}

.sp-popup__body .comment-form > p label,
.sp-popup__body .comment-form .comment-form-row--half label {
  display: block;
  margin-bottom: 4px;
  font-size: 1em;
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
}

.sp-popup__body .comment-form input[type="text"],
.sp-popup__body .comment-form input[type="email"],
.sp-popup__body .comment-form textarea {
  width: 100%;
  padding: 1.31em 0.875em;
  border: 1px solid rgba(28, 28, 28, 0.15);
  border-radius: var(--border-radius--small);
  font-family: "Archivo", sans-serif;
  font-size: 0.875em;
  line-height: 1.4;
  transition: border-color 0.2s ease;
}

.sp-popup__body .comment-form input::placeholder,
.sp-popup__body .comment-form textarea::placeholder {
  text-transform: uppercase;
}

.sp-popup__body .comment-form textarea {
  resize: none;
  height: 8.4em;
}

.sp-popup__body .comment-form input:focus,
.sp-popup__body .comment-form textarea:focus {
  outline: none;
  border-color: rgba(28, 28, 28, 1);
}

/* Half-row (name + email) */
.comment-form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25em;
  margin-bottom: 1.25em;
}

.comment-form-row--half p {
  margin: 0 !important;
}

/* Cookies consent checkbox */
.comment-form-cookies-consent {
  margin-bottom: 1.25em !important;
  display: flex;
  align-items: center;
  gap: 0.35em;
}

.comment-form-cookies-consent label {
  display: flex !important;
  align-items: center;
  gap: 0.5em;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  font-family: "Archivo", sans-serif !important;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 0 !important;
}

.comment-form-cookies-consent input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
}

.sp-popup__body .comment-form .btn-dark {
  width: 100%;
  margin-top: 0;
}

/* Rating Picker */
.sp-rating-picker {
  margin-bottom: 1.25em;
}

.sp-rating-picker p.stars {
  display: none;
}

.sp-rating-picker__stars {
  display: flex;
  gap: 0px;
}

.sp-rating-picker__star {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0px;
  line-height: 1;
  transition: transform 0.15s ease;
}

.sp-rating-picker__star:hover {
  transform: scale(1.15);
}

.comment-reply-title {
  display: none;
}
.sp-rating-picker__star svg path {
  transition: fill 0.15s ease;
}
.sp-rating-picker__star svg {
  width: 1.5em;
  height: 1.5em;
}

.sp-rating-picker__star.is-active svg path,
.sp-rating-picker__star.is-hovered svg path {
  fill: #0d0d0d;
}

/* ============================================================
   9. RESPONSIVE
============================================================ */
@media only screen and (max-width: 1440px) {
  .sp-brand-title h2 {
    font-size: 3.75em;
    letter-spacing: -0.02em;
  }

  .sp-reviews__avg,
  .sp-three-boxes__overlay h3 {
    font-size: 2.75em;
  }
}
@media only screen and (max-width: 1280px) {
  .sp-meta__info {
    flex: 0 0 45%;
    max-width: 45%;
    padding: 2.75em 2.75em 0 2.75em;
  }
  .sp-meta__gallery {
    flex: 0 0 55%;
    max-width: 55%;
    position: relative;
  }
}

@media only screen and (max-width: 991px) {
  .sp-meta__container {
    flex-direction: column;
  }
  .sp-meta__gallery,
  .sp-meta__info {
    flex: none;
    max-width: 100%;
  }
  .sp-meta__info {
    padding: 30px 15px;
  }

  .sp-brand-title h2 {
    font-size: 3.25em;
  }

  /* Gallery slider */
  .sp-meta__gallery-grid {
    display: block;
    overflow: hidden;
    position: static;
  }

  .sp-meta__gallery-grid .swiper-wrapper {
    display: flex;
  }

  .sp-meta__gallery-grid .swiper-slide {
    transform: unset !important;

    flex-shrink: 0;
  }

  .sp-meta__gallery-controls {
    display: flex;
    align-items: center;
    margin-top: 1em;
    padding: 0 15px;
  }

  .sp-meta__gallery-progressbar {
    flex: 1;
    height: 2px;
    background: rgba(7, 40, 53, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
  }

  .sp-meta__gallery-progressbar .swiper-pagination-progressbar-fill {
    background: var(--color-black);
    height: 100%;
  }

  .sp-complete-look {
    width: 100vw;
    left: -15px;
    position: relative;
  }

  .sp-complete-look__swiper,
  .sp-complete-look__header {
    padding-left: 15px;
    padding-right: 15px;
  }

  .sp-three-boxes__grid {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 4px;
  }

  .sp-three-boxes__item {
    width: 100%;
  }

  .sp-reviews__container,
  .sp-reviews__wrapper {
    flex-direction: column;
  }
  .sp-reviews__container {
    gap: 0;
  }
  .sp-reviews__summary h2,
  .sp-reviews__summary > p {
    text-align: center;
  }
  .sp-reviews::before {
    width: calc(100% - 30px);
  }
  .sp-three-boxes {
    padding-bottom: 5em;
  }
  .sp-reviews__summary > p {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .sp-reviews__wrapper {
    padding: 20px 0px;
  }
  .sp-reviews__summary {
    max-width: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .sp-brand-title h2 {
    font-size: 2.5em;
  }
}

@media only screen and (max-width: 575px) {
  .sp-meta__info {
    padding: 1em 15px;
  }

  .sp-meta__title {
    font-size: 1.675em;
  }
  .sp-meta__details {
    font-size: 0.785em;
    margin-bottom: 1.15em;
  }
  .sp-accordion__inner {
    font-size: 0.85em;
  }
  .sp-meta__price {
    font-size: 1.15em;
  }
  .sp-meta__rating-count {
    font-size: 0.75em;
  }
  .sp-meta__badges {
    display: none;
  }
  .sp-stars svg {
    width: 0.95em;
    height: 0.95em;
  }
  .sp-meta__price-row {
    margin-bottom: 0.91em;
  }

  .sp-meta__short-desc {
    padding-bottom: 0.91em;
    margin-bottom: 0.91em;
  }
  .sp-meta__short-desc p {
    font-size: 0.85em;
  }

  .sp-trust__item,
  .sp-sizes__stock,
  .sp-sizes__btn,
  .sp-sizes__label,
  .sp-sizes__chart-link {
    font-size: 0.785em;
  }
  .sp-trust__item:last-of-type {
    display: none;
  }
  .sp-trust__item:first-of-type::after {
    content: none;
  }

  .sp-sizes {
    margin-bottom: 0.91em;
  }
  .sp-sizes__stock {
    margin-top: 1.15em;
  }

  .sp-add-to-cart__btn {
    min-height: 2.85em;
    gap: 0.75em;
    font-size: 0.775em;
    width: 100%;
    padding: 0.75em 1.5em;
  }
  .sp-trust__item {
    line-height: 1;
  }
  .sp-trust svg {
    width: 1.4em;
  }
  .sp-trust,
  .sp-add-to-cart,
  .sp-delivery {
    margin-bottom: 0.91em;
  }
  .sp-delivery__row {
    font-size: 0.8375em;
    align-items: flex-start;
  }
  .sp-delivery__item {
    display: flex;
    align-items: center;
    gap: 0.875em 0.55em;
  }
  .sp-delivery__row.column-2 {
    flex-wrap: wrap;
    gap: 0.675em 0.55em;
  }
  .sp-delivery__row .line-separator {
    display: none;
  }
  .sp-delivery__title {
    font-size: 0.8em;
    line-height: 1;
  }

  .sp-accordion__trigger {
    font-size: 0.8em;
    padding-top: 1em;
    padding-bottom: 1em;
  }

  .sp-complete-look__header {
    margin-bottom: 0.91em;
  }
  .sp-complete-look__title {
    font-size: 0.8em;
  }
  .sp-complete-look__arrows {
    gap: 0;
  }

  .sp-complete-look__arrows svg {
    width: 1.5em;
  }

  .sp-brand-title h2 {
    font-size: 1.675em;
  }

  .sp-brand-title {
    min-height: 60vh;
  }

  .sp-three-boxes__overlay h3 {
    font-size: 1.675em;
  }
  .sp-three-boxes__overlay p {
    font-size: 0.8em;
  }

  .sp-three-boxes__overlay {
    max-width: 20em;
  }
  .sp-three-boxes__overlay h3 {
    max-width: 9em;
    margin-left: auto;
    margin-right: auto;
  }
  .sp-reviews__avg {
    font-size: 2.65em;
  }
  .sp-reviews__rating-flex {
    gap: 0.35em;
  }

  .sp-reviews__item {
    flex-direction: column-reverse;
    gap: 1.25em;
  }

  .sp-reviews__item-left,
  .sp-reviews__item-right {
    width: 100%;
  }
  .sp-reviews__item-title {
    font-size: 1em;
  }
  .sp-reviews__item-body {
    font-size: 0.8em;
  }
  .sp-reviews__item-left__top {
    font-size: 0.75em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25em;
    flex-wrap: wrap;
    flex-direction: row;
  }

  .sp-reviews__verified svg {
    width: 1.75em;
  }
  .sp-sizes__stock {
    gap: 8px;
  }
}

/* ============================================================
   MOBILE STICKY BAR
============================================================ */
.sp-sticky-bar {
  display: none;
}

@media only screen and (max-width: 575px) {
  .sp-sticky-bar {
    display: flex;
    transform: translateY(0%);
    opacity: 1;
    visibility: visible;
    flex-direction: column;
    gap: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: #fff;
    padding: 0px 15px 12px;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
  }

  .sp-sticky-bar__top {
    display: flex;
    align-items: center;
    gap: 0.75em;
    padding: 7px 0;
    position: relative;
    margin-bottom: 12px;
  }

  .sp-sticky-bar__top::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: 1px solid var(--stroke-light);
    width: 100vw;
  }

  .sp-sticky-bar__left {
    display: flex;
    gap: 0.65em;
    flex: 1;
    min-width: 0;
  }

  .sp-sticky-bar__img {
    width: 2.85em;
    height: 2.85em;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
  }

  .sp-sticky-bar__meta {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    justify-content: space-between;
  }

  .sp-sticky-bar__select {
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: 1px solid var(--color-black);
    border-radius: var(--border-radius--small);
    padding: 0.5em 2.25em 0.5em 1em;
    font-size: 0.8em;
    text-transform: uppercase;
    font-family: "Fjalla One", sans-serif;
    font-weight: 400;
    color: var(--color-black);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%231C1C1C' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6em center;
    max-width: 7.5em;
    display: flex;
    align-items: center;
    min-height: 40px;
    outline: none;
  }

  .sp-sticky-bar__btn {
    width: 100%;
    min-height: 2.85em;
    font-size: 0.8em;
  }

  .sp-sticky-bar__top .sp-sizes__stock {
    margin-top: 4px;
  }
}
