:root {
    color-scheme: light;
    --text: #111827;
    --muted: #6b7280;
    --line: rgba(17, 24, 39, 0.08);
    --card: rgba(255, 255, 255, 0.88);
    --card-strong: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.16) 0%, transparent 28%),
        linear-gradient(180deg, var(--surface) 0%, #f8fafc 100%);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.app-shell {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 18px 16px 120px;
}

.hero,
.detail-page,
.cart-page {
    animation: fadeUp 0.4s ease both;
}

.hero {
    display: grid;
    gap: 18px;
}

.hero__top {
    align-items: center;
}

.hero__top,
.detail-topbar,
.product-card__footer,
.option-group__header,
.quantity-card,
.sticky-action,
.cart-item__head,
.cart-item__actions,
.checkout-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.hero__copy,
.detail-description,
.product-card__desc,
.cart-summary p,
.empty-state p,
.option-group__header p,
.option-item small,
.item-note {
    color: var(--muted);
}

.eyebrow {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand);
}

.hero h1,
.detail-content h1,
.cart-summary h1 {
    margin: 0;
    line-height: 1;
    font-size: clamp(2rem, 5vw, 4rem);
}

.search-card,
.product-card,
.detail-content,
.cart-item,
.checkout-card,
.option-group,
.quantity-card,
.note-box,
.empty-state {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.search-card {
    display: flex;
    gap: 12px;
    padding: 12px;
}

.search-card input,
.note-box textarea,
.stepper input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
}

.search-card input {
    padding: 10px 12px;
}

.chips {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.chip,
.cart-pill,
.badge,
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
}

.chip.is-active,
.cart-pill span,
.floating-cart span {
    background: var(--brand);
    color: #fff;
}

.cart-pill--muted {
    color: var(--muted);
}

.catalog-grid {
    margin-top: 22px;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-card {
    overflow: hidden;
}

.product-card__media img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-card__body,
.detail-content,
.cart-item,
.checkout-card,
.option-group,
.quantity-card,
.note-box,
.empty-state {
    padding: 18px;
}

.product-card__category {
    margin: 0 0 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand);
}

.product-card h2,
.option-group h2,
.cart-item h2 {
    margin: 0;
    font-size: 1.2rem;
}

.detail-page {
    display: grid;
    gap: 18px;
}

.detail-media img {
    aspect-ratio: 1.08 / 1;
    object-fit: cover;
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.detail-price {
    margin: 12px 0 16px;
    font-size: 1.35rem;
    font-weight: 700;
}

.customizer {
    display: grid;
    gap: 18px;
}

.option-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.option-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: var(--radius-md);
    background: var(--card-strong);
    border: 1px solid rgba(17, 24, 39, 0.06);
}

.option-item input {
    width: 20px;
    height: 20px;
    accent-color: var(--brand);
}

.option-item__content {
    display: grid;
    gap: 4px;
}

.option-item--quantity {
    grid-template-columns: minmax(0, 1fr) auto;
    background: #f1f5f9;
    border-color: rgba(100, 116, 139, 0.18);
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.option-item--quantity .option-item__content small {
    line-height: 1.35;
}

.option-item--quantity.is-selected {
    background: rgba(34, 197, 94, 0.13);
    border-color: rgba(34, 197, 94, 0.36);
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.12);
}

.option-item--quantity.is-selected .extra-quantity-control {
    border-color: rgba(34, 197, 94, 0.34);
}

.extra-quantity-control {
    display: grid;
    grid-template-columns: 46px 58px 46px;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-width: 150px;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.extra-quantity-control button,
.extra-quantity-control input {
    height: 44px;
    border: 0;
    text-align: center;
}

.extra-quantity-control button {
    background: #fff;
    color: var(--brand);
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
}

.option-item--quantity .extra-quantity-control input[data-extra-quantity] {
    display: block;
    width: 58px;
    min-width: 58px;
    height: 44px;
    padding: 0;
    border-inline: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-weight: 800;
    font-size: 1rem;
    line-height: 44px;
    appearance: textfield;
}

.extra-quantity-control input::-webkit-outer-spin-button,
.extra-quantity-control input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

@media (max-width: 520px) {
    .option-item--quantity {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }

    .option-item--quantity .extra-quantity-control {
        width: max-content;
        min-width: 0;
        grid-template-columns: 38px 46px 38px;
    }

    .option-item--quantity .extra-quantity-control input[data-extra-quantity] {
        width: 46px;
        min-width: 46px;
    }

    .option-item--quantity .extra-quantity-control button,
    .option-item--quantity .extra-quantity-control input[data-extra-quantity] {
        height: 40px;
        line-height: 40px;
    }
}

.note-box label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.note-box textarea {
    resize: vertical;
    min-height: 92px;
}

.stepper {
    display: inline-grid;
    grid-template-columns: 46px minmax(60px, 1fr) 46px;
    align-items: center;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
}

.stepper button,
.stepper input {
    height: 46px;
    text-align: center;
}

.stepper button {
    border: 0;
    background: #fff;
    font-size: 1.3rem;
}

.sticky-action,
.checkout-card {
    position: sticky;
    bottom: 16px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
}

.cart-page .checkout-card {
    display: block;
    width: 100%;
    position: static;
    bottom: auto;
    top: auto;
    align-self: stretch;
}

.cart-page .checkout-card,
.cart-page .checkout-form,
.cart-page .cart-list {
    width: 100%;
    min-width: 0;
    overflow: visible;
    max-height: none;
}

.cart-page .checkout-form > *,
.cart-page .checkout-form label:not(.checkout-conditional):not(.checkout-choice),
.cart-page .checkout-group,
.cart-page .checkout-choice-grid,
.cart-page .checkout-choice,
.cart-page .checkout-conditional-group {
    width: 100%;
    min-width: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
}

.button--primary {
    background: linear-gradient(135deg, #2563eb, #14b8a6);
    color: #fff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .18);
}

.admin-body .button--primary {
    border-radius: 10px;
}

.button--ghost {
    background: rgba(15, 23, 42, 0.07);
    color: var(--brand);
}

.button--danger {
    background: #fee2e2;
    color: #b91c1c;
}

.button--whatsapp {
    background: var(--whatsapp);
    color: #fff;
}

.button.is-loading {
    opacity: 0.78;
    cursor: wait;
}

.checkout-loading,
.form-loading-note {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border: 1px solid rgba(22, 163, 74, 0.2);
    border-radius: 18px;
    background: rgba(240, 253, 244, 0.95);
    color: #166534;
}

.form-loading-note--below {
    margin-top: 12px;
    text-align: center;
}

.form-loading-note--below span {
    font-size: 0.95rem;
}

.checkout-loading[hidden],
.form-loading-note[hidden] {
    display: none;
}

.checkout-loading p {
    margin: 0;
    color: #166534;
}

.whatsapp-redirect-card {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
}

.location-choice-page {
    min-height: calc(100vh - 156px);
    display: grid;
    align-items: center;
}

.location-choice-card {
    display: grid;
    gap: 14px;
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.location-choice-card h1,
.location-choice-card p {
    margin: 0;
}

.location-choice-card h1 {
    line-height: 1.05;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.location-choice-actions {
    display: grid;
    gap: 10px;
}

.location-choice-actions .button {
    width: 100%;
    border-radius: 8px;
}

.location-choice-waze {
    background: #33ccff;
    color: #082f49;
}

.location-choice-coordinates {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.05);
    overflow-wrap: anywhere;
}

.location-choice-coordinates span {
    color: var(--muted);
    font-size: 0.9rem;
}

.detail-description,
.product-card__desc {
    white-space: pre-line;
}

.catalog-grid .product-card__desc {
    display: block;
    margin: 0;
    line-height: 1.35;
}

.admin-import-panel {
    display: grid;
    gap: 14px;
}

.admin-import-panel summary {
    width: fit-content;
    list-style: none;
}

.admin-import-panel summary::-webkit-details-marker {
    display: none;
}

.admin-import-panel__body {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.flash {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 18px;
    font-weight: 600;
}

.flash--error {
    background: #fee2e2;
    color: #991b1b;
}

.flash--success {
    background: #dcfce7;
    color: #166534;
}

.floating-cart {
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.92);
    color: #fff;
    box-shadow: var(--shadow);
}

.cart-page {
    display: grid;
    gap: 18px;
}

.cart-summary {
    padding: clamp(18px, 4vw, 28px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.1);
}

.cart-summary h1 {
    color: #0f172a;
}

.cart-summary p {
    max-width: 620px;
    margin: 10px 0 0;
    color: #475569;
}

.cart-list,
.selected-options {
    display: grid;
    gap: 14px;
}

.selected-options {
    margin: 14px 0;
    padding-left: 18px;
    color: var(--muted);
}

.inline-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.empty-state {
    text-align: center;
}

.cart-item__quantity {
    color: var(--muted);
    font-weight: 600;
}

.checkout-form {
    display: grid;
    gap: 16px;
}

.checkout-alert[hidden] {
    display: none !important;
}

.checkout-form label:not(.checkout-conditional):not(.checkout-choice),
.checkout-group {
    display: grid;
    gap: 8px;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    font: inherit;
}

.checkout-form textarea {
    resize: vertical;
}

.checkout-group {
    border: 0;
    padding: 0;
    margin: 0;
}

.checkout-group legend {
    font-weight: 700;
    margin-bottom: 6px;
}

.checkout-select-field {
    display: grid;
    gap: 8px;
}

.checkout-select-field span {
    font-weight: 600;
    color: var(--muted);
}

.checkout-select-field select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--text) 50%),
        linear-gradient(135deg, var(--text) 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 3px),
        calc(100% - 16px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 46px;
}

.checkout-choice-grid {
    display: grid;
    gap: 10px;
}

.checkout-choice {
    position: relative;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.checkout-choice:hover {
    border-color: rgba(15, 23, 42, 0.18);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.checkout-choice input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.checkout-choice span {
    display: block;
    font-weight: 700;
    color: var(--text);
}

.checkout-choice span small {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.45;
}

.checkout-choice:has(input:checked) {
    border-color: var(--brand);
    background: rgba(15, 23, 42, 0.04);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.checkout-conditional,
.checkout-conditional-group {
    display: none;
}

.checkout-conditional.is-visible,
.checkout-conditional-group.is-visible {
    display: grid !important;
    gap: 12px;
}

.checkout-info-card {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid var(--line);
}

.checkout-info-card strong,
.checkout-info-card p {
    margin: 0;
}

.checkout-info-card p {
    margin-top: 6px;
    color: var(--muted);
}

.checkout-map-share {
    display: none;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.checkout-map-share.is-visible {
    display: grid;
}

.checkout-map-share__toggle {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.checkout-map-share__toggle input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: #16a34a;
}

.checkout-map-share__toggle span {
    display: grid;
    gap: 4px;
}

.checkout-map-share__toggle strong {
    color: var(--text);
    font-size: 0.98rem;
}

.checkout-map-share__toggle small {
    color: var(--muted);
    line-height: 1.45;
}

.checkout-map-share__button {
    width: 100%;
    justify-content: center;
    border: 1px solid rgba(22, 163, 74, 0.24);
    border-radius: 999px;
    background: rgba(220, 252, 231, 0.78);
    color: #166534;
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.12);
}

.checkout-map-share__button:hover {
    border-color: rgba(22, 163, 74, 0.36);
    background: rgba(220, 252, 231, 0.96);
}

.checkout-map-share__status {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
}

.distance-delivery-card {
    display: grid;
    gap: 10px;
}

.distance-delivery-card > strong {
    font-size: 1rem;
    color: var(--text);
}

.distance-action-button {
    width: 100%;
    justify-content: center;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.distance-action-button:hover {
    border-color: rgba(15, 23, 42, 0.28);
    transform: translateY(-1px);
}

.distance-hidden-action[hidden] {
    display: none !important;
}

.distance-address-field {
    display: grid;
    gap: 8px;
}

.distance-address-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
    gap: 8px;
    align-items: stretch;
}

.checkout-form .distance-address-row input {
    min-width: 0;
    border-radius: 8px;
}

.distance-search-button {
    width: 74px;
    min-width: 74px;
    padding: 0 10px;
    border: 1px solid rgba(202, 138, 4, 0.34);
    border-radius: 8px;
    background: #facc15;
    color: #422006;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(250, 204, 21, 0.22);
}

.distance-search-button:disabled {
    opacity: 0.72;
    cursor: wait;
}

.distance-helper-text {
    margin: -2px 0 2px !important;
    color: var(--text) !important;
    font-weight: 700;
}

.distance-status {
    min-height: 0;
}

.distance-status.is-price-ready {
    display: block;
    margin-top: 2px;
    padding: 12px 14px;
    border: 1px solid rgba(22, 163, 74, 0.28);
    border-radius: 8px;
    background: rgba(22, 163, 74, 0.1);
    color: #14532d;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.12);
}

.checkout-info-card pre {
    margin: 10px 0 0;
    white-space: pre-wrap;
    word-break: break-word;
    font: inherit;
    color: var(--text);
}

.distance-suggestions {
    display: grid;
    gap: 8px;
}

.distance-suggestions[hidden] {
    display: none;
}

.distance-suggestion {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    padding: 12px 14px;
    text-align: left;
    font: inherit;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.distance-suggestion__radio {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.28);
    background: #fff;
    box-shadow: inset 0 0 0 4px #fff;
}

.distance-suggestion.is-selected {
    border-color: rgba(22, 163, 74, 0.42);
    background: rgba(22, 163, 74, 0.08);
}

.distance-suggestion.is-selected .distance-suggestion__radio {
    border-color: #16a34a;
    background: #16a34a;
}

.distance-map-alternative {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    padding: 12px 14px;
    text-align: left;
    font: inherit;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.distance-map-alternative:hover,
.distance-map-alternative[aria-expanded="true"] {
    border-color: rgba(22, 163, 74, 0.42);
    background: rgba(22, 163, 74, 0.08);
}

.distance-map-alternative[aria-expanded="true"] .distance-suggestion__radio {
    border-color: #16a34a;
    background: #16a34a;
}

.checkout-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 6px;
}

.distance-map-box {
    display: grid;
    gap: 10px;
}

.distance-map-box[hidden] {
    display: none;
}

.distance-map-canvas {
    width: 100%;
    min-height: 280px;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.06);
    position: relative;
    touch-action: none;
    overscroll-behavior: contain;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.distance-map-canvas--fallback {
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(59, 130, 246, 0.12)),
        #eef6f3;
}

.distance-map-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.08) 1px, transparent 1px),
        linear-gradient(135deg, transparent 0 45%, rgba(34, 197, 94, 0.16) 45% 55%, transparent 55% 100%),
        linear-gradient(45deg, transparent 0 44%, rgba(59, 130, 246, 0.14) 44% 53%, transparent 53% 100%);
    background-size: 42px 42px, 42px 42px, 190px 160px, 220px 180px;
    opacity: 0.9;
}

.distance-map-tiles,
.distance-map-tiles img {
    position: absolute;
}

.distance-map-tiles {
    inset: 0;
    pointer-events: none;
}

.distance-map-tiles img {
    width: 256px;
    height: 256px;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.distance-map-pin {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background: #ef4444;
    border: 3px solid #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.35);
    transform: translate(-50%, -100%) rotate(-45deg);
    z-index: 2;
    pointer-events: none;
}

.distance-map-pin::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@media (min-width: 720px) {
    .checkout-choice-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 899px) {
    .cart-page .checkout-choice-grid {
        grid-template-columns: 1fr;
    }
}

.detail-content__menu-note {
    margin-top: 1rem;
    padding: 18px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.05);
    color: var(--muted);
}

