/* ============================
   MOBILE FIRST — Base (< 576px)
   ============================ */

/* Hero Section */
.hero-section-reduced {
    height: auto;
    min-height: unset;
    padding: 0;
}

.hero-section-reduced .hero-background {
    position: relative;
}

.hero-section-reduced .hero-slide {
    position: relative;
    height: auto;
}

.hero-section-reduced .hero-content {
    padding: 72px 16px 24px;
}

.hero-title-custom {
    color: var(--primary-color);
    font-size: 24px;
}

.hero-subtitle-custom {
    color: #ffffff;
    margin-bottom: 0;
    font-size: 13px;
}

/* Section Divider */
.section-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #ffc933);
    margin: 6px auto 0;
    border-radius: 2px;
}

.section-title {
    font-size: 20px;
}

/* Filters Section */
.filters-section {
    background: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

.filters-container {
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* Search wrapper */
.search-wrapper {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
    transition: color 0.3s ease;
}

.search-input {
    border: none;
    border-left: 4px solid #FFB600;
    border-bottom: 2px solid #e0e0e0;
    border-radius: 0;
    padding: 14px 40px 12px 40px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    width: 100%;
    background: #f8f8f8;
    color: #333;
    font-family: inherit;
}

.search-input::placeholder {
    color: #aaa;
    font-weight: 400;
}

.search-wrapper:hover .search-icon {
    color: #FFB600;
}

.search-input:hover {
    background: #ffffff;
    border-bottom-color: #ccc;
}

.search-input:focus {
    background: #ffffff;
    border-bottom-color: #FFB600;
    box-shadow: 0 3px 12px rgba(255, 182, 0, 0.12);
    outline: none;
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #aaa;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 3;
}

.search-clear-btn:hover {
    color: #333;
}

.search-clear-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Autocomplete */
.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 180px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.autocomplete-list.show {
    display: block;
}

.autocomplete-list li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    transition: background 0.15s ease;
}

.autocomplete-list li:hover,
.autocomplete-list li.active {
    background: rgba(255, 182, 0, 0.1);
}

.autocomplete-list li .ac-match {
    font-weight: 700;
    color: var(--secondary-color);
}

/* Results counter — hidden */
.results-counter {
    display: none;
}

/* Tags divider */
.tags-divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

/* ========== Brands carousel ========== */
.brands-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brands-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 8px;
    scrollbar-width: none;
}

.brands-carousel::-webkit-scrollbar {
    display: none;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: all 0.25s ease;
    min-width: 56px;
}

.brand-item:hover .brand-circle {
    border-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(255, 182, 0, 0.2);
}

.brand-item.active .brand-circle {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 182, 0, 0.25);
}

.brand-item.active .brand-name {
    color: var(--primary-color);
    font-weight: 600;
}

.brand-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.25s ease;
}

.brand-circle img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.brand-initials {
    font-size: 14px;
    font-weight: 700;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-name {
    font-size: 10px;
    color: #777;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 64px;
    transition: all 0.25s ease;
}

/* ========== Tags section (tipos de equipo) ========== */
.tags-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.tags-collapsible {
    flex: 1;
    min-width: 0;
    max-height: 72px;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.tags-collapsible.expanded {
    max-height: 500px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Toggle button — visible by default (mobile), hidden on desktop */
.tags-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1.5px solid #e0e0e0;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    min-width: 28px;
    cursor: pointer;
    color: #999;
    font-size: 12px;
    transition: all 0.25s ease;
    align-self: flex-start;
    margin-top: 2px;
}

.tags-toggle-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 182, 0, 0.06);
}

.tags-toggle-btn.expanded i {
    transform: rotate(180deg);
}

.tags-toggle-btn i {
    transition: transform 0.25s ease;
}

.filter-tag {
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    color: #666;
    user-select: none;
    line-height: 1.4;
}

.filter-tag:hover {
    border-color: var(--primary-color);
    color: var(--secondary-color);
    background: rgba(255, 182, 0, 0.06);
}

.filter-tag.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
}

/* Products Section */
.products-section {
    background: #ffffff;
    min-height: 300px;
}

/* Product Card */
.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 9px;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(255, 182, 0, 0.15);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.product-type,
.product-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #777;
}

.product-type i,
.product-brand i {
    color: var(--primary-color);
    font-size: 13px;
}

.product-divider {
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    margin: 10px 0;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}

