/*
Theme Name: Hearth
Template: twentytwentyfive
Description: Theme con cho Hearth Paper (shop file số scrapbook). Màu kem, đỏ gạch, xanh thông, vàng.
Version: 1.0.0
Text Domain: hearth
*/
.hp-topbar{font-size:.8125rem;letter-spacing:.02em}
.hp-brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--wp--preset--color--contrast)}
.hp-brand img{width:40px;height:40px;display:block}
.hp-brand span{font-family:var(--wp--preset--font-family--vollkorn);font-size:1.5rem;font-weight:700;letter-spacing:-.01em}
.hp-header{border-bottom:1px solid var(--wp--preset--color--accent-4)}
.hp-hero-collage{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hp-hero-collage img{width:100%;height:auto;border-radius:10px;box-shadow:0 10px 30px rgba(43,36,32,.18);display:block}
.hp-hero-collage a:nth-child(2){transform:translateY(28px)}
.hp-hero-collage a:nth-child(3){transform:translateY(-8px)}
.hp-tile{position:relative;border-radius:14px;overflow:hidden;display:block;color:#fff;text-decoration:none}
.hp-tile img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;transition:transform .4s}
.hp-tile:hover img{transform:scale(1.04)}
.hp-tile span{position:absolute;left:0;right:0;bottom:0;padding:1.4rem 1.1rem .9rem;background:linear-gradient(transparent,rgba(30,22,18,.82));font-family:var(--wp--preset--font-family--vollkorn);font-size:1.35rem;font-weight:700}
.hp-tile small{display:block;font-family:var(--wp--preset--font-family--manrope);font-size:.8rem;font-weight:500;opacity:.9}
.hp-step{background:var(--wp--preset--color--base);border:1px solid var(--wp--preset--color--accent-4);border-radius:14px;padding:1.5rem}
.hp-step b{display:inline-grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:50%;background:var(--wp--preset--color--accent-1);color:#fff;margin-bottom:.6rem}
.hp-lic{background:var(--wp--preset--color--base);border:1px solid var(--wp--preset--color--accent-4);border-radius:14px;padding:1.6rem;height:100%}
.hp-lic.is-featured{border:2px solid var(--wp--preset--color--accent-1)}
.hp-lic .hp-price{font-family:var(--wp--preset--font-family--vollkorn);font-size:2rem;font-weight:700;color:var(--wp--preset--color--accent-1)}
.hp-lic ul{padding-left:1.1rem;margin:.6rem 0 0}
.hp-chips{display:flex;flex-wrap:wrap;gap:.5rem}
.hp-chips a{border:1px solid var(--wp--preset--color--accent-4);background:var(--wp--preset--color--base);border-radius:999px;padding:.4rem .9rem;text-decoration:none;font-size:.9rem;color:var(--wp--preset--color--contrast)}
.hp-chips a:hover{border-color:var(--wp--preset--color--accent-1);color:var(--wp--preset--color--accent-1)}
.hp-note{margin-top:1rem;padding:.9rem 1rem;border-radius:10px;background:var(--wp--preset--color--accent-5);font-size:.9rem;line-height:1.55}
.hp-note a{color:var(--wp--preset--color--accent-1)}
.hp-faq details{border-bottom:1px solid var(--wp--preset--color--accent-4);padding:.9rem 0}
.hp-faq summary{cursor:pointer;font-weight:600}
/* Woo */
.woocommerce ul.products li.product .woocommerce-loop-product__title,.wc-block-components-product-name{font-family:var(--wp--preset--font-family--vollkorn)}
.woocommerce ul.products li.product img{border-radius:10px}
.woocommerce div.product form.cart .variations select{min-width:220px;padding:.55rem .7rem;border-radius:8px;border:1px solid #cdbfa6;background:#fff}
.woocommerce-variation-description{font-size:.9rem;color:#5b4f45}
.woocommerce .quantity{display:none!important}
.wp-block-button__link,.woocommerce .button,.wc-block-components-button{border-radius:999px!important}
@media (max-width:781px){.hp-hero-collage a:nth-child(2),.hp-hero-collage a:nth-child(3){transform:none}}
/* sửa sau ảnh chụp 2026-10-13 */
.hp-tile img{height:auto}
.hp-lic{box-sizing:border-box}
.hp-brand span{white-space:nowrap}
@media (max-width:600px){.hp-brand span{font-size:1.2rem}.hp-brand img{width:34px;height:34px}.hp-topbar p{font-size:.72rem}}
.taxonomy-product_tag,.wp-block-woocommerce-product-meta .wc-block-components-product-sku{display:none!important}
.wp-block-woocommerce-product-meta{margin-top:1rem;font-size:.9rem}
.woocommerce ul.products li.product .price{margin-bottom:.4rem}
.woocommerce ul.products li.product .button{margin-top:.2rem}
.reset_variations{display:none!important}
.hp-brand--footer{color:var(--wp--preset--color--base);margin-bottom:1rem}
.hp-brand--footer img{width:48px;height:48px;box-shadow:0 0 0 2px rgba(251,246,234,.25);border-radius:12px}
.hp-search .wp-block-search__input{border-radius:999px;border:1px solid #cdbfa6;padding:.45rem .9rem;min-width:200px}
.hp-search .wp-block-search__button{background:transparent;color:var(--wp--preset--color--contrast);padding:.35rem}
.hp-search .wp-block-search__button svg{width:22px;height:22px}
@media (max-width:600px){.hp-search .wp-block-search__input{min-width:150px}}
@media (max-width:600px){
 .hp-header .wp-block-woocommerce-customer-account{display:none}
 .hp-header .is-content-justification-right{gap:.35rem!important}
 .hp-brand{gap:.45rem}.hp-brand span{font-size:1.1rem}
}
.woocommerce-cart-form .product-quantity{display:none!important}
/* upsell */
.woocommerce-info,.woocommerce-message{background:var(--wp--preset--color--accent-5)!important;border:1px solid var(--wp--preset--color--accent-4)!important;border-left:4px solid var(--wp--preset--color--accent-1)!important;color:var(--wp--preset--color--contrast)!important;border-radius:10px}
.woocommerce-info::before,.woocommerce-message::before{color:var(--wp--preset--color--accent-1)!important}
.cross-sells ul.products{display:grid!important;grid-template-columns:repeat(2,1fr);gap:16px}
.cross-sells ul.products::before,.cross-sells ul.products::after{display:none!important}
.cross-sells ul.products li.product{width:auto!important;margin:0!important;float:none!important}
.cross-sells ul.products li.product .woocommerce-loop-product__title{font-size:.95rem}
.cross-sells ul.products li.product .button{padding:.45rem .9rem;font-size:.85rem}
.hp-save{background:#fff7e6}
