:root {
  --bg: #f4f0e8;
  --surface: #fcfaf6;
  --ink: #171716;
  --muted: #73716b;
  --line: #d9d4ca;
  --accent: #d6ff50;
  --dark: #191a18;
  --light-dot: #11130f;
  --light-line: #11130f;
  --hero-tone: #d0c5b7;
}
body.dark {
  --bg: #171817;
  --surface: #20211f;
  --ink: #f2f0e9;
  --muted: #aaa9a2;
  --line: #373936;
  --dark: #f2f0e9;
  --accent: #d6ff50;
  --light-dot: #fff;
  --light-line: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  transition: background .25s, color .25s;
  position: relative;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .42;
  background-color: var(--light-dot);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='480' viewBox='0 0 640 480'%3E%3Cg fill='none' stroke='white' stroke-width='1.4' stroke-opacity='.58'%3E%3Cpath d='M70 90L190 48L320 125L470 68L580 150L520 300L390 390L245 330L110 390L70 90M190 48L245 330M320 125L390 390M470 68L520 300M580 150L390 390M110 390L320 125'/%3E%3C/g%3E%3Cg fill='white'%3E%3Ccircle cx='70' cy='90' r='4'/%3E%3Ccircle cx='190' cy='48' r='3'/%3E%3Ccircle cx='320' cy='125' r='5'/%3E%3Ccircle cx='470' cy='68' r='3'/%3E%3Ccircle cx='580' cy='150' r='4'/%3E%3Ccircle cx='520' cy='300' r='3'/%3E%3Ccircle cx='390' cy='390' r='5'/%3E%3Ccircle cx='245' cy='330' r='3'/%3E%3Ccircle cx='110' cy='390' r='4'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='480' viewBox='0 0 640 480'%3E%3Cg fill='none' stroke='white' stroke-width='1.4' stroke-opacity='.58'%3E%3Cpath d='M70 90L190 48L320 125L470 68L580 150L520 300L390 390L245 330L110 390L70 90M190 48L245 330M320 125L390 390M470 68L520 300M580 150L390 390M110 390L320 125'/%3E%3C/g%3E%3Cg fill='white'%3E%3Ccircle cx='70' cy='90' r='4'/%3E%3Ccircle cx='190' cy='48' r='3'/%3E%3Ccircle cx='320' cy='125' r='5'/%3E%3Ccircle cx='470' cy='68' r='3'/%3E%3Ccircle cx='580' cy='150' r='4'/%3E%3Ccircle cx='520' cy='300' r='3'/%3E%3Ccircle cx='390' cy='390' r='5'/%3E%3Ccircle cx='245' cy='330' r='3'/%3E%3Ccircle cx='110' cy='390' r='4'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-size: 640px 480px;
  mask-size: 640px 480px;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
  animation: pluto-web-motion 16s ease-in-out infinite alternate;
}
@keyframes pluto-web-motion {
  0% { opacity: .28; transform: translate3d(0, 0, 0) scale(1); }
  50% { opacity: .5; transform: translate3d(8px, 5px, 0) scale(1.012); }
  100% { opacity: .34; transform: translate3d(-5px, 3px, 0) scale(1.006); }
}
body > * { position: relative; z-index: 1; }
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .035;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
.site-header {
  height: 84px;
  padding: 0 5.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  z-index: 2;
}
.wordmark { font-size: 22px; letter-spacing: -1.5px; font-weight: 800; }
.wordmark span { font-size: 7px; vertical-align: top; margin-left: 2px; }
.site-header nav { display: flex; gap: 28px; font-size: 12px; font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.icon-button, .bag-button, .close, footer button { background: none; border: 0; }
.icon-button { font-size: 22px; }
.bag-button { font-size: 12px; font-weight: 800; }
.bag-button span {
  display: inline-grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
  width: 19px;
  height: 19px;
  border-radius: 50%;
  margin-left: 4px;
  font-size: 10px;
}
.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border-bottom: 1px solid var(--line);
}
.hero-copy { padding: 11vw 5.5vw 6vw; }
.eyebrow { font: 500 10px 'DM Mono', monospace; letter-spacing: 1.2px; margin: 0 0 18px; color: var(--muted); }
h1, h2 { font-size: clamp(42px, 5.8vw, 85px); line-height: .98; letter-spacing: -5px; margin: 0; font-weight: 700; }
h2 { font-size: clamp(35px, 4.3vw, 62px); }
em { font-family: 'Playfair Display', serif; font-weight: 500; }
.hero-text { max-width: 360px; line-height: 1.7; font-size: 14px; color: var(--muted); margin: 30px 0; }
.button {
  border: 0;
  padding: 16px 20px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2px;
}
.button-dark { background: var(--ink); color: var(--bg); }
.button span { font-size: 17px; }
.hero-art { background: var(--hero-tone, #d0c5b7); position: relative; overflow: hidden; min-height: 500px; }
.hero-art #heroImage { width: 100%; height: 100%; padding: clamp(18px, 5vw, 64px); object-fit: contain; object-position: center; display: block; }
.hero-art.has-image > .orbit, .hero-art.has-image > .planet, .hero-art.has-image > .earbud { display: none; }
.hero-art.has-image { padding: 0; }
.planet { width: 300px; height: 300px; background: #dfd0c3; border-radius: 50%; position: absolute; top: 18%; left: 28%; box-shadow: inset -30px -25px 60px #ab9680; }
.orbit { border: 1px solid rgba(255, 255, 255, .55); width: 570px; height: 185px; border-radius: 50%; position: absolute; top: 40%; left: 2%; transform: rotate(-22deg); }
.orbit-two { transform: rotate(35deg); opacity: .45; }
.earbud { position: absolute; width: 105px; height: 135px; background: #f3eee6; border-radius: 55px 55px 42px 42px; box-shadow: 12px 16px 22px rgba(43, 34, 24, .18); }
.earbud:after { content: ""; position: absolute; top: 23px; left: 25px; width: 55px; height: 55px; border-radius: 50%; background: #c9b4a2; }
.earbud i { position: absolute; width: 24px; height: 95px; bottom: -56px; right: 17px; background: #f3eee6; border-radius: 0 0 20px 20px; transform: rotate(-8deg); }
.left { top: 26%; left: 30%; transform: rotate(-20deg); }
.right { top: 42%; right: 22%; transform: rotate(24deg); }
.right i { left: 17px; right: auto; transform: rotate(8deg); }
.hero-caption { position: absolute; bottom: 20px; right: 24px; font: 9px 'DM Mono'; letter-spacing: 1px; color: #44392f; }
.marquee { overflow: hidden; background: var(--accent); height: 45px; display: flex; align-items: center; white-space: nowrap; font: 600 11px 'DM Mono'; letter-spacing: 1.2px; }
.marquee div { animation: scroll 20s linear infinite; }
.marquee b { margin: 0 18px; font-size: 15px; }
@keyframes scroll { to { transform: translateX(-30%); } }
.section { padding: 110px 5.5vw; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 50px; }
.section-head h2 { letter-spacing: 0; }
.section-head h2 #catalogAccent { margin-left: .2em; }
.stock-note { font: 10px 'DM Mono'; color: var(--muted); }
.catalog-tools { display: flex; justify-content: flex-end; align-items: end; gap: 12px; margin: -22px 0 36px; }
.catalog-search { display: flex; align-items: center; gap: 10px; margin: 0; font: 10px 'DM Mono'; color: var(--muted); }
.catalog-search input, .catalog-tools select { width: 210px; margin: 0; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 11px; font-size: 12px; }
.catalog-tools select { width: 170px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product { position: relative; cursor: pointer; }
.product-image { height: 340px; background: var(--product); position: relative; overflow: hidden; display: grid; place-items: center; }
.product-image:before { content: ""; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .27); position: absolute; top: 43px; left: 50%; transform: translateX(-50%); }
.product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-bud { width: 84px; height: 110px; background: #f4f0e8; border-radius: 45px; position: relative; box-shadow: 9px 13px 18px #0002; transform: rotate(-10deg); z-index: 1; }
.mini-bud:after { content: ""; position: absolute; width: 53px; height: 53px; border-radius: 50%; background: #d8d0c6; left: 16px; top: 15px; }
.mini-bud i { position: absolute; background: #f4f0e8; width: 18px; height: 87px; bottom: -60px; right: 12px; border-radius: 0 0 13px 13px; }
.product:nth-child(2) .mini-bud, .product:nth-child(2) .mini-bud i { background: #262827; }
.product:nth-child(2) .mini-bud:after { background: #555; }
.product:nth-child(3) .mini-bud, .product:nth-child(3) .mini-bud i { background: #dad9d2; }
.product-meta { padding: 16px 1px 4px; }
.product-meta div { display: flex; justify-content: space-between; align-items: start; }
.product h3 { font-size: 14px; margin: 0; font-weight: 700; }
.product strong { font: 500 12px 'DM Mono'; }
.product p { font-size: 11px; color: var(--muted); margin: 6px 0 13px; }
.colors { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.color { width: 13px; height: 13px; border-radius: 50%; border: 1px solid #999; background: var(--color); }
.view-product { position: absolute; left: 14px; top: 14px; background: var(--surface); padding: 8px 10px; font: 10px 'DM Mono'; opacity: 0; transform: translateY(5px); transition: .2s; }
.product:hover .view-product, .product:focus .view-product { opacity: 1; transform: none; }
.add { position: absolute; right: 12px; bottom: 12px; border: 0; width: 39px; height: 39px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 21px; }
.sold-out { font: 10px 'DM Mono'; color: #a54c3f; }
.story { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); gap: 60px; }
.story > p { max-width: 370px; align-self: end; line-height: 1.8; color: var(--muted); font-size: 15px; }
footer { padding: 34px 5.5vw; display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); }
footer button { font: 600 10px 'DM Mono'; color: var(--ink); }
.drawer { position: fixed; z-index: 20; right: 0; top: 0; height: 100%; width: min(430px, 100%); background: var(--surface); transform: translateX(100%); transition: .3s; padding: 28px; display: flex; flex-direction: column; box-shadow: -10px 0 30px #0001; }
.drawer.show { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 22px; padding-right: 48px; }
.drawer h2 { font-size: 28px; letter-spacing: -2px; }
.drawer h2 span { font: 11px 'DM Mono'; color: var(--muted); }
.close { font-size: 30px; line-height: 1; }
.modal-card .close, .drawer .close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; line-height: 1; font-size: 22px; }
.cart-items { flex: 1; overflow: auto; }
.cart-item { display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { background: var(--product); height: 68px; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 { margin: 2px 0 5px; font-size: 13px; }
.cart-item p { margin: 0; font-size: 10px; color: var(--muted); }
.remove { border: 0; background: none; font-size: 17px; }
.cart-footer { padding-top: 20px; }
.cart-footer > div { display: flex; justify-content: space-between; margin-bottom: 16px; }
.cart-footer span { font-size: 12px; color: var(--muted); }
.cart-quantity { display: inline-flex; align-items: center; gap: 7px; margin-left: 5px; }
.cart-quantity button { width: 19px; height: 19px; padding: 0; border: 1px solid var(--line); background: transparent; line-height: 1; }
.cart-quantity b { font: 10px 'DM Mono'; color: var(--ink); }
.full { width: 100%; }
.modal { display: none; position: fixed; z-index: 30; inset: 0; background: #0008; place-items: center; padding: 18px; }
.modal.show { display: grid; }
.modal-card { position: relative; background: var(--surface); width: min(620px, 100%); max-height: 94vh; overflow: auto; padding: 48px; }
.checkout-card h2 { font-size: 48px; }
.form-intro { font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 440px; }
.checkout-card form { margin-top: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; font-size: 10px; font-weight: 800; margin: 12px 0; }
.coupon-input { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; margin-top: 7px; }
.coupon-input input { margin: 0; }
.coupon-input button { margin: 0; background: var(--accent); color: #171716; font-weight: 600; cursor: pointer; padding: 13px 18px; border: none; }
#couponMessage { font-size: 12px; margin-top: 8px; padding: 8px; border-radius: 4px; }
#couponMessage.error { color: #d32f2f; background: rgba(211, 47, 47, 0.1); }
#couponMessage.success { color: #388e3c; background: rgba(56, 142, 60, 0.1); }
#discountDisplay { font-weight: 600; color: var(--accent); margin-top: 4px; font-size: 13px; }
input, select, textarea { width: 100%; margin-top: 7px; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 13px; outline: 0; font-size: 13px; }
textarea { min-height: 90px; resize: vertical; }
.payment-code { font: 500 11px 'DM Mono'; background: var(--accent); color: #171716; padding: 10px; display: inline-block; }
.payment-card { border: 1px solid var(--line); padding: 18px; margin: 24px 0; }
.payment-card p { font-size: 13px; line-height: 1.7; margin: 4px 0; }
.payment-card b { font-size: 15px; }
.payment-actions { display: grid; gap: 10px; margin-top: 8px; }
.whatsapp { background: #25d366 !important; color: #102a17 !important; }
.whatsapp.secondary { background: transparent !important; color: inherit !important; border: 1px solid var(--line); }
.product-detail { width: min(1100px, 100%); padding: 42px; }
.product-detail .close { top: 12px; right: 16px; font-size: 20px; z-index: 2; }
.product-detail #productDetailContent { display: grid; grid-template-columns: 1.1fr .9fr; gap: 38px; width: 100%; }
.detail-gallery, .detail-fallback { min-width: 0; }
.detail-main, .detail-fallback { height: 500px; background: #eee; display: grid; place-items: center; overflow: hidden; }
.detail-main img { width: 100%; height: 100%; object-fit: cover; }
.detail-fallback { background: var(--product); }
.detail-fallback .mini-bud { transform: scale(1.55) rotate(-10deg); }
.detail-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow: auto; }
.detail-thumb { border: 1px solid var(--line); background: transparent; padding: 0; width: 62px; height: 62px; flex: 0 0 auto; }
.detail-thumb.selected { border: 2px solid var(--ink); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy { align-self: center; }
.detail-copy h2 { font-size: 42px; letter-spacing: -3px; }
.detail-price { font: 500 16px 'DM Mono'; margin: 20px 0; }
.detail-description { font-size: 14px; line-height: 1.75; color: var(--muted); }
.detail-stock { font: 10px 'DM Mono'; color: var(--muted); margin: 24px 0; }
.detail-video { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 20px 0; font-size: 11px; font-weight: 800; }
.detail-add:disabled { opacity: .45; cursor: not-allowed; }
.variant-label { font: 500 10px 'DM Mono'; color: var(--muted); margin: 18px 0 10px; }
.variant-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-pick { border: 1px solid var(--line); background: transparent; padding: 10px 12px; font-size: 11px; display: flex; align-items: center; gap: 8px; }
.variant-pick.selected { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.variant-pick:disabled { opacity: .4; cursor: not-allowed; }
.variant-swatch { width: 12px; height: 12px; border-radius: 50%; background: var(--color); box-shadow: inset 0 0 0 1px #0003; }
.admin-modal { padding: 0; }
.admin-shell { width: 100%; height: 100%; background: var(--bg); display: grid; grid-template-columns: 230px 1fr; }
.admin-nav { background: var(--dark); color: var(--bg); padding: 28px 22px; display: flex; flex-direction: column; justify-content: space-between; }
.admin-nav .wordmark { color: var(--bg); }
.admin-nav p { font: 9px 'DM Mono'; color: #888; margin-top: 35px; }
.admin-nav nav { display: flex; flex-direction: column; gap: 7px; }
.admin-nav nav button { background: transparent; border: 0; color: #aaa; text-align: left; padding: 12px; font-size: 13px; }
.admin-nav nav button.active { background: #ffffff15; color: white; }
.admin-exit { background: none; border: 0; color: #aaa; font-size: 11px; text-align: left; }
.admin-content { padding: 45px 5vw; overflow: auto; }
.admin-content header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 35px; }
.admin-content header h2 { font-size: 43px; }
.admin-content header span { font: 10px 'DM Mono'; color: var(--muted); }
.panel { display: none; }
.panel.active { display: block; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 35px; }
.metric { padding: 20px; background: var(--surface); border: 1px solid var(--line); }
.metric p { font: 10px 'DM Mono'; color: var(--muted); margin: 0; }
.metric strong { font-size: 30px; display: block; margin-top: 16px; }
.admin-block { background: var(--surface); border: 1px solid var(--line); padding: 20px; }
.block-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.block-head h3 { font-size: 14px; margin: 0; }
.search { border: 1px solid var(--line); padding: 11px; width: min(350px, 100%); background: transparent; color: var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { text-align: left; font: 10px 'DM Mono'; color: var(--muted); padding: 10px 7px; border-bottom: 1px solid var(--line); }
td { padding: 14px 7px; border-bottom: 1px solid var(--line); }
.badge { font: 10px 'DM Mono'; padding: 5px 7px; background: #e9e6de; }
.badge.paid, .badge.approved { background: #d7eea7; color: #30440e; }
.badge.received { background: #fae0a2; color: #664300; }
.badge.rejected { background: #f3c7c0; color: #6c241c; }
.approve, .reject { border: 0; background: var(--ink); color: var(--bg); font-size: 10px; padding: 8px 10px; }
.reject { background: transparent; color: inherit; border: 1px solid var(--line); }
.approve:disabled { opacity: .35; }
.order-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.stock-input { width: 70px; padding: 7px; margin: 0; }
.empty { text-align: center; padding: 55px 10px; color: var(--muted); font-size: 13px; }
.admin-product-modal textarea, .content-form textarea { width: 100%; min-height: 90px; margin-top: 7px; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 13px; resize: vertical; font: 13px Manrope; }
.field-hint { display: block; color: var(--muted); font: 10px 'DM Mono'; margin-top: 6px; }
@media (max-width: 700px) {
  .site-header { padding: 0 20px; height: 70px; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 80px 20px 55px; }
  .hero-art { min-height: 380px; }
  .section { padding: 70px 20px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-image { height: 230px; }
  .section-head { display: block; }
  .stock-note { display: block; margin-top: 15px; }
  .catalog-tools { display: grid; grid-template-columns: 1fr; margin: -18px 0 28px; }
  .catalog-search { display: block; }
  .catalog-search input, .catalog-tools select { width: 100%; }
  .catalog-search input { margin-top: 7px; }
  .story { grid-template-columns: 1fr; gap: 28px; }
  .story > p { margin: 0; }
  .modal-card { padding: 30px 22px; }
  .form-row, .metrics { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav { padding: 18px; display: flex; flex-direction: row; align-items: center; }
  .admin-nav > div p, .admin-nav .wordmark { display: none; }
  .admin-nav nav { flex-direction: row; }
  .admin-nav nav button { padding: 8px; }
  .admin-exit { display: none; }
  .admin-content { padding: 30px 18px; }
  .admin-content header h2 { font-size: 34px; }
  table { min-width: 650px; }
  .admin-block { overflow: auto; }
  .hero-caption { display: none; }
  .product-detail { display: block; padding: 30px 22px; }
  .detail-main, .detail-fallback { height: 280px; }
  .detail-copy { margin-top: 28px; }
  .detail-copy h2 { font-size: 34px; }
  .product-detail #productDetailContent { display: block; }
}
