/* Mobile cover spacing is independent from the desktop presentation. */
@media (max-width:700px) {
  html body.brio-storefront .hero .hero-visual::after {background:linear-gradient(90deg,#180e0a99,#180e0a33),linear-gradient(0deg,#180e0aa6,transparent 65%)}
  html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content {
    width:calc(100% - 56px)!important;
    max-width:420px;
    margin:0 auto!important;
    padding:40px 0 76px!important;
    min-height:560px;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:center;
    gap:16px;
    box-sizing:border-box;
  }
  html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > .eyebrow {
    display:block;
    font-size:10px!important;
    line-height:1.5;
    letter-spacing:.15em;
    margin:0;
  }
  html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content h1 {
    font-family:var(--serif, Georgia, serif);
    font-size:clamp(36px,10.2vw,44px)!important;
    font-weight:400;
    line-height:1.12;
    letter-spacing:-.8px;
    max-width:100%;
    margin:0;
    text-wrap:balance;
    overflow-wrap:break-word;
    text-shadow:0 2px 12px #0005;
  }
  html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > [data-site-text=heroText] {
    display:block;
    width:100%;
    max-width:32ch;
    font-size:15px!important;
    line-height:1.65;
    margin:0;
    text-shadow:0 1px 6px #0008;
  }
  html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > .brio-promotion-banner {
    width:100%;
    box-sizing:border-box;
    margin:6px 0 0;
    padding:16px;
    gap:10px;
  }
  html:has(> body.brio-storefront) body.brio-storefront .hero .brio-promotion-banner .promotion-tag {font-size:10px!important;line-height:1.5}
  html:has(> body.brio-storefront) body.brio-storefront .hero .brio-promotion-banner .campaign-value {font-size:44px!important;line-height:1}
  html:has(> body.brio-storefront) body.brio-storefront .hero .brio-promotion-banner .campaign-detail {font-size:14px!important;line-height:1.4}
  html:has(> body.brio-storefront) body.brio-storefront .hero .brio-promotion-banner .campaign-detail strong {font-size:10px!important}
  html:has(> body.brio-storefront) body.brio-storefront .hero .brio-promotion-banner .promotion-shop-link {font-size:13px!important;line-height:1.3;padding:10px 14px;min-height:40px;display:inline-flex;align-items:center}
  html:has(> body.brio-storefront) body.brio-storefront .hero .hero-actions {width:100%;margin:4px 0 0;gap:10px;display:flex;flex-direction:column}
  html:has(> body.brio-storefront) body.brio-storefront .hero .hero-actions a {width:100%;min-height:46px;padding:12px 14px;box-sizing:border-box;font-size:14px!important;line-height:1.4;white-space:normal;text-align:center;justify-content:center}
  html:has(> body.brio-storefront) body.brio-storefront .hero .hero-actions .secondary-button {color:#fffaf2!important;background:#241b1740;border-color:#fffaf2a6}
}

/* Larger screens have their own spacing, without changing mobile framing. */
@media (min-width:701px) {
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content {
  width:min(760px,60vw)!important;
  max-width:calc(100% - 128px);
  margin:0 0 0 clamp(64px,8vw,180px)!important;
  padding:70px 0 80px!important;
  gap:22px;
  align-items:flex-start;
 }
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > .eyebrow {margin:0}
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content h1 {width:100%;max-width:100%;margin:0;line-height:1.12;text-wrap:balance}
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > [data-site-text=heroText] {width:100%;max-width:640px;margin:0;line-height:1.65}
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > .brio-promotion-banner {width:min(100%,600px);box-sizing:border-box;margin:6px 0 0;padding:24px;gap:14px}
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-actions {width:100%;margin:4px 0 0;gap:14px;flex-wrap:wrap}
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-actions a {min-height:48px;padding:14px 20px;white-space:normal}
}

/* Desktop composition: editorial copy and offer occupy separate columns. */
@media (min-width:1100px) {
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content {
  display:grid;
  grid-template-columns:minmax(0,800px) minmax(360px,480px);
  grid-template-rows:auto auto auto auto;
  justify-content:space-between;
  align-content:center;
  align-items:start;
  column-gap:100px;
  row-gap:32px;
  width:calc(100% - 16vw)!important;
  max-width:none;
  margin:0 8vw!important;
  padding:100px 0 120px!important;
 }
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > .eyebrow {grid-column:1;grid-row:1;margin:0;letter-spacing:.18em}
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content h1 {grid-column:1;grid-row:2;max-width:760px;margin:0;line-height:1.16}
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > [data-site-text=heroText] {grid-column:1;grid-row:3;max-width:640px;margin:0;line-height:1.75}
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-actions {grid-column:1;grid-row:4;margin:8px 0 0;gap:20px}
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > .brio-promotion-banner {
  grid-column:2;
  grid-row:2 / 5;
  align-self:end;
  width:100%;
  margin:0;
  padding:32px;
  gap:22px 16px;
  border-radius:18px;
  background:linear-gradient(140deg,#3d1719f5,#551a1cf5);
  box-shadow:0 14px 40px #180e0a30;
 }
 html:has(> body.brio-storefront) body.brio-storefront .hero .brio-promotion-banner .campaign-value {font-size:76px!important;line-height:1}
 html:has(> body.brio-storefront) body.brio-storefront .hero .brio-promotion-banner .campaign-detail {font-size:22px!important;line-height:1.4}
 html:has(> body.brio-storefront) body.brio-storefront .hero .brio-promotion-banner .campaign-detail strong {font-size:14px!important}
 html:has(> body.brio-storefront) body.brio-storefront .hero .brio-promotion-banner .promotion-tag {font-size:14px!important;line-height:1.5}
 html:has(> body.brio-storefront) body.brio-storefront .hero .brio-promotion-banner .promotion-shop-link {font-size:18px!important;padding:15px 22px;line-height:1.4}
}

/* Keep the offer with the copy and let the desktop headline run on one line. */
@media (min-width:1100px) {
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content {
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto auto auto auto;
  row-gap:24px;
  padding:70px 0 80px!important;
 }
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content h1 {
  width:max-content;
  max-width:100%;
  white-space:nowrap;
  text-wrap:nowrap;
  font-size:clamp(64px,5.6vw,90px)!important;
 }
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > .brio-promotion-banner {
  grid-column:1;
  grid-row:4;
  align-self:start;
  width:min(100%,600px);
  padding:24px;
  gap:14px;
 }
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-actions {grid-column:1;grid-row:5;margin:4px 0 0}
}

/* The offer is a diagonal ribbon; the navigation link stays level. */
html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > .brio-promotion-banner {
 background:transparent;
 border:0;
 border-radius:0;
 box-shadow:none;
 backdrop-filter:none;
 padding:0;
 gap:10px;
 overflow:visible;
 isolation:isolate;
}
html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > .brio-promotion-banner::before {display:none}
html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > .brio-promotion-banner .promotion-tag {color:#f3dfbc;letter-spacing:.2em}
html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > .brio-promotion-banner [data-promotion-slide] {
 grid-column:1 / -1!important;
 grid-row:2!important;
 display:flex;
 align-items:center;
 justify-content:flex-start;
 gap:22px;
 width:calc(100% - 12px);
 box-sizing:border-box;
 margin:16px 6px 18px;
 padding:22px 30px;
 transform:none;
 transform-origin:center;
 border-top:1px solid #d4b781;
 border-bottom:1px solid #d4b781;
 border-radius:3px;
 background:linear-gradient(115deg,#381419,#6b2635 70%,#491821);
 box-shadow:0 10px 24px #180e0a30;
 color:#fff8eb!important;
 text-decoration:none;
}
html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > .brio-promotion-banner .promotion-shop-link {
 grid-column:1 / -1!important;
 grid-row:3!important;
 justify-self:start;
 margin:0;
 transform:none;
 background:#fff5e5;
 color:#382320!important;
 border:1px solid #dbc49c;
}
@media(min-width:1100px) {
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > .brio-promotion-banner {width:min(100%,560px)}
}
@media(max-width:700px) {
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > .brio-promotion-banner {gap:8px}
 html:has(> body.brio-storefront) body.brio-storefront .hero .hero-content > .brio-promotion-banner [data-promotion-slide] {gap:14px;padding:18px 20px;margin-top:12px;margin-bottom:14px}
}
