.at-home-recipes { background: #fff8fa; }
#recetas { scroll-margin-top: 100px; }
.at-home-recipes-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.at-home-recipe-card { display: grid; grid-template-columns: 38% minmax(0, 1fr); overflow: hidden; border: 1px solid #f0e0e5; border-radius: 20px; background: #fff; }
.at-home-recipe-image { display: block; min-height: 172px; background: #fbeef2; }
.at-home-recipe-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.at-home-recipe-info { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 18px; gap: 12px; min-width: 0; }
.at-home-recipe-info h3 { font-size: 20px; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.at-home-recipe-info h3 a { color: #30232a; }
.at-home-recipe-price { font-size: 21px; font-weight: 700; color: #ad3158; }
.at-home-recipe-price del { font-size: .75em; opacity: .65; }
.at-home-recipe-price ins { text-decoration: none; }
.at-recipe-detail-button { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 14px; font-weight: 700; color: #ad3158; }
.at-home-recipes :is(a, button):focus-visible, .at-recipe-product :is(a, button):focus-visible { outline: 3px solid #ad3158; outline-offset: 4px; }
.woocommerce div.product.at-recipe-product .at-recipe-product-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.woocommerce div.product.at-recipe-product .at-recipe-product-gallery { min-width: 0; position: relative; }
.woocommerce div.product.at-recipe-product .at-recipe-product-gallery div.images { float: none; width: 100%; margin: 0; }
.at-recipe-product-gallery img { border-radius: 18px; }
.woocommerce div.product.at-recipe-product .summary { float: none; width: 100%; margin: 0; min-width: 0; }
.woocommerce div.product.at-recipe-product h1.product_title { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.15; margin: 0 0 18px; overflow-wrap: anywhere; }
.at-recipe-product .woocommerce-product-details__short-description { font-size: 17px; line-height: 1.65; color: #685963; margin-bottom: 22px; }
/* The parent WooCommerce stylesheet forces all paragraphs to 14px. */
.at-recipe-product .woocommerce-product-details__short-description p { font-size: 17px !important; }
.woocommerce div.product.at-recipe-product .summary p.price { font-size: clamp(28px, 3vw, 36px) !important; font-weight: 800; color: #ad3158; margin: 0 0 20px; }
.at-recipe-product .price del { font-size: .7em; opacity: .6; }
.at-recipe-product .price ins { text-decoration: none; }
.at-recipe-purchase-actions { margin-top: 20px; }
.at-recipe-buy-button { display: inline-flex; align-items: center; justify-content: center; flex: 1; min-width: 0; min-height: 52px; padding: 13px 20px; background: #db3a6b; color: #fff; border-radius: 12px; font-size: 17px; font-weight: 700; }
.at-recipe-buy-button:hover { background: #be2957; color: #fff; }
.at-recipe-product .at-course-cart-button:disabled { opacity: .6; cursor: wait; }
.at-recipe-product .at-course-cart-button.is-in-cart { background: #e5f5ea; color: #256344; border-color: #b9dec6; }
.at-recipe-cart-status { font-size: 14px; margin-top: 12px; }
.at-recipe-cart-status:empty { display: none; }
.at-recipe-product-description { margin-top: 40px; padding-top: 30px; border-top: 1px solid #f0e0e5; clear: both; }
.at-recipe-product-description h2 { font-size: 26px; margin-bottom: 20px; }
.at-recipe-product-description img { max-width: 100%; height: auto; }
.at-recipe-closing-cta { max-width: 680px; margin: 40px auto 0; padding: 28px; border: 1px solid #f0dbe3; border-radius: 20px; background: #fff5f8; text-align: center; clear: both; }
.at-recipe-closing-cta h2 { margin: 0 0 16px; font-size: clamp(23px, 3vw, 28px); line-height: 1.3; }
.woocommerce div.product.at-recipe-product .at-recipe-closing-cta p.price { margin: 0 0 18px; color: #ad3158; font-size: 32px !important; font-weight: 800; }
.at-recipe-closing-cta .at-recipe-purchase { max-width: 420px; margin: 0 auto; }
.at-recipe-payment-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 16px; margin: 22px auto 0; max-width: 420px; }
.at-recipe-payment-logos img { display: block; width: auto; max-width: 52px; height: 16px; object-fit: contain; }
.woocommerce div.product.at-recipe-product .at-recipe-payment-note { margin: 10px 0 0; color: #796b72; font-size: 11px !important; line-height: 1.5; }
@media (min-width: 768px) {
    .at-home-recipes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .at-home-recipe-info { padding: 24px; }
}
@media (min-width: 992px) {
    .woocommerce div.product.at-recipe-product .at-recipe-product-layout { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: 56px; }
    .at-recipe-product-gallery { max-width: 420px; }
}
@media (max-width: 374px) {
    .at-recipe-closing-cta { padding: 22px 16px; }
    .at-home-recipe-info { padding: 14px; gap: 8px; }
    .at-home-recipe-info h3 { font-size: 17px; }
    .at-home-recipe-price { font-size: 19px; }
}
