/* ================================================
   DragonHEART - Catalog Page Styles
   ================================================ */

/* Catalog Hero Banner */
.catalog-hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000000;
}

.catalog-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.catalog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

.catalog-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.catalog-title {
    font-family: 'Cinzel', serif;
    font-size: 56px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.catalog-description {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    line-height: 2;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto;
    letter-spacing: 1px;
}

/* Filter Bar */
.filter-bar {
    background-color: #000000;
    padding: 0;
}

.filter-bar-line {
    height: 1px;
    background-color: #333333;
    width: 100%;
}

.filter-bar-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-left,
.filter-center {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #888888;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.filter-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 10px;
    border: 1px solid #333333;
    transition: 0.3s ease;
}

.filter-dropdown:hover {
    border-color: #7d66d9;
}

.filter-dropdown span {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #ffffff;
}

.filter-dropdown svg {
    color: #888888;
}

.filter-right {
    display: flex;
    align-items: center;
}

.product-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #888888;
    letter-spacing: 1px;
}

/* Catalog Products */
.catalog-products {
    background-color: #000000;
    padding: 50px 0 100px;
    min-height: 800px;
}

.catalog-products .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px 30px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.catalog-products .product-card {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.catalog-products .product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 18px;
    background-color: #0a0a0a;
}

.catalog-products .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}

.catalog-products .product-image:hover img {
    transform: scale(1.03);
    opacity: 0.9;
}

.catalog-products .product-info {
    padding: 0;
}

.catalog-products .product-title {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.5;
    text-align: left;
}

.catalog-products .product-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #cccccc;
    text-align: left;
}

.catalog-products .product-price.sold-out {
    color: #888888;
}

/* SOLD OUT Tag - 透明背景白色边框样式 */
.catalog-products .product-tag.sold-out {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 2;
}

/* ================================================
   Responsive Design - Catalog Page
   ================================================ */

@media (max-width: 1400px) {
    .catalog-products .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px 25px;
        padding: 0 35px;
    }
}

@media (max-width: 1200px) {
    .catalog-products .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 25px;
        padding: 0 30px;
    }

    .filter-bar-content {
        padding: 15px 30px;
    }
}

@media (max-width: 992px) {
    .catalog-hero {
        height: 380px;
    }

    .catalog-title {
        font-size: 42px;
        letter-spacing: 6px;
    }

    .catalog-description {
        font-size: 14px;
    }

    .catalog-products .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px 20px;
        padding: 0 25px;
    }

    .catalog-products .product-title {
        font-size: 12px;
    }

    .filter-bar-content {
        padding: 15px 25px;
    }
}

@media (max-width: 768px) {
    .catalog-hero {
        height: 320px;
    }

    .catalog-title {
        font-size: 34px;
        margin-bottom: 20px;
        letter-spacing: 4px;
    }

    .catalog-description {
        font-size: 13px;
        line-height: 1.8;
    }

    .catalog-products {
        padding: 40px 0 80px;
    }

    .catalog-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
        padding: 0 20px;
    }

    .catalog-products .product-title {
        font-size: 11px;
    }

    .catalog-products .product-price {
        font-size: 12px;
    }

    .filter-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px 20px;
    }

    .filter-left,
    .filter-center {
        width: 100%;
    }

    .filter-right {
        width: 100%;
        justify-content: flex-end;
    }

    .filter-dropdown {
        flex: 1;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .catalog-hero {
        height: 280px;
    }

    .catalog-title {
        font-size: 28px;
        margin-bottom: 18px;
        letter-spacing: 3px;
    }

    .catalog-description {
        font-size: 12px;
        line-height: 1.7;
    }

    .catalog-products {
        padding: 30px 0 60px;
    }

    .catalog-products .products-grid {
        gap: 18px 12px;
        padding: 0 15px;
    }

    .catalog-products .product-tag.sold-out {
        top: 8px;
        left: 8px;
        font-size: 9px;
        padding: 3px 8px;
    }

    .filter-label {
        font-size: 10px;
    }

    .filter-dropdown span {
        font-size: 11px;
    }
}
