/* Brand & Web hero — responsive device composition, 2026-08-04. */

body.page-brand-market .brand-web-hero {
  overflow: hidden;
  padding-bottom: clamp(62px, 5.4vw, 82px) !important;
}

body.page-brand-market .brand-web-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(430px, .87fr);
  align-items: center;
  gap: clamp(42px, 5vw, 76px);
}

body.page-brand-market .brand-web-hero-copy {
  min-width: 0;
}

body.page-brand-market .brand-web-hero h1 {
  max-width: 12.5ch !important;
  font-size: clamp(3rem, 4.15vw, 4.25rem) !important;
}

body.page-brand-market .brand-web-hero .lead {
  max-width: 62ch !important;
}

body.page-brand-market .brand-web-hero .button-row {
  margin-top: 26px;
}

.brand-device-stage {
  position: relative;
  min-width: 0;
  min-height: 520px;
  isolation: isolate;
}

.brand-device-glow {
  position: absolute;
  inset: 15% 4% 5% 10%;
  z-index: -2;
  border-radius: 50%;
  background:
    radial-gradient(circle at 64% 32%, rgba(73, 205, 187, .19), transparent 42%),
    radial-gradient(circle at 30% 78%, rgba(231, 178, 82, .14), transparent 40%);
  filter: blur(22px);
}

.brand-device-desktop {
  position: absolute;
  top: 22px;
  right: 0;
  width: 94%;
  overflow: hidden;
  border: 1px solid rgba(160, 194, 219, .34);
  border-radius: 17px;
  background: #0a1725;
  box-shadow: 0 32px 72px rgba(0, 8, 18, .38), 0 0 0 7px rgba(11, 31, 48, .86);
}

.device-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  color: #91a8b9;
  background: #14283a;
  border-bottom: 1px solid rgba(169, 202, 224, .16);
}

.device-browser-bar > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f0be60;
}

