/*
Theme Name: DZ Shop Lite
Author: DZ Creation
Description: Thème WordPress léger et responsive prêt pour WooCommerce.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: dz-shop-lite
*/
:root{--blue:#0876c9;--navy:#073b70;--text:#172536;--muted:#66758a;--border:#e2e8f0;--soft:#f4f8fc;--container:1200px}
*,*::before,*::after{box-sizing:border-box}
html{width:100%;max-width:100%;-webkit-text-size-adjust:100%}
body{margin:0;width:100%;max-width:100%;min-width:0;overflow-wrap:break-word;color:var(--text);font:16px/1.6 Arial,Helvetica,sans-serif}
img,video,iframe,embed,object{max-width:100%;height:auto}img{display:block}a{color:var(--blue);text-decoration:none}a:hover{color:var(--navy)}button,input,select,textarea{font:inherit;max-width:100%}
button,input[type=submit],.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:0;border-radius:8px;background:var(--blue);color:#fff;font-weight:700;cursor:pointer}
.container{width:calc(100% - 32px);max-width:var(--container);margin-left:auto;margin-right:auto;min-width:0}
.topbar{background:var(--navy);color:#fff;font-size:12px;padding:5px 0}.topbar-inner{display:flex;justify-content:space-between;gap:12px;min-width:0}.site-header{background:#fff;border-bottom:1px solid var(--border);position:relative;z-index:10}.header-main{min-height:76px;display:flex;align-items:center;gap:22px;min-width:0}.site-branding{min-width:0;flex-shrink:0}.site-title{font-size:25px;font-weight:800;color:var(--navy);overflow-wrap:anywhere}.custom-logo{max-height:52px;width:auto}.header-search{display:flex;flex:1;min-width:0;max-width:460px;border:1px solid #cbd8e6;border-radius:8px;overflow:hidden}.header-search input{width:100%;min-width:0;border:0;padding:10px}.header-search button{border-radius:0;flex-shrink:0}.header-actions{display:flex;gap:14px;margin-left:auto;min-width:0;flex-wrap:wrap}.header-action{color:var(--text);font-weight:700;font-size:14px}.main-navigation{border-top:1px solid #f0f3f7}.main-navigation ul{display:flex;flex-wrap:wrap;gap:26px;list-style:none;margin:0;padding:0}.main-navigation a{display:block;padding:11px 0;color:var(--text);font-weight:700;font-size:14px}.mobile-menu-toggle{display:none;background:transparent;color:var(--navy);font-size:24px;padding:4px 8px}.site-main{min-height:55vh;min-width:0;width:100%;max-width:100%}.content-area{padding:38px 0;min-width:0;width:100%;max-width:100%}.home-hero{background:linear-gradient(110deg,#063c73,#0876c9 60%,#b9ddf5);color:#fff;padding:42px 0}.hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:25px}.home-hero h1{font-size:clamp(30px,4vw,46px);line-height:1.12;margin:0 0 14px;overflow-wrap:anywhere}.home-hero p{max-width:560px}.hero-cta{background:#fff;color:var(--navy)}.hero-visual{font-size:110px;text-align:center}.benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:22px 0}.benefit{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid var(--border);border-radius:10px}.benefit-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:50%;background:#eaf5ff}.benefit strong,.benefit span{display:block}.benefit strong{font-size:13px}.benefit span{font-size:11px;color:var(--muted)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:25px 0 16px;min-width:0}.section-heading h2{margin:0}.entry-card{padding:20px 0;border-bottom:1px solid var(--border)}.page-title{font-size:clamp(26px,4vw,36px);overflow-wrap:anywhere}.site-footer{margin-top:42px;background:#062f5b;color:#eaf4ff;padding:36px 0 18px}.site-footer h2,.site-footer h3{color:#fff}.site-footer a{color:#eaf4ff}.footer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.footer-grid ul{list-style:none;padding:0}.footer-bottom{border-top:1px solid #2a5278;margin-top:24px;padding-top:15px;font-size:12px;color:#c7d9eb}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:focus-visible{outline:3px solid #ffbf47;outline-offset:3px}
/* WooCommerce */
.woocommerce,.woocommerce-page{width:100%;max-width:100%;min-width:0}.woocommerce *,.woocommerce-page *{min-width:0}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0;padding:0}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;max-width:100%;min-width:0;margin:0!important;padding:12px;border:1px solid var(--border);border-radius:12px}.woocommerce ul.products li.product a img{width:100%;max-width:100%;height:auto;object-fit:contain;border-radius:8px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;color:var(--text);overflow-wrap:anywhere}.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:#0b9b63;font-weight:800}.woocommerce span.onsale{background:#e53935}.woocommerce div.product{display:block;width:100%;max-width:100%;min-width:0;clear:both}.woocommerce div.product:after{content:"";display:table;clear:both}.woocommerce div.product .product_title{color:var(--navy);overflow-wrap:anywhere;word-break:normal}.woocommerce div.product div.images,.woocommerce div.product div.summary{min-width:0;max-width:100%}.woocommerce div.product div.images{width:48%;float:left;margin-bottom:2em}.woocommerce div.product div.summary{width:48%;float:right;margin-bottom:2em}.woocommerce div.product div.images img{display:block;width:100%;height:auto;max-width:100%}.woocommerce div.product form.cart{display:flex;align-items:center;flex-wrap:wrap;gap:10px;max-width:100%}.woocommerce div.product form.cart .quantity{max-width:100%;margin:0}.woocommerce div.product form.cart .quantity input{max-width:100%;min-width:0}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce div.product form.cart .button{background:var(--blue);color:#fff;border-radius:8px;max-width:100%;white-space:normal}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{width:100%;max-width:100%;min-height:44px;border:1px solid #cbd5e1;border-radius:7px;padding:9px}.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .woocommerce-tabs .panel{width:100%;max-width:100%;min-width:0;overflow-wrap:anywhere}.woocommerce table.shop_table{width:100%;max-width:100%;border-collapse:collapse}.woocommerce .quantity .qty{width:4em}.woocommerce-message,.woocommerce-info,.woocommerce-error{overflow-wrap:anywhere}
@media(max-width:900px){.header-main{gap:12px;flex-wrap:wrap;padding:10px 0}.mobile-menu-toggle{display:inline-flex}.header-search{order:5;flex:1 0 100%;max-width:none}.main-navigation{display:none}.main-navigation.is-open{display:block}.main-navigation ul{display:block}.main-navigation a{padding:11px 0;border-bottom:1px solid #f0f3f7}.hero-grid{grid-template-columns:minmax(0,1fr)}.hero-visual{text-align:left;font-size:70px}.benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%;margin-left:0;margin-right:0}.woocommerce div.product div.images{margin-bottom:24px}.woocommerce div.product div.summary{margin-bottom:24px}.woocommerce div.product .woocommerce-tabs ul.tabs{padding-left:0;padding-right:0}.woocommerce div.product .woocommerce-tabs ul.tabs li{max-width:100%}.woocommerce table.shop_table{font-size:14px}}
@media(max-width:520px){.container{width:calc(100% - 24px)}.topbar-inner{justify-content:center;text-align:center}.topbar-inner span:last-child{display:none}.header-main{column-gap:8px}.site-title{font-size:21px}.header-actions{gap:8px}.home-hero{padding:30px 0}.home-hero h1{font-size:31px}.benefit{padding:8px;gap:7px}.benefit-icon{flex-basis:32px;height:32px}.content-area{padding:26px 0}.woocommerce ul.products{gap:8px}.woocommerce ul.products li.product{padding:8px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px}.woocommerce div.product .product_title{font-size:26px;line-height:1.25}.woocommerce div.product form.cart .single_add_to_cart_button{flex:1 1 auto}.footer-grid{grid-template-columns:minmax(0,1fr)}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:6px;font-size:12px}}

/* DZ Shop Lite V1.0.2 — desktop product layout fix */
@media (min-width: 769px) {
  .woocommerce-content-area {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
  .woocommerce div.product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 36px;
    align-items: start;
    width: 100%;
    max-width: 100%;
  }
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    float: none !important;
    width: auto !important;
    min-width: 0;
    max-width: 100%;
    margin: 0 0 28px !important;
  }
  .woocommerce div.product div.images { grid-column: 1; grid-row: 1; }
  .woocommerce div.product div.summary { grid-column: 2; grid-row: 1; }
  .woocommerce div.product .woocommerce-tabs,
  .woocommerce div.product .related,
  .woocommerce div.product .upsells,
  .woocommerce div.product .woocommerce-product-gallery__wrapper {
    min-width: 0;
    max-width: 100%;
  }
  .woocommerce div.product .woocommerce-tabs,
  .woocommerce div.product .related,
  .woocommerce div.product .upsells { grid-column: 1 / -1; }
  .woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
  }
}