.service-detail-image {
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    background: #f3f4f6;
}

.service-detail-image img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 900px) {
    .app-shell {
        padding: 30px 24px 120px;
    }

    .detail-page {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .cart-page {
        grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
        align-items: start;
    }

    .detail-page .checkout-card {
        top: 24px;
    }
}

.hero__admin-link {
    display: flex;
    justify-content: flex-start;
}

.admin-body {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px 16px;
}

.auth-card,
.admin-sidebar,
.stat-card,
.admin-panel,
.admin-form-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.auth-card {
    width: min(100%, 480px);
    padding: 24px;
}

.auth-tip {
    margin: 16px 0 0;
    color: var(--muted);
}

.auth-links {
    margin-top: 16px;
    text-align: center;
}

.auth-links a {
    color: var(--brand);
    font-weight: 600;
}

.auth-buy-button {
    width: 100%;
    margin-top: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    color: #0f172a;
    box-shadow: none;
}

.admin-shell {
    width: min(100%, 1360px);
    margin: 0 auto;
    padding: 18px;
    display: grid;
    gap: 18px;
    position: relative;
}

.admin-sidebar {
    padding: 22px;
    display: grid;
    gap: 18px;
    position: relative;
}

.admin-sidebar-collapse {
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 9px;
    background: #ffffff;
    color: #0f172a;
    font-size: 1.4rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.admin-brand {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(15, 23, 42, .08), rgba(34, 197, 94, .08));
    border: 1px solid rgba(15, 23, 42, .08);
}

.admin-context-form {
    grid-column: 1 / -1;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.admin-context-form label {
    display: grid;
    gap: 6px;
}

.admin-context-form span {
    color: #475569;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.admin-context-form select {
    width: 100%;
    min-height: 42px;
    padding: 9px 36px 9px 11px;
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font: inherit;
    font-size: .9rem;
    font-weight: 750;
}

.admin-brand__mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    background: #0f172a;
    color: #86efac;
    font-weight: 900;
    font-size: 1.15rem;
}

.admin-brand__text {
    min-width: 0;
}

.admin-brand .eyebrow {
    margin: 0 0 3px;
}

.admin-sidebar__mobile-actions,
.admin-mobile-bar,
.admin-mobile-overlay {
    display: none;
}

.admin-menu-toggle,
.admin-menu-close {
    min-height: 48px;
}

.admin-menu-toggle {
    border-radius: 10px !important;
}

.admin-sidebar h1,
.admin-header h2 {
    margin: 0;
}

.admin-sidebar h1 {
    overflow: hidden;
    color: #0f172a;
    font-size: 1.08rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user {
    margin: 4px 0 0;
    color: var(--muted);
    overflow: hidden;
    font-size: .86rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user--email {
    font-size: .78rem;
    opacity: .82;
}

.admin-nav {
    display: grid;
    gap: 8px;
}

.admin-nav a,
.actions-cell a,
.panel-head a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.06);
}

.admin-nav a {
    justify-content: flex-start;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 750;
    line-height: 1.2;
}

.admin-nav a span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-nav__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: currentColor;
}

.admin-nav__catalog {
    background: linear-gradient(135deg, #2563eb, #14b8a6) !important;
    border-color: rgba(37, 99, 235, .32) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .2);
}

.admin-nav__upgrade {
    margin-top: 8px;
    background: linear-gradient(135deg, #22c55e, #14b8a6) !important;
    border-color: rgba(34, 197, 94, .42) !important;
    color: #052e16 !important;
    box-shadow: 0 14px 28px rgba(20, 184, 166, .2);
}

.admin-nav__upgrade span {
    white-space: normal !important;
    line-height: 1.25;
    overflow: visible;
    text-overflow: clip;
}

.admin-logout {
    width: 100%;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    border-radius: 10px;
}

.admin-logout .admin-nav__icon {
    width: 18px;
    height: 18px;
}

.admin-main {
    display: grid;
    gap: 18px;
    align-content: start;
}

.admin-mobile-quicknav {
    display: none;
}

.admin-mobile-bar {
    position: sticky;
    top: 12px;
    z-index: 18;
}

@supports (top: env(safe-area-inset-top)) {
    .admin-mobile-bar {
        top: max(12px, env(safe-area-inset-top));
        padding-top: env(safe-area-inset-top);
    }
}

.admin-mobile-bar .button {
    width: auto !important;
    margin-top: 0 !important;
    padding-inline: 16px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.admin-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-mobile-bar .button span:first-child {
    font-size: 1.1rem;
}

.admin-mobile-overlay {
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.42);
    z-index: 24;
}

.admin-header,
.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.stats-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-card {
    padding: 20px;
    display: grid;
    gap: 8px;
}

.stat-card span {
    color: var(--muted);
}

.stat-card strong {
    font-size: 2rem;
}

.dashboard-new-product-button {
    border-radius: 10px;
    border: 1px solid rgba(37, 99, 235, .26);
    background: linear-gradient(135deg, #2563eb, #14b8a6);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .22);
}

.dashboard-new-product-button:hover {
    box-shadow: 0 16px 34px rgba(20, 184, 166, .26);
}

.dashboard-subscription-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    color: #334155;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.dashboard-subscription-strip span {
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
}

.dashboard-subscription-strip strong {
    color: #0f172a;
    font-size: .95rem;
}

.dashboard-subscription-strip small {
    color: #64748b;
    font-weight: 700;
}

.dashboard-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-action-card {
    display: grid;
    gap: 6px;
    min-height: 132px;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.dashboard-action-card span,
.dashboard-action-card small {
    color: #64748b;
    font-weight: 800;
}

.dashboard-action-card strong {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    line-height: 1;
}

.dashboard-action-card--pending {
    border-color: rgba(249, 115, 22, .22);
    background: linear-gradient(180deg, #fff7ed, #ffffff);
}

.dashboard-action-card--ready {
    border-color: rgba(34, 197, 94, .24);
    background: linear-gradient(180deg, #ecfdf5, #ffffff);
}

.dashboard-action-card--sales {
    border-color: rgba(59, 130, 246, .24);
    background: linear-gradient(180deg, #eff6ff, #ffffff);
}

.dashboard-command-center {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    gap: 12px;
}

.dashboard-command {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 96px;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .06);
}

.dashboard-command__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: .78rem;
    font-weight: 900;
}

.dashboard-command__icon svg {
    width: 20px;
    height: 20px;
}

.dashboard-command strong,
.dashboard-command small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-command strong {
    align-self: end;
}

.dashboard-command small {
    grid-column: 2;
    align-self: start;
    color: #64748b;
    font-size: .82rem;
    font-weight: 750;
}

.dashboard-command--primary {
    border-color: rgba(34, 197, 94, .26);
    background: #f0fdf4;
}

.dashboard-command--primary .dashboard-command__icon {
    background: #16a34a;
    color: #ffffff;
}

.dashboard-plan-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-plan-strip div {
    display: grid;
    gap: 4px;
    min-height: 70px;
    padding: 12px 14px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .82);
}

.dashboard-plan-strip span {
    color: #64748b;
    font-size: .8rem;
    font-weight: 800;
}

.dashboard-plan-strip strong {
    color: #0f172a;
    overflow-wrap: anywhere;
}

.analytics-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.analytics-kpi,
.analytics-channel {
    display: grid;
    gap: 7px;
    min-height: 116px;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .07);
}

.analytics-kpi span,
.analytics-kpi small,
.analytics-channel span,
.analytics-channel small,
.analytics-list-row span {
    color: #64748b;
    font-size: .88rem;
    font-weight: 750;
}

.analytics-kpi strong {
    color: #0f172a;
    font-size: 1.55rem;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.analytics-kpi--sales {
    border-color: rgba(34, 197, 94, .24);
    background: linear-gradient(180deg, #f0fdf4, #ffffff);
}

.analytics-kpi--month {
    border-color: rgba(37, 99, 235, .22);
    background: linear-gradient(180deg, #eff6ff, #ffffff);
}

.analytics-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.analytics-panel {
    display: grid;
    align-content: start;
    gap: 14px;
}

.analytics-channel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.analytics-channel {
    min-height: 104px;
    box-shadow: none;
}

.analytics-channel strong {
    color: #0f172a;
    font-size: 2rem;
    line-height: 1;
}

.analytics-channel--whatsapp {
    border-color: rgba(22, 163, 74, .22);
    background: #f0fdf4;
}

.analytics-channel--online {
    border-color: rgba(37, 99, 235, .22);
    background: #eff6ff;
}

.analytics-channel--pos {
    border-color: rgba(249, 115, 22, .24);
    background: #fff7ed;
}

.analytics-list {
    display: grid;
    gap: 8px;
}

.analytics-list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #f8fafc;
}

.analytics-list-row > div {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.analytics-list-row strong {
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analytics-list-row b {
    flex: 0 0 auto;
    color: #0f172a;
}

.analytics-list-row--link {
    color: inherit;
}

.pos-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
    gap: 16px;
    align-items: start;
}

.pos-products,
.pos-cart {
    display: grid;
    gap: 14px;
}

.pos-search label {
    display: grid;
    gap: 8px;
}

.pos-category-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: thin;
    scroll-padding-inline: 8px;
}

.pos-category-strip button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #334155;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .05);
}

.pos-category-strip button.is-active {
    border-color: rgba(37, 99, 235, .32);
    background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .2);
}

.pos-category-jump {
    display: grid;
    gap: 6px;
}

.pos-category-jump span {
    color: #64748b;
    font-size: .8rem;
    font-weight: 800;
}

.pos-category-jump select {
    min-height: 44px;
    width: 100%;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 800;
    padding: 0 12px;
}

.pos-featured {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #f8fafc;
}

.pos-featured__head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.pos-featured__head span {
    color: #64748b;
    font-size: .86rem;
    font-weight: 750;
}

.pos-featured__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}

.pos-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.pos-products-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.pos-products-summary span {
    color: #64748b;
    font-size: .86rem;
    font-weight: 800;
}

.pos-products-summary .button {
    min-height: 38px;
    padding: 8px 12px;
}

.pos-product-card {
    display: grid;
    gap: 6px;
    min-height: 132px;
    padding: 13px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    text-align: left;
    cursor: pointer;
}

.pos-product-card[hidden],
[data-pos-product][hidden],
.pos-payment-panel[hidden],
[data-pos-payment-panel][hidden] {
    display: none !important;
}

.pos-product-card:hover {
    border-color: rgba(37, 99, 235, .32);
    box-shadow: 0 12px 26px rgba(37, 99, 235, .12);
}

.pos-product-card[data-can-sell="0"] {
    opacity: .55;
    cursor: not-allowed;
}

.pos-product-card span,
.pos-product-card small,
.pos-stock {
    color: #64748b;
    font-size: .82rem;
    font-weight: 750;
}

.pos-product-card strong {
    line-height: 1.2;
}

.pos-product-card--featured {
    min-height: 112px;
    border-color: rgba(249, 115, 22, .28);
}

.pos-stock {
    justify-self: start;
    padding: 4px 7px;
    border-radius: 8px;
    background: #f1f5f9;
}

.pos-stock--agotado {
    color: #b91c1c;
    background: #fef2f2;
}

.pos-stock--bajo_stock {
    color: #b45309;
    background: #fffbeb;
}

.pos-cart {
    position: sticky;
    top: 18px;
}

.pos-cart-list {
    display: grid;
    gap: 10px;
    max-height: min(46vh, 520px);
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
}

.pos-cart-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(118px, auto);
    gap: 10px;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #ffffff;
}

.pos-cart-row__product {
    display: grid;
    min-width: 0;
    gap: 5px;
    align-content: start;
}

.pos-cart-row__product strong {
    color: #0f172a;
    font-size: .98rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    white-space: normal;
}

.pos-cart-row__product span,
.pos-cart-row__product small,
.pos-cart-row__discount span {
    color: #64748b;
    font-size: .84rem;
    font-weight: 750;
}

.pos-cart-row__discount {
    display: grid;
    gap: 5px;
    align-content: start;
}

.pos-cart-row__discount input {
    width: 100%;
    min-height: 38px;
}

.pos-cart-row__controls {
    display: grid;
    gap: 8px;
    justify-items: end;
    align-content: space-between;
}

.pos-cart-row__subtotal {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
}

.pos-payment-panel {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(4px);
    overflow-y: auto;
}

.pos-payment-modal {
    display: grid;
    gap: 12px;
    width: min(100%, 640px);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    background: #f8fafc;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .32);
}

.pos-cash-calculator {
    display: grid;
    gap: 12px;
}

.pos-delivery-panel {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 10px;
    background: #ffffff;
}

.pos-delivery-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pos-delivery-panel__head span {
    color: #047857;
    font-size: .82rem;
    font-weight: 850;
}

.pos-delivery-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pos-delivery-options label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 850;
    cursor: pointer;
}

.pos-delivery-options label:has(input:checked) {
    border-color: rgba(22, 198, 91, .5);
    background: #ecfdf5;
    color: #047857;
}

.pos-delivery-fields[hidden],
.pos-delivery-panel [hidden] {
    display: none !important;
}

.pos-cash-calculator[hidden],
.pos-payment-method-panel[hidden],
[data-payment-block][hidden] {
    display: none !important;
}

.pos-payment-method-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: #ffffff;
}

.pos-payment-method-panel label {
    display: grid;
    gap: 6px;
}

.pos-cash-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pos-cash-summary div {
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #ffffff;
}

.pos-cash-summary span {
    display: block;
    color: #64748b;
    font-size: .82rem;
    font-weight: 800;
}

.pos-cash-summary strong {
    display: block;
    margin-top: 5px;
    color: #0f172a;
    font-size: 1.15rem;
}

.pos-cash-summary__change {
    background: #ecfdf5 !important;
    border-color: rgba(22, 163, 74, .22) !important;
}

.pos-cash-summary__change strong {
    color: #15803d;
    font-size: 1.55rem;
}

.pos-cash-quick,
.pos-cash-keypad {
    display: grid;
    gap: 8px;
}

.pos-cash-quick {
    grid-template-columns: repeat(3, 1fr);
}

.pos-cash-keypad {
    grid-template-columns: repeat(3, 1fr);
}

.pos-cash-quick button,
.pos-cash-keypad button {
    min-height: 44px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 900;
    cursor: pointer;
}

.pos-cash-keypad button {
    min-height: 52px;
    font-size: 1.05rem;
}

[data-pos-cash-warning] {
    color: #b91c1c;
    font-weight: 800;
}

[data-pos-reference-warning] {
    color: #b91c1c;
    font-weight: 800;
}

.pos-qty {
    display: grid;
    grid-template-columns: 32px 28px 32px;
    align-items: center;
    gap: 4px;
}

.pos-qty button {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 900;
    cursor: pointer;
}

.pos-qty b {
    text-align: center;
}

.pos-success-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    max-width: 760px;
}

.pos-success-card__mark {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 8px;
    background: #dcfce7;
    color: #15803d;
    font-size: 2rem;
    font-weight: 900;
}

.pos-success-card__body {
    min-width: 0;
}

.pos-success-card h3 {
    margin: 2px 0 10px;
    color: #0f172a;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1;
}

