/* BROOLED ONE + Store v6.2.4.8 — unified product-first retail layout.
 * All website templates share layout; Design Studio's --br-* colour tokens,
 * typography, merchant imagery and independent palette remain authoritative.
 * Original BROOLED implementation; no third-party assets are included.
 */
body.brooled-unified-retail-layout {
  background:var(--br-page-bg,#f5f7fb);
  color:var(--br-text,#17233b);
}
body.brooled-unified-retail-layout .brooled-store-page-shell,
body.brooled-unified-retail-layout .brooled-native-page {
  width:min(1480px,calc(100% - 36px));
  max-width:1480px;
  margin-inline:auto;
}
body.brooled-unified-retail-layout .brooled-native-site-header {
  background:var(--br-surface,#fff)!important;
  border-bottom:1px solid var(--br-border,#e3e9f2)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
body.brooled-unified-retail-layout .brooled-native-site-brand img {
  width:auto;
  max-width:125px;
  max-height:54px;
  object-fit:contain;
}
body.brooled-unified-retail-layout .brooled-native-site-brand strong {
  color:var(--br-text,#17233b);
  font-size:clamp(16px,1.2vw,20px);
  font-weight:800;
  letter-spacing:-.025em;
}
body.brooled-unified-retail-layout .brooled-native-site-brand small {
  color:var(--br-muted,#586579);
  font-size:11px;
  font-weight:600;
}
body.brooled-unified-retail-layout .brooled-hf-header[data-brooled-header-layout="v2"] .brooled-hf-navigation-row {
  background:var(--br-surface,#fff);
  border-top:1px solid var(--br-border,#e3e9f2)!important;
}
body.brooled-unified-retail-layout .brooled-hf-header[data-brooled-header-layout="v2"] .brooled-hf-navigation-row .brooled-native-menu > ul > li > a {
  color:var(--br-text,#17233b)!important;
  font-weight:650!important;
  border-radius:8px!important;
}
body.brooled-unified-retail-layout .brooled-hf-header[data-brooled-header-layout="v2"] .brooled-hf-navigation-row .brooled-native-menu > ul > li > a:hover,
body.brooled-unified-retail-layout .brooled-hf-header[data-brooled-header-layout="v2"] .brooled-hf-navigation-row .brooled-native-menu > ul > li > a:focus-visible {
  color:var(--br-accent,#175cd3)!important;
  background:color-mix(in srgb,var(--br-accent,#175cd3) 8%,var(--br-surface,#fff))!important;
}
body.brooled-unified-retail-layout .brooled-hf-search {
  width:min(100%,640px);
  min-width:0;
  min-height:46px;
  border:1px solid var(--br-border,#e3e9f2);
  border-radius:12px;
  background:var(--br-page-bg,#f5f7fb);
}
body.brooled-unified-retail-layout .brooled-hf-search input {
  min-height:44px;
  font-size:14px;
}
body.brooled-unified-retail-layout .brooled-hf-search button {
  display:grid;
  place-items:center;
  min-width:44px;
  min-height:44px;
  color:var(--br-accent,#175cd3);
}
body.brooled-unified-retail-layout .brooled-hf-search:focus-within {
  outline:2px solid var(--br-accent,#175cd3);
  outline-offset:2px;
}
body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero {
  grid-template-columns:minmax(0,1.18fr) minmax(240px,.82fr);
  grid-template-areas:"copy art" "proof proof";
  gap:20px;
  padding:clamp(22px,3.2vw,42px);
  border:1px solid var(--br-border,#e3e9f2);
  border-radius:18px;
  background:linear-gradient(112deg,color-mix(in srgb,var(--br-accent,#175cd3) 9%,var(--br-surface,#fff)) 0%,var(--br-surface,#fff) 54%,color-mix(in srgb,var(--br-accent,#175cd3) 5%,var(--br-surface,#fff)) 100%);
  box-shadow:none;
}
body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero.is-compact {
  grid-template-columns:minmax(0,1.25fr) minmax(200px,.75fr);
  margin:0 0 24px;
  padding:clamp(20px,2.6vw,34px);
}
body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero .brooled-website-hero-copy>small {
  color:var(--br-accent,#175cd3);
  font-size:11px;
  letter-spacing:.1em;
}
body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero .brooled-website-hero-copy h2 {
  max-width:670px;
  margin:8px 0 12px;
  font-family:inherit;
  font-size:clamp(28px,3.5vw,48px);
  font-weight:850;
  line-height:1.1;
  letter-spacing:-.045em;
  color:var(--br-text,#17233b);
}
body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero .brooled-website-hero-copy p {
  max-width:590px;
  margin:0 0 18px;
  font-size:clamp(14px,1.2vw,17px);
  color:var(--br-muted,#586579);
}
body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero .brooled-website-hero-copy>a {
  min-height:43px;
  padding:10px 19px;
  border-radius:10px;
  background:var(--br-accent,#175cd3);
  color:var(--br-button-text,#fff)!important;
  font-size:14px;
  font-weight:750;
}
body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero .brooled-website-hero-art {
  display:grid;
  place-items:center;
  min-height:175px;
  border-radius:16px;
  background:linear-gradient(140deg,var(--br-accent,#175cd3),color-mix(in srgb,var(--br-accent,#175cd3) 50%,var(--br-surface,#fff)));
  transform:none;
  box-shadow:none;
}
body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero .brooled-website-hero-art i {
  width:92px;
  height:92px;
  font-size:44px;
  box-shadow:none;
}
body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero .brooled-website-hero-art b,
body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero .brooled-website-hero-art em {
  opacity:.45;
  pointer-events:none;
}
body.brooled-unified-retail-layout .brooled-tech-product-images {
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:100%;
  padding:16px;
}
body.brooled-unified-retail-layout .brooled-tech-product-visual {
  display:grid;
  place-items:center;
  width:min(44%,165px);
  height:155px;
  padding:12px;
  border-radius:14px;
  background:var(--br-surface,#fff);
  box-shadow:0 8px 24px rgba(17,41,82,.14);
}
body.brooled-unified-retail-layout .brooled-tech-product-visual:nth-child(2) {
  transform:translateY(9px) rotate(3deg);
}
body.brooled-unified-retail-layout .brooled-tech-product-visual img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero ul {
  border:1px solid var(--br-border,#e3e9f2);
  border-radius:12px;
  background:var(--br-surface,#fff);
}
body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero li {
  padding:11px 15px;
  background:var(--br-surface,#fff);
  font-size:13px;
}
body.brooled-unified-retail-layout .brooled-catalogue-heading h2,
body.brooled-unified-retail-layout .brooled-phase2-context h2 {
  color:var(--br-text,#17233b);
  font-size:clamp(23px,2.4vw,34px);
  font-weight:800;
  letter-spacing:-.035em;
}
body.brooled-unified-retail-layout .brooled-shop-toolbar {
  padding:14px;
  border:1px solid var(--br-border,#e3e9f2);
  border-radius:12px;
  background:var(--br-surface,#fff);
  box-shadow:none;
}
body.brooled-unified-retail-layout .brooled-product-grid {
  display:grid;
  grid-template-columns:repeat(var(--br-catalogue-columns,4),minmax(0,1fr));
  gap:clamp(12px,1.4vw,20px);
}
body.brooled-unified-retail-layout .brooled-product-card {
  min-width:0;
  overflow:hidden;
  border:1px solid var(--br-border,#e3e9f2);
  border-radius:var(--br-card-radius,12px);
  background:var(--br-surface,#fff);
  box-shadow:none;
  transition:border-color .2s ease,transform .2s ease;
}
body.brooled-unified-retail-layout .brooled-product-card:hover {
  border-color:color-mix(in srgb,var(--br-accent,#175cd3) 38%,var(--br-border,#e3e9f2));
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(19,39,75,.07);
}
body.brooled-unified-retail-layout .brooled-product-card-media {
  display:grid;
  place-items:center;
  aspect-ratio:1/1;
  background:color-mix(in srgb,var(--br-page-bg,#f5f7fb) 85%,var(--br-surface,#fff));
  overflow:hidden;
}
body.brooled-unified-retail-layout .brooled-product-card-media img {
  width:100%;
  height:100%;
  max-height:100%;
  object-fit:var(--br-image-fit,contain);
  padding:14px;
  box-sizing:border-box;
}
body.brooled-unified-retail-layout .brooled-product-card-body {
  padding:14px;
  text-align:var(--br-card-align,left);
}
body.brooled-unified-retail-layout .brooled-product-card-body h3 {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  min-height:2.7em;
  margin:7px 0 10px;
  font-size:clamp(14px,1.1vw,17px);
  line-height:1.35;
  font-weight:750;
}
body.brooled-unified-retail-layout .brooled-product-card-body h3 a {
  color:var(--br-text,#17233b);
  text-decoration:none;
}
body.brooled-unified-retail-layout .brooled-product-card .brooled-price {
  justify-content:flex-start;
  color:var(--br-text,#17233b);
  font-weight:850;
}
body.brooled-unified-retail-layout .brooled-card-actions {
  gap:7px;
}
body.brooled-unified-retail-layout .brooled-card-actions .brooled-btn {
  min-height:39px;
  border-radius:9px;
  font-size:13px;
  font-weight:750;
}
body.brooled-unified-retail-layout .brooled-native-site-footer {
  background:var(--br-surface,#fff);
  color:var(--br-text,#17233b);
  border-top:1px solid var(--br-border,#e3e9f2);
}
body.brooled-unified-retail-layout .brooled-native-site-footer a,
body.brooled-unified-retail-layout .brooled-native-site-footer strong {
  color:var(--br-text,#17233b);
}
body.brooled-unified-retail-layout :is(a,button,input,select):focus-visible {
  outline:2px solid var(--br-accent,#175cd3);
  outline-offset:3px;
}
@media(min-width:1280px) {
  body.brooled-unified-retail-layout .brooled-hf-header[data-brooled-header-layout="v2"] .brooled-hf-header-row {
    grid-template-columns:minmax(180px,1fr) minmax(320px,620px) minmax(100px,1fr)!important;
    max-width:1580px!important;
    gap:24px!important;
    padding-block:15px!important;
  }
  body.brooled-unified-retail-layout .brooled-hf-header[data-brooled-header-layout="v2"] .brooled-hf-area.is-center,
  body.brooled-unified-retail-layout .brooled-hf-header[data-brooled-header-layout="v2"] .brooled-retail-default-search {
    width:100%;
  }
  body.brooled-unified-retail-layout .brooled-hf-header[data-brooled-header-layout="v2"] .brooled-hf-navigation-row .brooled-native-menu > ul {
    flex-wrap:wrap!important;
    gap:clamp(5px,.75vw,12px)!important;
  }
}
@media(max-width:1100px) {
  body.brooled-unified-retail-layout .brooled-product-grid {
    grid-template-columns:repeat(min(3,var(--br-catalogue-columns,4)),minmax(0,1fr))!important;
  }
}
@media(max-width:760px) {
  body.brooled-unified-retail-layout .brooled-store-page-shell,
  body.brooled-unified-retail-layout .brooled-native-page {
    width:calc(100% - 24px);
  }
  body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero,
  body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero.is-compact {
    grid-template-columns:1fr;
    grid-template-areas:"copy" "art";
    gap:14px;
    padding:22px;
    border-radius:14px;
  }
  body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero .brooled-website-hero-art {
    min-height:135px;
  }
  body.brooled-unified-retail-layout .brooled-tech-product-visual {
    height:118px;
  }
  body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero ul {
    display:none;
  }
  body.brooled-unified-retail-layout .brooled-product-grid {
    grid-template-columns:repeat(min(2,var(--br-catalogue-columns,4)),minmax(0,1fr))!important;
    gap:10px;
  }
  body.brooled-unified-retail-layout .brooled-product-card-body {
    padding:11px;
  }
  body.brooled-unified-retail-layout .brooled-product-card-body h3 {
    font-size:14px;
  }
  body.brooled-unified-retail-layout .brooled-hf-search {
    width:100%;
  }
}
@media(max-width:380px) {
  body.brooled-unified-retail-layout .brooled-product-grid {
    grid-template-columns:1fr!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  body.brooled-unified-retail-layout .brooled-product-card {
    transition:none;
  }
  body.brooled-unified-retail-layout .brooled-product-card:hover {
    transform:none;
  }
}

/* Category discovery uses the same visibility rules as the main catalogue. */
body.brooled-unified-retail-layout .brooled-tech-category-rail {
  margin:0 0 26px;
  padding:0;
}
body.brooled-unified-retail-layout .brooled-tech-category-rail-head {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
}
body.brooled-unified-retail-layout .brooled-tech-category-rail-head strong {
  color:var(--br-text,#17233b);
  font-size:clamp(20px,2vw,26px);
  font-weight:800;
  letter-spacing:-.025em;
}
body.brooled-unified-retail-layout .brooled-tech-category-rail-head span {
  color:var(--br-muted,#586579);
  font-size:13px;
}
body.brooled-unified-retail-layout .brooled-tech-category-list {
  display:grid;
  grid-template-columns:repeat(8,minmax(0,1fr));
  gap:10px;
}
body.brooled-unified-retail-layout .brooled-tech-category {
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:center;
  gap:9px;
  padding:14px 8px;
  border:1px solid var(--br-border,#e3e9f2);
  border-radius:12px;
  background:var(--br-surface,#fff);
  color:var(--br-text,#17233b);
  text-decoration:none;
  text-align:center;
}
body.brooled-unified-retail-layout .brooled-tech-category:hover,
body.brooled-unified-retail-layout .brooled-tech-category:focus-visible {
  border-color:var(--br-accent,#175cd3);
  color:var(--br-accent,#175cd3);
}
body.brooled-unified-retail-layout .brooled-tech-category-image {
  display:grid;
  place-items:center;
  width:72px;
  height:72px;
  max-width:100%;
  border-radius:50%;
  background:color-mix(in srgb,var(--br-accent,#175cd3) 8%,var(--br-surface,#fff));
  overflow:hidden;
}
body.brooled-unified-retail-layout .brooled-tech-category-image img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
body.brooled-unified-retail-layout .brooled-tech-category-image span {
  color:var(--br-accent,#175cd3);
  font-size:30px;
  font-weight:800;
}
body.brooled-unified-retail-layout .brooled-tech-category strong {
  max-width:100%;
  font-size:12px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
@media(max-width:1100px) {
  body.brooled-unified-retail-layout .brooled-tech-category-list {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media(max-width:600px) {
  body.brooled-unified-retail-layout .brooled-tech-category-list {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.brooled-unified-retail-layout .brooled-tech-category-image {
    width:64px;
    height:64px;
  }
}

/* Catalogue modes, cart/checkout forms, and accessible interaction overrides. */
body.brooled-unified-retail-layout .brooled-catalogue-layout-list .brooled-product-grid {
  grid-template-columns:1fr!important;
}
body.brooled-unified-retail-layout .brooled-native-site-header .brooled-retail-default-search {
  min-width:0;
  flex:1 1 300px;
}
body.brooled-unified-retail-layout .brooled-native-site-header .brooled-hf-search {
  max-width:100%;
}
body.brooled-unified-retail-layout .brooled-hf-navigation-row .brooled-navigation-panel {
  background:var(--br-surface,#fff)!important;
  color:var(--br-text,#17233b)!important;
  border:1px solid var(--br-border,#e3e9f2)!important;
}
body.brooled-unified-retail-layout .brooled-storefront :is(input,select,textarea),
body.brooled-unified-retail-layout .brooled-native-site-header :is(input,select) {
  color:var(--br-text,#17233b);
}
body.brooled-unified-retail-layout .brooled-website-hero.brooled-unified-retail-hero :is(h2,p,small) {
  max-width:100%;
}
@media(max-width:1279px) {
  body.brooled-unified-retail-layout .brooled-native-site-header .brooled-retail-default-search {
    width:100%;
    flex:1 1 100%;
  }
}
@media(prefers-reduced-motion:reduce) {
  body.brooled-unified-retail-layout .brooled-product-card {transition:none!important;}
}
/* Keep the chosen cart icon and its quantity visible on narrow viewports;
   the older utility-bar mobile rule hid all descendant spans. */
@media(max-width:767px) {
  body.brooled-unified-retail-layout .brooled-store-utility-bar .brooled-utility-cart .brooled-cart-icon-wrap {
    display:inline-flex!important;
    position:relative!important;
    width:25px!important;
    height:28px!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:visible!important;
  }
  body.brooled-unified-retail-layout .brooled-store-utility-bar .brooled-utility-cart .brooled-cart-icon-wrap .brooled-cart-count {
    display:inline-grid!important;
  }
  body.brooled-unified-retail-layout .brooled-store-utility-bar .brooled-utility-cart .brooled-cart-label {
    display:none!important;
  }
}
