 /* ===== beauty.css =====
   1) Small fixes so the extra "Beauty" menu item and the fifth division card fit.
   2) Styles for the Hair & Beauty Studio page.
   Load this LAST on every page. */

/* ---------- 1) Whole-site fixes ---------- */
.rose{--c:#C026D3;--t:#FDF4FF}
.g4 .fl:nth-child(5){animation-delay:-6s}
@media(min-width:1101px){.g4{grid-template-columns:repeat(5,1fr)}}
@media(min-width:901px) and (max-width:1100px){.g4{grid-template-columns:repeat(3,1fr)}}
.biz{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px}

/* Menu: words never break onto two lines; the phone menu starts sooner */
nav a,.cart,.signin{white-space:nowrap}
@media(min-width:1280px){
  nav{gap:16px}
  nav a{font-size:.82rem}
  .actions{gap:8px}
}
@media(min-width:901px) and (max-width:1279px){
  .menu{display:block}
  nav{display:none;position:absolute;top:78px;left:0;right:0;background:#fff;flex-direction:column;gap:0;border-bottom:1px solid #E3EAF3;padding:8px 24px;z-index:30}
  nav.open{display:flex}
  nav a{padding:12px 0;border-bottom:1px solid #E3EAF3}
}

/* ---------- 2) Hair & Beauty Studio page ---------- */
.bt-hero{position:relative}
.bt-herobg{position:absolute;inset:0;opacity:.28;pointer-events:none}
.bt-hero>*:not(.bt-herobg){position:relative;z-index:1}

.bt-sec{padding:26px 0 8px}
.bt-sec>h2{font-size:clamp(1.4rem,2.6vw,1.9rem);font-weight:800;color:#0B2250}
.bt-sec>.sub{margin-bottom:6px}

.bt-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:16px}
@media(max-width:1000px){.bt-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.bt-grid{grid-template-columns:repeat(2,1fr);gap:14px}}

/* How booking works */
.bt-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0 4px}
.bt-step{background:#fff;border:1px solid #E3EAF3;border-radius:12px;padding:14px 16px;display:flex;gap:12px;align-items:flex-start}
.bt-step i{flex:none;width:30px;height:30px;border-radius:50%;background:#C026D3;color:#fff;display:grid;place-items:center;font:800 .85rem Poppins,sans-serif;font-style:normal}
.bt-step b{display:block;color:#0B2250;font-size:.9rem}
.bt-step span{color:#5B6678;font-size:.8rem}
@media(max-width:760px){.bt-steps{grid-template-columns:1fr}}

/* Cards (products and services) */
.bt-card{background:#fff;border:1px solid #E3EAF3;border-radius:14px;overflow:hidden;box-shadow:0 14px 28px -22px rgba(11,34,80,.6);display:flex;flex-direction:column;opacity:0;transform:translateY(40px);transition:opacity .6s ease,transform .6s ease}
.bt-card.in{opacity:1;transform:none}
.bt-img{aspect-ratio:4/5;background:repeating-linear-gradient(45deg,#FBEFFD,#FBEFFD 12px,#FDF7FE 12px,#FDF7FE 24px);display:grid;place-items:center;color:#5B6678;font-size:.8rem;font-weight:700;text-align:center;padding:8px}
.bt-img img{width:100%;height:100%;object-fit:cover;display:block}
.bt-body{padding:14px 14px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
.bt-body h3{font-size:1rem;font-weight:700;color:#0B2250}
.bt-price{font-weight:800;color:#168A45;font-size:1.05rem}
.bt-price small{font-weight:600;color:#5B6678;font-size:.74rem;margin-right:4px}
.bt-ask{font-weight:700;color:#5B6678;font-size:.9rem}
.bt-det{display:flex;justify-content:space-between;gap:8px;font-size:.82rem;border-bottom:1px solid #E3EAF3;padding:3px 0}
.bt-det span{color:#5B6678}
.bt-det b{font-weight:700;text-align:right}
.bt-btn{display:block;width:100%;margin-top:auto;border:0;border-radius:8px;background:#168A45;color:#fff;font:700 .85rem Poppins,sans-serif;padding:12px 10px;text-align:center;cursor:pointer;transition:filter .2s,transform .2s}
.bt-btn:hover{filter:brightness(1.08);transform:translateY(-2px)}
.bt-btn.rose{background:#C026D3}
.bt-btn.line{background:#fff;color:#168A45;border:2px solid #168A45}

/* Services */
.bt-svc .bt-top{background:linear-gradient(135deg,#FDF4FF,#EAF3FF);padding:18px 16px 14px;display:flex;align-items:center;gap:12px}
.bt-svc .bt-ico{flex:none;width:46px;height:46px;border-radius:50%;background:#C026D3;color:#fff;display:grid;place-items:center;font-size:1.35rem;border:3px solid #fff}
.bt-svc .bt-top h3{font-size:1.02rem}
.bt-svc .bt-photo{aspect-ratio:16/10;overflow:hidden}
.bt-svc .bt-photo img{width:100%;height:100%;object-fit:cover;display:block}
.bt-svc p{color:#5B6678;font-size:.82rem}
.bt-opts{list-style:none;padding:0;margin:0;display:grid;gap:2px;font-size:.8rem}
.bt-opts li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dashed #E3EAF3;padding:3px 0}
.bt-opts li b{color:#168A45;white-space:nowrap}

/* Booking form */
.bt-book{margin-top:30px;background:#fff;border:1px solid #E3EAF3;border-top:4px solid #C026D3;border-radius:14px;padding:24px;box-shadow:0 14px 28px -22px rgba(11,34,80,.6)}
.bt-book h2{font-size:1.4rem;font-weight:800;color:#0B2250}
.bt-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.bt-f{display:flex;flex-direction:column;gap:5px}
.bt-f.full{grid-column:1/-1}
.bt-f label{font-weight:700;font-size:.84rem;color:#0B2250}
.bt-f input,.bt-f select,.bt-f textarea{width:100%;padding:12px;border:1px solid #D5DEEB;border-radius:8px;font:inherit;background:#fff;color:#0F172A;min-height:44px}
.bt-f textarea{min-height:90px;resize:vertical}
.bt-f input:focus,.bt-f select:focus,.bt-f textarea:focus{outline:3px solid rgba(192,38,211,.35);border-color:#C026D3}
.bt-err{color:#B91C1C;font-weight:700;min-height:1.3em;margin-top:10px}
.bt-note{font-size:.8rem;color:#5B6678;margin-top:10px}
.bt-book .bt-btn{width:auto;display:inline-block;padding:13px 26px;margin-top:6px}
@media(max-width:640px){.bt-form{grid-template-columns:1fr}.bt-book{padding:18px}.bt-book .bt-btn{width:100%}}

/* Our work gallery */
.bt-gal{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:16px}
@media(max-width:1000px){.bt-gal{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.bt-gal{grid-template-columns:repeat(2,1fr);gap:10px}}
.bt-work{position:relative;border-radius:12px;overflow:hidden;background:#FBEFFD;aspect-ratio:1/1;cursor:zoom-in;border:0;padding:0;opacity:0;transform:translateY(40px);transition:opacity .6s ease,transform .6s ease}
.bt-work.in{opacity:1;transform:none}
.bt-work img,.bt-work video{width:100%;height:100%;object-fit:cover;display:block}
.bt-work span{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(0deg,rgba(11,34,80,.85),rgba(11,34,80,0));color:#fff;font:700 .75rem Poppins,sans-serif;padding:22px 10px 8px;text-align:left}
.bt-lightbox{position:fixed;inset:0;background:rgba(11,34,80,.88);display:none;place-items:center;z-index:70;padding:20px}
.bt-lightbox.show{display:grid}
.bt-lightbox img{max-width:100%;max-height:86vh;border-radius:10px}
.bt-lightbox button{position:absolute;top:14px;right:14px;border:0;border-radius:8px;background:#fff;color:#0B2250;font:700 .85rem Poppins,sans-serif;padding:10px 16px;cursor:pointer}

/* Empty messages */
.bt-empty{grid-column:1/-1;padding:34px 20px;text-align:center;color:#5B6678;background:#fff;border:1px dashed #C026D3;border-radius:12px}
.bt-empty .bt-btn{display:inline-block;width:auto;margin-top:14px;padding:12px 22px}

@media(prefers-reduced-motion:reduce){.bt-card,.bt-work{opacity:1;transform:none;transition:none}}

/* ---------- Phone fixes: nothing cut off, top bar fits the screen ---------- */
.bt-grid>*,.bt-gal>*{min-width:0}
.bt-card,.bt-body,.bt-top{min-width:0}
.bt-body h3,.bt-top h3,.bt-svc p,.bt-opts li span{overflow-wrap:anywhere}
.bt-opts li b{white-space:normal;text-align:right}
.bt-svc .bt-top h3{min-width:0}

@media(max-width:560px){
  /* services get a full-width card so the words and prices have room */
  .bt-grid.bt-svcgrid{grid-template-columns:1fr}
  .bt-body{padding:12px}
  .bt-opts li{flex-direction:column;gap:0}
  .bt-opts li b{text-align:left}
}

/* Top bar on small phones: shorter, so the page is not pushed wider than the screen */
@media(max-width:520px){
  .wrap.bar{padding-left:10px;padding-right:10px;gap:6px}
  .logo{gap:6px;min-width:0}
  .logo i{width:34px;height:34px;font-size:1.05rem;border-radius:9px}
  .logo img{height:38px !important}
  .logo>span{font-size:.85rem}
  .actions{gap:6px}
  .cart{font-size:0;padding:8px 9px}
  .cart::before{content:"\1F6D2";font-size:1rem;margin-right:4px}
  .cart b{font-size:.75rem;margin-left:0}
  .signin{padding:9px 8px;font-size:.72rem}
  .menu{padding:8px 9px;font-size:.78rem}
}

/* ---------- Safety net: long words, names and prices wrap instead of being cut off (every page) ---------- */
.prod,.pinfo,.fcard,.fbody,.dcard,.pcard,.panel,.look{min-width:0}
.products>*,.g4>*,.g4p>*,.fgrid>*,.biz>*{min-width:0}
h1,h2,h3,p,li,.price,.fprice,.stat span,.stat b,.bt-det span,.bt-det b{overflow-wrap:break-word}
.stat,.bt-det{flex-wrap:wrap}
@media(max-width:520px){
  /* the thin strip at the very top: let the words wrap, so none are hidden */
  .tb{height:auto;min-height:34px;overflow:visible;flex-wrap:wrap;white-space:normal;gap:2px 14px;padding:6px 0;justify-content:center}
  .tb span+span{border-left:0;padding-left:0}
  /* two buttons side by side become one under the other */
  .row2{grid-template-columns:1fr}
}