/* =====================================================================
   SAZULIS - Boutique : catalogue (.sh-) et fiche produit (.sp-)
   Charge par app/Views/shop/catalog.php et shop/product.php
   ===================================================================== */
.sh {
  --sh-accent: #ff6f3f;
  --sh-warm: #ffa23f;
  --sh-mint: #1dd9b7;
  --sh-blue: #8fb0ff;
  --sh-gold: #ffd84d;
  --sh-text: #eff8ff;
  --sh-muted: #a9bfd5;
  --sh-line: rgba(255, 255, 255, 0.1);
  --sh-glass: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  color: var(--sh-text);
}
.sh * { box-sizing: border-box; }
.sh h1, .sh h2, .sh h3 { margin: 0; font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 0.02em; color: var(--sh-text); }
.sh p { color: var(--sh-muted); line-height: 1.7; margin: 0 0 12px; }
.sh a { color: inherit; text-decoration: none; }
.sh-grad { background: linear-gradient(100deg, var(--sh-accent), var(--sh-warm)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sh .sh-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--sh-mint); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 12px; }
.sh .sh-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sh-mint); }

/* ---------- boutons ---------- */
.sh .sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 800; font-size: 0.95rem; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, border-color 0.2s, color 0.2s; }
.sh .sh-btn:hover { transform: translateY(-3px); }
.sh .sh-btn-primary { background: linear-gradient(120deg, var(--sh-accent), var(--sh-warm)); color: #1a0e03; box-shadow: 0 14px 30px -10px rgba(255, 111, 63, 0.7); }
.sh .sh-btn-primary:hover { box-shadow: 0 20px 38px -10px rgba(255, 111, 63, 0.85); }
.sh .sh-btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--sh-text); border-color: var(--sh-line); }
.sh .sh-btn-ghost:hover { border-color: var(--sh-mint); color: var(--sh-mint); }

.sh .sh-badge { display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; border: 1px solid; }
.sh .sh-badge-mint { color: #6ff7e5; background: rgba(29, 217, 183, 0.14); border-color: rgba(29, 217, 183, 0.4); }
.sh .sh-badge-blue { color: var(--sh-blue); background: rgba(122, 170, 255, 0.14); border-color: rgba(122, 170, 255, 0.4); }
.sh .sh-badge-gold { color: var(--sh-gold); background: rgba(255, 216, 77, 0.14); border-color: rgba(255, 216, 77, 0.45); }

/* ---------- en-tete ---------- */
.sh .sh-head { padding: 34px 0 10px; max-width: 860px; }
.sh .sh-head h1 { font-size: clamp(3rem, 7vw, 5.6rem); line-height: 0.95; margin-bottom: 14px; }
.sh .sh-sub { font-size: 1.1rem; margin-bottom: 10px; }
.sh .sh-disclaimer { display: inline-block; padding: 10px 16px; border-radius: 14px; border: 1px dashed var(--sh-line); font-size: 0.82rem; font-style: italic; margin: 6px 0 0; }

/* ---------- blocs d'information ---------- */
.sh .sh-info { display: grid; gap: 18px; margin: 30px 0; }
.sh .sh-info-main, .sh .sh-owner { padding: 32px; border-radius: 28px; border: 1px solid var(--sh-line); background: var(--sh-glass); }
.sh .sh-info-main h2, .sh .sh-owner h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1; margin-bottom: 22px; }
.sh .sh-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sh .sh-tech { padding: 26px; border-radius: 22px; border: 1px solid var(--sh-line); background: rgba(255, 255, 255, 0.03); transition: transform 0.3s, border-color 0.3s; }
.sh .sh-tech-html:hover { transform: translateY(-4px); border-color: var(--sh-mint); }
.sh .sh-tech-next:hover { transform: translateY(-4px); border-color: var(--sh-blue); }
.sh .sh-tech h3 { font-size: 1.8rem; margin-bottom: 10px; }
.sh .sh-tech p { font-size: 0.92rem; }
.sh .sh-tech ul, .sh .sh-owner ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.sh .sh-tech li, .sh .sh-owner li { position: relative; padding-left: 24px; font-size: 0.9rem; color: var(--sh-muted); }
.sh .sh-tech li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }
.sh .sh-tech-html li::before { color: var(--sh-mint); }
.sh .sh-tech-next li::before { color: var(--sh-blue); }
.sh .sh-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--sh-line); font-size: 0.9rem; }
.sh .sh-owner { background: linear-gradient(135deg, rgba(255, 216, 77, 0.09), rgba(255, 162, 63, 0.05)); border-color: rgba(255, 216, 77, 0.32); }
.sh .sh-owner h2 { color: var(--sh-gold); }
.sh .sh-owner p { color: #d8eaff; max-width: 920px; }
.sh .sh-owner ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.sh .sh-owner li { padding: 14px 16px 14px 42px; border-radius: 16px; border: 1px solid rgba(255, 216, 77, 0.22); background: rgba(255, 216, 77, 0.05); color: #e8dfae; }
.sh .sh-owner li::before { content: "✓"; position: absolute; left: 16px; top: 13px; color: var(--sh-gold); font-weight: 800; }

/* ---------- filtres ---------- */
.sh .sh-toolbar { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 0 24px; padding: 16px 18px; border-radius: 22px; border: 1px solid var(--sh-line); background: var(--sh-glass); }
.sh .sh-toolbar label { display: flex; align-items: center; gap: 12px; flex: 1 1 260px; margin: 0; }
.sh .sh-toolbar label span { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sh-muted); white-space: nowrap; }
.sh .sh-toolbar select { flex: 1; width: auto; margin: 0; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--sh-line); background-color: rgba(8, 17, 27, 0.8); color: var(--sh-text); font: inherit; font-weight: 600; cursor: pointer; }
.sh .sh-toolbar select:focus { outline: 2px solid rgba(29, 217, 183, 0.4); border-color: var(--sh-mint); }

