/*
===============================================================================
BIG TEXAN D2C - PRODUCTS PAGE STYLES
===============================================================================
Styles specific to the all products page (pages/products.html)
Establishes grid patterns for other pages to follow.
===============================================================================
*/

/* =============================================================================
   P0 ENHANCEMENTS - Shop All Steaks (2026-05-03)
   P0-1: Products hero, P0-2: Category tiles, P0-3: Trust credential bar
   ============================================================================= */

/* --- P0-1: PRODUCTS HERO --- */
.products-hero {
    min-height: 320px;
}
.products-hero .page-hero__bg img {
    object-position: 68% 62%;
    opacity: 0.95;
    filter: brightness(0.9) contrast(1.12) saturate(1.1);
}
.products-hero .page-hero__overlay {
    background: linear-gradient(
        180deg,
        rgba(26, 0, 5, 0.42) 0%,
        rgba(26, 0, 5, 0.45) 42%,
        rgba(26, 0, 5, 0.78) 78%,
        rgba(26, 0, 5, 0.95) 100%
    );
}
.products-hero .page-hero__inner {
    padding: 2.5rem 0;
}
.products-hero .page-hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
}
.products-hero__neon-word {
    color: var(--texan-yellow);
    text-shadow:
        0 0 10px var(--texan-yellow),
        0 0 30px var(--texan-yellow),
        0 0 60px rgba(255, 210, 0, 0.4),
        0 0 100px rgba(255, 210, 0, 0.2);
}
.products-hero .page-hero__lede {
    font-size: var(--text-lg);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* --- P0-2: CATEGORY SHORTCUT TILES --- */
.products-category-nav {
    padding: 2.5rem 0;
}

.products-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.products-cat-tile {
    display: flex;
    flex-direction: column;
    background: #2a0008;
    border: 1px solid rgba(255, 210, 0, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
    cursor: pointer;
}

.products-cat-tile:hover {
    border-color: rgba(255, 210, 0, 0.35);
    box-shadow: 0 0 20px rgba(255, 210, 0, 0.08);
    transform: translateY(-3px);
}

.products-cat-tile--featured {
    border-color: rgba(255, 210, 0, 0.2);
}

.products-cat-tile--featured:hover {
    border-color: var(--texan-yellow);
    box-shadow: 0 0 25px rgba(255, 210, 0, 0.15);
}

.products-cat-tile__img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #1a0005;
}

.products-cat-tile__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.products-cat-tile:hover .products-cat-tile__img img {
    transform: scale(1.06);
}

.products-cat-tile__body {
    padding: 0.875rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.products-cat-tile__title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    color: var(--brand-cream);
    line-height: 1.2;
}

.products-cat-tile--featured .products-cat-tile__title {
    color: var(--texan-yellow);
}

.products-cat-tile__sub {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    line-height: 1.4;
}

/* --- P0-3: TRUST CREDENTIAL BAR --- */
.products-trust-bar {
    background: var(--brand-maroon);
    border-top: 1px solid rgba(255, 210, 0, 0.15);
    border-bottom: 1px solid rgba(255, 210, 0, 0.15);
    position: relative;
}

.products-trust-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(255, 210, 0, 0.03) 0%,
        transparent 20%,
        transparent 80%,
        rgba(255, 210, 0, 0.03) 100%);
    pointer-events: none;
}

.products-trust-track {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

.products-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 28px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-cream);
    white-space: nowrap;
    border-right: 1px solid rgba(255, 210, 0, 0.1);
    flex: 1;
    justify-content: center;
}

.products-trust-item:last-child {
    border-right: none;
}

.products-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--texan-yellow);
    flex-shrink: 0;
}

.products-trust-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* --- CHOOSE YOUR BOX GUIDE --- */
.products-choice-guide {
    background: #180006;
    border-bottom: 1px solid rgba(255, 210, 0, 0.12);
    padding: 2.25rem 0;
}

.products-choice-header {
    max-width: 720px;
    margin-bottom: 1.25rem;
}

