@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    /* Casa Mousai · paleta galería editorial cálida */
    --primary-color: #111111;      /* negro tinta / marca */
    --primary-deep: #050505;       /* negro profundo */
    --primary-soft: #EEE8E1;       /* lino cálido para iconos/superficies */
    --ink: #111111;
    --text-dark: #151515;
    --text-light: #6B645E;
    --muted: #8A8178;
    --line: rgba(17, 17, 17, 0.12);
    --surface: #F6F2ED;            /* marfil cálido */
    --surface-2: #EEE8E1;          /* hueso / lino */
    --extra-ligth: #FBF8F5;        /* fondo claro premium */
    --white: #FFFFFF;
    --gold: #8B7B6B;               /* taupe editorial, no dorado brillante */
    --rose: #E8DED4;               /* champagne apagado */
    --champagne: #C8B6A3;
    --border-color: #D9D0C7;
    --max-width: 1200px;
    --header-font: "Cormorant Garamond", serif;
    --body-font: "Montserrat", sans-serif;
    --shadow-soft: 0 28px 80px rgba(17, 17, 17, 0.10);
    --shadow-card: 0 20px 58px rgba(17, 17, 17, 0.08);
}

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

html,
body {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-dark);
    background:
        radial-gradient(circle at top left, rgba(200, 182, 163, 0.26), transparent 34rem),
        radial-gradient(circle at 85% 8%, rgba(217, 208, 199, 0.36), transparent 26rem),
        linear-gradient(180deg, #FBF8F5 0%, #F6F2ED 52%, #FBF8F5 100%);
    overflow-x: hidden;
}

body.modal-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

body::selection {
    background: var(--primary-color);
    color: var(--white);
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(rgba(17, 17, 17, 0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 17, 17, 0.014) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.45;
}


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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.25s ease;
}

ul {
    list-style: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.page__wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
}

.section__container,
.section_container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
}

.section__header {
    margin-bottom: 1rem;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -0.035em;
    font-family: var(--header-font);
    color: var(--primary-color);
}

.section__description,
.section_description {
    max-width: 720px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.65;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--header-font);
}

.brand__logo-img {
    display: block;
    width: 78px;
    height: 78px;
    border-radius: 999px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===== NAV ===== */
.site-nav,
nav {
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: var(--max-width);
    transform: translateX(-50%);
    margin-inline: auto;
    z-index: 900;
    padding: 1.2rem 1rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
}

.site-nav::before,
nav::before {
    content: "";
    position: absolute;
    inset: 0 1rem;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    background: rgba(251, 248, 245, 0.84);
    box-shadow: 0 16px 50px rgba(17, 17, 17, 0.08);
    backdrop-filter: blur(18px);
}

.nav__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav__logo .logo {
    color: var(--primary-color);
}

.nav__menu__btn {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.nav__links {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: clamp(1.2rem, 3vw, 2.6rem);
}

.nav__links a {
    position: relative;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.45rem;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.25s ease;
}

.nav__links a:hover {
    color: var(--primary-color);
}

.nav__links a:hover::after {
    width: 100%;
}

.login {
    justify-self: end;
}

.account-menu {
    position: relative;
}

.account__trigger {
    min-width: 176px;
}

.account__panel {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    min-width: 220px;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 34px rgba(17, 17, 17, 0.16);
    overflow: hidden;
    z-index: 40;
}

.account__item {
    width: 100%;
    display: block;
    padding: 0.78rem 1rem;
    border: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    text-align: left;
    text-decoration: none;
    background: #fff;
    color: var(--text-dark);
    font-family: var(--body-font);
    font-size: 0.9rem;
    cursor: pointer;
}

.account__item:last-child {
    border-bottom: 0;
}

.account__item:hover {
    background: rgba(17, 17, 17, 0.05);
}

.account__item--danger {
    color: #b13636;
}

.login__btn,
.primary__btn,
.secondary__btn,
.about__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.82rem 1.35rem;
    border: 1px solid transparent;
    outline: none;
    border-radius: 999px;
    font-family: var(--body-font);
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.login__btn,
.primary__btn,
.about__btn {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(17, 17, 17, 0.20);
}

.secondary__btn {
    border-color: rgba(17, 17, 17, 0.22);
    background: rgba(255, 255, 255, 0.55);
    color: var(--primary-color);
}

.login__btn:hover,
.primary__btn:hover,
.about__btn:hover {
    background-color: var(--primary-deep);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(17, 17, 17, 0.26);
}

.secondary__btn:hover {
    border-color: rgba(155, 122, 74, 0.55);
    color: var(--gold);
    transform: translateY(-2px);
}

/* ===== HERO ===== */
.header__container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
    align-items: start;
    gap: clamp(1.2rem, 3vw, 2.4rem);
    min-height: 700px;
    padding-top: 7.2rem;
    overflow: hidden;
}

.header__image {
    position: relative;
    grid-column: 2 / 3;
    grid-row: 1;
    justify-self: end;
    width: 100%;
    max-width: 560px;
    border-radius: 2rem;
    overflow: hidden;
    min-height: 520px;
    box-shadow: var(--shadow-soft);
}

.header__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(246, 242, 237, 0.12) 0%, rgba(246, 242, 237, 0.05) 38%, rgba(246, 242, 237, 0.16) 100%),
        linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.18));
}

