:root {
  --ivory: #fbf6f1;
  --blush: #f6dde2;
  --rose: #b83b6e;
  --rose-dark: #962c58;
  --plum: #3d1a2c;
  --gold: #c9a15a;
  --text: #261a20;
  --muted: #7b6b72;
  --line: #ecdfe0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(184, 59, 110, 0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: "Poppins", sans-serif; color: var(--text); background: var(--ivory); line-height: 1.65; }
h1, h2, h3 { font-family: "Cormorant Garamond", serif; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.section { padding: 64px 0; }
.band { background: #fff; }

/* Buttons */
.btn { background: var(--rose); color: #fff; padding: 12px 28px; border-radius: 999px; font-weight: 500; display: inline-block; transition: .2s; text-align: center; }
.btn:hover { background: var(--rose-dark); transform: translateY(-1px); }
.btn.full { width: 100%; }
.btn.wa { background: #1faa59; } .btn.wa:hover { background: #178a47; }
.btn-outline { border: 1.5px solid var(--rose); color: var(--rose); padding: 10px 24px; border-radius: 999px; font-weight: 500; display: inline-block; transition: .2s; }
.btn-outline:hover { background: var(--rose); color: #fff; }
.icon-btn { font-size: 19px; padding: 6px 8px; }
.count { background: var(--rose); color: #fff; font-size: 11px; border-radius: 999px; padding: 1px 7px; vertical-align: top; }

/* Header */
.announce { background: var(--plum); color: #f5e6c8; text-align: center; font-size: 13px; padding: 8px 10px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { font-family: "Cormorant Garamond", serif; font-size: 25px; font-weight: 700; white-space: nowrap; }
.logo span { color: var(--rose); font-style: italic; }
.logo.light { color: #fff; }
.nav { display: flex; gap: 26px; margin-left: 18px; font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--rose); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.call { font-size: 14px; font-weight: 500; color: var(--rose-dark); }
.menu-toggle { display: none; }

/* Hero */
.hero { background: linear-gradient(125deg, var(--blush), #fdf0ea 55%, #f1cdd8); padding: 70px 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 12px; font-weight: 600; color: var(--rose); }
.hero h1 { font-size: clamp(38px, 6vw, 68px); margin: 12px 0 16px; color: var(--plum); }
.lead { color: #5b4a52; max-width: 520px; margin-bottom: 26px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { display: flex; justify-content: center; align-items: flex-end; gap: 22px; min-height: 260px; }
.hero-art .nailset { transform: scale(1.5); transform-origin: bottom center; }
.hero-art .nailset:nth-child(2) { transform: scale(1.8) rotate(4deg); }

.trust { background: var(--plum); color: #f5e6c8; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0; font-size: 14px; }
.trust-grid div { display: flex; flex-direction: column; }
.trust-grid span { font-size: 12px; opacity: .75; }

.title { text-align: center; font-size: clamp(30px, 4vw, 44px); color: var(--plum); }
.title.left { text-align: left; }
.subtitle { text-align: center; color: var(--muted); margin: 6px 0 28px; }

/* Toolbar */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; transition: .2s; }
.chip:hover { border-color: var(--rose); }
.chip.on { background: var(--rose); color: #fff; border-color: var(--rose); }
.sort { font-size: 14px; display: flex; gap: 8px; align-items: center; }
.sort select { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); font-family: inherit; background: #fff; }

/* Grids and cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-book { grid-template-columns: minmax(0, 760px); justify-content: center; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.thumb { position: relative; aspect-ratio: 1 / 1.05; background: var(--ivory); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 28px; overflow: hidden; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--rose); color: #fff; font-size: 11px; padding: 3px 12px; border-radius: 999px; z-index: 2; font-weight: 500; }
.info { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.info h3 { font-family: "Poppins", sans-serif; font-size: 15px; font-weight: 600; }
.sub { font-size: 12px; color: var(--muted); }
.desc { font-size: 13px; color: #5b4a52; }
.price { font-weight: 600; font-size: 17px; margin: 6px 0 10px; color: var(--plum); }
.add { margin-top: auto; background: var(--rose); color: #fff; padding: 11px; border-radius: 10px; font-weight: 500; font-size: 14px; transition: .2s; }
.add:hover { background: var(--rose-dark); }

/* CSS nails */
.nailset { display: flex; align-items: flex-end; gap: 7px; }
.nail { width: 30px; background: var(--c); position: relative; box-shadow: inset -4px 0 6px rgba(0,0,0,.09), inset 3px 0 5px rgba(255,255,255,.35); }
.nail::after { content: ""; position: absolute; top: 12%; left: 22%; width: 18%; height: 40%; background: rgba(255,255,255,.55); border-radius: 50%; }
.nail:nth-child(1) { height: calc(var(--h) * .8); }
.nail:nth-child(2) { height: calc(var(--h) * .95); }
.nail:nth-child(3) { height: var(--h); }
.nail:nth-child(4) { height: calc(var(--h) * .92); }
.nail:nth-child(5) { height: calc(var(--h) * .72); }
.shape-almond .nail { border-radius: 50% 50% 18% 18% / 70% 70% 14% 14%; }
.shape-oval .nail { border-radius: 50% 50% 22% 22% / 45% 45% 18% 18%; }
.shape-round .nail { border-radius: 48% 48% 18% 18% / 36% 36% 14% 14%; }
.shape-square .nail { border-radius: 4px 4px 10px 10px; }
.shape-squoval .nail { border-radius: 16px 16px 10px 10px; }
.shape-coffin .nail { clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); border-radius: 0 0 8px 8px; }
.shape-stiletto .nail { clip-path: polygon(50% 0, 100% 100%, 0 100%); border-radius: 0 0 8px 8px; }

/* Course + book visuals */
.cover { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; background: linear-gradient(135deg, var(--plum), #7a2a52); color: #f5e6c8; position: absolute; inset: 0; }
.cover .ic { font-size: 54px; }
.cover b { font-family: "Cormorant Garamond", serif; font-size: 24px; margin-top: 8px; line-height: 1.15; }
.cover small { opacity: .8; margin-top: 6px; }
.course-card .thumb { aspect-ratio: 16 / 10; padding: 0; }
.book-card { flex-direction: row; }
.book-card .thumb { width: 42%; aspect-ratio: auto; min-height: 320px; padding: 0; }
.book-card .info { padding: 28px; justify-content: center; }
.book-card .info h3 { font-family: "Cormorant Garamond", serif; font-size: 30px; }
.book-cover { position: absolute; inset: 0; background: linear-gradient(135deg, #f6dde2, #f1cdd8); display: grid; place-items: center; }
.book-cover div { width: 62%; aspect-ratio: 3/4; background: linear-gradient(135deg, var(--rose), var(--plum)); border-radius: 4px 12px 12px 4px; box-shadow: -8px 8px 24px rgba(0,0,0,.25), inset 6px 0 0 rgba(255,255,255,.18); color: #f5e6c8; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 12px; }
.book-cover b { font-family: "Cormorant Garamond", serif; font-size: 22px; line-height: 1.1; }
.book-cover small { font-size: 11px; letter-spacing: 2px; margin-top: 8px; }

/* Steps, about, faq */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 30px; text-align: center; }
.steps span { width: 46px; height: 46px; border-radius: 50%; background: var(--blush); color: var(--rose-dark); font-weight: 600; display: grid; place-items: center; margin: 0 auto 10px; font-family: "Cormorant Garamond", serif; font-size: 22px; }
.steps p { font-size: 14px; color: #5b4a52; }
.about { max-width: 800px; text-align: center; }
.about p { margin-top: 14px; color: #5b4a52; }
.faq { max-width: 800px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 500; }
.faq details p { margin-top: 8px; font-size: 14px; color: #5b4a52; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact p { margin: 10px 0; }
.contact .big { font-size: 24px; font-weight: 600; color: var(--rose-dark); }
.contact .btn { margin-top: 12px; }
.form { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; }
.form h3 { font-size: 26px; }
.form input, .form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; font-family: inherit; font-size: 14px; outline: none; background: #fff; }
.form input:focus, .form textarea:focus { border-color: var(--rose); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.footer { background: var(--plum); color: #e8d6dc; padding: 40px 0 20px; text-align: center; }
.footer-inner p { margin-top: 6px; font-size: 14px; }
.copy { opacity: .6; font-size: 12px !important; margin-top: 18px !important; }

/* Drawer / modal */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 90; opacity: 0; visibility: hidden; transition: .3s; }
.overlay.show { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 94%); background: #fff; z-index: 100; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s ease; }
.cart-drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 26px; }
.drawer-body { padding: 8px 22px; overflow-y: auto; flex: 1; }
.drawer-foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.ship-bar { padding: 14px 22px; background: var(--ivory); }
.ship-bar p { font-size: 13px; margin-bottom: 6px; }
.bar { height: 8px; background: #eadada; border-radius: 99px; overflow: hidden; }
#shipFill { height: 100%; width: 0; background: var(--rose); transition: width .4s; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mini { width: 62px; height: 62px; border-radius: 12px; background: var(--c); flex-shrink: 0; display: grid; place-items: center; font-size: 26px; }
.cart-item h5 { font-size: 13px; font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; }
.remove { font-size: 12px; color: var(--rose); margin-left: auto; align-self: flex-start; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: inherit; outline: none; }
.row { display: flex; justify-content: space-between; font-size: 14px; }
.row.total { font-weight: 600; font-size: 18px; }

.modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.55); padding: 16px; }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 20px; width: min(520px, 100%); max-height: 94vh; overflow-y: auto; }
.modal-form { border: none; background: #fff; }
.center-text { text-align: center; padding: 36px 28px; display: grid; gap: 14px; justify-items: center; }
.tick { width: 64px; height: 64px; border-radius: 50%; background: #1faa59; color: #fff; font-size: 34px; display: grid; place-items: center; }

.float { position: fixed; right: 18px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; z-index: 70; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.wa-float { bottom: 18px; background: #25d366; }
.call-float { bottom: 80px; background: var(--rose); }
.toast { position: fixed; top: 100px; left: 50%; transform: translate(-50%, -20px); background: #222; color: #fff; padding: 10px 22px; border-radius: 999px; font-size: 13px; opacity: 0; transition: .3s; z-index: 200; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner, .contact { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .grid, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-3 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: block; }
  .header-inner { gap: 8px; }
  .logo { font-size: 18px; white-space: normal; line-height: 1.1; }
  .call { display: none; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 5%; gap: 14px; margin: 0; display: none; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .book-card { flex-direction: column; }
  .book-card .thumb { width: 100%; min-height: 280px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .two { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
}

/* Hero logo */
.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-logo {
  display: block;
  width: 100%;
  max-width: 480px;
  max-height: 420px;
  height: auto;
  object-fit: contain;
}

/* Nail Size & Custom Design Options */
.size-modal {
  background: #fffaf6;
  border-radius: 18px;
  padding: 24px;
  width: min(92%, 420px);
  margin: auto;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.size-modal h3 {
  color: #7a2a52;
  margin: 0 0 8px;
}

.size-modal p {
  color: #6f6267;
  font-size: 14px;
}

.size-options {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}

.size-option {
  flex: 1;
  padding: 12px 8px;
  border: 1px solid #e5cbd5;
  border-radius: 10px;
  background: #fff;
  color: #7a2a52;
  cursor: pointer;
}

.size-option.selected {
  background: #7a2a52;
  color: #fff;
  border-color: #7a2a52;
}

.custom-design-option {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 14px 0;
  font-size: 14px;
}

.size-modal textarea {
  width: 100%;
  min-height: 80px;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #e5cbd5;
  border-radius: 10px;
  font: inherit;
  resize: vertical;
}

.size-modal .confirm-size {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 10px;
  background: #7a2a52;
  color: white;
  cursor: pointer;
  margin-top: 12px;
}