.pos-success-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

.pos-success-summary span {
    color: #64748b;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.pos-success-summary strong {
    color: #0f172a;
    font-size: 1.2rem;
}

.pos-success-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.pos-success-actions .button {
    width: 100%;
    justify-content: center;
}

.pos-success-note {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px;
    border-radius: 8px;
    background: #f8fafc;
}

@media (max-width: 720px) {
    .pos-cart-row {
        grid-template-columns: 1fr;
    }

    .pos-cart-row__controls {
        grid-template-columns: auto 1fr;
        align-items: center;
        justify-items: stretch;
    }

    .pos-cart-row__subtotal {
        text-align: right;
    }

    .pos-cash-summary,
    .pos-cash-quick,
    .pos-payment-method-panel {
        grid-template-columns: 1fr;
    }

    .pos-payment-panel {
        align-items: end;
        padding: 10px;
    }

    .pos-payment-modal {
        width: 100%;
        max-height: calc(100vh - 20px);
    }

    .pos-success-card {
        grid-template-columns: 1fr;
    }

    .pos-success-card__mark {
        width: 46px;
        height: 46px;
    }

    .pos-success-actions {
        grid-template-columns: 1fr;
    }
}

.pos-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1d4ed8 0%, #0f766e 100%);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .18);
}

.pos-total-box span {
    color: #cbd5e1;
    font-weight: 800;
}

.pos-total-box strong {
    font-size: 1.45rem;
}

.pos-submit {
    width: 100%;
    min-height: 54px;
}

.pos-sticky-checkout {
    display: grid;
    gap: 10px;
}

.pos-sticky-checkout .muted {
    margin: 0;
    text-align: center;
}

.pos-module-tabs {
    position: relative;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(37, 99, 235, .1);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(239, 246, 255, .98) 0%, rgba(240, 253, 250, .96) 100%);
    box-shadow: 0 14px 30px rgba(37, 99, 235, .09);
}

.pos-module-tabs button {
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .86);
    color: #1e3a8a;
    font: inherit;
    font-size: .9rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .05);
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease, color .18s ease;
}

.pos-module-tabs button:hover,
.pos-module-tabs button:focus-visible {
    border-color: rgba(37, 99, 235, .3);
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 10px 20px rgba(37, 99, 235, .12);
}

.pos-module-tabs button.is-active {
    border-color: rgba(37, 99, 235, .34);
    background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .24);
    transform: translateY(-1px);
}

.pos-offline-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(22, 163, 74, .18);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(240, 253, 244, .98) 0%, rgba(236, 253, 245, .94) 100%);
    color: #14532d;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.pos-header-actions {
    align-items: center;
}

.pos-offline-status--compact {
    display: inline-flex;
    flex: 0 1 auto;
    min-height: 50px;
    padding: 8px 12px;
    border-radius: 999px;
    box-shadow: none;
}

.pos-offline-status--compact strong {
    font-size: .84rem;
    line-height: 1.1;
    white-space: nowrap;
}

.pos-offline-status--compact .button {
    min-height: 38px;
    padding-inline: 14px;
    border-radius: 999px;
}

.pos-offline-status div {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
}

.pos-offline-status strong {
    font-size: .9rem;
    line-height: 1.3;
}

.pos-offline-status__dot {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, .14);
}

.pos-offline-status.is-offline {
    border-color: rgba(234, 88, 12, .22);
    background: linear-gradient(135deg, rgba(255, 247, 237, .98) 0%, rgba(254, 243, 199, .9) 100%);
    color: #7c2d12;
}

.pos-offline-status.is-offline .pos-offline-status__dot {
    background: #ea580c;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, .14);
}

.pos-offline-status.has-pending:not(.is-offline) {
    border-color: rgba(37, 99, 235, .2);
    background: linear-gradient(135deg, rgba(239, 246, 255, .98) 0%, rgba(240, 253, 250, .94) 100%);
    color: #1e3a8a;
}

.pos-offline-status.has-pending:not(.is-offline) .pos-offline-status__dot {
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
}

.pos-sale-stage {
    padding-top: 2px;
}

.pos-module-panel[hidden],
[data-pos-module-panel][hidden] {
    display: none !important;
}

.pos-module-panel:not(.is-active) {
    display: none !important;
}

.pos-cash-dashboard {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pos-cash-dashboard--manager {
    align-items: stretch;
}

.pos-cash-card {
    display: grid;
    align-content: start;
    gap: 14px;
}

.pos-cash-dashboard--manager .pos-cash-card {
    border-color: rgba(15, 23, 42, .08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.pos-cash-session-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0 0;
}

.pos-cash-session-meta span {
    padding: 7px 9px;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: .82rem;
    font-weight: 800;
}

.pos-cash-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 10px;
    align-items: end;
}

.pos-cash-form--close {
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.pos-cash-form label {
    display: grid;
    gap: 7px;
}

.pos-cash-dashboard--manager .pos-cash-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #ffffff;
}

.pos-cash-dashboard--manager .pos-cash-form button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
}

.pos-cash-dashboard--manager .pos-cash-form label:nth-of-type(3),
.pos-cash-dashboard--manager .pos-cash-form--close label:nth-of-type(2) {
    grid-column: 1 / -1;
}

.pos-cash-dashboard--manager .pos-cash-form--close {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 2px;
    padding-top: 12px;
}

.pos-cash-dashboard--manager .pos-cash-form--reconcile {
    border-color: rgba(37, 99, 235, .18);
    background: #eff6ff;
}

