:root {
  --pink: #ef76a7;
  --pink-soft: #fbd3e1;
  --blue: #9fd4f4;
  --blue-deep: #2f6395;
  --cream: #fffaf4;
  --ink: #272129;
  --white: #ffffff;
  --line: rgba(39, 33, 41, .14);
  --shadow: 0 24px 60px rgba(88, 48, 71, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--cream); }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.announcement { background: var(--ink); color: white; text-align: center; padding: 10px 20px; font-size: 12px; letter-spacing: .07em; }
.site-header { height: 86px; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 28px; padding: 0 5vw; background: rgba(255,250,244,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand img { width: 138px; height: 64px; object-fit: contain; object-position: center; }
.main-nav { display: flex; justify-content: center; gap: 32px; font-size: 14px; font-weight: 700; }
.main-nav a:hover { color: var(--pink); }
.cart-button { border: 0; background: var(--pink-soft); color: var(--ink); padding: 13px 17px; border-radius: 999px; font-weight: 800; cursor: pointer; }
.cart-button span { display: inline-grid; place-items: center; margin-left: 7px; width: 25px; height: 25px; background: var(--ink); color: white; border-radius: 50%; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 24px; }

.hero { min-height: 760px; display: grid; grid-template-columns: 1.03fr .97fr; gap: 4vw; align-items: center; padding: 56px 5vw 72px; overflow: hidden; background: radial-gradient(circle at 4% 5%, #ffd9e7 0 15%, transparent 38%), radial-gradient(circle at 87% 88%, #d8efff 0 12%, transparent 37%); }
.hero-copy { max-width: 650px; }
.eyebrow { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; color: var(--blue-deep); margin-bottom: 14px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: Georgia, serif; font-size: clamp(52px, 6.2vw, 94px); line-height: .96; letter-spacing: -.055em; margin-bottom: 28px; }
h1 em { color: var(--pink); font-weight: 500; }
.hero-copy > p { max-width: 590px; font-size: 18px; line-height: 1.7; color: #5e555e; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin: 32px 0; }
.primary-button { display: inline-flex; justify-content: center; align-items: center; border: 0; background: var(--ink); color: white; padding: 16px 24px; border-radius: 999px; font-weight: 850; cursor: pointer; box-shadow: 0 10px 24px rgba(39,33,41,.16); }
.primary-button:hover { transform: translateY(-2px); background: var(--blue-deep); }
.text-link { font-weight: 800; border-bottom: 2px solid var(--pink); padding-bottom: 3px; }
.hero-notes { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; font-weight: 750; color: #665b66; }
.hero-visual { position: relative; justify-self: center; width: min(520px, 90%); }
.hero-visual::before { content: ""; position: absolute; inset: 8% -8% -4% 7%; border-radius: 46% 54% 42% 58% / 56% 42% 58% 44%; background: var(--blue); transform: rotate(5deg); }
.hero-slides { position: relative; width: 100%; aspect-ratio: 940 / 1672; max-height: 700px; overflow: hidden; border-radius: 46% 54% 42% 58% / 56% 42% 58% 44%; box-shadow: var(--shadow); }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; opacity: 0; visibility: hidden; animation: hero-slide 15s linear infinite; }
.hero-slide:first-child { opacity: 1; visibility: visible; }
.hero-slide:nth-child(2) { animation-delay: -10s; }
.hero-slide:nth-child(3) { animation-delay: -5s; }
.hero-slides:hover .hero-slide { animation-play-state: paused; }
@keyframes hero-slide {
  0%, 30% { opacity: 1; visibility: visible; }
  33.333%, 96.667% { opacity: 0; visibility: hidden; }
  100% { opacity: 1; visibility: visible; }
}
.hero-sticker { position: absolute; z-index: 2; right: -20px; top: 7%; width: 105px; height: 105px; display: grid; place-items: center; text-align: center; border-radius: 50%; background: #ffe463; transform: rotate(9deg); font-size: 13px; line-height: 1.05; box-shadow: 0 8px 0 var(--ink); }
.hero-sticker strong { font-size: 20px; }

.marquee { overflow: hidden; background: var(--pink); color: white; padding: 16px 0; transform: rotate(-1deg) scale(1.02); font-weight: 900; letter-spacing: .09em; white-space: nowrap; }
.marquee-track { display: flex; width: max-content; animation: scroll 24s linear infinite; }
.marquee-track span { flex: none; padding-inline-end: .55em; }
@keyframes scroll { to { transform: translateX(calc(-100% / var(--marquee-copies, 1))); } }

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .marquee-track { animation: none; }
}

.catalog-section { padding: 110px 5vw 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-heading h2, .feature-split h2, .about h2 { font-family: Georgia, serif; font-size: clamp(42px, 5vw, 72px); line-height: 1; letter-spacing: -.04em; margin-bottom: 0; }
.section-heading > p { max-width: 460px; line-height: 1.6; color: #6b616b; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-chip { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 11px 18px; font-weight: 800; cursor: pointer; }
.filter-chip.active, .filter-chip:hover { background: var(--ink); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.product-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s ease; position: relative; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-media { aspect-ratio: .82; position: relative; background: linear-gradient(145deg, var(--card-a, #f8cbdc), var(--card-b, #bfe4f7)); overflow: hidden; }
.product-link { display: block; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media.placeholder { display: grid; place-items: center; text-align: center; padding: 30px; }
.product-media.placeholder::before { content: ""; width: 65%; aspect-ratio: .75; border-radius: 42% 42% 28% 28%; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 2px rgba(255,255,255,.8), 0 30px 50px rgba(80,50,70,.15); }
.product-media.placeholder span { position: absolute; z-index: 1; font-family: Georgia, serif; font-size: 20px; max-width: 75%; }
.product-badge { position: absolute; left: 14px; top: 14px; background: var(--white); padding: 8px 11px; border-radius: 999px; font-size: 11px; font-weight: 900; }
.product-info { padding: 19px; }
.product-meta { display: flex; justify-content: space-between; gap: 15px; align-items: start; }
.product-info h3 { font-size: 16px; line-height: 1.35; margin-bottom: 7px; }
.product-title-link:hover { color: var(--pink); }
.product-price { white-space: nowrap; font-size: 18px; font-weight: 900; color: var(--pink); }
.product-category { color: #847984; font-size: 12px; }
.variant-field { display: grid; gap: 7px; }
.variant-label { font-size: 11px; font-weight: 850; color: #776b77; }
.color-field { margin-top: 15px; padding: 7px 8px; border: 1px solid transparent; border-radius: 14px; }
.swatches { display: flex; flex-wrap: wrap; gap: 7px; min-height: 18px; align-items: center; }
.swatches small { color: #9b8f99; }
.swatch { width: 18px; height: 18px; padding: 0; border-radius: 50%; background: var(--swatch); border: 2px solid white; box-shadow: 0 0 0 1px rgba(0,0,0,.18); cursor: pointer; }
.swatch.selected { box-shadow: 0 0 0 2px var(--ink); transform: scale(1.08); }
.size-field { margin: 5px 0 13px; }
.size-select { width: 100%; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 34px 10px 11px; font-weight: 750; cursor: pointer; }
.size-select:disabled { color: #9b8f99; background: #f7f3f5; cursor: not-allowed; }
.choice-error { border-color: #e34d7f !important; background-color: #fff0f5 !important; animation: choiceShake .32s ease; }
@keyframes choiceShake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.quick-add, .details-button { border: 0; border-radius: 14px; cursor: pointer; font-weight: 850; }
.quick-add { padding: 12px; color: white; background: var(--ink); }
.details-button { width: 44px; min-height: 44px; display: inline-grid; place-items: center; background: var(--pink-soft); color: var(--ink); font-size: 20px; }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 0 5vw 100px; }
.delivery-card, .shipping-card { border-radius: 38px; overflow: hidden; min-height: 640px; }
.delivery-card { background: var(--blue); padding: 60px; }
.delivery-card ol { list-style: none; padding: 0; margin: 52px 0 0; }
.delivery-card li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(39,33,41,.22); }
.delivery-card li > span { font-family: Georgia, serif; font-size: 27px; color: var(--blue-deep); }
.delivery-card li p { color: #465b69; margin: 5px 0 0; }
.shipping-card { position: relative; }
.shipping-card > img { width: 100%; height: 100%; object-fit: cover; }
.shipping-overlay { position: absolute; left: 25px; right: 25px; bottom: 25px; padding: 28px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-radius: 24px; }
.shipping-overlay h3 { font-family: Georgia, serif; font-size: 32px; }
.shipping-overlay p { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 12px 0 0; margin: 12px 0 0; }

.about { padding: 110px 5vw; background: var(--pink-soft); text-align: center; }
.about > p { max-width: 780px; margin: 28px auto 65px; font-size: 18px; line-height: 1.8; color: #655763; }
.benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; text-align: left; }
.benefits article { background: white; border-radius: 25px; padding: 28px; }
.benefits b { color: var(--pink); }
.benefits h3 { margin: 30px 0 10px; }
.benefits p { color: #716571; line-height: 1.6; }

footer { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding: 70px 5vw 35px; background: var(--ink); color: white; }
.footer-brand img { width: 150px; height: 72px; object-fit: contain; object-position: left center; }
footer > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
footer strong { margin-bottom: 8px; }
footer a { color: #d8d0d8; }
footer > p { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.18); padding-top: 25px; color: #aaa1aa; font-size: 12px; }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(25,20,25,.46); opacity: 0; pointer-events: none; transition: .25s; z-index: 49; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(450px,100%); background: var(--cream); transform: translateX(100%); transition: .3s ease; z-index: 50; display: grid; grid-template-rows: auto 1fr auto; box-shadow: -25px 0 60px rgba(0,0,0,.18); }
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 25px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin: 0; font-family: Georgia, serif; font-size: 34px; }
.drawer-header button, .dialog-close { border: 0; background: transparent; font-size: 34px; cursor: pointer; }
.cart-items { padding: 15px 25px; overflow: auto; }
.empty-cart { text-align: center; padding: 80px 20px; color: #776c77; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-item img, .cart-thumb { width: 72px; height: 84px; object-fit: cover; border-radius: 13px; background: var(--pink-soft); }
.cart-item h4 { margin: 3px 0 6px; font-size: 14px; }
.cart-item small { color: #766a76; }
.cart-item button { align-self: start; border: 0; background: transparent; color: #a65676; cursor: pointer; }
.cart-footer { padding: 25px; border-top: 1px solid var(--line); background: white; }
.cart-total { display: flex; justify-content: space-between; font-size: 20px; }
.cart-footer p { font-size: 12px; color: #786d78; margin: 10px 0 18px; }
.checkout-button { width: 100%; }

dialog { width: min(700px, calc(100% - 24px)); border: 0; border-radius: 30px; padding: 0; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(25,20,25,.55); backdrop-filter: blur(4px); }
dialog form { padding: 38px; position: relative; }
.dialog-close { position: absolute; right: 22px; top: 16px; }
dialog h2 { font-family: Georgia, serif; font-size: 45px; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }
.form-grid label.full { grid-column: 1/-1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: 13px; padding: 13px; background: #fff; }
.checkout-summary { margin: 22px 0; padding: 18px; border-radius: 18px; background: var(--pink-soft); }
dialog small { display: block; margin-top: 12px; color: #7a6e78; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--ink); color: white; padding: 13px 20px; border-radius: 999px; z-index: 70; transition: .25s; }
.toast.show { transform: translate(-50%,0); }

@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(3,1fr); }
  .hero { grid-template-columns: 1fr 1fr; }
  .main-nav { gap: 16px; }
}
@media (max-width: 780px) {
  .site-header { grid-template-columns: 1fr auto auto; height: 74px; padding: 0 18px; }
  .brand img { width: 104px; height: 50px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 74px; background: var(--cream); padding: 20px; flex-direction: column; display: none; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .cart-button { font-size: 0; padding: 9px; }
  .cart-button::before { content: "🛍️"; font-size: 18px; }
  .cart-button span { font-size: 12px; }
  .hero { grid-template-columns: 1fr; padding: 46px 20px 60px; min-height: 0; }
  .hero-copy { text-align: center; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions, .hero-notes { justify-content: center; }
  .hero-visual { width: min(430px, 92%); }
  .section-heading { display: block; }
  .catalog-section { padding: 82px 20px; }
  .product-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .product-info { padding: 14px; }
  .product-media { aspect-ratio: .78; }
  .feature-split { grid-template-columns: 1fr; padding: 0 20px 80px; }
  .delivery-card { padding: 38px 25px; min-height: 0; }
  .shipping-card { min-height: 620px; }
  .about { padding: 80px 20px; }
  .benefits { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; padding: 55px 25px 30px; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 470px) {
  h1 { font-size: 50px; }
  .hero-actions { flex-direction: column; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-meta { display: block; }
  .product-price { margin-top: 6px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label.full { grid-column: auto; }
  dialog form { padding: 30px 22px; }
  footer { grid-template-columns: 1fr; }
  .footer-brand, footer > p { grid-column: auto; }
}