.header__image img {
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: 62% center;
    transform: scale(1.01);
}

.header__content {
    position: relative;
    z-index: 2;
    grid-column: 1 / 2;
    grid-row: 1;
    display: flex;
    align-items: flex-start;
    justify-self: start;
    padding: 0;
}

.hero__panel {
    width: min(100%, 680px);
    padding: clamp(2rem, 5vw, 4.4rem);
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 1.7rem;
    background: rgba(251, 248, 245, 0.78);
    box-shadow: 0 24px 80px rgba(17, 17, 17, 0.11);
    backdrop-filter: blur(16px);
}

@media (min-width: 1280px) {
    .header__container {
        grid-template-columns: minmax(0, 1fr) minmax(460px, 560px);
    }
}

.header__content h1 {
    margin-bottom: 1.2rem;
    font-size: clamp(2.55rem, 5.2vw, 4.7rem);
    line-height: 0.92;
    font-weight: 600;
    letter-spacing: -0.055em;
    font-family: var(--header-font);
    color: var(--primary-color);
}

.header__content p {
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-light);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

/* ===== MANIFESTO ===== */
.manifesto__container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.manifesto__container p {
    max-width: 1000px;
    margin-inline: auto;
    padding: clamp(1.6rem, 3vw, 3rem);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-family: var(--header-font);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.05;
    text-align: center;
    color: var(--primary-color);
}

/* ===== DEALS / FEATURES ===== */
.deals__container {
    display: grid;
    gap: 1.2rem;
    align-items: stretch;
}

.deals__card {
    position: relative;
    min-height: 220px;
    padding: 2rem;
    border: 1px solid rgba(17, 17, 17, 0.11);
    border-radius: 1.35rem;
    background: rgba(251, 248, 245, 0.76);
    box-shadow: 0 16px 45px rgba(17, 17, 17, 0.055);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.deals__card::before {
    content: "";
    position: absolute;
    inset: auto -20% -45% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(200, 182, 163, 0.45);
    filter: blur(4px);
}

.deals__intro {
    background: var(--primary-color);
    color: var(--white);
}

.deals__intro .section__header,
.deals__intro p {
    color: var(--white);
}

.deals__intro .section__header {
    margin-bottom: 0.85rem;
    font-size: clamp(2rem, 2.6vw, 3rem);
    line-height: 0.92;
    letter-spacing: -0.02em;
}

.deals__intro p {
    opacity: 0.82;
    font-size: clamp(0.94rem, 1vw, 1.08rem);
    line-height: 1.55;
}

.deals__card span:not(.eyebrow) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1.5rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 1.55rem;
}

.deals__card h4 {
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.deals__card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about__container {
    margin-top: 2rem;
}

.about__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.about__header .section__description {
    max-width: 780px;
}

.about__content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.about__image {
    position: relative;
    border-radius: 1.6rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.about__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(17, 17, 17, 0.18));
}

.about__image img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.about__card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.74);
}

.about__card h3 {
    margin-bottom: 1rem;
    font-family: var(--header-font);
    font-size: 2rem;
    font-weight: 600;
    color: var(--gold);
}

.about__card h4 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.about__card p {
    color: var(--text-light);
    line-height: 1.75;
    font-size: 0.92rem;
}