/* ---------- cartes produit ---------- */
.sh .sh-grid.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sh .sh-card.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 26px; border: 1px solid var(--sh-line); background: var(--sh-glass); box-shadow: 0 24px 54px -30px rgba(0, 0, 0, 0.85); transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.sh .sh-card.product-card:hover { transform: translateY(-8px); border-color: var(--sh-accent); box-shadow: 0 30px 60px -22px rgba(255, 111, 63, 0.5); }
.sh .sh-card.is-hot { border-color: rgba(255, 162, 63, 0.55); box-shadow: 0 24px 54px -26px rgba(255, 111, 63, 0.45); }
.sh .sh-card-media { position: relative; display: block; overflow: hidden; background: #0a1421; }
.sh .sh-card .sh-card-media img { display: block; width: 100%; height: 230px; aspect-ratio: auto; margin: 0; border-radius: 0; object-fit: cover; transition: transform 0.6s; }
.sh .sh-card:hover .sh-card-media img { transform: scale(1.07); }
.sh .sh-card-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(transparent, rgba(6, 12, 20, 0.85)); pointer-events: none; }
.sh .sh-chips { position: absolute; left: 14px; top: 14px; right: 14px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.sh .sh-chip { padding: 5px 12px; border-radius: 999px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sh-text); background: rgba(6, 12, 20, 0.72); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(8px); }
.sh .sh-chip.is-accent { color: #1a0e03; background: linear-gradient(120deg, var(--sh-accent), var(--sh-warm)); border-color: transparent; }
.sh .sh-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.sh .sh-card-body h3 { font-size: 1.9rem; line-height: 1; margin-bottom: 10px; }
.sh .sh-card-body h3 a:hover { color: var(--sh-warm); }
.sh .sh-card-desc { font-size: 0.9rem; margin-bottom: 8px; }
.sh .sh-secure { color: #7ff3d8; font-size: 0.85rem; font-weight: 700; margin: 0 0 8px; }
.sh .sh-card-foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--sh-line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sh .sh-price strong { display: block; font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--sh-text); }
.sh .sh-price em { font-style: normal; font-size: 1.1rem; color: var(--sh-muted); }
.sh .sh-price small { display: block; margin-top: 3px; font-size: 0.68rem; color: var(--sh-muted); opacity: 0.85; }
.sh .sh-price-cdc strong { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 0.98rem; line-height: 1.25; max-width: 170px; background: linear-gradient(100deg, var(--sh-accent), var(--sh-warm)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sh .sh-add { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px 11px 12px; border: 0; border-radius: 999px; background: linear-gradient(120deg, var(--sh-accent), var(--sh-warm)); color: #1a0e03; font: inherit; font-weight: 800; font-size: 0.9rem; cursor: pointer; box-shadow: 0 12px 26px -10px rgba(255, 111, 63, 0.75); transition: transform 0.25s, box-shadow 0.25s; }
.sh .sh-add span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(26, 14, 3, 0.18); font-size: 1.1rem; line-height: 1; }
.sh .sh-add:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -10px rgba(255, 111, 63, 0.9); }
.sh .sh-card-note { font-size: 0.74rem; margin: 10px 0 0; opacity: 0.85; }
.sh .sh-more { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: 12px; font-weight: 800; font-size: 0.88rem; color: var(--sh-mint); }
.sh .sh-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- fiche produit ---------- */
.sh .sp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 22px; font-size: 0.85rem; color: var(--sh-muted); }
.sh .sp-crumbs a { color: var(--sh-mint); font-weight: 700; }
.sh .sp-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sh .sp { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 38px; align-items: start; }
.sh .sp-figure { position: relative; margin: 0; overflow: hidden; border-radius: 30px; border: 1px solid var(--sh-line); background: #0a1421; box-shadow: 0 40px 80px -34px rgba(0, 0, 0, 0.9); }
.sh .sp-figure img { display: block; width: 100%; height: auto; }
.sh .sp-caption { margin: 12px 4px 0; font-size: 0.78rem; font-style: italic; }
.sh .sp-main h1 { font-size: clamp(2.8rem, 5.6vw, 4.6rem); line-height: 0.96; margin-bottom: 14px; }
.sh .sp-desc { font-size: 1.05rem; margin-bottom: 22px; }
.sh .sp-buy { padding: 26px; border-radius: 26px; border: 1px solid rgba(255, 111, 63, 0.35); background: linear-gradient(150deg, rgba(255, 111, 63, 0.13), rgba(29, 217, 183, 0.05)); margin-bottom: 18px; }
.sh .sp-price { margin: 0 0 12px; font-family: 'Bebas Neue', sans-serif; font-size: 3.6rem; line-height: 1; color: var(--sh-text); }
.sh .sp-price em { font-style: normal; font-size: 1.5rem; color: var(--sh-muted); }
.sh .sp-price-cdc { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.6rem; line-height: 1.2; background: linear-gradient(100deg, var(--sh-accent), var(--sh-warm)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sh .sp-notes { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.sh .sp-notes li { font-size: 0.85rem; color: var(--sh-muted); padding-left: 18px; position: relative; }
.sh .sp-notes li::before { content: "•"; position: absolute; left: 4px; color: var(--sh-accent); }
.sh .sp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sh .sp-stock { margin: 16px 0 0; font-size: 0.82rem; }
.sh .sp-box { padding: 22px 24px; border-radius: 22px; border: 1px solid var(--sh-line); background: var(--sh-glass); margin-bottom: 16px; }
.sh .sp-box h3 { font-size: 1.5rem; margin-bottom: 12px; }
.sh .sp-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sh .sp-box li { position: relative; padding-left: 24px; font-size: 0.92rem; color: #c7d9ea; }
.sh .sp-box li::before { content: "✓"; position: absolute; left: 0; color: var(--sh-mint); font-weight: 800; }
.sh .sp-box-included { border-color: rgba(255, 216, 77, 0.5); background: linear-gradient(135deg, rgba(255, 216, 77, 0.14), rgba(255, 154, 64, 0.08)); }
.sh .sp-box-included h3 { color: var(--sh-gold); }
.sh .sp-box-included li { color: #fff0ba; }
.sh .sp-box-included li::before { color: var(--sh-gold); }
.sh .sp-box-warn { border-color: rgba(255, 111, 63, 0.4); background: rgba(255, 111, 63, 0.08); }
.sh .sp-box-warn h3 { color: #ffd5c8; }
.sh .sp-box-warn li::before { content: "×"; color: var(--sh-accent); font-size: 1.1rem; line-height: 1.1; }
.sh .sp-long { margin: 4px 0 20px; color: #d6e6f5; font-size: 0.98rem; }
.sh .sp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sh .sp-two .sp-box { margin-bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .sh .sh-grid.products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh .sp { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .sh .sh-grid.products-grid, .sh .sh-duo, .sh .sh-owner ul, .sh .sp-two { grid-template-columns: 1fr; }
  .sh .sh-info-main, .sh .sh-owner { padding: 22px; }
  .sh .sh-toolbar label { flex-direction: column; align-items: stretch; gap: 6px; }
  .sh .sp-buy { padding: 20px; }
  .sh .sp-actions .sh-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sh *, .sh *::before, .sh *::after { transition: none !important; animation: none !important; }
}
