/* Boutique en ligne Vision — Catalogue, fiche produit, panier, Apple Pay / Google Pay & reçu */

.shop-section,
.shop-detail-section,
.shop-cart-section,
.shop-receipt-section{padding-block:48px 86px}

.shop-pay-pills{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}
.shop-pay-pills--detail{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.shop-pay-pills--summary{margin-top:16px;justify-content:center}
.pay-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:8px;font-size:12.5px;font-weight:700;line-height:1.2}
.pay-badge .icon{width:15px;height:15px}
.pay-apple{background:#111;color:#fff;letter-spacing:.01em}
.pay-google{background:#fff;color:#1f2937;border:1px solid #cbd5e1;box-shadow:0 1px 2px #0000000d}
.pay-paypal{background:#ffc439;color:#003087;border:1px solid #eab308}
.pay-card{background:var(--pale);color:var(--ink);border:1px solid var(--line)}

.shop-perks-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:16px 20px;border-radius:14px;background:var(--navy);color:#fff;margin-bottom:28px;font-size:13.5px}
.shop-perks-bar>span{display:flex;align-items:center;gap:10px}
.shop-perks-bar .icon{width:18px;height:18px;color:#ff9b8a;flex-shrink:0}
.shop-perks-bar strong{color:#fff}

.shop-cats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.shop-cat-pill{display:inline-flex;align-items:center;padding:9px 16px;border-radius:999px;background:var(--pale);border:1px solid var(--line);font-size:13.5px;font-weight:700;color:var(--ink);transition:all .15s}
.shop-cat-pill:hover{border-color:var(--red);color:var(--red)}
.shop-cat-pill.is-active{background:var(--navy);border-color:var(--navy);color:#fff}

.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.shop-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s,border-color .2s}
.shop-card:hover{transform:translateY(-4px);box-shadow:0 20px 44px -18px #172a3626;border-color:#c6d1d7}
.shop-card-media{position:relative;aspect-ratio:4/3;background:var(--pale);overflow:hidden;display:grid;place-items:center}
.shop-card-media img{width:100%;height:100%;object-fit:cover}
.shop-card-placeholder{display:grid;place-items:center;width:100%;height:100%;color:var(--muted);background:linear-gradient(135deg,#eef4f7 0%,#dde7ec 100%)}
.shop-card-placeholder .icon{width:46px;height:46px;opacity:.55}
.shop-card-placeholder--lg{aspect-ratio:4/3;border-radius:16px}
.shop-flag{position:absolute;top:12px;left:12px;padding:5px 10px;border-radius:999px;font-size:11.5px;font-weight:700;color:#fff}
.shop-flag--featured{background:var(--navy)}
.shop-flag--promo{background:var(--red)}
.shop-flag--out{background:#475569}

.shop-card-body{padding:20px;display:flex;flex-direction:column;flex:1}
.shop-card-cat{font-size:12px;font-weight:700;color:var(--red);text-transform:uppercase;letter-spacing:.03em;margin-bottom:6px}
.shop-card-body h3{font-family:Barlow,'Arial Narrow',sans-serif;font-size:24px;line-height:1.1;margin-bottom:8px}
.shop-card-body h3 a:hover{color:var(--red)}
.shop-card-body p{font-size:13.5px;line-height:1.55;margin-bottom:12px}
.shop-card-meta{font-size:12px;color:var(--muted);margin-bottom:16px}
.shop-card-foot{margin-top:auto;padding-top:14px;border-top:1px solid #edf0f2;display:flex;align-items:center;justify-content:space-between;gap:12px}
.shop-price-wrap{display:flex;flex-direction:column;line-height:1.2}
.shop-price-wrap del{font-size:12px;color:var(--muted)}
.shop-price{font-family:Barlow,'Arial Narrow',sans-serif;font-size:25px;color:var(--ink)}
.shop-price-wrap small{font-size:11.5px;color:var(--muted)}
.shop-add-inline{margin:0}
.shop-add-inline .button{gap:8px;padding:10px 15px;min-height:42px}

.shop-empty-card{background:var(--pale);border:1px solid var(--line);border-radius:18px;padding:48px 28px;text-align:center;max-width:580px;margin:20px auto}
.shop-empty-icon{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:18px;background:#fff;color:var(--red);margin-bottom:16px;box-shadow:0 10px 24px #172a3612}
.shop-empty-icon .icon{width:30px;height:30px}
.shop-empty-card h2{font-size:32px;margin-bottom:10px}
.shop-empty-card p{margin-bottom:22px}

/* Fiche produit */
.shop-detail-grid{display:grid;grid-template-columns:1fr 1.08fr;gap:48px;align-items:start}
.shop-detail-media{border-radius:18px;overflow:hidden;border:1px solid var(--line);background:var(--pale)}
.shop-detail-media img{width:100%;height:auto;display:block}
.shop-detail-tags{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.shop-cat-label{font-size:12.5px;font-weight:700;color:var(--red);text-transform:uppercase;letter-spacing:.03em}
.shop-sku{font-size:12px;color:var(--muted)}
.shop-detail-info h1{font-size:clamp(40px,4vw,56px);margin-bottom:14px}
.shop-detail-price{display:flex;align-items:baseline;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.shop-detail-price del{font-size:18px;color:var(--muted)}
.shop-detail-price strong{font-family:Barlow,'Arial Narrow',sans-serif;font-size:38px;color:var(--navy)}
.shop-detail-price span{font-size:13px;color:var(--muted)}
.shop-detail-lead{font-size:16px;color:var(--ink);margin-bottom:20px}
.shop-detail-bullets{list-style:none;padding:16px 18px;margin:0 0 22px;border-radius:12px;background:var(--pale);border:1px solid var(--line);display:grid;gap:10px;font-size:13.5px}
.shop-detail-bullets li{display:flex;align-items:center;gap:10px}
.shop-detail-bullets .icon{width:18px;height:18px;color:var(--red);flex-shrink:0}
.shop-buy-form{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.shop-qty-label{width:96px}
.shop-qty-label span{display:block;font-size:12px;font-weight:700;color:var(--ink)}
.shop-btn-navy{background:var(--navy)}
.shop-btn-navy:hover{background:#0f202b}
.shop-detail-desc{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}

/* Panier & Commande */
.shop-cart-layout{display:grid;grid-template-columns:1.55fr 1fr;gap:32px;align-items:start}
.shop-items-card,
.shop-checkout-card,
.shop-summary-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px}
.shop-checkout-card{margin-top:22px}
.shop-items-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.shop-items-head h2,.shop-checkout-card h2,.shop-summary-card h2{font-size:28px;margin-bottom:0}
.shop-checkout-card h2{margin-bottom:14px}
.shop-cart-list{display:grid;gap:12px}
.shop-cart-item{display:grid;grid-template-columns:72px 1fr 84px auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f2}
.shop-cart-thumb{width:72px;height:56px;border-radius:10px;overflow:hidden;background:var(--pale);display:grid;place-items:center;color:var(--muted)}
.shop-cart-thumb img{width:100%;height:100%;object-fit:cover}
.shop-cart-item-info strong{display:block;font-size:15px}
.shop-cart-item-info small{color:var(--muted);font-size:12.5px}
.shop-cart-item-total{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.shop-remove-btn{background:none;border:0;color:var(--muted);font-size:12px;text-decoration:underline;padding:2px 0}
.shop-remove-btn:hover{color:var(--red)}
.shop-items-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:16px}

.shop-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.shop-mode-option,.shop-mode-pill{display:flex;align-items:center;gap:12px;padding:14px;border:1.5px solid var(--line);border-radius:12px;cursor:pointer;background:#fff}
.shop-mode-option input{width:18px;height:18px;margin:0;accent-color:var(--red);flex-shrink:0}
.shop-mode-option:has(input:checked),.shop-mode-pill.is-selected{border-color:var(--red);background:#fff9f8}
.shop-mode-option span,.shop-mode-pill div{flex:1;line-height:1.3}
.shop-mode-option strong,.shop-mode-pill strong{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--ink)}
.shop-mode-option small,.shop-mode-pill small{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.shop-mode-option b,.shop-mode-pill span{font-family:Barlow,'Arial Narrow',sans-serif;font-size:19px;color:var(--navy)}
.shop-subpanel{padding:16px;border-radius:12px;background:var(--pale);border:1px solid var(--line)}

.shop-express-box{margin-bottom:14px}
.shop-express-label{font-size:13px;font-weight:700;color:var(--ink);margin-bottom:10px}
.shop-or-divider{display:flex;align-items:center;gap:12px;margin:18px 0 14px;color:var(--muted);font-size:12.5px}
.shop-or-divider::before,.shop-or-divider::after{content:"";flex:1;height:1px;background:var(--line)}
.shop-pay-stack{display:grid;gap:10px}
.shop-pay-submit{width:100%;justify-content:center;gap:12px;font-size:15px}
.shop-pay-submit strong{font-weight:700}
.shop-pay-paypal{background:#ffc439;color:#003087}
.shop-pay-paypal:hover{background:#f2b625}
.shop-pay-note{font-size:12.5px;color:var(--muted);margin-top:10px;text-align:center}

.shop-summary-card{position:sticky;top:116px}
.shop-totals{margin:16px 0 0;display:grid;gap:10px}
.shop-totals>div{display:flex;justify-content:space-between;align-items:baseline;font-size:14px}
.shop-totals dt{color:var(--muted)}
.shop-totals dd{margin:0;font-weight:700;color:var(--ink)}
.shop-total-row{padding-top:12px;border-top:1.5px solid var(--line);font-size:17px!important}
.shop-total-row dt,.shop-total-row dd{color:var(--navy)!important;font-family:Barlow,'Arial Narrow',sans-serif;font-size:26px}
.shop-tax-note{font-size:12px;color:var(--muted);margin-top:14px;text-align:center}

/* Reçu */
.shop-receipt-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:34px;max-width:760px;margin-inline:auto;box-shadow:0 20px 50px -24px #172a3622}
.shop-receipt-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.shop-receipt-head h2{font-size:34px;margin:8px 0 4px}
.shop-order-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;background:var(--pale);color:var(--ink)}
.shop-order-badge.is-paid{background:#e7f6ed;color:#19623b}
.shop-receipt-meta{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}
.shop-receipt-meta h3{font-size:13px;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.shop-receipt-table{width:100%;border-collapse:collapse;margin:18px 0}
.shop-receipt-table th,.shop-receipt-table td{padding:10px 6px;border-bottom:1px solid #edf0f2;text-align:left;font-size:14px}
.shop-receipt-table th:last-child,.shop-receipt-table td:last-child,
.shop-receipt-table th:nth-child(2),.shop-receipt-table td:nth-child(2),
.shop-receipt-table th:nth-child(3),.shop-receipt-table td:nth-child(3){text-align:right}
.shop-totals--receipt{max-width:340px;margin-left:auto}
.shop-receipt-actions{margin-top:26px;display:flex;justify-content:flex-end}

@media(max-width:960px){
  .shop-perks-bar{grid-template-columns:1fr}
  .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shop-detail-grid,.shop-cart-layout{grid-template-columns:1fr}
  .shop-summary-card{position:static}
}
@media(max-width:640px){
  .shop-grid,.shop-mode-grid,.shop-receipt-meta{grid-template-columns:1fr}
  .shop-cart-item{grid-template-columns:56px 1fr;gap:10px}
  .shop-cart-item-qty,.shop-cart-item-total{grid-column:2}
  .shop-cart-item-total{flex-direction:row;justify-content:space-between;align-items:center}
  .shop-receipt-card{padding:22px 16px}
  .shop-receipt-head{flex-direction:column}
}
@media print{
  .topbar,.site-header,.site-footer,.mobile-cta,.shop-print-btn,.shop-receipt-actions,.breadcrumb{display:none!important}
  .shop-receipt-card{border:0;box-shadow:none;padding:0}
}

