/* =========================================================================
 * La Historia con Wifi · Tienda (WooCommerce + Astra)
 * Mismo sistema visual que /new-home. Se carga solo en tienda, producto,
 * carrito, checkout y mi cuenta (body.lhw-shop).
 * ====================================================================== */

body.lhw-shop {
    --paper: #F4EFE6;
    --paper2: #EAE2D4;
    --ink: #171512;
    --ink2: #2B2723;
    --muted: #6A6258;
    --line: #D8CEBD;
    --sun: #F4C430;
    --ecy: #F2B705;
    --ecb: #1F4FA8;
    --ecr: #C8102E;
    --fd: "Bricolage Grotesque", system-ui, sans-serif;
    --fl: "Barlow Condensed", sans-serif;
    background: var(--paper);
    color: var(--ink);
    font-family: Lora, Georgia, serif;
}

/* Ocultar header y footer viejos de Astra */
body.lhw-shop #masthead,
body.lhw-shop .ast-mobile-header-wrap,
body.lhw-shop #colophon,
body.lhw-shop .site-footer {
    display: none !important;
}

/* Header nuevo fijo */
body.lhw-shop .x.xh {
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) - 40px);
    z-index: 9990;
}

body.lhw-shop .x.xh .wrap,
body.lhw-shop .x.xf .wrap {
    max-width: 1240px;
}

/* Contenedor */
body.lhw-shop #content {
    background: var(--paper);
}

body.lhw-shop .site-content > .ast-container {
    max-width: 1240px;
    padding: 0 24px;
}

body.lhw-shop #primary {
    margin: 56px 0 96px;
    padding: 0 !important;
    background: transparent;
}

body.lhw-shop .ast-separate-container .ast-article-single,
body.lhw-shop .ast-separate-container .ast-woocommerce-container,
body.lhw-shop.ast-separate-container .ast-article-single,
body.lhw-shop.ast-separate-container .ast-woocommerce-container {
    background: transparent;
    padding: 0;
}

body.lhw-shop .woocommerce-breadcrumb {
    font-family: var(--fl);
    font-size: 15px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}

body.lhw-shop .woocommerce-breadcrumb a {
    color: var(--muted);
}

/* Tipografía */
body.lhw-shop h1,
body.lhw-shop h2,
body.lhw-shop h3,
body.lhw-shop .entry-title,
body.lhw-shop .woocommerce-products-header__title,
body.lhw-shop .product_title {
    font-family: var(--fd);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
}

body.lhw-shop .entry-title,
body.lhw-shop .woocommerce-products-header__title.page-title {
    font-size: clamp(40px, 5.4vw, 72px);
    line-height: .98;
    margin: 0 0 28px;
}

body.lhw-shop a {
    color: var(--ink);
}

/* Botones */
body.lhw-shop .woocommerce a.button,
body.lhw-shop .woocommerce button.button,
body.lhw-shop .woocommerce input.button,
body.lhw-shop .woocommerce #respond input#submit,
body.lhw-shop a.button,
body.lhw-shop button.button,
body.lhw-shop .single_add_to_cart_button,
body.lhw-shop .woocommerce .checkout-button,
body.lhw-shop #place_order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--ink) !important;
    color: #fff !important;
    border: 2px solid var(--ink) !important;
    border-radius: 999px !important;
    padding: 16px 28px !important;
    font-family: var(--fd) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: 0 6px 0 rgba(23, 21, 18, .18);
    transition: transform .2s, box-shadow .2s, background .2s;
}

body.lhw-shop .woocommerce a.button:hover,
body.lhw-shop .woocommerce button.button:hover,
body.lhw-shop a.button:hover,
body.lhw-shop button.button:hover,
body.lhw-shop #place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 0 rgba(23, 21, 18, .18);
    background: #000 !important;
}

body.lhw-shop .woocommerce button.button:disabled,
body.lhw-shop .woocommerce button.button.disabled {
    opacity: .45;
    transform: none;
}

