:root {
    --color-coral: #f26d6d;
    --color-coral-dark: #d94f58;
    --color-pink-soft: #fff0f2;
    --color-rose: #f8c8cf;
    --color-ink: #2f2730;
    --color-muted: #766a72;
    --color-line: #f0d7dc;
    --color-white: #ffffff;
    --panel-ink: #12323a;
    --panel-muted: #66747a;
    --panel-surface: #ffffff;
    --panel-surface-soft: #f7faf9;
    --panel-success: #1f8a62;
    --panel-success-soft: #e7f6ef;
    --panel-warning: #a66a16;
    --panel-warning-soft: #fff4db;
    --panel-line: #e6eceb;
    --store-bg-start: var(--color-pink-soft);
    --store-bg-end: var(--color-white);
    --store-surface: var(--color-white);
    --store-surface-soft: #fff8f9;
    --store-accent: var(--color-coral);
    --store-accent-strong: var(--color-coral-dark);
    --store-ink: var(--color-ink);
    --store-muted: var(--color-muted);
    --store-line: var(--color-line);
    --store-photo-start: #f26d6d;
    --store-photo-mid: #f8c8cf;
    --store-photo-end: #fff7df;
    --store-shadow: rgba(47, 39, 48, 0.08);
    --store-card-radius: 28px;
    --store-hero-radius: 28px;
    --store-photo-radius: 0;
    --store-button-radius: 999px;
    --store-button-bg: var(--store-accent);
    --store-border-width: 1px;
    --store-title-weight: 900;
    --store-card-shadow: 0 18px 55px var(--store-shadow);
}

* {
    letter-spacing: 0;
}

body {
    min-height: 100vh;
    color: var(--color-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--color-white);
}

