/*
Theme Name: RealMix — Saveurs d'Afrique
Theme URI: https://realmixshop-259nfgxj.manus.space/
Author: Manus AI
Description: Thème WordPress éditorial et WooCommerce pour une épicerie africaine contemporaine. Conçu pour que les contenus, visuels, menus et produits soient administrables.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: realmix
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, food-and-drink, custom-logo, custom-menu, featured-images, full-width-template, woocommerce
*/

/* Direction de style : épicerie éditoriale afro-contemporaine. Ivoire chaleureux, cacao, safran et photographies de produits ; titres Cormorant Garamond, texte DM Sans. */

:root { --rm-ink:#321f18; --rm-cocoa:#503326; --rm-saffron:#d9a126; --rm-saffron-deep:#b97d10; --rm-ivory:#fbf8f2; --rm-paper:#f4eee2; --rm-clay:#9b4a2b; --rm-muted:#75665e; --rm-line:#e6dccd; --rm-shadow:0 16px 36px rgba(54,34,23,.10); --rm-serif:"Cormorant Garamond",Georgia,serif; --rm-sans:"DM Sans",Arial,sans-serif; }
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--rm-ivory);color:var(--rm-ink);font-family:var(--rm-sans);font-size:16px;line-height:1.62}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,.button,input[type="submit"]{cursor:pointer}.rm-container{width:min(1200px,calc(100% - 48px));margin:0 auto}.screen-reader-text{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute}.screen-reader-text:focus{clip:auto;clip-path:none;display:block;height:auto;left:5px;top:5px;width:auto;z-index:100000;background:#fff;padding:12px}
.site-notice{background:var(--rm-cocoa);color:#fff8e7;text-align:center;padding:7px 20px;font-size:12px;font-weight:600;letter-spacing:.02em}.site-header{background:rgba(255,255,255,.98);border-bottom:1px solid #ece7df;position:sticky;top:0;z-index:50}.header-inner{min-height:76px;display:flex;align-items:center;gap:24px}.brand{display:inline-flex;align-items:center;flex:0 0 auto;max-width:145px}.brand img{display:block;max-height:48px;width:auto}.brand-text{color:var(--rm-ink);font-family:var(--rm-serif);font-size:29px;line-height:.8;font-weight:700;letter-spacing:-.04em}.brand-text small{display:block;margin-top:7px;color:#6d8151;font-family:var(--rm-sans);font-size:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.primary-nav{flex:1;display:flex;justify-content:center}.primary-nav .menu,.footer-menu{display:flex;list-style:none;margin:0;padding:0}.primary-nav .menu{gap:23px;align-items:center}.primary-nav a{font-size:13px;font-weight:600;white-space:nowrap;position:relative}.primary-nav a::after{background:var(--rm-saffron);bottom:-8px;content:"";height:2px;left:0;position:absolute;transform:scaleX(0);transform-origin:left;transition:transform .2s cubic-bezier(.23,1,.32,1);width:100%}.primary-nav a:hover::after,.primary-nav .current-menu-item a::after{transform:scaleX(1)}.header-tools{display:flex;gap:5px;align-items:center}.header-tool{align-items:center;border:0;background:transparent;color:var(--rm-ink);display:inline-flex;height:35px;justify-content:center;padding:0;position:relative;width:35px}.header-tool svg{height:19px;stroke-width:1.65;width:19px}.cart-count{background:var(--rm-saffron);border-radius:50%;color:#382518;font-size:9px;font-weight:700;height:16px;line-height:16px;position:absolute;right:-1px;text-align:center;top:-1px;width:16px}.menu-toggle{background:transparent;border:0;color:var(--rm-ink);display:none;padding:7px}.menu-toggle svg{height:24px;width:24px}
.hero{min-height:620px;position:relative;overflow:hidden;background:var(--rm-cocoa) center/cover no-repeat;color:#fffaf0;display:flex;align-items:center}.hero::before{background:linear-gradient(90deg,rgba(41,21,12,.87) 0%,rgba(55,30,16,.64) 41%,rgba(50,27,14,.18) 72%,rgba(50,27,14,.15) 100%);content:"";inset:0;position:absolute}.hero::after{border:1px solid rgba(255,255,255,.16);content:"";inset:22px;pointer-events:none;position:absolute}.hero-content{max-width:650px;padding:80px 0 86px;position:relative;z-index:1}.eyebrow{color:var(--rm-saffron);display:inline-block;font-size:11px;font-weight:700;letter-spacing:.13em;margin:0 0 17px;text-transform:uppercase}.hero .eyebrow{background:rgba(68,41,17,.68);border:1px solid rgba(217,161,38,.44);border-radius:999px;padding:7px 12px}h1,h2,h3,h4{color:var(--rm-ink);font-family:var(--rm-serif);line-height:.98;margin-top:0}h1{color:#fff9eb;font-size:clamp(52px,6.3vw,84px);font-weight:600;letter-spacing:-.045em;margin-bottom:24px;max-width:690px}h1 em{color:#e3b34f;font-style:normal}h2{font-size:clamp(40px,4.2vw,58px);font-weight:650;letter-spacing:-.04em;margin-bottom:18px}h3{font-size:25px;font-weight:650;letter-spacing:-.025em}.hero-copy{color:rgba(255,249,235,.88);font-size:16px;max-width:565px}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,input[type="submit"]{align-items:center;background:var(--rm-saffron);border:1px solid var(--rm-saffron);border-radius:0;color:#321f18;display:inline-flex;font-family:var(--rm-sans);font-size:13px;font-weight:800;gap:11px;justify-content:center;letter-spacing:.015em;line-height:1.2;padding:15px 20px;transition:background .18s ease,transform .16s ease,border-color .18s ease}.button::after{content:"→";font-size:17px;line-height:0}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,input[type="submit"]:hover{background:#e5b83f;border-color:#e5b83f;color:#27170f;transform:translateY(-2px)}.button:active,.woocommerce a.button:active,.woocommerce button.button:active{transform:scale(.97)}.button-outline{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.78);color:#fff8e9}.button-outline:hover{background:#fff8e9;border-color:#fff8e9;color:var(--rm-ink)}.button-outline::after{display:none}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.section{padding:106px 0}.section-alt{background:var(--rm-paper)}.section-heading{max-width:650px;margin:0 auto 48px;text-align:center}.section-heading p{color:var(--rm-muted);font-size:15px;margin:0 auto;max-width:540px}.section-heading .eyebrow{margin-bottom:12px}.section-heading.with-link{align-items:end;display:flex;justify-content:space-between;max-width:none;text-align:left}.section-heading.with-link .heading-copy{max-width:600px}.text-link{color:var(--rm-cocoa);display:inline-flex;font-size:13px;font-weight:800;gap:9px;white-space:nowrap}.text-link::after{color:var(--rm-saffron-deep);content:"→";font-size:18px;line-height:.8;transition:transform .18s ease}.text-link:hover::after{transform:translateX(4px)}
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.category-card{background:#fff;box-shadow:0 4px 18px rgba(69,47,34,.06);display:flex;flex-direction:column;min-height:388px;overflow:hidden;position:relative}.category-card .category-image{height:235px;overflow:hidden}.category-card img{height:100%;object-fit:cover;transition:transform .45s cubic-bezier(.23,1,.32,1);width:100%}.category-card:hover img{transform:scale(1.055)}.category-body{padding:18px 19px 22px}.category-card h3{margin-bottom:7px}.category-card p{color:var(--rm-muted);font-size:13px;line-height:1.5;margin:0 0 11px}.category-count{color:var(--rm-saffron-deep);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.products,.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:22px 18px;list-style:none;margin:0;padding:0}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}.woocommerce ul.products li.product,.products .product{float:none;margin:0;padding:0;width:auto}.realmix-product-card{background:#fff;box-shadow:0 4px 16px rgba(69,47,34,.05);min-width:0;overflow:hidden;position:relative;transition:box-shadow .22s ease,transform .22s ease}.realmix-product-card:hover{box-shadow:var(--rm-shadow);transform:translateY(-4px)}.product-media{background:#f2eee8;display:block;height:254px;overflow:hidden;position:relative}.product-media img{display:block;height:100%;object-fit:cover;transition:transform .4s cubic-bezier(.23,1,.32,1);width:100%}.realmix-product-card:hover .product-media img{transform:scale(1.045)}.product-badge{background:var(--rm-saffron);color:#382417;font-size:10px;font-weight:800;left:10px;letter-spacing:.02em;padding:5px 8px;position:absolute;top:10px;z-index:1}.product-badge.sale{background:#b93f4b;color:#fff}.product-body{padding:15px 15px 16px}.product-origin{color:var(--rm-saffron-deep);font-size:10px;font-weight:800;letter-spacing:.1em;margin:0 0 5px;text-transform:uppercase}.woocommerce ul.products li.product .woocommerce-loop-product__title,.product-title{font-size:20px;line-height:1.08;margin:0 0 7px;padding:0}.product-title a:hover{color:var(--rm-clay)}.product-tagline{color:var(--rm-muted);font-size:12px;line-height:1.45;margin:0 0 9px;min-height:35px}.woocommerce .star-rating{color:var(--rm-saffron);float:none;font-size:12px;margin:0 0 10px}.product-price-row{align-items:end;display:flex;justify-content:space-between;gap:8px}.woocommerce ul.products li.product .price,.product-price{color:var(--rm-ink);font-size:17px;font-weight:800;margin:0}.woocommerce ul.products li.product .price del,.product-price del{color:var(--rm-muted);font-size:.76em;font-weight:500}.woocommerce ul.products li.product .price ins,.product-price ins{color:var(--rm-clay);text-decoration:none}.product-size{color:var(--rm-muted);font-size:11px}.product-action{margin-top:14px}.woocommerce ul.products li.product .button{margin:0;width:100%}.woocommerce ul.products li.product .added_to_cart{display:block;font-size:12px;font-weight:700;padding-top:8px;text-align:center}.empty-catalogue{background:#fff;border:1px solid var(--rm-line);padding:30px;text-align:center}.empty-catalogue p{color:var(--rm-muted);margin:0}
.promo-section{background:var(--rm-cocoa) center/cover no-repeat;color:#fff8e9;min-height:412px;position:relative;display:flex;align-items:center}.promo-section::before{background:linear-gradient(90deg,rgba(46,27,18,.91),rgba(46,27,18,.73) 46%,rgba(46,27,18,.24));content:"";inset:0;position:absolute}.promo-content{max-width:590px;padding:76px 0;position:relative}.promo-content h2{color:#fff8e9;font-size:clamp(40px,4vw,58px)}.promo-content p:not(.eyebrow){color:rgba(255,248,233,.84);max-width:505px}.promo-content .button{margin-top:11px}
.trust-strip{background:#fff;border-top:1px solid var(--rm-line);border-bottom:1px solid var(--rm-line)}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}.trust-item{align-items:center;display:flex;gap:13px;min-height:116px;padding:20px 22px}.trust-item+.trust-item{border-left:1px solid var(--rm-line)}.trust-icon{border:1px solid #d7c3a5;border-radius:50%;color:var(--rm-saffron-deep);display:grid;flex:0 0 auto;height:39px;place-items:center;width:39px}.trust-icon svg{height:19px;width:19px}.trust-item h3{font-family:var(--rm-sans);font-size:12px;letter-spacing:.01em;line-height:1.2;margin:0 0 3px}.trust-item p{color:var(--rm-muted);font-size:11px;line-height:1.4;margin:0}
.page-header{background:var(--rm-paper);border-bottom:1px solid var(--rm-line);padding:74px 0 58px}.page-header h1{color:var(--rm-ink);font-size:clamp(46px,5vw,72px);margin-bottom:12px}.page-header p{color:var(--rm-muted);margin:0;max-width:650px}.site-main{min-height:48vh}.entry-content{font-size:17px;max-width:820px}.entry-content p,.entry-content ul,.entry-content ol{margin:0 0 1.3em}.entry-content a{color:var(--rm-clay);text-decoration:underline;text-decoration-color:var(--rm-saffron);text-underline-offset:3px}.entry-content h2{font-size:42px;margin:1.2em 0 .35em}.entry-content h3{margin:1.3em 0 .45em}.entry-content figure{margin:2em 0}.entry-content blockquote{border-left:3px solid var(--rm-saffron);color:var(--rm-cocoa);font-family:var(--rm-serif);font-size:28px;line-height:1.1;margin:2em 0;padding:0 0 0 24px}.post-list{display:grid;gap:28px}.post-card{background:#fff;border:1px solid var(--rm-line);padding:28px}.post-card h2{font-size:36px;margin-bottom:10px}.post-card .entry-meta{color:var(--rm-muted);font-size:12px;margin-bottom:15px}.pagination{margin-top:50px}.pagination .nav-links{display:flex;gap:7px}.pagination a,.pagination span{border:1px solid var(--rm-line);display:inline-grid;height:38px;place-items:center;width:38px}.pagination .current{background:var(--rm-saffron);border-color:var(--rm-saffron)}
.woocommerce .woocommerce-breadcrumb{color:var(--rm-muted);font-size:12px;margin:0 0 24px}.woocommerce .woocommerce-breadcrumb a{color:var(--rm-cocoa)}.woocommerce .woocommerce-ordering select{background:#fff;border:1px solid var(--rm-line);border-radius:0;color:var(--rm-ink);padding:10px 34px 10px 12px}.woocommerce .woocommerce-result-count{color:var(--rm-muted);font-size:13px}.woocommerce .woocommerce-notices-wrapper{margin-bottom:22px}.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--rm-saffron);background:#fff;color:var(--rm-ink)}.woocommerce-message::before,.woocommerce-info::before{color:var(--rm-saffron-deep)}.woocommerce div.product{padding:58px 0}.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{background:#f2eee8}.woocommerce div.product div.summary{padding-top:9px}.woocommerce div.product .product_title{font-size:clamp(42px,4.3vw,62px);margin-bottom:15px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--rm-clay);font-size:25px;font-weight:800}.woocommerce div.product form.cart{margin:28px 0}.woocommerce .quantity .qty{border:1px solid var(--rm-line);height:47px;padding:8px}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0}.woocommerce div.product .woocommerce-tabs ul.tabs::before{border-color:var(--rm-line)}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent;border:0;border-radius:0;margin:0 24px 0 0;padding:0}.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--rm-muted);padding:13px 0}.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--rm-ink)}.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}.woocommerce table.shop_table{border:1px solid var(--rm-line);border-radius:0}.woocommerce table.shop_table th{background:var(--rm-paper)}.woocommerce-cart-form__contents img{width:68px}.woocommerce .cart-collaterals .cart_totals,.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{width:48%}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{background:#fff;border:1px solid var(--rm-line);border-radius:0;min-height:44px;padding:9px 12px}
.site-footer{background:#2c1a13;color:rgba(255,248,232,.8);margin-top:0}.footer-main{display:grid;grid-template-columns:1.25fr .8fr .8fr 1.05fr;gap:50px;padding:72px 0 58px}.footer-brand .brand{margin-bottom:17px}.footer-brand .brand-text{color:#fff8e9}.footer-copy{color:rgba(255,248,232,.67);font-size:13px;line-height:1.65;margin:0 0 20px;max-width:280px}.contact-list{color:rgba(255,248,232,.75);font-size:13px;list-style:none;margin:0;padding:0}.contact-list li+li{margin-top:7px}.footer-title{color:#fff8e9;font-family:var(--rm-sans);font-size:12px;letter-spacing:.09em;margin:6px 0 18px;text-transform:uppercase}.footer-menu{flex-direction:column;gap:9px}.footer-menu a{color:rgba(255,248,232,.72);font-size:13px}.footer-menu a:hover,.contact-list a:hover{color:var(--rm-saffron)}.footer-newsletter p{color:rgba(255,248,232,.7);font-size:13px;margin-top:0}.footer-newsletter form{display:flex;margin-top:17px}.footer-newsletter input[type="email"]{border:1px solid rgba(255,255,255,.35);border-right:0;background:transparent;color:#fff8e9;min-height:44px;min-width:0;padding:9px 12px;width:100%}.footer-newsletter input[type="submit"]{background:var(--rm-saffron);border:0;color:var(--rm-ink);min-height:44px;padding:9px 13px}.footer-newsletter .mailpoet_form,.footer-newsletter .mc4wp-form{color:#fff8e9}.footer-bottom{border-top:1px solid rgba(255,255,255,.13);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0}.footer-bottom p{color:rgba(255,248,232,.55);font-size:11px;margin:0}.social-links{display:flex;gap:14px}.social-links a{color:rgba(255,248,232,.7);font-size:12px;font-weight:700}.social-links a:hover{color:var(--rm-saffron)}
@media(max-width:1020px){.primary-nav .menu{gap:14px}.category-grid,.products,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}.footer-main{grid-template-columns:1fr 1fr;gap:40px}.trust-grid{grid-template-columns:repeat(2,1fr)}.trust-item:nth-child(3){border-left:0;border-top:1px solid var(--rm-line)}.trust-item:nth-child(4){border-top:1px solid var(--rm-line)}}
@media(max-width:760px){.rm-container{width:min(100% - 32px,620px)}.site-notice{font-size:10px;padding:7px 13px}.header-inner{min-height:64px;gap:8px;justify-content:space-between}.brand{max-width:124px}.brand img{max-height:42px}.header-tools .header-tool:not(.cart-tool){display:none}.menu-toggle{display:inline-flex}.primary-nav{background:#fff;border-top:1px solid var(--rm-line);display:none;left:0;padding:18px 16px 22px;position:absolute;top:64px;width:100%}.primary-nav.is-open{display:block}.primary-nav .menu{align-items:stretch;flex-direction:column;gap:0}.primary-nav li{border-bottom:1px solid #eee8df}.primary-nav a{display:block;padding:11px 0}.primary-nav a::after{display:none}.hero{min-height:560px}.hero::after{inset:12px}.hero::before{background:linear-gradient(90deg,rgba(41,21,12,.88),rgba(41,21,12,.58))}.hero-content{padding:64px 0 70px}h1{font-size:clamp(47px,14.5vw,68px)}.hero-copy{font-size:14px}.section{padding:72px 0}.section-heading{margin-bottom:34px}.section-heading.with-link{align-items:start;flex-direction:column;gap:18px}.category-grid,.products,.woocommerce ul.products{gap:14px}.category-card{min-height:310px}.category-card .category-image{height:164px}.category-body{padding:14px}.category-card h3{font-size:21px}.category-card p{display:none}.product-media{height:194px}.product-body{padding:12px}.woocommerce ul.products li.product .woocommerce-loop-product__title,.product-title{font-size:18px}.product-tagline{display:none}.product-action{margin-top:12px}.woocommerce ul.products li.product .button{font-size:11px;padding:12px 8px}.promo-section{min-height:430px}.promo-section::before{background:linear-gradient(90deg,rgba(46,27,18,.91),rgba(46,27,18,.62))}.promo-content{padding:68px 0}.trust-item{min-height:101px;padding:17px 8px}.trust-icon{display:none}.trust-item h3{font-size:11px}.trust-item p{font-size:10px}.page-header{padding:54px 0 42px}.entry-content{font-size:16px}.woocommerce div.product{padding:42px 0}.woocommerce .cart-collaterals .cart_totals,.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{width:100%}.footer-main{grid-template-columns:1fr;gap:28px;padding:54px 0 42px}.footer-bottom{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
