/* ============================================
   SPORTSWEAR PAGE – SPECIFIC STYLES
=========================================== */

:root {
    --ikak-red: #E30613;
    --ikak-red-dark: #B4050F;
    --ikak-border: #ECECEC;
    --ikak-text: #1A1A1A;
    --ikak-text-muted: #6B7280;
    --ikak-gray-bg: #F5F5F5;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --radius-sm: 6px;
    --radius-md: 10px;
}

/* ---------- Hero ---------- */
.category-hero {
    background: #fff;
    border-bottom: 1px solid var(--ikak-border);
    padding: 46px 0;
}
.category-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.category-hero-title {
    font-size: 64px;
    font-weight: 800;
    color: var(--ikak-red);
    letter-spacing: 1px;
    line-height: 1;
    margin: 0 0 14px;
}
.category-hero-subtitle {
    font-size: 15px;
    color: var(--ikak-text-muted);
    margin: 0;
    max-width: 420px;
}

.category-hero-visual {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

/* ---------- Feature strip ---------- */
.category-feature-strip {
    background: #fff;
    border-bottom: 1px solid var(--ikak-border);
    padding: 22px 0;
}
.category-feature-strip-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}
.category-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.category-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ikak-red);
    font-size: 16px;
    flex-shrink: 0;
}
.category-feature-copy { display: flex; flex-direction: column; }
.category-feature-copy strong {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ikak-text);
}
.category-feature-copy small {
    font-size: 11px;
    color: var(--ikak-text-muted);
}

/* ---------- Sidebar ---------- */
.category-sidebar {
    position: sticky;
    top: 96px;
    background: #fff;
    border: 1px solid var(--ikak-border);
    border-radius: var(--radius-md);
    padding: 20px;
}
.filter-toggle-btn {
    width: 100%;
    background: var(--ikak-red);
    color: #fff;
    border: none;
    padding: 12px;
    text-align: left;
    font-weight: bold;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}
.filter-block { margin-bottom: 20px; border-bottom: 1px solid var(--ikak-border); padding-bottom: 15px; }
.filter-block:last-child { border-bottom: none; padding-bottom: 0; }
.filter-block-title { font-size: 14px; font-weight: bold; margin-bottom: 10px; text-transform: uppercase; }

