:root {
  color-scheme: light;
  --paper: #f7f4ec;
  --white: #fffefa;
  --ink: #23271f;
  --muted: #77786e;
  --green: #2f5c43;
  --green-dark: #244a35;
  --lime: #d7ed68;
  --orange: #f07b4f;
  --line: #e8e4d9;
  --shadow: 0 18px 55px rgb(35 39 31 / 10%);
  font-family: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body.locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.announcement { height: 33px; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .035em; }
.site-header { height: 82px; max-width: 1240px; padding: 0 38px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 41px; height: 41px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green); font: 800 17px Outfit, sans-serif; letter-spacing: -3px; padding-right: 3px; transform: rotate(-8deg); }
.brand-mark span { color: var(--orange); }
.brand-name { display: flex; flex-direction: column; font: 700 17px Outfit, sans-serif; line-height: 1; letter-spacing: -.05em; }
.brand-name > span { color: var(--green); }
.brand-name small { margin-top: 5px; font: 700 7px "DM Sans", sans-serif; letter-spacing: .13em; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 38px; color: #4b4d43; font-size: 13px; font-weight: 600; }
.main-nav a:hover, .back-top:hover { color: var(--green); }
.cart-button { height: 42px; display: flex; align-items: center; gap: 9px; border: 1px solid #deddd1; border-radius: 30px; padding: 0 11px 0 15px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; transition: background .2s, border-color .2s; }
.cart-button:hover { background: white; border-color: var(--green); }
.cart-icon { font-size: 16px; }
.cart-count { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: 11px; }

.hero { position: relative; max-width: 1240px; min-height: 473px; margin: 0 auto; padding: 75px 8.4% 72px; overflow: hidden; background: #e8edc6; }
.hero::before, .hero::after { position: absolute; content: ""; border: 1px solid rgb(47 92 67 / 9%); border-radius: 50%; pointer-events: none; }
.hero::before { width: 500px; height: 500px; top: -290px; left: 39%; }
.hero::after { width: 590px; height: 590px; top: -336px; left: 35%; }
.hero-content { position: relative; z-index: 2; max-width: 440px; }
.eyebrow { color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: Outfit, sans-serif; letter-spacing: -.055em; }
.hero h1 { margin: 19px 0 13px; font-size: clamp(52px, 6.4vw, 76px); line-height: .96; font-weight: 700; }
.accent-dot { color: var(--orange); }
.hero-content > p { max-width: 365px; color: #66695d; font-size: 14px; line-height: 1.75; }
.primary-button { min-height: 47px; display: inline-flex; justify-content: center; align-items: center; gap: 22px; padding: 0 19px; border: 0; border-radius: 4px; background: var(--green); color: white; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.primary-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.primary-button span { font-size: 17px; font-weight: 400; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 23px; color: #626859; font-size: 10px; }
.hero-note-icon { color: var(--orange); font-size: 15px; }
.hero-art { position: absolute; width: 420px; height: 390px; top: 37px; right: 7%; }
.art-sun { position: absolute; width: 278px; height: 278px; top: 30px; right: 48px; border-radius: 50%; background: #f2b463; }
.art-ring { position: absolute; z-index: 1; width: 295px; height: 295px; top: 15px; right: 63px; border: 1px solid rgb(47 92 67 / 45%); border-radius: 50%; }
.snack-bowl { position: absolute; z-index: 2; width: 230px; height: 184px; top: 105px; right: 75px; display: grid; place-items: center; border: 8px solid #fff9e7; border-top: 0; border-radius: 10% 10% 48% 48% / 10% 10% 42% 42%; background: #df6349; transform: rotate(-8deg); box-shadow: 0 15px 20px rgb(123 69 37 / 19%); }
.snack-bowl::before { position: absolute; top: -8px; left: -9px; width: calc(100% + 18px); height: 28px; border-radius: 50%; background: #fff9e7; content: ""; }
.snack-bowl span { margin-top: 2px; font-size: 120px; filter: drop-shadow(0 6px 6px rgb(105 49 25 / 15%)); transform: rotate(8deg); }
.float-snack { position: absolute; z-index: 3; display: grid; width: 61px; height: 61px; place-items: center; border-radius: 50%; background: var(--white); box-shadow: 0 8px 26px rgb(70 59 34 / 15%); font-size: 32px; }
.float-one { top: 42px; right: 32px; transform: rotate(12deg); }
.float-two { right: 297px; bottom: 46px; transform: rotate(-18deg); }
.float-three { right: 23px; bottom: 52px; transform: rotate(8deg); }
.art-spark { position: absolute; color: var(--green); }
.spark-one { top: 57px; left: 63px; font-size: 29px; }
.spark-two { top: 184px; right: 6px; font-size: 21px; }
.art-tag { position: absolute; z-index: 3; top: 217px; left: 14px; width: 70px; height: 70px; display: grid; align-content: center; justify-content: center; border-radius: 50%; background: var(--lime); color: var(--green); font: 800 12px Outfit, sans-serif; line-height: 1; text-align: center; transform: rotate(-12deg); }
.art-tag span { font-size: 15px; }
.hero-bottom { position: absolute; right: 8.4%; bottom: 23px; display: flex; align-items: center; gap: 12px; color: #65705b; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.hero-bottom-line { width: 32px; height: 1px; background: var(--green); opacity: .5; }

.section-wrap { max-width: 1120px; margin: auto; padding-right: 38px; padding-left: 38px; }
.menu-section { padding-top: 84px; padding-bottom: 93px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-heading h2, .contact-copy h2 { margin: 11px 0 7px; font-size: 39px; line-height: 1.08; }
.section-heading p, .contact-copy p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.search-box { width: 260px; height: 43px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #e4e0d6; border-radius: 4px; background: var(--white); color: var(--muted); }
.search-box > span { font-size: 24px; line-height: 1; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-box kbd { flex-shrink: 0; padding: 3px 4px; border: 1px solid var(--line); border-radius: 3px; color: #8b8b81; font-size: 8px; }
.category-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 22px; }
.category-button { padding: 9px 16px; border: 1px solid #e1ded3; border-radius: 30px; background: transparent; color: #66675f; font-size: 10px; font-weight: 700; cursor: pointer; transition: .2s; }
.category-button:hover { border-color: var(--green); color: var(--green); }
.category-button.active { border-color: var(--green); background: var(--green); color: white; }
.menu-note { margin: -11px 0 17px; color: var(--muted); font-size: 9px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { overflow: hidden; border: 1px solid #ebe8de; border-radius: 5px; background: var(--white); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-art { position: relative; height: 151px; display: grid; place-items: center; overflow: hidden; background: var(--card-color, #e8edc6); }
.product-art::after { position: absolute; width: 126px; height: 126px; border: 1px solid rgb(47 92 67 / 13%); border-radius: 50%; content: ""; }
.product-emoji { position: relative; z-index: 1; font-size: 72px; filter: drop-shadow(0 7px 7px rgb(52 47 29 / 13%)); transition: transform .2s; }
.product-card:hover .product-emoji { transform: scale(1.07) rotate(-4deg); }
.product-badge { position: absolute; z-index: 2; top: 11px; left: 10px; padding: 5px 8px; border-radius: 20px; background: var(--white); color: var(--green); font-size: 8px; font-weight: 800; letter-spacing: .03em; }
.product-details { padding: 13px 13px 14px; }
.product-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.product-top h3 { margin: 0; font: 600 14px Outfit, sans-serif; letter-spacing: -.02em; }
.product-price { flex-shrink: 0; color: var(--green); font-size: 12px; font-weight: 800; }
.product-details p { min-height: 30px; margin: 7px 0 11px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.add-button { width: 100%; height: 33px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #dfe4d2; border-radius: 3px; background: #f6f7ed; color: var(--green); font-size: 10px; font-weight: 800; cursor: pointer; transition: .2s; }
.add-button:hover { border-color: var(--green); background: var(--green); color: white; }
.add-button span { font-size: 15px; font-weight: 500; }
.empty-state { padding: 38px 0; color: var(--muted); text-align: center; font-size: 13px; }

.promise-strip { background: #e8edc6; }
.promise-inner { max-width: 1120px; min-height: 234px; display: flex; align-items: center; gap: 37px; margin: auto; padding: 40px 38px; }
.promise-spark { align-self: flex-start; margin-top: 3px; color: var(--orange); font-size: 39px; }
.promise-inner h2 { margin: 11px 0 0; font-size: 32px; line-height: 1.08; }
.promise-inner > p { max-width: 293px; margin: 23px 0 0 auto; color: #626859; font-size: 12px; line-height: 1.75; }
.text-link { border: 0; padding: 0; background: none; color: var(--green); font-size: 11px; font-weight: 800; cursor: pointer; }
.text-link span { margin-left: 7px; font-size: 16px; }
.promise-inner > .text-link { flex-shrink: 0; margin-top: 25px; }

.contact-section { min-height: 291px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 48px; padding-bottom: 48px; }
.contact-copy h2 { margin-bottom: 10px; font-size: 35px; }
.contact-card { width: min(390px, 48%); min-height: 90px; display: flex; align-items: center; gap: 15px; padding: 19px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); transition: box-shadow .2s, transform .2s; }
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-card-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: #eef1d9; font-size: 20px; }
.contact-card strong, .contact-card small { display: block; }
.contact-card strong { font: 600 14px Outfit, sans-serif; }
.contact-card small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.contact-arrow { margin-left: auto; color: var(--green); font-size: 19px; }
.site-footer { min-height: 87px; display: flex; align-items: center; justify-content: space-between; gap: 22px; max-width: 1120px; margin: auto; padding: 18px 38px; border-top: 1px solid var(--line); }
.footer-brand .brand-mark { width: 34px; height: 34px; font-size: 14px; }
.footer-brand .brand-name { font-size: 14px; }
.footer-brand .brand-name small { font-size: 6px; }
.site-footer > span, .back-top { color: var(--muted); font-size: 10px; }

.overlay { position: fixed; z-index: 10; inset: 0; background: rgb(25 29 24 / 42%); animation: fade-in .18s ease-out; }
.cart-drawer { position: fixed; z-index: 11; top: 0; right: 0; width: min(420px, 100%); height: 100dvh; display: flex; flex-direction: column; padding: 25px; background: var(--white); box-shadow: -15px 0 45px rgb(25 29 24 / 12%); transform: translateX(102%); transition: transform .25s ease; }
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.drawer-header h2, .checkout-modal h2 { margin: 6px 0 0; font-size: 26px; }
.drawer-header h2 span { color: var(--muted); font: 500 13px "DM Sans", sans-serif; letter-spacing: 0; }
.icon-button { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 23px; line-height: 1; cursor: pointer; }
.icon-button:hover { border-color: var(--green); color: var(--green); }
.cart-items { flex: 1; overflow: auto; }
.cart-line { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-line-art { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 4px; background: var(--card-color); font-size: 31px; }
.cart-line h3 { margin: 0 0 5px; font: 600 12px Outfit, sans-serif; }
.cart-line-price { color: var(--green); font-size: 11px; font-weight: 700; }
.quantity-control { display: flex; align-items: center; gap: 9px; margin-top: 8px; }
.quantity-control button { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.quantity-control button:hover { border-color: var(--green); color: var(--green); }
.quantity-control span { min-width: 11px; text-align: center; font-size: 11px; }
.remove-item { align-self: start; border: 0; background: transparent; color: #99968b; font-size: 15px; cursor: pointer; }
.remove-item:hover { color: #bd5540; }
.cart-empty { display: grid; flex: 1; align-content: center; justify-items: center; text-align: center; }
.cart-empty > span { margin-bottom: 14px; font-size: 42px; }
.cart-empty strong { font: 600 16px Outfit, sans-serif; }
.cart-empty p { margin: 7px 0 16px; color: var(--muted); font-size: 12px; }
.cart-footer { padding-top: 17px; border-top: 1px solid var(--line); }
.subtotal-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.subtotal-row strong { color: var(--green); font-size: 18px; }
.cart-footer > small { display: block; margin: 6px 0 17px; color: var(--muted); font-size: 9px; }
.checkout-button { width: 100%; }
.modal-wrap { position: fixed; z-index: 12; inset: 0; display: grid; place-items: center; padding: 18px; background: rgb(25 29 24 / 48%); animation: fade-in .18s ease-out; }
.checkout-modal { position: relative; width: min(450px, 100%); max-height: min(92dvh, 790px); overflow: auto; padding: 29px; border-radius: 7px; background: var(--white); box-shadow: var(--shadow); animation: modal-in .2s ease-out; }
.modal-close { position: absolute; top: 19px; right: 19px; }
.checkout-modal h2 { margin-top: 8px; }
.modal-intro { margin: 8px 0 18px; color: var(--muted); font-size: 11px; line-height: 1.6; }
#checkout-form { display: grid; gap: 12px; }
#checkout-form label { display: grid; gap: 6px; font-size: 10px; font-weight: 700; }
#checkout-form input, #checkout-form select, #checkout-form textarea { width: 100%; min-height: 39px; border: 1px solid #e4e0d6; border-radius: 3px; padding: 9px 10px; outline: none; background: white; color: var(--ink); font-size: 11px; }
#checkout-form textarea { resize: vertical; }
#checkout-form input:focus, #checkout-form select:focus, #checkout-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgb(47 92 67 / 10%); }
.optional { color: var(--muted); font-weight: 400; }
#checkout-form .checkout-button { margin-top: 3px; }
.local-note { margin: 12px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.ready-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 50%; background: #eef1d9; color: var(--green); font-size: 24px; }
.order-summary { max-height: 230px; overflow: auto; margin: 0 0 13px; padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: #f9f8f2; color: #44463d; white-space: pre-wrap; font: 11px/1.65 "DM Sans", sans-serif; }
.copy-feedback { min-height: 16px; margin: 8px 0; color: var(--green); font-size: 10px; }
.start-over { display: block; margin: 8px auto 0; }
.toast { position: fixed; z-index: 20; right: 24px; bottom: 24px; max-width: min(340px, calc(100% - 32px)); padding: 12px 16px; border-radius: 4px; background: var(--ink); color: white; font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (min-width: 1241px) { .hero { border-radius: 3px; } }
@media (max-width: 850px) {
  .hero { min-height: 430px; padding-left: 6%; }
  .hero-art { right: -5%; transform: scale(.85); transform-origin: center right; }
  .hero-bottom { right: 6%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise-inner { gap: 24px; }
  .promise-inner > p { max-width: 230px; }
}
@media (max-width: 600px) {
  .announcement { height: 30px; font-size: 9px; }
  .site-header { height: 67px; padding: 0 18px; gap: 10px; }
  .brand { gap: 7px; }
  .brand-mark { width: 35px; height: 35px; font-size: 15px; }
  .brand-name { font-size: 14px; }
  .brand-name small { font-size: 6px; }
  .main-nav { display: none; }
  .cart-button { height: 38px; gap: 6px; padding: 0 7px 0 10px; }
  .cart-label { font-size: 10px; }
  .hero { min-height: 650px; padding: 51px 24px 0; }
  .hero h1 { font-size: 57px; }
  .hero-content > p { max-width: 330px; font-size: 12px; }
  .hero-art { width: 360px; height: 337px; top: 300px; right: 50%; transform: translateX(50%) scale(.83); transform-origin: top center; }
  .hero-bottom { right: 23px; bottom: 16px; }
  .section-wrap { padding-right: 20px; padding-left: 20px; }
  .menu-section { padding-top: 59px; padding-bottom: 62px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 33px; }
  .section-heading p { font-size: 11px; }
  .search-box { width: 100%; margin-top: 19px; }
  .search-box kbd { display: none; }
  .category-list { gap: 7px; margin: 21px 0 17px; }
  .category-button { padding: 8px 12px; font-size: 9px; }
  .product-grid { gap: 10px; }
  .product-art { height: 116px; }
  .product-art::after { width: 95px; height: 95px; }
  .product-emoji { font-size: 57px; }
  .product-badge { top: 7px; left: 6px; padding: 4px 6px; font-size: 7px; }
  .product-details { padding: 10px 9px; }
  .product-top h3 { font-size: 12px; }
  .product-price { font-size: 10px; }
  .product-details p { min-height: 39px; margin: 6px 0 9px; font-size: 9px; }
  .add-button { height: 31px; font-size: 9px; }
  .promise-inner { min-height: auto; flex-wrap: wrap; gap: 12px; padding: 38px 20px; }
  .promise-spark { width: 26px; margin-right: 3px; font-size: 28px; }
  .promise-inner > div { flex: 1; }
  .promise-inner h2 { font-size: 27px; }
  .promise-inner > p { max-width: none; margin: 0 0 0 38px; font-size: 11px; }
  .promise-inner > .text-link { margin: 0 0 0 38px; }
  .contact-section { min-height: auto; align-items: flex-start; flex-direction: column; gap: 24px; padding-top: 47px; padding-bottom: 47px; }
  .contact-copy h2 { font-size: 32px; }
  .contact-card { width: 100%; }
  .site-footer { min-height: 105px; flex-wrap: wrap; gap: 10px; padding: 17px 20px; }
  .site-footer > span { order: 3; width: 100%; }
  .cart-drawer { padding: 20px; }
  .checkout-modal { padding: 24px 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.account-button { height: 39px; flex-shrink: 0; padding: 0 15px; border: 1px solid #deddd1; border-radius: 30px; background: transparent; color: var(--green); font-size: 11px; font-weight: 800; cursor: pointer; transition: background .2s, border-color .2s; }
.account-button:hover { border-color: var(--green); background: var(--white); }
.auth-modal-wrap { position: fixed; z-index: 13; inset: 0; display: grid; place-items: center; padding: 18px; background: rgb(25 29 24 / 48%); animation: fade-in .18s ease-out; }
.auth-modal { position: relative; width: min(440px, 100%); max-height: min(92dvh, 760px); overflow: auto; padding: 30px; border-radius: 7px; background: var(--white); box-shadow: var(--shadow); animation: modal-in .2s ease-out; }
.auth-modal h2 { margin: 8px 0 0; font-size: 26px; }
.auth-modal .modal-close { position: absolute; top: 18px; right: 18px; }
.auth-modal #auth-form-view > .eyebrow, .auth-modal #account-view > .eyebrow { display: block; padding-right: 35px; }
#auth-form, #phone-code-form { display: grid; gap: 12px; }
#auth-form label, #phone-code-form label, #phone-verification-controls label { display: grid; gap: 6px; font-size: 10px; font-weight: 700; }
#auth-form input, #phone-code-form input, #phone-verification-controls input { width: 100%; min-height: 40px; border: 1px solid #e4e0d6; border-radius: 3px; padding: 9px 10px; outline: none; background: white; color: var(--ink); font-size: 11px; }
#auth-form input:focus, #phone-code-form input:focus, #phone-verification-controls input:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgb(47 92 67 / 10%); }
#auth-form label small { color: var(--muted); font-size: 9px; font-weight: 400; }
.auth-feedback { min-height: 16px; margin: 10px 0 0; color: var(--green); font-size: 10px; line-height: 1.5; }
.auth-feedback.error { color: #a63c2b; }
.auth-config-warning { padding: 7px 0; }
.auth-config-warning p { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.auth-config-warning a { color: var(--green); font-weight: 700; text-decoration: underline; }
.account-detail { margin: 14px 0 0; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.account-detail strong { color: var(--ink); }
#phone-verification-controls { display: grid; gap: 9px; margin-top: 21px; }
.auth-sign-out { display: block; margin: 19px auto 0; }
#phone-code-view .checkout-button { margin-top: 3px; }
#phone-code-view > .text-link { display: block; margin: 12px auto 0; }
@media (max-width: 600px) {
  .account-button { height: 35px; padding: 0 10px; font-size: 10px; }
  .auth-modal { padding: 25px 19px; }
}

/* Panel de administración y fotos de catálogo */
.product-photo { width:100%; height:100%; object-fit:cover; position:relative; z-index:1; }
.admin-modal-wrap { position:fixed; z-index:30; inset:0; background:rgb(25 29 24 / 65%); display:grid; place-items:center; padding:16px; }
.admin-panel { background:var(--white); width:min(1000px,100%); max-height:94dvh; overflow:auto; border-radius:12px; padding:26px; }
.admin-head { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.admin-head h2 { margin:7px 0 0; }
.admin-hint { font-size:13px; color:var(--muted); margin:14px 0 20px; }
.admin-layout { display:grid; grid-template-columns:minmax(200px, 1fr) minmax(0, 1.7fr); gap:25px; }
.admin-list-wrap { border-right:1px solid var(--line); padding-right:20px; }
.admin-product-list { display:grid; gap:8px; margin-top:15px; max-height:55vh; overflow:auto; }
.admin-product-row { display:flex; gap:12px; align-items:center; text-align:left; background:#f8f7f2; border:1px solid var(--line); border-radius:7px; padding:9px; cursor:pointer; }
.admin-product-row img,.admin-product-row>span:first-child { width:53px; height:53px; object-fit:cover; border-radius:5px; display:grid; place-items:center; font-size:29px; flex-shrink:0; }
.admin-product-row strong,.admin-product-row small { display:block; }
.admin-product-row small { margin-top:4px; color:var(--muted); }
.admin-form { display:grid; gap:12px; }
.admin-form h3 { margin:0; }
.admin-form label:not(.admin-check) { display:grid; gap:5px; font-size:12px; font-weight:700; }
.admin-form input:not([type=checkbox]),.admin-form textarea { width:100%; padding:11px; border:1px solid #d9d9cf; border-radius:6px; background:white; }
.admin-check { display:flex; gap:9px; align-items:center; font-size:12px; }
.admin-image-preview { width:160px; height:125px; object-fit:cover; border-radius:8px; }
.admin-actions { display:flex; flex-wrap:wrap; gap:10px; }
.admin-delete { padding:12px; background:white; color:#b33b2c; border:1px solid #b33b2c; border-radius:5px; cursor:pointer; }
@media(max-width:700px) { .admin-panel{padding:16px;} .admin-layout{grid-template-columns:1fr;} .admin-list-wrap{border-right:0;border-bottom:1px solid var(--line);padding-right:0;padding-bottom:16px;} .admin-product-list{max-height:190px;} }

/* Editor visual integrado en el catálogo público, visible solo en sesión admin */
.inline-admin-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:24px 0 16px;padding:16px;border:2px dashed #2f5c43;border-radius:12px;background:#e8edc6;font-size:13px}
.inline-admin-toolbar span{flex:1;color:#3e5c47}
.inline-admin-toolbar button,.visual-edit-button{border:0;background:#2f5c43;color:white;padding:10px 13px;border-radius:7px;font-weight:700;cursor:pointer}
.inline-admin-toolbar button:last-child{background:white;color:#2f5c43;border:1px solid #2f5c43}
.visual-edit-button{display:block;width:calc(100% - 22px);margin:0 11px 12px;font-size:11px}
.visual-add-card{min-height:250px;border:2px dashed #2f5c43;border-radius:9px;background:#f1f5df;color:#2f5c43;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;cursor:pointer}
.visual-add-card>span{font-size:48px}.visual-add-card strong{font-size:16px}.visual-add-card small{font-size:11px}
.inline-product-editor{margin:20px 0 28px;padding:22px;background:#fffefa;border:2px solid #2f5c43;border-radius:12px;box-shadow:0 12px 30px #23271f16}
.inline-editor-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;font-size:19px}
.inline-editor-header button{border:0;background:transparent;font-size:30px;cursor:pointer}
.inline-product-editor .admin-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.inline-product-editor .admin-form h3,.inline-product-editor .admin-form label:has(textarea),.inline-product-editor .admin-form .admin-actions,.inline-product-editor .admin-form .auth-feedback{grid-column:1/-1}
.inline-product-editor .admin-image-preview{width:180px;height:140px}
@media(max-width:600px){.inline-product-editor .admin-form{grid-template-columns:1fr}.inline-product-editor{padding:15px}.inline-admin-toolbar{align-items:stretch;flex-direction:column}}

/* Datos de entrega en Nuevo Laredo */
.phone-input-group { display:flex; align-items:stretch; margin-top:7px; }
.phone-prefix { display:flex; align-items:center; padding:0 13px; background:#edf1e6; border:1px solid #e4e0d6; border-right:0; border-radius:4px 0 0 4px; font-size:13px; font-weight:800; white-space:nowrap; }
#checkout-form .phone-input-group input { margin:0; border-radius:0 4px 4px 0; min-width:0; flex:1; }
#checkout-form #address-field > label { display:block; margin-top:12px; }
#checkout-form #address-field input[readonly] { background:#f1f2ed; color:#445246; }
#checkout-form .delivery-confirm { display:flex !important; align-items:flex-start; gap:9px; line-height:1.5; font-size:12px; }
#checkout-form .delivery-confirm input { width:17px; min-height:17px; height:17px; flex:0 0 17px; margin:1px 0 0; }
.delivery-disclaimer { font-size:11px; color:#66695d; margin:8px 0 0; line-height:1.5; }

/* Panel de pedidos y estados de transferencia */
.orders-panel{padding-top:36px;padding-bottom:45px;border-top:1px solid var(--line)}
.orders-panel-header{display:flex;justify-content:space-between;align-items:center;gap:16px}
.orders-list{display:grid;gap:12px;margin-top:18px}
.order-admin-card{border:1px solid var(--line);background:var(--white);border-radius:8px;padding:18px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.order-admin-card h3,.order-admin-card p{flex-basis:100%;margin:0}
.order-admin-card p{overflow-wrap:anywhere;font-size:13px}
.order-admin-card select{padding:9px;border:1px solid var(--line);border-radius:5px;background:white}
.order-status-feedback{font-size:12px;color:var(--green)}
.order-summary{white-space:pre-wrap;overflow-wrap:anywhere}
