/*
Theme Name: Color Life Child
Template: colorlife
Description: Child theme for Color Life. Put your own CSS here and your own PHP in functions.php, so updating the main Color Life theme never overwrites your changes.
Author: Color Life Print
Version: 1.0.0
Text Domain: colorlife-child
*/

/* Your custom CSS goes below. It loads after the main theme's styles, so it wins. */

/* "Online" dot on the WhatsApp icons: header icon, floating button, phone contact bar */
.header-support-icon::before,.wa-float::before,.mobile-bar-wa::before{content:"";position:absolute;z-index:2;width:10px;height:10px;border-radius:50%;background:#3ddc6a;border:2px solid #fff;box-sizing:content-box;top:-2px;right:-2px;pointer-events:none}
.wa-float::before{width:12px;height:12px;top:1px;right:1px}

/* Standalone search forms (Woo product search + theme search form) match the header search: pill input, round blue icon button inside */
.woocommerce-product-search,.search-form{position:relative;display:flex;gap:0;align-items:center}
.woocommerce-product-search .search-field,.search-form input[type=search]{flex:1;width:100%;min-height:42px;padding:0 50px 0 18px;border:1px solid var(--c-line);border-radius:999px;font-size:.92rem;background:var(--c-surface)}
.woocommerce-product-search .search-field:focus,.search-form input[type=search]:focus{border-color:#1c61e7;outline:0;box-shadow:0 0 0 3px rgba(28,97,231,.15)}
.woocommerce-product-search button[type=submit],.search-form button[type=submit]{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:34px;height:34px;min-height:0;padding:0;margin:0;border:0;border-radius:50%;background:#1c61e7 !important;font-size:0;color:transparent;overflow:hidden;cursor:pointer}
.woocommerce-product-search button[type=submit]:hover,.search-form button[type=submit]:hover{filter:brightness(.92)}
.woocommerce-product-search button[type=submit]::before,.search-form button[type=submit]::before{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;background:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 0 1 6.3 12.9l5.4 5.4-1.4 1.4-5.4-5.4A8 8 0 1 1 10 2Zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 0 1 6.3 12.9l5.4 5.4-1.4 1.4-5.4-5.4A8 8 0 1 1 10 2Zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12Z'/%3E%3C/svg%3E") center/contain no-repeat}