.pos-cash-kpis,
.pos-channel-report {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.pos-cash-dashboard--manager .pos-cash-kpis {
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.pos-channel-report {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pos-cash-kpis div,
.pos-channel-report div {
    display: grid;
    gap: 5px;
    min-width: 0;
    min-height: 86px;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #f8fafc;
}

.pos-cash-kpis__total {
    border-color: rgba(37, 99, 235, .22) !important;
    background: #eff6ff !important;
}

.pos-cash-kpis span,
.pos-channel-report span,
.pos-channel-report small,
.pos-movement-row span,
.pos-session-list span {
    color: #64748b;
    font-size: .82rem;
    font-weight: 750;
}

.pos-cash-kpis strong,
.pos-channel-report strong {
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.pos-reconciliation-card,
.pos-reconciliation-history {
    display: grid;
    gap: 9px;
    padding: 12px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 8px;
    background: #ffffff;
}

.pos-reconciliation-card {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.pos-reconciliation-card div,
.pos-reconciliation-history div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.pos-reconciliation-card span,
.pos-reconciliation-history span {
    color: #64748b;
    font-size: .8rem;
    font-weight: 800;
}

.pos-reconciliation-card strong,
.pos-reconciliation-card b,
.pos-reconciliation-history b {
    color: #0f172a;
    overflow-wrap: anywhere;
}

.pos-reconciliation-card__diff {
    padding: 10px;
    border-radius: 8px;
    background: #f8fafc;
}

.pos-reconciliation-history div {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding-top: 7px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.pos-session-filter select {
    min-height: 40px;
}

.pos-movement-list,
.pos-session-list {
    display: grid;
    gap: 8px;
}

.pos-movement-row,
.pos-session-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
}

.pos-movement-row div,
.pos-session-list a {
    min-width: 0;
}

.pos-movement-row div {
    display: grid;
    gap: 3px;
}

.pos-movement-row b,
.pos-session-list b {
    flex: 0 0 auto;
}

.purchase-form {
    gap: 18px;
}

.purchase-lines {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.purchase-lines__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.purchase-lines__head p {
    margin: 4px 0 0;
}

.purchase-scan-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    padding: 12px;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 8px;
    background: #eff6ff;
}

.purchase-scan-box label {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.purchase-search-results {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(15, 23, 42, .08);
}

.purchase-search-results[hidden] {
    display: none !important;
}

.purchase-search-results__head {
    color: #64748b;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.purchase-search-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #f8fafc;
    color: #0f172a;
    cursor: pointer;
    text-align: left;
}

.purchase-search-result:hover,
.purchase-search-result:focus-visible {
    border-color: rgba(37, 99, 235, .32);
    background: #eff6ff;
}

.purchase-search-result span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.purchase-search-result strong,
.purchase-search-result small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.purchase-search-result small {
    color: #64748b;
    font-weight: 800;
}

.purchase-search-result b {
    flex: 0 0 auto;
    color: #2563eb;
    font-size: .85rem;
}

.purchase-line {
    display: grid;
    grid-template-columns: minmax(130px, .45fr) minmax(240px, 1.2fr) repeat(4, minmax(105px, .48fr)) minmax(120px, .5fr) auto;
    gap: 10px;
    align-items: end;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #f8fafc;
}

.purchase-line__price-toggle {
    min-height: 44px;
}

.purchase-line label,
.purchase-line__total {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.purchase-line__mode {
    display: flex !important;
    align-items: center;
    min-height: 44px;
    padding: 10px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: #ffffff;
    font-weight: 850;
}

.purchase-new-product {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border: 1px dashed rgba(37, 99, 235, .25);
    border-radius: 8px;
    background: #eff6ff;
}

.purchase-new-product[hidden] {
    display: none !important;
}

.purchase-line__total span,
.purchase-total-box span {
    color: #64748b;
    font-size: .82rem;
    font-weight: 800;
}

.purchase-line__total strong,
.purchase-total-box strong {
    color: #0f172a;
}

.purchase-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 8px;
    background: #0f172a;
}

.purchase-total-box span,
.purchase-total-box strong {
    color: #ffffff;
}

.purchase-receive-form,
.purchase-receive-list {
    display: grid;
    gap: 10px;
}

.purchase-receive-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #f8fafc;
}

.purchase-receive-row span {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.purchase-receive-row small {
    color: #64748b;
    font-weight: 800;
}

.purchase-row-actions,
.purchase-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.purchase-row-actions form,
.purchase-detail-actions form {
    margin: 0;
}

.purchase-row-actions .button {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: .86rem;
}

.purchase-data-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    align-items: start;
    gap: 10px;
    margin-bottom: 18px;
}

.purchase-data-tool {
    padding: 0;
    border: 0;
    background: transparent;
}

.purchase-data-tool[open] {
    grid-column: 1 / -1;
    width: 100%;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.purchase-data-tool summary.button {
    min-height: 42px;
    padding: 0 15px;
    border-radius: 8px;
}

.purchase-history-panel {
    display: grid;
    gap: 16px;
}

.purchase-history-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px) auto;
    gap: 10px;
    align-items: center;
}

.purchase-history-filters input,
.purchase-history-filters select {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font: inherit;
}

.purchase-history-filters .button {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px;
}

.purchase-history-table {
    min-width: 900px;
    table-layout: fixed;
}

.purchase-history-table th:nth-child(1),
.purchase-history-table td:nth-child(1) {
    width: 110px;
}

.purchase-history-table th:nth-child(2),
.purchase-history-table td:nth-child(2) {
    width: 22%;
}

.purchase-history-table th:nth-child(3),
.purchase-history-table td:nth-child(3) {
    width: 18%;
}

.purchase-history-table th:nth-child(4),
.purchase-history-table td:nth-child(4) {
    width: 110px;
}

.purchase-history-table th:nth-child(5),
.purchase-history-table td:nth-child(5) {
    width: 150px;
}

.purchase-history-table th:nth-child(6),
.purchase-history-table td:nth-child(6) {
    width: 300px;
}

.purchase-history-table td {
    vertical-align: middle;
}

.purchase-history-table td:nth-child(3) strong,
.purchase-history-table td:nth-child(3) small {
    display: block;
}

.purchase-history-table td:nth-child(3) small {
    margin-top: 3px;
    color: var(--muted);
}

.purchase-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #eef2f7;
    color: #334155;
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
}

.purchase-status--pendiente_recepcion,
.purchase-status--parcial {
    background: #fff7ed;
    color: #9a3412;
}

.purchase-status--recibida {
    background: #ecfdf5;
    color: #047857;
}

.purchase-status--anulada {
    background: #fef2f2;
    color: #b91c1c;
}

.purchase-actions-cell {
    min-width: 300px;
}

.purchase-history-wrap {
    padding-bottom: 4px;
}

@media (max-width: 720px) {
    .purchase-data-tools,
    .purchase-history-filters {
        grid-template-columns: 1fr;
    }

    .purchase-data-tool summary.button,
    .purchase-history-filters .button {
        width: 100%;
    }

    .purchase-data-tool[open] {
        grid-column: auto;
    }
}

.purchase-detail-actions .button {
    border-radius: 10px;
}

.purchase-dashboard-kpis {
    margin-bottom: 16px;
}

.purchase-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.purchase-dashboard-card {
    align-content: start;
    gap: 12px;
}

.purchase-dashboard-card .panel-head {
    align-items: flex-start;
}

.purchase-dashboard-card .button {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: .85rem;
}

.purchase-dashboard-list {
    display: grid;
    gap: 8px;
}

.purchase-dashboard-list a,
.purchase-dashboard-list div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
}

.purchase-dashboard-list a:hover {
    border-color: rgba(37, 99, 235, .28);
    background: #eff6ff;
}

.purchase-dashboard-list span {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.purchase-dashboard-list strong,
.purchase-dashboard-list small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.purchase-dashboard-list small {
    color: #64748b;
    font-weight: 800;
}

.purchase-dashboard-list b {
    flex: 0 0 auto;
    color: #2563eb;
    font-size: .9rem;
}

.purchase-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
    gap: 16px;
    margin-bottom: 18px;
}

.purchase-progress-card,
.purchase-supplier-card {
    align-content: start;
    gap: 14px;
}

.purchase-progress-card__bar {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.purchase-progress-card__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, #2563eb, #14b8a6);
}

.purchase-progress-card__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.purchase-progress-card__stats span,
.purchase-detail-list div {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 10px;
    border-radius: 8px;
    background: #f8fafc;
}

.purchase-progress-card__stats b {
    color: #0f172a;
    font-size: 1.05rem;
}

.purchase-detail-list {
    display: grid;
    gap: 8px;
    margin: 0;
}

.purchase-detail-list dt {
    color: #64748b;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.purchase-detail-list dd {
    min-width: 0;
    margin: 0;
    color: #0f172a;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.system-check-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.system-readiness {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-color: rgba(249, 115, 22, .22);
    background: linear-gradient(180deg, #fff7ed, #ffffff);
}

.system-readiness.is-ready {
    border-color: rgba(22, 163, 74, .22);
    background: linear-gradient(180deg, #ecfdf5, #ffffff);
}

.system-readiness span {
    display: inline-grid;
    min-height: 38px;
    min-width: 88px;
    place-items: center;
    border-radius: 8px;
    background: #fed7aa;
    color: #9a3412;
    font-weight: 900;
}

.system-readiness.is-ready span {
    background: #bbf7d0;
    color: #166534;
}

.system-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.system-check-panel {
    display: grid;
    align-content: start;
    gap: 14px;
}

.system-check-list,
.manual-qa-list {
    display: grid;
    gap: 8px;
}

.system-check-row {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 11px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #f8fafc;
}

.system-check-row > span {
    display: inline-grid;
    min-height: 30px;
    place-items: center;
    border-radius: 8px;
    background: #fee2e2;
    color: #991b1b;
    font-size: .72rem;
    font-weight: 900;
}

.system-check-row.is-ok > span {
    background: #dcfce7;
    color: #166534;
}

.system-check-row div {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.system-check-row strong,
.system-check-row small {
    overflow-wrap: anywhere;
}

.system-check-row small,
.manual-qa-list span {
    color: #64748b;
    font-size: .86rem;
}

.manual-qa-list label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #ffffff;
}

.manual-qa-list input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.empty-state--compact {
    padding: 18px;
    border-radius: 8px;
    box-shadow: none;
}

.admin-ios-install {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(20, 184, 166, .12));
    color: #0f172a;
}

.admin-ios-install[hidden] {
    display: none;
}

.admin-ios-install strong,
.admin-ios-install p {
    margin: 0;
}

.admin-ios-install p {
    margin-top: 3px;
    color: #475569;
    font-size: .9rem;
}

.admin-ios-install button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(37, 99, 235, .2);
    border-radius: 9px;
    background: #ffffff;
    color: #1d4ed8;
    font-weight: 800;
    cursor: pointer;
}

.admin-panel,
.admin-form-card {
    padding: 20px;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
}

.order-status--pendiente {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

.order-status--listo {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
}

.order-status--cancelado {
    background: rgba(239, 68, 68, 0.14);
    color: #b91c1c;
}

.order-status--pending {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

.order-status--confirmed,
.order-status--completed {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
}

.order-status--expired {
    background: rgba(71, 85, 105, 0.12);
    color: #475569;
}

.order-status--cancelled {
    background: rgba(239, 68, 68, 0.14);
    color: #b91c1c;
}

.order-detail-grid {
    display: grid;
    gap: 18px;
}

.order-detail-card,
.order-items-card {
    display: grid;
    gap: 18px;
}

.order-detail-card__head,
.order-items-card__head {
    display: grid;
    gap: 12px;
}

.order-status-form {
    display: grid;
    gap: 12px;
}

.order-summary-grid {
    display: grid;
    gap: 12px;
}

.order-summary-box,
.order-note-box,
.order-item-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    padding: 16px;
}

.order-summary-box span,
.order-totals span,
.order-item-card__head p,
.order-note-box strong {
    color: var(--muted);
}

.order-summary-box strong,
.order-item-card__head h4,
.order-totals strong {
    display: block;
    color: var(--text);
}

.order-summary-box small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.order-totals {
    display: grid;
    gap: 10px;
}

.order-totals > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.04);
}

.order-totals__total {
    background: rgba(15, 23, 42, 0.08) !important;
}

.order-items-list {
    display: grid;
    gap: 14px;
}

.order-item-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.order-item-card__head h4,
.order-item-card__head p,
.order-item-card__meta {
    margin: 0;
}

.order-item-card__meta {
    text-align: right;
}

.order-item-options {
    margin: 14px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.order-item-options li {
    color: var(--text);
}

.actions-cell {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.actions-cell form {
    margin: 0;
}

.actions-cell button {
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 14px;
    background: #fee2e2;
    color: #b91c1c;
    cursor: pointer;
}

.product-actions-cell {
    justify-content: flex-end;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    min-width: 176px;
}

.product-actions-cell--wide {
    min-width: 176px;
}

.product-actions-cell form {
    display: inline-flex;
}

.product-actions-cell .product-action-button {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #0f172a;
    box-shadow: none;
    line-height: 1;
}

.product-actions-cell .product-action-button svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

.product-actions-cell .product-action-button--edit {
    background: rgba(59, 130, 246, .12);
    color: #1d4ed8;
}

.product-actions-cell .product-action-button--duplicate {
    background: rgba(34, 197, 94, .12);
    color: #15803d;
}

.product-actions-cell .product-action-button--image {
    background: rgba(14, 165, 233, .12);
    color: #0369a1;
}

.product-actions-cell .product-action-button--options {
    background: rgba(168, 85, 247, .12);
    color: #7e22ce;
}

.product-actions-cell .product-action-button--delete {
    background: rgba(239, 68, 68, .12);
    color: #b91c1c;
}

.inventory-alert-panel {
    border-color: #fed7aa;
    background: #fff7ed;
}

.inventory-alert-list {
    display: grid;
    gap: 10px;
}

.inventory-alert-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    text-decoration: none;
}

.inventory-alert-list span {
    color: #b45309;
    font-weight: 700;
    white-space: nowrap;
}

.inventory-movement-list {
    display: grid;
    gap: 8px;
}

.inventory-movement-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #f8fafc;
}

.inventory-movement-row div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.inventory-movement-row div:last-child {
    text-align: right;
}

.inventory-movement-row span,
.inventory-movement-row small {
    color: #64748b;
    font-size: .82rem;
    font-weight: 750;
}

.inventory-movement-row b {
    color: #0f172a;
}

.quick-stock-form {
    display: grid;
    grid-template-columns: auto 74px 74px auto;
    align-items: center;
    gap: 8px;
    min-width: 330px;
}

.quick-stock-form input[type="number"] {
    width: 74px;
    min-height: 38px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
}

.quick-stock-form button {
    min-height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.quick-stock-form__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
}

.stock-pill {
    grid-column: 1 / -1;
    display: inline-flex;
    width: max-content;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.stock-pill--ok {
    background: #dcfce7;
    color: #166534;
}

.stock-pill--low {
    background: #fef3c7;
    color: #92400e;
}

.stock-pill--out {
    background: #fee2e2;
    color: #991b1b;
}

.stock-pill--muted {
    background: #f3f4f6;
    color: var(--muted);
}

.cart-quantity-form {
    display: grid;
    grid-template-columns: 92px auto;
    align-items: end;
    gap: 8px;
}

.cart-quantity-form label {
    display: grid;
    gap: 4px;
}

.cart-quantity-form label span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.cart-quantity-form input {
    width: 92px;
    min-height: 42px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
}

.checkout-actions {
    display: grid;
    gap: 10px;
}

.commerce-confirmation {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.commerce-confirmation__card {
    width: min(100%, 520px);
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.commerce-confirmation__card h1 {
    margin: 0;
    font-size: 34px;
}

.commerce-confirmation__card p {
    margin: 0;
    color: var(--muted);
}

.commerce-confirmation__summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.commerce-confirmation__summary div {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f8fafc;
}

.commerce-confirmation__summary span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 720px) {
    .quick-stock-form {
        grid-template-columns: 1fr 1fr;
        min-width: 230px;
    }

    .quick-stock-form__toggle,
    .quick-stock-form button,
    .stock-pill {
        grid-column: 1 / -1;
    }

    .quick-stock-form input[type="number"] {
        width: 100%;
    }

    .inventory-alert-list a {
        align-items: flex-start;
        flex-direction: column;
    }

    .inventory-movement-row {
        grid-template-columns: 1fr;
    }

    .inventory-movement-row div:last-child {
        text-align: left;
    }

    .cart-quantity-form {
        grid-template-columns: 1fr;
    }

    .cart-quantity-form input {
        width: 100%;
    }

    .commerce-confirmation__summary {
        grid-template-columns: 1fr;
    }
}

.pos-presale-detail,
.pos-ticket__head,
.pos-ticket__code,
.pos-ticket__meta,
.pos-ticket__total {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.pos-presale-detail {
    margin: 14px 0;
    padding: 14px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 8px;
    background: #fff;
}

.pos-presale-detail h4 {
    margin: 8px 0 2px;
    font-size: 1.25rem;
}

.pos-ticket {
    max-width: 420px;
    margin: 0 auto;
    color: #111827;
}

.pos-ticket__head {
    border-bottom: 1px dashed #94a3b8;
    padding-bottom: 14px;
}

.pos-ticket__head strong {
    font-size: 1.2rem;
}

.pos-ticket__code {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 18px 0;
}

.pos-ticket__code strong {
    font-size: 2rem;
    letter-spacing: 0.08em;
}

.pos-ticket__code svg {
    width: 100%;
    height: 84px;
}

.pos-ticket__meta {
    align-items: flex-start;
    color: #64748b;
    font-size: 0.92rem;
}

.pos-ticket__items {
    border-top: 1px dashed #94a3b8;
    border-bottom: 1px dashed #94a3b8;
    margin: 16px 0;
    padding: 10px 0;
}

.pos-ticket__items div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
}

.pos-ticket__total strong {
    font-size: 1.5rem;
}

.pos-ticket__note {
    text-align: center;
    font-weight: 800;
    margin: 18px 0 0;
}

@media print {
    .admin-sidebar,
    .admin-topbar,
    .print-hidden,
    .admin-mobile-quicknav {
        display: none !important;
    }

    .admin-main,
    .admin-content,
    .pos-ticket {
        margin: 0 !important;
        padding: 0 !important;
        max-width: none !important;
        box-shadow: none !important;
        border: 0 !important;
    }
}

.company-actions-cell {
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    min-width: 260px;
}

.company-actions-cell form {
    display: inline-flex;
}

.company-actions-cell .company-action-button {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #0f172a;
    box-shadow: none;
    line-height: 1;
}

.company-actions-cell .company-action-button svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

.company-actions-cell .company-action-button--manage {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
}

.company-actions-cell .company-action-button--crm {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}

.company-actions-cell .company-action-button--edit {
    background: rgba(245, 158, 11, 0.14);
    color: #92400e;
}

.company-actions-cell .company-action-button--open {
    background: rgba(15, 23, 42, 0.07);
    color: #334155;
}

.company-actions-cell .company-action-button--reset {
    background: rgba(14, 165, 233, 0.12);
    color: #0369a1;
}

.company-actions-cell .company-action-button--delete {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.admin-form-grid,
.admin-filters {
    display: grid;
    gap: 16px;
}

.admin-form-card label {
    display: grid;
    gap: 8px;
}

.admin-form-grid label {
    display: grid;
    gap: 8px;
}

.checkbox-inline {
    display: inline-flex !important;
    grid-template-columns: none !important;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: max-content;
    color: var(--danger);
    font-weight: 800;
}

.checkbox-inline input {
    width: auto !important;
    min-width: 18px;
}

/* Pedido editable: mejorar lectura y separar acciones de los datos operativos. */
.order-edit-form {
    display: grid;
    gap: 18px;
}

.order-edit-section {
    display: grid;
    gap: 16px;
}

.order-edit-section--items {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.9));
}

.order-edit-item {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-color: rgba(37, 99, 235, 0.16);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.order-edit-item .order-item-card__head {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.order-edit-item .order-item-card__head h4 {
    font-size: 1.05rem;
}

.order-edit-item .order-item-card__head p {
    margin-top: 4px;
    font-weight: 700;
    color: #475569;
}

.order-edit-remove {
    padding: 9px 11px;
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-radius: 10px;
    background: #fff7f7;
}

.order-edit-options {
    margin: 0;
    padding: 12px 14px 12px 30px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.8);
}

.order-edit-options li {
    line-height: 1.45;
}

.order-edit-item__fields {
    grid-template-columns: minmax(130px, 0.45fr) minmax(180px, 0.75fr) minmax(0, 1.4fr);
    align-items: end;
}

.order-edit-item__fields .span-2 {
    grid-column: span 1;
}

.order-edit-add-item {
    padding: 16px;
    border-style: dashed;
    background: rgba(248, 250, 252, 0.72);
}

.order-edit-add-item__label {
    margin: 0 0 12px;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.order-edit-summary {
    display: grid;
    gap: 16px;
    position: sticky;
    bottom: 12px;
    z-index: 3;
    border: 1px solid rgba(22, 163, 74, 0.2);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.order-edit-summary .button {
    width: 100%;
}

@media (max-width: 820px) {
    .order-edit-item__fields,
    .order-edit-item__fields .span-2 {
        grid-template-columns: 1fr;
        grid-column: auto;
    }

    .order-edit-summary {
        position: static;
    }
}

.option-display-mode {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.option-display-mode legend {
    padding: 0 6px;
    font-weight: 800;
    color: var(--text);
}

.option-display-mode .choice-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 14px;
    background: #fff;
}

.option-display-mode .choice-card input {
    width: auto;
    margin-top: 4px;
}

.option-display-mode .choice-card small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.field-help {
    line-height: 1.45;
}

.admin-form-card input,
.admin-form-card textarea,
.admin-form-card select,
.admin-form-grid input,
.admin-form-grid textarea,
.admin-form-grid select,
.admin-filters input,
.admin-filters select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    font: inherit;
}

.order-filters {
    gap: 8px;
    margin-bottom: 12px;
}

.order-filters input[type="text"],
.order-filters input[type="search"] {
    min-width: 0;
}

.order-filters input,
.order-filters select {
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.92rem;
}

.order-filters .button {
    min-height: 40px;
    padding: 9px 14px;
}

@media (min-width: 900px) {
    .order-filters {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .order-filters input[type="text"],
    .order-filters input[type="search"] {
        flex: 1.7 1 240px;
    }

    .order-filters select {
        flex: 1 1 138px;
        min-width: 138px;
        max-width: 190px;
    }

    .order-filters .button {
        flex: 0 0 auto;
        min-width: 96px;
    }
}

@media (min-width: 560px) and (max-width: 899px) {
    .order-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-filters input[type="text"],
    .order-filters input[type="search"],
    .order-filters .button {
        grid-column: 1 / -1;
    }
}

.analytics-filters {
    grid-template-columns: minmax(240px, 1fr) auto minmax(190px, auto);
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.analytics-filters select {
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 10px;
}

.analytics-filters .button {
    min-height: 44px;
    padding: 10px 18px;
}

@media (max-width: 720px) {
    .analytics-filters {
        grid-template-columns: 1fr auto;
    }

    .analytics-filters .muted {
        grid-column: 1 / -1;
    }
}

.admin-form-card textarea {
    resize: vertical;
    min-height: 110px;
}

.config-sections {
    display: grid;
    gap: 18px;
}

.config-section-card {
    display: grid;
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05);
}

.config-section-card[hidden],
.config-section-card [hidden],
[data-config-child-tab][hidden] {
    display: none !important;
}

.config-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.config-section-head h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    color: #0f172a;
}

.config-section-head p,
.config-section-note p {
    margin: 0;
    line-height: 1.6;
}

.config-section-grid {
    display: grid;
    gap: 16px;
}

.config-section-note {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.config-section-note strong {
    color: #0f172a;
}

.pos-point-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.custom-domain-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.custom-domain-panel label {
    display: grid;
    gap: 8px;
}

.custom-domain-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.custom-domain-status {
    display: grid;
    gap: 6px;
    min-height: 86px;
    padding: 13px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: #f8fafc;
}

.custom-domain-status span {
    color: #64748b;
    font-size: .82rem;
    font-weight: 800;
}

.custom-domain-status strong {
    color: #0f172a;
}

.custom-domain-status--active {
    border-color: rgba(34, 197, 94, .24);
    background: #f0fdf4;
}

.custom-domain-status--pending,
.custom-domain-status--pending_dns {
    border-color: rgba(245, 158, 11, .24);
    background: #fffbeb;
}

.custom-domain-status--error {
    border-color: rgba(239, 68, 68, .24);
    background: #fef2f2;
}

.config-inline-title {
    display: grid;
    gap: 4px;
    padding-top: 4px;
}

.config-inline-title strong {
    color: #0f172a;
    font-size: 1rem;
}

.config-inline-title p {
    margin: 0;
    line-height: 1.55;
}

.toggle-field {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.toggle-field input {
    width: 18px;
    height: 18px;
}

.category-icon-picker {
    min-width: 0;
    margin: 0;
    padding: 16px;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
}

.category-icon-picker legend {
    padding: 0 6px;
    font-weight: 800;
}

.category-icon-picker__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 9px;
    margin-top: 12px;
}

.category-icon-option {
    position: relative;
    display: grid !important;
    justify-items: center;
    gap: 7px !important;
    min-width: 0;
    padding: 12px 8px;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    text-align: center;
    cursor: pointer;
}

.category-icon-option:has(input:checked) {
    border-color: #10b981;
    background: #ecfdf5;
    color: #047857;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, .12);
}

.category-icon-option input {
    position: absolute;
    inset: 8px auto auto 8px;
    width: 15px;
    height: 15px;
    min-height: 0;
}

.category-icon-option__preview {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #f1f5f9;
}

.category-icon-option__preview--empty {
    font-weight: 800;
}

.category-icon-option__svg,
.admin-category-name__svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.category-icon-option strong {
    overflow-wrap: anywhere;
    font-size: .78rem;
    line-height: 1.1;
}

.admin-category-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-category-name__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 7px;
    background: #ecfdf5;
    color: #059669;
}

.color-settings-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.color-field {
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.color-field__control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.color-field input[type="color"] {
    width: 58px;
    min-width: 58px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.color-field input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-field input[type="color"]::-webkit-color-swatch {
    border: 0;
    border-radius: 12px;
}

.color-field input[type="color"]::-moz-color-swatch {
    border: 0;
    border-radius: 12px;
}

.color-swatch {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
    flex: 0 0 22px;
}

.color-field__hex {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.05);
    color: #0f172a;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
}

.field-label {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 600;
}

.check-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.check-card {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.check-card input {
    width: 18px;
    height: 18px;
}

.company-modules-preview {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(37, 99, 235, .1);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(239, 246, 255, .75), rgba(240, 253, 250, .72));
}

.company-modules-preview .panel-head {
    margin: 0;
}

.company-modules-preview .panel-head strong {
    padding: 8px 12px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-size: .85rem;
}

.company-modules-preview__grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.company-module-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    min-height: 76px;
    transition: opacity .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.company-module-card span {
    color: #0f172a;
    font-weight: 850;
}

.company-module-card small {
    color: #64748b;
    font-size: .78rem;
}

.company-module-card.is-active {
    border-color: rgba(37, 99, 235, .24);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .08);
}

.company-module-card.is-muted {
    opacity: .48;
    background: rgba(255, 255, 255, .55);
}

@media (min-width: 900px) {
    .admin-shell {
        grid-template-columns: 300px minmax(0, 1fr);
        align-items: start;
    }

    .admin-sidebar-collapse {
        display: grid;
    }

    .admin-sidebar {
        position: sticky;
        top: 18px;
        max-height: calc(100vh - 36px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }

    .admin-sidebar::-webkit-scrollbar {
        width: 8px;
    }

    .admin-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }

    .admin-sidebar::-webkit-scrollbar-thumb {
        background: rgba(15, 23, 42, .14);
        border: 2px solid transparent;
        border-radius: 999px;
        background-clip: padding-box;
    }

    .admin-sidebar:hover::-webkit-scrollbar-thumb {
        background: rgba(5, 150, 105, .28);
        border: 2px solid transparent;
        background-clip: padding-box;
    }

    .admin-shell.is-sidebar-collapsed {
        grid-template-columns: 84px minmax(0, 1fr);
        max-width: none;
    }

    .admin-shell.is-sidebar-collapsed .admin-sidebar {
        padding: 14px 10px;
        gap: 12px;
    }

    .admin-shell.is-sidebar-collapsed .admin-brand {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 10px 8px;
    }

    .admin-shell.is-sidebar-collapsed .admin-brand__text,
    .admin-shell.is-sidebar-collapsed .admin-context-form,
    .admin-shell.is-sidebar-collapsed .admin-nav a span,
    .admin-shell.is-sidebar-collapsed .admin-logout span,
    .admin-shell.is-sidebar-collapsed .admin-support-link span {
        display: none;
    }

    .admin-shell.is-sidebar-collapsed .admin-nav a,
    .admin-shell.is-sidebar-collapsed .admin-logout,
    .admin-shell.is-sidebar-collapsed .admin-support-link {
        justify-content: center;
        padding-inline: 8px;
    }

    .admin-shell.is-sidebar-collapsed .admin-nav__icon {
        width: 21px;
        height: 21px;
    }

    .admin-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .span-2 {
        grid-column: span 2;
    }

    .order-detail-grid {
        grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
        align-items: start;
    }

    .order-status-form {
        grid-template-columns: minmax(180px, 240px) auto;
        align-items: end;
    }

    .order-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .config-section-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 899px) {
    body.admin-menu-open {
        overflow: hidden;
    }

    .admin-mobile-bar,
    .admin-sidebar__mobile-actions {
        display: block;
    }

    .admin-mobile-bar {
        margin-bottom: 12px;
    }

    .admin-mobile-quicknav {
        position: sticky;
        top: 76px;
        z-index: 16;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(78px, 1fr);
        gap: 7px;
        padding: 7px;
        border: 1px solid rgba(15, 23, 42, .08);
        border-radius: 12px;
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 12px 26px rgba(15, 23, 42, .09);
        overflow-x: auto;
        scrollbar-width: none;
    }

    @supports (top: env(safe-area-inset-top)) {
        .admin-mobile-quicknav {
            top: calc(76px + env(safe-area-inset-top));
        }
    }

    .admin-mobile-quicknav::-webkit-scrollbar {
        display: none;
    }

    .admin-mobile-quicknav a {
        display: grid;
        justify-items: center;
        gap: 4px;
        min-height: 58px;
        padding: 8px 7px;
        border-radius: 8px;
        background: #f8fafc;
        color: #0f172a;
        font-size: .72rem;
        font-weight: 800;
        text-align: center;
        white-space: nowrap;
    }

    .admin-mobile-quicknav .admin-nav__icon {
        width: 20px;
        height: 20px;
    }

    .admin-main {
        gap: 14px;
    }

    .admin-sidebar__mobile-actions {
        display: flex;
        justify-content: flex-end;
        order: -1;
    }

    .admin-shell.is-menu-open .admin-mobile-overlay {
        display: block;
    }

    .admin-sidebar {
        display: flex;
        flex-direction: column;
        gap: 12px;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(88vw, 360px);
        max-width: 360px;
        padding: 14px;
        padding-bottom: max(14px, env(safe-area-inset-bottom));
        border-radius: 0 16px 16px 0;
        background: #ffffff;
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 30;
        transform: translateX(calc(-100% - 18px));
        transition: transform 0.25s ease;
    }

    .admin-menu-close {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 34px;
        padding: 6px 9px 6px 12px;
        border: 1px solid rgba(15, 23, 42, .08);
        border-radius: 9px;
        background: #f8fafc;
        color: #334155;
        font: inherit;
        font-size: .82rem;
        font-weight: 800;
    }

    .admin-menu-close span:last-child {
        display: grid;
        width: 20px;
        height: 20px;
        place-items: center;
        border-radius: 7px;
        background: rgba(15, 23, 42, .08);
        color: #0f172a;
        font-size: 1rem;
        line-height: 1;
    }

    .admin-brand {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
        padding: 11px;
        border-radius: 12px;
    }

    .admin-context-form {
        margin-top: 2px;
        padding-top: 9px;
    }

    .admin-context-form select {
        min-height: 40px;
        font-size: .88rem;
    }

    .admin-brand__mark {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .admin-sidebar h1 {
        font-size: 1rem;
    }

    .admin-nav {
        gap: 7px;
    }

    .admin-nav a {
        min-height: 40px;
        padding: 9px 10px;
        border-radius: 9px;
        font-size: .92rem;
    }

    .admin-nav__catalog {
        min-height: 44px;
    }

    .admin-logout {
        min-height: 40px;
        margin-top: 2px;
        border-radius: 9px;
        background: #f8fafc;
        color: #334155;
        box-shadow: none;
    }

    .admin-support-link {
        margin-top: auto;
        min-height: 42px;
        padding: 10px 12px;
        border-radius: 10px;
        font-size: .9rem;
        box-shadow: 0 10px 22px rgba(22, 163, 74, .18);
    }

    .admin-support-link svg {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }

    .dashboard-subscription-strip {
        grid-template-columns: 1fr auto;
        gap: 4px 10px;
        padding: 10px 12px;
    }

    .dashboard-subscription-strip small {
        grid-column: 1 / -1;
        font-size: .78rem;
    }

    .dashboard-action-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dashboard-command-center,
    .dashboard-plan-strip {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dashboard-command {
        min-height: 74px;
        padding: 11px;
    }

    .dashboard-plan-strip div {
        min-height: 58px;
    }

    .dashboard-action-card {
        min-height: 96px;
        padding: 14px;
        border-radius: 12px;
    }

    .analytics-kpi-grid,
    .analytics-layout,
    .analytics-channel-grid,
    .pos-shell,
    .pos-cash-dashboard,
    .pos-cash-form,
    .pos-cash-form--close,
    .pos-cash-kpis,
    .pos-channel-report,
    .pos-reconciliation-card,
    .system-check-summary,
    .system-check-grid,
    .custom-domain-panel,
    .custom-domain-status-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pos-module-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pos-module-tabs button {
        flex: 0 0 auto;
    }

    .pos-header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .pos-offline-status--compact {
        order: 2;
        max-width: 100%;
    }

    .purchase-lines__head {
        align-items: stretch;
        flex-direction: column;
    }

    .purchase-scan-box {
        grid-template-columns: 1fr;
    }

    .purchase-line {
        grid-template-columns: 1fr;
    }

    .purchase-new-product {
        grid-template-columns: 1fr;
    }

    .purchase-receive-row {
        grid-template-columns: 1fr;
    }

    .purchase-detail-grid {
        grid-template-columns: 1fr;
    }

    .purchase-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .purchase-progress-card__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .analytics-kpi,
    .analytics-channel {
        min-height: 92px;
        padding: 14px;
    }

    .analytics-kpi strong,
    .analytics-channel strong {
        font-size: 1.45rem;
    }

    .analytics-list-row {
        align-items: flex-start;
        padding: 11px;
    }

    .analytics-list-row b {
        font-size: .9rem;
    }

    .pos-cart {
        position: static;
    }

    .pos-cart-list {
        max-height: 42vh;
    }

    .pos-sticky-checkout {
        position: sticky;
        bottom: 8px;
        z-index: 8;
        margin: 0 -4px;
        padding: 10px;
        border: 1px solid rgba(37, 99, 235, .12);
        border-radius: 10px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 16px 36px rgba(15, 23, 42, .18);
        backdrop-filter: blur(8px);
    }

    .pos-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pos-products-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .pos-products-summary .button {
        width: 100%;
    }

    .pos-cart-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-ios-install {
        align-items: flex-start;
        padding: 11px;
    }

    .admin-ios-install p {
        font-size: .84rem;
    }

    .admin-ios-install button {
        flex: 0 0 auto;
    }

    .admin-shell.is-menu-open .admin-sidebar {
        transform: translateX(0);
    }
}

.admin-form-card > .button,
.admin-form-card > button,
.auth-card .button {
    display: inline-flex;
    width: 100%;
    margin-top: 18px;
    min-height: 54px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.admin-form-card {
    display: block;
}

.admin-form-card > .button--primary,
.admin-form-card > button.button--primary,
.admin-form-card > button[type="submit"],
.auth-card .button--primary {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 56px !important;
    margin-top: 18px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #2563eb, #14b8a6) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero__brand-block {
    display: grid;
    gap: 10px;
    width: 100%;
    justify-items: center;
    text-align: center;
}

.hero__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__logo {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 88px;
    object-fit: contain;
}

.public-brandbar {
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
    margin: 0 auto 14px;
}

.public-brandbar__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.public-brandbar__logo {
    display: block;
    width: auto;
    max-width: min(220px, 58vw);
    max-height: 78px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(15, 23, 42, 0.12));
}

.public-brandbar__name {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
}

.admin-logo-preview {
    display: grid;
    gap: 10px;
}

.admin-logo-preview img {
    width: auto;
    max-width: 220px;
    max-height: 100px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    object-fit: contain;
}

.admin-context-form {
    margin-top: 14px;
}

.admin-context-form label {
    display: grid;
    gap: 8px;
    color: #475569;
    font-size: 0.92rem;
}

.admin-context-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    font: inherit;
}

.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.admin-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    font-weight: 800;
}

.admin-pagination a.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.admin-pagination__ellipsis {
    display: inline-flex;
    align-items: center;
    min-width: 24px;
    justify-content: center;
    color: var(--muted);
    font-weight: 800;
}

.orders-pagination-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.orders-pagination-summary .admin-pagination {
    margin-top: 0;
}

.analytics-trend-panel {
    display: grid;
    gap: 18px;
    margin-bottom: 18px;
}

.analytics-trend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
}

.analytics-trend__item {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.analytics-trend__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.analytics-trend__heading strong {
    font-size: 0.92rem;
}

.analytics-trend__heading b {
    font-size: 1rem;
}

.analytics-trend__track {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8edf3;
}

.analytics-trend__track span {
    display: block;
    min-width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb 0%, #0f9f86 100%);
}

.analytics-trend__item small {
    color: var(--muted);
}

@media (max-width: 720px) {
    .analytics-trend {
        grid-template-columns: 1fr;
    }

    .orders-pagination-summary {
        align-items: flex-start;
    }
}

.service-alert-panel {
    border-color: rgba(22, 163, 74, 0.24);
    background: rgba(240, 253, 244, 0.86);
}

.service-alert-panel .button--primary {
    background: #166534;
    color: #fff;
    box-shadow: 0 12px 28px rgba(22, 101, 52, 0.24);
}

.service-alert-panel .button--primary:hover {
    background: #14532d;
}

.detail-layout {
    display: grid;
    gap: 18px;
}

.service-booking-card {
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    gap: 14px;
    position: static;
    bottom: auto;
}

.service-booking-card .admin-form-card {
    margin: 0;
}

.service-booking-date.admin-form-card,
.service-booking-form.admin-form-card {
    display: grid;
    gap: 14px;
}

.service-booking-form .button {
    width: 100%;
}

.service-extras-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.service-extra-card {
    min-height: 52px;
    align-items: center;
}

.order-controls {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.order-controls form {
    margin: 0;
}

.order-button {
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 14px;
    font-size: 1rem;
}

@media (min-width: 900px) {
    .detail-layout {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
        align-items: start;
    }

    .detail-layout .service-booking-card {
        position: sticky;
        top: 24px;
    }
}

@media (max-width: 720px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-layout .detail-content {
        order: 1;
    }

    .detail-layout .service-booking-card {
        order: 2;
        width: 100%;
        padding: 14px;
        border-radius: 20px;
    }

    .service-booking-date.admin-form-card,
    .service-booking-form.admin-form-card {
        padding: 14px;
        border-radius: 18px;
    }

    .service-booking-card input,
    .service-booking-card select,
    .service-booking-card textarea,
    .service-booking-card .button {
        width: 100%;
    }

    .service-booking-date label {
        gap: 10px;
    }

    .service-booking-date input[type="date"] {
        display: block;
        box-sizing: border-box;
        min-height: 54px;
        max-width: 100%;
        font-size: 1rem;
    }

    .service-extras-grid {
        grid-template-columns: 1fr;
    }

    .service-extra-card {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 10px;
        padding: 14px;
        width: 100%;
        min-width: 0;
    }

    .service-extra-card input {
        width: 20px;
        height: 20px;
        margin: 0;
    }

    .service-extra-card span {
        min-width: 0;
        overflow-wrap: anywhere;
        line-height: 1.35;
    }
}

.admin-image-preview img {
    max-width: 320px;
    max-height: 190px;
    object-fit: cover;
}

.admin-image-placeholder {
    display: grid;
    place-items: center;
    min-height: 160px;
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.9);
    color: #64748b;
    text-align: center;
}

.admin-qr-card {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid var(--line);
}

.admin-qr-card p {
    margin: 0;
}

.admin-qr-card__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.catalog-grid {
    grid-template-columns: 1fr;
    max-width: 860px;
    margin: 20px auto 0;
}

.product-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    border-radius: 24px;
}

.product-card__media {
    height: 104px;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.product-card__body {
    display: grid;
    align-content: space-between;
    gap: 8px;
    padding: 14px 16px;
}

.product-card__category {
    margin: 0;
    font-size: 0.72rem;
}

.product-card h2 {
    font-size: 1.45rem;
    line-height: 1.05;
}

.product-card__desc {
    display: none;
}

.product-card__footer {
    align-items: flex-end;
}

.product-card__footer strong {
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.product-card__footer .button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
}

@media (min-width: 900px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 1100px;
    }
}
.catalog-grid {
    grid-template-columns: 1fr;
    max-width: 820px;
    margin: 18px auto 0;
    gap: 14px;
}

.product-card {
    position: relative;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    border-radius: 22px;
    min-height: 96px;
}

.product-card__link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.product-card__media,
.product-card__body {
    position: relative;
    z-index: 1;
}

.product-card__media {
    height: 96px;
    background: #f3f4f6;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.product-card__body {
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 12px 14px;
}

.product-card__category {
    margin: 0;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.product-card h2 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.05;
}

.product-card__desc {
    display: none;
}

.product-card__footer {
    align-items: end;
    margin-top: 4px;
}

.product-card__footer strong {
    font-size: 1.9rem;
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.product-card__hint {
    font-size: 0.8rem;
    color: var(--muted);
}

@media (min-width: 900px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 1080px;
        gap: 16px;
    }

    .product-card {
        grid-template-columns: 104px minmax(0, 1fr);
        min-height: 104px;
    }

    .product-card__media {
        height: 104px;
    }
}

.marketing-body {
    background:
        radial-gradient(circle at 12% 0%, rgba(34, 197, 94, 0.24) 0%, transparent 30%),
        radial-gradient(circle at 86% 6%, rgba(59, 130, 246, 0.22) 0%, transparent 28%),
        linear-gradient(180deg, #0F172A 0%, #111827 48%, #0B1120 100%);
}

.marketing-shell {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 14px 14px 46px;
}

.tilo-landing {
    display: grid;
    gap: 18px;
    color: #FFFFFF;
    min-width: 0;
    overflow-x: hidden;
}

.tilo-landing * {
    min-width: 0;
}

.tilo-nav,
.tilo-hero,
.tilo-section,
.tilo-flow,
.tilo-access,
.tilo-plans-section {
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.34);
    backdrop-filter: blur(18px);
}

.tilo-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    border-radius: 22px;
    position: sticky;
    top: 12px;
    z-index: 30;
    background: rgba(15, 23, 42, 0.84);
}

.tilo-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 800;
}

.tilo-nav__logo {
    display: block;
    width: auto;
    height: 40px;
    max-width: min(220px, 46vw);
}

.tilo-nav__mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #22C55E, #3B82F6);
    color: #fff;
}

