:root{
  --bg:#0b0f14;
  --panel:#0f1621;
  --panel2:#0c121b;
  --text:#e8eef6;
  --muted:#a9b6c7;
  --line:rgba(255,255,255,.10);
  --accent:#6ee7ff;
  --accent2:#b9ffda;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans", Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: radial-gradient(1200px 700px at 15% 10%, rgba(110,231,255,.10), transparent 55%),
              radial-gradient(1100px 700px at 80% 30%, rgba(185,255,218,.08), transparent 50%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
.container{max-width:1100px; margin:0 auto; padding:0 18px}

.header{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,.55);
  border-bottom:1px solid var(--line);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}

.brand{display:flex; align-items:center; gap:10px}
.brand__mark{
  width:34px; height:34px; border-radius:12px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(110,231,255,.95), rgba(185,255,218,.9));
  color:#0b0f14;
  font-weight:900;
}
.brand__name{font-weight:800; letter-spacing:.2px}
.brand--footer .brand__mark{width:28px; height:28px; border-radius:10px}

.nav{display:flex; align-items:center; gap:12px}
.nav__toggle{
  display:none;
  background:transparent; border:1px solid var(--line);
  color:var(--text); padding:8px 10px; border-radius:12px;
}
.nav__menu{display:flex; gap:14px; align-items:center}
.nav__menu a{color:var(--muted)}
.nav__menu a:hover{color:var(--text)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(110,231,255,.35);
  background: linear-gradient(135deg, rgba(110,231,255,.18), rgba(185,255,218,.10));
  box-shadow: var(--shadow);
  font-weight:700;
}
.btn:hover{transform: translateY(-1px)}
.btn--ghost{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  box-shadow:none;
}
.btn--sm{padding:9px 12px; border-radius:12px; font-weight:700}

.badge{
  display:inline-flex;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  color:var(--muted);
  background: rgba(255,255,255,.03);
  margin:0 0 14px 0;
}

.hero{padding:54px 0 26px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:26px;
  align-items:center;
}
.hero__content h1{font-size:40px; line-height:1.12; margin:0 0 12px}
.lead{color:var(--muted); font-size:16px; margin:0 0 18px}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap}
.hero__meta{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:10px; margin-top:18px;
}
.metaCard{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:12px;
}
.metaCard__title{font-weight:800; font-size:13px}
.metaCard__text{color:var(--muted); font-size:13px; margin-top:4px}

.hero__visual{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border-radius: var(--radius);
  padding:16px;
}
.mock{
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  overflow:hidden;
  background: rgba(0,0,0,.18);
}
.mock__top{height:46px; background: rgba(255,255,255,.04)}
.mock__body{padding:14px}
.mock__line{
  height:10px; border-radius:999px;
  background: rgba(255,255,255,.08);
  margin:10px 0;
}
.w80{width:80%} .w65{width:65%} .w90{width:90%}
.mock__cards{display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin-top:12px}
.mock__card{height:70px; border-radius:14px; background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08)}

.section{padding:20px 0}
.section--alt{background: rgba(255,255,255,.02); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.section__head{margin-bottom:12px}
.section__head h2, .section__head h1{margin:0 0 8px}
.muted{color:var(--muted)}
.tiny{font-size:12px; color:var(--muted)}

.grid{display:grid; gap:14px}
.cards{grid-template-columns: repeat(3, 1fr)}
.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:16px;
}
.card h3{margin:0 0 8px}
.card h2{margin:0 0 8px; font-size:20px}
.card--cta{
  background: linear-gradient(135deg, rgba(110,231,255,.12), rgba(185,255,218,.08));
  border:1px solid rgba(110,231,255,.25);
  display:flex; flex-direction:column; gap:10px;
  justify-content:space-between;
}
.list{margin:10px 0 0 18px; color:var(--muted)}
.list li{margin:6px 0}
.link{display:inline-block; margin-top:12px; color:var(--accent)}
.link:hover{opacity:.9}

.twoCol{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:16px;
  align-items:start;
}
.panel{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:16px;
}

.pillRow{display:flex; flex-wrap:wrap; gap:8px; margin-top:14px}
.pill{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  padding:7px 10px;
  border-radius:999px;
  color:var(--muted);
  font-size:13px;
}

.infoCards{grid-template-columns: repeat(3, 1fr)}
.infoCard{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:16px;
}
.infoCard__title{font-weight:800; margin-bottom:6px}

