/* ATELIER BLANC — Colecciones V2. Diseño editorial independiente del Index. */

:root {
    --ink: #182b28;
    --forest: #203c35;
    --cream: #f6f2e9;
    --paper: #fcfaf5;
    --sand: #ded3bf;
    --gold: #ae9070;
    --line: #d8d3c8;
    --font: DM Sans,Arial,sans-serif;
    --display: Playfair Display,Georgia,serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    overflow-x: hidden;
}

button,a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

::selection {
    background: #ad9979;
    color: white;
}

.progress {
    position: fixed;
    left: 0;
    top: 0;
    height: 3px;
    background: var(--gold);
    width: 0;
    z-index: 100;
}

.announcement {
    background: var(--ink);
    color: #e7e0d2;
    padding: 9px 5%;
    font-size: 10px;
    letter-spacing: .23em;
    text-align: center;
}

.announcement span {
    margin: 0 18px;
    color: #cbb390;
}

.header {
    height: 83px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    gap: 20px;
}

.brand,.footer-brand {
    white-space: nowrap;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .08em;
}

.brand span {
    color: var(--gold);
    font-size: 26px;
}

.brand i,.footer-brand i {
    font-family: var(--display);
    font-weight: 400;
}

.nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav a {
    font-size: 12px;
    transition: color .3s;
}

.nav a:hover,.nav a[aria-current] {
    color: #9e7e58;
}

.header-shop {
    border: 1px solid var(--ink);
    padding: 13px 17px;
    font-size: 10px;
    letter-spacing: .07em;
    white-space: nowrap;
    transition: .3s;
}

.header-shop:hover {
    background: var(--ink);
    color: white;
    box-shadow: 0 12px 25px #182b2833;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    background: none;
    border: 0;
    width: 42px;
    height: 42px;
    padding: 10px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--ink);
    margin: 6px 0;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: .23em;
    font-weight: 700;
}

.magazine-intro {
    padding: 34px 5% 20px;
    min-height: 690px;
    background: #eee8dd;
    overflow: hidden;
}

.intro-index,.intro-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: .18em;
    font-weight: 700;
}

.intro-index span {
    color: var(--gold);
}

.intro-layout {
    display: grid;
    grid-template-columns: 46% 54%;
    min-height: 580px;
    align-items: center;
}

.intro-copy {
    position: relative;
    z-index: 2;
    padding: 20px 0 60px;
}

.intro-copy h1 {
    font: 400 clamp(60px,7.1vw,130px)/.98 var(--display);
    letter-spacing: -.055em;
    margin: 26px -60px 30px 0;
}

.intro-copy h1 em,.catalog h2 em,.feature h2 em,.scenes-section h2 em,.marketplace h2 em {
    font-weight: 400;
    color: #a28463;
}

.intro-desc {
    max-width: 405px;
    line-height: 1.9;
    font-size: 14px;
    color: #53615b;
}

.underlined {
    display: inline-flex;
    gap: 50px;
    border-bottom: 1px solid var(--ink);
    padding: 20px 0 12px;
    font-size: 11px;
    letter-spacing: .1em;
    font-weight: 700;
    transition: gap .3s,color .3s;
}

.underlined:hover {
    gap: 70px;
    color: #9b7956;
}

.intro-collage {
    height: 540px;
    position: relative;
    min-width: 0;
}

.collage-main {
    position: absolute;
    right: 0;
    top: 0;
    width: 79%;
    height: 90%;
    overflow: hidden;
    box-shadow: 0 24px 55px #182b2822;
}

.collage-main img {
    animation: slowZoom 18s ease-in-out infinite alternate;
}

.collage-small {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38%;
    height: 43%;
    border: 8px solid #eee8dd;
    box-shadow: 0 15px 35px #182b2824;
    transform: rotate(-4deg);
    animation: float 6s ease-in-out infinite;
}

.collage-seal {
    position: absolute;
    right: -10px;
    bottom: 5%;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: var(--forest);
    color: white;
    display: grid;
    place-content: center;
    text-align: center;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: .15em;
    transform: rotate(11deg);
    box-shadow: 0 15px 35px #182b2833;
}

.collage-seal b {
    font-size: 26px;
    color: #e3c69d;
}

.intro-bottom {
    border-top: 1px solid #c9bdab;
    padding-top: 17px;
}

.catalog {
    padding: 110px 5% 125px;
}

.catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 55px;
}

.catalog-heading h2,.scenes-section h2 {
    font: 400 clamp(39px,4.8vw,72px)/1.12 var(--display);
    margin: 18px 0 0;
}

.catalog-heading p {
    max-width: 300px;
    color: #65716a;
    font-size: 13px;
    line-height: 1.9;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 215px minmax(0,1fr);
    gap: 50px;
}

.aside-inner {
    position: sticky;
    top: 116px;
}

.aside-title {
    font-size: 10px;
    letter-spacing: .22em;
    font-weight: 700;
}

.filters {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 24px;
}

.filter {
    text-align: left;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    padding: 16px 10px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    transition: background .3s,color .3s,padding .3s;
}

.filter:hover,.filter.active {
    background: var(--ink);
    color: white;
    padding-left: 19px;
}

.filter span {
    font-size: 10px;
}

.aside-foot {
    margin-top: 70px;
    font-size: 10px;
    line-height: 2;
    letter-spacing: .13em;
    color: #849088;
}

.aside-foot strong {
    color: var(--ink);
}

.catalog-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding: 0 0 18px;
    margin-bottom: 25px;
    font-size: 10px;
    letter-spacing: .14em;
}

.products {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 55px 24px;
}

.product-card:nth-child(3n + 2) {
    padding-top: 65px;
}

.product-card[hidden] {
    display: none !important;
}

.card-open {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0;
    display: block;
    color: inherit;
}

.photo-frame {
    position: relative;
    display: block;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #ddd4c5;
}

.product-card:nth-child(3n) .photo-frame {
    aspect-ratio: 5/4;
}

.photo-frame img {
    transition: transform .9s cubic-bezier(.2,.7,.2,1),filter .6s;
}

.card-open:hover .photo-frame img {
    transform: scale(1.085);
    filter: brightness(.78);
}

.card-discover {
    position: absolute;
    left: 20px;
    bottom: 20px;
    color: white;
    font-size: 11px;
    letter-spacing: .14em;
    transform: translateY(16px);
    opacity: 0;
    transition: .4s;
}

.card-open:hover .card-discover {
    transform: none;
    opacity: 1;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.card-bottom small {
    display: block;
    color: #8c8c81;
    font-size: 10px;
    letter-spacing: .12em;
    margin-bottom: 7px;
}

.card-bottom strong {
    font: 400 31px var(--display);
}

.round-arrow {
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: .3s;
}

.card-open:hover .round-arrow {
    background: var(--ink);
    color: white;
    transform: rotate(45deg);
    box-shadow: 0 8px 20px #182b2830;
}

.feature {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 590px;
    background: var(--forest);
    color: #f5f1e9;
}

.feature-image {
    min-height: 540px;
    overflow: hidden;
}

.feature-image img {
    transition: transform 1.3s;
}

.feature:hover img {
    transform: scale(1.06);
}

.feature-content {
    align-self: center;
    padding: 75px clamp(28px,7vw,120px);
}

.feature h2 {
    font: 400 clamp(42px,5vw,80px)/1.08 var(--display);
    letter-spacing: -.04em;
}

.feature p {
    line-height: 1.9;
    color: #d2d9d1;
    font-size: 14px;
    max-width: 410px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 17px 21px;
    font-size: 11px;
    letter-spacing: .08em;
    font-weight: 700;
    transition: background .3s,box-shadow .3s,transform .3s,color .3s;
}

.button:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px #0003;
}

.button-outline {
    border: 1px solid #e8e3d8;
    margin-top: 28px;
}

.button-outline:hover {
    background: #f5f1e9;
    color: var(--ink);
}

.scenes-section {
    padding: 105px 5% 115px;
    background: #e9e1d5;
    overflow: hidden;
}

.scenes-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
    margin-bottom: 40px;
}

.scene-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.scene-actions span {
    font-size: 10px;
    letter-spacing: .12em;
    margin-right: 14px;
}

.scene-actions button {
    border: 1px solid #b6ad9f;
    background: transparent;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 21px;
    transition: .3s;
}

.scene-actions button:hover {
    background: var(--ink);
    color: white;
    box-shadow: 0 8px 18px #182b2830;
}

.scenes {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
    overscroll-behavior-x: contain;
}

.scenes::-webkit-scrollbar {
    display: none;
}

