:root {
  color-scheme: light;
  --navy: #071f38;
  --navy-soft: #153b5d;
  --blue: #1169b5;
  --blue-soft: #e6f2fb;
  --red: #e33a3d;
  --red-dark: #b8232b;
  --ink: #14263a;
  --muted: #667483;
  --paper: #f8fafb;
  --surface: #ffffff;
  --line: #dce4ea;
  --line-dark: #c5d2dc;
  --green: #197c60;
  --shadow: 0 18px 44px rgba(7, 31, 56, 0.08);
  --soft-shadow: 0 8px 24px rgba(7, 31, 56, 0.07);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--paper); color: var(--ink); }
body.is-drawer-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.is-hidden { display: none !important; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid rgba(220, 228, 234, 0.9); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 190px; }
.brand img { width: 142px; height: 55px; object-fit: contain; object-position: left center; }
.brand-context { padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; font-weight: 700; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.08em; }
.main-nav { display: flex; align-items: center; gap: 24px; color: var(--navy-soft); font-size: 0.86rem; font-weight: 700; }
.main-nav > a { transition: color 160ms ease; }
.main-nav > a:hover, .footer-links a:hover { color: var(--red); }
.nav-whatsapp { display: inline-flex; align-items: center; gap: 7px; }
.whatsapp-mark { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #1aa86d; color: white; font-size: 0.86rem; transform: rotate(-40deg); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; border: 1px solid transparent; border-radius: 6px; padding: 0 16px; color: var(--ink); font-weight: 800; text-align: center; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .icon-button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(17, 105, 181, 0.25); outline-offset: 2px; }
.button-primary { background: var(--red); color: white; box-shadow: 0 8px 18px rgba(227, 58, 61, 0.18); }
.button-primary:hover { background: var(--red-dark); }
.button-outline { border-color: var(--line-dark); background: transparent; color: var(--navy); }
.button-outline:hover { border-color: var(--navy-soft); background: white; }
.button-light { background: white; color: var(--navy); }
.button-light:hover { background: #eef7ff; }
.button-large { min-height: 52px; padding: 0 22px; }
.nav-cta { min-height: 40px; font-size: 0.8rem; }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--navy); }
.menu-toggle { display: none; gap: 4px; }
.menu-toggle span { display: block; width: 16px; height: 2px; background: currentColor; }
.mobile-nav { display: none; }
.mobile-nav[hidden] { display: none !important; }

