:root {
  --arena: #f3ede6;
  --cera: #fffaf3;
  --cafe: #3b2f2a;
  --tierra: #7a685e;
  --salvia: #6f7d5c;
  --ciruela: #7b2d5f;
  --line: rgba(59, 47, 42, .14);
  --serif: 'Young Serif', Georgia, serif;
  --sans: 'Karla', system-ui, sans-serif;
}
body { background: var(--arena); color: var(--cafe); font: 400 17px/1.6 var(--sans); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.08; }
h1 em, h2 em { font-style: normal; color: var(--ciruela); }
p { margin: 0; }
.wrap { width: min(100% - 48px, 1180px); margin-inline: auto; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--salvia); margin-bottom: 16px; }
:focus-visible { outline-color: var(--ciruela); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 700 15px/1 var(--sans); transition: transform .15s, background .15s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-dark { background: var(--cafe); color: var(--cera); }
.btn-line { border-color: rgba(59, 47, 42, .3); }
.btn-wa { background: #1f9d55; color: #fff; width: 100%; }

.topbar { background: var(--salvia); color: #f4f2ea; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 16px; }
.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 16px max(24px, calc((100vw - 1180px) / 2)); background: color-mix(in srgb, var(--arena) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; gap: 24px; font-size: 15px; font-weight: 600; }
.site-header nav a:hover { color: var(--ciruela); }
.logo { font: 400 28px/1 var(--serif); letter-spacing: -.02em; }
.bag-btn { justify-self: end; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--cera); border-radius: 999px; padding: 8px 8px 8px 16px; font-weight: 700; font-size: 15px; color: var(--cafe); }
.bag-btn span { min-width: 26px; height: 26px; border-radius: 999px; background: var(--ciruela); color: #fff; display: grid; place-items: center; font-size: 13px; padding: 0 6px; }
.bag-btn.bump span { animation: bump .4s ease-out; }
@keyframes bump { 40% { transform: scale(1.4); } }

.hero { width: min(100% - 48px, 1180px); margin: 0 auto; padding: 70px 0 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(44px, 5.2vw, 76px); margin-bottom: 22px; }
.lede { font-size: 18px; color: var(--tierra); max-width: 500px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-collage { position: relative; display: grid; grid-template-columns: 1fr .8fr; gap: 16px; align-items: end; }
.c-main { aspect-ratio: 3 / 4.2; border-radius: 200px 200px 20px 20px; overflow: hidden; }
.c-side { aspect-ratio: 1; border-radius: 20px; overflow: hidden; margin-bottom: 40px; }
.c-main img, .c-side img { width: 100%; height: 100%; object-fit: cover; }
.c-main picture, .c-side picture { display: block; height: 100%; }
.c-note { position: absolute; right: 0; top: 10px; max-width: 220px; background: var(--cera); border-radius: 18px; padding: 16px 18px; font: 400 16px/1.35 var(--serif); box-shadow: 0 20px 40px -20px rgba(59, 47, 42, .4); }
.c-note span { display: block; margin-top: 8px; font: 600 12px/1 var(--sans); color: var(--tierra); }

.aromas { padding: 0 0 50px; }
.aromas h2 { font-size: clamp(34px, 3.6vw, 50px); text-align: center; margin-bottom: 24px; }
.moods { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mood { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: var(--cera); border-radius: 999px; padding: 8px 18px 8px 8px; font-weight: 700; font-size: 15px; color: var(--cafe); transition: background .15s, border-color .15s; }
.mood i { width: 36px; height: 36px; border-radius: 50%; background: var(--c); display: block; }
.mood small { display: block; font-weight: 500; color: var(--tierra); font-size: 12px; }
.mood span { text-align: left; line-height: 1.2; }
.mood[aria-pressed="true"] { border-color: var(--cafe); background: #fff; box-shadow: 0 0 0 1px var(--cafe); }

.catalog { padding: 30px 0 110px; }
.catalog-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.catalog-head h2 { font-size: 32px; }
.catalog-head p { color: var(--tierra); font-size: 15px; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
.product { display: flex; flex-direction: column; animation: fade .4s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.product-photo { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #e7ddd2; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.product-photo picture { display: block; height: 100%; }
.product:hover .product-photo img { transform: scale(1.04); }
.badge { position: absolute; left: 12px; top: 12px; background: var(--cera); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.product-body { padding: 14px 4px 0; display: grid; gap: 8px; }
.product-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.product h3 { font-size: 22px; }
.product-top strong { font-size: 17px; }
.notes { font-size: 14px; color: var(--tierra); }
.product-actions { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.sizes { display: inline-flex; background: var(--cera); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.sizes button { border: 0; background: transparent; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--tierra); }
.sizes button[aria-pressed="true"] { background: var(--cafe); color: var(--cera); }
.add { margin-left: auto; border: 0; background: var(--ciruela); color: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 14px; }
.add:hover { background: #64234d; }

.how { background: var(--cafe); color: var(--cera); padding: 100px 0; }
.how h2 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 40px; }
.how h2 em { color: #e5b7d2; }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.how-steps li { counter-increment: s; border-top: 1px solid rgba(255, 250, 243, .2); padding-top: 22px; display: grid; gap: 8px; }
.how-steps li::before { content: counter(s); font: 400 44px/1 var(--serif); color: #e5b7d2; }
.how-steps b { font-size: 19px; }
.how-steps span { color: #d9cec4; }

.insta { padding: 100px 0; }
.insta-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.insta-head h2 { font-size: clamp(30px, 3.4vw, 46px); }
.insta-head p { color: var(--tierra); max-width: 340px; font-size: 15px; }
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.insta-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); }
.site-footer p { max-width: 460px; font-size: 14px; color: var(--tierra); }
.footer-cta { font-weight: 700; color: var(--ciruela); }

.bag { position: fixed; inset: 0 0 0 auto; width: min(440px, 100vw); height: 100dvh; max-height: 100dvh; margin: 0; border: 0; padding: 0; background: var(--cera); color: var(--cafe); box-shadow: -30px 0 60px rgba(30, 20, 15, .2); }
.bag[open] { display: flex; flex-direction: column; animation: slide .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.bag::backdrop { background: rgba(30, 20, 15, .45); }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.bag-head h2 { font-size: 30px; }
.x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--arena); font-size: 24px; line-height: 1; color: var(--cafe); }
.bag-items { flex: 1; overflow: auto; padding: 18px 24px; display: grid; gap: 14px; align-content: start; }
.bag-empty { text-align: center; color: var(--tierra); padding: 40px 0; }
.bag-empty b { display: block; font: 400 24px/1.2 var(--serif); color: var(--cafe); margin-bottom: 6px; }
.bag-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.bag-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.bag-line b { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; }
.bag-line small { color: var(--tierra); }
.qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; line-height: 1; }
.bag-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.delivery { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.delivery legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.delivery label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; cursor: pointer; }
.delivery label:has(input:checked) { border-color: var(--cafe); background: #fff; }
.delivery input { accent-color: var(--ciruela); }
.delivery span { display: flex; justify-content: space-between; flex: 1; gap: 10px; }
.bag-total { display: flex; justify-content: space-between; align-items: baseline; }
.bag-total strong { font: 400 30px/1 var(--serif); }

.wa-dialog { width: min(400px, calc(100vw - 32px)); border: 0; padding: 0; border-radius: 22px; overflow: hidden; background: #efeae2; box-shadow: 0 40px 90px rgba(0, 0, 0, .35); }
.wa-dialog::backdrop { background: rgba(30, 20, 15, .55); }
.wa-head { display: flex; align-items: center; gap: 12px; background: #075e54; color: #fff; padding: 14px 16px; }
.wa-head h2 { font: 700 16px/1.2 var(--sans); letter-spacing: 0; }
.wa-head small { opacity: .8; font-size: 12px; }
.wa-head .x { margin-left: auto; background: transparent; color: #fff; }
.wa-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--arena); color: var(--cafe); display: grid; place-items: center; font: 400 15px/1 var(--serif); }
.wa-chat { padding: 22px 16px; min-height: 180px; background: #efeae2 radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px) 0 0 / 14px 14px; }
.wa-bubble { margin-left: auto; max-width: 90%; background: #d9fdd3; border-radius: 12px 0 12px 12px; padding: 10px 12px 8px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa-bubble small { display: block; text-align: right; font-size: 11px; color: #667781; margin-top: 4px; }
.wa-foot { padding: 16px; background: #fff; display: grid; gap: 12px; font-size: 13px; color: #54656f; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 40; translate: -50% 20px; opacity: 0; background: var(--cafe); color: var(--cera); font-weight: 700; padding: 12px 18px; border-radius: 999px; transition: opacity .25s, translate .25s; pointer-events: none; }
.toast.is-visible { opacity: 1; translate: -50% 0; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 50px; padding-top: 44px; }
  .products { grid-template-columns: 1fr 1fr; }
  .site-header nav { display: none; }
  .site-header { grid-template-columns: auto 1fr; }
  .logo { justify-self: start; }
}
@media (max-width: 600px) {
  .wrap, .hero { width: min(100% - 32px, 1180px); }
  .site-header { padding: 12px 16px; }
  .logo { font-size: 23px; }
  .lede { font-size: 16px; }
  .hero-actions .btn { flex: 1; }
  .c-note { display: none; }
  .products { grid-template-columns: 1fr; }
  .how-steps, .insta-grid { grid-template-columns: 1fr 1fr; }
  .how-steps li:last-child { grid-column: 1 / -1; }
  .insta-head { flex-direction: column; align-items: start; }
  .how, .insta { padding: 70px 0; }
  .catalog { padding-bottom: 70px; }
}
