/* STB Foods — premium trade pages (catalogue, basket, checkout, confirmation) */

.stb-page {
    font-family: 'Outfit', sans-serif;
    background: #FAF7F2 !important;
    color: #1C1917;
}

.stb-page :root,
:root {
    --stb-brand: #7A1F2B;
    --stb-brand-dark: #4E1218;
    --stb-gold: #C4A35A;
    --stb-gold-light: #D4BC7D;
    --stb-ink: #1C1917;
    --stb-muted: #6B6560;
    --stb-surface: #FAF7F2;
    --stb-cream: #F3EDE4;
    --stb-paper: #FFFFFF;
    --stb-line: #E8E0D4;
}

.stb-page h1,
.stb-page .cart-title,
.stb-page .checkout-title,
.stb-page .confirm-title {
    font-family: 'Cormorant Garamond', serif;
    color: #1C1917 !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ---------- Catalogue / home.php ---------- */

.stb-page .container {
    padding-top: 28px;
    padding-bottom: 40px;
}

.stb-page .h3.fw-bold {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.15rem;
    color: #1C1917 !important;
}

.stb-page .product-card {
    background: #fff;
    border: 1px solid #E8E0D4;
    border-radius: 14px;
    padding: 14px;
    min-height: 410px;
    box-shadow: none;
}

.stb-page .product-card:hover {
    box-shadow: 0 14px 30px rgba(28, 25, 23, 0.1);
}

.stb-page .p-name {
    color: #1C1917;
}

.stb-page .p-name:hover {
    color: #7A1F2B;
}

.stb-page .p-code {
    color: #8A837C;
}

.stb-page .p-price {
    color: #7A1F2B !important;
}

.stb-page .input-group-custom {
    border-color: #E8E0D4;
    border-radius: 8px;
}

.stb-page .btn-neutral {
    background-color: #6B6560 !important;
    color: #fff !important;
}

.stb-page .btn-plus-active {
    background-color: #7A1F2B !important;
    color: #fff !important;
}

.stb-page .btn-minus-active {
    background-color: #4E1218 !important;
    color: #fff !important;
}

.stb-page .btn-remove-alt {
    border-color: #7A1F2B;
    color: #7A1F2B;
}

.stb-page .btn-remove-alt:hover {
    background: #7A1F2B;
    color: #fff;
}

.stb-page .btn-outline-danger {
    color: #7A1F2B;
    border-color: #7A1F2B;
    border-radius: 999px;
    font-weight: 600;
}

.stb-page .btn-outline-danger:hover {
    background: #7A1F2B;
    border-color: #7A1F2B;
    color: #fff;
}

.stb-page .badge-status {
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.stb-page .bg-out {
    background-color: #7A1F2B;
}

.stb-page .bg-zero {
    background-color: #C4A35A;
    color: #161210;
}

.stb-page .spinner-border.text-primary {
    color: #7A1F2B !important;
}

/* ---------- Basket / checkout shared cards ---------- */

.stb-page .cart-page,
.stb-page .checkout-page {
    padding-top: 36px;
    padding-bottom: 70px;
}

.stb-page .cart-subtitle,
.stb-page .checkout-subtitle {
    color: #6B6560;
}

.stb-page .cart-btn-outline,
.stb-page .btn-outline-secondary {
    border: 1px solid #E8E0D4;
    background: #fff;
    color: #1C1917;
    border-radius: 999px;
    font-weight: 600;
}

.stb-page .cart-btn-outline:hover,
.stb-page .btn-outline-secondary:hover {
    background: #F3EDE4;
    color: #1C1917;
    border-color: #C4A35A;
}

.stb-page .cart-btn-danger {
    border-color: #7A1F2B;
    color: #7A1F2B;
    border-radius: 999px;
}

.stb-page .cart-btn-danger:hover {
    background: #7A1F2B;
    color: #fff;
}

.stb-page .cart-items-panel,
.stb-page .summary-card,
.stb-page .vat-card,
.stb-page .checkout-card {
    background: #fff;
    border: 1px solid #E8E0D4;
    border-radius: 14px;
    overflow: hidden;
}

.stb-page .cart-panel-heading,
.stb-page .summary-heading,
.stb-page .vat-heading,
.stb-page .checkout-card-heading {
    background: #FAF7F2;
    border-bottom: 1px solid #E8E0D4;
    color: #1C1917;
}

.stb-page .summary-heading h2 {
    font-family: 'Cormorant Garamond', serif;
    color: #1C1917;
}

.stb-page .cart-item.out-stock-item {
    background: #F8EEEF;
}

.stb-page .cart-product-image,
.stb-page .cart-mini-img {
    border-color: #E8E0D4;
    background: #FAF7F2;
}

.stb-page .cart-product-name {
    color: #1C1917;
}

.stb-page .cart-product-name:hover {
    color: #7A1F2B;
}

.stb-page .cart-unit-price,
.stb-page .cart-details-total strong,
.stb-page .summary-total-price,
.stb-page .summary-total .text-danger {
    color: #7A1F2B !important;
}

.stb-page .cart-qty-control {
    border-color: #E8E0D4;
    border-radius: 8px;
}

.stb-page .cart-qty-update {
    background: #7A1F2B;
    border-radius: 8px;
}

.stb-page .cart-qty-update:hover {
    background: #4E1218;
}

.stb-page .cart-remove {
    border-color: #7A1F2B;
    color: #7A1F2B;
}

.stb-page .cart-remove:hover {
    background: #7A1F2B;
    color: #fff;
}

.stb-page .promo-control input,
.stb-page .form-control,
.stb-page .form-select {
    border-color: #E8E0D4;
    border-radius: 10px;
}

.stb-page .promo-control input:focus,
.stb-page .form-control:focus,
.stb-page .form-select:focus {
    border-color: #C4A35A;
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.18);
}

.stb-page .promo-control button {
    background: #C4A35A;
    color: #161210;
    border-radius: 10px;
    font-weight: 700;
}

.stb-page .promo-control button:hover {
    background: #D4BC7D;
    color: #161210;
}

.stb-page .delivery-box,
.stb-page .address-box,
.stb-page .payment-terms-box {
    background: #FAF7F2;
    border: 1px solid #E8E0D4;
    border-radius: 10px;
}

.stb-page .summary-line.discount {
    color: #7A1F2B;
}

.stb-page .checkout-btn,
.stb-page .place-order-btn {
    background: #7A1F2B;
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.stb-page .checkout-btn:hover,
.stb-page .place-order-btn:hover {
    background: #4E1218;
    color: #fff;
    transform: none;
}

.stb-page .adjust-basket-btn {
    background: #C4A35A;
    color: #161210;
    border-radius: 999px;
}

.stb-page .adjust-basket-btn:hover {
    background: #D4BC7D;
    color: #161210;
    transform: none;
}

.stb-page .empty-cart-icon {
    background: #F3EDE4;
    color: #7A1F2B;
}

.stb-page .empty-cart a {
    background: #7A1F2B;
    border-radius: 999px;
}

.stb-page .empty-cart a:hover {
    background: #4E1218;
    color: #fff;
}

.stb-page .vat-table th,
.stb-page .summary-vat-table th {
    background: #FAF7F2;
    color: #6B6560;
}

.stb-page .badge.bg-dark {
    background: #161210 !important;
}

/* ---------- Confirmation ---------- */

.confirm-page {
    padding: 70px 0 90px;
    min-height: 520px;
}

.confirm-card {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #E8E0D4;
    border-radius: 18px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(28, 25, 23, 0.08);
}

.confirm-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #F3EDE4;
    color: #7A1F2B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.confirm-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #C4A35A;
    margin-bottom: 10px;
}

.confirm-title {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.confirm-copy {
    color: #6B6560;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.confirm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.confirm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.confirm-btn-primary {
    background: #7A1F2B;
    color: #fff;
}

.confirm-btn-primary:hover {
    background: #4E1218;
    color: #fff;
}

.confirm-btn-ghost {
    background: #fff;
    color: #1C1917;
    border: 1px solid #E8E0D4;
}

.confirm-btn-ghost:hover {
    border-color: #C4A35A;
    color: #1C1917;
}

@media (max-width: 576px) {
    .confirm-card {
        padding: 36px 22px;
    }

    .confirm-title {
        font-size: 1.85rem;
    }
}