/* Avisos */
body.lhw-shop .woocommerce-message,
body.lhw-shop .woocommerce-info,
body.lhw-shop .woocommerce-error,
body.lhw-shop .woocommerce-notice {
    background: #fff !important;
    border: 2px solid var(--ink) !important;
    border-radius: 18px;
    color: var(--ink) !important;
    font-family: Lora, serif;
    padding: 16px 20px 16px 52px !important;
    box-shadow: 6px 6px 0 var(--sun);
}

body.lhw-shop .woocommerce-error {
    box-shadow: 6px 6px 0 var(--ecr);
}

body.lhw-shop .woocommerce-message::before,
body.lhw-shop .woocommerce-info::before,
body.lhw-shop .woocommerce-error::before {
    color: var(--ink) !important;
}

body.lhw-shop .woocommerce-message .button,
body.lhw-shop .woocommerce-info .button {
    padding: 10px 18px !important;
    font-size: 14px !important;
    box-shadow: none;
}

/* =========================================================================
 * Tienda: grilla de productos
 * ====================================================================== */
body.lhw-shop .woocommerce-products-header {
    margin-bottom: 8px;
}

body.lhw-shop .woocommerce-result-count,
body.lhw-shop .woocommerce-ordering {
    font-family: var(--fl);
    font-size: 15px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}

body.lhw-shop .woocommerce-ordering select {
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background-color: #fff;
    padding: 10px 36px 10px 16px;
    font-family: var(--fl);
    font-size: 15px;
    letter-spacing: .04em;
}

body.lhw-shop ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 24px 0 0 !important;
}

body.lhw-shop ul.products::before,
body.lhw-shop ul.products::after {
    display: none !important;
}

body.lhw-shop ul.products li.product {
    position: relative;
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 28px;
    padding: 14px 14px 24px !important;
    display: flex;
    flex-direction: column;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s;
}

body.lhw-shop ul.products li.product:hover {
    transform: translateY(-8px) rotate(-.6deg);
    box-shadow: 12px 14px 0 var(--ink);
}

body.lhw-shop ul.products li.product .astra-shop-thumbnail-wrap,
body.lhw-shop ul.products li.product > a:first-child {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    background: var(--paper2);
}

body.lhw-shop ul.products li.product img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    margin: 0 !important;
    transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

body.lhw-shop ul.products li.product:hover img {
    transform: scale(1.05);
}

body.lhw-shop ul.products li.product .astra-shop-summary-wrap {
    padding: 18px 10px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

body.lhw-shop ul.products li.product .ast-woo-product-category {
    font-family: var(--fl);
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

body.lhw-shop ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--fd);
    font-size: 26px !important;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.03em;
    margin: 6px 0 10px;
}

body.lhw-shop ul.products li.product .price {
    font-family: var(--fd);
    font-size: 22px !important;
    font-weight: 700;
    color: var(--ink) !important;
    margin-bottom: 18px;
}

body.lhw-shop ul.products li.product .price del {
    color: var(--muted);
    font-size: 16px;
    font-weight: 500;
    margin-right: 6px;
}

body.lhw-shop ul.products li.product .price ins {
    text-decoration: none;
}

body.lhw-shop ul.products li.product .button {
    margin-top: auto !important;
    align-self: flex-start;
}

body.lhw-shop ul.products li.product .added_to_cart {
    font-family: var(--fd);
    font-weight: 700;
    font-size: 14px;
    margin-top: 10px;
    border-bottom: 2px solid var(--sun);
}

/* Sello de oferta */
body.lhw-shop span.onsale,
body.lhw-shop .ast-onsale-card {
    position: absolute;
    top: 22px !important;
    right: 22px !important;
    left: auto !important;
    z-index: 3;
    width: 74px !important;
    height: 74px !important;
    min-height: 0 !important;
    min-width: 0 !important;
    border-radius: 50% !important;
    background: var(--ecr) !important;
    color: #fff !important;
    display: grid !important;
    place-items: center;
    padding: 0 !important;
    font-family: Caveat, cursive !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    transform: rotate(12deg);
    border: 0 !important;
}

/* =========================================================================
 * Ficha de producto
 * ====================================================================== */
body.lhw-shop.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px;
    align-items: start;
}

body.lhw-shop.single-product div.product .woocommerce-product-gallery,
body.lhw-shop.single-product div.product .summary {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}

