/* ForgeOps Public Shop v1 */

.shop-public-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px;
}

.shop-hero {
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 16px;
    background:
        linear-gradient(135deg, rgba(124,58,237,.92), rgba(219,39,119,.86)),
        radial-gradient(circle at top right, rgba(255,255,255,.28), transparent 28rem);
    color: white;
    box-shadow: 0 14px 30px rgba(64,35,91,.16);
}

.shop-hero h1 {
    margin: 0 0 6px;
    font-size: 1.8rem;
}

.shop-hero p {
    margin: 0;
    color: rgba(255,255,255,.82);
}

.shop-steps {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0 16px;
}

.shop-step {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    border: 1px solid var(--color-border);
    font-weight: 800;
    color: var(--color-muted);
    text-decoration: none;
}

.shop-step.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 12px;
}

.shop-card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: 0 8px 20px rgba(64,35,91,.08);
}

.shop-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(64,35,91,.13);
}

.shop-card-form {
    margin: 0;
}

.shop-card-button {
    border: 0;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-align: left;
    width: 100%;
}

.shop-inline-form {
    display: inline;
    margin: 0;
}

.shop-card img,
.shop-thumb {
    width: 100%;
    height: 165px;
    object-fit: contain;
    background: #f6f2fb;
    display: grid;
    place-items: center;
    color: var(--color-muted);
}

.shop-card-body {
    padding: 10px;
    display: grid;
    gap: 5px;
}

.shop-title {
    font-weight: 850;
    line-height: 1.2;
}

.shop-price {
    font-weight: 850;
    color: var(--color-primary);
}

.shop-muted {
    color: var(--color-muted);
    font-size: .84rem;
}

.shop-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0 16px;
}

.shop-cart-table img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    background: #f6f2fb;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.shop-cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-banner {
    padding: 14px;
    border-radius: 14px;
    border: 2px dashed rgba(219,39,119,.35);
    background: #fff5fb;
    margin-bottom: 14px;
    text-align: center;
}

.shop-banner h2 {
    margin: 0 0 5px;
}

@media(max-width:760px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-card img,
    .shop-thumb {
        height: 130px;
    }
}
.shop-steps {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin: 12px 0 16px !important;
}

.shop-step {
    display: inline-flex !important;
    align-items: center !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid #d8cbe6 !important;
    color: #4b315f !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.shop-step.active {
    background: #7c3aed !important;
    color: #ffffff !important;
    border-color: #7c3aed !important;
}
