.club-fid{max-width:760px}
.club-card{background:#111;color:#fff;border-radius:14px;padding:22px 24px;margin-bottom:18px}
.club-card--empty{background:#f6f4f0;color:#222}
.club-card__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.club-card__hello{margin:0;font-size:1.05rem}
.club-card__level{margin:2px 0 0;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;opacity:.75}
.club-card__num{margin:0;font-size:.8rem;opacity:.75}
.club-card__points{margin:18px 0 8px;font-size:1rem}
.club-card__points strong{font-size:2.4rem;line-height:1;margin-right:6px}
.club-bar{height:8px;border-radius:8px;background:rgba(255,255,255,.2);overflow:hidden}
.club-bar span{display:block;height:100%;background:#c8a96a;border-radius:8px}
.club-card__next{margin:10px 0 0;font-size:.9rem;opacity:.9}
.club-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:10px}
.club-tile{border:1px solid #e5e2dc;border-radius:12px;padding:14px 16px;background:#fff}
.club-tile__label{display:block;font-size:.8rem;color:#666}
.club-tile__value{display:block;font-size:1.35rem;font-weight:600;margin-top:4px}
.club-note{font-size:.85rem;color:#666;margin:6px 0 18px}
.club-h{margin-top:10px}
.club-table td,.club-table th{font-size:.88rem}
.club-form{max-width:420px}
@media (max-width:575px){.club-tiles{grid-template-columns:1fr}.club-card__points strong{font-size:2rem}}

/* ---- Formulaire compte (inscription / mes informations) : angles arrondis, blocs resserrés ---- */
html body #customer-form#customer-form#customer-form .form-group { margin-bottom: 10px !important; }
html body #customer-form#customer-form#customer-form .form-control-label { margin-bottom: 5px !important; padding-top: 0 !important; }
html body #customer-form#customer-form#customer-form .form-control-comment { font-size: 10.5px !important; line-height: 1.3 !important; margin-top: 3px !important; }
html body #customer-form#customer-form#customer-form .form-control-comment:empty { display: none !important; }
html body #customer-form#customer-form#customer-form input.form-control,
html body #customer-form#customer-form#customer-form select.form-control { height: 44px !important; border-radius: 12px !important; border: 1px solid #dcd7cf !important; background: #fff !important; transition: border-color .2s ease, box-shadow .2s ease !important; }
html body #customer-form#customer-form#customer-form input.form-control:focus,
html body #customer-form#customer-form#customer-form select.form-control:focus { border-color: #111 !important; box-shadow: 0 0 0 3px rgba(185, 154, 91, .18) !important; outline: none !important; }
html body #customer-form#customer-form#customer-form .form-control-submit { border-radius: 12px !important; }

/* ---- Mot de passe : bouton « Afficher » remplacé par un œil discret dans le champ ---- */
html body #customer-form#customer-form#customer-form .input-group.js-parent-focus { position: relative !important; display: block !important; width: 100% !important; }
html body #customer-form#customer-form#customer-form .input-group.js-parent-focus .form-control { border-radius: 12px !important; padding-right: 52px !important; width: 100% !important; }
html body #customer-form#customer-form#customer-form .input-group.js-parent-focus .input-group-btn { position: absolute !important; right: 6px !important; top: 50% !important; transform: translateY(-50%) !important; width: auto !important; z-index: 3 !important; }
html body #customer-form#customer-form#customer-form .input-group.js-parent-focus .input-group-btn .btn { width: 38px !important; height: 34px !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 10px !important; font-size: 0 !important; color: transparent !important; letter-spacing: 0 !important; box-shadow: none !important; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 12S5.5 4.5 12 4.5 22.5 12 22.5 12 18.5 19.5 12 19.5 1.5 12 1.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3C/svg%3E") center / 19px no-repeat !important; opacity: .55 !important; transition: opacity .2s ease, background-color .2s ease !important; }
html body #customer-form#customer-form#customer-form .input-group.js-parent-focus .input-group-btn .btn:hover,
html body #customer-form#customer-form#customer-form .input-group.js-parent-focus .input-group-btn .btn:focus { opacity: 1 !important; background-color: #f4efe6 !important; }
html body #customer-form#customer-form#customer-form .input-group.js-parent-focus:has(input[type="text"]) .input-group-btn .btn { opacity: 1 !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M10.6 5.1A10 10 0 0 1 12 4.5c6.5 0 10.5 7.5 10.5 7.5a17 17 0 0 1-3.2 4.1M6.3 6.6A17 17 0 0 0 1.5 12S5.5 19.5 12 19.5a9.6 9.6 0 0 0 4.3-1'/%3E%3Cpath d='M9.9 9.9a3.2 3.2 0 0 0 4.5 4.5'/%3E%3C/svg%3E") !important; }
html body #customer-form#customer-form#customer-form .input-group.js-parent-focus .input-group-btn .btn:focus { outline: none !important; }
html body #customer-form#customer-form#customer-form .input-group.js-parent-focus .input-group-btn .btn:focus-visible { box-shadow: 0 0 0 2px rgba(185, 154, 91, .45) !important; }

/* Ancien rappel « Bienvenue au Club » / « Votre fidélité est-elle activée ? » (Custom Codes du thème) : remplacé par le module */
html body .cbw, html body .cbw-card { display: none !important; }

/* Fenêtres après création de compte */
.clubfid-ov { position: fixed; inset: 0; z-index: 100000; background: rgba(17,17,17,.55); display: flex; align-items: center; justify-content: center; padding: 16px; animation: clubfidIn .25s ease; }
.clubfid-md { background: #fff; border-radius: 18px; max-width: 420px; width: 100%; padding: 32px 28px 26px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.clubfid-md .clubfid-k { font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase; color: #b99a5b; margin: 0 0 8px; }
.clubfid-md h3 { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; font-size: 23px; color: #111; margin: 0 0 12px; text-transform: none; letter-spacing: 0; }
.clubfid-md p { font-size: 13.5px; line-height: 1.6; color: #444; margin: 0 0 20px; }
.clubfid-md .clubfid-btn { display: block; width: 100%; background: #111; color: #fff !important; border: 0; border-radius: 12px; padding: 14px 16px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none !important; cursor: pointer; transition: background .2s ease; }
.clubfid-md .clubfid-btn:hover { background: #2a2a2a; }
.clubfid-md .clubfid-lk { display: inline-block; margin-top: 12px; background: none; border: 0; color: #777; font-size: 12px; text-decoration: underline; cursor: pointer; }
@keyframes clubfidIn { from { opacity: 0; } to { opacity: 1; } }

/* ---- Angles arrondis sur tout le site (blocs, champs, boutons ; pas les photos) ---- */
html body .btn, html body button.btn, html body .form-control, html body select.form-control,
html body input[type="text"], html body input[type="email"], html body input[type="tel"], html body input[type="password"],
html body input[type="number"], html body input[type="search"], html body textarea, html body .custom-select,
html body .input-group .form-control, html body .bootstrap-touchspin input, html body .bootstrap-touchspin .btn {
  border-radius: 12px !important;
}
html body .card, html body .alert, html body .modal-content, html body .dropdown-menu, html body .popover,
html body .block-categories, html body .card-block, html body #js-product-list-top, html body .products-sort-order .select-list,
html body .cart-summary, html body .cart-grid-body .card, html body .checkout-step, html body .order-confirmation-table,
html body .page-content.card, html body .notifications-container .alert, html body #order-items, html body .address,
html body .table-labeled, html body .table-bordered, html body .page-order-detail .box, html body .box,
html body .breadcrumb-all-page, html body .breadcrumb, html body .club-form, html body .club-card,
html body .faceted-search, html body #search_filters, html body .block-reassurance, html body .blockreassurance_product {
  border-radius: 14px !important;
}
html body .table-bordered, html body .box, html body .card, html body .breadcrumb-all-page { overflow: hidden; }
html body .breadcrumb-all-page { border-radius: 14px !important; }

/* ---- Page « Votre compte » ---- */
html body#my-account#my-account#my-account #content .links a .link-item {
  border-radius: 16px !important; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
html body#my-account#my-account#my-account #content .links a:hover .link-item { box-shadow: 0 10px 24px rgba(0,0,0,.08); transform: translateY(-2px); border-color: #d8cfbf !important; }
html body#my-account#my-account#my-account #content .links > a#order-slips-link, html body#my-account#my-account#my-account #content .links > a#discounts-link { display: none !important; }
/* v0.3.4 : fidélité non synchronisée + code-barres */
.club-sync{background:#fbf6ea;border:1px solid #e9dcb8;border-radius:14px;padding:14px 18px;margin-bottom:16px;font-size:.92rem}
.club-sync p{margin:0 0 6px}
.club-sync__lk{font-size:.85rem;text-decoration:underline}
.club-card--wait .club-card__points strong,.club-card--wait .club-card__num{opacity:.55}
.club-code{display:block;width:100%;max-width:360px;margin:18px auto 4px;background:#fff;border:0;border-radius:12px;padding:12px 14px 8px;cursor:pointer}
.club-code__svg svg{display:block;width:100%;height:64px}
.club-code__num{display:block;color:#111;font-size:.85rem;letter-spacing:.25em;margin-top:6px;text-align:center}
.club-card__tip{margin:4px 0 0;font-size:.75rem;opacity:.6;text-align:center}
.club-empty{font-size:.9rem;color:#666}
.clubfid-full{position:fixed;inset:0;z-index:100000;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;cursor:pointer}
.clubfid-full svg{width:92vw;max-width:640px;height:30vh;max-height:200px}
.clubfid-full p{color:#111;margin:14px 0 0;letter-spacing:.3em;font-size:1.3rem}
.clubfid-full small{color:#777;margin-top:22px;font-size:.8rem}
/* v0.3.5 : historique en onglets dépliables */
.club-achats{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}
.club-achat{border:1px solid #e5e2dc;border-radius:12px;background:#fff;overflow:hidden}
.club-achat summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:auto 1fr auto auto;gap:6px 16px;align-items:center;padding:14px 16px;font-size:.9rem}
.club-achat summary::-webkit-details-marker{display:none}
.club-achat summary::after{content:'';width:8px;height:8px;border-right:1.5px solid #999;border-bottom:1.5px solid #999;transform:rotate(45deg);transition:transform .2s;margin-left:4px}
.club-achat[open] summary::after{transform:rotate(-135deg)}
.club-achat summary{grid-template-columns:auto 1fr auto auto 12px}
.club-achat__d{color:#666;font-size:.82rem}
.club-achat__art{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.club-achat__tot{font-weight:600}
.club-achat__pts{color:#9a7b3c;font-size:.82rem}
.club-lignes{list-style:none;margin:0;padding:0 16px 12px;border-top:1px solid #f0ede7}
.club-lignes li{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:10px 0;border-bottom:1px dashed #eee;font-size:.86rem}
.club-lignes li:last-child{border-bottom:0}
.club-l__ref{grid-column:1;display:flex;flex-wrap:wrap;gap:4px 14px;color:#777;font-size:.78rem}
.club-l__ref b{color:#222;font-weight:600}
.club-l__tot{grid-row:1/3;grid-column:2;align-self:center;font-weight:600}
@media (max-width:575px){.club-achat summary{grid-template-columns:1fr auto 12px}.club-achat__art{grid-column:1/3;grid-row:2;white-space:normal}.club-achat__pts{display:none}}
.club-home{margin-top:14px;border-top:1px solid rgba(255,255,255,.15);padding-top:10px;font-size:.82rem}
.club-home summary{cursor:pointer;opacity:.85;list-style:none}
.club-home summary::-webkit-details-marker{display:none}
.club-home summary::before{content:'+ '}
.club-home[open] summary::before{content:'− '}
.club-home p{margin:8px 0 0;opacity:.85}