body.lhw-shop.single-product div.product .woocommerce-tabs,
body.lhw-shop.single-product div.product .related,
body.lhw-shop.single-product div.product .upsells {
    grid-column: 1 / -1;
}

body.lhw-shop .woocommerce-product-gallery__wrapper {
    border: 2px solid var(--ink);
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
}

body.lhw-shop .woocommerce-product-gallery__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

body.lhw-shop .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 12px !important;
}

body.lhw-shop .flex-control-thumbs li {
    width: auto !important;
    margin: 0 !important;
}

body.lhw-shop .flex-control-thumbs img {
    border-radius: 12px;
    border: 2px solid transparent;
    aspect-ratio: 1;
    object-fit: cover;
    opacity: .6;
    transition: opacity .2s, border-color .2s;
}

body.lhw-shop .flex-control-thumbs img.flex-active,
body.lhw-shop .flex-control-thumbs img:hover {
    opacity: 1;
    border-color: var(--ink);
}

body.lhw-shop .woocommerce-product-gallery__trigger {
    background: #fff !important;
    border: 2px solid var(--ink);
    border-radius: 50% !important;
}

body.lhw-shop .summary .product_title {
    font-size: clamp(40px, 4.6vw, 64px);
    line-height: .98;
    margin: 6px 0 16px;
}

body.lhw-shop .summary .price {
    font-family: var(--fd);
    font-size: 34px !important;
    font-weight: 800;
    color: var(--ink) !important;
    margin: 0 0 20px;
}

body.lhw-shop .summary .price del {
    font-size: 22px;
    color: var(--muted);
    font-weight: 500;
}

body.lhw-shop .summary .price ins {
    text-decoration: none;
}

body.lhw-shop .summary .woocommerce-product-details__short-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink2);
}

body.lhw-shop .summary .woocommerce-product-details__short-description ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

body.lhw-shop .summary .woocommerce-product-details__short-description li {
    position: relative;
    padding: 6px 0 6px 34px;
}

body.lhw-shop .summary .woocommerce-product-details__short-description li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171512' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

body.lhw-shop .summary form.cart {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin: 26px 0 !important;
}

body.lhw-shop .quantity .qty,
body.lhw-shop .quantity input {
    height: 56px;
    min-width: 76px;
    border: 2px solid var(--ink) !important;
    border-radius: 999px !important;
    background: #fff;
    font-family: var(--fd);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

body.lhw-shop .quantity .minus,
body.lhw-shop .quantity .plus {
    border: 0 !important;
    background: transparent !important;
    font-family: var(--fd);
    font-size: 20px;
}

body.lhw-shop .summary .single_add_to_cart_button {
    flex: 1;
    height: 56px;
    font-size: 17px !important;
}

body.lhw-shop .lhw-pdp-trust {
    list-style: none;
    margin: 0 0 22px;
    padding: 18px 20px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 18px;
    display: grid;
    gap: 8px;
    font-size: 15px;
    color: var(--ink2);
}

body.lhw-shop .lhw-pdp-trust li {
    position: relative;
    padding-left: 22px;
}

body.lhw-shop .lhw-pdp-trust li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ecr);
}

body.lhw-shop .lhw-pdp-trust b {
    font-family: var(--fd);
    font-weight: 700;
}

body.lhw-shop .product_meta {
    font-family: var(--fl);
    font-size: 15px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}

body.lhw-shop .product_meta a {
    color: var(--muted);
}

/* Pestañas */
body.lhw-shop .woocommerce-tabs {
    margin-top: 40px;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 28px;
    padding: 28px 40px 40px;
}

body.lhw-shop .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 8px;
    padding: 0 !important;
    margin: 0 0 24px !important;
    border: 0 !important;
}

body.lhw-shop .woocommerce-tabs ul.tabs::before {
    display: none !important;
}

body.lhw-shop .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}

body.lhw-shop .woocommerce-tabs ul.tabs li::before,
body.lhw-shop .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

body.lhw-shop .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 18px !important;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    font-family: var(--fd);
    font-weight: 700;
    font-size: 15px;
    color: var(--ink) !important;
}

body.lhw-shop .woocommerce-tabs ul.tabs li.active a {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff !important;
}

