/* Hoja de estilos propia de base. Define su presentación y variantes adaptables. */
:root {
    --green: #087f6b;
    --green-dark: #066454;
    --navy: #17343c;
    --ink: #172b35;
    --muted: #6b7c82;
    --bg: #f5f7f7;
    --line: #e2e9e7;
    --pale: #eaf6f1;
    --lime: #d9f4b5;
    --white: #fff;
    --shadow: 0 12px 36px #153b3210;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--ink);
    font-size: 14px;
    font-synthesis: none;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--bg);
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}
button,
a {
    touch-action: manipulation;
}
button {
    cursor: pointer;
}
a {
    color: inherit;
    text-decoration: none;
}
button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
button {
    border: 0;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #69b8a5;
    outline-offset: 3px;
}
input,
select,
textarea {
    width: 100%;
    border: 1px solid #d8e2df;
    border-radius: 9px;
    background: white;
    color: var(--ink);
    padding: 11px 12px;
    min-height: 43px;
}
textarea {
    resize: vertical;
    min-height: 85px;
}
input[type='color'] {
    padding: 4px;
    width: 50px;
    height: 43px;
    cursor: pointer;
}
input[type='checkbox'] {
    width: 18px;
    min-height: 18px;
    accent-color: var(--green);
}
input[readonly] {
    background: #f6f8f7;
    color: #51656b;
}
label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin: 0 0 7px;
}
small,
.small {
    font-size: 12px;
}
h1,
h2,
h3,
p {
    margin: 0;
}
h1 {
    font-size: 30px;
    letter-spacing: -1px;
    line-height: 1.2;
}
h2 {
    font-size: 18px;
    letter-spacing: -0.4px;
}
h3 {
    font-size: 15px;
}
.muted {
    color: var(--muted);
}
.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}
.row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.between {
    justify-content: space-between;
}
.wrap {
    flex-wrap: wrap;
}
.stack {
    display: grid;
    gap: 18px;
}
.grow {
    flex: 1;
    min-width: 0;
}
.icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 9px;
    font-weight: 600;
    min-height: 43px;
    background: var(--green);
    color: white;
    white-space: nowrap;
}
.btn:hover {
    background: var(--green-dark);
}
.btn.secondary {
    background: white;
    border: 1px solid #d8e2df;
    color: var(--ink);
}
.btn.secondary:hover {
    background: #f0f6f3;
}
.btn.soft {
    background: var(--pale);
    color: var(--green);
}
.btn.soft:hover {
    background: #dbeee5;
}
.btn.danger {
    background: #fff0eb;
    color: #a13b29;
}
.btn.sm {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 12px;
}
.btn.icon-only {
    width: 39px;
    min-height: 39px;
    padding: 8px;
}
.text-btn {
    color: var(--green);
    background: transparent;
    padding: 6px 0;
    font-weight: 600;
}
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border-radius: 8px;
    color: var(--muted);
}
.icon-btn:hover {
    background: var(--pale);
    color: var(--green);
}
.pill {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-size: 11px;
    line-height: 1.2;
    padding: 6px 9px;
    border-radius: 30px;
    font-weight: 600;
    background: var(--pale);
    color: var(--green);
    white-space: nowrap;
}
.pill:before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}
.pill.orange {
    background: #fff4e7;
    color: #a96512;
}
.pill.gray {
    background: #edf1f2;
    color: #6a7c82;
}
.pill.red {
    background: #ffefec;
    color: #ae3c2a;
}
.card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 23px;
}
.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}
.rule {
    height: 1px;
    background: var(--line);
    margin: 22px 0;
}
.field {
    margin-bottom: 18px;
}
.field:last-child {
    margin-bottom: 0;
}
.field small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.5;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
}
.form-grid .full {
    grid-column: 1/-1;
}
.notice {
    display: flex;
    gap: 11px;
    background: var(--pale);
    color: #2a6859;
    border: 1px solid #d6eadd;
    border-radius: 10px;
    padding: 14px;
    line-height: 1.6;
    font-size: 12px;
}
.notice.warn {
    background: #fff7e9;
    border-color: #f2e2c6;
    color: #8a632c;
}
.notice .icon {
    margin-top: 2px;
}
.empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--muted);
}
.empty .icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 12px;
    color: #a7bcb2;
}
.empty h3 {
    color: var(--ink);
    margin-bottom: 8px;
}
.empty p {
    margin-bottom: 18px;
    line-height: 1.6;
}
.counter {
    background: #eef2f1;
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 5px;
    color: #63776d;
}
.divider-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8d9e9e;
    margin: 24px 12px 10px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -1px;
}
.brand-mark {
    width: 35px;
    height: 37px;
    border-radius: 10px;
    background: var(--green);
    color: white;
    display: grid;
    place-items: center;
    position: relative;
}
.brand-mark .icon {
    width: 23px;
    height: 23px;
}
.brand-mark:after {
    content: '';
    height: 7px;
    width: 7px;
    background: var(--lime);
    border: 2px solid white;
    position: absolute;
    bottom: -2px;
    right: -2px;
    border-radius: 50%;
}
.demo-bar {
    height: 42px;
    background: #eaf1ed;
    color: #527467;
    border-bottom: 1px solid #d7e5db;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    gap: 15px;
    font-size: 11px;
    position: relative;
    z-index: 15;
}
.demo-bar .demo-badge {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 10px;
    border: 1px solid #bfd5c7;
    padding: 4px 6px;
    border-radius: 4px;
    margin-right: 8px;
}
.demo-tabs {
    display: flex;
    gap: 3px;
}
.demo-tabs button {
    background: transparent;
    color: #527467;
    padding: 5px 11px;
    border-radius: 5px;
    font-size: 11px;
}
.demo-tabs button.active {
    background: white;
    color: var(--green);
    font-weight: 700;
    box-shadow: 0 1px 3px #1c5b2310;
}
.shell {
    display: grid;
    grid-template-columns: 228px minmax(0, 1fr);
    min-height: calc(100vh - 42px);
}
.sidebar {
    background: white;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: calc(100vh - 42px);
    padding: 28px 17px 18px;
}
.sidebar .brand {
    padding: 0 12px;
}
.side-caption {
    padding: 6px 12px 0 57px;
    font-size: 10px;
    color: #8b9c96;
}
.workspace {
    margin: 28px 0 6px;
    padding: 12px 10px;
    background: #f5f8f6;
    border: 1px solid #e1eae4;
    border-radius: 10px;
}
.avatar {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 12px;
    overflow: hidden;
}
.workspace .small {
    font-size: 11px;
    line-height: 1.6;
}
.workspace strong {
    font-size: 12px;
}
.workspace .icon {
    width: 14px;
    color: #89a394;
}
.side-nav {
    display: grid;
    gap: 4px;
    margin-top: 10px;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: #697d7e;
    border-radius: 9px;
    text-align: left;
    font-size: 13px;
    background: transparent;
    width: 100%;
}
.nav-item.active {
    background: var(--pale);
    color: var(--green);
    font-weight: 650;
}
.nav-item:hover {
    background: #f0f6f3;
    color: var(--green);
}
.nav-item .counter {
    margin-left: auto;
}
.side-bottom {
    margin-top: auto;
    padding-top: 25px;
}
.help-card {
    border-radius: 11px;
    background: #f5f8f6;
    padding: 15px;
    font-size: 11px;
    line-height: 1.6;
}
.help-card strong {
    display: block;
    font-size: 12px;
    margin-bottom: 3px;
}
.side-footer {
    font-size: 10px;
    color: #8b9c99;
    line-height: 1.8;
    padding: 20px 10px 0;
}
.side-footer strong {
    color: #60776c;
}
.admin .sidebar {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}
.admin .brand-mark {
    background: #2b8f77;
}
.admin .brand-mark:after {
    border-color: var(--navy);
}
.admin .workspace {
    background: #23444c;
    border-color: #31535a;
}
.admin .workspace .muted {
    color: #abc1c0;
}
.admin .nav-item {
    color: #acc2c3;
}
.admin .nav-item.active {
    background: #2d514e;
    color: #dcf4cd;
}
.admin .nav-item:hover {
    background: #26484d;
}
.admin .side-caption,
.admin .side-footer {
    color: #9db8b8;
}
.admin .side-footer strong {
    color: #cee2df;
}
.topbar {
    height: 76px;
    border-bottom: 1px solid var(--line);
    background: white;
    padding: 0 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
}
.breadcrumb strong {
    color: var(--ink);
    font-weight: 600;
}
.breadcrumb .icon {
    width: 13px;
    height: 13px;
    color: #a7b5ae;
}
.profile {
    display: flex;
    align-items: center;
    gap: 10px;
}
.profile .avatar {
    background: #f0e6d9;
    color: #8e693b;
    border-radius: 50%;
}
.profile strong {
    display: block;
    font-size: 12px;
}
.profile small {
    color: var(--muted);
    font-size: 10px;
}
.content {
    max-width: 1430px;
    margin: 0 auto;
    padding: 33px 34px 30px;
}
.page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}
.page-head p {
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.6;
    font-size: 13px;
}
.overline {
    font-size: 10px;
    letter-spacing: 1.8px;
    color: var(--green);
    font-weight: 700;
    margin-bottom: 8px;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 22px 0;
}
.stat {
    padding: 20px;
    position: relative;
}
.stat label {
    color: var(--muted);
    font-weight: 400;
    margin-bottom: 13px;
    font-size: 12px;
}
.stat strong {
    font-size: 28px;
    letter-spacing: -1px;
}
.stat .stat-icon {
    position: absolute;
    right: 17px;
    top: 18px;
    width: 32px;
    height: 32px;
    background: #f2f7f4;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: var(--green);
}
.stat small {
    display: block;
    color: var(--muted);
    margin-top: 8px;
    font-size: 11px;
}
.stat small.positive {
    color: var(--green);
}
.welcome {
    background: #e6f2e9;
    border: 1px solid #d4e7d6;
    padding: 26px 28px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    overflow: hidden;
}
.welcome h2 {
    font-size: 24px;
    letter-spacing: -0.7px;
    margin: 7px 0 10px;
}
.welcome p {
    max-width: 490px;
    line-height: 1.7;
    font-size: 13px;
    color: #5b7566;
}
.welcome-art {
    position: relative;
    min-width: 180px;
    text-align: right;
    transform: rotate(-8deg);
}
.welcome-art .qr-tile {
    background: white;
    padding: 12px;
    border-radius: 13px;
    box-shadow: 0 10px 20px #2a50331a;
    display: inline-block;
    transform: rotate(3deg);
    width: 117px;
}
.welcome-art svg {
    width: 100%;
    display: block;
}
.welcome-art .mini-label {
    position: absolute;
    left: 0;
    top: 40px;
    background: #d5edb9;
    border: 3px solid #e6f2e9;
    border-radius: 8px;
    padding: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #3c6449;
    transform: rotate(8deg);
}
.cols {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 20px;
}
.quick-list {
    display: grid;
    gap: 5px;
}
.quick-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    gap: 13px;
}
.quick-item:last-child {
    border: 0;
    padding-bottom: 0;
}
.quick-item .tile-icon {
    width: 39px;
    height: 39px;
    background: #eff7f1;
    color: var(--green);
    display: grid;
    place-items: center;
    border-radius: 10px;
}
.quick-item p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px;
}
.quick-item .icon:last-child {
    margin-left: auto;
}
.steps {
    display: grid;
    gap: 20px;
}
.step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.step-number {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    background: var(--pale);
    border-radius: 50%;
    font-size: 11px;
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}
.step p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 5px;
}
.table-card {
    padding: 0;
    overflow: hidden;
}
.table-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
}
.search {
    display: flex;
    align-items: center;
    border: 1px solid #dce5e0;
    border-radius: 9px;
    padding-left: 12px;
    background: white;
    gap: 8px;
    width: 310px;
}
.search .icon {
    color: #8e9e98;
    width: 17px;
}
.search input {
    border: 0;
    background: transparent;
    min-height: 40px;
    padding: 10px 10px 10px 0;
    font-size: 12px;
    outline-offset: 0;
}
.table-actions {
    display: flex;
    gap: 10px;
}
.table-actions select {
    min-width: 150px;
    font-size: 12px;
    min-height: 40px;
    padding: 9px;
}
.table-scroll {
    overflow: auto;
}
table {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
    white-space: nowrap;
}
th {
    background: #f8faf9;
    padding: 13px 22px;
    font-size: 10px;
    letter-spacing: 0.9px;
    color: #798d85;
    text-transform: uppercase;
    font-weight: 600;
}
td {
    padding: 15px 22px;
    border-top: 1px solid #eff2f0;
    font-size: 12px;
}
.product-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}
.product-thumb {
    width: 52px;
    height: 47px;
    border-radius: 9px;
    overflow: hidden;
    background: #f7f0e7;
    flex-shrink: 0;
}
.product-thumb svg {
    width: 100%;
    height: 100%;
    display: block;
}
.product-cell strong {
    display: block;
    font-size: 12px;
}
.product-cell small {
    font-size: 10px;
    display: block;
    color: #91a099;
    margin-top: 4px;
}
.switch {
    height: 22px;
    width: 39px;
    border-radius: 20px;
    background: #d4ddda;
    padding: 3px;
    position: relative;
    display: block;
}
.switch:after {
    content: '';
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: white;
    display: block;
    box-shadow: 0 1px 3px #0002;
    transition: transform 0.15s;
}
.switch.on {
    background: var(--green);
}
.switch.on:after {
    transform: translateX(17px);
}
.table-foot {
    padding: 16px 22px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--muted);
    gap: 10px;
}
.pagination {
    display: flex;
    gap: 4px;
}
.pagination button {
    width: 30px;
    height: 30px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--muted);
}
.pagination button.active {
    background: var(--pale);
    border-color: #badcca;
    color: var(--green);
}
.subnote {
    font-size: 11px;
    color: #879b92;
    margin-top: 18px;
    display: flex;
    gap: 7px;
    align-items: center;
    line-height: 1.6;
}
.subnote .icon {
    width: 14px;
    height: 14px;
}
.personalize-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.85fr);
    gap: 24px;
    align-items: start;
}
.tabs {
    display: flex;
    gap: 22px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 22px;
}
.tabs button {
    background: transparent;
    color: var(--muted);
    padding: 0 0 13px;
    border-bottom: 2px solid transparent;
    font-size: 12px;
}
.tabs button.active {
    color: var(--green);
    border-color: var(--green);
    font-weight: 600;
}
.upload-zone {
    border: 1px dashed #b7cfc2;
    border-radius: 11px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px;
    background: #fbfdfb;
}
.logo-preview {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 750;
    font-size: 23px;
    overflow: hidden;
    flex-shrink: 0;
}
.logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.upload-zone p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 6px;
    line-height: 1.5;
}
.background-preview {
    height: 96px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    background: repeating-linear-gradient(
        135deg,
        #ead8c7,
        #ead8c7 28px,
        #e2cdb9 28px,
        #e2cdb9 30px
    );
    margin-bottom: 10px;
}
.background-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.background-preview:after {
    content: 'Tu imagen de portada';
    font-size: 12px;
    color: #7d5d45;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: #ffffff40;
}
.background-preview.has-image:after {
    content: '';
    background: transparent;
}
.color-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}
.color-control {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.color-control input {
    width: 35px;
    height: 35px;
    min-height: 35px;
    border: 0;
    padding: 0;
    background: none;
}
.color-control label {
    margin: 0;
    font-size: 10px;
    color: var(--muted);
}
.color-control span {
    display: block;
    font-size: 11px;
    font-weight: 600;
    margin-top: 5px;
}
.preview-area {
    position: sticky;
    top: 20px;
    background: #edf2ef;
    border: 1px solid #e0e9e3;
    border-radius: 15px;
    padding: 23px 15px;
    text-align: center;
}
.preview-area > .eyebrow {
    font-size: 10px;
    color: #738b7c;
}
.phone {
    width: 280px;
    max-width: 100%;
    height: 565px;
    background: #1b2826;
    margin: 17px auto 0;
    border-radius: 34px;
    border: 7px solid #1b2826;
    padding: 0;
    box-shadow: 0 15px 25px #2646321a;
    overflow: hidden;
    text-align: left;
    position: relative;
}
.phone:before {
    content: '';
    width: 85px;
    height: 20px;
    border-radius: 0 0 14px 14px;
    background: #1b2826;
    position: absolute;
    left: calc(50% - 42px);
    top: 0;
    z-index: 2;
}
.phone-screen {
    height: 100%;
    overflow: auto;
    scrollbar-width: none;
    background: var(--shop-bg, #fff8f1);
}
.phone-screen::-webkit-scrollbar {
    display: none;
}
.phone .store-mini-cover {
    height: 133px;
    padding: 34px 17px 0;
    position: relative;
    overflow: hidden;
}
.phone .store-mini-cover:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #0004, transparent);
    pointer-events: none;
}
.phone .store-mini-cover .logo-preview {
    width: 45px;
    height: 45px;
    font-size: 18px;
    position: relative;
    border: 3px solid white;
}
.phone .store-mini-info {
    padding: 15px 17px;
}
.phone h3 {
    font-size: 20px;
    letter-spacing: -0.7px;
}
.phone p {
    font-size: 10px;
    line-height: 1.6;
    margin-top: 6px;
    opacity: 0.7;
}
.phone .mini-search {
    font-size: 10px;
    background: white;
    border: 1px solid #0001;
    border-radius: 8px;
    padding: 10px;
    margin-top: 13px;
    display: flex;
    gap: 6px;
    align-items: center;
    opacity: 0.7;
}
.mini-chips {
    display: flex;
    gap: 7px;
    padding: 0 17px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 9px;
}
.mini-chips span {
    padding: 8px 10px;
    border: 1px solid #0001;
    border-radius: 20px;
}
.mini-food {
    margin: 15px 17px;
    background: white;
    border: 1px solid #0001;
    border-radius: 11px;
    overflow: hidden;
}
.mini-food svg {
    width: 100%;
    height: 112px;
    display: block;
}
.mini-food div {
    padding: 12px;
    font-size: 11px;
}
.mini-food strong {
    display: block;
}
.mini-food .row {
    padding: 0;
    margin-top: 10px;
    font-weight: 650;
}
.preview-caption {
    font-size: 11px;
    color: var(--muted);
    margin-top: 16px;
    line-height: 1.6;
}
.branch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.branch-card {
    padding: 0;
    overflow: hidden;
}
.branch-card .map {
    height: 95px;
    background-color: #edf2e6;
    background-image:
        linear-gradient(22deg, transparent 40%, #fff 40%, #fff 46%, transparent 46%),
        linear-gradient(103deg, transparent 43%, #fff 43%, #fff 50%, transparent 50%),
        linear-gradient(160deg, transparent 65%, #d7e5ce 65%);
    display: grid;
    place-items: center;
}
.map .pin {
    border: 4px solid white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    background: var(--green);
    color: white;
    display: grid;
    place-items: center;
    box-shadow: 0 3px 8px #0002;
}
.map .pin .icon {
    width: 17px;
}
.branch-card .body {
    padding: 22px;
}
.branch-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    margin-top: 10px;
}
.branch-card .branch-detail {
    margin-top: 17px;
    display: flex;
    gap: 9px;
    align-items: center;
    font-size: 11px;
    color: #526c60;
}
.hours-table td {
    padding: 9px 10px;
    font-size: 11px;
    border: 0;
}
.hours-table input {
    font-size: 11px;
    padding: 7px;
    min-height: 34px;
}
.hours-table th {
    padding: 9px 10px;
}
.hours-table .day-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}
.hours-table .times {
    display: flex;
    gap: 7px;
    align-items: center;
}
.link-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 23px;
}
.link-hero {
    padding: 30px;
    background: linear-gradient(130deg, #e8f5ed, #f4f9e9);
    border: 1px solid #d4e8da;
    border-radius: 14px;
}
.link-hero h2 {
    font-size: 23px;
    margin: 8px 0 12px;
}
.link-hero p {
    font-size: 12px;
    line-height: 1.8;
    color: #5b7565;
}
.link-box {
    border: 1px solid #c0d9c7;
    background: white;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 13px;
}
.link-box a,
.link-box .link-address {
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -0.4px;
    overflow-wrap: anywhere;
}
.link-box .icon {
    color: var(--green);
}
.qr-card {
    text-align: center;
    padding: 30px;
}
.qr-paper {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 25px 24px 19px;
    max-width: 260px;
    margin: 0 auto 20px;
}
.qr-paper h3 {
    font-size: 21px;
    letter-spacing: -0.7px;
    margin: 13px 0 3px;
}
.qr-paper p {
    font-size: 11px;
    color: var(--muted);
    margin: 6px 0;
}
.qr-svg {
    width: 180px;
    max-width: 100%;
    display: block;
    margin: auto;
    shape-rendering: crispEdges;
}
.qr-paper .qr-brand {
    font-size: 9px;
    margin-top: 13px;
    color: #7a9184;
}
.details-toggle {
    padding: 14px 0;
    font-size: 11px;
    color: var(--muted);
}
.details-toggle summary {
    cursor: pointer;
}
.details-toggle code {
    font-size: 11px;
    display: block;
    margin: 13px 0;
    overflow-wrap: anywhere;
    color: #59756c;
}
.message-preview {
    white-space: pre-wrap;
    background: #f3f8f4;
    border: 1px solid #dbe8de;
    border-radius: 10px;
    padding: 18px;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.8;
    max-height: 320px;
    overflow: auto;
}
.import-zone {
    border: 1px dashed #a9cbb8;
    background: #f5fbf6;
    border-radius: 12px;
    text-align: center;
    padding: 30px 15px;
    margin: 20px 0;
}
.import-zone .icon {
    width: 32px;
    height: 32px;
    color: var(--green);
    margin-bottom: 10px;
}
.import-zone p {
    font-size: 12px;
    color: var(--muted);
    margin: 8px 0 15px;
}
.import-summary {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}
.import-preview {
    max-height: 290px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 9px;
}
.import-preview th,
.import-preview td {
    padding: 10px 13px;
}
.import-error {
    color: #ae3c2a;
    background: #fff4f1;
}
.mapping {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.mapping label {
    font-size: 11px;
}
.mapping select {
    font-size: 12px;
    padding: 9px;
}
.dialog-footer {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 12px;
}
.modal-head h2 {
    font-size: 22px;
}
.modal-head p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 7px;
    line-height: 1.6;
}
dialog {
    border: 1px solid #d9e4dd;
    border-radius: 18px;
    padding: 27px;
    max-width: calc(100vw - 28px);
    width: 590px;
    max-height: calc(100dvh - 30px);
    color: var(--ink);
    box-shadow: 0 30px 100px #12332630;
}
dialog.wide {
    width: 850px;
}
dialog::backdrop {
    background: #102c2b80;
    backdrop-filter: blur(3px);
}
dialog .modal-head .icon-btn {
    margin-top: -6px;
    margin-right: -9px;
}
dialog .form-grid {
    gap: 0 15px;
}
#toast {
    position: fixed;
    z-index: 100;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: var(--navy);
    color: white;
    padding: 13px 19px;
    border-radius: 10px;
    box-shadow: 0 6px 25px #1235;
    opacity: 0;
    transition: 0.2s;
    max-width: calc(100vw - 32px);
    pointer-events: none;
    font-size: 12px;
    line-height: 1.6;
}
#toast.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}
.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;
}
/* La tienda utiliza las preferencias publicadas del negocio. */
.store {
    background: var(--shop-bg, #fff8f1);
    color: var(--shop-text, #2e251e);
    min-height: calc(100vh - 42px);
    padding-bottom: 25px;
}
.store-header {
    background: #fff;
    border-bottom: 1px solid #0001;
}
.store-header-inner {
    max-width: 1230px;
    margin: auto;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 13px;
}
.store-header .logo-preview {
    width: 42px;
    height: 42px;
    font-size: 17px;
    border-radius: 10px;
    background: var(--shop-primary);
    color: var(--shop-on);
}
.store-header strong {
    font-size: 20px;
    letter-spacing: -0.7px;
}
.store-header small {
    font-size: 10px;
    display: block;
    color: #8b8e81;
    margin-top: 2px;
}
.store-header .branch-select {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #7b8278;
}
.branch-select select {
    width: 170px;
    font-size: 12px;
    background: #fafbf8;
    min-height: 37px;
    border-color: #e3e6de;
}
.store-header .back {
    background: none;
    font-size: 11px;
    color: #808e80;
    padding: 8px;
    margin-left: 10px;
}
.store-cover {
    max-width: 1174px;
    margin: 25px auto 0;
    height: 220px;
    border-radius: 17px;
    background-color: #e9d6c2;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.store-cover:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #fff8f1ed 0%, #fff8f1ad 46%, transparent 82%);
}
.store-cover .cover-copy {
    position: relative;
    z-index: 1;
    padding: 30px 37px;
    max-width: 560px;
    color: #352c23;
}
.cover-copy .eyebrow {
    color: var(--shop-primary);
    letter-spacing: 2px;
    font-size: 10px;
}
.cover-copy h1 {
    font-size: 40px;
    letter-spacing: -1.5px;
    line-height: 1.12;
    margin: 10px 0 13px;
    max-width: 460px;
}
.cover-copy p {
    font-size: 12px;
    line-height: 1.6;
    color: #746555;
}
.cover-food {
    position: absolute;
    right: 30px;
    top: -12px;
    width: 370px;
    height: 260px;
    transform: rotate(-9deg);
}
.cover-food svg {
    width: 100%;
    height: 100%;
}
.store-body {
    max-width: 1230px;
    padding: 25px 28px 0;
    margin: auto;
}
.store-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid #00000012;
}
.store-meta .row {
    gap: 18px;
}
.store-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    opacity: 0.75;
}
.store-meta .meta-item .icon {
    width: 15px;
    height: 15px;
}
.store .btn {
    background: var(--shop-primary);
    color: var(--shop-on);
}
.store .btn:hover {
    filter: brightness(0.95);
}
.store .btn.secondary {
    background: white;
    color: var(--shop-text);
    border-color: #0002;
}
.store .text-btn {
    color: var(--shop-primary);
}
.store-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    margin-top: 23px;
    align-items: start;
}
.store-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.store-tools h2 {
    font-size: 24px;
    letter-spacing: -0.8px;
}
.store-tools .search {
    width: 245px;
    background: #fff9;
    max-width: 60%;
    border-color: #0002;
}
.category-tabs {
    display: flex;
    gap: 8px;
    margin: 21px 0 23px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
}
.category-tabs button {
    padding: 9px 15px;
    border: 1px solid #0002;
    background: transparent;
    border-radius: 25px;
    font-size: 11px;
    white-space: nowrap;
    color: inherit;
}
.category-tabs button.active {
    background: var(--shop-primary);
    color: var(--shop-on);
    border-color: var(--shop-primary);
}
.food-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px;
}
.food-card {
    background: #fff;
    border: 1px solid #0000000d;
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 3px 10px #5d412008;
    display: flex;
    flex-direction: column;
    position: relative;
}
.food-image {
    height: 158px;
    overflow: hidden;
    position: relative;
    background: #f1e6d9;
    width: 100%;
    display: block;
    padding: 0;
}
.food-image svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s;
}
.food-image:hover svg {
    transform: scale(1.035);
}
.food-card .food-body {
    padding: 17px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.food-card h3 {
    font-size: 15px;
    letter-spacing: -0.3px;
}
.food-card p {
    font-size: 11px;
    line-height: 1.7;
    color: #899082;
    margin: 8px 0 17px;
}
.food-card .food-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.food-card .price {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.4px;
}
.food-card .add-food {
    height: 34px;
    padding: 6px 12px;
    font-size: 11px;
    min-height: 34px;
}
.food-card .add-food .icon {
    width: 14px;
    height: 14px;
}
.food-card .label-food {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 9px;
    background: #ffffffeb;
    color: #655342;
    font-weight: 600;
    pointer-events: none;
}
.food-card.sold-out .food-image {
    filter: grayscale(0.8);
    opacity: 0.7;
}
.food-card.sold-out .label-food {
    background: #423c39;
    color: white;
}
.cart-card {
    background: #fff;
    border: 1px solid #00000012;
    border-radius: 14px;
    padding: 22px;
    position: sticky;
    top: 20px;
    color: var(--shop-text);
}
.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 17px;
    border-bottom: 1px solid #0001;
}
.cart-head h2 {
    font-size: 17px;
}
.cart-head .cart-count {
    font-size: 10px;
    border-radius: 5px;
    background: var(--shop-bg);
    padding: 5px 8px;
}
.cart-empty {
    text-align: center;
    padding: 35px 5px 20px;
    font-size: 11px;
    color: #a0a99b;
    line-height: 1.7;
}
.cart-empty .icon {
    width: 33px;
    height: 33px;
    margin-bottom: 10px;
    color: #c0cbbb;
}
.cart-empty strong {
    display: block;
    color: #71816c;
    font-size: 12px;
    margin-bottom: 5px;
}
.cart-item {
    padding: 18px 0;
    border-bottom: 1px solid #0001;
}
.cart-item strong {
    display: block;
    font-size: 12px;
}
.cart-item small {
    font-size: 10px;
    display: block;
    line-height: 1.5;
    color: #8c9785;
    margin-top: 5px;
    overflow-wrap: anywhere;
}
.qty {
    display: flex;
    align-items: center;
    border: 1px solid #e0e5db;
    border-radius: 7px;
    overflow: hidden;
    width: max-content;
    flex-shrink: 0;
}
.qty button {
    background: white;
    color: inherit;
    width: 28px;
    height: 28px;
    font-size: 16px;
    display: grid;
    place-items: center;
}
.qty button:hover {
    background: #f2f4ee;
}
.qty span {
    min-width: 26px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    font-weight: 700;
    font-size: 17px;
}
.cart-card .btn {
    width: 100%;
    font-size: 12px;
}
.cart-tip {
    text-align: center;
    font-size: 10px;
    color: #a0a894;
    line-height: 1.6;
    margin-top: 12px;
}
.cart-item .row {
    margin-top: 13px;
}
.cart-item .item-price {
    font-size: 12px;
    font-weight: 650;
    margin-left: auto;
}
.customer-name {
    margin-top: 16px;
    font-size: 11px;
}
.customer-name input {
    font-size: 12px;
    min-height: 38px;
    background: #fbfcf9;
}
.store-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 0 10px;
    margin-top: 30px;
    border-top: 1px solid #0001;
    color: #899280;
    font-size: 10px;
}
.store-footer strong {
    font-weight: 700;
    color: var(--shop-primary);
}
.mobile-cart-bar {
    display: none;
}
.product-dialog-art {
    height: 210px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 22px;
}
.product-dialog-art svg {
    width: 100%;
    height: 100%;
}
.product-dialog-desc {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
    margin: 10px 0 20px;
}
.product-dialog-price {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #fffffff0;
    border-radius: 50%;
    z-index: 2;
}
.store-modal {
    --green: var(--shop-primary);
    --green-dark: var(--shop-primary);
}
.store-modal .btn {
    color: var(--shop-on);
}
.store-modal .btn.secondary {
    color: var(--ink);
}
.mobile-only {
    display: none;
}
@media (min-width: 1500px) {
    .content {
        padding: 38px 45px;
    }
    .food-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .store-grid {
        grid-template-columns: minmax(0, 1fr) 310px;
    }
    .store-body,
    .store-header-inner {
        max-width: 1390px;
    }
    .store-cover {
        max-width: 1334px;
        height: 250px;
    }
}
@media (max-width: 1150px) {
    .shell {
        grid-template-columns: 200px minmax(0, 1fr);
    }
    .sidebar {
        padding: 25px 12px 15px;
    }
    .content {
        padding: 28px 24px;
    }
    .topbar {
        padding: 0 24px;
    }
    .stats {
        gap: 10px;
    }
    .stat {
        padding: 17px;
    }
    .stat .stat-icon {
        display: none;
    }
    .personalize-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 18px;
    }
    .color-row {
        grid-template-columns: 1fr;
    }
    .color-control {
        padding: 8px 11px;
    }
    .color-control input {
        width: 32px;
        height: 32px;
        min-height: 32px;
    }
    .color-control .grow {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    .color-control span {
        margin: 0;
    }
    .table-top {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .table-top .search {
        flex: 1;
        min-width: 200px;
    }
    .store-cover {
        margin-left: 28px;
        margin-right: 28px;
    }
    .store-grid {
        gap: 20px;
        grid-template-columns: minmax(0, 1fr) 285px;
    }
    .food-grid {
        gap: 15px;
    }
    .food-image {
        height: 140px;
    }
    .store-meta .row {
        gap: 10px;
    }
    .store-meta .meta-item:first-child {
        max-width: 260px;
    }
    .store-tools .search {
        width: 200px;
    }
}
@media (max-width: 900px) {
    .shell {
        grid-template-columns: 1fr;
    }
    .sidebar {
        height: auto;
        position: relative;
        padding: 16px 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .sidebar .brand {
        padding: 0;
        font-size: 21px;
    }
    .side-caption,
    .divider-label,
    .side-bottom,
    .side-footer {
        display: none;
    }
    .sidebar .workspace {
        position: absolute;
        right: 22px;
        top: 13px;
        margin: 0;
        padding: 8px 10px;
        max-width: 205px;
        background: transparent;
        border: 0;
    }
    .workspace .avatar {
        width: 30px;
        height: 30px;
    }
    .workspace .small {
        font-size: 10px;
    }
    .side-nav {
        display: flex;
        gap: 5px;
        overflow: auto;
        margin-top: 16px;
        scrollbar-width: none;
    }
    .side-nav::-webkit-scrollbar {
        display: none;
    }
    .nav-item {
        width: auto;
        white-space: nowrap;
        font-size: 12px;
        padding: 13px 15px;
        border-radius: 8px 8px 0 0;
        gap: 8px;
    }
    .nav-item .icon {
        width: 16px;
        height: 16px;
    }
    .nav-item .counter {
        display: none;
    }
    .topbar {
        height: 61px;
    }
    .content {
        padding: 25px 24px;
    }
    .stats {
        grid-template-columns: repeat(4, 1fr);
    }
    .stat strong {
        font-size: 24px;
    }
    .stat small {
        font-size: 10px;
    }
    .profile small {
        display: none;
    }
    .profile .avatar {
        width: 30px;
        height: 30px;
    }
    .link-layout {
        grid-template-columns: 1.3fr 1fr;
    }
    .link-hero {
        padding: 24px;
    }
    .link-box .link-address {
        font-size: 15px;
    }
    .store-grid {
        grid-template-columns: minmax(0, 1fr) 265px;
    }
    .food-grid {
        grid-template-columns: 1fr;
    }
    .food-card {
        flex-direction: row;
    }
    .food-image {
        width: 140px;
        height: auto;
        flex-shrink: 0;
        min-height: 153px;
    }
    .food-card .food-body {
        padding: 14px;
    }
    .food-card p {
        margin: 6px 0 12px;
    }
    .cover-copy h1 {
        font-size: 35px;
    }
    .cover-food {
        right: -70px;
        opacity: 0.85;
    }
    .store-meta .meta-item:first-child {
        max-width: 200px;
    }
    .store-header .back {
        display: none;
    }
    .cover-copy {
        max-width: 430px !important;
    }
}
@media (max-width: 680px) {
    .demo-bar {
        height: auto;
        min-height: 64px;
        padding: 9px 15px;
        align-items: center;
        gap: 7px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .demo-bar > span {
        font-size: 9px;
        text-align: center;
        width: 100%;
    }
    .demo-bar .demo-badge {
        font-size: 8px;
        padding: 2px 4px;
    }
    .demo-tabs {
        width: 100%;
        justify-content: center;
    }
    .demo-tabs button {
        font-size: 10px;
        padding: 4px 15px;
    }
    .shell {
        min-height: calc(100vh - 64px);
    }
    .sidebar {
        padding: 16px 16px 0;
    }
    .sidebar .workspace {
        right: 12px;
        top: 13px;
        max-width: 160px;
    }
    .workspace .small {
        display: none;
    }
    .workspace strong {
        font-size: 11px;
    }
    .workspace .avatar {
        width: 28px;
        height: 28px;
    }
    .sidebar .brand {
        font-size: 20px;
        gap: 8px;
    }
    .brand-mark {
        width: 30px;
        height: 32px;
    }
    .brand-mark .icon {
        width: 20px;
    }
    .side-nav {
        margin-top: 15px;
        margin-left: -4px;
        margin-right: -4px;
    }
    .nav-item {
        font-size: 11px;
        padding: 12px 10px;
        gap: 6px;
    }
    .nav-item .icon {
        width: 15px;
    }
    .topbar {
        height: 54px;
        padding: 0 18px;
    }
    .breadcrumb {
        font-size: 10px;
        gap: 6px;
    }
    .profile strong {
        display: none;
    }
    .profile .avatar {
        width: 27px;
        height: 27px;
        font-size: 10px;
    }
    .topbar > .row {
        gap: 8px;
    }
    .topbar .btn {
        font-size: 10px;
        min-height: 32px;
        padding: 7px 9px;
    }
    .topbar .btn .icon {
        width: 13px;
        height: 13px;
    }
    .content {
        padding: 25px 18px;
    }
    .page-head {
        align-items: flex-start;
        gap: 13px;
        flex-wrap: wrap;
        margin-bottom: 22px;
    }
    .page-head h1 {
        font-size: 27px;
    }
    .page-head p {
        font-size: 12px;
        max-width: 340px;
    }
    .page-head > .row {
        width: 100%;
        gap: 9px;
    }
    .page-head > .row .btn {
        flex: 1;
        font-size: 12px;
    }
    .overline {
        font-size: 9px;
    }
    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 11px;
        margin: 18px 0;
    }
    .stat {
        padding: 17px;
    }
    .stat label {
        font-size: 11px;
        margin-bottom: 8px;
    }
    .stat strong {
        font-size: 26px;
    }
    .stat .stat-icon {
        display: grid;
        width: 27px;
        height: 27px;
        right: 13px;
        top: 14px;
    }
    .stat-icon .icon {
        width: 15px;
        height: 15px;
    }
    .stat small {
        font-size: 10px;
    }
    .card {
        padding: 20px;
    }
    .welcome {
        padding: 22px;
        gap: 0;
    }
    .welcome h2 {
        font-size: 22px;
    }
    .welcome p {
        font-size: 12px;
    }
    .welcome-art {
        display: none;
    }
    .cols {
        grid-template-columns: 1fr;
        gap: 17px;
    }
    .table-card {
        padding: 0;
    }
    .table-top {
        padding: 17px;
        gap: 12px;
    }
    .table-top .search {
        width: 100%;
        flex: auto;
        min-width: 0;
    }
    .table-actions {
        width: 100%;
        gap: 9px;
    }
    .table-actions select {
        flex: 1;
        width: auto;
        min-width: 0;
        font-size: 11px;
    }
    .table-foot {
        padding: 14px 17px;
        font-size: 10px;
        align-items: flex-start;
    }
    .table-foot > span {
        max-width: 160px;
        line-height: 1.6;
    }
    th,
    td {
        padding: 12px 16px;
    }
    .subnote {
        font-size: 10px;
        align-items: flex-start;
    }
    .subnote .icon {
        margin-top: 2px;
        flex-shrink: 0;
    }
    .personalize-layout {
        grid-template-columns: 1fr;
    }
    .preview-area {
        position: relative;
        top: auto;
    }
    .preview-area .phone {
        height: 535px;
    }
    .color-row {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }
    .color-control {
        display: block;
        padding: 10px;
        text-align: center;
    }
    .color-control input {
        width: 100%;
        height: 30px;
        min-height: 30px;
        display: block;
        margin-bottom: 9px;
    }
    .color-control .grow {
        display: block;
    }
    .color-control span {
        font-size: 9px;
        margin-top: 4px;
    }
    .color-control label {
        font-size: 9px;
    }
    .branch-grid {
        grid-template-columns: 1fr;
    }
    .link-layout {
        grid-template-columns: 1fr;
    }
    .link-box {
        padding: 13px;
        gap: 8px;
    }
    .link-box .link-address {
        font-size: 15px;
    }
    .qr-card {
        padding: 25px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid .full {
        grid-column: auto;
    }
    dialog {
        padding: 22px;
        border-radius: 15px;
    }
    .modal-head h2 {
        font-size: 21px;
    }
    .dialog-footer .btn {
        font-size: 12px;
        flex: 1;
    }
    .mapping {
        grid-template-columns: 1fr 1fr;
    }
    .hours-table td {
        padding: 7px 3px;
    }
    .hours-table th {
        padding: 9px 4px;
        font-size: 9px;
    }
    .hours-table .times {
        gap: 4px;
    }
    .hours-table input[type='time'] {
        width: 100%;
        padding: 5px 2px;
        font-size: 10px;
        min-width: 0;
    }
    .hours-table .day-check {
        font-size: 11px;
        gap: 5px;
    }
    .hours-table .day-check input {
        width: 15px;
        height: 15px;
        min-height: 15px;
    }
    .hours-table .times span {
        font-size: 10px;
    }
    .row.mobile-stack {
        flex-direction: column;
        align-items: stretch;
    }
    .store {
        min-height: calc(100vh - 64px);
        padding-bottom: 90px;
    }
    .store-header-inner {
        padding: 15px 18px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .store-header strong {
        font-size: 20px;
    }
    .store-header .logo-preview {
        width: 39px;
        height: 39px;
        font-size: 15px;
    }
    .store-header .branch-select {
        gap: 4px;
        font-size: 10px;
    }
    .branch-select select {
        width: 95px;
        padding: 7px;
        font-size: 10px;
        min-height: 33px;
    }
    .branch-select > .icon {
        display: none;
    }
    .store-header small {
        font-size: 9px;
    }
    .store-cover {
        height: 202px;
        margin: 16px 16px 0;
        border-radius: 13px;
    }
    .store-cover .cover-copy {
        padding: 22px;
        max-width: 300px !important;
    }
    .cover-copy .eyebrow {
        font-size: 8px;
        letter-spacing: 1.5px;
    }
    .cover-copy h1 {
        font-size: 29px;
        letter-spacing: -1px;
        max-width: 260px;
        line-height: 1.15;
        margin: 9px 0 12px;
    }
    .cover-copy p {
        font-size: 10px;
        max-width: 220px;
    }
    .store-cover:after {
        background: linear-gradient(90deg, #fff8f1e8, #fff8f1a6 65%, #fff8f130);
    }
    .cover-food {
        width: 270px;
        height: 220px;
        right: -115px;
        top: 10px;
        opacity: 0.7;
    }
    .store-body {
        padding: 18px 18px 0;
    }
    .store-meta {
        padding-bottom: 17px;
        gap: 8px;
        align-items: center;
    }
    .store-meta .row {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }
    .store-meta .meta-item {
        font-size: 9px;
        line-height: 1.5;
    }
    .store-meta .meta-item:first-child {
        max-width: 245px;
    }
    .store-meta .meta-item .icon {
        width: 13px;
        height: 13px;
    }
    .store-meta .text-btn {
        font-size: 10px;
        white-space: nowrap;
    }
    .store-grid {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    .store-tools h2 {
        font-size: 23px;
    }
    .store-tools .search {
        width: 165px;
        max-width: 52%;
    }
    .store-tools .search input {
        font-size: 10px;
        min-height: 34px;
    }
    .store-tools .search .icon {
        width: 14px;
    }
    .category-tabs {
        gap: 7px;
        margin: 17px -18px 19px;
        padding: 0 18px 3px;
    }
    .category-tabs button {
        font-size: 10px;
        padding: 9px 13px;
    }
    .food-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .food-card {
        flex-direction: row;
        border-radius: 11px;
        min-height: 139px;
    }
    .food-image {
        width: 115px;
        min-height: 139px;
    }
    .food-card .food-body {
        padding: 13px;
    }
    .food-card h3 {
        font-size: 12px;
        line-height: 1.4;
    }
    .food-card p {
        font-size: 10px;
        line-height: 1.5;
        margin: 5px 0 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .food-card .price {
        font-size: 15px;
    }
    .food-card .add-food {
        padding: 5px 8px;
        font-size: 10px;
        min-height: 29px;
        height: 29px;
    }
    .food-card .add-food .icon {
        width: 12px;
        height: 12px;
    }
    .food-card .label-food {
        font-size: 8px;
        top: 7px;
        left: 7px;
        padding: 4px 6px;
    }
    .desktop-cart {
        display: none;
    }
    .mobile-cart-bar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--shop-bg);
        padding: 12px 18px max(12px, env(safe-area-inset-bottom));
        z-index: 10;
        border-top: 1px solid #0001;
    }
    .mobile-cart-bar button {
        width: 100%;
        justify-content: space-between;
        font-size: 12px;
        border-radius: 11px;
        padding: 13px 17px;
    }
    .mobile-cart-bar .row {
        gap: 9px;
    }
    .mobile-cart-bar .cart-number {
        padding: 3px 7px;
        background: #ffffff26;
        border-radius: 4px;
        font-size: 10px;
    }
    .store-footer {
        margin-top: 23px;
        flex-direction: column;
        gap: 9px;
        text-align: center;
        font-size: 9px;
    }
    .mobile-only {
        display: block;
    }
    .store-modal .cart-card {
        border: 0;
        padding: 0;
        position: relative;
    }
    .store-modal .cart-card .cart-head {
        display: none;
    }
    .store-modal .cart-card .cart-tip {
        margin-bottom: 10px;
    }
    .product-dialog-art {
        height: 175px;
    }
    .product-dialog-desc {
        font-size: 12px;
    }
    .color-row .grow {
        min-width: 0;
    }
    .upload-zone {
        padding: 13px;
        gap: 12px;
    }
    .upload-zone .btn {
        font-size: 11px;
    }
    .upload-zone .logo-preview {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
    .link-hero {
        padding: 21px;
    }
    .link-hero h2 {
        font-size: 22px;
    }
    .notice {
        font-size: 11px;
        padding: 12px;
    }
    .welcome .btn {
        font-size: 11px;
    }
    .branch-card {
        padding: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
