/*
Theme Name: Petit Rizk
Theme URI: https://petitrizk.com/
Author: Petit Rizk
Description: قالب عربي لمتجر Petit Rizk لملابس الأطفال — تصميم من اليمين إلى اليسار، متوافق مع WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: petit-rizk
Tags: e-commerce, rtl-language-support, custom-logo, custom-menu, translation-ready
*/

/* =========================================================================
 * 1 — Jetons de design
 *
 * Toute couleur, tout rayon et tout choix typographique du thème se résout
 * ici. Les noms --pr-* font foi. Les alias courts qui suivent existent parce
 * que les écrans compte, commande et gestion des produits ont été écrits
 * contre eux : repointer l'alias les repeint sans y toucher.
 * ====================================================================== */
:root{
  /* palette du logo */
  --pr-red:#D1202B;
  --pr-red-dark:#A9161F;
  --pr-blue:#1F4FA3;
  --pr-blue-dark:#183F83;
  --pr-navy:#16254A;
  --pr-muted:#4E5B78;
  --pr-bg:#F5F9FE;
  --pr-white:#FFFFFF;

  /* teintes de fond */
  --pr-sky:#DCEAF8;
  --pr-sky-pale:#E8F1FB;
  --pr-pink:#FBE1E3;
  --pr-tan:#F3E3CE;

  --pr-line:#D6E3F3;

  /* etats (pastilles de statut, bandeaux, notes) */
  --pr-star:#B8860B;
  --pr-app-bg:#F4F6F9;
  --pr-ok-bg:#DCF0E6;      --pr-ok-ink:#126B45;
  --pr-info-bg:#E4EDFB;    --pr-info-ink:#14448F;
  --pr-warn-bg:#FAEBCF;    --pr-warn-ink:#8A5A07;
  --pr-alert-bg:#FDE3E4;   --pr-alert-ink:#A5121A;
  --pr-neutral-bg:#EFF1F4; --pr-neutral-ink:#4A5B75;
  --pr-whatsapp:#1B6B45;
  --pr-whatsapp-dark:#125234;

  /* pied de page */
  --pr-foot-bg:#16254A;
  --pr-foot-ink:#C9D6EC;
  --pr-foot-muted:#9FB2D3;
  --pr-foot-line:#2E3F66;

  /* ombres */
  --pr-shadow-sm:0 2px 8px rgba(22,37,74,.06);
  --pr-shadow-md:0 10px 30px rgba(22,37,74,.10);
  --pr-shadow-lg:0 24px 60px rgba(22,37,74,.16);

  /* rayons */
  --pr-r-card:20px;
  --pr-r-card-lg:24px;
  --pr-r-pill:999px;
  --pr-arch-cat:120px 120px 20px 20px;
  --pr-arch-look:200px 200px 24px 24px;

  /* mise en page */
  --pr-container:1280px;
  --pr-gutter:clamp(16px,4vw,40px);
  --pr-section:clamp(48px,8vw,104px);

  /* typographie */
  --pr-display:'El Messiri','Noto Sans Arabic',Tahoma,sans-serif;
  --pr-body:'IBM Plex Sans Arabic','Noto Sans Arabic',Tahoma,sans-serif;

  /* --- alias hérités (écrans compte / commande / gestion produits) --- */
  --red:var(--pr-red);
  --red-deep:var(--pr-red-dark);
  --red-soft:var(--pr-pink);
  --blue:var(--pr-blue);
  --blue-deep:var(--pr-navy);
  --blue-mid:#3A6BBF;
  --sky:var(--pr-sky);
  --sky-2:var(--pr-sky-pale);
  --sky-3:var(--pr-bg);
  --ground:var(--pr-bg);
  --surface:var(--pr-white);
  --surface-2:var(--pr-sky);
  --ink:var(--pr-navy);
  --ink-2:var(--pr-muted);
  --ink-3:var(--pr-muted);
  --line:var(--pr-line);
  --line-2:var(--pr-line);
  --on-red:var(--pr-white);
  --on-blue:var(--pr-white);
  --bar-bg:var(--pr-navy);
  --bar-ink:var(--pr-white);
  --foot-bg:var(--pr-foot-bg);
  --foot-ink:var(--pr-foot-ink);
  --foot-ink-2:var(--pr-foot-muted);
  --cloud:var(--pr-white);
  --tan:var(--pr-tan);
  --ok:var(--pr-whatsapp);
  --warn:#9A6206;
  --shadow-sm:var(--pr-shadow-sm);
  --shadow-md:var(--pr-shadow-md);
  --shadow-lg:var(--pr-shadow-lg);
  --r-sm:14px;
  --r-md:var(--pr-r-card);
  --r-lg:var(--pr-r-card-lg);
  --display:var(--pr-display);
  --body:var(--pr-body);
}

/* =========================================================================
 * 2 — Base et typographie
 * ====================================================================== */
*{box-sizing:border-box;}
/* Un `display` d'auteur bat la règle UA sur [hidden] : il faut le redire. */
[hidden]{display:none !important;}
html{-webkit-text-size-adjust:100%;}

body{
  margin:0;
  background:var(--pr-bg);
  color:var(--pr-navy);
  font-family:var(--pr-body);
  font-size:clamp(17px,.55vw + 15px,20px);
  font-weight:400;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4,h5{
  font-family:var(--pr-display);
  font-weight:700;
  color:var(--pr-navy);
  margin:0;
  line-height:1.2;
  text-wrap:balance;
}
h1{font-size:clamp(44px,5.6vw,76px);line-height:1.08;}
h2{font-size:clamp(28px,3.4vw,44px);}
h3{font-size:clamp(20px,1.7vw,26px);font-weight:600;}
h4{font-size:clamp(17px,1.2vw,19px);font-weight:600;}
p{margin:0;}

a{color:var(--pr-blue);text-decoration:none;}
a:hover{color:var(--pr-red);}
:focus-visible{outline:3px solid var(--pr-blue);outline-offset:3px;border-radius:4px;}
img{max-width:100%;}

::selection{background:var(--pr-sky);color:var(--pr-navy);}

.screen-reader-text,.sr{
  position:absolute !important;width:1px;height:1px;overflow:hidden;
  clip:rect(1px,1px,1px,1px);clip-path:inset(50%);white-space:nowrap;
}
.skip-link{
  position:absolute;inset-inline-start:-9999px;top:0;z-index:999;
  background:var(--pr-red);color:var(--pr-white);
  padding:12px 20px;border-radius:0 0 12px 0;font-weight:600;
}
.skip-link:focus{inset-inline-start:0;}

/* =========================================================================
 * 3 — Gabarit
 * ====================================================================== */
.wrap{
  max-width:var(--pr-container);
  margin-inline:auto;
  padding-inline:var(--pr-gutter);
}

.eyebrow{
  font-weight:600;font-size:13px;letter-spacing:.09em;
  color:var(--pr-red);text-transform:none;
}
.section-head{margin-block-end:clamp(28px,3.4vw,48px);max-width:56ch;}
.section-head h2{margin-block-start:10px;}
.section-head p{color:var(--pr-muted);margin-block-start:12px;}

/* Carte : un seul traitement, partout. */
.pr-surface{
  background:var(--pr-white);
  border:1px solid var(--pr-line);
  border-radius:var(--pr-r-card);
}

/* =========================================================================
 * 4 — Boutons
 *
 * Pilule, 56 px sur bureau et 52 px sur mobile — jamais sous les 44 px
 * de cible tactile. La couleur du texte est toujours déclarée : une règle
 * `a:not(.button)` avait déjà rendu le libellé invisible sur fond rouge.
 * ====================================================================== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:56px;padding:0 30px;
  border:1.5px solid transparent;border-radius:var(--pr-r-pill);
  font-family:var(--pr-body);font-weight:600;font-size:17px;line-height:1.2;
  text-decoration:none;cursor:pointer;white-space:nowrap;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}
.btn:hover{transform:translateY(-1px);}
.btn:active{transform:none;}
.btn svg{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;}

.btn-primary,
.btn.btn-primary{background:var(--pr-red);color:var(--pr-white);border-color:var(--pr-red);}
.btn-primary:hover,
.btn.btn-primary:hover{background:var(--pr-red-dark);border-color:var(--pr-red-dark);color:var(--pr-white);}

.btn-secondary,
.btn.btn-secondary,
.btn-onphoto{background:transparent;color:var(--pr-navy);border-color:var(--pr-navy);}
.btn-secondary:hover,
.btn.btn-secondary:hover,
.btn-onphoto:hover{background:var(--pr-navy);color:var(--pr-white);border-color:var(--pr-navy);}

.btn-light,
.btn.btn-light{background:var(--pr-white);color:var(--pr-blue);border-color:var(--pr-white);}
.btn-light:hover,
.btn.btn-light:hover{background:var(--pr-sky-pale);color:var(--pr-blue-dark);border-color:var(--pr-sky-pale);}

.btn-whatsapp,
.btn.btn-whatsapp{background:var(--pr-whatsapp);color:var(--pr-white);border-color:var(--pr-whatsapp);}
.btn-whatsapp:hover,
.btn.btn-whatsapp:hover{background:var(--pr-whatsapp-dark);border-color:var(--pr-whatsapp-dark);color:var(--pr-white);}

.btn-block{width:100%;}

@media (max-width:760px){
  .btn{min-height:52px;padding:0 24px;font-size:16px;}
}
@media (hover:none){
  .btn:hover{transform:none;}
}

/* =========================================================================
 * 5 — Bandeau d'annonce
 *
 * Trois promesses sur une ligne, separees par des points. Sous 900 px il n'y
 * a de place que pour la premiere : mieux vaut une promesse lisible que trois
 * tronquees.
 * ====================================================================== */
.bar{background:var(--pr-navy);color:var(--pr-white);}
.bar-in{
  max-width:var(--pr-container);margin-inline:auto;
  padding-inline:var(--pr-gutter);
  min-height:44px;
  display:flex;align-items:center;justify-content:center;
  gap:14px;flex-wrap:wrap;
  font-size:14px;font-weight:400;line-height:1.3;
}
.bar-item{display:inline-flex;align-items:center;}
.bar-dot{color:var(--pr-foot-muted);}
@media (max-width:900px){
  .bar-in{font-size:13px;gap:10px;}
  .bar-item:nth-of-type(n+2),.bar-dot{display:none;}
}

/* =========================================================================
 * 6 — En-tete
 *
 * Trois colonnes : marque, menu centre, actions. Le menu bascule dans la
 * feuille mobile sous 1080 px, ou le logo passe au centre entre le hamburger
 * et le panier.
 * ====================================================================== */
.site-header{
  position:sticky;top:0;z-index:60;
  background:var(--pr-white);
  border-block-end:1px solid var(--pr-line);
}
.nav{
  max-width:var(--pr-container);margin-inline:auto;
  padding:12px var(--pr-gutter);
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;
}

/* --- marque --- */
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;}
.brand:hover{color:inherit;}
.brand-mark{
  width:76px;height:76px;border-radius:50%;object-fit:cover;flex:none;
  border:1px solid var(--pr-line);background:var(--pr-white);
}
.brand-text{display:flex;flex-direction:column;gap:2px;}
.brand-sub{font-size:13px;line-height:1.35;color:var(--pr-muted);}

/* --- menu --- */
.main-nav ul{
  list-style:none;margin:0;padding:0;
  display:flex;align-items:center;justify-content:center;
  gap:clamp(12px,1.8vw,26px);flex-wrap:wrap;
}
.main-nav a{
  display:inline-block;padding-block:8px;
  color:var(--pr-navy);font-size:16px;font-weight:500;text-decoration:none;
  border-block-end:2px solid transparent;
}
.main-nav a:hover,
.main-nav .current-menu-item > a{color:var(--pr-blue);border-block-end-color:var(--pr-blue);}
.main-nav a.is-size-link{color:var(--pr-red);font-weight:600;}
.main-nav a.is-size-link:hover{border-block-end-color:var(--pr-red);}

/* --- actions --- */
.nav-actions{display:flex;align-items:center;gap:8px;}
.icon-btn{
  width:44px;height:44px;flex:none;
  display:inline-flex;align-items:center;justify-content:center;
  border:none;background:transparent;border-radius:50%;
  color:var(--pr-navy);cursor:pointer;
  transition:background-color .2s ease,color .2s ease;
}
.icon-btn:hover{background:var(--pr-sky-pale);color:var(--pr-blue);}
.icon-btn svg{stroke:currentColor;fill:none;}

/* Icone seule, cerclee : elle garde son contour pour rester le bouton
   principal de la barre, la ou les autres icones sont nues. */
.cart-pill{
  width:44px;height:44px;flex:none;
  display:inline-flex;align-items:center;justify-content:center;
  border:1.5px solid var(--pr-navy);border-radius:50%;
  color:var(--pr-navy);text-decoration:none;
  transition:background-color .2s ease,color .2s ease;
}
.cart-pill:hover{background:var(--pr-navy);color:var(--pr-white);}

/* l'icone porte la pastille : c'est elle le repere de position */
.cart-ic{position:relative;display:inline-flex;flex:none;}
.cart-ic svg{stroke:currentColor;fill:none;display:block;}
.cart-count{
  position:absolute;
  inset-block-start:-7px;inset-inline-end:-9px;
  min-width:18px;height:18px;padding:0 5px;
  display:flex;align-items:center;justify-content:center;
  background:var(--pr-red);color:var(--pr-white);
  border:2px solid var(--pr-white);border-radius:var(--pr-r-pill);
  font-size:11px;font-weight:700;line-height:1;
  font-variant-numeric:tabular-nums;
}
/* un « 0 » rouge n'apprend rien : la pastille n'apparait qu'a partir d'un article */
.cart-count.is-empty{display:none;}
.cart-pill:hover .cart-count{border-color:var(--pr-navy);}

.burger{display:none;}