/* ===== PRODUCTS ===== */
.product__container {
    padding-top: 6rem;
}

.collection__header {
    display: grid;
    gap: 0.25rem;
    max-width: 820px;
    margin-bottom: 1.5rem;
}

.product__grid {
    margin-top: 3.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.product__card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1rem;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 1.6rem;
    background: rgba(251, 248, 245, 0.88);
    box-shadow: 0 18px 48px rgba(17, 17, 17, 0.055);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product__card:hover {
    transform: translateY(-5px);
    border-color: rgba(155, 122, 74, 0.34);
    box-shadow: var(--shadow-card);
}

.product__media {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background: var(--surface-2);
}

.product__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.18));
    pointer-events: none;
}

.product__card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product__card:hover img {
    transform: scale(1.035);
}

.product__badge {
    position: absolute;
    left: 0.85rem;
    top: 0.85rem;
    z-index: 2;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 250, 245, 0.9);
    color: var(--primary-color);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.product__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.3rem 0.4rem 0.35rem;
}

.card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.45rem;
}

.product__card h4 {
    font-family: var(--header-font);
    font-size: 2rem;
    line-height: 1.02;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--primary-color);
}

.product__price {
    white-space: nowrap;
    font-weight: 700;
    color: var(--gold);
}

.product__meta {
    margin-bottom: 1rem;
    font-size: 0.72rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.product__excerpt {
    margin-bottom: 1.4rem;
    font-size: 0.92rem;
    line-height: 1.72;
    color: var(--text-light);
}

.product__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-top: auto;
}

.product__actions .about__btn,
.product__actions .secondary__btn {
    width: 100%;
    padding-inline: 0.85rem;
    font-size: 0.72rem;
    text-align: center;
}

.agregar__btn:disabled,
.agregar__btn.agregado {
    background: #9c9a95;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.75;
}

.product__empty {
    grid-column: 1 / -1;
    padding: 3rem;
    border: 1px dashed var(--line);
    border-radius: 1.5rem;
    text-align: center;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.5);
}

/* ===== PROCESS ===== */
.process__container {
    padding-top: 2rem;
}

.process__content {
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 1.8rem;
    background:
        linear-gradient(135deg, rgba(17, 17, 17, 0.96), rgba(5, 5, 5, 0.99)),
        radial-gradient(circle at top right, rgba(200, 182, 163, 0.24), transparent 22rem);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.process__content .section__header,
.process__content .eyebrow {
    color: var(--white);
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.process__grid article {
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.06);
}

.process__grid article span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    font-family: var(--header-font);
    font-size: 1.3rem;
    color: #D8C6B0;
}

.process__grid h4 {
    margin-bottom: 0.65rem;
    color: var(--white);
}

.process__grid p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    font-size: 0.92rem;
}

/* ===== AUTHOR SLIDER ===== */
.client__content {
    padding: clamp(2rem, 5vw, 4rem);
    background: rgba(238, 231, 223, 0.88);
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 1.8rem;
    max-width: 100%;
    margin: auto;
    margin-top: 2rem;
}

.client__content :is(.section__header, .section__description, .eyebrow) {
    max-width: 700px;
    margin-inline: auto;
    text-align: center;
}

.client__content .eyebrow {
    justify-content: center;
}

.swiper {
    margin-top: 3.5rem;
    width: 100%;
}

.client__card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    max-width: 820px;
    margin-inline: auto;
    align-items: center;
    text-align: left;
}

.client__card img {
    width: min(330px, 100%);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1.5rem;
    margin-inline: auto;
    box-shadow: var(--shadow-card);
}

.client__card p {
    margin-bottom: 1.5rem;
    font-family: var(--header-font);
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    line-height: 1.12;
    color: var(--primary-color);
    font-style: italic;
}

.client__card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
}

.client__card h5 {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-deep);
    color: var(--white);
}

.footer__container {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 3rem 2rem;
    padding-top: 4rem;
    padding-bottom: 3rem;
    margin-top: 4rem;
}

.footer__logo .logo {
    color: var(--white);
}

.footer__col p {
    margin-top: 1rem;
    margin-bottom: 2rem;
    max-width: 340px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.75;
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--white);
}

.footer__socials a:hover {
    border-color: rgba(255, 255, 255, 0.34);
    transform: translateY(-2px);
}

