.santuario-studio,
.santuario-summary,
.santuario-pet-panel {
    border: 1px solid #e8dfd2;
    background: #fdf6ec;
}

.santuario-studio {
    padding: 20px;
    margin: 18px 0;
}

.santuario-studio-hero {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8dfd2;
}

.santuario-studio h3,
.santuario-studio h4 {
    color: #2b241d;
    margin-bottom: 10px;
}

.santuario-studio p {
    color: #6f563b;
}

.santuario-studio-section {
    margin-bottom: 20px;
}

.santuario-coffee-options,
.santuario-grind-options,
.santuario-tote-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.santuario-choice-card {
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid #d7c7b4;
    background: #fff;
    padding: 12px 13px;
    cursor: pointer;
    color: #2b241d;
    transition: all .18s ease;
}

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

.santuario-choice-title {
    display: block;
    font-weight: 600;
}

.santuario-choice-mark,
.santuario-choice-dot {
    width: 20px;
    height: 20px;
    border: 1px solid #8a6f4d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    color: transparent;
    flex: 0 0 20px;
}

.santuario-choice-dot {
    border-radius: 50%;
}

.santuario-choice-card.is-selected {
    border-color: #2b241d;
    background: #efe4d4;
}

.santuario-check-card.is-selected .santuario-choice-mark {
    background: #2b241d;
    color: #fff;
}

.santuario-radio-card.is-selected .santuario-choice-dot {
    box-shadow: inset 0 0 0 5px #2b241d;
}

.santuario-choice-card.is-disabled {
    opacity: .45;
    cursor: not-allowed;
}

.santuario-tote-option em {
    display: block;
    font-style: normal;
    color: #8a6f4d;
    font-size: 13px;
    margin-top: 2px;
}

.santuario-counter {
    margin-top: 9px;
}

.santuario-pet-panel {
    padding: 17px;
    margin: 15px 0 18px;
}

.santuario-pet-panel input[type="text"],
.santuario-pet-panel textarea {
    width: 100%;
}

.santuario-photo-preview {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.santuario-photo-preview img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border: 1px solid #d7c7b4;
    background: #fff;
}

.santuario-pet-story {
    margin-top: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e8dfd2;
}

.santuario-pet-story span,
.santuario-pet-story em {
    display: block;
}

.santuario-pet-story span {
    font-size: 18px;
    color: #2b241d;
    font-weight: 700;
}

.santuario-pet-story em {
    color: #8a6f4d;
    font-style: normal;
    margin-top: 3px;
}

.santuario-summary {
    padding: 15px 16px;
    margin-top: 14px;
}

.santuario-summary > div {
    margin: 5px 0;
    color: #2b241d;
}

.santuario-summary-total {
    font-size: 17px;
    margin-top: 9px !important;
}

.santuario-ready-message {
    margin: 8px 0 0;
    font-size: 14px;
}

.single_add_to_cart_button.santuario-disabled {
    opacity: .45 !important;
    cursor: not-allowed !important;
}

.santuario-kit-loop-phrase {
    font-size: 13px;
    line-height: 1.35;
    color: #6f563b;
    margin: 6px 0 2px;
}

.santuario-kit-loop-detail {
    font-size: 12px;
    line-height: 1.35;
    color: #2b241d;
    margin: 3px 0 6px;
    font-weight: 600;
}

.santuario-kit-loop-detail span {
    display: block;
}

.santuario-kit-loop-price {
    display: inline-block;
    color: #8a6f4d;
    font-weight: 700;
    letter-spacing: .2px;
}