.ctaBar{
  margin-top:18px;
  border:1px solid rgba(110,231,255,.25);
  background: linear-gradient(135deg, rgba(110,231,255,.10), rgba(185,255,218,.06));
  border-radius: var(--radius);
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.ctaBar--stack{flex-direction:column; align-items:flex-start}

.template{
  margin:12px 0 0;
  padding:12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.18);
  color: var(--text);
  overflow:auto;
}

.formBox{
  border:1px dashed rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding:14px;
  background: rgba(0,0,0,.12);
}

.footer{
  padding:22px 0 34px;
  border-top:1px solid var(--line);
  background: rgba(0,0,0,.15);
}
.footer__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
}
.footer__links{display:flex; gap:14px}
.footer__links a{color:var(--muted)}
.footer__links a:hover{color:var(--text)}

/* Responsive */
@media (max-width: 980px){
  .cards{grid-template-columns: repeat(2, 1fr)}
  .hero__grid{grid-template-columns: 1fr}
  .hero__content h1{font-size:34px}
  .hero__meta{grid-template-columns: 1fr}
  .twoCol{grid-template-columns: 1fr}
  .infoCards{grid-template-columns: 1fr}
}
@media (max-width: 560px){
  .cards{grid-template-columns: 1fr}
  .nav__toggle{display:inline-flex}
  .nav__menu{
    display:none;
    position:absolute;
    right:18px; top:60px;
    background: rgba(11,15,20,.96);
    border:1px solid var(--line);
    border-radius: 16px;
    padding:12px;
    flex-direction:column;
    align-items:stretch;
    min-width: 180px;
  }
  .nav__menu.is-open{display:flex}
}
.detailGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
  margin-top:14px;
}
@media (max-width: 980px){
  .detailGrid{grid-template-columns: 1fr;}
}
.productPage{
  margin: 18px 0 34px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
}

.productHero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:stretch;
  margin-bottom:16px;
}

.kpiRow{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin: 14px 0 12px;
}

.kpi{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding:12px;
}
.kpi__k{font-size:12px; color:var(--muted); font-weight:700}
.kpi__v{margin-top:6px; font-size:14px; font-weight:800}

.heroBtns{display:flex; gap:10px; flex-wrap:wrap}

.productImagePlaceholder{
  border:1px dashed rgba(255,255,255,.22);
  border-radius: var(--radius);
  background: rgba(0,0,0,.18);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-height: 260px;
}
.ph__title{font-weight:900}
.ph__sub{color:var(--muted); font-size:13px; margin-top:6px}

.productSections{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}

@media (max-width: 980px){
  .productHero{grid-template-columns: 1fr}
  .kpiRow{grid-template-columns: 1fr}
  .productSections{grid-template-columns: 1fr}
}
.productImg{
  width:100%;
  height: 320px;       /* 메인에선 높이 고정 */
  border-radius:16px;
  object-fit: contain;  /* ✅ cover → contain 으로 */
  background: rgba(255,255,255,.03);
}
.heroBtns{display:flex; gap:10px; flex-wrap:wrap}
.kpiRow{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:14px;
}
/* ===== Main redesign: compact hero ===== */
.hero--compact{ padding-top: 28px; padding-bottom: 18px; }
.hero__grid--compact{ align-items: center; }
.heroTitle{ font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; margin: 10px 0 10px; }
.heroLead{ max-width: 54ch; margin-bottom: 12px; }

.trustRow{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}
.trustDot{ opacity:.6; }

.hero__visual--compact{
  display:flex;
  justify-content:center;
  align-items:center;
}

.heroImg{
  width:100%;
  max-width: 520px;
  height: 300px;
  border-radius: 18px;
  object-fit: contain;   /* 안 잘리게 */
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
}

.heroImgFallback{
  width:100%;
  max-width: 520px;
  height: 300px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.25);
  background: rgba(255,255,255,.02);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
}

.section{ padding:28px 0; }
.sectionHead{ margin-bottom: 14px; }
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.sectionCta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top: 10px;
}

/* Product grid & card for compact B2B listing */
.productGrid{display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap:12px;}
.productCard{ border:1px solid var(--line); background: rgba(255,255,255,.03); border-radius:14px; overflow:hidden; display:flex; flex-direction:column; padding:0; }
.productCard__media img{ width:100%; height:180px; object-fit:cover; background: rgba(255,255,255,.02); display:block }
.productCard__body{ padding:10px; display:flex; flex-direction:column; gap:6px; flex:1 }
.productCard h3{ margin:0; font-size:18px }
.productCard .muted{ margin:0 }
.productCard .link{ margin-top:auto; font-weight:700; color:var(--accent) }