/* --- recherche --- */
.site-search{border-block-start:1px solid var(--pr-line);background:var(--pr-sky-pale);}
.site-search-in{
  max-width:var(--pr-container);margin-inline:auto;
  padding:14px var(--pr-gutter);
}
.site-search form{display:flex;gap:10px;}
.site-search input[type="search"]{flex:1;}
.site-search input[type="search"]{
  width:100%;min-height:52px;padding:0 20px;
  border:1px solid var(--pr-line);border-radius:var(--pr-r-pill);
  background:var(--pr-white);color:var(--pr-navy);
  font-family:var(--pr-body);font-size:16px;
}
.site-search input[type="search"]::placeholder{color:var(--pr-muted);}
.site-search button{
  min-height:52px;padding:0 26px;border:none;border-radius:var(--pr-r-pill);
  background:var(--pr-red);color:var(--pr-white);
  font-family:var(--pr-body);font-weight:600;font-size:16px;cursor:pointer;
}
.site-search button:hover{background:var(--pr-red-dark);}

@media (max-width:1080px){
  .nav{grid-template-columns:auto auto auto;justify-content:space-between;}
  .main-nav{display:none;}
  .burger{display:inline-flex;}
  .nav-actions{order:3;}
  .brand{order:2;}
  .burger{order:1;}
  .brand-mark{width:52px;height:52px;}
  .brand-text{display:none;}
}
@media (max-width:420px){
  .nav{padding-inline:16px;gap:8px;}
  .nav-actions{gap:2px;}
}

/* Phones and tablets (wherever the menu is hidden): logo at the right edge, icons at the left edge. The three-column
   grid above left the icon group in the middle track once the menu hid,
   and space-between then centred it, with a gap after the logo. */
@media (max-width:1080px){
  .site-header{padding-top:env(safe-area-inset-top,0px);}
  .nav{
    display:flex;justify-content:space-between;align-items:center;
    min-height:64px;padding:0 16px;gap:8px;
  }
  .brand{order:0;margin:0;}
  .brand-mark{width:52px;height:52px;}
  .nav-actions{order:0;margin:0;gap:4px;width:auto;justify-content:flex-start;}
  .nav-actions .icon-btn,
  .nav-actions .cart-pill{
    width:44px;height:44px;border:0;border-radius:12px;background:transparent;color:#16215C;
  }
  .nav-actions .icon-btn svg,
  .nav-actions .cart-ic svg{width:22px;height:22px;}
  .nav-actions .cart-pill:hover{background:transparent;color:#16215C;}
  /* the burger closes the row, at the very left edge, and reads as the menu */
  .nav-actions .burger{order:9;background:#F3F5FA;}
  .nav-actions .cart-count{background:#D6232A;min-width:18px;height:18px;font-size:11px;border-color:var(--pr-white);}
  .nav-actions .cart-pill:hover .cart-count{border-color:var(--pr-white);}
}

/* --- feuille mobile --- */
.sheet{position:fixed;inset:0;z-index:90;}
.sheet-scrim{
  position:absolute;inset:0;width:100%;height:100%;
  border:none;padding:0;cursor:pointer;
  background:rgba(22,37,74,.45);
}
.sheet-panel{
  position:absolute;inset-block:0;inset-inline-start:0;
  width:min(320px,86vw);background:var(--pr-white);
  padding:18px 22px 28px;overflow-y:auto;
  display:flex;flex-direction:column;gap:6px;
  box-shadow:var(--pr-shadow-lg);
}
.sheet-top{display:flex;align-items:center;justify-content:space-between;margin-block-end:12px;}
.sheet-panel ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;}
.sheet-panel a{
  display:block;padding:14px 4px;
  color:var(--pr-navy);font-size:17px;font-weight:500;text-decoration:none;
  border-block-end:1px solid var(--pr-line);
}
.sheet-panel a:hover{color:var(--pr-blue);}
.sheet-panel a.is-size-link{color:var(--pr-red);font-weight:600;}
/* =========================================================================
 * 10 — Nouveautes
 * ====================================================================== */
.products{padding-block:var(--pr-section) 0;}

.filter-row{display:flex;gap:10px;flex-wrap:wrap;margin-block-end:28px;}
.chip{
  min-height:44px;padding:0 20px;
  border:1.5px solid var(--pr-line);border-radius:var(--pr-r-pill);
  background:var(--pr-white);color:var(--pr-navy);
  font-family:var(--pr-body);font-weight:500;font-size:15px;
  cursor:pointer;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease;
}
.chip:hover{border-color:var(--pr-navy);}
.chip[aria-pressed="true"]{background:var(--pr-navy);border-color:var(--pr-navy);color:var(--pr-white);}

.prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(16px,2vw,26px);}

.prod-card{
  display:flex;flex-direction:column;
  background:var(--pr-white);
  border:1px solid var(--pr-line);
  border-radius:var(--pr-r-card);
  overflow:hidden;
  transition:box-shadow .3s ease,transform .3s ease;
}
.prod-card:hover{transform:translateY(-4px);box-shadow:var(--pr-shadow-md);}

/* image, corps et options de la carte : assets/css/product-card.css */

.prod-tag{
  position:absolute;inset-block-start:14px;inset-inline-start:14px;z-index:2;
  background:var(--pr-red);color:var(--pr-white);
  border-radius:var(--pr-r-pill);padding:5px 14px;
  font-size:13px;font-weight:600;
}
.prod-tag.is-blue{background:var(--pr-blue);}

.fav-btn{
  position:absolute;inset-block-start:12px;inset-inline-end:12px;z-index:2;
  width:44px;height:44px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--pr-white);border:1px solid var(--pr-line);
  color:var(--pr-muted);cursor:pointer;
  box-shadow:var(--pr-shadow-sm);
  transition:color .2s ease,border-color .2s ease;
}
.fav-btn:hover{color:var(--pr-red);border-color:var(--pr-red);}
.fav-btn svg{stroke:currentColor;fill:none;}
.fav-btn[aria-pressed="true"]{color:var(--pr-red);border-color:var(--pr-red);}
.fav-btn[aria-pressed="true"] svg{fill:currentColor;}

.prod-meta{font-size:15px;color:var(--pr-muted);line-height:1.6;}

.prod-foot{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;flex-wrap:wrap;margin-block-start:auto;padding-block-start:14px;
}
.price{
  font-family:var(--pr-display);font-weight:700;font-size:20px;
  color:var(--pr-red);display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;
}
.price del{
  color:var(--pr-muted);font-family:var(--pr-body);font-weight:400;
  font-size:15px;opacity:1;text-decoration:line-through;
}
.price ins{text-decoration:none;color:var(--pr-red);}

.add-btn{
  display:inline-flex;align-items:center;gap:7px;
  min-height:44px;padding:0 18px;
  border:1.5px solid var(--pr-navy);border-radius:var(--pr-r-pill);
  background:transparent;color:var(--pr-navy);
  font-family:var(--pr-body);font-weight:600;font-size:15px;
  text-decoration:none;white-space:nowrap;
  transition:background-color .2s ease,color .2s ease;
}
.add-btn:hover{background:var(--pr-navy);color:var(--pr-white);}
.add-btn svg{stroke:currentColor;fill:none;flex:none;}
.add-btn.loading{opacity:.55;pointer-events:none;}

/* loin de la bordure festonnee de la section livraison qui suit */
.prod-all{margin-block:20px 80px;text-align:center;}
@media (max-width:600px){.prod-all{margin-block-end:48px;}}

.empty-note{
  background:var(--pr-white);border:1px solid var(--pr-line);
  border-radius:var(--pr-r-card);padding:28px;
  text-align:center;color:var(--pr-muted);
}

/* colonnes de la grille : 4 / 3 / 2 / 1, dans assets/css/product-card.css */
@media (max-width:760px){
  .prod-grid{gap:14px;}
  .prod-meta{display:none;}
  .prod-foot{gap:8px;padding-block-start:10px;}
  .price{font-size:17px;}
  .add-btn{padding:0 14px;font-size:14px;}
  .add-btn span{display:none;}
  /* le bouton favori garde ses 44px : cible tactile */
  .fav-btn{inset-block-start:8px;inset-inline-end:8px;}
  .chip{min-height:40px;padding:0 16px;font-size:14px;}
}

/* =========================================================================
 * 12 — Lookbook
 *
 * Trois arches de 560 px. La carte blanche est posee dans le bas de l'arche,
 * pas en dessous : elle fait partie de l'image, et c'est elle qui porte
 * l'appel a l'action.
 * ====================================================================== */
.looks{padding-block:var(--pr-section) 0;}
.looks-row{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,2.2vw,28px);}

.lk-card{
  position:relative;display:block;height:560px;
  border-radius:var(--pr-arch-look);
  overflow:hidden;background:var(--pr-sky-pale);
  text-decoration:none;
  transition:transform .3s ease,box-shadow .3s ease;
}
.lk-card:hover{transform:translateY(-6px);box-shadow:var(--pr-shadow-lg);}
.lk-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}

.lk-panel{
  position:absolute;z-index:2;
  inset-inline:18px;inset-block-end:18px;
  display:flex;flex-direction:column;gap:4px;
  background:var(--pr-white);
  border-radius:var(--pr-r-card);
  padding:18px 20px;
  box-shadow:var(--pr-shadow-md);
}
.lk-name{font-family:var(--pr-display);font-weight:700;font-size:21px;color:var(--pr-navy);}
.lk-count{font-size:15px;color:var(--pr-muted);}
.lk-cta{
  display:inline-flex;align-items:center;gap:8px;
  margin-block-start:8px;
  color:var(--pr-red);font-weight:600;font-size:16px;
}
.lk-cta svg{stroke:currentColor;fill:none;flex:none;transition:transform .25s ease;}
.lk-card:hover .lk-cta svg{transform:translateX(5px);}

@media (max-width:980px){
  .looks-row{grid-template-columns:1fr 1fr;}
  .lk-card{height:460px;}
  /* La 3e carte s'etirait sur toute la largeur en 380px de haut : object-fit
     rognait le portrait 2:3 en son milieu et decapitait le sujet. Elle garde
     desormais les proportions des deux autres, seule sur sa ligne. */
}
@media (max-width:640px){
  .looks-row{grid-template-columns:1fr;}
  .lk-card,.lk-card:last-child{height:420px;border-radius:140px 140px 20px 20px;}
  .lk-panel{inset-inline:14px;inset-block-end:14px;padding:15px 16px;}
  .lk-name{font-size:19px;}
}

/* =========================================================================
 * 13 — Pied de page
 * ====================================================================== */
.site-footer{
  background:var(--pr-foot-bg);
  color:var(--pr-foot-ink);
  padding-block:clamp(40px,6vw,72px) 0;
  margin-block-start:var(--pr-section);
}
.foot-grid{
  display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:clamp(24px,3vw,48px);
  padding-block-end:clamp(28px,4vw,48px);
}
.foot-logo{
  width:104px;height:104px;border-radius:50%;object-fit:cover;
  display:block;background:var(--pr-white);
}
.foot-brand p{
  color:var(--pr-foot-muted);font-size:16px;line-height:1.8;
  margin-block-start:16px;max-width:42ch;
}
.foot-social{display:flex;gap:10px;margin-block-start:20px;}
.foot-social-btn{
  width:44px;height:44px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.08);
  border:1px solid var(--pr-foot-line);
  color:var(--pr-foot-ink);
  transition:background-color .2s ease,color .2s ease;
}
.foot-social-btn:hover{background:var(--pr-white);color:var(--pr-navy);}
.foot-social-btn.is-whatsapp:hover{background:var(--pr-whatsapp);color:var(--pr-white);}
.foot-social-btn svg{stroke:currentColor;fill:none;}

.foot-col h4{color:var(--pr-white);font-size:17px;margin-block-end:14px;}
.foot-col ul{list-style:none;margin:0;padding:0;}
.foot-col a{
  display:block;padding-block:7px;
  color:var(--pr-foot-ink);font-size:16px;text-decoration:none;
}
.foot-col a:hover{color:var(--pr-white);}

.foot-bottom{
  border-block-start:1px solid var(--pr-foot-line);
  padding-block:20px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;
  color:var(--pr-foot-muted);font-size:15px;
}

@media (max-width:900px){
  .foot-grid{grid-template-columns:1fr 1fr;}
  .foot-brand{grid-column:1 / -1;}
}
@media (max-width:560px){
  .foot-grid{grid-template-columns:1fr;}
  .foot-bottom{justify-content:center;text-align:center;}
}

