@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
    --cream:#f8f4ef;
    --paper:#fffdfa;
    --beige:#e8d9c9;
    --brown:#5b3929;
    --ink:#32251f;
    --muted:#82746d;
    --line:#e8ded4
}
* {
    box-sizing:border-box
}
body {
    margin:0;
    background:var(--cream);
    color:var(--ink);
    font-family:'DM Sans',Arial,sans-serif
}
button,input,select {
    font:inherit
}
button {
    cursor:pointer
}
a {
    color:inherit;
    text-decoration:none
}
.shell {
    max-width:1240px;
    margin:auto;
    padding:0 28px
}
.announcement {
    background:var(--brown);
    color:#fff;
    text-align:center;
    font-size:12px;
    letter-spacing:.09em;
    padding:10px
}
.header {
    background:rgba(248,244,239,.96);
    position:sticky;
    top:0;
    z-index:5;
    border-bottom:1px solid var(--line)
}
.nav {
    display:flex;
    align-items:center;
    gap:25px;
    min-height:82px
}
.logo {
    font-family:Georgia,serif;
    font-size:26px;
    letter-spacing:.16em;
    color:var(--brown);
    white-space:nowrap
}
.logo small {
    display:block;
    font:9px 'DM Sans',sans-serif;
    letter-spacing:.28em;
    text-align:center;
    margin-top:5px
}
.links {
    display:flex;
    gap:24px;
    margin-left:auto;
    font-size:13px
}
.links a:hover {
    color:#aa8267
}
.navbtn {
    border:1px solid var(--brown);
    background:transparent;
    color:var(--brown);
    padding:11px 18px;
    border-radius:3px;
    font-size:12px;
    white-space:nowrap
}
.hero {
    display:grid;
    grid-template-columns:1.1fr .9fr;
    min-height:480px;
    overflow:hidden;
    background:#ede2d6
}
.hero-content {
    padding:80px 8% 75px max(28px,calc((100vw - 1184px)/2));
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center
}
.eyebrow {
    font-size:11px;
    letter-spacing:.26em;
    color:#8d6a54;
    font-weight:700;
    text-transform:uppercase
}
.hero h1 {
    font:normal clamp(45px,5vw,78px)/1.08 Georgia,serif;
    color:var(--brown);
    margin:20px 0
}
.hero p {
    max-width:430px;
    line-height:1.8;
    color:#68564a;
    font-size:15px
}
.cta {
    display:inline-block;
    background:var(--brown);
    color:#fff;
    border:0;
    padding:15px 25px;
    font-size:13px;
    margin-top:20px;
    border-radius:3px
}
.hero-art {
    position:relative;
    background:linear-gradient(140deg,#c9ad98,#e8d9c9 55%,#f5eae0);
    display:grid;
    place-items:center;
    overflow:hidden
}
.hero-art:before {
    content:'';
    position:absolute;
    width:370px;
    height:370px;
    border:1px solid #ffffff80;
    border-radius:50%;
    transform:translate(20px,-20px)
}
.bottle {
    width:155px;
    height:265px;
    border-radius:24px 24px 16px 16px;
    background:linear-gradient(90deg,#f9f2e9,#fffdf8 40%,#e7d6c6);
    box-shadow:24px 35px 50px #795c4933;
    position:relative;
    transform:rotate(-10deg)
}
.bottle:before {
    content:'';
    position:absolute;
    top:-40px;
    left:50px;
    width:55px;
    height:50px;
    background:#5b3929;
    border-radius:8px 8px 2px 2px
}
.bottle:after {
    content:'HAIR\A HOUSE\A ─────\A HAIR CARE';
    white-space:pre;
    position:absolute;
    top:95px;
    left:10px;
    right:10px;
    text-align:center;
    color:#684936;
    font:17px/1.7 Georgia,serif;
    letter-spacing:.08em
}
.circle {
    position:absolute;
    width:170px;
    height:170px;
    border-radius:50%;
    background:#f4e9dc;
    right:11%;
    bottom:10%;
    opacity:.7
}
.features {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    padding-top:28px;
    padding-bottom:28px;
    border-bottom:1px solid var(--line)
}
.feature {
    text-align:center;
    font-size:13px;
    color:#67574b
}
.feature strong {
    display:block;
    color:var(--brown);
    margin-bottom:5px
}
.section {
    padding:65px 0
}
.section-top {
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:20px;
    margin-bottom:27px
}
.section h2 {
    font:normal 39px Georgia,serif;
    color:var(--brown);
    margin:9px 0
}
.section-sub {
    color:var(--muted);
    font-size:14px;
    margin:0
}
.filters {
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin:22px 0
}
.filter {
    border:1px solid #d7c7b8;
    background:transparent;
    border-radius:30px;
    padding:10px 17px;
    color:#5b473b;
    font-size:12px
}
.filter.active {
    background:var(--brown);
    color:white;
    border-color:var(--brown)
}
.search {
    width:260px;
    max-width:100%;
    padding:12px 14px;
    border:1px solid var(--line);
    background:var(--paper);
    border-radius:3px;
    outline-color:#9b7b66
}
.grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px
}
.product {
    background:var(--paper);
    border:1px solid var(--line);
    overflow:hidden
}
.photo {
    height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(150deg,#f0e6dc,#dfcabb);
    position:relative
}
.photo.alt {
    background:linear-gradient(150deg,#eee8e0,#d6c6b5)
}
.photo.rose {
    background:linear-gradient(150deg,#f5e9e5,#d6bdb6)
}
.photo.sand {
    background:linear-gradient(150deg,#eae3d5,#cfc3ae)
}
.mini-bottle {
    height:133px;
    width:76px;
    background:linear-gradient(90deg,#fdf8f1,#e7d9c9);
    border-radius:9px;
    position:relative;
    box-shadow:10px 16px 18px #6e554329
}
.mini-bottle:before {
    content:'';
    position:absolute;
    width:34px;
    height:20px;
    background:#6a4b3c;
    left:21px;
    top:-19px;
    border-radius:4px 4px 0 0
}
.mini-bottle:after {
    content:'HAIR\A HOUSE';
    white-space:pre;
    position:absolute;
    top:52px;
    left:0;
    right:0;
    text-align:center;
    font:11px/1.4 Georgia,serif;
    letter-spacing:.07em;
    color:#694b3a
}
.jar {
    height:91px;
    width:126px;
    border-radius:10px 10px 20px 20px;
    background:linear-gradient(90deg,#faf2e9,#dbc4b2);
    box-shadow:10px 16px 18px #6e554329;
    position:relative
}
.jar:before {
    content:'';
    position:absolute;
    top:-17px;
    width:130px;
    left:-2px;
    height:20px;
    background:#6d4b3a;
    border-radius:5px
}
.jar:after {
    content:'HAIR HOUSE';
    position:absolute;
    top:38px;
    left:0;
    right:0;
    text-align:center;
    font:12px Georgia,serif;
    color:#634536
}
.tag {
    position:absolute;
    top:12px;
    left:12px;
    background:#fff9f3;
    padding:6px 9px;
    color:#735541;
    font-size:10px
}
.details {
    padding:18px
}
.details small {
    font-size:10px;
    letter-spacing:.12em;
    color:#9a806f;
    text-transform:uppercase
}
.details h3 {
    font-size:15px;
    line-height:1.4;
    margin:8px 0 7px;
    min-height:42px
}
.details p {
    color:#84746b;
    font-size:12px;
    line-height:1.5;
    min-height:36px
}
.price {
    font-weight:700;
    font-size:17px;
    color:var(--brown);
    margin:14px 0
}
.ask {
    width:100%;
    padding:12px;
    background:transparent;
    border:1px solid var(--brown);
    color:var(--brown);
    font-size:12px
}
.ask:hover {
    background:var(--brown);
    color:#fff
}
.empty {
    text-align:center;
    padding:50px;
    color:var(--muted);
    grid-column:1/-1
}
.banner {
    background:#e9dcd0;
    padding:45px 0
}
.banner-inner {
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:center
}
.banner h2 {
    font:normal 31px Georgia,serif;
    color:var(--brown);
    margin:0 0 10px
}
.banner p {
    font-size:14px;
    color:#6b5c51;
    margin:0
}
.banner .cta {
    margin:0
}
.footer {
    background:#38271f;
    color:#f8f0e9;
    padding:55px 0 25px
}
.footgrid {
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:30px
}
.footer .logo {
    color:#f8f0e9
}
.footer p,.footer a {
    font-size:13px;
    color:#d6c4b7;
    line-height:1.8
}
.footer h4 {
    font-size:12px;
    letter-spacing:.13em
}
.footer a {
    display:block
}
.bottom {
    border-top:1px solid #6c5344;
    margin-top:38px;
    padding-top:18px;
    font-size:11px;
    color:#bca99a
}
.note {
    background:#fff5df;
    color:#705525;
    padding:12px 20px;
    text-align:center;
    font-size:12px
}
.mobile-menu {
    display:none
}
@media(max-width:900px) {
    .grid {
        grid-template-columns:repeat(2,1fr)
    }
    .links {
        display:none
    }
    .navbtn {
        margin-left:auto
    }
    .hero-content {
        padding:55px 30px
    }
    .hero {
        min-height:420px
    }
}
@media(max-width:600px) {
    .shell {
        padding:0 17px
    }
    .nav {
        min-height:69px
    }
    .logo {
        font-size:20px
    }
    .logo small {
        font-size:7px
    }
    .navbtn {
        padding:9px 11px;
        font-size:11px
    }
    .hero {
        grid-template-columns:1fr
    }
    .hero-content {
        padding:53px 24px 45px
    }
    .hero h1 {
        font-size:47px
    }
    .hero-art {
        min-height:260px
    }
    .bottle {
        transform:scale(.7) rotate(-10deg)
    }
    .circle {
        width:110px;
        height:110px
    }
    .features {
        grid-template-columns:1fr;
        gap:14px
    }
    .section {
        padding:48px 0
    }
    .section-top {
        display:block
    }
    .section h2 {
        font-size:32px
    }
    .search {
        margin-top:20px;
        width:100%
    }
    .grid {
        gap:10px
    }
    .photo {
        height:175px
    }
    .details {
        padding:12px
    }
    .details h3 {
        font-size:13px
    }
    .details p {
        font-size:11px
    }
    .price {
        font-size:15px
    }
    .banner-inner {
        display:block
    }
    .banner .cta {
        margin-top:22px
    }
    .footgrid {
        grid-template-columns:1fr 1fr
    }
    .footgrid>div:first-child {
        grid-column:1/-1
    }
}
/* Versión catálogo: tipografía amplia y lectura cómoda */
.announcement {
    font-size:15px;
    font-weight:700;
    letter-spacing:.13em;
    padding:17px 12px
}
.hero {
    min-height:420px
}
.hero-content {
    padding-top:65px;
    padding-bottom:65px
}
.eyebrow {
    font-size:14px;
    letter-spacing:.16em
}
.hero h1 {
    font-size:clamp(52px,6vw,88px)
}
.hero p {
    font-size:19px;
    line-height:1.65;
    max-width:570px
}
.cta {
    font-size:17px;
    padding:17px 28px
}
.section h2 {
    font-size:clamp(39px,4vw,55px)
}
.section-sub {
    font-size:18px
}
.search {
    font-size:17px;
    padding:16px 18px;
    width:330px
}
.filter {
    font-size:15px;
    padding:12px 20px
}
.details {
    padding:20px
}
.details small {
    font-size:12px
}
.details h3 {
    font-size:20px;
    min-height:0
}
.details p {
    font-size:15px;
    line-height:1.6;
    min-height:0
}
.price {
    font-size:23px
}
.ask {
    font-size:16px;
    padding:14px
}
.product {
    cursor:pointer;
    transition:transform .18s,box-shadow .18s
}
.product:hover {
    transform:translateY(-3px);
    box-shadow:0 12px 30px #513b2a15
}
.product:focus-visible {
    outline:3px solid var(--brown);
    outline-offset:3px
}
.footer {
    padding:34px 0
}
.footer-simple {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px
}
.footer-simple strong {
    font:28px Georgia,serif
}
.footer-simple p,.footer-simple a {
    font-size:16px
}
.footer-simple a {
    text-decoration:underline;
    text-underline-offset:5px
}
.note {
    font-size:13px
}
.modal[hidden] {
    display:none!important
}
.modal {
    position:fixed;
    inset:0;
    z-index:30;
    display:grid;
    place-items:center;
    padding:20px
}
.modal-backdrop {
    position:absolute;
    inset:0;
    background:#21160fd1;
    backdrop-filter:blur(3px)
}
.modal-panel {
    position:relative;
    display:grid;
    grid-template-columns:1fr 1fr;
    max-width:860px;
    width:100%;
    max-height:min(92vh,800px);
    overflow:auto;
    background:var(--paper);
    border-radius:14px;
    box-shadow:0 24px 70px #130b0766
}
.modal-photo {
    height:100%;
    min-height:380px
}
.modal-photo .mini-bottle {
    transform:scale(1.65)
}
.modal-photo .jar {
    transform:scale(1.65)
}
.modal-body {
    padding:52px 36px 40px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start
}
.modal-category {
    color:#856550;
    font-size:15px;
    letter-spacing:.12em;
    text-transform:uppercase
}
.modal-body h2 {
    font:normal clamp(32px,3.5vw,48px)/1.14 Georgia,serif;
    color:var(--brown);
    margin:16px 0
}
.modal-body p {
    font-size:19px;
    line-height:1.65;
    color:#66564d
}
.modal-price {
    font-size:30px;
    font-weight:700;
    color:var(--brown);
    margin:16px 0 22px
}
.modal-cta {
    display:inline-block;
    background:var(--brown);
    color:white;
    padding:17px 23px;
    border-radius:5px;
    font-size:17px;
    font-weight:700;
    text-align:center
}
.modal-close {
    position:absolute;
    z-index:2;
    top:12px;
    right:14px;
    background:#fffdfaf0;
    border:0;
    width:43px;
    height:43px;
    border-radius:50%;
    font-size:30px;
    color:var(--brown)
}
body.modal-open {
    overflow:hidden
}
@media(max-width:700px) {
    .modal-panel {
        grid-template-columns:1fr;
        max-width:440px
    }
    .modal-photo {
        height:215px;
        min-height:215px
    }
    .modal-photo .mini-bottle,.modal-photo .jar {
        transform:scale(1)
    }
    .modal-body {
        padding:24px
    }
    .modal-body h2 {
        font-size:34px
    }
    .modal-body p {
        font-size:17px;
        margin:4px 0
    }
    .modal-price {
        font-size:27px;
        margin:14px 0
    }
    .modal-cta {
        width:100%;
        font-size:16px
    }
    .footer-simple {
        display:block
    }
}
@media(max-width:600px) {
    .hero h1 {
        font-size:49px
    }
    .hero p {
        font-size:18px
    }
    .section h2 {
        font-size:38px
    }
    .details h3 {
        font-size:17px
    }
    .details p {
        font-size:14px
    }
    .price {
        font-size:20px
    }
    .ask {
        font-size:14px
    }
    .photo {
        height:185px
    }
    .section {
        padding:45px 0
    }
    .announcement {
        font-size:13px
    }
}
/* Inicio compacto en celulares: catálogo visible antes, sin cambiar escritorio */
@media(max-width:600px) {
    .hero {
        display:block;
        min-height:0
    }
    .hero-content {
        padding:6px 18px 7px;
        gap:0
    }
    .hero .eyebrow {
        font-size:10px;
        letter-spacing:.10em
    }
    .hero h1 {
        font-size:clamp(25px,6.5vw,30px);
        line-height:1.02;
        margin:3px 0
    }
    .hero p {
        font-size:12px;
        line-height:1.2;
        margin:1px 0 0
    }
    .hero .cta {
        font-size:12px;
        padding:7px 11px;
        margin-top:5px
    }
    .hero-art {
        display:none
    }
}
/* Hero compacto: reduce la altura del bloque completo, sin achicar la tipografía de escritorio. */
@media (min-width: 901px) {
    .hero {
        min-height: 0;
        height: 310px;
    }
    .hero-content {
        padding-top: 18px;
        padding-bottom: 18px;
    }
    .hero h1 {
        font-size: clamp(45px, 4.5vw, 67px);
        line-height: 1.04;
        margin: 8px 0;
    }
    .hero p {
        font-size: 16px;
        line-height: 1.4;
        margin: 4px 0;
    }
    .hero .cta {
        margin-top: 10px;
        padding: 11px 20px;
        font-size: 14px;
    }
    .hero-art .bottle {
        transform: scale(.65) rotate(-10deg);
    }
    .hero-art:before {
        width: 260px;
        height: 260px;
    }
    .hero-art .circle {
        width: 105px;
        height: 105px;
    }
}
@media (min-width: 601px) and (max-width: 900px) {
    .hero {
        min-height: 0;
        height: 320px;
    }
    .hero-content {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .hero h1 {
        font-size: 48px;
        margin: 9px 0;
    }
    .hero p {
        font-size: 15px;
        line-height: 1.4;
    }
    .hero .cta {
        margin-top: 8px;
        padding: 10px 17px;
    }
    .hero-art .bottle {
        transform: scale(.65) rotate(-10deg);
    }
}
/* Mejoras de legibilidad: textos secundarios y controles */
.announcement {
    font-size:16px
}
.eyebrow {
    font-size:15px;
    letter-spacing:.13em
}
.section-sub {
    font-size:19px
}
.filter {
    font-size:17px
}
.search {
    font-size:18px
}
.details small {
    font-size:14px;
    letter-spacing:.07em
}
.details h3 {
    font-size:22px
}
.details p {
    font-size:17px
}
.price {
    font-size:24px
}
.ask {
    font-size:17px
}
.tag {
    font-size:13px
}
.footer-simple p,.footer-simple a {
    font-size:18px
}
.note {
    font-size:15px
}
.modal-category {
    font-size:17px
}
@media(min-width:901px) {
    .hero .eyebrow {
        font-size:15px
    }
    .hero p {
        font-size:18px;
        line-height:1.3
    }
    .hero .cta {
        font-size:16px
    }
}
@media(max-width:600px) {
    .announcement {
        font-size:14px
    }
    .hero .eyebrow {
        font-size:12px
    }
    .hero h1 {
        font-size:clamp(27px,7vw,33px)
    }
    .hero p {
        font-size:15px;
        line-height:1.25
    }
    .hero .cta {
        font-size:15px;
        padding:8px 12px
    }
    .section .eyebrow {
        font-size:13px
    }
    .section-sub {
        font-size:17px
    }
    .filter {
        font-size:15px;
        padding:11px 15px
    }
    .search {
        font-size:17px
    }
    .details {
        padding:13px
    }
    .details small {
        font-size:12px
    }
    .details h3 {
        font-size:18px
    }
    .details p {
        font-size:15px
    }
    .price {
        font-size:21px
    }
    .ask {
        font-size:15px
    }
    .tag {
        font-size:12px
    }
    .footer-simple p,.footer-simple a {
        font-size:17px
    }
    .note {
        font-size:13px
    }
}
/* Etiquetas de ofertas con acentos de color */
.offer-pill {
    position:absolute;
    right:12px;
    top:12px;
    background:#5b3929;
    color:#fff;
    padding:7px 10px;
    border-radius:3px;
    font-size:13px;
    font-weight:700;
    letter-spacing:.02em
}
.old-price {
    color:#917d70;
    font-size:15px;
    text-decoration:line-through;
    margin-top:14px
}
.offer-price {
    margin:3px 0 5px
}
.offer-line {
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    margin-bottom:12px
}
.offer-percent {
    background:#e9d7c5;
    color:#5b3929;
    border-radius:3px;
    padding:4px 7px;
    font-size:14px;
    font-weight:700
}
.offer-hint {
    font-size:12px;
    color:#856f60
}
.modal-old-price {
    color:#927f72;
    text-decoration:line-through;
    font-size:18px;
    margin-top:12px
}
.modal-offer-line {
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:12px
}
.modal-offer-line .offer-percent {
    font-size:16px
}
@media(max-width:600px) {
    .offer-pill {
        font-size:11px;
        right:7px;
        top:9px;
        padding:6px
    }
    .old-price {
        font-size:13px
    }
    .offer-percent {
        font-size:12px
    }
    .offer-hint {
        font-size:11px
    }
}
/* Colores promocionales: contraste sin perder la identidad crema y marrón */
.offer-pill {
    background:#ff7733;
    color:#fff;
    border-radius:6px;
    box-shadow:0 3px 10px #73311b26;
    font-size:14px;
    padding:8px 12px
}
.offer-percent {
    background:#00a650;
    color:#fff;
    border-radius:5px;
    font-size:15px;
    padding:6px 10px;
    letter-spacing:.015em
}
.old-price,.modal-old-price {
    color:#8d8076
}
.offer-price {
    color:#4c2b20;
    font-weight:800
}
.modal-offer-line .offer-percent {
    font-size:17px
}
@media(max-width:600px) {
    .offer-pill {
        font-size:12px;
        padding:7px 9px
    }
    .offer-percent {
        font-size:13px;
        padding:5px 8px
    }
}


/* Fotografías reales de kits y combos */
.photo.has-real-image {display:flex;align-items:center;justify-content:center;background:#f3ebe2;overflow:hidden;}
.product-real-image {display:block;width:100%;height:100%;object-fit:contain;object-position:center;}
/* Encuadre de las fotos del catálogo: zoom suave y centrado, sin alterar el detalle ampliado. */
.product .photo.has-real-image .product-real-image {transform:scale(1.18);transform-origin:center center;}
.product .photo .tag,.product .photo .offer-pill {z-index:2;}
@media(max-width:600px){.product .photo.has-real-image .product-real-image{transform:scale(1.13);}}
.modal-photo.has-real-image {min-height:280px;}
.modal-photo .product-real-image {max-height:440px;}
@media(max-width:600px){.modal-photo.has-real-image{min-height:210px}.modal-photo .product-real-image{max-height:300px}}

/* Modal: la foto original llena todo el marco, sin bandas ni espacios laterales. */
.modal-photo.has-real-image { min-height: 380px; height: 100%; padding: 0; overflow: hidden; }
.modal-photo.has-real-image .product-real-image { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center center; transform: none; }
@media (max-width: 600px) {
  .modal-photo.has-real-image { min-height: 0; height: 340px; }
  .modal-photo.has-real-image .product-real-image { height: 100%; max-height: none; object-fit: cover; }
}

/* Hair House: fondo suave inspirado en marketplaces, conservando la identidad de marca. */
:root { --market-bg:#f2f6fd; --market-blue:#e6effd; }
body { background:var(--market-bg); }
#productos { max-width:none; padding-left:max(28px,calc((100vw - 1184px)/2)); padding-right:max(28px,calc((100vw - 1184px)/2)); background:linear-gradient(180deg,#f8faff 0%,#e7f0fe 100%); }
.product { background:#fff; border:1px solid #e2e7f0; border-radius:8px; box-shadow:0 5px 20px #36567c0d; }
.product:hover { box-shadow:0 14px 32px #36567c22; }
.search { border-color:#dce4f0; border-radius:6px; background:#fff; }
.filter:not(.active) { background:#fff; border-color:#dce4ed; }
.hero-logo-panel { background:#f1e6db; }
.hero-logo-panel::before { display:none; }
.hero-brand-logo { display:block; width:min(85%,460px); height:min(86%,265px); object-fit:contain; filter:drop-shadow(0 9px 13px #573c2c15); }
/* Destacar las ofertas sugeridas con verde y naranja, sin inventar precios previos. */
.offer-pill { background:#ff7733; }
.offer-percent { background:#00a650; }
/* Foto original ampliable desde el detalle. */
.modal-photo.has-real-image { cursor:zoom-in; }
.modal-photo:focus-visible { outline:3px solid #00a650; outline-offset:-3px; }
.zoom-photo-hint { position:absolute; z-index:2; left:14px; bottom:14px; background:#ffffffed; color:#4f3528; border-radius:5px; padding:9px 12px; font-size:14px; font-weight:700; box-shadow:0 2px 10px #0002; pointer-events:none; }
.zoom-viewer[hidden] { display:none!important; }
.zoom-viewer { position:fixed; inset:0; z-index:100; background:#171410f5; color:#fff; display:flex; flex-direction:column; }
.zoom-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 20px; background:#241c18; z-index:2; }
.zoom-title { font-size:15px; font-weight:700; line-height:1.3; }
.zoom-actions { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.zoom-actions button { background:#fff; color:#35241c; border:0; border-radius:6px; min-width:42px; min-height:42px; padding:5px 12px; font-size:23px; font-weight:700; }
.zoom-actions #zoom-reset { font-size:14px; min-width:65px; }
.zoom-actions #zoom-close { background:#ff7733; color:#fff; }
.zoom-actions button:focus-visible { outline:3px solid #00a650; outline-offset:2px; }
.zoom-stage { position:relative; flex:1; min-height:0; overflow:hidden; display:flex; align-items:center; justify-content:center; touch-action:none; user-select:none; cursor:zoom-in; }
.zoom-stage.can-pan { cursor:grab; }
.zoom-stage.can-pan:active { cursor:grabbing; }
.zoom-stage img { display:block; max-width:95%; max-height:95%; width:auto; height:auto; object-fit:contain; transform-origin:center center; will-change:transform; pointer-events:none; user-select:none; }
.zoom-help { padding:10px 18px; text-align:center; font-size:13px; background:#241c18; color:#ddd2c8; }
@media(max-width:900px) { #productos { padding-left:28px; padding-right:28px; } }
@media(max-width:600px) {
 #productos { padding-left:17px; padding-right:17px; }
 .hero { display:grid; grid-template-columns:1fr; }
 .hero-logo-panel { display:flex; min-height:150px; height:150px; }
 .hero-brand-logo { width:80%; height:135px; }
 .zoom-toolbar { padding:10px; align-items:flex-start; }
 .zoom-title { font-size:12px; max-width:30%; }
 .zoom-actions { gap:4px; }
 .zoom-actions button { min-width:35px; min-height:38px; padding:4px 7px; font-size:20px; }
 .zoom-actions #zoom-reset { min-width:54px; font-size:12px; }
 .zoom-help { font-size:11px; }
}
/* Ajustes comerciales: jerarquía limpia y CTA azul. */
.product .photo .tag { display:none; }
.product .photo .offer-pill {
  top:12px;
  left:12px;
  right:auto;
  padding:7px 10px;
  background:#ff7733;
  color:white;
  border-radius:4px;
  font-size:12px;
  letter-spacing:.04em;
  box-shadow:none;
}
.market-meta {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:12px 0 2px;
  color:#697585;
  font-size:14px;
  font-weight:500;
}
.market-meta span:first-child { color:#495e74; }
.market-separator { color:#a5adba; }
.product .details .price { margin-top:10px; }
.modal-meta { font-size:14px; color:#60728a; font-weight:600; margin-top:12px; }
.modal-cta {
  background:#3483fa;
  color:#fff;
  border:1px solid #3483fa;
  border-radius:6px;
  padding:16px 26px;
  min-height:52px;
  font-size:18px;
  font-weight:700;
  transition:background .18s, box-shadow .18s;
}
.modal-cta:hover,.modal-cta:focus-visible { background:#2968c8; border-color:#2968c8; box-shadow:0 5px 18px #3483fa44; }
.modal-cta:focus-visible { outline:3px solid #a5c9ff; outline-offset:3px; }
@media(max-width:600px) {
  .product .photo .offer-pill { top:8px; left:8px; padding:6px 8px; font-size:11px; }
  .market-meta { font-size:12px; gap:5px; }
  .modal-cta { width:100%; font-size:17px; }
}

/* Datos de tienda simulados para esta maqueta: precio anterior, ventas y etiqueta. */
#modal-offer-line[hidden] { display:none !important; }
.product .photo .tag { display:none !important; }
.product .photo .offer-pill {
  left:12px; right:auto; top:12px;
  background:#ff7733; color:#fff;
  border-radius:3px; padding:7px 10px;
  font-size:12px; font-weight:800; letter-spacing:.025em;
  box-shadow:0 2px 7px #0002;
}
.market-meta {
  display:flex; align-items:center; flex-wrap:wrap; gap:7px;
  margin:12px 0 8px; color:#697585; font-size:14px; font-weight:500;
}
.market-meta span:first-child { color:#52657c; }
.market-separator { color:#a5adba; }
.offer-line { margin:4px 0 0; gap:9px; }
.old-price { margin:0; font-size:14px; color:#8b929b; }
.offer-percent { background:#00a650; color:#fff; border-radius:3px; font-size:13px; padding:5px 8px; }
.product .details .price { margin:7px 0 14px; font-size:24px; }
.modal-meta { color:#68788b; font-size:14px; font-weight:600; margin:12px 0 2px; }
.modal-offer-line { margin:6px 0 0; }
.modal-old-price { margin:0; color:#8b929b; font-size:17px; }
.modal-price { margin:8px 0 20px; }
.modal-cta {
  background:#3483fa; color:#fff; border:1px solid #3483fa;
  border-radius:6px; padding:16px 26px; min-height:52px;
  font-size:18px; font-weight:700; text-align:center;
  transition:background .18s, box-shadow .18s;
}
.modal-cta:hover,.modal-cta:focus-visible {
  background:#2968c8; border-color:#2968c8; box-shadow:0 5px 18px #3483fa44;
}
.modal-cta:focus-visible { outline:3px solid #a5c9ff; outline-offset:3px; }
@media(max-width:600px) {
  .product .photo .offer-pill { left:8px; top:8px; padding:6px 8px; font-size:11px; }
  .market-meta { font-size:12px; gap:5px; }
  .old-price { font-size:12px; }
  .offer-percent { font-size:12px; padding:4px 7px; }
  .product .details .price { font-size:21px; }
  .modal-cta { width:100%; font-size:17px; }
}
/* Ficha de producto tipo marketplace: fotografía original, información y panel de tienda. */
.modal-panel {
  grid-template-columns:minmax(0,1.08fr) minmax(0,.98fr) minmax(250px,.82fr);
  max-width:1180px;
  max-height:min(94vh,850px);
  background:#fff;
  align-items:stretch;
}
.modal-photo.has-real-image { min-height:620px; }
.modal-body {
  padding:52px 24px 30px 28px;
  justify-content:flex-start;
  min-width:0;
}
.modal-body h2 { font-size:clamp(30px,2.9vw,39px); margin:12px 0 18px; }
.modal-body p { font-size:16px; line-height:1.62; margin:8px 0; }
.modal-category { font-size:13px; }
.modal-meta { font-size:14px; margin:8px 0 3px; }
.modal-price { margin:9px 0 0; font-size:34px; }
.modal-close { top:9px; right:10px; background:#fff; box-shadow:0 1px 8px #1b304a26; }
.purchase-column {
  min-width:0;
  padding:58px 20px 22px 0;
  display:flex;
  flex-direction:column;
  gap:15px;
}
.purchase-box,.seller-profile {
  background:#fff;
  border:1px solid #e2e6ed;
  border-radius:9px;
  overflow:hidden;
}
.purchase-box { padding:18px 15px 16px; }
.stock-status { display:flex; align-items:center; gap:9px; color:#232e36; font-size:19px; font-weight:700; }
.stock-indicator { width:9px; height:9px; border-radius:50%; background:#00a650; box-shadow:0 0 0 3px #e6f6ed; }
.stock-control-row { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:15px 0 16px; font-size:13px; }
.stock-control-row label { font-weight:600; color:#39434d; }
.stock-control-row select { border:1px solid #cbd7e5; background:#fff; color:#263749; padding:7px 8px; border-radius:5px; max-width:105px; cursor:pointer; }
.stock-control-row select:focus-visible { outline:3px solid #a5c9ff; outline-offset:2px; }
.stock-count { color:#657485; font-size:12px; }
.purchase-column .modal-cta { display:block; width:100%; margin:0; padding:14px 12px; font-size:17px; min-height:51px; }
.purchase-caption { color:#657485; font-size:12px; line-height:1.5; margin:10px 1px 17px; }
.seller-mini { display:flex; align-items:center; gap:10px; padding-top:15px; border-top:1px solid #e9edf3; }
.seller-mini img { width:49px; height:49px; object-fit:contain; border:1px solid #e5ded7; background:#f9f3ed; border-radius:50%; padding:4px; flex:none; }
.seller-mini div { display:flex; flex-direction:column; gap:2px; min-width:0; }
.seller-mini-caption { color:#5f6e80; font-size:11px; line-height:1.3; }
.seller-mini strong { color:#263749; font-size:15px; }
.seller-mini-sales { color:#00a650; font-size:13px; font-weight:700; }
.seller-banner { height:76px; background:linear-gradient(110deg,#e9d8c8,#cba78c 62%,#654333); color:#4e3023; display:flex; flex-direction:column; align-items:flex-end; justify-content:center; padding:13px 16px; gap:4px; }
.seller-banner span { font-family:Georgia,serif; letter-spacing:.13em; font-size:23px; }
.seller-banner small { font-size:8px; letter-spacing:.08em; font-weight:700; }
.seller-profile-header { display:flex; align-items:center; gap:9px; padding:12px 12px 14px; }
.seller-profile-header img { width:57px; height:57px; object-fit:contain; border:1px solid #e9ded2; background:#f7f0e9; border-radius:50%; padding:4px; flex:none; }
.seller-profile-header h3 { font-size:18px; margin:0 0 3px; font-weight:800; color:#2b3540; }
.seller-profile-header p { font-size:12px; color:#617085; margin:0 0 5px; line-height:1.25; }
.seller-profile-header span { color:#00a650; font-size:13px; font-weight:700; }
.seller-reputation { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2px; padding:12px 8px; border-top:1px solid #e8edf3; }
.seller-reputation div { text-align:center; display:flex; flex-direction:column; align-items:center; gap:5px; padding:0 3px; }
.seller-reputation div+div { border-left:1px solid #e8edf3; }
.seller-reputation strong { color:#00a650; font-size:20px; line-height:1; }
.seller-reputation span { color:#607085; font-size:10px; line-height:1.25; }
.seller-catalog-link { display:block; margin:0 12px 12px; text-align:center; padding:11px 8px; background:#eaf2ff; color:#236cc9; font-size:14px; font-weight:700; border-radius:5px; }
.seller-catalog-link:hover,.seller-catalog-link:focus-visible { background:#dbeaff; }
@media(max-width:1050px) and (min-width:701px) {
 .modal-panel { max-width:850px; grid-template-columns:minmax(0,.93fr) minmax(0,1fr); }
 .modal-photo.has-real-image { grid-row:1 / span 2; height:min(80vh,680px); min-height:0; align-self:start; position:sticky; top:0; }
 .modal-body { grid-column:2; padding:44px 24px 14px; }
 .purchase-column { grid-column:2; padding:0 24px 24px; }
 .modal-body h2 { font-size:35px; }
}
@media(max-width:700px) {
 .modal { padding:10px; }
 .modal-panel { display:flex; flex-direction:column; max-width:480px; max-height:94dvh; }
 .modal-photo.has-real-image { height:315px; min-height:315px; flex:none; }
 .modal-body { padding:22px 20px 14px; }
 .modal-body h2 { font-size:32px; margin:10px 0; }
 .modal-body p { font-size:16px; line-height:1.55; }
 .modal-price { font-size:30px; margin:10px 0 0; }
 .purchase-column { padding:0 16px 20px; gap:13px; }
 .purchase-box { padding:17px; }
 .seller-banner { height:75px; }
 .stock-control-row { font-size:14px; }
 .purchase-column .modal-cta { font-size:17px; }
}

/* ==========================================================
   AJUSTES FINALES: MARCA, PERFIL Y DISEÑO RESPONSIVE
   ========================================================== */

/* Logo original en el inicio: nunca recortar la marca. */
.hero-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}
.hero-brand-logo {
  width: min(82%, 350px);
  height: min(82%, 260px);
  object-fit: contain;
  object-position: center;
}

/* B: fotografía de Marisa dentro del cuadro de la tienda. */
.seller-mini img,
.seller-profile-header img {
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: #fff;
}

/* C: banner con fotografía legible y sin deformación. */
.seller-banner {
  display: block;
  position: relative;
  height: 140px;
  padding: 0;
  overflow: hidden;
  background: #eee4d9;
}
.seller-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 33%;
}

/* Evitar que las tarjetas o el detalle desborden la pantalla. */
html { scroll-behavior: smooth; }
body { min-width: 0; overflow-x: hidden; }
main, .hero, .section, .modal-panel, .modal-body,
.purchase-column, .seller-profile { min-width: 0; }
img { max-width: 100%; }

@media (max-width: 700px) {
  .hero-logo-panel {
    min-height: 140px;
    height: 140px;
    padding: 12px;
  }
  .hero-brand-logo {
    width: min(72%, 245px);
    height: 115px;
  }
  .modal-panel {
    width: 100%;
    max-width: 480px;
    max-height: 94dvh;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .modal-photo.has-real-image {
    height: min(75vw, 340px);
    min-height: 235px;
  }
  .modal-body { padding: 22px 18px 12px; }
  .purchase-column { padding: 0 16px 20px; }
  .seller-banner { height: 155px; }
  .seller-banner img { object-position: center 30%; }
  .seller-profile-header { align-items: center; }
  .seller-profile-header h3 { font-size: 17px; }
  .seller-reputation span { font-size: 11px; }
}
@media (max-width: 380px) {
  .modal { padding: 6px; }
  .purchase-column { padding-inline: 12px; }
  .seller-profile-header { padding: 10px; }
  .seller-profile-header img { width: 46px; height: 46px; }
  .seller-reputation { padding-inline: 4px; }
}


/* Marcas presentes en el catálogo de Hair House */
.brands-section{padding-top:26px;padding-bottom:54px}
.brands-heading{text-align:center;margin:0 0 22px;color:#593a2b;font-family:Georgia,serif;font-size:clamp(26px,3vw,38px);font-weight:500}
.brands-track-wrap{position:relative}
.brands-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:3px 2px 12px;overscroll-behavior-x:contain}
.brands-track::-webkit-scrollbar{display:none}
.brand-tile{flex:0 0 clamp(145px,19%,205px);min-height:108px;border:1px solid #e4d5c8;border-radius:9px;background:#fffaf6;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:16px 12px;scroll-snap-align:start;text-align:center}
.brand-name{font-family:Georgia,serif;font-size:clamp(19px,2vw,25px);color:#573827;font-weight:700;letter-spacing:.035em}
.brand-name.brand-modern{font-family:Arial,sans-serif;font-weight:700;letter-spacing:.09em}
.brand-name.brand-red{color:#a82c2b}.brand-name.brand-teal{color:#147c75}
.brand-line{font-size:12px;color:#8a6d5e}
.brands-next{position:absolute;right:-12px;top:42%;transform:translateY(-50%);width:40px;height:40px;border:1px solid #e8dbd1;background:white;border-radius:50%;color:#684535;font-size:26px;cursor:pointer;box-shadow:0 3px 14px #4b2d1a17}
.brands-next:hover{background:#f5e9df}
@media(max-width:650px){.brands-section{padding-top:18px;padding-bottom:35px}.brands-heading{font-size:27px}.brand-tile{flex-basis:150px;min-height:95px}.brands-next{right:0;width:34px;height:34px}}
