/* ==========================================================================
   Tienda — inicio, colección, historia, ficha, carrito y checkout
   Acotado a .storefront, .collection-page, .history-page, .product-page,
   .cart-page y .checkout-page.
   ========================================================================== */

.storefront,
.collection-page,
.history-page,
.product-page,
.cart-page,
.checkout-page {
    --sf-max: 1180px;
    --sf-gutter: clamp(1.15rem, 3.4vw, 2rem);
    --sf-section: clamp(3.25rem, 7vw, 5.75rem);
}

.storefront,
.collection-page,
.history-page,
.product-page,
.cart-page,
.checkout-page {
    background: transparent;
}

/* El hero ocupa la ventana completa; el resto de páginas siguen bajo la cabecera. */
main.storefront.main-content {
    margin-top: 0;
}

.storefront .container,
.collection-page .container,
.history-page .container,
.product-page .container,
.cart-page .container,
.checkout-page .container,
.storefront.section .container,
.storefront .section .container,
.collection-page .collection-section .container,
.history-page .history-section .container,
.product-page .product-section .container,
.cart-page .cart-section .container,
.checkout-page .checkout-section .container {
    max-width: var(--sf-max);
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 var(--sf-gutter);
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.storefront .section {
    padding: var(--sf-section) 0;
    /* El contenido no debe depender de JavaScript para ser visible. */
    opacity: 1;
    transform: none;
}

/*------------------------------------*\
  #HERO
\*------------------------------------*/
.storefront .hero {
    isolation: isolate;
    height: 100vh;
    min-height: 620px;
    margin-top: 0;
    padding-top: 70px;
    color: #f7f4ef;
    text-shadow: none;
    overflow: hidden;
}

.storefront .carousel-container {
    z-index: 0;
}

.storefront .carousel-slide img {
    filter: none;
    transform: scale(1.04);
    transition: transform 8s linear, opacity 0.7s ease;
}

.storefront .carousel-slide.active img {
    transform: scale(1);
}

/* Marca de agua: el PNG lleva fondo negro. Invertir + multiply
   lo vuelve un velo claro y hace desaparecer el negro. */
.storefront::before,
.collection-page::before,
.history-page::before,
.product-page::before,
.cart-page::before,
.checkout-page::before,
.storefront .background-image,
.collection-page .background-image,
.history-page .background-image,
.product-page .background-image,
.cart-page .background-image,
.checkout-page .background-image {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url('../images/logo/logo274.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: min(92vw, 88vh);
    opacity: 0.18;
    /* filter: invert(1) brightness(1.35) contrast(0.8) saturate(0.35); */
    mix-blend-mode: multiply;
}

.storefront .background-image,
.collection-page .background-image,
.history-page .background-image,
.product-page .background-image,
.cart-page .background-image,
.checkout-page .background-image {
    content: none;
}

.storefront .hero,
.storefront .section,
.collection-page .collection-section,
.history-page .history-section,
.product-page .product-section,
.cart-page .cart-section,
.checkout-page .checkout-section {
    position: relative;
    z-index: 1;
}

body:has(.storefront)::after,
body:has(.collection-page)::after,
body:has(.history-page)::after,
body:has(.product-page)::after,
body:has(.cart-page)::after,
body:has(.checkout-page)::after {
    opacity: 0;
}

.storefront .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(12, 28, 36, 0.18) 0%, rgba(12, 28, 36, 0.42) 48%, rgba(12, 28, 36, 0.68) 100%),
        radial-gradient(ellipse at center, rgba(12, 28, 36, 0.08) 0%, rgba(12, 28, 36, 0.28) 100%);
}

.storefront .hero .container {
    z-index: 3;
    padding: 0 var(--sf-gutter);
}

.storefront .hero-content,
.storefront .hero-content:hover,
.storefront .hero-content::before,
.storefront .hero-content:hover::before,
.storefront .hero-content::after {
    background: transparent;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
}

.storefront .hero-content {
    max-width: 38rem;
    padding: 0;
    animation: sfFadeUp 0.9s var(--ease-out) both;
}

.storefront .brand-logo-container-index,
.storefront .brand-logo-container-index:hover {
    transform: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.storefront .brand-logo-index,
.storefront .brand-logo-container-index:hover .brand-logo-index {
    height: 200px;
    width: auto;
    margin: 0 0 1rem;
    object-fit: contain;
    filter: brightness(1.12) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
    transform: none;
}

.storefront .hero .hero-content .brand-name,
.storefront .brand-logo-container-index:hover .brand-name {
    color: #f8f4ee;
    font-size: clamp(3.2rem, 8vw, 5.1rem);
    letter-spacing: 0.22em;
    margin: 0;
    line-height: 0.95;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.storefront .hero .hero-content .brand-subtitle,
.storefront .brand-logo-container-index:hover .brand-subtitle {
    color: rgba(247, 244, 239, 0.78);
    font-size: 1.5rem;
    letter-spacing: 0.46em;
    margin: 0.55rem 0 0;
}

.storefront .hero-tagline,
.storefront .hero .hero-content p,
.storefront .hero .hero-content p:hover {
    color: rgba(247, 244, 239, 0.88);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    margin: 1.35rem 0 1.75rem;
    transform: none;
    text-shadow: none;
}

.storefront .hero .hero-content .btn,
.storefront .hero .hero-content .btn:hover,
.storefront .hero .hero-content .btn::before,
.storefront .hero .hero-content .btn:hover::before {
    width: auto;
    overflow: visible;
    background-image: none;
}

.storefront .hero .hero-content .btn {
    background: #f7f4ef;
    color: var(--color-accent-dark);
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.55);
}

.storefront .hero .hero-content .btn:hover {
    background: var(--color-white);
    color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.6);
}

.storefront .carousel-controls {
    z-index: 4;
    padding: 0 var(--sf-gutter);
    pointer-events: none;
}

.storefront .carousel-control {
    pointer-events: auto;
    width: 42px;
    height: 42px;
    background: rgba(247, 244, 239, 0.12);
    border: 1px solid rgba(247, 244, 239, 0.32);
    color: #f7f4ef;
    backdrop-filter: blur(8px);
}

.storefront .carousel-control:hover {
    background: rgba(247, 244, 239, 0.22);
    transform: none;
}

.storefront .carousel-dots {
    z-index: 4;
    bottom: 1.6rem;
    gap: 0.45rem;
}

.storefront .dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    background: rgba(247, 244, 239, 0.38);
    transform: none;
}

.storefront .dot.active {
    width: 22px;
    border-radius: var(--radius-pill);
    background: #f7f4ef;
    transform: none;
}

.storefront .dot:hover {
    background: #f7f4ef;
}

/*------------------------------------*\
  #SECCIONES DE INICIO
\*------------------------------------*/
.storefront .section-header {
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.storefront .featured .section-header--split {
    align-items: flex-end;
}

.storefront .home-split__grid,
.history-page .home-split__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.25rem;
}

