/*
Theme Name: HeyCam WooCommerce
Theme URI: https://www.heycamtechnology.com/
Author: Custom conversion for HeyCam CCTV
Description: Custom WooCommerce-ready WordPress theme converted from the supplied HeyCam CCTV HTML website. Includes dynamic menus, blog, contact form, WooCommerce shop/cart/checkout/account support and starter content setup.
Version: 1.1.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: heycam
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root{--heycam-red:#e41e2b;--heycam-dark:#111b2b;--heycam-border:#e7e8eb}
/* The original HTML preloader is intentionally disabled. It waited for every
   remote image before revealing the page, which could block visitors for several seconds. */
.loader-wrap,.preloader,.handle-preloader{display:none!important}

.admin-bar .sticky-header{top:32px}
.heycam-commerce-links{display:flex;gap:10px;align-items:center;margin-right:14px;float:left}
.heycam-commerce-links a{position:relative;display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:50%;background:#fff;color:var(--heycam-dark);box-shadow:0 5px 20px rgba(0,0,0,.08)}
.heycam-commerce-links a:hover{background:var(--heycam-red);color:#fff}
.heycam-cart-count{position:absolute;right:-4px;top:-5px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--heycam-red);color:#fff;font-size:11px;line-height:20px;text-align:center}
.heycam-content-area{padding-top:90px;padding-bottom:90px;min-height:420px}
.heycam-entry{background:#fff;margin-bottom:35px}
.heycam-entry .entry-content>*:last-child{margin-bottom:0}
.single-featured-image img{width:100%;height:auto;border-radius:6px}
.entry-meta{margin:20px 0;color:#777}
.heycam-post-grid .news-block-one{height:100%}
.heycam-post-grid .image-box img{width:100%;height:270px;object-fit:cover}
.pagination-wrapper{margin-top:35px}
.nav-links{display:flex;gap:8px;flex-wrap:wrap}
.nav-links .page-numbers{padding:10px 15px;background:#f3f4f6;border-radius:4px}
.nav-links .current,.nav-links .page-numbers:hover{background:var(--heycam-red);color:#fff}
.heycam-sidebar .widget{padding:28px;background:#f6f6f6;margin-bottom:30px}
.widget-title{margin-bottom:18px}
.heycam-search-form{display:flex}
.heycam-search-form input{width:100%;border:1px solid var(--heycam-border);padding:12px}
.heycam-search-form button{border:0;background:var(--heycam-red);color:#fff;padding:0 18px}
.heycam-form-notice{max-width:1170px;margin:30px auto 0;padding:16px 20px;border-radius:4px}
.heycam-form-notice.success{background:#e9f7ef;color:#146c43}.heycam-form-notice.error{background:#fdecec;color:#a61b1b}
.heycam-honeypot{position:absolute!important;left:-9999px!important;opacity:0!important}

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb{margin-bottom:28px;color:#777}
.woocommerce .woocommerce-result-count{padding-top:8px}
.woocommerce .woocommerce-ordering select{border:1px solid var(--heycam-border);padding:10px 36px 10px 12px;background:#fff}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;padding:18px;background:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 8px 30px rgba(17,27,43,.06);transition:.25s}
.woocommerce ul.products li.product:hover{transform:translateY(-5px);box-shadow:0 15px 35px rgba(17,27,43,.12)}
.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:contain;background:#f6f6f6;border-radius:4px;margin-bottom:18px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:18px;color:var(--heycam-dark);padding:.25em 0}
.woocommerce ul.products li.product .price{color:var(--heycam-red);font-size:17px;font-weight:800}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--heycam-red);color:#fff;border-radius:3px;padding:13px 20px;font-weight:700}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--heycam-dark);color:#fff}
.woocommerce span.onsale{background:var(--heycam-red);min-width:48px;min-height:48px;line-height:48px}
.woocommerce div.product div.images img{border-radius:6px;background:#f6f6f6}
.woocommerce div.product .product_title{font-size:36px;color:var(--heycam-dark)}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--heycam-red);font-size:26px;font-weight:800}
.woocommerce div.product form.cart .quantity input{min-height:46px}
.woocommerce-tabs,.related.products{margin-top:55px}
.woocommerce table.shop_table{border-collapse:collapse}
.woocommerce-checkout #payment{background:#f3f4f6}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.select2-container--default .select2-selection--single{border:1px solid #dfe2e6;min-height:48px;padding:10px;background:#fff}
.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0;padding:0;list-style:none}.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:12px 15px;border-bottom:1px solid #eee}

@media(max-width:991px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.heycam-content-area{padding-top:60px;padding-bottom:60px}.admin-bar .sticky-header{top:46px}}
@media(max-width:575px){.woocommerce ul.products{grid-template-columns:1fr}.heycam-commerce-links{display:none}.woocommerce div.product .product_title{font-size:28px}.whatsapp-button{left:16px!important;bottom:20px!important}.whatsapp-button a{width:52px!important;height:52px!important;line-height:52px!important}}

.heycam-map-frame{display:block;width:100%;height:480px;border:0}

.heycam-home-products .woocommerce{text-align:left;margin-top:45px}
.heycam-home-products .btn-box{text-align:center}
.heycam-quote-cta{padding:100px 0;background:#111b2b;color:#fff}
.heycam-quote-cta h2,.heycam-quote-cta .top-title p{color:#fff}
.heycam-quote-cta .inner-box>p{max-width:780px;margin:0 auto 28px;color:#d6d9de;font-size:18px}
.heycam-quote-cta .btn-box{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}
.heycam-empty-state{padding:30px;background:#f6f6f6;text-align:center;border-radius:5px}
