/* ===== NOSOTROS ===== */
.about-grid {
    display: grid;
    grid-template-columns: 45fr 55fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

.about-text {
    padding-right: 10px;
}

.about-text .section-title {
    color: #0057A8;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
}

.about-text .title-underline {
    width: 50px;
    height: 3px;
    background-color: #0057A8;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 13px;
    text-align: justify;
    line-height: 1.7;
    color: #333;
}

.about-image {
    overflow: hidden;
    display: flex;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.purpose-section {
    margin: 60px 0;
}

.purpose-section .section-title {
    color: #0057A8;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
}

.purpose-section .title-underline {
    width: 50px;
    height: 3px;
    background-color: #0057A8;
    margin-bottom: 50px;
}

.purpose-statement {
    font-size: 60px;
    font-weight: 300;
    text-align: center;
    margin: 0 0 50px 0;
    line-height: 1.15;
    color: #000;
}

.services-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content:center;
    margin: 0;
}

.btn-service {
    background-color: #0057A8;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    white-space: nowrap;
}

.btn-service:hover {
    background-color: #003D6B;
}

.values-section {
    margin: 60px 0;
}

.values-section .section-title {
    color: #0057A8;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
}

.values-section .title-underline {
    width: 50px;
    height: 3px;
    background-color: #0057A8;
    margin-bottom: 30px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.values-left {
    background-color: #0057A8;
    border-radius: 12px;
    padding: 50px 40px;
    color: white;
}

.values-list {
    list-style: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 2;
}

.values-list li {
    padding: 8px 0;
}

.values-right {
    background-color: white;
    border-radius: 12px;
    padding: 50px 40px;
    border: 1px solid #E0E0E0;
}

.values-right h3 {
    color: #0057A8;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.values-right p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #333;
}

.link-conocenos {
    color: #0057A8;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
}

.link-conocenos:hover {
    text-decoration: underline;
}

/* ===== SERVICIOS ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 50px 0;
}

.service-card {
    background-color: #0057A8;
    border-radius: 12px;
    padding: 42px 38px;
    color: white;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 34px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

.service-subtitle {
    font-size: 14px;
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.3;
}

.service-underline {
    width: 50px;
    height: 3px;
    background-color: white;
    margin: 28px 0;
}

.service-description {
    font-size: 13px;
    line-height: 1.75;
    font-weight: 400;
}

.technology-section {
    background-image: url('../images/fondo_foto_servicios.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 0;
    margin: 40px 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.technology-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.75) 40%, transparent 70%);
    padding: 60px 50px;
    max-width: 550px;
    width: 100%;
}

.technology-title {
    color: white;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

.technology-underline {
    width: 60px;
    height: 4px;
    background-color: white;
    margin: 25px 0;
}

.technology-text {
    color: white;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

/* ===== PRODUCTOS ===== */
.product-search {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}

.search-label {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    white-space: nowrap;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    position: relative;
}

.search-input-wrapper input {
    flex: 1;
    padding: 14px 50px 14px 20px;
    border: 1px solid #D0D0D0;
    border-radius: 25px;
    font-size: 14px;
    font-family: var(--font-primary);
    background-color: #E8E8E8;
}

.search-input-wrapper .btn-search {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: #666;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.search-input-wrapper .btn-search:hover {
    color: #0057A8;
}

.featured-products {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.product-featured {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    min-height: 340px;
    background-color: #000;
}

.product-featured-wide {
    min-height: 380px;
}

.product-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.85);
}

.product-featured-wide .product-featured-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 60px 50px;
    height: 100%;
}

.product-brand-logo {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 60px;
    height: auto;
    max-height: 35px;
    object-fit: contain;
    margin: 0;
    z-index: 10;
}

.product-featured-image {
    width: 40%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    margin-left: 20px;
    margin-top: 0;
    align-self: center;
}