.storefront .home-panel,
.history-page .home-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
    padding: clamp(1.75rem, 3.5vw, 2.6rem);
    background: var(--surface-panel);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-panel);
}

.storefront .home-panel h2,
.history-page .home-panel h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.85rem, 2.4vw, 2.35rem);
    font-weight: 500;
    color: var(--color-gray-800);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 0.85rem;
}

.storefront .home-panel h2::after,
.history-page .home-panel h2::after {
    content: none;
}

.storefront .home-panel p,
.history-page .home-panel p {
    margin: 0 0 1.5rem;
    max-width: 36rem;
    color: var(--color-gray-600);
    font-size: 1.02rem;
    line-height: 1.75;
}

.storefront .home-panel .btn,
.history-page .home-panel .btn {
    margin-top: auto;
}

.storefront .home-panel--accent,
.history-page .home-panel--accent {
    background: linear-gradient(160deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-color: transparent;
    color: #f7f4ef;
}

.storefront .home-panel--accent .section-eyebrow,
.storefront .home-panel--accent h2,
.storefront .home-panel--accent p,
.history-page .home-panel--accent .section-eyebrow,
.history-page .home-panel--accent h2,
.history-page .home-panel--accent p {
    color: #f7f4ef;
}

.storefront .home-panel--accent .section-eyebrow,
.history-page .home-panel--accent .section-eyebrow {
    opacity: 0.72;
}

.storefront .home-panel--accent p,
.history-page .home-panel--accent p {
    color: rgba(247, 244, 239, 0.82);
}

.storefront .home-panel--accent .btn.btn-primary,
.history-page .home-panel--accent .btn.btn-primary {
    background: #f7f4ef;
    color: var(--color-accent-dark);
}

.storefront .home-panel--accent .btn.btn-primary:hover,
.history-page .home-panel--accent .btn.btn-primary:hover {
    background: var(--color-white);
}

.storefront .about-content,
.storefront .about-content:hover,
.storefront .about-text,
.storefront .about-text:hover,
.storefront .laboratory-content,
.storefront .laboratory-content:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
}

/*------------------------------------*\
  #HISTORIA
\*------------------------------------*/
.history-page .history-section {
    padding: clamp(2.4rem, 5vw, 4.25rem) 0 var(--sf-section);
}

.history-block-head {
    max-width: 40rem;
    margin: 0 0 clamp(1.75rem, 3vw, 2.4rem);
}

.history-block-head .section-title {
    margin-bottom: 0.65rem;
    text-align: left;
}

.history-block-head .section-lede {
    margin: 0;
}

.history-essay,
.history-process,
.history-firing,
.history-philosophy,
.history-voices {
    margin-bottom: clamp(3.25rem, 7vw, 5.5rem);
}

.history-essay {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.5rem, 4vw, 3.25rem);
    align-items: start;
}

.history-essay__copy .section-title {
    text-align: left;
    margin-bottom: 1.1rem;
}

.history-essay__copy p {
    margin: 0 0 1.1rem;
    max-width: 38rem;
    color: var(--color-gray-600);
    font-size: 1.05rem;
    line-height: 1.8;
}

.history-essay__copy p:last-child {
    margin-bottom: 0;
}

.history-pair {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: minmax(12rem, auto) auto auto;
    gap: 0.85rem;
    margin: 0;
}

.history-pair__frame {
    overflow: hidden;
    background-color: #d7c4ad;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(92, 58, 36, 0.12) 0.7px, transparent 1px),
        radial-gradient(circle at 72% 68%, rgba(255, 248, 238, 0.18) 0.6px, transparent 1px);
    background-size: 8px 8px, 11px 11px;
}

.history-pair__frame--studio {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 22rem;
}

.history-pair__frame--piece {
    grid-column: 2;
    grid-row: 2 / span 1;
    min-height: 14rem;
    margin-top: 2.5rem;
}

.history-pair img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-pair figcaption {
    grid-column: 1 / -1;
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gray-400);
}

.process-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

.process-step {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.process-step__media {
    margin: 0 0 1rem;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: #d7c4ad;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(92, 58, 36, 0.12) 0.7px, transparent 1px),
        radial-gradient(circle at 72% 68%, rgba(255, 248, 238, 0.18) 0.6px, transparent 1px);
    background-size: 8px 8px, 11px 11px;
}

.process-step__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-step__n {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gray-400);
}

.process-step h3,
.philosophy-tile h3,
.firing-step h3 {
    margin: 0 0 0.45rem;
    font-family: var(--font-secondary);
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--color-gray-800);
}

.process-step p,
.philosophy-tile p,
.firing-step p {
    margin: 0;
    color: var(--color-gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

.firing-line {
    display: grid;
    grid-template-columns: 0.7rem minmax(0, 1fr);
    gap: 1.35rem;
    align-items: stretch;
}

.firing-line__rail {
    position: relative;
    border-radius: var(--radius-pill);
    background: rgba(var(--ink-rgb), 0.08);
    overflow: hidden;
}

.firing-line__heat {
    position: absolute;
    inset: 0;
    transform-origin: top center;
    background: linear-gradient(180deg, #e39a4c 0%, #f0c27a 42%, #8eacb8 100%);
    opacity: 0.85;
}

.firing-line__list {
    display: grid;
    gap: 1.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.firing-step {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1.15rem 1.25rem;
    background: var(--surface-panel);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-panel);
}

.firing-step time {
    font-family: var(--font-secondary);
    font-size: 1.35rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    color: var(--color-accent);
    line-height: 1.2;
}

.philosophy-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.philosophy-tile {
    padding: clamp(1.35rem, 2.4vw, 1.85rem);
    background: var(--surface-panel);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-panel);
}

.voices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.history-voice {
    margin: 0;
    padding: clamp(1.5rem, 3vw, 2.1rem);
    background: var(--surface-panel);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-panel);
}

.history-voice > p {
    margin: 0 0 1.35rem;
    font-family: var(--font-secondary);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.45;
    color: var(--color-gray-800);
}

.history-voice__who {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.history-voice__photo {
    width: 3.1rem;
    height: 3.1rem;
    flex: 0 0 3.1rem;
    overflow: hidden;
    background: #d7c4ad;
}

.history-voice__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-voice cite {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-style: normal;
}

.history-voice cite strong {
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-gray-800);
}

.history-voice cite span {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gray-400);
}

.history-cta {
    margin-top: 0.5rem;
}

body[data-ui-theme="dark"] .history-pair__frame,
body[data-ui-theme="dark"] .process-step__media,
body[data-ui-theme="dark"] .history-voice__photo {
    background-color: #3a2e26;
}

/*------------------------------------*\
  #COLECCIÓN
\*------------------------------------*/
.collection-page .collection-section {
    padding: clamp(2.4rem, 5vw, 4.25rem) 0 var(--sf-section);
}