.footer__col h4 {
    margin-bottom: 1.2rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #D8C6B0;
}

.footer__links {
    display: grid;
    gap: 0.85rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.92rem;
}

.footer__links a:hover {
    color: var(--white);
}

.footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.56);
    text-align: center;
}

/* ===== FLOATING CART ===== */
.cart__icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 64px;
    height: 64px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.28);
    transition: transform 0.22s ease, background 0.22s ease;
}

.cart__icon:hover {
    transform: translateY(-3px);
    background: var(--primary-deep);
}

.cart__icon span {
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #b62f2f;
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.cart__panel {
    position: fixed;
    bottom: 94px;
    right: 20px;
    z-index: 1001;
    width: min(380px, calc(100vw - 40px));
    max-height: 520px;
    background: rgba(255, 250, 245, 0.94);
    border: 1px solid rgba(17, 17, 17, 0.16);
    border-radius: 1.25rem;
    box-shadow: 0 24px 70px rgba(17, 17, 17, 0.18);
    padding: 1.2rem;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    backdrop-filter: blur(18px);
}

.cart__panel h4 {
    margin-bottom: 1rem;
    font-family: var(--header-font);
    font-size: 1.65rem;
    color: var(--primary-color);
}

.cart__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.cart__row h5 {
    margin: 0;
    font-weight: 600;
}

.cart__row span {
    font-weight: 700;
}

.cart__total {
    border-top: 1px solid var(--line);
    padding-top: 0.85rem;
    margin-top: 0.8rem;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--primary-color);
}

.cart__panel ul {
    list-style: none;
    margin: 0 0 0.7rem;
    padding: 0;
    flex-grow: 1;
}

.cart__panel ul li.cart__item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.cart__panel ul li.cart__item .cart__thumb {
    width: 58px;
    height: 58px;
    border-radius: 0.75rem;
    object-fit: cover;
    flex-shrink: 0;
}

.cart__info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.cart__info strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cart__line-total {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.84rem;
}

.cart__qty {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.3rem;
}

.cart__qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.18);
    background: var(--white);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart__qty-btn:hover {
    background: var(--primary-soft);
}

.cart__qty-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.cart__qty-input {
    width: 38px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.18);
    text-align: center;
    font-size: 0.83rem;
    color: var(--primary-color);
    background: var(--white);
}

.cart__trash-btn {
    border: none;
    background: transparent;
    color: #b62f2f;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    padding: 0.2rem;
}

.cart__empty {
    padding: 1.4rem 0;
    text-align: center;
    color: var(--muted);
    font-style: italic;
    border-bottom: none;
}

#checkout__btn {
    width: 100%;
    margin-top: 1rem;
    border: none;
    border-radius: 999px;
    padding: 1rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    background: var(--primary-color);
    color: var(--white);
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease;
}

#checkout__btn:hover {
    background: var(--primary-deep);
    transform: translateY(-2px);
}

/* ===== PIECE MODAL ===== */
.piece__modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.piece__modal.is-open {
    display: flex;
}

.piece__modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 22, 22, 0.62);
    backdrop-filter: blur(8px);
}

.piece__modal-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    width: min(980px, 100%);
    max-height: min(86dvh, 780px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 1.6rem;
    background: #FBF8F5;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.30);
}

.piece__modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--primary-color);
    font-size: 1.3rem;
    cursor: pointer;
}

.piece__modal-image-wrap {
    min-height: 100%;
    background: var(--surface-2);
}

.piece__modal-image-wrap img {
    height: 100%;
    max-height: 86vh;
    object-fit: cover;
}

.piece__modal-content {
    padding: clamp(1.8rem, 4vw, 3.2rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.piece__modal-content h3 {
    margin-bottom: 0.5rem;
    font-family: var(--header-font);
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 0.9;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: var(--primary-color);
}

.piece__modal-price {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gold);
}

.piece__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.piece__facts div {
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.6);
}