.scenes.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.scene {
    position: relative;
    flex: 0 0 min(55vw,700px);
    height: clamp(320px,39vw,530px);
    scroll-snap-align: start;
    overflow: hidden;
    background: #b8b1a3;
}

.scene img {
    pointer-events: none;
    transition: transform .8s;
}

.scene:hover img {
    transform: scale(1.055);
}

.scene:after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(transparent,#0e201dc7);
    pointer-events: none;
}

.scene-label {
    position: absolute;
    bottom: 28px;
    left: 30px;
    color: white;
    z-index: 1;
    pointer-events: none;
}

.scene-label small {
    letter-spacing: .17em;
    font-size: 10px;
}

.scene-label h3 {
    font: 400 clamp(26px,3.1vw,49px) var(--display);
    margin: 8px 0;
}

.scene-label span {
    font-size: 12px;
}

.scenes-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 22px;
    font-size: 12px;
    letter-spacing: .14em;
}

.dots {
    display: flex;
    gap: 8px;
}

.dots button {
    border: 0;
    background: #a8a79e;
    width: 8px;
    height: 8px;
    border-radius: 100px;
    padding: 0;
    transition: .3s;
}

.dots button.active {
    width: 35px;
    background: var(--ink);
}

.marketplace {
    text-align: center;
    background: var(--cream);
    padding: 100px 20px 115px;
    position: relative;
    overflow: hidden;
}

.marketplace-ornament {
    font-size: 65px;
    color: #aa957a;
}

.marketplace h2 {
    font: 400 clamp(47px,6vw,90px)/1.05 var(--display);
    margin: 23px 0;
}

.marketplace p {
    max-width: 500px;
    margin: 0 auto 26px;
    color: #67716a;
    line-height: 1.8;
    font-size: 14px;
}

.button-muted {
    border: 1px solid #c3b9a7;
    color: #6f7269;
    cursor: default;
}

.footer {
    background: #152a26;
    color: #e9e8dd;
    padding: 65px 5% 22px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    padding-bottom: 70px;
}

.footer-brand {
    font-size: 24px;
}

.footer-top p {
    font-size: 13px;
    color: #a9b9af;
}

.socials {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.socials a {
    display: grid;
    place-items: center;
    border: 1px solid #65746a;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: .3s;
}

.socials a:hover {
    background: #e9e1d5;
    color: var(--ink);
    transform: translateY(-4px);
}

.socials svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.socials a:nth-child(n/**/+2) svg {
    fill: currentColor;
    stroke: none;
}

.footer-nav {
    display: flex;
    gap: 90px;
}

.footer-nav>div {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav strong {
    font-size: 11px;
    letter-spacing: .15em;
}

.footer-nav a {
    font-size: 13px;
    color: #b6c0b9;
    transition: color .3s;
}

.footer-nav a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #476057;
    padding-top: 23px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    letter-spacing: .08em;
    color: #b2c0b8;
}

.whatsapp {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #063b20;
    border-radius: 50px;
    padding: 13px 17px;
    box-shadow: 0 12px 35px #0004;
    font-size: 12px;
    font-weight: 700;
    transition: .3s;
}

.whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px #0005;
}

.whatsapp svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.detail {
    position: fixed;
    border: 0;
    padding: 0;
    width: min(960px,calc(100vw - 32px));
    max-height: min(90dvh,850px);
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 25px 100px #0006;
}

.detail::backdrop {
    background: #081a16b8;
    backdrop-filter: blur(7px);
}

.detail[open] {
    display: grid;
    grid-template-columns: 50% 50%;
}

.detail-photo {
    min-height: 460px;
}

