:root {
  --bordarte-ink: #25212b;
  --bordarte-plum: #6d315e;
  --bordarte-coral: #df6a62;
  --bordarte-cream: #fff8ee;
  --bordarte-mint: #b9d8c2;
}
body { color: var(--bordarte-ink); background: #faf9f7; }
[hidden] { display: none !important; }
.navbar-brand { letter-spacing: .14em; font-weight: 800; }
.brand-logo { width: 168px; height: 52px; object-fit: contain; }
.footer-logo { width: 210px; height: auto; margin-bottom: .75rem; }
.social-link svg { width: 1.7rem; height: 1.7rem; }
.management-label { color: #fff; font-size: .78rem; letter-spacing: .12em; border-left: 1px solid #ffffff55; padding-left: .7rem; }
.btn-primary { --bs-btn-bg: var(--bordarte-plum); --bs-btn-border-color: var(--bordarte-plum); --bs-btn-hover-bg: #542549; --bs-btn-hover-border-color: #542549; }
.btn-coral { background: var(--bordarte-coral); color: #fff; border: 0; }
.btn-coral:hover { background: #c95852; color: #fff; }
.hero { background: linear-gradient(125deg, var(--bordarte-cream), #f7ddda); min-height: 570px; display: flex; align-items: center; overflow: hidden; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 6.8rem); letter-spacing: -.05em; line-height: .85; }
.hero-copy { max-width: 650px; }
.hero-logo-card { min-height: 370px; display: grid; place-items: center; padding: 2.5rem; background: #ffffff99; border: 1px solid #fff; border-radius: 48% 52% 42% 58% / 58% 39% 61% 42%; transform: rotate(3deg); box-shadow: 0 30px 70px #173c5840; }
.hero-logo-card img { width: 100%; height: auto; transform: rotate(-3deg); filter: drop-shadow(0 15px 20px #173c5830); }
.hero-photo-card { padding: 0; overflow: hidden; background: #fff; }
.hero-photo-card img { width: 100%; height: 420px; object-fit: cover; filter: none; }
.section-space { padding: 5rem 0; }
.eyebrow { color: var(--bordarte-coral); text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .8rem; }
.service-card, .product-card, .metric-card { border: 0; border-radius: 1.25rem; box-shadow: 0 10px 35px #382d4010; }
.service-card { transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-.3rem); box-shadow: 0 18px 42px #382d4020; }
.service-icon { width: 3.5rem; height: 3.5rem; display: grid; place-items: center; border-radius: 1rem; background: var(--bordarte-cream); font-size: 1.7rem; }
.landing-service-image { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.service-category { color: var(--bordarte-coral); font-size: .78rem; font-weight: 800; letter-spacing: .14em; margin-bottom: .55rem; text-transform: uppercase; }
.family-section { background: linear-gradient(135deg, #fff, var(--bordarte-cream)); }
.family-steps { display: grid; gap: 1rem; }
.family-step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.25rem; border-radius: 1rem; background: #fff; box-shadow: 0 10px 30px #382d4010; }
.family-step > strong { color: var(--bordarte-coral); font-size: 1.5rem; line-height: 1; }
.family-step h3, .family-step p { margin: 0; }
.family-step p { color: #6c757d; margin-top: .25rem; }
.contact-form-card { background: var(--bordarte-cream); box-shadow: 0 20px 60px #382d4015; }
.contact-form-card .form-control { min-height: 52px; font-size: 1rem; }
.contact-form-card textarea.form-control { min-height: 130px; }
.contact-locations { display: grid; gap: .8rem; }
.contact-locations a { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem; border: 1px solid #ded9d4; border-radius: 1rem; color: var(--bordarte-ink); background: #fff; text-decoration: none; }
.contact-locations a:hover { border-color: var(--bordarte-plum); }
.contact-locations strong, .contact-locations small { display: block; }
.contact-locations small { color: #6c757d; margin-top: .2rem; }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }
.lead-new { border-left: 6px solid #ffc107; }
.lead-message { padding: 1rem; border-radius: .8rem; background: #f7f5f3; }
.product-image { aspect-ratio: 4 / 3; object-fit: cover; background: linear-gradient(135deg, #f4e5ec, #f5eddb); }
.product-placeholder { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #f4e5ec, #f5eddb); display: grid; place-items: center; font-size: 4rem; color: var(--bordarte-plum); }
.whatsapp { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 20; width: 3.8rem; height: 3.8rem; border-radius: 50%; background: #25d366; color: white; display: grid; place-items: center; font-weight: 900; text-decoration: none; box-shadow: 0 8px 24px #0003; }
.whatsapp svg { width: 2rem; height: 2rem; }
.management-shell { min-height: 100vh; }
.management-nav { background: var(--bordarte-ink); }
.management-nav-link { min-height: 48px; display: flex; align-items: center; padding: .7rem .9rem !important; border-radius: .65rem; color: #ffffffe6; font-size: 1rem; font-weight: 700; }
.management-nav-link:hover, .management-nav-link:focus { color: #fff; background: #ffffff1a; }
.management-nav-link.active { color: var(--bordarte-ink) !important; background: #fff; }
.management-menu-button { min-height: 48px; display: flex; align-items: center; gap: .45rem; padding: .5rem .75rem; font-size: 1rem; }
.management-more-menu { min-width: 220px; padding: .5rem; }
.management-more-menu .dropdown-item { min-height: 48px; display: flex; align-items: center; border-radius: .45rem; font-size: 1rem; }
.quick-action { min-height: 96px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; }
.quick-action span, .quick-action small { display: block; }
.quick-action small { margin-top: .2rem; color: #ffffffcc; font-size: .9rem; font-weight: 400; }
.pos-page { max-width: 1100px; }
.pos-narrow { max-width: 620px; }
.order-page { max-width: 1320px; }
.order-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 1.25rem; }
.order-header-actions { justify-content: end; }
.order-more-actions { position: absolute; z-index: 2; min-width: 180px; right: 0; }
.order-header details { position: relative; }
.order-summary { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; }
.order-summary > div { display: grid; gap: .2rem; padding: 1.15rem 1.4rem; border-right: 1px solid #e9ecef; }
.order-summary > div:last-child { border-right: 0; }
.order-summary small { color: #6c757d; }
.order-summary strong { font-size: clamp(1.5rem, 3vw, 2rem); }
.order-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 1.5rem; align-items: start; }
.order-main, .order-sidebar { min-width: 0; }
.order-items { display: grid; }
.order-item-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 1rem; align-items: center; border-bottom: 1px solid #e9ecef; padding: 1rem 0; }
.order-item-row:first-child { padding-top: 0; }
.order-item-row:last-child { border-bottom: 0; padding-bottom: 0; }
.order-item-description { min-width: 0; display: grid; gap: .3rem; }
.order-item-description strong { font-size: 1.05rem; }
.order-item-description small, .order-item-price span, .order-payment small { color: #6c757d; }
.order-item-description a { width: fit-content; }
.order-item-quantity, .order-item-price { display: grid; text-align: right; }
.order-item-quantity small, .order-item-price small { color: #6c757d; }
.order-item-price span { font-size: .85rem; }
.order-item-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: .4rem; }
.order-picker-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 340px); gap: 1.25rem; align-items: start; }
.order-mini-cart { border: 1px solid #e2e5e8; border-radius: 1rem; padding: 1rem; background: #fcfcfc; }
.order-special-item { border-top: 1px solid #e9ecef; padding-top: 1.25rem; }
.order-special-item summary { width: fit-content; cursor: pointer; color: var(--bordarte-plum); font-weight: 700; }
.order-payment { display: flex; justify-content: space-between; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid #e9ecef; }
.order-payment:last-child { border-bottom: 0; padding-bottom: 0; }
.order-payment small { display: block; }
.order-details { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; margin-bottom: 0; }
.order-details dt { color: #6c757d; }
.order-details dd { margin: 0; }
.pos-main-action { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 750; }
.cash-register-actions { display: grid; gap: 1rem; }
.cash-register-action { width: 100%; min-height: clamp(7.5rem, 18vh, 10rem); border-radius: 1rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.pos-page .form-control, .pos-page .form-select, .pos-narrow .form-control { min-height: 52px; font-size: 1.05rem; }
.pos-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 1.5rem; align-items: start; }
.pos-search { min-height: 64px !important; font-size: 1.2rem !important; }
.pos-product-results { display: grid; gap: .6rem; }
.pos-product-result { width: 100%; text-align: left; border: 1px solid #d9dfe5; border-radius: .75rem; background: #fff; padding: 1rem; transition: border-color .15s ease, background .15s ease; }
.pos-product-result:hover, .pos-product-result:focus, .pos-product-result.active { border-color: var(--bs-primary); background: #f3f8ff; outline: none; }
.pos-variant-picker { border-top: 1px solid #dee2e6; padding-top: 1.25rem; }
.pos-variant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .65rem; }
.pos-variant-button { min-height: 104px; border: 1px solid #d9dfe5; border-radius: .75rem; background: #fff; padding: .65rem; text-align: center; }
.pos-variant-button:hover, .pos-variant-button:focus { border-color: var(--bs-primary); background: #f3f8ff; outline: none; }
.pos-cart { position: sticky; top: 5.5rem; }
.pos-cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem; border-bottom: 1px solid #e9ecef; padding: .85rem 0; }
.pos-cart-line > div:first-child { min-width: 0; }
.pos-quantity-actions { display: grid; grid-template-columns: 40px auto 40px; align-items: center; gap: .4rem; text-align: center; }
.pos-quantity-actions .btn { min-width: 40px; min-height: 40px; }
.pos-quantity-actions .btn:last-child { grid-column: 1 / -1; justify-self: center; min-width: 0; min-height: 0; }
.pos-cart-total, .pos-checkout-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.35rem; }
.pos-cart-total strong, .pos-checkout-total strong { font-size: 1.8rem; }
.payment-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .65rem; }
.payment-options > div label { min-height: 58px; display: flex; align-items: center; gap: .6rem; padding: .75rem; border: 2px solid #d8d4da; border-radius: .8rem; font-size: 1rem; font-weight: 700; cursor: pointer; }
.payment-options input { width: 1.3rem; height: 1.3rem; accent-color: var(--bordarte-plum); }
.payment-options > div:has(input:checked) label { border-color: var(--bordarte-plum); background: #f4eaf2; }
.ticket-body { margin: 0; background: #eee; font-family: Arial, sans-serif; color: #111; }
.ticket { width: 80mm; margin: 20px auto; }
.ticket-paper { width: 100%; box-sizing: border-box; background: white; padding: 6mm; font-size: 12px; }
.ticket-paper header, .ticket-center { text-align: center; }
.ticket-paper h1 { margin: 0 0 6px; font-size: 22px; }
.ticket-line { display: flex; justify-content: space-between; gap: 10px; margin: 8px 0; }
.ticket-line span { flex: 1; }
.ticket-total { font-size: 18px; }
.ticket-actions { display: grid; gap: 8px; margin-bottom: 12px; }
.ticket-actions button, .ticket-actions a { padding: 12px; border: 0; border-radius: 6px; background: #25212b; color: white; text-align: center; text-decoration: none; font-size: 16px; }
.ticket-actions .ticket-print { background: #198754; font-weight: 700; }
@media print { .ticket-body { background: white; } .ticket { margin: 0; } .ticket-actions { display: none; } }
@page { margin: 3mm; }
.quote-body { margin: 0; background: #eee; font-family: Arial, sans-serif; color: #111; }
.quote { width: min(210mm, calc(100% - 2rem)); margin: 1rem auto; }
.quote-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.quote-actions button, .quote-actions a { padding: .8rem 1rem; border: 0; border-radius: .5rem; background: #25212b; color: white; text-align: center; text-decoration: none; font: 700 1rem Arial, sans-serif; cursor: pointer; }
.quote-actions .quote-print { background: #198754; }
.quote-actions .quote-whatsapp { background: #128c4b; }
.quote-paper { box-sizing: border-box; min-height: 270mm; padding: 16mm; background: white; }
.quote-header { display: flex; justify-content: space-between; gap: 2rem; padding-bottom: 1rem; border-bottom: 2px solid #25212b; }
.quote-logo { width: 180px; height: 60px; object-fit: contain; object-position: left center; margin-bottom: .5rem; }
.quote-number { display: grid; align-content: start; gap: .3rem; text-align: right; text-transform: uppercase; }
.quote-number strong { font-size: 1.8rem; }
.quote-customer { padding: 1.5rem 0; }
.quote-customer h1 { margin: 0 0 .5rem; font-size: 1.5rem; }
.quote-promised { margin-top: .7rem; }
.quote-table { width: 100%; border-collapse: collapse; }
.quote-table th, .quote-table td { padding: .75rem .5rem; border-bottom: 1px solid #bbb; text-align: left; vertical-align: top; }
.quote-table th:nth-child(n+3), .quote-table td:nth-child(n+3) { text-align: right; }
.quote-detail { margin-top: .25rem; color: #555; font-size: .9rem; }
.quote-totals { width: min(340px, 100%); margin: 1.5rem 0 1.5rem auto; }
.quote-totals > div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.quote-totals .quote-total { padding: .7rem 0; border-top: 2px solid #25212b; font-size: 1.3rem; }
.quote-notes { padding: 1rem; background: #f5f3f1; }
.quote-footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #bbb; text-align: center; color: #555; font-size: .9rem; }
@media print { .quote-body { background: white; } .quote { width: auto; margin: 0; } .quote-actions { display: none; } .quote-paper { min-height: auto; padding: 8mm; } }
.metric-number { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800; }
.board { display: grid; grid-template-columns: repeat(4, minmax(270px, 1fr)); gap: 1rem; overflow-x: auto; padding-bottom: 1rem; }
.board-column { background: #f0eeeb; border-radius: 1rem; padding: .75rem; min-height: 280px; }
.board-card { border: 0; border-left: 5px solid var(--bordarte-plum); border-radius: .8rem; }
.status-badge { background: #ede3eb; color: var(--bordarte-plum); }
.table > :not(caption) > * > * { padding: .85rem .7rem; }
.form-label { font-weight: 650; }
.helptext { display: block; color: #6c757d; font-size: .82rem; margin-top: .25rem; }
.errorlist { color: #b02a37; margin: .35rem 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 1000; background: white; padding: .5rem; }
@media (max-width: 767px) {
  .hero { min-height: auto; padding: 5rem 0 3rem; }
  .hero-logo-card { min-height: 250px; margin-top: 2rem; padding: 1.5rem; }
  .hero-photo-card { padding: 0; }
  .hero-photo-card img { height: 310px; }
  .brand-logo { width: 145px; height: 46px; }
  .management-label { display: none; }
  .section-space { padding: 3.5rem 0; }
  .quick-action { min-height: 86px; }
  .board { grid-template-columns: 1fr; overflow: visible; }
  .pos-layout { grid-template-columns: 1fr; }
  .pos-cart { position: static; }
  .order-summary { grid-template-columns: 1fr; }
  .order-summary > div { border-right: 0; border-bottom: 1px solid #e9ecef; }
  .order-summary > div:last-child { border-bottom: 0; }
  .order-item-row { grid-template-columns: 1fr auto; }
  .order-item-description { grid-column: 1 / -1; }
  .order-item-actions { grid-column: 1 / -1; justify-content: start; }
  .order-picker-layout, .order-workspace { grid-template-columns: 1fr; }
}
@media (max-width: 1199px) {
  .management-nav-link { width: 100%; }
  .management-more-menu { width: 100%; border: 0; }
}
