/* v2.3 refresh + spacing + premium card polish */

html,body{
  overflow-x:hidden!important;
}

/* ---------------- HERO IMAGE LOAD / REFRESH FIX ---------------- */
.hero-slider-shell{
  background:linear-gradient(135deg,#fff9ea 0%, #fff2c8 58%, #ffd986 100%)!important;
}
.hero-media{
  background-color:transparent;
}


/* Hide temporary alt/placeholder text while the image is loading */
.hero-media img,
.hero-slide img,
.hero-slide picture img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  color:transparent!important;
  font-size:0!important;
  line-height:0!important;
  text-indent:-9999px!important;
  opacity:1!important;
}

/* ---------------- HERO TITLE BALANCE ---------------- */
.hero-copy h1{
  line-height:.98!important;
  letter-spacing:-.045em!important;
  word-spacing:.015em!important;
  gap:10px!important;
  margin:18px 0 20px!important;
  max-width:12ch!important;
}
.hero-copy h1 > span:first-child{
  display:block!important;
}
.hero-copy h1 > span:nth-child(2){
  display:block!important;
  margin-top:2px!important;
}
.hero-copy h1 > span:nth-child(3){
  display:block!important;
  margin-top:4px!important;
}
.hero-copy h1 > span:nth-child(3) em{
  display:inline-block!important;
  margin-left:.08em!important;
}
.hero-copy p{
  max-width:670px!important;
}

/* ---------------- WHY CHOOSE SOLA SPACING ---------------- */
.why-section.refined{
  padding-top:110px!important;
  padding-bottom:110px!important;
  background:linear-gradient(180deg,#ffffff 0%, #fffef9 100%)!important;
}
.why-layout{
  gap:54px!important;
}
.why-copy-wrap{
  padding:18px 0 14px!important;
}
.why-copy-wrap h2{
  margin:0 0 18px!important;
}
.why-copy-wrap > p{
  margin:0 0 34px!important;
  max-width:760px!important;
}
.why-list{
  gap:22px!important;
}
.story-btn{
  margin-top:30px!important;
}

/* ---------------- YELLOW MESSAGE CARD POLISH ---------------- */
.promo-message-card{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.34)!important;
  background:linear-gradient(135deg,#f7c41f 0%, #f6b300 54%, #ffd649 100%)!important;
  box-shadow:0 30px 60px rgba(183,123,0,.18)!important;
}
.promo-message-card > *{
  position:relative;
  z-index:2;
}
.promo-message-card::before{
  content:'';
  position:absolute;
  right:-70px;
  top:-75px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:rgba(255,255,255,.16);
  z-index:1;
}
.promo-message-card::after{
  content:'';
  position:absolute;
  left:-48px;
  bottom:-68px;
  width:190px;
  height:190px;
  border-radius:50%;
  background:rgba(255,255,255,.11);
  z-index:1;
}
.promo-message-card svg{
  width:42px!important;
  height:42px!important;
  padding:10px;
  border-radius:16px;
  background:rgba(255,255,255,.22);
  box-shadow:0 12px 24px rgba(9,24,61,.08);
}
.promo-message-card h3{
  max-width:10ch!important;
  margin:20px 0 14px!important;
  line-height:.97!important;
}
.promo-message-card p{
  max-width:26ch!important;
  color:#14264f!important;
}

/* small highlight badge */
.promo-message-wrap{
  position:relative;
}
.promo-message-wrap::before{
  content:'SOLA IMPACT';
  position:absolute;
  right:24px;
  top:22px;
  z-index:3;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.24);
  border:1px solid rgba(255,255,255,.28);
  color:#102553;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
}

/* ---------------- SECTION FEEL / SMOOTHNESS ---------------- */
.brands-section,
.promo-band.refined,
.why-section.refined{
  position:relative;
}
.section{
  scroll-margin-top:100px;
}

/* mobile balance */
@media (max-width: 1200px){
  .hero-copy h1{max-width:11ch!important; font-size:clamp(70px,7vw,110px)!important;}
}
@media (max-width: 1024px){
  .why-section.refined{padding-top:90px!important;padding-bottom:90px!important;}
  .promo-message-card h3{max-width:none!important;}
  .promo-message-card p{max-width:none!important;}
}
@media (max-width: 768px){
  .hero-copy h1{
    gap:8px!important;
    letter-spacing:-.04em!important;
    max-width:none!important;
  }
  .why-section.refined{
    padding-top:70px!important;
    padding-bottom:70px!important;
  }
  .why-layout{gap:24px!important;}
  .why-copy-wrap{padding:0!important;}
  .promo-message-wrap::before{
    right:16px;
    top:16px;
    font-size:10px;
    padding:7px 10px;
  }
  .promo-message-card{
    min-height:280px!important;
  }
}

/* v2.3.1 logged-in customer label */
.customer-name{cursor:default;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}


/* v2.4 home section refinement */
.section-head p{max-width:920px;line-height:1.7;}