/* Hero portal image sizing: single definition is below to avoid conflicts */

/* Stronger primary button for wholesale */
.btn--primary{ background: linear-gradient(135deg, rgba(110,231,255,.95), rgba(185,255,218,.9)); color:#072127; border: none; box-shadow: none; }

@media (max-width: 980px){
  .productCard__media img{ height:160px }
}

/* MOQ and export info styles for catalog */
.moq-section{ margin-top:18px }
.moq-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:12px; margin-top:10px }
.moq-item{ border:1px solid var(--line); background: rgba(255,255,255,.02); padding:12px; border-radius:12px }
.moq-item__sku{ font-weight:800 }
.moq-item__info{ color:var(--muted); margin-top:6px }

.export-info{ margin-top:14px }
.export-info .panel{ padding:12px }

.inquiry-cta{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:18px; padding:16px; border-radius:14px; border:1px solid rgba(110,231,255,.12); background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(110,231,255,.02)); }
@media (max-width: 760px){ .inquiry-cta{ flex-direction:column; align-items:stretch } }


@media (max-width: 980px){
  .grid3{ grid-template-columns: 1fr; }
  .heroImg, .heroImgFallback{ height: 240px; }
}
/* ===== HERO Center Impact ===== */
.hero--center{
  padding-top: 34px;
  padding-bottom: 26px;
}
.heroCenter{
  text-align: center;
  max-width: 980px;
}
.heroTitle--center{
  margin-left: auto;
  margin-right: auto;
}
.heroLead--center{
  margin-left: auto;
  margin-right: auto;
  max-width: 62ch;
}

.heroVisualWrap{
  margin-top: 10px;
  margin-bottom: 6px;
  display:flex;
  justify-content:center;
}