.product-featured-text {
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.product-featured-title {
    font-size: 42px;
    font-weight: 900;
    color: white;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    text-align: right;
    line-height: 1.1;
}

.product-featured-desc {
    font-size: 13px;
    line-height: 1.7;
    color: white;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    text-align: right;
    max-width: 450px;
}

.product-featured-blue {
    background-color: #0057A8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-featured-logo {
    text-align: center;
}

.logo-hidroe-large {
    max-width: 240px;
    height: auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.product-card-small {
    background-color: #E5E5E5;
    border-radius: 12px;
    padding: 25px 20px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.product-small-brand {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 45px;
    height: auto;
    max-height: 28px;
    object-fit: contain;
}

.product-small-image {
    width: 100%;
    max-width: 260px;
    height: 260px;
    object-fit: contain;
    margin: 35px 0 15px 0;
}

.product-small-label {
    background-color: white;
    border-radius: 20px;
    padding: 10px 18px;
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.product-small-label p {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.categories-section {
    margin: 60px 0 40px 0;
}

.section-subtitle {
    color: #0057A8;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 10px;
}

.section-subtitle::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #0057A8;
    margin-top: 8px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 30px 0;
}

.btn-category {
    background-color: #0057A8;
    color: white;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 10px;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-category:hover {
    background-color: #003D6B;
}

.brands-products-section {
    margin: 60px 0 40px 0;
}

.brands-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.brand-product-card {
    background-color: #F0F0F0;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.brand-product-card img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
}

/* ===== CATEGORÍAS - LAYOUT EXACTO SEGÚN MOCKUP ===== */
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.btn-category {
    background-color: #0057A8;
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    flex: 0 0 auto;
}

.btn-category-wide {
    flex: 1 1 auto;
    min-width: 280px;
}

.btn-category:hover {
    background-color: #003D6B;
}

/* ===== MARCAS ALIADAS - PIXEL PERFECT ===== */
.brand-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    margin: 40px 0;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    overflow: hidden;
}

.brand-logo-box {
    background-color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #E0E0E0;
}

.brand-logo {
    width: 220px;
    height: auto;
    margin-bottom: 40px;
    object-fit: contain;
}

.brand-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.brand-link {
    color: #0057A8;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-link:hover {
    text-decoration: underline;
}

.brand-link i {
    font-size: 11px;
}

.brand-description {
    background-color: #F5F5F5;
    padding: 40px;
}

.brand-description p {
    margin-bottom: 18px;
    font-size: 12px;
    text-align: justify;
    line-height: 1.7;
    color: #333;
}

.brand-description p:last-child {
    margin-bottom: 0;
}

.brand-description strong {
    font-weight: 700;
    color: #000;
}
/* ===== MARCAS ALIADAS - DISEÑO LIMPIO ===== */
.brand-item {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 0;
    margin: 30px 0;
    border: 1px solid #D0D0D0;
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
}

.brand-logo-box {
    background-color: white;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    width: 200px;
    height: auto;
    margin-bottom: 50px;
    object-fit: contain;
}

.brand-links {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    width: 100%;
}

.brand-link {
    color: #0057A8;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-link:hover {
    text-decoration: underline;
}

.brand-link i {
    font-size: 10px;
}

.brand-description {
    background-color: #DEDEDE;
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-description p {
    margin-bottom: 16px;
    font-size: 11px;
    text-align: left;
    line-height: 1.7;
    color: #333;
}

.brand-description p:last-child {
    margin-bottom: 0;
}

.brand-description strong {
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
}

/* ===== INSTALACIONES - PIXEL PERFECT ===== */
.installations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 50px 0;
}

.installation-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 320px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.installation-card:hover {
    transform: translateY(-5px);
}

.installation-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.installation-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
    padding: 30px 25px;
    color: white;
}

.installation-title {
    font-size: 22px;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
    line-height: 1.2;
}

.installation-category {
    font-size: 13px;
    font-weight: 400;
    color: white;
    margin: 0;
}

/* ===== INSTALACIÓN DETALLE - PIXEL PERFECT ===== */
.installation-main-image {
    margin: 40px 0 30px 0;
    border-radius: 12px;
    overflow: hidden;
}

.installation-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.installation-detail-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin: 30px 0 60px 0;
}

.installation-info {
    display: flex;
    flex-direction: column;
}

.installation-detail-title {
    font-size: 28px;
    font-weight: 900;
    color: #000;
    margin-bottom: 12px;
    line-height: 1.2;
}

.installation-detail-underline {
    width: 50px;
    height: 3px;
    background-color: #0057A8;
    margin-bottom: 20px;
}

.installation-detail-category {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin: 0;
}

.installation-detail-description {
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 1.7;
    margin-top: 15px;
}

.installation-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-thumb {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-thumb:hover {
    transform: scale(1.05);
}

.gallery-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* ===== INSTALACIÓN CARD COMO ENLACE ===== */
.installation-card {
    text-decoration: none;
    display: block;
}

/* ===== CONTACTOS - PIXEL PERFECT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 50px 0;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-company {
    font-size: 24px;
    font-weight: 900;
    color: #000;
    margin-bottom: 10px;
}

.contact-underline {
    width: 50px;
    height: 3px;
    background-color: #0057A8;
    margin-bottom: 25px;
}

.contact-details {
    margin-bottom: 25px;
}

.contact-details p {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}

.contact-details strong {
    font-weight: 700;
    color: #000;
}

.btn-whatsapp-contact {
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 25px;
}

.btn-whatsapp-contact:hover {
    background-color: #1fa855;
}

.contact-qr {
    width: 120px;
    height: 120px;
}

.contact-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-right {
    display: flex;
    flex-direction: column;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 1px solid #D0D0D0;
    border-radius: 6px;
    font-size: 14px;
    font-family: var(--font-primary);
    background-color: #F5F5F5;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0057A8;
    background-color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background-color: #0057A8;
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #003D6B;
}

/* ===== CONTACTO INFO - LAYOUT ACTUALIZADO ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-company {
    font-size: 32px;
    font-weight: 900;
    color: #000;
    margin-bottom: 10px;
}

.contact-underline {
    width: 50px;
    height: 3px;
    background-color: #0057A8;
}

.btn-whatsapp-contact {
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-whatsapp-contact:hover {
    background-color: #1fa855;
}

.contact-info-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-details {
    flex: 1;
}

.contact-details p {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: #000;
}

.contact-details strong {
    font-weight: 700;
}

.contact-qr {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}

.contact-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== CATEGORÍA DE PRODUCTOS - PIXEL PERFECT ===== */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 20px 0;
}

.category-breadcrumb {
    font-size: 13px;
    color: #666;
}

.category-breadcrumb a {
    color: #0057A8;
    text-decoration: none;
}

.category-breadcrumb a:hover {
    text-decoration: underline;
}

.category-back {
    color: #0057A8;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.category-back:hover {
    text-decoration: underline;
}

.category-title-bar {
    background-color: #0057A8;
    padding: 25px 40px;
    border-radius: 12px 12px 0 0;
}

.category-title {
    color: white;
    font-size: 32px;
    font-weight: 900;
    margin: 0;
}

.category-results-bar {
    background-color: #CCCCCC;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 12px 12px;
    margin-bottom: 30px;
}

.results-count {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #333;
}

.sort-select {
    padding: 6px 12px;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 13px;
    background-color: white;
    cursor: pointer;
}

.category-products-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.category-product-item {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 30px;
    border: 1px solid #E0E0E0;
    border-bottom: none;
    background-color: white;
}

.category-product-item:first-child {
    border-radius: 12px 12px 0 0;
}

.category-product-item:last-child {
    border-bottom: 1px solid #E0E0E0;
    border-radius: 0 0 12px 12px;
}

.product-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-item-image img {
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.product-item-info {
    flex: 1;
}

.product-item-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.product-item-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-ver-mas {
    padding: 10px 24px;
    border: 1px solid #0057A8;
    border-radius: 4px;
    background-color: white;
    color: #0057A8;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.btn-ver-mas:hover {
    background-color: #0057A8;
    color: white;
}

.btn-add-cart {
    padding: 10px 24px;
    border: 1px solid #0057A8;
    border-radius: 4px;
    background-color: white;
    color: #0057A8;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.btn-add-cart:hover {
    background-color: #0057A8;
    color: white;
}

/* ===== DETALLE DE PRODUCTO - PIXEL PERFECT ===== */
.product-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 20px 0;
}

.product-detail-breadcrumb {
    font-size: 13px;
    color: #666;
}

.product-detail-breadcrumb a {
    color: #0057A8;
    text-decoration: none;
}

.product-detail-breadcrumb a:hover {
    text-decoration: underline;
}

.product-detail-back {
    color: #0057A8;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.product-detail-back:hover {
    text-decoration: underline;
}

.product-detail-title-bar {
    background-color: #0057A8;
    padding: 25px 40px;
    border-radius: 12px 12px 0 0;
}

.product-detail-title {
    color: white;
    font-size: 32px;
    font-weight: 900;
    margin: 0;
}

.product-detail-separator {
    background-color: #CCCCCC;
    height: 40px;
    border-radius: 0 0 12px 12px;
    margin-bottom: 30px;
}

.product-detail-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin: 30px 0 60px 0;
}

.product-detail-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-detail-image {
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.product-detail-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

.product-detail-info {
    text-align: center;
}

.product-detail-name {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.product-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-whatsapp-product {
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp-product:hover {
    background-color: #1fa855;
}

.btn-download-ficha {
    background-color: #0057A8;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-download-ficha:hover {
    background-color: #004080;
    color: white;
}

.btn-add-cart-detail {
    padding: 12px 24px;
    border: 1px solid #0057A8;
    border-radius: 6px;
    background-color: white;
    color: #0057A8;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.btn-add-cart-detail:hover {
    background-color: #0057A8;
    color: white;
}

.product-detail-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-specs-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.specs-title {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin: 0;
}

.specs-text {
    font-size: 12px;
    line-height: 1.7;
    color: #333;
    text-align: justify;
    margin: 0;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list li {
    font-size: 12px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 6px;
}

/* ===== BOTONES CATEGORÍA - ACTUALIZACIÓN ===== */
.btn-ver-mas {
    padding: 14px 28px;
    border: 2px solid #000;
    border-radius: 25px;
    background-color: white;
    color: #000;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-ver-mas::after {
    content: '\2198';
    font-size: 18px;
    font-weight: 700;
}

.btn-ver-mas:hover {
    background-color: #000;
    color: white;
}

.btn-add-cart {
    padding: 14px 28px;
    border: 2px solid #000;
    border-radius: 25px;
    background-color: white;
    color: #000;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-cart::after {
    content: '\1F6D2';
    font-size: 16px;
}

.btn-add-cart:hover {
    background-color: #000;
    color: white;
}

/* ===== BOTONES CATEGORÍA - TAMAÑO CORRECTO ===== */
.btn-ver-mas {
    padding: 8px 18px;
    border: 1.5px solid #000;
    border-radius: 20px;
    font-size: 12px;
    gap: 6px;
}

.btn-ver-mas::after {
    content: '\2198';
    font-size: 12px;
}

.btn-add-cart {
    padding: 8px 18px;
    border: 1.5px solid #000;
    border-radius: 20px;
    font-size: 12px;
    gap: 6px;
}

.btn-add-cart::after {
    content: '\1F6D2';
    font-size: 11px;
}

/* ===== BOTONES CATEGORÍA - AJUSTE FINAL ===== */
.btn-ver-mas {
    border-radius: 8px;
    border-color: #666;
    color: #666;
}

.btn-ver-mas:hover {
    background-color: #666;
    border-color: #666;
}

.btn-add-cart {
    border-radius: 8px;
    border-color: #666;
    color: #666;
}

.btn-add-cart:hover {
    background-color: #666;
    border-color: #666;
}

/* ===== PRODUCTO DETALLE - LAYOUT HORIZONTAL ===== */
.product-detail-horizontal {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background-color: white;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    margin: 30px 0;
}

.product-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
}

.product-detail-image img {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.product-detail-name-center {
    flex: 1;
    text-align: center;
}

.product-detail-name-center h4 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.product-detail-actions-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-whatsapp-product {
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
}

.btn-download-ficha {
    background-color: #0057A8;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
}

.btn-download-ficha:hover {
    background-color: #004080;
    color: white;
}

.btn-add-cart-detail {
    padding: 10px 20px;
    border: 1.5px solid #666;
    border-radius: 8px;
    background-color: white;
    color: #666;
    font-weight: 600;
    font-size: 12px;
}

.btn-add-cart-detail:hover {
    background-color: #666;
    color: white;
}

.product-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0 60px 0;
}

.product-specs-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.specs-title {
    font-size: 11px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin: 0;
    text-decoration: underline;
}

.specs-text {
    font-size: 11px;
    line-height: 1.7;
    color: #333;
    text-align: left;
    margin: 0;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list li {
    font-size: 11px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 4px;
}

/* ===== PRODUCTO DETALLE - REDISEÑO COMPLETO ===== */
.product-detail-container {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    margin: 40px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-detail-header-blue {
    background-color: #0057A8;
    padding: 30px 40px;
    position: relative;
}

.product-detail-breadcrumb {
    font-size: 13px;
    color: white;
    margin-bottom: 20px;
}

.product-detail-back {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.product-detail-back:hover {
    text-decoration: underline;
}

.product-detail-title-white {
    font-size: 36px;
    font-weight: 900;
    color: white;
    margin: 0;
}

.product-detail-title-white a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.product-detail-title-white a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.product-detail-breadcrumb a {
    color: white;
    text-decoration: none;
}

.product-detail-breadcrumb a:hover {
    text-decoration: underline;
}

.product-detail-title-col h4 a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-detail-title-col h4 a:hover {
    color: #0057A8;
    text-decoration: underline;
}

.product-detail-gray-bar {
    background-color: #999999;
    height: 35px;
}

.product-detail-white-content {
    background-color: white;
    padding: 50px 40px;
}

.product-detail-row {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.product-detail-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image-col img {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.product-detail-title-col {
    text-align: center;
}

.product-detail-title-col h4 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.product-detail-buttons-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-whatsapp-product {
    background-color: #25D366;
    color: white;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-download-ficha {
    background-color: #0057A8;
    color: white;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-download-ficha:hover {
    background-color: #004080;
    color: white;
}

.btn-add-cart-detail {
    padding: 10px 22px;
    border: 1.5px solid #666;
    border-radius: 8px;
    background-color: white;
    color: #666;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.product-specs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-specs-row.product-specs-three-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.product-specs-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.specs-title {
    font-size: 11px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin: 0;
    text-decoration: underline;
}

.specs-text {
    font-size: 11px;
    line-height: 1.7;
    color: #333;
    text-align: left;
    margin: 0;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list li {
    font-size: 11px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 4px;
}

/* ===== CATEGORÍA PRODUCTOS - REDISEÑO COMPLETO ===== */
.category-container {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    margin: 40px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-header-blue {
    background-color: #0057A8;
    padding: 30px 40px;
    position: relative;
}

.category-breadcrumb-white {
    font-size: 13px;
    color: white;
    margin-bottom: 20px;
}

.category-back-white {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.category-back-white:hover {
    text-decoration: underline;
}

.category-title-white {
    font-size: 36px;
    font-weight: 900;
    color: white;
    margin: 0;
}

.category-gray-bar {
    background-color: #999999;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-count-gray {
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.results-sort-gray {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: white;
}

.sort-select-gray {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    background-color: white;
    color: #333;
    cursor: pointer;
}

.category-white-content {
    background-color: white;
    padding: 0;
}

.category-product-row {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 50px;
    align-items: center;
    padding: 40px;
    border-bottom: 1px solid #E0E0E0;
}

.category-product-row:last-child {
    border-bottom: none;
}

.product-row-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-row-image img {
    width: 100%;
    max-width: 150px;
    height: auto;
}

.product-row-title {
    text-align: center;
}

.product-row-title h4 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.product-row-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===== CATEGORÍAS Y MARCAS COMO ENLACES ===== */
.btn-category {
    text-decoration: none;
    display: inline-block;
}

.brand-product-card {
    text-decoration: none;
    display: flex;
    transition: transform 0.3s ease;
}

.brand-product-card:hover {
    transform: translateY(-5px);
}

/* ===== VALORES - SISTEMA DE TABS ===== */
.values-tabs-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.values-tabs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-tabs-list li {
    padding: 0;
}

.tab-button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 400;
    padding: 18px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button:hover {
    background-color: rgba(255,255,255,0.1);
}

.tab-button.active {
    font-weight: 600;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 40px;
    right: 40px;
    height: 2px;
    background-color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-underline {
    width: 50px;
    height: 3px;
    background-color: #0057A8;
    margin: 12px 0 20px 0;
}

/* ===== VALORES TABS - SIN GAP ===== */
.values-grid {
    gap: 0;
}

.tab-underline {
    width: 35px;
    height: 2px;
}

/* ===== VALORES TABS - BORDER RADIUS CORRECTO ===== */
.values-left {
    border-radius: 12px 0 0 12px;
}

.values-right {
    border-radius: 0 12px 12px 0;
}

/* ===== VALORES TABS - AJUSTES FINALES ===== */
.tab-button.active::after {
    width: 80px;
    left: 40px;
    right: auto;
}

.tab-button {
    font-weight: 300;
}

.tab-button.active {
    font-weight: 400;
}

/* ===== WOOCOMMERCE PAGINACIÓN ===== */
.woocommerce-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.woocommerce-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #D0D0D0;
    border-radius: 6px;
    background-color: white;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce-pagination .page-numbers:hover {
    background-color: #0057A8;
    border-color: #0057A8;
    color: white;
}

.woocommerce-pagination .page-numbers.current {
    background-color: #0057A8;
    border-color: #0057A8;
    color: white;
}

.woocommerce-pagination .page-numbers.prev,
.woocommerce-pagination .page-numbers.next {
    padding: 0 16px;
}

/* ===== NO PRODUCTOS ENCONTRADOS ===== */
.no-products-found {
    padding: 60px 40px;
    text-align: center;
}

.no-products-found p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* ===== INSTALACIONES GALERÍA ===== */
.gallery-thumb {
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-thumb:hover {
    opacity: 0.9;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: #0057A8;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.installation-back-link {
    margin-top: 40px;
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0057A8;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-back:hover {
    background-color: #003d75;
    color: white;
}

.no-installations {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    font-size: 16px;
    color: #666;
}
