/**
 * Stadlio Shell — namespace: stadlio-shell, stadlio-cta-bar, stadlio-explore.
 * Max-width container, sticky bottom nav on mobile. No global body styles.
 */

.stadlio-shell {
    --stadlio-primary: #2563eb;
    --stadlio-primary-hover: #1d4ed8;
    --stadlio-secondary: #64748b;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 80px;
}

.stadlio-shell__header {
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 0;
    margin-bottom: 16px;
}

.stadlio-shell__header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.stadlio-shell__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.stadlio-shell__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.stadlio-shell__nav-link {
    font-size: 0.9rem;
    color: #4b5563;
    text-decoration: none;
}

.stadlio-shell__nav-link:hover {
    color: #111827;
    text-decoration: underline;
}

/* Active nav link when on matching Stadlio page (body class from stadlio_body_class_page_key) */
body.stadlio-page-experiences .stadlio-shell__nav-link[href*="experiences"],
body.stadlio-page-events .stadlio-shell__nav-link[href*="events"],
body.stadlio-page-marketplace .stadlio-shell__nav-link[href*="marketplace"],
body.stadlio-page-ads .stadlio-shell__nav-link[href*="annunci"],
body.stadlio-page-profile .stadlio-shell__nav-link[href*="profile"] {
    font-weight: 600;
    color: var(--stadlio-primary, #2563eb);
}

.stadlio-shell__content {
    min-height: 200px;
}

/* CTA Bar */
.stadlio-cta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.stadlio-cta-bar__link {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    background: #f3f4f6;
    color: #374151;
}

.stadlio-cta-bar__link:hover {
    background: #e5e7eb;
    color: #111827;
}

.stadlio-cta-bar__link--primary {
    background: #111827;
    color: #fff;
}

.stadlio-cta-bar__link--primary:hover {
    background: #374151;
    color: #fff;
}

/* Explore block */
.stadlio-explore {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.stadlio-explore__title {
    font-size: 1.1rem;
    margin: 0 0 12px;
}

.stadlio-explore__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.stadlio-explore__card {
    display: inline-block;
    padding: 12px 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-size: 0.95rem;
}

.stadlio-explore__card:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #111827;
}

/* Bottom nav — mobile only */
.stadlio-shell__bottom-nav {
    display: none;
}

@media (max-width: 782px) {
    .stadlio-shell__bottom-nav {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e5e7eb;
        z-index: 99999;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .stadlio-shell__bottom-nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-around;
        max-width: 1100px;
        margin: 0 auto;
        padding: 8px 0;
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0));
        min-height: 56px;
    }

    .stadlio-shell__bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 6px 10px;
        font-size: 0.7rem;
        color: #6b7280;
        text-decoration: none;
        touch-action: manipulation;
    }

    .stadlio-shell__bottom-nav-item:hover {
        color: #111827;
    }

    .stadlio-shell__bottom-nav-icon {
        font-size: 1.2rem;
        line-height: 1;
    }

    .stadlio-shell__bottom-nav-publish {
        position: relative;
    }

    .stadlio-shell__bottom-nav-publish-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 6px 14px;
        font-size: 0.7rem;
        background: #111827;
        color: #fff;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        touch-action: manipulation;
    }

    .stadlio-shell__bottom-nav-publish-btn:hover {
        background: #374151;
        color: #fff;
    }

    .stadlio-shell__publish-sheet {
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 8px;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        min-width: 160px;
        overflow: hidden;
        z-index: 100000;
    }

    .stadlio-shell__publish-sheet[hidden] {
        display: none;
    }

    .stadlio-shell__publish-sheet-item {
        display: block;
        padding: 12px 16px;
        font-size: 0.9rem;
        color: #374151;
        text-decoration: none;
        border-bottom: 1px solid #f3f4f6;
        touch-action: manipulation;
    }

    .stadlio-shell__publish-sheet-item:last-child {
        border-bottom: none;
    }

    .stadlio-shell__publish-sheet-item:hover {
        background: #f9fafb;
        color: #111827;
    }

    .stadlio-shell {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0));
    }
}

