/* ==========================================================
   EL COSTURERO DE RAMONA — PREMIUM V2
   ========================================================== */

body.costurero-premium-v2 {
    --premium-wine: #8c3047;
    --premium-wine-dark: #61313f;
    --premium-rose: #d996a7;
    --premium-blush: #f6e1e6;
    --premium-powder: #e8eff0;
    --premium-cream: #fffaf7;
    --premium-paper: #fffefd;
    --premium-text: #58484d;
    --premium-muted: #817176;
    --premium-line: rgba(103, 54, 68, .13);
    --premium-shadow:
        0 20px 55px rgba(85, 44, 56, .10);
    --premium-shadow-hover:
        0 28px 68px rgba(85, 44, 56, .16);

    --premium-display:
        "Iowan Old Style",
        "Palatino Linotype",
        "Book Antiqua",
        Palatino,
        Baskerville,
        Georgia,
        serif;

    --premium-body:
        "Avenir Next",
        Avenir,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    margin: 0;
    overflow-x: hidden;
    background: var(--premium-cream);
    color: var(--premium-text);
    font-family: var(--premium-body);
    font-size: 16px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.costurero-premium-v2 *,
body.costurero-premium-v2 *::before,
body.costurero-premium-v2 *::after {
    box-sizing: border-box;
}

body.costurero-premium-v2 h1,
body.costurero-premium-v2 h2,
body.costurero-premium-v2 h3,
body.costurero-premium-v2 h4,
body.costurero-premium-v2 h5 {
    color: var(--premium-wine-dark);
    font-family: var(--premium-display);
    font-weight: 400;
    letter-spacing: -.025em;
}

body.costurero-premium-v2 p,
body.costurero-premium-v2 li,
body.costurero-premium-v2 input,
body.costurero-premium-v2 select,
body.costurero-premium-v2 textarea,
body.costurero-premium-v2 button {
    font-family: var(--premium-body);
}

body.costurero-premium-v2 a {
    text-underline-offset: 3px;
}

/* ==========================================================
   CABECERA
   ========================================================== */

body.costurero-premium-v2 .ramona-header,
body.costurero-premium-v2 .site-header {
    z-index: 1000;
    border-bottom: 1px solid var(--premium-line);
    background: rgba(255, 250, 247, .96) !important;
    box-shadow: 0 7px 28px rgba(77, 37, 49, .04);
    backdrop-filter: blur(16px);
    transition:
        box-shadow .25s ease,
        background .25s ease;
}

body.costurero-premium-v2
.costurero-header-scrolled {
    background: rgba(255, 250, 247, .985) !important;
    box-shadow: 0 14px 42px rgba(77, 37, 49, .10);
}

body.costurero-premium-v2
.ramona-header nav a,
body.costurero-premium-v2
.ramona-navigation a {
    position: relative;
    color: var(--premium-wine-dark);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
}

body.costurero-premium-v2
.ramona-header nav a::after,
body.costurero-premium-v2
.ramona-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--premium-rose);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

body.costurero-premium-v2
.ramona-header nav a:hover::after,
body.costurero-premium-v2
.ramona-navigation a:hover::after {
    transform: scaleX(1);
}

/* ==========================================================
   BOTONES
   ========================================================== */

