
/* ==========================================
   GOTAY ELECTROAIRE - CATÁLOGO
   ========================================== */

:root {
    --catalog-dark: #14242D;
    --catalog-cyan: #0AA0CB;
    --catalog-light: #39C5ED;
    --catalog-orange: #F36E22;
    --catalog-muted: #71838D;
    --catalog-border: #E2EAF0;
    --catalog-bg: #F5F8FA;
}

.catalog-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 65px;
    background: linear-gradient(120deg, #14242D, #244856);
    color: white;
}

.catalog-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.catalog-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
}

.catalog-eyebrow,
.catalog-results-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--catalog-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.catalog-eyebrow svg {
    width: 16px;
    height: 16px;
}

.catalog-hero h1 {
    margin: 17px 0;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.catalog-hero h1 span {
    color: var(--catalog-light);
}

.catalog-hero-content > p {
    max-width: 580px;
    color: #C9D9E1;
    line-height: 1.8;
    font-size: 15px;
}

.catalog-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 28px;
    padding: 7px 7px 7px 17px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 15px 40px rgba(0,0,0,.13);
}

.catalog-search > svg {
    flex-shrink: 0;
    width: 21px;
    height: 21px;
    color: var(--catalog-cyan);
}

.catalog-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--catalog-dark);
    font: inherit;
    font-size: 14px;
}

#catalog-clear-search {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: #F0F4F6;
    color: #6C7E88;
    cursor: pointer;
}

#catalog-clear-search svg {
    width: 15px;
    height: 15px;
}

.catalog-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: var(--catalog-orange);
    color: white;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.catalog-search-button svg {
    width: 17px;
    height: 17px;
}

.catalog-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 22px;
}

.catalog-hero-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #C9D9E1;
    font-size: 11px;
}

.catalog-hero-benefits svg {
    width: 15px;
    height: 15px;
    color: var(--catalog-light);
}

.catalog-hero-decoration {
    position: relative;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 250px;
    height: 250px;
}

.catalog-hero-icon {
    display: grid;
    place-items: center;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 35px;
    background: rgba(255,255,255,.08);
    transform: rotate(-9deg);
}

.catalog-hero-icon svg {
    width: 85px;
    height: 85px;
    color: var(--catalog-light);
}

.catalog-hero-ring {
    position: absolute;
    border: 1px solid rgba(57,197,237,.2);
    border-radius: 50%;
}

.ring-one {
    width: 210px;
    height: 210px;
}

.ring-two {
    width: 280px;
    height: 280px;
}

/* CATEGORÍAS */

.catalog-categories-section {
    padding-top: 45px;
    padding-bottom: 15px;
}

.catalog-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 24px;
}

.catalog-section-heading h2 {
    margin: 8px 0 0;
    color: var(--catalog-dark);
    font-size: 27px;
}

.catalog-section-heading > p {
    max-width: 340px;
    margin: 0;
    color: var(--catalog-muted);
    font-size: 13px;
    line-height: 1.6;
}

.catalog-category-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.catalog-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 17px 10px 10px;
    border: 1px solid var(--catalog-border);
    border-radius: 13px;
    background: #FFFFFF;
    color: var(--catalog-dark);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.catalog-category-chip:hover {
    border-color: var(--catalog-cyan);
    transform: translateY(-2px);
}

.catalog-category-chip.is-active {
    border-color: var(--catalog-cyan);
    background: #E8F8FD;
    color: #087FA4;
}

.catalog-category-icon {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 9px;
    background: #EDF7FB;
}

.catalog-category-icon svg {
    width: 19px;
    height: 19px;
    color: var(--catalog-cyan);
}

/* LAYOUT */

.catalog-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    padding-top: 35px;
    padding-bottom: 80px;
}

/* FILTROS */

.catalog-sidebar {
    position: sticky;
    top: 95px;
    padding: 24px;
    border: 1px solid var(--catalog-border);
    border-radius: 17px;
    background: var(--catalog-bg);
}

.catalog-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.catalog-filter-head h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--catalog-dark);
    font-size: 19px;
}

.catalog-filter-head h2 svg {
    width: 20px;
    height: 20px;
    color: var(--catalog-cyan);
}

