
/* ==================================================
   CETHA MEDICAL®
   PREMIUM MEDICAL WEAR — EDITION 2026
   Design: Minimalist / Editorial / Monochrome
================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* 01. GLOBAL */

:root {
    --black: #111111;
    --white: #ffffff;
    --gray: #777777;
    --light-gray: #e8e8e8;
    --soft-gray: #f5f5f3;
    --font-main: 'DM Sans', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    background: var(--white);
    color: var(--black);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

/* 02. ANNOUNCEMENT */

.announcement {
    height: 34px;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
    padding: 0 12px;
}

/* 03. HEADER */

.header {
    height: 78px;
    padding: 0 6%;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -1px;
    white-space: nowrap;
}

.brand span,
.footer-top h2 span {
    font-size: 10px;
    vertical-align: top;
}

.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.navigation a,
.header-actions a {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: opacity .25s;
}

.navigation a:hover,
.header-actions a:hover {
    opacity: .45;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

/* 04. GENERAL TEXT */

.section-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #777;
    margin-bottom: 28px;
}

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

.section-heading h2 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -2px;
    font-weight: 700;
}

.section-heading h2 span,
.hero h1 span,
.editorial-content h2 span {
    color: #999;
}

.section-heading > p {
    max-width: 300px;
    color: var(--gray);
    font-size: 12px;
}

/* 05. BUTTONS */

.button-black {
    min-height: 46px;
    padding: 0 22px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    background: var(--black);
    color: var(--white);
    border: 1px solid var(--black);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: .3s;
}

.button-black:hover {
    background: white;
    color: black;
}

.text-link {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

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

/* 06. HERO */

.hero {
    min-height: 535px;
    padding: 60px 6%;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 7%;
    align-items: center;
}

.hero-copy {
    max-width: 560px;
}

.hero-copy .section-label {
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(55px, 6vw, 86px);
    line-height: .98;
    letter-spacing: -5px;
    font-weight: 700;
    margin-bottom: 28px;
}

.hero-description {
    max-width: 390px;
    color: var(--gray);
    font-size: 12px;
    line-height: 2;
    margin-bottom: 28px;
}

.hero-photo {
    height: 420px;
    position: relative;
    overflow: hidden;
    background: var(--soft-gray);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
    transition: transform .7s;
}

.hero-photo:hover img {
    transform: scale(1.03);
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 17px;
    display: flex;
    justify-content: space-between;
    color: white;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* 07. INFORMATION STRIP */

.information-strip {
    min-height: 56px;
    padding: 15px 6%;
    background: var(--black);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.information-strip span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

/* 08. COLLECTIONS */

.collections {
    padding: 95px 6%;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.collection-card {
    position: relative;
    height: 410px;
    overflow: hidden;
    background: var(--soft-gray);
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform .6s;
}

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

.collection-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    color: white;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.collection-caption p {
    font-size: 9px;
    letter-spacing: 1.5px;
}

.collection-caption h3 {
    font-family: var(--font-heading);
    font-size: 26px;
}

.collection-caption > span {
    font-size: 24px;
}

/* 09. PRODUCTS */

.products-section {
    padding: 75px 6% 100px;
    background: #fafafa;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 35px 17px;
}

.product-card {
    min-width: 0;
}

.product-photo {
    height: 350px;
    position: relative;
    overflow: hidden;
    background: #eeeeec;
}

.product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform .5s;
}

.product-card:hover .product-photo img {
    transform: scale(1.04);
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 8px 12px;
    background: white;
    color: black;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.product-info {
    padding-top: 13px;
}

.product-info h3 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
}

.product-info > p {
    color: var(--gray);
    font-size: 11px;
    margin-bottom: 14px;
}

.product-info label {
    display: block;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 13px 0 7px;
}

.product-info select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    background: white;
    border: 1px solid #ddd;
    outline: none;
    font-size: 11px;
    color: var(--black);
}

.product-info select:focus {
    border-color: black;
}

.add-product {
    width: 100%;
    min-height: 42px;
    margin-top: 13px;
    border: 1px solid var(--black);
    background: white;
    color: black;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: .25s;
}

.add-product:hover {
    background: black;
    color: white;
}

/* 10. EDITORIAL */

.editorial {
    padding: 100px 6%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9%;
    align-items: center;
}

.editorial-image {
    height: 460px;
    overflow: hidden;
    background: var(--soft-gray);
}

.editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.editorial-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 65px);
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 24px;
}

