/* =========================================================
   A Company of Thieves - Merchandise Page Styles
   ========================================================= */

:root {
    --gold: #d0b13f;
    --gold-bright: #f3d463;
    --gold-dim: rgba(208, 177, 63, 0.3);
    --gold-glow: rgba(208, 177, 63, 0.4);
    --dark-surface: rgba(20, 20, 20, 0.85);
}

.merch-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../images/westpoint.png');
    background-size: cover;
    background-position: center;
    padding: 4.5rem 2rem 3rem 2rem;
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

.merch-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 0.8rem;
    color: #fff;
    text-shadow: 2px 2px 10px #000;
}

.merch-hero p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Category Filters */
.merch-filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: 2.5rem 0 1.5rem 0;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.filter-btn {
    background: rgba(0, 0, 0, 0.6);
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1.4rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: #fff;
    border-color: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
}

.filter-btn.active {
    background: rgba(208, 177, 63, 0.2);
    color: var(--gold-bright);
    border-color: var(--gold);
    font-weight: bold;
    box-shadow: 0 0 12px var(--gold-glow);
}

/* Products Grid */
.merch-container {
    max-width: 1200px;
    margin: 0 auto 5rem auto;
    padding: 0 1.5rem;
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Product Card */
.merch-card {
    background: var(--dark-surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold-dim);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.merch-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 18px var(--gold-glow);
}

.merch-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.merch-badge.limited {
    background: rgba(208, 177, 63, 0.9);
    color: #000;
}

.merch-img-wrap {
    height: 260px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.merch-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.merch-card:hover .merch-img-wrap img {
    transform: scale(1.05);
}

.merch-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.merch-title {
    font-size: 1.25rem;
    color: #fff;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.merch-desc {
    font-size: 0.9rem;
    color: #bbb;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    flex: 1;
}

.merch-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.merch-price {
    font-size: 1.35rem;
    color: var(--gold-bright);
    font-weight: bold;
}

.merch-fulfillment {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.merch-btn-order {
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 0.85rem 1.2rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.merch-btn-order:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--gold-glow);
}

/* Guarantee Section */
.merch-guarantee-banner {
    background: rgba(208, 177, 63, 0.05);
    border: 1px solid var(--gold-dim);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    text-align: center;
}

.guarantee-item h4 {
    color: var(--gold);
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.guarantee-item p {
    color: #aaa;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .merch-hero h1 {
        font-size: 2.2rem;
    }
    .merch-grid {
        grid-template-columns: 1fr;
    }
}