/* ---------- generic page / post ---------- */
.page-hero{background:var(--sky-2);padding-block:clamp(34px,5vw,56px);}
.page-hero h1{font-size:clamp(1.8rem,4vw,2.6rem);color:var(--blue-deep);}
.entry{background:var(--surface);padding-block:clamp(36px,5vw,64px);}
.entry-content{max-width:68ch;margin-inline:auto;}
.entry-content > * + *{margin-block-start:1.1em;}
.entry-content h2{font-size:1.6rem;margin-block-start:1.6em;}
.entry-content h3{font-size:1.25rem;margin-block-start:1.4em;}
.entry-content a{color:var(--red);text-decoration:underline;text-underline-offset:3px;}
.entry-content blockquote{border-inline-start:4px solid var(--red);padding-inline-start:18px;color:var(--ink-2);font-style:italic;}
.entry-content img{border-radius:var(--r-sm);}
.entry-content table{width:100%;border-collapse:collapse;}
.entry-content table th,.entry-content table td{border:1px solid var(--line);padding:10px;text-align:start;}
.post-list{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
@media (max-width:900px){.post-list{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.post-list{grid-template-columns:1fr;}}
.post-card{background:var(--ground);border:1px solid var(--line-2);border-radius:var(--r-md);overflow:hidden;}
.post-card .pc-body{padding:16px;}
.post-card h2{font-size:1.1rem;font-family:var(--body);}
.post-card time{font-size:.78rem;color:var(--ink-3);}
.pagination{display:flex;gap:8px;justify-content:center;margin-block-start:32px;flex-wrap:wrap;}
.pagination .page-numbers{padding:9px 16px;border-radius:99px;border:2px solid var(--line);font-weight:700;font-size:.88rem;}
.pagination .page-numbers.current{background:var(--red);border-color:var(--red);color:var(--pr-white);}

/* ---------- WooCommerce ---------- */
.woo-wrap{background:var(--surface);padding-block:clamp(30px,4vw,52px) clamp(50px,7vw,78px);}
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error{
  border-block-start:none;border-inline-start:4px solid var(--blue);
  background:var(--sky-2);color:var(--ink);border-radius:var(--r-sm);padding:14px 18px;
}
.woocommerce .woocommerce-error{border-inline-start-color:var(--red);background:var(--red-soft);}
.woocommerce .woocommerce-message{border-inline-start-color:var(--ok);}
.woocommerce div.product .product_title{font-family:var(--display);font-size:clamp(1.5rem,3vw,2.1rem);}
.woocommerce div.product p.price{color:var(--red);font-family:var(--display);font-size:1.6rem;}
.woocommerce div.product form.cart div.quantity{margin-inline-end:12px;}
.woocommerce .quantity input.qty{
  border:2px solid var(--line);border-radius:99px;padding:11px 8px;width:72px;background:var(--surface);color:var(--ink);
}
.woocommerce table.shop_table{border-radius:var(--r-md);border-color:var(--line);}
.woocommerce table.shop_table th{font-family:var(--body);font-weight:700;color:var(--ink);}
.woocommerce-checkout #payment{background:var(--sky-2);border-radius:var(--r-md);}
.woocommerce-checkout #payment ul.payment_methods{border-block-end:1px solid var(--line);}
.woocommerce-checkout #payment div.payment_box{background:var(--surface);color:var(--ink-2);border-radius:var(--r-sm);}
.woocommerce-checkout #payment div.payment_box::before{border-block-end-color:var(--surface);}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,
.woocommerce form .form-row select,.select2-container .select2-selection--single{
  border:2px solid var(--line);border-radius:14px;padding:12px 14px;background:var(--surface);color:var(--ink);
  font-family:var(--body);height:auto;
}
.woocommerce form .form-row label{font-weight:700;font-size:.88rem;color:var(--ink);}
.woocommerce-breadcrumb{font-size:.84rem;color:var(--ink-3);margin-block-end:18px;}
.woocommerce-breadcrumb a{color:var(--blue);}
.woocommerce .woocommerce-ordering select,.woocommerce-result-count{font-family:var(--body);}
.woocommerce-store-notice{background:var(--blue);color:var(--pr-white);}

/* cash-on-delivery emphasis at checkout */
.wc_payment_method label{font-weight:700;}
.payment_method_cod label::after{
  content:"الأكثر استعمالاً";
  background:var(--ok);color:var(--pr-white);font-size:.68rem;font-weight:700;
  padding:3px 10px;border-radius:99px;margin-inline-start:9px;vertical-align:middle;
}


/* =========================================================================
 * 14 — Banniere cookies (extension CookieAdmin)
 *
 * L'extension pose ses couleurs en CSS inline depuis ses propres reglages,
 * d'ou le !important : c'est le seul moyen de les reprendre depuis le theme
 * sans toucher a la configuration de l'extension.
 * ====================================================================== */
.cookieadmin_law_container,
.cookieadmin_cookie_modal{
  font-family:var(--pr-body) !important;
  border-radius:var(--pr-r-card-lg) !important;
  border:1px solid var(--pr-line) !important;
  background:var(--pr-white) !important;
  color:var(--pr-navy) !important;
  box-shadow:var(--pr-shadow-lg) !important;
}
.cookieadmin_header,
.cookieadmin_mod_head,
.cookieadmin_law_container h2,
.cookieadmin_cookie_modal h2{
  font-family:var(--pr-display) !important;
  color:var(--pr-navy) !important;
}
.cookieadmin_desc,
.cookieadmin_law_container p,
.cookieadmin_cookie_modal p{
  color:var(--pr-muted) !important;
  font-size:15px !important;
  line-height:1.7 !important;
}
.cookieadmin_law_container a,
.cookieadmin_modal_footer_links a{color:var(--pr-blue) !important;}

.cookieadmin_btn{
  border-radius:var(--pr-r-pill) !important;
  min-height:44px !important;
  font-family:var(--pr-body) !important;
  font-weight:600 !important;
  font-size:15px !important;
  padding:0 22px !important;
  border:1.5px solid transparent !important;
  transition:background-color .2s ease,color .2s ease !important;
}
.cookieadmin_btn.cookieadmin_accept_btn{
  background:var(--pr-red) !important;color:var(--pr-white) !important;border-color:var(--pr-red) !important;
}
.cookieadmin_btn.cookieadmin_accept_btn:hover{background:var(--pr-red-dark) !important;border-color:var(--pr-red-dark) !important;}

.cookieadmin_btn.cookieadmin_reject_btn,
.cookieadmin_btn.cookieadmin_customize_btn{
  background:transparent !important;color:var(--pr-navy) !important;border-color:var(--pr-navy) !important;
}
.cookieadmin_btn.cookieadmin_reject_btn:hover,
.cookieadmin_btn.cookieadmin_customize_btn:hover{background:var(--pr-navy) !important;color:var(--pr-white) !important;}

.cookieadmin_btn.cookieadmin_save_btn{
  background:var(--pr-blue) !important;color:var(--pr-white) !important;border-color:var(--pr-blue) !important;
}
.cookieadmin_btn.cookieadmin_save_btn:hover{background:var(--pr-blue-dark) !important;border-color:var(--pr-blue-dark) !important;}

.cookieadmin_preference,
.cookieadmin_preference_details,
.cookieadmin_details_wrapper{
  border-color:var(--pr-line) !important;
  border-radius:var(--pr-r-card) !important;
}
.cookieadmin-modal-cookies-list{
  background:var(--pr-sky-pale) !important;
  border-radius:var(--pr-r-card) !important;
  color:var(--pr-navy) !important;
}
.cookieadmin_poweredby,
.cookieadmin-poweredby{display:none !important;}

/* Choice already made on this browser (remembered by js/main.js). */
.pr-ck-done .cookieadmin_law_container,
.pr-ck-done .cookieadmin_cookie_modal{display:none !important;}

/* The floating button that reopens the cookie choices, bottom corner. */
.cookieadmin_re_consent{display:none !important;}

/* Phone: the notice took half the screen. Shorter text, the main button on
   its own line and the two others side by side. */
@media (max-width:600px){
  .cookieadmin_law_container{padding:12px 14px !important;}
  .cookieadmin_law_container .cookieadmin_header,
  .cookieadmin_law_container h2{font-size:16px !important;margin:0 0 2px !important;}
  .cookieadmin_law_container .cookieadmin_desc,
  .cookieadmin_law_container p{font-size:13px !important;line-height:1.5 !important;margin:0 0 10px !important;}
  .cookieadmin_law_container .cookieadmin_consent_btns{
    display:grid !important;grid-template-columns:1fr 1fr;gap:8px !important;margin:0 !important;
  }
  .cookieadmin_law_container .cookieadmin_btn{
    min-height:40px !important;font-size:13.5px !important;padding:0 8px !important;margin:0 !important;width:auto !important;
  }
  .cookieadmin_law_container .cookieadmin_btn.cookieadmin_accept_btn{grid-column:1 / -1;order:-1;}
}


/* =========================================================================
 * 16 — Avis clientes (affiches seulement quand il y en a de vrais)
 * ====================================================================== */
.reviews{padding-block:var(--pr-section) 0;}
.review-row{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,2vw,26px);}
.review-card{
  display:flex;flex-direction:column;gap:12px;
  background:var(--pr-white);
  border:1px solid var(--pr-line);
  border-radius:var(--pr-r-card);
  padding:24px;margin:0;
}
.review-card .stars{color:var(--pr-star);font-size:17px;letter-spacing:2px;}
.review-card blockquote{margin:0;font-size:16px;line-height:1.75;color:var(--pr-navy);}
.review-card figcaption{margin-block-start:auto;display:flex;flex-direction:column;gap:2px;}
.review-card figcaption strong{font-size:15px;color:var(--pr-navy);font-weight:600;}
.review-card figcaption span{font-size:14px;color:var(--pr-muted);}
@media (max-width:860px){.review-row{grid-template-columns:1fr;}}

/* =========================================================================
 * WooCommerce — single product
 * ====================================================================== */
.woocommerce div.product div.images img{border-radius:var(--r-md);}
.woocommerce div.product .woocommerce-product-gallery__trigger{
  background:var(--surface);border-radius:50%;padding:8px;box-shadow:var(--shadow-sm);
  inset-inline-end:14px;inset-inline-start:auto;top:14px;
}
.woocommerce div.product .product_title{color:var(--ink);margin-block-end:8px;}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--red);}
.woocommerce div.product p.price del{color:var(--ink-3);font-size:1rem;}
.woocommerce div.product p.price ins{text-decoration:none;}
.woocommerce div.product .woocommerce-product-details__short-description{
  color:var(--ink-2);font-size:1rem;line-height:1.7;margin-block:14px 20px;
}
.woocommerce div.product form.cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-block:20px;}
.woocommerce div.product .woocommerce-tabs ul.tabs{
  padding:0;margin-block-end:20px;display:flex;gap:8px;flex-wrap:wrap;border-block-end:1px solid var(--line);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none;}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent;border:none;border-radius:0;margin:0;padding:0;}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none;}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  padding:11px 18px;font-family:var(--body);font-weight:700;font-size:.92rem;color:var(--ink-2);
  border-block-end:3px solid transparent;display:block;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--red);border-block-end-color:var(--red);}
.woocommerce div.product .woocommerce-tabs .panel h2{font-size:1.2rem;margin-block-end:12px;}
.woocommerce .related>h2,.woocommerce .upsells>h2{font-size:clamp(1.3rem,2.4vw,1.7rem);margin-block:36px 20px;}
.woocommerce .star-rating span{color:var(--pr-star);}
.woocommerce .woocommerce-product-rating{margin-block-end:12px;}

/* =========================================================================
 * WooCommerce — cart, checkout, account
 * ====================================================================== */
.woocommerce table.shop_table{
  border:1px solid var(--line-2);border-radius:var(--r-md);border-collapse:separate;border-spacing:0;overflow:hidden;
}
.woocommerce table.shop_table th{background:var(--surface-2);padding:14px 16px;font-size:.88rem;}
.woocommerce table.shop_table td{padding:14px 16px;border-block-start:1px solid var(--line-2);color:var(--ink-2);}
.woocommerce table.shop_table .product-name a{color:var(--ink);font-weight:700;}
.woocommerce table.cart img{width:64px;border-radius:10px;}
.woocommerce a.remove{color:var(--red) !important;font-weight:700;line-height:1.4;}
.woocommerce a.remove:hover{background:var(--red);color:var(--pr-white) !important;}
.woocommerce .cart-collaterals .cart_totals>h2,
.woocommerce-checkout h3{font-family:var(--display);font-size:1.2rem;margin-block-end:14px;}
.woocommerce .cart-collaterals .cart_totals{
  background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-md);padding:20px;
}
.woocommerce-checkout #payment ul.payment_methods{padding:16px;}
.woocommerce-checkout #payment ul.payment_methods li{margin-block-end:8px;}
.woocommerce-checkout #payment div.form-row{padding:16px;}
.woocommerce-checkout #payment #place_order{width:100%;}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{border-color:var(--blue);outline:none;}
.woocommerce form .form-row.woocommerce-invalid input.input-text{border-color:var(--red);}
.woocommerce-info,.woocommerce-message{font-size:.94rem;}
.woocommerce .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:8px;margin-block-end:24px;}
.woocommerce .woocommerce-MyAccount-navigation li a{
  display:block;padding:9px 16px;border-radius:99px;border:2px solid var(--line);
  font-weight:700;font-size:.88rem;color:var(--ink);
}
.woocommerce .woocommerce-MyAccount-navigation li.is-active a{background:var(--blue);border-color:var(--blue);color:var(--on-blue);}
.woocommerce-order .woocommerce-order-overview{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;padding:0;margin-block:20px;
}
.woocommerce-order .woocommerce-order-overview li{
  background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-sm);
  padding:14px 16px;margin:0;border-inline-start:none;font-size:.82rem;color:var(--ink-3);
}
.woocommerce-order .woocommerce-order-overview li strong{display:block;font-size:1rem;color:var(--ink);margin-block-start:4px;}

/* =========================================================================
 * Mobile
 * ====================================================================== */
@media (max-width:760px){
  .section-head{margin-block-end:26px;}
  .foot-bottom{justify-content:center;text-align:center;}

  .woocommerce table.shop_table_responsive thead,
  .woocommerce table.shop_table_responsive tbody th{display:none;}
  .woocommerce table.shop_table_responsive tr{
    display:block;background:var(--surface);border:1px solid var(--line-2);
    border-radius:var(--r-sm);margin-block-end:12px;padding:6px 12px;
  }
  .woocommerce table.shop_table_responsive tr td{
    display:flex;align-items:center;justify-content:space-between;gap:14px;
    border-block-start:none;border-block-end:1px solid var(--line-2);padding:11px 0;text-align:start;
  }
  .woocommerce table.shop_table_responsive tr td:last-child{border-block-end:none;}
  .woocommerce table.shop_table_responsive tr td::before{
    content:attr(data-title);font-weight:700;color:var(--ink);font-size:.85rem;
  }
  .woocommerce table.cart td.actions{flex-direction:column;align-items:stretch;gap:10px;}
  .woocommerce table.cart td.actions::before{display:none;}
  .woocommerce table.cart td.actions .button{width:100%;}
  .woocommerce .cart-collaterals,
  .woocommerce .cart-collaterals .cart_totals{width:100%;float:none;}
  .woocommerce #customer_details .col-1,
  .woocommerce #customer_details .col-2{width:100%;float:none;}
  .btn{padding:13px 22px;}
}


