/* House of Cosmetics — WooCommerce brand styling */

/* ---------------------------------------------- header cart ---------- */
.hoc-cart{display:inline-flex;align-items:center;gap:7px;color:var(--hoc-text);text-decoration:none;font-size:14px;line-height:1;transition:opacity .2s}
.hoc-cart:hover{opacity:.7}
.hoc-cart-count{min-width:19px;height:19px;padding:0 5px;border-radius:19px;background:var(--hoc-maroon);color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}

/* ---------------------------------------------- catalogue ------------ */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;margin:0;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:#fff;padding:18px 18px 24px;text-align:center;position:relative;display:flex;flex-direction:column}
.woocommerce ul.products li.product a img{margin:0 0 14px;background:#fff}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:'URWGothic-Book',Arial,sans-serif;font-size:16px;font-weight:700;line-height:1.4;color:var(--hoc-text);padding:0 0 6px}
.woocommerce ul.products li.product .price{color:var(--hoc-text);font-size:17px;font-weight:700;margin-bottom:12px}
.woocommerce ul.products li.product .price del{opacity:.55;font-weight:400;margin-right:6px}
.woocommerce ul.products li.product .price ins{background:transparent;color:var(--hoc-red);text-decoration:none}
.woocommerce ul.products li.product .star-rating{margin:0 auto 8px}
.woocommerce span.onsale{position:absolute;top:12px;left:12px;right:auto;min-width:0;min-height:0;line-height:1;padding:6px 11px;border-radius:0;background:var(--hoc-red);color:#fff;font-family:'URWGothic-Book',Arial,sans-serif;font-size:11px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;margin:0}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .added_to_cart{margin-top:auto;display:inline-block;background:transparent;border:1px solid var(--hoc-dark);border-radius:1px;color:var(--hoc-dark);font-family:'URWGothic-Book',Arial,sans-serif;font-size:13px;font-weight:700;letter-spacing:1px;text-transform:uppercase;padding:11px 20px;transition:.2s}
.woocommerce ul.products li.product .button:hover{background:var(--hoc-dark);color:#fff}
.woocommerce ul.products li.product .added_to_cart{border-color:var(--hoc-maroon);color:var(--hoc-maroon);margin-top:8px}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{color:var(--hoc-body);font-size:14px;margin-bottom:22px}
.woocommerce .woocommerce-ordering select{padding:8px 10px;border:1px solid rgba(61,0,0,.3);background:#fff;font-family:'URWGothic-Book',Arial,sans-serif}
.woocommerce nav.woocommerce-pagination ul{border:0;margin-top:36px}
.woocommerce nav.woocommerce-pagination ul li{border:0;margin:0 3px}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{padding:9px 14px;background:#fff;color:var(--hoc-text);font-size:14px}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--hoc-maroon);color:#fff}

/* ---------------------------------------------- archives ------------- */
body.woocommerce-shop .site-main,body.tax-product_cat .site-main,body.tax-product_brand .site-main,body.single-product .site-main,body.woocommerce-cart .site-main,body.woocommerce-checkout .site-main,body.woocommerce-account .site-main{max-width:1240px;margin:0 auto;padding:0 20px 90px}
/* Archives open with a full-bleed title band, so only these three need a top gap. */
body.woocommerce-cart .site-main,body.woocommerce-checkout .site-main,body.woocommerce-account .site-main{padding-top:60px}
body.woocommerce-shop,body.tax-product_cat,body.tax-product_brand,body.single-product,body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account{background:var(--hoc-blush)}
.woocommerce-products-header{background:var(--hoc-maroon);margin:0 -20px 46px;padding:52px 20px 44px;text-align:center}
.woocommerce-products-header__title{font-family:'URWGothic-Book',Arial,sans-serif!important;font-size:clamp(28px,4vw,40px);font-weight:500;letter-spacing:2px;text-transform:uppercase;color:#fff;margin:0}
.woocommerce-products-header .term-description{color:rgba(255,255,255,.85);max-width:760px;margin:14px auto 0}

/* ---------------------------------------------- single product ------- */
.single-product div.product{background:#fff;padding:38px;margin-top:46px}
.single-product div.product .product_title{font-family:Forum,Georgia,serif;font-size:clamp(28px,4vw,42px);line-height:1.15;color:var(--hoc-text)}
.single-product div.product p.price{color:var(--hoc-text);font-size:26px;font-weight:700}
.single-product div.product p.price del{opacity:.5;font-weight:400}
.single-product div.product p.price ins{background:transparent;color:var(--hoc-red);text-decoration:none}
.single-product .woocommerce-product-details__short-description{color:var(--hoc-body);line-height:1.75}
.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--hoc-dark);border:1px solid var(--hoc-dark);border-radius:1px;color:#fff;font-family:'URWGothic-Book',Arial,sans-serif;font-size:14px;font-weight:700;letter-spacing:1px;text-transform:uppercase;padding:14px 30px;transition:.2s}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--hoc-maroon);border-color:var(--hoc-maroon);color:#fff}
.single-product div.product .quantity input.qty{padding:12px 8px;border:1px solid rgba(61,0,0,.3);font-family:'URWGothic-Book',Arial,sans-serif}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin-bottom:0}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{border-bottom-color:rgba(61,0,0,.15)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent;border:0;border-radius:0;padding:0;margin:0 22px 0 0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-family:'URWGothic-Book',Arial,sans-serif;font-weight:700;font-size:14px;letter-spacing:1px;text-transform:uppercase;color:var(--hoc-body);padding:14px 0}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--hoc-text);box-shadow:inset 0 -2px 0 var(--hoc-maroon)}
.woocommerce div.product .woocommerce-tabs .panel h2{font-family:Forum,Georgia,serif;font-size:26px;color:var(--hoc-text)}
.related.products>h2,.up-sells>h2,.cross-sells>h2{font-family:Forum,Georgia,serif;font-size:32px;color:var(--hoc-text);margin:56px 0 26px}
.woocommerce .product_meta{font-size:13px;color:var(--hoc-body);border-top:1px solid rgba(61,0,0,.12);padding-top:16px;margin-top:22px}

/* ---------------------------------------------- block cart/checkout -- */
body.woocommerce-cart,body.woocommerce-checkout{background:var(--hoc-blush)}
.wc-block-cart,.wc-block-checkout{background:#fff;padding:34px}
.wc-block-cart table.wc-block-cart-items{background:transparent}
.wc-block-cart-items__header{font-family:'URWGothic-Book',Arial,sans-serif;text-transform:uppercase;letter-spacing:1px;font-size:12px;color:var(--hoc-text)}
.wc-block-components-product-name{font-family:'URWGothic-Book',Arial,sans-serif;font-weight:700;color:var(--hoc-text);text-decoration:none}
.wc-block-components-product-name:hover{color:var(--hoc-maroon)}
.wc-block-components-totals-item__label{font-family:'URWGothic-Book',Arial,sans-serif;color:var(--hoc-text)}
.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button,.wc-block-components-button:not(.is-link){background:var(--hoc-dark)!important;border:1px solid var(--hoc-dark)!important;border-radius:1px!important;color:#fff!important;font-family:'URWGothic-Book',Arial,sans-serif!important;font-weight:700!important;letter-spacing:1px!important;text-transform:uppercase!important}
.wc-block-cart__submit-button:hover,.wc-block-components-checkout-place-order-button:hover{background:var(--hoc-maroon)!important;border-color:var(--hoc-maroon)!important}
.wc-block-components-sale-badge{background:var(--hoc-red);color:#fff;border-radius:0}
.wp-block-woocommerce-cart-order-summary-block,.wc-block-components-sidebar{background:var(--hoc-cream);padding:22px}
@media(max-width:767px){
 body.woocommerce-cart .wp-site-blocks,body.woocommerce-checkout .wp-site-blocks{padding:34px 14px 60px}
 .wc-block-cart,.wc-block-checkout{padding:18px}
}

/* ---------------------------------------------- notices / cart ------- */
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--hoc-maroon);background:#fff;font-size:15px}
.woocommerce-message::before,.woocommerce-info::before{color:var(--hoc-maroon)}
.woocommerce table.shop_table{background:#fff;border-radius:0}
.woocommerce table.shop_table th{font-family:'URWGothic-Book',Arial,sans-serif;text-transform:uppercase;letter-spacing:1px;font-size:13px;color:var(--hoc-text)}
.woocommerce-cart .cart-collaterals .cart_totals>h2,.woocommerce-checkout h3{font-family:Forum,Georgia,serif;color:var(--hoc-text)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container--default .select2-selection--single{padding:12px 14px;border:1px solid rgba(61,0,0,.3);background:#fff;font-family:'URWGothic-Book',Arial,sans-serif;font-size:15px}

/* ---------------------------------------------- brand index ---------- */
.hoc-brand-index{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.hoc-brand-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;background:#fff;border:1px solid rgba(61,0,0,.18);color:var(--hoc-text);font-family:'URWGothic-Book',Arial,sans-serif;font-size:14px;text-decoration:none;transition:.2s}
.hoc-brand-chip:hover{background:var(--hoc-maroon);border-color:var(--hoc-maroon);color:#fff}
.hoc-brand-chip span{min-width:20px;height:20px;padding:0 6px;border-radius:20px;background:var(--hoc-blush);color:var(--hoc-text);font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.hoc-brand-chip:hover span{background:rgba(255,255,255,.9)}

/* ---------------------------------------------- responsive ----------- */
@media(max-width:1024px){.woocommerce ul.products{grid-template-columns:repeat(3,1fr);gap:20px}}
@media(max-width:767px){
 .woocommerce ul.products{grid-template-columns:repeat(2,1fr);gap:14px}
 .woocommerce ul.products li.product{padding:12px 12px 18px}
 .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px}
 .woocommerce ul.products li.product .button{font-size:11px;padding:9px 12px}
 .single-product div.product{padding:20px}
 .woocommerce-products-header{padding:34px 20px 30px;margin-bottom:30px}
}