.piece__facts dt {
    margin-bottom: 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.piece__facts dd {
    color: var(--primary-color);
    font-size: 0.92rem;
    font-weight: 700;
}

.piece__narrative {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.8rem;
    color: var(--text-light);
    line-height: 1.82;
}

.piece__narrative p {
    font-size: 0.98rem;
}

.piece__modal-action {
    width: 100%;
}

.transfer__modal-card {
    grid-template-columns: 1fr;
    width: min(720px, 100%);
}

.transfer__modal-content {
    padding: clamp(1.8rem, 4vw, 3rem);
    display: grid;
    gap: 1.2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.transfer__modal-content h3 {
    margin: 0;
    font-family: var(--header-font);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--primary-color);
}

.transfer__modal-copy {
    margin: 0;
    color: var(--text-light);
    line-height: 1.8;
}

.transfer__facts {
    margin-bottom: 0;
}

.transfer__account {
    grid-column: 1 / -1;
}

.transfer__account dd {
    font-size: 1.18rem;
    letter-spacing: 0.04em;
}

.transfer__summary {
    display: grid;
    gap: 0.75rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.64);
}

.transfer__summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-dark);
}

.transfer__summary-row strong {
    color: var(--primary-color);
}

.transfer__summary-row--total {
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
    font-size: 1.05rem;
    font-weight: 800;
}

.transfer__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.transfer__confirm-btn,
.transfer__cancel-btn {
    width: 100%;
}

.transfer__status {
    min-height: 1.4rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

/* ===== CHECKOUT COMPATIBILITY ===== */
.checkout {
    padding: 7rem 0 4rem;
    background: var(--extra-ligth);
}

.checkout .page__wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.checkout__container {
    display: grid;
    gap: 2rem;
}

.checkout__panel,
.checkout__summary {
    background: var(--white);
    border-radius: 1.25rem;
    padding: 2.2rem;
    box-shadow: var(--shadow-card);
}

.checkout__summary {
    position: sticky;
    top: 6.5rem;
    display: grid;
    gap: 1.5rem;
}

.checkout__title {
    font-family: var(--header-font);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.checkout__subtitle,
.checkout__hint,
.checkout__summary-count,
.checkout__summary-empty {
    color: var(--text-light);
}

.checkout__form-fields,
.checkout__section,
.checkout__summary-list,
.checkout__totals {
    display: grid;
    gap: 1.15rem;
}

.checkout__field,
.checkout select,
.checkout input {
    width: 100%;
    border: 1px solid rgba(17, 17, 17, 0.18);
    border-radius: 0.9rem;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--text-dark);
}

.checkout__row {
    display: grid;
    gap: 1rem;
}

.checkout__button,
.checkout__discount-button,
.checkout__express-btn {
    border: none;
    border-radius: 999px;
    padding: 0.95rem 1.2rem;
    font-weight: 800;
    background: var(--primary-color);
    color: var(--white);
    cursor: pointer;
}

.checkout-cart__item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 1rem;
}

.checkout-cart__thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 0.85rem;
}

.checkout__totals-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.checkout__totals-row.is-total {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: 800;
}

@media (min-width: 992px) {
    .checkout__container {
        grid-template-columns: 2fr 1fr;
        align-items: flex-start;
    }
}

