/* Blinds Express - homepage redesign. Everything is scoped to .bx so the old template CSS is untouched. */

.bx{
  --blue:#6c8cff; --blue-d:#6c8cff; --ink:#6c8cff; --muted:#5b6784;
  --line:#d8e0f0; --soft:#f3f6fc; --amber:#f28a1f;
  font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  color:var(--ink); font-size:16px; line-height:1.5; box-sizing:border-box;
}
.bx *,.bx *::before,.bx *::after{box-sizing:border-box}
.bx h1,.bx h2,.bx h3,.bx h4,.bx p,.bx ul,.bx li{margin:0;padding:0;list-style:none}
/* The old template styles h1-h6 (uppercase, justified, own font). Force our own typography. */
.bx h1,.bx h2,.bx h3,.bx h4,.bx p,.bx li,.bx summary,.bx strong,.bx span{
  font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif!important;
  text-transform:none!important;text-align:left;text-justify:auto!important;
  word-spacing:normal!important;hyphens:none!important;font-style:normal;
}
.bx h1,.bx h2,.bx h3,.bx h4{letter-spacing:-.01em!important;font-weight:800!important}
.bx .bx-hero__script{font-family:'Caveat',cursive!important;text-align:right}
.bx .bx-trust li,.bx .bx-trust strong,.bx .bx-trust span{text-align:center}
.bx .bx-hero h1{font-size:clamp(32px,4.2vw,48px)!important;line-height:1.12!important;letter-spacing:-.02em!important;color:var(--blue)!important;margin:0!important}
.bx a{text-decoration:none;}
.bx img{display:block;max-width:100%}
.bx a:focus-visible,.bx button:focus-visible,.bx summary:focus-visible,.bx input:focus-visible{outline:3px solid var(--amber);outline-offset:2px}
.bx-wrap{width:100%;max-width:1240px;margin:0 auto;padding:0 24px}

/* icons */
.bx-i{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bx-i--xs{width:12px;height:12px}.bx-i--sm{width:15px;height:15px}
.bx-i--lg{width:34px;height:34px;stroke-width:1.5}.bx-i--xl{width:44px;height:44px;stroke-width:1.4}
.bx-i--fill{fill:currentColor;stroke:none}

/* buttons / links */
.bx-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 24px;border-radius:6px;
  font-weight:700;font-size:16px;line-height:1.2;border:2px solid var(--blue);transition:background .2s,color .2s}