.products-choice-eyebrow,
.products-choice-kicker,
.product-card-contents-label {
    display: inline-block;
    color: var(--texan-yellow);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.products-choice-header h2,
.products-shipping-copy h2 {
    color: var(--brand-cream);
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    line-height: 1.42;
    margin: 0.35rem 0 0.5rem;
    overflow: visible;
}

.products-choice-header p,
.products-shipping-copy p {
    color: rgba(255, 248, 236, 0.78);
    font-size: var(--text-base);
    line-height: 1.55;
    margin: 0;
}

.products-choice-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.products-choice-card {
    display: flex;
    min-height: 9rem;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.1rem;
    color: var(--brand-cream);
    text-decoration: none;
    background: rgba(255, 248, 236, 0.055);
    border: 1px solid rgba(255, 210, 0, 0.16);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-base), background var(--transition-base), transform var(--transition-base);
}

.products-choice-card:hover {
    background: rgba(255, 210, 0, 0.08);
    border-color: rgba(255, 210, 0, 0.42);
    transform: translateY(-2px);
}

.products-choice-card strong {
    color: var(--brand-cream);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    line-height: 1.42;
    overflow: visible;
}

.products-choice-card span:last-child {
    color: rgba(255, 248, 236, 0.74);
    font-size: var(--text-sm);
    line-height: 1.45;
}

/* --- SORT ROW (slim strip above grid) --- */
.products-sort-row {
    background: #2a0008;
    border-bottom: 1px solid rgba(255, 210, 0, 0.08);
    padding: 0.75rem 0;
}

.products-sort-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* --- RESPONSIVE: P0 sections --- */
@media (max-width: 1024px) {
    .products-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .products-cat-tile:nth-child(4),
    .products-cat-tile:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .products-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .products-cat-tile:last-child {
        grid-column: 1 / -1;
    }
    .products-trust-item {
        padding: 14px 16px;
        font-size: 0.7rem;
        letter-spacing: 0.05em;
    }
    .products-hero .page-hero__title {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 480px) {
    .products-category-grid {
        grid-template-columns: 1fr 1fr;
    }
    .products-cat-tile:last-child {
        grid-column: 1 / -1;
    }
    .products-trust-track {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .products-trust-item {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 210, 0, 0.08);
        padding: 12px 12px;
        justify-content: center;
        text-align: center;
        white-space: normal;
        line-height: 1.35;
    }
    .products-trust-item:nth-child(3),
    .products-trust-item:nth-child(4) {
        border-bottom: none;
    }
}

/* --- PAGE HEADER --- */
.page-header {
    text-align: center;
    padding: 2rem 0 1.5rem;
    background: var(--bg-surface);
    border-bottom: var(--border-light);
}

.page-title {
    font-size: var(--text-4xl);
    color: var(--brand-maroon);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- FILTER/SORT BAR --- */
.filter-bar {
    background: var(--bg-surface);
    padding: 1rem 0;
    border-bottom: var(--border-light);
    position: relative;
    z-index: 1;
}

.filter-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group,
.sort-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label,
.sort-group label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.filter-group select,
.sort-group select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: var(--text-sm);
    border: var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-core) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b524d' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
    appearance: none;
    cursor: pointer;
    min-width: 120px;
}

.filter-group select:focus,
.sort-group select:focus {
    outline: none;
    border-color: var(--brand-maroon-soft);
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.product-count {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* --- PRODUCTS SECTION --- */
.products-section {
    padding: var(--section-spacing) 0;
}

/* --- PRODUCT GRID (Enhanced from components.css) --- */
.products-section .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* --- PRODUCT CARD (Enhanced for this page) --- */
.products-section .product-card {
    position: relative;
    background: linear-gradient(145deg, #200008, #150004);
    border: 1px solid rgba(255, 210, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.4s ease;
}

.products-section .product-card:hover {
    border-color: rgba(255, 210, 0, 0.3);
    transform: translateY(-6px);
    box-shadow:
        0 0 20px rgba(255, 210, 0, 0.08),
        0 15px 40px rgba(0, 0, 0, 0.4);
}

.product-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.products-section .product-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #0f0003;
}

.products-section .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) saturate(0.9);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.products-section .product-card:hover .product-card-image img {
    transform: scale(1.06);
    filter: brightness(1) saturate(1);
}

.products-section .product-card-image::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 60%;
    background: linear-gradient(transparent, #200008);
    pointer-events: none;
}

/* Product Badges */
.products-section .product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--texan-yellow);
    color: #1a0005;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 210, 0, 0.3);
    z-index: 2;
}

