/* ===== H&Y Boutique Theme ===== */
:root{
  --hy-rose:#b8879b;
  --hy-rose-dark:#8a5a70;
  --hy-blush:#f7eef1;
  --hy-cream:#faf6f2;
  --hy-ink:#2b2320;
  --hy-muted:#8a7f7a;
  --hy-gold:#c9a45c;
}

*{box-sizing:border-box}

html,body{overflow-x:hidden;}

body{
  font-family:'Poppins',Arial,sans-serif;
  color:var(--hy-ink);
  background:#fff;
  -webkit-font-smoothing:antialiased;
  max-width:100vw;
}

h1,h2,h3,h4,h5,.brand,.font-heading{
  font-family:'Playfair Display',Georgia,serif;
}

a{text-decoration:none}

/* ---- Navbar ---- */
header.site-header{
  background:rgba(255,255,255,.98);
  backdrop-filter:blur(6px);
  box-shadow:0 2px 18px rgba(43,35,32,.06);
}
.announce-bar{
  background:var(--hy-ink);
  color:#f3e9ec;
  letter-spacing:1.2px;
  font-size:.72rem;
}
.brand{
  letter-spacing:5px;
  color:var(--hy-ink) !important;
  font-size:1.6rem;
}
.brand-logo{
  height:110px;
  width:auto;
  object-fit:contain;
  mix-blend-mode:multiply;
  transition:.2s;
}
@media (min-width:992px) and (max-width:1199.98px){
  .brand-logo{height:46px;}
}
@media (min-width:1200px) and (max-width:1399.98px){
  .brand-logo{height:56px;}
}
@media (min-width:1400px) and (max-width:1599.98px){
  .brand-logo{height:72px;}
}
.brand-logo-footer{
  height:95px;
  filter:none;
  mix-blend-mode:normal;
  background:var(--hy-cream);
  padding:8px 18px;
  border-radius:8px;
}
.brand .brand-amp{color:var(--hy-rose)}
.navbar-nav .nav-link{
  color:var(--hy-ink);
  font-size:.86rem;
  letter-spacing:1.3px;
  text-transform:uppercase;
  font-weight:600;
  margin:0 10px;
  padding:10px 4px !important;
  position:relative;
  white-space:nowrap;
}
.navbar-nav .nav-link.icon-link{
  font-size:1.15rem;
  margin:0 6px;
  text-transform:none;
}
@media (min-width:992px) and (max-width:1199.98px){
  .navbar-nav .nav-link.icon-link{margin:0 3px;font-size:1rem;}
  .region-tag{display:none;}
}
@media (min-width:992px){
  .navbar-nav.mx-lg-auto{
    flex-wrap:nowrap;
    min-width:0;
    flex-shrink:1;
  }
  .navbar-nav.mx-lg-auto .nav-link{
    font-size:.64rem;
    letter-spacing:.4px;
    margin:0 4px;
    padding:10px 1px !important;
  }
  .navbar-collapse{min-width:0;}
  .navbar > .container-xxl{min-width:0;}
}
@media (min-width:1200px){
  .navbar-nav.mx-lg-auto .nav-link{
    font-size:.74rem;
    letter-spacing:.8px;
    margin:0 7px;
  }
}
@media (min-width:1400px){
  .navbar-nav.mx-lg-auto .nav-link{
    font-size:.8rem;
    letter-spacing:1px;
    margin:0 9px;
  }
}
.navbar-nav .nav-link::after{
  content:"";
  position:absolute;
  left:4px;right:4px;bottom:4px;
  height:2px;
  background:var(--hy-rose);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .25s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after{transform:scaleX(1)}
.navbar-nav .nav-link:hover{color:var(--hy-rose-dark)}
.navbar-nav .nav-link.icon-link::after{display:none}
.navbar-nav .nav-link.icon-link:hover{color:var(--hy-rose-dark)}

/* Shop dropdown */
.shop-dropdown{
  border:none;
  border-radius:8px;
  box-shadow:0 16px 36px rgba(43,35,32,.14);
  padding:10px;
  min-width:220px;
}
.shop-dropdown .dropdown-item{
  padding:10px 14px;
  border-radius:6px;
  font-size:.9rem;
  color:var(--hy-ink);
}
.shop-dropdown .dropdown-item:hover{
  background:var(--hy-blush);
  color:var(--hy-rose-dark);
}

/* Cart badge */
.cart-badge{
  position:absolute;
  top:-6px;right:-10px;
  background:var(--hy-rose-dark);
  color:#fff;
  font-size:.65rem;
  min-width:18px;
  height:18px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 4px;
}

.alert-hy-success{
  background:var(--hy-blush);
  color:var(--hy-rose-dark);
  border:none;
}

/* ---- Hero ---- */
.hero{
  background:linear-gradient(135deg,var(--hy-blush),var(--hy-cream) 60%,#f1e6ea);
  padding:90px 0;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 15% 20%, rgba(201,164,92,.15), transparent 45%),
             radial-gradient(circle at 85% 80%, rgba(184,135,155,.18), transparent 45%);
}
.hero > *{position:relative;z-index:1}
.hero-bg{position:absolute;inset:0;z-index:0;overflow:hidden;}
.hero-bg-track{
  display:flex;
  height:100%;
  animation:heroPan 26s ease-in-out infinite alternate;
  will-change:transform;
}
.hero-bg-track img{
  height:100%;
  width:280px;
  flex:0 0 auto;
  object-fit:cover;
  filter:blur(6px) brightness(.82) saturate(1.05);
}
.hero-bg-overlay{
  position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(247,238,241,.9),rgba(250,246,242,.85) 55%,rgba(241,230,234,.9));
}
@keyframes heroPan{
  from{transform:translateX(0);}
  to{transform:translateX(-32%);}
}
@media (prefers-reduced-motion: reduce){
  .hero-bg-track{animation:none;}
}
.hero h1{
  font-size:clamp(2.5rem,6vw,4.5rem);
  font-weight:700;
  color:var(--hy-ink);
}
.hero.hero-sm{padding:60px 0}
.hero-trust-item{display:flex;flex-direction:column;font-size:.78rem;color:var(--hy-muted);letter-spacing:.5px;}
.hero-trust-item strong{font-family:'Playfair Display',serif;font-size:1.4rem;color:var(--hy-ink);}
.region-tag{font-size:.75rem;letter-spacing:.5px;text-transform:none;}
.watching-badge{display:inline-flex;align-items:center;background:#fff4e6;color:#8a5a1c;border:1px solid #f1d9ad;border-radius:30px;padding:6px 16px;font-size:.85rem;}

/* ---- Region switcher dropdown ---- */
/* ---- First-visit region confirmation modal ---- */
.region-modal-content{border:none;border-radius:22px;overflow:hidden;}
.region-modal-icon{width:60px;height:60px;margin:0 auto 14px;border-radius:50%;background:var(--hy-blush);display:flex;align-items:center;justify-content:center;font-size:1.6rem;color:var(--hy-rose-dark);}
.region-modal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin-top:6px;}
.region-modal-btn{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px 10px;border:2px solid #eee0e4;border-radius:14px;background:#fff;font-size:.85rem;font-weight:600;color:var(--hy-ink);transition:all .2s ease;}
.region-modal-btn .flag{font-size:1.8rem;line-height:1;}
.region-modal-btn:disabled{opacity:.4;cursor:not-allowed;}
.region-modal-btn.match{border-color:var(--hy-rose-dark);background:var(--hy-blush);cursor:pointer;}
.region-modal-btn.match:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(184,90,120,.25);}
.region-modal-btn .badge-yours{position:absolute;top:-10px;right:-8px;background:var(--hy-rose-dark);color:#fff;font-size:.6rem;padding:3px 8px;border-radius:10px;letter-spacing:.3px;}

/* ---- Product description (rendered from admin markdown) ---- */
.product-description-card{background:var(--hy-blush);border-radius:16px;padding:26px 28px;}
.product-description-title{color:var(--hy-rose-dark);text-transform:uppercase;letter-spacing:1.5px;font-size:.8rem;font-weight:700;margin-bottom:16px;}
.product-description-body{color:var(--hy-ink);line-height:1.75;}
.product-description-body h1,
.product-description-body h2,
.product-description-body h3,
.product-description-body h4{font-family:'Playfair Display',serif;color:var(--hy-ink);margin:18px 0 10px;font-size:1.25rem;}
.product-description-body h1:first-child,
.product-description-body h2:first-child,
.product-description-body h3:first-child{margin-top:0;}
.product-description-body p{margin-bottom:14px;}
.product-description-body p:last-child{margin-bottom:0;}
.product-description-body strong{color:var(--hy-rose-dark);}
.product-description-body ul{list-style:none;margin:0 0 14px;padding:0;}
.product-description-body ul li{position:relative;padding-left:6px;margin-bottom:10px;}
.product-description-body ol{padding-left:20px;margin-bottom:14px;}
.product-description-body em{color:var(--hy-muted);}
.product-description-body hr{border:none;border-top:1px solid rgba(184,135,155,.25);margin:16px 0;}

/* ---- H&Y Assistant chatbot widget ---- */
#hyChatbot{position:fixed;right:20px;bottom:20px;z-index:1200;}
.hy-chat-toggle{width:60px;height:60px;border-radius:50%;border:none;background:var(--hy-rose-dark);color:#fff;font-size:1.5rem;box-shadow:0 10px 26px rgba(184,90,120,.4);cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;transition:transform .2s ease;}
.hy-chat-toggle:hover{transform:scale(1.06);}
.hy-chat-toggle.active i:before{content:"\f659";}
.hy-chat-dot{position:absolute;top:2px;right:2px;width:12px;height:12px;background:#4caf50;border:2px solid #fff;border-radius:50%;}
.hy-chat-window{position:absolute;right:0;bottom:74px;width:340px;max-width:88vw;height:0;opacity:0;pointer-events:none;background:#fff;border-radius:16px;box-shadow:0 20px 50px rgba(0,0,0,.2);overflow:hidden;display:flex;flex-direction:column;transition:height .25s ease, opacity .2s ease;}
.hy-chat-window.open{height:480px;max-height:75vh;opacity:1;pointer-events:auto;}
.hy-chat-header{background:var(--hy-rose-dark);color:#fff;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;}
.hy-chat-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;}
.hy-chat-title{font-weight:600;font-size:.95rem;}
.hy-chat-status{font-size:.72rem;opacity:.9;display:flex;align-items:center;gap:5px;}
.hy-online-dot{width:7px;height:7px;border-radius:50%;background:#4caf50;display:inline-block;}
.hy-chat-close{background:none;border:none;color:#fff;font-size:1rem;opacity:.85;}
.hy-chat-body{flex:1;overflow-y:auto;padding:14px;background:#fbf4f6;display:flex;flex-direction:column;gap:10px;}
.hy-msg{max-width:85%;padding:9px 13px;border-radius:14px;font-size:.85rem;line-height:1.5;}
.hy-msg a{color:inherit;text-decoration:underline;}
.hy-msg-bot{align-self:flex-start;background:#fff;border:1px solid #f1dbe2;border-bottom-left-radius:4px;}
.hy-msg-user{align-self:flex-end;background:var(--hy-rose-dark);color:#fff;border-bottom-right-radius:4px;}
.hy-typing{display:flex;gap:4px;align-items:center;padding:12px 14px;}
.hy-typing span{width:6px;height:6px;border-radius:50%;background:#c9a0ad;display:inline-block;animation:hyTyping 1s infinite ease-in-out;}
.hy-typing span:nth-child(2){animation-delay:.15s;}
.hy-typing span:nth-child(3){animation-delay:.3s;}
@keyframes hyTyping{0%,60%,100%{transform:translateY(0);opacity:.5;}30%{transform:translateY(-4px);opacity:1;}}
.hy-chat-quick{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 10px;background:#fbf4f6;}
.hy-chat-quick button{border:1px solid #e9c6d1;background:#fff;color:var(--hy-rose-dark);font-size:.72rem;padding:6px 10px;border-radius:20px;white-space:nowrap;}
.hy-chat-quick button:hover{background:var(--hy-rose-dark);color:#fff;}
.hy-chat-input{display:flex;border-top:1px solid #f0e0e4;padding:8px;gap:8px;background:#fff;}
.hy-chat-input input{flex:1;border:1px solid #e5d3d8;border-radius:20px;padding:8px 14px;font-size:.85rem;}
.hy-chat-input input:focus{outline:none;border-color:var(--hy-rose-dark);}
.hy-chat-input button{width:38px;height:38px;border-radius:50%;border:none;background:var(--hy-rose-dark);color:#fff;flex-shrink:0;}
@media (max-width:576px){#hyChatbot{right:12px;bottom:12px;}.hy-chat-window{right:-6px;width:92vw;}}

/* ---- Hero product photo row (horizontal, simple, compact) ---- */
.hero-collage{max-width:900px;margin:36px auto 0;}
.hc-photo-row{display:flex;gap:10px;height:200px;}
.hc-photo{flex:1;width:100%;height:100%;object-fit:cover;border-radius:12px;box-shadow:0 8px 18px rgba(40,20,30,.15);transition:transform .3s ease;}
.hc-photo:hover{transform:scale(1.03);}
.hc-photo-main{flex:1.4;}

@media (max-width:991px){
  .hero-collage{max-width:640px;margin-top:28px;}
  .hc-photo-row{height:160px;}
}
@media (max-width:575px){
  .hero-collage{max-width:100%;}
  .hc-photo-row{height:auto;gap:6px;}
  .hc-photo{height:100px;}
  .hc-photo-main{flex:1.4;}
}
.letter-space{letter-spacing:4px;color:var(--hy-rose-dark);font-weight:600;font-size:.85rem}
.section-title{
  font-weight:700;
  position:relative;
  padding-bottom:14px;
  margin-bottom:2rem;
}
.section-title::after{
  content:"";
  display:block;
  width:60px;
  height:3px;
  background:var(--hy-gold);
  margin-top:12px;
}
.text-center.section-title::after{margin-left:auto;margin-right:auto}

/* ---- Buttons ---- */
.btn-dark, .btn-hy{
  background:var(--hy-ink);
  border-color:var(--hy-ink);
  color:#fff;
  border-radius:2px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  font-size:.8rem;
  padding:12px 34px;
  transition:.25s;
}
.btn-dark:hover, .btn-hy:hover{
  background:var(--hy-rose-dark);
  border-color:var(--hy-rose-dark);
  color:#fff;
}
.btn-outline-hy{
  border:1px solid var(--hy-ink);
  color:var(--hy-ink);
  border-radius:2px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  font-size:.8rem;
  padding:11px 30px;
  transition:.25s;
}
.btn-outline-hy:hover{
  background:var(--hy-ink);
  color:#fff;
}

/* ---- Category cards ---- */
.category-card{
  display:flex;
  text-decoration:none;
  color:#fff;
  background:linear-gradient(160deg,var(--hy-rose),var(--hy-rose-dark));
  min-height:220px;
  padding:35px;
  align-items:flex-end;
  border-radius:6px;
  transition:.3s;
  position:relative;
  overflow:hidden;
}
.category-card:hover{
  transform:translateY(-6px);
  box-shadow:0 14px 30px rgba(0,0,0,.3);
  color:#fff;
}
.category-card h3, .category-card p{position:relative;text-shadow:0 2px 8px rgba(0,0,0,.5);}
.category-card h3{font-size:1.4rem;margin-bottom:6px}
.category-card p{font-size:.85rem;opacity:.9;margin-bottom:0}

/* ---- Product cards ---- */
.product-card{
  background:#fff;
  border:1px solid #eee2e6;
  height:100%;
  border-radius:6px;
  overflow:hidden;
  transition:.25s;
}
.product-card:hover{
  box-shadow:0 12px 30px rgba(184,135,155,.18);
  transform:translateY(-4px);
  border-color:var(--hy-rose);
}
.product-card img{width:100%;height:280px;object-fit:cover;background:#f5f5f5}
.product-card .p-3{padding:1.1rem !important}
.product-card h5{font-size:1rem;margin-bottom:.35rem;font-family:'Playfair Display',serif}
.product-card strong{color:var(--hy-rose-dark)}
.badge-sale{
  position:absolute;top:12px;left:12px;
  background:var(--hy-rose-dark);
  color:#fff;
  font-size:.7rem;
  letter-spacing:1px;
  padding:4px 10px;
  border-radius:20px;
  z-index:2;
}
.badge-outofstock{
  position:absolute;top:12px;left:12px;
  background:#6b6b6b;
  color:#fff;
  font-size:.7rem;
  letter-spacing:1px;
  padding:4px 10px;
  border-radius:20px;
  z-index:2;
}
.product-thumb{position:relative;display:block}

/* ---- Product details ---- */
.detail-image{width:100%;max-height:650px;object-fit:cover;background:#f5f5f5;border-radius:8px}
.detail-image-wrap{overflow:hidden;border-radius:8px}
.detail-image{cursor:zoom-in;transition:transform .3s ease}
.detail-image-wrap:hover .detail-image{transform:scale(1.03)}

/* ---- Product "living photo" Ken Burns slideshow ---- */
.kb-stage{position:relative;width:100%;padding-top:100%;overflow:hidden;border-radius:8px;background:#f5efe9;cursor:zoom-in;}
.kb-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.1s ease-in-out;
  animation:kbZoom 7s ease-in-out infinite alternate;animation-play-state:paused;}
.kb-slide.active{opacity:1;animation-play-state:running;z-index:1;}
@keyframes kbZoom{
  0%{transform:scale(1) translate(0,0);}
  100%{transform:scale(1.15) translate(-3%,-2%);}
}
.kb-live-badge{position:absolute;top:12px;left:12px;background:rgba(20,15,20,.65);color:#fff;font-size:.65rem;
  letter-spacing:1.5px;text-transform:uppercase;padding:5px 12px;border-radius:20px;z-index:2;pointer-events:none;}
.zoom-hint-btn{position:absolute;bottom:14px;right:14px;width:42px;height:42px;border-radius:50%;border:none;background:rgba(255,255,255,.9);color:var(--hy-rose-dark);font-size:1.1rem;box-shadow:0 2px 8px rgba(0,0,0,.2);cursor:pointer}
.zoom-hint-btn:hover{background:#fff}
.thumb-image{width:72px;height:72px;object-fit:cover;border-radius:6px;cursor:pointer;border:2px solid transparent;opacity:.7;transition:.15s}
.thumb-image:hover{opacity:1}
.thumb-image.active{border-color:var(--hy-rose-dark);opacity:1}

/* ---- Zoom lightbox ---- */
.zoom-overlay{position:fixed;inset:0;background:rgba(20,15,15,.92);z-index:2000;display:none;align-items:center;justify-content:center;flex-direction:column}
.zoom-overlay.active{display:flex}
.zoom-stage{width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none}
.zoom-stage img{max-width:90vw;max-height:85vh;object-fit:contain;transition:transform .08s linear;user-select:none}
.zoom-toolbar{position:absolute;top:20px;right:20px;display:flex;gap:.5rem;z-index:2001}
.zoom-toolbar button{width:44px;height:44px;border-radius:50%;border:none;background:rgba(255,255,255,.15);color:#fff;font-size:1rem;backdrop-filter:blur(4px);cursor:pointer;transition:.15s}
.zoom-toolbar button:hover{background:var(--hy-rose-dark)}
.price-tag{color:var(--hy-rose-dark);font-weight:700}
.breadcrumb-hy{font-size:.8rem;letter-spacing:.5px;color:var(--hy-muted);text-transform:uppercase}
.breadcrumb-hy a{color:var(--hy-muted)}
.breadcrumb-hy a:hover{color:var(--hy-rose-dark)}

/* ---- Reviews ---- */
.review-card{
  background:#fff;
  border:1px solid #eee2e6;
  border-radius:8px;
  height:100%;
  transition:.25s;
}
.review-card:hover{box-shadow:0 12px 26px rgba(184,135,155,.15)}
.review-avatar{
  width:48px;height:48px;border-radius:50%;
  background:linear-gradient(160deg,var(--hy-rose),var(--hy-rose-dark));
  color:#fff;display:flex;align-items:center;justify-content:center;
  font-weight:700;font-family:'Playfair Display',serif;
}
.star-filled{color:var(--hy-gold)}
.star-empty{color:#e3d9db}

/* ---- Footer ---- */
footer.site-footer{
  background:var(--hy-ink);
  color:#e8dfe1;
}
footer.site-footer a{color:#e8dfe1;opacity:.85}
footer.site-footer a:hover{color:var(--hy-gold);opacity:1}
footer.site-footer h6{
  letter-spacing:1.5px;
  text-transform:uppercase;
  font-size:.8rem;
  color:var(--hy-gold);
  margin-bottom:16px;
}
footer.site-footer .brand{color:#fff !important}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);font-size:.78rem;color:#b3a7a9}

/* ---- Misc ---- */
.admin-stat{padding:30px;background:var(--hy-blush);border-radius:6px}
.admin-stat small{display:block;color:#666}
.admin-stat strong{font-size:40px}
.form-control:focus{border-color:var(--hy-rose);box-shadow:0 0 0 .2rem rgba(184,135,155,.15)}

/* ---- Cart & Checkout ---- */
.cart-table th{
  text-transform:uppercase;
  font-size:.72rem;
  letter-spacing:1px;
  color:var(--hy-muted);
  border-bottom:2px solid var(--hy-blush);
}
.cart-table td{vertical-align:middle;border-color:#f1e6ea}
.qty-stepper{
  border:1px solid #e3d3d9;
  border-radius:4px;
  overflow:hidden;
}
.qty-stepper .qty-btn{
  background:var(--hy-blush);
  border:none;
  width:38px;height:44px;
  font-size:1.1rem;
  color:var(--hy-ink);
  cursor:pointer;
}
.qty-stepper .qty-btn:hover{background:var(--hy-rose);color:#fff}
.qty-stepper .qty-input{
  width:52px;height:44px;
  border:none;
  text-align:center;
  -moz-appearance:textfield;
}
.qty-stepper .qty-input::-webkit-outer-spin-button,
.qty-stepper .qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.cart-summary{
  background:var(--hy-blush);
  border-radius:10px;
  position:sticky;
  top:100px;
}

.payment-option{
  border:1px solid #e9dde1;
  border-radius:8px;
  transition:.2s;
}
.payment-option:has(input:checked){
  border-color:var(--hy-rose);
  background:var(--hy-blush);
}
.payment-option label{cursor:pointer;width:100%;margin-bottom:0}

.jazzcash-box{
  background:#fff;
  border:1px dashed var(--hy-gold);
  border-radius:8px;
}
.jazzcash-box > div{padding:2px 0}