body.lhw-shop .woocommerce-tabs .panel {
    font-size: 18px;
    line-height: 1.65;
    color: var(--ink2);
    max-width: 860px;
}

body.lhw-shop .woocommerce-tabs .panel h2:first-child {
    display: none;
}

body.lhw-shop .woocommerce-tabs .panel h3 {
    font-size: 30px;
    margin: 30px 0 12px;
}

body.lhw-shop .woocommerce-tabs .panel .gallery {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0 !important;
}

body.lhw-shop .woocommerce-tabs .panel .gallery-item {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.lhw-shop .woocommerce-tabs .panel .gallery-item img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 14px;
    border: 0 !important;
}

body.lhw-shop .woocommerce-tabs .panel .gallery br {
    display: none;
}

/* Relacionados / También te puede gustar */
body.lhw-shop .related > h2,
body.lhw-shop .upsells > h2,
body.lhw-shop .cross-sells > h2 {
    font-size: clamp(30px, 3.6vw, 46px);
    margin: 64px 0 8px;
}

/* =========================================================================
 * Carrito
 * ====================================================================== */
body.lhw-shop.woocommerce-cart .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr);
    gap: 40px;
    align-items: start;
}

body.lhw-shop.woocommerce-cart .woocommerce-notices-wrapper,
body.lhw-shop.woocommerce-cart .cart-empty,
body.lhw-shop.woocommerce-cart .return-to-shop,
body.lhw-shop.woocommerce-cart .cross-sells {
    grid-column: 1 / -1;
}

body.lhw-shop .woocommerce-cart-form,
body.lhw-shop .cart-collaterals .cart_totals,
body.lhw-shop #order_review,
body.lhw-shop .woocommerce-checkout #customer_details,
body.lhw-shop .woocommerce-MyAccount-content,
body.lhw-shop .woocommerce-order {
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 28px;
    padding: 28px;
}

body.lhw-shop .cart-collaterals {
    width: auto !important;
}

body.lhw-shop .cart-collaterals .cart_totals {
    width: auto !important;
    float: none !important;
    box-shadow: 10px 12px 0 var(--sun);
}

body.lhw-shop table.shop_table {
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

body.lhw-shop table.shop_table th,
body.lhw-shop table.shop_table td {
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    padding: 16px 10px !important;
    background: transparent !important;
}

body.lhw-shop table.shop_table thead th,
body.lhw-shop .cart_totals table th,
body.lhw-shop #order_review table th {
    font-family: var(--fl);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

body.lhw-shop table.shop_table .product-name a {
    font-family: var(--fd);
    font-weight: 700;
    font-size: 18px;
}

body.lhw-shop table.shop_table .product-thumbnail img {
    width: 84px;
    border-radius: 14px;
}

body.lhw-shop table.shop_table .product-remove a.remove {
    width: 30px;
    height: 30px;
    line-height: 26px;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    color: var(--ink) !important;
}

body.lhw-shop table.shop_table .product-remove a.remove:hover {
    background: var(--ecr);
    border-color: var(--ecr);
    color: #fff !important;
}

body.lhw-shop .cart_totals h2,
body.lhw-shop #order_review_heading,
body.lhw-shop .woocommerce-billing-fields h3,
body.lhw-shop .woocommerce-additional-fields h3 {
    font-size: 30px;
    margin: 0 0 16px;
}

body.lhw-shop .order-total th,
body.lhw-shop .order-total td,
body.lhw-shop .order-total .amount {
    font-family: var(--fd) !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--ink) !important;
}

body.lhw-shop .wc-proceed-to-checkout .checkout-button {
    width: 100%;
    font-size: 18px !important;
    padding: 20px !important;
}

body.lhw-shop .coupon .input-text {
    border: 1.5px solid var(--line) !important;
    border-radius: 999px !important;
    padding: 12px 18px !important;
    min-width: 180px;
}

body.lhw-shop ul#shipping_method li {
    margin-bottom: 6px;
}

body.lhw-shop ul#shipping_method label {
    font-family: Lora, serif;
}

/* =========================================================================
 * Checkout (1 página)
 * ====================================================================== */
body.lhw-shop.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

