/* Integration layer between original Hamov Aygi frontend and WordPress + WooCommerce. */
:root{--hamov-green:#20562c}
body.admin-bar .header{top:32px}
.hamov-lang-picker{display:flex;gap:3px;background:#edf4eb;padding:4px;border-radius:12px;flex-shrink:0}
.hamov-lang-picker a{font-size:11px;font-weight:800;color:#496a50;padding:6px 7px;border-radius:8px}
.hamov-lang-picker a.active,.hamov-lang-picker a[aria-current=true]{background:var(--green);color:white}
.hamov-page{min-height:460px;padding-bottom:90px}.hamov-page .inner-title{margin:28px 0}.hamov-page-content{margin-bottom:40px}
.hamov-catalog-content{min-width:0}.hamov-shop-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.hamov-shop-toolbar .woocommerce-result-count{margin:0;color:#60745f;font-size:13px}.hamov-shop-toolbar .woocommerce-ordering{margin:0}.hamov-shop-toolbar .orderby{border:1px solid #e3e9df;border-radius:10px;padding:10px;background:#fff;color:#305238}
.hamov-pagination{margin:30px 0}.hamov-pagination ul.page-numbers,.hamov-pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px;list-style:none;align-items:center;padding:0}.hamov-pagination a.page-numbers,.hamov-pagination span.page-numbers{display:block;border:1px solid #dfe8db;border-radius:10px;padding:8px 13px}.hamov-pagination .current{background:var(--green);color:white}
.hamov-purchase button:disabled{opacity:.45;cursor:not-allowed}.hamov-purchase .product-image img{width:100%;height:100%;object-fit:contain}
.detail-desc{margin:13px 0}.detail-desc p{margin:.7em 0}.product-card .product-image{overflow:hidden}
.hamov-view-product{display:grid;place-items:center;color:white!important}
.weight-option.selected,.weight-option.active{border-color:var(--green);background:#eff7ea}
.hamov-native-add{padding:20px 0}.hamov-native-add .quantity input.qty{width:80px;padding:11px;border:1px solid #cddfcb;border-radius:10px}.hamov-native-add button.single_add_to_cart_button{background:var(--green);color:white;padding:14px 20px;border:0;border-radius:12px}
.woocommerce div.product,.woocommerce-page div.product{margin-bottom:0}.woocommerce-notices-wrapper{margin:15px 0}.woocommerce-message,.woocommerce-info{border-top-color:#20562c!important;border-radius:12px;background:#eff6e9;padding:17px 20px!important}.woocommerce-message::before,.woocommerce-info::before{color:#20562c!important}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce #payment #place_order{border-radius:10px;background:var(--green);color:white;padding:14px 18px;border:0;font-weight:700}.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover{background:#143e21;color:white}
.woocommerce-cart-form,.woocommerce-checkout,.woocommerce-account .woocommerce{max-width:100%}
.woocommerce table.shop_table{border:1px solid var(--border)!important;border-radius:14px;overflow:hidden;border-collapse:separate}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:15px}.woocommerce table.shop_table a{color:var(--dark)}
.woocommerce table.shop_table .product-thumbnail img{width:90px;height:90px;object-fit:contain}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce .select2-container .select2-selection--single{border:1px solid #dfe8dc;border-radius:10px;padding:10px;background:#fff;min-height:42px}
.woocommerce form .form-row{padding:4px}.woocommerce .cart-collaterals .cart_totals,.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{float:none;width:100%}
.woocommerce .cart-collaterals .cart_totals{max-width:480px;margin-left:auto}
.woocommerce .col2-set{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;align-items:start}
/* WooCommerce clearfix pseudo-elements would otherwise take the first grid cells and push the columns. */
.woocommerce .col2-set::before,.woocommerce .col2-set::after{display:none!important;content:none!important}
.woocommerce form .form-row textarea.input-text{border:1px solid #dfe8dc;border-radius:10px;padding:10px;background:#fff;min-height:96px}
.woocommerce-checkout #payment{background:#f5f9f2;border-radius:14px}.woocommerce-checkout #order_review_heading{margin-top:28px}
.woocommerce-checkout #payment div.payment_box{background:#e7f1e2;color:#2f4535;border-radius:10px}.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#e7f1e2}
.woocommerce .quantity .qty{padding:8px;border:1px solid #d5e2d4;border-radius:8px;width:82px}
.hamov-cart-quantity{display:inline-flex;align-items:center;gap:0;border:1px solid #dbe6d8;border-radius:10px;overflow:hidden;min-width:130px}
.hamov-cart-quantity button{background:white;border:0;color:var(--green);font-size:18px;font-weight:700;padding:7px 13px}.hamov-cart-quantity button:hover{background:#eaf4e6}
.hamov-cart-quantity span{font-weight:700;font-size:12px;text-align:center;min-width:54px}
.woocommerce .product-quantity{min-width:125px}.woocommerce td.product-name .variation{font-size:12px}
.woocommerce .woocommerce-form-coupon-toggle{margin:25px 0}
.wc-block-cart,.wc-block-checkout{max-width:1100px}
.woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;margin:0 0 24px;padding:0;display:flex;flex-wrap:wrap;gap:7px}
.woocommerce .woocommerce-MyAccount-navigation li{border:1px solid #e4eade;border-radius:10px;padding:9px 12px}
@media(max-width:1180px){.hamov-lang-picker a{padding:5px}.header-main{gap:12px}.brand{flex-basis:215px}.brand img{width:215px}}
@media(max-width:920px){.woocommerce .col2-set{grid-template-columns:minmax(0,1fr)}.hamov-lang-picker{order:5}.header-actions{gap:7px}.hamov-lang-picker a{font-size:10px}}
@media(max-width:720px){.hamov-shop-toolbar{justify-content:flex-start}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:9px}.woocommerce-cart-form{overflow-x:auto}.hamov-page{padding-bottom:35px}.hamov-lang-picker{gap:0}.hamov-lang-picker a{padding:5px}.header-actions{gap:5px}}
@media(max-width:500px){.hamov-lang-picker{position:absolute;right:12px;top:77px;z-index:5}.header-main{position:relative}.woocommerce table.shop_table .product-thumbnail{display:none}.woocommerce table.shop_table .product-quantity{min-width:125px}.woocommerce table.shop_table .product-name{min-width:160px}}
.woocommerce form .form-row.hamov-hidden-field{display:none!important}.hamov-delivery-info{line-height:1.6}.woocommerce form .form-row .description{font-size:11px;color:#6d7b70}
.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{padding-left:3.2em!important}
.hamov-legal{max-width:820px;color:#2f4535;font-size:14px;line-height:1.75}.hamov-legal h2{font-size:19px;color:var(--ink,#193c27);margin:28px 0 10px}.hamov-legal ul{padding-left:20px}.hamov-legal a{color:#20562c;text-decoration:underline}.hamov-legal .hamov-legal-card{list-style:none;padding:14px 18px;background:#f5f9f2;border-radius:12px}
.footer .footer-grid{grid-template-columns:1.4fr repeat(4,1fr)}@media(max-width:860px){.footer .footer-grid{grid-template-columns:1fr 1fr}}
.hamov-service .hamov-service-lead{font-size:16px;color:#23412b;font-weight:600}.hamov-service ol{padding-left:22px}.hamov-service-cta{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 8px}

/* Day 8: responsive polish (23 Nov 2026). Touch targets, compact mobile header, catalog chips. */
.category-toggle{white-space:nowrap;padding-left:13px;padding-right:13px;gap:6px}
.hamov-shop-toolbar .woocommerce-result-count{flex:1 1 auto;text-align:left}
.hamov-footer-logo{display:block;width:176px;max-width:100%;height:auto;background:#fff;border-radius:14px;padding:7px 11px;margin-bottom:12px}
.hamov-cat-chips{display:none}
.hamov-pagination a.page-numbers,.hamov-pagination span.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;box-sizing:border-box}
.woocommerce nav.woocommerce-pagination ul,.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce form .form-row label{line-height:1.45;overflow-wrap:anywhere}
.woocommerce-cart-form button[name=update_cart]{display:none!important}.woocommerce-cart-form td.actions:not(:has(.coupon)){display:none}
.woocommerce ul#shipping_method{text-align:left}.woocommerce ul#shipping_method li{display:flex;align-items:flex-start;gap:8px;margin-bottom:8px}.woocommerce ul#shipping_method li label{margin:0}
.woocommerce ul#shipping_method li input,.woocommerce-checkout #payment input[type=radio]{width:20px;height:20px;flex:0 0 20px;margin:2px 0 0;accent-color:var(--green)}
.woocommerce-checkout #payment ul.payment_methods li>label{display:inline;margin-left:6px}
@media(max-width:1150px){.category-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.topbar .top-right{display:none}.topbar-inner{justify-content:center}.top-item{white-space:nowrap}}
@media(max-width:860px){
 .hamov-cat-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;margin-bottom:6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .hamov-cat-chips::-webkit-scrollbar{display:none}
 .hamov-cat-chips a{flex:0 0 auto;display:inline-flex;align-items:center;min-height:40px;padding:0 15px;border:1px solid #dfe8db;border-radius:999px;background:#fff;color:#305238;font-size:13px;font-weight:700;white-space:nowrap}
 .hamov-cat-chips a.selected{background:var(--green);border-color:var(--green);color:#fff}
 .hamov-lang-picker a{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:34px;padding:0 3px;font-size:11px}
 .search-box input,.hamov-shop-toolbar .orderby,.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{font-size:16px}
 .card-preset{gap:4px}.card-preset-btn{flex:1 1 auto;min-height:36px;padding:3px;font-size:11px;white-space:nowrap}
 .card-qty{height:40px}.card-qty button{width:38px;flex:0 0 38px;height:38px}.card-qty span{font-size:12px}
 .card-total small{font-size:11px}.card-total strong{font-size:14px}.card-add{min-height:42px;font-size:13px}
 .woocommerce a.remove{display:grid;place-items:center;width:38px;height:38px;line-height:1}
 .hamov-cart-quantity button{min-width:40px;min-height:40px}
 .woocommerce .woocommerce-MyAccount-navigation li{padding:0}.woocommerce .woocommerce-MyAccount-navigation li a{display:block;padding:10px 13px}
}
@media(max-width:760px){.topbar .hide-mobile{display:none}}
@media(max-width:620px){
 .header-main{gap:8px;padding:8px 0}
 .header-actions{display:contents}
 .mobile-menu-btn{order:1}
 .brand{order:2;flex:1 1 calc(100% - 118px);min-width:0}.brand img{width:158px;height:auto}
 .cart-trigger{order:3;height:42px}
 .search-box{order:4;flex:1 1 0;min-width:0;margin-top:0;padding:2px 3px 2px 11px}
 .search-box input{padding:7px 4px}.search-box button{width:40px;height:38px}
 .hamov-lang-picker{order:5;position:static;flex:0 0 auto;gap:0;padding:3px}
 .footer-bottom span{display:block}
}
@media(max-width:480px){.woocommerce form .form-row-first,.woocommerce form .form-row-last{float:none;width:100%}}
.woocommerce nav.woocommerce-pagination ul li a.page-numbers,.woocommerce nav.woocommerce-pagination ul li span.page-numbers{min-width:42px;min-height:42px;padding:8px 12px}
@media(max-width:768px){.woocommerce ul#shipping_method{clear:both;padding-top:8px}}
@media(max-width:620px){.search-box input::placeholder{font-size:14px}.header.is-compact .search-box,.header.is-compact .hamov-lang-picker{display:none}}
@media(max-width:600px){body.admin-bar .header{top:0}}
@media(min-width:601px) and (max-width:782px){body.admin-bar .header{top:46px}}
.woocommerce nav.woocommerce-pagination ul{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:6px;overflow:visible}.woocommerce nav.woocommerce-pagination ul li{float:none;overflow:visible}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--green);border-color:var(--green);color:#fff}
@media(min-width:621px) and (max-width:860px){.cart-trigger .cart-price{display:none}}
/* Social links, messengers and share buttons (inc/social.php) */
.hamov-icon{width:18px;height:18px;flex:0 0 auto;vertical-align:-4px}
.footer a.hamov-messenger{display:flex;align-items:center;gap:7px;min-height:24px}
.hamov-social{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.footer .hamov-social a{display:grid;place-items:center;width:40px;height:40px;margin:0;border-radius:50%;background:rgba(255,255,255,.1);color:#eaf1e7;transition:background .15s}
.footer .hamov-social a:hover,.footer .hamov-social a:focus-visible{background:rgba(255,255,255,.22);color:#fff}
.hamov-social .hamov-icon{width:20px;height:20px}
.hamov-ask{margin-top:20px;display:grid;gap:10px}
.hamov-ask-buttons{display:flex;flex-wrap:wrap;gap:10px}
.hamov-ask-buttons .btn{flex:1 1 140px;margin:0;gap:8px;color:#fff}
.hamov-btn-wa{background:#1f8f4e}.hamov-btn-wa:hover{background:#18763f}
.hamov-btn-viber{background:#6f4bb8}.hamov-btn-viber:hover{background:#5b3b9b}
.hamov-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px;font-size:13px;font-weight:700;color:var(--muted)}
.hamov-share a,.hamov-share button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;height:44px;padding:0 10px;border:1px solid var(--border);border-radius:12px;background:#fff;color:var(--green);font:inherit;font-size:12px;cursor:pointer}
.hamov-share a:hover,.hamov-share button:hover{background:var(--lime)}
.hamov-share button.copied{border-color:#5c9c61;background:#eaf6e8}
@media(max-width:420px){.hamov-share-copy span{display:none}}

/* 26 Nov 2026: category list hover changes colour only (bold made the text jump); cart remove button is a bin on the right. */
.side-link:hover:not(.selected){font-weight:inherit}
.woocommerce table.shop_table td.product-remove{width:56px;text-align:center}
.woocommerce a.remove{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:10px;font-size:18px;line-height:1;color:inherit!important;filter:grayscale(1);opacity:.6;transition:opacity .15s,background .15s}
.woocommerce a.remove:hover{background:#fdecea!important;opacity:1;filter:none}
@media(max-width:768px){.woocommerce table.shop_table td.product-remove{width:auto;text-align:right!important}}