.heroImg--center{
  width: 100%;
  max-width: 1200px;   /* 더 넓게 */
  height: 520px;       /* 크게 */
  border-radius: 22px;
  object-fit: cover;   /* 꽉 채움 (중요) */
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.heroImgFallback--center{
  width: min(920px, 100%);
  height: 420px;
  border-radius: 22px;
  border: 1px dashed rgba(255,255,255,.22);
  background: rgba(255,255,255,.02);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
}

.heroBtns--center{
  justify-content: center;
}

.trustRow--center{
  justify-content: center;
}
@media (max-width: 980px){
  .heroImg--center, .heroImgFallback--center{ height: 280px; }
}
/* Logo image in header */
.brand__logo{
  height: 100px;
  width: auto;
}

/* Hide old text mark/name if still present somewhere */
.brand__mark, .brand__name{
  display: none;
}
/* ===== B2B Polish Pack (append-only) ===== */

/* Nav active + mobile menu */
.nav__menu a.is-active {
  opacity: 1;
  font-weight: 700;
  text-decoration: none;
  position: relative;
}
.nav__menu a.is-active::after{
  content:"";
  position:absolute;
  left:10px; right:10px; bottom:-6px;
  height:2px;
  background: linear-gradient(90deg, rgba(80,200,255,.0), rgba(80,200,255,.9), rgba(120,255,200,.9), rgba(120,255,200,.0));
  border-radius: 99px;
}

.nav__menu { display:flex; gap:14px; align-items:center; }
.nav__menu.is-open { display:flex; }

@media (max-width: 860px){
  .nav__toggle{ display:inline-flex; }
  .nav__menu{
    display:none;
    position:absolute;
    right:18px; top:64px;
    flex-direction:column;
    background: rgba(10,14,20,.92);
    border:1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding:12px;
    min-width: 220px;
    backdrop-filter: blur(10px);
  }
  .nav__menu.is-open{ display:flex; }
}

/* Hero: more B2B impact without layout rewrite */
.hero--center{
  position: relative;
  overflow: hidden;
}
.hero--center::before{
  content:"";
  position:absolute; inset:-200px -200px auto -200px;
  height:520px;
  background:
    radial-gradient(400px 220px at 20% 40%, rgba(90,170,255,.20), transparent 70%),
    radial-gradient(420px 240px at 75% 35%, rgba(120,255,200,.16), transparent 70%);
  pointer-events:none;
}
.heroCenter{ position:relative; z-index:1; }

.heroTitle--center{
  letter-spacing: -0.3px;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.heroLead--center{
  max-width: 720px;
  margin-left:auto;
  margin-right:auto;
}

/* Hero visual frame */
.heroVisualWrap{
  margin-top:18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.heroImg--center{
  width:100%;
  max-height:420px;
  object-fit: cover;
}
.heroImgFallback--center{
  width:100%;
  min-height:280px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
  color: rgba(255,255,255,.70);
}

/* Featured cards look more “buyer-ready” */
.grid3 .card{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 16px;
  transition: transform .12s ease, background .12s ease;
}
.grid3 .card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
}
.grid3 .card h3{ margin-top:0; margin-bottom:8px; }
.grid3 .card .link{ font-weight:700; }

/* Stronger CTA bar */
.ctaBar{
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(90,170,255,.10), rgba(120,255,200,.08));
  border-radius: 18px;
}

/* Buttons: make primary pop (if your .btn exists) */
.btn{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.btn:hover{ background: rgba(255,255,255,.08); }
.btn--ghost{ background: transparent; }
/* ===== Portal Style Add-on ===== */
.srOnly{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

/* Top utility bar */
.hero--portal .heroPortal{padding:12px 0 8px}
.heroPortal__head{text-align:center}
.heroPortal__banner{
  margin-top:12px;
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  height:360px;          /* fixed banner height */
  display:flex;          /* ensure image can stretch */
  align-items:center;
  justify-content:center;
}
.heroPortal__img{
  width:100%;
  height:100%;
  object-fit:cover;   /* fill the banner fully, cropping if needed */
  display:block;
}
.heroPortal__strip{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:12px 14px;
  background: rgba(10, 35, 70, .85);
  border-top: 1px solid rgba(255,255,255,.12);
  font-weight:700;
  font-size:13px;
}
.heroPortal__cta{
  margin-top:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
.heroPortal__meta{
  width:100%;
  text-align:center;
  font-size:12px;
  color: rgba(255,255,255,.65);
}

/* Portal grid (like reference) */
.portalGrid{
  margin-top:8px;
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap:8px;        /* tighter grid spacing */
  align-items:start;
}
.portalGrid__main{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.portalGrid__side{display:grid;gap:12px}

.portalCard{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius:16px;
  overflow:hidden;
}
.portalCard__media img{width:100%;height:160px;object-fit:cover}
.portalCard__body{padding:14px}
.portalCard__body h3{margin:0 0 8px}
.portalCard__body p{margin:0 0 8px}
.portalCard--big .portalCard__media img{height:180px}

.sideBox{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius:16px;
  padding:10px;
  margin-bottom:8px;
}
.sideBox__title{font-weight:800;margin-bottom:8px}
.sideLink{
  display:block;
  padding:8px 0;
  border-top:1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
}
.sideLink:first-of-type{border-top:none}
.miniSKU__name{font-weight:800}
.miniSKU__desc{color:rgba(255,255,255,.68);font-size:12px;line-height:1.5;margin:6px 0}

/* Responsive */
@media (max-width: 980px){
  .portalGrid{grid-template-columns:1fr}
  .portalGrid__main{grid-template-columns:1fr}
  .heroPortal__img{height:280px}
}

/* ===== Layout fixes: hero + featured ===== */
.hero--portal-centered .heroPortal__head{
  text-align:center;
  max-width:780px;
  margin:0 auto;
}
.hero--portal-centered .heroTitle,
.hero--portal-centered .heroLead{
  margin-left:auto;
  margin-right:auto;
}
.hero--portal-centered .heroLead{
  max-width:64ch;
}
.heroPortal__banner{
  width:100%;
  height:auto;
  aspect-ratio: 16 / 7;
  min-height:240px;
  max-height:420px;
}
.heroPortal__img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.section--featured{
  padding-top:16px;
  padding-bottom:16px;
}
.section--featured .sectionHead{
  margin-bottom:8px;
}
.section--featured .portalGrid{
  margin-top:4px;
  gap:12px;
}
.section--featured .sectionCta{
  margin-top:8px;
}

.portalGrid__main{
  display:block;
}
.productGrid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
  align-items:stretch;
}
.productCard{
  height:100%;
}
.productCard__media{
  aspect-ratio: 16 / 10;
}
.productCard__media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.productCard__body{
  display:grid;
  grid-template-rows:auto 1fr auto auto;
}
.productCard .link{
  margin-top:0;
}

@media (max-width: 980px){
  .heroPortal__banner{
    aspect-ratio: 16 / 9;
    min-height:200px;
  }
  .productGrid{
    grid-template-columns:1fr;
  }
}

/* Products page: make all product photos use the same frame size */
#products .productCard__media{
  aspect-ratio: 1 / 1;
  background: #ffffff;
}
#products .productCard__media img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 14px;
  background: #ffffff;
}

/* Hero CTA readability fix */
.heroPortal__cta .btn{
  min-height: 50px;
  font-weight: 800;
}
.heroPortal__cta .btn--primary{
  color: #06232b;
  background: linear-gradient(135deg, #42ddff, #7dffd0);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.heroPortal__cta .btn--ghost{
  color: #f3f7ff;
  background: rgba(12,18,28,.78);
  border: 1px solid rgba(255,255,255,.32);
}

/* Featured section: cleaner proportions + readable CTA */
.section--featured .portalGrid{
  grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr);
  gap: 14px;
  align-items: start;
}
.section--featured .portalGrid__main{
  display: block;
}
.section--featured .portalGrid__main .productGrid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.section--featured .productCard{
  height: auto;
}
.section--featured .productCard__media{
  aspect-ratio: 4 / 3;
}
.section--featured .productCard__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section--featured .portalGrid__side{
  display: grid;
  grid-template-rows: auto;
  gap: 10px;
  height: auto;
}
.section--featured .sideBox{
  margin-bottom: 0;
  padding: 12px;
  display: block;
}

.section--featured .sideBox--cta .btn{
  width: 100%;
  justify-content: center;
  font-weight: 800;
}
.section--featured .sideBox--cta .btn--primary{
  color: #06232b;
  background: linear-gradient(135deg, #43ddff, #7effd1);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 20px rgba(0,0,0,.28);
}
.section--featured .featuredWideCta{
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section--featured .featuredWideCta .muted{ margin: 0; }
.section--featured .featuredWideCta .btn{
  width: auto;
  max-width: 320px;
}
@media (max-width: 980px){
  .section--featured .featuredWideCta{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 980px){
  .section--featured .portalGrid{
    grid-template-columns: 1fr;
  }
  .section--featured .portalGrid__side{
    grid-template-rows: auto;
    height: auto;
  }
  .section--featured .portalGrid__main .productGrid{
    grid-template-columns: 1fr;
  }
}

/* About page: top hero banner */
.aboutHeroBanner{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  margin-bottom: 18px;
  min-height: 360px;
}
.aboutHeroBanner__img{
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 520px;
  object-fit: cover;
  display: block;
}
.aboutHeroBanner__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.42));
}
.aboutHeroBanner__content{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
}
.aboutHeroBanner__content h2{
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 900;
}
.aboutHeroBanner__content p{
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(16px, 2vw, 24px);
  max-width: 760px;
  line-height: 1.4;
}

@media (max-width: 980px){
  .aboutHeroBanner,
  .aboutHeroBanner__img{
    min-height: 260px;
  }
}

/* Wholesale page: shipping banner */
.wholesaleHeroBanner{
  margin: 10px 0 16px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
}
.wholesaleHeroBanner__img{
  width: 100%;
  aspect-ratio: 16 / 6;
  min-height: 220px;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 980px){
  .wholesaleHeroBanner__img{
    aspect-ratio: 16 / 8;
    min-height: 180px;
  }
}

/* Products page button contrast fix */
#products .productCard .btn--sm{
  color: #f4f8ff;
  background: rgba(18,24,34,.88);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: none;
}
#products .productCard .btn--sm:hover{
  background: rgba(26,34,46,.96);
}