@media (hover:none){
  .icon-btn{width:44px;height:44px;}
  .add-btn{width:44px;height:44px;}
  .chip{padding:11px 20px;}
  .foot-col a,.main-nav a{padding-block:9px;}
}

/* =========================================================================
 * Page hero — align with the rest of the page, give it some texture
 * ====================================================================== */
.page-hero{
  background:var(--pr-sky-pale);
  padding-block:clamp(26px,4vw,42px);
  border-block-end:1px solid var(--line-2);
  position:relative;overflow:hidden;
}
.page-hero .wrap{position:relative;}
.page-hero h1{
  text-align:start;
  font-size:clamp(1.55rem,3.4vw,2.2rem);
  color:var(--blue-deep);
  margin:0;
}
.page-hero .woocommerce-breadcrumb{margin:0 0 6px;}

/* =========================================================================
 * WooCommerce — My account
 * ====================================================================== */
.woocommerce-account .woocommerce{display:block;}
.woocommerce-account .woocommerce-MyAccount-navigation{
  float:none;width:100%;margin:0 0 22px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{
  display:flex;flex-wrap:wrap;gap:8px;margin:0;
  border-block-end:1px solid var(--line-2);padding-block-end:18px;
}
.woocommerce-account .woocommerce-MyAccount-content{
  float:none;width:100%;
  background:var(--surface);
  border:1px solid var(--line-2);
  border-radius:var(--r-md);
  padding:clamp(20px,3vw,30px);
}
.woocommerce-account .woocommerce-MyAccount-content>p{
  color:var(--ink-2);line-height:1.85;max-width:62ch;font-size:1rem;
}
.woocommerce-account .woocommerce-MyAccount-content>p+p{margin-block-start:.9em;}
.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.btn){
  color:var(--red);font-weight:700;text-decoration:underline;text-underline-offset:3px;
}
.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.btn):hover{color:var(--blue);}
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3{
  font-size:1.15rem;margin-block:0 14px;
}
.woocommerce-account .addresses .title h3{font-size:1.05rem;}
.woocommerce-account .col2-set .col-1,
.woocommerce-account .col2-set .col-2{width:100%;float:none;}
.woocommerce-account .addresses .col-1,
.woocommerce-account .addresses .col-2{margin-block-end:20px;}
.woocommerce-account address{
  font-style:normal;color:var(--ink-2);line-height:1.8;
  background:var(--ground);border:1px solid var(--line-2);
  border-radius:var(--r-sm);padding:14px 16px;margin-block-start:8px;
}

/* login / register forms on the account page */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register{
  border:1px solid var(--line-2);border-radius:var(--r-md);
  padding:clamp(20px,3vw,28px);background:var(--surface);max-width:520px;
}
.woocommerce form.login .form-row,
.woocommerce form.register .form-row{padding:0;margin-block-end:14px;}
.woocommerce form .form-row label.inline{margin-inline-start:10px;font-weight:500;color:var(--ink-2);}
.woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:6px;}
.woocommerce .lost_password{margin-block-start:10px;font-size:.88rem;}

/* empty states */
.woocommerce .cart-empty,
.woocommerce .woocommerce-info{
  font-size:1rem;
}
.woocommerce .return-to-shop{margin-block-start:16px;}
.woocommerce-no-products-found{padding-block:30px;}

/* order tables inside the account */
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .shop_table{margin-block-start:6px;}
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button{
  padding:8px 16px;font-size:.84rem;
}

/* =========================================================================
 * Shop archive polish
 * ====================================================================== */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering{margin-block-end:22px;}
.woocommerce .woocommerce-result-count{color:var(--ink-3);font-size:.88rem;padding-block-start:10px;}
.woocommerce .woocommerce-ordering select{
  border:2px solid var(--line);border-radius:99px;padding:9px 16px;
  background:var(--surface);color:var(--ink);font-weight:700;font-size:.88rem;
}
.woocommerce nav.woocommerce-pagination ul{border:none;display:flex;gap:8px;justify-content:center;}
.woocommerce nav.woocommerce-pagination ul li{border:none;margin:0;}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  padding:10px 16px;border-radius:99px;border:2px solid var(--line);
  font-weight:700;font-size:.88rem;color:var(--ink);
}
.woocommerce nav.woocommerce-pagination ul li span.current{
  background:var(--red);border-color:var(--red);color:var(--pr-white);
}

@media (max-width:760px){
  .page-hero{padding-block:22px;}
  .woocommerce-account .woocommerce-MyAccount-navigation ul{padding-block-end:14px;}
  .woocommerce-account .woocommerce-MyAccount-content{padding:18px 16px;}
}

/* =========================================================================
 * My Account — dashboard shell
 * ====================================================================== */
.woocommerce-account .woocommerce{
  display:grid;
  grid-template-columns:238px minmax(0,1fr);
  gap:22px;
  align-items:start;
}

/* =========================================================================
 * Espace client — barre laterale
 *
 * L'etat actif suit la page affichee, jamais une couleur posee a la main :
 * un element "actif" qui ne l'est pas ment au lecteur sur l'endroit ou il est.
 * ====================================================================== */
.woocommerce-account .woocommerce-MyAccount-navigation.pr-side{
  display:flex;flex-direction:column;height:100%;
}
.pr-side-title{
  margin:0 0 10px;padding-inline:14px;
  font-size:12px;font-weight:600;letter-spacing:.08em;
  color:rgba(255,255,255,.55);
}
.woocommerce-account .woocommerce-MyAccount-navigation.pr-side ul{
  list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;
}
.pr-side-manage{flex:0 0 auto;margin-block-end:24px !important;}
.pr-side-account{flex:1 1 auto;}
.woocommerce-account .woocommerce-MyAccount-navigation.pr-side li{margin:0;}
.woocommerce-account .woocommerce-MyAccount-navigation.pr-side li a{
  display:flex;align-items:center;gap:12px;
  min-height:44px;padding:0 14px;border-radius:10px;
  color:rgba(255,255,255,.82);
  font-family:var(--pr-body);font-size:15px;font-weight:500;
  text-decoration:none;
  transition:background-color .18s ease,color .18s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation.pr-side li a svg{flex:none;stroke:currentColor;fill:none;opacity:.9;}
.woocommerce-account .woocommerce-MyAccount-navigation.pr-side li a:hover{
  background:rgba(255,255,255,.08);color:var(--pr-white);
}
.woocommerce-account .woocommerce-MyAccount-navigation.pr-side li a:focus-visible{
  outline:2px solid var(--pr-blue);outline-offset:2px;
}
.woocommerce-account .woocommerce-MyAccount-navigation.pr-side li.is-active > a,
.woocommerce-account .woocommerce-MyAccount-navigation.pr-side li a[aria-current="page"]{
  background:var(--pr-red);color:var(--pr-white);font-weight:600;
}
.woocommerce-account .woocommerce-MyAccount-navigation.pr-side li.is-active > a svg,
.woocommerce-account .woocommerce-MyAccount-navigation.pr-side li a[aria-current="page"] svg{opacity:1;}

/* la deconnexion reste en bas, sans pousser le reste */
.woocommerce-account .woocommerce-MyAccount-navigation.pr-side li.woocommerce-MyAccount-navigation-link--customer-logout{
  margin-block-start:auto;padding-block-start:14px;
}
.woocommerce-account .woocommerce-MyAccount-navigation.pr-side li.woocommerce-MyAccount-navigation-link--customer-logout a{
  color:rgba(255,255,255,.62);
}

.woocommerce-account .woocommerce-MyAccount-content{width:100%;max-width:none;float:none;}

/* =========================================================================
 * Espace client — contenu
 * ====================================================================== */
.pr-dash-head{margin-block-end:24px;}
.pr-dash-head h2{font-family:var(--pr-display);font-size:28px;font-weight:700;color:var(--pr-navy);}
.pr-dash-head p{color:var(--pr-muted);font-size:15px;margin-block-start:6px;}

/* --- cartes de statistiques --- */
.pr-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-block-end:24px;}
.pr-stat{
  background:var(--pr-white);
  border:1px solid var(--pr-line);
  border-radius:18px;
  padding:20px;
  display:flex;flex-direction:column;
}
.pr-stat-ic{
  width:44px;height:44px;border-radius:12px;
  display:inline-flex;align-items:center;justify-content:center;
  margin-block-end:16px;
}
.pr-stat-ic svg{stroke:currentColor;fill:none;}
.pr-stat-ic.is-blue{background:var(--pr-info-bg);color:var(--pr-blue);}
.pr-stat-ic.is-red{background:var(--pr-alert-bg);color:var(--pr-red);}
.pr-stat-ic.is-sky{background:var(--pr-sky);color:var(--pr-blue);}
.pr-stat-ic.is-green{background:var(--pr-ok-bg);color:var(--pr-ok-ink);}
.pr-stat strong{
  font-family:var(--pr-display);font-size:28px;font-weight:700;
  color:var(--pr-navy);line-height:1.2;
  font-variant-numeric:tabular-nums;unicode-bidi:plaintext;
}
.pr-stat-label{font-size:14px;color:var(--pr-muted);margin-block-start:4px;}

/* --- grille --- */
.pr-dash-grid{
  display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,.95fr);
  gap:24px;align-items:start;
}
.pr-dash-side{display:flex;flex-direction:column;gap:24px;}

/* --- carte --- */
.pr-panel{
  background:var(--pr-white);
  border:1px solid var(--pr-line);
  border-radius:18px;
  padding:24px;
}
.pr-panel-head{
  display:flex;align-items:center;justify-content:space-between;
  gap:14px;margin-block-end:18px;
}
.pr-panel-head h3{font-family:var(--pr-display);font-size:20px;font-weight:700;margin:0;color:var(--pr-navy);}

/* liens d'action : jamais soulignes au repos */
.pr-panel a,
.pr-link{
  color:var(--pr-red);font-weight:600;font-size:14px;
  text-decoration:none;
}
.pr-panel a:hover,
.pr-link:hover,
.pr-panel a:focus-visible,
.pr-link:focus-visible{text-decoration:underline;text-underline-offset:3px;}
.pr-panel a:focus-visible,
.pr-link:focus-visible{outline:2px solid var(--pr-blue);outline-offset:2px;border-radius:4px;}

/* --- tableau des commandes : pas de boite dans la boite --- */
.pr-order-table{
  width:100%;border-collapse:collapse;
  font-variant-numeric:tabular-nums;
}
.pr-order-table th,.pr-order-table td{padding:0 10px;text-align:start;}
.pr-order-table th:first-child,.pr-order-table td:first-child{padding-inline-start:0;}
.pr-order-table th:last-child,.pr-order-table td:last-child{padding-inline-end:0;}
.pr-order-table thead th{
  height:38px;font-size:13px;font-weight:600;color:var(--pr-muted);
  border-block-end:1px solid var(--pr-line);
}
.pr-order-table tbody tr{height:60px;}
.pr-order-table tbody th,
.pr-order-table tbody td{border-block-end:1px solid var(--pr-line);}
.pr-order-table tbody tr:last-child th,
.pr-order-table tbody tr:last-child td{border-block-end:none;}
.pr-order-table tbody th{font-weight:600;font-size:15px;}
.pr-order-table tbody td{font-size:15px;color:var(--pr-muted);}
.pr-order-table .pr-total{
  font-weight:700;color:var(--pr-navy);white-space:nowrap;unicode-bidi:plaintext;
}
.pr-order-table .pr-total del{color:var(--pr-muted);font-weight:400;}

/* --- pastilles de statut --- */
.pr-pill{
  display:inline-block;border-radius:999px;padding:4px 12px;
  font-size:13px;font-weight:600;white-space:nowrap;
}

/* --- pied de carte : etat vide discret --- */
.pr-tail{
  display:flex;flex-direction:column;align-items:center;gap:10px;
  text-align:center;padding-block:22px 4px;
}
.pr-orders .pr-tail{border-block-start:1px solid var(--pr-line);margin-block-start:4px;padding-block-start:22px;}
.pr-tail-ic{
  width:48px;height:48px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--pr-sky-pale);color:var(--pr-blue);
}
.pr-tail-ic svg{stroke:currentColor;fill:none;}
.pr-tail p{color:var(--pr-muted);font-size:15px;margin:0;}
.pr-tail .btn{min-height:44px;font-size:15px;padding:0 22px;}

/* --- carte "bianes du compte" sur fond navy --- */
.pr-panel.pr-account{background:var(--pr-navy);border-color:transparent;}
.pr-panel.pr-account h3{color:var(--pr-white);}
.pr-panel.pr-account .pr-panel-head a,
.pr-panel.pr-account .pr-link{color:var(--pr-foot-ink);font-size:14px;text-decoration:none;}
.pr-panel.pr-account .pr-panel-head a:hover{color:var(--pr-white);text-decoration:underline;text-underline-offset:3px;}

.pr-kv{margin:0 0 20px;display:flex;flex-direction:column;gap:14px;}
.pr-kv dt{color:var(--pr-foot-muted);font-size:13px;font-weight:500;line-height:1.4;}
.pr-kv dd{
  margin:2px 0 0;color:var(--pr-white);font-size:15px;font-weight:700;
  line-height:1.5;overflow-wrap:anywhere;unicode-bidi:plaintext;
}
.pr-panel.pr-account .btn{min-height:48px;font-size:15px;border-radius:var(--pr-r-pill);}

/* --- adresse --- */
.woocommerce-account .pr-panel address{
  font-style:normal;color:var(--pr-navy);font-size:15px;line-height:1.8;margin:0;
}
.pr-muted{color:var(--pr-muted);font-size:15px;}