.editorial-content > p:not(.section-label) {
    color: var(--gray);
    font-size: 13px;
    line-height: 2;
    max-width: 430px;
    margin-bottom: 25px;
}

/* 11. SHOPPING BAG */

.cart-section {
    padding: 80px 6% 100px;
    background: white;
}

.cart-section .section-heading {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 35px;
    margin-bottom: 0;
}

#cart-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#cart-items > p {
    padding: 40px 0;
    color: var(--gray);
}

.cart-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 25px;
    padding: 30px 0;
    border-bottom: 1px solid var(--light-gray);
}

.cart-product-image {
    height: 175px;
    background: var(--soft-gray);
    overflow: hidden;
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-product-details {
    padding: 4px 0;
}

.cart-product-details h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cart-product-details p {
    color: var(--gray);
    font-size: 11px;
    margin: 6px 0;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 17px 0;
}

.quantity-control button {
    width: 32px;
    height: 32px;
    border: 1px solid #111;
    background: white;
    color: black;
    font-size: 17px;
    transition: .2s;
}

.quantity-control button:hover {
    background: black;
    color: white;
}

.quantity-control span {
    min-width: 15px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

.cart-product-details .cart-subtotal {
    color: black;
    font-weight: 800;
    letter-spacing: .5px;
}

.remove-item {
    border: none;
    background: transparent;
    color: #777;
    text-decoration: underline;
    font-size: 9px;
    font-weight: 700;
    margin-top: 10px;
}

.remove-item:hover {
    color: black;
}

.empty-cart {
    padding: 65px 0;
    text-align: center;
}

.empty-cart p {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.empty-cart a {
    font-size: 10px;
    font-weight: 800;
    text-decoration: underline;
}

.cart-footer {
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cart-footer h3 {
    font-size: 13px;
    font-weight: 800;
}

.cart-footer h3 span {
    margin-left: 5px;
}

/* 12. FOOTER */

.footer {
    background: var(--black);
    color: white;
    padding: 55px 6% 22px;
}

.footer-top {
    padding-bottom: 45px;
}

.footer-top h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.footer-top p {
    font-size: 9px;
    color: #aaa;
    letter-spacing: 2px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 9px;
    color: #aaa;
    letter-spacing: 1px;
}

.footer-bottom a {
    color: white;
}

/* 13. RESPONSIVE TABLETS */

@media (max-width: 1000px) {

    .header {
        grid-template-columns: 1fr 2fr;
    }

    .navigation {
        gap: 15px;
    }

    .header-actions {
        display: none;
    }

    .hero {
        gap: 35px;
    }

    .hero h1 {
        font-size: 62px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-photo {
        height: 400px;
    }

    .collection-card {
        height: 330px;
    }

}

/* 14. RESPONSIVE MOBILE */

@media (max-width: 600px) {

    .announcement {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .header {
        height: auto;
        min-height: 75px;
        padding: 15px 5%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
    }

    .brand {
        font-size: 18px;
    }

    .navigation {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
        order: 2;
    }

    .navigation a {
        font-size: 8px;
    }

    .hero {
        padding: 50px 5%;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero h1 {
        font-size: 58px;
        letter-spacing: -3px;
    }

    .hero-photo {
        height: 340px;
    }

    .information-strip {
        flex-direction: column;
        text-align: center;
        gap: 13px;
        padding: 20px 10px;
    }

    .information-strip span {
        font-size: 8px;
    }

    .collections,
    .products-section,
    .editorial,
    .cart-section {
        padding: 65px 5%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 36px;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .collection-card {
        height: 360px;
    }

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

    .product-photo {
        height: 230px;
    }

    .product-info h3 {
        font-size: 11px;
    }

    .product-info select {
        height: 38px;
        font-size: 10px;
    }

    .add-product {
        min-height: 40px;
        font-size: 8px;
        padding: 5px;
    }

    .editorial {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .editorial-image {
        height: 340px;
    }

    .editorial-content h2 {
        font-size: 48px;
    }

    .cart-item {
        grid-template-columns: 100px 1fr;
        gap: 15px;
        padding: 22px 0;
    }

    .cart-product-image {
        height: 140px;
    }

    .cart-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-footer .button-black {
        width: 100%;
    }

    .footer-bottom {
        flex-wrap: wrap;
        line-height: 2;
    }

}

/* 15. ACCESSIBILITY AND POLISH */

button:focus-visible,
a:focus-visible,
select:focus-visible {
    outline: 2px solid #777;
    outline-offset: 3px;
}

::selection {
    background: black;
    color: white;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}


/* =========================================
   CETHA MEDICAL - PRODUCT DETAIL
========================================= */

.product-detail-page {
    padding: 70px 6%;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 65px;
    margin-top: 45px;
    align-items: start;
}

.product-detail-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.product-detail-info {
    padding: 30px 0;
}

.product-detail-info h1 {
    font-size: clamp(32px, 4vw, 55px);
    text-transform: uppercase;
    line-height: 1;
    margin: 25px 0;
}

.product-detail-info h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.product-detail-info p {
    line-height: 1.8;
    color: #777;
    margin-bottom: 30px;
}

.product-detail-info label {
    display: block;
    font-size: 11px;
    font-weight: bold;
    margin: 25px 0 10px;
}

.product-detail-info select {
    width: 100%;
    padding: 15px;
    background: white;
    border: 1px solid #ddd;
}

.product-detail-info button {
    width: 100%;
    margin-top: 30px;
    padding: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-detail-page {
        padding: 35px 5%;
    }

}
/* INTERACCION DE PRODUCTOS */

.product-photo {
    cursor: pointer;
}

.product-title {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.product-title:hover {
    opacity: 0.55;
}

/* =========================================
   CETHA MEDICAL - HERO VIDEO CAROUSEL
========================================= */
.hero-banner { position: relative; width: 100%; min-height: 560px; height: min(72vw, 720px); background: #111; overflow: hidden; }
.hero-slider, .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .65s ease, visibility .65s ease; }
.hero-slide.active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 2; }
.hero-bg-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(18px) brightness(.42); transform: scale(1.08); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.hero-overlay { position: absolute; z-index: 3; left: 8%; bottom: 15%; max-width: 760px; color: #fff; pointer-events: none; text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.hero-overlay a { pointer-events: auto; }
.hero-small { font-size: 10px; font-weight: 800; letter-spacing: 2.5px; margin-bottom: 18px; }
.hero-overlay h1 { font-family: var(--font-heading); font-size: clamp(34px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -2px; margin-bottom: 25px; }
.hero-link { display: inline-flex; padding: 14px 24px; background: #fff; color: #111; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.hero-arrow { position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(0,0,0,.25); color: #fff; font-size: 20px; display: grid; place-items: center; cursor: pointer; pointer-events: auto; }
.hero-prev { left: 22px; } .hero-next { right: 22px; }
.hero-arrow:hover { background: #fff; color: #111; }
.hero-dots { position: absolute; z-index: 6; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dot { display: block; width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.hero-dot.active { background: #fff; transform: scale(1.25); }
.collections-section, .about-section { padding: 85px 6%; }
.collections-section .section-heading, .about-section .section-heading { display: block; text-align: center; max-width: 850px; margin: 0 auto 35px; }
.collections-section .section-heading .section-label, .about-section .section-heading .section-label { margin-bottom: 12px; }
.collections-section .section-heading h2, .about-section .section-heading h2 { margin-bottom: 14px; }
.collection-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.collection-links a { border: 1px solid #ccc; padding: 15px 22px; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.collection-links a:hover { background: #111; color: #fff; border-color: #111; }
.about-section { background: #f7f7f6; }
.about-section .section-heading > p:last-child { max-width: 650px; margin: 0 auto; line-height: 1.9; }
.product-search { max-width: 520px; margin: 0 auto 35px; }
.product-search input { width: 100%; min-height: 48px; border: 1px solid #ccc; background: #fff; padding: 0 16px; font: inherit; }
.cart-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--light-gray); }
.cart-summary h3 { font-size: 14px; }
.products-empty, .products-loading { padding: 35px 0; color: #777; text-align: center; grid-column: 1/-1; }
@media (max-width: 600px) {
 .hero-banner { height: 560px; min-height: 480px; }
 .hero-media { object-fit: cover; }
 .hero-overlay { left: 7%; right: 7%; bottom: 14%; }
 .hero-overlay h1 { font-size: clamp(32px, 9vw, 48px); }
 .hero-arrow { width: 38px; height: 38px; }
 .hero-prev { left: 10px; } .hero-next { right: 10px; }
 .collections-section, .about-section { padding: 60px 5%; }
 .collection-links { flex-direction: column; }
 .collection-links a { text-align: center; }
 .cart-summary { align-items: stretch; flex-direction: column; }
 .cart-summary .button-black { width: 100%; }
}

/* AJUSTE DEL LOGO CETHA MEDICAL */
.header .brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header .brand img {
    display: block;
    width: 150px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

/* BOTONES DEL CARRUSEL */
.hero-slider {
    position: relative;
}

.hero-slide video {
    pointer-events: none;
}

.hero-overlay {
    pointer-events: none;
}

.hero-overlay a {
    pointer-events: auto;
}

.hero-arrow,
.hero-dots {
    position: absolute;
    z-index: 100;
    pointer-events: auto;
}

.hero-arrow {
    cursor: pointer;
}


/* =========================================
   CETHA MEDICAL - BRANDS CAROUSEL
========================================= */

.brands-section {
    width: 100%;
    padding: 32px 0;
    background: #ffffff;
    overflow: hidden;
}

.brands-slider {
    width: 100%;
    overflow: hidden;
}

.brands-track {
    display: flex;
    width: max-content;
    animation: cethaBrandsMove 38s linear infinite;
}

.brands-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-shrink: 0;
    gap: 75px;
    padding-right: 75px;
}

.brands-group img {
    display: block;
    width: 150px;
    height: 75px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.85;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease,
                transform 0.3s ease;
}

.brands-group img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.08);
}

.brands-slider:hover .brands-track {
    animation-play-state: paused;
}

@keyframes cethaBrandsMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* TABLETS */
@media (max-width: 768px) {
    .brands-section {
        padding: 25px 0;
    }

    .brands-group {
        gap: 45px;
        padding-right: 45px;
    }

    .brands-group img {
        width: 115px;
        height: 60px;
    }
}

/* CELULARES */
@media (max-width: 480px) {
    .brands-group {
        gap: 30px;
        padding-right: 30px;
    }

    .brands-group img {
        width: 95px;
        height: 55px;
    }
}


/* =========================================
   CETHA MEDICAL - CARRUSEL DE MARCAS PREMIUM
========================================= */

.brands-section {
    width: 100%;
    padding: 30px 0;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.brands-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: cethaBrandsMarquee 38s linear infinite;
    will-change: transform;
}

.brands-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-shrink: 0;
    gap: 65px;
    padding-right: 65px;
}

.brands-group img {
    display: block;
    width: 145px;
    height: 75px;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.brands-group img:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* Movimiento infinito */
@keyframes cethaBrandsMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pausa al pasar el cursor */
.brands-track:hover {
    animation-play-state: paused;
}

/* TABLETS */
@media (max-width: 768px) {
    .brands-section {
        padding: 25px 0;
    }

    .brands-group {
        gap: 45px;
        padding-right: 45px;
    }

    .brands-group img {
        width: 120px;
        height: 65px;
    }
}

/* CELULARES */
@media (max-width: 480px) {
    .brands-section {
        padding: 20px 0;
    }

    .brands-track {
        animation-duration: 32s;
    }

    .brands-group {
        gap: 30px;
        padding-right: 30px;
    }

    .brands-group img {
        width: 100px;
        height: 55px;
    }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .brands-track {
        animation: none;
    }
}


/* =========================================
   CETHA MEDICAL - CATÁLOGO PREMIUM
========================================= */

.products-section {
    padding: 85px 6%;
    background: #fafafa;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    margin: 45px auto 0;
}

.product-card {
    background: #fff;
    min-width: 0;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.product-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f1f1f1;
    cursor: pointer;
}

.product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: none !important;
    transition: transform .5s ease;
}

.product-card:hover .product-photo img {
    transform: scale(1.04);
}

.product-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    color: #111;
    padding: 10px 15px;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-info {
    padding: 20px 16px 24px;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    cursor: pointer;
}

.product-info p {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.product-info label {
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    margin: 15px 0 8px;
}

.product-info select {
    width: 100%;
    height: 43px;
    padding: 0 12px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 12px;
}

.add-product {
    width: 100%;
    min-height: 46px;
    margin-top: 20px;
    background: #111;
    color: white;
    border: 1px solid #111;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: .3s ease;
}

.add-product:hover:not(:disabled) {
    background: #fff;
    color: #111;
}

.add-product:disabled {
    opacity: .45;
    cursor: not-allowed;
}

/* TABLETS */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

/* CELULARES */
@media (max-width: 600px) {
    .products-section {
        padding: 55px 4%;
    }

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

    .product-info {
        padding: 14px 10px 18px;
    }

    .product-title {
        font-size: 13px;
    }

    .product-info select {
        font-size: 11px;
    }

    .add-product {
        font-size: 9px;
        padding: 8px 4px;
    }
}

/* =========================================
   NOSOTROS - CETHA MEDICAL
========================================= */

.about-section {
    padding: 100px 7%;
    background: #f8f8f8;
}

/* ENCABEZADO */

.about-intro {
    max-width: 850px;
    margin: 0 auto 65px;
    text-align: center;
}

.about-intro .section-label {
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
    color: #777;
    margin-bottom: 18px;
}

.about-intro h2 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #171717;
    margin-bottom: 20px;
}

.about-intro > p:last-child {
    font-size: 15px;
    line-height: 1.8;
    color: #777;
    max-width: 650px;
    margin: auto;
}

/* HISTORIA Y MISIÓN */

.about-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 1250px;
    margin: auto;
}

.about-card {
    background: #fff;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #eaeaea;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-card:hover .about-image img {
    transform: scale(1.04);
}

.about-text {
    padding: 30px 32px 35px;
}

.about-text h3 {
    font-size: 25px;
    color: #171717;
    margin-bottom: 12px;
    font-weight: 700;
}

.about-text span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #777;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 14px;
    line-height: 1.9;
    color: #777;
    margin-bottom: 15px;
}

.about-text h3:not(:first-child) {
    margin-top: 25px;
}

/* TRAYECTORIA */

.about-stats {
    max-width: 1100px;
    margin: 85px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 20px;
}

.about-stat {
    padding: 20px;
    border-right: 1px solid #dedede;
}

.about-stat:last-child {
    border-right: none;
}

.about-stat strong {
    display: block;
    font-size: 42px;
    color: #171717;
    font-weight: 800;
    margin-bottom: 8px;
}

.about-stat span {
    font-size: 13px;
    color: #777;
}

/* BENEFICIOS */

.about-benefits {
    max-width: 1250px;
    margin: auto;
    padding-top: 45px;
    border-top: 1px solid #e5e5e5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.about-benefit span {
    font-size: 12px;
    font-weight: 700;
    color: #999;
    letter-spacing: 2px;
}

.about-benefit h4 {
    font-size: 18px;
    margin: 12px 0;
    color: #171717;
}

.about-benefit p {
    font-size: 13px;
    line-height: 1.7;
    color: #777;
}

/* RESPONSIVE TABLET */

@media (max-width: 768px) {

    .about-section {
        padding: 65px 5%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-image {
        height: 260px;
    }

    .about-stats {
        margin: 55px auto;
    }

    .about-stat strong {
        font-size: 32px;
    }

    .about-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* RESPONSIVE CELULARES */

@media (max-width: 480px) {

    .about-intro {
        margin-bottom: 40px;
    }

    .about-intro h2 {
        font-size: 29px;
    }

    .about-image {
        height: 220px;
    }

    .about-text {
        padding: 24px 20px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-stat {
        border-right: none;
        border-bottom: 1px solid #dedede;
    }

    .about-benefits {
        grid-template-columns: 1fr 1fr;
        gap: 25px 15px;
    }
}


/* =========================================
   CETHA MEDICAL - NOSOTROS COMPACTO
   Diseño inspirado en Moda Salud
========================================= */

.about-section {
    padding: 55px 6%;
    background: #fff;
}

/* ENCABEZADO */

.about-intro {
    max-width: 850px;
    margin: 0 auto 38px;
    text-align: center;
}

.about-intro .section-label {
    font-size: 10px;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.about-intro h2 {
    font-size: clamp(27px, 3vw, 38px);
    margin-bottom: 12px;
    letter-spacing: -1.5px;
}

.about-intro > p:last-child {
    max-width: 600px;
    font-size: 12px;
    line-height: 1.7;
    margin: auto;
}

/* VIDEO Y TEXTO */

.about-feature {
    max-width: 1150px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: 0.8fr 1.5fr;
    min-height: 250px;
    background: #f5f5f3;
    overflow: hidden;
}

.about-feature-text {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-feature-text span {
    font-size: 9px;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.about-feature-text h2 {
    font-size: 27px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.about-feature-text p {
    font-size: 11px;
    line-height: 1.8;
    color: #666;
}

.about-feature-video {
    min-height: 250px;
    overflow: hidden;
}

.about-feature-video video {
    width: 100%;
    height: 100%;
    min-height: 250px;
    display: block;
    object-fit: cover;
}

/* HISTORIA Y MISIÓN / VISIÓN */

.about-content {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.about-card {
    background: #fff;
}

.about-image {
    height: 175px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    padding: 15px 0;
}

.about-text h3 {
    font-size: 23px;
    margin-bottom: 8px;
}

.about-text span {
    font-size: 10px;
    margin-bottom: 12px;
}

.about-text p {
    font-size: 10px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.about-text h3:not(:first-child) {
    margin-top: 17px;
}

/* TRAYECTORIA */

.about-stats {
    max-width: 1050px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
}

.about-stat {
    padding: 12px;
}

.about-stat strong {
    font-size: 34px;
    margin-bottom: 3px;
}

.about-stat span {
    font-size: 11px;
}

/* BENEFICIOS */

.about-benefits {
    max-width: 1150px;
    margin: 35px auto 0;
    padding-top: 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-benefit span {
    font-size: 10px;
}

.about-benefit h4 {
    font-size: 15px;
    margin: 7px 0;
}

.about-benefit p {
    font-size: 11px;
    line-height: 1.6;
}

/* TABLETS */

@media (max-width: 768px) {
    .about-section {
        padding: 45px 5%;
    }

    .about-feature {
        grid-template-columns: 1fr;
    }

    .about-feature-video {
        min-height: 230px;
    }

    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .about-image {
        height: 150px;
    }

    .about-text h3 {
        font-size: 19px;
    }

    .about-stats {
        margin: 30px auto;
    }

    .about-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CELULARES */

@media (max-width: 480px) {
    .about-intro h2 {
        font-size: 26px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 190px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .about-stat {
        padding: 10px 3px;
    }

    .about-stat strong {
        font-size: 24px;
    }

    .about-stat span {
        font-size: 9px;
    }

    .about-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }

    .about-feature-text {
        padding: 25px;
    }
}

/* AJUSTE FINAL DE FOTOGRAFÍAS NOSOTROS */

.about-image {
    height: 190px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.about-text {
    padding-top: 12px;
}

.about-content {
    gap: 18px;
}

/* FOTOGRAFÍAS DEL EQUIPO */
.about-image {
    height: 210px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}


/* =========================================
   CETHA MEDICAL - SELECTORES DE PRODUCTO
========================================= */

.detail-option-group {
    margin: 28px 0;
}

.detail-option-group > label,
.detail-size-heading label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.7px;
    margin-bottom: 14px;
}

.detail-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-color-choice {
    width: 65px;
    min-height: 76px;
    padding: 7px 4px;
    border: 1px solid #e5e5e5;
    background: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: border-color .2s ease;
}

.detail-color-choice:hover {
    border-color: #777;
}

.detail-color-choice.selected {
    border: 2px solid #171717;
}

.detail-color-swatch {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 50%;
}

.detail-color-name {
    font-size: 10px;
    text-transform: uppercase;
    text-align: center;
}

.detail-size-heading {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.detail-size-options {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 5px;
    margin: 12px 0 20px;
}

.detail-size-choice {
    min-height: 42px;
    border: 1px solid #dedede;
    background: white;
    color: #171717;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s ease;
}

.detail-size-choice:hover:not(:disabled) {
    border-color: #171717;
}

.detail-size-choice.selected {
    background: #171717;
    color: white;
    border-color: #171717;
}

.detail-size-choice.out-of-stock {
    color: #aaa;
    text-decoration: line-through;
    background: #f5f5f5;
    cursor: not-allowed;
    opacity: .65;
}

.detail-stock {
    font-size: 12px;
    color: #777;
    margin-bottom: 18px;
}

#detail-add-cart:disabled {
    opacity: .45;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .detail-size-options {
        grid-template-columns: repeat(4, 1fr);
    }

    .detail-color-choice {
        width: 58px;
    }
}


/* =====================================
   CETHA MEDICAL - SELECTOR VISUAL
===================================== */

.detail-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 15px 0 35px;
}

.detail-color-choice {
    width: 75px !important;
    min-height: 85px;
    margin: 0 !important;
    padding: 10px 5px !important;
    border: 1px solid transparent;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 10px;
    transition: .2s ease;
}

.detail-color-choice.selected {
    border: 1px solid #171717;
}

.detail-color-choice:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.detail-color-swatch {
    width: 28px;
    height: 28px;
    display: block;
    border-radius: 50%;
    background: var(--swatch-color);
    border: 1px solid rgba(0,0,0,.15);
}

.detail-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 15px;
}

.detail-size-choice {
    width: 65px !important;
    height: 42px;
    margin: 0 !important;
    padding: 8px !important;
    border: 1px solid #ddd;
    background: white;
    color: #171717;
    font-size: 11px;
    cursor: pointer;
    transition: .2s ease;
}

.detail-size-choice.selected {
    background: #171717;
    color: white;
    border-color: #171717;
}

.detail-size-choice:disabled {
    opacity: .3;
    text-decoration: line-through;
    cursor: not-allowed;
}

.detail-stock {
    font-size: 12px;
    margin-top: 18px !important;
    color: #777;
}

.product-detail-info .detail-back {
    display: block;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .detail-colors {
        gap: 8px;
    }

    .detail-color-choice {
        width: 65px !important;
    }

    .detail-size-choice {
        width: 55px !important;
    }
}



/* =========================================
   CETHA MEDICAL - GALERÍA DE PRODUCTO
   Miniaturas verticales + fotografía principal
========================================= */
.product-detail-gallery {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-width: 0;
}

.product-detail-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 790px;
    overflow-y: auto;
    padding: 2px;
}

.product-detail-thumb {
    flex: 0 0 auto;
    width: 78px;
    height: 104px;
    padding: 0;
    border: 1px solid #e5e5e5;
    background: #f7f7f7;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .2s ease;
}

.product-detail-thumb:hover,
.product-detail-thumb.active {
    border: 2px solid #171717;
}

.product-detail-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.product-detail-main-image {
    min-width: 0;
    overflow: hidden;
    background: #f7f7f7;
}

.product-detail-main-image img {
    display: block;
    width: 100%;
    height: min(78vw, 790px);
    min-height: 420px;
    max-height: 790px;
    object-fit: contain;
    background: #fff;
}

.detail-color-option .color-swatch {
    background-color: #62c5c4;
}

.detail-color-option[data-color="FIREBIRD"] .color-swatch,
.detail-color-option[data-color="Firebird"] .color-swatch {
    background-color: #62c5c4 !important;
}

@media (max-width: 900px) {
    .product-detail-gallery {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
    }

    .product-detail-thumbnails {
        max-height: 680px;
    }

    .product-detail-thumb {
        width: 68px;
        height: 92px;
    }

    .product-detail-main-image img {
        height: min(110vw, 720px);
        min-height: 320px;
    }
}

@media (max-width: 560px) {
    .product-detail-gallery {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 8px;
    }

    .product-detail-thumbnails {
        gap: 8px;
    }

    .product-detail-thumb {
        width: 54px;
        height: 74px;
    }

    .product-detail-main-image img {
        min-height: 300px;
    }
}



/* GALERÍA DE PRODUCTO — CETHA MEDICAL */
.product-detail-gallery {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-width: 0;
}

.product-detail-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 780px;
    overflow-y: auto;
    padding: 2px;
}

.product-detail-thumb {
    flex: 0 0 auto;
    width: 78px;
    height: 104px;
    padding: 0;
    border: 1px solid #e5e5e5;
    background: #f7f7f7;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .2s ease, opacity .2s ease;
}

.product-detail-thumb:hover { opacity: .78; }
.product-detail-thumb.active { border: 2px solid #171717; }

.product-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-detail-main-image {
    min-width: 0;
    overflow: hidden;
    background: #f7f7f7;
}

.product-detail-main-image img {
    display: block;
    width: 100%;
    height: min(78vw, 790px);
    min-height: 420px;
    max-height: 790px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

@media (max-width: 900px) {
    .product-detail-gallery { grid-template-columns: 1fr; }
    .product-detail-thumbnails {
        order: 2;
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 2px 8px;
    }
    .product-detail-main-image { order: 1; }
    .product-detail-main-image img {
        height: min(110vw, 720px);
        min-height: 320px;
    }
}

@media (max-width: 560px) {
    .product-detail-thumb { width: 64px; height: 84px; }
    .product-detail-main-image img { min-height: 300px; }
}