body.costurero-premium-v2 button,
body.costurero-premium-v2 .button,
body.costurero-premium-v2
input[type="submit"],
body.costurero-premium-v2
.ramona-button,
body.costurero-premium-v2
.woocommerce a.button,
body.costurero-premium-v2
.woocommerce button.button,
body.costurero-premium-v2
.woocommerce input.button {
    border: 1px solid var(--premium-wine) !important;
    border-radius: 999px !important;
    background:
        linear-gradient(
            135deg,
            #9d3650,
            #842d43
        ) !important;
    color: #fff !important;
    font-weight: 800 !important;
    letter-spacing: -.01em;
    box-shadow:
        0 14px 30px rgba(140, 48, 71, .20) !important;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

body.costurero-premium-v2 button:hover,
body.costurero-premium-v2 .button:hover,
body.costurero-premium-v2
.ramona-button:hover,
body.costurero-premium-v2
.woocommerce a.button:hover,
body.costurero-premium-v2
.woocommerce button.button:hover {
    background:
        linear-gradient(
            135deg,
            #a9425a,
            #74263a
        ) !important;
    box-shadow:
        0 19px 40px rgba(140, 48, 71, .28) !important;
    transform: translateY(-2px);
}

/* ==========================================================
   PORTADA Y PÁGINAS
   ========================================================== */

body.costurero-premium-v2
.ramona-page-hero,
body.costurero-premium-v2
.ramona-home-section {
    position: relative;
}

body.costurero-premium-v2
.ramona-page-hero h1,
body.costurero-premium-v2
.ramona-section-title,
body.costurero-premium-v2
.ramona-home-section h2 {
    font-family: var(--premium-display);
    font-weight: 400;
    letter-spacing: -.035em;
}

body.costurero-premium-v2
.ramona-page-content {
    background:
        radial-gradient(
            circle at 0 0,
            rgba(246, 225, 230, .55),
            transparent 27%
        ),
        radial-gradient(
            circle at 100% 10%,
            rgba(232, 239, 240, .40),
            transparent 25%
        ),
        var(--premium-cream);
}

body.costurero-premium-v2
.ramona-page-content
.ramona-prose {
    border: 1px solid var(--premium-line);
    background: rgba(255, 254, 253, .94);
    border-radius: 34px;
    box-shadow: var(--premium-shadow);
}

body.costurero-premium-v2
.costurero-info-card,
body.costurero-premium-v2
.ramona-feature-card {
    border: 1px solid var(--premium-line);
    background:
        linear-gradient(
            155deg,
            rgba(255,255,255,.98),
            rgba(255,246,248,.92)
        );
    box-shadow: var(--premium-shadow);
}

body.costurero-premium-v2
.costurero-info-card:hover,
body.costurero-premium-v2
.ramona-feature-card:hover {
    box-shadow: var(--premium-shadow-hover);
}

/* ==========================================================
   TIENDA Y CATEGORÍAS
   ========================================================== */

body.costurero-premium-v2.woocommerce-shop
.ramona-shell,
body.costurero-premium-v2.post-type-archive-product
.ramona-shell,
body.costurero-premium-v2.tax-product_cat
.ramona-shell,
body.costurero-premium-v2.tax-product_tag
.ramona-shell,
body.costurero-premium-v2.search-results
.ramona-shell {
    width: min(96vw, 1740px) !important;
    max-width: 1740px !important;
}

body.costurero-premium-v2
.costurero-shop-intro {
    clear: both;
    width: 100%;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(260px, 360px);
    align-items: end;
    gap: 45px;
    margin: 10px 0 38px;
    padding:
        clamp(30px, 4vw, 58px);
    overflow: hidden;
    border: 1px solid var(--premium-line);
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(217, 150, 167, .22),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #fffdfc,
            #fff4f6
        );
    box-shadow: var(--premium-shadow);
}

body.costurero-premium-v2
.costurero-shop-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--premium-wine);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .17em;
    text-transform: uppercase;
}

body.costurero-premium-v2
.costurero-shop-intro h1 {
    margin: 0 0 15px;
    font-size: clamp(43px, 5vw, 72px);
    line-height: 1;
}

body.costurero-premium-v2
.costurero-shop-intro p {
    max-width: 780px;
    margin: 0;
    color: var(--premium-muted);
    font-size: 17px;
}

body.costurero-premium-v2
.costurero-shop-intro__note {
    padding: 24px;
    border: 1px solid var(--premium-line);
    border-radius: 20px;
    background: rgba(255,255,255,.78);
}

body.costurero-premium-v2
.costurero-shop-intro__note strong,
body.costurero-premium-v2
.costurero-shop-intro__note span {
    display: block;
}

body.costurero-premium-v2
.costurero-shop-intro__note strong {
    color: var(--premium-wine-dark);
    font-family: var(--premium-display);
    font-size: 25px;
    font-weight: 400;
}

body.costurero-premium-v2
.costurero-shop-intro__note span {
    margin: 5px 0 15px;
    color: var(--premium-muted);
    font-size: 14px;
    line-height: 1.55;
}

body.costurero-premium-v2
.costurero-shop-intro__note a {
    color: var(--premium-wine);
    font-size: 14px;
    font-weight: 800;
}

/* Rejilla */
body.costurero-premium-v2
.woocommerce ul.products,
body.costurero-premium-v2
.woocommerce-page ul.products {
    clear: both !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: clamp(20px, 1.7vw, 30px) !important;
    margin: 0 0 80px !important;
    padding: 0 !important;
}

body.costurero-premium-v2
.woocommerce ul.products::before,
body.costurero-premium-v2
.woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}

