/* ── Section ────────────────────────────────────────────────────────────── */
.category-showcase-section {
    padding: 48px 0;
}

/* ── Hero: desktop = side-by-side, mobile = stacked ────────────────────── */
.category-showcase-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 32px;
}

/* ── Hero image ─────────────────────────────────────────────────────────── */
.category-showcase-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.category-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Content column ─────────────────────────────────────────────────────── */
.category-showcase-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Label */
.showcase-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #E91E63;
    margin: 0;
}
.showcase-label-line {
    display: inline-block;
    width: 30px;
    height: 2px;
    background: #E91E63;
    flex-shrink: 0;
}

/* Title */
.showcase-title {
    font-size: 48px;
    font-weight: 800;
    color: #0d1b2a;
    line-height: 1.1;
    margin: 0;
}

/* Description */
.showcase-description {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
    max-width: 400px;
}

/* Buttons */
.showcase-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.showcase-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.2s, background 0.2s;
    white-space: nowrap;
}
.showcase-btn-primary {
    background: #E91E63;
    color: #fff;
    border: 2px solid #E91E63;
}
.showcase-btn-primary:hover { opacity: 0.88; color:#fff; text-decoration:none; }
.showcase-btn-secondary {
    background: transparent;
    color: #0d1b2a;
    border: 2px solid #0d1b2a;
}
.showcase-btn-secondary:hover { background: #f5f5f5; }

/* Stats */
.showcase-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    padding-top: 4px;
    border-top: 1px solid #eee;
}
.showcase-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}
.showcase-stat-icon {
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    opacity: 0.75;
}
/* Stat icons — simple SVG data-URIs per position */
.showcase-stat-1 .showcase-stat-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.5'%3E%3Cpath d='M7 3l-4 4 4 4M17 3l4 4-4 4M9 3s1 2 3 2 3-2 3-2M5 7h14M8 21V9.5M16 21V9.5M8 21h8'/%3E%3C/svg%3E");
}
.showcase-stat-2 .showcase-stat-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.5'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Ccircle cx='7' cy='7' r='1.5' fill='%23333'/%3E%3C/svg%3E");
}
.showcase-stat-3 .showcase-stat-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c2185b' stroke='%23c2185b' stroke-width='1.5'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
}
.showcase-stat-4 .showcase-stat-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.5'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}
.showcase-stat-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.showcase-stat-value {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}
.showcase-stat-label {
    font-size: 11px;
    color: #888;
}

/* ── Subcategory grid ───────────────────────────────────────────────────── */
.category-showcase-grid {
    display: grid;
    gap: 12px;
}
.category-showcase-grid.layout-4 {
    grid-template-columns: repeat(4, 1fr);
}
.category-showcase-grid.layout-6 {
    grid-template-columns: repeat(3, 1fr);
}

/* ── Subcategory card ───────────────────────────────────────────────────── */
.showcase-category-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    text-decoration: none;
}
.showcase-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.showcase-category-card:hover img {
    transform: scale(1.04);
}
.showcase-category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    pointer-events: none;
}
.showcase-category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 16px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.showcase-category-name {
            font-size: 24px;
        font-style: normal;
        line-height: 24px;
        font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.showcase-category-cta {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .showcase-title { font-size: 38px; }
    .category-showcase-grid.layout-4 { grid-template-columns: repeat(2, 1fr); }
    .category-showcase-grid.layout-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    /* Stack hero: image on top, content below */
    .category-showcase-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .category-showcase-image { order: -1; aspect-ratio: 4 / 3; }
    .showcase-title { font-size: 32px; }
    .showcase-description { max-width: 100%; }

    /* 2-column grid on mobile for both layouts */
    .category-showcase-grid.layout-4,
    .category-showcase-grid.layout-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats: horizontal scrollable row */
    .showcase-stats {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        gap: 16px 20px;
    }
    .showcase-stat { flex-shrink: 0; }
}

@media (max-width: 480px) {
    .showcase-title { font-size: 26px; }
    .showcase-buttons { flex-direction: column; }
    .showcase-btn { justify-content: center; text-align: center; }
}
