/* =========================================================
   AnimateVIP — design tokens
   Palette: linen canvas, wet-ink text, primer-pink + verdigris
   + brass-gold accents. Signature motif: hand-drawn brushstroke.
   ========================================================= */

@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;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600&display=swap');

:root{
  --linen:   #FAF6F1;
  --paper:   #FFFFFF;
  --ink:     #2B2230;
  --stone:   #8B8178;
  --rose:    #C97B84;
  --rose-dk: #A85F6A;
  --sage:    #7C9885;
  --sage-dk: #5F7A67;
  --gold:    #B08D57;
  --line:    #E7DFD5;

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 3px;
  --shadow: 0 1px 2px rgba(43,34,48,.04), 0 8px 24px rgba(43,34,48,.06);
  --shadow-lift: 0 14px 34px rgba(43,34,48,.12);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--linen);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--serif); font-weight:500; margin:0 0 .5em; letter-spacing:-0.01em; }
p{ margin:0 0 1em; color:var(--ink); }
.container{ max-width:1180px; margin:0 auto; padding:0 28px; }
.muted{ color:var(--stone); }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- brushstroke signature motif ---------- */
.brush{
  display:block;
  width:96px; height:14px;
  margin-top:6px;
}
.brush.center{ margin-left:auto; margin-right:auto; }
.brush path{ fill:var(--rose); opacity:.85; }
.brush.sage path{ fill:var(--sage); }
.brush.gold path{ fill:var(--gold); }
.brush.lg{ width:160px; height:22px; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--sans); font-weight:600; font-size:.92rem;
  padding:13px 26px; border-radius:var(--radius);
  border:1px solid transparent; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:focus-visible{ outline:2px solid var(--ink); outline-offset:2px; }