.public-shell {
    background:
        linear-gradient(180deg, var(--store-bg-start) 0%, var(--store-bg-end) 58%),
        var(--store-bg-end);
    font-family: var(--store-font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.store-theme-rosa {
    --store-bg-start: #fff0f2;
    --store-bg-end: #ffffff;
    --store-surface: #ffffff;
    --store-surface-soft: #fff8f9;
    --store-accent: #f26d6d;
    --store-accent-strong: #d94f58;
    --store-ink: #2f2730;
    --store-muted: #766a72;
    --store-line: #f0d7dc;
    --store-photo-start: #f26d6d;
    --store-photo-mid: #f8c8cf;
    --store-photo-end: #fff7df;
    --store-shadow: rgba(47, 39, 48, 0.08);
    --store-card-radius: 30px;
    --store-hero-radius: 32px;
    --store-photo-radius: 0;
    --store-button-radius: 999px;
    --store-border-width: 1px;
    --store-title-weight: 920;
    --store-card-shadow: 0 18px 55px var(--store-shadow);
}

.store-theme-elegante {
    --store-bg-start: #151413;
    --store-bg-end: #2b2823;
    --store-surface: #fff8eb;
    --store-surface-soft: #221f1a;
    --store-accent: #b38a3d;
    --store-accent-strong: #d9b86d;
    --store-ink: #171614;
    --store-muted: #6c6254;
    --store-line: #6b552d;
    --store-photo-start: #191816;
    --store-photo-mid: #b38a3d;
    --store-photo-end: #f6f1e8;
    --store-shadow: rgba(0, 0, 0, 0.28);
    --store-card-radius: 16px;
    --store-hero-radius: 18px;
    --store-photo-radius: 0;
    --store-button-radius: 6px;
    --store-button-bg: var(--store-accent);
    --store-border-width: 1px;
    --store-title-weight: 760;
    --store-card-shadow: 0 26px 70px var(--store-shadow);
}

.store-theme-natural {
    --store-bg-start: #f5f1df;
    --store-bg-end: #ffffff;
    --store-surface: #fffdf5;
    --store-surface-soft: #f3f7ed;
    --store-accent: #7da66a;
    --store-accent-strong: #315642;
    --store-ink: #26352b;
    --store-muted: #657162;
    --store-line: #dce6d2;
    --store-photo-start: #7da66a;
    --store-photo-mid: #dce6d2;
    --store-photo-end: #f5f1df;
    --store-shadow: rgba(38, 53, 43, 0.09);
    --store-card-radius: 24px;
    --store-hero-radius: 36px 20px 36px 20px;
    --store-photo-radius: 0;
    --store-button-radius: 18px;
    --store-button-bg: var(--store-accent);
    --store-border-width: 1px;
    --store-title-weight: 850;
    --store-card-shadow: 0 18px 44px var(--store-shadow);
}

.store-theme-moderno {
    --store-bg-start: #eaf4ff;
    --store-bg-end: #ffffff;
    --store-surface: #ffffff;
    --store-surface-soft: #f3f8ff;
    --store-accent: #3f8fd2;
    --store-accent-strong: #195c95;
    --store-ink: #172b3a;
    --store-muted: #5f6f7d;
    --store-line: #d6e7f7;
    --store-photo-start: #3f8fd2;
    --store-photo-mid: #a7d4fa;
    --store-photo-end: #ffffff;
    --store-shadow: rgba(23, 43, 58, 0.09);
    --store-card-radius: 20px;
    --store-hero-radius: 22px;
    --store-photo-radius: 0;
    --store-button-radius: 14px;
    --store-button-bg: var(--store-accent);
    --store-border-width: 1px;
    --store-title-weight: 880;
    --store-card-shadow: 0 14px 34px var(--store-shadow);
}

.store-theme-minimalista {
    --store-bg-start: #f6f6f6;
    --store-bg-end: #ffffff;
    --store-surface: #ffffff;
    --store-surface-soft: #f5f5f5;
    --store-accent: #111111;
    --store-accent-strong: #111111;
    --store-ink: #111111;
    --store-muted: #666666;
    --store-line: #dedede;
    --store-photo-start: #111111;
    --store-photo-mid: #dedede;
    --store-photo-end: #ffffff;
    --store-shadow: rgba(17, 17, 17, 0.08);
    --store-card-radius: 8px;
    --store-hero-radius: 8px;
    --store-photo-radius: 0;
    --store-button-radius: 4px;
    --store-button-bg: var(--store-accent);
    --store-border-width: 1px;
    --store-title-weight: 760;
    --store-card-shadow: none;
}

.store-font-moderna {
    --store-font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --store-font-title: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.store-font-elegante {
    --store-font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --store-font-title: Georgia, "Times New Roman", serif;
}

.store-font-clasica {
    --store-font-body: Georgia, "Times New Roman", serif;
    --store-font-title: Georgia, "Times New Roman", serif;
}

.store-font-amigable {
    --store-font-body: ui-rounded, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --store-font-title: ui-rounded, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.site-header,
.panel-topbar {
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(240, 215, 220, 0.8);
    backdrop-filter: blur(10px);
}

.brand-mark {
    color: var(--color-coral-dark);
    font-weight: 800;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: inherit;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.brand-logo:hover,
.brand-logo:focus {
    color: inherit;
    text-decoration: none;
}

.brand-logo-image {
    display: block;
    width: auto;
    height: 42px;
    max-width: 190px;
}

.brand-logo-icon {
    flex: 0 0 auto;
    width: 1.75em;
    height: 1.75em;
}

.brand-logo-box,
.brand-logo-line {
    fill: none;
    stroke: #f45f61;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-logo-word {
    display: inline-flex;
    align-items: baseline;
    font-weight: 950;
}

.brand-logo-detalla {
    color: #0b3d4a;
}

.brand-logo-me {
    color: #f45f61;
}

.eyebrow {
    color: var(--color-coral-dark);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.display-title {
    max-width: 540px;
    font-size: clamp(2.6rem, 11vw, 5.2rem);
    font-weight: 900;
    line-height: 0.95;
}

.lead-copy {
    max-width: 560px;
    color: var(--color-muted);
    font-size: 1.14rem;
    line-height: 1.6;
}

.btn {
    border-radius: 999px;
    font-weight: 800;
    min-height: 48px;
    padding-inline: 1.25rem;
}

.btn-coral {
    color: var(--color-white);
    background: var(--color-coral);
    border-color: var(--color-coral);
}

.btn-coral:hover,
.btn-coral:focus {
    color: var(--color-white);
    background: var(--color-coral-dark);
    border-color: var(--color-coral-dark);
}

.btn-soft {
    color: var(--color-coral-dark);
    background: var(--color-white);
    border-color: var(--color-line);
}

.btn-soft:hover,
.btn-soft:focus {
    color: var(--color-coral-dark);
    background: #fff8f9;
    border-color: var(--color-rose);
}

.public-shell:has(.landing-page) {
    --landing-ink: #0b3d4a;
    --landing-ink-soft: #275764;
    --landing-coral: #f45f61;
    --landing-coral-dark: #d9474e;
    --landing-green: #2f9b73;
    --landing-green-soft: #e8f7ef;
    --landing-cream: #fbf7ef;
    --landing-warm: #f6f4ef;
    --landing-line: #dde7e5;
    --landing-muted: #63777c;
    --landing-shadow: rgba(11, 61, 74, 0.12);
    background: #ffffff;
}

.public-shell:has(.landing-page) > .site-header {
    display: none;
}

.landing-page {
    overflow-x: hidden;
    color: var(--landing-ink);
    background:
        radial-gradient(circle at 91% 17%, rgba(47, 155, 115, 0.16), transparent 16%),
        radial-gradient(circle at 78% 37%, rgba(244, 95, 97, 0.16), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, var(--landing-cream) 54%, #ffffff 100%);
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(221, 231, 229, 0.82);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
}

.landing-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 68px;
}

.landing-brand {
    flex: 0 0 auto;
    color: var(--landing-ink);
    font-size: 1.42rem;
    font-weight: 950;
    text-decoration: none;
}

.landing-brand-image img {
    display: block;
    width: clamp(152px, 16vw, 220px);
    height: auto;
}

.landing-nav {
    display: none;
    align-items: center;
    gap: 18px;
}

.landing-nav a,
.landing-login {
    color: var(--landing-ink-soft);
    font-size: 0.92rem;
    font-weight: 850;
    text-decoration: none;
}

.landing-nav a:first-child {
    color: var(--landing-coral);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--landing-coral);
}

.landing-nav a:hover,
.landing-nav a:focus,
.landing-login:hover,
.landing-login:focus {
    color: var(--landing-coral-dark);
}

.landing-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-login {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 28px;
    border: 1.5px solid var(--landing-ink);
    border-radius: 999px;
}

.landing-mini-cta,
.landing-primary-cta,
.landing-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.landing-mini-cta,
.landing-primary-cta {
    color: #ffffff;
    background: var(--landing-coral);
    box-shadow: 0 14px 28px rgba(244, 95, 97, 0.22);
}

.landing-mini-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.88rem;
}

.landing-primary-cta {
    padding: 0 20px;
}

.landing-mini-cta:hover,
.landing-mini-cta:focus,
.landing-primary-cta:hover,
.landing-primary-cta:focus {
    color: #ffffff;
    background: var(--landing-coral-dark);
    transform: translateY(-1px);
}

.landing-secondary-cta {
    color: var(--landing-ink);
    padding: 0 18px;
    border: 1px solid var(--landing-line);
    background: #ffffff;
}

.landing-secondary-cta:hover,
.landing-secondary-cta:focus {
    color: var(--landing-coral-dark);
    border-color: rgba(244, 95, 97, 0.36);
    background: #fffafa;
}

.landing-hero {
    padding: 34px 0 0;
}

.landing-hero-grid {
    display: grid;
    gap: 28px;
    align-items: end;
}

.landing-eyebrow {
    margin: 0 0 10px;
    color: var(--landing-coral-dark);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.landing-hero h1 {
    margin: 0 0 8px;
    color: var(--landing-ink);
    font-size: clamp(3.15rem, 16vw, 5.2rem);
    font-weight: 950;
    line-height: 0.92;
}

.landing-hero h1 span {
    color: var(--landing-coral);
}

.landing-lead {
    max-width: 660px;
    margin: 0 0 14px;
    color: var(--landing-ink);
    font-size: clamp(1.34rem, 6.5vw, 2.15rem);
    font-weight: 650;
    line-height: 1.18;
}

.landing-sublead {
    max-width: 590px;
    margin: 0;
    color: var(--landing-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.landing-benefit-strip {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.landing-benefit-strip span,
.landing-category-grid span {
    border: 1px solid var(--landing-line);
    color: var(--landing-ink-soft);
    background: rgba(255, 255, 255, 0.82);
    font-weight: 850;
}

.landing-benefit-strip span {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    min-height: 52px;
    padding: 8px 12px 8px 8px;
    border: 0;
    border-radius: 18px;
    background: transparent;
}

.landing-benefit-strip span::before {
    content: "";
    display: inline-block;
    width: 38px;
    height: 38px;
    margin-right: 10px;
    border-radius: 999px;
    background:
        linear-gradient(var(--landing-coral), var(--landing-coral)) center / 4px 20px no-repeat,
        linear-gradient(var(--landing-coral), var(--landing-coral)) center / 18px 4px no-repeat,
        #fff0f0;
}

.landing-benefit-strip span:nth-child(2)::before {
    background:
        radial-gradient(circle at 54% 45%, transparent 0 7px, var(--landing-green) 8px 10px, transparent 11px),
        linear-gradient(135deg, #dff7ea, #8be0b7);
}

.landing-benefit-strip span:nth-child(3)::before {
    background:
        linear-gradient(90deg, #33a3ff 0 5px, transparent 5px 9px, #33a3ff 9px 15px, transparent 15px 19px, #33a3ff 19px 27px) bottom 9px center / 27px 24px no-repeat,
        #edf7ff;
}

.landing-hero-visual {
    position: relative;
    display: grid;
    justify-items: center;
    min-width: 0;
    padding: 10px 0 0;
}

.landing-hero-image-wrap {
    align-self: end;
    width: 100%;
    padding: 0;
}

.landing-hero-image {
    display: block;
    width: min(100%, 720px);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.landing-section {
    padding: 48px 0;
}

.landing-section-heading {
    max-width: 720px;
    margin-bottom: 22px;
}

.landing-section-heading h2,
.landing-conversion-card h2 {
    margin: 0;
    color: var(--landing-ink);
    font-size: clamp(1.8rem, 8vw, 3.2rem);
    font-weight: 950;
    line-height: 1;
}

.landing-section-heading p:not(.landing-eyebrow),
.landing-conversion-card p {
    margin: 12px 0 0;
    color: var(--landing-muted);
    line-height: 1.65;
}

.landing-steps,
.landing-benefit-cards,
.landing-faq-grid {
    display: grid;
    gap: 14px;
}

.landing-steps article,
.landing-benefit-cards article,
.landing-faq-grid article {
    padding: 18px;
    border: 1px solid var(--landing-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 34px rgba(11, 61, 74, 0.05);
}

.landing-steps span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    border-radius: 12px;
    color: #ffffff;
    background: var(--landing-ink);
    font-weight: 950;
}

.landing-steps h3,
.landing-benefit-cards h3,
.landing-faq-grid h3 {
    margin: 0 0 8px;
    color: var(--landing-ink);
    font-size: 1.08rem;
    font-weight: 950;
}

.landing-steps p,
.landing-benefit-cards p,
.landing-faq-grid p {
    margin: 0;
    color: var(--landing-muted);
    line-height: 1.55;
}

.landing-audience,
.landing-benefits-section {
    background: var(--landing-warm);
}

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

.landing-category-grid span {
    display: grid;
    place-items: center;
    min-height: 48px;
    padding: 10px;
    border-radius: 16px;
    text-align: center;
}

.landing-conversion {
    padding: 44px 0;
}

.landing-conversion-card {
    display: grid;
    gap: 22px;
    align-items: center;
    padding: 22px;
    overflow: hidden;
    border-radius: 30px;
    color: #ffffff;
    background:
        radial-gradient(circle at 88% 18%, rgba(244, 95, 97, 0.42), transparent 30%),
        linear-gradient(135deg, var(--landing-ink), #165d6d);
    box-shadow: 0 24px 60px var(--landing-shadow);
}

.landing-conversion-card h2,
.landing-conversion-card p {
    color: #ffffff;
}

.landing-conversion-card .landing-eyebrow {
    color: #ffd8d8;
}

.landing-footer {
    padding: 18px 0 26px;
    border-top: 1px solid var(--landing-line);
    background: #ffffff;
}

.landing-footer-grid {
    display: grid;
    gap: 8px;
    color: var(--landing-muted);
    font-size: 0.9rem;
    font-weight: 850;
    text-align: center;
}

@media (min-width: 576px) {
    .landing-login {
        display: inline-flex;
    }

    .landing-benefit-strip,
    .landing-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .landing-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .landing-hero {
        padding: 54px 0 0;
    }

    .landing-steps,
    .landing-benefit-cards,
    .landing-faq-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .landing-benefits-grid {
        display: grid;
        grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
        gap: 28px;
        align-items: start;
    }

    .landing-conversion-card {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 30px;
    }
}

@media (min-width: 992px) {
    .landing-nav {
        display: flex;
    }

    .landing-hero-grid {
        grid-template-columns: minmax(0, 0.98fr) minmax(500px, 1.02fr);
        gap: 32px;
    }

    .landing-hero-copy {
        padding: 48px 0 42px;
    }

    .landing-hero h1 {
        font-size: clamp(4.9rem, 7.2vw, 7rem);
    }

    .landing-lead {
        font-size: clamp(1.7rem, 2.15vw, 2.1rem);
    }

    .landing-hero-image {
        width: min(100%, 760px);
    }

    .landing-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .landing-hero {
        padding: 58px 0 0;
    }

    .landing-header-inner {
        min-height: 74px;
    }
}

@media (max-width: 767.98px) {
    .landing-hero {
        padding-top: 24px;
    }

    .landing-hero-grid {
        gap: 10px;
    }

    .landing-eyebrow {
        margin-bottom: 7px;
        font-size: 0.72rem;
    }

    .landing-hero h1 {
        display: none;
    }

    .landing-lead {
        margin-bottom: 6px;
        font-size: clamp(1.28rem, 5.6vw, 1.72rem);
        line-height: 1.15;
    }

    .landing-sublead {
        font-size: 0.93rem;
        line-height: 1.38;
    }

    .landing-hero-actions {
        margin-top: 12px;
    }

    .landing-benefit-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 14px;
    }

    .landing-benefit-strip span {
        grid-template-columns: 1fr;
        justify-items: center;
        min-height: 62px;
        padding: 7px 5px;
        font-size: 0.78rem;
        line-height: 1.15;
        text-align: center;
    }

    .landing-benefit-strip span::before {
        width: 30px;
        height: 30px;
        margin: 0 0 5px;
    }

    .landing-hero-image-wrap {
        padding-top: 0;
    }
}

@media (max-width: 430px) {
    .landing-header-inner {
        min-height: 62px;
    }

    .landing-brand {
        font-size: 1.05rem;
    }

    .landing-mini-cta {
        min-height: 38px;
        padding: 0 12px;
        font-size: 0.82rem;
    }

    .landing-hero {
        padding-top: 20px;
    }

    .landing-hero-grid {
        gap: 10px;
    }

    .landing-lead {
        margin-bottom: 6px;
        font-size: clamp(1.24rem, 5.55vw, 1.48rem);
        line-height: 1.14;
    }

    .landing-sublead {
        font-size: 0.9rem;
        line-height: 1.38;
    }

    .landing-hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        margin-top: 12px;
    }

    .landing-hero-actions a {
        width: auto;
        min-height: 42px;
        padding-inline: 12px;
        font-size: 0.9rem;
    }

    .landing-benefit-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-top: 12px;
    }

    .landing-benefit-strip span {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        min-height: 58px;
        padding: 6px 4px;
        font-size: 0.72rem;
        line-height: 1.12;
        text-align: center;
    }

    .landing-benefit-strip span::before {
        width: 28px;
        height: 28px;
        margin: 0 0 4px;
    }

    .landing-brand-image img {
        width: 158px;
    }

    .landing-hero-image {
        width: min(100%, 390px);
    }

    .landing-section {
        padding: 38px 0;
    }

    .landing-category-grid {
        grid-template-columns: 1fr;
    }
}

.panel-shell {
    background: #fff8f9;
}

.panel-app-shell {
    min-height: 100vh;
}

.panel-sidebar {
    display: none;
}

.panel-mobile-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: -24px -16px 22px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--color-line);
    backdrop-filter: blur(12px);
}

.panel-main {
    min-height: calc(100vh - 65px);
}

.panel-content {
    width: 100%;
    padding: 20px 14px calc(132px + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(132px + env(safe-area-inset-bottom));
}

.panel-brand {
    color: var(--color-coral-dark);
    font-size: 1.25rem;
    font-weight: 900;
    text-decoration: none;
}

.panel-nav-list {
    display: grid;
    gap: 6px;
    margin-top: 28px;
}

.panel-nav-link,
.panel-nav-button {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 14px;
    color: var(--color-muted);
    background: transparent;
    font: inherit;
    font-weight: 850;
    text-align: left;
    text-decoration: none;
    transition: background 0.16s ease, color 0.16s ease;
}

.panel-nav-link:hover,
.panel-nav-link:focus,
.panel-nav-button:hover,
.panel-nav-button:focus,
.panel-nav-link.is-active {
    color: var(--color-coral-dark);
    background: var(--color-pink-soft);
}

.panel-nav-link.is-disabled,
.mobile-nav-item.is-disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.panel-logout-form {
    margin-top: auto;
}

.mobile-bottom-nav {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 7px;
    border: 1px solid var(--color-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 45px rgba(47, 39, 48, 0.14);
    backdrop-filter: blur(14px);
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 46px;
    padding: 0 6px;
    border: 0;
    border-radius: 18px;
    color: var(--color-muted);
    background: transparent;
    font: inherit;
    font-size: 0.74rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus,
.mobile-nav-item.is-active {
    color: var(--color-coral-dark);
    background: var(--color-pink-soft);
}

.mobile-nav-primary {
    color: var(--color-white);
    background: var(--color-coral);
}

.mobile-nav-primary:hover,
.mobile-nav-primary:focus,
.mobile-nav-primary.is-active {
    color: var(--color-white);
    background: var(--color-coral-dark);
}

.mobile-more {
    min-width: 0;
}

.mobile-more-toggle {
    width: 100%;
}

.mobile-more-menu {
    min-width: 230px;
    margin-bottom: 10px !important;
    padding: 8px;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    box-shadow: 0 16px 45px rgba(47, 39, 48, 0.14);
}

.mobile-more-menu .dropdown-item {
    min-height: 42px;
    border-radius: 12px;
    color: var(--color-ink);
    font-weight: 800;
}

.mobile-more-menu .dropdown-item:active {
    color: var(--color-white);
    background: var(--color-coral);
}

.auth-section {
    min-height: calc(100vh - 65px);
    padding: 32px 0;
}

.auth-card,
.panel-welcome {
    width: min(100%, 480px);
    padding: 24px;
    border: 1px solid var(--color-line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 55px rgba(47, 39, 48, 0.09);
}

.auth-title {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 900;
    line-height: 1;
}

.auth-copy {
    color: var(--color-muted);
    line-height: 1.55;
}

.form-label {
    color: var(--color-ink);
    font-weight: 800;
}

.form-control {
    border-color: var(--color-line);
    border-radius: 18px;
}

.form-control:focus {
    border-color: var(--color-coral);
    box-shadow: 0 0 0 0.25rem rgba(242, 109, 109, 0.16);
}

.auth-switch {
    color: var(--color-muted);
    text-align: center;
}

.auth-switch a {
    color: var(--color-coral-dark);
    font-weight: 800;
    text-decoration: none;
}

.legal-consent {
    padding: 14px 14px 14px 42px;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    color: var(--color-muted);
    background: #fff8f9;
    font-size: 0.92rem;
    line-height: 1.45;
}

.legal-consent .form-check-input {
    margin-left: -28px;
    accent-color: var(--color-coral);
}

.legal-consent a {
    color: var(--color-coral-dark);
    font-weight: 850;
    text-decoration: none;
}

.legal-page {
    padding: 34px 0 54px;
}

.legal-card {
    width: min(100%, 860px);
    margin: 0 auto;
    padding: 24px;
    border: 1px solid var(--color-line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 55px rgba(47, 39, 48, 0.08);
}

.legal-card section {
    padding: 16px 0;
    border-top: 1px solid var(--color-line);
}

.legal-card h2 {
    margin: 0 0 8px;
    color: var(--color-ink);
    font-size: 1.08rem;
    font-weight: 900;
}

.legal-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

.alert-soft-danger {
    color: #9f2f3c;
    border-color: #ffd6dc;
    border-radius: 18px;
    background: #fff0f2;
}

.onboarding-shell {
    width: min(100%, 720px);
    padding: 24px;
}

.form-step {
    padding: 22px;
    border: 1px solid var(--color-line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 55px rgba(47, 39, 48, 0.08);
}

.form-step h2 {
    margin-bottom: 16px;
    font-size: 1.18rem;
    font-weight: 900;
}

.step-label {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-bottom: 10px;
    padding: 0 11px;
    border-radius: 999px;
    color: var(--color-coral-dark);
    background: var(--color-pink-soft);
    font-size: 0.78rem;
    font-weight: 850;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.category-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.category-option {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 16px 18px;
    border: 2px solid var(--color-line);
    border-radius: 22px;
    color: var(--color-ink);
    background: var(--color-white);
    font-weight: 850;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.category-option:hover {
    transform: translateY(-1px);
    border-color: var(--color-rose);
}

.category-input:checked + .category-option {
    border-color: var(--color-coral);
    background: var(--color-pink-soft);
}

.business-logo {
    width: 92px;
    height: 92px;
    border: 3px solid var(--color-white);
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 14px 35px rgba(47, 39, 48, 0.14);
}

.business-title {
    font-size: clamp(2rem, 8vw, 3.2rem);
    font-weight: 900;
    line-height: 1;
}

.business-meta {
    color: var(--color-muted);
    font-weight: 750;
}

.public-link-box {
    padding: 16px;
    border: 1px solid var(--color-line);
    border-radius: 20px;
    background: #fff8f9;
}

.public-link-box span {
    display: block;
    color: var(--color-muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.public-link-box strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--color-coral-dark);
    font-size: 1rem;
    line-height: 1.35;
}

.dashboard-shell,
.products-shell,
.theme-settings-shell {
    width: min(100%, 760px);
}

.dashboard-shell {
    width: min(100%, 1080px);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.dashboard-card {
    padding: 16px;
    border: 1px solid var(--panel-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 36px rgba(18, 50, 58, 0.06);
}

.dashboard-business-card {
    overflow: hidden;
}

.dashboard-business-header {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.business-logo-placeholder {
    display: grid;
    place-items: center;
    color: var(--color-coral-dark);
    background: var(--color-pink-soft);
    font-size: 2rem;
    font-weight: 950;
}

.dashboard-section-heading {
    margin-bottom: 14px;
}

.dashboard-section-heading h2 {
    margin: 0 0 4px;
    color: var(--panel-ink);
    font-size: 1.08rem;
    font-weight: 950;
}

.dashboard-section-heading p {
    margin: 0;
    color: var(--panel-muted);
    font-size: 0.95rem;
}

.dashboard-hero,
.page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding: 22px;
    border: 1px solid var(--color-line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 55px rgba(47, 39, 48, 0.08);
}

.dashboard-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.dashboard-actions-compact,
.dashboard-actions-inline {
    margin-bottom: 0;
}

.dashboard-actions-compact {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}

.dashboard-actions-compact .btn,
.dashboard-actions-inline .btn {
    min-width: 0;
    min-height: 54px;
    border-radius: 18px;
    white-space: nowrap;
}

.dashboard-primary-action {
    display: grid;
    grid-column: 1 / -1;
}

.dashboard-primary-action .btn {
    width: 100%;
    min-height: 50px;
    border-radius: 18px;
}

.dashboard-kpi-grid {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.dashboard-kpi-card {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--panel-line);
    border-radius: 18px;
    background: var(--panel-surface);
    box-shadow: 0 10px 24px rgba(18, 50, 58, 0.05);
}

.dashboard-kpi-card span {
    display: block;
    min-height: 18px;
    color: var(--panel-muted);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.dashboard-kpi-card strong {
    display: block;
    margin-top: 6px;
    color: var(--panel-ink);
    font-size: clamp(1.25rem, 6vw, 1.75rem);
    font-weight: 950;
    line-height: 1;
}

.dashboard-kpi-card:nth-child(1) strong {
    color: var(--color-coral-dark);
}

.dashboard-kpi-card:nth-child(2) strong {
    color: var(--panel-warning);
}

.dashboard-kpi-card:nth-child(3) strong,
.dashboard-kpi-card:nth-child(4) strong {
    color: var(--panel-success);
}

.dashboard-attention-card {
    grid-column: 1 / -1;
}

.dashboard-attention-list {
    display: grid;
    gap: 10px;
}

.dashboard-attention-row {
    display: grid;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--panel-line);
    border-radius: 18px;
    background: var(--panel-surface-soft);
}

.dashboard-attention-row h3 {
    margin: 0 0 4px;
    color: var(--panel-ink);
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.25;
}

.dashboard-attention-row p {
    margin: 0;
    color: var(--panel-muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.dashboard-attention-row .btn {
    justify-self: stretch;
}

.dashboard-attention-card .status-muted {
    color: var(--panel-warning);
    background: var(--panel-warning-soft, #fff4db);
}

.dashboard-empty-small {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 18px;
    background: var(--panel-surface-soft);
}

.dashboard-empty-small strong {
    color: var(--panel-ink);
    font-weight: 950;
}

.dashboard-empty-small span {
    color: var(--panel-muted);
    font-size: 0.92rem;
    font-weight: 750;
}

.metric-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border: 1px solid var(--color-line);
    border-radius: 24px;
    background: var(--color-white);
}

.metric-card span {
    color: var(--color-muted);
    font-weight: 750;
}

.metric-card strong {
    color: var(--color-coral-dark);
    font-size: 2rem;
    font-weight: 900;
}

.btn-link-soft {
    color: var(--color-coral-dark);
    font-weight: 850;
    text-decoration: none;
}

.btn-link-soft:hover,
.btn-link-soft:focus {
    color: var(--color-coral-dark);
}

.empty-state {
    padding: 28px 22px;
    border: 1px solid var(--color-line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    text-align: center;
    box-shadow: 0 18px 55px rgba(47, 39, 48, 0.08);
}

.empty-state h2 {
    font-size: 1.4rem;
    font-weight: 900;
}

.empty-state p {
    color: var(--color-muted);
}

.product-list,
.product-actions {
    display: grid;
    gap: 12px;
}

.product-row {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--color-line);
    border-radius: 24px;
    background: var(--color-white);
}

.product-thumb {
    display: grid;
    place-items: center;
    width: 92px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 20px;
    color: var(--color-muted);
    background: var(--color-pink-soft);
    font-size: 0.8rem;
    font-weight: 800;
    text-align: center;
}

.product-thumb img,
.product-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-preview {
    max-width: 220px;
    aspect-ratio: 1;
    border-radius: 24px;
}

.product-image-field {
    display: grid;
    gap: 12px;
}

.product-image-preview {
    display: grid;
    place-items: center;
    overflow: hidden;
    width: min(100%, 320px);
    aspect-ratio: 1;
    border: 1px dashed var(--color-line);
    border-radius: 26px;
    color: var(--color-muted);
    background: #fff8f9;
    font-weight: 850;
    text-align: center;
}

.product-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-actions,
.product-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.product-file-button,
.product-edit-image-button {
    min-height: 44px;
}

.product-image-editor-modal .modal-content {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
}

.product-image-editor-modal .modal-header,
.product-image-editor-modal .modal-footer {
    border-color: var(--color-line);
}

.product-image-editor-modal .modal-title {
    margin: 0;
    color: var(--color-ink);
    font-size: 1.25rem;
    font-weight: 950;
}

.product-editor-canvas {
    display: grid;
    place-items: center;
    overflow: hidden;
    min-height: 320px;
    border-radius: 24px;
    background: #171516;
}

.product-editor-canvas img {
    display: block;
    max-width: 100%;
    max-height: 62vh;
}

.product-editor-controls {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.product-editor-controls label {
    display: grid;
    gap: 6px;
    color: var(--color-ink);
    font-weight: 850;
}

.product-editor-controls input[type="range"] {
    accent-color: var(--color-coral);
}

.product-info h2 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 900;
}

.product-info strong {
    display: block;
    margin-bottom: 8px;
    color: var(--color-coral-dark);
    font-size: 1.05rem;
}

.status-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 850;
}

.status-ok {
    color: #23704f;
    background: #e8f7ef;
}

.status-muted {
    color: var(--color-muted);
    background: #f4eef0;
}

.product-edit {
    grid-column: 1 / -1;
}

.orders-panel-shell {
    max-width: 1040px;
}

.order-filter-tabs {
    display: flex;
    gap: 8px;
    margin: 20px 0;
    overflow-x: auto;
    padding-bottom: 4px;
}

.order-filter-tab {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    color: var(--color-text);
    background: var(--color-white);
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.order-filter-tab:hover,
.order-filter-tab:focus,
.order-filter-tab.is-active {
    border-color: var(--color-coral);
    color: var(--color-white);
    background: var(--color-coral);
}

.panel-order-list,
.orders-detail-shell {
    display: grid;
    gap: 14px;
}

.panel-order-row,
.panel-order-detail-card {
    border: 1px solid var(--color-line);
    border-radius: 24px;
    background: var(--color-white);
    box-shadow: 0 16px 34px rgba(42, 30, 34, 0.06);
}

.panel-order-row {
    display: grid;
    gap: 16px;
    padding: 18px;
}

.panel-order-code-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.panel-order-code-line strong {
    color: var(--color-text);
    font-weight: 950;
}

.panel-order-main h2,
.panel-order-detail-card h2 {
    margin: 0 0 10px;
    color: var(--color-text);
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.25;
}

.panel-order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 750;
}

.panel-order-action {
    justify-self: stretch;
}

.panel-order-detail-card {
    padding: 20px;
}

.panel-order-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.panel-order-detail-header > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.panel-order-type {
    color: var(--color-muted);
    font-size: 0.8rem;
    font-weight: 900;
}

.panel-order-summary {
    display: grid;
    margin: 0;
}

.panel-order-summary div {
    display: grid;
    grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--color-line);
}

.panel-order-summary dt {
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 850;
}

.panel-order-summary dd {
    margin: 0;
    color: var(--color-text);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.panel-payment-card {
    display: grid;
    gap: 14px;
}

.panel-payment-form {
    display: grid;
    gap: 10px;
    max-width: 420px;
}

.payment-empty-box {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: #fff8f9;
}

.payment-empty-box p {
    margin: 0;
    color: var(--color-muted);
    font-weight: 750;
}

.btn-whatsapp-payment {
    min-height: 46px;
    border: 0;
    border-radius: 16px;
    color: #ffffff;
    background: #1fa855;
    font-weight: 900;
}

.btn-whatsapp-payment:hover,
.btn-whatsapp-payment:focus {
    color: #ffffff;
    background: #178b45;
}

.payment-methods-shell {
    max-width: 980px;
}

.payment-methods-form {
    display: grid;
    gap: 14px;
}

.payment-method-card {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--color-line);
    border-radius: 24px;
    background: var(--color-white);
    box-shadow: 0 16px 34px rgba(42, 30, 34, 0.06);
    transition: opacity 0.16s ease, border-color 0.16s ease;
}

.payment-method-card.is-disabled {
    opacity: 0.68;
}

.payment-method-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.payment-method-card h2 {
    margin: 0 0 4px;
    color: var(--color-text);
    font-size: 1.12rem;
    font-weight: 950;
}

.payment-method-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.payment-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: #fff8f9;
    color: var(--color-text);
    font-size: 0.88rem;
    font-weight: 850;
    white-space: nowrap;
}

.payment-switch input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--color-coral);
}

.payment-method-fields {
    display: grid;
    gap: 12px;
}

.payment-method-fields .form-control:disabled {
    background: #f8f4f5;
    color: var(--color-muted);
}

.payment-method-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
}

.toggle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 16px;
    border: 1px solid var(--color-line);
    border-radius: 20px;
    background: #fff8f9;
}

.toggle-card strong,
.toggle-card span {
    display: block;
}

.toggle-card strong {
    font-weight: 900;
}

.toggle-card span {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.toggle-card .form-check-input {
    width: 3rem;
    height: 1.5rem;
    margin: 0;
}

.order-type-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid rgba(31, 41, 55, 0.1);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}

.order-type-option strong,
.order-type-option small {
    display: block;
}

.order-type-option strong {
    color: var(--color-ink);
    font-weight: 900;
}

.order-type-option small {
    color: var(--color-muted);
    line-height: 1.35;
}

.btn-danger-soft {
    color: #9f2f3c;
    background: #fff0f2;
    border-color: #ffd6dc;
}

.btn-danger-soft:hover,
.btn-danger-soft:focus {
    color: #842432;
    background: #ffe3e8;
    border-color: #ffc6d0;
}

.storefront,
.product-public,
.public-order {
    padding: 30px 0 48px;
    color: var(--store-ink);
    font-family: var(--store-font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.store-theme-rosa .storefront,
.store-theme-elegante .storefront,
.store-theme-natural .storefront,
.store-theme-moderno .storefront,
.store-theme-minimalista .storefront,
.store-theme-rosa .product-public,
.store-theme-elegante .product-public,
.store-theme-natural .product-public,
.store-theme-moderno .product-public,
.store-theme-minimalista .product-public {
    color: var(--store-ink);
}

.public-shell.store-theme-rosa .site-header,
.public-shell.store-theme-natural .site-header,
.public-shell.store-theme-moderno .site-header,
.public-shell.store-theme-minimalista .site-header {
    border-bottom-color: var(--store-line);
    background: color-mix(in srgb, var(--store-surface) 86%, transparent);
}

.public-shell.store-theme-elegante .site-header {
    border-bottom-color: rgba(202, 161, 90, 0.35);
    background: rgba(21, 20, 19, 0.9);
}

.public-shell.store-theme-elegante .brand-mark {
    color: var(--store-accent-strong);
}

.public-shell.store-theme-natural .brand-mark,
.public-shell.store-theme-moderno .brand-mark,
.public-shell.store-theme-minimalista .brand-mark {
    color: var(--store-accent-strong);
}

.storefront-header {
    display: grid;
    gap: 18px;
    margin-bottom: 30px;
    padding: 24px;
    border: var(--store-border-width) solid var(--store-line);
    border-radius: var(--store-hero-radius);
    background: color-mix(in srgb, var(--store-surface) 92%, transparent);
    box-shadow: var(--store-card-shadow);
}

.store-cover {
    display: grid;
    place-items: center;
    overflow: hidden;
    min-height: 138px;
    margin-bottom: 18px;
    border: var(--store-border-width) solid var(--store-line);
    border-radius: var(--store-hero-radius);
    color: var(--store-muted);
    background:
        linear-gradient(135deg, var(--store-photo-start), var(--store-photo-mid), var(--store-photo-end));
    box-shadow: var(--store-card-shadow);
}

.store-cover img {
    width: 100%;
    height: 100%;
    min-height: 138px;
    object-fit: cover;
}

.store-cover.is-empty {
    box-shadow: none;
}

.store-logo {
    width: 112px;
    height: 112px;
    border: 4px solid var(--store-surface);
    border-radius: calc(var(--store-card-radius) * 0.85);
    object-fit: cover;
    box-shadow: 0 14px 35px var(--store-shadow);
}

.store-title {
    font-family: var(--store-font-title, var(--store-font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif));
    font-size: clamp(2.2rem, 10vw, 4.2rem);
    font-weight: var(--store-title-weight);
    line-height: 0.96;
}

.store-description {
    max-width: 760px;
    color: var(--store-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.store-city {
    color: var(--store-accent-strong);
    font-weight: 850;
}

.store-section-heading {
    margin-bottom: 16px;
}

.store-section-heading h2 {
    margin: 0;
    font-family: var(--store-font-title, var(--store-font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif));
    font-size: 1.45rem;
    font-weight: 900;
}

.store-welcome {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: var(--store-border-width) solid var(--store-line);
    border-radius: var(--store-card-radius);
    color: var(--store-ink);
    background: color-mix(in srgb, var(--store-surface) 88%, transparent);
}

.store-welcome p {
    margin: 0;
    color: var(--store-muted);
    font-weight: 720;
    line-height: 1.5;
}

.store-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.store-product-card {
    display: block;
    overflow: hidden;
    border: var(--store-border-width) solid var(--store-line);
    border-radius: var(--store-card-radius);
    color: var(--store-ink);
    background: var(--store-surface);
    text-decoration: none;
    box-shadow: var(--store-card-shadow);
    transition: border-color 0.16s ease, transform 0.16s ease;
}

.store-product-card:hover,
.store-product-card:focus {
    color: var(--store-ink);
    border-color: var(--store-accent);
    transform: translateY(-2px);
}

.store-product-photo,
.product-public-photo {
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--store-muted);
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.92) 0 10%, transparent 11%),
        linear-gradient(135deg, var(--store-photo-start) 0%, var(--store-photo-mid) 52%, var(--store-photo-end) 100%);
    font-weight: 850;
    text-align: center;
}

.store-product-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--store-photo-radius);
}

.store-product-photo img,
.product-public-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-product-body {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.store-product-body h3 {
    margin: 0;
    font-family: var(--store-font-title, var(--store-font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif));
    font-size: 1.12rem;
    font-weight: 900;
}

.store-product-body strong {
    color: var(--store-accent-strong);
    font-size: 1.18rem;
}

.store-empty {
    padding: 26px 22px;
    border: var(--store-border-width) solid var(--store-line);
    border-radius: var(--store-card-radius);
    background: var(--store-surface);
    text-align: center;
}

.store-empty p {
    margin: 0;
    color: var(--store-muted);
    font-weight: 750;
}

.store-back-link {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--store-accent-strong);
    font-weight: 850;
    text-decoration: none;
}

.product-public-card {
    overflow: hidden;
    border: var(--store-border-width) solid var(--store-line);
    border-radius: var(--store-card-radius);
    background: var(--store-surface);
    box-shadow: var(--store-card-shadow);
}

.product-public-photo {
    width: 100%;
    aspect-ratio: 1;
}

.product-public-body {
    padding: 22px;
}

.product-public-body h1 {
    margin-bottom: 12px;
    font-family: var(--store-font-title, var(--store-font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif));
    font-size: clamp(2rem, 9vw, 3.4rem);
    font-weight: var(--store-title-weight);
    line-height: 1;
}

.product-public-description {
    color: var(--store-muted);
    font-size: 1.04rem;
    line-height: 1.6;
}

.product-public-price {
    display: block;
    margin-bottom: 14px;
    color: var(--store-accent-strong);
    font-size: 1.55rem;
    font-weight: 900;
}

.store-order-cta,
.store-order-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 50px;
    margin-top: 18px;
    padding: 12px 22px;
    border: 0;
    border-radius: var(--store-button-radius);
    color: var(--store-surface);
    background: var(--store-button-bg, var(--store-accent));
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 34px var(--store-shadow);
}

.store-order-cta:hover,
.store-order-cta:focus,
.store-order-submit:hover,
.store-order-submit:focus {
    color: var(--store-surface);
    filter: brightness(0.98);
}

.store-theme-elegante .store-order-cta,
.store-theme-elegante .store-order-submit {
    color: #171614;
}

.store-order-note {
    margin-top: 16px;
    color: var(--store-muted);
    font-weight: 750;
}

.standard-order-box {
    display: grid;
    gap: 12px;
    max-width: 360px;
    margin-top: 18px;
}

.standard-order-label {
    color: var(--store-ink);
    font-size: 0.9rem;
    font-weight: 850;
}

.standard-quantity-control {
    display: grid;
    grid-template-columns: 48px minmax(78px, 1fr) 48px;
    width: min(100%, 230px);
    overflow: hidden;
    border: var(--store-border-width) solid var(--store-line);
    border-radius: calc(var(--store-button-radius) * 0.85);
    background: var(--store-surface);
}

.standard-quantity-control button,
.standard-quantity-control input {
    min-height: 48px;
    border: 0;
    color: var(--store-ink);
    background: transparent;
    font: inherit;
    font-weight: 900;
}

.standard-quantity-control button {
    color: var(--store-accent-strong);
    font-size: 1.25rem;
}

.standard-quantity-control input {
    width: 100%;
    text-align: center;
    border-inline: var(--store-border-width) solid var(--store-line);
    appearance: textfield;
}

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

.standard-order-total {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border-radius: calc(var(--store-card-radius) * 0.55);
    background: var(--store-surface-soft);
}

.standard-order-total span {
    color: var(--store-muted);
    font-size: 0.92rem;
    font-weight: 750;
}

.standard-order-total strong {
    color: var(--store-accent-strong);
    font-size: 1.18rem;
    font-weight: 950;
}

.standard-order-submit {
    width: 100%;
}

.custom-order-intro {
    display: grid;
    gap: 12px;
    max-width: 380px;
    margin-top: 18px;
}

.custom-order-intro p,
.custom-base-price,
.custom-price-note {
    margin: 0;
    color: var(--store-muted);
    font-weight: 750;
    line-height: 1.45;
}

.custom-assistant-card {
    gap: 16px;
    max-width: 620px;
}

.custom-progress {
    display: grid;
    gap: 8px;
}

.custom-progress span {
    color: var(--store-muted);
    font-size: 0.9rem;
    font-weight: 850;
}

.custom-progress div {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--store-surface-soft);
}

.custom-progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--store-accent);
}

.custom-step-form {
    display: grid;
    gap: 18px;
}

.custom-step-form fieldset {
    display: grid;
    gap: 14px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.custom-step-form legend {
    margin: 0;
    color: var(--store-ink);
    font-family: var(--store-font-title, var(--store-font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif));
    font-size: clamp(1.45rem, 7vw, 2rem);
    font-weight: 950;
    line-height: 1.08;
}

.custom-step-form fieldset > p {
    margin: 0;
    color: var(--store-muted);
}

.custom-option-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.custom-choice {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 52px;
    padding: 12px 14px;
    border: var(--store-border-width) solid var(--store-line);
    border-radius: calc(var(--store-card-radius) * 0.65);
    background: var(--store-surface-soft);
    color: var(--store-ink);
    font-weight: 850;
    cursor: pointer;
}

.custom-choice input {
    flex: 0 0 auto;
}

.store-theme-elegante .custom-choice {
    border-color: rgba(244, 215, 155, 0.34);
    background: rgba(255, 255, 255, 0.08);
    color: #111111;
}

.store-theme-elegante .custom-choice:has(input:checked) {
    border-color: #f4d79b;
    background: rgba(202, 161, 90, 0.24);
    color: #111111;
}

.store-theme-elegante .custom-choice input {
    accent-color: #f4d79b;
}

.custom-step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.custom-step-actions .store-order-submit {
    width: auto;
    min-width: 160px;
}

.custom-price-note {
    padding: 10px 12px;
    border-radius: calc(var(--store-card-radius) * 0.55);
    background: var(--store-surface-soft);
}

.store-theme-elegante .custom-price-note {
    border: 1px solid rgba(244, 215, 155, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff8ec;
}

.public-order-card {
    display: grid;
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
    padding: 18px;
    border: var(--store-border-width) solid var(--store-line);
    border-radius: var(--store-card-radius);
    background: var(--store-surface);
    box-shadow: var(--store-card-shadow);
}

.order-product-summary {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.order-product-photo {
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 96px;
    aspect-ratio: 1;
    border-radius: calc(var(--store-card-radius) * 0.6);
    color: var(--store-muted);
    background: var(--store-surface-soft);
    font-weight: 850;
}

.order-product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-product-summary h1,
.public-order-card h1 {
    margin: 0 0 8px;
    font-family: var(--store-font-title, var(--store-font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif));
    font-size: clamp(1.55rem, 8vw, 2.35rem);
    font-weight: var(--store-title-weight);
    line-height: 1.05;
}

.order-product-summary strong {
    color: var(--store-accent-strong);
    font-size: 1.18rem;
    font-weight: 900;
}

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

.order-total-box {
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: calc(var(--store-card-radius) * 0.7);
    background: var(--store-surface-soft);
}

.order-total-box span {
    color: var(--store-muted);
    font-weight: 750;
}

.order-total-box strong {
    color: var(--store-accent-strong);
    font-size: 1.25rem;
    font-weight: 950;
}

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

.order-confirm-card {
    gap: 14px;
    max-width: 520px;
}

.order-confirm-card h1 {
    margin-bottom: 0;
}

.order-confirm-product {
    margin: 0;
    color: var(--store-ink);
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.35;
}

.order-summary-compact {
    gap: 0;
    padding: 8px 0;
    border-block: var(--store-border-width) solid var(--store-line);
}

.order-summary-list.order-summary-compact div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.order-summary-list div,
.order-summary-section {
    padding: 14px;
    border: var(--store-border-width) solid var(--store-line);
    border-radius: calc(var(--store-card-radius) * 0.7);
    background: var(--store-surface-soft);
}

.order-summary-list.order-summary-compact div {
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.order-summary-list span {
    display: block;
    color: var(--store-muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.order-summary-list strong {
    color: var(--store-ink);
    font-weight: 950;
}

.order-summary-section h2 {
    margin-bottom: 8px;
    color: var(--store-accent-strong);
    font-size: 1rem;
    font-weight: 950;
}

.order-summary-extra {
    padding: 12px;
}

.order-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.storefront .eyebrow,
.product-public .eyebrow,
.public-order .eyebrow {
    color: var(--store-accent-strong);
}

.storefront .status-ok,
.product-public .status-ok,
.public-order .status-ok,
.store-theme-preview .status-ok {
    color: color-mix(in srgb, var(--store-accent-strong) 80%, #113d2c);
    background: color-mix(in srgb, var(--store-accent) 18%, #ffffff);
}

.storefront .status-muted,
.product-public .status-muted,
.public-order .status-muted,
.store-theme-preview .status-muted {
    color: var(--store-muted);
    background: var(--store-surface-soft);
}

.theme-settings-form {
    display: grid;
    gap: 12px;
}

.theme-editor-layout {
    display: grid;
    gap: 14px;
}

.theme-editor-controls {
    display: grid;
    gap: 12px;
}

.theme-editor-heading {
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 22px;
}

.theme-editor-heading .auth-title {
    font-size: clamp(1.85rem, 4vw, 2.55rem);
}

.theme-editor-heading .auth-copy {
    font-size: 1rem;
}

.theme-section-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    width: min(100%, 560px);
    padding: 5px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: #fff7f8;
    box-shadow: inset 0 0 0 1px rgba(217, 79, 88, 0.05);
}

.theme-section-tab {
    appearance: none;
    font: inherit;
    min-height: 40px;
    border: 0;
    border-radius: 999px;
    color: var(--color-muted);
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    font-weight: 900;
    cursor: pointer;
    transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.theme-section-tab.is-active {
    color: var(--color-white);
    background: var(--color-coral);
    box-shadow: 0 10px 24px rgba(217, 79, 88, 0.22);
}

.theme-section-tab:hover {
    transform: translateY(-1px);
}

.theme-editor-panel {
    display: none;
    gap: 14px;
}

.theme-editor-panel.is-active {
    display: grid;
}

.editor-card,
.editor-save-card {
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(47, 39, 48, 0.06);
}

.editor-card-heading {
    margin-bottom: 10px;
}

.editor-card-heading h2 {
    margin: 0;
    color: var(--color-ink);
    font-size: 1.05rem;
    font-weight: 950;
}

.editor-save-card {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.editor-save-card .btn {
    width: auto;
}

.editor-back-link {
    color: var(--color-muted);
    font-weight: 850;
    text-decoration: none;
}

.editor-back-link:hover,
.editor-back-link:focus {
    color: var(--color-coral);
}

.editor-inline-action {
    display: inline-flex;
    width: fit-content;
    margin-top: 8px;
    padding: 0;
    color: var(--color-coral-dark);
    font-size: 0.88rem;
    font-weight: 850;
    text-decoration: none;
}

.editor-inline-action:hover,
.editor-inline-action:focus {
    color: var(--color-coral);
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-content: start;
}

.theme-option {
    position: relative;
    display: grid;
    gap: 4px;
    min-height: 104px;
    padding: 8px;
    border: 2px solid var(--color-line);
    border-radius: 20px;
    background: var(--color-white);
    cursor: pointer;
    transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.theme-option:hover {
    transform: translateY(-1px);
    border-color: var(--color-rose);
}

.theme-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.theme-option:has(.theme-input:checked) {
    border-color: var(--color-coral);
    box-shadow: 0 16px 40px rgba(47, 39, 48, 0.1);
}

.theme-option:has(.theme-input:checked)::after {
    content: "✓";
    position: absolute;
    top: 9px;
    right: 9px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    color: var(--color-white);
    background: var(--color-coral);
    font-size: 0.88rem;
    font-weight: 900;
}

.theme-card-preview {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 5px;
    min-height: 52px;
    padding: 7px;
    border-radius: var(--store-hero-radius);
    background:
        linear-gradient(180deg, var(--store-bg-start), var(--store-bg-end));
    border: var(--store-border-width) solid var(--store-line);
    color: var(--store-ink);
    box-shadow: var(--store-card-shadow);
}

.theme-card-preview-rosa {
    --store-bg-start: #fff0f4;
    --store-bg-end: #ffffff;
    --store-surface: #ffffff;
    --store-accent: #f26d6d;
    --store-accent-strong: #d94f58;
    --store-ink: #2f2730;
    --store-muted: #766a72;
    --store-line: #f1cbd4;
    --store-photo-start: #f26d6d;
    --store-photo-mid: #f8c8cf;
    --store-photo-end: #fff7df;
    --store-card-radius: 28px;
    --store-hero-radius: 24px;
    --store-button-radius: 999px;
    --store-border-width: 1px;
    --store-title-weight: 900;
    --store-card-shadow: 0 12px 30px rgba(217, 79, 88, 0.16);
}

.theme-card-preview-elegante {
    --store-bg-start: #161514;
    --store-bg-end: #2b2823;
    --store-surface: #f8f1e5;
    --store-accent: #caa15a;
    --store-accent-strong: #f4d79b;
    --store-ink: #ffffff;
    --store-muted: #d8c7aa;
    --store-line: #5f4c2b;
    --store-photo-start: #080808;
    --store-photo-mid: #caa15a;
    --store-photo-end: #f8f1e5;
    --store-card-radius: 12px;
    --store-hero-radius: 12px;
    --store-button-radius: 4px;
    --store-border-width: 1px;
    --store-title-weight: 760;
    --store-card-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
}

.theme-card-preview-natural {
    --store-bg-start: #f6f0dd;
    --store-bg-end: #fffdf5;
    --store-surface: #ffffff;
    --store-accent: #7da66a;
    --store-accent-strong: #315642;
    --store-ink: #26352b;
    --store-muted: #657162;
    --store-line: #d8e4cb;
    --store-photo-start: #8faf76;
    --store-photo-mid: #cdddbc;
    --store-photo-end: #f6f0dd;
    --store-card-radius: 22px;
    --store-hero-radius: 28px 16px 28px 16px;
    --store-button-radius: 16px;
    --store-border-width: 1px;
    --store-title-weight: 840;
    --store-card-shadow: 0 12px 28px rgba(49, 86, 66, 0.12);
}

.theme-card-preview-moderno {
    --store-bg-start: #eaf4ff;
    --store-bg-end: #ffffff;
    --store-surface: #ffffff;
    --store-accent: #3f8fd2;
    --store-accent-strong: #195c95;
    --store-ink: #172b3a;
    --store-muted: #5f6f7d;
    --store-line: #cfe4f8;
    --store-photo-start: #3f8fd2;
    --store-photo-mid: #9fd2ff;
    --store-photo-end: #ffffff;
    --store-card-radius: 18px;
    --store-hero-radius: 18px;
    --store-button-radius: 12px;
    --store-border-width: 1px;
    --store-title-weight: 880;
    --store-card-shadow: 0 10px 24px rgba(25, 92, 149, 0.12);
}

.theme-card-preview-minimalista {
    --store-bg-start: #ffffff;
    --store-bg-end: #f7f7f7;
    --store-surface: #ffffff;
    --store-accent: #111111;
    --store-accent-strong: #111111;
    --store-ink: #111111;
    --store-muted: #666666;
    --store-line: #d8d8d8;
    --store-photo-start: #f6f6f6;
    --store-photo-mid: #d8d8d8;
    --store-photo-end: #ffffff;
    --store-card-radius: 6px;
    --store-hero-radius: 6px;
    --store-button-radius: 4px;
    --store-border-width: 1px;
    --store-title-weight: 760;
    --store-card-shadow: none;
}

.theme-compact-swatch {
    display: flex;
    gap: 5px;
    padding-right: 24px;
}

.theme-swatch {
    display: block;
    width: 18px;
    aspect-ratio: 1;
    border: var(--store-border-width) solid var(--store-line);
    border-radius: var(--store-button-radius);
}

.theme-swatch-bg {
    background: linear-gradient(135deg, var(--store-bg-start), var(--store-bg-end));
}

.theme-swatch-surface {
    background: var(--store-surface);
}

.theme-swatch-accent {
    background: var(--store-accent);
}

.theme-card-lines {
    display: grid;
    align-content: center;
    gap: 3px;
    padding: 6px;
    border: var(--store-border-width) solid var(--store-line);
    border-radius: var(--store-button-radius);
    background: var(--store-surface);
}

.theme-card-lines span {
    display: block;
    height: 4px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--store-ink) 20%, var(--store-surface));
}

.theme-card-lines span:first-child {
    width: 72%;
    background: color-mix(in srgb, var(--store-ink) 34%, var(--store-surface));
}

.theme-card-lines span:last-child {
    width: 48%;
}

.theme-card-button {
    display: block;
    width: 42%;
    min-width: 36px;
    height: 7px;
    border-radius: var(--store-button-radius);
    background: var(--store-accent);
}

.theme-card-preview-elegante .theme-card-lines {
    background: #fbf4e8;
}

.theme-card-preview-elegante .theme-card-button {
    background: var(--store-accent-strong);
}

.theme-card-preview-minimalista .theme-card-button {
    background: #111111;
}

.theme-option-name,
.theme-option-description {
    display: block;
}

.theme-option-name {
    color: var(--color-ink);
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.08;
}

.theme-option-description {
    color: var(--color-muted);
    font-size: 0.72rem;
    line-height: 1.15;
}

.color-control-grid,
.font-preset-grid {
    display: grid;
    gap: 8px;
}

.color-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 8px 9px;
    border: 1px solid var(--color-line);
    border-radius: 16px;
    color: var(--color-ink);
    background: var(--color-white);
    font-size: 0.84rem;
    font-weight: 850;
}

.color-input-row {
    display: grid;
    grid-template-columns: 30px 72px;
    gap: 6px;
    align-items: center;
}

.color-input-row input[type="color"] {
    width: 30px;
    height: 30px;
    padding: 2px;
    border: 1px solid var(--color-line);
    border-radius: 14px;
    background: var(--color-white);
}

.color-input-row .form-control {
    min-height: 30px;
    padding: 5px 6px;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.font-option,
.switch-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 8px 9px;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    background: var(--color-white);
    cursor: pointer;
}

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

.font-option input,
.switch-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-coral);
}

.switch-row input {
    order: 2;
    position: relative;
    width: 48px;
    height: 28px;
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: #e9dfe3;
    cursor: pointer;
    transition: background 0.16s ease;
}

.switch-row input::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--color-white);
    box-shadow: 0 4px 10px rgba(47, 39, 48, 0.18);
    transition: transform 0.16s ease;
}

.switch-row input:checked {
    background: var(--color-coral);
}

.switch-row input:checked::after {
    transform: translateX(20px);
}

.font-option strong,
.font-option small,
.switch-row strong,
.switch-row small {
    display: block;
}

.font-option strong,
.switch-row strong {
    color: var(--color-ink);
    font-weight: 900;
}

.font-option small,
.switch-row small {
    color: var(--color-muted);
    font-size: 0.78rem;
}

.font-option:has(input:checked) {
    border-color: var(--color-coral);
    box-shadow: 0 10px 24px rgba(217, 79, 88, 0.12);
}

.media-current,
.cover-current {
    display: grid;
    place-items: center;
    overflow: hidden;
    min-height: 116px;
    border: 1px dashed var(--color-line);
    border-radius: 20px;
    color: var(--color-muted);
    background: var(--color-soft);
    font-weight: 850;
}

.media-current img {
    width: 104px;
    aspect-ratio: 1;
    border-radius: 24px;
    object-fit: cover;
}

.cover-current {
    aspect-ratio: 3 / 1;
    min-height: 110px;
}

.cover-current img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visually-hidden-file {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.file-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    color: var(--color-ink);
    background: var(--color-white);
    font-weight: 900;
    cursor: pointer;
    transition: border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.file-action:hover,
.file-action:focus {
    color: var(--color-coral);
    border-color: var(--color-coral);
    box-shadow: 0 10px 24px rgba(217, 79, 88, 0.12);
}

.theme-original-colors-action {
    width: auto;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.88rem;
}

.theme-live-preview {
    padding: 12px;
    border: 1px solid var(--color-line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
}

.theme-customizer-layout {
    display: grid;
    gap: 18px;
}

.theme-preview-toolbar {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.theme-live-preview .theme-preview-toolbar {
    grid-template-columns: 1fr;
}

.theme-preview-toolbar strong {
    display: block;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.preview-device-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding: 4px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: var(--color-white);
}

.preview-device-button {
    appearance: none;
    font: inherit;
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    color: var(--color-muted);
    background: transparent;
    font-weight: 900;
}

.preview-device-button.is-active {
    color: var(--color-white);
    background: var(--color-coral);
}

.store-theme-preview-shell {
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.preview-device-frame {
    width: 100%;
}

.preview-phone-chrome,
.preview-browser-chrome {
    display: none;
}

.preview-screen {
    overflow: hidden;
}

.preview-device-mobile .preview-device-frame {
    width: min(100%, 320px);
    padding: 7px;
    border: 1px solid #232323;
    border-radius: 40px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        #111111;
    box-shadow: 0 22px 52px rgba(20, 20, 20, 0.2);
}

.preview-device-mobile .preview-phone-chrome {
    display: grid;
    place-items: center;
    height: 16px;
}

.preview-phone-island {
    width: 64px;
    height: 13px;
    border-radius: 999px;
    background: #050505;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.preview-device-mobile .preview-device-frame::after {
    content: "";
    display: block;
    width: 78px;
    height: 3px;
    margin: 6px auto 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
}

.preview-device-mobile .preview-screen {
    border-radius: 31px;
    background: var(--color-white);
}

.preview-device-mobile .store-theme-preview {
    width: 100%;
    height: min(560px, calc(100vh - 224px));
    max-height: 560px;
    gap: 8px;
    padding: 9px;
    overflow: auto;
    scrollbar-width: none;
}

.preview-device-mobile .store-theme-preview::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.preview-device-mobile .store-theme-preview .preview-store-cover {
    min-height: 88px;
    border-radius: calc(var(--store-card-radius) - 6px);
}

.preview-device-mobile .store-theme-preview .preview-store-cover img {
    min-height: 88px;
}

.preview-device-mobile .store-theme-preview .storefront-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    padding: 10px;
    text-align: center;
}

.preview-device-mobile .store-theme-preview .store-logo {
    width: 48px;
    height: 48px;
    border-width: 2px;
}

.preview-device-mobile .store-theme-preview .store-title {
    font-size: clamp(1.2rem, 7vw, 1.42rem);
    line-height: 1.05;
}

.preview-device-mobile .store-theme-preview .store-description,
.preview-device-mobile .store-theme-preview .store-city,
.preview-device-mobile .store-theme-preview .store-welcome {
    font-size: 0.84rem;
    line-height: 1.35;
}

.preview-device-mobile .store-theme-preview .store-welcome {
    padding: 10px 11px;
}

.preview-device-mobile .store-theme-preview .store-product-card {
    display: grid;
    grid-template-columns: minmax(94px, 35%) minmax(0, 1fr);
    align-items: stretch;
}

.preview-device-mobile .store-theme-preview .store-product-photo {
    height: 100%;
    min-height: 106px;
    aspect-ratio: auto;
    border-radius: calc(var(--store-card-radius) - 8px) 0 0 calc(var(--store-card-radius) - 8px);
}

.preview-device-mobile .store-theme-preview .store-product-body {
    align-content: center;
    gap: 6px;
    padding: 9px;
}

.preview-device-mobile .store-theme-preview .store-product-body h3 {
    font-size: 0.9rem;
    line-height: 1.15;
}

.preview-device-mobile .store-theme-preview .store-product-body strong {
    font-size: 0.96rem;
}

.preview-device-mobile .store-theme-preview .status-pill,
.preview-device-mobile .store-theme-preview .store-preview-action {
    min-height: 26px;
    padding: 4px 9px;
    font-size: 0.72rem;
}

.preview-device-desktop {
    justify-content: stretch;
}

.preview-device-desktop .preview-device-frame {
    width: 100%;
    border: 1px solid #d8dce4;
    border-radius: 18px;
    background: #f8f9fb;
    box-shadow: 0 18px 50px rgba(24, 31, 42, 0.12);
    overflow: hidden;
}

.preview-device-desktop .preview-browser-chrome {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 10px;
    border-bottom: 1px solid #e5e8ee;
    background: linear-gradient(180deg, #ffffff, #f1f3f7);
}

.preview-browser-dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ff6b6b;
}

.preview-browser-dot:nth-child(2) {
    background: #f5bf4f;
}

.preview-browser-dot:nth-child(3) {
    background: #52c46b;
}

.preview-browser-address {
    min-width: 0;
    flex: 1;
    margin-left: 4px;
    padding: 5px 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #ffffff;
    color: #7d8794;
    font-size: 0.72rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-device-desktop .preview-screen {
    background: var(--color-white);
}

.preview-device-desktop .store-theme-preview {
    width: 100%;
    height: min(520px, calc(100vh - 200px));
    min-height: 340px;
    max-height: 520px;
    overflow: auto;
}

.store-theme-preview {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 12px;
    border: var(--store-border-width) solid var(--store-line);
    border-radius: var(--store-hero-radius);
    background:
        linear-gradient(180deg, var(--store-bg-start), var(--store-bg-end));
    color: var(--store-ink);
    font-family: var(--store-font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.store-theme-preview .preview-store-cover {
    min-height: 72px;
    margin-bottom: 0;
}

.store-theme-preview .preview-store-cover img {
    min-height: 72px;
}

.store-theme-preview .storefront-header {
    margin-bottom: 0;
    padding: 14px;
    gap: 12px;
}

.store-theme-preview .store-title {
    font-size: 1.55rem;
}

.store-theme-preview .store-logo {
    width: 76px;
    height: 76px;
}

.store-theme-preview .store-description {
    font-size: 0.9rem;
}

.store-theme-preview .store-product-body {
    padding: 12px;
}

.store-theme-preview .store-product-card {
    box-shadow: var(--store-card-shadow);
}

.store-theme-preview .store-preview-grid {
    grid-template-columns: 1fr;
}

.preview-device-desktop .store-theme-preview {
    gap: 8px;
    padding: 10px;
    border: 0;
    border-radius: 0;
}

.preview-device-desktop .store-theme-preview .preview-store-cover {
    order: 2;
    min-height: 64px;
    border-radius: calc(var(--store-card-radius) - 6px);
}

.preview-device-desktop .store-theme-preview .preview-store-cover img {
    min-height: 64px;
}

.preview-device-desktop .store-theme-preview .storefront-header {
    order: 1;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    text-align: left;
    padding: 12px;
}

.preview-device-desktop .store-theme-preview .store-logo {
    width: 54px;
    height: 54px;
}

.preview-device-desktop .store-theme-preview .store-title {
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    line-height: 1.05;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

.preview-device-desktop .store-theme-preview .store-description,
.preview-device-desktop .store-theme-preview .store-city,
.preview-device-desktop .store-theme-preview .store-location,
.preview-device-desktop .store-theme-preview .store-welcome {
    font-size: 0.82rem;
}

.preview-device-desktop .store-theme-preview .store-welcome {
    order: 3;
}

.preview-device-desktop .store-theme-preview .store-section-title {
    margin: 0;
    font-size: 0.92rem;
}

.preview-device-desktop .store-theme-preview .store-preview-grid {
    order: 4;
    gap: 8px;
}

.preview-device-desktop .store-theme-preview .store-product-card {
    display: grid;
    grid-template-columns: minmax(92px, 34%) minmax(0, 1fr);
    align-items: stretch;
}

.preview-device-desktop .store-theme-preview .store-product-photo {
    height: 100%;
    min-height: 118px;
    aspect-ratio: auto;
    border-radius: calc(var(--store-card-radius) - 8px) 0 0 calc(var(--store-card-radius) - 8px);
}

.preview-device-desktop .store-theme-preview .store-product-body {
    align-content: center;
    gap: 6px;
    padding: 10px;
}

.preview-device-desktop .store-theme-preview .store-product-body h3 {
    font-size: 0.98rem;
    line-height: 1.15;
}

.preview-device-desktop .store-theme-preview .store-product-body strong {
    font-size: 1rem;
}

.preview-device-desktop .store-theme-preview .status-pill,
.preview-device-desktop .store-theme-preview .store-preview-action {
    min-height: 28px;
    padding: 5px 10px;
    font-size: 0.76rem;
}

.store-preview-action {
    display: inline-flex;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: var(--store-button-radius);
    color: var(--store-surface);
    background: var(--store-button-bg, var(--store-accent));
    font-size: 0.85rem;
    font-weight: 900;
}

.store-theme-elegante .store-preview-action {
    color: #171614;
}

.store-theme-elegante .storefront-header,
.store-theme-elegante .store-product-card,
.store-theme-elegante .product-public-card {
    outline: 1px solid rgba(217, 184, 109, 0.18);
}

.store-theme-minimalista .store-product-card:hover,
.store-theme-minimalista .store-product-card:focus {
    transform: none;
}

@media (min-width: 640px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .theme-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 160px));
        gap: 8px;
    }

    .color-control-grid,
    .font-preset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .dashboard-actions-compact {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .dashboard-kpi-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .dashboard-primary-action .btn {
        width: auto;
        min-width: 240px;
        justify-self: start;
    }

    .dashboard-attention-row {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .dashboard-attention-row .btn {
        justify-self: end;
    }

    .product-row {
        grid-template-columns: 104px 1fr auto;
    }

    .product-thumb {
        width: 104px;
    }

    .product-edit {
        grid-column: auto;
    }

    .panel-order-row {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .panel-order-action {
        justify-self: end;
    }

    .payment-method-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .payment-method-fields-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .storefront,
    .product-public {
        padding-top: 46px;
    }

    .storefront-header {
        grid-template-columns: auto 1fr;
        align-items: center;
        padding: 30px;
    }

    .theme-preview-toolbar {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .theme-live-preview .theme-preview-toolbar {
        grid-template-columns: 1fr;
    }

    .preview-device-toggle {
        min-width: 260px;
    }

    .theme-live-preview .preview-device-toggle {
        min-width: 0;
    }

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

@media (min-width: 992px) {
    .panel-app-shell {
        display: grid;
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .panel-sidebar {
        position: sticky;
        top: 0;
        display: flex;
        flex-direction: column;
        height: 100vh;
        padding: 26px 18px;
        border-right: 1px solid var(--color-line);
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(12px);
    }

    .panel-mobile-topbar,
    .mobile-bottom-nav {
        display: none;
    }

    .panel-main {
        min-height: 100vh;
    }

    .panel-content {
        padding: 30px;
    }

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

    .theme-settings-shell {
        width: min(100%, 1280px);
    }

    .theme-customizer-layout {
        grid-template-columns: 1fr;
    }

    .theme-editor-layout {
        grid-template-columns: 1fr;
        gap: 18px;
        align-items: start;
    }

    .theme-live-preview {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .theme-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 150px));
    }

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

    .product-public-card {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        align-items: stretch;
    }

    .product-public-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 34px;
    }

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

@media (min-width: 1200px) {
    .panel-content {
        padding: 36px;
    }

    .dashboard-grid {
        grid-template-columns: minmax(240px, 0.65fr) minmax(520px, 1.35fr);
    }

    .dashboard-business-card,
    .dashboard-attention-card,
    .dashboard-store-card,
    .dashboard-edit-card {
        grid-column: 1 / -1;
    }

    .theme-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .theme-editor-layout {
        grid-template-columns: minmax(0, 1.25fr) minmax(420px, 1fr);
        gap: 20px;
    }

    .theme-live-preview {
        position: sticky;
        top: 16px;
        max-height: calc(100vh - 32px);
        overflow: auto;
    }
}

@media (min-width: 1600px) {
    .dashboard-shell {
        width: min(100%, 1240px);
    }

    .dashboard-card {
        padding: 20px;
    }
}

@media (max-width: 767.98px) {
    .custom-assistant {
        padding-block: 24px 34px;
    }

    .custom-assistant .container {
        padding-inline: 14px;
    }

    .custom-assistant-card {
        gap: 10px;
        padding: 14px;
    }

    .custom-assistant-card .eyebrow {
        margin-bottom: 2px !important;
    }

    .custom-assistant-card h1 {
        margin-bottom: 0;
        font-size: clamp(1.35rem, 7vw, 1.85rem);
    }

    .custom-base-price {
        line-height: 1.25;
    }

    .custom-progress {
        gap: 6px;
    }

    .custom-progress span {
        font-size: 0.84rem;
    }

    .custom-step-form {
        gap: 12px;
    }

    .custom-step-form fieldset {
        gap: 10px;
    }

    .custom-step-form legend {
        font-size: clamp(1.28rem, 6.5vw, 1.72rem);
    }

    .custom-option-grid {
        gap: 8px;
    }

    .custom-choice {
        min-height: 46px;
        padding: 9px 12px;
    }

    .custom-step-actions {
        gap: 8px;
        margin-top: 2px;
    }

    .order-confirm-card {
        gap: 10px;
        padding: 14px;
    }

    .order-confirm-card h1 {
        font-size: clamp(1.42rem, 7vw, 1.9rem);
    }

    .order-summary-compact {
        padding: 4px 0;
    }

    .order-summary-list.order-summary-compact div {
        padding: 6px 0;
    }

    .custom-price-note {
        padding: 8px 10px;
        line-height: 1.35;
    }

    .order-confirm-actions {
        gap: 8px;
    }
}

@media (max-width: 430px) {
    .panel-content {
        padding-bottom: calc(126px + env(safe-area-inset-bottom));
        scroll-padding-bottom: calc(126px + env(safe-area-inset-bottom));
    }

    .panel-mobile-topbar {
        margin: -20px -14px 16px;
        padding: 12px 14px;
    }

    .dashboard-card {
        padding: 14px;
        border-radius: 22px;
    }

    .dashboard-business-header {
        align-items: flex-start;
        gap: 12px;
    }

    .business-logo {
        width: 76px;
        height: 76px;
        border-radius: 22px;
    }

    .business-title {
        font-size: clamp(1.65rem, 10vw, 2.15rem);
    }

    .dashboard-section-heading {
        margin-bottom: 12px;
    }

    .dashboard-actions {
        gap: 10px;
    }

    .dashboard-actions-compact,
    .dashboard-actions-inline {
        grid-template-columns: 1fr;
    }

    .dashboard-actions-compact .btn,
    .dashboard-actions-inline .btn {
        min-height: 52px;
        white-space: normal;
    }

    .panel-order-row,
    .panel-order-detail-card {
        border-radius: 22px;
    }

    .panel-order-summary div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .editor-save-card {
        display: grid;
    }

    .editor-save-card .btn {
        width: 100%;
    }

    .theme-original-colors-action {
        width: 100%;
    }

    .mobile-bottom-nav {
        right: 8px;
        left: 8px;
        gap: 4px;
        padding: 6px;
        border-radius: 22px;
    }

    .mobile-nav-item {
        min-height: 44px;
        padding: 0 4px;
        font-size: 0.68rem;
    }
}