body.costurero-premium-v2
.woocommerce ul.products li.product,
body.costurero-premium-v2
.woocommerce-page ul.products li.product {
    position: relative;
    width: auto !important;
    min-width: 0;
    min-height: 100%;
    float: none !important;
    display: flex !important;
    flex-direction: column;
    margin: 0 !important;
    padding: 13px 13px 18px !important;
    overflow: hidden;
    border: 1px solid var(--premium-line) !important;
    border-radius: 24px !important;
    background:
        linear-gradient(
            180deg,
            #fff 0%,
            #fffafa 100%
        ) !important;
    box-shadow:
        0 13px 34px rgba(85, 44, 56, .075) !important;
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

body.costurero-premium-v2
.woocommerce ul.products li.product:hover {
    z-index: 2;
    box-shadow: var(--premium-shadow-hover) !important;
    transform: translateY(-7px);
}

body.costurero-premium-v2
.woocommerce ul.products
li.product
a.woocommerce-LoopProduct-link {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
}

body.costurero-premium-v2
.woocommerce ul.products
li.product img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1.04;
    display: block;
    margin: 0 0 17px !important;
    object-fit: cover !important;
    object-position: center;
    border-radius: 17px !important;
    background: #f4eeee;
    transition:
        transform .45s ease,
        filter .45s ease;
}

body.costurero-premium-v2
.woocommerce ul.products
li.product:hover img {
    filter: saturate(1.04);
    transform: scale(1.018);
}

body.costurero-premium-v2
.costurero-loop-category {
    display: block;
    margin: 0 5px 7px;
    color: var(--premium-rose);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    line-height: 1.3;
    text-transform: uppercase;
}

body.costurero-premium-v2
.woocommerce ul.products
li.product
.woocommerce-loop-product__title {
    min-height: 3.2em;
    margin: 0 5px 10px !important;
    padding: 0 !important;
    color: var(--premium-wine-dark) !important;
    font-family: var(--premium-display);
    font-size: clamp(18px, 1.25vw, 22px) !important;
    font-weight: 400;
    line-height: 1.24 !important;
    letter-spacing: -.025em;
    text-transform: none !important;
}

body.costurero-premium-v2
.woocommerce ul.products
li.product .price {
    margin:
        auto 5px 16px !important;
    color: var(--premium-wine) !important;
    font-size: 19px !important;
    font-weight: 800 !important;
}

body.costurero-premium-v2
.woocommerce ul.products
li.product .button {
    width: 100%;
    min-height: 49px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 11px 15px !important;
    font-size: 13px !important;
    text-align: center;
    white-space: normal;
}

body.costurero-premium-v2
.woocommerce-result-count {
    margin: 14px 0 30px;
    color: var(--premium-muted);
    font-size: 14px;
}

body.costurero-premium-v2
.woocommerce-ordering {
    margin: 0 0 30px;
}

body.costurero-premium-v2
.woocommerce-ordering select {
    min-width: 245px;
    min-height: 48px;
    padding: 10px 45px 10px 17px;
    border: 1px solid var(--premium-line);
    border-radius: 999px;
    background: #fff;
    color: var(--premium-text);
    box-shadow:
        0 9px 24px rgba(85, 44, 56, .06);
}

/* ==========================================================
   FICHA DE PRODUCTO
   ========================================================== */

body.costurero-premium-v2.single-product
.ramona-page-content,
body.costurero-premium-v2.single-product
main {
    background:
        radial-gradient(
            circle at 0 0,
            rgba(246,225,230,.58),
            transparent 25%
        ),
        radial-gradient(
            circle at 100% 5%,
            rgba(232,239,240,.46),
            transparent 25%
        ),
        var(--premium-cream);
}

body.costurero-premium-v2.single-product
.woocommerce {
    width: min(95vw, 1580px) !important;
    max-width: 1580px !important;
    margin: 0 auto !important;
    padding:
        clamp(36px, 5vw, 78px)
        0
        clamp(80px, 8vw, 125px);
}

body.costurero-premium-v2.single-product
div.product {
    width: 100% !important;
    display: grid !important;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(390px, .92fr);
    align-items: start;
    gap:
        clamp(38px, 5vw, 78px);
    margin: 0 !important;
}

/* Galería */
body.costurero-premium-v2.single-product
div.product
.woocommerce-product-gallery {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
}

body.costurero-premium-v2.single-product
.woocommerce-product-gallery__wrapper {
    margin: 0;
}

body.costurero-premium-v2.single-product
.woocommerce-product-gallery__image {
    overflow: hidden;
    border: 1px solid var(--premium-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--premium-shadow);
}

body.costurero-premium-v2.single-product
.woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: contain;
    background: #f7f2f0;
}

body.costurero-premium-v2.single-product
.flex-control-thumbs {
    display: grid !important;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0 0 !important;
    padding: 0 !important;
}

body.costurero-premium-v2.single-product
.flex-control-thumbs li {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid var(--premium-line);
    border-radius: 15px;
    background: #fff;
}

