/*
Theme Name: Boutiques Mobile
Description: Sept identités pour les boutiques de téléphonie.
Version: 0.1.0
Requires PHP: 8.1
Text Domain: boutiques-mobile
*/
:root {
    --paper:#f4efe6; --ink:#24221f; --accent:#9d241d; --on-accent:#fff;
    --display: "Helvetica Neue", Helvetica, sans-serif;
    --body: "Helvetica Neue", Helvetica, sans-serif;
    --panel:#fffaf2; --rule:#c9c0b1; --corner:0;
}
* { box-sizing:border-box }
body { margin:0; background:var(--paper); color:var(--ink); font:1rem/1.55 var(--body) }
a { color:inherit }
.frame { max-width:1376px; width:calc(100% - clamp(36px,9vw,136px)); margin-inline:auto }
.site-header { min-height:91px; display:flex; align-items:center; justify-content:space-between; gap:1rem }
.brand { display:inline-flex; align-items:center; gap:.75rem; font-weight:750; font-size:clamp(.86rem,2.4vw,1.08rem); line-height:1.04; text-decoration:none }
.brand small { display:block; margin-top:.32rem; font-size:.73rem; font-weight:500; letter-spacing:.08em; text-transform:uppercase }
.mark { min-width:2.55rem; width:2.55rem; height:2.55rem; display:grid; place-items:center; color:var(--on-accent); background:var(--accent); font:900 1.45rem/1 var(--display); border-radius:var(--corner) }
.site-header nav,.site-footer nav { display:flex; align-items:center; gap:clamp(.6rem,2.4vw,1.65rem) }
.site-header nav a,.site-footer nav a { text-decoration:none }
.site-header nav a:hover,.site-footer nav a:hover { text-decoration:underline }
.basket { min-height:42px; display:grid; place-items:center; padding:0 .8em; border:1px solid var(--rule); border-radius:var(--corner) }
.hero { position:relative; isolation:isolate; display:grid; grid-template-columns:1.04fr 1fr; min-height:clamp(420px,40vw,590px); overflow:hidden; background:var(--panel); border-radius:var(--corner) }
.hero-content { padding:clamp(27px,4.4vw,72px); display:flex; flex-direction:column; justify-content:center; min-width:0 }
.hero h1 { margin:.12em 0 .28em; max-width:12ch; font:750 clamp(2.4rem,5.55vw,6.1rem)/.99 var(--display); letter-spacing:-.061em; text-wrap:balance }
.tag { text-transform:uppercase; font-weight:730; letter-spacing:.16em; font-size:.73rem; margin:0 0 .8em }
.intro { max-width:35ch; font-size:clamp(1rem,1.45vw,1.24rem); margin:0 0 1.55rem }
.action { background:var(--accent); color:var(--on-accent); font-weight:700; display:inline-flex; align-items:center; gap:1.25rem; align-self:flex-start; text-decoration:none; padding:.78rem 1rem; min-height:48px; border-radius:var(--corner) }
.action:hover { text-decoration:underline; text-underline-offset:.2em }
.hero-image { background:url(assets/collection.webp) no-repeat; background-size:auto 200%; min-height:240px }
.visual-phones { background-color:#101927; background-position:0 0 }
.visual-cases { background-color:#ecb3a5; background-position:100% 0 }
.visual-power { background-color:#e66a20; background-position:0 100% }
.visual-repair { background-color:#b6cabc; background-position:100% 100% }
.discovery { padding-block:clamp(2rem,4vw,4.4rem); display:grid; grid-template-columns:1fr minmax(270px,.65fr); align-items:center; gap:1.2rem }
h2 { margin:0; font:700 clamp(1.65rem,3vw,2.75rem)/1.1 var(--display); letter-spacing:-.04em }
.product-search { display:flex; min-width:0; gap:0 }
.product-search input { font:inherit; min-width:0; width:100%; min-height:47px; padding:.68em .8em; background:var(--panel); color:var(--ink); border:1px solid var(--rule); border-radius:var(--corner) 0 0 var(--corner) }
.product-search input::placeholder { color:color-mix(in srgb,var(--ink) 75%,var(--panel)); opacity:1 }
.product-search button { font:700 .88rem var(--body); border:1px solid transparent; background:var(--ink); color:var(--paper); padding:.55em .9em; cursor:pointer; border-radius:0 var(--corner) var(--corner) 0 }
.categories { display:grid; grid-column:1/-1; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.3rem,1.6vw,1.25rem) }
.categories a { display:flex; justify-content:space-between; align-items:center; gap:.4rem; border:1px solid var(--rule); border-radius:var(--corner); min-height:74px; padding:clamp(.75rem,2vw,1.5rem); font-weight:740; text-decoration:none }
.categories a:hover { background:var(--panel); text-decoration:underline; text-underline-offset:.2em }
.tip { padding:1.3rem 0 2.4rem; border-top:1px solid var(--rule) }
.tip h2 { font-size:1.3rem }
.tip p { margin:.45rem 0 0; max-width:65ch }
.site-footer { padding-block:1.4rem 2rem; border-top:1px solid var(--rule); display:flex; justify-content:space-between; flex-wrap:wrap; gap:.6rem; font-size:.85rem }
.interior { min-height:64vh; max-width:1190px; padding:1.8rem 0 4rem }
.interior h1 { font:750 clamp(2.2rem,5vw,4.2rem)/1.05 var(--display); letter-spacing:-.05em }
:focus-visible { outline:3px solid var(--accent); outline-offset:3px }
.skip:not(:focus),.sr-only { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0 }
.skip:focus { position:absolute; top:.5rem; left:.5rem; padding:.7rem; background:var(--paper); z-index:9999 }
.brand-natel-fr { --paper:#121922; --ink:#f7f8f6; --accent:#c6ed74; --on-accent:#12201a; --panel:#17222c; --rule:#59646f; --corner:14px; --display:Georgia,serif }
.brand-natel-fr .hero { display:block }
.brand-natel-fr .hero-image { position:absolute; inset:0; z-index:-1; background-size:200% 200% }
.brand-natel-fr .hero::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(8,15,28,.98),rgba(8,15,28,.82) 48%,rgba(8,15,28,.10)) }
.brand-natel-fr .hero-content { min-height:inherit }
.brand-a24 { --paper:#f5efdf; --ink:#251a18; --accent:#a2300d; --panel:#f8cc4e; --rule:#9d947d }
.brand-a24 .mark { transform:skew(-8deg) }
.brand-a24 .hero h1 { font-weight:900 }
.brand-a24 .categories a { border-width:0 0 3px; border-color:var(--accent) }
.brand-vente-ch { --paper:#f6eee2; --ink:#362322; --accent:#96364b; --panel:#f9e3dd; --rule:#a9948f; --corner:24px; --display:Georgia,serif }
.brand-vente-ch .hero { grid-template-columns:1.15fr 1fr }
.brand-vente-ch .mark { border-radius:50% }
.brand-vente-ch .hero-image { margin:clamp(.7rem,2vw,1.5rem); border-radius:var(--corner) }
.brand-vente-fr { --paper:#faeff3; --ink:#321e32; --accent:#792b53; --panel:#f3dbe5; --rule:#ad879b; --corner:8px; --display:Georgia,serif }
.brand-vente-fr .hero-image { grid-column:1; grid-row:1 }
.brand-vente-fr .hero-content { grid-column:2; grid-row:1 }
.brand-vente-fr .mark { border-radius:14px 0 14px 0 }
.brand-ligne-ch { --paper:#eaf1e9; --ink:#19392f; --accent:#245d4a; --panel:#dbe9df; --rule:#698878; --corner:8px }
.brand-ligne-ch .tag { font-family:Menlo,monospace }
.brand-ligne-ch .categories a { border-left:5px solid var(--accent) }
.brand-ligne-fr { --paper:#f5f4ed; --ink:#17243f; --accent:#243f9d; --panel:#e6ecfb; --rule:#8291ad; --corner:3px; --display:Georgia,serif }
.brand-ligne-fr .hero { grid-template-columns:1.4fr 1fr }
.brand-ligne-fr .hero h1 { font-size:clamp(2.25rem,4.6vw,5.2rem) }
.brand-ligne-fr .categories { gap:0 }
.brand-ligne-fr .categories a + a { border-left:0 }
@media (max-width:760px) {
    .site-header { min-height:70px }
    .site-header nav { font-size:.85rem }
    .hero,.brand-vente-ch .hero,.brand-ligne-fr .hero { grid-template-columns:1fr; min-height:0 }
    .hero h1 { max-width:15ch }
    .hero-image { min-height:0; aspect-ratio:3/2; background-size:200% 200% }
    .brand-vente-fr .hero-content,.brand-vente-fr .hero-image { grid-column:1; grid-row:auto }
    .brand-natel-fr .hero-image { background-position:0 0 }
    .brand-natel-fr .hero-content { min-height:430px }
    .brand-natel-fr .hero::after { background:linear-gradient(90deg,rgba(8,15,28,.94),rgba(8,15,28,.67)) }
    .discovery { grid-template-columns:1fr }
    .categories { grid-template-columns:1fr }
    .categories a { min-height:51px }
    .brand-ligne-fr .categories a + a { border-top:0; border-left:1px solid var(--rule) }
}
@media (max-width:360px) {
    .mark { width:2rem; min-width:2rem; height:2rem }
    .site-header { gap:.45rem }
}
.woocommerce .woocommerce-breadcrumb { color:var(--ink); margin:0 0 1.65rem; font-size:.86rem }
.woocommerce .woocommerce-breadcrumb a { color:inherit; text-underline-offset:.2em }
.woocommerce div.product .product_title { margin:0 0 .45em }
.woocommerce div.product p.price,.woocommerce ul.products li.product .price { color:var(--ink); font-weight:750 }
.woocommerce div.product .stock { color:var(--ink) }
.woocommerce ul.products li.product { border-bottom:1px solid var(--rule); padding-bottom:1rem }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size:clamp(1rem,1.3vw,1.22rem); line-height:1.2 }
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce #respond input#submit,.woocommerce button.button.alt,.woocommerce a.button.alt {
    background:var(--accent); color:var(--on-accent); border-radius:var(--corner); min-height:44px;
}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover {
    background:var(--accent); color:var(--on-accent); text-decoration:underline;
}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce .quantity .qty {
    min-height:44px; border:1px solid var(--rule); background:var(--panel); color:var(--ink); padding:.48rem .59rem; font:inherit;
}
.woocommerce form .form-row .required { color:var(--accent) }
.woocommerce .select2-container--default .select2-selection--single {
    background:var(--panel); border-color:var(--rule);
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered { color:var(--ink) }
.woocommerce-checkout #payment { background:var(--panel); border:1px solid var(--rule) }
.woocommerce-checkout #payment div.payment_box { background:var(--paper); color:var(--ink) }
.woocommerce form.checkout_coupon,.woocommerce table.shop_table,.woocommerce .shop_table th,.woocommerce .shop_table td { border-color:var(--rule) }
.woocommerce .woocommerce-info,.woocommerce .woocommerce-message,.woocommerce .woocommerce-error {
    color:var(--ink); background:var(--panel); border-top-color:var(--accent);
}
.woocommerce .woocommerce-info::before,.woocommerce .woocommerce-message::before,.woocommerce .woocommerce-error::before { color:var(--accent) }