.bx-btn--primary{background:var(--blue);color:#fff}
.bx-btn--primary:hover{background:var(--blue-d);border-color:var(--blue-d);color:#fff}
.bx-btn--outline{background:#fff;color:var(--blue);text-align:left;font-size:15px}
.bx-btn--outline:hover{background:var(--soft);color:var(--blue)}
.bx-btn--sm{min-height:38px;padding:8px 12px;width:100%;background:#fff;color:var(--blue);font-size:14px;border-width:1.5px}
.bx-btn--sm:hover{background:var(--blue);color:#fff}
.bx-link{display:inline-flex;align-items:center;gap:8px;color:var(--blue);font-weight:700}
.bx-link:hover{text-decoration:underline}
.bx-link--sm{font-size:14px}

/* ---------- header ---------- */
.bx-header{background-color:#f3f6fc;border-bottom:1px solid var(--line);position:relative;z-index:50}
.bx-header__in{display:flex;align-items:center;gap:28px;min-height:76px}
.bx-logo img{height:46px;width:auto}
.bx-nav{margin-left:auto}
.bx-nav__list{display:flex;gap:26px;align-items:center}
.bx-nav__item{position:relative}
.bx-nav__item>a{display:inline-flex;align-items:center;gap:5px;font-size:14px;font-weight:600;padding:26px 0;color:var(--ink)}
.bx-nav__item>a:hover{color:var(--blue)}
.bx-sub{position:absolute;top:100%;left:-16px;min-width:220px;background:#fff;border:1px solid var(--line);border-radius:8px;
  box-shadow:0 10px 30px rgba(20,33,61,.12);padding:8px 0;display:none}
.bx-has-sub:hover>.bx-sub,.bx-has-sub:focus-within>.bx-sub{display:block}
.bx-sub a{display:block;padding:9px 18px;font-size:14px;font-weight:500}
.bx-sub a:hover{background:var(--soft);color:var(--blue)}
.bx-tools{display:flex;align-items:center;gap:6px}
.bx-search{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;height:40px;width:250px;background:#fff}
.bx-search input{flex:1;min-width:0;border:0;background:transparent;padding:0 12px;font:inherit;font-size:12px;color:var(--ink);height:100%}
.bx-search input::placeholder{color:#8a94ab}
.bx-search button{border:0;background:none;color:var(--blue);padding:0 12px;height:100%;cursor:pointer}
.bx-iconbtn{position:relative;display:grid;place-items:center;width:42px;height:42px;color:var(--blue)}
.bx-cart__n{position:absolute;top:0;right:-2px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--blue);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center}
.bx-burger{display:none;margin-left:auto;width:44px;height:44px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer;
  flex-direction:column;justify-content:center;align-items:center;gap:5px}
.bx-burger span{width:20px;height:2px;background:var(--ink)}

/* ---------- hero ---------- */
.bx-hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#f7f9fe,#eef3fb)}
.bx-hero::before{content:"";position:absolute;top:0;right:0;bottom:0;width:62%;background:var(--hero,none) center/cover no-repeat;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 38%);mask-image:linear-gradient(90deg,transparent 0,#000 38%)}
.bx-hero .bx-wrap{position:relative}
.bx-hero__copy{max-width:600px;padding:64px 0 40px}
.bx-hero h1{font-size:clamp(32px,4.2vw,48px);line-height:1.12;font-weight:800;color:var(--blue);letter-spacing:-.02em}
.bx-hero__copy p{margin-top:22px;font-size:18px;line-height:1.55;max-width:500px;color:#27324f}
.bx-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:30px}
.bx-hero__script{position:absolute;right:24px;bottom:70px;font-family:'Caveat',cursive;font-weight:600;font-size:34px;line-height:1.05;color:#6c8cff
;
.bx-hero__script{position:absolute;right:24px;bottom:150px;z-index:2;padding:30px 54px;font-family:'Caveat',cursive;font-weight:600;font-size:34px;line-height:1.05;color:#6c8cff;text-align:right;text-shadow:none;transform:rotate(-6deg)}
  text-align:right;text-shadow:0 2px 12px rgba(0,0,0,.35);transform:rotate(-6deg)}
.bx-perks{display:grid;grid-template-columns:repeat(4,1fr);margin-top:8px;padding:22px 0 30px;background-color:#d8e0f0;}
.bx-perks li{display:flex;gap:14px;align-items:center;padding:0 22px;border-left:1px solid var(--line);color:var(--blue)}
.bx-perks li:first-child{padding-left:0;border-left:0}
.bx-perks div{display:flex;flex-direction:column;color:var(--ink)}
.bx-perks strong{font-size:14px;line-height:1.25}
.bx-perks span{font-size:12px;color:var(--muted);line-height:1.3;margin-top:2px}

/* ---------- sections ---------- */
.bx-section{padding:48px 0}
.bx-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:26px}
.bx-head h2,.bx-help h2{font-size:clamp(26px,3vw,32px);line-height:1.15;font-weight:800;color:var(--blue);letter-spacing:-.01em}
.bx-head p,.bx-help__lead{margin-top:8px;color:var(--muted);font-size:15px}

/* product cards */
.bx-products{display:grid;grid-template-columns:repeat(7,1fr);gap:12px}
.bx-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden}
.bx-card.is-popular{border:2px solid var(--amber)}
.bx-badge{position:absolute;top:0;left:0;z-index:1;background:var(--amber);color:#fff;font-size:12px;font-weight:700;padding:3px 10px;border-radius:0 0 6px 0}
.bx-card__img{display:block;aspect-ratio:5/6;background:var(--soft);overflow:hidden}
.bx-card__img img{width:100%;height:100%;object-fit:cover}
.bx-card__body{display:flex;flex-direction:column;flex:1;padding:12px 10px 12px}
.bx-card h3{font-size:14px;line-height:1.25;font-weight:800;color:var(--blue-d)}
.bx-card ul{margin:6px 0 12px;flex:1}
.bx-card li{font-size:11.5px;line-height:1.4;color:var(--muted)}

/* gallery */
.bx-gallery{position:relative;background:#1b1a18 var(--hero,none) center/cover no-repeat;color:#fff;isolation:isolate}
.bx-gallery::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,16,14,.92) 0,rgba(18,16,14,.75) 40%,rgba(18,16,14,.55));z-index:-1}
.bx-gallery__in{display:grid;grid-template-columns:minmax(260px,1fr) 2.2fr;gap:28px;align-items:center;padding-top:36px;padding-bottom:36px}
.bx-gallery h2{font-size:clamp(34px,4.4vw,52px);line-height:1.08;font-weight:800;letter-spacing:-.02em;color:#fff}
.bx-gallery__copy p{margin:18px 0 26px;font-size:17px;max-width:300px;color:#eceff6}
.bx-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bx-tile,.bx-guide__thumb{position:relative;display:block;overflow:hidden;background:#33384a}
.bx-tile{aspect-ratio:16/9;border-radius:4px}
.bx-tile img,.bx-guide__thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.bx-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.65),transparent 55%)}
.bx-play{position:absolute;top:50%;left:50%;z-index:2;width:48px;height:48px;margin:-24px 0 0 -24px;border-radius:50%;background:rgba(20,33,61,.82);
  border:2px solid #fff;color:#fff;display:grid;place-items:center;transition:transform .2s,background .2s}
.bx-play .bx-i{width:20px;height:20px;margin-left:2px}
.bx-tile:hover .bx-play,.bx-guide__thumb:hover .bx-play{transform:scale(1.1);background:var(--blue)}
.bx-tile__label{position:absolute;left:16px;bottom:12px;z-index:2;display:inline-flex;align-items:center;gap:8px;font-size:19px;font-weight:700}

/* help + faq */
.bx-help{padding-top:44px}
.bx-help__in{display:grid;grid-template-columns:1fr 330px;gap:36px;align-items:start}
.bx-guides{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:22px}
.bx-guide__thumb{aspect-ratio:4/3;border-radius:6px;margin-bottom:10px}
.bx-guide h3{font-size:15px;font-weight:800;color:var(--blue-d)}
.bx-guide p{font-size:12.5px;color:var(--muted);margin:2px 0 8px}
.bx-faq{background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:18px 20px}
.bx-faq h3{font-size:16px;font-weight:800;color:var(--blue-d);margin-bottom:6px}
.bx-faq details{border-bottom:1px solid var(--line)}
.bx-faq summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:12px 0;font-size:13.5px;color:#27324f}
.bx-faq summary::-webkit-details-marker{display:none}
.bx-faq summary .bx-i{color:var(--blue);transition:transform .2s}
.bx-faq details[open] summary .bx-i{transform:rotate(45deg)}
.bx-faq details p{padding:0 0 12px;font-size:13px;color:var(--muted)}
.bx-faq>.bx-link{margin-top:14px}

/* trust strip */
.bx-trust{border-top:1px solid var(--line);background:#fff}
.bx-trust ul{display:grid;grid-template-columns:repeat(4,1fr);padding-top:26px;padding-bottom:26px}
.bx-trust li{display:flex;flex-direction:column;align-items:center;text-align:center;color:var(--blue);padding:0 16px;border-left:1px solid var(--line)}
.bx-trust li:first-child{border-left:0}
.bx-trust strong{margin-top:8px;font-size:16px;color:var(--blue-d)}
.bx-trust span{font-size:13px;color:var(--muted)}

/* ---------- responsive ---------- */
@media (max-width:1180px){
  .bx-products{grid-template-columns:repeat(4,1fr)}
  .bx-search{width:190px}
  .bx-nav__list{gap:18px}
}
@media (max-width:960px){
  .bx-burger{display:flex}
  .bx-header__in{flex-wrap:wrap;gap:12px;padding-top:12px;padding-bottom:12px}
  .bx-nav{display:none;order:5;width:100%;margin:0}
  .bx-nav.is-open{display:block}
  .bx-nav__list{flex-direction:column;align-items:stretch;gap:0;border-top:1px solid var(--line)}
  .bx-nav__item>a{padding:14px 0;width:100%;justify-content:space-between}
  .bx-sub{position:static;display:block;border:0;box-shadow:none;padding:0 0 8px 12px;min-width:0}
  .bx-tools{order:4;width:100%}
  .bx-search{flex:1;width:auto}
  .bx-hero::before{width:100%;opacity:.22;-webkit-mask-image:none;mask-image:none}
  .bx-hero__script{display:none}
  .bx-perks{grid-template-columns:1fr 1fr;gap:18px 0}
  .bx-perks li:nth-child(3){padding-left:0;border-left:0}
  .bx-gallery__in{grid-template-columns:1fr}
  .bx-help__in{grid-template-columns:1fr}
  .bx-guides{grid-template-columns:repeat(2,1fr)}
  .bx-trust ul{grid-template-columns:1fr 1fr;gap:22px 0}
  .bx-trust li:nth-child(3){border-left:0}
}
@media (max-width:620px){
  .bx-wrap{padding:0 16px}
  .bx-head{flex-direction:column;align-items:flex-start}
  .bx-products{grid-template-columns:repeat(2,1fr)}
  .bx-actions .bx-btn{width:100%}
  .bx-tiles{grid-template-columns:1fr}
  .bx-tile__label{font-size:17px}
  .bx-perks{grid-template-columns:1fr}
  .bx-perks li{padding:0;border-left:0}
}
@media (prefers-reduced-motion:reduce){.bx *{transition:none!important}}