.santuario-featured-badge {
    position: absolute;
    z-index: 3;
    top: 12px;
    left: 12px;
    display: inline-grid;
    justify-items: center;
    gap: 4px;
    min-width: 205px;
    max-width: calc(100% - 24px);
    padding: 10px 20px 11px;
    background: linear-gradient(90deg, rgba(253,250,244,.74) 0%, rgba(253,250,244,.97) 16%, rgba(253,250,244,.97) 84%, rgba(253,250,244,.74) 100%);
    color: #1e1a17;
    border: 0;
    border-radius: 2px;
    box-shadow: 0 7px 20px rgba(30, 26, 23, 0.075);
    font-size: 10px;
    line-height: 1.25;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    white-space: normal;
    transition: transform .34s ease, box-shadow .34s ease, background .34s ease, letter-spacing .34s ease;
}

.santuario-featured-badge::before,
.santuario-featured-badge::after {
    content: "──────── ✦ ────────";
    display: block;
    color: #b7aa70;
    font-size: 8px;
    line-height: 1;
    letter-spacing: .035em;
    transform-origin: center;
    transition: transform .42s ease, letter-spacing .42s ease, filter .42s ease;
    /* Suaviza visualmente los extremos de las líneas. */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
}

.woocommerce ul.products li.product:hover .santuario-featured-badge,
.santuario-featured-badge:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, rgba(255,253,248,.80) 0%, rgba(255,253,248,1) 15%, rgba(255,253,248,1) 85%, rgba(255,253,248,.80) 100%);
    box-shadow: 0 11px 27px rgba(30, 26, 23, 0.11), 0 0 18px rgba(183, 170, 112, 0.08);
    letter-spacing: 0.18em;
}

.woocommerce ul.products li.product:hover .santuario-featured-badge::before,
.woocommerce ul.products li.product:hover .santuario-featured-badge::after,
.santuario-featured-badge:hover::before,
.santuario-featured-badge:hover::after {
    transform: scaleX(1.10) rotate(.35deg);
    letter-spacing: .055em;
    filter: brightness(1.05);
}


.woocommerce ul.products li.product {
    position: relative;
}

@media (max-width: 640px) {
    .santuario-coffee-options,
    .santuario-grind-options,
    .santuario-tote-options {
        grid-template-columns: 1fr;
    }
}


/* Corrección hover botón Crear mi experiencia */
.woocommerce ul.products li.product .button.santuario-configure-kit,
.woocommerce ul.products li.product a.button.santuario-configure-kit {
    position: relative;
    overflow: hidden;
}

.woocommerce ul.products li.product .button.santuario-configure-kit:hover,
.woocommerce ul.products li.product a.button.santuario-configure-kit:hover {
    background-color: #2b241d !important;
    color: #fdf6ec !important;
    border-color: #2b241d !important;
}

.woocommerce ul.products li.product .button.santuario-configure-kit:hover::before,
.woocommerce ul.products li.product a.button.santuario-configure-kit:hover::before,
.woocommerce ul.products li.product .button.santuario-configure-kit:hover::after,
.woocommerce ul.products li.product a.button.santuario-configure-kit:hover::after {
    background-color: #2b241d !important;
    color: #fdf6ec !important;
}


/* Santuario Studio v1.1.0 - Tarjetas informativas de cafés */
.santuario-coffee-card {
    position: relative;
    padding-right: 42px;
}

.santuario-info-trigger {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 21px;
    height: 21px;
    border: 1px solid #8a6f4d;
    border-radius: 50%;
    color: #8a6f4d;
    background: #fdf6ec;
    font-size: 12px;
    line-height: 19px;
    text-align: center;
    font-weight: 700;
    font-style: italic;
    pointer-events: none;
}

.santuario-coffee-info {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    z-index: 40;
    width: min(330px, 86vw);
    background: #fdf6ec;
    color: #2b241d;
    border: 1px solid #2b241d;
    box-shadow: 0 12px 28px rgba(43, 36, 29, .18);
    padding: 16px 17px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    pointer-events: none;
}