.detail-text {
    padding: clamp(28px,5vw,75px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.detail-text h2 {
    font: 400 clamp(40px,5vw,67px) var(--display);
    margin: 20px 0;
}

.detail-text p {
    line-height: 1.8;
    color: #65716a;
    font-size: 14px;
}

.detail-note {
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.button-dark {
    background: var(--ink);
    color: white;
    border: 0;
    margin-top: 20px;
}

.button-dark:hover {
    background: #9a7858;
}

.close-detail {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
    width: 43px;
    height: 43px;
    border: 0;
    background: white;
    color: var(--ink);
    font-size: 27px;
    border-radius: 50%;
    box-shadow: 0 5px 20px #0003;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s,transform .8s;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@keyframes float{50%{transform:translateY(-12px) rotate(-2deg)}}

@keyframes slowZoom{to{transform:scale(1.08)}}

@media (max-width:1100px) {
    .nav {
        gap: 13px;
    }
    
    .header-shop {
        display: none;
    }
    
    .catalog-layout {
        gap: 25px;
        grid-template-columns: 170px minmax(0,1fr);
    }
    
    .intro-copy h1 {
        font-size: clamp(55px,7vw,95px);
    }
}

@media (max-width:760px) {
    .announcement {
        font-size: 8px;
        letter-spacing: .08em;
    }
    
    .header {
        height: 70px;
        padding: 0 5%;
    }
    
    .brand {
        font-size: 17px;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--paper);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 5% 22px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 30px #0002;
    }
    
    .nav.open {
        display: flex;
    }
    
    .nav a {
        padding: 15px 10px;
        border-bottom: 1px solid var(--line);
    }
    
    .magazine-intro {
        padding: 22px 5% 20px;
        min-height: 0;
    }
    
    .intro-index,.intro-bottom {
        font-size: 8px;
        gap: 12px;
    }
    
    .intro-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
    }
    
    .intro-copy {
        padding: 50px 0 25px;
    }
    
    .intro-copy h1 {
        font-size: clamp(52px,12vw,82px);
        margin: 20px 0;
    }
    
    .intro-desc {
        font-size: 13px;
    }
    
    .intro-collage {
        height: 400px;
        width: 100%;
    }
    
    .collage-main {
        width: 82%;
        height: 86%;
    }
    
    .collage-small {
        width: 42%;
        height: 43%;
    }
    
    .collage-seal {
        width: 92px;
        height: 92px;
        font-size: 10px;
        right: 0;
    }
    
    .intro-bottom {
        margin-top: 25px;
    }
    
    .catalog {
        padding: 70px 5%;
    }
    
    .catalog-heading {
        display: block;
        margin-bottom: 25px;
    }
    
    .catalog-heading p {
        max-width: 100%;
    }
    
    .catalog-layout {
        display: block;
    }
    
    .aside-inner {
        position: static;
    }
    
    .aside-foot,.aside-title {
        display: none;
    }
    
    .filters {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding: 0 0 12px;
        margin: 0 0 22px;
        scrollbar-width: none;
    }
    
    .filter {
        white-space: nowrap;
        flex: none;
        border: 1px solid var(--line);
        padding: 11px 15px;
        border-radius: 30px;
        font-size: 12px;
        gap: 10px;
    }
    
    .filter:hover,.filter.active {
        padding-left: 15px;
    }
    
    .catalog-meta {
        font-size: 8px;
    }
    
    .products {
        gap: 32px 15px;
    }
    
    .product-card:nth-child(3n + 2) {
        padding-top: 35px;
    }
    
    .card-bottom strong {
        font-size: 24px;
    }
    
    .card-bottom small {
        font-size: 8px;
    }
    
    .round-arrow {
        width: 34px;
        height: 34px;
    }
    
    .feature {
        grid-template-columns: 1fr;
    }
    
    .feature-image {
        min-height: 360px;
        height: 380px;
    }
    
    .feature-content {
        padding: 65px 6%;
    }
    
    .scenes-section {
        padding: 75px 5%;
    }
    
    .scenes-top {
        align-items: start;
        flex-direction: column;
    }
    
    .scene-actions span {
        display: none;
    }
    
    .scene {
        flex-basis: 78vw;
        height: 400px;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-wrap: wrap;
        line-height: 1.7;
    }
    
    .footer-nav {
        gap: 50px;
    }
    
    .detail[open] {
        display: block;
        overflow: auto;
    }
    
    .detail-photo {
        height: 270px;
        min-height: 0;
    }
    
    .detail-text {
        padding: 26px;
    }
    
    .detail-text h2 {
        margin: 12px 0;
    }
    
    .whatsapp span {
        display: none;
    }
    
    .whatsapp {
        padding: 13px;
    }
    
    .whatsapp svg {
        width: 25px;
        height: 25px;
    }
}

@media (max-width:440px) {
    .intro-collage {
        height: 320px;
    }
    
    .intro-copy h1 {
        font-size: clamp(45px,11.5vw,64px);
    }
    
    .catalog-heading h2,.scenes-section h2 {
        font-size: 39px;
    }
    
    .products {
        gap: 26px 12px;
    }
    
    .card-bottom strong {
        font-size: 21px;
    }
    
    .card-bottom small {
        letter-spacing: 0;
    }
    
    .photo-frame {
        aspect-ratio: 3/4;
    }
    
    .product-card:nth-child(3n) .photo-frame {
        aspect-ratio: 3/4;
    }
    
    .scene {
        flex-basis: 86vw;
        height: 345px;
    }
    
    .scene-label {
        left: 18px;
        bottom: 20px;
    }
    
    .footer-nav {
        gap: 32px;
    }
    
    .footer-brand {
        font-size: 20px;
    }
}

/* V3 — búsqueda y estado de filtrado */

.catalog-tools {
    margin: 0 0 22px;
    padding: 18px 20px;
    background: #f0e9df;
    border: 1px solid rgba(40,51,44,.12);
    border-radius: 4px;
}

.search-label {
    display: block;
    font-size: 10px;
    letter-spacing: .18em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #42534b;
}

.search-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.search-row input {
    flex: 1 1 230px;
    min-width: 0;
    min-height: 48px;
    border: 1px solid #c6bcae;
    background: #fffdf9;
    color: #20332e;
    padding: 12px 15px;
    border-radius: 3px;
    font: inherit;
    outline-offset: 3px;
}

.search-row input:focus {
    border-color: #24483d;
    box-shadow: 0 0 0 3px rgba(36,72,61,.12);
}

.search-row button {
    background: #203b32;
    color: #fff;
    border: 0;
    padding: 13px 17px;
    min-height: 48px;
    cursor: pointer;
    transition: background .25s,transform .25s,box-shadow .25s;
}

.search-row button:hover {
    background: #967650;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,.16);
}

.search-row button[hidden] {
    display: none;
}

.product-card[hidden],.empty[hidden] {
    display: none !important;
}

@media (max-width:600px) {
    .catalog-tools {
        padding: 13px;
    }
    
    .search-row {
        gap: 8px;
    }
    
    .search-row button {
        width: 100%;
    }
    
    .catalog-meta {
        gap: 10px;
        flex-wrap: wrap;
    }
}

/* === COLECCIONES V4: catálogo de cuatro piezas, aislado de estilos V3 === */

.catalog-v4 {
    padding: clamp(65px,8vw,125px) max(22px,calc((100vw - 1300px)/2));
    background: #f7f4ee;
    overflow: hidden;
}

.catalog-v4 * {
    box-sizing: border-box;
    min-width: 0;
}

.v4-heading {
    max-width: 850px;
    margin: 0 auto 38px;
    text-align: center;
}

.v4-heading h2 {
    font-size: clamp(2.3rem,5vw,5rem);
    line-height: 1.08;
    margin: 18px 0;
    color: #24221f;
}

.v4-heading p {
    max-width: 570px;
    margin: 0 auto;
    color: #655c51;
    line-height: 1.8;
}

.v4-filterbar {
    display: flex;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
    margin: 36px auto 52px;
}

.v4-filterbar .filter {
    position: static;
    display: inline-flex;
    width: auto;
    min-width: 0;
    padding: 13px 23px;
    border: 1px solid #c9bbaa;
    border-radius: 99px;
    background: transparent;
    color: #3d352e;
    font: inherit;
    cursor: pointer;
    transition: background .3s,color .3s,transform .3s,box-shadow .3s;
}

.v4-filterbar .filter:hover {
    background: #ded2bf;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px #30251a1c;
}

.v4-filterbar .filter.active {
    background: #273b32;
    color: #fff;
    border-color: #273b32;
}

.v4-meta {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid #c9bbaa;
    padding-bottom: 20px;
}

.v4-meta h3 {
    font-size: clamp(1.8rem,3vw,3rem);
    margin: 7px 0 0;
    color: #24221f;
}

.v4-meta #resultCount {
    white-space: nowrap;
    font-size: .8rem;
    letter-spacing: .12em;
    color: #756b5f;
}

.v4-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: clamp(12px,1.8vw,25px);
    align-items: start;
}