.brand-portfolio.refined-portfolio{align-items:stretch;gap:28px;}
.portfolio-copy.refined{display:flex;flex-direction:column;justify-content:space-between;min-height:100%;}
.portfolio-copy.refined h3{max-width:16ch;}
.portfolio-collection-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0 16px;}
.portfolio-collection-head b{font-size:13px;letter-spacing:.06em;color:#07163a;}
.portfolio-collection-head a{font-size:13px;font-weight:800;color:#d98200;}
.portfolio-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.portfolio-product-card{display:flex;align-items:center;gap:12px;padding:12px;border-radius:18px;background:#fff;border:1px solid #efd8a8;box-shadow:0 10px 18px rgba(11,23,54,.05);}
.portfolio-product-card img,.portfolio-product-placeholder{width:62px;height:62px;border-radius:14px;object-fit:contain;background:linear-gradient(135deg,#fff8df,#ffe8a8);display:grid;place-items:center;font-weight:800;color:#102553;flex:0 0 auto;}
.portfolio-product-card strong{display:block;font-size:13px;line-height:1.35;margin-bottom:4px;color:#091a45;}
.portfolio-product-card span{display:block;font-size:11px;color:#637391;}
.portfolio-image.refined{min-height:440px;}
.portfolio-image.refined img{object-fit:cover;}

.stats-grid b{color:#ffc928!important;}

.why-section.refined{padding-top:100px!important;padding-bottom:100px!important;background:linear-gradient(180deg,#fffef8 0%,#fffdf7 100%)!important;}
.why-layout{display:grid;grid-template-columns:minmax(340px,.95fr) minmax(420px,1.05fr);gap:36px;align-items:stretch;}
.why-image-wrap{border-radius:34px;overflow:hidden;min-height:680px;background:#f5f5f5;box-shadow:0 18px 40px rgba(11,23,54,.08);}
.why-image-wrap img{width:100%;height:100%;object-fit:cover;display:block;}
.why-copy-wrap{display:flex;flex-direction:column;justify-content:center;padding:8px 0;}
.why-copy-wrap h2{font-size:clamp(44px,4.5vw,72px)!important;line-height:.98!important;letter-spacing:-.055em!important;margin:10px 0 16px!important;}
.why-copy-wrap>p{max-width:760px;margin:0 0 28px!important;color:var(--muted);line-height:1.7;}
.why-list{display:grid;gap:16px;}
.why-detail-card{display:flex;align-items:flex-start;gap:16px;padding:22px 22px;border-radius:24px;background:#fff;border:1px solid #ece5d7;box-shadow:0 8px 18px rgba(11,23,54,.04);}
.why-detail-card svg{width:48px;height:48px;padding:12px;border-radius:16px;background:#fff6ea;color:#ef7b12;flex:0 0 auto;}
.why-detail-card strong{display:block;font-size:17px;margin-bottom:6px;color:#07163a;}
.why-detail-card span{display:block;font-size:14px;color:#667694;line-height:1.65;}
.why-copy-wrap .magnetic-wrap{margin-top:24px;}

.promo-section-refined{padding-top:92px;padding-bottom:92px;background:linear-gradient(180deg,#fffef4 0%,#fffbee 100%);}
.promo-refined-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:30px;align-items:stretch;}
.promo-offer-card{display:grid;grid-template-columns:minmax(280px,.92fr) minmax(320px,1.08fr);overflow:hidden;border-radius:36px;background:#fff;border:1px solid #ead9aa;min-height:520px;box-shadow:0 20px 42px rgba(11,23,54,.09);}
.promo-offer-image{min-height:100%;}
.promo-offer-image img{width:100%;height:100%;display:block;object-fit:cover;}
.promo-offer-copy{display:flex;flex-direction:column;justify-content:center;padding:38px 34px;background:linear-gradient(135deg,#fff3ca 0%,#ffd455 58%,#f7bf16 100%);color:#07163a;position:relative;overflow:hidden;}
.promo-offer-copy::before{content:'';position:absolute;right:-48px;top:-48px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.18);}
.promo-offer-copy::after{content:'';position:absolute;left:-42px;bottom:-52px;width:160px;height:160px;border-radius:50%;background:rgba(255,255,255,.12);}
.promo-offer-copy>*{position:relative;z-index:1;}
.promo-offer-copy span{display:inline-flex;align-self:flex-start;padding:11px 16px;border-radius:999px;background:rgba(255,255,255,.32);border:1px solid rgba(255,255,255,.36);font-size:12px;letter-spacing:.08em;font-weight:800;color:#132752;}
.promo-offer-copy h3{font-size:clamp(44px,4vw,66px);line-height:.96;letter-spacing:-.05em;margin:18px 0 16px;color:#07163a;max-width:10ch;}
.promo-offer-copy p{font-size:16px;line-height:1.75;max-width:30ch;color:#213861;margin:0 0 28px;}
.promo-offer-copy .magnetic-btn.primary{box-shadow:0 18px 30px rgba(173,102,0,.18);}

.impact-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;}
.impact-badges b{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.28);font-size:12px;color:#102553;}
.impact-badges svg{background:none!important;box-shadow:none!important;padding:0!important;width:15px!important;height:15px!important;border-radius:0!important;}

@media (max-width: 1180px){
  .why-layout,.promo-refined-grid{grid-template-columns:1fr;}
  .portfolio-image.refined{min-height:360px;}
  .promo-offer-card{grid-template-columns:1fr;min-height:auto;}
  .promo-offer-image{min-height:320px;}
}
@media (max-width: 860px){
  .portfolio-product-grid{grid-template-columns:1fr;}
  .why-image-wrap{min-height:440px;}
  .promo-section-refined{padding-top:70px;padding-bottom:70px;}
  .promo-offer-copy h3{max-width:none;}
}
@media (max-width: 560px){
  .portfolio-copy.refined h3{max-width:none;}
  .portfolio-collection-head{flex-direction:column;align-items:flex-start;}
  .why-copy-wrap h2{font-size:44px!important;}
  .promo-offer-copy{padding:28px 24px;}
  .promo-offer-copy h3{font-size:42px;}
  .impact-badges{gap:8px;}
  .impact-badges b{width:100%;justify-content:center;}
}