.collection-hero {
    max-width: 40rem;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.collection-hero .section-title {
    margin-bottom: 0.65rem;
}

.collection-hero .section-lede {
    margin: 0 auto;
}

.collection-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 2rem;
    padding: 0.85rem 0;
    position: sticky;
    top: var(--header-offset, 70px);
    transition: top 0.25s ease;
    z-index: 8;
    background: rgba(250, 249, 246, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hairline);
}

.collection-page .category-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    margin: 0;
    margin-left: 20px;
}

.collection-page .category-filters__aside {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    /* margin-left: auto; */
    padding-left: 0.75rem;
}

.collection-page .filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    margin: 0;
    padding: 0.42rem 1rem 0.42rem 0.72rem;
    min-height: 2.35rem;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--color-gray-600);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
}

.collection-page .filter-btn:not(:has(.filter-btn__icon)) {
    padding-left: 1rem;
}

.collection-page .filter-btn__icon {
    display: block;
    width: 1.45rem;
    height: 1.45rem;
    flex: 0 0 1.45rem;
    background-color: currentColor;
    -webkit-mask-image: var(--filter-icon);
    mask-image: var(--filter-icon);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.collection-page .filter-btn__icon--jarron {
    --filter-icon: url('../images/icons/categoria-jarron.svg?v=2');
}

.collection-page .filter-btn__icon--yunomi {
    --filter-icon: url('../images/icons/categoria-yunomi.svg?v=2');
}

.collection-page .filter-btn__icon--bowl {
    --filter-icon: url('../images/icons/categoria-bowl.svg?v=2');
}

.collection-page .filter-btn__icon--taza {
    --filter-icon: url('../images/icons/categoria-taza.svg?v=2');
}

.collection-page .filter-btn__icon--todos {
    --filter-icon: url('../images/logo/logo272.png');
    width: 1.05rem;
    height: 1.05rem;
    flex-basis: 1.05rem;
}

.collection-page .filter-btn__icon--glaze-test {
    --filter-icon: url('../images/icons/categoria-glaze-test.svg?v=2');
    width: 1.35rem;
    height: 1.35rem;
    flex-basis: 1.35rem;
}
.collection-page .filter-btn__icon--edicion {
    --filter-icon: url('../images/icons/categoria-edicion.svg?v=2');
    width: 1.28rem;
    height: 1.28rem;
    flex-basis: 1.28rem;
}
.collection-page .filter-btn__icon--gouache {
    --filter-icon: url('../images/icons/categoria-gouache.svg?v=5');
    width: 1.4rem;
    height: 1.4rem;
    flex-basis: 1.4rem;
}

.collection-page .filter-btn:hover {
    background: var(--color-white);
    border-color: var(--hairline-strong);
    color: var(--color-accent);
}

.collection-page .filter-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.collection-page .filter-btn.filter-btn--gouache {
    background: #F3D4DC;
    border-color: #da7798;
    color: #f9609d;
}

.collection-page .filter-btn.filter-btn--gouache:hover {
    background: #E9B9C6;
    border-color: #B24E70;
    color: #5F1F38;
}

.collection-page .filter-btn.filter-btn--gouache.active {
    background: #9C3D62;
    border-color: #9C3D62;
    color: var(--color-white);
}

.collection-page .filter-btn.filter-btn--yunomi {
    background: #FDE6C8;
    border-color: #E3923D;
    color: #C45E12;
}

.collection-page .filter-btn.filter-btn--yunomi:hover {
    background: #F8D4A8;
    border-color: #D07820;
    color: #9A4308;
}

.collection-page .filter-btn.filter-btn--yunomi.active {
    background: #D97706;
    border-color: #D97706;
    color: var(--color-white);
}


/* .collection-page .filter-btn.filter-btn--jarron:hover {
    background: #d1a8f8;
    border-color: #8120d0;
    color: #73089a;
} */

/* .collection-page .filter-btn.filter-btn--jarron.active {
    background: #7706d9;
    border-color: #7006d9;
    color: var(--color-white);
}
.collection-page .filter-btn.filter-btn--jarron {
    background: #e3c8fd;
    border-color: #a33de3;
    color: #7112c4;
}

.collection-page .filter-btn.filter-btn--bowl:hover {
    background: #a8d8f8;
    border-color: #2087d0;
    color: #08679a;
} */

/* .collection-page .filter-btn.filter-btn--bowl {
    background: #c8f1fd;
    border-color: #3dace3;
    color: #1274c4;
}
.collection-page .filter-btn.filter-btn--bowl.active {
    background: #0665d9;
    border-color: #068fd9;
    color: var(--color-white);
}
.collection-page .filter-btn.filter-btn--taza:hover {
    background: #e0f8a8;
    border-color: #9bd020;
    color: #789a08;
} */

/* .collection-page .filter-btn.filter-btn--taza {
    background: #f2fdc8;
    border-color: #ace33d;
    color: #95c412;
}
.collection-page .filter-btn.filter-btn--taza.active {
    background: #9dd906;
    border-color: #8fd906;
    color: var(--color-white);
} */

/* .collection-page .filter-btn.filter-btn--glaze-test {
    background: #b6e1d4;
    border-color: #6ba095;
    color: #3da194;
}

.collection-page .filter-btn.filter-btn--glaze-test:hover {
    background: #B5D8CE;
    border-color: #2F7F6E;
    color: #164740;
}

.collection-page .filter-btn.filter-btn--glaze-test.active {
    background: #2A6F64;
    border-color: #2A6F64;
    color: var(--color-white);
} */

.collection-count {
    margin: 0;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gray-500);
    white-space: nowrap;
}

.collection-page .sf-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
    margin: 2.25rem 20px 0;
    padding-top: 1.35rem;
    border-top: 1px solid var(--hairline);
}

.collection-page .sf-pager-meta {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gray-500);
}

.collection-page .sf-pager-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.collection-page .sf-pager-links a,
.collection-page .sf-pager-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    min-height: 2.35rem;
    padding: 0.48rem 0.95rem;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--color-gray-600);
    font-family: var(--font-primary);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);
}

.collection-page .sf-pager-links a:hover {
    background: var(--color-white);
    border-color: var(--hairline-strong);
    color: var(--color-accent);
}

.collection-page .sf-pager-links a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.collection-page .sf-pager-links .is-current {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    font-weight: 500;
}

.collection-page .sf-pager-links .is-disabled,
.collection-page .sf-pager-links .is-ellipsis {
    min-width: 1.5rem;
    border-color: transparent;
    background: transparent;
    color: var(--color-gray-500);
    cursor: default;
}

.storefront .no-products,
.collection-page .no-products {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 4rem 1.5rem;
    background: var(--surface-panel);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    box-shadow: none;
    color: var(--color-gray-600);
}

.collection-page .no-products i {
    font-size: 1.4rem;
    color: var(--color-accent-light);
}

.storefront .no-products p,
.collection-page .no-products p {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 1.35rem;
    color: var(--color-gray-800);
}

/*------------------------------------*\
  #TARJETAS
\*------------------------------------*/
.storefront .products-grid,
.collection-page .products-grid,
.product-page .products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.65rem;
    margin: 0;
    padding: 0;
    width: 100%;
}