body.costurero-premium-v2.single-product
.flex-control-thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    opacity: .76;
    transition:
        opacity .2s ease,
        transform .2s ease;
}

body.costurero-premium-v2.single-product
.flex-control-thumbs img:hover,
body.costurero-premium-v2.single-product
.flex-control-thumbs img.flex-active {
    opacity: 1;
    transform: scale(1.025);
}

/* Resumen de compra */
body.costurero-premium-v2.single-product
div.product .summary {
    position: sticky;
    top: 135px;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding:
        clamp(28px, 4vw, 49px);
    border: 1px solid var(--premium-line);
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(246,225,230,.68),
            transparent 34%
        ),
        rgba(255,255,255,.96);
    box-shadow: var(--premium-shadow);
}

body.costurero-premium-v2
.costurero-product-eyebrow {
    margin-bottom: 14px;
}

body.costurero-premium-v2
.costurero-product-eyebrow a {
    color: var(--premium-rose);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .15em;
    text-decoration: none;
    text-transform: uppercase;
}

body.costurero-premium-v2.single-product
.product_title {
    margin: 0 0 21px !important;
    color: var(--premium-wine-dark) !important;
    font-family: var(--premium-display) !important;
    font-size:
        clamp(43px, 4.8vw, 68px) !important;
    font-weight: 400 !important;
    line-height: .98 !important;
    letter-spacing: -.045em;
    text-transform: none !important;
}

body.costurero-premium-v2.single-product
.summary > .price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 25px !important;
    color: var(--premium-wine) !important;
    font-family: var(--premium-body);
    font-size: 27px !important;
    font-weight: 900 !important;
}

body.costurero-premium-v2.single-product
.woocommerce-product-details__short-description {
    position: relative;
    margin: 0 0 24px;
    color: var(--premium-muted);
    font-size: 16px;
    line-height: 1.78;
}

body.costurero-premium-v2.single-product
.woocommerce-product-details__short-description p {
    margin: 0 0 15px;
}

body.costurero-premium-v2
.costurero-description-collapsed {
    max-height: 285px;
    overflow: hidden;
}

body.costurero-premium-v2
.costurero-description-collapsed::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 95px;
    background:
        linear-gradient(
            transparent,
            rgba(255,255,255,.98)
        );
    pointer-events: none;
}

body.costurero-premium-v2
.costurero-description-collapsed.is-expanded {
    max-height: none;
}

body.costurero-premium-v2
.costurero-description-collapsed.is-expanded::after {
    display: none;
}

body.costurero-premium-v2
.costurero-description-toggle {
    margin: -7px 0 25px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--premium-wine) !important;
    box-shadow: none !important;
    font-size: 13px;
    font-weight: 900 !important;
    text-decoration: underline;
    transform: none !important;
}

/* Formulario carrito */
body.costurero-premium-v2.single-product
form.cart {
    display: grid !important;
    grid-template-columns:
        82px
        minmax(0, 1fr);
    gap: 12px;
    margin:
        8px 0 25px !important;
    padding:
        22px 0 25px;
    border-top: 1px solid var(--premium-line);
    border-bottom: 1px solid var(--premium-line);
}

body.costurero-premium-v2.single-product
form.cart .quantity {
    width: 82px !important;
    float: none !important;
    margin: 0 !important;
}

body.costurero-premium-v2.single-product
form.cart .qty {
    width: 100% !important;
    min-height: 57px;
    padding: 8px;
    border: 1px solid var(--premium-line);
    border-radius: 999px;
    background: #fff;
    color: var(--premium-text);
    font-size: 16px;
    font-weight: 800;
    text-align: center;
}

body.costurero-premium-v2.single-product
.single_add_to_cart_button {
    width: 100% !important;
    min-height: 57px !important;
    float: none !important;
    margin: 0 !important;
    padding:
        13px 23px !important;
    font-size: 15px !important;
}

/* Confianza */
body.costurero-premium-v2
.costurero-premium-trust {
    display: grid;
    gap: 11px;
    margin: 0 0 25px;
}

body.costurero-premium-v2
.costurero-trust-item {
    display: grid;
    grid-template-columns:
        42px
        minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    border: 1px solid var(--premium-line);
    border-radius: 16px;
    background: rgba(255,250,247,.76);
}

body.costurero-premium-v2
.costurero-trust-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--premium-blush);
    color: var(--premium-wine);
    font-family: var(--premium-display);
    font-size: 20px;
}

body.costurero-premium-v2
.costurero-trust-item strong,
body.costurero-premium-v2
.costurero-trust-item span {
    display: block;
}

