/* ==========================================================================
   OldBike Categories — Frontend Styles
   Palette: #BC5C24 (Primary), #8C2C14 (Dark), #1A2A54 (Navy), #518A89 (Teal),
            #ECD7AD (Sand BG), #CAB8A7 (Stone), #342C1C (Text)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Full Width override — forteaza continut 100% latime pe paginile Elementor
   (twentytwentyfive restrictioneaza implicit la ~650px)
   -------------------------------------------------------------------------- */
.elementor-page .entry-content,
.elementor-page .wp-block-post-content,
.elementor-page .post-content,
.elementor-template-full-width .entry-content,
.elementor-template-full-width .wp-block-post-content {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.elementor-page .wp-block-group.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.elementor-page .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: none !important;
}

/* --------------------------------------------------------------------------
   Section common
   -------------------------------------------------------------------------- */
.oldbike-categories-section {
    padding: 48px 24px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.oldbike-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1A2A54;
    text-align: center;
    margin-bottom: 36px;
    letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   Categories Grid
   -------------------------------------------------------------------------- */
.oldbike-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .oldbike-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .oldbike-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Category Card */
.oldbike-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #ECD7AD;
    border-radius: 12px;
    padding: 28px 16px;
    text-decoration: none;
    color: #342C1C;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.oldbike-cat-card:hover,
.oldbike-cat-card:focus {
    background: #BC5C24;
    border-color: #BC5C24;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(188, 92, 36, 0.25);
    text-decoration: none;
    outline: none;
}

.oldbike-cat-card__icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.25s ease;
}

.oldbike-cat-card__icon svg {
    width: 100%;
    height: 100%;
    fill: #BC5C24;
    transition: fill 0.25s ease;
}

.oldbike-cat-card:hover .oldbike-cat-card__icon svg,
.oldbike-cat-card:focus .oldbike-cat-card__icon svg {
    fill: #ffffff;
}

.oldbike-cat-card__name {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    margin: 0;
    padding: 0;
}

.oldbike-cat-card__count {
    font-size: 0.78rem;
    opacity: 0.75;
}