.catalog-clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: none;
    color: var(--catalog-orange);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.catalog-clear-filters svg {
    width: 14px;
    height: 14px;
}

.catalog-filter-description {
    margin: 12px 0 25px;
    color: var(--catalog-muted);
    font-size: 12px;
    line-height: 1.6;
}

.catalog-filter-group {
    margin-bottom: 25px;
}

.catalog-filter-group > label:not(.catalog-check) {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: var(--catalog-dark);
    font-size: 13px;
    font-weight: 800;
}

.catalog-filter-group > label svg {
    width: 17px;
    height: 17px;
    color: var(--catalog-cyan);
}

.catalog-filter-group select,
.catalog-price-field input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #D8E3E9;
    border-radius: 9px;
    background: white;
    color: var(--catalog-dark);
    font: inherit;
    font-size: 13px;
}

.catalog-filter-group select:focus,
.catalog-price-field input:focus {
    outline: 2px solid rgba(10,160,203,.2);
    border-color: var(--catalog-cyan);
}

.catalog-price-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.catalog-price-field {
    min-width: 0;
}

.catalog-price-field span {
    display: block;
    margin-bottom: 7px;
    color: var(--catalog-muted);
    font-size: 11px;
}

.catalog-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.catalog-check input {
    width: 17px;
    height: 17px;
    accent-color: var(--catalog-cyan);
}

.catalog-check span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
}

.catalog-check svg {
    width: 17px;
    height: 17px;
    color: var(--catalog-cyan);
}

.catalog-filter-note {
    display: flex;
    gap: 10px;
    padding: 14px;
    border-radius: 11px;
    background: #E8F7FC;
    color: #416473;
    font-size: 11px;
    line-height: 1.6;
}

.catalog-filter-note svg {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    color: var(--catalog-cyan);
}

/* RESULTADOS */

.catalog-results {
    min-width: 0;
    transition: opacity .18s ease;
}

.catalog-results.is-loading {
    opacity: .48;
    pointer-events: none;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.catalog-toolbar-info h2 {
    margin: 7px 0;
    color: var(--catalog-dark);
    font-size: 27px;
}

.catalog-toolbar-info p {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--catalog-muted);
    font-size: 12px;
}

.catalog-toolbar-info p svg {
    width: 15px;
    height: 15px;
}

.catalog-sort-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-sort-box label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--catalog-muted);
    font-size: 12px;
}

.catalog-sort-box label svg {
    width: 16px;
    height: 16px;
}

.catalog-sort-box select {
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--catalog-border);
    border-radius: 9px;
    background: white;
    color: var(--catalog-dark);
    font: inherit;
    font-size: 12px;
}

/* TARJETAS */

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.catalog-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--catalog-border);
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(20,36,45,.04);
    transition: transform .25s ease, box-shadow .25s ease;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(20,36,45,.10);
}

.catalog-card-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 215px;
    padding: 20px;
    background: #F5F8FA;
}

.catalog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}

.catalog-card:hover .catalog-card-image img {
    transform: scale(1.05);
}

.catalog-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 7px;
    background: var(--catalog-cyan);
    color: white;
    font-size: 10px;
    font-weight: 800;
}

.catalog-badge svg {
    width: 12px;
    height: 12px;
}

.catalog-badge-offer {
    background: var(--catalog-orange);
}

.catalog-card-body {
    padding: 19px;
}

.catalog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
}