body.costurero-premium-v2
.costurero-trust-item strong {
    color: var(--premium-wine-dark);
    font-size: 14px;
}

body.costurero-premium-v2
.costurero-trust-item div > span {
    color: var(--premium-muted);
    font-size: 12px;
    line-height: 1.45;
}

/* Metadatos limpios */
body.costurero-premium-v2
.costurero-product-meta {
    display: grid;
    gap: 10px;
    padding-top: 4px;
}

body.costurero-premium-v2
.costurero-meta-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    color: var(--premium-muted);
    font-size: 13px;
}

body.costurero-premium-v2
.costurero-meta-line > span {
    color: var(--premium-muted);
}

body.costurero-premium-v2
.costurero-meta-line strong,
body.costurero-premium-v2
.costurero-meta-line a {
    color: var(--premium-wine-dark);
    font-weight: 800;
    text-align: right;
}

body.costurero-premium-v2
.costurero-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 7px;
}

body.costurero-premium-v2
.costurero-product-tags a {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid var(--premium-line);
    border-radius: 999px;
    background: #fff7f8;
    color: var(--premium-wine);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

/* Secciones completas posteriores */
body.costurero-premium-v2.single-product
.woocommerce-tabs,
body.costurero-premium-v2.single-product
.related,
body.costurero-premium-v2.single-product
.up-sells,
body.costurero-premium-v2
.costurero-premium-services {
    grid-column: 1 / -1;
    width: 100%;
}

body.costurero-premium-v2
.costurero-premium-services {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top:
        clamp(55px, 7vw, 95px);
    padding:
        clamp(23px, 3.5vw, 40px);
    border: 1px solid var(--premium-line);
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            #fff5f7,
            #fffdfc
        );
    box-shadow: var(--premium-shadow);
}

body.costurero-premium-v2
.costurero-premium-services article {
    display: grid;
    grid-template-columns:
        45px
        minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
}

body.costurero-premium-v2
.costurero-premium-services article > span {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--premium-blush);
    color: var(--premium-wine);
    font-size: 11px;
    font-weight: 900;
}

body.costurero-premium-v2
.costurero-premium-services h3 {
    margin: 0 0 6px;
    font-size: 25px;
    line-height: 1.1;
}