/* Coming soon stub */
.stadlio-coming-soon {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    margin: 16px 0;
}

.stadlio-coming-soon__title {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.stadlio-coming-soon__desc {
    margin: 0 0 12px;
    color: #6b7280;
}

.stadlio-coming-soon__links a {
    margin-right: 8px;
}

/* Setup incomplete */
.stadlio-setup-incomplete {
    max-width: 500px;
    margin: 24px auto;
}

.stadlio-setup-incomplete__card {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 24px;
}

.stadlio-setup-incomplete__title {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.stadlio-setup-incomplete__message {
    margin: 0 0 16px;
    color: #92400e;
}

.stadlio-setup-incomplete__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stadlio-setup-incomplete__btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    background: #f3f4f6;
    color: #374151;
}

.stadlio-setup-incomplete__btn:hover {
    background: #e5e7eb;
}

.stadlio-setup-incomplete__btn--primary {
    background: #111827;
    color: #fff;
}

.stadlio-setup-incomplete__btn--primary:hover {
    background: #374151;
    color: #fff;
}

/* ============================================================
   Profile page — modern design, mobile-first
   ============================================================ */
.stadlio-profile--wrapper {
    --profile-radius: 12px;
    --profile-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --profile-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08);
    --profile-input-bg: #f8fafc;
    --profile-input-border: #e2e8f0;
    --profile-accent: #0f172a;
    --profile-accent-soft: #334155;
    --profile-muted: #64748b;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 768px) {
    .stadlio-profile--wrapper { padding: 0 24px; }
}

/* Profile header card */
.stadlio-profile-home {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--profile-radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--profile-shadow);
}

.stadlio-profile-title {
    margin: 0 0 16px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--profile-accent);
    letter-spacing: -0.02em;
}

.stadlio-profile-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stadlio-profile-summary p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--profile-accent-soft);
}

.stadlio-profile-summary strong {
    color: var(--profile-muted);
    font-weight: 500;
    min-width: 80px;
    display: inline-block;
}

.stadlio-profile-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.stadlio-profile-action-link {
    font-size: 0.875rem;
    color: var(--profile-accent);
    text-decoration: none;
}

.stadlio-profile-action-link:hover {
    text-decoration: underline;
}

.stadlio-profile-change-password {
    margin-top: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.stadlio-profile-password-form label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.stadlio-profile-password-form .stadlio-profile-input {
    width: 100%;
    max-width: 280px;
    padding: 10px 14px;
    font-size: 0.9375rem;
    border: 1px solid var(--profile-input-border);
    border-radius: 8px;
    background: var(--profile-input-bg);
}

.stadlio-profile-password-form p {
    margin: 0 0 12px 0;
}

.stadlio-profile-btn {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin-right: 8px;
}

.stadlio-profile-btn-primary {
    background: var(--profile-accent);
    color: #fff;
}

.stadlio-profile-btn-secondary {
    background: #f1f5f9;
    color: var(--profile-accent-soft);
}

/* Section blocks — card style */
.stadlio-profile-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--profile-radius);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--profile-shadow);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.stadlio-profile-section:hover {
    box-shadow: var(--profile-shadow-hover);
    border-color: #cbd5e1;
}

.stadlio-profile-section__title {
    margin: 0 0 16px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--profile-accent);
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.stadlio-profile-section__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--profile-accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
}

.stadlio-profile-section__link:hover {
    background: var(--profile-accent-soft);
    color: #fff;
    text-decoration: none;
}

