.merch-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}
.merch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
}
.cart-btn {
    position: relative;
    font-size: 1.2em;
    cursor: pointer;
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-primary);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
}
.product-image {
    height: 250px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.product-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-name {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 5px;
}
.product-desc {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-bottom: 15px;
    flex-grow: 1;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.product-price {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-primary);
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: flex-end;
}
.cart-modal.active {
    display: flex;
}
.cart-drawer {
    width: 400px;
    max-width: 100%;
    background: var(--bg-card);
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease-out;
    box-sizing: border-box;
}
@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    margin: 20px 0;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}
.cart-total {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}