/* --- actions rapides : une liste, pas des puces --- */
.pr-actions{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;}
.pr-actions li{margin:0;}
.pr-actions a{
  display:flex;align-items:center;gap:10px;
  min-height:44px;padding:0 12px;border-radius:10px;
  color:var(--pr-navy) !important;font-size:15px;font-weight:600;
  text-decoration:none;
  transition:background-color .18s ease;
}
.pr-actions a svg{flex:none;stroke:var(--pr-red);fill:none;}
.pr-actions a:hover{background:var(--pr-bg);text-decoration:none !important;}
.pr-actions a:focus-visible{outline:2px solid var(--pr-blue);outline-offset:2px;}

/* =========================================================================
 * Espace client — mobile
 * ====================================================================== */
@media (max-width:1100px){
  .pr-stats{grid-template-columns:repeat(2,1fr);gap:16px;}
}
@media (max-width:1000px){
  .pr-dash-grid{grid-template-columns:1fr;}
  .pr-orders{order:1;}
  .pr-dash-side{order:2;gap:16px;}
}
@media (max-width:900px){
  .pr-dash-head h2{font-size:24px;}
  .pr-panel{padding:18px;border-radius:18px;}
  .pr-stats{gap:14px;}
  .pr-stat{padding:16px;}
  .pr-stat strong{font-size:24px;}

  /* le tableau devient une liste de cartes */
  .pr-order-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);}
  .pr-order-table,
  .pr-order-table tbody,
  .pr-order-table tr,
  .pr-order-table th,
  .pr-order-table td{display:block;width:100%;}
  .pr-order-table tbody tr{
    height:auto;border:1px solid var(--pr-line);border-radius:14px;
    padding:14px 16px;margin-block-end:12px;
  }
  .pr-order-table tbody tr:last-child{margin-block-end:0;}
  .pr-order-table tbody th,
  .pr-order-table tbody td{
    border-block-end:none;padding:5px 0;
    display:flex;align-items:center;justify-content:space-between;gap:14px;
  }
  .pr-order-table tbody th::before,
  .pr-order-table tbody td::before{
    content:attr(data-label);
    font-size:13px;font-weight:500;color:var(--pr-muted);
  }
}


/* =========================================================================
 * WooCommerce pages run through page.php, whose .entry-content is a narrow
 * reading column. Shop UI needs the full width, and WooCommerce's own
 * float layout has to be neutralised for the grid to take over.
 * ====================================================================== */
.woocommerce-page .entry-content,
.woocommerce-account .entry-content,
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content{
  max-width:none;
  margin-inline:0;
}
.woocommerce-page .entry-content > * + *{margin-block-start:0;}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-navigation.pr-side{
  float:none !important;
  width:auto !important;
  margin:0 !important;
}
.woocommerce-account .woocommerce-MyAccount-content{
  float:none !important;
  width:auto !important;
  min-width:0;
}
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after{display:none !important;}

/* the grid itself, restated after the float reset */
.woocommerce-account .woocommerce{
  display:grid !important;
  grid-template-columns:240px minmax(0,1fr);
  gap:24px;
  align-items:start;
}
@media (max-width:900px){
  .woocommerce-account .woocommerce{grid-template-columns:1fr !important;}
}

/* cart and checkout also want the full width */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce{max-width:none;}
.woocommerce-cart table.shop_table{width:100%;}

/* =========================================================================
 * Account app shell
 * ====================================================================== */
body.pr-app-page{background:var(--pr-app-bg);}

.pr-app{
  display:grid;
  grid-template-columns:262px minmax(0,1fr);
  min-height:100vh;
}

/* ---- sidebar ---- */
.pr-app-side{background:var(--blue-deep);}
.pr-app-side-inner{
  position:sticky;top:0;
  display:flex;flex-direction:column;
  height:100vh;padding:26px 16px 22px;
}
body.admin-bar .pr-app-side-inner{height:calc(100vh - var(--wp-admin--admin-bar--height, 32px));top:var(--wp-admin--admin-bar--height, 32px);}

.pr-app-side .woocommerce-MyAccount-navigation,
.pr-app-side .woocommerce-MyAccount-navigation.pr-side{
  background:transparent !important;border-radius:0 !important;padding:0 !important;
  position:static !important;float:none !important;width:auto !important;height:100%;
  display:flex;flex-direction:column;
}
.pr-app-side .pr-side-title{
  font-size:.7rem;letter-spacing:.1em;color:rgba(255,255,255,.45);
  padding-inline:12px;margin-block-end:16px;font-weight:700;
}
.pr-app-side .woocommerce-MyAccount-navigation ul{
  display:flex;flex-direction:column;gap:3px;flex:1;border:none;padding:0;margin:0;
}
.pr-app-side .woocommerce-MyAccount-navigation li a{
  display:flex;align-items:center;gap:12px;
  padding:12px 14px;border-radius:11px;border:none;background:transparent;
  color:rgba(255,255,255,.78);font-weight:600;font-size:.94rem;
  text-decoration:none;transition:background .18s ease,color .18s ease;
}
.pr-app-side .woocommerce-MyAccount-navigation li a svg{flex:none;opacity:.8;}
.pr-app-side .woocommerce-MyAccount-navigation li a:hover{background:rgba(255,255,255,.08);color:var(--pr-white);}
.pr-app-side .woocommerce-MyAccount-navigation li.is-active a{
  background:var(--red);color:var(--pr-white);font-weight:700;
  box-shadow:0 14px 26px -14px rgba(224,28,36,.95);
}
.pr-app-side .woocommerce-MyAccount-navigation li.is-active a svg{opacity:1;}
.pr-app-side .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{
  margin-block-start:auto;padding-block-start:16px;
  border-block-start:1px solid rgba(255,255,255,.14);
}

/* ---- top bar ---- */
.pr-app-main{display:flex;flex-direction:column;min-width:0;}
/* --- barre du haut --- */
.pr-app-bar{
  background:var(--pr-white);border-block-end:1px solid var(--pr-line);
  padding:12px clamp(16px,2.4vw,28px);
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  position:sticky;z-index:20;
  top:0;
}
/* la barre d'administration de WordPress occupe le haut de l'ecran pour
   l'equipe du magasin : l'en-tete colle se pose dessous, pas derriere. */
body.admin-bar .pr-app-bar{top:var(--wp-admin--admin-bar--height, 32px);}

.pr-app-brand{display:flex;align-items:center;gap:12px;flex:none;text-decoration:none;}
.pr-app-logo{
  width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none;
  border:1px solid var(--pr-line);background:var(--pr-white);
}
.pr-app-brand-rule{
  width:1px;height:26px;background:var(--pr-line);flex:none;
}
.pr-app-brand-sub{font-size:13px;font-weight:500;color:var(--pr-muted);line-height:1.3;}

.pr-app-search{
  margin-inline-start:auto;
  display:flex;align-items:center;gap:8px;
  background:var(--pr-app-bg);border:1px solid var(--pr-line);
  border-radius:var(--pr-r-pill);padding:0 16px;min-height:44px;min-width:min(300px,42vw);
}
.pr-app-search svg{stroke:var(--pr-muted);fill:none;flex:none;}
.pr-app-search input{
  border:none;background:transparent;outline:none;flex:1;min-width:0;
  font-family:var(--pr-body);font-size:15px;color:var(--pr-navy);
}
.pr-app-search input::placeholder{color:var(--pr-muted);}

.pr-app-bell{
  position:relative;width:44px;height:44px;border-radius:50%;flex:none;
  display:flex;align-items:center;justify-content:center;
  background:var(--pr-app-bg);border:1px solid var(--pr-line);color:var(--pr-navy);
}
.pr-app-bell svg{stroke:currentColor;fill:none;}
.pr-app-bell:hover{color:var(--pr-red);border-color:var(--pr-red);}
.pr-app-bell:focus-visible{outline:2px solid var(--pr-blue);outline-offset:2px;}
.pr-app-bell.has-dot::after{
  content:"";position:absolute;top:9px;inset-inline-end:10px;
  width:8px;height:8px;border-radius:50%;background:var(--pr-red);
  border:2px solid var(--pr-white);
}

.pr-app-admin{
  display:inline-flex;align-items:center;gap:8px;flex:none;
  min-height:44px;padding:0 20px;
  background:var(--pr-red);color:var(--pr-white);
  border-radius:var(--pr-r-pill);
  font-family:var(--pr-body);font-weight:600;font-size:15px;
  text-decoration:none;
  box-shadow:0 2px 6px rgba(209,32,43,.2);
  transition:background-color .2s ease;
}
.pr-app-admin:hover{background:var(--pr-red-dark);color:var(--pr-white);}
.pr-app-admin:focus-visible{outline:2px solid var(--pr-blue);outline-offset:2px;}
.pr-app-admin svg{stroke:currentColor;fill:none;flex:none;}

.pr-app-user{display:flex;align-items:center;gap:10px;flex:none;}
.pr-app-avatar{
  width:38px;height:38px;border-radius:50%;flex:none;
  background:var(--pr-blue);color:var(--pr-white);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--pr-display);font-weight:700;font-size:16px;text-transform:uppercase;
}
.pr-app-who{display:flex;flex-direction:column;line-height:1.3;}
.pr-app-who strong{font-size:14px;color:var(--pr-navy);}
.pr-app-who span{font-size:13px;color:var(--pr-muted);}

/* ---- body ---- */
.pr-app-body{padding:clamp(18px,2.6vw,30px);flex:1;}
.pr-app-body .woocommerce{display:block !important;}
.pr-app-body .woocommerce-MyAccount-content{
  float:none !important;width:auto !important;
  background:transparent;border:none;padding:0;
}

/* tiles and panels sit on grey here */
.pr-app-body .pr-stat,
.pr-app-body .pr-panel{box-shadow:0 1px 2px rgba(14,30,55,.04);}
.pr-app-body .pr-dash-head h2{font-size:clamp(1.25rem,2.2vw,1.55rem);}

/* endpoint pages (orders, addresses…) get the same card treatment */
.pr-app-body .woocommerce-MyAccount-content > :is(table,form,p,h2,h3,div:not(.pr-dash)){
  max-width:none;
}
.pr-app-body .woocommerce-orders-table,
.pr-app-body .woocommerce-MyAccount-content > form,
.pr-app-body .woocommerce-MyAccount-content > .woocommerce-Addresses,
.pr-app-body .woocommerce-MyAccount-content > .woocommerce-message,
.pr-app-body .woocommerce-MyAccount-content > .woocommerce-info{
  background:var(--pr-white);border:1px solid rgba(14,30,55,.08);border-radius:var(--r-md);
}
.pr-app-body .woocommerce-MyAccount-content > form{padding:clamp(18px,2.4vw,26px);}
.pr-app-body .woocommerce-orders-table th,
.pr-app-body .woocommerce-orders-table td{border-color:rgba(14,30,55,.08);}

.pr-hidden-row{display:none !important;}
.pr-no-match{padding:22px 0;text-align:center;color:var(--ink-3);font-weight:500;}

/* ---- responsive ---- */
@media (max-width:900px){
  .pr-app{grid-template-columns:1fr;}
  .pr-app-side{position:sticky;top:0;z-index:30;}
  body.admin-bar .pr-app-side{top:var(--wp-admin--admin-bar--height, 46px);}
  .pr-app-side-inner{height:auto;padding:12px 14px;position:static;}
  /* the admin-bar rule above is more specific and kept the full-height column,
     so for a logged-in manager the menu covered the whole phone screen */
  body.admin-bar .pr-app-side-inner{height:auto;}
  .pr-app-side .woocommerce-MyAccount-navigation{height:auto;}
  .pr-app-side .pr-side-title{display:none;}
  .pr-app-side .woocommerce-MyAccount-navigation ul{
    flex-direction:row;overflow-x:auto;gap:6px;padding-block-end:2px;
    scrollbar-width:none;
  }
  .pr-app-side .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none;}
  .pr-app-side .woocommerce-MyAccount-navigation li{flex:none;}
  .pr-app-side .woocommerce-MyAccount-navigation li a{padding:9px 14px;font-size:.86rem;white-space:nowrap;}
  .pr-app-side .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{
    margin-block-start:0;padding-block-start:0;border-block-start:none;
  }
  .pr-app-bar{position:static;}
  .pr-app-search{order:5;flex:1 1 100%;min-width:0;margin-inline-start:0;}
  .pr-app-who{display:none;}
  .pr-app-admin span{display:none;}
  .pr-app-admin{padding:0;width:44px;justify-content:center;}
}
@media (max-width:480px){
  .pr-app-brand-sub{display:none;}
  .pr-app-brand-rule{display:none;}
  .pr-app-body{padding:14px;}
}

/* =========================================================================
 * Account — login / register split screen
 * ====================================================================== */
body.pr-auth-page{background:var(--pr-white);}

.pr-auth-bar{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px clamp(16px,3vw,32px);
  border-block-end:1px solid rgba(14,30,55,.08);
  background:var(--pr-white);
}
.pr-auth-back{
  display:inline-flex;align-items:center;gap:8px;
  font-weight:700;font-size:.9rem;color:var(--ink-2);
}
.pr-auth-back svg{stroke:currentColor;fill:none;transition:transform .2s ease;}
.pr-auth-back:hover{color:var(--red);}
.pr-auth-back:hover svg{transform:translateX(-4px);}

.pr-auth{
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(320px,32vw,420px);
  min-height:calc(100vh - 68px);
  align-items:stretch;
}

/* ---- form side ---- */
.pr-auth-form{display:flex;align-items:center;justify-content:center;padding:clamp(24px,4vw,48px);}
.pr-auth-inner{width:100%;max-width:400px;}
.pr-auth-title{font-size:clamp(1.35rem,2.6vw,1.65rem);color:var(--ink);margin-block-end:8px;}
.pr-auth-sub{color:var(--ink-3);font-size:.9rem;line-height:1.7;margin-block-end:22px;}