.btn-primary{ background:var(--rose); color:#fff; }
.btn-primary:hover{ background:var(--rose-dk); transform:translateY(-1px); box-shadow:var(--shadow-lift); }
.btn-outline{ background:transparent; border-color:var(--ink); color:var(--ink); }
.btn-outline:hover{ background:var(--ink); color:var(--linen); }
.btn-sage{ background:var(--sage); color:#fff; }
.btn-sage:hover{ background:var(--sage-dk); }
.btn-block{ width:100%; justify-content:center; }
.btn[disabled]{ opacity:.5; cursor:not-allowed; }

/* ---------- nav ---------- */
.site-nav{
  position:sticky; top:0; z-index:50;
  background:rgba(250,246,241,.92); backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.site-nav .row{ display:flex; align-items:center; justify-content:space-between; padding:18px 28px; }
.logo{ font-family:var(--serif); font-style:italic; font-size:1.5rem; }
.nav-links{ display:flex; gap:30px; align-items:center; font-size:.92rem; font-weight:500; }
.nav-links a{ position:relative; padding-bottom:4px; }
.nav-links a:hover{ color:var(--rose-dk); }
.cart-btn{ position:relative; }
.cart-count{
  position:absolute; top:-8px; right:-12px; background:var(--rose); color:#fff;
  font-size:.65rem; font-weight:600; width:18px; height:18px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; }

@media (max-width:800px){
  .nav-links{ display:none; }
  .nav-toggle{ display:block; }
  .nav-links.open{
    display:flex; position:absolute; top:100%; left:0; right:0; flex-direction:column;
    background:var(--paper); padding:20px 28px; border-bottom:1px solid var(--line); gap:16px;
  }
}

/* ---------- hero (salon hang) ---------- */
.hero{ padding:64px 0 40px; }
.hero .row{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(2.1rem,4.2vw,3.4rem); line-height:1.08; }
.hero h1 em{ font-style:italic; color:var(--rose-dk); }
.hero p.lead{ font-size:1.08rem; color:var(--stone); max-width:44ch; margin:18px 0 28px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

.salon-wall{
  position:relative; height:440px;
}
.frame{
  position:absolute; background:var(--paper); padding:10px 10px 26px;
  box-shadow:var(--shadow); border-radius:2px;
  transition:transform .25s ease, box-shadow .25s ease;
}
.frame img{ width:100%; height:100%; object-fit:cover; }
.frame:hover{ transform:rotate(0deg) scale(1.03) !important; box-shadow:var(--shadow-lift); z-index:5; }
.frame.f1{ width:190px; height:230px; top:0;    left:8%;  transform:rotate(-4deg); }
.frame.f2{ width:150px; height:190px; top:20px; left:56%; transform:rotate(3deg); }
.frame.f3{ width:170px; height:210px; top:200px;left:2%;  transform:rotate(2deg); }
.frame.f4{ width:160px; height:200px; top:230px;left:52%; transform:rotate(-3deg); }
.frame.f5{ width:120px; height:150px; top:10px; left:36%; transform:rotate(-1deg); z-index:2;}
@media (max-width:900px){ .salon-wall{ display:none; } .hero .row{ grid-template-columns:1fr; } }

/* ---------- section headers ---------- */
.section{ padding:64px 0; }
.section-head{ text-align:center; max-width:560px; margin:0 auto 40px; }
.section-head h2{ font-size:clamp(1.6rem,3vw,2.2rem); }
.eyebrow{ font-family:var(--sans); font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color:var(--sage-dk); font-weight:600; }

/* ---------- category pills ---------- */
.pill-row{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin:28px 0 8px; }
.pill{
  border:1px solid var(--line); background:var(--paper); padding:8px 18px; border-radius:99px;
  font-size:.85rem; font-weight:500; cursor:pointer; transition:.15s;
}
.pill:hover, .pill.active{ border-color:var(--sage); background:var(--sage); color:#fff; }

/* ---------- product grid / card ---------- */
.grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
@media (max-width:1000px){ .grid{ grid-template-columns:repeat(3,1fr);} }
@media (max-width:700px){ .grid{ grid-template-columns:repeat(2,1fr); gap:16px;} }

.card{
  background:var(--paper); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow); transition:transform .2s ease, box-shadow .2s ease;
  display:flex; flex-direction:column;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lift); }
.card .thumb{ aspect-ratio:4/5; overflow:hidden; background:var(--line); position:relative;}
.card .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.card:hover .thumb img{ transform:scale(1.05); }
.card .body{ padding:16px 16px 18px; display:flex; flex-direction:column; gap:6px; flex:1; }
.card .cat{ font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:var(--sage-dk); font-weight:600; }
.card h3{ font-size:1.02rem; font-weight:500; line-height:1.3; }
.card .price{ margin-top:auto; font-family:var(--serif); color:var(--gold); font-size:1.15rem; padding-top:6px; }
.card .price s{ color:var(--stone); font-size:.85rem; margin-left:6px; }

.cta-row{ text-align:center; margin-top:44px; }

/* ---------- how it works ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
@media (max-width:800px){ .steps{ grid-template-columns:1fr; } }
.step{ text-align:center; padding:0 12px; }
.step .num{ font-family:var(--serif); font-style:italic; font-size:2.2rem; color:var(--rose); }
.step h3{ margin-top:6px; }

/* ---------- artist story / pull quote ---------- */
.story{ background:var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.story .row{ display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center; }
.story blockquote{
  font-family:var(--serif); font-style:italic; font-size:1.5rem; line-height:1.4;
  margin:0 0 20px; color:var(--ink);
}
.story-photo{
  aspect-ratio:1/1; background:linear-gradient(135deg,var(--sage) 0%, var(--rose) 100%);
  border-radius:var(--radius); box-shadow:var(--shadow);
}
@media (max-width:800px){ .story .row{ grid-template-columns:1fr; } }

/* ---------- footer ---------- */
.site-footer{ background:var(--ink); color:var(--linen); padding:56px 0 30px; margin-top:40px; }
.site-footer .row{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.site-footer h4{ color:#fff; font-size:.95rem; margin-bottom:14px; }
.site-footer a{ color:#cfc4c9; display:block; margin-bottom:8px; font-size:.9rem; }
.site-footer a:hover{ color:#fff; }
.foot-bottom{ margin-top:44px; padding-top:22px; border-top:1px solid #453a4a; font-size:.8rem; color:#a99fae; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;}

/* ---------- breadcrumb / page header ---------- */
.page-head{ padding:48px 0 8px; text-align:center; }
.page-head h1{ font-size:clamp(1.8rem,3.6vw,2.6rem); }

/* ---------- product detail ---------- */
.product-detail{ display:grid; grid-template-columns:1fr 1fr; gap:56px; padding:48px 0 80px; }
@media (max-width:850px){ .product-detail{ grid-template-columns:1fr; gap:30px; } }
.gallery-main{ aspect-ratio:4/5; background:var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); margin-bottom:12px; }
.gallery-main img{ width:100%; height:100%; object-fit:cover; }
.gallery-thumbs{ display:flex; gap:10px; }
.gallery-thumbs img{ width:70px; height:70px; object-fit:cover; border-radius:2px; cursor:pointer; border:2px solid transparent; opacity:.7; }
.gallery-thumbs img.active{ border-color:var(--rose); opacity:1; }
.pd-info .cat{ font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; color:var(--sage-dk); font-weight:600; }
.pd-info h1{ font-size:2rem; margin:10px 0 14px; }
.pd-price{ font-family:var(--serif); font-size:1.8rem; color:var(--gold); margin-bottom:20px; }
.pd-desc{ color:var(--stone); margin-bottom:26px; }
.pd-features{ list-style:none; padding:0; margin:0 0 30px; display:flex; flex-direction:column; gap:8px; font-size:.92rem; }
.pd-features li{ display:flex; gap:10px; align-items:flex-start; }
.pd-features svg{ flex-shrink:0; margin-top:3px; }

/* ---------- cart drawer ---------- */
.cart-overlay{ position:fixed; inset:0; background:rgba(43,34,48,.4); z-index:90; opacity:0; pointer-events:none; transition:opacity .2s; }
.cart-overlay.open{ opacity:1; pointer-events:auto; }
.cart-drawer{
  position:fixed; top:0; right:0; height:100%; width:400px; max-width:92vw; background:var(--paper);
  z-index:91; transform:translateX(100%); transition:transform .25s ease; display:flex; flex-direction:column;
  box-shadow:-10px 0 30px rgba(0,0,0,.15);
}
.cart-drawer.open{ transform:translateX(0); }
.cart-head{ padding:22px 24px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; }
.cart-items{ flex:1; overflow-y:auto; padding:16px 24px; }
.cart-item{ display:flex; gap:12px; padding:14px 0; border-bottom:1px solid var(--line); }
.cart-item img{ width:64px; height:64px; object-fit:cover; border-radius:2px; }
.cart-item .ci-body{ flex:1; }
.cart-item .ci-title{ font-size:.9rem; font-weight:500; margin-bottom:4px; }
.cart-item .ci-remove{ font-size:.78rem; color:var(--stone); text-decoration:underline; cursor:pointer; background:none; border:none; padding:0; }
.cart-foot{ padding:20px 24px; border-top:1px solid var(--line); }
.cart-empty{ text-align:center; padding:60px 20px; color:var(--stone); }

/* ---------- forms ---------- */
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:.85rem; font-weight:600; margin-bottom:6px; }
.field input, .field textarea, .field select{
  width:100%; padding:11px 13px; border:1px solid var(--line); border-radius:var(--radius);
  font-family:var(--sans); font-size:.95rem; background:var(--paper); color:var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus{ outline:2px solid var(--sage); outline-offset:1px; }
.field textarea{ resize:vertical; min-height:100px; }

/* ---------- blog ---------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
@media (max-width:800px){ .blog-grid{ grid-template-columns:1fr; } }
.blog-card img{ aspect-ratio:16/10; object-fit:cover; border-radius:var(--radius); margin-bottom:14px; }
.blog-card .date{ font-size:.78rem; color:var(--stone); text-transform:uppercase; letter-spacing:.06em; }
.blog-card h3{ margin:8px 0 8px; }
.post-body{ max-width:720px; margin:0 auto; padding:0 0 80px; }
.post-body img{ border-radius:var(--radius); margin:26px 0; }
.post-body h2{ margin-top:1.4em; }
.post-cover{ aspect-ratio:16/8; object-fit:cover; border-radius:var(--radius); width:100%; margin-bottom:20px; }
.post-cta{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px; display:flex; gap:16px; align-items:center; margin:34px 0;
}
.post-cta img{ width:80px; height:80px; object-fit:cover; border-radius:2px; margin:0; }

/* ---------- misc utility ---------- */
.center{ text-align:center; }
.stack{ display:flex; flex-direction:column; gap:10px; }
.toast{
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--ink); color:#fff; padding:12px 22px; border-radius:var(--radius);
  font-size:.9rem; opacity:0; pointer-events:none; transition:.25s; z-index:200;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }
.loading{ text-align:center; padding:60px 0; color:var(--stone); }
.badge{ display:inline-block; background:var(--sage); color:#fff; font-size:.7rem; font-weight:600; padding:3px 9px; border-radius:99px; }

/* ---------- admin ---------- */
.admin-shell{ display:flex; min-height:100vh; }
.admin-side{ width:220px; background:var(--ink); color:var(--linen); padding:28px 20px; flex-shrink:0; }
.admin-side .logo{ color:#fff; margin-bottom:34px; display:block; }
.admin-side a{ display:block; padding:10px 12px; border-radius:var(--radius); font-size:.9rem; margin-bottom:4px; color:#cfc4c9; }
.admin-side a.active, .admin-side a:hover{ background:#3d3242; color:#fff; }
.admin-main{ flex:1; padding:36px 40px; max-width:1100px; }
.admin-table{ width:100%; border-collapse:collapse; background:var(--paper); box-shadow:var(--shadow); border-radius:var(--radius); overflow:hidden; }
.admin-table th, .admin-table td{ text-align:left; padding:12px 16px; border-bottom:1px solid var(--line); font-size:.9rem; }
.admin-table th{ background:var(--linen); font-weight:600; font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; color:var(--stone); }
.admin-table img{ width:44px; height:44px; object-fit:cover; border-radius:2px; }
.admin-bar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:26px; }
.modal-overlay{ position:fixed; inset:0; background:rgba(43,34,48,.5); z-index:150; display:flex; align-items:center; justify-content:center; padding:20px; }
.modal{ background:var(--paper); border-radius:var(--radius); padding:30px; width:560px; max-width:100%; max-height:88vh; overflow-y:auto; }
.login-shell{ min-height:100vh; display:flex; align-items:center; justify-content:center; }
.login-box{ background:var(--paper); padding:44px; border-radius:var(--radius); box-shadow:var(--shadow); width:360px; max-width:92vw; }
.icon-btn{ background:none; border:1px solid var(--line); border-radius:var(--radius); padding:6px 10px; cursor:pointer; font-size:.8rem; margin-right:6px; }
.icon-btn:hover{ background:var(--linen); }
.thumb-row{ display:flex; gap:8px; flex-wrap:wrap; margin-top:8px; }
.thumb-row img{ width:56px; height:56px; object-fit:cover; border-radius:2px; }
.file-chip{ display:inline-flex; align-items:center; gap:8px; background:var(--linen); border:1px solid var(--line); padding:6px 12px; border-radius:99px; font-size:.82rem; margin-top:6px; }

/* ---------- whatsapp bubble ---------- */
.whatsapp-bubble{
  position:fixed; bottom:22px; right:22px; z-index:120;
  width:56px; height:56px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.22); transition:transform .15s ease;
}
.whatsapp-bubble:hover{ transform:scale(1.07); }
.whatsapp-bubble svg{ width:28px; height:28px; }
@media (max-width:700px){ .whatsapp-bubble{ bottom:16px; right:16px; width:50px; height:50px; } }

/* ---------- policy note ---------- */
.policy-note{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius);
  padding:20px 22px; margin:18px 0; font-size:.92rem; color:var(--stone);
}
.policy-note strong{ color:var(--ink); }

/* ---------- contact form ---------- */
.contact-form{ max-width:480px; margin-top:18px; }
.contact-form .field textarea{ min-height:120px; }
.contact-status{ font-size:.88rem; margin-top:10px; }
.contact-status.ok{ color:var(--sage-dk); }
.contact-status.err{ color:var(--rose-dk); }
