/* DroneX v72: reference product page + breadcrumb-derived brand.
   All changes are scoped to .dx-theme.dx-product-page. */
.dx-theme.dx-product-page { --dx-ref-cyan:#21afd5; --dx-ref-ink:#161a1c; --dx-ref-muted:#9da2a5; }
.dx-theme.dx-product-page .main > .container { max-width:1380px!important; padding-bottom:86px; }
.dx-theme.dx-product-page .dx-product-frame {
    max-width:1260px!important; margin:0 auto 58px!important; padding:34px 35px 30px!important;
    grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;
    gap:44px!important; align-items:start!important;
    border:1px solid #808589!important; box-shadow:none!important; background:#fff!important;
}
.dx-theme.dx-product-page .dx-product-frame::before,
.dx-theme.dx-product-page .dx-product-frame::after { width:36px!important;height:36px!important; }
.dx-theme.dx-product-page .dx-product .product-page__gallery { position:relative; }
.dx-theme.dx-product-page .dx-product .gallery-top { aspect-ratio:1.12;max-height:540px; }
.dx-theme.dx-product-page .dx-product .gallery-top picture { padding:14px 20px; }
.dx-theme.dx-product-page .dx-product .gallery_image { position:relative; }
.dx-theme.dx-product-page .dx-product .stickers_product-page {
    position:absolute!important; top:0!important; right:-14px!important; left:auto!important;
    z-index:3; pointer-events:none;align-items:flex-end!important;
}
.dx-theme.dx-product-page .dx-product .stickers_product-page .sticker {
    display:block; width:max-content; padding:3px 9px; height:auto; min-height:21px;
    font-size:11px; line-height:1.35; font-weight:750; margin-bottom:4px; border-radius:1px;
}
.dx-theme.dx-product-page .dx-product .stickers_product-page .sticker--discount {background:#202426;color:#fff;}
.dx-theme.dx-product-page .dx-product .stickers_product-page .sticker--hit {background:var(--dx-ref-cyan);color:#fff;}
.dx-theme.dx-product-page .product-page__details > .block__header {
    position:relative; z-index:1; display:block!important; min-height:0; padding:0 0 8px!important;
    margin:0!important; border:0!important; overflow:visible;
}
.dx-theme.dx-product-page .dx-ref-brand-row {
    display:flex!important; position:static!important; float:none!important; align-items:center;
    width:100%; min-height:38px; max-width:100%; gap:18px; padding:0!important;
    margin:0 0 12px!important; background:transparent; overflow:visible;
}
.dx-theme.dx-product-page .dx-ref-brand-row__accent {display:block;flex:0 0 23px; width:23px; height:5px; background:var(--dx-ref-cyan);border-radius:3px;}
.dx-theme.dx-product-page .dx-ref-brand-row__link {
    display:inline-flex!important; position:static!important; float:none!important;
    max-width:100%; width:auto; min-height:34px; padding:0!important;margin:0!important;
    align-items:center; text-decoration:none!important; color:var(--dx-ref-ink)!important;
}
.dx-theme.dx-product-page .dx-ref-brand-row__link:focus-visible {outline:2px solid var(--dx-ref-cyan);outline-offset:4px;}
.dx-theme.dx-product-page .dx-ref-brand-row__logo {
    display:block!important; width:auto!important; height:auto!important;
    max-width:min(190px,100%)!important; max-height:37px!important; object-fit:contain;
    object-position:left center; position:static!important; margin:0!important;
}
.dx-theme.dx-product-page .dx-ref-brand-row__name {
    display:block; max-width:100%;font-size:19px;font-weight:850;color:var(--dx-ref-ink);
    line-height:1.1;white-space:normal;overflow-wrap:anywhere;
}
.dx-theme.dx-product-page .product-page__details > .block__header .dx-ref-product-title {
    display:block!important;position:static!important;float:none!important;clear:both;
    width:100%;max-width:100%!important;margin:0 0 5px!important;padding:0!important;
    font-size:clamp(25px,2.4vw,35px)!important;font-weight:500!important;
    line-height:1.12!important;letter-spacing:-.024em;color:#999fa3!important;
    text-transform:none!important;overflow-wrap:anywhere;
}
.dx-theme.dx-product-page .product-page__details > .block__header .dx-ref-product-title span {
    display:inline;position:static!important;float:none!important;color:inherit!important;letter-spacing:inherit;
}
.dx-theme.dx-product-page .product-page__details > .block__header .product-page__sku {
    display:block!important;position:static!important;clear:both;float:none;
    width:auto;margin:3px 0 9px!important;order:initial!important;
}
/* Three-across thumbnails wrapping to a second row just like the reference.
   Native Swiper still drives gallery image changes, keyboard and navigation. */
.dx-theme.dx-product-page .dx-product .gallery-thumbs {
    overflow:visible!important; height:auto!important; min-height:0!important;
    max-height:none!important; margin:12px 0 0!important;padding:0!important;
}
.dx-theme.dx-product-page .dx-product .gallery-thumbs .swiper-wrapper {
    display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr));
    width:100%!important;height:auto!important; gap:10px;
    flex-direction:initial!important; transform:none!important; transition:none!important;
}
.dx-theme.dx-product-page .dx-product .gallery-thumbs .swiper-slide {
    display:flex!important;width:100%!important;min-width:0!important;height:116px!important;
    margin:0!important;padding:8px!important;border:1px solid #b4b8bb!important;
    border-radius:2px!important;cursor:pointer!important;
}
.dx-theme.dx-product-page .dx-product .gallery-thumbs .swiper-slide-thumb-active {
    border-color:#484e52!important;box-shadow:inset 0 0 0 1px #484e52!important;opacity:1!important;
}
.dx-theme.dx-product-page .dx-product .gallery-thumbs .swiper-slide:focus-visible {outline:2px solid var(--dx-ref-cyan);outline-offset:2px;}
.dx-theme.dx-product-page .dx-product .gallery-thumbs .swiper-slide img {object-fit:contain!important;max-height:100%!important;max-width:100%!important;}
/* Keep quantity and cart next to each other. */
.dx-theme.dx-product-page .dx-product-buy-row {display:flex!important;flex-wrap:nowrap!important;gap:12px!important;align-items:flex-end!important;}
.dx-theme.dx-product-page .dx-product-buy-row .details_boxed__amount {flex:0 0 126px!important;width:126px!important;max-width:126px!important;}
.dx-theme.dx-product-page .dx-product-buy-row .product-page__cart-wrap {flex:1 1 auto!important;}
.dx-theme.dx-product-page .dx-product-buy-row .product-page__button {min-height:44px!important;}
/* Sidebar stars, social and comment form stay visible and active. */
.dx-theme.dx-product-page .dx-product-summary-rating.fn_rating {display:flex!important;}
.dx-theme.dx-product-page .dx-review-form {margin:9px 0 0!important;}
.dx-theme.dx-product-page .dx-review-form .form {
    padding:12px 14px 14px!important;border:1px solid #8b9093!important;
    border-radius:22px 4px 22px 4px!important;background:#fff!important;
}
.dx-theme.dx-product-page .dx-review-form .form__title {background:#484d50!important;color:#fff!important;border-radius:20px!important;}
/* v86: one description area below the product controls, no duplicated reviews. */
.dx-theme.dx-product-page .dx-ref-description {max-width:1260px!important;width:100%;margin-left:auto!important;margin-right:auto!important;}
.dx-theme.dx-product-page .dx-ref-section-nav {
    display:flex;align-items:center;gap:12px;margin:0 0 22px;
    padding:0 0 12px;border-bottom:1px solid #d9dddf;background:none!important;
}
.dx-theme.dx-product-page .dx-ref-section-nav__link {
    display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
    padding:10px 21px;min-height:43px;min-width:96px;border:0;border-radius:23px;
    color:#353a3d!important;background:transparent!important;font-size:13px;font-weight:700;
    text-decoration:none!important;line-height:1.1;box-shadow:none!important;
}
.dx-theme.dx-product-page .dx-ref-section-nav__link:hover,
.dx-theme.dx-product-page .dx-ref-section-nav__link:focus-visible {color:var(--dx-ref-cyan)!important;outline-offset:2px;}
.dx-theme.dx-product-page .dx-ref-section-nav__link.is-active {
    background:#272c2e!important;color:#fff!important;
}
.dx-theme.dx-product-page .dx-ref-description {margin-top:0!important;scroll-margin-top:100px;}
.dx-theme.dx-product-page .dx-ref-description .dx-ref-section-nav {margin-bottom:26px;}
.dx-theme.dx-product-page .dx-ref-description .tabs__content {background:#fff!important;color:#17191b;}
.dx-theme.dx-product-page .dx-ref-description #description {
    display:block!important;visibility:visible!important;opacity:1!important;
    width:100%;max-width:100%;padding:0!important;margin:0;
    scroll-margin-top:100px;
}
.dx-theme.dx-product-page .dx-ref-description .block__description {
    padding:2px 10px 22px!important;font-size:15px!important;line-height:1.75!important;color:#17191b!important;
}
.dx-theme.dx-product-page .dx-ref-description .block__description img {
    display:block!important;width:auto;height:auto;max-width:min(100%,720px)!important;margin:27px auto 31px!important;
    box-shadow:0 7px 30px rgba(0,0,0,.035);
}
.dx-theme.dx-product-page .dx-ref-description .block__description h2,
.dx-theme.dx-product-page .dx-ref-description .block__description h3 {
    font-size:18px!important;font-weight:850!important;line-height:1.25;
    margin:35px 0 17px!important;color:#121719!important;text-transform:uppercase;
}
.dx-theme.dx-product-page .dx-ref-description .block__description ul,
.dx-theme.dx-product-page .dx-ref-description .block__description ol {margin:0 0 22px;padding-left:24px;}
.dx-theme.dx-product-page .dx-ref-feature-info {margin-left:10px;padding:2px 6px;border-radius:5px;cursor:help;background:#dcf8ed;}
.dx-theme.dx-product-page .dx-product-specifications {margin-top:28px;}
.dx-theme.dx-product-page .dx-ref-description .product_description {border:0;}
.dx-theme.dx-product-page .dx-ref-description .tabs__content .tab[aria-hidden="true"] {display:block!important;}
@media(max-width:991px) {
  .dx-theme.dx-product-page .dx-product-frame {max-width:760px!important;grid-template-columns:1fr!important;gap:25px!important;padding:26px!important;}
  .dx-theme.dx-product-page .dx-product .stickers_product-page {right:0!important;}
  .dx-theme.dx-product-page .dx-ref-description {max-width:760px!important;}
  .dx-theme.dx-product-page .dx-product .gallery-thumbs .swiper-slide {height:110px!important;}
  .dx-theme.dx-product-page .dx-ref-brand-row {margin-top:9px!important;}
}
@media(max-width:560px) {
  .dx-theme.dx-product-page .dx-product-frame {padding:18px 14px!important;gap:20px!important;margin-bottom:42px!important;}
  .dx-theme.dx-product-page .dx-product .gallery-thumbs .swiper-wrapper {grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
  .dx-theme.dx-product-page .dx-product .gallery-thumbs .swiper-slide {height:83px!important;padding:5px!important;}
  .dx-theme.dx-product-page .dx-ref-brand-row {gap:10px;min-height:34px;}
  .dx-theme.dx-product-page .dx-ref-brand-row__accent {flex-basis:18px;width:18px;height:4px;}
  .dx-theme.dx-product-page .dx-ref-brand-row__logo {max-width:148px!important;max-height:34px!important;}
  .dx-theme.dx-product-page .dx-ref-brand-row__name {font-size:16px;}
  .dx-theme.dx-product-page .product-page__details > .block__header .dx-ref-product-title {font-size:26px!important;}
  .dx-theme.dx-product-page .dx-product-buy-row {gap:8px!important;}
  .dx-theme.dx-product-page .dx-product-buy-row .details_boxed__amount {flex-basis:112px!important;width:112px!important;max-width:112px!important;}
  .dx-theme.dx-product-page .dx-ref-section-nav {gap:5px;margin-bottom:17px;}
  .dx-theme.dx-product-page .dx-ref-section-nav__link {min-width:81px;padding:9px 14px;font-size:12px;}
  .dx-theme.dx-product-page .dx-ref-description .block__description {padding:0 3px 12px!important;font-size:14px!important;}
}
@media(prefers-reduced-motion:reduce){.dx-theme.dx-product-page *{scroll-behavior:auto!important;}}

/* v72: ensure every brand (including Foxeer) displays as readable text next
   to the cyan accent, without relying on logo asset filenames or absolute
   positioning rules from older versions of the theme. */
.dx-theme.dx-product-page .product-page__details > .block__header .dx-ref-brand-row {
    display:flex!important;align-items:center!important;gap:13px!important;
    position:static!important;float:none!important;overflow:visible!important;
    margin:0 0 14px!important;min-height:31px!important;
}
.dx-theme.dx-product-page .product-page__details > .block__header .dx-ref-brand-row__link {
    display:inline-flex!important;align-items:center!important;position:static!important;
    width:auto!important;max-width:100%!important;min-width:0!important;
    font-weight:800!important;text-decoration:none!important;
}
.dx-theme.dx-product-page .product-page__details > .block__header .dx-ref-brand-row__name {
    display:inline-block!important;visibility:visible!important;opacity:1!important;
    font-size:19px!important;font-weight:800!important;line-height:1.25!important;
    color:#161a1c!important;white-space:normal!important;
    overflow:visible!important;text-overflow:clip!important;word-break:normal!important;
}
.dx-theme.dx-product-page .dx-ref-brand-row__link:hover .dx-ref-brand-row__name,
.dx-theme.dx-product-page .dx-ref-brand-row__link:focus-visible .dx-ref-brand-row__name {
    color:#119dc3!important;
}
@media(max-width:560px) {
  .dx-theme.dx-product-page .product-page__details > .block__header .dx-ref-brand-row__name {font-size:16px!important;}
}

/* v73 — The CMS brand belongs to a separate visual line above the product H1.
   Keep the brand and heading in one vertically stacked wrapper. This isolated
   selector wins over legacy brand-logo float/absolute styles, even on mobile. */
.dx-theme.dx-product-page .product-page__details > .block__header .dx-product-heading-stack {
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  position:relative!important;
  z-index:2;
  float:none!important;
  clear:both!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  text-align:left;
}
.dx-theme.dx-product-page .product-page__details > .block__header .dx-product-heading-stack > .dx-ref-brand-row {
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  align-self:stretch!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  position:relative!important;
  float:none!important;
  clear:both!important;
  inset:auto!important;
  width:100%!important;
  max-width:100%!important;
  min-height:28px!important;
  margin:0 0 15px!important;
  padding:0!important;
  gap:12px!important;
  overflow:visible!important;
  isolation:isolate;
}
.dx-theme.dx-product-page .dx-product-heading-stack .dx-ref-brand-row__accent {
  display:block!important;
  position:static!important;
  float:none!important;
  flex:0 0 24px!important;
  width:24px!important;
  height:5px!important;
  border-radius:3px;
  background:#21afd5!important;
}
.dx-theme.dx-product-page .dx-product-heading-stack .dx-ref-brand-row__link {
  display:inline-flex!important;
  position:static!important;
  float:none!important;
  flex:0 1 auto!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  align-items:center!important;
  color:#161a1c!important;
  text-decoration:none!important;
}
.dx-theme.dx-product-page .dx-product-heading-stack .dx-ref-brand-row__name {
  display:inline-block!important;
  position:static!important;
  float:none!important;
  max-width:100%!important;
  font-size:19px!important;
  font-weight:800!important;
  line-height:1.25!important;
  color:#161a1c!important;
  overflow-wrap:anywhere;
  white-space:normal!important;
}
.dx-theme.dx-product-page .product-page__details > .block__header .dx-product-heading-stack > h1.dx-ref-product-title {
  display:block!important;
  position:static!important;
  clear:both!important;
  float:none!important;
  flex:none!important;
  align-self:stretch!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0 0 5px!important;
  padding:0!important;
  white-space:normal!important;
}
@media(max-width:560px) {
  .dx-theme.dx-product-page .dx-product-heading-stack .dx-ref-brand-row__name {
    font-size:16px!important;
  }
  .dx-theme.dx-product-page .product-page__details > .block__header .dx-product-heading-stack > .dx-ref-brand-row {
    margin-bottom:11px!important;
  }
}
