.mf-product-main {
  width: var(--mf-wrap);
  margin: 0 auto;
  padding: 42px 0 80px;
}

.mf-product-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  color: var(--mf-muted);
  font-size: 13px;
}

.mf-product-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 46px;
  align-items: start;
}

.mf-product-gallery {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
}

.mf-gallery-thumbs {
  display: grid;
  gap: 12px;
  order: -1;
}

.mf-gallery-thumbs button {
  border: 1px solid transparent;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.mf-gallery-thumbs button.is-active {
  border-color: var(--mf-gold);
}

.mf-gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.mf-gallery-main {
  position: relative;
  overflow: hidden;
  background: var(--mf-panel);
}

.mf-gallery-main img {
  display: none;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.mf-gallery-main img.is-active {
  display: block;
}

.mf-media-modal-button {
  position: absolute;
  left: 18px;
  bottom: 18px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.mf-product-summary {
  position: sticky;
  top: 126px;
  padding: 30px;
  border: 1px solid var(--mf-border);
  background: var(--mf-panel);
}

.mf-product-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.mf-product-badges span {
  padding: 6px 9px;
  background: var(--mf-gold);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.mf-product-summary h1 {
  margin: 0 0 14px;
  color: var(--mf-white);
  font-size: clamp(30px, 3vw, 50px);
  line-height: 1.08;
}

.mf-single-rating {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--mf-gold);
  font-weight: 850;
}

.mf-single-rating span {
  color: var(--mf-muted);
}

.mf-single-price {
  margin-bottom: 12px;
  color: var(--mf-cream);
  font-size: 28px;
  font-weight: 900;
}

.mf-single-price del {
  margin-right: 10px;
  color: var(--mf-muted);
  font-size: 18px;
}

.mf-shipping-note,
.mf-stock-note {
  color: var(--mf-muted);
}

.mf-stock-note {
  color: #d5b977;
  font-weight: 850;
}

.mf-cart-form {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}

.mf-quantity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.mf-quantity-row > span {
  color: var(--mf-white);
  font-weight: 850;
}

.mf-quantity-stepper {
  display: grid;
  grid-template-columns: 42px 64px 42px;
  border: 1px solid var(--mf-border);
}

.mf-quantity-stepper button,
.mf-quantity-stepper input {
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--mf-white);
  text-align: center;
  font-weight: 850;
}

.mf-quantity-stepper input {
  border-inline: 1px solid var(--mf-border);
}

.mf-cart-form .single_add_to_cart_button {
  width: 100%;
  min-height: 52px;
}

.mf-payment-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.mf-payment-icons span {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--mf-border);
  color: var(--mf-muted);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.mf-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.mf-trust-grid span {
  padding: 10px;
  background: var(--mf-panel-soft);
  color: var(--mf-muted);
  font-size: 12px;
  text-align: center;
}

.mf-product-tabs {
  width: min(1120px, 100%);
  margin: 70px auto 0;
}

.mf-product-tab-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.mf-product-tab-panel {
  display: none;
  padding: 28px;
  border: 1px solid var(--mf-border);
  background: var(--mf-panel);
  color: var(--mf-muted);
  font-size: 17px;
  line-height: 1.75;
}

.mf-product-tab-panel.is-active {
  display: block;
}

.mf-product-tab-panel h2 {
  margin: 0 0 12px;
  color: var(--mf-white);
}

.mf-product-reviews {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  width: min(1120px, 100%);
  margin: 72px auto 0;
  padding: 34px;
  border: 1px solid var(--mf-border);
  background: var(--mf-panel);
}

.mf-stars {
  color: var(--mf-gold);
  font-size: 24px;
}

.mf-review-bars {
  display: grid;
  gap: 12px;
}

.mf-review-bars span {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  color: var(--mf-muted);
}

.mf-review-bars span::after {
  content: "";
  height: 10px;
  align-self: center;
  background: linear-gradient(to right, var(--mf-gold) var(--bar), rgba(255, 255, 255, 0.14) var(--bar));
}

.mf-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.9);
}

.mf-gallery-modal.is-open {
  display: grid;
}

.mf-gallery-modal-stage img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  object-fit: contain;
}

.mf-gallery-close {
  position: absolute;
  right: 24px;
  top: 24px;
  border: 0;
  background: transparent;
  color: #fff;
}