.tilo-nav__links,
.tilo-nav__actions,
.tilo-proof,
.tilo-hero__cta,
.tilo-cta__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tilo-nav__links a {
    color: #CBD5E1;
    font-weight: 700;
    font-size: 0.94rem;
}

.tilo-nav__links a[href^="https://wa.me/"] {
    color: #86EFAC;
}

.tilo-hero {
    display: grid;
    gap: 24px;
    padding: 22px;
    border-radius: 30px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.18), transparent 34%),
        linear-gradient(160deg, rgba(59, 130, 246, 0.16), transparent 42%),
        rgba(15, 23, 42, 0.78);
}

.tilo-kicker {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 900;
    color: #86EFAC;
}

.tilo-hero h1,
.tilo-section h2,
.tilo-flow h2,
.tilo-access h2,
.tilo-plans-section h2 {
    margin: 0;
    line-height: 1.02;
    letter-spacing: 0;
    color: #FFFFFF;
}

.tilo-hero h1 {
    font-size: clamp(2.55rem, 10vw, 5.6rem);
    max-width: 12ch;
}

.tilo-section h2,
.tilo-flow h2,
.tilo-access h2,
.tilo-plans-section h2 {
    font-size: clamp(2rem, 6vw, 3.6rem);
}

.tilo-pricing-callout {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.tilo-pricing-callout > div {
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.tilo-pricing-callout span {
    color: #CBD5E1;
    font-size: 0.92rem;
    font-weight: 700;
}

.tilo-pricing-callout strong {
    font-size: 1.35rem;
    color: #FFFFFF;
}

.tilo-pricing-callout small {
    margin-left: 4px;
    color: #CBD5E1;
    font-size: 0.9rem;
}

.tilo-lead,
.tilo-feature p,
.tilo-steps p,
.tilo-compare-card li,
.tilo-section__head p,
.tilo-access p {
    color: #CBD5E1;
    font-size: 1rem;
    line-height: 1.65;
}

.tilo-lead {
    max-width: 680px;
    font-size: clamp(1.08rem, 3vw, 1.3rem);
    overflow-wrap: anywhere;
}

.tilo-proof {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tilo-hero__cta + .tilo-proof {
    margin-top: 8px;
}

.tilo-proof li {
    padding: 10px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 700;
    color: #E2E8F0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.tilo-showcase {
    display: flex;
    justify-content: center;
}

.tilo-phone {
    width: min(100%, 360px);
    padding: 12px;
    border-radius: 34px;
    background: linear-gradient(180deg, #020617 0%, #0F172A 100%);
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.48);
}

.tilo-phone__top {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 4px 0 10px;
}

.tilo-phone__top span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.38);
}

.tilo-phone__screen {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 26px;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    color: #0F172A;
}

.tilo-minihero,
.tilo-minicard,
.tilo-phone__footer,
.tilo-feature,
.tilo-steps article,
.tilo-compare-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.16);
}

