/* Salon Home (Tara-inspired) — self-contained UI layer
   Drop-in: include this CSS after your header include.
*/
:root{
  --ink:#0f172a;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg:#fbf6f0;
  --card:#ffffff;
  --soft:#f8fafc;
  --accent:#6d4bff;
  --accent2:#ff8a00;
  --shadow: 0 10px 30px rgba(15,23,42,.08);
  --radius: 18px;
  --radius2: 24px;
  --max: 1250px;
}

body{ background: var(--bg); color: var(--ink); }
.container-home{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 18px 48px;
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
a{ color: inherit; }

.home-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 8px 0 12px;
}
.home-topbar .kicker{
  font-size: 12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
  color: var(--muted);
}
.home-topbar .actions{
  display:flex; gap:10px; flex-wrap:wrap;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  font-weight: 800;
  text-decoration:none;
  cursor:pointer;
}
.btn.primary{
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #7c6bff);
  box-shadow: 0 12px 30px rgba(109,75,255,.18);
}
.btn.ghost{
  background: transparent;
  border: 1px solid rgba(15,23,42,.14);
}
.btn.small{ padding: 8px 12px; font-size: 13px; }

.hero{
  position: relative;
  border-radius: var(--radius2);
  overflow: hidden;
  background: #111827;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,.08);
}
.hero-track{
  display:flex;
  transform: translateX(0);
  transition: transform .55s ease;
  will-change: transform;
}
.hero-slide{
  min-width: 100%;
  height: 520px;
  position: relative;
  display:flex;
  align-items: stretch;
}
.hero-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.05);
}
.hero-slide::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(15,23,42,.78), rgba(15,23,42,.22), rgba(15,23,42,0));
}
.hero-content{
  position:absolute;
  left: 34px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 560px;
  color:#fff;
  z-index: 2;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
.hero h1{
  margin: 14px 0 10px;
  font-size: 52px;
  line-height: 1.03;
  font-weight: 900;
}
.hero p{
  margin: 0 0 18px;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.55;
}
.hero-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-nav{
  position:absolute;
  right: 16px;
  bottom: 16px;
  display:flex;
  gap: 10px;
  align-items:center;
  z-index:3;
}
.hero-dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.35);
  cursor: pointer;
}
.hero-dot.active{ background: #fff; }

.hero-arrows{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:space-between;
  padding: 0 12px;
  z-index: 3;
  pointer-events:none;
}
.hero-arrow{
  pointer-events:auto;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(15,23,42,.25);
  color: #fff;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  backdrop-filter: blur(8px);
}
.hero-arrow:hover{ background: rgba(15,23,42,.35); }

@media (max-width: 900px){
  .hero-slide{ height: 440px; }
  .hero-content{ left: 18px; right: 18px; max-width: none; }
  .hero h1{ font-size: 38px; }
}
@media (max-width: 520px){
  .hero-slide{ height: 380px; }
  .hero h1{ font-size: 32px; }
}

.strip{
  margin-top: 16px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(15,23,42,.05);
  padding: 12px 14px;
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
}
.strip .item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  min-width: 220px;
}
.strip .ic{
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(109,75,255,.16), rgba(255,138,0,.12));
  display:flex; align-items:center; justify-content:center;
}
.strip .t{ font-weight: 900; }
.strip .s{ color: var(--muted); font-weight: 600; font-size: 13px; margin-top:2px; }

.section{
  margin-top: 26px;
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.section-title{
  font-size: 22px;
  font-weight: 900;
  margin: 0;
}
.section-sub{
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  margin-top: 6px;
}
.section-actions{ display:flex; gap:10px; align-items:center; }

.banners{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 14px;
}
.banner{
  position:relative;
  overflow:hidden;
  border-radius: var(--radius2);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: var(--shadow);
  min-height: 220px;
  background: #111827;
}
.banner img{ width:100%; height:100%; object-fit:cover; display:block; }
.banner::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(15,23,42,.72), rgba(15,23,42,.05));
}
.banner .content{
  position:absolute; left: 16px; bottom: 16px; right: 16px;
  color:#fff; z-index: 2;
}
.banner .pill{
  display:inline-flex; padding: 7px 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  font-weight: 900;
  font-size: 12px;
  letter-spacing:.08em;
  text-transform: uppercase;
}
.banner h3{
  margin: 10px 0 6px;
  font-size: 22px;
  font-weight: 900;
}
.banner p{ margin: 0; color: rgba(255,255,255,.9); font-weight: 600; }
.banner .link{
  margin-top: 10px;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  text-decoration:none;
}
.banner .link span{
  width: 32px; height: 32px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  display:flex; align-items:center; justify-content:center;
  border: 1px solid rgba(255,255,255,.22);
}
@media (max-width: 1050px){
  .banners{ grid-template-columns: 1fr; }
  .banner{ min-height: 240px; }
}