.products-section .product-badge.legendary {
    background: var(--brand-maroon);
    color: var(--texan-yellow);
}

.products-section .product-badge.beast {
    background: #1a1a1a;
    color: var(--texan-yellow);
}

/* Product Card Content */
.products-section .product-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 24px 24px;
}

.products-section .product-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--brand-cream);
    margin: 0 0 8px;
    line-height: 1.45;
    overflow: visible;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.product-rating .stars {
    color: var(--texan-yellow);
    font-size: var(--text-sm);
    letter-spacing: -1px;
}

.product-rating .rating-count {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.products-section .product-card-description {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--brand-cream);
    opacity: 0.6;
    margin: 0 0 16px;
    line-height: 1.5;
}

.products-section .product-card-contents {
    margin: 0.9rem 0 1rem;
    padding: 0.85rem 0;
    min-height: 7.4rem;
    border-top: 1px solid rgba(255, 210, 0, 0.1);
    border-bottom: 1px solid rgba(255, 210, 0, 0.1);
}

.products-section .product-card-contents ul {
    display: grid;
    gap: 0.25rem;
    margin: 0.45rem 0 0;
    padding: 0;
    list-style: none;
}

.products-section .product-card-contents li {
    position: relative;
    padding-left: 0.85rem;
    color: var(--text-secondary);
    font-size: var(--text-xs);
    line-height: 1.35;
}

.products-section .product-card-contents li::before {
    content: "";
    position: absolute;
    top: 0.48em;
    left: 0;
    width: 0.32rem;
    height: 0.32rem;
    background: var(--texan-yellow);
    border-radius: 50%;
}

.products-section .product-card-contents p {
    color: var(--text-secondary);
    font-size: var(--text-xs);
    line-height: 1.4;
    margin: 0.45rem 0 0;
}

.products-section .product-card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.85rem;
}

.products-section .product-card-facts span {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(255, 210, 0, 0.18);
    border-radius: 999px;
    color: var(--text-secondary);
    background: rgba(255, 210, 0, 0.055);
    font-size: var(--text-xs);
    line-height: 1.2;
}

.product-serves {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.products-section .product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0;
    border-top: 0;
}

.products-section .product-card-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--texan-yellow);
    text-shadow: 0 0 8px rgba(255, 210, 0, 0.3);
    min-width: 0;
}

.products-section .product-card-price[data-shopforge-price-state="discounted"] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    line-height: 1.05;
}

.products-section .product-card-price[data-shopforge-price-state="discounted"] .sf-sub-price-discounted {
    order: 1;
    color: var(--texan-yellow);
    font-size: var(--text-xl);
}

.products-section .product-card-price[data-shopforge-price-state="discounted"] .sf-sub-price-original {
    order: 2;
    margin-right: 0;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.1;
}

.products-section .product-card-price[data-shopforge-price-state="subscription-renewal-discount"] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    line-height: 1.05;
}

.products-section .product-card-price[data-shopforge-price-state="subscription-renewal-discount"] .sf-sub-price-renewal {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem;
    color: rgba(255, 210, 0, 0.82);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 800;
    line-height: 1.18;
    text-shadow: none;
}

.products-section .product-card-price[data-shopforge-price-state="subscription-renewal-discount"] .sf-sub-price-renewal-label,
.products-section .product-card-price[data-shopforge-price-state="subscription-renewal-discount"] .sf-sub-price-renewal-first {
    color: rgba(250, 243, 224, 0.68);
}

.products-section .product-card-price[data-shopforge-price-state="subscription-renewal-discount"] .sf-sub-price-renewal-original {
    color: rgba(250, 243, 224, 0.48);
    text-decoration: line-through;
}

.products-section .product-card-price[data-shopforge-price-state="subscription-renewal-discount"] .sf-sub-price-renewal-discount {
    color: var(--texan-yellow);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--text-sm);
}

.products-section .product-card-footer .btn {
    flex: 0 0 auto;
    min-width: 9.2rem;
    max-width: 100%;
    padding: 10px 20px;
    border: 1px solid var(--texan-yellow);
    background: transparent;
    color: var(--texan-yellow);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    box-shadow: none;
    transition: all 0.3s ease;
}