@media (min-width: 600px) {
    .checkout__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ===== GALLERY PALETTE REFINEMENTS ===== */
.deals__intro {
    background:
        linear-gradient(135deg, #111111, #050505),
        radial-gradient(circle at 90% 10%, rgba(200, 182, 163, 0.24), transparent 18rem);
}

.product__card,
.about__card,
.client__content,
.checkout__panel,
.checkout__summary,
.cart__panel,
.piece__modal-card {
    border-color: var(--border-color);
}

.product__media {
    background: #EEE8E1;
}

.product__badge {
    background: rgba(251, 248, 245, 0.92);
    color: #111111;
    border: 1px solid rgba(17, 17, 17, 0.08);
}

.product__price,
.cart__line-total,
.piece__modal-price {
    color: var(--gold);
}

.footer {
    background:
        radial-gradient(circle at 12% 0%, rgba(200, 182, 163, 0.16), transparent 24rem),
        #050505;
}

.login__btn,
.primary__btn,
.about__btn,
#checkout__btn,
.checkout__button,
.checkout__discount-button,
.checkout__express-btn {
    background: #111111;
    border-color: #111111;
    color: #FFFFFF;
}

.login__btn:hover,
.primary__btn:hover,
.about__btn:hover,
#checkout__btn:hover,
.checkout__button:hover,
.checkout__discount-button:hover,
.checkout__express-btn:hover {
    background: #2A2A2A;
    border-color: #2A2A2A;
}

.secondary__btn {
    border-color: var(--border-color);
    background: rgba(251, 248, 245, 0.72);
    color: #111111;
}

.secondary__btn:hover {
    border-color: #8B7B6B;
    color: #8B7B6B;
    background: rgba(238, 232, 225, 0.82);
}

/* Evita que el sitio se sienta como tienda de descuento: más catálogo, menos marketplace */
.product__meta,
.piece__facts dt,
.footer__col h4,
.eyebrow {
    letter-spacing: 0.16em;
}

.product__card h4,
.piece__modal-content h3,
.section__header,
.header__content h1 {
    color: #111111;
}

.deals__intro .section__header,
.process__content .section__header,
.process__content .eyebrow,
.footer .logo {
    color: #FBF8F5;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .deals__container {
        grid-template-columns: minmax(300px, 1.1fr) repeat(3, minmax(220px, 1fr));
    }

    .deals__card {
        min-height: 210px;
    }
}

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

    .about__content,
    .client__card,
    .piece__modal-card {
        grid-template-columns: 1fr;
    }

    .piece__modal-image-wrap img {
        max-height: 360px;
    }

    .process__grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .site-nav,
    nav {
        position: fixed;
        top: 0;
        left: 0;
        transform: none;
        max-width: none;
        padding: 0;
        display: block;
        background: var(--primary-color);
    }

    .site-nav::before,
    nav::before {
        display: none;
    }

    .nav__header {
        padding: 0.85rem 1rem;
        width: 100%;
        background: var(--primary-color);
    }

    .nav__menu__btn {
        display: block;
        color: var(--white);
    }

    .nav__links {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        padding: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 1.6rem;
        background-color: var(--primary-color);
        transition: 0.45s;
        z-index: -1;
        transform: translateY(-115%);
    }

    .nav__links.open {
        transform: translateY(0);
    }

    .nav__links a {
        color: var(--white);
    }

    .nav__links a::after {
        background: var(--white);
    }

    .login {
        display: none;
        width: 100%;
        padding: 0 1rem 1rem;
        background: var(--primary-color);
    }

    .nav__links.open + .login {
        display: block;
    }

    .login__btn {
        width: 100%;
        background: var(--white);
        color: var(--primary-color);
        box-shadow: none;
    }

    .account-menu {
        width: 100%;
    }

    .account__trigger {
        width: 100%;
        min-width: 0;
    }

    .account__panel {
        position: static;
        margin-top: 0.55rem;
        min-width: 0;
        border-color: rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.95);
        box-shadow: none;
    }

    .brand__logo-img {
        width: 62px;
        height: 62px;
    }

    .page__wrapper {
        padding-top: 4.75rem;
    }

    .section__container,
    .section_container {
        padding: 3rem 1rem;
    }

    .header__container {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 2rem;
        gap: 1rem;
    }

    .header__image {
        grid-column: 1 / -1;
        grid-row: auto;
        justify-self: stretch;
        width: 100%;
        min-height: 610px;
        border-radius: 1.3rem;
    }

    .header__image img {
        min-height: 610px;
    }

    .header__image::after {
        background:
            linear-gradient(180deg, rgba(246, 242, 237, 0.12) 0%, rgba(246, 242, 237, 0.94) 68%, rgba(246, 242, 237, 1) 100%);
    }

    .header__content {
        grid-column: 1 / -1;
        grid-row: auto;
        align-items: flex-end;
        padding: 0.75rem;
    }

    .hero__panel {
        width: 100%;
        padding: 1.45rem;
        border-radius: 1.2rem;
    }

    .header__content h1 {
        font-size: clamp(3rem, 14vw, 4.2rem);
    }

    .header__content p {
        font-size: 0.98rem;
    }

    .hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

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

    .about__btn,
    .primary__btn,
    .secondary__btn {
        width: 100%;
    }

    .about__content,
    .about__grid,
    .product__grid,
    .footer__container {
        grid-template-columns: 1fr;
    }

    .product__actions {
        grid-template-columns: 1fr;
    }

    .client__content {
        padding: 2rem 1rem;
    }

    .client__card {
        text-align: center;
    }

    .client__card p {
        font-size: 1.55rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .piece__modal {
        align-items: flex-start;
        justify-content: center;
        padding: calc(env(safe-area-inset-top, 0px) + 0.65rem) 0.75rem calc(env(safe-area-inset-bottom, 0px) + 0.75rem);
    }

    .piece__modal-card {
        width: 100%;
        max-height: min(94dvh, 94svh);
        border-radius: 1.1rem;
        grid-template-columns: 1fr;
    }

    .piece__modal-content {
        padding: 1.3rem;
    }

    .piece__modal-image-wrap img {
        max-height: 42dvh;
        object-position: center;
    }

    .piece__facts {
        grid-template-columns: 1fr;
    }

    .transfer__modal-content {
        padding: 1.3rem;
        max-height: min(94dvh, 94svh);
    }

    .transfer__actions {
        grid-template-columns: 1fr;
    }

    .transfer__summary-row {
        font-size: 0.95rem;
    }

    .transfer__summary-row--total {
        font-size: 1rem;
    }

    .cart__panel {
        right: 10px;
        left: 10px;
        width: auto;
        max-height: 62vh;
    }

    .cart__icon {
        right: 14px;
        bottom: 14px;
        width: 58px;
        height: 58px;
        font-size: 1.65rem;
    }
}

