/* ==========================================================================
   MERCHANDISE STORE GRID LAYOUT
   ========================================================================== */
.store-header {
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
}

.store-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 12px;
}

.store-header p {
    font-size: 16px;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

.track-order-btn {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #159C33;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    border: 2px solid #159C33;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.track-order-btn:hover {
    background: #159C33;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(21, 156, 51, 0.2);
}

.track-order-btn i {
    font-size: 16px;
}

.store-section {
    background-color: #ffffff;
    padding-bottom: 80px;
    font-family: 'Montserrat', sans-serif;
}

.outlands-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Filters --- */
.store-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    width: 100%;
}

.filter-btn {
    padding: 10px 24px;
    background: #fff;
    border: 1px solid #cbd5e0;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-btn:hover {
    border-color: #159C33;
    color: #159C33;
}

.filter-btn.active {
    background: #159C33;
    color: #fff;
    border-color: #159C33;
}

/* --- Grid --- */
.store-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin-bottom: 50px;
}

.merch-card {
    width: 100%;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.merch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #159C33;
}

.m-card-img {
    height: 250px;
    background: #f8fafc;
    overflow: hidden;
    width: 100%;
}

.m-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.m-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.m-category {
    font-size: 11px;
    font-weight: 700;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.m-card-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s;
}

.merch-card:hover .m-card-body h4 {
    color: #159C33;
}

.m-card-desc {
    font-size: 13px;
    color: #718096;
    margin-bottom: 16px;
    line-height: 1.5;
}

.m-card-price {
    font-size: 18px;
    font-weight: 800;
    color: #159C33;
    margin-top: auto;
}

/* --- Pagination --- */
.store-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
}

.page-btn:hover:not(.disabled) {
    border-color: #159C33;
    color: #159C33;
}

.page-btn.active {
    background: #159C33;
    color: #fff;
    border-color: #159C33;
}

.page-btn.disabled {
    background: #f8fafc;
    color: #cbd5e0;
    cursor: not-allowed;
    border-color: #f1f5f9;
}

/* ==========================================================================
   RESPONSIVE LAYOUT
   ========================================================================== */
@media (max-width: 1024px) {
    .store-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .store-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}