.btn-product {
    flex: 1;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.btn-primary-product {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary-product:hover {
    background: #e0a300;
    border-color: #e0a300;
    color: var(--secondary-color);
}

.btn-outline-product {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-product:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* No Results Message */
.no-results-message {
    text-align: center;
    padding: 40px 16px;
}

.no-results-message i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 12px;
}

.no-results-message h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.no-results-message p {
    font-size: 13px;
    color: #999;
}

/* Loading Animation */
.product-card.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ============================
   XS-Small — ≥ 320px
   ============================ */
@media (min-width: 320px) {

    .hero-section-reduced .hero-content {
        padding: 68px 14px 20px;
    }

    .hero-title-custom {
        font-size: 22px;
    }

    .hero-subtitle-custom {
        font-size: 12px;
    }

    .section-title {
        margin-bottom: 17px;
    }

    .filters-container {
        padding: 12px;
        border-radius: 10px;
    }

    .search-input {
        font-size: 13px;
        padding: 10px 14px 10px 32px;
        border-radius: 12px;
    }

    .search-icon {
        font-size: 12px;
        left: 10px;
    }

    .autocomplete-list li {
        padding: 7px 10px;
        font-size: 12px;
    }

    .tags-divider {
        margin: 6px 0;
    }

    .tags-container {
        gap: 4px;
    }

    .tags-toggle-btn {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 10px;
    }

    .filter-tag {
        padding: 3px 8px;
        font-size: 10px;
        border-radius: 12px;
    }

    .product-image-wrapper {
        height: 140px;
    }

    .product-badge {
        padding: 3px 6px;
        font-size: 8px;
        top: 6px;
        right: 6px;
    }

    .product-content {
        padding: 10px;
    }

    .product-name {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .product-type,
    .product-brand {
        font-size: 11px;
        gap: 4px;
    }

    .product-type i,
    .product-brand i {
        font-size: 12px;
    }

    .product-divider {
        width: 24px;
        height: 2px;
        margin: 6px 0;
    }

    .product-meta {
        gap: 3px;
        margin-bottom: 6px;
    }

    .btn-product {
        padding: 6px 8px;
        font-size: 11px;
        gap: 4px;
        border-radius: 5px;
    }

    .product-actions {
        gap: 4px;
    }

    .no-results-message {
        padding: 30px 12px;
    }

    .no-results-message i {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .no-results-message h3 {
        font-size: 15px;
    }

    .no-results-message p {
        font-size: 12px;
    }

    .brands-carousel {
        gap: 10px;
        padding: 2px 1px 6px;
    }

    .brand-item {
        min-width: 44px;
        gap: 4px;
    }

    .brand-circle {
        width: 38px;
        height: 38px;
    }

    .brand-initials {
        font-size: 11px;
    }

    .brand-name {
        font-size: 8px;
        max-width: 48px;
    }

    .tags-collapsible {
        max-height: 50px;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
}

/* ============================
   XS-Medium — ≥ 375px
   ============================ */
@media (min-width: 375px) {
    .hero-section-reduced .hero-content {
        padding: 70px 16px 22px;
    }

    .hero-title-custom {
        font-size: 24px;
    }

    .hero-subtitle-custom {
        font-size: 13px;
    }

    .section-title {
        font-size: 19px;
    }

    .filters-container {
        padding: 14px;
    }

    .search-input {
        font-size: 14px;
        padding: 9px 12px 9px 34px;
        border-radius: 8px;
    }

    .search-icon {
        font-size: 13px;
        left: 11px;
    }

    .autocomplete-list li {
        padding: 8px 12px;
        font-size: 12px;
    }

    .tags-divider {
        margin: 6px 0;
    }

    .tags-container {
        gap: 5px;
    }

    .tags-toggle-btn {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 11px;
    }

    .filter-tag {
        padding: 4px 10px;
        font-size: 11px;
        border-radius: 14px;
    }

    .product-image-wrapper {
        height: 155px;
    }

    .product-badge {
        padding: 3px 7px;
        font-size: 9px;
        top: 8px;
        right: 8px;
    }

    .product-content {
        padding: 12px;
    }

    .product-name {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .product-type,
    .product-brand {
        font-size: 11px;
    }

    .product-divider {
        width: 26px;
        margin: 8px 0;
    }

    .product-meta {
        gap: 3px;
        margin-bottom: 8px;
    }

    .btn-product {
        padding: 7px 9px;
        font-size: 11px;
        gap: 5px;
        border-radius: 6px;
    }

    .product-actions {
        gap: 5px;
    }

    .no-results-message {
        padding: 35px 14px;
    }

    .no-results-message i {
        font-size: 42px;
    }

    .no-results-message h3 {
        font-size: 16px;
    }

    .no-results-message p {
        font-size: 12px;
    }

    .brands-carousel {
        gap: 12px;
        padding: 3px 1px 6px;
    }

    .brand-item {
        min-width: 48px;
        gap: 5px;
    }

    .brand-circle {
        width: 42px;
        height: 42px;
    }

    .brand-initials {
        font-size: 12px;
    }

    .brand-name {
        font-size: 9px;
        max-width: 54px;
    }

    .tags-collapsible {
        max-height: 60px;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
}

@media (min-width:425px) {
    .hero-section-reduced .hero-content {
        padding: 72px 16px 24px;
    }

    .section-title {
        margin-bottom: 20px;
        margin-top: 10px;
    }
}

/* ============================
   XS-Large — ≥ 431px
   ============================ */
@media (min-width: 431px) {
    .product-card {
        padding: 0;
    }

    .hero-section-reduced .hero-content {
        padding: 72px 16px 24px;
    }

    .hero-title-custom {
        font-size: 26px;
    }

    .hero-subtitle-custom {
        font-size: 13px;
    }

    .section-title {
        font-size: 20px;
    }

    .filters-container {
        padding: 16px;
        border-radius: 12px;
    }

    .search-input {
        font-size: 14px;
        padding: 10px 12px 10px 36px;
        border-radius: 10px;
    }

    .search-icon {
        font-size: 14px;
        left: 12px;
    }

    .autocomplete-list li {
        padding: 8px 12px;
        font-size: 13px;
    }

    .tags-divider {
        margin: 8px 0;
    }

    .tags-container {
        gap: 6px;
    }

    .tags-collapsible {
        max-height: 54px;
    }

    .filter-tag {
        padding: 4px 11px;
        font-size: 11px;
        border-radius: 16px;
    }

    .product-image-wrapper {
        height: 170px;
    }

    .product-badge {
        padding: 4px 8px;
        font-size: 10px;
        top: 10px;
        right: 10px;
    }

    .product-content {
        padding: 14px;
    }

    .product-name {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .product-type,
    .product-brand {
        font-size: 12px;
        gap: 6px;
    }

    .product-type i,
    .product-brand i {
        font-size: 13px;
    }

    .product-divider {
        width: 28px;
        margin: 10px 0;
    }

    .product-meta {
        gap: 4px;
        margin-bottom: 10px;
    }

    .btn-product {
        padding: 8px 10px;
        font-size: 12px;
        gap: 6px;
    }

    .product-actions {
        gap: 6px;
    }

    .no-results-message {
        padding: 40px 16px;
    }

    .no-results-message i {
        font-size: 48px;
        margin-bottom: 12px;
    }

    .no-results-message h3 {
        font-size: 18px;
    }

    .no-results-message p {
        font-size: 13px;
    }

    .brand-item {
        min-width: 52px;
        gap: 5px;
    }

    .brand-circle {
        width: 44px;
        height: 44px;
    }

    .brand-initials {
        font-size: 13px;
    }

    .brand-name {
        font-size: 9px;
        max-width: 58px;
    }


}

/* ============================
   SM — ≥ 576px
   ============================ */
@media (min-width: 576px) {
    .hero-section-reduced .hero-content {
        padding: 76px 20px 28px;
    }

    .hero-title-custom {
        font-size: 28px;
    }

    .hero-subtitle-custom {
        font-size: 14px;
    }

    .filters-container {
        padding: 20px;
    }

    .search-input {
        font-size: 14px;
        padding: 10px 14px 10px 38px;
        border-radius: 12px;
    }

    .filter-tag {
        font-size: 12px;
        padding: 5px 12px;
    }

    .product-image-wrapper {
        height: 180px;
    }

    .product-content {
        padding: 16px;
    }

    .product-name {
        font-size: 16px;
    }

    .product-actions {
        flex-direction: row;
    }

    .no-results-message {
        padding: 50px 20px;
    }

    .no-results-message i {
        font-size: 56px;
    }

    .brands-carousel {
        gap: 16px;
        padding: 4px 2px 8px;
    }

    .brand-item {
        min-width: 56px;
        gap: 6px;
    }

    .brand-circle {
        width: 48px;
        height: 48px;
    }

    .brand-name {
        font-size: 10px;
        max-width: 64px;
    }
}

/* ============================
   MD — ≥ 768px
   ============================ */
@media (min-width: 768px) {

    .hero-section-reduced .hero-content {
        padding: 80px 24px 32px;
    }

    .hero-title-custom {
        font-size: 34px;
    }

    .hero-subtitle-custom {
        font-size: 15px;
    }

    .section-title {
        margin-bottom: 26px;
        margin-top: 17px;
    }

    .section-divider {
        width: 60px;
        height: 3px;
        margin: 8px auto 0;
    }

    .filters-container {
        padding: 24px;
    }

    .search-icon {
        font-size: 15px;
        left: 14px;
    }

    .search-input {
        font-size: 15px;
        padding: 11px 15px 11px 40px;
        border-radius: 14px;
    }

    .autocomplete-list {
        max-height: 200px;
    }

    .autocomplete-list li {
        padding: 9px 14px;
        font-size: 13px;
    }

    .tags-divider {
        margin: 10px 0;
    }

    .tags-section {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .tags-container {
        gap: 8px;
    }

    .filter-tag {
        font-size: 12px;
        padding: 5px 14px;
    }

    .product-image-wrapper {
        height: 200px;
    }

    .product-content {
        padding: 20px;
    }

    .product-name {
        font-size: 17px;
    }

    .product-type,
    .product-brand {
        font-size: 13px;
    }

    .btn-product {
        font-size: 13px;
        padding: 9px 12px;
    }

    .no-results-message {
        padding: 60px 20px;
    }

    .no-results-message i {
        font-size: 64px;
    }

    .no-results-message h3 {
        font-size: 22px;
    }

    .brands-section {
        gap: 10px;
    }

    .brands-carousel {
        gap: 20px;
        padding: 4px 2px 10px;
    }

    .brand-item {
        min-width: 64px;
        gap: 6px;
    }

    .brand-circle {
        width: 54px;
        height: 54px;
    }

    .brand-initials {
        font-size: 15px;
    }

    .brand-name {
        font-size: 11px;
        max-width: 72px;
    }
}

/* ============================
   LG — ≥ 992px
   ============================ */
@media (min-width: 992px) {
    .hero-section-reduced .hero-content {
        padding: 84px 40px 36px;
    }

    .hero-title-custom {
        font-size: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-divider {
        width: 70px;
        height: 4px;
        margin: 10px auto 0;
    }

    .filters-container {
        padding: 28px;
        border-radius: 14px;
    }

    .search-input {
        padding: 12px 15px 12px 42px;
        font-size: 15px;
    }

    .autocomplete-list li {
        padding: 10px 16px;
        font-size: 14px;
    }

    .tags-section {
        gap: 14px;
    }

    .filter-tag {
        font-size: 13px;
        padding: 6px 16px;
        border-radius: 20px;
    }

    .product-card {
        border-radius: 14px;
    }

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 35px rgba(255, 182, 0, 0.18);
    }

    .product-image-wrapper {
        height: 230px;
    }

    .product-content {
        padding: 22px;
    }

    .product-name {
        font-size: 18px;
    }

    .product-type,
    .product-brand {
        font-size: 14px;
    }

    .product-type i,
    .product-brand i {
        font-size: 15px;
    }

    .product-divider {
        width: 35px;
        height: 3px;
        margin: 12px 0;
    }

    .btn-product {
        font-size: 14px;
        padding: 10px 14px;
        border-radius: 8px;
        gap: 8px;
    }

    .no-results-message h3 {
        font-size: 26px;
    }

    .no-results-message p {
        font-size: 15px;
    }

    .brands-carousel {
        gap: 24px;
    }

    .brand-item {
        min-width: 70px;
        gap: 8px;
    }

    .brand-circle {
        width: 60px;
        height: 60px;
    }

    .brand-initials {
        font-size: 16px;
    }

    .brand-name {
        font-size: 12px;
        max-width: 80px;
    }
}

/* ============================
   LG+ — ≥ 1025px (reset collapsible)
   ============================ */
@media (min-width: 1025px) {
    .tags-collapsible {
        max-height: none;
        overflow: visible;
    }

    .tags-toggle-btn {
        display: none;
    }
}

/* ============================
   LG+ — ≥ 1024px
   ============================ */
@media (min-width: 1024px) {
    .hero-section-reduced .hero-content {
        padding: 84px 40px 40px;
    }
}

/* ============================
   XL — ≥ 1200px
   ============================ */
@media (min-width: 1200px) {
    .hero-section-reduced .hero-content {
        padding: 88px 40px 44px;
    }

    .hero-title-custom {
        font-size: 46px;
    }

    .section-title {
        font-size: 30px;
    }

    .section-divider {
        width: 80px;
        margin: 12px auto 0;
    }

    .filters-container {
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }

    .search-icon {
        font-size: 16px;
        left: 16px;
    }

    .autocomplete-list {
        max-height: 220px;
        border-radius: 0 0 10px 10px;
    }

    .product-card {
        border-radius: 15px;
    }

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(255, 182, 0, 0.2);
    }

    .product-image-wrapper {
        height: 250px;
    }

    .product-badge {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
    }

    .product-content {
        padding: 25px;
    }

    .product-name {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .product-meta {
        gap: 8px;
        margin-bottom: 15px;
    }

    .product-type i,
    .product-brand i {
        font-size: 16px;
    }

    .product-divider {
        width: 40px;
        margin: 15px 0;
    }

    .no-results-message {
        padding: 80px 20px;
    }

    .no-results-message i {
        font-size: 80px;
        margin-bottom: 20px;
    }

    .no-results-message h3 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .no-results-message p {
        font-size: 16px;
    }

    .brands-section {
        gap: 12px;
    }

    .brands-carousel {
        gap: 28px;
        padding: 6px 2px 12px;
    }

    .brand-item {
        min-width: 76px;
        gap: 8px;
    }

    .brand-circle {
        width: 64px;
        height: 64px;
        border-width: 2px;
    }

    .brand-circle img {
        width: 72%;
        height: 72%;
    }

    .brand-initials {
        font-size: 17px;
    }

    .brand-name {
        font-size: 12px;
        max-width: 84px;
    }
}

@media (min-width: 1440px) {
    .hero-section-reduced .hero-content {
        padding: 90px 40px 48px;
    }

    .section-title {
        margin-bottom: 43px;
        margin-top: 30px;
    }
}

/* ============================
   Image Modal
   ============================ */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.show {
    display: flex;
    opacity: 1;
}

.image-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.image-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 85vh;
}

.image-modal-body img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.image-modal-caption {
    color: #ddd;
    font-size: 14px;
    margin-top: 12px;
    text-align: center;
    max-width: 500px;
}

.product-image-wrapper {
    cursor: pointer;
}

@media (min-width: 768px) {
    .image-modal-close {
        top: 20px;
        right: 24px;
        font-size: 28px;
        width: 48px;
        height: 48px;
    }

    .image-modal-body {
        max-width: 80vw;
    }

    .image-modal-caption {
        font-size: 15px;
    }
}

@media (min-width: 1200px) {
    .image-modal-body {
        max-width: 70vw;
    }
}

/* ===== PRODUCT DETAIL MODAL ===== */
.product-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.product-detail-modal.show {
    display: flex;
    opacity: 1;
}

.product-detail-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.product-detail-modal-close:hover {
    background: rgba(0, 0, 0, 0.08);
}

.product-detail-modal-close:active {
    transform: scale(0.95);
}

.product-detail-modal-body {
    background: white;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    padding: 30px;
    position: relative;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    max-height: 85vh;
    overflow-y: auto;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-image-section {
    display: flex;
    justify-content: center;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.detail-image-section img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.detail-info-section h2 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.detail-brand,
.detail-type,
.detail-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
}

.detail-actions {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.detail-actions .btn {
    flex: 1;
}

.detail-actions .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.detail-actions .btn-primary:hover {
    background: #e6a300;
    border-color: #e6a300;
}

.detail-actions .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.detail-actions .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive para tablet y superior */
@media (min-width: 768px) {
    .detail-content {
        flex-direction: row;
    }

    .detail-image-section {
        flex: 0 0 40%;
    }

    .detail-info-section {
        flex: 1;
    }

    .detail-image-section img {
        max-height: 400px;
    }

    .product-detail-modal-body {
        max-width: 750px;
        padding: 40px;
    }

    .product-detail-modal-close {
        top: 16px;
        right: 20px;
        font-size: 28px;
        width: 48px;
        height: 48px;
    }

    .detail-info-section h2 {
        font-size: 28px;
    }

    .detail-brand,
    .detail-type,
    .detail-description {
        font-size: 15px;
    }

    .detail-actions {
        flex-direction: row;
        gap: 16px;
    }

    .detail-actions .btn {
        flex: 1;
    }
}

@media (min-width: 992px) {
    .product-detail-modal-body {
        max-width: 800px;
    }

    .detail-content {
        gap: 32px;
    }
}

@media (min-width: 1200px) {
    .product-detail-modal-body {
        max-width: 900px;
        max-height: 90vh;
    }
}