.v4-grid .v4-card {
    width: auto;
    max-width: none;
    min-width: 0;
    display: block;
    transform: none;
}

.v4-grid .v4-card[hidden] {
    display: none !important;
}

.v4-card .card-open {
    width: 100%;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: inherit;
}

.v4-photo {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #e5ded3;
    border-radius: 5px;
}

.v4-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2,.8,.2,1);
}

.v4-card:hover img {
    transform: scale(1.08);
}

.v4-overlay {
    position: absolute;
    inset: auto 12px 12px;
    display: block;
    background: #fffef1ed;
    color: #24221f;
    padding: 13px;
    text-align: center;
    font-size: .72rem;
    letter-spacing: .08em;
    opacity: 0;
    transform: translateY(8px);
    transition: .3s;
}

.v4-card:hover .v4-overlay,.v4-card:focus-within .v4-overlay {
    opacity: 1;
    transform: none;
}

.v4-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 17px 2px;
}

.v4-card-info small {
    display: block;
    font-size: .66rem;
    letter-spacing: .1em;
    color: #74685b;
    margin-bottom: 8px;
}

.v4-card-info strong {
    display: block;
    font-size: clamp(1.1rem,1.7vw,1.5rem);
    font-weight: 500;
    color: #292722;
}

.v4-arrow {
    font-size: 1.5rem;
    color: #6c6256;
    transition: transform .25s;
}

