/* Tema compartilhado da loja: marketplace, vitrine, checkout e conta do cliente.
   Depende das variáveis CSS do :root de layouts/public.blade.php. */

/* Hero gradiente + corpo sobreposto */
.sf-hero {
    background: var(--gradient-primary);
    padding: 2rem 0 4.5rem;
    color: #fff;
}

.sf-hero h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: .15rem; }
.sf-hero p { opacity: .85; margin-bottom: 0; font-size: .95rem; }

.sf-hero-lg { padding: 3rem 0 5rem; }
.sf-hero-lg h1 { font-size: 2rem; margin-bottom: .5rem; }
.sf-hero-lg p { font-size: 1.05rem; }

.sf-hero-center { text-align: center; }

.sf-back-link {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .9rem;
    margin-bottom: .5rem;
    transition: color .15s;
}

.sf-back-link:hover { color: #fff; }

.sf-body { margin-top: -3rem; padding-bottom: 4rem; }
.sf-body-tall { padding-bottom: 6rem; }

/* Card branco padrão da loja */
.sf-card {
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

/* Badges de loja aberta/fechada */
.badge-open {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: .75rem;
    padding: .28rem .7rem;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-closed {
    background: #f5f5f5;
    color: #9e9e9e;
    font-size: .75rem;
    padding: .28rem .7rem;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
}

/* Chips de categoria / âncora */
.category-chip {
    display: inline-block;
    padding: .4rem .9rem;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 500;
    border: 1.5px solid #dee2e6;
    background: #fff;
    color: var(--gray-medium);
    cursor: pointer;
    text-decoration: none;
    transition: all .15s;
    white-space: nowrap;
}

.category-chip:hover,
.category-chip.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #e3f2fd;
}

/* Card de loja (grid do marketplace) */
.store-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.store-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    color: inherit;
}

.store-card-cover {
    height: 120px;
    background: var(--gradient-primary);
    position: relative;
}

.store-card-logo,
.store-card-logo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid #fff;
    position: absolute;
    bottom: -20px;
    left: 1rem;
    background: #fff;
}

.store-card-logo { object-fit: cover; }

.store-card-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.store-card-body { padding: 1.5rem 1rem .75rem; }

.store-card-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: .25rem;
}

.store-card-category {
    font-size: .8rem;
    color: var(--gray-medium);
}

/* Linha de informação (label à esquerda, valor à direita) */
.info-row {
    display: flex;
    justify-content: space-between;
    padding: .4rem 0;
    font-size: .9rem;
    border-bottom: 1px solid #f3f4f6;
}

.info-row:last-child { border-bottom: none; }