.santuario-coffee-card:hover .santuario-coffee-info,
.santuario-coffee-card.is-info-open .santuario-coffee-info {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.santuario-info-title {
    display: block;
    font-size: 15px;
    letter-spacing: 1.2px;
    margin-bottom: 7px;
}

.santuario-info-personality {
    display: block;
    color: #6f563b;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.santuario-info-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.santuario-info-notes em {
    display: inline-block;
    font-style: normal;
    font-size: 12px;
    color: #2b241d;
    background: #fff;
    border: 1px solid #e8dfd2;
    padding: 4px 7px;
}

.santuario-info-meta {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 11px;
}

.santuario-info-meta small {
    display: inline-block;
    border: 1px solid #8a6f4d;
    color: #6f563b;
    padding: 4px 7px;
    font-size: 11px;
    letter-spacing: .3px;
}

.santuario-info-love-title {
    display: block;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
}

.santuario-info-love {
    display: grid;
    gap: 5px;
}

.santuario-info-love em {
    display: block;
    position: relative;
    padding-left: 14px;
    color: #6f563b;
    font-style: normal;
    font-size: 13px;
    line-height: 1.35;
}

.santuario-info-love em::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2b241d;
}

@media (max-width: 760px) {
    .santuario-coffee-info {
        position: static;
        width: 100%;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 12px;
        grid-column: 1 / -1;
        pointer-events: auto;
    }

    .santuario-coffee-card.is-info-open .santuario-coffee-info {
        display: block;
    }

    .santuario-info-trigger {
        pointer-events: none;
    }
}


/* Santuario Studio v1.1.1 - Resumen limpio del Kit en carrito */
.santuario-cart-kit-list {
    margin: 3px 0 0;
    padding-left: 0;
    list-style: none;
}

.santuario-cart-kit-list li {
    margin: 2px 0;
    line-height: 1.35;
}

.santuario-cart-kit-list li::before {
    content: "• ";
}


/* Santuario Studio v1.1.2 - Carrito limpio del Kit */
.woocommerce-cart .santuario-studio-cart-item .product-name > p,
.woocommerce-cart .santuario-studio-cart-item .product-name .product-short-description,
.woocommerce-cart .santuario-studio-cart-item .product-name .short-description {
    display: none !important;
}

.woocommerce-cart .santuario-studio-cart-item dl.variation {
    margin-top: 10px;
}

.woocommerce-cart .santuario-studio-cart-item dl.variation dt {
    display: block;
    float: none;
    clear: both;
    margin-top: 7px;
    font-weight: 700;
}

.woocommerce-cart .santuario-studio-cart-item dl.variation dd {
    display: block;
    float: none;
    margin: 1px 0 0;
}

/* v1.1.4 - Ocultar descripción corta del Kit en checkout/resumen */
.woocommerce-checkout-review-order .santuario-studio-cart-item .product-name > p,
.woocommerce-checkout-review-order .santuario-studio-cart-item .product-name .product-short-description,
.woocommerce-checkout-review-order .santuario-studio-cart-item .product-name .short-description,
.woocommerce-checkout-review-order-table .santuario-studio-cart-item .product-name > p,
.woocommerce-checkout-review-order-table .santuario-studio-cart-item .product-name .product-short-description,
.woocommerce-checkout-review-order-table .santuario-studio-cart-item .product-name .short-description {
    display: none !important;
}

/* Santuario Studio v1.2.6 - Encabezados del carrito en café institucional */
.woocommerce-cart table.shop_table.cart thead th,
.woocommerce-cart .woocommerce-cart-form table thead th,
.woocommerce-cart .cart_totals > h2,
.woocommerce-cart .cart_totals h2,
.wp-block-woocommerce-cart table.wc-block-cart-items thead,
.wp-block-woocommerce-cart table.wc-block-cart-items thead th,
.wp-block-woocommerce-cart table.wc-block-cart-items thead span,
.wp-block-woocommerce-cart .wc-block-cart__totals-title,
.wp-block-woocommerce-cart .wp-block-woocommerce-cart-totals-block .wc-block-cart__totals-title,
table.wc-block-cart-items thead th,
table.wc-block-cart-items thead th span,
.wc-block-cart__totals-title {
    color: #2D211B !important;
}