.products-section .product-card-footer .btn:hover {
    background: var(--texan-yellow);
    color: #1a0005;
    box-shadow: 0 0 15px rgba(255, 210, 0, 0.3);
}

.product-notify-drawer {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(10, 0, 3, 0.72);
}

.product-notify-drawer[hidden] {
    display: none;
}

.product-notify-card {
    position: relative;
    width: min(100%, 32rem);
    padding: 1.5rem;
    border: 1px solid rgba(255, 210, 0, 0.32);
    border-radius: var(--radius-md);
    background: #2b0008;
    color: var(--brand-cream);
    box-shadow: var(--shadow-lg);
}

.product-notify-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--brand-cream);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.product-notify-kicker {
    color: var(--texan-yellow);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-notify-card h2 {
    margin: 0.35rem 2rem 0.5rem 0;
    color: var(--brand-cream);
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
}

.product-notify-card p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.product-notify-form {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-notify-form input {
    flex: 1;
    min-width: 0;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    font: inherit;
}

.product-notify-status {
    min-height: 1.2em;
    margin: 0.75rem 0 0;
    font-size: var(--text-sm);
}

.product-notify-status--success {
    color: var(--texan-yellow);
}

.product-notify-status--error {
    color: #ffb3b3;
}

/* --- SHIPPING CONFIDENCE BAND --- */
.products-shipping-guide {
    background: #200008;
    padding: 0 0 var(--section-spacing);
}

.products-shipping-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr);
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 248, 236, 0.08), rgba(255, 210, 0, 0.035));
    border: 1px solid rgba(255, 210, 0, 0.18);
    border-radius: var(--radius-md);
}

.products-shipping-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.products-shipping-step {
    min-height: 7.25rem;
    padding: 1rem;
    background: rgba(42, 0, 8, 0.62);
    border: 1px solid rgba(255, 210, 0, 0.14);
    border-radius: var(--radius-sm);
}

.products-shipping-step strong {
    display: block;
    color: var(--brand-cream);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    margin-bottom: 0.35rem;
}

.products-shipping-step span {
    color: rgba(255, 248, 236, 0.74);
    font-size: var(--text-sm);
    line-height: 1.45;
}

/* --- EMAIL SECTION --- */
.email-section {
    background: var(--brand-warm);
    padding: var(--section-spacing) 0;
    text-align: center;
}

.email-content {
    max-width: 600px;
    margin: 0 auto;
}

.email-title {
    font-size: var(--text-3xl);
    color: var(--brand-maroon);
    margin-bottom: 0.5rem;
}

.email-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.email-form {
    display: flex;
    gap: 0.5rem;
    max-width: 450px;
    margin: 0 auto;
}

.email-form input {
    flex: 1;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .filter-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .sort-controls {
        width: 100%;
        justify-content: space-between;
    }

    .products-choice-grid,
    .products-shipping-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 768px) {
    .page-title {
        font-size: var(--text-3xl);
    }

    .filters {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select {
        flex: 1;
    }

    .products-section .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.5rem;
    }

    .products-choice-guide {
        padding: 1.75rem 0;
    }

    .products-choice-grid,
    .products-shipping-steps {
        grid-template-columns: 1fr;
    }

    .products-shipping-panel {
        padding: 1.35rem;
    }

    .email-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .products-section .product-grid {
        grid-template-columns: 1fr;
    }

    .products-section .product-card-footer {
        flex-direction: column;
        gap: 0.75rem;
    }

    .products-section .product-card-footer .btn {
        width: 100%;
    }

    .product-notify-form {
        flex-direction: column;
    }

    .products-sort-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .sort-controls,
    .sort-group {
        width: 100%;
    }

    .sort-group {
        justify-content: space-between;
    }

    .sort-group select {
        min-width: 0;
        width: min(100%, 14rem);
    }
}

/* --- ShopForge live-load states --- */
.products-loading,
.products-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.products-loading-text {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--brand-maroon);
    margin: 0 0 0.5rem;
}

.products-empty-text {
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

.filter-coming-soon {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.1rem 0.45rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--texan-yellow, #ffd200);
    color: var(--brand-maroon, #2a0008);
    border-radius: 999px;
    vertical-align: middle;
}

.filter-group select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
