/*
Theme Name: Liban Phone
Theme URI: https://libanphones.com
Author: Liban Phone
Description: Lightweight WooCommerce theme for selling new and used phones. Colors from the Liban Phone logo, WhatsApp ordering, New/Used badges.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: liban-phone
*/
:root{--g:#0B6B2E;--r:#D42A1E;--ink:#111;--bg:#F7F7F5;--line:#E6E6E1;--soft:#E4F1E8}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Poppins','Cairo',Arial,sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.screen-reader-text{position:absolute;left:-9999px}
.lp-in,.lp-wrap{max-width:1240px;margin:0 auto;padding:0 24px}
.lp-wrap{padding-top:32px;padding-bottom:48px}
.lp-top{background:var(--g);color:#fff;text-align:center;padding:10px 16px;font-size:13px;font-weight:500}
.lp-head{background:#fff;border-bottom:1px solid var(--line);position:relative}
.lp-head .lp-in{display:flex;align-items:center;gap:32px;padding-top:16px;padding-bottom:16px;flex-wrap:wrap}
.lp-logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:22px;line-height:1;letter-spacing:.5px}
.lp-logo i{display:block;width:6px;height:44px;background:var(--r)}
.custom-logo{max-height:56px;width:auto}
.lp-nav ul{display:flex;gap:24px;list-style:none;margin:0;padding:0;font-weight:600;font-size:15px}
.lp-nav a:hover,.lp-nav .current-menu-item a{color:var(--g)}
.lp-tools{margin-inline-start:auto;display:flex;gap:12px;align-items:center}
.lp-search input{height:44px;width:220px;border:1px solid #D5D5CF;border-radius:22px;padding:0 18px;font:inherit;font-size:14px}
.lp-cart{height:44px;display:flex;align-items:center;padding:0 20px;border-radius:22px;background:var(--ink);color:#fff;font-weight:600;font-size:14px}
.lp-burger{display:none;height:44px;border:1px solid #D5D5CF;background:#fff;border-radius:22px;padding:0 18px;font:inherit;font-weight:600}
.lp-btn,.button,button.button,.wp-element-button,input[type=submit]{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 26px;border-radius:26px;border:2px solid var(--g);background:var(--g);color:#fff;font:inherit;font-weight:600;font-size:14px;cursor:pointer}
.lp-btn.out,a.button.add_to_cart_button{background:transparent;color:var(--g)}
.lp-btn.white{background:#fff;color:var(--g);border-color:#fff;font-weight:700}
.lp-wa{display:flex;align-items:center;justify-content:center;height:46px;margin-top:8px;border-radius:23px;background:var(--r);color:#fff!important;font-weight:600;font-size:14px}
.lp-hero{display:flex;gap:48px;align-items:center;flex-wrap:wrap;padding-top:56px;padding-bottom:24px}
.lp-hero>div{flex:1 1 380px}
.lp-pill{display:inline-block;background:var(--soft);color:var(--g);font-weight:600;font-size:13px;padding:6px 14px;border-radius:16px}
.lp-hero h1{margin:18px 0 16px;font-size:52px;line-height:1.12;font-weight:800}
.lp-hero h1 span{color:var(--g)}
.lp-hero p{margin:0 0 28px;font-size:17px;color:#444;max-width:480px}
.lp-cta{display:flex;gap:14px;flex-wrap:wrap}
.lp-cta .lp-btn{height:52px;padding:0 30px}
.lp-heroimg{height:380px;border-radius:28px;background:var(--soft);display:flex;align-items:center;justify-content:center;color:var(--g);font-weight:600;overflow:hidden}
.lp-heroimg img{width:100%;height:100%;object-fit:cover}
.lp-chips{display:flex;gap:12px;flex-wrap:wrap;padding-top:24px;padding-bottom:24px}
.lp-chips a{padding:10px 22px;border-radius:22px;background:#fff;border:1px solid #D5D5CF;font-weight:600;font-size:14px}
.lp-chips a:hover{border-color:var(--g);color:var(--g)}
.lp-sec h2,.lp-wrap h1.page-title,.woocommerce-products-header__title{margin:0 0 20px;font-size:28px;font-weight:700}
.lp-trust{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;padding-top:24px;padding-bottom:40px}
.lp-trust div{border-inline-start:4px solid var(--g);padding-inline-start:16px}
.lp-trust b{display:block;font-size:17px}
.lp-trust span{font-size:14px;color:#555}
.lp-sell{background:var(--g);color:#fff;border-radius:28px;padding:40px 48px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:48px}
.lp-sell b{font-size:28px;display:block}
.lp-sell span{opacity:.9}
.lp-foot{background:var(--ink);color:#fff;padding:40px 0;font-size:14px}
.lp-foot .lp-in{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
.lp-foot ul{display:flex;gap:20px;list-style:none;margin:0;padding:0;color:#ccc;flex-wrap:wrap}
.lp-foot b{font-size:20px;font-weight:800}
ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;list-style:none;margin:0 0 32px;padding:0}
ul.products::before,ul.products::after{display:none!important}
ul.products li.product{width:auto!important;float:none!important;margin:0!important;background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;position:relative;display:flex;flex-direction:column}
ul.products li.product img{border-radius:14px;margin:0 0 14px!important;width:100%;aspect-ratio:1/1;object-fit:cover;background:#EFEFEA}
ul.products li.product .woocommerce-loop-product__title{font-size:17px;font-weight:700;padding:0;margin:0 0 4px}
.price{font-weight:800;font-size:22px;color:var(--ink)!important;margin:10px 0}
.price del{font-size:14px;font-weight:500;opacity:.6}
.price ins{background:none;text-decoration:none}
ul.products li.product .button{margin-top:auto;width:100%}
.lp-badge{position:absolute;top:28px;inset-inline-start:28px;z-index:2;font-size:12px;font-weight:600;padding:4px 12px;border-radius:12px}
.lp-badge.new{background:var(--g);color:#fff}
.lp-badge.used{background:var(--ink);color:#fff}
.onsale{background:var(--r)!important;color:#fff!important;border-radius:12px!important;min-height:0!important;min-width:0!important;line-height:1.4!important;padding:4px 12px!important;font-size:12px!important;top:28px!important;inset-inline-end:28px!important;inset-inline-start:auto!important;left:auto!important;right:auto!important}
.single_add_to_cart_button{background:var(--g)!important;color:#fff!important}
.woocommerce div.product div.images img{border-radius:20px}
.woocommerce div.product p.price{font-size:28px}
.woocommerce-breadcrumb{font-size:13px;color:#666;margin-bottom:16px}
.woocommerce input.input-text,.woocommerce select,.woocommerce textarea{border:1px solid #D5D5CF;border-radius:12px;padding:12px;font:inherit}
.woocommerce table.shop_table{border-radius:16px;background:#fff}
.woocommerce-message,.woocommerce-info{border-top-color:var(--g)}
@media(max-width:860px){
.lp-burger{display:inline-flex;align-items:center;margin-inline-start:auto}
.lp-nav,.lp-tools{display:none;width:100%}
.lp-head.open .lp-nav,.lp-head.open .lp-tools{display:flex}
.lp-nav ul{flex-direction:column;gap:12px;width:100%}
.lp-tools{flex-wrap:wrap}
.lp-search,.lp-search input{width:100%}
.lp-hero h1{font-size:36px}
.lp-sell{padding:28px}
}
