/* WooCommerce presentation refinements; loaded after the base theme styles. */

/* Sort dropdown */
body .woocommerce-ordering select{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;box-sizing:border-box!important;min-width:230px;height:auto!important;min-height:48px!important;padding:12px 48px 12px 18px!important;font-family:inherit!important;font-size:14px!important;line-height:1.3!important;color:#171311!important;border:1px solid rgba(23,19,17,.22)!important;border-radius:0!important;background-color:transparent!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23171311' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 18px center!important;background-size:12px 8px!important;cursor:pointer}

/* Quantity box: centred number, no spinner arrows (so no white spinner background either) */
body .quantity input.qty,body .quantity input[type=number]{text-align:center!important;padding:0!important;-moz-appearance:textfield!important;appearance:textfield!important;background:transparent!important;box-sizing:border-box}
body .quantity input.qty::-webkit-outer-spin-button,body .quantity input.qty::-webkit-inner-spin-button,
body .quantity input[type=number]::-webkit-outer-spin-button,body .quantity input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none!important;appearance:none!important;margin:0!important;display:none!important;opacity:0!important;background:transparent!important}
body.single-product form.cart{display:flex!important;align-items:stretch;flex-wrap:wrap;gap:12px}
body.single-product form.cart .quantity{margin:0!important;display:flex}
body.single-product form.cart .quantity input.qty{width:76px!important;min-height:52px;height:auto!important}
body.single-product form.cart .single_add_to_cart_button{margin:0!important}