.price-slider { width: 100%; height: 4px; background: #ccc; position: relative; margin: 10px 0; }
.price-slider-track { width: 100%; height: 100%; background: #eee; position: absolute; }
.price-slider-range { position: absolute; height: 100%; background: var(--ikak-red); }

.price-range-input {
    position: absolute;
    width: 100%;
    height: 4px;
    background: none;
    pointer-events: none;
    top: 0;
}
.price-range-input::-webkit-slider-thumb {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--ikak-red);
    cursor: pointer;
    pointer-events: auto;
    -webkit-appearance: none;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.price-range-values {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--ikak-text-muted);
    margin-top: 5px;
}

.category-list label, .size-list label { display: block; margin-bottom: 8px; font-size: 14px; cursor: pointer; }
.category-list input, .size-list input { margin-right: 8px; }

.size-filter-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.size-filter-btn {
    border: 1px solid #ddd;
    background: #fff;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 4px;
}
.size-filter-btn.is-active { border-color: var(--ikak-red); background: #ffeaea; }

.color-filter-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.color-swatch {
    width: 24px; height: 24px; border-radius: 50%; 
    border: 1px solid #ddd; display: inline-block; cursor: pointer;
}
.color-swatch.is-active { outline: 2px solid var(--ikak-red); outline-offset: 2px; }
.color-swatch-bordered { border: 1px solid #ddd !important; }

.reset-filter-btn {
    width: 100%;
    background: var(--ikak-red);
    color: #fff;
    border: none;
    padding: 10px;
    font-weight: bold;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s ease;
}
.reset-filter-btn:hover { background: var(--ikak-red-dark); }

/* ---------- Main Product Grid (5 columns) ---------- */
.category-product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.product-card {
    border: 1px solid var(--ikak-border);
    padding: 0 0 15px 0;
    background: #fff;
    position: relative;
    transition: 0.3s;
    display: flex; flex-direction: column; height: 100%;
}
.product-card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.product-image-wrap {
    position: relative;
    background: #fafafa;
    padding: 10px;
    text-align: center;
    height: 250px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
}
.product-image-wrap img { max-width: 100%; max-height: 100%; }

.product-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--ikak-red);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    text-transform: uppercase;
    border-radius: 2px;
}
.product-info { padding: 10px 15px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: 10px; color: #888; text-transform: uppercase; display: block; margin-bottom: 5px; }
.product-name {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
    flex: 1 1 auto;
}
.product-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.product-price { font-size: 14px; font-weight: bold; color: #333; }
.product-footer-actions { display: flex; gap: 8px; }
.product-footer-actions i { cursor: pointer; font-size: 16px; color: #333; }

/* ---------- Pagination ---------- */
.shop-pagination { display: flex; justify-content: center; gap: 5px; margin: 30px 0; }
.pagination-page, .pagination-arrow {
    border: 1px solid var(--ikak-border);
    background: #fff;
    padding: 5px 12px;
    cursor: pointer;
    text-decoration: none; color: #333;
}
.pagination-page.is-active { background: var(--ikak-red); color: #fff; border-color: var(--ikak-red); }

/* ---------- Promo banners ---------- */
.category-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.category-promo-banner {
    border-radius: var(--radius-md);
    padding: 22px 24px;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    overflow: hidden;
}
.category-promo-banner-red {
    background: linear-gradient(120deg, var(--ikak-red), var(--ikak-red-dark));
    color: #fff;
}
.category-promo-banner-white {
    background: #fff;
    border: 1px solid var(--ikak-red);
}
.category-promo-copy { display: flex; flex-direction: column; gap: 6px; }
.category-promo-copy strong { font-size: 19px; font-weight: 800; }
.category-promo-copy span { font-size: 12.5px; opacity: .9; }
.category-promo-copy-dark { color: var(--ikak-red); }
.category-promo-copy-dark span { color: var(--ikak-text-muted); opacity: 1; }

.category-promo-visual {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #fff; flex-shrink: 0;
}
.category-promo-visual-light {
    background: var(--ikak-gray-bg);
    color: var(--ikak-red);
}

/* ---------- Newsletter ---------- */
.newsletter-section {
    padding: 30px 0;
    background: #fff;
    border-top: 1px solid var(--ikak-border);
}
.newsletter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.newsletter-copy {
    display: flex;
    align-items: center;
    gap: 14px;
}
.newsletter-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--ikak-red);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.newsletter-copy strong { display: block; font-size: 15px; font-weight: 700; }
.newsletter-copy span { display: block; font-size: 12.5px; color: var(--ikak-text-muted); }

.newsletter-form {
    display: flex;
    flex: 1;
    max-width: 520px;
    gap: 10px;
}
.newsletter-input {
    flex: 1;
    border: 1px solid var(--ikak-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 13px;
}
.newsletter-input:focus { outline: none; border-color: var(--ikak-red); }
.newsletter-btn {
    background: var(--ikak-red);
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    padding: 0 26px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: background .2s ease;
}
.newsletter-btn:hover { background: var(--ikak-red-dark); }

/* Responsive */
@media (max-width: 1199.98px) { .category-product-grid { grid-template-columns: repeat(4, 1fr) !important; } }
@media (max-width: 991.98px) { 
    .category-product-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .category-sidebar { display: none; }
}
@media (max-width: 767.98px) { .category-product-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 575.98px) { .category-product-grid { grid-template-columns: repeat(2, 1fr) !important; } }

/* Reset default button styles for Wishlist & Cart icons */
.product-footer-actions button {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 6px !important; /* Gap between the two icons */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333; /* Sets the default icon color to Dark Gray */
}

/* Optional: Hover effect - turns Red when user points mouse */
.product-footer-actions button:hover i {
    color: var(--ikak-red); 
    transition: color 0.2s ease;
}

/* ---------- New Header Design (Matches your screenshot) ---------- */
.sidebar-header {
    background: var(--ikak-red, #E30613); /* Solid Red Background */
    padding: 12px 18px;
    border-radius: var(--radius-sm, 6px) var(--radius-sm, 6px) 0 0; /* Only top corners rounded */
    display: flex;
    justify-content: space-between; /* Space between FILTER BY and Clear All */
    align-items: center;
    margin-bottom: 20px; /* Gap between header and Price Range */
}
.sidebar-header-title {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    margin: 0; /* Remove default h4 margin */
    letter-spacing: 0.5px;
}
.sidebar-clear-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s ease;
}
.sidebar-clear-btn:hover {
    opacity: 0.8;
    text-decoration: underline;
}