.catalog-card-category {
    color: var(--catalog-cyan);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.catalog-card-brand {
    color: #8A9AA3;
    font-size: 11px;
}

.catalog-card h3 {
    min-height: 44px;
    margin: 12px 0 9px;
    font-size: 15px;
    line-height: 1.45;
}

.catalog-card h3 a {
    color: var(--catalog-dark);
    text-decoration: none;
}

.catalog-card-description {
    display: -webkit-box;
    overflow: hidden;
    min-height: 38px;
    margin: 0 0 15px;
    color: var(--catalog-muted);
    font-size: 11px;
    line-height: 1.7;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.catalog-card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.catalog-card-price strong {
    color: var(--catalog-dark);
    font-size: 20px;
}

.catalog-card-price del {
    color: #A0ADB5;
    font-size: 12px;
}

.catalog-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
}

.catalog-stock svg {
    width: 14px;
    height: 14px;
}

.catalog-stock.in-stock {
    color: #278A58;
}

.catalog-stock.out-stock {
    color: #B67A2B;
}

.catalog-card-actions {
    display: flex;
    gap: 9px;
    margin-top: 18px;
}

.catalog-detail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1;
    min-height: 42px;
    padding: 9px;
    border: 1px solid #D8E7ED;
    border-radius: 9px;
    color: var(--catalog-dark);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.catalog-detail-link svg,
.catalog-add svg {
    width: 17px;
    height: 17px;
}

.catalog-detail-link:hover {
    border-color: var(--catalog-cyan);
    color: var(--catalog-cyan);
}

.catalog-add {
    display: grid;
    place-items: center;
    width: 44px;
    flex-shrink: 0;
    border: 0;
    border-radius: 9px;
    background: var(--catalog-orange);
    color: white;
    cursor: pointer;
}

.catalog-add:hover {
    background: #DB5E18;
}

/* VACÍO */

.catalog-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 65px 20px;
    border: 1px dashed #D5E3E9;
    border-radius: 17px;
    text-align: center;
}

.catalog-empty-icon {
    display: grid;
    place-items: center;
    width: 75px;
    height: 75px;
    border-radius: 20px;
    background: #E9F7FC;
}

.catalog-empty-icon svg {
    width: 36px;
    height: 36px;
    color: var(--catalog-cyan);
}

.catalog-empty h3 {
    margin: 0;
    color: var(--catalog-dark);
}

.catalog-empty p {
    max-width: 340px;
    margin: 0 0 10px;
    color: var(--catalog-muted);
    line-height: 1.7;
}

/* CTA */

.catalog-bottom-cta {
    padding: 38px 0;
    background: #14242D;
    color: white;
}

.catalog-bottom-inner {
    display: flex;
    align-items: center;
    gap: 22px;
}

.catalog-bottom-icon {
    display: grid;
    place-items: center;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 16px;
    background: rgba(57,197,237,.12);
}

.catalog-bottom-icon svg {
    width: 30px;
    height: 30px;
    color: var(--catalog-light);
}

.catalog-bottom-inner > div:nth-child(2) {
    flex: 1;
}

.catalog-bottom-inner h2 {
    margin: 0 0 8px;
    font-size: 23px;
}

.catalog-bottom-inner p {
    margin: 0;
    color: #B9CED8;
    font-size: 13px;
    line-height: 1.7;
}

.catalog-bottom-inner .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* DETALLE DEL PRODUCTO */

.product-detail-page {
    padding-top: 35px;
    padding-bottom: 85px;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    color: var(--catalog-muted);
    font-size: 12px;
}

.product-breadcrumb a {
    color: #59717F;
    text-decoration: none;
}

.product-breadcrumb svg {
    width: 14px;
    height: 14px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
}

.product-main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 25px;
    border-radius: 18px;
    background: var(--catalog-bg);
}

.product-main-image img {
    width: 100%;
    max-height: 390px;
    object-fit: contain;
}

.product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.product-thumbnail {
    width: 78px;
    height: 78px;
    padding: 7px;
    border: 2px solid var(--catalog-border);
    border-radius: 10px;
    background: white;
    cursor: pointer;
}

.product-thumbnail.is-active {
    border-color: var(--catalog-orange);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-information h1 {
    margin: 12px 0 20px;
    color: var(--catalog-dark);
    font-size: clamp(27px, 3vw, 39px);
    line-height: 1.2;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--catalog-muted);
    font-size: 12px;
}

.product-meta span,
.product-availability,
.product-warranty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-meta svg,
.product-availability svg,
.product-warranty svg {
    width: 17px;
    height: 17px;
    color: var(--catalog-cyan);
}

.product-short-description {
    margin: 24px 0;
    color: #647985;
    line-height: 1.8;
}

.product-price-box {
    padding: 23px;
    border: 1px solid #DCE8ED;
    border-radius: 14px;
    background: var(--catalog-bg);
}

