/*
Theme Name: Old Green
Description: Thème WooCommerce Old Green
Version: 1.0
Text Domain: oldgreen
*/
body{margin:0;font-family:'DM Sans',sans-serif;color:#14201A;background:#fff;font-size:15px;line-height:1.5}
h1,h2,h3{font-family:'Fraunces',serif;font-weight:600;margin:0 0 .4em}
a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
.og-w{max-width:1240px;margin:0 auto;padding:0 20px;box-sizing:border-box}
.og-m{color:#4A5B50;font-size:13px}
.og-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 28px;border-radius:999px;background:#8CAD9F;color:#14201A;font-weight:700;box-sizing:border-box}

/* En-tête */
.og-top{background:#1F3A2D;color:#fff;font-size:13px;padding:8px 0}
.og-top .og-w{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.og-head{display:flex;align-items:center;gap:24px;min-height:72px}
.og-logo{font-family:'Fraunces',serif;font-size:30px;font-weight:600;color:#1F3A2D}
.og-head form{flex:1;margin:0;display:flex;gap:8px}
.og-head input[type=search]{flex:1;min-height:44px;border:1px solid #9DB3A3;border-radius:999px;padding:0 20px;font-size:16px;box-sizing:border-box}
.og-head button[type=submit]{min-height:44px;border:0;border-radius:999px;padding:0 18px;background:#1F3A2D;color:#fff;font-weight:700;cursor:pointer}
.og-head a{font-weight:700}
.og-nav{background:#8CAD9F}
.og-nav ul{list-style:none;display:flex;gap:22px;margin:0;padding:0;min-height:48px;align-items:center;font-weight:500;overflow-x:auto;white-space:nowrap}

/* Accueil */
.og-hero{background:#1F3A2D center/cover no-repeat;color:#fff;border-radius:16px;min-height:340px;display:flex;align-items:center;padding:0 48px;margin-top:20px}
.og-hero h1{font-size:46px;line-height:1.1}
.og-hero div{display:flex;flex-direction:column;gap:14px;align-items:flex-start;max-width:560px}
.og-sec{padding:36px 0}.og-alt{background:#F2F6F1}
.og-hd{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:16px}
.og-hd h2{font-size:28px;margin:0}
.og-grid{display:grid;gap:16px;grid-template-columns:repeat(4,1fr)}
.og-card{border:1px solid #DDE5DB;border-radius:12px;padding:12px;background:#fff;display:flex;flex-direction:column;gap:6px}
.og-card img{border-radius:8px;width:100%;aspect-ratio:16/9;object-fit:cover}

/* Grilles produits WooCommerce */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:0;padding:0;list-style:none}
.woocommerce ul.products.columns-5{grid-template-columns:repeat(5,1fr)}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;float:none!important;margin:0!important;border:1px solid #DDE5DB;border-radius:12px;padding:12px;position:relative;display:flex;flex-direction:column;gap:6px;background:#fff}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:'DM Sans',sans-serif;font-size:16px;font-weight:700;padding:0}
.woocommerce ul.products li.product img{border-radius:8px;margin:0}
.woocommerce ul.products li.product .button{margin-top:auto}
.woocommerce span.onsale{top:20px;left:20px;right:auto;min-height:0;min-width:0;line-height:1;padding:5px 8px;border-radius:6px;background:#B42318;color:#fff;font-size:12px;font-weight:700}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{background:#1F3A2D;color:#fff;border-radius:999px;font-weight:700;min-height:44px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:#2F5441;color:#fff}
.woocommerce .price,.woocommerce ul.products li.product .price{color:#14201A;font-weight:700}
.og-main{padding-top:32px;padding-bottom:48px}

/* Pied de page */
.og-news{background:#8CAD9F;padding:32px 0}
.og-news .og-w{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.og-foot{background:#14201A;color:#C9C5B6;padding:44px 0 28px}
.og-foot h3{color:#fff;font-size:20px}
.og-foot ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.og-cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px;margin-bottom:24px}
.og-legal{margin:0;font-size:13px}

@media(max-width:760px){
.og-head{flex-wrap:wrap;padding:12px 0}.og-head form{order:3;flex-basis:100%}
.og-hero{padding:32px 24px}.og-hero h1{font-size:32px}
.og-grid,.woocommerce ul.products,.woocommerce ul.products.columns-5{grid-template-columns:repeat(2,1fr)}
.og-cols{grid-template-columns:1fr}
}