.tilo-minihero,
.tilo-minicard,
.tilo-phone__footer {
    background: #FFFFFF;
}

.tilo-minihero {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
}

.tilo-minihero strong,
.tilo-minicard strong,
.tilo-phone__footer strong,
.tilo-feature h3,
.tilo-steps strong,
.tilo-compare-card h3 {
    display: block;
}

.tilo-minihero__eyebrow {
    margin: 0 0 6px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #16A34A;
    font-weight: 900;
}

.tilo-minihero__badge {
    min-width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #22C55E;
    color: #052E16;
    font-weight: 900;
}

.tilo-minicard {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 20px;
}

.tilo-minicard span {
    margin-top: 4px;
    font-size: 1.16rem;
    font-weight: 900;
    letter-spacing: 0;
}

.tilo-minicard__image {
    height: 72px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
}

.tilo-minicard__image--one {
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.04)), url('https://images.unsplash.com/photo-1579871494447-9811cf80d66c?auto=format&fit=crop&w=500&q=80');
}

.tilo-minicard__image--two {
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.04)), url('https://images.unsplash.com/photo-1611143669185-af224c5e3252?auto=format&fit=crop&w=500&q=80');
}

.tilo-minicard__image--three {
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.04)), url('https://images.unsplash.com/photo-1553621042-f6e147245754?auto=format&fit=crop&w=500&q=80');
}

.tilo-phone__footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
}

.tilo-section,
.tilo-flow,
.tilo-access,
.tilo-plans-section {
    padding: 22px;
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.68);
}

.tilo-section__head {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.tilo-grid,
.tilo-steps,
.tilo-plan-grid,
.tilo-compare-grid,
.tilo-faq-grid {
    display: grid;
    gap: 16px;
}

.tilo-feature,
.tilo-steps article,
.tilo-compare-card,
.tilo-faq-card {
    padding: 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.tilo-feature h3,
.tilo-steps strong,
.tilo-compare-card h3,
.tilo-faq-card h3 {
    color: #FFFFFF;
}

.tilo-faq-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.tilo-faq-card p {
    margin: 0;
    color: #CBD5E1;
    line-height: 1.65;
}

.tilo-feature span,
.tilo-compare-card span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #86EFAC;
    font-weight: 900;
}

.tilo-compare-card ul,
.tilo-plan-card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 18px;
}

.tilo-compare-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.14);
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.24);
}

.tilo-compare-card--before {
    border-color: rgba(248, 113, 113, 0.34);
}

.tilo-compare-card--after {
    border-color: rgba(34, 197, 94, 0.48);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.16), rgba(255, 255, 255, 0.08));
}

.tilo-plan-grid {
    margin-top: 18px;
}

.tilo-plan-card {
    position: relative;
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 22px;
    min-height: 100%;
    border: 1px solid rgba(226, 232, 240, 0.12);
    border-radius: 8px;
    background: #FFFFFF;
    color: #0F172A;
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.24);
}

.tilo-plan-card--featured {
    border-color: rgba(34, 197, 94, 0.8);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    box-shadow: 0 34px 78px rgba(34, 197, 94, 0.3);
}

.tilo-plan-card__badge {
    justify-self: start;
    padding: 7px 10px;
    border-radius: 999px;
    background: #22C55E;
    color: #052E16;
    font-size: 0.78rem;
    font-weight: 900;
}

.tilo-plan-card > span {
    color: #15803D;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.tilo-plan-card h3,
.tilo-plan-card p {
    margin: 0;
}

.tilo-plan-card h3 {
    font-size: 1.8rem;
}

.tilo-plan-card p,
.tilo-plan-card ul {
    color: #475569;
}

.tilo-plan-card strong {
    font-size: clamp(2.2rem, 8vw, 3rem);
    letter-spacing: 0;
}

.tilo-plan-card small {
    margin-left: 4px;
    color: #64748b;
    font-size: 1rem;
}

.tilo-plan-card__note {
    padding: 12px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 8px;
    background: #EFF6FF;
    color: #1E3A8A !important;
    font-size: 0.9rem;
    line-height: 1.5;
}

.tilo-plan-card .button {
    width: 100%;
    margin-top: auto;
}

.tilo-plan-comparison {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.tilo-plan-comparison__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 14px;
}

.tilo-plan-comparison__head h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.35rem, 4vw, 2rem);
}

.tilo-plan-comparison__head span {
    color: #CBD5E1;
    font-size: 0.9rem;
    font-weight: 750;
}

.tilo-plan-table-wrap {
    overflow-x: auto;
    border-radius: 8px;
    scrollbar-width: thin;
}

.tilo-plan-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: #ffffff;
    color: #0F172A;
}

.tilo-plan-table th,
.tilo-plan-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #E2E8F0;
    text-align: center;
    vertical-align: middle;
}

.tilo-plan-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #F8FAFC;
    color: #0F172A;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tilo-plan-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 250px;
    background: #ffffff;
    text-align: left;
    box-shadow: 1px 0 0 #E2E8F0;
}

.tilo-plan-table thead th:first-child {
    z-index: 3;
    background: #F8FAFC;
}

.tilo-plan-table td span {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 950;
}

.tilo-plan-table td.is-included span {
    background: #DCFCE7;
    color: #15803D;
}

.tilo-plan-table td.is-muted span {
    background: #F1F5F9;
    color: #94A3B8;
}

.tilo-sales-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 8px 4px 0;
    color: #CBD5E1;
    font-size: 0.96rem;
}

.tilo-sales-footer a {
    color: #86EFAC;
    font-weight: 800;
}

.tilo-whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 50%;
    background: #22C55E;
    color: #052E16;
    box-shadow: 0 20px 42px rgba(34, 197, 94, 0.34);
    font-weight: 900;
    text-decoration: none;
}

.tilo-whatsapp-float svg {
    width: 34px;
    height: 34px;
    display: block;
    fill: currentColor;
}

.tilo-whatsapp-float:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 48px rgba(34, 197, 94, 0.4);
}

.tilo-landing .button {
    border-radius: 10px;
    min-height: 46px;
    font-weight: 900;
}

.tilo-landing .button--primary {
    background: #22C55E;
    color: #052E16;
    box-shadow: 0 16px 34px rgba(34, 197, 94, 0.26);
}

.tilo-landing .button--ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.2);
    color: #FFFFFF;
}

.tilo-plan-card .button--primary {
    color: #052E16;
}

