:root {
  --coral: #ee5a4a;
  --coral-d: #d64536;
  --coral-s: #fff1ee;
  --blush: #f8e4de;
  --cream: #fbf6f2;
  --cream-2: #f6eee8;
  --sand: #f3e8dc;
  --mint: #e7f6ee;
  --lilac: #f3eef8;
  --ink: #241f1e;
  --muted: #8a817c;
  --navy: #101828;
  --navy-2: #182338;
  --line: #efe4dc;
  --white: #fff;
  --star: #f5a524;
  --green: #1f9d57;
  --shadow: 0 14px 34px rgba(90, 48, 36, 0.08);
  --radius: 18px;
  --max: 1240px;
  --font: "Roboto", "Segoe UI", sans-serif;
  --display: "Jost", "Trebuchet MS", sans-serif;
  --script: "Great Vibes", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 0.4em; }
p { margin: 0 0 0.8em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.script { font-family: var(--script); color: var(--coral); font-size: 32px; line-height: 1; margin: 0; }
.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: 36px; font-weight: 600; }
.section-head p { color: var(--muted); margin: 0; max-width: 460px; }
.link-arrow { color: var(--coral); font-weight: 700; font-family: var(--display); }
.link-arrow:hover { color: var(--coral-d); }

.btn, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 13px 26px; border: 1px solid transparent;
  font-family: var(--display); font-weight: 600; letter-spacing: 0.02em;
  transition: 0.2s ease;
}
.btn { background: var(--coral); color: white; }
.btn:hover { background: var(--coral-d); }
.btn-line { background: transparent; border-color: currentColor; }
.btn-dark { background: var(--navy); color: white; }
.btn-dark:hover { background: #24344f; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.announce {
  background: var(--navy);
  color: #f7ebe6;
  text-align: center;
  font-size: 14px;
  padding: 8px 16px;
}
.announce a { color: #ffd0c8; font-weight: 700; }

.header { background: white; position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 var(--line); }
.header-top { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 16px 0 12px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.brand img { width: 48px; height: 48px; }
.brand strong { display: block; font-family: var(--display); font-size: 26px; letter-spacing: -0.03em; line-height: 1; }
.brand small { display: block; color: var(--muted); letter-spacing: 0.16em; font-size: 10px; text-transform: uppercase; margin-top: 3px; }

.search { display: flex; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.search select, .search input { border: 0; background: transparent; padding: 12px 14px; outline: none; }
.search select { border-right: 1px solid var(--line); max-width: 150px; }
.search input { flex: 1; min-width: 0; }
.search button { background: var(--coral); color: white; border: 0; padding: 0 22px; font-weight: 700; }
.search button:hover { background: var(--coral-d); }
.search-wrap { position: relative; }
.search-error { position: absolute; left: 18px; bottom: -18px; color: var(--coral-d); font-size: 12px; }

.tools { display: flex; align-items: center; gap: 8px; }
.tool {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: white; display: grid; place-items: center; position: relative;
}
.tool:hover { border-color: var(--coral); color: var(--coral); }
.tool .count {
  position: absolute; top: -4px; right: -4px; background: var(--coral); color: white;
  border-radius: 99px; min-width: 18px; height: 18px; font-size: 11px; display: grid; place-items: center; padding: 0 4px;
}
.cart-tool { width: auto; border-radius: 999px; padding: 0 14px 0 8px; gap: 8px; display: flex; }
.cart-tool small { display: block; color: var(--muted); font-size: 11px; line-height: 1; }
.cart-tool b { font-size: 14px; }

.nav-row { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; }
.burger { display: none; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 8px 10px; }
.cat-menu { position: relative; }
.cat-btn { background: var(--coral); color: white; border: 0; border-radius: 12px; padding: 12px 16px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.cat-panel {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; width: 280px;
  background: white; border-radius: 16px; box-shadow: var(--shadow); padding: 10px; z-index: 20;
}
.cat-menu:hover .cat-panel, .cat-menu.open .cat-panel { display: block; }
.cat-panel a { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; }
.cat-panel a:hover { background: var(--coral-s); color: var(--coral-d); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; flex-wrap: wrap; }
.nav-links a { padding: 10px 12px; border-radius: 10px; font-family: var(--display); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--coral); }

.hero { position: relative; padding: 18px 0 10px; overflow: hidden; }
.hero-panel {
  background: linear-gradient(90deg, #fbf3ee 0%, #f7e7e1 48%, #f8efe8 100%);
  border-radius: 28px; min-height: 520px; display: grid; grid-template-columns: 1.1fr 0.7fr 0.9fr;
  align-items: center; padding: 36px 42px; position: relative; overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; max-width: 460px; }
.hero-copy h1 { font-size: 58px; font-weight: 600; letter-spacing: -0.03em; margin: 8px 0 14px; }
.hero-copy p { color: #5e564f; font-size: 17px; }
.hero-word {
  position: absolute; left: 6%; bottom: 8px; font-family: var(--script); font-size: 130px;
  color: rgba(238, 90, 74, 0.16); pointer-events: none; line-height: 0.8; z-index: 1;
}
.hero-lipstick { height: 430px; object-fit: contain; position: relative; z-index: 2; justify-self: center; }
.hero-model { position: relative; z-index: 2; justify-self: end; }
.hero-model img.model { width: 320px; height: 460px; object-fit: cover; border-radius: 180px 180px 28px 28px; }
.float-card {
  position: absolute; left: -30px; bottom: 54px; background: white; border-radius: 16px;
  box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; padding: 10px; width: 230px;
}
.float-card img { width: 54px; height: 54px; object-fit: cover; border-radius: 12px; }
.float-card strong { display: block; font-size: 14px; font-family: var(--display); }
.float-card span { color: var(--coral); font-weight: 700; }
.hero-dots { display: flex; gap: 6px; margin-top: 16px; }
.hero-dots i { width: 8px; height: 8px; border-radius: 50%; background: #e4cfc6; display: block; }
.hero-dots i.on { width: 22px; border-radius: 99px; background: var(--coral); }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card { text-align: center; }
.cat-card .oval {
  width: 180px; height: 220px; margin: 0 auto 12px; border-radius: 999px; overflow: hidden;
  border: 4px solid white; box-shadow: var(--shadow); background: white;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.35s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card h3 { font-size: 18px; }
.cat-card span { color: var(--coral); font-weight: 700; font-size: 14px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: white; border-radius: 20px; padding: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-media { position: relative; border-radius: 16px; overflow: hidden; background: var(--cream-2); aspect-ratio: 1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge, .badge-new {
  position: absolute; top: 10px; left: 10px; background: var(--coral); color: white;
  border-radius: 999px; font-size: 12px; font-weight: 700; padding: 4px 8px; z-index: 1;
}
.badge-new { left: auto; right: 54px; background: var(--green); }
.wish {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: white; color: var(--muted); box-shadow: var(--shadow); z-index: 1;
}
.wish.on { color: var(--coral); }
.card-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; border: 0; border-radius: 999px;
  background: var(--navy); color: white; padding: 10px; font-weight: 700; opacity: 0; transform: translateY(8px); transition: 0.2s ease;
}
.card:hover .card-add, .card-add:focus { opacity: 1; transform: none; }
@media (hover: none) {
  .card-add { opacity: 1; transform: none; }
}
.card-body { padding: 12px 6px 6px; }
.card-brand { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 4px; }
.card-body h3 { font-size: 17px; font-weight: 600; min-height: 44px; }
.card-body h3 a:hover { color: var(--coral); }
.stars { color: #ddd; letter-spacing: 1px; }
.stars .on { color: var(--star); }
.card-meta { color: var(--muted); font-size: 13px; display: flex; gap: 6px; align-items: center; }
.price { margin: 8px 0 0; }
.price del { color: var(--muted); margin-right: 6px; }
.price strong { color: var(--coral); font-size: 18px; }

.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.promo {
  position: relative; border-radius: 24px; overflow: hidden; min-height: 280px; color: white;
  display: flex; align-items: flex-end;
}
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo .shade { position: relative; z-index: 1; padding: 28px; background: linear-gradient(transparent, rgba(20, 12, 10, 0.72)); width: 100%; }
.promo h3 { font-size: 30px; color: white; }
.wide-promo {
  margin-top: 18px; border-radius: 24px; overflow: hidden; min-height: 300px; position: relative;
  display: grid; grid-template-columns: 1fr 1.2fr; background: #f6e5dc;
}
.wide-promo img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.wide-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.wide-copy h2 { font-size: 42px; }

.offer {
  background: white; border-radius: 24px; padding: 28px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: center;
  box-shadow: var(--shadow);
}
.clock { display: flex; gap: 10px; margin: 16px 0 20px; }
.clock div { background: var(--coral-s); border-radius: 14px; min-width: 72px; text-align: center; padding: 10px 6px; }
.clock b { display: block; font-family: var(--display); font-size: 28px; color: var(--coral-d); }
.clock span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.offer-art { border-radius: 18px; height: 260px; width: 100%; object-fit: cover; }

.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.blog-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card div { padding: 16px 18px 20px; }
.blog-card small { color: var(--coral); font-weight: 700; letter-spacing: 0.04em; }
.blog-card h3 { font-size: 22px; }

.brand-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.brand-pill {
  background: white; border-radius: 16px; padding: 22px 10px; text-align: center; box-shadow: var(--shadow);
  font-family: var(--display); font-size: 20px; font-weight: 600;
}
.brand-pill:hover { color: var(--coral); }

.studio-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.studio-grid img { height: 160px; width: 100%; object-fit: cover; border-radius: 16px; }
.studio-grid a:hover img { filter: saturate(1.08); }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.trust article { background: white; border-radius: 16px; padding: 18px; display: flex; gap: 12px; align-items: flex-start; box-shadow: var(--shadow); }
.trust i { width: 42px; height: 42px; border-radius: 12px; background: var(--coral-s); color: var(--coral); display: grid; place-items: center; font-style: normal; font-weight: 700; flex: none; }
.trust h3 { font-size: 16px; margin: 0; }
.trust p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.footer { background: var(--navy); color: #d9e0ea; margin-top: 20px; }
.footer a:hover { color: white; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr; gap: 28px; padding: 48px 0 28px; }
.footer-grid > div { min-width: 0; }
.footer h3 { color: white; font-size: 18px; margin-bottom: 12px; }
.footer .brand strong, .footer .brand small { color: white; }
.footer .brand small { color: #ffd0c8; }
.footer li { margin: 8px 0; }
.social { display: flex; gap: 8px; margin: 12px 0; }
.social a, .share a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #24344a; color: white; font-size: 13px; font-weight: 700;
}
.social a:hover, .share a:hover { background: var(--coral); }
.footer-form { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-form input { flex: 1; border: 0; border-radius: 999px; padding: 12px 14px; }
.footer-form button { border: 0; }
.footer-form .error-msg { flex-basis: 100%; }
.fine { color: #9aa6b5; font-size: 13px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 14px 0 18px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center;
}
.legal { display: flex; gap: 14px; flex-wrap: wrap; }
.legal a { color: #ffd0c8; }

.page-banner { padding: 34px 0 10px; }
.page-banner h1 { font-size: 46px; }
.crumbs { color: var(--muted); }
.crumbs a:hover { color: var(--coral); }

.layout { display: grid; grid-template-columns: 270px 1fr; gap: 22px; padding-bottom: 60px; }
.filters { background: white; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); height: fit-content; position: sticky; top: 110px; }
.filters h2 { font-size: 18px; }
.filters label { display: flex; gap: 8px; align-items: center; margin: 8px 0; font-size: 15px; }
.filters input[type="range"] { width: 100%; }
.shop-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 14px; }
.shop-bar select, .field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 12px 14px; outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-family: var(--display); }
.invalid { border-color: var(--coral-d) !important; background: #fff8f7; }
.error-msg { color: var(--coral-d); font-size: 13px; margin: 6px 0 0; }
.form-note { background: var(--mint); border-radius: 14px; padding: 14px 16px; color: #14643a; }
.form-alert { background: var(--coral-s); border-radius: 14px; padding: 12px 14px; color: var(--coral-d); margin-bottom: 12px; }
.prose { background: white; border-radius: 24px; padding: 28px 32px; box-shadow: var(--shadow); }
.prose h2 { font-size: 28px; margin-top: 1.2em; }
.prose h3 { font-size: 20px; margin-top: 1em; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin: 6px 0; }

.product { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: white; border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.product-photo { border-radius: 18px; width: 100%; height: 520px; object-fit: cover; background: var(--cream); }
.qty { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
.qty button, .qty input { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: white; text-align: center; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.tabs { display: flex; gap: 8px; margin: 22px 0 12px; flex-wrap: wrap; }
.tabs button { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 14px; }
.tabs button.on { background: var(--navy); color: white; border-color: var(--navy); }
.detail { background: white; border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); }

.cart-table { width: 100%; border-collapse: collapse; background: white; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.cart-table th, .cart-table td { text-align: left; padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.summary { background: white; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.summary row, .sum-line { display: flex; justify-content: space-between; margin: 8px 0; }
.remove { border: 0; background: transparent; color: var(--coral-d); font-weight: 700; }

.vendor-grid, .info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card, .vendor-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.info-card { padding: 18px; }
.vendor-card img { height: 180px; width: 100%; object-fit: cover; }
.vendor-card div, .split > div { padding: 16px 18px 20px; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: start; }
.panel { background: white; border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.tone-1 { background: var(--coral-s); } .tone-2 { background: var(--sand); } .tone-3 { background: var(--mint); } .tone-4 { background: var(--lilac); }

.drawer-back { position: fixed; inset: 0; background: rgba(16, 24, 40, 0.45); z-index: 60; display: none; }
.drawer-back.open { display: block; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: white; z-index: 70;
  transform: translateX(100%); transition: 0.25s ease; display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer header, .drawer footer { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer footer { border-bottom: 0; border-top: 1px solid var(--line); }
.drawer .items { padding: 10px 18px; overflow: auto; flex: 1; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.empty { background: white; border-radius: 20px; padding: 28px; text-align: center; box-shadow: var(--shadow); }

@media (max-width: 1020px) {
  .hero-panel, .offer, .wide-promo, .layout, .product, .split, .footer-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .product-grid, .cat-grid, .trust, .vendor-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-row, .studio-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-copy h1 { font-size: 42px; }
  .hero-lipstick { height: 280px; }
  .hero-model { justify-self: center; }
  .header-top { grid-template-columns: 1fr auto; }
  .search-wrap { grid-column: 1 / -1; order: 3; }
  .filters { position: static; }
  .cart-tool span { display: none; }
}

@media (max-width: 760px) {
  .burger { display: inline-flex; }
  .nav-links, .cat-menu { display: none; }
  body.nav-open .nav-links, body.nav-open .cat-menu { display: flex; }
  body.nav-open .nav-row { flex-wrap: wrap; }
  body.nav-open .nav-links { flex-direction: column; width: 100%; margin: 0; background: white; }
  body.nav-open .cat-panel { position: static; width: 100%; box-shadow: none; }
  .product-grid, .cat-grid, .promo-grid, .trust, .vendor-grid, .info-grid, .brand-row, .studio-grid, .blog-grid { grid-template-columns: 1fr; }
  .hero-panel { padding: 22px 16px 28px; }
  .hero-word { font-size: 72px; }
  .hero-model img.model { width: 220px; height: 300px; }
  .float-card { left: 8px; width: 200px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head h2, .page-banner h1, .wide-copy h2 { font-size: 32px; }
  .footer-form { flex-direction: column; }
  .studio-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
