/* GFAYT product page: measured reference proportions, 2026-10-09.
   Append after the current gfayt-catalog-product.css and widget CSS.
   Matches BOTH the native single-photo and Splide gallery branches.
   No catalogue-grid selectors, colours, fonts or product data are replaced. */


body[data-theme-template="product"] .widget-type_system_widget_v4_product_7,
body[data-theme-template="product"] .widget-type_system_widget_v4_product_info_3 {
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 32px !important;
}
body[data-theme-template="product"] .widget-type_system_widget_v4_product_7 > .layout__content,
body[data-theme-template="product"] .widget-type_system_widget_v4_product_info_3 > .layout__content {
  width: 100%;
  min-width: 0;
  max-width: none;
  padding-inline: 0 !important;
}
body[data-theme-template="product"] .widget-type_system_widget_v4_product_7 .product.gfayt-product-layout,
body[data-theme-template="product"] .widget-type_system_widget_v4_product_7 .product.gfayt-product-layout.gfayt-product-no-specs {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 344px 320px !important;
  grid-template-areas: "heading heading heading" "photo specs form" "calculate-delivery calculate-delivery calculate-delivery" !important;
  grid-template-rows: auto auto auto !important;
  gap: 24px 12px !important;
  align-items: start;
  min-width: 0;
}
body[data-theme-template="product"] .gfayt-product-layout > * { min-width: 0; box-sizing: border-box; }
body[data-theme-template="product"] .gfayt-product-heading { grid-area: heading; padding: 0 0 16px; }
body[data-theme-template="product"] .gfayt-product-heading .product__title {
  font-size: 30px !important;
  line-height: 1.3 !important;
  font-weight: 700;
  margin: 0 0 12px !important;
  overflow-wrap: anywhere;
}
body[data-theme-template="product"] .gfayt-product-heading__meta { gap: 12px 14px; }
body[data-theme-template="product"] .gfayt-product-heading .product__sku,
body[data-theme-template="product"] .gfayt-product-heading .product__rating { font-size: 14px; line-height: 24px; }

/* The old rule only targeted .product__gallery-main and missed DA-620's
   body[data-theme-template="product"] .product__one-photo. Put the height on the common native photo anchor. */