@media (max-width: 899px) {
    .tilo-nav {
        align-items: stretch;
        flex-direction: column;
    }

    .tilo-nav__links {
        display: none;
    }

    .tilo-nav__actions,
    .tilo-hero__cta {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .tilo-nav__actions .button,
    .tilo-hero__cta .button {
        width: 100%;
    }

    .tilo-proof {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .tilo-proof li {
        display: block;
        width: 100%;
        border-radius: 16px;
        white-space: normal;
    }

    .tilo-whatsapp-float {
        right: 12px;
        bottom: 12px;
        width: 54px;
        height: 54px;
    }

    .tilo-plan-comparison {
        padding: 12px;
    }

    .tilo-plan-comparison__head {
        align-items: start;
        flex-direction: column;
    }

    .tilo-plan-table {
        min-width: 680px;
    }

    .tilo-plan-table th,
    .tilo-plan-table td {
        padding: 11px 12px;
    }
}

@media (max-width: 480px) {
    .marketing-shell {
        padding-inline: 14px;
    }

    .tilo-hero {
        padding: 20px;
    }

    .tilo-hero h1 {
        font-size: 2.42rem;
    }

    .tilo-lead {
        font-size: 1rem;
    }

}

@media (min-width: 640px) {
    .tilo-pricing-callout,
    .tilo-compare-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tilo-plan-grid {
        grid-template-columns: repeat(3, minmax(240px, 1fr));
        align-items: stretch;
    }
}

@media (min-width: 900px) {
    .marketing-shell {
        padding: 24px 24px 64px;
    }

    .tilo-landing {
        gap: 24px;
    }

    .tilo-hero {
        grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
        align-items: center;
        padding: 38px;
    }

    .tilo-grid,
    .tilo-steps,
    .tilo-faq-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tilo-section,
    .tilo-flow,
    .tilo-access,
    .tilo-plans-section {
        padding: 34px;
    }

    .tilo-access {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }
}

.tilo-landing--compact {
    padding-bottom: 4rem;
}

.billing-hero,
.billing-status {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

.billing-copy,
.billing-card,
.billing-status__card {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.34);
    color: #ffffff;
}

.billing-copy,
.billing-status__card {
    padding: 1.8rem;
}

.billing-card {
    padding: 1.4rem;
    background: #ffffff;
    color: #0f172a;
}

.billing-card__head {
    margin-bottom: 1rem;
}

.billing-card__head h2 {
    margin: 0 0 0.45rem;
}

.billing-form {
    margin: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0;
}

.billing-plans {
    display: grid;
    gap: 0.9rem;
    margin: 1.5rem 0;
}

.billing-plan,
.billing-summary {
    display: grid;
    gap: 0.35rem;
}

.billing-plan {
    color: #0f172a;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.18);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.18);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.billing-plan:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 197, 94, 0.6);
}

.billing-plan strong {
    font-size: 1.8rem;
    line-height: 1;
}

.billing-plan span {
    color: #15803d;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.billing-plan small {
    color: #475569;
    line-height: 1.45;
}

.billing-plan em {
    justify-self: start;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    font-style: normal;
    font-weight: 900;
    font-size: 0.82rem;
}

.billing-plan--recommended {
    border-color: rgba(34, 197, 94, 0.48);
    position: relative;
}

.billing-plan__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.7rem;
    line-height: 1;
    text-transform: uppercase;
}

.billing-plan.is-active {
    border-color: rgba(34, 197, 94, 0.88);
    box-shadow: 0 22px 50px rgba(34, 197, 94, 0.24);
}

.billing-plan.is-active em {
    background: #22c55e;
    color: #052e16;
}

.implementation-offer {
    display: grid;
    gap: 1rem;
    margin: 1.25rem 0;
    padding: 1rem;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    background: #f8fafc;
}

.implementation-offer legend {
    padding: 0 0.4rem;
    color: #0f172a;
    font-weight: 900;
}

.implementation-offer__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.implementation-offer__head p,
.implementation-offer__note {
    margin: 0.3rem 0 0;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.45;
}

.implementation-offer__head > span {
    flex: 0 0 auto;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.implementation-options {
    display: grid;
    gap: 0.65rem;
}

.implementation-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    min-height: 70px;
    padding: 0.8rem;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
}

.implementation-option:has(input:checked) {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.implementation-option input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #16a34a;
}

.implementation-option__copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.implementation-option__copy small {
    color: #64748b;
    line-height: 1.35;
}

.implementation-option__price {
    display: grid;
    gap: 0.15rem;
    justify-items: end;
    white-space: nowrap;
}

.implementation-option__price del {
    color: #94a3b8;
    font-size: 0.82rem;
}

.implementation-option__price strong {
    color: #15803d;
    font-size: 1.05rem;
}

.implementation-offer__note {
    padding: 0.7rem 0.8rem;
    border-radius: 8px;
    background: #ecfdf5;
    color: #166534;
    font-weight: 800;
}

@media (max-width: 640px) {
    .implementation-offer__head {
        display: grid;
    }

    .implementation-offer__head > span {
        justify-self: start;
    }

    .implementation-option {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .implementation-option__price {
        grid-column: 2;
        justify-items: start;
    }
}

.billing-status__card {
    max-width: 760px;
    margin: 0 auto;
}

.billing-status--public {
    min-height: calc(100vh - 80px);
    place-items: center;
    padding: clamp(28px, 6vw, 72px) 16px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .22), transparent 34%),
        radial-gradient(circle at bottom right, rgba(20, 184, 166, .2), transparent 32%),
        linear-gradient(135deg, #0f172a 0%, #111827 52%, #0b1220 100%);
}

.billing-status--public .billing-status__card {
    width: min(100%, 760px);
    padding: clamp(22px, 5vw, 42px);
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 18px;
    background: rgba(15, 23, 42, .9);
    color: #f8fafc;
    box-shadow: 0 28px 70px rgba(2, 6, 23, .42);
}

.billing-status--public .tilo-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 10px;
    border-radius: 9px;
    background: rgba(20, 184, 166, .16);
    color: #67e8f9;
    letter-spacing: .08em;
}

.billing-status--public h1 {
    max-width: 680px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.8rem, 6vw, 3.15rem);
    line-height: 1.05;
}

.billing-status--public .tilo-lead {
    max-width: 620px;
    color: #cbd5e1;
}

.billing-status--public .billing-summary div {
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
}

.billing-status--public .billing-summary span {
    color: #94a3b8;
}

.billing-status--public .billing-summary strong {
    color: #ffffff;
}

.billing-status--public .button--ghost {
    border: 1px solid rgba(226, 232, 240, .18);
    background: rgba(255, 255, 255, .08);
    color: #e2e8f0;
}

.billing-summary {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin: 1.5rem 0;
}

.billing-summary div {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(246, 239, 231, 0.9);
}

.billing-summary span {
    display: block;
    margin-bottom: 0.35rem;
    color: #64748b;
    font-size: 0.88rem;
}

.billing-summary strong {
    font-size: 1rem;
}

.billing-summary--admin {
    margin-top: 1rem;
}

.admin-actions--stack {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.admin-actions--stack form {
    margin: 0;
}

.admin-actions--stack .button {
    width: 100%;
}

.orders-live-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.orders-live-tools .muted {
    margin: 0;
}

.order-sound-toggle {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 10px;
    background: #ffffff;
    color: #334155;
    font-weight: 800;
    cursor: pointer;
}

.order-sound-toggle.is-active {
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.28);
    color: #166534;
}

.order-inline-status-form {
    margin: 0;
}

.order-status-select {
    appearance: auto;
    min-height: 42px;
    width: 100%;
    max-width: 170px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #ffffff;
    padding: 0 34px 0 14px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.2;
    text-align: left;
}

.order-status-select--pendiente {
    background-color: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.22);
    color: #b45309;
}

.order-status-select--listo {
    background-color: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.22);
    color: #166534;
}

.order-status-select--cancelado {
    background-color: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.22);
    color: #b91c1c;
}

[data-orders-panel] .admin-table th:nth-child(2),
[data-orders-panel] .admin-table td:nth-child(2) {
    display: none;
}

@media (max-width: 720px) {
    .order-status-select {
        min-width: 128px;
        max-width: 150px;
        padding: 0 28px 0 10px;
        font-size: 0.88rem;
    }
}

.order-row-new {
    animation: orderNewPulse 1.5s ease both;
}

@keyframes orderNewPulse {
    0% {
        background: rgba(34, 197, 94, 0.2);
    }
    100% {
        background: transparent;
    }
}

@media (min-width: 960px) {
    .billing-hero {
        grid-template-columns: minmax(0, 1.05fr) minmax(340px, 440px);
    }
}

.category-grid {
    margin-top: 22px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.category-card__link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.category-card__media,
.category-card__body {
    position: relative;
    z-index: 1;
}

.category-card__media img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.category-card__placeholder {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    padding: 18px;
    background: linear-gradient(180deg, rgba(22, 163, 74, 0.14), rgba(214, 194, 168, 0.22));
    color: #1f2937;
    text-align: center;
    font-weight: 700;
}

.category-card__placeholder span {
    max-width: 12ch;
}

.category-card__body {
    padding: 12px 14px 14px;
    display: grid;
    gap: 6px;
}

.category-card__body h2 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.05;
}

.category-card__body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.35;
}

@media (min-width: 900px) {
    .category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 1080px;
        margin-left: auto;
        margin-right: auto;
    }
}

.onboarding-panel {
    display: grid;
    gap: 1rem;
}

.onboarding-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.onboarding-card,
.empty-state {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.onboarding-card {
    padding: 1.25rem;
    display: grid;
    gap: 0.85rem;
    align-content: start;
}

.onboarding-step {
    width: 2rem;
    height: 2rem;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    font-weight: 700;
    font-size: 0.92rem;
}

.onboarding-card h4,
.empty-state h4 {
    margin: 0;
    font-size: 1.05rem;
    color: #0f172a;
}

.onboarding-card p,
.empty-state p {
    margin: 0;
    color: #64748b;
    line-height: 1.55;
}

.empty-state {
    padding: 1.4rem;
    display: grid;
    gap: 0.85rem;
    justify-items: start;
}

.admin-context-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.admin-context-banner.is-selected {
    border-color: rgba(15, 118, 110, 0.18);
    background: linear-gradient(135deg, rgba(240, 253, 250, 0.96), rgba(255, 255, 255, 0.94));
}

.admin-context-banner.is-empty {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.94));
}

.admin-context-banner__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-context-banner__value {
    flex: 1;
    text-align: right;
    color: #0f172a;
    font-size: 1rem;
}

.order-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.order-controls__value {
    min-width: 34px;
    text-align: center;
    font-weight: 700;
    color: #0f172a;
}

.order-controls form {
    margin: 0;
}

.order-controls button {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.order-controls button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.order-controls--inline {
    margin-top: 8px;
}

.catalog-grid .product-card .product-card__desc {
    display: block;
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.35;
    white-space: pre-line;
}

.admin-support-link {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(22, 163, 74, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.admin-support-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(22, 163, 74, 0.28);
}

.admin-support-link svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.admin-share-card {
    margin-top: 14px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(214, 194, 168, 0.68);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 10px;
}

.admin-share-card__eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
}

.admin-share-card__link {
    display: block;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #0f172a;
    word-break: break-word;
}

.admin-share-card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.config-section-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    .admin-context-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-context-banner__value {
        text-align: left;
    }

    .config-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .config-section-card {
        padding: 18px 16px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero__branch-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    width: fit-content;
}

.hero__branch-pill a {
    color: var(--brand);
    font-weight: 700;
}

.demo-catalog-banner {
    position: sticky;
    top: clamp(10px, 2vw, 18px);
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 16px 0 18px;
    padding: 16px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f172a, #16a34a);
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.demo-catalog-banner span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    font-weight: 700;
    display: block;
}

.demo-catalog-banner strong {
    font-size: 1.18rem;
    display: block;
    line-height: 1.15;
}

@media (max-width: 720px) {
    .demo-catalog-banner {
        top: 8px;
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding: 14px 16px;
    }

    .demo-catalog-banner strong {
        font-size: 1.02rem;
    }
}

.business-hours-banner {
    display: block;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    background: rgba(249, 115, 22, 0.14);
    border: 1px solid rgba(249, 115, 22, 0.22);
    color: #9a3412;
    font-weight: 700;
}

.business-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
}

.business-status--open {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
}

.business-status__dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.business-status-card {
    width: min(100%, 460px);
    border: 1px solid rgba(249, 115, 22, 0.24);
    border-radius: var(--radius-lg);
    background: rgba(255, 247, 237, 0.92);
    color: #9a3412;
    overflow: hidden;
}

.business-status-card summary {
    display: grid;
    gap: 3px;
    padding: 13px 15px;
    cursor: pointer;
    list-style: none;
}

.business-status-card summary::-webkit-details-marker {
    display: none;
}

.business-status-card summary span {
    font-size: 0.9rem;
    color: #b45309;
}

.business-status-card__hours {
    display: grid;
    gap: 8px;
    padding: 0 15px 14px;
}

.business-status-card__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(249, 115, 22, 0.18);
    color: #7c2d12;
    font-size: 0.92rem;
}

.business-status-card__row > strong {
    text-align: right;
}

.business-status-card__ranges {
    display: grid;
    gap: 3px;
}

.branch-grid,
.branch-admin-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.branch-card,
.branch-admin-card,
.hours-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.branch-card {
    position: relative;
}

.branch-card__link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.branch-card__media img,
.branch-admin-card__media img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.branch-card__placeholder,
.branch-admin-card__placeholder {
    display: grid;
    place-items: center;
    min-height: 220px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.06), rgba(249, 115, 22, 0.18));
    color: var(--muted);
    font-weight: 700;
}

.branch-card__body,
.branch-admin-card__body,
.hours-panel {
    padding: 18px;
}

.branch-card__body h2,
.branch-admin-card__body h3,
.hours-panel h3 {
    margin: 0 0 8px;
}

.branch-card__body p,
.branch-admin-card__body p {
    margin: 0;
    color: var(--muted);
}

.branch-admin-card__top,
.hours-panel__head,
.hours-panel__row,
.hours-row-card__head,
.hours-row-card__times {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.branch-admin-card__body .actions-cell {
    margin-top: 14px;
}

.badge--success {
    background: rgba(22, 163, 74, 0.14);
    color: #166534;
}

.badge--warning {
    background: rgba(249, 115, 22, 0.14);
    color: #9a3412;
}

.public-sidebar-toggle {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    left: 14px;
    z-index: 60;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
    display: inline-grid;
    place-content: center;
    gap: 4px;
    cursor: pointer;
}

.public-sidebar-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--brand);
}

.public-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    border: 0;
    background: rgba(15, 23, 42, 0.42);
}

.public-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 80;
    width: min(86vw, 340px);
    padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.98));
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 24px 0 80px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}

.public-sidebar[hidden],
.public-sidebar-overlay[hidden] {
    display: none;
}

.public-sidebar__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.public-sidebar__head span {
    display: block;
    margin-bottom: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand);
}

.public-sidebar__head strong {
    display: block;
    font-size: 1.22rem;
    color: #0f172a;
}

.public-sidebar__head button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.07);
    color: #0f172a;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.public-sidebar__nav {
    display: grid;
    gap: 8px;
    align-content: start;
}

.public-sidebar__nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 12px 0 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(15, 23, 42, 0.07);
    color: #0f172a;
    font-weight: 800;
}

.public-sidebar__icon {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.07);
    color: var(--brand);
    font-weight: 900;
    font-size: 0.95rem;
}

.public-sidebar__icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

.public-sidebar__info {
    align-self: start;
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.public-sidebar__info p {
    margin: 0;
    color: #334155;
    line-height: 1.5;
}

.public-sidebar__info small {
    color: #64748b;
    line-height: 1.45;
}

.public-sidebar__footer {
    align-self: end;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0), rgba(248, 250, 252, 1) 35%);
}

.public-sidebar__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--whatsapp);
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 14px 28px rgba(22, 163, 74, 0.22);
}

body.public-sidebar-open {
    overflow: hidden;
}

.product-studio {
    padding: clamp(16px, 3vw, 28px);
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, .12), transparent 28%),
        #ffffff;
    border: 1px solid rgba(15, 23, 42, .08);
}

.product-studio__intro {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #0f172a;
    color: #ffffff;
}

.product-studio__intro span {
    display: block;
    margin-bottom: 4px;
    color: #86efac;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-studio__intro strong {
    display: block;
    font-size: clamp(1.15rem, 3vw, 1.55rem);
    line-height: 1.15;
}

.product-studio__intro p {
    max-width: 360px;
    margin: 0;
    color: #cbd5e1;
}

.product-studio__sections {
    display: grid;
    gap: 16px;
}

.product-studio__section {
    padding: clamp(14px, 2.6vw, 22px);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    background: rgba(248, 250, 252, .86);
}

.product-studio__section-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.product-studio__section-head > span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 10px;
    background: #22c55e;
    color: #052e16;
    font-weight: 900;
}

.product-studio__section-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
}

.product-studio__section-head p,
.product-options-helper p {
    margin: 2px 0 0;
    color: #64748b;
}

.quick-create-box,
.existing-groups-box {
    padding: 14px;
    border: 1px dashed rgba(15, 23, 42, .18);
    border-radius: 14px;
    background: #ffffff;
}

.quick-create-box summary,
.existing-groups-box summary {
    cursor: pointer;
    color: #0f172a;
    font-weight: 800;
}

.quick-create-box label {
    display: block;
    margin-top: 12px;
}

.product-options-helper {
    display: grid;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .08);
    overflow: hidden;
}

.product-options-helper__title {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.product-options-helper__title strong {
    color: #0f172a;
    font-size: .98rem;
    line-height: 1.25;
}

.product-options-helper__title small {
    color: #64748b;
    line-height: 1.35;
}

.product-options-helper__choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.product-options-helper__choices label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 12px;
    background: #f8fafc;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    overflow-wrap: anywhere;
}