.pr-tabs{
  display:grid;grid-template-columns:1fr 1fr;gap:4px;
  background:var(--pr-neutral-bg);border-radius:12px;padding:4px;margin-block-end:22px;
}
.pr-tab{
  border:none;background:transparent;cursor:pointer;
  padding:10px 12px;border-radius:9px;
  font-family:var(--body);font-weight:700;font-size:.9rem;color:var(--ink-3);
  transition:background .18s ease,color .18s ease;
}
.pr-tab:hover{color:var(--ink);}
.pr-tab.is-on{background:var(--pr-white);color:var(--ink);box-shadow:0 1px 3px rgba(14,30,55,.1);}

.pr-auth-card .form-row,
.pr-auth-card .woocommerce-form-row{padding:0;margin:0 0 16px;}
.pr-auth-card label{
  display:block;font-weight:700;font-size:.84rem;color:var(--ink-2);margin-block-end:7px;
}
.pr-auth-card label .required{color:var(--red);text-decoration:none;margin-inline-start:2px;}

.pr-field{
  display:flex;align-items:center;gap:10px;
  background:var(--pr-white);border:1.5px solid rgba(14,30,55,.14);border-radius:11px;
  padding-inline:13px;transition:border-color .18s ease,box-shadow .18s ease;
}
.pr-field:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(28,79,161,.12);}
.pr-field > svg{stroke:var(--ink-3);fill:none;flex:none;}
.pr-auth-card .pr-field input.input-text,
.pr-auth-card .pr-field input{
  border:none !important;background:transparent !important;outline:none;
  flex:1;min-width:0;padding:12px 0 !important;
  font-family:var(--body);font-size:.95rem;color:var(--ink);
  border-radius:0 !important;
}
.pr-auth-card .pr-field input::placeholder{color:var(--pr-muted);}
/* WooCommerce injects a show/hide button into password fields */
.pr-auth-card .pr-field .show-password-input{
  position:static;margin-inline-start:auto;flex:none;color:var(--ink-3);
}

.pr-auth-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-block:-4px 20px;flex-wrap:wrap;
}
.pr-auth-row label{
  display:inline-flex;align-items:center;gap:7px;margin:0;
  font-weight:500;font-size:.86rem;color:var(--ink-2);cursor:pointer;
}
.pr-auth-row input[type="checkbox"]{width:16px;height:16px;accent-color:var(--red);margin:0;}
.pr-auth-lost{font-size:.86rem;font-weight:700;color:var(--red);}
.pr-auth-lost:hover{text-decoration:underline;text-underline-offset:3px;}
.pr-auth-note{font-size:.84rem;color:var(--ink-3);margin-block-end:16px;line-height:1.6;}

.pr-auth-card .button,
.pr-auth-card button[type="submit"]{
  width:100%;justify-content:center;
  background:var(--red);color:var(--pr-white);border:none;border-radius:11px;
  padding:14px 20px;font-weight:700;font-size:.97rem;
  box-shadow:0 14px 26px -14px rgba(224,28,36,.85);
}
.pr-auth-card .button:hover,
.pr-auth-card button[type="submit"]:hover{background:var(--red-deep);transform:translateY(-1px);}

/* notices above the card */
.pr-auth-inner .woocommerce-error,
.pr-auth-inner .woocommerce-message,
.pr-auth-inner .woocommerce-info{margin-block-end:18px;font-size:.88rem;}

/* lost-password form reuses the card look */
.pr-auth-inner .woocommerce-ResetPassword{max-width:none;}
.pr-auth-inner .woocommerce-ResetPassword .form-row{padding:0;margin-block-end:16px;}
.pr-auth-inner .woocommerce-ResetPassword input.input-text{
  width:100%;border:1.5px solid rgba(14,30,55,.14);border-radius:11px;padding:12px 13px;
}

/* ---- brand side ---- */
.pr-auth-brand{
  position:relative;overflow:hidden;
  background:var(--blue-deep);color:var(--pr-white);
  display:flex;align-items:center;
  padding:clamp(26px,3vw,40px);
}
.pr-auth-ring{
  position:absolute;border-radius:50%;
  border:26px solid rgba(255,255,255,.05);pointer-events:none;
}
.pr-auth-ring-a{width:260px;height:260px;top:-96px;inset-inline-end:-70px;}
.pr-auth-ring-b{width:300px;height:300px;bottom:-130px;inset-inline-start:-90px;}
.pr-auth-brand-inner{position:relative;z-index:1;max-width:330px;}
.pr-auth-ic{
  width:48px;height:48px;border-radius:14px;background:var(--red);
  display:flex;align-items:center;justify-content:center;margin-block-end:22px;
}
.pr-auth-ic svg{stroke:var(--pr-white);fill:none;}
.pr-auth-brand h2{color:var(--pr-white);font-size:clamp(1.4rem,2.6vw,1.8rem);margin-block-end:12px;}
.pr-auth-brand p{color:rgba(255,255,255,.76);font-size:.93rem;line-height:1.8;}
.pr-auth-points{display:flex;flex-direction:column;gap:14px;margin-block-start:28px;}
.pr-auth-points li{
  display:flex;align-items:center;gap:12px;
  font-size:.88rem;font-weight:600;color:rgba(255,255,255,.9);
}
.pr-auth-point-ic{
  width:34px;height:34px;border-radius:10px;flex:none;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);
  display:flex;align-items:center;justify-content:center;
}
.pr-auth-point-ic svg{stroke:var(--pr-white);fill:none;}

@media (max-width:860px){
  .pr-auth{grid-template-columns:1fr;min-height:0;}
  .pr-auth-brand{order:2;padding-block:34px;}
  .pr-auth-brand-inner{max-width:none;}
  .pr-auth-form{padding-block:32px;}
  .pr-auth-ring-a{width:180px;height:180px;top:-70px;}
  .pr-auth-ring-b{display:none;}
}
@media (max-width:480px){
  .pr-auth-bar{padding-inline:16px;}
  .pr-auth-back span{display:none;}
}

/* =========================================================================
 * Checkout — two columns, with the guest account offer made prominent
 * ====================================================================== */
.woocommerce-checkout form.checkout{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);
  gap:26px;
  align-items:start;
}
.woocommerce-checkout form.checkout > *:not(#customer_details):not(#order_review_heading):not(#order_review){
  grid-column:1 / -1;
}
.woocommerce-checkout #customer_details{grid-column:1;grid-row:1 / span 2;}
.woocommerce-checkout #order_review_heading{grid-column:2;grid-row:1;margin:0 0 12px;}
.woocommerce-checkout #order_review{grid-column:2;grid-row:2;position:sticky;top:96px;}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2{
  width:100%;float:none;
  background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-md);
  padding:clamp(18px,2.4vw,26px);margin-block-end:18px;
}
.woocommerce-checkout #customer_details h3{
  font-size:1.1rem;margin-block:0 16px;padding-block-end:12px;
  border-block-end:1px solid var(--line-2);
}

.woocommerce-checkout #order_review{
  background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-md);
  padding:clamp(18px,2.4vw,24px);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table{
  border:none;margin-block-end:16px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td{
  background:transparent;padding:11px 0;font-size:.9rem;
  border-block-start:1px solid var(--line-2);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead th{
  border-block-start:none;color:var(--ink-3);font-size:.8rem;padding-block-end:8px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td{
  font-size:1.05rem;color:var(--ink);border-block-start:2px solid var(--line);padding-block-start:14px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .amount{color:var(--red);}

/* the account offer — this is the conversion moment, give it weight */
.woocommerce-checkout .woocommerce-account-fields{
  background:var(--sky-2);
  border:1.5px dashed rgba(28,79,161,.3);
  border-radius:var(--r-sm);
  padding:16px 18px;
  margin-block:16px 4px;
}
.woocommerce-checkout .woocommerce-account-fields > p.form-row{margin:0;padding:0;}
.woocommerce-checkout .woocommerce-account-fields label.checkbox{
  display:flex;align-items:flex-start;gap:10px;margin:0;cursor:pointer;
  font-weight:700;font-size:.94rem;color:var(--ink);
}
.woocommerce-checkout .woocommerce-account-fields input#createaccount{
  width:18px;height:18px;margin:2px 0 0;accent-color:var(--red);flex:none;
}
.woocommerce-checkout .woocommerce-account-fields .create-account{
  margin-block-start:14px;padding-block-start:14px;
  border-block-start:1px solid rgba(28,79,161,.18);
}
.woocommerce-checkout .woocommerce-account-fields .create-account p{margin-block-end:0;}
.woocommerce-checkout .woocommerce-account-fields .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-account-fields .create-account .form-row + .form-row{margin-block-start:12px;}

/* returning-customer login prompt above the form */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{
  background:var(--surface);border:1px solid var(--line-2);
  border-inline-start:4px solid var(--blue);border-radius:var(--r-sm);
  padding:14px 18px;margin-block-end:16px;
}
.woocommerce-checkout form.woocommerce-form-login,
.woocommerce-checkout form.checkout_coupon{
  background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-md);
  padding:clamp(18px,2.4vw,24px);margin-block-end:20px;
}

.woocommerce-checkout #payment #place_order{
  margin-block-start:14px;font-size:1rem;padding-block:15px;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{
  margin-block:14px 0;font-size:.85rem;color:var(--ink-2);
}

@media (max-width:900px){
  .woocommerce-checkout form.checkout{grid-template-columns:1fr;}
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review{grid-column:1;grid-row:auto;}
  .woocommerce-checkout #order_review{position:static;}
}

/* =========================================================================
 * Register tab — the email-only state needs a little breathing room
 * ====================================================================== */
#pr-panel-register .pr-auth-note{
  background:var(--sky-2);border-radius:10px;padding:12px 14px;
  color:var(--ink-2);margin-block-end:18px;
}
#pr-panel-register .woocommerce-privacy-policy-text{
  font-size:.8rem;color:var(--ink-3);line-height:1.6;margin-block-end:16px;
}
#pr-panel-register .woocommerce-privacy-policy-text a{color:var(--red);font-weight:700;}

/* =========================================================================
 * Both account states ship their own shell now, so the old page.php grid
 * must not reach them — it was squeezing the login card into 130px.
 * ====================================================================== */
body.pr-auth-page .woocommerce,
body.pr-app-page .woocommerce{
  display:block !important;
  grid-template-columns:none !important;
  gap:0 !important;
}
body.pr-auth-page .woocommerce-MyAccount-content,
body.pr-auth-page .woocommerce-MyAccount-navigation{
  float:none !important;width:auto !important;
}

/* a touch more room and rhythm on the login card */
.pr-auth-inner{max-width:420px;}
.pr-auth-card{width:100%;}
.pr-auth-card .form-row,
.pr-auth-card .woocommerce-form-row{width:100%;}
.pr-auth-title{line-height:1.3;}
.pr-auth-sub{margin-block-end:24px;}
.pr-tabs{margin-block-end:24px;}
.pr-panel-auth{animation:pr-fade .22s ease;}
@keyframes pr-fade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* WooCommerce wraps password inputs in .password-input at runtime */
.pr-auth-card .pr-field .password-input{
  display:flex;align-items:center;flex:1;min-width:0;position:static;
}
.pr-auth-card .pr-field .password-input input{width:100%;}

/* A .btn is a button whatever context it lands in — never inherit link colour. */
.btn.btn-primary,
.btn.btn-primary:hover,
.btn.btn-primary:focus{color:var(--on-red);text-decoration:none;}
.btn.btn-light,.btn.btn-light:hover{color:var(--blue-deep);text-decoration:none;}
.btn.btn-ghost{text-decoration:none;}

