﻿@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  /* === Sizing === */
  --navbar-height: 82px;  /* default; updated dynamically via JS */

  /* --- palette --- */
  --ivory:        #FFF9F6;
  --white:        #FFFFFF;
  --blush-soft:   #FBEEF1;
  --blush:        #F4DCE3;
  --rose:         #E0879C;
  --rose-deep:    #BE5777;
  --rose-gold:    #B8876F;
  --rose-gold-lt: #DCB79F;
  --ink:          #3B2A2D;
  --ink-soft:     #7A6669;
  --ink-faint:    #A7989A;
  --sage:         #748C73;
  --sage-bg:      #E7EEE2;
  --amber-bg:     #F3E3D3;
  --grey-bg:      #ECE6E4;
  --grey-tx:      #8A7B7A;
  --line:         #EFDEE2;

  /* --- type --- */
  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;

  /* --- shape / motion --- */
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --shadow-soft: 0 14px 40px -12px rgba(190, 87, 119, 0.22);
  --shadow-tight: 0 6px 18px -8px rgba(190, 87, 119, 0.28);
  --ease: cubic-bezier(.22,.61,.36,1);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }
input,select,textarea{ font-family:inherit; }

:focus-visible{
  outline: 2px solid var(--rose-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.container{
  width:100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-deep);
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:18px; height:1px;
  background: var(--rose-gold);
  display:inline-block;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; font-weight: 500; }
h2{ font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; }
h3{ font-size: 1.3rem; font-weight: 600; }
h4{ font-size: 1.05rem; font-weight: 600; }
p{ margin:0; }
.italic{ font-style: italic; font-weight: 500; color: var(--rose-deep); }

.section{ padding: 88px 0; }
.section-head{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-bottom: 44px;
  text-align:center;
  align-items:center;
}
.section-head p{ max-width: 540px; color: var(--ink-soft); font-size: 1.02rem; }
.section-head.left{ align-items:flex-start; text-align:left; }

/* =================== BUTTONS =================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:700;
  font-size: 0.92rem;
  padding: 14px 28px;
    border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn-primary{
  background: var(--rose-deep);
  color: var(--white);
  box-shadow: var(--shadow-tight);
}
.btn-primary:hover{ background: var(--rose-gold); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-outline{
  background: transparent;
  border-color: var(--rose-deep);
  color: var(--rose-deep);
}
.btn-outline:hover{ background: var(--rose-deep); color:var(--white); transform: translateY(-2px); }
.btn-ghost{
  background: var(--blush-soft);
  color: var(--rose-deep);
}
.btn-ghost:hover{ background: var(--blush); }
.btn-sm{ padding: 9px 18px; font-size: .82rem; border-radius: 999px; }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.45; cursor:not-allowed; transform:none !important; }
.btn.disabled{ opacity:.55; pointer-events:none; box-shadow:none; }

.btn-icon{
  width:40px; height:40px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background: var(--blush-soft); color: var(--rose-deep); border:1px solid var(--line);
  transition: background .2s, color .2s;
}
.btn-icon:hover{ background: var(--rose-deep); color:var(--white); }
.btn-icon.danger:hover{ background:#A8514F; color:var(--white); }

/* =================== MONOGRAM / LOGO =================== */
.brand{
  display:inline-flex;
  align-items:center;
  gap:11px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
}
.monogram{
  width:38px; height:38px;
  border-radius:50%;
  background: linear-gradient(145deg, var(--rose-gold-lt), var(--rose-gold) 60%, var(--rose-deep));
  display:flex; align-items:center; justify-content:center;
  color:var(--white);
  font-family: var(--font-display);
  font-weight:600;
  font-size: 1.05rem;
  flex-shrink:0;
  box-shadow: 0 4px 14px -4px rgba(190,87,119,.5);
}
.monogram.lg{ width:56px; height:56px; font-size:1.5rem; }
.admin-profile .monogram{
  display:block;
}
.admin-profile .monogram[src$=".svg"],
.admin-profile .monogram[src$=".png"],
.admin-profile .monogram[src$=".jpg"],
.admin-profile .monogram[src$=".jpeg"]{
  object-fit:cover;
}

.brand-logo{
  display:block;
  width:38px;
  height:38px;
  border-radius:50%;
  object-fit:cover;
}

/* =================== NAVBAR =================== */
.navbar{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 500;
  padding: 22px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.navbar .container{ display:flex; align-items:center; justify-content:space-between; }
.navbar.is-solid{
  background: rgba(255,249,246,.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 6px 24px -16px rgba(59,42,45,.25);
  border-bottom: 1px solid var(--line);
}
.nav-links{ display:flex; align-items:center; gap:38px; }
.nav-links a{
  font-size:.93rem; font-weight:600; color: var(--ink);
  position:relative; padding: 4px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-3px; height:2px; width:0%;
  background: var(--rose-deep); transition: width .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-links a.active{ color: var(--rose-deep); }
.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-toggle{
  display:none; width:42px; height:42px; border-radius:50%;
  border:1px solid var(--line); background: var(--white);
  align-items:center; justify-content:center; flex-direction:column; gap:4px;
}
.nav-toggle span{ width:18px; height:2px; background:var(--ink); display:block; transition: all .25s; }

.mobile-menu{
  display:none;
  flex-direction:column;
  gap:4px;
  background: var(--white);
  margin: 14px 16px 0;
    border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  padding: 10px;
  position: relative;
  z-index: 499;
  width: calc(100% - 32px);
}
.mobile-menu.open{ display:flex; }
.mobile-menu a{
  padding: 13px 16px; border-radius: var(--r-sm); font-weight:600; font-size:.95rem;
  color: var(--ink);
}
.mobile-menu a.active, .mobile-menu a:hover{ background: var(--blush-soft); color: var(--rose-deep); }

@media (max-width: 930px) {
  .container{ padding: 0 18px; }
  .navbar .container{ flex-wrap: wrap; gap: 14px; align-items: center; }
  .nav-links{ display: none; }
  .nav-cta{ gap: 12px; }
  .nav-toggle{ display:flex; }
  .hero{ padding: calc(var(--navbar-height) + 58px) 0 80px; }
  .hero .container{ grid-template-columns: 1fr; gap: 32px; }
  .hero p.lead{ max-width: 100%; }
  .hero-actions{ justify-content: flex-start; }
  .hero-visual{ min-width: auto; min-height: 260px; aspect-ratio: 4/3; padding: 22px; }
  .hero-seal{ width: 96px; height: 96px; padding: 12px; left: 16px; bottom: 16px; }
  .grid-products{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-why{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-wrap{ grid-template-columns: 1fr; padding: 44px; gap: 36px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .container{ padding: 0 14px; }
  .navbar{ padding: 16px 0; }
  .hero{ padding-top: calc(var(--navbar-height) + 28px); }
  .hero-label{ font-size: .82rem; padding: 8px 14px 8px 10px; }
    .hero-actions{ flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-actions .btn, .hero-actions .link-arrow{ width: 100%; justify-content: center; }
  .hero-visual{ min-height: 220px; aspect-ratio: 4/3; padding: 18px; }
  .hero-seal{ width: 82px; height: 82px; padding: 10px; }
    .grid-products{ grid-template-columns: 1fr; }
  .grid-why{ grid-template-columns: 1fr; gap: 18px; }
  .contact-wrap{ padding: 24px; gap: 32px; }
  .contact-card{ padding: 22px; }
  .contact-list{ margin-top: 18px; }
  .footer-grid{ grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom{ justify-content: center; text-align: center; }
  .footer-bottom span{ width: 100%; }
  .site-footer{ padding: 48px 0 24px; }
}

@media (max-width: 400px) {
  .hero-visual{ min-height:180px; aspect-ratio: 4/3; border-radius: 40% 40% 45% 40% / 50% 45% 45% 40%; }
  .hero-seal{ width: 68px; height: 68px; padding: 8px; left: 12px; bottom: 12px; }
  .hero-seal strong{ font-size:1rem; }
  .hero-seal span{ font-size:.54rem; }
}

/* =================== HERO =================== */
.hero{
  padding: calc(var(--navbar-height) + 86px) 0 100px;
  position: relative;
  overflow:hidden;
  background:
    radial-gradient(900px 480px at 88% -10%, var(--blush) 0%, transparent 60%),
    radial-gradient(700px 500px at 10% 110%, var(--blush-soft) 0%, transparent 60%),
    var(--ivory);
}
.hero .container{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  align-items:center;
  gap: 50px;
}
.hero-label{
  display:inline-flex; align-items:center; gap:10px;
  font-size: 12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color: var(--rose-deep);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-tight);
}
.hero-label .dot{ width:7px; height:7px; border-radius:50%; background: var(--rose); }
.hero h1{ margin-bottom: 22px; }
.hero p.lead{
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-actions{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.hero-actions .link-arrow{ font-weight:700; font-size:.92rem; color:var(--ink); display:inline-flex; align-items:center; gap:8px; }
.hero-actions .link-arrow svg{ transition: transform .25s var(--ease); }
.hero-actions .link-arrow:hover svg{ transform: translateX(4px); }

.hero-visual{ position:relative; display:flex; align-items:center; justify-content:center; border-radius: 50% 45% 55% 50% / 55% 50% 50% 45%; overflow:hidden; background: rgba(255,255,255,.95); box-shadow: var(--shadow-soft); min-width: 0; min-height: 420px; max-width:100%; max-height: 520px; }
.hero-blob{
  position:absolute; inset:0;
  background: linear-gradient(150deg, var(--blush) 0%, var(--rose-gold-lt) 55%, var(--blush-soft) 100%);
  border-radius: inherit;
  filter: blur(20px);
  transform: scale(1.04);
}
.hero-image{ position:absolute; inset:0; z-index:1; width:100%; height:100%; object-fit:cover; display:block; }
.hero-seal{
  position:absolute; bottom: 20px; left: 20px; z-index:3;
  background: var(--white); border-radius:50%;
  padding: 16px; box-shadow: var(--shadow-soft);
  display:flex; flex-direction:column; align-items:center; text-align:center;
  width:108px; height:108px; justify-content:center;
  border: 1px solid var(--line);
  max-width: calc(100% - 32px);
}
.hero-seal strong{ font-family:var(--font-display); font-size:1.3rem; color:var(--rose-deep); line-height:1; }
.hero-seal span{ font-size:.62rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-soft); margin-top:2px; }

/* =================== PRODUCT CARD =================== */
.grid-products{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card-product{
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-media{
  position:relative;
  aspect-ratio: 1/1;
  display:flex; align-items:center; justify-content:center;
  padding: 30px;
}
.card-media.tone-a{ background: linear-gradient(155deg, var(--blush-soft), var(--blush)); }
.card-media.tone-b{ background: linear-gradient(155deg, var(--blush), var(--rose-gold-lt)); }
.card-media svg{ width:62%; height:62%; color: var(--rose-deep); }

.badge-stock{
  position:absolute; top:14px; right:14px;
  display:inline-flex; align-items:center; gap:6px;
  font-size: .68rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
}
.badge-stock .dot{ width:6px; height:6px; border-radius:50%; }
.badge-stock.in{ background: var(--sage-bg); color:#3F5B3E; }
.badge-stock.in .dot{ background: var(--sage); }
.badge-stock.low{ background: var(--amber-bg); color:#8A5A22; }
.badge-stock.low .dot{ background: var(--rose-gold); }
.badge-stock.out{ background: var(--grey-bg); color: var(--grey-tx); }
.badge-stock.out .dot{ background: var(--grey-tx); }

.badge-cat{
  position:absolute; top:14px; left:14px;
  font-size:.66rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase;
  background: rgba(255,255,255,.85); color: var(--rose-deep);
  padding: 6px 11px; border-radius:999px;
}
.badge-rank{
  position:absolute; top:48px; left:14px;
  z-index: 2;
  display:inline-flex; align-items:center; gap:6px;
  font-size:.72rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
  background: rgba(255,255,255,.96); color: var(--rose-deep);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  max-width: calc(100% - 28px);
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.badge-rank .fire{ font-size:1rem; line-height:1; }
.badge-rank.rank-1{ background: rgba(255,239,242,.95); color: var(--rose-deep); }
.badge-rank.rank-2{ background: rgba(255,245,224,.95); color: #b56b1f; }
.badge-rank.rank-3{ background: rgba(225,236,248,.95); color: #2f5e8a; }

.card-body{ padding: 20px 22px 22px; display:flex; flex-direction:column; gap:10px; flex:1; }
.card-body h4{ font-size:1.12rem; }
.card-desc{
  font-size:.88rem; color: var(--ink-soft);
  display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  min-height: 2.6em;
}
.card-price-row{ display:flex; align-items:center; justify-content:space-between; margin-top:4px; }
.card-price{ font-family:var(--font-display); font-size:1.25rem; font-weight:600; color:var(--rose-deep); }
.card-actions{ display:flex; gap:10px; margin-top:8px; }
.card-actions .btn{ flex:1; padding: 11px 14px; font-size:.83rem; }
.card-product.highlighted{ animation: highlight-flash 2s ease forwards; border-color: rgba(227, 99, 99, 0.55); box-shadow: 0 24px 60px rgba(227, 99, 99, 0.16); }
@keyframes highlight-flash{
  0%{ transform: translateY(-4px); border-color: rgba(227, 99, 99, 0.75); box-shadow: 0 12px 36px rgba(227, 99, 99, 0.18); }
  50%{ transform: translateY(-2px); }
  100%{ transform: translateY(0); border-color: var(--line); box-shadow: var(--shadow-soft); }
}

/* =================== WHY CHOOSE US =================== */
.grid-why{ display:grid; grid-template-columns: repeat(4,1fr); gap:26px; }
.why-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 24px;
  text-align:left;
}
.why-icon{
  width:54px; height:54px; border-radius:50%;
  background: var(--blush-soft);
  display:flex; align-items:center; justify-content:center;
  color: var(--rose-deep);
  margin-bottom: 18px;
}
.why-icon svg{ width:26px; height:26px; }
.why-card h4{ margin-bottom:8px; }
.why-card p{ color: var(--ink-soft); font-size:.92rem; }

/* =================== CONTACT =================== */
.contact-wrap{
  background: linear-gradient(135deg, var(--blush-soft), var(--blush));
  border-radius: var(--r-lg);
  padding: 56px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items:center;
}
.contact-list{ display:flex; flex-direction:column; gap:18px; margin-top:24px; }
.contact-item{ display:flex; align-items:flex-start; gap:14px; }
.contact-item .ic{
  width:42px; height:42px; border-radius:50%; background: var(--white);
  display:flex; align-items:center; justify-content:center; color: var(--rose-deep); flex-shrink:0;
  box-shadow: var(--shadow-tight);
}
.contact-item .ic svg{ width:19px; height:19px; }
.contact-item .contact-copy{ display:flex; flex-direction:column; gap:2px; min-width:0; overflow-wrap: break-word; word-break: break-word; }
.contact-item .contact-copy strong{ display:block; font-size:.94rem; line-height:1.35; overflow-wrap: break-word; word-break: break-word; }
.contact-item .contact-copy span{ display:block; color: var(--ink-soft); font-size:.88rem; line-height:1.55; }
.contact-card{
  background: var(--white);
  border-radius: var(--r-md);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  text-align:center;
  min-width: 0;
}
.contact-card p{ color: var(--ink-soft); font-size:.92rem; margin: 10px 0 24px; }

/* =================== FOOTER =================== */
.site-footer{
  background: var(--ink);
  color: #EBD9DB;
  padding: 64px 0 28px;
}
.site-footer .brand{ color: var(--white); }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom:40px; }
.footer-grid p{ color:#C8AEB1; font-size:.88rem; margin-top:14px; max-width:280px; }
.footer-col h4{ color:var(--white); font-size:.86rem; letter-spacing:.06em; text-transform:uppercase; font-family:var(--font-body); font-weight:700; margin-bottom:16px; }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ color:#D9C1C3; font-size:.9rem; }
.footer-col a:hover{ color: var(--rose-gold-lt); }
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; border:1px solid #5C4548;
  display:flex; align-items:center; justify-content:center; color:#EBD9DB;
}
.footer-social a:hover{ background: var(--rose-deep); border-color: var(--rose-deep); }
.footer-bottom{
  border-top: 1px solid #5C4548;
  padding-top: 24px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
  font-size:.8rem; color:#B89497;
}

/* =================== PRODUCTS PAGE =================== */
.page-header{
  padding: calc(var(--navbar-height) + 68px) 0 50px;
  background: linear-gradient(180deg, var(--blush-soft), var(--ivory));
  text-align:center;
}
.page-header .eyebrow{ justify-content:center; margin-bottom:14px; }
.breadcrumb{ font-size:.85rem; color: var(--ink-soft); margin-bottom: 18px; display:flex; gap:8px; align-items:center;}
.breadcrumb a{ color: var(--ink-soft); font-weight:600; }
.breadcrumb a:hover{ color: var(--rose-deep); }
.breadcrumb span.current{ color: var(--rose-deep); font-weight:700; }

.toolbar{
  display:flex; align-items:center; gap:16px; flex-wrap:wrap; justify-content:space-between;
  margin-bottom: 36px;
}
.search-box{
  flex:1; min-width:240px; max-width:420px;
  position:relative;
  display:flex; align-items:center; gap:10px;
  background: var(--white); border:1px solid var(--line);
  border-radius:999px; padding: 13px 20px;
  box-shadow: var(--shadow-tight);
}
.search-box svg{ width:18px; height:18px; color: var(--ink-faint); flex-shrink:0; }
.search-box input{ border:none; outline:none; background:transparent; width:100%; font-size:.92rem; color:var(--ink); }
.search-box input::placeholder{ color: var(--ink-faint); }
.search-suggestions{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  right:0;
  display:none;
  flex-direction:column;
  gap:6px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--white);
  box-shadow: var(--shadow-soft);
  z-index:40;
}
.search-suggestions.show{ display:flex; }
.suggestion-item{
  width:100%;
  border:none;
  background:transparent;
  border-radius:12px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  color:var(--ink);
  font-weight:600;
  text-align:left;
}
.suggestion-item:hover, .suggestion-item:focus-visible{ background:var(--blush-soft); color:var(--rose-deep); }
.suggestion-item span:last-child{ font-size:.74rem; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.04em; font-weight:700; }

.filter-pills{ display:flex; gap:10px; flex-wrap:wrap; }
.pill{
  font-size:.85rem; font-weight:700; padding: 11px 20px;
  border-radius:999px; border:1px solid var(--line); background: var(--white); color: var(--ink-soft);
  transition: all .2s var(--ease);
}
.pill:hover{ border-color: var(--rose-deep); color: var(--rose-deep); }
.pill.active{ background: var(--rose-deep); border-color: var(--rose-deep); color: var(--white); }

.results-count{ font-size:.85rem; color: var(--ink-soft); margin-bottom:22px; }
.results-count strong{ color: var(--ink); }

.empty-state{
  text-align:center; padding: 70px 20px; color: var(--ink-soft);
  display:none;
}
.empty-state.show{ display:block; }
.empty-state svg{ width:56px; height:56px; color: var(--rose-gold-lt); margin:0 auto 18px; }
.empty-state h4{ margin-bottom:8px; color:var(--ink); }

.order-history-page{ display:grid; gap:24px; }
.order-history-header{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.order-history-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.order-history-meta{ display:flex; align-items:center; gap:10px; padding:20px 22px; border-radius:18px; background: var(--white); border:1px solid var(--line); box-shadow: var(--shadow-tight); color: var(--ink-soft); }
.order-history-meta strong{ font-size:1.1rem; color: var(--ink); font-weight:700; }
.order-history-list{ display:grid; gap:18px; }
.order-card{ background: var(--white); border:1px solid var(--line); border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow-soft); }
.order-card-head{ display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:16px; }
.order-card-head .order-id{ font-weight:700; color: var(--ink); }
.order-card-head .order-date{ color: var(--ink-soft); font-size:.92rem; }
.order-status{ display:inline-flex; align-items:center; justify-content:center; padding:8px 14px; border-radius:999px; background: var(--blush-soft); color: var(--rose-deep); font-weight:700; font-size:.78rem; text-transform:uppercase; }
.order-card-body{ display:grid; gap:10px; color: var(--ink-soft); font-size:.95rem; }
.order-card-body .order-line{ display:flex; justify-content:space-between; gap:10px; }
.order-history-empty{ display:none; place-items:center; text-align:center; gap:12px; padding: 72px 24px; border:1px dashed var(--line); border-radius: var(--r-lg); background: rgba(255,248,247,.85); color: var(--ink-soft); }
.order-history-empty.show{ display:grid; }
.order-history-empty svg{ width:58px; height:58px; color: var(--rose-gold-lt); }
.order-history-empty h4{ margin:0; color: var(--ink); }
.order-history-empty p{ margin:0; max-width:420px; }

/* =================== PRODUCT DETAILS =================== */
.detail-wrap{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items:flex-start; }
.detail-media{
  position:relative;
  aspect-ratio: 1/1;
  border-radius: var(--r-lg);
  background: linear-gradient(155deg, var(--blush-soft), var(--rose-gold-lt));
  display:flex; align-items:center; justify-content:center;
  padding: 60px;
}
.detail-media svg{ width:60%; height:60%; color: var(--rose-deep); }
.detail-info .badge-cat{ position:static; display:inline-block; margin-bottom:14px; background:var(--blush-soft); }
.detail-info h1{ font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom:14px; }
.detail-price-row{ display:flex; align-items:center; gap:16px; margin-bottom:22px; }
.detail-price{ font-family:var(--font-display); font-size:2rem; color: var(--rose-deep); font-weight:600; }
.detail-desc{ color: var(--ink-soft); font-size:1rem; line-height:1.75; margin-bottom: 26px; }
.detail-bullets{ display:flex; flex-direction:column; gap:12px; margin-bottom:32px; }
.detail-bullets li{ display:flex; align-items:flex-start; gap:12px; font-size:.94rem; color: var(--ink); }
.detail-bullets svg{ width:18px; height:18px; color: var(--sage); flex-shrink:0; margin-top:2px; }
.detail-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.detail-actions .btn{ padding: 16px 32px; }

.related-strip{ margin-top:90px; }

/* =================== ADMIN DASHBOARD =================== */
.admin-shell{ display:grid; grid-template-columns: 260px 1fr; min-height:100vh; }
.admin-sidebar{
  background: var(--ink);
  color: #EBD9DB;
  padding: 28px 20px;
  display:flex; flex-direction:column;
  position:sticky; top:0; height:100vh;
  width: 260px; min-width: 260px; max-width: 260px;
  z-index: 600;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.admin-sidebar.open{ transform: translateX(0); }
.admin-sidebar .brand{ color:var(--white); padding: 0; }
.sidebar-header{ display:flex; justify-content:center; align-items:center; padding-bottom:18px; }
.admin-sidebar .brand { display:flex; align-items:center; gap:10px; }
.admin-sidebar .brand .brand-logo{ width:56px; height:56px; }
.admin-nav{ display:flex; flex-direction:column; gap:4px; flex:1; }
.admin-nav a{
  display:flex; align-items:center; gap:12px;
  padding: 12px 14px; border-radius: var(--r-sm); font-weight:600; font-size:.9rem; color:#D9C1C3;
}
.admin-nav a svg{ width:18px; height:18px; }
.admin-nav a.active{ background: var(--rose-deep); color:var(--white); }
.admin-nav a:hover:not(.active){ background: rgba(255,255,255,.06); color:var(--white); }
.admin-sidebar-foot{ border-top:1px solid #5C4548; padding-top:18px; }
.admin-sidebar-foot a{ display:flex; align-items:center; gap:10px; font-size:.85rem; font-weight:600; color:#D9C1C3; }
.admin-sidebar-foot a:hover{ color: var(--white); }

.admin-main{ background: var(--ivory); padding: 34px 40px 60px; min-width:0; }
.admin-topbar{ display:flex; align-items:center; justify-content:space-between; margin-bottom:32px; flex-wrap:wrap; gap:16px; }
.admin-topbar-left{ display:flex; align-items:center; gap:14px; }
.admin-topbar-left > div:last-child > h1{ font-size: 1.7rem; }
.admin-topbar-left > div:last-child > p{ color: var(--ink-soft); font-size:.92rem; margin-top:4px; }
.admin-topbar .admin-profile{ display:flex; align-items:center; gap:12px; }
.admin-profile .name{ font-weight:700; font-size:.88rem; }
.admin-profile .role{ font-size:.75rem; color: var(--ink-soft); }

/* ---- Admin sidebar toggle (mobile/tablet) ---- */
.admin-sidebar-toggle{
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.admin-sidebar-toggle:hover{ background: var(--blush-soft); border-color: var(--rose-deep); }
.admin-sidebar-toggle span{
  display: block;
  width: 16px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(.22,.61,.36,1), opacity 0.2s ease;
}
.admin-sidebar-toggle.open span:nth-child(1){ transform: rotate(45deg) translate(4px, 4px); }
.admin-sidebar-toggle.open span:nth-child(2){ opacity: 0; }
.admin-sidebar-toggle.open span:nth-child(3){ transform: rotate(-45deg) translate(4px, -4px); }

/* ---- Sidebar backdrop (mobile/tablet) ---- */
.admin-sidebar-backdrop{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 550;
  background: rgba(59,42,45,0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.admin-sidebar-backdrop.open{
  opacity: 1;
  pointer-events: all;
}

.stat-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; margin-bottom:36px; }
.stat-card{
  background: var(--white); border:1px solid var(--line); border-radius: var(--r-md);
  padding: 24px; display:flex; align-items:center; gap:16px;
}
.stat-icon{ width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.stat-icon svg{ width:22px; height:22px; }
.stat-card.tone-rose .stat-icon{ background: var(--blush-soft); color: var(--rose-deep); }
.stat-card.tone-sage .stat-icon{ background: var(--sage-bg); color:#3F5B3E; }
.stat-card.tone-amber .stat-icon{ background: var(--amber-bg); color:#8A5A22; }
.stat-card.tone-grey .stat-icon{ background: var(--grey-bg); color: var(--grey-tx); }
.stat-value{ font-family:var(--font-display); font-size:1.7rem; font-weight:600; line-height:1; }
.stat-label{ font-size:.8rem; color: var(--ink-soft); margin-top:4px; }

.panel{ background: var(--white); border:1px solid var(--line); border-radius: var(--r-md); overflow:hidden; }
#homepage-editor-panel{ width: min(100%, 100%); max-width: none; margin: 0; padding: 0; box-shadow: var(--shadow-tight); }
.form-grid{ display:grid; gap:24px; width:100%; grid-template-columns: 1fr; padding: 24px 24px 0; align-items:start; }
.form-row{ display:grid; grid-template-columns: 1fr; gap:16px; }
.panel-head{ display:flex; align-items:center; justify-content:space-between; padding: 22px 26px; border-bottom:1px solid var(--line); flex-wrap:wrap; gap:14px; }
.panel-head h3{ font-size:1.15rem; }
.panel-head p{ color: var(--ink-soft); font-size:.85rem; margin-top:2px; }
.section-card{ border:1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #fffdfc 0%, #fff8f7 100%); overflow:hidden; }
.section-card-head{ padding: 18px 20px 0; }
.section-card-head h4{ font-size: 1.02rem; color: var(--ink); }
.section-card-head p{ font-size: .84rem; color: var(--ink-soft); margin-top: 4px; }
.section-card-body{ display:grid; gap:16px; padding: 16px 20px 20px; }

@media (min-width: 1024px) {
  .form-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) and (min-width: 720px) {
  .form-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 719px) {
  .form-grid{ grid-template-columns: 1fr; }
}

/* .inventory-table-wrap, .admin-table, .row-product, .row-thumb, .row-actions â€” defined below */
.inventory-table-wrap{
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 18px 26px;
}
.inventory-table-wrap::after{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  pointer-events: none;
  background: linear-gradient(to left, rgba(255,255,255,0.95), transparent);
}
.admin-table{
  width:100%;
  border-collapse: collapse;
  min-width: 680px;
}
.admin-table th{
  text-align:left;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--ink-soft);
  padding: 14px 10px;
  border-bottom:1px solid var(--line);
  white-space:nowrap;
}
.admin-table td{
  padding: 14px 10px;
  border-bottom:1px solid var(--line);
  font-size:.9rem;
  vertical-align:middle;
}
.admin-table th:last-child{
  position: sticky;
  right: 0;
  z-index: 5;
  background: var(--blush-soft);
}
.admin-table td.sticky-action-cell{
  position: sticky;
  right: 0;
  z-index: 4;
  background: var(--white);
  box-shadow: -8px 0 16px -12px rgba(59,42,45,0.18);
}
.admin-table td.sticky-action-cell .inventory-action-group{
  justify-content: flex-end;
}
.admin-table th:first-child, .admin-table td:first-child { padding-left: 12px; }
.admin-table th:last-child, .admin-table td:last-child { padding-right: 12px; }
.row-thumb{ width:46px; height:46px; border-radius:8px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.row-thumb svg{ width:22px; height:22px; color: var(--rose-deep); }
.row-thumb img{ width:44px; height:44px; object-fit:cover; border-radius:8px; display:block; }
.row-name{ font-weight:700; color:var(--ink); line-height:1.35; }
.row-actions{ display:flex; gap:8px; }
.row-actions .btn{ white-space:nowrap; }
.inventory-thumb{ width:46px; height:46px; border-radius: 50%; background: linear-gradient(135deg, var(--blush-soft), #F7E5E8); color:var(--rose-deep); font-weight:700; font-size:.8rem; }
.inventory-action-group{ display:flex; flex-wrap:wrap; gap:8px; }
.empty-row{ text-align:center; color:var(--ink-soft); padding:28px 10px; }

.modal-overlay{
  position:fixed; inset:0; background: rgba(59,42,45,.45);
  display:none; align-items:center; justify-content:center; z-index:1000; padding:20px;
}
.modal-overlay.open{ display:flex; }
.modal{
  background: var(--white); border-radius: var(--r-lg); padding: 32px; width:100%; max-width:620px;
  box-shadow: 0 30px 70px -20px rgba(59,42,45,.4);
  max-height:88vh; overflow-y:auto;
}
.modal-head{ display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:22px; }
.modal-head p{ color:var(--ink-soft); font-size:.85rem; margin-top:4px; }
.modal-close{ width:34px; height:34px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--ink-soft); flex-shrink:0; }
.modal-close:hover{ background: var(--blush-soft); color: var(--rose-deep); }
.form-group{ margin-bottom:0; display:flex; flex-direction:column; gap:8px; }
.form-group label{ font-size:.8rem; font-weight:700; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea{
  border:1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-size:.92rem; color:var(--ink);
  background: var(--ivory); width:100%; box-sizing:border-box; min-height:44px;
}
.form-group textarea{ min-height:104px; resize:vertical; }
.form-row{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; align-items:start; }
.form-row > .form-group{ margin-bottom:0; min-width:0; }
.modal-actions{ display:flex; justify-content:center; gap:12px; margin-top:32px; padding: 0 24px 24px; }
.modal-actions .btn{ flex:0 0 300px; width:300px; }
#homepage-editor-form .modal-actions{ grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top:24px; margin-top:24px; }
/* Homepage editor save button â€” auto width, not the fixed 300px modal rule */
#homepage-editor-form .modal-actions .btn{ flex: 0 0 auto; width: auto; min-width: 200px; }
#homepage-editor-form .modal-actions .btn:active{ transform: scale(0.97); }
.modal.confirm{ max-width:380px; text-align:center; }

@media (max-width: 560px){
  .modal{ padding: 24px; }
  .form-row{ grid-template-columns:1fr; }
  .modal-actions{ flex-direction:column; }
  #homepage-editor-form .modal-actions .btn{ width:100%; min-width:0; }
}
.modal.confirm .warn-icon{ width:54px; height:54px; border-radius:50%; background:#F7E3DF; color:#A8514F; display:flex; align-items:center; justify-content:center; margin: 0 auto 18px; }
.modal.confirm .warn-icon svg{ width:26px; height:26px; }

.toast{
  position:fixed; bottom:26px; right:26px; z-index:1100;
  background: var(--ink); color:var(--white); padding: 14px 22px; border-radius: 12px;
  font-size:.88rem; font-weight:600; box-shadow: var(--shadow-soft);
  display:flex; align-items:center; gap:10px;
  transform: translateY(20px); opacity:0; transition: all .3s var(--ease); pointer-events:none;
}
.toast.show{ transform: translateY(0); opacity:1; }
.toast svg{ width:16px; height:16px; color: var(--sage); }

/* =================== PAGE TRANSITION OVERLAY =================== */
/* Full-screen overlay for smooth crossfade between pages.
  Injected by navbar.js. Fades in/out using opacity + backdrop-filter. */
#page-transition-overlay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ivory);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), backdrop-filter 0.35s ease;
  backdrop-filter: blur(0px);
}
#page-transition-overlay.active{
  opacity: 1;
  pointer-events: all;
  backdrop-filter: blur(4px);
}

/* =================== INVENTORY MONITORING =================== */
/* .form-row defined above in admin section â€” keeping single definition */
/* .inventory-highlight-grid, .inventory-chart-card, .sales-distribution-card defined below */
/* Note: .search-box also defined above in Products page section */
#add-product-btn{ justify-self:start; }
.inventory-highlight-grid{ display:grid; grid-template-columns: 1.2fr .8fr; gap:22px; padding: 24px 26px 0; }
.inventory-chart-card, .inventory-sales-card, .inventory-alert-card, .inventory-sales-distribution-card{ border:1px solid var(--line); border-radius: var(--r-md); overflow:hidden; }
.inventory-sales-distribution-card{ grid-column: 1 / -1; }
.sales-distribution-content{ padding: 0 24px 24px; display:flex; flex-direction:column; gap:18px; }
#sales-distribution-chart{ width:100%; min-height:280px; max-height:360px; }
#download-sales-chart-btn{ align-self:flex-start; }
.compact-head{ padding: 14px 20px 0; border-bottom:none; }
.inventory-chart-bars{ display:flex; flex-direction:column; gap:14px; padding: 0 20px 20px; }
.chart-segment-track{ display:flex; height:42px; border-radius:999px; overflow:hidden; border:1px solid var(--line); background: #F7F3F4; }
.chart-segment{ border:none; outline:none; cursor:pointer; color:transparent; font-size:0; transition: transform .2s ease, box-shadow .2s ease; }
.chart-segment:hover{ transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.08); }
.chart-segment.active{ box-shadow: inset 0 0 0 2px rgba(255,255,255,.85), 0 0 0 1px rgba(0,0,0,.05); }
.chart-segment-label{ display:none; }
.chart-row-summary{ display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:10px; }
.chart-summary-pill{ display:flex; flex-direction:column; gap:8px; padding: 14px 16px; border-radius: 18px; background: #fff; border:1px solid var(--line); }
.chart-summary-pill-heading{ display:flex; align-items:center; gap:8px; }
.chart-summary-dot{ width:10px; height:10px; border-radius:50%; display:inline-block; }
.chart-summary-pill strong{ font-size:.86rem; color: var(--ink); }
.chart-summary-pill span{ font-size:.95rem; color: var(--ink-soft); }
.chart-summary-pill.in{ border-color: rgba(164,225,170,.35); }
.chart-summary-pill.in .chart-summary-dot{ background: rgba(98,189,113,1); }
.chart-summary-pill.low{ border-color: rgba(250,208,113,.35); }
.chart-summary-pill.low .chart-summary-dot{ background: rgba(238,153,38,1); }
.chart-summary-pill.out{ border-color: rgba(255,153,153,.35); }
.chart-summary-pill.out .chart-summary-dot{ background: rgba(233,102,102,1); }
.inventory-alert-list{ list-style:none; padding: 0 20px 20px; display:flex; flex-direction:column; gap:10px; }
.inventory-alert-list li{ display:flex; justify-content:space-between; gap:12px; align-items:center; background:var(--blush-soft); padding: 14px 16px; border-radius: var(--r-sm); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; border:1px solid transparent; }
.inventory-alert-list li:hover{ transform: translateY(-1px); border-color: rgba(196, 123, 155, .35); box-shadow: 0 3px 8px rgba(0,0,0,.05); }
.inventory-alert-list li.low{ background: rgba(255, 207, 94, .12); }
.inventory-alert-list li.out{ background: rgba(233, 102, 102, .12); }
.inventory-alert-list li.status-selected{ box-shadow: inset 0 0 0 1px rgba(170, 120, 40, .25); }
.inventory-alert-list li.active{ background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,237,225,1)); border-color: rgba(228, 90, 55, .45); }
.inventory-alert-list strong{ display:block; color:var(--ink); font-size:.92rem; }
.inventory-alert-list span{ display:block; color:var(--ink-soft); font-size:.82rem; }
.alert-pill{ display:inline-flex; align-items:center; justify-content:center; padding: 7px 10px; border-radius:999px; background:var(--white); color:var(--rose-deep); font-weight:700; font-size:.76rem; }
.alert-pill.low{ color: #A05B00; }
.alert-pill.out{ color: #A12A2A; }
.alert-empty{ justify-content:center; color:var(--ink-soft); background:var(--ivory); }
.sales-bar-list{ display:flex; flex-direction:column; gap:12px; padding: 0 20px 20px; }
.sales-bar-row{ display:flex; flex-direction:column; gap:8px; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.9); border: 1px solid transparent; cursor: pointer; transition: all .2s ease; }
.sales-bar-row:hover{ background: rgba(255,255,255,1); border-color: rgba(214, 161, 182, .35); transform: translateY(-1px); }
.sales-bar-row.active{ background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,248,238,1)); border-color: var(--amber); }
.sales-bar-meta{ display:flex; justify-content:space-between; gap:16px; align-items:center; font-size:.9rem; color:var(--ink); flex-wrap:wrap; }
.sales-bar-name{ font-weight:700; }
.sales-bar-count{ color:var(--ink-soft); }
.sales-bar-track{ height:12px; border-radius:999px; background:#F3E6E8; overflow:hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,.06); }
.sales-bar-fill{ height:100%; border-radius:inherit; box-shadow: 0 1px 5px rgba(0,0,0,.05); transition: width .35s ease; }
.sales-bar-row.low .sales-bar-fill{ background: linear-gradient(90deg, rgba(250,208,113,1), rgba(238,153,38,1)); }
.sales-bar-row.out .sales-bar-fill{ background: linear-gradient(90deg, rgba(255,153,153,1), rgba(233,102,102,1)); }
.sales-bar-row.in .sales-bar-fill{ background: linear-gradient(90deg, rgba(164,225,170,1), rgba(98,189,113,1)); }
.sales-summary{ padding: 0 20px 20px; margin-top: 4px; border-top: 1px solid #F3E6E8; }
.sales-summary.empty{ color: var(--ink-soft); font-size:.92rem; }
.sales-summary-heading{ margin: 12px 0 10px; font-size: .92rem; font-weight:700; color: var(--ink); }
.sales-summary-row{ display:flex; justify-content:space-between; gap:12px; margin-bottom: 8px; font-size:.88rem; color: var(--ink-soft); }
.sales-summary-row strong{ color: var(--ink); }
.sales-note{ padding: 0 20px 20px; color:var(--ink-soft); font-size:.86rem; }

/* =================== RESPONSIVE =================== */
@media (max-width: 980px){
  .hero .container{ grid-template-columns:1fr; }
  .hero{ padding-top: calc(var(--navbar-height) + 58px); }
  .hero-visual{ order:-1; width:100%; max-width:100%; margin: 0 auto 20px; min-width: 0; min-height:260px; aspect-ratio: 4/3; }
  .grid-products{ grid-template-columns: repeat(2,1fr); }
  .grid-why{ grid-template-columns: repeat(2,1fr); }
  .contact-wrap{ grid-template-columns:1fr; padding:32px; gap:36px; }
  .detail-wrap{ grid-template-columns:1fr; gap:34px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .admin-shell{ grid-template-columns: 1fr; }
  .admin-sidebar{
    display: flex;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    height: 100vh;
    transform: translateX(-100%);
    z-index: 600;
    border-right: 1px solid #5C4548;
  }
  .admin-sidebar.open{ transform: translateX(0); }
  .admin-main{ padding: 26px 18px 50px; }
  .stat-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px){
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-cta .btn{ padding:11px 18px; font-size:.84rem; }
  .grid-products{ grid-template-columns: 1fr; }
  .grid-why{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap:28px; }
  .admin-main{ padding: 26px 18px 50px; }
  .stat-grid{ grid-template-columns: 1fr 1fr; gap:14px; }
  .admin-table{ display: table; }
  .form-row{ grid-template-columns:1fr; }
  .toolbar{ flex-direction:column; align-items:stretch; }
  .search-box{ max-width:none; min-width:0; }
  .inventory-highlight-grid{ grid-template-columns:1fr; }
  .inventory-toolbar{ width:100%; }
  .inventory-toolbar select, .search-box{ width:100%; }
  .admin-shell{ grid-template-columns: 1fr; }
  .admin-sidebar{
    display: flex;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    height: 100vh;
    width: 280px; min-width: 280px; max-width: 280px;
    transform: translateX(-100%);
    z-index: 600;
    padding: 24px 18px;
    border-right: 1px solid #5C4548;
  }
    .admin-sidebar.open{ transform: translateX(0); }
  .admin-sidebar .brand .brand-logo{ width:48px; height:48px; }
  .admin-sidebar-toggle{ display: flex; }
  .admin-sidebar-backdrop{ display: block; }
  .admin-main{ padding:18px; }
}

/* Mobile admin sidebar toggle always visible below 981px */
@media (max-width: 980px){
  .admin-sidebar-toggle{ display: flex; }
  .admin-sidebar-backdrop{ display: block; }
}

/* Small mobile â€” stack stat cards & tighten layout */
@media (max-width: 480px){
  .admin-main{ padding: 14px 12px 40px; }
  .stat-grid{ grid-template-columns: 1fr; gap: 12px; }
  .panel-head{ padding: 16px 14px; flex-direction: column; align-items: stretch; }
  .panel-head p{ font-size: .8rem; }
  .inventory-highlight-grid{ padding: 14px 14px 0; }
  .inventory-toolbar-top{ flex-direction: column; align-items: stretch; }
  .inventory-toolbar-top select,
  .inventory-toolbar-top .search-box{ width: 100%; min-width: 0; max-width: none; }
  #add-product-btn{ width: 100%; justify-content: center; }
  .admin-topbar-left > div:last-child > h1{ font-size: 1.2rem; }
  .admin-topbar-left > div:last-child > p{ font-size: .8rem; }
  .admin-profile{ display: none; }
  .admin-topbar{ margin-bottom: 20px; }
  .compact-head{ padding: 12px 14px 0; }
  .chart-row-summary{ grid-template-columns: 1fr; gap: 8px; }
  .chart-summary-pill{ padding: 10px 12px; flex-direction: row; align-items: center; justify-content: space-between; }
  .inventory-alert-list li{ flex-direction: column; gap: 10px; align-items: stretch; }
  .inventory-alert-list li .alert-controls{ display: flex; justify-content: space-between; align-items: center; }
  .sales-bar-meta{ flex-direction: column; align-items: flex-start; gap: 6px; }
  .sales-distribution-content{ padding: 0 14px 18px; }
  #sales-distribution-chart{ min-height: 220px; max-height: 280px; }
  .order-history-header{ flex-direction: column; align-items: flex-start; }
  .order-card-head{ flex-direction: column; align-items: flex-start; }
}

/* =================== INVENTORY MONITORING =================== */
.inventory-panel-head{ align-items:flex-start; }
.inventory-toolbar{ display:grid; gap:10px; width:100%; }
.inventory-toolbar-top{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.inventory-toolbar-top select{ border:1px solid var(--line); background:var(--ivory); border-radius:999px; padding: 10px 14px; font-size:.9rem; color:var(--ink); }

/* =================================================================
  ANIMATIONS â€” Subtle, immersive motion for Awwwards polish
  ================================================================= */

/* ---- Keyframes ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(190, 87, 119, 0.2); }
  50%      { box-shadow: 0 0 0 14px rgba(190, 87, 119, 0); }
}

@keyframes blobMorph {
  0%   { border-radius: 50% 45% 55% 50% / 55% 50% 50% 45%; }
  25%  { border-radius: 44% 56% 50% 50% / 50% 55% 45% 50%; }
  50%  { border-radius: 56% 44% 44% 56% / 44% 50% 56% 50%; }
  75%  { border-radius: 48% 52% 56% 44% / 52% 46% 50% 54%; }
  100% { border-radius: 50% 45% 55% 50% / 55% 50% 50% 45%; }
}

@keyframes shimmerSweep {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroImageReveal {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---- Hero Section ---- */
.hero .hero-label { animation: fadeInUp 0.6s ease forwards; }
.hero h1 { animation: fadeInUp 0.7s ease 0.15s both; }
.hero p.lead { animation: fadeInUp 0.7s ease 0.3s both; }
.hero-actions { animation: fadeInUp 0.7s ease 0.45s both; }
.hero-visual { animation: scaleIn 1s cubic-bezier(.22,.61,.36,1) 0.2s both; }
.hero-blob { animation: blobMorph 8s ease-in-out infinite; }
.hero-image { animation: heroImageReveal 1.2s cubic-bezier(.22,.61,.36,1) 0.3s both; }
.hero-seal { animation: float 4s ease-in-out infinite, pulseGlow 3s ease-in-out 2s infinite; }

/* ---- Section entrance (scroll-reveal ready) ---- */
.section {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(18px);
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.why-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
}
.why-card.visible { opacity: 1; transform: translateY(0); }
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px -10px rgba(190, 87, 119, 0.18);
}

/* ---- Product cards ---- */
.card-product {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow;
}
.card-product.visible { opacity: 1; transform: translateY(0); }
.card-product:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 52px -12px rgba(190, 87, 119, 0.22);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Contact section ---- */
.contact-wrap { animation: scaleIn 0.8s cubic-bezier(.22,.61,.36,1) both; }
.contact-item { animation: slideInLeft 0.6s ease both; }
.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-card { animation: slideInRight 0.7s ease 0.3s both; }

/* ---- Buttons with shimmer ---- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,0.13), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(100%); }
.btn-primary:active { transform: scale(0.97); }

/* ---- Pill filters ---- */
.pill { transition: all 0.25s cubic-bezier(.22,.61,.36,1); }
.pill:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(190,87,119,0.12); }

/* ---- Page header ---- */
.page-header { animation: fadeInUp 0.7s ease both; }
.breadcrumb { animation: slideInLeft 0.5s ease both; }
.toolbar { animation: fadeInUp 0.6s ease 0.15s both; }

/* ---- Detail page ---- */
.detail-media { animation: scaleIn 0.7s cubic-bezier(.22,.61,.36,1) both; }
.detail-info { animation: slideInRight 0.7s ease 0.15s both; }
.detail-info .badge-cat { animation: fadeInUp 0.5s ease 0.2s both; }
.detail-info h1 { animation: fadeInUp 0.6s ease 0.25s both; }
.detail-price-row { animation: fadeInUp 0.6s ease 0.3s both; }
.detail-desc { animation: fadeInUp 0.6s ease 0.35s both; }
.detail-bullets li { animation: slideInLeft 0.5s ease both; }
.detail-bullets li:nth-child(1) { animation-delay: 0.4s; }
.detail-bullets li:nth-child(2) { animation-delay: 0.45s; }
.detail-bullets li:nth-child(3) { animation-delay: 0.5s; }
.detail-actions { animation: fadeInUp 0.6s ease 0.5s both; }

/* ---- Admin panels ---- */
.panel { animation: fadeInUp 0.6s ease both; }
.stat-card { animation: countUp 0.5s ease both; }
.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }

/* ---- Order cards ---- */
.order-card { animation: slideInLeft 0.5s ease both; }
.order-card:nth-child(1) { animation-delay: 0.05s; }
.order-card:nth-child(2) { animation-delay: 0.1s; }
.order-card:nth-child(3) { animation-delay: 0.15s; }
.order-card:nth-child(4) { animation-delay: 0.2s; }
.order-card:nth-child(5) { animation-delay: 0.25s; }

/* ---- Footer ---- */
.site-footer { animation: fadeInUp 0.8s ease both; }

/* ---- Mobile menu ---- */
.mobile-menu {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.nav-toggle span {
  transition: transform 0.3s cubic-bezier(.22,.61,.36,1), opacity 0.3s ease;
}
.mobile-menu.open + .nav-cta .nav-toggle span:nth-child(1),
.mobile-menu.open ~ .nav-cta .nav-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.mobile-menu.open + .nav-cta .nav-toggle span:nth-child(2),
.mobile-menu.open ~ .nav-cta .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.mobile-menu.open + .nav-cta .nav-toggle span:nth-child(3),
.mobile-menu.open ~ .nav-cta .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ---- Modal animation ---- */
.modal-overlay.open { animation: fadeIn 0.25s ease both; }
.modal-overlay.open .modal { animation: scaleIn 0.35s cubic-bezier(.22,.61,.36,1) both; }

/* ---- Toast enhancement ---- */
.toast {
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.22,.61,.36,1), opacity 0.4s ease;
}
.toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ---- Empty state ---- */
.empty-state.show { animation: fadeInUp 0.6s ease both; }

/* ---- Footer links ---- */
.footer-col a { position: relative; }
.footer-col a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--rose-gold-lt);
  transition: width 0.3s cubic-bezier(.22,.61,.36,1);
}
.footer-col a:hover::after { width: 100%; }

/* ---- Sales bars ---- */
.sales-bar-fill {
  transition: width 0.8s cubic-bezier(.22,.61,.36,1);
}

/* ---- Staggered reveal classes (for Intersection Observer) ---- */
.reveal { opacity: 0; }
.reveal.visible { animation: fadeInUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.3s; }
.reveal-delay-4 { animation-delay: 0.4s; }
.reveal-delay-5 { animation-delay: 0.5s; }