.storefront .product-card,
.collection-page .product-card,
.product-page .product-card {
    display: flex;
    height: 100%;
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
    .storefront .product-card:hover,
    .collection-page .product-card:hover,
    .product-page .product-card:hover {
        border-color: var(--hairline-strong);
    }
}

.storefront .product-card__link,
.collection-page .product-card__link,
.product-page .product-card__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.storefront .product-card__media,
.collection-page .product-card__media,
.product-page .product-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eef2f4;
}

.storefront .product-card__img,
.collection-page .product-card__img,
.product-page .product-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), opacity var(--transition-base);
}

.storefront .product-card__img--alt,
.collection-page .product-card__img--alt,
.product-page .product-card__img--alt {
    opacity: 0;
}

.storefront .product-card:hover .product-card__img--alt,
.storefront .product-card__link:focus-visible .product-card__img--alt,
.storefront .product-card.is-pressing .product-card__img--alt,
.storefront .product-card:active .product-card__img--alt,
.collection-page .product-card:hover .product-card__img--alt,
.collection-page .product-card__link:focus-visible .product-card__img--alt,
.collection-page .product-card.is-pressing .product-card__img--alt,
.collection-page .product-card:active .product-card__img--alt,
.product-page .product-card:hover .product-card__img--alt,
.product-page .product-card__link:focus-visible .product-card__img--alt,
.product-page .product-card.is-pressing .product-card__img--alt,
.product-page .product-card:active .product-card__img--alt {
    opacity: 1;
}

@media (hover: none), (pointer: coarse) {
    .storefront .product-card.is-in-view .product-card__img--alt,
    .collection-page .product-card.is-in-view .product-card__img--alt,
    .product-page .product-card.is-in-view .product-card__img--alt {
        animation: ikra-card-alt-peek 5.2s ease-in-out infinite;
    }

    .storefront .product-card.is-pressing .product-card__img--alt,
    .storefront .product-card:active .product-card__img--alt,
    .collection-page .product-card.is-pressing .product-card__img--alt,
    .collection-page .product-card:active .product-card__img--alt,
    .product-page .product-card.is-pressing .product-card__img--alt,
    .product-page .product-card:active .product-card__img--alt {
        animation: none;
        opacity: 1;
    }
}

.storefront .product-card__body,
.collection-page .product-card__body,
.product-page .product-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.05rem 1.15rem 1.1rem;
    background: #f7f4ef;
    border-top: 1px solid var(--hairline);
}

.storefront .product-card__head,
.collection-page .product-card__head,
.product-page .product-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem 1.1rem;
}

.storefront .product-card__copy,
.collection-page .product-card__copy,
.product-page .product-card__copy {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    min-width: 0;
}

.storefront .product-card__eyebrow,
.collection-page .product-card__eyebrow,
.product-page .product-card__eyebrow {
    margin: 0;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent-light);
}

.storefront .product-card__title,
.collection-page .product-card__title,
.product-page .product-card__title {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 1.38rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.18;
    color: var(--color-gray-800);
    text-wrap: balance;
    transition: color var(--transition-base);
}

.storefront .product-card:hover .product-card__title,
.collection-page .product-card:hover .product-card__title,
.product-page .product-card:hover .product-card__title {
    color: var(--color-accent);
}

.storefront .product-card__spec,
.collection-page .product-card__spec,
.product-page .product-card__spec {
    display: grid;
    grid-template-columns: repeat(var(--spec-n, 3), minmax(0, 1fr));
    gap: 0.55rem 0.85rem;
    margin: 0;
    padding: 0.7rem 0 0;
    border: 0;
    border-top: 1px solid var(--hairline);
    list-style: none;
    min-width: 0;
}

.storefront .product-card__spec li,
.collection-page .product-card__spec li,
.product-page .product-card__spec li {
    display: flex;
    min-width: 0;
}

.storefront .product-card__spec li + li,
.collection-page .product-card__spec li + li,
.product-page .product-card__spec li + li {
    padding-left: 0.85rem;
    border-left: 1px solid var(--hairline);
}

.storefront .product-card__spec-n,
.collection-page .product-card__spec-n,
.product-page .product-card__spec-n {
    display: none;
}

.storefront .product-card__spec-body,
.collection-page .product-card__spec-body,
.product-page .product-card__spec-body {
    display: flex;
    flex-direction: column;
    gap: 0.14rem;
    min-width: 0;
}

.storefront .product-card__spec-label,
.collection-page .product-card__spec-label,
.product-page .product-card__spec-label {
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-gray-400);
}

.storefront .product-card__spec-value,
.collection-page .product-card__spec-value,
.product-page .product-card__spec-value {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--color-gray-700);
    line-height: 1.3;
}

.storefront .product-card__price,
.collection-page .product-card__price,
.product-page .product-card__price,
.storefront .product-card__price::before,
.collection-page .product-card__price::before,
.product-page .product-card__price::before {
    content: none;
    position: static;
    flex-shrink: 0;
    margin: 0.12rem 0 0;
    padding: 0;
    font-family: var(--font-secondary);
    font-size: 1.22rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--color-accent);
}

.storefront .product-card__badges,
.collection-page .product-card__badges,
.product-page .product-card__badges {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    display: flex;
    gap: 0.4rem;
}

.storefront .product-card__badge,
.collection-page .product-card__badge,
.product-page .product-card__badge {
    padding: 0.32rem 0.6rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-accent-dark);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.storefront .product-card__badge--sold,
.collection-page .product-card__badge--sold,
.product-page .product-card__badge--sold {
    background: rgba(16, 35, 43, 0.82);
    color: #fff;
}

.storefront .product-card__badge--unique,
.collection-page .product-card__badge--unique,
.product-page .product-card__badge--unique {
    background: var(--color-stock-unique);
    color: #f8f1f7;
}

.storefront .product-card__badge--last,
.collection-page .product-card__badge--last,
.product-page .product-card__badge--last {
    background: var(--color-stock-last);
    color: #fff6f1;
}

.storefront .product-card__badge--low,
.collection-page .product-card__badge--low,
.product-page .product-card__badge--low {
    background: var(--color-stock-low);
    color: #fff8ee;
}

.storefront .product-card.is-sold-out .product-card__img,
.collection-page .product-card.is-sold-out .product-card__img,
.product-page .product-card.is-sold-out .product-card__img {
    filter: grayscale(0.2) brightness(0.92);
}

.storefront .product-card__cue,
.collection-page .product-card__cue,
.product-page .product-card__cue {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.7rem;
    opacity: 0;
    transform: translate3d(5px, 10px, 0) scale(0.82);
    transition:
        opacity 360ms var(--ease-out),
        transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    box-shadow: 0 8px 18px -8px rgba(var(--ink-rgb), 0.45);
}

.storefront .product-card__link:focus-visible .product-card__cue,
.collection-page .product-card__link:focus-visible .product-card__cue,
.product-page .product-card__link:focus-visible .product-card__cue {
    opacity: 1;
    transform: none;
}