.v4-card:hover .v4-arrow {
    transform: translate(3px,-3px);
}

.v4-cta {
    margin: 45px auto 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.v4-cta p {
    margin: 0;
    color: #51473e;
}

.v4-cta small {
    color: #736b60;
    font-size: .78rem;
}

.v4-explore {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 18px 27px;
    background: #273b32;
    color: #fff !important;
    text-decoration: none;
    border-radius: 3px;
    transition: transform .3s,box-shadow .3s,background .3s;
}

.v4-explore:hover {
    background: #4b5840;
    transform: translateY(-4px);
    box-shadow: 0 18px 34px #273b3240;
}

@media (max-width:900px) {
    .v4-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    
    .v4-filterbar {
        margin-bottom: 35px;
    }
}

@media (max-width:480px) {
    .catalog-v4 {
        padding: 65px 16px;
    }
    
    .v4-grid {
        gap: 12px;
    }
    
    .v4-filterbar {
        justify-content: flex-start;
        gap: 7px;
    }
    
    .v4-filterbar .filter {
        padding: 10px 13px;
        font-size: .8rem;
    }
    
    .v4-photo {
        aspect-ratio: 3/4;
    }
    
    .v4-card-info {
        padding: 12px 0;
    }
    
    .v4-card-info small {
        font-size: .58rem;
    }
    
    .v4-card-info strong {
        font-size: 1.04rem;
    }
    
    .v4-meta {
        align-items: center;
    }
    
    .v4-meta #resultCount {
        font-size: .66rem;
    }
    
    .v4-cta {
        margin-top: 30px;
    }
    
    .v4-explore {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
}

/* V5 — diseño editorial independiente, sin cambios en index.css */

.v5-intro {
    display: grid;
    grid-template-columns: 47% 53%;
    min-height: 660px;
    background: #e8dfd2;
    overflow: hidden;
}

.v5-intro-copy {
    padding: clamp(60px,8vw,130px) 8% 65px 11%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.v5-intro h1 {
    font: 400 clamp(55px,6.5vw,112px)/1.01 var(--display);
    letter-spacing: -.06em;
    margin: 24px -65px 28px 0;
    position: relative;
    z-index: 2;
}

.v5-intro h1 em {
    color: #9a7754;
    font-weight: 400;
}

.v5-intro-copy p {
    max-width: 400px;
    font-size: 14px;
    line-height: 1.9;
    color: #52625b;
}

.v5-link {
    margin-top: 28px;
    border-bottom: 1px solid #283b34;
    padding: 0 0 13px;
    display: flex;
    gap: 48px;
    transition: gap .3s,color .3s;
}

.v5-link:hover {
    gap: 70px;
    color: #9a7754;
}

.v5-vertical {
    position: absolute;
    bottom: 20px;
    left: 11%;
    font-size: 9px;
    letter-spacing: .22em;
}

.v5-intro-visual {
    min-height: 580px;
    position: relative;
    overflow: hidden;
}

.v5-intro-visual>img {
    transition: transform 1.3s;
    animation: slowZoom 22s ease-in-out infinite alternate;
}

.v5-intro-tag {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: #f6f2e9e8;
    padding: 18px 25px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    backdrop-filter: blur(8px);
}

.v5-intro-tag span {
    font-size: 10px;
    letter-spacing: .18em;
}

.v5-intro-tag strong {
    font: 400 23px var(--display);
}

.catalog-v5 {
    background: #fcfaf5;
    padding: 100px 5% 110px;
}

.v5-catalog-top {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 35px;
    align-items: end;
    margin-bottom: 45px;
}

.v5-catalog-top h2 {
    font: 400 clamp(42px,5.2vw,76px)/1.1 var(--display);
    max-width: 820px;
    margin: 18px 0 0;
}

.v5-catalog-top p {
    line-height: 1.9;
    color: #617069;
    max-width: 350px;
    font-size: 14px;
}

.v5-category-controls {
    border-top: 1px solid #d5cabc;
    border-bottom: 1px solid #d5cabc;
    padding: 17px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.v5-category-controls>span {
    font-size: 10px;
    letter-spacing: .15em;
    white-space: nowrap;
}

.v5-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.v5-filters .filter {
    padding: 11px 16px;
    border: 1px solid #d4c9ba;
    border-radius: 30px;
    font-size: 12px;
    white-space: nowrap;
}

.v5-filters .filter:hover,.v5-filters .filter.active {
    padding-left: 16px;
    background: #203c35;
    color: white;
}

.v5-featured {
    display: grid;
    grid-template-columns: minmax(230px,.55fr) minmax(0,1fr);
    gap: clamp(28px,5vw,85px);
    align-items: center;
    padding: 55px 0;
}

.v5-featured-intro h3 {
    font: 400 clamp(45px,5vw,77px) var(--display);
    margin: 18px 0;
}

.v5-featured-intro p {
    font-size: 15px;
    color: #5d6b63;
    line-height: 1.8;
}

.v5-featured-hint {
    display: block;
    margin-top: 35px;
    font-size: 11px;
    letter-spacing: .09em;
    color: #8e806d;
}

.v5-grid {
    min-width: 0;
}

.v5-product[hidden] {
    display: none !important;
}

.v5-product .card-open {
    width: 100%;
    border: 0;
    background: none;
    text-align: left;
    padding: 0;
    color: inherit;
    cursor: pointer;
}

.v5-product-photo {
    display: block;
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #ded4c5;
}

.v5-product-photo img {
    transition: transform .9s,filter .7s;
}

.v5-product:hover img {
    transform: scale(1.055);
    filter: brightness(.82);
}

.v5-photo-action {
    position: absolute;
    right: 18px;
    bottom: 18px;
    background: #f6f2e9;
    color: #24362f;
    padding: 13px 17px;
    font-size: 12px;
    transition: transform .3s,box-shadow .3s;
}

.v5-product:hover .v5-photo-action {
    transform: translateY(-5px);
    box-shadow: 0 14px 25px #0003;
}

.v5-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 0;
}

.v5-product-meta small,.v5-product-meta strong,.v5-product-meta span span {
    display: block;
}

.v5-product-meta small {
    font-size: 10px;
    letter-spacing: .12em;
    color: #847869;
}

.v5-product-meta strong {
    font: 400 32px var(--display);
    margin: 8px 0;
}

.v5-product-meta span span {
    font-size: 13px;
    color: #65716a;
}

.v5-product-arrow {
    font-size: 28px;
}

.v5-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    border-top: 1px solid #d5cabc;
    padding-top: 35px;
}

.v5-cta>span {
    font: 400 22px var(--display);
}

.v5-cta small {
    flex-basis: 100%;
    text-align: center;
    color: #7b7469;
}

.marketplace-v5 {
    padding: 0;
    display: grid;
    grid-template-columns: 48% 52%;
    text-align: left;
    background: #e8dfd2;
    min-height: 540px;
}

.v5-market-photo {
    min-height: 520px;
    overflow: hidden;
}

.v5-market-photo img {
    transition: transform 1.3s;
}

.marketplace-v5:hover .v5-market-photo img {
    transform: scale(1.05);
}

.v5-market-copy {
    padding: clamp(55px,7vw,110px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.marketplace-v5 h2 {
    font-size: clamp(45px,5.4vw,80px);
}

.marketplace-v5 p {
    margin: 0 0 28px;
    max-width: 480px;
}

.v5-market-caption {
    margin-top: 42px;
    font-size: 10px;
    letter-spacing: .16em;
    color: #7d7165;
}

.detail-v5 {
    width: min(1120px,calc(100vw - 28px));
    max-height: 92dvh;
}

.detail-v5[open] {
    grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr);
}

.v5-modal-gallery {
    min-width: 0;
    background: #e8dfd2;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v5-modal-stage {
    position: relative;
    min-height: 0;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.v5-modal-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v5-gallery-prev,.v5-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: #faf7eeeb;
    color: #21362f;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    font-size: 23px;
    transition: background .3s,box-shadow .3s;
}

.v5-gallery-prev {
    left: 13px;
}

.v5-gallery-next {
    right: 13px;
}

.v5-gallery-prev:hover,.v5-gallery-next:hover {
    background: white;
    box-shadow: 0 7px 20px #0004;
}

.v5-gallery-counter {
    position: absolute;
    bottom: 13px;
    right: 14px;
    padding: 8px 11px;
    background: #f8f4e7df;
    font-size: 11px;
    letter-spacing: .13em;
}

.v5-modal-thumbs {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 9px;
}

.v5-modal-thumbs button {
    border: 2px solid transparent;
    padding: 0;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #ddd;
    opacity: .68;
    transition: opacity .25s,border-color .25s;
}

.v5-modal-thumbs button.active,.v5-modal-thumbs button:hover {
    opacity: 1;
    border-color: #213e35;
}

.v5-modal-details {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    margin: 22px 0;
}

.v5-modal-details span {
    font-size: 10px;
    letter-spacing: .1em;
    border-bottom: 1px solid #d7cdbd;
    padding-bottom: 10px;
}

.detail-v5 .detail-text {
    padding: clamp(22px,3.5vw,50px);
}

.detail-v5 .detail-text h2 {
    font-size: clamp(38px,4.3vw,65px);
}

@media (max-width:900px) {
    .v5-intro {
        grid-template-columns: 1fr;
    }
    
    .v5-intro-copy {
        padding: 70px 6% 45px;
    }
    
    .v5-intro h1 {
        margin-right: 0;
    }
    
    .v5-intro-visual {
        min-height: 390px;
        height: 48vw;
    }
    
    .v5-vertical {
        display: none;
    }
    
    .v5-category-controls {
        display: block;
    }
    
    .v5-filters {
        margin-top: 18px;
    }
    
    .v5-featured {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .v5-featured-intro h3 {
        margin: 10px 0;
    }
    
    .marketplace-v5 {
        grid-template-columns: 1fr;
    }
    
    .v5-market-photo {
        height: 360px;
        min-height: 0;
    }
    
    .v5-market-copy {
        padding: 60px 6%;
    }
    
    .detail-v5[open] {
        display: block;
        overflow: auto;
    }
    
    .v5-modal-stage {
        aspect-ratio: 16/10;
    }
    
    .detail-v5 .detail-text {
        padding: 24px;
    }
}

@media (max-width:520px) {
    .v5-intro-copy {
        padding: 55px 6% 35px;
    }
    
    .v5-intro h1 {
        font-size: clamp(48px,12vw,70px);
    }
    
    .v5-intro-visual {
        height: 330px;
        min-height: 0;
    }
    
    .v5-intro-tag {
        left: 15px;
        bottom: 15px;
        padding: 12px;
    }
    
    .v5-intro-tag strong {
        font-size: 17px;
    }
    
    .catalog-v5 {
        padding: 65px 5%;
    }
    
    .v5-catalog-top {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .v5-catalog-top h2 {
        font-size: 43px;
    }
    
    .v5-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: none;
    }
    
    .v5-filters .filter {
        flex: none;
    }
    
    .v5-featured {
        padding: 30px 0;
    }
    
    .v5-product-photo {
        aspect-ratio: 4/3;
    }
    
    .v5-product-meta strong {
        font-size: 27px;
    }
    
    .v5-cta {
        flex-direction: column;
    }
    
    .v5-cta .v4-explore {
        width: 100%;
        justify-content: center;
    }
    
    .v5-market-photo {
        height: 270px;
    }
    
    .v5-market-copy {
        padding: 50px 6%;
    }
    
    .v5-modal-gallery {
        padding: 10px;
        gap: 7px;
    }
    
    .v5-modal-thumbs {
        gap: 5px;
    }
    
    .v5-gallery-prev,.v5-gallery-next {
        width: 36px;
        height: 36px;
    }
    
    .detail-v5 .detail-text {
        padding: 20px;
    }
    
    .detail-v5 .detail-text h2 {
        font-size: 40px;
    }
}