body.lhw-shop.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup,
body.lhw-shop.woocommerce-checkout form.checkout > .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
}

body.lhw-shop.woocommerce-checkout #customer_details,
body.lhw-shop.woocommerce-checkout #order_review {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}

body.lhw-shop.woocommerce-checkout #customer_details .col-1,
body.lhw-shop.woocommerce-checkout #customer_details .col-2 {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

body.lhw-shop.woocommerce-checkout #order_review_heading {
    display: none;
}

body.lhw-shop.woocommerce-checkout #order_review {
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px);
    box-shadow: 10px 12px 0 var(--sun);
}

body.lhw-shop.woocommerce-checkout #order_review::before {
    content: "Tu pedido";
    display: block;
    font-family: var(--fd);
    font-weight: 800;
    font-size: 30px;
    letter-spacing: -.03em;
    margin-bottom: 8px;
}

body.lhw-shop .woocommerce form .form-row {
    margin: 0 0 14px !important;
    padding: 0 !important;
}

body.lhw-shop .woocommerce form .form-row label {
    font-family: var(--fl);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

body.lhw-shop .woocommerce form .form-row .required {
    color: var(--ecr);
}

body.lhw-shop .woocommerce form .form-row input.input-text,
body.lhw-shop .woocommerce form .form-row textarea,
body.lhw-shop .woocommerce form .form-row select,
body.lhw-shop .select2-container--default .select2-selection--single {
    height: 52px;
    border: 1.5px solid var(--line) !important;
    border-radius: 14px !important;
    background: var(--paper) !important;
    padding: 0 16px !important;
    font-family: Lora, serif;
    font-size: 16px;
    color: var(--ink);
    box-shadow: none !important;
    transition: border-color .2s, background .2s;
}

body.lhw-shop .woocommerce form .form-row textarea {
    height: 110px;
    padding: 14px 16px !important;
}

body.lhw-shop .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 50px;
    padding: 0;
}

body.lhw-shop .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px;
}

body.lhw-shop .woocommerce form .form-row input.input-text:focus,
body.lhw-shop .woocommerce form .form-row textarea:focus {
    border-color: var(--ink) !important;
    background: #fff !important;
    outline: none;
}

body.lhw-shop .woocommerce form .form-row.woocommerce-invalid input.input-text {
    border-color: var(--ecr) !important;
}

body.lhw-shop .woocommerce form .form-row.woocommerce-validated input.input-text {
    border-color: #3C8D5A !important;
}

body.lhw-shop #payment {
    background: transparent !important;
    border-radius: 0;
}

body.lhw-shop #payment ul.payment_methods {
    border: 0 !important;
    padding: 0 !important;
    display: grid;
    gap: 10px;
}

body.lhw-shop #payment ul.payment_methods li {
    border: 1.5px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px !important;
    background: var(--paper);
}

body.lhw-shop #payment ul.payment_methods li label {
    font-family: var(--fd);
    font-weight: 700;
    font-size: 16px;
}

body.lhw-shop #payment div.payment_box {
    background: #fff !important;
    border-radius: 12px;
    font-size: 14px;
    color: var(--ink2);
    margin: 10px 0 0 !important;
}

body.lhw-shop #payment div.payment_box::before {
    display: none !important;
}

body.lhw-shop #payment .place-order {
    padding: 18px 0 0 !important;
}

body.lhw-shop #place_order {
    width: 100%;
    font-size: 18px !important;
    padding: 20px !important;
}

body.lhw-shop .woocommerce-privacy-policy-text {
    font-size: 13px;
    color: var(--muted);
}

/* Gracias / pedido recibido */
body.lhw-shop .woocommerce-order .woocommerce-thankyou-order-received {
    font-family: var(--fd);
    font-weight: 800;
    font-size: clamp(28px, 3.4vw, 44px);
    letter-spacing: -.03em;
    line-height: 1.05;
}

body.lhw-shop ul.woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    padding: 0 !important;
}

body.lhw-shop ul.woocommerce-order-overview li {
    border: 1.5px solid var(--line) !important;
    border-radius: 14px;
    padding: 14px !important;
    margin: 0 !important;
    font-family: var(--fl);
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 13px;
}