@media (hover: hover) and (pointer: fine) {
    .storefront .product-card:hover .product-card__cue,
    .collection-page .product-card:hover .product-card__cue,
    .product-page .product-card:hover .product-card__cue {
        opacity: 1;
        transform: none;
        transition-delay: 70ms;
    }
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 0.85rem;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier > .product-card {
    min-width: 0;
    position: relative;
    height: auto;
    transform: none;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier > .product-card:hover,
:is(.storefront, .collection-page, .product-page) .products-grid--atelier > .product-card:has(.product-card__link:focus-visible) {
    transform: none;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier > .product-card:not(.product-card--feature) {
    aspect-ratio: 1;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier > .product-card--feature {
    grid-column: span 2;
    grid-row: span 2;
    height: 100%;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier > .product-card--bento-start {
    grid-column: 1 / span 2;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier > .product-card--bento-end {
    grid-column: 2 / span 2;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card__link {
    position: relative;
    min-height: 0;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card__media {
    aspect-ratio: auto;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    gap: 0.35rem;
    padding: 2.1rem 0.85rem 0.75rem;
    background: linear-gradient(180deg, rgba(16, 28, 34, 0) 0%, rgba(16, 28, 34, 0.72) 72%);
    border-top: 0;
    color: #f7f4ef;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card__eyebrow,
:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card__title,
:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card__price,
:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card__spec-label,
:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card__spec-value {
    color: #f7f4ef;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card:hover .product-card__title {
    color: #fff;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card__title {
    font-size: 1.12rem;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card__price {
    font-size: 1rem;
    margin: 0;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card__spec {
    display: none;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card--feature .product-card__title {
    font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.85rem);
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card--feature .product-card__price {
    font-size: 1.18rem;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card--feature .product-card__spec {
    display: grid;
    gap: 0.4rem 0.75rem;
    padding-top: 0.55rem;
    border-top-color: rgba(247, 244, 239, 0.22);
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card--feature .product-card__spec-value {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card--pequena {
    width: 100%;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card--pequena .product-card__title {
    font-size: 0.98rem;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card--pequena .product-card__price {
    font-size: 0.92rem;
}

:is(.storefront, .collection-page, .product-page) .products-grid--atelier .product-card__quick {
    z-index: 3;
}

/*------------------------------------*\
  #RESPONSIVE
\*------------------------------------*/
@media (max-width: 992px) {
    .storefront .home-split__grid,
    .history-page .home-split__grid,
    .storefront .products-grid,
    .collection-page .products-grid,
    .product-page .products-grid {
        grid-template-columns: 1fr 1fr;
    }

    :is(.storefront, .collection-page, .product-page) .products-grid--atelier {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    :is(.storefront, .collection-page, .product-page) .products-grid--atelier > .product-card--feature,
    :is(.storefront, .collection-page, .product-page) .products-grid--atelier > .product-card--bento-start {
        grid-column: 1;
        grid-row: span 2;
    }

    :is(.storefront, .collection-page, .product-page) .products-grid--atelier > .product-card--bento-end {
        grid-column: 2;
        grid-row: span 2;
    }

    .storefront .hero {
        min-height: 560px;
        height: 100vh;
    }

    .history-essay {
        grid-template-columns: 1fr;
    }

    .process-strip,
    .philosophy-board,
    .voices-grid {
        grid-template-columns: 1fr 1fr;
    }

    .history-pair__frame--studio,
    .history-pair__frame--piece {
        grid-column: auto;
        grid-row: auto;
        min-height: 16rem;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    main.storefront.main-content {
        margin-top: 0;
    }

    .storefront .hero {
        padding-top: 60px;
    }

    .collection-toolbar {
        top: var(--header-offset, 60px);
        flex-direction: column;
        align-items: stretch;
        padding-top: 0.65rem;
        padding-bottom: 0.75rem;
    }

    .collection-page .category-filters {
        justify-content: center;
        margin-left: 0;
    }

    .collection-page .category-filters__aside {
        flex-basis: 100%;
        margin-left: 0;
        justify-content: flex-end;
        padding-left: 0;
        padding-top: 0.2rem;
    }

    .collection-count {
        text-align: center;
    }

    .collection-page .sf-pager {
        margin-left: 0;
        margin-right: 0;
        justify-content: center;
        text-align: center;
    }

    .collection-page .sf-pager-meta {
        width: 100%;
    }

    .collection-page .sf-pager-links {
        justify-content: center;
        width: 100%;
    }

    .storefront .featured .section-header--split {
        align-items: flex-start;
    }

    .history-essay {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .firing-step {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .storefront .hero .hero-content .brand-name {
        letter-spacing: 0.16em;
    }

    .storefront .carousel-control {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 640px) {
    .storefront .home-split__grid,
    .history-page .home-split__grid,
    .storefront .products-grid,
    .collection-page .products-grid,
    .product-page .products-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    :is(.storefront, .collection-page, .product-page) .products-grid--atelier {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .storefront .hero {
        min-height: 520px;
    }

    .storefront .brand-logo-index {
        height: 84px;
    }

    .process-strip,
    .philosophy-board,
    .voices-grid,
    .history-pair {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :is(.storefront, .collection-page, .product-page) .products-grid--atelier {
        grid-template-columns: 1fr;
    }

    :is(.storefront, .collection-page, .product-page) .products-grid--atelier > .product-card--feature,
    :is(.storefront, .collection-page, .product-page) .products-grid--atelier > .product-card--bento-start,
    :is(.storefront, .collection-page, .product-page) .products-grid--atelier > .product-card--bento-end {
        grid-column: 1;
        grid-row: auto;
    }

    :is(.storefront, .collection-page, .product-page) .products-grid--atelier > .product-card--feature {
        aspect-ratio: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .storefront .hero-content,
    .storefront .carousel-slide img,
    .storefront .product-card,
    .collection-page .product-card,
    .storefront .product-card__img,
    .collection-page .product-card__img,
    .storefront .product-card__cue,
    .collection-page .product-card__cue {
        animation: none;
        transition: none;
        animation-delay: 0s;
    }

    .storefront .carousel-slide img,
    .storefront .carousel-slide.active img,
    .storefront .product-card:hover,
    .collection-page .product-card:hover,
    .storefront .product-card:hover .product-card__img,
    .collection-page .product-card:hover .product-card__img {
        transform: none;
        filter: none;
    }

    .storefront .product-card.is-in-view .product-card__img--alt,
    .collection-page .product-card.is-in-view .product-card__img--alt,
    .product-page .product-card.is-in-view .product-card__img--alt {
        animation: none;
    }
}

@keyframes sfFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/*------------------------------------*\
  #FICHA DE PRODUCTO
\*------------------------------------*/
.product-page .product-section {
    padding: clamp(1.75rem, 4vw, 3.25rem) 0 var(--sf-section);
}

.product-page .container {
    margin-top: 0;
}

.pd-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.55rem;
    margin: 0 0 1.75rem;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gray-400);
}

.pd-crumb a {
    color: var(--color-gray-500);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.pd-crumb a:hover {
    color: var(--color-accent);
}

.pd-crumb__sep {
    color: var(--color-gray-300);
    font-size: 0.65rem;
}

.pd-crumb__current {
    color: var(--color-gray-700);
    max-width: 28ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
    gap: clamp(1.5rem, 3.5vw, 3.25rem);
    align-items: start;
}

.pd-gallery {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
}

.pd-thumbs {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gray-300) transparent;
    padding: 2px;
}

.pd-thumb {
    flex: 0 0 auto;
    width: 4.25rem;
    height: 4.25rem;
    padding: 0;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #eef2f4;
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.pd-thumb:hover {
    border-color: var(--hairline-strong);
}

.pd-thumb.is-active {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent);
}

.pd-thumb:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.pd-stage {
    position: relative;
    isolation: isolate;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e8eef1;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    box-shadow: none;
    touch-action: pan-y;
}

.pd-stage__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease-out);
    pointer-events: none;
}

.pd-stage__img.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    cursor: zoom-in;
}

.pd-nav,
.pd-zoom {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(16, 35, 43, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-accent);
    cursor: pointer;
    box-shadow: 0 8px 20px -14px rgba(16, 35, 43, 0.5);
    transition: background var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
}

.pd-nav:hover,
.pd-zoom:hover {
    background: var(--color-white);
    color: var(--color-accent-dark);
}

.pd-nav:focus-visible,
.pd-zoom:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.pd-nav--prev {
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
}

.pd-nav--next {
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
}

.pd-zoom {
    top: 0.85rem;
    right: 0.85rem;
}

.pd-counter {
    position: absolute;
    left: 0.85rem;
    bottom: 0.85rem;
    z-index: 3;
    padding: 0.28rem 0.65rem;
    border-radius: var(--radius-pill);
    background: rgba(16, 35, 43, 0.62);
    color: #f7f4ef;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
}

.pd-gallery.is-single {
    grid-template-columns: 1fr;
}

.pd-gallery.is-single .pd-nav,
.pd-gallery.is-single .pd-thumbs,
.pd-gallery.is-single .pd-counter {
    display: none;
}

.pd-info {
    position: sticky;
    top: calc(var(--header-offset, 70px) + 24px);
    transition: top 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 0.15rem 0 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.pd-info__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin: 0 0 0.95rem;
}

.pd-info__eyebrow {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gray-400);
    text-decoration: none;
}

.pd-info__eyebrow:hover {
    color: var(--color-accent);
}

.pd-info__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem 1.15rem;
    width: 100%;
}

.pd-info__title {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: clamp(1.9rem, 1.35rem + 1.7vw, 2.65rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--color-gray-800);
    text-wrap: balance;
}

.pd-info__price {
    margin: 0.25rem 0 0;
    flex-shrink: 0;
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--color-accent);
}

.pd-spec {
    display: grid;
    grid-template-columns: repeat(var(--spec-n, 3), minmax(0, 1fr));
    gap: 0.55rem 0.85rem;
    width: 100%;
    margin: 1.15rem 0 0;
    padding: 0.9rem 0 0;
    border-top: 1px solid var(--hairline);
    list-style: none;
}

.pd-spec li {
    display: flex;
    min-width: 0;
}

.pd-spec li + li {
    padding-left: 0.85rem;
    border-left: 1px solid var(--hairline);
}

.pd-spec-n {
    display: none;
}

.pd-spec-body {
    display: flex;
    flex-direction: column;
    gap: 0.14rem;
    min-width: 0;
}

.pd-spec-label {
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-gray-400);
}

.pd-spec-value {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-gray-800);
    line-height: 1.3;
}

.pd-trace {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1rem;
    width: 100%;
    margin: 0.85rem 0 0;
    padding: 0.85rem 0 0;
    border-top: 1px solid var(--hairline);
}

.pd-trace div {
    min-width: 0;
}

.pd-trace dt {
    margin: 0;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-gray-400);
}

.pd-trace dd {
    margin: 0.14rem 0 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-gray-800);
    line-height: 1.3;
}

@media (max-width: 640px) {
    .pd-trace {
        grid-template-columns: 1fr;
    }
}

.pd-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.32rem 0.7rem;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-pill);
    background: var(--color-white);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-600);
}

.pd-status__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-stock-ok);
}

.pd-status.is-ok {
    color: var(--color-stock-ok);
    background: var(--color-stock-ok-bg);
    border-color: color-mix(in srgb, var(--color-stock-ok) 28%, transparent);
}

.pd-status.is-ok .pd-status__dot {
    background: var(--color-stock-ok);
}

.pd-status.is-low {
    color: var(--color-stock-low);
    background: var(--color-stock-low-bg);
    border-color: color-mix(in srgb, var(--color-stock-low) 32%, transparent);
}

.pd-status.is-low .pd-status__dot {
    background: var(--color-stock-low);
}

.pd-status.is-last {
    color: var(--color-stock-last);
    background: var(--color-stock-last-bg);
    border-color: color-mix(in srgb, var(--color-stock-last) 36%, transparent);
}

.pd-status.is-last .pd-status__dot {
    background: var(--color-stock-last);
}

.pd-status.is-unique {
    color: var(--color-stock-unique);
    background: var(--color-stock-unique-bg);
    border-color: color-mix(in srgb, var(--color-stock-unique) 34%, transparent);
}

.pd-status.is-unique .pd-status__dot {
    background: var(--color-stock-unique);
}

.pd-status.is-out {
    color: var(--color-gray-500);
    background: var(--color-gray-100);
}

.pd-status.is-out .pd-status__dot {
    background: var(--color-gray-400);
}

.pd-info__body {
    margin: 1.15rem 0 0;
    max-width: none;
    color: var(--color-gray-600);
    font-size: 0.98rem;
    line-height: 1.7;
}

.pd-info__body p {
    margin: 0;
}

.pd-cta {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1.45rem;
}

.pd-qty {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-pill);
    background: var(--color-white);
    overflow: hidden;
}

.pd-qty:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.12);
}

.pd-qty__btn {
    width: 44px;
    height: 48px;
    border: none;
    background: transparent;
    color: var(--color-gray-600);
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
}

.pd-qty__btn:hover:not(:disabled) {
    color: var(--color-accent);
    background: var(--color-gray-50);
}

.pd-qty__btn:disabled {
    color: var(--color-gray-300);
    cursor: not-allowed;
}

.pd-qty__input,
.pd-qty__value {
    width: 3rem;
    height: 48px;
    border: none;
    border-left: 1px solid var(--hairline);
    border-right: 1px solid var(--hairline);
    background: transparent;
    text-align: center;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--color-gray-800);
    -moz-appearance: textfield;
}

.pd-qty__value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.pd-qty__input::-webkit-outer-spin-button,
.pd-qty__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pd-add {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0 1.4rem;
    border: none;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 28px -18px rgba(16, 35, 43, 0.55);
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

a.pd-add:link,
a.pd-add:visited {
    color: var(--color-white);
}

.pd-add:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
}

.pd-add:active {
    transform: none;
}

.pd-add.is-loading {
    pointer-events: none;
    opacity: 0.72;
    transform: none;
}

.pd-soldout {
    width: 100%;
    margin-top: 1.75rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    background: var(--surface-panel);
}

.pd-soldout p {
    margin: 0 0 0.75rem;
    color: var(--color-gray-600);
}

.pd-notes {
    display: grid;
    gap: 0.55rem;
    width: 100%;
    margin-top: 1.35rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--hairline);
    list-style: none;
}

.pd-notes li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--color-gray-600);
    font-size: 0.92rem;
    line-height: 1.5;
}

.pd-notes i {
    margin-top: 0.18rem;
    color: var(--color-accent-light);
    font-size: 0.85rem;
    width: 1rem;
    text-align: center;
}

.pd-related {
    margin-top: clamp(3.25rem, 6vw, 5.5rem);
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--hairline);
}