.stadlio-profile-section__cta {
    margin: 16px 0 0 0;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

/* Marketplace profile buttons — compact on profile page */
.stadlio-marketplace-profile-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.stadlio-marketplace-profile-buttons .stadlio-profile-btn {
    min-height: 44px;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.1s;
}

.stadlio-marketplace-profile-buttons .stadlio-profile-btn:hover {
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .stadlio-marketplace-profile-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .stadlio-marketplace-profile-buttons .stadlio-profile-btn {
        width: 100%;
    }
}

/* Forms inside profile sections */
.stadlio-profile-section .stadlio-seller-dashboard,
.stadlio-profile-section .stadlio-events-empty-card {
    margin: 0;
}

.stadlio-profile-section .stadlio-current-plan,
.stadlio-profile-section .description {
    font-size: 0.8125rem;
    color: var(--profile-muted);
    margin: 0 0 12px 0;
}

.stadlio-profile-section h3,
.stadlio-profile-section h4 {
    margin: 16px 0 10px 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--profile-accent);
}

.stadlio-profile-section h3:first-child,
.stadlio-profile-section h4:first-child {
    margin-top: 0;
}

.stadlio-profile-section p {
    margin: 0 0 12px 0;
    font-size: 0.875rem;
    color: var(--profile-accent-soft);
}

/* Inputs, selects, textareas */
.stadlio-profile-section input[type="text"],
.stadlio-profile-section input[type="email"],
.stadlio-profile-section input[type="number"],
.stadlio-profile-section input[type="search"],
.stadlio-profile-section select,
.stadlio-profile-section textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px 14px;
    font-size: 0.9375rem;
    border: 1px solid var(--profile-input-border);
    border-radius: 8px;
    background: var(--profile-input-bg);
    color: var(--profile-accent);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.stadlio-profile-section input:focus,
.stadlio-profile-section select:focus,
.stadlio-profile-section textarea:focus {
    outline: none;
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.stadlio-profile-section textarea {
    min-height: 80px;
    resize: vertical;
}

.stadlio-profile-section label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--profile-accent-soft);
    margin-bottom: 6px;
}

.stadlio-profile-section label:has(input),
.stadlio-profile-section label:has(select),
.stadlio-profile-section label:has(textarea) {
    margin-bottom: 12px;
}

/* Buttons */
.stadlio-profile-section button,
.stadlio-profile-section input[type="submit"],
.stadlio-profile-section .stadlio-events-empty-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.stadlio-profile-section button[type="submit"],
.stadlio-profile-section input[type="submit"][value],
.stadlio-profile-section .stadlio-events-empty-card__btn {
    background: var(--profile-accent);
    color: #fff;
}

.stadlio-profile-section button[type="submit"]:hover,
.stadlio-profile-section input[type="submit"]:hover,
.stadlio-profile-section .stadlio-events-empty-card__btn:hover {
    background: var(--profile-accent-soft);
}

.stadlio-profile-section .stadlio-events-empty-card__btn {
    text-decoration: none;
    margin-top: 8px;
}

/* Lists */
.stadlio-profile-section ul {
    margin: 0 0 12px 0;
    padding-left: 20px;
}

.stadlio-profile-section ul.stadlio-my-stores,
.stadlio-profile-section ul.stadlio-my-items {
    list-style: none;
    padding-left: 0;
}

.stadlio-profile-section ul.stadlio-my-stores li,
.stadlio-profile-section ul.stadlio-my-items li {
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.stadlio-profile-section .stadlio-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 4px;
    margin-left: 8px;
}