.product-price-box > span {
    display: block;
    margin-bottom: 8px;
    color: var(--catalog-muted);
    font-size: 12px;
}

.product-price-box strong {
    display: block;
    color: var(--catalog-dark);
    font-size: 35px;
}

.product-price-box del {
    color: #97A7AF;
    font-size: 14px;
}

.product-availability {
    margin: 19px 0 12px;
    color: #278A58;
    font-size: 13px;
    font-weight: 700;
}

.product-warranty {
    color: #647985;
    font-size: 13px;
}

.product-quantity-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 25px 0 20px;
}

.product-quantity-row > label {
    font-size: 13px;
    font-weight: 800;
}

.product-quantity {
    display: flex;
    overflow: hidden;
    border: 1px solid #D8E3E9;
    border-radius: 10px;
}

.product-quantity button {
    width: 42px;
    border: 0;
    background: var(--catalog-bg);
    color: var(--catalog-dark);
    font-size: 22px;
    cursor: pointer;
}

.product-quantity input {
    width: 55px;
    padding: 10px 2px;
    border: 0;
    text-align: center;
    font: inherit;
    appearance: textfield;
}

.product-purchase-actions {
    display: grid;
    gap: 12px;
}

.product-purchase-actions .btn,
.product-whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
}

.product-purchase-actions svg {
    width: 19px;
    height: 19px;
}

.product-whatsapp-link {
    border: 1px solid #25D366;
    background: #EAFBF1;
    color: #178144;
}

.product-purchase-note {
    color: #81929C;
    font-size: 11px;
    line-height: 1.6;
}

.product-extra-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 65px;
}

.product-extra-card {
    padding: 28px;
    border: 1px solid var(--catalog-border);
    border-radius: 16px;
}

.product-extra-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: var(--catalog-dark);
    font-size: 20px;
}

.product-extra-card h2 svg {
    width: 21px;
    height: 21px;
    color: var(--catalog-orange);
}

.product-extra-card p {
    color: #657985;
    line-height: 1.8;
}

.product-specifications > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid #E7EEF2;
    font-size: 13px;
}

.product-specifications span {
    color: var(--catalog-muted);
}

.product-specifications strong {
    color: var(--catalog-dark);
    text-align: right;
}

.related-products {
    margin-top: 70px;
    padding-top: 35px;
    border-top: 1px solid var(--catalog-border);
}

.related-products-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.related-products-heading h2 {
    margin: 9px 0 0;
    color: var(--catalog-dark);
    font-size: 27px;
}

.related-products-heading a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--catalog-orange);
    font-weight: 700;
    text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .catalog-hero-decoration {
        display: none;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar {
        position: static;
    }

    .product-detail-grid {
        gap: 28px;
    }
}

@media (max-width: 650px) {
    .catalog-hero {
        padding: 48px 0;
    }

    .catalog-hero h1 {
        letter-spacing: -1px;
    }

    .catalog-search-button {
        padding: 0 12px;
    }

    .catalog-search-button span {
        display: none;
    }

    .catalog-hero-benefits {
        gap: 12px;
    }

    .catalog-section-heading {
        display: block;
    }

    .catalog-section-heading > p {
        margin-top: 10px;
    }

    .catalog-category-shortcuts {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 12px;
    }

    .catalog-category-chip {
        flex-shrink: 0;
    }

    .catalog-layout {
        padding-top: 20px;
    }

    .catalog-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-grid {
        gap: 12px;
    }

    .catalog-card-image {
        height: 155px;
        padding: 12px;
    }

    .catalog-card-body {
        padding: 13px;
    }

    .catalog-card h3 {
        font-size: 13px;
    }

    .catalog-card-description {
        display: none;
    }

    .catalog-card-price strong {
        font-size: 16px;
    }

    .catalog-detail-link {
        font-size: 11px;
    }

    .catalog-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-detail-grid,
    .product-extra-grid {
        grid-template-columns: 1fr;
    }

    .product-main-image {
        min-height: 290px;
    }

    .product-main-image img {
        max-height: 280px;
    }

    .product-extra-card {
        padding: 20px;
    }
}