.pd-related__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1.65rem;
}

.pd-related__header .section-eyebrow {
    margin: 0 0 0.35rem;
}

.pd-related__header h2 {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: clamp(1.7rem, 2.2vw, 2.15rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--color-gray-800);
    text-wrap: balance;
}

.pd-related .products-grid {
    margin-top: 0;
}

.pd-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    max-width: 36rem;
    margin: 3rem auto;
    padding: 2.5rem 1.75rem;
    background: var(--surface-panel);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
}

.pd-empty h1 {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-gray-800);
}

.pd-empty p {
    margin: 0;
    color: var(--color-gray-600);
}

.pd-cart-modal .cart-modal-content {
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-panel);
}

.pd-cart-modal .cart-modal-icon {
    color: var(--color-accent);
}

.pd-cart-modal .cart-modal-title {
    color: var(--color-gray-800);
}

.pd-cart-modal .cart-modal-btn-primary,
.pd-cart-modal .cart-modal-btn-secondary {
    border-radius: var(--radius-pill);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.pd-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2200;
    align-items: center;
    justify-content: center;
    background: rgba(12, 28, 36, 0.92);
    opacity: 0;
    transition: opacity 0.28s var(--ease-out);
    touch-action: none;
}

.pd-lightbox.is-open {
    display: flex;
    opacity: 1;
}