#products .inquiry-cta .btn--primary{
  color: #06232b;
  background: linear-gradient(135deg, #46e0ff, #82ffd4);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
}
#products .inquiry-cta .btn--ghost{
  color: #f3f7ff;
  background: rgba(12,18,28,.8);
  border: 1px solid rgba(255,255,255,.26);
}

/* Contact page readability */
.contactPage .btn{
  color: #eef5ff;
}
.contactPage .btn--sm,
.contactPage .formBox .btn--ghost{
  color: #f3f8ff;
  background: rgba(17,24,35,.9);
  border: 1px solid rgba(255,255,255,.24);
}
.contactPage .btn--sm:hover,
.contactPage .formBox .btn--ghost:hover{
  background: rgba(26,35,48,.96);
}
.contactPage .ctaBar .btn:first-of-type{
  color: #06232b;
  background: linear-gradient(135deg, #46e0ff, #82ffd4);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
}
.contactLink{
  color: #8be8ff;
}
.contactLink:hover{
  color: #b3f2ff;
}

.contactHeroMini{
  margin: 12px 0 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.contactHeroMini__img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.contactPage .twoCol{
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

@media (max-width: 980px){
  .contactPage .twoCol{
    grid-template-columns: 1fr;
  }
  .contactHeroMini__img{
    height: 150px;
  }
}
