/*
Theme Name: La Grande Boucherie du Charrel
Description: Design de la boucherie, pages de présentation et catalogue de produits avec photos.
Version: 1.2.1
Author: La Grande Boucherie du Charrel
Text Domain: charrel
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
*/

/* WordPress content inherits the existing site's design. */
.charrel-editor-content { overflow-wrap: anywhere; }
.charrel-editor-content img { max-width:100%; height:auto; }
.charrel-editor-content .alignwide { width:100%; }
.charrel-editor-content figure { max-width:100%; }
.charrel-editor-content > * { max-width:100%; }
.charrel-editor-content ul,.charrel-editor-content ol { padding-left:1.5em; }
.charrel-pagination { display:flex; gap:12px; flex-wrap:wrap; margin-top:28px; }
.charrel-pagination .page-numbers { padding:10px 14px; border:1px solid var(--line); }
.charrel-pagination .current { background:var(--wine); color:var(--paper); }
.charrel-product-no-image { display:flex; min-height:220px; align-items:center; justify-content:center; background:var(--stone); border-radius:20px; padding:30px; }
.charrel-product-no-image p { color:var(--wine); }
.charrel-products-extra { border-top:1px solid var(--line); }
.charrel-error { padding-block:90px; }
.wp-block-image img { border-radius:14px; }
@media(max-width:600px){body.admin-bar .mobile-call { z-index:90; }}


/* 1.2.1 — Quote form sent by the site. */
.hp-field{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
.form-status.is-success{color:var(--wine);font-weight:600}
.form-status.is-error{color:#9b1c1c}
.quote-notice{position:fixed;z-index:200;top:16px;left:50%;transform:translateX(-50%);width:min(560px,calc(100% - 32px));margin:0;padding:14px 18px;border-radius:12px;background:var(--wine);color:var(--paper);font-size:14px;line-height:1.5;box-shadow:0 10px 30px rgba(0,0,0,.18);animation:charrel-notice 9s forwards}
.quote-notice.is-error{background:#9b1c1c}
@keyframes charrel-notice{0%,85%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}

/* 1.2.1 — Compact header on phones: the phone number stays in the header and in the bottom bar. */
@media(max-width:600px){
 .topline{display:none}
 .header{row-gap:6px;padding-block:12px 8px}
 .header-contact{padding-top:4px;row-gap:0}
}