.hero-section { position: relative; min-height: 590px; overflow: hidden; background: #f7fbfe; }
.hero-image { position: absolute; inset: 0; background-image: url("recovered-cleantopal/assets/clean-topal-hero-1.png"); background-position: center right; background-repeat: no-repeat; background-size: cover; }
.hero-content { position: relative; display: flex; align-items: center; min-height: 590px; }
.hero-copy { width: min(560px, 55%); padding: 58px 0 72px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--red); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.13em; line-height: 1.2; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 30px; height: 2px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: 0; }
h1 { max-width: 590px; margin-bottom: 22px; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 0.98; }
h2 { margin-bottom: 12px; font-size: clamp(2rem, 3.3vw, 3.25rem); line-height: 1.05; }
h3 { color: var(--navy); font-size: 1.05rem; }
.hero-lede { max-width: 450px; margin-bottom: 28px; color: #425366; font-size: 1.06rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.text-link { color: var(--navy); font-size: 0.9rem; font-weight: 800; }
.text-link:hover { color: var(--red); }
.hero-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; color: var(--navy-soft); font-size: 0.8rem; font-weight: 800; }
.check-mark { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #d8f1e5; color: var(--green); font-size: 0.75rem; }

.service-intro { padding: 65px 0 70px; background: white; border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: 0.9fr 0.9fr 1.25fr; align-items: center; gap: 50px; }
.intro-grid h2 { margin-bottom: 0; font-size: clamp(2rem, 3.2vw, 2.9rem); }
.intro-copy { max-width: 350px; margin-bottom: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.65; }
.benefit-list { display: flex; justify-content: space-between; gap: 18px; }
.benefit-item { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.benefit-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 1.1rem; }
.benefit-item strong, .benefit-item small { display: block; }
.benefit-item strong { margin-bottom: 3px; color: var(--navy); font-size: 0.86rem; }
.benefit-item small { color: var(--muted); font-size: 0.72rem; }

.catalog-section { padding: 92px 0 100px; }
.section-heading { margin-bottom: 32px; }
.section-heading h2 { margin-bottom: 8px; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.section-heading-with-action { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.catalog-count { align-self: end; padding-bottom: 7px; color: var(--muted); font-size: 0.8rem; }
.catalog-count strong { color: var(--navy); font-size: 1.35rem; }
.category-tabs { display: flex; align-items: center; gap: 7px; margin-bottom: 28px; overflow-x: auto; padding-bottom: 7px; scrollbar-width: thin; }
.category-tab { min-height: 38px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 100px; background: white; color: var(--muted); padding: 0 15px; font-size: 0.8rem; font-weight: 800; }
.category-tab:hover { border-color: var(--blue); color: var(--blue); }
.category-tab.is-active { border-color: var(--navy); background: var(--navy); color: white; }
.category-note { margin: -8px 0 24px; padding: 13px 16px; border-left: 3px solid var(--red); background: #fff7f4; color: var(--navy-soft); font-size: 0.8rem; line-height: 1.55; }
.category-note strong { color: var(--red-dark); }
.bedding-note h3 { margin: 0 0 10px; font-size: 1rem; color: var(--navy); }
.bedding-note p { margin: 0 0 10px; }
.bedding-note .bedding-note-signature { margin-bottom: 0; font-weight: 800; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--soft-shadow); transition: transform 180ms ease, box-shadow 180ms ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-image { width: 100%; aspect-ratio: 1.52; object-fit: cover; background: #e9f3f9; }
.service-card-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.service-tag { align-self: flex-start; margin-bottom: 10px; color: var(--red); font-size: 0.67rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.service-card h3 { margin-bottom: 7px; font-size: 1.08rem; }
.service-description { min-height: 42px; margin-bottom: 17px; color: var(--muted); font-size: 0.83rem; line-height: 1.45; }
.service-card-details { margin-bottom: 16px; border-top: 1px solid var(--line); }
.service-card-details summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0 9px; color: var(--blue); cursor: pointer; font-size: 0.75rem; font-weight: 900; list-style: none; }
.service-card-details summary::-webkit-details-marker { display: none; }
.service-card-details summary span { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; font-size: 0.85rem; line-height: 1; }
.service-card-details[open] summary { color: var(--red); }
.service-card-details[open] summary span { transform: rotate(45deg); }
.service-detail-content { display: grid; gap: 11px; padding: 2px 0 5px; color: var(--muted); font-size: 0.72rem; line-height: 1.45; }
.service-detail-content strong { color: var(--navy-soft); font-size: 0.72rem; }
.service-detail-content ul { display: grid; gap: 4px; margin: 5px 0 0; padding-left: 17px; }
.service-detail-content li::marker { color: var(--red); }
.service-detail-content p { margin: 0; padding-top: 8px; border-top: 1px dashed var(--line); }
.service-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); }
.service-price strong { display: block; color: var(--navy); font-size: 1.22rem; }
.service-price small { color: var(--muted); font-size: 0.7rem; }
.service-controls { display: flex; align-items: center; gap: 8px; }
.quantity-control { display: inline-flex; align-items: center; height: 36px; border: 1px solid var(--line-dark); border-radius: 5px; background: var(--paper); }
.quantity-control button { display: grid; place-items: center; width: 31px; height: 34px; border: 0; background: transparent; color: var(--navy); font-size: 1.1rem; }
.quantity-control button:hover { color: var(--red); }
.quantity-control output { display: grid; place-items: center; min-width: 25px; color: var(--navy); font-size: 0.8rem; font-weight: 800; }
.add-button { height: 36px; border: 0; border-radius: 5px; background: var(--navy); color: white; padding: 0 11px; font-size: 0.76rem; font-weight: 800; }
.add-button:hover { background: var(--blue); }
.empty-catalog { grid-column: 1 / -1; padding: 46px; border: 1px dashed var(--line-dark); text-align: center; color: var(--muted); }

.how-section { padding: 90px 0 100px; background: #edf5fa; }
.how-section .section-heading { max-width: 470px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.step-item { position: relative; padding: 24px 28px 0 0; border-right: 1px solid var(--line-dark); }
.step-item:not(:first-child) { padding-left: 24px; }
.step-item:last-child { border-right: 0; }
.step-number { display: block; margin-bottom: 36px; color: var(--red); font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }
.step-item h3 { margin-bottom: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 500; }
.step-item p { max-width: 200px; margin-bottom: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }

.checkout-section { padding: 94px 0 100px; background: white; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 70px; }
.checkout-main > .section-heading { margin-bottom: 38px; }
.checkout-form { display: grid; gap: 30px; }
fieldset { min-width: 0; margin: 0; padding: 0 0 28px; border: 0; border-bottom: 1px solid var(--line); }
legend { margin-bottom: 18px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.delivery-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.delivery-option { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 76px; padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); cursor: pointer; }
.delivery-option.is-selected { border-color: var(--blue); background: var(--blue-soft); }
.delivery-option input { position: absolute; opacity: 0; pointer-events: none; }
.radio-indicator { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 1px; border: 1px solid var(--line-dark); border-radius: 50%; background: white; }
.delivery-option.is-selected .radio-indicator { border: 5px solid var(--blue); }
.delivery-option strong, .delivery-option small { display: block; }
.delivery-option strong { margin-bottom: 5px; color: var(--navy); font-size: 0.82rem; line-height: 1.35; }
.delivery-option small { color: var(--muted); font-size: 0.73rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 14px; }
.pickup-location{margin:0 0 22px;padding:18px;border:1px solid #d7e3ec;border-radius:12px;background:#f5f9fc}.pickup-location p{font-size:.85rem;line-height:1.5}.pickup-location iframe{display:block;width:100%;height:280px;border:0;border-radius:10px;margin:14px 0}.pickup-location [hidden]{display:none!important}.pickup-location .terms-check{margin:16px 0}.pickup-location a{color:#093d88}
.field { display: grid; gap: 7px; color: var(--navy-soft); font-size: 0.76rem; font-weight: 800; }
.field-wide { grid-column: 1 / -1; }
.optional { color: var(--muted); font-size: 0.68rem; font-weight: 500; }
input:not([type="radio"]):not([type="checkbox"]), select, textarea { width: 100%; min-height: 45px; border: 1px solid var(--line-dark); border-radius: 5px; background: white; color: var(--ink); padding: 11px 12px; outline: none; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #9aa7b3; }
.field-hint { margin: 13px 0 0; color: var(--muted); font-size: 0.75rem; }
.field-hint span { color: var(--green); font-size: 0.6rem; }
.payment-options { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.payment-options label { display: inline-flex; align-items: center; gap: 7px; color: var(--navy-soft); font-size: 0.8rem; font-weight: 700; }
.payment-options input, .terms-check input { accent-color: var(--blue); }
.payment-options small { color: var(--muted); font-size: 0.68rem; font-weight: 500; }
.terms-check { display: inline-flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.terms-check input { margin-top: 3px; }
.terms-check a { color: var(--blue); text-decoration: underline; }
.form-error { margin: -14px 0 0; color: var(--red-dark); font-size: 0.8rem; font-weight: 700; }
.submit-order { width: min(100%, 330px); }
.checkout-summary { position: sticky; top: 102px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: var(--soft-shadow); }
.summary-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.summary-header .eyebrow { margin: 0; color: var(--navy); font-size: 0.7rem; }
.summary-count { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: white; font-size: 0.72rem; font-weight: 800; }
.summary-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.summary-item strong { display: block; margin-bottom: 5px; color: var(--navy); font-size: 0.82rem; }
.summary-item small { color: var(--muted); font-size: 0.72rem; }
.summary-item > strong { align-self: center; color: var(--navy); }
.summary-empty { padding: 26px 0; color: var(--muted); font-size: 0.8rem; line-height: 1.5; }
.summary-lines { display: grid; gap: 12px; padding: 18px 0; color: var(--muted); font-size: 0.8rem; }
.summary-lines > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.summary-lines strong { color: var(--navy); }
.summary-total { padding-top: 14px; border-top: 1px solid var(--line-dark); color: var(--navy); font-weight: 900; }
.summary-total strong { color: var(--red); font-size: 1.4rem; }
.summary-discount strong { color: var(--green); }
.coupon-box { margin: 4px 0 20px; padding: 14px; border: 1px dashed var(--line-dark); border-radius: 6px; background: white; }
.coupon-box label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 0.75rem; font-weight: 800; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { min-height: 38px !important; text-transform: uppercase; }
.coupon-row .button { min-height: 38px; padding: 0 12px; font-size: 0.75rem; }
.coupon-message { min-height: 16px; margin: 8px 0 0; color: var(--muted); font-size: 0.7rem; }
.coupon-message.is-success { color: var(--green); font-weight: 800; }
.coupon-message.is-error { color: var(--red-dark); font-weight: 700; }
.summary-edit { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 0.78rem; font-weight: 800; }
.secure-note { display: flex; gap: 7px; margin: 25px 0 0; color: var(--muted); font-size: 0.7rem; line-height: 1.45; }
.secure-note span { color: var(--green); }

.service-area { padding: 64px 0; background: var(--navy); color: white; }
.service-area-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.service-area .eyebrow { color: #ff9d9f; }
.service-area h2 { max-width: 570px; margin: 0; color: white; font-size: clamp(1.8rem, 3vw, 2.7rem); }

.site-footer { padding: 25px 0 115px; background: white; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: inline-flex; align-items: center; gap: 15px; color: var(--muted); font-size: 0.76rem; }
.footer-brand img { width: 92px; height: 47px; object-fit: contain; }
.footer-links { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.footer-links button { border: 0; background: transparent; color: var(--muted); font-size: inherit; font-weight: inherit; }
.footer-links button:hover { color: var(--red); }

.floating-cart, .floating-whatsapp { position: fixed; z-index: 18; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; border: 0; border-radius: 100px; color: white; font-size: 0.78rem; font-weight: 900; box-shadow: 0 10px 28px rgba(7, 31, 56, 0.2); }
.floating-cart { right: 22px; bottom: 22px; background: var(--navy); padding: 0 17px 0 13px; }
.floating-whatsapp { left: 22px; bottom: 22px; background: #1aa86d; padding: 0 16px 0 13px; }
.floating-cart:hover, .floating-whatsapp:hover { transform: translateY(-2px); }
.cart-icon { display: inline-grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(255,255,255,0.55); border-radius: 50%; font-size: 1rem; }
.floating-cart strong { display: grid; place-items: center; min-width: 20px; height: 20px; margin-left: 2px; border-radius: 50%; background: var(--red); font-size: 0.68rem; }

.drawer-backdrop, .modal-backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(7, 31, 56, 0.45); }
.cart-drawer { position: fixed; top: 0; right: 0; z-index: 31; display: flex; flex-direction: column; width: min(430px, 100%); height: 100%; transform: translateX(105%); background: white; box-shadow: -18px 0 50px rgba(7,31,56,0.16); transition: transform 220ms ease; }
.cart-drawer.is-open { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 24px 18px; border-bottom: 1px solid var(--line); }
.drawer-header .eyebrow { margin-bottom: 7px; }
.drawer-header h2 { margin: 0; font-size: 2rem; }
.close-drawer, .modal-close { font-size: 1.5rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 10px 24px; }
.drawer-item { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.drawer-item h3 { margin-bottom: 5px; font-size: 0.95rem; }
.drawer-item p { margin: 0; color: var(--muted); font-size: 0.74rem; }
.drawer-item-price { color: var(--navy); font-size: 0.88rem; font-weight: 900; text-align: right; }
.drawer-item-actions { display: flex; align-items: center; justify-content: space-between; grid-column: 1 / -1; }
.remove-item { border: 0; background: transparent; color: var(--red); font-size: 0.72rem; font-weight: 800; }
.drawer-empty { padding: 54px 8px; color: var(--muted); text-align: center; }
.drawer-empty strong { display: block; margin-bottom: 8px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; font-weight: 500; }
.drawer-footer { padding: 19px 24px 24px; border-top: 1px solid var(--line); }
.drawer-total { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 0.82rem; }
.drawer-total strong { color: var(--red); font-size: 1.5rem; }
.drawer-help { margin: 8px 0 16px; color: var(--muted); font-size: 0.72rem; }
.drawer-footer .button { width: 100%; }
.toast { position: fixed; right: 22px; top: 90px; z-index: 50; max-width: min(360px, calc(100% - 44px)); padding: 13px 16px; transform: translateY(-12px); border: 1px solid #b8e2cf; border-radius: 6px; background: #eaf8f1; color: #126347; box-shadow: var(--soft-shadow); font-size: 0.78rem; font-weight: 800; opacity: 0; pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.confirmation-modal { position: relative; width: min(460px, calc(100% - 32px)); margin: 12vh auto 0; padding: 40px; border-radius: 8px; background: white; box-shadow: var(--shadow); text-align: center; }
.modal-close { position: absolute; top: 18px; right: 18px; }
.confirmation-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 50%; background: #d8f1e5; color: var(--green); font-size: 1.5rem; font-weight: 900; }
.confirmation-modal .eyebrow { justify-content: center; }
.confirmation-modal h2 { margin-bottom: 12px; font-size: 2.2rem; }
.confirmation-modal p:not(.eyebrow) { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.confirmation-number { margin: 20px 0; padding: 11px; background: var(--paper); color: var(--navy); font-size: 0.8rem; font-weight: 900; letter-spacing: 0.08em; }
.confirmation-modal .button { width: 100%; margin-top: 10px; }

.admin-view { min-height: calc(100vh - 76px); padding: 52px 0 120px; background: var(--paper); }
.admin-topbar { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.admin-topbar h1 { margin-bottom: 8px; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.admin-topbar > div > p:last-child { margin: 0; color: var(--muted); }
.admin-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.admin-metric { padding: 18px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.admin-metric span { display: block; color: var(--muted); font-size: 0.75rem; }
.admin-metric strong { display: block; margin-top: 10px; color: var(--navy); font-size: 1.8rem; }
.admin-columns { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); align-items: start; gap: 18px; margin-bottom: 18px; }
.admin-session-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.admin-login-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 28px; border: 1px solid #dbe3ed; border-radius: 8px; color: var(--navy); background: white; }
.admin-login-dialog::backdrop { background: rgba(0, 0, 0, 0.45); }
.admin-login-dialog form { display: grid; gap: 20px; }
.admin-login-dialog h2 { font-size: 1.4rem; margin: 0; }
.admin-password-settings { padding: 16px 0; margin-bottom: 20px; border-bottom: 1px solid #dbe3ed; }
.admin-password-settings summary { cursor: pointer; font-weight: 600; margin-bottom: 16px; }
.admin-view[aria-busy="true"] { pointer-events: none; opacity: 0.8; }
button:disabled { cursor: wait; opacity: 0.6; }
.admin-panel { padding: 22px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.panel-heading .eyebrow { margin-bottom: 7px; }
.panel-heading h2 { margin: 0; font-size: 1.65rem; }
.panel-caption { color: var(--green); font-size: 0.73rem; font-weight: 800; }
.admin-service-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 100px minmax(145px, auto); align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.admin-service-image { display: grid; justify-items: center; gap: 5px; }
.admin-service-image img { width: 58px; height: 48px; border-radius: 5px; object-fit: cover; background: var(--blue-soft); }
.image-picker { position: relative; display: inline-flex; min-height: 18px; align-items: center; justify-content: center; color: var(--blue); font-size: 0.63rem; font-weight: 800; cursor: pointer; }
.image-picker input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.image-picker:hover { color: var(--red); }
.admin-service-row strong { display: block; color: var(--navy); font-size: 0.82rem; }
.admin-service-row small { color: var(--muted); font-size: 0.7rem; }
.admin-service-row input, .admin-setting input { min-height: 38px !important; padding: 7px 9px !important; }
.admin-service-row button { min-height: 36px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--navy); padding: 0 10px; font-size: 0.72rem; font-weight: 800; }
.admin-service-row button.is-off { color: var(--red); }
.admin-service-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.service-order-controls { display: flex; gap: 4px; }
.service-order-controls button { width: 44px; height: 44px; padding: 0; font-size: 1.25rem; }
.service-order-controls button:disabled { opacity: 0.35; cursor: not-allowed; }
.service-order-controls button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.admin-service-actions .edit-service-button { color: var(--blue); }
.admin-service-actions .delete-service-button { color: var(--red); }
.admin-service-editor { grid-column: 1 / -1; border-top: 1px dashed var(--line); }
.admin-service-editor summary { padding: 11px 0 2px; color: var(--blue); cursor: pointer; font-size: 0.72rem; font-weight: 900; list-style: none; }
.admin-service-editor summary::-webkit-details-marker { display: none; }
.admin-service-editor summary::before { content: "+"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 7px; border: 1px solid currentColor; border-radius: 50%; }
.admin-service-editor[open] summary::before { content: "−"; }
.admin-edit-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(150px, 1fr) 105px 135px; gap: 10px; padding: 12px 0 2px; }
.admin-edit-grid label { display: grid; gap: 6px; color: var(--navy-soft); font-size: 0.7rem; font-weight: 800; }
.admin-edit-grid input, .admin-edit-grid select, .admin-edit-grid textarea { width: 100%; min-height: 38px; border: 1px solid var(--line-dark); border-radius: 5px; background: white; color: var(--ink); padding: 7px 9px; font-size: 0.76rem; }
.admin-edit-grid textarea { min-height: 68px; resize: vertical; }
.admin-edit-grid .field-wide { grid-column: 1 / span 2; }
.edit-save-button { min-height: 34px !important; margin-top: 10px; padding: 0 12px !important; font-size: 0.7rem !important; }
.admin-detail-editor { grid-column: 1 / -1; border-top: 1px dashed var(--line); }
.admin-detail-editor summary { padding: 11px 0 2px; color: var(--blue); cursor: pointer; font-size: 0.72rem; font-weight: 900; list-style: none; }
.admin-detail-editor summary::-webkit-details-marker { display: none; }
.admin-detail-editor summary::before { content: "+"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 7px; border: 1px solid currentColor; border-radius: 50%; }
.admin-detail-editor[open] summary::before { content: "−"; }
.admin-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px 0 2px; }
.admin-detail-grid label { display: grid; gap: 6px; color: var(--navy-soft); font-size: 0.7rem; font-weight: 800; }
.admin-detail-grid textarea { width: 100%; min-height: 72px; border: 1px solid var(--line-dark); border-radius: 5px; padding: 8px 9px; color: var(--ink); font-size: 0.75rem; line-height: 1.4; resize: vertical; }
.detail-save-button { min-height: 34px !important; margin-top: 10px; padding: 0 12px !important; font-size: 0.7rem !important; }
.admin-setting { display: grid; gap: 7px; margin-bottom: 22px; color: var(--navy-soft); font-size: 0.76rem; font-weight: 800; }
.admin-setting select, .admin-setting textarea { width: 100%; min-height: 38px; border: 1px solid var(--line-dark); border-radius: 5px; background: white; color: var(--ink); padding: 7px 9px; }
.admin-setting textarea { min-height: 68px; resize: vertical; }
.new-service-form { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(155px, 1fr) 105px 135px; align-items: end; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.new-service-form .admin-setting { margin-bottom: 0; }
.new-service-form .new-service-description { grid-column: 1 / span 2; }
.new-service-form .new-service-image-field { grid-column: 3; }
.new-service-form .button { min-height: 38px; align-self: end; }
.new-service-help { margin: 12px 0 4px; }
.slot-list { display: grid; gap: 11px; margin-bottom: 24px; }
.slot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--navy-soft); font-size: 0.76rem; }
.slot-row input { width: 72px; min-height: 37px !important; }
.promotions-panel { margin-bottom: 18px; }
.promotion-form { display: grid; grid-template-columns: 1fr 1fr 150px auto; align-items: end; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.promotion-form .admin-setting { margin-bottom: 0; }
.promotion-form .button { min-height: 38px; }
.promotion-list { display: grid; gap: 0; }
.promotion-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.promotion-row strong, .promotion-row small { display: block; }
.promotion-row strong { color: var(--navy); font-size: 0.82rem; }
.promotion-row small { margin-top: 4px; color: var(--muted); font-size: 0.72rem; }
.promotion-status { color: var(--green); font-size: 0.72rem; font-weight: 800; }
.promotion-status.is-off { color: var(--muted); }
.admin-help { margin: 15px 0 0; color: var(--muted); font-size: 0.72rem; }
.admin-orders-panel { overflow: hidden; }
.admin-table-wrap { width: 100%; overflow-x: auto; }
.admin-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 10px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 0.76rem; }
.admin-table th { color: var(--muted); font-size: 0.67rem; letter-spacing: 0.07em; text-transform: uppercase; }
.admin-table td strong, .admin-table td small { display: block; }
.admin-table td strong { color: var(--navy); }
.admin-table td small { margin-top: 4px; color: var(--muted); }
.status-select { min-height: 32px !important; padding: 5px 7px !important; font-size: 0.72rem; }
.admin-empty { padding: 34px 8px; color: var(--muted); text-align: center; }

@media (max-width: 1050px) {
  .main-nav { gap: 15px; }
  .brand-context { display: none; }
  .intro-grid { grid-template-columns: 0.85fr 0.8fr; }
  .benefit-list { grid-column: 1 / -1; justify-content: flex-start; gap: 42px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .container { width: min(100% - 32px, 620px); }
  .main-nav > a { display: none; }
  .main-nav { gap: 10px; }
  .menu-toggle { display: grid; }
  .nav-cta { display: inline-flex !important; }
  .mobile-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 0 16px 13px; background: white; }
  .mobile-nav a { padding: 11px 4px; color: var(--navy-soft); font-size: 0.72rem; font-weight: 800; text-align: center; }
  .hero-section, .hero-content { min-height: 640px; }
  .hero-image { background-position: 63% center; background-size: auto 100%; opacity: 0.37; }
  .hero-copy { width: min(600px, 100%); padding: 76px 0 70px; }
  .hero-lede { max-width: 440px; }
  .intro-grid { grid-template-columns: 1fr; gap: 22px; }
  .intro-copy { max-width: 550px; }
  .benefit-list { gap: 20px; }
  .checkout-layout { grid-template-columns: 1fr; gap: 42px; }
  .checkout-summary { position: static; grid-row: 1; }
  .checkout-main { grid-row: 2; }
  .admin-columns { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 480px); }
  .site-header { position: sticky; }
  .nav-shell { min-height: 64px; }
  .brand { min-width: 0; }
  .brand img { width: 128px; height: 49px; }
  .nav-cta { min-height: 36px; padding: 0 10px; font-size: 0.68rem; }
  .menu-toggle { width: 36px; height: 36px; }
  .hero-section, .hero-content { min-height: 590px; }
  .hero-image { background-position: 68% center; background-size: auto 100%; opacity: 0.26; }
  .hero-copy { padding: 60px 0 56px; }
  h1 { max-width: 360px; font-size: clamp(2.55rem, 13vw, 3.6rem); }
  .hero-lede { font-size: 0.94rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { text-align: center; }
  .service-intro, .catalog-section, .how-section, .checkout-section { padding: 66px 0 72px; }
  .benefit-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .benefit-item { display: grid; justify-items: center; gap: 7px; text-align: center; }
  .benefit-item small { font-size: 0.65rem; }
  .section-heading-with-action { display: block; }
  .catalog-count { margin-top: 20px; }
  .category-tabs { margin-right: -14px; }
  .catalog-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { display: grid; grid-template-columns: 104px 1fr; }
  .service-image { width: 104px; height: 100%; min-height: 178px; aspect-ratio: auto; }
  .service-card-body { padding: 15px; }
  .service-description { min-height: 0; margin-bottom: 12px; font-size: 0.78rem; }
  .service-meta { align-items: end; display: block; }
  .service-controls { justify-content: space-between; margin-top: 12px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-item { min-height: 190px; padding: 18px 15px 0 0; border-bottom: 1px solid var(--line-dark); }
  .step-item:nth-child(even) { padding-left: 15px; border-right: 0; }
  .step-item:nth-child(3), .step-item:nth-child(4) { padding-top: 22px; border-bottom: 0; }
  .step-number { margin-bottom: 22px; }
  .step-item h3 { font-size: 1.3rem; }
  .delivery-options, .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  legend { font-size: 1.25rem; }
  .payment-options { display: grid; gap: 12px; }
  .service-area-inner, .footer-inner, .admin-topbar { align-items: flex-start; flex-direction: column; }
  .service-area-inner .button { width: 100%; }
  .site-footer { padding-bottom: 145px; }
  .footer-links { align-items: flex-start; flex-direction: column; gap: 10px; }
  .floating-cart, .floating-whatsapp { bottom: 16px; min-height: 44px; font-size: 0.72rem; }
  .floating-cart { right: 14px; }
  .floating-whatsapp { left: 14px; }
  .confirmation-modal { margin-top: 6vh; padding: 34px 22px 24px; }
  .admin-metrics { grid-template-columns: repeat(2, 1fr); }
  .admin-service-row { grid-template-columns: 58px minmax(0, 1fr) 84px; gap: 9px; }
  .admin-service-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .admin-edit-grid { grid-template-columns: 1fr 1fr; }
  .admin-edit-grid .field-wide { grid-column: 1 / -1; }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .new-service-form { grid-template-columns: 1fr 1fr; }
  .new-service-form .new-service-description, .new-service-form .new-service-image-field, .new-service-form .button { grid-column: 1 / -1; }
  .new-service-form .button { width: 100%; }
  .promotion-form { grid-template-columns: 1fr 1fr; }
  .promotion-form .button { width: 100%; }
  .promotion-row { grid-template-columns: minmax(0, 1fr) auto; }
  .promotion-row button { min-height: 34px; }
}

/* Instalación y comodidad de uso en iPhone. */
.install-app { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; margin-top: 32px; padding: 28px; background: var(--blue-soft); border-radius: 20px; }
.install-app h2 { font-size: 1.9rem; }
.install-app p { line-height: 1.6; }
.install-app summary { padding: 14px 0; min-height: 48px; cursor: pointer; font-weight: 750; }
.install-app li { margin-bottom: 10px; line-height: 1.5; }
@media (max-width: 560px) {
  .site-header { padding-top: env(safe-area-inset-top); }
  .install-app { grid-template-columns: 1fr; gap: 8px; padding: 24px; }
  .field input, .field select, .field textarea, .coupon-row input { font-size: 16px; }
  .floating-cart, .floating-whatsapp { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .drawer-footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .category-tab, .quantity-control button, .add-button { min-height: 44px; }
  .site-footer { padding-bottom: calc(145px + env(safe-area-inset-bottom)); }
}
@media (display-mode: standalone) { .install-app { display: none; } }