body[data-theme-template="product"] .gfayt-product-layout .product__area-photo {
  grid-area: photo !important;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  align-self: start;
}
body[data-theme-template="product"] .gfayt-product-layout .product__one-photo,
body[data-theme-template="product"] .gfayt-product-layout .product__gallery {
  position: relative !important;
  inset: auto !important;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
}
body[data-theme-template="product"] .gfayt-product-layout .product__gallery-main {
  width: 100%;
  min-width: 0;
  max-width: 100% !important;
  margin: 0 !important;
}
body[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo {
  position: relative !important;
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  height: 480px !important;
  min-height: 0 !important;
  max-height: 480px !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff;
  overflow: hidden;
}
body[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo::before,
body[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo::after {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo .img-ratio__inner {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  transform: none !important;
}
body[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
body[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo img,
body[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo img.gf-ref-original-photo {
  position: absolute !important;
  inset: 0 !important;
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  height: 100% !important;
  max-width: min(100%, var(--gfayt-photo-source-width, 100%)) !important;
  max-height: min(100%, var(--gfayt-photo-source-height, 100%)) !important;
  margin: auto !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  object-view-box: var(--gfayt-photo-view-box, inset(0%)) !important;
  transform: none !important;
  scale: 1 !important;
  clip-path: none !important;
  mix-blend-mode: normal !important;
}
body[data-theme-template="product"] .gfayt-product-layout .gfayt-product-specs { padding: 0 16px 0 0; }
body[data-theme-template="product"] .gfayt-product-specs__heading {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  margin: 0 0 12px;
}
body[data-theme-template="product"] .gfayt-product-specs dl { display: block; margin: 0 0 14px; }
body[data-theme-template="product"] .gfayt-product-specs__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 14px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid #e4e6e8;
  font-size: 15px;
  line-height: 21px;
}
body[data-theme-template="product"] .gfayt-product-specs__row dt,
body[data-theme-template="product"] .gfayt-product-specs__row dd { min-width: 0; overflow-wrap: anywhere; }
body[data-theme-template="product"] .gfayt-product-specs__all { font-size: 15px; line-height: 21px; }
body[data-theme-template="product"] .gfayt-product-specs__brand {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e4e6e8;
  font-size: 16px;
  line-height: 24px;
}
body[data-theme-template="product"] .gfayt-product-specs__brand-label { margin-right: 12px; font-weight: 400; color: #646b75; }
body[data-theme-template="product"] .gfayt-product-specs__summary { margin: 0; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
body[data-theme-template="product"] .gfayt-product-layout .product__area-form.gfayt-product-buy {
  width: 100%;
  min-width: 0;
  max-width: 320px;
  padding: 20px !important;
  gap: 16px;
  border-radius: 12px;
}
body[data-theme-template="product"] .gfayt-product-buy .product__price-cur { font-size: 34px !important; line-height: 1.2; }
body[data-theme-template="product"] .gfayt-product-buy .product__controls,
body[data-theme-template="product"] .gfayt-product-buy .product__controls-left,
body[data-theme-template="product"] .gfayt-product-buy .product__controls-right { min-width: 0; }
body[data-theme-template="product"] .gfayt-product-buy .product__buy-btn-area-inner > .add-cart-counter__btn,
body[data-theme-template="product"] .gfayt-product-buy .product__buy-btn-area-inner > .product__preorder-btn,
body[data-theme-template="product"] .gfayt-product-buy .product__buy-one-click > .button {
  min-height: 48px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
}

/* The reference section navigation scrolls normally; only its store header
   is pinned. Keep GFAYT's existing header and native delivery/review content. */
body[data-theme-template="product"] .gfayt-product-details__nav {
  position: static;
  gap: 12px;
  max-width: 100%;
  margin: 12px 0 32px;
  padding: 4px 0;
  overflow-x: auto;
}
body[data-theme-template="product"] .gfayt-product-details__nav a { padding: 14px 16px; font-size: 18px; line-height: 1.4; }
body[data-theme-template="product"] .gfayt-product-details .tabs__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
  min-width: 0;
}
body[data-theme-template="product"] .gfayt-product-details .tabs__item { min-width: 0; max-width: 100%; }
body[data-theme-template="product"] .gfayt-product-details__heading { font-size: 26px; line-height: 1.25; margin: 0 0 20px; }
body[data-theme-template="product"] .gfayt-product-details .property { font-size: 15px; line-height: 21px; padding: 11px 0; }
body[data-theme-template="product"] .gfayt-product-details .property__name,
body[data-theme-template="product"] .gfayt-product-details .property__content { min-width: 0; overflow-wrap: anywhere; }
body[data-theme-template="product"] .gfayt-product-details .product-description,
body[data-theme-template="product"] .gfayt-product-details #tab-description .static-text { font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
body[data-theme-template="product"] .gfayt-product-details .product-description p { margin: 0 0 14px; }
body[data-theme-template="product"] .gfayt-product-details .product-description h2,
body[data-theme-template="product"] .gfayt-product-details .product-description h3 { font-size: 19px; line-height: 1.4; margin: 22px 0 8px; }
body[data-theme-template="product"] .gfayt-product-details .product-description ul,
body[data-theme-template="product"] .gfayt-product-details .product-description ol { margin: 0 0 16px; padding-left: 22px; }
body[data-theme-template="product"] .gfayt-product-details .product-description li + li { margin-top: 6px; }
body[data-theme-template="product"] .gfayt-product-details .product-description table { width: 100% !important; max-width: 100%; table-layout: fixed; border-collapse: collapse; }
body[data-theme-template="product"] .gfayt-product-details .product-description th,
body[data-theme-template="product"] .gfayt-product-details .product-description td { padding: 10px 12px; overflow-wrap: anywhere; white-space: normal; }
body[data-theme-template="product"] .gfayt-product-details img,
body[data-theme-template="product"] .gfayt-product-details video,
body[data-theme-template="product"] .gfayt-product-details iframe { max-width: 100%; }
body[data-theme-template="product"] .gfayt-product-details pre { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
body[data-theme-template="product"] .gfayt-product-details.gfayt-product-details-no-specs #tab-description,
body[data-theme-template="product"] .gfayt-product-details.gfayt-product-details-no-description #tab-characteristics { grid-column: 1 / -1; }

body[data-theme-template="product"] .gfayt-product-thumbs[hidden] { display:none!important; }
body[data-theme-template="product"] .gfayt-product-layout .gfayt-has-thumbs .product__gallery-tumbs { display:none!important; }
@media (min-width: 768px) {
  body[data-theme-template="product"] .gfayt-product-layout .product__gallery.gfayt-has-thumbs,
  body[data-theme-template="product"] .gfayt-product-layout .product__one-photo.gfayt-has-thumbs { padding-left:72px!important; }
  body[data-theme-template="product"] .gfayt-product-thumbs { width:60px; max-height:480px; gap:8px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  body[data-theme-template="product"] .widget-type_system_widget_v4_product_7 .product.gfayt-product-layout,
  body[data-theme-template="product"] .widget-type_system_widget_v4_product_7 .product.gfayt-product-layout.gfayt-product-no-specs {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    grid-template-areas: "heading heading" "photo form" "specs form" "calculate-delivery calculate-delivery" !important;
    gap: 24px !important;
  }
  body[data-theme-template="product"] .gfayt-product-layout .gfayt-product-specs { padding: 0; }
  body[data-theme-template="product"] .gfayt-product-specs dl { display: block; }
  body[data-theme-template="product"] .gfayt-product-specs__row { display: grid; }
}
@media (max-width: 767px) {
  body[data-theme-template="product"] .widget-type_system_widget_v4_product_7,
  body[data-theme-template="product"] .widget-type_system_widget_v4_product_info_3 { padding-inline: 16px !important; }
  body[data-theme-template="product"] .widget-type_system_widget_v4_product_7 .product.gfayt-product-layout,
  body[data-theme-template="product"] .widget-type_system_widget_v4_product_7 .product.gfayt-product-layout.gfayt-product-no-specs {
    display: flex !important;
    flex-direction: column;
    gap: 20px !important;
    width: 100%;
    min-width: 0;
  }
  body[data-theme-template="product"] .gfayt-product-layout > * { width: 100%; max-width: 100%; }
  body[data-theme-template="product"] .gfayt-product-heading { order: 0; padding-bottom: 0; }
  body[data-theme-template="product"] .gfayt-product-heading .product__title { font-size: 24px !important; line-height: 1.25 !important; }
  body[data-theme-template="product"] .gfayt-product-layout .product__area-photo { order: 1; }
  body[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo {
    height: min(calc(100vw - 32px), 440px) !important;
    max-height: 440px !important;
  }
  body[data-theme-template="product"] .gfayt-product-layout .product__gallery,
  body[data-theme-template="product"] .gfayt-product-layout .product__one-photo { padding-left:0!important; }
  body[data-theme-template="product"] .gfayt-product-thumbs { display:flex; position:static; flex-direction:row; width:100%; max-width:100%; max-height:64px; gap:8px; margin:12px 0 0; padding:0 0 4px; overflow-x:auto; overflow-y:hidden; }
  body[data-theme-template="product"] .gfayt-product-thumbs button { display:block; flex:0 0 60px; width:60px; height:60px; padding:4px; margin:0; border:1px solid #e4e6e8; border-radius:8px; overflow:hidden; background:#fff; }
  body[data-theme-template="product"] .gfayt-product-thumbs button[aria-current="true"] { border:2px solid #242629; padding:3px; }
  body[data-theme-template="product"] .gfayt-product-thumbs button img { display:block; width:100%; height:100%; object-fit:contain; }
  body[data-theme-template="product"] .gfayt-product-layout .product__area-form.gfayt-product-buy { order: 2; width: 100%; max-width: 100%; padding: 20px !important; }
  body[data-theme-template="product"] .gfayt-product-layout .gfayt-product-specs { order: 3; padding: 0; }
  body[data-theme-template="product"] .gfayt-product-specs dl { display: block; }
  body[data-theme-template="product"] .gfayt-product-specs__row { display: grid; }
  body[data-theme-template="product"] .gfayt-product-layout .product__area-calculate-delivery { order: 4; margin: 0; min-width: 0; }
  body[data-theme-template="product"] .gfayt-product-details__nav { gap: 8px; margin-bottom: 24px; }
  body[data-theme-template="product"] .gfayt-product-details__nav a { padding: 12px 8px; font-size: 15px; }
  body[data-theme-template="product"] .gfayt-product-details .tabs__content { display: flex; flex-direction: column; gap: 28px; width: 100%; }
  body[data-theme-template="product"] .gfayt-product-details__heading { font-size: 24px; line-height: 1.25; margin-bottom: 16px; }
  body[data-theme-template="product"] .gfayt-product-details .property { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  body[data-theme-template="product"] .gfayt-product-details .product-description th,
  body[data-theme-template="product"] .gfayt-product-details .product-description td { padding: 9px 8px; }
}

/* GFAYT product experience, 20 October 2026. Native forms and photos retain state. */
body.gfayt-pdp-modern[data-theme-template="product"] {
  --pdp-ink:#242629; --pdp-muted:#646b75; --pdp-line:#e1e4e7; --pdp-surface:#f3f4f5;
  color:var(--pdp-ink); font-family:"VI Sans","PT Root UI",Arial,sans-serif;
}
body.gfayt-pdp-modern[data-theme-template="product"] .widget-type_system_widget_v4_product_7 .product.gfayt-product-layout,
body.gfayt-pdp-modern[data-theme-template="product"] .widget-type_system_widget_v4_product_7 .product.gfayt-product-layout.gfayt-product-no-specs {
  grid-template-columns:minmax(0,1.4fr) minmax(340px,.85fr)!important;
  grid-template-areas:"heading heading" "photo form" "specs form"!important;
  grid-template-rows:auto auto auto!important; gap:24px 40px!important;
}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-heading {padding:4px 0 0}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-heading .product__title {
  max-width:1100px; margin:0 0 14px!important; color:var(--pdp-ink);
  font:650 clamp(26px,2.5vw,38px)/1.15 "VI Sans","PT Root UI",Arial,sans-serif!important;
  letter-spacing:-.025em;
}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-heading__meta {gap:10px 18px; color:var(--pdp-muted)}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-heading .product__rating-list {display:none}
body.gfayt-pdp-modern[data-theme-template="product"] .product__reviews-count::before {content:"Отзывы "}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-badges {margin-top:10px;gap:8px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-badge {min-height:26px;padding:4px 9px;border-radius:6px;font-size:12px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-badge--in {background:#edf5ef;color:#356343}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-badge--brand {background:#edf0f2;color:#3b424a}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo {
  padding:16px; border:1px solid var(--pdp-line);border-radius:16px;background:linear-gradient(135deg,#f5f6f7,#fff 50%,#f5f6f7);overflow:hidden;
}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo::after {
  content:"Рассмотрите детали · нажмите на фото"; display:block; padding:12px 8px 0; color:#737a82;font-size:12px;line-height:18px;text-align:center;
}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo {
  height:440px!important;max-height:440px!important;background:#fff;border-radius:10px;cursor:zoom-in;
}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-thumbs {max-height:440px;overflow:auto;scrollbar-width:thin}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-thumbs button {border:1px solid var(--pdp-line);border-radius:8px;background:#fff;transition:border-color .18s,box-shadow .18s}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-thumbs button[aria-current="true"] {border-color:var(--pdp-ink)!important;box-shadow:inset 0 0 0 1px var(--pdp-ink)}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .gfayt-product-specs {padding:0;grid-area:specs}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__heading {margin:0 0 12px;font-size:13px;line-height:20px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--pdp-muted)}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs dl {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 12px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row {
  position:relative;display:flex;flex-direction:column;justify-content:flex-start;gap:7px;min-width:0;padding:14px 12px;background:var(--pdp-surface);border:1px solid #eceef0;border-radius:10px;
}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row::before {
  content:"";display:block;width:23px;height:23px;margin-bottom:3px;background:#7c858e;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M4 4h16v16H4zM4 9h16M9 4v16'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row[data-kind="diameter"]::before {mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='m4 20 16-16M4 15v5h5M15 4h5v5'/%3E%3C/svg%3E")}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row:is([data-kind="length"],[data-kind="depth"])::before {mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M5 3v18M19 3v18M9 5h6M9 19h6M12 5v14m-3-3 3 3 3-3M9 8l3-3 3 3'/%3E%3C/svg%3E")}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row[data-kind="power"]::before {mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='m13 2-8 12h6l-1 8 9-13h-6z'/%3E%3C/svg%3E")}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row[data-kind="speed"]::before {mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M4 16a9 9 0 1 1 16 0M12 12l5-5M3 19h18'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E")}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row dt {order:2;font-size:12px;line-height:17px;color:var(--pdp-muted)}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row dd {order:1;margin:0;font-size:20px;line-height:1.2;font-weight:650;letter-spacing:-.02em;color:var(--pdp-ink)}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__all {display:inline-flex;align-items:center;gap:12px;font-size:13px;color:var(--pdp-ink);text-decoration:underline;text-underline-offset:4px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__all::after {content:"↓";text-decoration:none}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__brand {display:none}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-form.gfayt-product-buy {
  display:flex!important;flex-direction:column;gap:18px;max-width:none;width:100%;padding:26px!important;
  border:1px solid var(--pdp-line);border-radius:16px;background:#fff;color:var(--pdp-ink);box-shadow:0 8px 32px #24262908;
}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-pdp-buy-top {order:0;display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-pdp-buy-top .product-form__area-available {margin:0!important;font-size:13px!important;color:#496251}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-pdp-buy-top .product__favorites-btn {display:flex!important;align-items:center;gap:6px;width:auto;margin:0;padding:4px;border:0;background:transparent;color:var(--pdp-muted);font-size:12px;cursor:pointer}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-pdp-buy-top .product__favorites-btn .btn-icon {display:none!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-pdp-icon {display:block;flex:0 0 20px;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body.gfayt-pdp-modern[data-theme-template="product"] .favorites-added .gfayt-pdp-icon {fill:currentColor}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product-form__area-price {order:1;margin:0}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product-form__area-price::before {content:"Цена товара";display:block;margin-bottom:6px;color:var(--pdp-muted);font-size:13px;line-height:20px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product__price-cur {font-size:42px!important;line-height:1.1!important;font-weight:650!important;letter-spacing:-.035em;margin:0!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product-form__area-variants-bundle {order:2}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product-form__area-accessories {order:3}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product-form__area-controls {order:4;margin:0}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product__controls {display:grid!important;gap:12px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product__buy-btn-area-inner {display:flex!important;gap:10px;align-items:stretch}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .counter-wrap {display:block!important;flex:0 0 100px;width:100px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .counter {height:50px!important;border:1px solid var(--pdp-line);border-radius:8px;background:#f8f9fa;color:var(--pdp-ink)}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy [data-item-add],
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product__preorder-btn {
  align-items:center;justify-content:center;gap:8px;flex:1;width:auto;min-height:50px;height:auto;padding:12px!important;
  border:1px solid var(--pdp-ink)!important;border-radius:8px!important;background:var(--pdp-ink)!important;color:#fff!important;
  font-size:16px!important;line-height:22px!important;font-weight:600!important;box-shadow:none!important;transition:background .18s,transform .18s;
}
body.gfayt-pdp-modern[data-theme-template="product"] .product.is-available .gfayt-product-buy [data-item-add] {display:flex}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy [data-item-add]:hover {background:#41474e!important;transform:translateY(-1px)}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product__buy-one-click>[data-quick-checkout] {
  display:flex;align-items:center;justify-content:center;min-height:48px;height:auto;padding:11px 14px!important;border:1px solid #cfd4d9!important;border-radius:8px;
  background:#fff!important;color:var(--pdp-ink)!important;font-size:15px!important;line-height:22px!important;font-weight:550!important;cursor:pointer;transition:background .18s;
}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product__buy-one-click>[data-quick-checkout]:hover {background:var(--pdp-surface)!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-pdp-contact {order:6;display:flex;align-items:center;gap:10px;margin:0;padding:16px 0 0;border-top:1px solid var(--pdp-line);color:var(--pdp-muted);font-size:13px;line-height:19px;text-decoration:none}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-pdp-contact::before {content:"?";display:grid;place-items:center;flex:0 0 28px;height:28px;border:1px solid #d2d7dc;border-radius:50%;font-size:16px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-pdp-contact:hover {color:var(--pdp-ink);text-decoration:underline;text-underline-offset:3px}
body.gfayt-pdp-modern[data-theme-template="product"] .product-form__area-short-description {order:5}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-services {gap:14px;margin:20px 4px 0}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-services__copy {font-size:14px;line-height:20px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-services__copy strong {font-size:14px;font-weight:600}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-services__copy>span {font-size:12px;line-height:18px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-services .gfayt-service-icon {width:22px;height:22px;color:#737d86}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details {margin-top:44px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details__nav {
  display:flex;position:sticky;top:0;z-index:6;gap:6px;align-items:center;width:100%;margin:0 0 12px;padding:10px 0;
  border-top:1px solid var(--pdp-line);border-bottom:1px solid var(--pdp-line);background:#fffffff5;backdrop-filter:blur(12px);scrollbar-width:thin;
}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details__nav a {display:block;flex:0 0 auto;margin:0;padding:11px 17px;border-radius:7px;background:transparent;color:var(--pdp-muted);font-size:14px;line-height:20px;font-weight:550;white-space:nowrap;text-decoration:none;transition:background .18s,color .18s}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details__nav a:is(:hover,[aria-current="location"]) {background:var(--pdp-ink);color:#fff}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .tabs__content {display:flex!important;flex-direction:column;gap:0!important;min-width:0;width:100%}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .tabs__head-item {display:none!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-section,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .tabs__item,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .gfayt-product-warranty {display:block!important;position:relative;width:100%;max-width:none;margin:0!important;padding:36px 0!important;border-bottom:1px solid var(--pdp-line);scroll-margin-top:80px;grid-column:auto!important;grid-row:auto!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details__heading,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-warranty__heading,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-section>h2 {
  margin:0 0 24px;color:var(--pdp-ink);font:650 28px/1.2 "VI Sans","PT Root UI",Arial,sans-serif;letter-spacing:-.025em;
}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .product-description {max-width:1080px;font-size:16px;line-height:1.75;color:#454d55}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .product-description>p:first-of-type,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-verified-product>p:first-of-type {color:var(--pdp-ink);font-size:20px;line-height:1.55;letter-spacing:-.01em}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .product-description h3 {font:600 18px/1.35 "VI Sans","PT Root UI",Arial,sans-serif;color:var(--pdp-ink);margin:26px 0 10px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-description-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-description-card {padding:24px;background:var(--pdp-surface);border:1px solid #e9ecef;border-radius:12px;min-width:0}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-description-card h3:first-child {margin-top:0}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-description-card>:last-child {margin-bottom:0}
body.gfayt-pdp-modern[data-theme-template="product"] #tab-characteristics>.gfayt-product-derived-properties,
body.gfayt-pdp-modern[data-theme-template="product"] #tab-characteristics>.properties {max-width:1040px;border:1px solid var(--pdp-line);border-radius:12px;overflow:hidden}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .property {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:13px 20px;border:0;font-size:15px;line-height:22px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .property:nth-of-type(odd) {background:#f5f6f7}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .property__name {color:var(--pdp-muted)}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .property__content {color:var(--pdp-ink);font-weight:550;text-align:left}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-document-card {display:flex;align-items:center;gap:18px;width:100%;max-width:650px;padding:22px 24px;border:1px solid var(--pdp-line);border-radius:12px;background:#f8f9fa;color:var(--pdp-ink);font-size:16px;font-weight:550;line-height:1.5;text-decoration:none;transition:border-color .18s,background .18s}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-document-card::before {content:"PDF";display:grid;place-items:center;flex:0 0 45px;height:54px;border:1px solid #cbd1d7;border-radius:5px;background:#fff;color:#656f79;font-size:11px;letter-spacing:.06em}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-document-card::after {content:"↗";margin-left:auto;font-size:24px;color:#76818b}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-document-card:hover {border-color:#8f99a3;background:#f0f2f4}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-delivery>p {max-width:850px;color:var(--pdp-muted);font-size:15px;line-height:1.65}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-delivery .product__area-calculate-delivery {margin:20px 0 0!important;min-width:0;width:100%}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-delivery .insales_widget-delivery {box-shadow:none!important;border:1px solid var(--pdp-line);border-radius:12px!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-warranty__card {padding:28px;border:1px solid var(--pdp-line);border-radius:12px;background:#f6f7f8}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-warranty__card h3 {font:600 21px/1.3 "VI Sans","PT Root UI",Arial,sans-serif;margin:0 0 10px;letter-spacing:-.015em}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-warranty__card>p {margin-bottom:24px;font-size:15px;line-height:1.6}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-warranty__facts {grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-warranty__facts li {font-size:13px;line-height:1.6}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-warranty__facts strong {font-size:14px;line-height:1.5}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-store-strip {margin:48px auto 64px;padding:0 32px;max-width:1440px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-store-strip__intro {display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:24px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-store-strip__eyebrow {display:block;margin-bottom:12px;font-size:11px;line-height:16px;font-weight:600;letter-spacing:.13em;color:var(--pdp-muted)}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-store-strip h2 {margin:0 0 10px;font:650 28px/1.2 "VI Sans","PT Root UI",Arial,sans-serif;letter-spacing:-.025em}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-store-strip__intro p {max-width:700px;margin:0;font-size:14px;line-height:1.6;color:var(--pdp-muted)}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-store-strip__contact {display:inline-flex;align-items:center;gap:24px;flex-shrink:0;padding:12px 18px;border:1px solid var(--pdp-line);border-radius:8px;color:var(--pdp-ink);font-size:14px;text-decoration:none}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-store-strip__contact:hover {background:var(--pdp-surface)}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-store-strip img {height:220px;aspect-ratio:auto;object-fit:cover}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-store-strip figcaption {font-size:13px;color:var(--pdp-muted)}
body.gfayt-pdp-modern[data-theme-template="product"] :is(button,a,[role="button"],input):focus-visible {outline:2px solid #667887;outline-offset:4px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy :is([disabled],[aria-disabled="true"]) {opacity:.5;cursor:not-allowed;transform:none}
@media(min-width:768px) and (max-width:1100px) {
  body.gfayt-pdp-modern[data-theme-template="product"] .widget-type_system_widget_v4_product_7 .product.gfayt-product-layout,
  body.gfayt-pdp-modern[data-theme-template="product"] .widget-type_system_widget_v4_product_7 .product.gfayt-product-layout.gfayt-product-no-specs {grid-template-columns:minmax(0,1fr) 340px!important;column-gap:24px!important}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs dl {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-form.gfayt-product-buy {padding:22px!important}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-warranty__facts {grid-template-columns:1fr}
}
@media(max-width:767px) {
  body.gfayt-pdp-modern[data-theme-template="product"] .widget-type_system_widget_v4_product_7 .product.gfayt-product-layout,
  body.gfayt-pdp-modern[data-theme-template="product"] .widget-type_system_widget_v4_product_7 .product.gfayt-product-layout.gfayt-product-no-specs {display:flex!important;gap:22px!important}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-heading .product__title {font-size:26px!important;line-height:1.15!important;letter-spacing:-.025em}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-heading__meta {gap:8px 14px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo {padding:10px;border-radius:12px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo {height:min(calc(100vw - 54px),390px)!important;max-height:390px!important}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-thumbs {max-height:64px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-form.gfayt-product-buy {padding:22px!important;border-radius:12px;gap:16px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product__price-cur {font-size:38px!important}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs dl {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row {padding:16px;gap:7px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row dd {font-size:21px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row dt {font-size:12px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details {margin-top:28px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details__nav {gap:4px;padding:8px 0;margin-bottom:0}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details__nav a {font-size:13px;line-height:20px;padding:9px 12px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-section,
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .tabs__item,
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .gfayt-product-warranty {padding:28px 0!important;scroll-margin-top:70px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details__heading,
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-warranty__heading,
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-section>h2 {font-size:25px;margin-bottom:18px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .product-description {font-size:15px;line-height:1.7}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .product-description>p:first-of-type,
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-verified-product>p:first-of-type {font-size:18px;line-height:1.55}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-description-cards {grid-template-columns:1fr;gap:12px;margin-top:20px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-description-card {padding:20px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .property {padding:12px;gap:14px;font-size:13px;line-height:20px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-document-card {padding:18px 16px;gap:14px;font-size:14px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-warranty__card {padding:22px 18px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-warranty__facts {grid-template-columns:1fr;gap:20px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-store-strip {padding:0 16px;margin:32px auto 40px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-store-strip__intro {display:block;margin-bottom:20px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-store-strip h2 {font-size:25px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-store-strip__contact {margin-top:18px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-store-strip img {height:190px}
}
@media(prefers-reduced-motion:reduce) {
  body.gfayt-pdp-modern[data-theme-template="product"] *,
  body.gfayt-pdp-modern[data-theme-template="product"] *::before,
  body.gfayt-pdp-modern[data-theme-template="product"] *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
/* Explicit native-control colours also work where the old dark widget variables remain. */
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product__price-cur {color:var(--pdp-ink)!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product__price-old {color:var(--pdp-muted)!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product__buy-btn-area-inner {align-items:flex-end!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy :is([data-item-add],.product__preorder-btn) {align-self:flex-end;min-height:50px;height:50px;font-family:inherit!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy [data-quick-checkout] {font-family:inherit!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .counter {display:flex!important;align-items:center;overflow:hidden}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .counter-input {flex:1;min-width:0;width:34px;padding:4px;border:0;background:transparent;color:var(--pdp-ink)!important;font:500 15px/20px "VI Sans","PT Root UI",Arial,sans-serif;text-align:center}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .counter-button {display:grid;place-items:center;flex:0 0 28px;width:28px;min-width:0;height:48px;padding:0;border:0;background:transparent;color:var(--pdp-ink)!important;cursor:pointer;font-size:13px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .counter-wrap .option-label {display:block;margin:0 0 6px;font-size:12px;line-height:17px;color:var(--pdp-muted)}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product__available-label,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .product__actions-btn {display:none!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-documents__list {display:grid;gap:12px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-document-card>.gfayt-service-icon {display:none}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-document-card__copy {min-width:0;overflow-wrap:anywhere}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-document-card__copy strong {display:block;font-weight:600}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-document-card__copy>span {display:block;margin-top:5px;font-size:12px;font-weight:400;color:var(--pdp-muted)}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-document-card__arrow {display:none}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-no-photo .product__area-photo::after {content:none}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-photo-missing {display:grid;place-items:center;min-height:320px;padding:32px;text-align:center;color:var(--pdp-muted);font-size:15px;line-height:1.6}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-no-photo :is(.product__one-photo,.product__gallery,.gfayt-product-thumbs) {display:none!important}
body.gfayt-pdp-modern.gfayt-product-has-documents[data-theme-template="product"] .gfayt-product-purchase>.gfayt-product-manual,
body.gfayt-pdp-modern.gfayt-product-has-documents[data-theme-template="product"] #tab-description .gfayt-product-documents {display:none!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-photo-empty {display:grid;place-items:center;min-height:320px;margin:0;padding:32px;text-align:center;color:var(--pdp-muted);font-size:15px;line-height:1.6}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout :is(.product__one-photo,.product__gallery):not(.gfayt-has-thumbs) {padding-left:0!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .counter-button .icon {display:none}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .counter-button::before {content:"+";color:var(--pdp-ink);font:400 19px/1 Arial,sans-serif}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .counter-button[data-quantity-change="-1"]::before {content:"−"}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .counter-button:hover {background:#e8ecf0}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-description-card:only-child {grid-column:1/-1}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-photo-empty {align-content:center;gap:18px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-photo-empty::before {content:"";display:block;width:48px;height:48px;background:#a5adb5;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1'%3E%3Cpath d='M3 6h4l2-3h6l2 3h4v14H3z'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E") center/contain no-repeat}
/* Reset former mobile tab ordering: the DOM order is the reading order at every width. */
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-details .tabs__content>.gfayt-product-section {order:0!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-buy .counter-button:not([disabled]):not([aria-disabled="true"]) {opacity:1}

/* Product details are one in-place tab panel. */
body.gfayt-product-tabs-ready[data-theme-template="product"] .gfayt-product-details .tabs__content>[data-gfayt-tab-active="false"] {display:none!important}
body.gfayt-product-tabs-ready[data-theme-template="product"] .gfayt-product-details__nav {position:static;margin:0 0 16px;border-top:0;border-bottom:0;padding:8px;background:#f1f3f5;border-radius:10px;backdrop-filter:none}
body.gfayt-product-tabs-ready[data-theme-template="product"] .gfayt-product-details__nav a[aria-selected="true"] {background:#242629;color:#fff}
body.gfayt-product-tabs-ready[data-theme-template="product"] .gfayt-product-details .tabs__content {min-height:320px;padding:0 28px;border:1px solid #e1e4e7;border-radius:12px;background:#fff}
body.gfayt-product-tabs-ready[data-theme-template="product"] .gfayt-product-details .tabs__content>.gfayt-product-section {border:0;scroll-margin-top:0}

/* Frame the product, without using its small source-pixel count as a display cap. */
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo {background:#f3f5f7;border:0;padding:12px;border-radius:14px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo {height:420px!important;max-height:420px!important;background:transparent!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo .img-ratio__inner {background:transparent!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo img,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo img.gf-ref-original-photo {max-width:100%!important;max-height:100%!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs dl {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row {display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:auto auto;align-items:start;gap:5px 12px;padding:16px;min-height:82px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row::before {grid-column:1;grid-row:1/3;align-self:center;margin:0;width:23px;height:23px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row dt {grid-column:2;grid-row:1;order:0;width:auto;max-width:100%;margin:0;text-align:left!important;font-size:12px;line-height:17px}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row dd {grid-column:2;grid-row:2;order:0;width:auto;max-width:100%;margin:0;text-align:left!important;font-size:19px;line-height:1.25;font-weight:600;letter-spacing:-.01em;overflow-wrap:anywhere}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-pdp-buy-top .product__available,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-pdp-buy-top .product__not-available {color:inherit!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout[data-gfayt-stock="unknown"] .product-form__area-available {color:#646b75!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout[data-gfayt-stock="out"] .product-form__area-available {color:#8d3c35!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-photo-empty {min-height:200px;padding:28px;font-size:14px}

body.gfayt-product-photo-viewer-open {overflow:hidden}
body.gfayt-pdp-modern .gfayt-product-photo-viewer {box-sizing:border-box;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#eef1f4;color:#242629;overflow:hidden;font-family:"VI Sans","PT Root UI",Arial,sans-serif}
body.gfayt-pdp-modern .gfayt-product-photo-viewer::backdrop {background:#eef1f4}
body.gfayt-pdp-modern .gfayt-product-photo-viewer__toolbar {display:flex;align-items:center;gap:20px;min-height:72px;padding:16px 24px;border-bottom:1px solid #dce1e6}
body.gfayt-pdp-modern .gfayt-product-photo-viewer__title {min-width:0;margin:0;font:600 16px/1.4 "VI Sans","PT Root UI",Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:0}
body.gfayt-pdp-modern .gfayt-product-photo-viewer__counter {margin-left:auto;flex-shrink:0;color:#646b75;font-size:13px;white-space:nowrap}
body.gfayt-pdp-modern .gfayt-product-photo-viewer__close {display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#242629;color:#fff;font:300 28px/1 Arial,sans-serif;cursor:pointer}
body.gfayt-pdp-modern .gfayt-product-photo-viewer__stage {box-sizing:border-box;position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;justify-items:center;gap:20px;width:100%;height:calc(100dvh - 74px);padding:24px}
body.gfayt-pdp-modern .gfayt-product-photo-viewer__image {grid-column:2;grid-row:1;display:block;width:100%;height:100%;max-width:100%;max-height:calc(100dvh - 122px);margin:0;padding:0!important;border:0;background:transparent;object-fit:contain;object-position:center;object-view-box:var(--gfayt-photo-view-box,inset(0%));transform:none!important;mix-blend-mode:normal}
body.gfayt-pdp-modern .gfayt-product-photo-viewer__prev,
body.gfayt-pdp-modern .gfayt-product-photo-viewer__next {grid-row:1;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #cdd4dc;border-radius:50%;background:#fff;color:#242629;font:300 30px/1 Arial,sans-serif;cursor:pointer}
body.gfayt-pdp-modern .gfayt-product-photo-viewer__prev {grid-column:1}
body.gfayt-pdp-modern .gfayt-product-photo-viewer__next {grid-column:3}
body.gfayt-pdp-modern .gfayt-product-photo-viewer :is([hidden],button[disabled]) {display:none!important}
body.gfayt-pdp-modern .gfayt-product-photo-viewer__status {grid-column:2;grid-row:1;align-self:end;color:#646b75;font-size:13px}
@media(max-width:767px) {
  body.gfayt-product-tabs-ready[data-theme-template="product"] .gfayt-product-details .tabs__content {min-height:300px;padding:0 18px}
  body.gfayt-product-tabs-ready[data-theme-template="product"] .gfayt-product-details__nav {padding:6px;gap:4px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo {height:min(calc(100vw - 56px),360px)!important;max-height:360px!important}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row {grid-template-columns:minmax(0,1fr);grid-template-rows:23px auto auto;padding:14px;gap:9px;min-height:128px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row::before {grid-column:1;grid-row:1;align-self:start}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row dt {grid-column:1;grid-row:2;font-size:12px;line-height:17px}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row dd {grid-column:1;grid-row:3;font-size:18px;line-height:1.3}
  body.gfayt-pdp-modern .gfayt-product-photo-viewer__toolbar {min-height:64px;gap:12px;padding:12px 14px}
  body.gfayt-pdp-modern .gfayt-product-photo-viewer__title {font-size:12px}
  body.gfayt-pdp-modern .gfayt-product-photo-viewer__counter {font-size:11px}
  body.gfayt-pdp-modern .gfayt-product-photo-viewer__close {flex-basis:36px;width:36px;height:36px;font-size:26px}
  body.gfayt-pdp-modern .gfayt-product-photo-viewer__stage {grid-template-columns:28px minmax(0,1fr) 28px;gap:8px;padding:16px 8px;height:calc(100dvh - 66px)}
  body.gfayt-pdp-modern .gfayt-product-photo-viewer__image {max-height:calc(100dvh - 98px)}
  body.gfayt-pdp-modern .gfayt-product-photo-viewer__prev,
  body.gfayt-pdp-modern .gfayt-product-photo-viewer__next {width:28px;height:36px;border-radius:6px;font-size:26px}
}
body.gfayt-pdp-modern .gfayt-product-photo-viewer__image {max-width:min(100%,var(--gfayt-viewer-max,1100px));max-height:min(calc(100dvh - 122px),var(--gfayt-viewer-max,1100px))}
@media(max-width:767px) {body.gfayt-pdp-modern .gfayt-product-photo-viewer__image {max-height:min(calc(100dvh - 98px),var(--gfayt-viewer-max,1100px))}}
@media(max-width:767px) {
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row {align-content:start;grid-template-rows:23px minmax(34px,max-content) max-content}
  body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-specs__row:is([data-kind="feature"],[data-kind="connection"]) dd {font-size:16px;line-height:1.4}
}
/* Apply each original's measured frame throughout the gallery, including thumbs.
   White source backgrounds blend with the neutral stage; raster files stay intact. */
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-thumbs img {object-view-box:var(--gfayt-photo-view-box,inset(0%));padding:0!important}
body.gfayt-pdp-modern[data-theme-template="product"] .product__area-photo {isolation:isolate}
body.gfayt-pdp-modern[data-theme-template="product"] .product__photo img.gfayt-photo-white,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-thumbs img.gfayt-photo-white,
body.gfayt-pdp-modern .gfayt-product-photo-viewer__image.gfayt-photo-white {mix-blend-mode:darken!important}
body.gfayt-pdp-modern .gfayt-product-photo-viewer__stage {touch-action:pan-y pinch-zoom}
/* Native stock state still controls purchase. Its photo overlay must not block
   looking at an unavailable product; status already appears beside the price. */
body.gfayt-pdp-modern[data-theme-template="product"] .product__area-photo .product__available-forbid_order {display:none!important}
/* Browsers without object-view-box use the same measured crop as a bounded
   transform. The clip is calculated before enlargement, preserving the object. */
body.gfayt-pdp-modern[data-theme-template="product"] .product__area-photo .product__photo img.gfayt-photo-fallback,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-thumbs img.gfayt-photo-fallback,
body.gfayt-pdp-modern .gfayt-product-photo-viewer__image.gfayt-photo-fallback {
  transform:var(--gfayt-photo-fallback-transform,none)!important;
  transform-origin:center!important;
  clip-path:var(--gfayt-photo-fallback-clip,inset(0px))!important;
}
/* The bitmap must blend with an opaque surface inside Splide's transformed
   context. One surface also covers unclassified white detail photographs. */
body.gfayt-pdp-modern {--gfayt-photo-stage:#f1f5f8}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo .img-ratio__inner,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo picture,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-thumbs button,
body.gfayt-pdp-modern .gfayt-product-photo-viewer,
body.gfayt-pdp-modern .gfayt-product-photo-viewer::backdrop,
body.gfayt-pdp-modern .gfayt-product-photo-viewer__stage {background:var(--gfayt-photo-stage,#f1f5f8)!important}
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-layout .product__area-photo .product__photo img,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-thumbs img,
body.gfayt-pdp-modern .gfayt-product-photo-viewer__image {mix-blend-mode:darken!important;opacity:1!important}
/* Keep transitionend for native Splide's navigation state, without a visible
   horizontal journey or a cancelled transition leaving the carousel busy. */
body.gfayt-pdp-modern[data-theme-template="product"] .product__area-photo .product__gallery .splide__list {transition-duration:1ms!important;transition-delay:0ms!important}
/* The custom thumbnail rail owns visible navigation; retain native buttons in
   the DOM for the existing fallback click route. */
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-has-thumbs .product__gallery-main .splide__pagination {display:none!important}
/* Native object-view-box must not paint discarded pixels into contain's
   letterbox. This rectangle is measured from its actual retained source view. */
body.gfayt-pdp-modern[data-theme-template="product"] .product__area-photo .product__photo img.gfayt-photo-native-clip,
body.gfayt-pdp-modern[data-theme-template="product"] .gfayt-product-thumbs img.gfayt-photo-native-clip,
body.gfayt-pdp-modern .gfayt-product-photo-viewer__image.gfayt-photo-native-clip {clip-path:var(--gfayt-photo-native-clip,inset(0px))!important}

/* Truthful caption for the exact approved illustration files. A real node
   avoids the native photo pseudo-elements and does not resize the photo stage. */
body.gfayt-pdp-modern[data-theme-template="product"] .product__photo > .gfayt-product-photo-caption,
body.gfayt-pdp-modern .gfayt-product-photo-viewer__stage > .gfayt-product-photo-caption {
  position:absolute;inset:auto 12px 12px auto;z-index:3;display:block;box-sizing:border-box;
  width:max-content;max-width:calc(100% - 24px);margin:0;padding:5px 8px;border:0;border-radius:5px;
  background:rgba(255,255,255,.9);color:#525b64;font:400 11px/1.35 "VI Sans","PT Root UI",Arial,sans-serif;
  text-align:left;white-space:normal;overflow-wrap:anywhere;pointer-events:none;
}
body.gfayt-pdp-modern .gfayt-product-photo-viewer__stage > .gfayt-product-photo-caption {
  left:50%;right:auto;bottom:16px;transform:translateX(-50%);text-align:center;
}