/* =========================================================================
 * Notices — one consistent treatment everywhere
 *
 * WooCommerce absolutely positions an icon-font glyph and reserves 3.5em of
 * padding for it. The glyph renders as an empty box when the font is missing,
 * so drop it and lay the notice out with normal flow instead.
 * ====================================================================== */
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-error::before,
.woocommerce-error li::before{
  display:none !important;
  content:none !important;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error{
  position:relative;
  padding:15px 20px !important;
  margin:0 0 22px !important;
  border:1px solid var(--line-2);
  border-block-start:1px solid var(--line-2) !important;
  border-inline-start:4px solid var(--blue) !important;
  border-radius:var(--r-sm);
  background:var(--sky-2);
  color:var(--ink);
  font-size:.94rem;
  line-height:1.65;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  list-style:none;
}
.woocommerce-message,
.woocommerce .woocommerce-message{
  border-inline-start-color:var(--ok) !important;
  background:var(--pr-ok-bg);
}
.woocommerce-error,
.woocommerce .woocommerce-error{
  border-inline-start-color:var(--red) !important;
  background:var(--red-soft);
}
.woocommerce-error li{margin:0;padding:0;}

/* a button inside a notice sits at the far end of the row */
.woocommerce-info .button,
.woocommerce-message .button,
.woocommerce-error .button{
  margin-inline-start:auto;flex:none;
  padding:9px 18px;font-size:.85rem;
}

/* the wrapper WooCommerce always prints, even with nothing in it */
.woocommerce-notices-wrapper:empty{display:none;}
.woocommerce-notices-wrapper > :last-child{margin-block-end:22px;}

/* =========================================================================
 * Spacing rhythm — one gutter, one vertical step, no doubled padding
 * ====================================================================== */
.woo-wrap > .wrap,
.entry > .wrap,
.page-hero > .wrap{width:100%;}

/* archive pages: even space between header, notices and the grid */
.woocommerce .woocommerce-products-header{margin-block-end:18px;}
.woocommerce .woocommerce-no-products-found{margin:0;padding:0;}
.woocommerce .woocommerce-no-products-found .woocommerce-info{margin-block-end:0 !important;}

/* WooCommerce likes to add bottom margin to the last thing on a page */
.woo-wrap > .wrap > :last-child,
.pr-app-body .woocommerce-MyAccount-content > :last-child{margin-block-end:0;}

/* cart and checkout headings line up with the cards under them */
.woocommerce-cart .entry > .wrap > h1,
.woocommerce-checkout .entry > .wrap > h1{margin-block-end:18px;}
.reviews + .trust{border-block-start:none;}

/* =========================================================================
 * Shop-management block in the account sidebar (managers only)
 * ====================================================================== */
.pr-app-side .pr-side-title{margin-block:0 12px;}
.pr-app-side .pr-side-title + .pr-side-manage + .pr-side-title{
  margin-block-start:22px;padding-block-start:18px;
  border-block-start:1px solid rgba(255,255,255,.14);
}
.pr-app-side .pr-side-manage{
  display:flex;flex-direction:column;gap:3px;margin:0 0 4px;padding:0;border:none;
}
.pr-app-side .pr-side-manage li{margin:0;}
.pr-app-side .pr-side-manage a{
  display:flex;align-items:center;gap:12px;
  padding:11px 14px;border-radius:11px;
  color:rgba(255,255,255,.78);font-weight:600;font-size:.92rem;
  text-decoration:none;transition:background .18s ease,color .18s ease;
}
.pr-app-side .pr-side-manage a svg{flex:none;opacity:.8;stroke:currentColor;fill:none;}
.pr-app-side .pr-side-manage a:hover{background:rgba(255,255,255,.08);color:var(--pr-white);}
.pr-app-side .pr-side-manage li:first-child a{
  background:rgba(224,28,36,.16);color:var(--pr-white);
  border:1px solid rgba(255,255,255,.12);
}
.pr-app-side .pr-side-manage li:first-child a:hover{background:var(--red);border-color:transparent;}

/* the sidebar menu keeps the logout pinned to the bottom of the column */
.pr-app-side .woocommerce-MyAccount-navigation{justify-content:flex-start;}

/* "new product" shortcut in the top bar */
.pr-app-admin{
  display:inline-flex;align-items:center;gap:8px;flex:none;
  padding:9px 16px;border-radius:11px;
  background:var(--red);color:var(--pr-white);
  font-weight:700;font-size:.87rem;text-decoration:none;
  box-shadow:0 12px 22px -14px rgba(224,28,36,.9);
  transition:background .18s ease,transform .18s ease;
}
.pr-app-admin svg{stroke:currentColor;fill:none;}
.pr-app-admin:hover{background:var(--red-deep);transform:translateY(-1px);color:var(--pr-white);}

@media (max-width:900px){
  .pr-app-side .pr-side-title{display:none;}
  .pr-app-side .pr-side-manage{
    flex-direction:row;overflow-x:auto;gap:6px;margin-block-end:8px;
    padding-block-end:8px;border-block-end:1px solid rgba(255,255,255,.14);
    scrollbar-width:none;
  }
  .pr-app-side .pr-side-manage::-webkit-scrollbar{display:none;}
  .pr-app-side .pr-side-manage li{flex:none;}
  .pr-app-side .pr-side-manage a{padding:9px 14px;font-size:.86rem;white-space:nowrap;}
  .pr-app-side .pr-side-title + .pr-side-manage + .pr-side-title{
    margin-block-start:0;padding-block-start:0;border-block-start:none;
  }
}


/* =========================================================================
 * Lookbook gallery
 *
 * Row A pairs the tall portrait with a wide banner; the row carries the
 * aspect ratio so both line up. Row B is three panels of equal shape.
 * ====================================================================== */
.look-gallery{display:flex;flex-direction:column;gap:clamp(12px,1.6vw,18px);}
.look-row{display:grid;gap:clamp(12px,1.6vw,18px);}
.look-row-a{grid-template-columns:1fr 2fr;aspect-ratio:3.2;}
.look-row-b{grid-template-columns:repeat(3,1fr);}
.look-row-b .look-item{aspect-ratio:503/263;}

.look-item{
  display:block;position:relative;overflow:hidden;
  border-radius:var(--r-lg);background:var(--sky-2);
  box-shadow:0 1px 3px rgba(14,30,55,.06);
  transition:transform .3s ease,box-shadow .3s ease;
}
.look-item img{width:100%;height:100%;object-fit:cover;display:block;}
.look-item:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.look-item:focus-visible{outline:3px solid var(--red);outline-offset:3px;}

@media (max-width:1100px) and (min-width:861px){
  .look-row-b{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:860px){
  .look-row-a{grid-template-columns:1fr;aspect-ratio:auto;}
  .look-row-a .look-item:first-child{aspect-ratio:523/467;}
  .look-row-a .look-item:last-child{aspect-ratio:502/261;}
  .look-row-b{grid-template-columns:1fr;}
}


/* =========================================================================
 * Cart and checkout shell
 * ====================================================================== */
body.pr-checkout-page{background:var(--pr-app-bg);}
.pr-checkout-body{padding-block:clamp(20px,3vw,34px) clamp(40px,6vw,70px);}

/* three step indicator */
.pr-steps{background:var(--pr-white);border-block-end:1px solid rgba(14,30,55,.08);padding-block:14px;}
.pr-steps ol{
  max-width:1240px;margin-inline:auto;padding-inline:clamp(16px,4vw,52px);
  display:flex;align-items:center;justify-content:center;gap:clamp(10px,2vw,22px);flex-wrap:wrap;
}
.pr-steps li{display:flex;align-items:center;gap:9px;font-size:.88rem;font-weight:700;color:var(--ink-3);}
.pr-steps li + li::before{
  content:"";width:clamp(18px,3vw,44px);height:2px;border-radius:2px;
  background:rgba(14,30,55,.12);margin-inline-end:clamp(10px,2vw,22px);
}
.pr-step-num{
  width:26px;height:26px;border-radius:50%;flex:none;
  display:flex;align-items:center;justify-content:center;
  background:var(--pr-neutral-bg);color:var(--ink-3);font-size:.8rem;font-variant-numeric:tabular-nums;
}
.pr-steps .is-now{color:var(--red);}
.pr-steps .is-now .pr-step-num{background:var(--red);color:var(--pr-white);}
.pr-steps .is-done{color:var(--ink-2);}
.pr-steps .is-done .pr-step-num{background:var(--ok);color:var(--pr-white);}
/* confirmation page: the whole path is behind, drawn in one green */
.pr-steps.is-complete li{color:#13733D;} /* #1F9D55 is under 4.5:1 for text on white */
.pr-steps.is-complete .pr-step-num{background:#1F9D55;color:#fff;}
.pr-steps.is-complete li + li::before{height:3px;background:#1F9D55;}
.pr-steps.is-complete .pr-step-label{display:inline;}
 (max-width:420px){
  .pr-steps.is-complete ol{gap:8px;}
  .pr-steps.is-complete li{gap:6px;font-size:.8rem;}
  .pr-steps.is-complete li + li::before{width:14px;margin-inline-end:8px;}
}
@media (max-width:520px){
  .pr-step-label{display:none;}
  .pr-steps .is-now .pr-step-label{display:inline;}
}

/* =========================================================================
 * WooCommerce block cart and checkout
 * ====================================================================== */
.pr-checkout-page .wc-block-components-sidebar-layout{
  display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);
  gap:clamp(16px,2vw,24px);align-items:start;
}
@media (max-width:900px){
  .pr-checkout-page .wc-block-components-sidebar-layout{grid-template-columns:1fr;}
}
.pr-checkout-page .wc-block-components-main,
.pr-checkout-page .wc-block-components-sidebar{width:auto;padding:0;float:none;}

/* each step becomes a card */
.pr-checkout-page .wc-block-components-checkout-step{
  background:var(--pr-white);border:1px solid rgba(14,30,55,.08);border-radius:var(--r-md);
  padding:clamp(18px,2.4vw,26px);margin-block-end:16px;
}
.pr-checkout-page .wc-block-components-checkout-step__heading{margin-block:0 16px;}
.pr-checkout-page .wc-block-components-title,
.pr-checkout-page .wc-block-components-checkout-step__title{
  font-family:var(--display);font-size:1.05rem;color:var(--ink);font-weight:700;
}
.pr-checkout-page .wc-block-components-checkout-step__description{color:var(--ink-3);font-size:.86rem;}

/* the summary column */
.pr-checkout-page .wc-block-components-sidebar .wc-block-components-panel,
.pr-checkout-page .wc-block-checkout__sidebar > *:not(.wc-block-components-notices__snackbar),
.pr-checkout-page .wc-block-components-order-summary{
  background:var(--pr-white);border-radius:var(--r-md);
}

/*
 * Zone des notifications flottantes de WooCommerce.
 * Sous 782px, WooCommerce la fixe en haut (top:10px) sans annuler le
 * bottom:24px d'une autre de ses regles : elle s'etire sur tout l'ecran.
 * Transparente, c'est sans effet ; peinte en blanc par la regle de cartes
 * ci-dessus, elle masquait tout le formulaire de paiement sur telephone.
 * Elle reste donc transparente, et haute de son seul contenu.
 */
.wc-block-components-notices__snackbar{background:none !important;}
@media (max-width:782px){
  .wc-block-components-notices__snackbar.wc-block-components-notice-snackbar-list{bottom:auto;}
}
.pr-checkout-page .wc-block-components-sidebar{
  background:var(--pr-white);border:1px solid rgba(14,30,55,.08);border-radius:var(--r-md);
  padding:clamp(18px,2.4vw,24px);position:sticky;top:18px;
}
@media (max-width:900px){
  .pr-checkout-page .wc-block-components-sidebar{position:static;}
}

/* form fields */
.pr-checkout-page .wc-block-components-text-input input,
.pr-checkout-page .wc-block-components-textarea,
.pr-checkout-page .wc-block-components-combobox-control input,
.pr-checkout-page .wc-block-components-select__select{
  border:1.5px solid rgba(14,30,55,.16) !important;
  border-radius:12px !important;
  background:var(--pr-white) !important;
  color:var(--ink) !important;
  font-family:var(--body) !important;
  padding:14px 14px 6px !important;
}
.pr-checkout-page .wc-block-components-textarea{padding:14px !important;}
.pr-checkout-page .wc-block-components-text-input input:focus,
.pr-checkout-page .wc-block-components-textarea:focus,
.pr-checkout-page .wc-block-components-select__select:focus{
  border-color:var(--blue) !important;box-shadow:0 0 0 3px rgba(28,79,161,.12) !important;outline:none !important;
}
.pr-checkout-page .wc-block-components-text-input label{color:var(--ink-3);font-family:var(--body);}

/* payment and shipping options */
.pr-checkout-page .wc-block-components-radio-control__option{
  border:1.5px solid rgba(14,30,55,.14);border-radius:12px;
  padding:14px 16px;margin-block-end:10px;
}
.pr-checkout-page .wc-block-components-radio-control__option--checked-option-highlighted,
.pr-checkout-page .wc-block-components-radio-control-accordion-option--checked-option-highlighted{
  border-color:var(--red);box-shadow:0 0 0 1px var(--red);
}
.pr-checkout-page .wc-block-components-radio-control__label{font-weight:700;color:var(--ink);}
.pr-checkout-page .wc-block-components-radio-control__description{color:var(--ink-3);font-size:.84rem;}

/* totals */
.pr-checkout-page .wc-block-components-totals-item{
  padding-block:9px;font-size:.92rem;color:var(--ink-2);
}
.pr-checkout-page .wc-block-components-totals-item__label{font-weight:500;}
.pr-checkout-page .wc-block-components-totals-footer-item{
  border-block-start:2px solid rgba(14,30,55,.12);padding-block-start:14px;margin-block-start:6px;
}
.pr-checkout-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{
  font-family:var(--display);font-weight:700;font-size:1.05rem;color:var(--ink);
}
.pr-checkout-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.pr-checkout-page .wc-block-formatted-money-amount{color:var(--red);font-weight:700;}
.pr-checkout-page .wc-block-components-totals-shipping .wc-block-formatted-money-amount{color:var(--ok);}

/* order summary rows */
.pr-checkout-page .wc-block-components-order-summary-item{
  padding-block:14px;border-block-end:1px solid rgba(14,30,55,.07);
}
.pr-checkout-page .wc-block-components-order-summary-item:last-child{border-block-end:none;}
.pr-checkout-page .wc-block-components-order-summary-item__image img{border-radius:12px;}
.pr-checkout-page .wc-block-components-order-summary-item__description .wc-block-components-product-name{
  font-weight:700;color:var(--ink);font-size:.93rem;
}
.pr-checkout-page .wc-block-components-product-metadata{color:var(--ink-3);font-size:.82rem;}

/* place order */
.pr-checkout-page .wc-block-components-checkout-place-order-button,
.pr-checkout-page .wc-block-cart__submit-button,
.pr-checkout-page .wc-block-components-button:not(.is-link){
  background:var(--blue-deep) !important;color:var(--pr-white) !important;
  border:none !important;border-radius:12px !important;
  font-family:var(--body) !important;font-weight:700 !important;font-size:1rem !important;
  padding:16px 24px !important;width:100%;
  box-shadow:0 14px 26px -16px rgba(20,58,120,.8);
  transition:background .2s ease,transform .18s ease;
}
.pr-checkout-page .wc-block-components-checkout-place-order-button:hover,
.pr-checkout-page .wc-block-cart__submit-button:hover,
.pr-checkout-page .wc-block-components-button:not(.is-link):hover{
  background:var(--ink) !important;transform:translateY(-1px);
}
.pr-checkout-page .wc-block-components-checkout-return-to-cart-button,
.pr-checkout-page .wc-block-components-button.is-link{color:var(--red) !important;font-weight:700;}

/* coupon */
.pr-checkout-page .wc-block-components-totals-coupon .wc-block-components-panel__button{
  color:var(--blue);font-weight:700;font-size:.88rem;
}

/* notices */
.pr-checkout-page .wc-block-components-notice-banner{
  border-radius:var(--r-sm);font-size:.92rem;align-items:center;
}

/* cart block table */
.pr-checkout-page .wc-block-cart-items__header{color:var(--ink-3);font-size:.8rem;}
.pr-checkout-page .wc-block-cart-item__wrap{padding-block:16px;}
.pr-checkout-page .wc-block-components-product-name{color:var(--ink);}
.pr-checkout-page .wc-block-cart-item__image img{border-radius:12px;}
.pr-checkout-page .wc-block-components-quantity-selector{border-radius:99px;border-color:rgba(14,30,55,.16);}

/* the classic (shortcode) checkout, if the page is ever switched back */
.pr-checkout-page .woocommerce{max-width:none;}
.pr-checkout-page form.checkout{margin-block-start:0;}

/* =========================================================================
 * Payment and shipping options
 *
 * WooCommerce positions the radio absolutely and reserves padding for it.
 * My earlier padding override removed that space and the label ran under
 * the dial — restore the gap on the inline-start side (the right, in RTL).
 * ====================================================================== */
.pr-checkout-page .wc-block-components-radio-control__option{
  position:relative;
  padding:16px 18px;
  padding-inline-start:50px;
  display:block;
}
.pr-checkout-page .wc-block-components-radio-control__input{
  position:absolute;
  inset-inline-start:17px;
  inset-inline-end:auto;
  top:18px;
  width:20px;height:20px;margin:0;
  accent-color:var(--red);
}
.pr-checkout-page .wc-block-components-radio-control__option-layout{
  display:flex;flex-direction:column;gap:5px;min-width:0;
}
.pr-checkout-page .wc-block-components-radio-control__label-group,
.pr-checkout-page .wc-block-components-radio-control__description-group{
  min-width:0;
}
.pr-checkout-page .wc-block-components-radio-control__label{
  display:block;font-weight:700;font-size:.96rem;color:var(--ink);
  line-height:1.4;overflow-wrap:anywhere;
}
.pr-checkout-page .wc-block-components-radio-control__description{
  display:block;color:var(--ink-3);font-size:.85rem;line-height:1.6;
  overflow-wrap:anywhere;
}
.pr-checkout-page .wc-block-components-radio-control__option::before,
.pr-checkout-page .wc-block-components-radio-control__option::after{display:none;}

/* =========================================================================
 * Removing a line from the cart
 *
 * The block cart puts a plain "remove" button under each row and it reads as
 * throwaway text. Make it findable without turning it into a trap.
 * ====================================================================== */
.pr-checkout-page .wc-block-cart-item__remove-link{
  display:inline-flex;align-items:center;gap:6px;
  margin-block-start:8px;padding:6px 12px;
  border:1.5px solid rgba(224,28,36,.35);border-radius:99px;
  background:transparent;color:var(--red);
  font-family:var(--body);font-weight:700;font-size:.8rem;
  text-decoration:none;cursor:pointer;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.pr-checkout-page .wc-block-cart-item__remove-link:hover,
.pr-checkout-page .wc-block-cart-item__remove-link:focus{
  background:var(--red);border-color:var(--red);color:var(--pr-white);
}

/* quantity stepper */
.pr-checkout-page .wc-block-components-quantity-selector{
  border:1.5px solid rgba(14,30,55,.16);border-radius:99px;overflow:hidden;max-width:130px;
}
.pr-checkout-page .wc-block-components-quantity-selector__input{
  color:var(--ink);font-weight:700;font-family:var(--body);
}
.pr-checkout-page .wc-block-components-quantity-selector__button{
  color:var(--blue);font-weight:700;
}
.pr-checkout-page .wc-block-components-quantity-selector__button:hover{color:var(--red);}

/* =========================================================================
 * Latin product names inside a right-to-left page
 *
 * A French name ending in a quote or a bracket flips its punctuation when the
 * paragraph direction is RTL. `plaintext` lets each name resolve on its own.
 * ====================================================================== */
.pr-card__name,
.price,
.woocommerce-loop-product__title,
.woocommerce div.product .product_title,
.wc-block-components-product-name,
.wc-block-components-order-summary-item__description .wc-block-components-product-name,
.pr-order-table tbody th,
.pr-home-cats__name{
  unicode-bidi:plaintext;
}

/* =========================================================================
 * Free delivery progress
 * ====================================================================== */
.pr-ship-bar{background:var(--pr-warn-bg);border-block-end:1px solid rgba(232,163,58,.3);padding-block:12px;}
.pr-ship-bar.is-free{background:var(--pr-ok-bg);border-block-end-color:rgba(31,138,91,.3);}
.pr-ship-bar .wrap{display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
.pr-ship-bar p{
  display:flex;align-items:center;gap:9px;margin:0;flex:1 1 260px;
  font-size:.9rem;font-weight:700;color:var(--pr-warn-ink);
}
.pr-ship-bar.is-free p{color:var(--pr-ok-ink);}
.pr-ship-bar svg{stroke:currentColor;fill:none;flex:none;}
.pr-ship-bar .amount,
.pr-ship-bar bdi{color:inherit;font-weight:800;}
.pr-ship-track{
  flex:1 1 180px;max-width:280px;height:8px;border-radius:99px;
  background:rgba(14,30,55,.1);overflow:hidden;
}
.pr-ship-track > span{display:block;height:100%;border-radius:99px;background:var(--pr-star);transition:width .4s ease;}
.pr-ship-bar.is-free .pr-ship-track > span{background:var(--ok);}
@media (max-width:560px){
  .pr-ship-bar p{font-size:.84rem;}
  .pr-ship-track{max-width:none;}
}

/* =========================================================================
 * Size picker on the product page
 * ====================================================================== */
.woocommerce div.product form.cart .variations{
  width:100%;border:none;margin-block-end:8px;
}
.woocommerce div.product form.cart .variations tr{display:block;margin-block-end:14px;}
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td{
  display:block;padding:0;border:none;text-align:start;
}
.woocommerce div.product form.cart .variations label{
  font-weight:700;font-size:.9rem;color:var(--ink);margin-block-end:8px;display:block;
}
.woocommerce div.product form.cart .variations select{
  width:100%;max-width:340px;
  border:1.5px solid var(--line);border-radius:12px;
  padding:12px 14px;background:var(--surface);color:var(--ink);
  font-family:var(--body);font-size:.95rem;
}
.woocommerce div.product form.cart .variations select:focus{
  border-color:var(--blue);outline:none;box-shadow:0 0 0 3px rgba(28,79,161,.12);
}
.woocommerce div.product .reset_variations{
  display:inline-block;margin-block-start:8px;
  font-size:.84rem;font-weight:700;color:var(--red);
}
.woocommerce div.product .woocommerce-variation-price{
  margin-block:12px;font-family:var(--display);font-size:1.4rem;color:var(--red);
}
.woocommerce div.product .woocommerce-variation-availability p{
  font-size:.86rem;color:var(--ink-2);margin:0;
}
.woocommerce div.product .woocommerce-variation-add-to-cart{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-block-start:14px;
}
.woocommerce div.product .woocommerce-variation-add-to-cart.woocommerce-variation-add-to-cart-disabled .button{
  opacity:.45;cursor:not-allowed;
}
.woocommerce .stock.out-of-stock{color:var(--red);font-weight:700;}
.woocommerce .stock.in-stock{color:var(--ok);font-weight:700;}


/* =========================================================================
 * Account sidebar: only the personal menu stretches
 *
 * Both lists matched the generic rule and each took flex:1, so they split the
 * spare height and left a gap between the two sections.
 * ====================================================================== */
.pr-app-side .pr-side-manage{flex:0 0 auto;}
.pr-app-side .pr-side-title + .pr-side-manage + .pr-side-title{margin-block-start:26px;}


/* =========================================================================
 * Fuite d'interface d'extension
 *
 * SiteSEO Pro injecte sa fenetre « SiteSEO AI » dans chaque page du site pour
 * les comptes connectes, mais ne charge pas sa feuille de style sur le front :
 * sans le display:none qu'elle contient, la fenetre se deroule en clair au
 * milieu du contenu. On la remet a l'etat prevu — cote administration, ou sa
 * feuille de style est bien chargee, cette regle ne s'applique pas.
 * ====================================================================== */
.siteseo-ai-modal-overlay{display:none !important;}

 * 19 — Formulaire d'inscription
 *
 * Deux champs courts par ligne sur ecran large, un par ligne sur telephone :
 * personne ne remplit un formulaire de boutique autrement que sur mobile.
 * ====================================================================== */
.pr-reg-row{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;}
.pr-reg-row .form-row{margin-block-end:0;}
.pr-help{
  display:block;margin-block-start:6px;
  font-size:13px;color:var(--pr-muted);line-height:1.5;
}
.pr-help-wide{margin-block-start:-8px;margin-block-end:16px;}
@media (max-width:560px){
  .pr-reg-row{grid-template-columns:1fr;}
}

/* =========================================================================
 * 20 — Indicateur de force du mot de passe
 *
 * WooCommerce injecte la jauge et le conseil *a l'interieur* du champ, juste
 * apres .password-input. Le champ etant une rangee flex, les deux se
 * retrouvaient comprimes en colonnes de quelques pixels, le texte a la
 * verticale. Plutot que de lutter contre le script, on laisse la rangee
 * revenir a la ligne : les deux blocs passent en pleine largeur sous le
 * champ, comme un bandeau qui prolonge la boite.
 * ====================================================================== */
.pr-auth-card .pr-field{flex-wrap:wrap;overflow:hidden;}
.pr-auth-card .pr-field > .password-input{flex:1 1 0;}

.pr-auth-card .pr-field .woocommerce-password-strength,
.pr-auth-card .pr-field .woocommerce-password-hint{
  flex:1 0 100%;
  /* annule le retrait lateral du champ pour aller d'un bord a l'autre */
  margin-inline:-13px;
  margin-block-start:10px;
  padding:10px 14px;
  border-block-start:1px solid var(--pr-line);
  font-size:13px;line-height:1.65;text-align:start;
}

.pr-auth-card .pr-field .woocommerce-password-strength{
  font-weight:600;
  background:var(--pr-neutral-bg);color:var(--pr-neutral-ink);
}
.pr-auth-card .pr-field .woocommerce-password-strength.short{background:var(--pr-alert-bg);color:var(--pr-alert-ink);}
.pr-auth-card .pr-field .woocommerce-password-strength.bad{background:var(--pr-warn-bg);color:var(--pr-warn-ink);}
.pr-auth-card .pr-field .woocommerce-password-strength.good{background:var(--pr-info-bg);color:var(--pr-info-ink);}
.pr-auth-card .pr-field .woocommerce-password-strength.strong{background:var(--pr-ok-bg);color:var(--pr-ok-ink);}

.pr-auth-card .pr-field .woocommerce-password-hint{
  margin-block-start:0;
  background:var(--pr-bg);color:var(--pr-muted);
  border-block-start:none;
}

/* le conseil peut etre long : il ne doit pas etirer la boite */
.pr-auth-card .pr-field .woocommerce-password-hint,
.pr-auth-card .pr-field .woocommerce-password-strength{
  min-width:0;overflow-wrap:anywhere;
}

/* une jauge sans conseil ferme la boite toute seule */
.pr-auth-card .pr-field .woocommerce-password-strength:last-child,
.pr-auth-card .pr-field .woocommerce-password-hint:last-child{
  margin-block-end:0;
}

/* WooCommerce ecrit ses propres couleurs en dur : on reprend la main */
.woocommerce-password-strength{border-radius:0 !important;}


/* =========================================================================
 * 18 — Confirmation d'ajout au panier
 *
 * Seul rescape de l'ancien bloc d'animation du heros : ces trois regles
 * servent les cartes de la grille Nouveautes, pas le heros.
 * ====================================================================== */
@keyframes pr-check-in{
  0%  {transform:scale(0) rotate(-25deg);}
  60% {transform:scale(1.25) rotate(6deg);}
  100%{transform:scale(1) rotate(0);}
}
.add-btn.is-added{background:var(--pr-ok-bg);border-color:var(--pr-ok-ink);color:var(--pr-ok-ink);}
.add-btn.is-added svg{animation:pr-check-in .45s cubic-bezier(.34,1.56,.64,1);}
.price.is-added{color:var(--pr-ok-ink);font-size:15px;font-family:var(--pr-body);font-weight:600;}

/* =========================================================================
 * Sidebar: count of orders waiting in « جديد »
 * ====================================================================== */
.pr-side-count{
  margin-inline-start:auto;min-width:22px;height:22px;padding-inline:7px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  background:#D6232A;color:#fff;font-size:.74rem;font-weight:700;line-height:1;
  font-variant-numeric:tabular-nums;
}
.pr-side li.is-active .pr-side-count,
.pr-side a[aria-current="page"] .pr-side-count{background:#fff;color:#16215C;}

/* =========================================================================
 * Account sidebar on phones
 *
 * The menu is meant to shrink to one scrolling row per section, but later,
 * more specific rules kept both lists stacked and the block sticky: for a
 * logged-in manager it stood ~470px tall over every page while scrolling.
 * ====================================================================== */
@media (max-width:900px){
  body.woocommerce-account .pr-app{grid-template-columns:minmax(0,1fr);}
  body.woocommerce-account .pr-app-side{position:static;min-width:0;}
  .woocommerce-account .pr-app-side .woocommerce-MyAccount-navigation.pr-side ul{
    display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:6px;
    margin:0;padding-block-end:4px;scrollbar-width:none;
  }
  .woocommerce-account .pr-app-side .woocommerce-MyAccount-navigation.pr-side ul::-webkit-scrollbar{display:none;}
  .woocommerce-account .pr-app-side .woocommerce-MyAccount-navigation.pr-side li{flex:none;}
  .woocommerce-account .pr-app-side .woocommerce-MyAccount-navigation.pr-side li a{
    white-space:nowrap;padding:9px 14px;min-height:44px;font-size:.86rem;
  }
  .woocommerce-account .pr-app-side .woocommerce-MyAccount-navigation.pr-side .pr-side-manage{
    margin-block-end:8px !important;padding-block-end:8px;border-block-end:1px solid rgba(255,255,255,.14);
  }
}

/* customer dashboard: three tiles since the downloads one left */
.pr-stats.pr-stats--3{grid-template-columns:repeat(3,minmax(0,1fr));}
@media (max-width:560px){
  .pr-stats.pr-stats--3{gap:10px;}
}