/* ===== CASA MOUSAI · HEADER SLIM / EDITORIAL ===== */
.site-nav,
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: none;
    height: 72px;
    margin: 0;
    padding: 0 clamp(1.25rem, 4vw, 4rem);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 3rem);
    background: rgba(251, 248, 245, 0.86);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 10px 34px rgba(17, 17, 17, 0.06);
    backdrop-filter: blur(18px);
    z-index: 900;
}

.site-nav::before,
nav::before {
    display: none;
}

.nav__header {
    height: 72px;
    padding: 0;
    background: transparent;
}

.brand__logo-img {
    width: 52px;
    height: 52px;
    box-shadow: none;
}

.nav__links {
    gap: clamp(1.4rem, 3vw, 3rem);
}

.nav__links a {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.11em;
}

.login__btn,
.account__trigger {
    min-height: 42px;
    padding: 0.74rem 1.55rem;
    font-size: 0.78rem;
    box-shadow: none;
}

.header__container {
    padding-top: 6.4rem;
}

/* ===== MOBILE HEADER SLIM ===== */
@media (max-width: 768px) {
    .site-nav,
    nav {
        height: 62px;
        padding: 0 1rem;
        display: block;
        background: var(--primary-color);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 8px 26px rgba(0, 0, 0, 0.16);
    }

    .nav__header {
        height: 62px;
        padding: 0;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .brand__logo-img {
        width: 44px;
        height: 44px;
        box-shadow: none;
    }

    .nav__links {
        top: 62px;
    }

    .page__wrapper {
        padding-top: 3.9rem;
    }

    .header__container {
        padding-top: 1.4rem;
    }
}

/* ===== TRANSFER MODAL · DESKTOP SCROLL FIX ===== */
@media (min-width: 769px) {
    .transfer__modal {
        align-items: flex-start;
        padding: 2rem 1rem;
    }

    .transfer__modal-card {
        width: min(760px, calc(100vw - 2rem));
        max-height: calc(100dvh - 4rem);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        margin: auto 0;
    }

    .transfer__modal-content {
        max-height: calc(100dvh - 4rem);
        overflow-y: scroll;
        scrollbar-gutter: stable;
        padding-right: calc(clamp(1.8rem, 4vw, 3rem) + 0.35rem);
    }

    .transfer__modal-content::-webkit-scrollbar {
        width: 10px;
    }

    .transfer__modal-content::-webkit-scrollbar-track {
        background: rgba(17, 17, 17, 0.06);
        border-radius: 999px;
    }

    .transfer__modal-content::-webkit-scrollbar-thumb {
        background: rgba(17, 17, 17, 0.28);
        border-radius: 999px;
    }

    .transfer__modal-content::-webkit-scrollbar-thumb:hover {
        background: rgba(17, 17, 17, 0.42);
    }
}

/* ===== CART CLOSE BUTTON ===== */
.cart__panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cart__panel-header h4 {
    margin-bottom: 0;
}

.cart__close {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.cart__close:hover {
    background: var(--primary-soft);
    border-color: rgba(17, 17, 17, 0.22);
    transform: scale(1.04);
}

.cart__close:active {
    transform: scale(0.98);
}