/* Quantity stepper: [-] number [+] in one bordered box, same height as the Add to Cart button (extra-strong selectors so theme/WooCommerce rules cannot move it) */
html body .quantity.hemora-qty.hemora-qty.hemora-qty.hemora-qty{display:inline-flex!important;flex:0 0 auto!important;align-items:stretch!important;align-self:stretch!important;width:132px!important;min-height:54px!important;margin:0!important;padding:0!important;position:static!important;float:none!important;border:1px solid rgba(23,19,17,.22)!important;background:transparent!important;box-sizing:border-box!important}
html body .quantity.hemora-qty.hemora-qty.hemora-qty.hemora-qty input.qty{flex:1 1 auto!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;text-align:center!important;font-size:15px!important;line-height:1!important}
html body .quantity.hemora-qty.hemora-qty.hemora-qty.hemora-qty .hq-btn{flex:0 0 40px!important;display:flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#171311!important;font-family:inherit!important;font-size:18px!important;line-height:1!important;cursor:pointer;transition:background .2s ease}
html body .quantity.hemora-qty.hemora-qty.hemora-qty.hemora-qty .hq-btn:hover{background:rgba(196,169,107,.22)!important}
html body .quantity.hemora-qty.hemora-qty.hemora-qty.hemora-qty .hq-btn:focus-visible{outline:2px solid #c4a96b;outline-offset:-2px}
html body.single-product form.cart{display:flex!important;align-items:stretch!important;flex-wrap:wrap;gap:12px;margin-left:0!important;padding-left:0!important}
html body.single-product form.cart .single_add_to_cart_button{align-self:stretch!important;height:auto!important;min-height:54px!important;margin:0!important}

/* Notices (added to cart etc.): icon was overlapping the text */
body .woocommerce-message,body .woocommerce-info,body .woocommerce-error{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:16px 22px!important;margin:0 0 28px!important;list-style:none!important;border:1px solid rgba(23,19,17,.14)!important;border-top:2px solid #c4a96b!important;box-sizing:border-box;line-height:1.5!important;overflow-wrap:anywhere}
body .woocommerce-message::before,body .woocommerce-info::before,body .woocommerce-error::before{display:none!important;content:none!important}
body .woocommerce-message .button,body .woocommerce-info .button{order:3;margin:0 0 0 auto!important;float:none!important;flex:0 0 auto;white-space:nowrap}
body .woocommerce-error{flex-direction:column!important;align-items:flex-start!important}
@media(max-width:600px){body .woocommerce-message,body .woocommerce-info{flex-wrap:wrap!important;padding:14px 16px!important}body .woocommerce-message .button,body .woocommerce-info .button{order:4;width:100%;margin:6px 0 0!important;text-align:center}}

/* Hover zoom: image only, clipped inside its frame (shop / category / tag grids, related products) */
body .hemora-thumb{display:block;position:relative;aspect-ratio:4/5;overflow:hidden;contain:paint;margin:0 0 var(--thumb-gap,18px)}
body .hemora-thumb img{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;margin:0!important;transition:transform .6s cubic-bezier(.2,.7,.2,1);will-change:transform}
@media(hover:hover) and (pointer:fine){
body ul.products li.product:hover .hemora-thumb img{transform:scale(1.07)}
body .category{overflow:hidden}
body .category img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
body .category:hover img{transform:scale(1.06)}
body .arrival-image-wrap{overflow:hidden}
body .arrival-image-wrap img{transition:transform .5s cubic-bezier(.2,.7,.2,1)}
body .arrival-image-wrap:hover img{transform:scale(1.05)}
}
@media(prefers-reduced-motion:reduce){body .hemora-thumb img,body .category img,body .arrival-image-wrap img{transition:none!important}body ul.products li.product:hover .hemora-thumb img,body .category:hover img,body .arrival-image-wrap:hover img{transform:none!important}}

/* Shop cards: WooCommerce's small "View cart" link is replaced by a toast at the top of the page (see script below) */
body ul.products li.product .added_to_cart{display:none!important}
#hemora-toast{position:fixed;left:50%;top:max(16px,env(safe-area-inset-top));z-index:99999;display:flex;align-items:center;gap:14px;box-sizing:border-box;width:max-content;max-width:min(92vw,620px);padding:14px 16px 14px 20px;background:#171311;color:#f6f3ec;border-top:2px solid #c4a96b;box-shadow:0 18px 40px rgba(23,19,17,.28);font-size:14px;line-height:1.45;transform:translate(-50%,-160%);opacity:0;visibility:hidden;pointer-events:none;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s ease,visibility 0s linear .45s}
#hemora-toast.show{transform:translate(-50%,0);opacity:1;visibility:visible;pointer-events:auto;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s ease}
#hemora-toast .ht-icon{flex:0 0 auto;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#c4a96b;color:#171311;font-size:12px;font-weight:700}
#hemora-toast .ht-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
#hemora-toast .ht-link{flex:0 0 auto;padding:10px 16px;background:#c4a96b;color:#171311;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;white-space:nowrap}
#hemora-toast .ht-link:hover{background:#d6bc82}
#hemora-toast .ht-close{flex:0 0 auto;width:28px;height:28px;padding:0;border:0;background:transparent;color:#f6f3ec;font-size:22px;line-height:1;cursor:pointer;opacity:.7}
#hemora-toast .ht-close:hover{opacity:1}
@media(max-width:560px){#hemora-toast{width:92vw;flex-wrap:wrap;padding:14px 14px 14px 16px;gap:10px}#hemora-toast .ht-text{flex:1 1 calc(100% - 80px)}#hemora-toast .ht-link{flex:1 1 100%;order:3;text-align:center}}
@media(prefers-reduced-motion:reduce){#hemora-toast,#hemora-toast.show{transition:opacity .2s ease}}

/* Cart & checkout (WooCommerce blocks): empty-cart screen, "New in store" grid, buttons */
html body .wp-block-woocommerce-empty-cart-block{width:100%!important;max-width:none!important;margin:0!important;padding:24px 0 8px;text-align:center;box-sizing:border-box}
html body .wc-block-cart__empty-cart__title,html body .wp-block-woocommerce-empty-cart-block h2.wc-block-cart__empty-cart__title{font-size:clamp(24px,3vw,34px)!important;line-height:1.3!important;font-weight:400!important;letter-spacing:0!important;word-spacing:normal!important;margin:0 0 8px!important;text-transform:none!important;color:#171311}
html body .wc-block-cart__empty-cart__title::before,html body .wc-block-cart__empty-cart__title.with-empty-cart-icon::before{content:""!important;display:block!important;width:56px!important;height:56px!important;margin:0 auto 18px!important;padding:0!important;background:#c4a96b!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.2' stroke-linejoin='round'%3E%3Cpath d='M5 7h14l1 14H4L5 7Z M8 8V6a4 4 0 0 1 8 0v2'/%3E%3C/svg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.2' stroke-linejoin='round'%3E%3Cpath d='M5 7h14l1 14H4L5 7Z M8 8V6a4 4 0 0 1 8 0v2'/%3E%3C/svg%3E") center/contain no-repeat!important}
html body .wp-block-woocommerce-empty-cart-block hr.wp-block-separator{margin:28px auto!important;border:0;max-width:240px;color:#c4a96b}
html body .wp-block-woocommerce-empty-cart-block hr.wp-block-separator::before{color:#c4a96b!important;letter-spacing:1.6em!important;padding-left:1.6em}
html body .wp-block-woocommerce-empty-cart-block h2.wp-block-heading{font-size:clamp(30px,4.2vw,50px)!important;line-height:1.15!important;letter-spacing:-.01em!important;font-weight:400!important;margin:36px 0 34px!important;text-align:center!important;color:#171311}
html body .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 28px;margin:0!important;padding:0!important;list-style:none!important;text-align:left}
html body .wp-block-woocommerce-empty-cart-block li.wc-block-grid__product{display:flex!important;flex-direction:column;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;text-align:left!important;flex:none!important}
html body .wc-block-grid__product-link{display:block;text-decoration:none!important}
html body .wc-block-grid__product-image{aspect-ratio:4/5;overflow:hidden;margin:0 0 16px!important;width:100%!important;position:relative}
html body .wc-block-grid__product-image img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;margin:0!important;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
html body .wc-block-grid__product-title{display:block;padding:0!important;margin:0 0 6px!important;font-family:'HemoraBodoni',Georgia,'Times New Roman',serif!important;font-size:24px!important;font-weight:400!important;line-height:1.2!important;letter-spacing:.01em!important;text-decoration:none!important;border:0!important;color:#171311!important;text-align:left!important}
html body .wc-block-grid__product-title:hover{color:#8a7340!important}
html body .wc-block-grid__product-price{margin:0 0 14px!important;font-size:14px!important;color:#6b645c!important;text-align:left!important}
html body .wc-block-grid__product-add-to-cart{margin:auto 0 0!important;text-align:left!important}
html body .wc-block-grid__product-add-to-cart .wp-block-button__link,html body .wc-block-components-button:not(.is-link),html body .wp-block-woocommerce-cart .wp-block-button__link,html body .wp-block-woocommerce-checkout .wp-block-button__link{display:inline-block;background:#c4a96b!important;color:#171311!important;border:0!important;border-radius:0!important;padding:16px 28px!important;font-size:12px!important;font-weight:600!important;letter-spacing:.14em!important;text-transform:uppercase!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer;transition:background .2s ease}
html body .wc-block-grid__product-add-to-cart .wp-block-button__link:hover,html body .wc-block-components-button:not(.is-link):hover{background:#d6bc82!important;color:#171311!important}
html body .wc-block-grid__product-add-to-cart .wp-block-button__link *,html body .wc-block-components-button__text{text-decoration:none!important}
@media(hover:hover) and (pointer:fine){html body .wc-block-grid__product:hover .wc-block-grid__product-image img{transform:scale(1.07)}}
@media(max-width:1100px){html body .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){html body .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px}html body .wc-block-grid__product-title{font-size:19px!important}html body .wc-block-grid__product-add-to-cart .wp-block-button__link{padding:14px 16px!important;width:100%;text-align:center}}
@media(max-width:380px){html body .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products{grid-template-columns:1fr}}

/* Cart/checkout pages: let the blocks use the full content width (something was capping them at ~1300px and left-aligning them) */
html body.woocommerce-cart .page-content,html body.woocommerce-cart .entry,html body.woocommerce-checkout .page-content,html body.woocommerce-checkout .entry,html body.woocommerce-cart .wp-block-woocommerce-cart,html body.woocommerce-checkout .wp-block-woocommerce-checkout,html body.woocommerce-cart .wp-block-woocommerce-cart>*,html body .wp-block-woocommerce-empty-cart-block,html body .wp-block-woocommerce-empty-cart-block>*,html body .wp-block-woocommerce-empty-cart-block .wc-block-grid,html body .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
html body .wp-block-woocommerce-empty-cart-block>hr.wp-block-separator{width:auto!important;max-width:240px!important;margin-left:auto!important;margin-right:auto!important}

/* Empty cart (v1.1.13): message as a top bar, products below laid out like the shop grid */
html body .wp-block-woocommerce-empty-cart-block{text-align:left!important;padding-top:0!important}
html body .hemora-empty-bar,html body .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title{display:flex!important;align-items:center;justify-content:space-between;gap:16px;width:100%;box-sizing:border-box;margin:0 0 44px!important;padding:16px 22px!important;border:1px solid rgba(23,19,17,.14)!important;border-top:2px solid #c4a96b!important;background:rgba(23,19,17,.03);text-align:left!important;font-family:inherit!important;font-size:15px!important;font-weight:400!important;line-height:1.5!important;letter-spacing:0!important;color:#171311!important}
html body .wc-block-cart__empty-cart__title::before{display:none!important;content:none!important}
html body .hemora-empty-bar~.wc-block-cart__empty-cart__title{display:none!important}
html body .hemora-empty-bar .hb-left{display:flex;align-items:center;gap:12px;min-width:0}
html body .hemora-empty-bar .hb-icon{flex:0 0 auto;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#c4a96b;color:#171311;font-size:13px;font-weight:700;font-style:italic;font-family:Georgia,serif}
html body .hemora-empty-bar .hb-link{flex:0 0 auto;padding:11px 18px;background:#c4a96b;color:#171311;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;white-space:nowrap;transition:background .2s ease}
html body .hemora-empty-bar .hb-link:hover{background:#d6bc82}
html body .wp-block-woocommerce-empty-cart-block hr.wp-block-separator{display:none!important}
html body .wp-block-woocommerce-empty-cart-block h2.wp-block-heading{text-align:left!important;font-size:clamp(26px,3vw,38px)!important;margin:0 0 28px!important}
html body .wc-block-grid__product-title{font-size:20.5px!important}
html body .wc-block-grid__product-add-to-cart .wp-block-button__link{padding:13px 18px!important;font-size:11px!important}
@media(max-width:600px){html body .hemora-empty-bar,html body .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title{flex-wrap:wrap;padding:14px 16px!important}html body .hemora-empty-bar .hb-link{width:100%;text-align:center}}

/* Cart with items (v1.1.14): fonts, quantity selector, even button padding */
html body .wc-block-components-product-name,html body .wc-block-cart-item__product a.wc-block-components-product-name{font-family:'HemoraBodoni',Georgia,'Times New Roman',serif!important;font-size:22px!important;font-weight:400!important;line-height:1.2!important;letter-spacing:.01em!important;color:#171311!important;text-decoration:none!important;border:0!important;box-shadow:none!important;background:none!important}
html body .wc-block-components-product-name:hover{color:#8a7340!important}
html body .wc-block-cart-item__product .wc-block-components-product-price,html body .wc-block-cart-item__total .wc-block-components-product-price,html body .wc-block-cart-item__total{font-size:15px!important;font-weight:400!important;color:#171311!important}
html body .wc-block-cart-item__product .wc-block-components-product-metadata,html body .wc-block-components-product-metadata__description{font-size:14px!important;line-height:1.5!important;color:#6b645c!important}
html body .wc-block-cart-items__header th,html body .wc-block-cart-items__header span,html body .wc-block-cart__totals-title,html body .wp-block-woocommerce-cart-order-summary-heading-block{font-size:12px!important;font-weight:600!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:#171311!important}
html body .wc-block-components-quantity-selector{border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body .wc-block-components-quantity-selector::after{border-radius:0!important;border-color:rgba(23,19,17,.22)!important}
html body .wc-block-components-quantity-selector__input{font-family:inherit!important;font-size:15px!important;color:#171311!important;background:transparent!important}
html body .wc-block-components-quantity-selector__button{color:#171311!important;opacity:.75;background:transparent!important}
html body .wc-block-components-quantity-selector__button:hover{opacity:1;background:rgba(196,169,107,.22)!important}
html body .wc-block-cart-item__remove-link{color:#6b645c!important;font-size:13px!important;text-decoration:none!important}
html body .wc-block-cart-item__remove-link:hover{color:#171311!important}
html body .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font-family:'HemoraBodoni',Georgia,'Times New Roman',serif!important;font-size:26px!important;font-weight:400!important;letter-spacing:.01em!important;color:#171311!important}
html body .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,html body .wc-block-components-totals-footer-item .wc-block-formatted-money-amount{font-size:24px!important;font-weight:500!important;color:#171311!important}
html body .wc-block-components-totals-item__label,html body .wc-block-components-totals-coupon-link,html body .wc-block-components-panel__button{font-size:15px!important;color:#171311!important}
/* Buttons: text perfectly centred, equal top and bottom padding */
html body .wc-block-components-button:not(.is-link){display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;min-height:56px!important;padding:0 28px!important;line-height:1!important;text-align:center}
html body .wc-block-components-button:not(.is-link) .wc-block-components-button__text{display:block!important;margin:0!important;padding:0!important;line-height:1.2!important}
html body .wc-block-cart__submit-button,html body .wc-block-cart__submit-container .wc-block-components-button{width:100%!important}
html body .wc-block-grid__product-add-to-cart .wp-block-button__link{display:inline-flex!important;align-items:center;justify-content:center;min-height:0!important;line-height:1.2!important}

/* Safe guards for cart / checkout / account */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.woocommerce-cart-form,.woocommerce-MyAccount-content{overflow-x:auto}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row select,.woocommerce form .form-row textarea{max-width:100%;box-sizing:border-box}
@media(max-width:782px){body .woocommerce-result-count,body .woocommerce-ordering{float:none!important;width:100%!important;margin:0 0 14px!important}body .woocommerce-ordering select{width:100%!important}}
@font-face{font-family:'HemoraBodoni';src:url('../bodoni-regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