body.lhw-shop ul.woocommerce-order-overview li strong {
    display: block;
    font-family: var(--fd);
    letter-spacing: 0;
    text-transform: none;
    font-size: 17px;
    margin-top: 4px;
}

body.lhw-shop .lhw-guia {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--sun);
}

body.lhw-shop .lhw-guia h2 {
    font-size: 22px;
    margin: 0 0 6px;
}

/* Mi cuenta */
body.lhw-shop .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

body.lhw-shop .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 12px 16px;
    border-radius: 999px;
    font-family: var(--fd);
    font-weight: 700;
}

body.lhw-shop .woocommerce-MyAccount-navigation .is-active a {
    background: var(--ink);
    color: #fff;
}

/* Ajustes: galería y productos sugeridos en el carrito */
body.lhw-shop .woocommerce-product-gallery,
body.lhw-shop .summary {
    min-width: 0;
}

body.lhw-shop .cart-collaterals {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

body.lhw-shop .cart-collaterals .cart_totals {
    order: 1;
}

body.lhw-shop .cart-collaterals .cross-sells {
    order: 2;
    width: auto !important;
    float: none !important;
}

body.lhw-shop .cross-sells > h2 {
    font-size: 24px !important;
    margin: 0 0 4px !important;
}

body.lhw-shop .cross-sells ul.products {
    grid-template-columns: 1fr !important;
    gap: 14px;
    margin-top: 12px !important;
}

body.lhw-shop .cross-sells ul.products li.product {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 10px !important;
    border-radius: 20px;
}

body.lhw-shop .cross-sells ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 6px 6px 0 var(--ink);
}

body.lhw-shop .cross-sells ul.products li.product > a:first-child,
body.lhw-shop .cross-sells ul.products li.product .astra-shop-thumbnail-wrap {
    flex: none;
    width: 96px;
}

body.lhw-shop .cross-sells ul.products li.product img {
    aspect-ratio: 1;
    border-radius: 12px;
}

body.lhw-shop .cross-sells ul.products li.product .astra-shop-summary-wrap {
    padding: 0;
}

body.lhw-shop .cross-sells ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px !important;
    margin: 2px 0 4px;
}

body.lhw-shop .cross-sells ul.products li.product .price {
    font-size: 16px !important;
    margin-bottom: 8px;
}

body.lhw-shop .cross-sells ul.products li.product .button {
    padding: 10px 16px !important;
    font-size: 14px !important;
    box-shadow: none;
}

body.lhw-shop .cross-sells ul.products li.product .onsale,
body.lhw-shop .cross-sells ul.products li.product .ast-woo-product-category {
    display: none !important;
}

body.lhw-shop .cart_totals h2 {
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
}

body.lhw-shop .cart_totals table {
    border: 0 !important;
}

/* =========================================================================
 * Responsive
 * ====================================================================== */
@media (max-width: 1024px) {
    body.lhw-shop ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    body.lhw-shop.single-product div.product,
    body.lhw-shop.woocommerce-cart .woocommerce,
    body.lhw-shop.woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    body.lhw-shop.woocommerce-checkout #order_review {
        position: static;
    }
}

@media (max-width: 767px) {
    body.lhw-shop .site-content > .ast-container {
        padding: 0 16px;
    }

    body.lhw-shop #primary {
        margin: 32px 0 64px;
    }

    body.lhw-shop ul.products {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    body.lhw-shop ul.products li.product:hover {
        box-shadow: 8px 10px 0 var(--ink);
    }

    body.lhw-shop .woocommerce-tabs {
        padding: 20px;
        border-radius: 22px;
    }

    body.lhw-shop .woocommerce-tabs ul.tabs {
        flex-wrap: wrap;
    }

    body.lhw-shop .woocommerce-tabs .panel .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    body.lhw-shop .woocommerce-cart-form,
    body.lhw-shop .cart-collaterals .cart_totals,
    body.lhw-shop #order_review,
    body.lhw-shop .woocommerce-checkout #customer_details {
        padding: 20px;
        border-radius: 22px;
    }

    body.lhw-shop .summary form.cart {
        flex-wrap: wrap;
    }
}