.device-browser-bar > span:nth-child(2) { background: #54cdbb; }
.device-browser-bar > span:nth-child(3) { background: #6c8dff; }

.device-browser-bar b {
  margin-left: auto;
  margin-right: auto;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .04em;
}

.commerce-desktop-screen {
  min-height: 332px;
  padding: 14px;
  background: #f5f1e8;
  color: #13202b;
}

.commerce-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 2px 11px;
  font-size: 7px;
  letter-spacing: .05em;
}

body.page-brand-market .brand-device-stage .commerce-topbar strong {
  margin-right: auto;
  color: #13202b !important;
  font-size: 10px;
  letter-spacing: .16em;
}

.commerce-topbar i {
  margin-left: auto;
  font-style: normal;
  font-weight: 700;
}

.commerce-feature {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 206px;
  overflow: hidden;
  border-radius: 10px;
  background: #d7c9b7;
}

.commerce-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(145deg, #192b31, #263e3f);
  color: #f8f4ea;
}

.commerce-feature-copy small {
  margin-bottom: 12px;
  color: #65d2c0;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .18em;
}

body.page-brand-market .brand-device-stage .commerce-feature-copy strong {
  max-width: 9ch;
  color: #f8f4ea !important;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.commerce-feature-copy em {
  margin-top: 18px;
  padding-bottom: 3px;
  border-bottom: 1px solid #e7b75d;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.commerce-product-art {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.8), transparent 29%),
    linear-gradient(145deg, #dfd4c6, #b9a188);
}

.commerce-product-art::before {
  content: "";
  position: absolute;
  inset: 18% 24% 10%;
  border-radius: 48% 48% 18% 18%;
  background: linear-gradient(160deg, #27363d, #0f191e);
  box-shadow: 14px 18px 30px rgba(32, 27, 22, .25);
  transform: rotate(-8deg);
}

.commerce-product-art::after {
  content: "";
  position: absolute;
  left: 39%;
  top: 13%;
  width: 27%;
  height: 17%;
  border: 5px solid #17242a;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  transform: rotate(-8deg);
}

.commerce-product-art span:first-child {
  position: absolute;
  right: 15%;
  bottom: 13%;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e6b95f;
  box-shadow: 0 8px 18px rgba(44, 31, 15, .22);
}

.commerce-product-art span:last-child {
  position: absolute;
  left: 9%;
  top: 13%;
  width: 46px;
  height: 72px;
  border-radius: 40px 40px 10px 10px;
  border: 1px solid rgba(255,255,255,.54);
  background: rgba(255,255,255,.2);
  transform: rotate(11deg);
}

.commerce-product-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 9px;
}

.commerce-product-row > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  border: 1px solid #ddd4c8;
  border-radius: 7px;
  background: #fffdf8;
}

.commerce-product-row span {
  display: block;
  aspect-ratio: 1;
  border-radius: 5px;
  background: linear-gradient(145deg, #a0b9b1, #314a49);
}

.commerce-product-row > div:nth-child(2) span { background: linear-gradient(145deg, #ddbd78, #a7773f); }
.commerce-product-row > div:nth-child(3) span { background: linear-gradient(145deg, #c9c3bd, #766d66); }
.commerce-product-row b { font-size: 7px; line-height: 1.2; }

.brand-device-tablet {
  position: absolute;
  left: 0;
  bottom: 3px;
  z-index: 3;
  width: 43%;
  min-height: 255px;
  padding: 13px;
  border: 1px solid rgba(179, 208, 227, .36);
  border-radius: 21px;
  background: linear-gradient(145deg, #172a3b, #071522);
  box-shadow: 0 25px 50px rgba(0, 8, 18, .4), 0 0 0 5px rgba(23, 43, 59, .78);
}

.tablet-camera {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #577083;
}

.commerce-dashboard {
  height: 100%;
  min-height: 225px;
  padding: 18px 15px;
  border-radius: 12px;
  background: #eef4f2;
  color: #173039;
}

.commerce-dashboard small {
  display: block;
  color: #237d72;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .13em;
}

body.page-brand-market .brand-device-stage .commerce-dashboard > strong {
  display: block;
  margin-top: 10px;
  color: #173039 !important;
  font-size: 25px;
  letter-spacing: -.05em;
}

.commerce-dashboard > span {
  display: block;
  color: #6c7d80;
  font-size: 7px;
}

.dashboard-chart {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 70px;
  margin: 14px 0;
  padding: 8px 7px 0;
  border-bottom: 1px solid #cad8d5;
  background: linear-gradient(rgba(58,104,99,.08) 1px, transparent 1px);
  background-size: 100% 18px;
}

.dashboard-chart i {
  flex: 1;
  height: 34%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(#55cfbd, #208d7e);
}

.dashboard-chart i:nth-child(2) { height: 49%; }
.dashboard-chart i:nth-child(3) { height: 42%; }
.dashboard-chart i:nth-child(4) { height: 68%; }
.dashboard-chart i:nth-child(5) { height: 61%; }
.dashboard-chart i:nth-child(6) { height: 88%; background: linear-gradient(#efbf65, #bd8238); }

.dashboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.dashboard-stats span {
  padding: 7px;
  border-radius: 7px;
  background: #fff;
  color: #708184;
  font-size: 6px;
}

.dashboard-stats b {
  display: block;
  color: #173039;
  font-size: 11px;
}

.brand-device-phone {
  position: absolute;
  right: 4%;
  bottom: 0;
  z-index: 4;
  width: 24%;
  min-width: 116px;
  padding: 8px;
  border: 1px solid rgba(183, 209, 227, .4);
  border-radius: 25px;
  background: linear-gradient(145deg, #1d3446, #07131f);
  box-shadow: 0 28px 54px rgba(0, 7, 15, .48), 0 0 0 4px rgba(25, 46, 62, .82);
}

.phone-speaker {
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 2;
  width: 28px;
  height: 4px;
  border-radius: 8px;
  background: #1d313e;
  transform: translateX(-50%);
}

.commerce-phone-screen {
  min-height: 230px;
  padding: 16px 9px 9px;
  overflow: hidden;
  border-radius: 17px;
  background: #f6f2e9;
  color: #14242d;
}

.phone-brand {
  display: flex;
  justify-content: space-between;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .12em;
}

.phone-brand span { color: #288f80; }

.phone-product {
  position: relative;
  height: 104px;
  margin: 10px -1px 9px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(145deg, #d8cfc2, #9f8b75);
}

.phone-product::before {
  content: "";
  position: absolute;
  inset: 24% 24% 12%;
  border-radius: 44% 44% 15% 15%;
  background: #23343b;
  transform: rotate(-7deg);
  box-shadow: 6px 9px 16px rgba(40, 31, 23, .23);
}

.phone-product i:first-child {
  position: absolute;
  left: 41%;
  top: 15%;
  width: 22%;
  height: 20%;
  border: 3px solid #26373d;
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  transform: rotate(-7deg);
}

.commerce-phone-screen > small {
  color: #248274;
  font-size: 5px;
  font-weight: 800;
  letter-spacing: .12em;
}

.commerce-phone-screen > strong,
.commerce-phone-screen > span {
  display: block;
}

body.page-brand-market .brand-device-stage .commerce-phone-screen > strong { margin: 4px 0; color: #14242d !important; font-size: 9px; line-height: 1.15; }
body.page-brand-market .brand-device-stage .commerce-phone-screen > span { color: #7a6a5d !important; font-size: 7px; }

.commerce-phone-screen > b {
  display: block;
  margin-top: 9px;
  padding: 7px 4px;
  border-radius: 6px;
  background: #1c3438;
  color: #fff;
  font-size: 6px;
  text-align: center;
}

.brand-device-status {
  position: absolute;
  right: 31%;
  bottom: 21px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid rgba(142, 191, 205, .28);
  border-radius: 12px;
  background: rgba(9, 28, 43, .94);
  box-shadow: 0 16px 30px rgba(0, 7, 15, .32);
  color: #d2dee8;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .02em;
}

.brand-device-status span:first-child { color: #62d3c1; }
.brand-device-status i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: #58d3c0;
  box-shadow: 0 0 0 4px rgba(88, 211, 192, .11);
}

@media (max-width: 1120px) {
  body.page-brand-market .brand-web-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
    gap: 36px;
  }

  body.page-brand-market .brand-web-hero h1 {
    font-size: clamp(2.8rem, 4.8vw, 3.7rem) !important;
  }

  .brand-device-stage { min-height: 470px; }
  .brand-device-desktop { width: 96%; }
  .commerce-desktop-screen { min-height: 302px; }
  .commerce-feature { min-height: 182px; }
  .brand-device-tablet { width: 46%; min-height: 230px; }
  .commerce-dashboard { min-height: 200px; }
  .brand-device-phone { right: 2%; width: 26%; min-width: 108px; }
  .commerce-phone-screen { min-height: 210px; }
}

@media (max-width: 900px) {
  body.page-brand-market .brand-web-hero-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  body.page-brand-market .brand-web-hero-copy {
    max-width: 760px;
  }

  body.page-brand-market .brand-web-hero h1 {
    max-width: 14ch !important;
    font-size: clamp(2.7rem, 7.4vw, 4.3rem) !important;
  }

  .brand-device-stage {
    width: min(100%, 650px);
    min-height: 520px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  body.page-brand-market .brand-web-hero {
    padding-bottom: 48px !important;
  }

  body.page-brand-market .brand-web-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.25rem) !important;
  }

  .brand-device-stage {
    min-height: 390px;
    margin-top: 4px;
  }

  .brand-device-desktop {
    top: 11px;
    width: 96%;
    border-radius: 12px;
    box-shadow: 0 24px 52px rgba(0, 8, 18, .36), 0 0 0 4px rgba(11, 31, 48, .82);
  }

  .device-browser-bar { height: 24px; padding-inline: 8px; }
  .commerce-desktop-screen { min-height: 236px; padding: 9px; }
  .commerce-topbar { gap: 8px; }
  .commerce-topbar span:nth-of-type(2),
  .commerce-topbar span:nth-of-type(3) { display: none; }
  .commerce-feature { min-height: 148px; }
  .commerce-feature-copy { padding: 15px; }
  .commerce-feature-copy strong { font-size: 17px; }
  .commerce-feature-copy em { margin-top: 12px; }
  .commerce-product-row > div { grid-template-columns: 25px 1fr; padding: 4px; }
  .commerce-product-row b { font-size: 5px; }

  .brand-device-tablet {
    width: 43%;
    min-height: 180px;
    padding: 9px;
    border-radius: 15px;
  }

  .commerce-dashboard { min-height: 158px; padding: 13px 10px; border-radius: 8px; }
  .commerce-dashboard > strong { margin-top: 6px; font-size: 18px; }
  .dashboard-chart { height: 48px; margin: 8px 0; gap: 4px; }
  .dashboard-stats span { padding: 4px; font-size: 5px; }
  .dashboard-stats b { font-size: 8px; }

  .brand-device-phone {
    right: 1%;
    width: 24%;
    min-width: 86px;
    padding: 5px;
    border-radius: 18px;
  }

  .commerce-phone-screen { min-height: 168px; padding: 12px 6px 6px; border-radius: 13px; }
  .phone-product { height: 76px; margin-block: 7px; }
  .commerce-phone-screen > strong { font-size: 7px; }
  .commerce-phone-screen > b { margin-top: 6px; padding: 5px 3px; }
  .brand-device-status { right: 28%; bottom: 13px; padding: 7px 8px; }
}

@media (max-width: 420px) {
  .brand-device-stage { min-height: 350px; }
  .commerce-product-row { display: none; }
  .commerce-desktop-screen { min-height: 204px; }
  .commerce-feature { min-height: 182px; }
  .brand-device-tablet { width: 46%; }
  .brand-device-phone { width: 27%; }
  .brand-device-status { display: none; }
}