.stadlio-profile-section .stadlio-badge-draft { background: #fef3c7; color: #92400e; }
.stadlio-profile-section .stadlio-badge-published { background: #d1fae5; color: #065f46; }
.stadlio-profile-section .stadlio-badge-pending { background: #dbeafe; color: #1e40af; }

/* Empty state (My Events) */
.stadlio-profile-section .stadlio-events-empty-card,
.stadlio-profile-section .stadlio-my-events {
    padding: 0;
}

.stadlio-profile-section .stadlio-my-events__title {
    display: none;
}

.stadlio-profile-section .stadlio-my-events-empty {
    margin: 0 0 12px 0;
    font-size: 0.875rem;
    color: var(--profile-muted);
}

.stadlio-profile-section .stadlio-my-events-empty + p a,
.stadlio-profile-section .stadlio-events-empty-card__title,
.stadlio-profile-section .stadlio-events-empty-card__desc {
    margin: 0 0 8px 0;
    font-size: 0.875rem;
}

.stadlio-profile-section .stadlio-events-empty-card {
    padding: 20px 0;
}

.stadlio-profile-section .stadlio-events-empty-card__title {
    font-size: 1rem;
    font-weight: 600;
}

.stadlio-profile-section .stadlio-events-empty-card__desc {
    color: var(--profile-muted);
}

.stadlio-profile-section .stadlio-my-events-empty + p a.button {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: var(--profile-accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
}

.stadlio-profile-section .stadlio-my-events-empty + p a.button:hover {
    background: var(--profile-accent-soft);
    color: #fff;
}

/* Notices */
.stadlio-profile .stadlio-notice {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.stadlio-profile .stadlio-notice--success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.stadlio-profile .stadlio-notice--error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Mobile */
@media (max-width: 640px) {
    .stadlio-profile-home {
        padding: 20px 16px;
    }

    .stadlio-profile-title {
        font-size: 1.125rem;
    }

    .stadlio-profile-summary strong {
        min-width: auto;
        display: inline;
    }

    .stadlio-profile-section {
        padding: 16px;
    }

    .stadlio-profile-section__title {
        font-size: 0.9375rem;
    }

    .stadlio-profile-section__link {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   My Shop page — modern design (stadlio-shell--shop)
   ============================================================ */
.stadlio-shell--shop .stadlio-seller-dashboard {
    --shop-accent: var(--profile-accent, #0f172a);
    --shop-accent-soft: var(--profile-accent-soft, #334155);
    --shop-muted: var(--profile-muted, #64748b);
    --shop-radius: 12px;
    --shop-shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shop-shadow-hover: 0 4px 12px rgba(0,0,0,0.08);
}

.stadlio-shell--shop .stadlio-seller-dashboard {
    max-width: 640px;
    margin: 0 auto;
}

.stadlio-shell--shop .stadlio-shop-plan-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--shop-radius);
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: var(--shop-shadow);
}

.stadlio-shell--shop .stadlio-shop-plan-card__title {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--shop-accent);
}

.stadlio-shell--shop .stadlio-current-plan {
    margin: 0 0 8px 0;
    font-size: 0.9375rem;
    color: var(--shop-muted);
}

.stadlio-shell--shop .stadlio-shop-plan-card__cta {
    margin: 0;
    font-size: 0.875rem;
    color: var(--shop-accent-soft);
}

.stadlio-shell--shop .stadlio-shop-plan-card__note {
    margin: 8px 0 0 0;
    font-size: 0.8125rem;
    color: var(--shop-muted);
    font-style: italic;
}

.stadlio-shell--shop .stadlio-shop-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--shop-radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shop-shadow);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.stadlio-shell--shop .stadlio-shop-section:hover {
    box-shadow: var(--shop-shadow-hover);
    border-color: #cbd5e1;
}

.stadlio-shell--shop .stadlio-shop-section__title {
    margin: 0 0 16px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--shop-accent);
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.stadlio-shell--shop .stadlio-shop-section__empty {
    margin: 0 0 16px 0;
    font-size: 0.9375rem;
    color: var(--shop-muted);
}

.stadlio-shell--shop .stadlio-shop-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--shop-radius);
    padding: 20px 24px;
    margin: 16px 0;
    box-shadow: var(--shop-shadow);
}

.stadlio-shell--shop .stadlio-shop-form-card__title {
    margin: 0 0 16px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--shop-accent);
}

.stadlio-shell--shop .stadlio-form-create-store__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-bottom: 20px;
}

.stadlio-shell--shop .stadlio-form-create-store__label {
    grid-column: 1 / -1;
    margin: 16px 0 0 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--shop-accent-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stadlio-shell--shop .stadlio-form-create-store__label:first-child {
    margin-top: 0;
}

.stadlio-shell--shop .stadlio-form-create-store__full {
    grid-column: 1 / -1;
}

@media (max-width: 520px) {
    .stadlio-shell--shop .stadlio-form-create-store__grid {
        grid-template-columns: 1fr;
    }
}

.stadlio-shell--shop .stadlio-seller-dashboard input[type="text"],
.stadlio-shell--shop .stadlio-seller-dashboard input[type="email"],
.stadlio-shell--shop .stadlio-seller-dashboard input[type="tel"],
.stadlio-shell--shop .stadlio-seller-dashboard input[type="number"],
.stadlio-shell--shop .stadlio-seller-dashboard select,
.stadlio-shell--shop .stadlio-seller-dashboard textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.9375rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: var(--shop-accent);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.stadlio-shell--shop .stadlio-seller-dashboard input:focus,
.stadlio-shell--shop .stadlio-seller-dashboard select:focus,
.stadlio-shell--shop .stadlio-seller-dashboard textarea:focus {
    outline: none;
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.stadlio-shell--shop .stadlio-seller-dashboard textarea {
    min-height: 80px;
    resize: vertical;
}

.stadlio-shell--shop .stadlio-seller-dashboard label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--shop-accent-soft);
    margin-bottom: 6px;
}

.stadlio-shell--shop .stadlio-seller-dashboard p {
    margin: 0 0 16px 0;
    font-size: 0.9375rem;
}

.stadlio-shell--shop .stadlio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.stadlio-shell--shop .stadlio-btn--primary {
    background: var(--shop-accent);
    color: #fff;
}

.stadlio-shell--shop .stadlio-btn--primary:hover {
    background: var(--shop-accent-soft);
    color: #fff;
}

.stadlio-shell--shop .stadlio-btn--outline {
    background: transparent;
    color: var(--shop-accent);
    border: 1.5px solid #e2e8f0;
}

.stadlio-shell--shop .stadlio-btn--outline:hover {
    border-color: #94a3b8;
    background: rgba(15, 23, 42, 0.04);
}

.stadlio-shell--shop .stadlio-btn--ghost {
    background: transparent;
    color: var(--shop-muted);
    border: none;
}

.stadlio-shell--shop .stadlio-btn--ghost:hover {
    color: var(--shop-accent);
}

.stadlio-shell--shop .stadlio-field-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--shop-muted);
    margin-top: 4px;
}

