@media (min-width: 1200px) {
  .tf-pd-info.tf-product-info-wrap,
  .tf-section[data-tf-type="product.info"] .tf-product-info-wrap,
  .tf-main-product__info .tf-product-info-wrap {
    max-width: none;
    width: 100%;
    margin-left: 0;
  }
}

html[data-device="desktop"] .tf-pd-info.tf-product-info-wrap,
html[data-device="desktop"] .tf-section[data-tf-type="product.info"] .tf-product-info-wrap,
html[data-device="desktop"] .tf-main-product__info .tf-product-info-wrap,
body[data-device="desktop"] .tf-pd-info.tf-product-info-wrap,
body[data-device="desktop"] .tf-section[data-tf-type="product.info"] .tf-product-info-wrap,
body[data-device="desktop"] .tf-main-product__info .tf-product-info-wrap {
  max-width: none;
  width: 100%;
  margin-left: 0;
}

.tf-pd-buybox {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.tf-pd-buybox__price {
  padding: 16px 14px 4px;
}

.tf-pd-buybox__price .price-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.tf-pd-buybox__price .price-on-sale {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 500;
  color: var(--black, #14110e);
  line-height: 1.25;
  word-break: break-word;
}

.tf-pd-buybox .tf-product-total-quantity {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 14px 14px;
  min-width: 0;
}

.tf-pd-buybox .tf-product-total-quantity > .tf-designer-total,
.tf-pd-buybox .tf-product-total-quantity > .tf-preorder,
.tf-pd-buybox .tf-product-total-quantity > .tf-snotify {
  width: 100%;
}

.tf-pd-buybox .group-action {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.tf-pd-buybox .wg-quantity {
  flex: 0 0 auto;
  width: auto;
  min-width: 96px;
  max-width: 120px;
  height: 44px;
  padding: 4px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}

.tf-pd-buybox .wg-quantity .quantity-product {
  width: 2.4em;
  min-width: 0;
  font-size: 0.92rem;
}

.tf-pd-buybox .btn-action-price,
.tf-pd-buybox__atc {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 140px;
  width: auto !important;
  max-width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px !important;
  margin: 0;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  border-radius: 999px !important;
}

.tf-pd-buybox__atc .bi {
  font-size: 1rem;
  flex: 0 0 auto;
}

.tf-pd-buybox__atc span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.tf-pd-buybox__stock {
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.3;
}

.tf-pd-info--info_2 {
  container: pd-info / inline-size;
  min-width: 0;
  --pd-accent: #007bc4;
  --pd-heading: #1c1c1a;
  --pd-line: #e5e9ed;
  --pd-surface: #f6f8fa;
}

.tf-pd-info--info_2 .tf-pd-info__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.tf-product-info-wrap.tf-pd-info--info_2 .tf-product-info-list.tf-pd-info__grid > :nth-child(n) {
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

.tf-pd-info--info_2 .tf-pd-info__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tf-pd-info--info_2 .tf-pd-info__heading .product-infor-name {
  font-family: inherit;
  font-size: clamp(1.35rem, 3.6cqi, 1.9rem);
  font-weight: 600 !important;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--pd-heading);
  overflow-wrap: anywhere;
}

.tf-pd-info--info_2 .tf-pd-info__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 0;
}

.tf-pd-info--info_2 .tf-pd-info__details > * {
  min-width: 0;
  margin-block: 0;
}

.tf-pd-info--info_2 .product-infor-brand__name {
  font-size: 1rem;
  font-weight: 700;
}

.tf-pd-info--info_2 [data-tf-product-sku],
.tf-pd-info--info_2 .tf-pd-info__categories {
  font-size: 14px;
  line-height: 1.6;
  color: #383838;
  overflow-wrap: anywhere;
}

.tf-pd-info--info_2 .tf-pd-buybox {
  border: 1px solid var(--pd-line);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgb(28 36 48 / 4%);
  background: #fff;
  overflow: hidden;
}

.tf-pd-buybox__header {
  padding: var(--tf-pd-buybox-header-padding-y, 12px) 20px;
  background: var(--tf-pd-buybox-header-background, #edf6fb);
  color: #161616;
  text-align: var(--tf-pd-buybox-header-align, center);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.tf-pd-buybox__header a {
  color: inherit;
  text-decoration: none;
}

.tf-pd-buybox__header a:hover {
  text-decoration: underline;
}

.tf-pd-info--info_2 .tf-pd-buybox__price {
  padding: 24px;
  text-align: left;
}

.tf-pd-info--info_2 .tf-pd-buybox__price .price-wrap {
  justify-content: flex-start;
  gap: 6px 10px;
}

.tf-pd-info--info_2 .tf-pd-buybox__price .price-on-sale {
  font-size: clamp(1.85rem, 4.8cqi, 2.25rem) !important;
  font-weight: 800 !important;
  color: var(--pd-heading) !important;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.tf-pd-info--info_2 .tf-pd-buybox .tf-product-total-quantity {
  padding: 12px 16px;
  gap: 12px;
  border-top: 1px solid var(--pd-line);
  background: var(--pd-surface);
}

.tf-pd-info--info_2 .tf-pd-buybox .group-action {
  gap: 8px;
}

.tf-pd-info--info_2 .tf-pd-buybox .wg-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 92px;
  min-width: 0;
  height: 42px;
  padding: 0 3px;
  border: 1px solid var(--pd-line);
  border-radius: 8px;
  box-shadow: none;
}

.tf-pd-info--info_2 .tf-pd-buybox .btn-quantity {
  flex: 0 0 28px;
  width: 28px;
  height: 40px;
  padding: 0;
  border-radius: 6px;
  color: #62676b;
  transition: background-color 160ms ease, color 160ms ease;
}

.tf-pd-info--info_2 .tf-pd-buybox .btn-quantity:hover {
  background: var(--pd-surface);
  color: var(--pd-heading);
}

.tf-pd-info--info_2 .tf-pd-buybox .quantity-product {
  width: 28px;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
}

.tf-pd-info--info_2 .tf-pd-buybox__atc {
  flex: 1 1 140px;
  height: 42px;
  padding-inline: 12px !important;
  border-radius: 8px !important;
  text-transform: none;
  border-color: var(--pd-accent) !important;
  background: var(--pd-accent) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0;
  transition: background-color 160ms ease;
}

.tf-pd-info--info_2 .tf-pd-buybox__atc::before {
  background: #0067b0;
}

.tf-pd-info--info_2 .tf-pd-buybox__atc:hover {
  background: #0067b0 !important;
}

.tf-pd-info--info_2 .tf-pd-buybox__atc .bi {
  font-size: 16px;
}

.tf-pd-buybox a:focus-visible,
.tf-pd-buybox button:focus-visible,
.tf-pd-buybox input:focus-visible {
  outline: 2px solid var(--pd-accent, #0079ce);
  outline-offset: -3px;
}

@container pd-info (min-width: 620px) {
  .tf-pd-info--info_2 .tf-pd-info__grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    column-gap: 24px;
  }

  .tf-pd-info--info_2 .tf-pd-info__heading {
    grid-column: 1 / -1;
  }

  .tf-pd-info--info_2 .tf-pd-info__details {
    grid-column: 1;
    grid-row: 2;
  }

  .tf-pd-info--info_2 .tf-pd-info__buy {
    grid-column: 2;
    grid-row: 2 / span 2;
  }

  .tf-pd-info--info_2 .tf-pd-info__grid > :where(:not(.tf-pd-info__heading):not(.tf-pd-info__details):not(.tf-pd-info__buy)) {
    grid-column: 1 / -1;
  }

  .tf-pd-info--info_2 .tf-pd-info__grid:has(> .tf-pd-info__buy) > .tf-pd-info__extras {
    grid-column: 1;
    grid-row: 3;
    gap: 6px 16px;
    padding-block: 0 8px;
  }

  .tf-pd-info--info_2 .tf-pd-info__grid > .tf-pd-info__icons--wide {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .tf-pd-info--info_2 .tf-pd-info__grid:has(> .tf-pd-info__icons--wide) > .tf-pd-info__details {
    grid-row: 3;
  }

  .tf-pd-info--info_2 .tf-pd-info__grid:has(> .tf-pd-info__icons--wide) > .tf-pd-info__buy {
    grid-row: 3 / span 2;
  }

  .tf-pd-info--info_2 .tf-pd-info__grid:has(> .tf-pd-info__icons--wide) > .tf-pd-info__extras {
    grid-row: 4;
  }
}

@media (min-width: 1200px) {
  .tf-main-product--info-buybox .tf-main-product__media,
  .tf-main-product:has(.tf-pd-info--info_2) .tf-main-product__media {
    flex: 0 0 42%;
    width: 42%;
    max-width: 42%;
  }

  .tf-main-product--info-buybox .tf-main-product__info,
  .tf-main-product:has(.tf-pd-info--info_2) .tf-main-product__info {
    flex: 0 0 58%;
    width: 58%;
    max-width: 58%;
  }
}

@media (max-width: 380px) {
  .tf-pd-info--info_2 .tf-pd-buybox .tf-product-total-quantity {
    padding: 12px 16px;
  }

  .tf-pd-info--info_2 .tf-pd-buybox .group-action {
    gap: 10px;
  }
}

.tf-pd-info__icons {
  width: 100%;
  min-width: 0;
}

.tf-pd-info__icons .product-icons.is-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  max-width: 100%;
  overflow: visible;
}

.tf-pd-info__icons .product-icons.is-detail .product-icon {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 42px;
  padding: 5px 4px;
  border-radius: 6px;
  background: transparent;
}

.tf-pd-info__icons .product-icons.is-detail .product-icon img {
  width: 32px;
  height: 32px;
}

.tf-pd-info__icons .product-icons.is-detail .pi-value {
  font-size: 15px;
}

.tf-pd-info--info_2 .tf-pd-info__heading {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--pd-line);
}

.tf-pd-info--info_2 .tf-pd-info__brand-rating {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 16px;
}

.tf-pd-info--info_2 .tf-pd-info__brand-rating > .product-infor-brand {
  flex: 1 1 auto;
  min-width: 0;
}

.tf-pd-info--info_2 .tf-pd-info__brand-rating .meta_rate {
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}

.tf-pd-info--info_2 .meta_rate .star-wrap,
.tf-pd-info--info_2 .meta_rate .star-wrap i {
  color: #ffac1c;
}

.tf-pd-info--info_2 .tf-pd-info__identity {
  order: -2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.tf-pd-info--info_2 .tf-pd-info__identity .product-infor-brand {
  margin: 0;
}

.tf-product-info-wrap.tf-pd-info--info_2 .product-infor-brand__logo {
  height: auto;
  max-width: min(120px, 100%);
}

.tf-pd-info--info_2 .tf-pd-info__icons {
  order: -1;
  padding-block: 6px 8px;
  border: 0;
}

.tf-pd-info--info_2 .tf-pd-info__icons .product-icons.is-detail {
  margin: 0;
}

.tf-pd-info--info_2 .tf-pd-info__icons .product-icons.is-detail .product-icon {
  padding: 6px 7px;
  border: 1px solid #e7e9ec;
  background: #f2f3f5;
  color: #1c2430;
}

.tf-product-info-wrap.tf-pd-info--info_2 .tf-product-variant .variant-picker-values .size-btn:not(.select-item) {
  border-radius: 6px;
}

.tf-product-info-wrap.tf-pd-info--info_2 .tf-product-variant .variant-picker-values .size-btn:not(.select-item).active {
  background: var(--pd-accent);
  border-color: var(--pd-accent);
  color: #fff;
}

.tf-pd-info--info_2 .product-infor-desc-row {
  flex-wrap: wrap;
  gap: 12px;
}

.tf-pd-info--info_2 .product-infor-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #62676b;
}

.tf-pd-info--info_2 .tf-pd-buybox {
  gap: 0;
}

.tf-pd-info--info_2 .tf-pd-info__extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

.tf-pd-info--info_2 .tf-pd-info__extras .product-extra-icon {
  min-height: 36px;
  font-size: 13px;
  gap: 8px;
}

.tf-pd-info--info_2 .tf-product-delivery-return {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 16px;
  border: 1px solid var(--pd-line);
  border-radius: 10px;
  background: var(--pd-surface);
}

.tf-pd-info--info_2 .tf-product-delivery-return .product-delivery {
  flex: 1 1 220px;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 13px;
  line-height: 1.6;
}

.tf-pd-info--info_2 .tf-product-delivery-return .product-delivery i {
  color: var(--pd-accent);
  font-size: 20px;
}

.tf-pd-info--info_2 .tf-pd-info__heading .product-infor-title {
  margin: 0;
}

.tf-pd-info--info_2 .tf-pd-info__details .product-infor-attrs {
  order: -2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px 0;
  margin: 0;
  padding: 6px 0;
  list-style: none;
}

.tf-pd-info--info_2 .tf-pd-info__details .product-infor-attrs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #6b6b6b;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.tf-pd-info--info_2 .tf-pd-info__details .product-infor-attrs li + li::before {
  content: "·";
  margin: 0 12px;
  color: #c4c4c4;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
}

.tf-pd-info--info_2 .tf-pd-info__details .product-infor-attrs li i {
  font-size: 14px;
  line-height: 1;
}

.tf-pd-info--info_2 .tf-pd-info__details .product-infor-attrs__label[data-code="best_seller"] { color: #e85d04; }
.tf-pd-info--info_2 .tf-pd-info__details .product-infor-attrs__label[data-code="new"] { color: #d4a017; }
.tf-pd-info--info_2 .tf-pd-info__details .product-infor-attrs__label[data-code="online_only"] { color: #0284c7; }
.tf-pd-info--info_2 .tf-pd-info__details .product-infor-attrs__label[data-code="discount"],
.tf-pd-info--info_2 .tf-pd-info__details .product-infor-attrs__label[data-code="deal"] { color: #dc2626; }
.tf-pd-info--info_2 .tf-pd-info__details .product-infor-attrs__label[data-code="free_shipping"],
.tf-pd-info--info_2 .tf-pd-info__details .product-infor-attrs__label[data-code="same_day"] { color: #0d9488; }
.tf-pd-info--info_2 .tf-pd-info__details .product-infor-attrs__label[data-code="express"] { color: #ca8a04; }
.tf-pd-info--info_2 .tf-pd-info__details .product-infor-attrs__label[data-code="limited_stock"] { color: #ea580c; }
.tf-pd-info--info_2 .tf-pd-info__details .product-infor-attrs__label[data-code="preorder"] { color: #7c3aed; }

.tf-pd-info--info_2 .tf-pd-info__heading .product-infor-name {
  text-wrap: pretty;
}

.tf-pd-info--info_2 .tf-pd-info__identity {
  gap: 6px;
}

.tf-pd-info--info_2 .tf-pd-info__icons .product-icons.is-detail {
  gap: 6px;
}

.tf-pd-info--info_2 .tf-pd-info__icons .product-icons.is-detail .product-icon img {
  width: 28px;
  height: 28px;
}

.tf-pd-info--info_2 .tf-pd-info__icons .product-icons.is-detail .pi-value {
  font-size: 13px;
}

.tf-pd-info--info_2 .tf-pd-buybox__header {
  font-size: 14px;
  padding: var(--tf-pd-buybox-header-padding-y, 8px) 16px;
}

.tf-pd-info--info_2 .tf-pd-buybox__price {
  padding: 12px 16px;
}

.tf-pd-info--info_2 .tf-pd-buybox__price .price-wrap {
  justify-content: center;
}

.tf-product-info-wrap.tf-pd-info--info_2 .tf-pd-buybox .group-action .tf-pd-buybox__atc {
  gap: 6px;
  font-size: 13px !important;
}

.tf-product-info-wrap.tf-pd-info--info_2 .tf-pd-buybox__variants {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--pd-line);
  min-width: 0;
}

.tf-pd-info--info_2 .tf-pd-buybox__variants .variant-picker-item {
  min-width: 0;
  margin: 0;
}

.tf-pd-info--info_2 .tf-pd-buybox__variants .variant-picker-label {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #62676b;
  overflow-wrap: anywhere;
}

.tf-pd-info--info_2 .tf-pd-buybox__variants .variant-picker-label-value {
  color: var(--pd-heading);
  font-weight: 500;
}

.tf-product-info-wrap.tf-pd-info--info_2 .tf-pd-buybox__variants .variant-picker-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.tf-product-info-wrap.tf-pd-info--info_2 .tf-pd-buybox__variants .size-btn:not(.select-item) {
  min-width: 40px;
  min-height: 40px;
  height: auto;
  max-width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}

.tf-pd-info--info_2 .tf-pd-buybox__variants .variant-picker-select {
  width: 100%;
}

.tf-pd-info--info_2 .tf-pd-info__categories a {
  color: inherit;
}

.tf-pd-info--info_2 .tf-pd-info__categories a:hover,
.tf-pd-info--info_2 .tf-pd-info__categories a:focus-visible {
  color: var(--pd-accent);
  text-decoration: underline;
}

.tf-pd-info--info_2 .tf-pd-info__extras {
  padding-block: 8px;
  border: 0;
  border-bottom: 1px solid var(--pd-line);
}

.tf-product-info-wrap.tf-pd-info--info_2 .tf-product-trust-seal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.tf-pd-info--info_2 .tf-product-trust-seal .text-seal {
  margin: 0;
  font-size: 12px;
  color: #71777d;
}

.tf-pd-info--info_2 .tf-product-trust-seal .list-card {
  margin: 0;
  gap: 6px;
}

.tf-pd-info__categories {
  --pd-heading: #1c1c1a;
  --pd-accent: var(--primary, #007bc4);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #edf0f2;
}

.tf-pd-info__categories-label {
  font-size: 12px;
  color: #62676b;
}

.tf-pd-info__category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tf-pd-info__category-list li {
  min-width: 0;
  max-width: 100%;
}

.tf-pd-info__category-list a {
  display: block;
  padding: 7px 12px;
  border: 1px solid #e7e9ec;
  border-radius: 6px;
  color: var(--pd-heading);
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.tf-pd-info__category-list a:hover,
.tf-pd-info__category-list a:focus-visible {
  border-color: var(--pd-accent);
  color: var(--pd-accent);
}

.tf-pd-info--info_2 p.tf-pd-info__categories {
  display: block;
  padding-top: 0;
  border-top: 0;
  gap: 0;
}

.tf-product-buy-more .tf-pd-complementary__title {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 20px;
}
.tf-product-buy-more.tf-pd-complementary {
  margin-top: 8px;
}
@media(min-width:992px){
.tf-section__slot:has(.tf-product-media-wrap){overflow:visible !important;}
.tf-section--slot-embedded:has(.tf-product-media-wrap){position:sticky !important;top:24px;align-self:flex-start;height:max-content;}
.tf-main-product__media:has(.tf-product-media-wrap){position:sticky;top:24px;align-self:flex-start;height:max-content;}
.tf-product-media-wrap.sticky-top{position:static !important;top:auto !important;}
}
:is(html,body)[data-device="desktop"] .tf-section__slot:has(.tf-product-media-wrap){overflow:visible !important;}
:is(html,body)[data-device="desktop"] .tf-section--slot-embedded:has(.tf-product-media-wrap){position:sticky !important;top:24px;align-self:flex-start;height:max-content;}
:is(html,body)[data-device="desktop"] .tf-main-product__media:has(.tf-product-media-wrap){position:sticky;top:24px;align-self:flex-start;height:max-content;}
:is(html,body)[data-device="desktop"] .tf-product-media-wrap.sticky-top{position:static !important;top:auto !important;}
[data-tf-product-gallery][data-tf-aspect="square"] .tf-product-media-main .swiper-slide .item{aspect-ratio:1/1;display:block;overflow:hidden;}
[data-tf-product-gallery][data-tf-aspect="portrait"] .tf-product-media-main .swiper-slide .item{aspect-ratio:4/5;display:block;overflow:hidden;}
[data-tf-product-gallery][data-tf-aspect="square"] .tf-product-media-main .swiper-slide .item>img,
[data-tf-product-gallery][data-tf-aspect="portrait"] .tf-product-media-main .swiper-slide .item>img{width:100%;height:100%;object-fit:cover;display:block;}
[data-tf-product-gallery][data-tf-lightbox="0"] .tf-product-media-main .swiper-slide .item{cursor:default;}
.tf-product-media-main .swiper-slide .item{position:relative;max-height:min(82vh,760px);overflow:hidden;}
[data-tf-product-gallery][data-tf-aspect="original"] .tf-product-media-main .swiper-slide .item{display:flex;align-items:center;justify-content:center;}
[data-tf-product-gallery][data-tf-aspect="original"] .tf-product-media-main .swiper-slide .item>img{max-height:min(82vh,760px);width:auto;max-width:100%;height:auto;object-fit:contain;margin:0 auto;}
@media (max-width:991.98px){
.tf-product-media-main .swiper-slide .item{max-height:70vh;}
[data-tf-product-gallery][data-tf-aspect="original"] .tf-product-media-main .swiper-slide .item>img{max-height:70vh;}
}
.tf-wm{position:absolute;inset:0;pointer-events:none;z-index:4;display:flex;padding:16px;box-sizing:border-box;}
.tf-wm--top-left{align-items:flex-start;justify-content:flex-start;}
.tf-wm--top-right{align-items:flex-start;justify-content:flex-end;}
.tf-wm--center{align-items:center;justify-content:center;}
.tf-wm--bottom-left{align-items:flex-end;justify-content:flex-start;}
.tf-wm--bottom-right{align-items:flex-end;justify-content:flex-end;}
.tf-wm>img{width:var(--tf-wm-scale,22%);height:auto;max-width:70%;opacity:var(--tf-wm-op,.3);object-fit:contain;}
.tf-wm__txt{opacity:var(--tf-wm-op,.3);color:#fff;font-weight:700;letter-spacing:.02em;text-shadow:0 1px 4px rgba(0,0,0,.45);font-size:calc(10px + var(--tf-wm-scale-num,22) * 0.7px);line-height:1.1;max-width:90%;text-align:center;word-break:break-word;}
.tf-wm--tile{padding:0;background-repeat:repeat;background-position:center;background-size:var(--tf-wm-tile,160px) auto;opacity:var(--tf-wm-op,.3);}
@media (max-width:767.98px){
.tf-wm{padding:10px;}
.tf-wm__txt{font-size:calc(9px + var(--tf-wm-scale-num,22) * 0.5px);}
}

/* === Izgara karisik (fw_grid stacked) duzeltmeleri === */
/* Oran ayari (original/square/portrait) grid moduna karismasin: grid kendi oranini ve cover kirpmasini kullanir */
[data-tf-product-gallery][data-tf-aspect] .product-grid-img .tf-product-media-main .swiper-slide .item{display:block;max-height:none;}
[data-tf-product-gallery][data-tf-aspect] .product-grid-img .tf-product-media-main .swiper-slide .item>img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;margin:0;}
/* One cikan (tam genislik) gorsel dengeli manzara oraninda dursun, asiri uzamasin */
[data-tf-product-gallery] .product-grid-img.grid-img_stacked .tf-product-media-main .swiper-wrapper .swiper-slide:nth-child(3n + 1) .item{aspect-ratio:3/2;}
/* Editor (data-device) kapsami */
:is(html,body)[data-device="desktop"] [data-tf-product-gallery][data-tf-aspect] .product-grid-img .tf-product-media-main .swiper-slide .item,
:is(html,body)[data-device="tablet"] [data-tf-product-gallery][data-tf-aspect] .product-grid-img .tf-product-media-main .swiper-slide .item{display:block;max-height:none;}
:is(html,body)[data-device="desktop"] [data-tf-product-gallery][data-tf-aspect] .product-grid-img .tf-product-media-main .swiper-slide .item>img,
:is(html,body)[data-device="tablet"] [data-tf-product-gallery][data-tf-aspect] .product-grid-img .tf-product-media-main .swiper-slide .item>img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;margin:0;}
:is(html,body)[data-device="desktop"] [data-tf-product-gallery] .product-grid-img.grid-img_stacked .tf-product-media-main .swiper-wrapper .swiper-slide:nth-child(3n + 1) .item,
:is(html,body)[data-device="tablet"] [data-tf-product-gallery] .product-grid-img.grid-img_stacked .tf-product-media-main .swiper-wrapper .swiper-slide:nth-child(3n + 1) .item{aspect-ratio:3/2;}

/* === Sag urun bilgileri sutunu TEK PARCA sticky (masaustu) === */
/* Galerinin bulundugu satirda, galeri OLMAYAN slotu (urun bilgileri + alt sekmeler) bir butun olarak sabitler. */
/* Sol taraf uzun oldugunda (izgara/cok gorsel) sag sutun sabit kalir; sag taraf uzun oldugunda normal akar ve sol galeri kendi sticky'sini korur. */
@media (min-width:992px){
  .tf-section__row:has([data-tf-product-gallery]) > .tf-section__slot:not(:has([data-tf-product-gallery])){
    align-self:flex-start !important;
    position:sticky !important;
    top:24px !important;
    height:max-content !important;
  }
  /* ic info-wrap ayri sticky olmasin ki sutun stickysi ile cakismasin */
  .tf-section__row:has([data-tf-product-gallery]) .tf-product-info-wrap{position:relative !important;top:auto !important;}
}