.pd-lightbox__viewport {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
}

.pd-lightbox img {
    max-width: min(92vw, 1100px);
    max-height: 88vh;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.22s var(--ease-out);
    user-select: none;
    -webkit-user-drag: none;
}

.pd-lightbox.is-gesturing img,
.pd-lightbox.is-dismissing img {
    transition: none;
}

.pd-lightbox.is-zoomed img {
    cursor: grab;
}

.pd-lightbox__close,
.pd-lightbox__nav {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(247, 244, 239, 0.28);
    border-radius: 50%;
    background: rgba(247, 244, 239, 0.08);
    color: #f7f4ef;
    cursor: pointer;
}

.pd-lightbox__close {
    top: 1.25rem;
    right: 1.25rem;
}

.pd-lightbox__nav--prev {
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

.pd-lightbox__nav--next {
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

.pd-lightbox.is-single .pd-lightbox__nav {
    display: none;
}

@media (max-width: 992px) {
    .pd-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pd-info {
        position: static;
    }
}

@media (max-width: 640px) {
    .pd-cta {
        flex-direction: column;
    }

    .pd-cta .pd-qty {
        width: 100%;
        justify-content: space-between;
    }

    .pd-cta .pd-qty__input {
        flex: 1;
    }

    .pd-info__head {
        flex-direction: column;
        gap: 0.55rem;
    }

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

    .pd-nav,
    .pd-zoom {
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pd-stage__img,
    .pd-add,
    .pd-lightbox {
        transition: none;
    }

    .pd-add:hover {
        transform: none;
    }
}

/*------------------------------------*\
  #CARRITO
\*------------------------------------*/
.cart-page .cart-section {
    padding: clamp(1.75rem, 4vw, 3.25rem) 0 var(--sf-section);
}

.cart-page .container {
    margin-top: 0;
}

.ct-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    margin-bottom: 2rem;
}

.ct-hero h1 {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: clamp(2.05rem, 1.4rem + 2vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--color-gray-800);
}

.ct-hero__count {
    margin: 0;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gray-400);
}

.ct-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(17.5rem, 0.75fr);
    gap: clamp(1.5rem, 4vw, 3.25rem);
    align-items: start;
}

.ct-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--surface-panel);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-panel);
    overflow: hidden;
}

.ct-item {
    display: grid;
    grid-template-columns: 7.25rem minmax(0, 1fr) auto;
    gap: 1.1rem 1.25rem;
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid var(--hairline);
}

.ct-item:last-child {
    border-bottom: none;
}

.ct-item__media {
    display: block;
    width: 7.25rem;
    height: 7.25rem;
    overflow: hidden;
    background: #eef2f4;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
}

.ct-item__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ct-item__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.28rem;
}

.ct-item__eyebrow {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-gray-400);
}

.ct-item__title {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.2;
}

.ct-item__title a {
    color: var(--color-gray-800);
    text-decoration: none;
}

.ct-item__title a:hover {
    color: var(--color-accent);
}

.ct-item__unit {
    margin: 0.15rem 0 0;
    font-size: 0.92rem;
    color: var(--color-gray-500);
    font-variant-numeric: tabular-nums;
}

.ct-item__stock {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-stock-low);
}

.ct-item__stock.is-unique {
    color: var(--color-stock-unique);
}

.ct-item__stock.is-last {
    color: var(--color-stock-last);
}

.ct-item__stock.is-low {
    color: var(--color-stock-low);
}

.ct-item__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.9rem;
    margin-top: 0.7rem;
    width: 100%;
}

.ct-item .pd-qty {
    width: auto;
}

.ct-item .pd-qty__btn,
.ct-item .pd-qty__input,
.ct-item .pd-qty__value {
    height: 40px;
}

.ct-item .pd-qty__btn {
    width: 40px;
}

.ct-item .pd-qty__input,
.ct-item .pd-qty__value {
    width: 2.6rem;
}

.ct-item__trail {
    display: flex;
    align-items: center;
    gap: 15rem;
    margin-left: auto;
}

.ct-remove {
    border: none;
    background: none;
    min-height: 40px;
    padding: 0.35rem 0.1rem;
    color: var(--color-gray-400);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.ct-remove:hover {
    color: var(--color-danger);
}

.ct-item__total {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 1.45rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--color-gray-800);
    text-align: right;
    white-space: nowrap;
}

.ct-summary {
    position: sticky;
    top: calc(var(--header-offset, 70px) + 24px);
    transition: top 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding: 1.45rem 1.4rem 1.5rem;
    background: var(--surface-panel);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-panel);
}

