/* ============================================================
   CATALOG PAGE STYLES
   ============================================================ */

:root {
    --w-column:   200px;

    /* Mint family */
    --mint:       #2dd4bf;
    --mint-lt:    #ccfbef;
    --mint-dark:  #0d9488;

    /* Teal */
    --teal:       #14b8a6;
    --teal-lt:    #e0fdf4;

    /* Cyan */
    --cyan:       #22d3ee;
    --cyan-lt:    #ecfeff;

    /* Emerald */
    --emerald:    #34d399;
    --emerald-lt: #d1fae5;

    /* Coral */
    --coral:      #fb7185;
    --coral-lt:   #ffe4e6;

    /* Amber */
    --amber:      #fbbf24;
    --amber-lt:   #fef9c3;

    /* Neutrals */
    --ink:        #0f2420;
    --ink-2:      #1e3a35;
    --muted:      #5f7472;
    --muted-lt:   #92aaa7;
    --surface:    #f7fffe;
    --white:      #ffffff;
    --border:     #d1f5ee;

    /* Radius scale */
    --radius-sm:  1rem;
    --radius:     1.5rem;
    --radius-lg:  2.5rem;
}

/* CATALOG HERO SECTION */
.catalog-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f7fffe 0%, rgba(45, 212, 191, 0.08) 100%);
    margin-top: 60px;
    border-bottom: 1px solid rgba(45, 212, 191, 0.1);
}

.catalog-hero .container {
    width: min(1200px, 90vw);
    margin: auto;
}

.catalog-hero .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 24px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 184, 166, 0.12);
    color: var(--ink);
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.95rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, max-content));
    gap: 16px 24px;
    margin-top: 30px;
}

.hero-stats div {
    background: rgba(52, 211, 153, 0.12);
    padding: 14px 18px;
    border-radius: 16px;
    color: var(--ink-2);
    font-size: 0.95rem;
    font-weight: 600;
}

.catalog-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-card {
    position: relative;
    width: min(100%, 100%);
    max-width: 520px;
}

.hero-image-card img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(20, 184, 166, 0.12);
}

.hero-image-tag {
    position: absolute;
    bottom: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 36, 32, 0.85);
    color: #fff;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 0.95rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.catalog-hero h1 {
    font-family: 'League Gothic', sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--ink);
}

.catalog-hero p {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 30px;
}

.catalog-hero .hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.catalog-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.catalog-media img {
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.15);
}

/* FOOTWEAR SECTION - CATALOG VIEW */
.catalog-page .footwear {
    background: var(--white);
    padding: 80px 0;
}

.catalog-page .container {
    width: min(1200px, 90vw);
    margin: auto;
}

.footwear-flex {
    display: flex;
    gap: 40px;
}

/* FILTER PANEL */
.filter-panel {
    width: 280px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(245, 250, 250, 0.9) 0%, rgba(240, 249, 250, 0.9) 100%);
    border: 1.5px solid rgba(45, 212, 191, 0.15);
    padding: 30px;
    border-radius: 20px;
    height: fit-content;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.filter-panel h3 {
    font-family: 'League Gothic', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.filter-group {
    margin-bottom: 28px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(45, 212, 191, 0.1);
}

.filter-group:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.filter-group h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--ink-2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-group input[type="range"] {
    width: 100%;
    margin: 12px 0;
    accent-color: var(--teal);
    cursor: pointer;
}

.filter-group label {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 0.95rem;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

.filter-group label:hover {
    color: var(--ink);
}

.filter-group label input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--teal);
    cursor: pointer;
}

.filter-group p {
    color: var(--teal);
    font-weight: 600;
    margin-top: 10px;
    font-size: 1rem;
}

/* PRODUCT GRID */
.footwear-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border: 1.5px solid rgba(45, 212, 191, 0.12);
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(45, 212, 191, 0.35);
    box-shadow: 0 20px 50px rgba(45, 212, 191, 0.12);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(245, 250, 250, 0.8) 0%, rgba(240, 249, 250, 0.8) 100%);
    padding: 10px;
}

.product-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.4;
}

.product-card p {
    color: var(--muted);
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(45, 212, 191, 0.08);
    flex-wrap: wrap;
}

.product-meta span {
    font-size: 0.85rem;
    color: var(--teal);
    font-weight: 600;
    background: rgba(45, 212, 191, 0.08);
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 16px;
}

.product-actions a {
    flex: 1 1 140px;
    min-width: 140px;
}

.product-actions .btn-detail,
.product-actions .btn-tryon {
    width: 100%;
}

/* Detail button */
.btn-detail {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-detail:hover {
    background: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

/* Try-On button */
.btn-tryon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    color: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-tryon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 211, 153, 0.35);
}

/* PAGINATION / EMPTY STATE */
.empty-grid {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 30px;
    color: var(--muted);
}

.empty-grid i {
    font-size: 3rem;
    color: rgba(45, 212, 191, 0.3);
    margin-bottom: 15px;
    display: block;
}

.empty-grid p {
    font-size: 1.1rem;
}

/* RESPONSIVE */
@media screen and (max-width: 1200px) {
    .footwear-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 25px;
    }
}

@media screen and (max-width: 1023px) {
    .catalog-hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }

    .catalog-hero h1 {
        font-size: 2.3rem;
    }

    .footwear-flex {
        flex-direction: column;
        gap: 40px;
    }

    .filter-panel {
        width: 100%;
        position: relative;
        top: auto;
        max-height: none;
    }

    .footwear-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .catalog-media img {
        max-width: 350px;
    }
}

@media screen and (max-width: 767px) {
    .catalog-hero {
        padding: 120px 0 60px;
    }

    .catalog-hero .hero-grid {
        gap: 30px;
    }

    .catalog-media {
        order: -1;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .catalog-hero h1 {
        font-size: 1.8rem;
    }

    .catalog-hero p {
        font-size: 0.95rem;
    }

    .catalog-hero .hero-actions {
        flex-direction: column;
    }

    .catalog-hero .hero-actions a {
        width: 100%;
        text-align: center;
    }

    .filter-panel {
        padding: 20px;
    }

    .filter-panel h3 {
        font-size: 1.4rem;
    }

    .filter-group {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .footwear-grid {
        gap: 15px;
    }

    .product-card {
        padding: 15px;
    }

    .product-card img {
        height: 150px;
        margin-bottom: 12px;
    }

    .product-card h4 {
        font-size: 0.95rem;
    }

    .product-meta {
        flex-direction: column;
    }

    .product-meta span {
        width: 100%;
        font-size: 0.8rem;
    }

    .catalog-media img {
        max-width: 300px;
    }
}