.scroller{
  position:relative;
  border-radius: var(--radius2);
  overflow:hidden;
}
.scroller .row{
  display:flex;
  gap: 12px;
  overflow:auto;
  padding: 4px 4px 10px;
  scroll-snap-type: x mandatory;
}
.scroller .row::-webkit-scrollbar{ height: 10px; }
.scroller .row::-webkit-scrollbar-thumb{
  background: rgba(15,23,42,.18);
  border-radius: 999px;
}
.scroller .arrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 26px rgba(15,23,42,.10);
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.scroller .arrow.left{ left: 8px; }
.scroller .arrow.right{ right: 8px; }

.card{
  background: var(--card);
  border-radius: var(--radius2);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 28px rgba(15,23,42,.05);
}
.product-card{
  width: 248px;
  min-width: 248px;
  scroll-snap-align: start;
  overflow:hidden;
}
.product-media{
  aspect-ratio: 1/1;
  position:relative;
  overflow:hidden;
}
.product-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  display:block;
  transition: transform .28s ease;
}
.product-card:hover .product-media img{ transform: scale(1.04); }
.product-body{ padding: 14px 14px 14px; }
.product-name{ font-weight: 900; font-size: 15px; margin: 0 0 6px; }
.product-desc{ color: var(--muted); font-size: 13px; font-weight: 600; margin: 0 0 10px; line-height: 1.35; }
.product-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.price{
  font-weight: 900;
  color: var(--accent);
}
.tag{
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(109,75,255,.12);
  color: var(--accent);
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.service-card{
  grid-column: span 4;
  overflow:hidden;
}
.service-media{
  height: 210px;
  overflow:hidden;
  position:relative;
}
.service-media img{ width: 100%; height: 100%; object-fit: cover; display:block; transition: transform .28s ease; }
.service-card:hover .service-media img{ transform: scale(1.04); }
.service-body{ padding: 14px 16px 16px; }
.service-title{ font-weight: 900; font-size: 16px; margin: 0 0 6px; }
.service-meta{
  display:flex; gap: 10px; flex-wrap:wrap;
  align-items:center;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
}
.badge{
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.06);
}
@media (max-width: 1020px){
  .service-card{ grid-column: span 6; }
}
@media (max-width: 640px){
  .service-card{ grid-column: span 12; }
}