.product-options-helper__choices label:has(input:checked) {
    border-color: #22c55e;
    background: #ecfdf5;
    color: #14532d;
}

.inline-options-builder {
    display: grid;
    gap: 14px;
}

.inline-options-builder[hidden] {
    display: none;
}

.inline-group-card {
    display: grid;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .1);
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.inline-group-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.inline-group-card__head button,
.inline-item-row button {
    border: 0;
    background: transparent;
    color: #ef4444;
    font-weight: 800;
    cursor: pointer;
}

.option-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.option-type-card {
    position: relative;
    display: grid;
    gap: 5px;
    min-height: 132px;
    padding: 14px 12px 12px 42px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 14px;
    background: #f8fafc;
}

.option-type-card input {
    position: absolute;
    top: 16px;
    left: 14px;
    width: 16px;
    height: 16px;
    margin: 0;
}

.option-type-card:has(input:checked) {
    border-color: #22c55e;
    background: #ecfdf5;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .14);
}

.option-type-card strong {
    color: #0f172a;
    line-height: 1.2;
}

.option-type-card span,
.option-type-card small {
    color: #475569;
}

.inline-items-list {
    display: grid;
    gap: 8px;
}

.inline-item-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(90px, .7fr) minmax(72px, .5fr) auto;
    gap: 8px;
    align-items: center;
}

.product-studio__submit {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    padding-top: 16px;
}

.product-studio__submit .button {
    min-height: 52px;
    padding-inline: 24px;
    box-shadow: 0 18px 40px rgba(34, 197, 94, .28);
}

@media (min-width: 900px) {
    .product-options-helper {
        grid-template-columns: minmax(240px, .85fr) minmax(320px, 1.15fr);
        align-items: center;
        padding: 16px;
        border-radius: 10px;
    }

    .product-options-helper__choices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-options-helper__choices label {
        min-height: 44px;
        border-radius: 8px;
    }

    .inline-group-card {
        border-radius: 10px;
        box-shadow: none;
    }

    .option-type-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .option-type-card {
        min-height: 112px;
        border-radius: 10px;
    }

    .inline-item-row {
        grid-template-columns: minmax(220px, 1.45fr) minmax(120px, .65fr) minmax(110px, .55fr) 44px;
        align-items: end;
    }

    .inline-item-row button {
        min-height: 42px;
    }
}

@media (max-width: 720px) {
    .product-studio {
        padding: 12px;
        border-radius: 18px;
    }

    .product-studio__intro,
    .option-type-grid,
    .inline-item-row {
        grid-template-columns: 1fr;
    }

    .product-options-helper {
        gap: 10px;
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .product-options-helper__title strong {
        font-size: .92rem;
    }

    .product-options-helper__title small {
        font-size: .82rem;
    }

    .product-options-helper__choices {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        padding: 4px;
        border: 1px solid rgba(15, 23, 42, .1);
        border-radius: 12px;
        background: #f1f5f9;
    }

    .product-options-helper__choices label {
        justify-content: center;
        min-height: 38px;
        padding: 8px 6px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        font-size: .84rem;
        text-align: center;
        white-space: normal;
    }

    .product-options-helper__choices label:has(input:checked) {
        background: #ffffff;
        box-shadow: 0 6px 16px rgba(15, 23, 42, .1);
    }

    .product-options-helper__choices input {
        width: 14px;
        height: 14px;
        flex: 0 0 auto;
    }

    .product-studio__intro {
        display: grid;
        border-radius: 14px;
    }

    .product-studio__section {
        border-radius: 14px;
    }

    .inline-item-row {
        align-items: stretch;
    }

    .inline-item-row button {
        justify-self: start;
        min-height: 36px;
    }

    .product-studio__submit {
        justify-content: stretch;
    }

    .product-studio__submit .button {
        width: 100%;
    }
}

.badge--muted {
    background: rgba(107, 114, 128, 0.12);
    color: #4b5563;
}

.hours-panel {
    margin-top: 22px;
}

.hours-panel__list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.hours-panel__row {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.hours-panel__row:first-child {
    border-top: 0;
}

.hours-form-card {
    display: grid;
    gap: 18px;
}

.hours-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hours-row-card {
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.76);
}

.hours-row-card__head {
    align-items: flex-start;
    margin-bottom: 12px;
}

.hours-row-card__times {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
}

.hours-row-card__times label {
    width: 100%;
}

@media (max-width: 720px) {
    .hours-row-card__times,
    .hours-panel__head,
    .branch-admin-card__top {
        flex-direction: column;
        align-items: flex-start;
    }
}

.delivery-sector-editor {
    display: grid;
    gap: 14px;
}

.config-tabs {
    position: sticky;
    top: 12px;
    z-index: 12;
    display: flex;
    gap: 8px;
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
    overflow-x: auto;
    scrollbar-width: none;
}

.config-tabs::-webkit-scrollbar {
    display: none;
}

.config-tabs button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: #f8fafc;
    color: #0f172a;
    font: inherit;
    font-size: .9rem;
    font-weight: 850;
    cursor: pointer;
}

.config-tabs button.is-active {
    background: #0f172a;
    color: #ffffff;
}

.inline-admin-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.inline-admin-form select {
    min-height: 40px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    padding: 8px 10px;
    font: inherit;
}

.roles-permission-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.role-permission-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #fff;
}

.role-permission-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.role-permission-card details {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    padding: 10px;
    background: #f8fafc;
}

.role-permission-card summary {
    cursor: pointer;
    font-weight: 850;
}

.permission-check-grid {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.delivery-sector-editor__list {
    display: grid;
    gap: 12px;
}

.delivery-sector-row {
    display: grid;
    grid-template-columns: minmax(160px, 1.3fr) repeat(3, minmax(120px, .8fr)) auto auto;
    gap: 12px;
    align-items: end;
    padding: 14px;
    border: 1px solid rgba(214, 194, 168, 0.7);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

.delivery-sector-row__toggle {
    min-width: 110px;
}

.branch-config-grid {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.branch-config-card {
    display: grid;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 253, 250, 0.72));
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.branch-config-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.branch-config-card__header h3 {
    margin: 4px 0 4px;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.branch-config-card__footer {
    margin: 10px 0 0;
}

.checkout-sector-card {
    display: none;
}

.checkout-sector-card.is-visible {
    display: block;
}

@media (max-width: 720px) {
    .delivery-sector-row {
        grid-template-columns: 1fr;
    }

    .branch-config-card {
        padding: 14px;
        border-radius: 18px;
    }

    .branch-config-card__header {
        display: grid;
    }
}

.account-page,
.account-dashboard {
    width: min(980px, calc(100% - 28px));
    margin: 18px auto 42px;
}

.account-card,
.account-panel,
.account-hero {
    border: 1px solid rgba(214, 194, 168, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
}

.account-card {
    max-width: 520px;
    margin: 20px auto;
    padding: 24px;
    display: grid;
    gap: 16px;
}

.account-card h1,
.account-hero h1,
.account-panel h2 {
    margin: 0;
    letter-spacing: 0;
}

.account-form {
    display: grid;
    gap: 14px;
}

.account-form label {
    display: grid;
    gap: 7px;
    font-weight: 700;
}

.account-form input,
.account-form select {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
}

.account-form--inline {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    align-items: end;
}

.account-links,
.account-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.account-links a,
.account-tabs a,
.account-mini-card a,
.link-button {
    color: var(--brand);
    font-weight: 800;
    text-decoration: none;
}

.account-admin-access {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 2px;
    padding: 13px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(236, 253, 245, 0.86));
}

.account-admin-access div {
    display: grid;
    gap: 3px;
}

.account-admin-access strong {
    color: #0f172a;
    font-size: .92rem;
}

.account-admin-access span {
    color: #64748b;
    font-size: .82rem;
    line-height: 1.3;
}

.account-admin-access a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: .86rem;
    font-weight: 850;
    text-decoration: none;
}

.link-button {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.account-hero {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.account-tabs {
    position: sticky;
    top: 0;
    z-index: 4;
    padding: 10px 0;
    background: var(--surface);
}

.account-tabs a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(214, 194, 168, 0.72);
    border-radius: 8px;
    background: #fff;
}

.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.account-summary-grid article {
    display: grid;
    gap: 4px;
    min-height: 74px;
    padding: 12px;
    border: 1px solid rgba(214, 194, 168, 0.72);
    border-radius: 8px;
    background: #fff;
}

.account-summary-grid span {
    color: #64748b;
    font-size: .82rem;
    font-weight: 800;
}

.account-summary-grid strong {
    color: #0f172a;
    font-size: 1.45rem;
    line-height: 1;
}

.account-panel {
    margin-top: 16px;
    padding: 18px;
}

.account-order-list,
.account-address-grid,
.account-favorites,
.customer-address-list {
    display: grid;
    gap: 10px;
}

.account-order,
.account-mini-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 8px;
    background: #fff;
}

.account-order {
    grid-template-columns: minmax(0, 1.2fr) minmax(120px, .8fr) auto;
    align-items: center;
}

.account-order span,
.account-mini-card span,
.customer-commerce-grid span {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
}

.account-address-grid,
.account-favorites,
.customer-commerce-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.account-inline-card,
.favorite-inline-form {
    margin-top: 12px;
}

.account-inline-card {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(214, 194, 168, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
}

.account-inline-card a {
    color: var(--brand);
    font-weight: 800;
    text-decoration: none;
}

.customer-commerce-profile {
    margin-top: 18px;
}

.customer-commerce-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.customer-commerce-grid article,
.customer-address-list div {
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 8px;
    background: #fff;
}

@media (max-width: 720px) {
    .account-page,
    .account-dashboard {
        width: min(100% - 18px, 980px);
        margin-top: 10px;
    }

    .account-card,
    .account-panel,
    .account-hero {
        padding: 14px;
    }

    .account-hero,
    .account-order,
    .account-inline-card,
    .account-admin-access {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .account-admin-access a {
        width: 100%;
    }

    .account-order .button,
    .account-hero .button {
        width: 100%;
    }

    .account-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .account-tabs::-webkit-scrollbar {
        display: none;
    }

    .account-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.point-empty-state {
    padding: 18px;
    border: 1px dashed #b8c7d9;
    border-radius: 8px;
    background: #f8fafc;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid #dbe4ee;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.status-chip--success {
    border-color: #a7e8c4;
    background: #e9fbf1;
    color: #087f5b;
}

.point-empty-state p {
    margin: 5px 0 0;
}

.point-configuration-path {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.point-configuration-path > div {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    background: #f8fafc;
}

.point-configuration-path span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 50%;
    background: #0f172a;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.point-configuration-path p,
.point-configuration-path strong {
    display: block;
    margin: 0;
}

.point-configuration-path p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.point-configuration-path strong {
    margin-bottom: 2px;
    color: #0f172a;
}

.point-terminal-list {
    display: grid;
    gap: 12px;
}

.point-terminal-card {
    display: grid;
    grid-template-columns: minmax(210px, 1.3fr) minmax(110px, .6fr) minmax(190px, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    background: #fff;
}

.point-terminal-card__identity {
    display: flex;
    gap: 11px;
    align-items: center;
    min-width: 0;
}

.point-terminal-card__identity div {
    min-width: 0;
}

.point-terminal-card__identity strong,
.point-terminal-card__identity small {
    display: block;
    overflow-wrap: anywhere;
}

.point-terminal-card__identity small,
.point-terminal-card__status span {
    color: #64748b;
    font-size: 12px;
}

.point-terminal-card__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 8px;
    background: #e8f8ef;
    color: #087f5b;
    font-weight: 800;
}

.point-terminal-card__status strong {
    display: block;
    margin-top: 3px;
}

.point-terminal-card__toggle {
    white-space: nowrap;
}

@media (max-width: 860px) {
    .point-configuration-path,
    .point-terminal-card {
        grid-template-columns: 1fr;
    }

    .point-terminal-card {
        align-items: stretch;
    }
}

.pos-product-card__meta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 2px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
}

.pos-customizer-panel[hidden] {
    display: none !important;
}

.pos-customizer-panel {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(5px);
}

.pos-customizer-modal {
    position: relative;
    isolation: isolate;
    width: min(920px, 100%);
    max-height: min(88vh, 900px);
    overflow: hidden;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 16px;
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24);
}

.pos-customizer-main {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(260px, .82fr) minmax(340px, 1.18fr);
    gap: 18px;
}

.pos-customizer-side {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pos-customizer-modal .panel-head {
    align-items: flex-start;
    margin: 0;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.88);
}

.pos-customizer-body,
.pos-customizer-options {
    display: grid;
    gap: 12px;
}

.pos-customizer-body {
    min-height: 0;
    overflow: auto;
    padding-right: 6px;
    scrollbar-width: thin;
}

.pos-customizer-group {
    margin: 0;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.pos-customizer-group__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.pos-customizer-group__head strong,
.pos-customizer-option strong {
    display: block;
}

.pos-customizer-group__head small,
.pos-customizer-option small {
    display: block;
    margin-top: 4px;
    color: #64748b;
}

.pos-customizer-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    background: #fff;
}

.pos-customizer-option input[type="radio"],
.pos-customizer-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.pos-customizer-option--quantity {
    grid-template-columns: 1fr auto;
}

.pos-customizer-option__aside {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.pos-customizer-option__aside input {
    width: 84px;
    min-height: 42px;
    border-radius: 12px;
}

.pos-customizer-note-field {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.pos-customizer-note-field span {
    font-weight: 700;
    color: #0f172a;
}

.pos-customizer-note-field input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    background: #fff;
}

.pos-customizer-footer {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(240px, 1fr);
    gap: 12px;
    align-items: center;
    margin: 0 -4px -4px;
    padding: 12px 4px 4px;
    border-top: 1px solid rgba(226, 232, 240, 0.88);
    background: #ffffff;
}

.pos-customizer-footer .pos-total-box {
    min-width: 0;
    min-height: 56px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 16px;
}

.pos-customizer-footer .pos-total-box span {
    font-size: 0.78rem;
    line-height: 1.05;
}

.pos-customizer-footer .pos-total-box strong {
    font-size: 1.8rem;
    line-height: 1;
    white-space: nowrap;
}

[data-pos-customizer-error] {
    margin: 0;
    color: #b91c1c;
    font-weight: 700;
}

.pos-customizer-add-button {
    width: 100%;
    min-height: 56px;
    border-radius: 16px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .pos-customizer-panel {
        align-items: flex-end;
        padding: 10px;
    }

    .pos-customizer-modal {
        width: 100%;
        max-height: 90vh;
        padding: 16px;
        border-radius: 22px 22px 0 0;
    }

    .pos-customizer-main {
        grid-template-columns: 1fr;
        gap: 12px;
        overflow: auto;
    }

    .pos-customizer-modal .panel-head {
        padding: 0 0 12px;
    }

    .pos-customizer-body {
        max-height: none;
        overflow: visible;
        padding-right: 2px;
    }

    .pos-customizer-option,
    .pos-customizer-option--quantity {
        grid-template-columns: 1fr;
    }

    .pos-customizer-option input[type="radio"],
    .pos-customizer-option input[type="checkbox"] {
        order: -1;
    }

    .pos-customizer-option__aside {
        justify-items: stretch;
    }

    .pos-customizer-option__aside input {
        width: 100%;
    }

    .pos-customizer-footer {
        grid-template-columns: 1fr;
        margin: 0;
        padding: 12px 0 0;
    }
}
