.circl-shop {
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 1180px;
    margin: 0 auto !important;
    padding: 20px 0 !important;
    font-family: Arial, sans-serif;
    color: #1f2937;
    background: transparent !important;
    box-shadow: none !important;
}

.circl-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.circl-product,
.circl-cart {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.circl-product {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.circl-product h3 {
    margin: 0 0 10px;
}

.circl-product-image {
    display: block;
    width: 100%;
    max-width: 220px;
    height: 160px;
    object-fit: contain;
    margin: 0 0 14px;
    border-radius: 12px;
    background: #f7f7f7;
    padding: 8px;
}

.circl-product p {
    margin: 0 0 8px;
    color: #6b7280;
}

.circl-product-price {
    display: inline-block;
    margin: 4px 0 14px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

/* Schiebt bei allen Karten die Bedienelemente an die gleiche Unterkante. */
.circl-product-controls {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}

.circl-product input {
    width: 72px;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
}

.circl-product button,
.circl-checkout,
.circl-cart-actions button {
    cursor: pointer;
    border: 0;
    border-radius: 9px;
    padding: 10px 14px;
}

.circl-product button,
.circl-checkout {
    background: #111827;
    color: #fff;
    font-weight: 700;
}

.circl-cart {
    margin-top: 24px;
}

.circl-cart-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.circl-cart-product small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
}

.circl-cart-price {
    min-width: 90px;
    text-align: right;
    font-weight: 700;
    white-space: nowrap;
}

.circl-cart-actions {
    display: flex;
    gap: 6px;
}

.circl-cart-actions button {
    min-width: 38px;
    background: #f3f4f6;
    color: #111827;
}

.circl-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.circl-total-row {
    margin-top: 2px;
    border-bottom: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.circl-checkout {
    width: 100%;
    margin-top: 18px;
    padding: 14px;
}

.circl-checkout:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.circl-shop-error {
    margin-top: 14px;
    padding: 12px;
    border-radius: 8px;
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 800px) {
    .circl-shop {
        width: calc(100% - 24px);
    }

    .circl-products {
        grid-template-columns: 1fr;
    }

    .circl-cart-row {
        grid-template-columns: 1fr auto;
    }

    .circl-cart-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}
