/* H'isy — CSS popups (tiroirs panier/favoris + modal paiement), extrait de _drawers.scss + _checkout-modal.scss. Chargé quand la page n'utilise QUE le CSS maquette (sans le bundle). */

.hf-it { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(122, 92, 62, .14); }
.hf-it:last-child { border-bottom: none; }
.hf-it-img { width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0; background-size: cover; background-position: center; box-shadow: 0 2px 8px rgba(45, 21, 5, .12); }
.hf-it-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.hf-it-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hf-nm { font-family: var(--font-display, Georgia, serif); font-size: 14.5px; font-weight: 700; margin: 0; color: var(--brown, #2D1505); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.hf-mt { font-size: 12px; color: var(--muted, #5C4A3A); margin: 4px 0 0; font-weight: 500; }
.hf-add { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--cream-dark, #E8D4B4); background: #fff; color: var(--brown, #2D1505); font-size: 12.5px; cursor: pointer; display: grid; place-items: center; transition: all .15s; }
.hf-add:hover { background: var(--caramel, #C8956A); border-color: var(--caramel, #C8956A); color: #fff; }
.hf-add.in { background: var(--green, #2E7D32); border-color: var(--green, #2E7D32); color: #fff; }
.hf-rm { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; border: none; background: transparent; color: var(--light, #A8906E); cursor: pointer; font-size: 14px; transition: color .15s; }
.hf-rm:hover { color: #dc2626; }

.hc-ov { position: fixed; inset: 0; z-index: 600; background: rgba(45, 21, 5, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; pointer-events: none; }
.hc-ov.show { opacity: 1; pointer-events: auto; }
.hc-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 100%); z-index: 610; background: var(--cream-light, #FDF8F2); color: var(--brown, #2D1505); display: flex; flex-direction: column; box-shadow: -24px 0 70px rgba(45, 21, 5, .28); transform: translateX(100%); transition: transform .42s cubic-bezier(.16, 1, .3, 1); font-family: var(--font-body, system-ui, sans-serif); border-top: 3px solid #1C8A86; }
.hc-drawer.open { transform: none; }
.hc-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--border, #E8D4B4); flex-shrink: 0; }
.hc-hd h3 { font-family: var(--font-display, Georgia, serif); font-size: 19px; font-weight: 700; margin: 0; color: var(--brown, #2D1505); line-height: 1; letter-spacing: -.015em; }
.hc-ct { color: var(--light, #A8906E); font-weight: 600; }
.hc-hd-r { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hc-vider { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 9999px; background: #fff; border: 1px solid var(--cream-dark, #E8D4B4); color: var(--brown, #2D1505); font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all .15s; }
.hc-vider:hover { border-color: var(--caramel, #C8956A); color: var(--caramel-dark, #A8734E); }
.hc-x { width: 34px; height: 34px; border-radius: 50%; background: var(--cream, #F5ECD7); border: none; cursor: pointer; display: grid; place-items: center; color: var(--brown, #2D1505); font-size: 14px; flex-shrink: 0; transition: background .15s; }
.hc-x:hover { background: var(--cream-dark, #E8D4B4); }
.hc-body { flex: 1; overflow-y: auto; padding: 4px 18px; -webkit-overflow-scrolling: touch; }

.hc-it { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(122, 92, 62, .14); }
.hc-it:last-child { border-bottom: none; }
.hc-it-img { width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0; background-size: cover; background-position: center; box-shadow: 0 2px 6px rgba(45, 21, 5, .1); display: block; }
.hc-it-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.hc-it-main { flex: 1; min-width: 0; }
.hc-it .nm { font-size: 13.5px; font-weight: 700; margin: 0; color: var(--brown, #2D1505); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; display: block; }
.hc-it .mt { font-size: 12px; color: var(--muted, #5C4A3A); margin: 3px 0 0; font-weight: 400; }
.hc-it .pr { font-size: 13.5px; font-weight: 700; color: var(--brown, #2D1505); white-space: nowrap; }
.hc-rm { width: 30px; height: 30px; border-radius: 8px; border: none; background: transparent; color: var(--light, #A8906E); cursor: pointer; flex-shrink: 0; font-size: 13px; transition: color .15s; }
.hc-rm:hover { color: #dc2626; }

.hc-empty { text-align: center; padding: 64px 24px; color: var(--muted, #5C4A3A); }
.hc-empty-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--cream, #F5ECD7); display: grid; place-items: center; margin: 0 auto 16px; }
.hc-empty-ic i { font-size: 28px; color: var(--caramel, #C8956A); opacity: .5; }
.hc-empty .he-t { font-family: var(--font-display, Georgia, serif); font-weight: 700; font-size: 18px; color: var(--brown, #2D1505); margin: 0; }
.hc-empty .he-s { margin-top: 6px; font-size: 13px; line-height: 1.5; }

.hc-ft { flex-shrink: 0; padding: 15px 20px calc(15px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border, #E8D4B4); background: var(--cream-light, #FDF8F2); }
.hc-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.hc-row .lbl { font-size: 13px; font-weight: 600; color: var(--brown, #2D1505); }
.hc-row .amt { font-family: var(--font-display, Georgia, serif); font-size: 20px; font-weight: 700; color: var(--brown, #2D1505); letter-spacing: -.01em; }
.hc-note { font-size: 11px; color: var(--muted, #5C4A3A); line-height: 1.5; margin: 0 0 12px; }
.hc-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; border-radius: 9999px; background: var(--brown, #2D1505); color: #fff; font-size: 13px; font-weight: 700; border: none; cursor: pointer; margin-bottom: 7px; font-family: inherit; transition: transform .18s, box-shadow .18s, background .18s; text-decoration: none; }
.hc-cta:hover { transform: translateY(-2px); background: var(--brown-mid, #4A2510); box-shadow: 0 12px 28px rgba(45, 21, 5, .28); }
.hc-cont { display: flex; align-items: center; justify-content: center; width: 100%; padding: 11px; border-radius: 9999px; background: #fff; color: var(--caramel-dark, #A8734E); font-size: 12.5px; font-weight: 600; border: 1px solid var(--cream-dark, #E8D4B4); cursor: pointer; text-decoration: none; font-family: inherit; transition: all .15s; }
.hc-cont:hover { border-color: var(--caramel, #C8956A); background: var(--cream-light, #FDF8F2); }


.hck-ov { position: fixed; inset: 0; z-index: 700; background: rgba(45, 21, 5, .5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .25s; pointer-events: none; }
.hck-ov.on { opacity: 1; pointer-events: auto; }
.hck-modal { position: relative; background: var(--cream-light, #FDF8F2); border-radius: 24px; width: 100%; max-width: 880px; height: min(640px, 92vh); box-shadow: 0 30px 90px rgba(45, 21, 5, .34), 0 2px 12px rgba(45, 21, 5, .12); overflow: hidden; transform: translateY(20px) scale(.965); transition: transform .4s cubic-bezier(.16, 1, .3, 1); font-family: var(--font-body, system-ui, sans-serif); }
.hck-ov.on .hck-modal { transform: none; }
.hck-x2 { position: absolute; top: 14px; right: 14px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: none; cursor: pointer; display: grid; place-items: center; color: var(--brown, #2D1505); font-size: 15px; box-shadow: 0 2px 10px rgba(45, 21, 5, .2); transition: all .15s; }
.hck-x2:hover { background: var(--brown, #2D1505); color: var(--cream, #F5ECD7); transform: rotate(90deg); }
.hck-body { display: flex; height: 100%; min-height: 0; }
.hck-aside { position: relative; width: 312px; flex-shrink: 0; background: linear-gradient(168deg, #3A1D08 0%, var(--brown, #2D1505) 52%, #241004 100%); color: var(--cream, #F5ECD7); padding: 28px 26px; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; -webkit-overflow-scrolling: touch; }
.hck-aside::after { content: ""; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 149, 106, .16), transparent 70%); pointer-events: none; }
.hck-as-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; position: relative; z-index: 1; }
.hck-as-eye { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--caramel, #C8956A); margin: 0 0 5px; }
.hck-as-h { font-family: var(--font-display, Georgia, serif); font-size: 22px; font-weight: 700; margin: 0; color: #fff; letter-spacing: -.01em; line-height: 1.05; }
.hck-as-count { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 9999px; background: rgba(200, 149, 106, .16); color: var(--caramel, #C8956A); font-size: 11px; font-weight: 700; white-space: nowrap; }
.hck-as-list { position: relative; z-index: 1; }
.hck-as-it { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(245, 236, 215, .1); }
.hck-as-it:first-child { padding-top: 0; }
.hck-as-img { width: 48px; height: 48px; border-radius: 11px; flex-shrink: 0; background-size: cover; background-position: center; box-shadow: 0 3px 9px rgba(0, 0, 0, .34); border: 1px solid rgba(245, 236, 215, .12); }
.hck-as-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; display: block; }
.hck-as-more { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0 0; font-size: 11.5px; font-weight: 600; color: rgba(245, 236, 215, .6); }
.hck-as-more span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.hck-as-nm { font-size: 12.5px; font-weight: 600; margin: 0; color: #fff; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hck-as-mt { font-size: 10.5px; color: rgba(245, 236, 215, .6); margin: 3px 0 0; }
.hck-as-pr { font-size: 12.5px; font-weight: 700; color: var(--caramel, #C8956A); white-space: nowrap; }
.hck-as-seg { display: flex; gap: 4px; margin: 18px 0 9px; background: rgba(0, 0, 0, .22); border-radius: 11px; padding: 3px; position: relative; z-index: 1; }
.hck-seg-b { flex: 1 1 0; min-width: 0; padding: 7px 4px; border-radius: 8px; border: none; background: transparent; color: rgba(245, 236, 215, .62); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; font-family: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: all .15s; }
.hck-seg-b.on { background: var(--caramel, #C8956A); color: var(--brown, #2D1505); }
.hck-as-promo { display: flex; gap: 6px; margin: 0; }
.hck-as-promo input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(245, 236, 215, .18); background: rgba(245, 236, 215, .06); color: #fff; font-size: 12px; font-weight: 600; font-family: inherit; text-transform: uppercase; outline: none; }
.hck-as-promo input::placeholder { color: rgba(245, 236, 215, .4); }
.hck-as-apply { padding: 0 16px; border-radius: 10px; border: none; background: var(--caramel, #C8956A); color: var(--brown, #2D1505); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; font-family: inherit; flex-shrink: 0; }
.hck-as-ok { font-size: 10.5px; color: #9FD79A; font-weight: 600; margin: 8px 0 0; line-height: 1.45; }
.hck-as-err { font-size: 10.5px; color: #F0A6A6; font-weight: 600; margin: 8px 0 0; line-height: 1.45; }
.hck-as-link { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: var(--caramel, #C8956A); text-decoration: none; margin: 10px 0 0; transition: color .15s; }
.hck-as-link:hover { color: var(--cream, #F5ECD7); }
.hck-as-link i { font-size: 8.5px; }
.hck-as-tot { margin-top: auto; padding-top: 18px; position: relative; z-index: 1; }
.hck-as-trow { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 7px; color: rgba(245, 236, 215, .85); }
.hck-as-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 0; margin-top: 6px; border-top: 1px solid rgba(245, 236, 215, .16); }
.hck-as-total span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(245, 236, 215, .7); font-weight: 700; }
.hck-as-total b { font-family: var(--font-display, Georgia, serif); font-size: 25px; font-weight: 700; color: #fff; }
.hck-as-secure { display: flex; align-items: center; gap: 7px; margin-top: 14px; padding: 9px 12px; border-radius: 10px; background: rgba(245, 236, 215, .05); font-size: 10px; color: rgba(245, 236, 215, .62); font-weight: 600; letter-spacing: .02em; }
.hck-as-secure i { color: #9FD79A; font-size: 11px; }
.hck-as-note { font-size: 10.5px; line-height: 1.5; color: rgba(245, 236, 215, .55); margin: 14px 0 0; display: flex; gap: 7px; }
.hck-as-note i { color: var(--caramel, #C8956A); margin-top: 1px; }
.hck-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--cream-light, #FDF8F2); }
.hck-main-top { flex-shrink: 0; padding: 6px 24px 0; }
.hck-main-scroll { flex: 1; overflow-y: auto; padding: 4px 24px 24px; -webkit-overflow-scrolling: touch; }
.hck-main-full .hck-main-scroll { display: flex; flex-direction: column; justify-content: center; }
.hck-step { display: flex; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--border, #E8D4B4); margin-bottom: 4px; }
.hck-stepcell { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.hck-steplabel { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--light, #A8906E); white-space: nowrap; transition: color .3s; }
.hck-steplabel.on { color: var(--brown, #2D1505); }
.hck-dot { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border: 1.5px solid var(--cream-dark, #E8D4B4); background: #fff; color: var(--light, #A8906E); transition: all .3s; }
.hck-dot.active { background: var(--brown, #2D1505); color: var(--cream, #F5ECD7); border-color: var(--brown, #2D1505); box-shadow: 0 0 0 4px rgba(200, 149, 106, .22); }
.hck-dot.done { background: var(--caramel, #C8956A); color: #fff; border-color: var(--caramel, #C8956A); }
.hck-line { flex: 1 1 auto; min-width: 14px; height: 2px; background: var(--cream-dark, #E8D4B4); margin: 0 10px; border-radius: 2px; transition: background .3s; }
.hck-line.done { background: var(--caramel, #C8956A); }
.hck-card { background: #fff; border: 1px solid rgba(45, 21, 5, .06); border-radius: 18px; padding: 20px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(45, 21, 5, .04); }
.hck-card h4 { font-family: var(--font-display, Georgia, serif); font-size: 1rem; font-weight: 700; margin: 0 0 14px; color: var(--brown, #2D1505); display: flex; align-items: center; gap: 8px; letter-spacing: -.01em; }
.hck-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border, #E8D4B4); }
.hck-item:last-child { border-bottom: none; }
.hck-item-img { width: 50px; height: 50px; border-radius: 11px; flex-shrink: 0; background-size: cover; background-position: center; box-shadow: 0 2px 6px rgba(45, 21, 5, .1); }
.hck-lbl { font-size: 10px; font-weight: 700; color: var(--muted, #5C4A3A); display: block; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .08em; }
.hck-in { width: 100%; padding: 12px 14px; border-radius: 13px; border: 1.5px solid var(--border, #E8D4B4); font-size: 13.5px; font-weight: 600; outline: none; font-family: inherit; background: #fff; color: var(--brown, #2D1505); box-sizing: border-box; transition: border-color .2s, box-shadow .2s; }
.hck-in:focus { border-color: var(--caramel, #C8956A); box-shadow: 0 0 0 3px rgba(200, 149, 106, .14); }
.hck-btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 15px; border-radius: 9999px; font-size: 13px; font-weight: 700; border: none; cursor: pointer; font-family: inherit; text-transform: uppercase; letter-spacing: .06em; transition: transform .18s, box-shadow .18s, background .18s; }
.hck-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(45, 21, 5, .2); }
.hck-btn:disabled { opacity: .4; cursor: not-allowed; }
.hck-btn-pri { background: var(--brown, #2D1505); color: var(--cream, #F5ECD7); }
.hck-btn-pri:hover:not(:disabled) { background: var(--brown-mid, #4A2510); }
.hck-btn-sec { background: transparent; color: var(--brown, #2D1505); border: 1.5px solid var(--cream-dark, #E8D4B4); }
.hck-btn-sec:hover:not(:disabled) { background: var(--cream, #F5ECD7); box-shadow: none; }
.hck-op { position: relative; border: 1.5px solid var(--border, #E8D4B4); border-radius: 13px; padding: 12px 6px 10px; cursor: pointer; text-align: center; background: #fff; transition: all .18s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 74px; }
.hck-op:hover { border-color: var(--caramel, #C8956A); box-shadow: 0 3px 10px rgba(45, 21, 5, .07); }
.hck-op.sel { border-color: var(--caramel, #C8956A); background: rgba(200, 149, 106, .05); box-shadow: 0 0 0 2.5px rgba(200, 149, 106, .18); }
.hck-op p { margin: 0; }
.hck-op-logo { height: 36px; display: flex; align-items: center; justify-content: center; }
.hck-op-logo img { display: block; height: 36px; width: 36px; border-radius: 10px; object-fit: cover; box-shadow: 0 2px 8px rgba(45, 21, 5, .2); }
.hck-op-logo i { font-size: 20px; color: var(--brown, #2D1505); opacity: .7; }
.hck-op-chk { position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--caramel, #C8956A); color: #fff; font-size: 8px; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.4); transition: all .15s; }
.hck-op.sel .hck-op-chk { opacity: 1; transform: scale(1); }
.hck-pt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.hck-paytile { border: 1.5px solid var(--border, #E8D4B4); border-radius: 12px; padding: 12px 12px; cursor: pointer; background: #fff; transition: all .18s; position: relative; }
.hck-paytile:hover { border-color: var(--caramel, #C8956A); }
.hck-paytile.sel { border-color: var(--caramel, #C8956A); background: rgba(200, 149, 106, .06); box-shadow: 0 0 0 3px rgba(200, 149, 106, .1); }
.hck-pt-name { display: block; font-size: 11.5px; font-weight: 700; color: var(--brown, #2D1505); }
.hck-pt-amt { display: block; font-family: var(--font-display, Georgia, serif); font-size: 16px; font-weight: 700; color: var(--brown, #2D1505); margin: 4px 0 1px; letter-spacing: -.01em; }
.hck-pt-sub { display: block; font-size: 9.5px; color: var(--muted, #5C4A3A); }
.hck-pt-chk { position: absolute; top: 9px; right: 10px; color: var(--caramel, #C8956A); font-size: 12px; opacity: 0; transition: opacity .15s; }
.hck-paytile.sel .hck-pt-chk { opacity: 1; }
.hck-radio { border: 1.5px solid var(--border, #E8D4B4); border-radius: 15px; padding: 13px 15px; cursor: pointer; display: flex; align-items: center; gap: 11px; background: #fff; transition: all .18s; }
.hck-radio:hover { border-color: var(--caramel, #C8956A); }
.hck-alert { padding: 11px 14px; border-radius: 13px; font-size: 11.5px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; margin-bottom: 10px; }
.hck-alert-err { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.hck-alert-info { background: rgba(200, 149, 106, .06); color: var(--muted, #5C4A3A); }
@keyframes ckspin { to { transform: rotate(360deg); } }
.hck-spin { animation: ckspin 1s linear infinite; display: inline-block; }
@keyframes ckfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hck-fade { animation: ckfade .3s ease-out; }
@media (max-width: 760px) {
  .hck-ov { padding: 0; align-items: flex-end; }
  .hck-modal { max-width: 100%; height: 94vh; border-radius: 24px 24px 0 0; }
  .hck-body { flex-direction: column; }
  .hck-aside { width: auto; max-height: 38%; padding: 18px 20px; }
  .hck-as-h { margin-bottom: 10px; }
  .hck-as-tot { padding-top: 12px; }
  .hck-main-scroll { padding: 4px 18px 18px; }
  .hck-step { padding: 14px 14px; }
  .hck-line { margin: 0 7px; }
}
@media (max-width: 480px) {
  .hck-steplabel { display: none; }
  .hck-steplabel.cur { display: inline; }
  .hck-line { min-width: 10px; }
}
