:root {
  --bg: #07070d;
  --surface: #14121f;
  --surface-soft: #1d1930;
  --ink: #f5f2fb;
  --muted: #9a92ad;
  --accent: #9b6cff;
  --accent-dark: #7043d6;
  --blue: #439ef5;
  --line: #2c263e;
  --danger: #ff8077;
  --tobacco: #c39261;
  --ivory: #f1e9df;
  --shadow: 0 20px 65px rgba(0, 0, 0, .55);
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 12% 0, #14233d 0, transparent 35%), radial-gradient(circle at 95% 20%, rgba(93, 44, 157, .2) 0, transparent 34%), radial-gradient(circle at 85% 42%, rgba(123, 78, 43, .09) 0, transparent 30%), var(--bg); color: var(--ink); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.5; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .38; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hidden { display: none !important; }
.app-shell { width: min(1080px, 100%); margin: auto; padding: 0 22px 130px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #51406e; border-radius: 13px; background: linear-gradient(145deg, #26203c, #10101d); color: #b997ff; font: italic 700 23px Georgia, serif; box-shadow: 0 0 25px rgba(139, 92, 246, .12); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; line-height: 1.2; }
.brand small { font-size: 10px; color: var(--muted); margin-top: 3px; }
.main-nav { display: flex; gap: 3px; padding: 4px; background: #11101c; border: 1px solid #292238; border-radius: 12px; }
.nav-button { border: 0; background: transparent; color: var(--muted); padding: 8px 13px; border-radius: 8px; font-weight: 650; font-size: 12px; }
.nav-button.active { background: linear-gradient(135deg, #253959, #3e2c62); color: #fff; }
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.55fr 1fr; min-height: 310px; border: 1px solid #594135; border-radius: 25px; background: linear-gradient(125deg, #101c31 0%, #171324 42%, #251923 72%, #302015 100%); padding: 40px 44px; box-shadow: inset 0 1px rgba(241, 233, 223, .06), 0 18px 60px rgba(0, 0, 0, .18); }
.hero:before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(125deg, transparent 0 70px, rgba(195, 146, 97, .045) 71px 72px); pointer-events: none; }
.hero:after { content: ""; position: absolute; width: 390px; height: 390px; right: -100px; top: -140px; border-radius: 50%; background: #b47750; filter: blur(115px); opacity: .24; }
.hero-copy { position: relative; z-index: 2; max-width: 570px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 9px; font-weight: 800; color: #c19aff; margin: 0 0 9px; }
.hero .eyebrow { color: #d9b48b; }
.hero h1 { color: var(--ivory); font: 850 47px/.99 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-transform: uppercase; letter-spacing: -.055em; margin: 0 0 17px; }
.hero h1 em { display: inline-block; background: linear-gradient(100deg, #f0d4b2 0%, #cf8b62 40%, #f05bc4 95%); background-clip: text; -webkit-background-clip: text; color: transparent; font-style: italic; filter: drop-shadow(0 0 16px rgba(195, 146, 97, .16)); transform: rotate(-2deg); }
.hero-copy > p:not(.eyebrow) { max-width: 490px; color: #c1b6b1; margin: 0 0 21px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.whatsapp-button { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px 8px 8px; border: 1px solid #48503f; border-radius: 11px; background: rgba(25, 47, 38, .55); color: #f5fff8; text-decoration: none; font-size: 11px; font-weight: 750; }
.whatsapp-button:hover { border-color: #56c785; background: rgba(30, 65, 47, .7); }
.whatsapp-button small { display: block; color: #9ed9b6; font-size: 9px; font-weight: 550; }
.whatsapp-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #35bd6b; color: #092314; font-size: 9px; font-weight: 900; }
.cash-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(195, 146, 97, .07); border: 1px solid #66503f; padding: 8px 12px 8px 8px; border-radius: 11px; color: var(--ivory); font-size: 10px; font-weight: 700; }
.cash-icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: linear-gradient(135deg, #d1a16e, #7549a9); color: white; }
.hero-art { position: relative; z-index: 1; display: grid; place-items: center; align-content: center; }
.hero-art:before { content: ""; position: absolute; width: 330px; height: 330px; background: url('/assets/tobacco-leaf.svg') center/contain no-repeat; opacity: .3; transform: rotate(-12deg); }
.hero-art:after { content: ""; position: absolute; width: 190px; height: 280px; border: 2px solid rgba(241, 233, 223, .12); border-color: rgba(241, 233, 223, .14) transparent transparent; border-radius: 50%; filter: blur(5px); transform: rotate(35deg); }
.street-seal { position: absolute; z-index: 2; top: -48px; right: -3px; display: grid; place-items: center; width: 82px; height: 72px; border: 2px solid #d1a16e; background: #171119; clip-path: polygon(8% 5%, 95% 0, 100% 88%, 4% 100%); color: var(--ivory); transform: rotate(8deg); box-shadow: 6px 7px 0 #69452f; }
.street-seal span { align-self: end; font-size: 29px; font-weight: 950; font-style: italic; line-height: 1; }
.street-seal small { align-self: start; color: var(--tobacco); font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.delivery-emblem { position: relative; display: grid; place-items: center; width: 205px; height: 205px; border: 2px solid rgba(211, 166, 118, .55); border-radius: 50%; background: radial-gradient(circle, rgba(77, 49, 38, .82), rgba(14, 13, 26, .75) 65%); box-shadow: 0 0 0 8px rgba(195, 146, 97, .05), 8px 10px 0 rgba(52, 29, 25, .55), 0 0 65px rgba(195, 146, 97, .16); transform: rotate(-5deg); }
.delivery-emblem span { align-self: end; color: #e4d6c8; font-size: 10px; font-weight: 800; letter-spacing: .3em; }
.delivery-emblem strong { background: linear-gradient(160deg, #fff8ed 5%, #d8ad81 45%, #9f69f4 90%); background-clip: text; -webkit-background-clip: text; color: transparent; font-size: 92px; font-weight: 950; font-style: italic; line-height: .95; letter-spacing: -.09em; }
.delivery-emblem small { align-self: start; color: #d5a97e; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.delivery-stars { position: relative; margin-top: 22px; padding: 5px 9px; background: #c39261; color: #171119; font-size: 8px; font-weight: 950; letter-spacing: .1em; transform: rotate(2deg); box-shadow: 4px 4px 0 #3e2c62; }
.service-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 13px; border: 1px solid #39302f; border-radius: 15px; background: linear-gradient(100deg, rgba(18, 15, 29, .9), rgba(34, 25, 24, .75)); }
.service-strip > div { padding: 13px 17px; text-align: center; }
.service-strip > div + div { border-left: 1px solid #39302f; }
.service-strip strong, .service-strip span { display: block; }
.service-strip strong { color: var(--ivory); font-size: 10px; }
.service-strip span { margin-top: 2px; color: var(--muted); font-size: 8px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 34px 2px 17px; }
.section-heading h2 { color: var(--ivory); font-size: 24px; letter-spacing: -.03em; margin: 0; }
.soft-label { color: #d6b28d; font-size: 11px; padding: 4px 9px; background: #251e20; border: 1px solid #45352f; border-radius: 15px; }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.product-card { overflow: hidden; min-width: 0; background: linear-gradient(145deg, #19151e, #1d1719); border: 1px solid #3d3031; border-radius: 16px; box-shadow: 4px 5px 0 rgba(70, 44, 38, .28); transition: transform .18s, border-color .18s; }
.product-card:hover { transform: translateY(-3px) rotate(-.4deg); border-color: #a77950; }
.product-card-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; }
.product-image { position: relative; aspect-ratio: .92; overflow: hidden; background: #1c2935; }
.product-image:after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(28, 17, 19, .75)); pointer-events: none; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-tag { position: absolute; z-index: 1; left: 11px; top: 11px; padding: 5px 8px; border: 1px solid #e0bd94; border-radius: 3px; background: #c39261; color: #171119; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; transform: rotate(-2deg); box-shadow: 3px 3px 0 rgba(23, 17, 25, .75); }
.product-open-icon { position: absolute; z-index: 1; right: 11px; top: 11px; display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #806044; border-radius: 4px; background: rgba(23, 17, 25, .85); color: #e0bd94; font-size: 13px; }
.product-info { padding: 14px 15px 15px; }
.product-info h3 { overflow: hidden; margin: 0 0 3px; color: var(--ivory); font-size: 15px; font-weight: 850; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.product-info > p { margin: 0 0 14px; color: var(--muted); font-size: 10px; }
.product-bottom { display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.product-bottom > span { color: var(--muted); font-size: 9px; padding-bottom: 2px; }
.price { color: #e0b485; font-size: 16px; font-weight: 900; font-style: italic; }
.loading-card { height: 310px; border-radius: 20px; background: linear-gradient(100deg, #111923 30%, #1a2530 50%, #111923 70%); background-size: 300% 100%; animation: loading 1.4s infinite; }
@keyframes loading { to { background-position: -150% 0; } }
.back-button { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 17px; padding: 8px 0; border: 0; background: none; color: #b5c0ca; font-size: 12px; }
.back-button span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: #fff; font-size: 16px; }
#product-detail { max-width: 720px; margin: 0 auto; }
.product-detail-card { overflow: hidden; border: 1px solid var(--line); border-radius: 23px; background: var(--surface); box-shadow: 0 18px 60px rgba(0, 0, 0, .2); }
.product-detail-image { position: relative; height: 285px; overflow: hidden; background: #1a2733; }
.product-detail-image:after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, var(--surface)); }
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-image-label { position: absolute; z-index: 1; left: 22px; bottom: 17px; padding: 5px 10px; border-radius: 20px; background: rgba(9, 14, 21, .72); color: #d4e2eb; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.product-detail-content { padding: 3px 25px 27px; }
.product-detail-content h1 { margin: 0 0 9px; font-size: 30px; letter-spacing: -.04em; }
.detail-description { max-width: 610px; margin: 0; color: #a0acb8; font-size: 13px; line-height: 1.7; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 17px 0 25px; }
.detail-meta span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; color: #a9b5c0; font-size: 9px; }
.variants-title { margin: 0 0 12px; font-size: 13px; }
.variant-list { display: grid; gap: 10px; }
.variant-row { display: grid; grid-template-columns: minmax(90px, 1fr) auto 43px; align-items: center; gap: 15px; padding: 14px; border: 1px solid #273340; border-radius: 14px; background: #0d141d; }
.variant-row.sold-out { opacity: .55; }
.variant-price strong, .variant-price span, .variant-price small { display: block; }
.variant-price strong { color: #72bdff; font-size: 19px; letter-spacing: -.02em; }
.variant-price span { color: #d3dae0; font-size: 11px; font-weight: 650; }
.variant-price small { color: var(--muted); font-size: 8px; margin-top: 2px; }
.detail-quantity-control { display: flex; align-items: center; gap: 13px; padding: 5px; border-radius: 10px; background: #151f2a; }
.detail-quantity-control button { width: 27px; height: 27px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #81c5fb; font-size: 17px; }
.detail-quantity-control button:hover:not(:disabled) { background: #22303d; }
.detail-quantity { min-width: 12px; text-align: center; font-size: 12px; font-weight: 750; }
.detail-add { width: 43px; height: 43px; border: 0; border-radius: 11px; background: linear-gradient(135deg, var(--blue), var(--accent)); color: white; font-size: 25px; font-weight: 500; box-shadow: 0 7px 20px rgba(122, 82, 220, .3); }
.detail-add:hover:not(:disabled) { background: linear-gradient(135deg, #67b3fa, #b18cff); }
.cart-button { position: fixed; z-index: 10; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 13px; width: min(430px, calc(100% - 30px)); padding: 14px 17px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: linear-gradient(120deg, #2367ad 0%, #5144b8 48%, #8248cf 100%); color: white; box-shadow: 0 12px 38px rgba(68, 42, 139, .42); text-align: left; }
.cart-button > span:first-child { font-weight: 800; }
.cart-button #cart-summary { font-size: 11px; opacity: .85; flex: 1; }
.cart-button b { display: grid; place-items: center; min-width: 27px; height: 27px; border-radius: 9px; background: rgba(255, 255, 255, .17); font-size: 11px; }
.sheet { width: min(620px, 100%); max-height: 92dvh; margin: auto auto 0; padding: 0; border: 1px solid var(--line); border-radius: 25px 25px 0 0; background: #0d141d; color: var(--ink); box-shadow: var(--shadow); }
.sheet::backdrop { background: rgba(2, 7, 12, .75); backdrop-filter: blur(4px); }
.sheet-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 16px; background: rgba(13, 20, 29, .96); border-bottom: 1px solid var(--line); }
.sheet-header h2 { font-size: 23px; letter-spacing: -.03em; margin: 0; }
.icon-button { width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-soft); color: var(--ink); font-size: 23px; line-height: 1; }
.sheet #cart-content, .order-success { padding: 20px 24px 30px; }
.cart-items { display: grid; gap: 9px; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; }
.cart-item h4 { margin: 0; font-size: 13px; }
.cart-item p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.cart-item-price { text-align: right; font-weight: 750; }
.quantity-control { display: flex; align-items: center; gap: 11px; margin-top: 10px; }
.quantity-control button { width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 8px; background: #1a2530; color: var(--ink); }
.quantity-control span { font-size: 12px; font-weight: 750; }
.remove-item { border: 0; background: none; color: var(--danger); font-size: 10px; padding: 8px 0 0; }
.cart-total { display: flex; align-items: center; justify-content: space-between; padding: 18px 3px; border-bottom: 1px solid var(--line); font-size: 12px; }
.cart-total strong { font-size: 20px; color: #82c6ff; }
.checkout-form { padding-top: 20px; }
.checkout-form h3 { font-size: 18px; margin: 0 0 15px; }
.form-grid { display: grid; gap: 12px; }
.two-columns { grid-template-columns: 1fr 1fr; }
.checkout-form label { display: block; font-size: 11px; font-weight: 700; margin-bottom: 12px; }
.checkout-form label span { color: var(--muted); font-weight: 400; }
.checkout-form input, .checkout-form textarea { display: block; width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 10px; background: #151f2a; padding: 11px 12px; color: var(--ink); outline: none; resize: vertical; }
.checkout-form input:focus, .checkout-form textarea:focus { border-color: var(--accent); }
.payment-note { padding: 13px 15px; background: #132a3a; border: 1px solid #21455e; border-radius: 12px; color: #b9ddf7; margin: 3px 0 16px; }
.payment-note strong { font-size: 11px; }
.payment-note p { font-size: 10px; margin: 3px 0 0; }
.primary-button, .secondary-button { display: inline-block; border: 0; border-radius: 11px; padding: 13px 18px; font-weight: 750; text-decoration: none; }
.primary-button { background: var(--accent); color: #07131e; }
.primary-button:hover { background: #65b6fa; }
.secondary-button { background: #1b2631; color: var(--ink); margin-top: 9px; }
.full-width { width: 100%; }
.form-error { color: var(--danger); font-size: 11px; min-height: 18px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 38px 18px; color: var(--muted); }
.empty-state h3 { font-size: 20px; color: var(--ink); margin: 0 0 8px; }
.order-success { text-align: center; padding-top: 35px !important; }
.success-mark { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #163d31; color: #6de1ac; font-size: 30px; margin: 0 auto 22px; }
.order-success h2 { font-size: 26px; margin: 5px 0 16px; }
.order-success > p:not(.eyebrow) { margin: 8px 0; color: var(--muted); }
#success-order-number { display: block; font-size: 24px; letter-spacing: .05em; margin: 6px 0 22px; }
.muted { color: var(--muted); }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 95px; transform: translate(-50%, 20px); max-width: calc(100% - 35px); padding: 10px 16px; border: 1px solid #35485a; border-radius: 11px; background: #1d2a37; color: white; box-shadow: var(--shadow); font-size: 11px; opacity: 0; pointer-events: none; transition: .2s; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 760px) { .sheet { margin: auto; border-radius: 25px; } .hero { min-height: 320px; } .hero-art { transform: translateX(20px); } }
@media (max-width: 600px) {
  .app-shell { padding: 0 14px 115px; }
  .topbar { padding: 13px 0; }
  .main-nav { padding: 3px; }
  .nav-button { padding: 7px 9px; font-size: 10px; }
  .brand small { display: none; }
  .brand-mark { width: 35px; height: 35px; border-radius: 11px; font-size: 20px; }
  .brand strong { font-size: 12px; max-width: 95px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 25px 22px; border-radius: 20px; }
  .hero h1 { font-size: 29px; }
  .hero-copy > p:not(.eyebrow) { max-width: 85%; font-size: 11px; }
  .hero-art { position: absolute; right: -20px; bottom: -40px; opacity: .13; transform: scale(.75); }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .product-card { border-radius: 16px; }
  .product-info { padding: 11px; }
  .product-info h3 { font-size: 12px; }
  .product-info > p { margin-bottom: 10px; font-size: 8px; }
  .product-bottom { display: block; }
  .product-bottom > span { display: block; font-size: 8px; }
  .price { font-size: 14px; }
  .product-tag { left: 8px; top: 8px; font-size: 7px; }
  .product-open-icon { right: 8px; top: 8px; width: 24px; height: 24px; }
  .section-heading { margin-top: 27px; }
  .section-heading h2 { font-size: 22px; }
  .product-detail-image { height: 235px; }
  .product-detail-content { padding: 2px 15px 18px; }
  .product-detail-content h1 { font-size: 26px; }
  .detail-description { font-size: 11px; }
  .variant-row { grid-template-columns: minmax(67px, 1fr) auto 39px; gap: 8px; padding: 11px; }
  .variant-price strong { font-size: 17px; }
  .detail-quantity-control { gap: 7px; }
  .detail-quantity-control button { width: 23px; height: 27px; }
  .detail-add { width: 39px; height: 41px; }
  .two-columns { grid-template-columns: 1fr; gap: 0; }
  .sheet-header, .sheet #cart-content, .order-success { padding-left: 17px; padding-right: 17px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