.cta{
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(15,23,42,.08);
  background: linear-gradient(135deg, rgba(109,75,255,.12), rgba(255,138,0,.10));
  box-shadow: 0 12px 26px rgba(15,23,42,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.cta h3{ margin: 0; font-weight: 900; font-size: 18px; }
.cta p{ margin: 4px 0 0; color: var(--muted); font-weight: 600; }
.cta .right{ display:flex; gap:10px; flex-wrap:wrap; }

.footer-note{
  margin-top: 26px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  text-align:center;
}

/* =========================
   SHOP CART (Products)
   Separate from booking cart
   ========================= */
.shop-cart-fab{
  position:fixed; right:18px; bottom:18px; z-index:70;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  color:#111827; border-radius:999px; padding:12px 14px;
  box-shadow:0 14px 30px rgba(0,0,0,.35);
  cursor:pointer; user-select:none;
}
.shop-cart-fab:hover{ transform:translateY(-1px); }
.shop-cart-badge{
  position:absolute; top:-8px; right:-8px;
  min-width:22px; height:22px; padding:0 6px;
  display:flex; align-items:center; justify-content:center;
  background:#111827; color:#fff; border-radius:999px;
  font-size:12px; font-weight:900; border:2px solid rgba(255,255,255,.8);
}
.shop-cart-backdrop{ position:fixed; inset:0; z-index:80; background:rgba(0,0,0,.55); display:none; }
.shop-cart-drawer{
  position:absolute; right:0; top:0; height:100%; width:min(420px,92vw);
  background:rgba(15,23,42,.98);
  border-left:1px solid rgba(255,255,255,.12);
  padding:14px; overflow:auto;
}
.shop-cart-head{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.shop-cart-head h4{ margin:0; font-size:16px; font-weight:900; }
.shop-cart-close{ border:0; background:rgba(255,255,255,.08); color:#fff; border-radius:12px; padding:8px 10px; cursor:pointer; }
.shop-cart-items{ margin-top:12px; display:flex; flex-direction:column; gap:10px; }
.shop-cart-item{ display:flex; gap:10px; padding:10px; border:1px solid rgba(255,255,255,.10); background:rgba(255,255,255,.04); border-radius:14px; }
.shop-cart-item img{ width:56px; height:56px; object-fit:cover; border-radius:12px; border:1px solid rgba(255,255,255,.10); }
.shop-cart-item .meta{ flex:1; min-width:0; }
.shop-cart-item .meta b{ display:block; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.shop-cart-item .meta small{ display:block; color:rgba(255,255,255,.70); font-weight:700; margin-top:2px; }
.shop-cart-item .actions{ display:flex; flex-direction:column; gap:6px; align-items:flex-end; }
.shop-cart-item .qty{
  display:flex; align-items:center; gap:6px;
  background:rgba(0,0,0,.25); border:1px solid rgba(255,255,255,.12);
  border-radius:12px; padding:6px 8px;
}
.shop-cart-item .qty button{
  width:26px; height:26px; border-radius:10px;
  border:0; background:rgba(255,255,255,.08); color:#fff;
  cursor:pointer; font-weight:900;
}
.shop-cart-item .qty span{ min-width:18px; text-align:center; font-weight:900; }
.shop-cart-item .remove{
  border:0; background:transparent; color:rgba(255,255,255,.75);
  cursor:pointer; font-weight:800; text-decoration:underline;
}
.shop-cart-foot{
  position:sticky; bottom:0; padding-top:12px; margin-top:12px;
  background:linear-gradient(180deg,rgba(15,23,42,0),rgba(15,23,42,1) 22%);
}
.shop-cart-total{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 12px; border:1px solid rgba(255,255,255,.12);
  border-radius:14px; background:rgba(0,0,0,.25);
  font-weight:900;
}
.shop-cart-checkout{
  margin-top:10px; width:100%; border:0; cursor:pointer;
  padding:12px 14px; border-radius:14px; font-weight:900;
  background:linear-gradient(135deg,var(--brand),var(--brand2)); color:#111827;
}
.shop-toast{
  position:fixed; left:50%; bottom:22px; transform:translateX(-50%);
  z-index:90; display:none;
  background:rgba(17,24,39,.96); color:#fff;
  padding:10px 12px; border-radius:14px;
  border:1px solid rgba(255,255,255,.15);
  box-shadow:0 12px 30px rgba(0,0,0,.35);
  font-weight:800; font-size:13px;
}

/* product card actions (home scroller + grids) */
.p-actions, .product-actions{ display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:10px; }
.btn-add-cart{
  border:0; cursor:pointer; border-radius:999px;
  padding:10px 12px; font-weight:900;
  background:linear-gradient(135deg,var(--brand),var(--brand2)); color:#111827;
}
.btn-add-cart.small{ padding:9px 11px; font-size:13px; }
.btn-add-cart:hover{ transform:translateY(-1px); }
.product-card a{color:inherit;text-decoration:none}
.p-actions,.product-actions{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:12px}
.btn-add-cart{background:rgba(255,138,0,.14);border:1px solid rgba(255,138,0,.35);color:var(--ink);font-weight:900;border-radius:999px;padding:8px 12px;cursor:pointer}
.btn-add-cart:hover{background:rgba(255,138,0,.22)}