.ct-summary h2 {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-gray-800);
}

.ct-ship {
    display: grid;
    gap: 0.45rem;
}

.ct-ship p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-gray-600);
}

.ct-ship__bar {
    height: 4px;
    overflow: hidden;
    border-radius: var(--radius-pill);
    background: var(--color-gray-200);
}

.ct-ship__fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.ct-ship.is-free p {
    color: var(--color-accent);
}

.ct-rows {
    display: grid;
    gap: 0.65rem;
}

.ct-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--color-gray-600);
}

.ct-row span:last-child {
    font-variant-numeric: tabular-nums;
    color: var(--color-gray-800);
}

.ct-row--total {
    margin-top: 0.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--hairline);
    font-family: var(--font-secondary);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--color-gray-800);
}

.ct-row--muted span:last-child {
    color: var(--color-gray-500);
    font-weight: 400;
}

.ct-note {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--color-gray-400);
}

.ct-summary .pd-add,
.ct-summary .ct-btn {
    width: 100%;
    text-decoration: none;
}

.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0 1.2rem;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--color-gray-700);
    font-family: var(--font-primary);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.ct-btn:hover {
    background: var(--color-white);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

a.ct-btn:link,
a.ct-btn:visited {
    color: var(--color-gray-700);
}

a.ct-btn:hover {
    color: var(--color-accent);
}

.ct-guest {
    display: grid;
    gap: 0.65rem;
}

.ct-or {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gray-400);
}

.ct-or::before,
.ct-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--hairline);
}

.ct-back {
    align-self: center;
}

.ct-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    max-width: 34rem;
    margin: 1rem auto 0;
    padding: clamp(1.75rem, 4vw, 2.6rem);
    background: var(--surface-panel);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-panel);
}

.ct-empty h1 {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 500;
    color: var(--color-gray-800);
}

.ct-empty p {
    margin: 0 0 0.5rem;
    color: var(--color-gray-600);
    font-size: 1.02rem;
    line-height: 1.7;
}

.pd-cart-modal .cart-modal-btn-primary.is-danger {
    background: var(--color-danger);
}

.pd-cart-modal .cart-modal-btn-primary.is-danger:hover {
    background: #9b2c24;
}

@media (max-width: 992px) {
    .ct-layout {
        grid-template-columns: 1fr;
    }

    .ct-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .ct-item {
        grid-template-columns: 5.5rem minmax(0, 1fr);
    }

    .ct-item__media {
        width: 5.5rem;
        height: 5.5rem;
    }

    .ct-item__total {
        grid-column: 2;
        text-align: left;
    }

    .ct-item .pd-qty {
        width: auto;
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ct-ship__fill {
        transition: none;
    }
}

/*------------------------------------*\
  #CHECKOUT
\*------------------------------------*/
.checkout-page .checkout-section {
    padding: clamp(1.75rem, 4vw, 3.25rem) 0 var(--sf-section);
}

.checkout-page .container {
    margin-top: 0;
}

.co-hero {
    margin-bottom: 1.75rem;
}

.co-hero h1 {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: clamp(2.05rem, 1.4rem + 2vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--color-gray-800);
}

.co-hero p {
    margin: 0.45rem 0 0;
    max-width: 36rem;
    color: var(--color-gray-600);
}

.co-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0 0 1.5rem;
    padding: 0.9rem 1.05rem;
    border: 1px solid #fecaca;
    border-left: 3px solid #b91c1c;
    border-radius: var(--radius-lg);
    background: #fef2f2;
    color: #7f1d1d;
    font-size: 0.95rem;
    line-height: 1.55;
}

.co-alert i {
    margin-top: 0.2rem;
    color: #b91c1c;
}

.co-alert a {
    color: var(--color-accent);
    font-weight: 500;
}

.co-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(17.5rem, 0.75fr);
    gap: clamp(1.5rem, 4vw, 3.25rem);
    align-items: start;
}

.co-main {
    display: grid;
    gap: 1.15rem;
}

.co-panel {
    padding: 1.4rem 1.35rem 1.5rem;
    background: var(--surface-panel);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-panel);
}

.co-panel h2 {
    margin: 0 0 1.1rem;
    font-family: var(--font-secondary);
    font-size: 1.55rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-gray-800);
}

.co-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1rem;
}

.co-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.co-field--full {
    grid-column: 1 / -1;
}

.co-field label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-500);
}

.co-field input,
.co-field textarea {
    width: 100%;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-md);
    background: var(--color-white);
    color: var(--color-gray-800);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.co-field input {
    height: 46px;
    padding: 0 0.9rem;
}

.co-field textarea {
    min-height: 6.5rem;
    padding: 0.8rem 0.9rem;
    resize: vertical;
    line-height: 1.6;
}

.co-field input:focus,
.co-field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.12);
}

.co-field input.is-invalid,
.co-field textarea.is-invalid {
    border-color: #b91c1c;
}

.co-choices {
    display: grid;
    gap: 0.65rem;
}

.co-choice {
    position: relative;
}

.co-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.co-choice label {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin: 0;
    padding: 0.95rem 1rem;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.co-choice input:checked + label {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent);
}

.co-choice input:focus-visible + label {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.co-choice__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-gray-50);
    color: var(--color-accent);
}

.co-choice__body {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.co-choice__title {
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--color-gray-800);
}

.co-choice__meta {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--color-gray-500);
}

.co-empty {
    margin: 0;
    color: var(--color-gray-600);
}

.co-hint {
    margin: 0.85rem 0 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--color-gray-500);
}

.co-field .co-hint {
    margin-top: 0.35rem;
}

.co-hint a {
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: none;
}

.co-hint a:hover {
    text-decoration: underline;
}

.co-lines {
    display: grid;
    gap: 0.85rem;
    margin: 0 0 1.1rem;
    padding: 0;
    list-style: none;
}

.co-line {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.co-line img {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    background: #eef2f4;
}

.co-line h3 {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-gray-800);
}

.co-line p {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    color: var(--color-gray-500);
}

.co-line strong {
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: var(--color-gray-800);
}

.co-summary .pd-add {
    width: 100%;
    flex: none;
}

.co-summary .pd-add:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 992px) {
    .co-layout {
        grid-template-columns: 1fr;
    }

    .co-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .co-grid {
        grid-template-columns: 1fr;
    }
}

.legal-page {
    padding: 2.5rem 0 4rem;
}

.legal-page .legal-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1.5rem 2.5rem;
    background: var(--surface-card, #fff);
    border-radius: 12px;
}

.legal-page h1 {
    font-family: var(--font-secondary, Georgia, serif);
    margin-bottom: 0.75rem;
}

.legal-page h2 {
    margin: 1.75rem 0 0.6rem;
    font-size: 1.15rem;
}

.legal-page p,
.legal-page li {
    color: var(--color-gray-600);
    line-height: 1.7;
}

.pd-visits {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gray-400);
}

.legal-page ul {
    margin: 0.5rem 0 1rem 1.2rem;
}