/* Cover image: upload (primary) + URL (secondary) */
.stadlio-shell--shop .stadlio-cover-image-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stadlio-shell--shop .stadlio-cover-preview {
    min-height: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
}

.stadlio-shell--shop .stadlio-cover-preview.has-image img {
    display: block;
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.stadlio-shell--shop .stadlio-cover-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.stadlio-shell--shop .stadlio-cover-or {
    font-size: 0.8125rem;
    color: var(--shop-muted);
}

.stadlio-shell--shop .stadlio-cover-url-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stadlio-shell--shop .stadlio-cover-url-wrap.hidden {
    display: none;
}

.stadlio-shell--shop .stadlio-cover-url-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--shop-accent-soft);
}

.stadlio-shell--shop .stadlio-cover-url-input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    font-size: 0.9375rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") no-repeat 12px center;
    color: var(--shop-accent);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.stadlio-shell--shop .stadlio-cover-url-input:focus {
    outline: none;
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.stadlio-shell--shop .stadlio-cover-url-input::placeholder {
    color: var(--shop-muted);
}

.stadlio-shell--shop .stadlio-store-card {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.9375rem;
}

.stadlio-shell--shop .stadlio-store-card__name {
    font-weight: 600;
    color: var(--shop-accent);
}

.stadlio-shell--shop .stadlio-store-card__slug {
    font-size: 0.8125rem;
    color: var(--shop-muted);
    font-family: ui-monospace, monospace;
}

.stadlio-shell--shop .stadlio-store-card__meta {
    width: 100%;
    font-size: 0.8125rem;
    color: var(--shop-accent-soft);
}

.stadlio-shell--shop .stadlio-my-stores {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.stadlio-shell--shop .stadlio-my-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.stadlio-shell--shop .stadlio-my-items li {
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.stadlio-shell--shop .stadlio-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 4px;
    margin-left: 8px;
}

.stadlio-shell--shop .stadlio-badge-draft { background: #fef3c7; color: #92400e; }
.stadlio-shell--shop .stadlio-badge-published { background: #d1fae5; color: #065f46; }
.stadlio-shell--shop .stadlio-badge-pending { background: #dbeafe; color: #1e40af; }
.stadlio-shell--shop .stadlio-badge-expired { background: #f1f5f9; color: #475569; }
.stadlio-shell--shop .stadlio-badge-rejected { background: #fee2e2; color: #991b1b; }

.stadlio-shell--shop .stadlio-success {
    padding: 12px 16px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.stadlio-shell--shop .stadlio-error {
    padding: 12px 16px;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

/* ============================================================
   Submit Ad page — modern design (stadlio-shell--ads-submit)
   ============================================================ */
.stadlio-shell--ads-submit .stadlio-listing-submit-wrap {
    max-width: 560px;
    margin: 0 auto;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.stadlio-shell--ads-submit .stadlio-ads-submit-error {
    padding: 12px 16px;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9375rem;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__field--full {
    grid-column: 1 / -1;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--profile-accent-soft, #334155);
    margin-bottom: 8px;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__input,
.stadlio-shell--ads-submit .stadlio-ads-submit-form__select,
.stadlio-shell--ads-submit .stadlio-ads-submit-form__textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.9375rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: var(--profile-accent, #0f172a);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__input:focus,
.stadlio-shell--ads-submit .stadlio-ads-submit-form__select:focus,
.stadlio-shell--ads-submit .stadlio-ads-submit-form__textarea:focus {
    outline: none;
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__textarea {
    min-height: 100px;
    resize: vertical;
}

/* Custom file input — hide native, show translated "Choose file" / "No file selected" */
.stadlio-shell--ads-submit .stadlio-ads-submit-form__file-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__file-trigger {
    display: inline-block;
    padding: 10px 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--profile-accent, #0f172a);
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__file-trigger:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__file-status {
    font-size: 0.875rem;
    color: #64748b;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__field--cover .stadlio-ads-submit-form__hint {
    margin-top: 8px;
    margin-bottom: 0;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__field--cover .stadlio-ads-submit-form__image-preview {
    margin-top: 12px;
    min-height: 0;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__field--cover .stadlio-ads-submit-form__image-preview:empty {
    display: none;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__location {
    position: relative;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__suggestions:empty,
.stadlio-shell--ads-submit .stadlio-ads-submit-form__suggestions[aria-hidden="true"] {
    display: none;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__suggestions-item {
    padding: 10px 14px;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__suggestions-item:hover,
.stadlio-shell--ads-submit .stadlio-ads-submit-form__suggestions-item:focus {
    background: #f1f5f9;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--profile-accent-soft, #334155);
    cursor: pointer;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--profile-accent, #0f172a);
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__actions {
    margin: 24px 0 0 0;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__submit {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    background: var(--profile-accent, #0f172a);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.05s ease;
}

.stadlio-shell--ads-submit .stadlio-ads-submit-form__submit:hover {
    background: var(--profile-accent-soft, #334155);
}

@media (max-width: 520px) {
    .stadlio-shell--ads-submit .stadlio-ads-submit-form__grid {
        grid-template-columns: 1fr;
    }
}