body.costurero-premium-v2
.costurero-premium-services p {
    margin: 0;
    color: var(--premium-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* Relacionados */
body.costurero-premium-v2.single-product
.related {
    margin-top:
        clamp(58px, 7vw, 100px);
    padding-top:
        clamp(35px, 5vw, 65px);
    border-top: 1px solid var(--premium-line);
}

body.costurero-premium-v2.single-product
.related > h2,
body.costurero-premium-v2.single-product
.up-sells > h2 {
    margin: 0 0 30px;
    color: var(--premium-wine-dark);
    font-family: var(--premium-display);
    font-size:
        clamp(38px, 4.5vw, 58px);
    font-weight: 400;
    line-height: 1;
}

/* ==========================================================
   FOOTER
   ========================================================== */

body.costurero-premium-v2
.ramona-footer,
body.costurero-premium-v2
.site-footer {
    color: rgba(255,255,255,.78);
    background:
        radial-gradient(
            circle at 0 0,
            rgba(217,150,167,.12),
            transparent 32%
        ),
        #57323d !important;
}

body.costurero-premium-v2
.ramona-footer h2,
body.costurero-premium-v2
.ramona-footer h3,
body.costurero-premium-v2
.site-footer h2,
body.costurero-premium-v2
.site-footer h3 {
    color: #fff8fa !important;
}

body.costurero-premium-v2
.ramona-footer a,
body.costurero-premium-v2
.site-footer a {
    color: rgba(255,255,255,.78) !important;
}

body.costurero-premium-v2
.ramona-footer a:hover,
body.costurero-premium-v2
.site-footer a:hover {
    color: #fff !important;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (min-width: 1810px) {
    body.costurero-premium-v2
    .woocommerce ul.products,
    body.costurero-premium-v2
    .woocommerce-page ul.products {
        grid-template-columns:
            repeat(5, minmax(0, 1fr)) !important;
    }

    body.costurero-premium-v2.single-product
    .related ul.products {
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1180px) {
    body.costurero-premium-v2
    .woocommerce ul.products,
    body.costurero-premium-v2
    .woocommerce-page ul.products {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;
    }

    body.costurero-premium-v2.single-product
    div.product {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(350px, .9fr);
        gap: 35px;
    }

    body.costurero-premium-v2.single-product
    div.product .summary {
        padding: 30px;
    }
}

@media (max-width: 900px) {
    body.costurero-premium-v2
    .costurero-shop-intro {
        grid-template-columns: 1fr;
        align-items: start;
    }

    body.costurero-premium-v2.single-product
    div.product {
        grid-template-columns: 1fr;
    }

    body.costurero-premium-v2.single-product
    div.product .summary {
        position: static;
    }

    body.costurero-premium-v2
    .costurero-premium-services {
        grid-template-columns: 1fr;
    }

    body.costurero-premium-v2
    .woocommerce ul.products,
    body.costurero-premium-v2
    .woocommerce-page ul.products {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (max-width: 620px) {
    body.costurero-premium-v2 {
        font-size: 15px;
    }

    body.costurero-premium-v2
    .costurero-shop-intro {
        margin-top: 0;
        padding: 28px 21px;
        border-radius: 23px;
    }

    body.costurero-premium-v2
    .costurero-shop-intro h1 {
        font-size: 42px;
    }

    body.costurero-premium-v2.single-product
    .woocommerce {
        width: min(94vw, 1580px) !important;
        padding-top: 25px;
    }

    body.costurero-premium-v2.single-product
    .woocommerce-product-gallery__image {
        border-radius: 20px;
    }

    body.costurero-premium-v2.single-product
    div.product .summary {
        padding: 25px 20px;
        border-radius: 24px;
    }

    body.costurero-premium-v2.single-product
    .product_title {
        font-size: 43px !important;
    }

    body.costurero-premium-v2.single-product
    form.cart {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    body.costurero-premium-v2
    .costurero-premium-services {
        padding: 12px;
        border-radius: 22px;
    }

    body.costurero-premium-v2
    .costurero-premium-services article {
        padding: 15px 11px;
    }

    body.costurero-premium-v2
    .woocommerce ul.products
    li.product,
    body.costurero-premium-v2
    .woocommerce-page ul.products
    li.product {
        padding: 8px 8px 12px !important;
        border-radius: 17px !important;
    }

    body.costurero-premium-v2
    .woocommerce ul.products
    li.product img {
        margin-bottom: 12px !important;
        border-radius: 13px !important;
    }

    body.costurero-premium-v2
    .costurero-loop-category {
        margin-right: 3px;
        margin-left: 3px;
        font-size: 8px;
    }

    body.costurero-premium-v2
    .woocommerce ul.products
    li.product
    .woocommerce-loop-product__title {
        min-height: 3.6em;
        margin-right: 3px !important;
        margin-left: 3px !important;
        font-size: 16px !important;
    }

    body.costurero-premium-v2
    .woocommerce ul.products
    li.product .price {
        margin-right: 3px !important;
        margin-left: 3px !important;
        font-size: 16px !important;
    }

    body.costurero-premium-v2
    .woocommerce ul.products
    li.product .button {
        min-height: 42px;
        padding: 8px !important;
        font-size: 11px !important;
    }
}

/* ENTERSER_PREMIUM_V2_PRODUCTO_FIX_INICIO */

/*
 * Ficha más compacta, comercial y proporcionada.
 */
body.costurero-premium-v2.single-product
.ramona-page-content {
    padding-top: 24px !important;
}

body.costurero-premium-v2.single-product
.ramona-page-content > .ramona-shell {
    width: 100% !important;
    max-width: none !important;
}

body.costurero-premium-v2.single-product
.woocommerce {
    width: min(96vw, 1620px) !important;
    max-width: 1620px !important;
    padding:
        28px 0 95px !important;
}

body.costurero-premium-v2.single-product
div.product {
    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(450px, .88fr) !important;
    align-items: start !important;
    gap:
        clamp(34px, 4vw, 58px) !important;
}

/*
 * Galería algo más contenida.
 */
body.costurero-premium-v2.single-product
div.product
.woocommerce-product-gallery {
    max-width: 760px !important;
    margin:
        0 auto !important;
}

body.costurero-premium-v2.single-product
.woocommerce-product-gallery__image {
    border-radius: 24px !important;
}

body.costurero-premium-v2.single-product
.woocommerce-product-gallery__image img {
    width: 100% !important;
    max-height: 610px !important;
    object-fit: contain !important;
}

body.costurero-premium-v2.single-product
.flex-control-thumbs {
    grid-template-columns:
        repeat(4, minmax(0, 104px)) !important;
    justify-content: start;
    gap: 12px !important;
}

body.costurero-premium-v2.single-product
.flex-control-thumbs li {
    border-radius: 13px !important;
}

/*
 * Tarjeta de compra más ancha y menos exagerada.
 */
body.costurero-premium-v2.single-product
div.product .summary {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    padding:
        clamp(30px, 3vw, 42px) !important;
    border-radius: 26px !important;
}

body.costurero-premium-v2.single-product
.product_title {
    max-width: 100% !important;
    margin:
        0 0 17px !important;
    font-size:
        clamp(40px, 3.6vw, 57px) !important;
    line-height: 1.01 !important;
    letter-spacing: -.038em !important;
    text-transform: none !important;
}

body.costurero-premium-v2.single-product
.summary > .price {
    margin:
        0 0 19px !important;
    font-size: 25px !important;
}

/*
 * El formulario de compra aparece inmediatamente después del precio.
 */
body.costurero-premium-v2.single-product
form.cart {
    grid-template-columns:
        76px
        minmax(0, 1fr) !important;
    margin:
        4px 0 19px !important;
    padding:
        17px 0 20px !important;
}

body.costurero-premium-v2.single-product
form.cart .quantity {
    width: 76px !important;
}

body.costurero-premium-v2.single-product
form.cart .qty,
body.costurero-premium-v2.single-product
.single_add_to_cart_button {
    min-height: 54px !important;
}

/*
 * Garantías más compactas.
 */
body.costurero-premium-v2
.costurero-premium-trust {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 9px !important;
    margin:
        0 0 25px !important;
}

body.costurero-premium-v2
.costurero-trust-item {
    grid-template-columns: 35px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 9px !important;
    min-width: 0;
    padding:
        12px 10px !important;
}

body.costurero-premium-v2
.costurero-trust-icon {
    width: 35px !important;
    height: 35px !important;
    font-size: 17px !important;
}

body.costurero-premium-v2
.costurero-trust-item strong {
    font-size: 12px !important;
    line-height: 1.25;
}

body.costurero-premium-v2
.costurero-trust-item div > span {
    margin-top: 3px;
    font-size: 10px !important;
    line-height: 1.35;
}

/*
 * Cabecera de descripción.
 */
body.costurero-premium-v2
.costurero-product-details-title {
    margin:
        4px 0 13px;
    padding-top: 21px;
    border-top:
        1px solid var(--premium-line);
}

body.costurero-premium-v2
.costurero-product-details-title span {
    color:
        var(--premium-wine-dark);
    font-family:
        var(--premium-display);
    font-size: 24px;
    font-weight: 400;
}

/*
 * Descripción limpia: sin degradado tapando letras.
 */
body.costurero-premium-v2.single-product
.woocommerce-product-details__short-description {
    margin:
        0 0 12px !important;
    color:
        var(--premium-muted) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

body.costurero-premium-v2
.costurero-description-collapsed {
    max-height: 205px !important;
    overflow: hidden !important;
}

body.costurero-premium-v2
.costurero-description-collapsed::after {
    display: none !important;
    content: none !important;
}

body.costurero-premium-v2
.costurero-description-collapsed.is-expanded {
    max-height: none !important;
}

body.costurero-premium-v2
.costurero-description-toggle {
    display: inline-flex !important;
    align-items: center;
    min-height: 38px;
    margin:
        3px 0 20px !important;
    padding:
        8px 15px !important;
    border:
        1px solid var(--premium-line) !important;
    border-radius:
        999px !important;
    background:
        #fff7f8 !important;
    color:
        var(--premium-wine) !important;
    box-shadow: none !important;
    font-size: 12px !important;
    text-decoration: none !important;
}

body.costurero-premium-v2
.costurero-description-toggle:hover {
    background:
        var(--premium-blush) !important;
    transform: none !important;
}

/*
 * Ocultar referencia antigua duplicada encontrada por JavaScript.
 */
body.costurero-premium-v2
.costurero-hide-legacy-reference {
    display: none !important;
}

/*
 * Metadatos finales más discretos.
 */
body.costurero-premium-v2
.costurero-product-meta {
    margin-top: 13px;
    padding-top: 17px;
    border-top:
        1px solid var(--premium-line);
}

/*
 * Responsive.
 */
@media (max-width: 1100px) {
    body.costurero-premium-v2.single-product
    div.product {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(390px, .9fr) !important;
        gap: 30px !important;
    }

    body.costurero-premium-v2
    .costurero-premium-trust {
        grid-template-columns: 1fr;
    }

    body.costurero-premium-v2
    .costurero-trust-item {
        grid-template-columns:
            38px minmax(0, 1fr) !important;
    }
}

@media (max-width: 900px) {
    body.costurero-premium-v2.single-product
    .woocommerce {
        width:
            min(94vw, 1620px) !important;
        padding-top: 18px !important;
    }

    body.costurero-premium-v2.single-product
    div.product {
        grid-template-columns: 1fr !important;
    }

    body.costurero-premium-v2.single-product
    div.product .summary {
        position: static !important;
    }

    body.costurero-premium-v2
    .costurero-premium-trust {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    body.costurero-premium-v2.single-product
    div.product .summary {
        padding:
            25px 20px !important;
        border-radius: 22px !important;
    }

    body.costurero-premium-v2.single-product
    .product_title {
        font-size: 40px !important;
    }

    body.costurero-premium-v2
    .costurero-premium-trust {
        grid-template-columns: 1fr;
    }

    body.costurero-premium-v2.single-product
    form.cart {
        grid-template-columns:
            70px
            minmax(0, 1fr) !important;
    }

    body.costurero-premium-v2.single-product
    .flex-control-thumbs {
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;
    }
}

/* ENTERSER_PREMIUM_V2_PRODUCTO_FIX_FIN */

/* ENTERSER_AJUSTE_CARRITO_CIRCULOS_INICIO */

/*
 * Cantidad y botón de compra correctamente alineados.
 */
body.costurero-premium-v2.single-product
form.cart {
    width: 100% !important;
    display: grid !important;
    grid-template-columns:
        82px minmax(230px, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
}

body.costurero-premium-v2.single-product
form.cart::before,
body.costurero-premium-v2.single-product
form.cart::after {
    display: none !important;
    content: none !important;
}

body.costurero-premium-v2.single-product
form.cart .quantity {
    grid-column: 1 !important;
    width: 82px !important;
    min-width: 82px !important;
    margin: 0 !important;
    float: none !important;
}

body.costurero-premium-v2.single-product
form.cart .qty {
    width: 82px !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    text-align: center !important;
}

/*
 * Evitar que el botón herede la forma de un icono circular.
 */
body.costurero-premium-v2.single-product
form.cart button.single_add_to_cart_button,
body.costurero-premium-v2.single-product
form.cart .single_add_to_cart_button.button,
body.costurero-premium-v2.single-product
form.cart .single_add_to_cart_button.button.alt {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 230px !important;
    height: 56px !important;
    min-height: 56px !important;
    aspect-ratio: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 28px !important;
    border-radius: 999px !important;
    clip-path: none !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    writing-mode: horizontal-tb !important;
    line-height: 1.1 !important;
    font-size: 15px !important;
    text-align: center !important;
    text-transform: none !important;
}

/*
 * Ventajas en filas horizontales: círculo + texto.
 */
body.costurero-premium-v2
.costurero-premium-trust {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
}

body.costurero-premium-v2
.costurero-trust-item {
    width: 100% !important;
    min-height: 66px !important;
    display: grid !important;
    grid-template-columns:
        42px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 13px !important;
    padding: 11px 15px !important;
}

body.costurero-premium-v2
.costurero-trust-icon {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border-radius: 50% !important;
    line-height: 1 !important;
    flex: 0 0 42px !important;
}

body.costurero-premium-v2
.costurero-trust-item strong {
    margin: 0 0 2px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
}

body.costurero-premium-v2
.costurero-trust-item div > span {
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}

/*
 * La descripción debe verse antes de desplegarla.
 */
body.costurero-premium-v2.single-product
.woocommerce-product-details__short-description,
body.costurero-premium-v2.single-product
.woocommerce-product-details__short-description p,
body.costurero-premium-v2.single-product
.woocommerce-product-details__short-description strong,
body.costurero-premium-v2.single-product
.woocommerce-product-details__short-description span {
    color: var(--premium-muted) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.costurero-premium-v2
.costurero-description-collapsed {
    min-height: 110px !important;
    max-height: 205px !important;
}

body.costurero-premium-v2
.costurero-description-toggle {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 38px !important;
    aspect-ratio: auto !important;
    white-space: nowrap !important;
}

/*
 * Adaptación móvil.
 */
@media (max-width: 520px) {
    body.costurero-premium-v2.single-product
    form.cart {
        grid-template-columns: 76px minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    body.costurero-premium-v2.single-product
    form.cart .quantity,
    body.costurero-premium-v2.single-product
    form.cart .qty {
        width: 76px !important;
        min-width: 76px !important;
    }

    body.costurero-premium-v2.single-product
    form.cart button.single_add_to_cart_button,
    body.costurero-premium-v2.single-product
    form.cart .single_add_to_cart_button.button {
        min-width: 0 !important;
        padding-right: 14px !important;
        padding-left: 14px !important;
        font-size: 13px !important;
    }
}

/* ENTERSER_AJUSTE_CARRITO_CIRCULOS_FIN */
