/* yesafro.com : marketplace (inscription vendeur, espace vendeur, page boutique) */

/* Onglets client / boutique */
.ya-regtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 20px; }
.ya-regtab {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 10px; background: #fff;
  border: 2px solid transparent; color: var(--ya-text); text-decoration: none; box-shadow: 0 1px 3px rgba(41, 56, 71, .08); transition: border-color .15s, box-shadow .15s;
}
.ya-regtab:hover { border-color: var(--ya-border); color: var(--ya-text); }
.ya-regtab.is-active { border-color: var(--ya-primary); background: var(--ya-primary-soft); }
.ya-regtab .material-icons { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--ya-primary); font-size: 26px; box-shadow: inset 0 0 0 1px var(--ya-line); }
.ya-regtab.is-active .material-icons { background: var(--ya-primary); color: #fff; box-shadow: none; }
.ya-regtab strong { display: block; font-size: 19px; }
.ya-regtab small { color: var(--ya-muted); font-size: 15px; }

/* Formulaire vendeur */
.ya-mp-step { border: 0; padding: 0 0 8px; margin: 0 0 20px; border-bottom: 1px solid var(--ya-line); }
.ya-mp-step:last-of-type { border-bottom: 0; }
.ya-mp-step legend { display: flex; align-items: center; gap: 10px; font: 600 21px "Hind Madurai", Arial, sans-serif; margin: 0 0 16px; float: none; width: auto; }
.ya-mp-step__num { width: 30px; height: 30px; border-radius: 50%; background: var(--ya-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.ya-mp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ya-mp-row--3 { grid-template-columns: repeat(3, 1fr); }
.ya-mp-row--5 { grid-template-columns: repeat(5, 1fr); }
.ya-mp-logged { display: flex; gap: 12px; align-items: flex-start; background: var(--ya-primary-soft); border-radius: 8px; padding: 14px 16px; margin-bottom: 16px; }
.ya-mp-logged .material-icons { color: var(--ya-primary); }
.ya-mp-hint { display: flex; gap: 8px; align-items: flex-start; margin: -6px 0 14px; }
.ya-mp-hint .material-icons { font-size: 18px; color: var(--ya-primary); }
.ya-field__error { color: #C81E1E; font-size: 14px; margin: 6px 0 0; font-weight: 500; }
.ya-form .has-error .form-control, .ya-form .has-error .form-select { border-color: #C81E1E; background: #FFF7F7; }
.ya-textarea { height: auto !important; padding: 12px 18px !important; line-height: 1.45; resize: vertical; }
.ya-file { padding: 12px !important; height: auto !important; }
.ya-mp-side-title { font: 600 17px "Hind Madurai", Arial, sans-serif; margin: 20px 0 10px; padding-top: 16px; border-top: 1px solid var(--ya-line); }
.ya-mp-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 16px; }
.ya-mp-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.ya-mp-docs li { display: flex; align-items: center; gap: 10px; }
.ya-mp-docs .material-icons { color: var(--ya-primary); font-size: 20px; }
.ya-form__submit .material-icons { font-size: 22px; }
.ya-mt8 { margin-top: 8px; }

/* Espace vendeur */
.ya-sp-container { padding-top: 8px; }
.ya-sp { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; }
.ya-sp__side { background: #fff; border-radius: 12px; padding: 18px; position: sticky; top: 140px; box-shadow: 0 1px 3px rgba(41, 56, 71, .08); }
.ya-sp__shop { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ya-sp__logo { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: 0 0 52px; }
.ya-sp__logo--txt { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--ya-primary-light), var(--ya-primary-dark)); color: #fff; font-weight: 700; font-size: 20px; }
.ya-sp__logo--lg { width: 88px; height: 88px; flex-basis: 88px; font-size: 32px; }
.ya-sp__shop-name { font: 700 18px/1.2 "Hind Madurai", Arial, sans-serif; margin: 0 0 4px; }
.ya-sp__new { width: 100%; margin-bottom: 14px; }
.ya-sp__nav { display: grid; gap: 2px; }
.ya-sp__link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; color: var(--ya-text); text-decoration: none; font-weight: 500; font-size: 16px; }
.ya-sp__link:hover { background: var(--ya-bg); color: var(--ya-primary); }
.ya-sp__link.is-active { background: var(--ya-primary-soft); color: var(--ya-primary); font-weight: 700; }
.ya-sp__link .material-icons { font-size: 22px; }
.ya-sp__badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ya-coral); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ya-sp__count { margin-left: auto; color: var(--ya-muted); font-size: 14px; }
.ya-sp__public { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ya-line); font-weight: 600; text-decoration: none; }
.ya-sp__public .material-icons { font-size: 18px; }
.ya-sp__main { min-width: 0; display: grid; gap: 16px; }
.ya-sp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.ya-sp-title { font: 700 30px/1.15 "Hind Madurai", Arial, sans-serif; margin: 0; }
.ya-sp-sub { color: var(--ya-muted); margin: 4px 0 0; font-size: 17px; }
.ya-back-sp { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; margin-bottom: 4px; }
.ya-back-sp .material-icons { font-size: 18px; }

.ya-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 700px; font-size: 13px; font-weight: 700; background: #EEF0F3; color: var(--ya-muted); white-space: nowrap; }
.ya-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ya-status--active { background: #E3F6EC; color: #0A7A41; }
.ya-status--pending { background: #FFF1E0; color: #B45309; }
.ya-status--suspended, .ya-status--refused { background: #FDE8EA; color: #B42318; }
.ya-status--off { background: #EEF0F3; color: #5E6C7A; }

.ya-flash, .ya-banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 10px; font-size: 16px; }
.ya-flash--success { background: #E3F6EC; color: #075E32; }
.ya-flash--danger { background: #FDE8EA; color: #8A1C12; }
.ya-banner--pending { background: #FFF6E8; color: #7A4309; border: 1px solid #F6D9A8; }
.ya-banner--danger { background: #FDE8EA; color: #8A1C12; border: 1px solid #F5C2C7; }

.ya-seg { display: inline-flex; background: #fff; border-radius: 700px; padding: 4px; box-shadow: 0 1px 3px rgba(41, 56, 71, .08); }
.ya-seg__btn { padding: 6px 16px; border-radius: 700px; color: var(--ya-muted); text-decoration: none; font-weight: 600; }
.ya-seg__btn.is-active { background: var(--ya-primary); color: #fff; }
.ya-seg__btn:hover { color: var(--ya-primary); }
.ya-seg__btn.is-active:hover { color: #fff; }

/* Cartes KPI */
.ya-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.ya-kpi { background: #fff; border-radius: 12px; padding: 16px 16px 8px; box-shadow: 0 1px 3px rgba(41, 56, 71, .08); display: flex; flex-direction: column; min-width: 0; transition: transform .2s, box-shadow .2s; }
.ya-kpi:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(41, 56, 71, .12); }
.ya-kpi__top { display: flex; justify-content: space-between; align-items: center; }
.ya-kpi__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--ya-primary-soft); color: var(--ya-primary); display: flex; align-items: center; justify-content: center; }
.ya-kpi__icon .material-icons { font-size: 20px; }
.ya-kpi__evol { font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 700px; background: #EEF0F3; color: var(--ya-muted); }
.ya-kpi__evol.is-up { background: #E3F6EC; color: #0A7A41; }
.ya-kpi__evol.is-down { background: #FDE8EA; color: #B42318; }
.ya-kpi__label { margin: 12px 0 2px; color: var(--ya-muted); font-size: 14px; font-weight: 500; }
.ya-kpi__value { margin: 0; font: 700 25px/1.1 "Hind Madurai", Arial, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ya-kpi__spark { height: 46px; margin-top: 6px; position: relative; }

/* Panneaux et graphiques */
.ya-grid { display: grid; gap: 16px; }
.ya-grid--2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.ya-grid--1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.ya-grid--1-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ya-grid--1-1-1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ya-panel { background: #fff; border-radius: 12px; padding: 18px 20px; box-shadow: 0 1px 3px rgba(41, 56, 71, .08); min-width: 0; }
.ya-panel--flush { padding: 0; overflow: hidden; }
.ya-panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.ya-panel__head h2, .ya-panel__title { font: 700 19px "Hind Madurai", Arial, sans-serif; margin: 0; }
.ya-panel__title { margin-bottom: 16px; }
.ya-panel__hint { color: var(--ya-muted); font-size: 14px; }
.ya-panel__link { font-weight: 600; font-size: 15px; }
.ya-panel__chart { position: relative; height: 240px; }
.ya-panel__chart--lg { height: 300px; }
.ya-panel__chart--donut { height: 220px; }
.ya-panel__chart--donut-sm { height: 190px; }
.ya-panel__note { font-size: 14px; color: var(--ya-muted); margin: 12px 0 0; }
.ya-panel__warn { display: flex; align-items: center; gap: 6px; color: #B45309; font-weight: 600; font-size: 15px; margin: 10px 0 0; }
.ya-panel__warn .material-icons { font-size: 18px; }
.ya-info { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.ya-info .material-icons { color: var(--ya-primary); }
.ya-legend-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.ya-legend-list li { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.ya-legend-list strong { margin-left: auto; }
.ya-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; }
.ya-rows { list-style: none; margin: 0; padding: 0; }
.ya-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ya-line); }
.ya-rows li:last-child { border-bottom: 0; }
.ya-rows small { display: block; color: var(--ya-muted); }
.ya-rows__amount { font-weight: 700; white-space: nowrap; }
.ya-empty-sm { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 10px; color: var(--ya-muted); text-align: center; font-size: 15px; }
.ya-empty-sm .material-icons { font-size: 34px; color: var(--ya-border); }
.ya-empty-lg { text-align: center; padding: 48px 20px; }
.ya-empty-lg > .material-icons { font-size: 56px; color: var(--ya-primary); }
.ya-empty-lg__title { font: 700 22px "Hind Madurai", Arial, sans-serif; margin: 8px 0 4px; }

/* Tableaux */
.ya-table-wrap { overflow-x: auto; }
.ya-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ya-table th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ya-muted); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--ya-line); background: #FAFBFC; white-space: nowrap; }
.ya-table td { padding: 12px 14px; border-bottom: 1px solid var(--ya-line); vertical-align: middle; }
.ya-table tbody tr:hover { background: #FAFBFC; }
.ya-table tfoot td { font-weight: 700; border-bottom: 0; }
.ya-table--compact td, .ya-table--compact th { padding: 8px 10px; }
.text-end { text-align: right !important; }
.ya-strong { font-weight: 700; }
.ya-green { color: #0A7A41 !important; }
.ya-muted { color: var(--ya-muted); }
.ya-pill-state { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 700px; font-size: 13px; font-weight: 600; background: color-mix(in srgb, var(--c) 14%, #fff); color: color-mix(in srgb, var(--c) 70%, #000); white-space: nowrap; }
.ya-pill-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.ya-prod { display: flex; align-items: center; gap: 12px; color: var(--ya-text); text-decoration: none; }
.ya-prod img { border-radius: 6px; object-fit: cover; border: 1px solid var(--ya-line); }
.ya-prod small { display: block; color: var(--ya-muted); }
.ya-prod:hover strong { color: var(--ya-primary); }
.ya-prod__ph { width: 48px; height: 64px; border-radius: 6px; background: var(--ya-bg); display: flex; align-items: center; justify-content: center; color: var(--ya-border); }
.ya-stock-sp { font-weight: 700; }
.ya-stock-sp.is-low { color: #B45309; }
.ya-stock-sp.is-out { color: #B42318; }
.ya-actions { white-space: nowrap; }
.ya-icon-btn { display: inline-flex; width: 36px; height: 36px; border-radius: 8px; align-items: center; justify-content: center; color: var(--ya-muted); text-decoration: none; }
.ya-icon-btn:hover { background: var(--ya-primary-soft); color: var(--ya-primary); }
.ya-icon-btn--danger:hover { background: #FDE8EA; color: #B42318; }

.ya-toolbar-sp { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ya-search-sp { flex: 1 1 320px; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 700px; padding: 0 16px; height: 46px; box-shadow: 0 1px 3px rgba(41, 56, 71, .08); }
.ya-search-sp input { border: 0; outline: 0; flex: 1; font: 400 16px "Hind Madurai", Arial, sans-serif; background: transparent; }
.ya-search-sp .material-icons { color: var(--ya-muted); }
.ya-chips-sp { display: flex; gap: 6px; flex-wrap: wrap; }
.ya-chip-sp { padding: 8px 16px; border-radius: 700px; background: #fff; color: var(--ya-text); text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: 0 1px 3px rgba(41, 56, 71, .08); }
.ya-chip-sp.is-active { background: var(--ya-primary); color: #fff; }
.ya-tabs-sp { display: flex; gap: 4px; border-bottom: 2px solid var(--ya-line); }
.ya-tab-sp { padding: 10px 16px; color: var(--ya-muted); text-decoration: none; font-weight: 600; margin-bottom: -2px; border-bottom: 2px solid transparent; display: inline-flex; gap: 8px; align-items: center; }
.ya-tab-sp span { background: var(--ya-bg); border-radius: 700px; padding: 0 8px; font-size: 13px; }
.ya-tab-sp.is-active { color: var(--ya-primary); border-bottom-color: var(--ya-primary); }

/* Commandes */
.ya-orders { display: grid; gap: 14px; }
.ya-order__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.ya-order__ref { font: 700 18px "Hind Madurai", Arial, sans-serif; margin: 0; }
.ya-order__meta { color: var(--ya-muted); margin: 0; font-size: 15px; }
.ya-order__body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; }
.ya-order__label { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ya-muted); font-weight: 600; margin: 0 0 6px; }
.ya-order__addr { font-style: normal; font-size: 15px; margin-bottom: 12px; }
.ya-ship-form { display: grid; gap: 8px; }
.ya-ship-form .form-control, .ya-ship-form .form-select { height: 44px; border-radius: 8px; }
.ya-shipped { display: flex; gap: 8px; align-items: flex-start; color: #0A7A41; font-weight: 600; background: #E3F6EC; border-radius: 8px; padding: 10px 12px; margin: 0; }
.ya-order__wait { display: flex; gap: 6px; align-items: center; }

/* Solde */
.ya-balance-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ya-bcard { border-radius: 12px; padding: 18px 20px; color: #fff; display: grid; gap: 4px; box-shadow: 0 6px 18px rgba(41, 56, 71, .12); }
.ya-bcard .material-icons { font-size: 28px; opacity: .9; }
.ya-bcard span { opacity: .9; font-size: 15px; }
.ya-bcard strong { font: 700 30px/1.1 "Hind Madurai", Arial, sans-serif; }
.ya-bcard--green { background: linear-gradient(135deg, #0A8849, #06683A); }
.ya-bcard--coral { background: linear-gradient(135deg, #FF6B85, #E23E5B); }
.ya-bcard--bordeaux { background: linear-gradient(135deg, var(--ya-primary-light), var(--ya-primary-dark)); }
.ya-iban { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ya-line); }

/* Formulaire produit */
.ya-pform__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ya-pform__main, .ya-pform__side { display: grid; gap: 16px; min-width: 0; }
.ya-pform__side { position: sticky; top: 140px; }
.ya-money { position: relative; display: flex; }
.ya-money > span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--ya-muted); font-weight: 600; pointer-events: none; }
.ya-money .form-control { padding-right: 40px; }
.ya-money--select .form-control { border-radius: 8px 0 0 8px; }
.ya-money--select .form-select { width: 86px; flex: 0 0 86px; border-radius: 0 8px 8px 0; border-left: 0; }
.ya-net { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; background: #E3F6EC; color: #075E32; border-radius: 8px; padding: 10px 14px; margin: -4px 0 16px; }
.ya-net strong { font-size: 20px; }
.ya-net small { flex-basis: 100%; font-size: 13px; }
.ya-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 12px; }
.ya-img { border: 1px solid var(--ya-line); border-radius: 8px; padding: 6px; display: grid; gap: 4px; font-size: 13px; }
.ya-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.ya-img label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.ya-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 16px; border: 2px dashed var(--ya-border); border-radius: 10px; text-align: center; cursor: pointer; color: var(--ya-muted); transition: border-color .15s, background .15s; }
.ya-drop:hover { border-color: var(--ya-primary); background: var(--ya-primary-soft); }
.ya-drop .material-icons { font-size: 40px; color: var(--ya-primary); }
.ya-drop strong { color: var(--ya-text); font-size: 17px; }
.ya-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ya-drop__names { color: var(--ya-primary); font-weight: 600; }
.ya-drop.has-error { border-color: #C81E1E; }
.ya-switch { display: flex; align-items: center; gap: 12px; cursor: pointer; margin-bottom: 16px; }
.ya-switch input { position: absolute; opacity: 0; }
.ya-switch__track { width: 48px; height: 28px; flex: 0 0 48px; border-radius: 14px; background: var(--ya-border); position: relative; transition: background .2s; }
.ya-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.ya-switch input:checked + .ya-switch__track { background: var(--ya-primary); }
.ya-switch input:checked + .ya-switch__track::after { transform: translateX(20px); }
.ya-switch input:focus-visible + .ya-switch__track { outline: 2px solid var(--ya-primary); outline-offset: 2px; }
.ya-switch small { display: block; color: var(--ya-muted); }
.ya-logo-edit { display: flex; gap: 16px; align-items: center; }
.ya-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15px; margin-bottom: 16px; }
.ya-dl dt { color: var(--ya-muted); font-weight: 500; }
.ya-dl dd { margin: 0; font-weight: 600; }

/* Promotions et codes */
.ya-promo-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--ya-price); color: #fff; font-weight: 700; font-size: 14px; }
.ya-code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; letter-spacing: .06em; background: var(--ya-primary-soft); color: var(--ya-primary); padding: 3px 8px; border-radius: 6px; }
.ya-code-input { text-transform: uppercase; font-family: ui-monospace, "SF Mono", Menlo, monospace !important; letter-spacing: .06em; }
.ya-pick { max-height: 280px; overflow-y: auto; border: 1px solid var(--ya-line); border-radius: 8px; margin-bottom: 16px; }
.ya-pick.is-hidden { display: none; }
.ya-pick__item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--ya-line); cursor: pointer; }
.ya-pick__item:last-child { border-bottom: 0; }
.ya-pick__item small { margin-left: auto; color: var(--ya-muted); }
.ya-pick__item input { width: 18px; height: 18px; accent-color: var(--ya-primary); }

/* « Vendu par » */
.ya-card__seller a { color: var(--ya-text); }
.ya-card__seller a:hover { color: var(--ya-primary); }
.ya-seller-box { border-top: 1px solid var(--ya-line); margin-top: 12px; padding-top: 12px; }
.ya-seller-box__main { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ya-text); }
.ya-seller-box__main img, .ya-seller-box__ini { width: 44px; height: 44px; border-radius: 10px; flex: 0 0 44px; object-fit: cover; }
.ya-seller-box__ini { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--ya-primary-light), var(--ya-primary-dark)); color: #fff; font-weight: 700; }
.ya-seller-box__main small { display: block; color: var(--ya-muted); font-size: 14px; }
.ya-seller-box__main strong { font-size: 17px; }
.ya-seller-box__main .material-icons { margin-left: auto; color: var(--ya-muted); }
.ya-seller-box__main:hover strong { color: var(--ya-primary); text-decoration: underline; }
.ya-seller-box__meta { margin: 6px 0 0; font-size: 14px; color: var(--ya-muted); }
.ya-seller-line { margin: 2px 0; font-size: 14px; color: var(--ya-muted); }
.ya-seller-line a { color: var(--ya-primary); font-weight: 600; }

/* Page boutique */
.ya-shop-container { padding-top: 8px; }
.ya-shop__hero {
  display: flex; align-items: center; gap: 24px; padding: 28px; border-radius: 14px; color: #fff; margin-bottom: 16px;
  background: radial-gradient(circle at 85% 20%, rgba(255, 80, 110, .45), transparent 45%), linear-gradient(135deg, var(--ya-primary), var(--ya-primary-dark));
}
.ya-shop__logo { width: 110px; height: 110px; border-radius: 20px; object-fit: cover; background: #fff; flex: 0 0 110px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.ya-shop__logo--txt { display: flex; align-items: center; justify-content: center; color: var(--ya-primary); font: 800 40px "Hind Madurai", Arial, sans-serif; }
.ya-shop__kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 600; opacity: .9; }
.ya-shop__kicker .material-icons { font-size: 18px; }
.ya-shop__name { color: #fff; font: 700 38px/1.1 "Hind Madurai", Arial, sans-serif; margin: 4px 0 10px; }
.ya-shop__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 16px; }
.ya-shop__facts li { display: inline-flex; align-items: center; gap: 6px; opacity: .95; }
.ya-shop__facts .material-icons { font-size: 18px; }
.ya-shop__desc { background: #fff; border-radius: 12px; padding: 18px 20px; margin-bottom: 16px; font-size: 16px; }
.ya-shop__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }

/* Lien dans l'en-tête et le compte */
.ya-account-mp .material-icons { color: var(--ya-primary); }

/* Responsive */
@media (max-width: 1399.98px) { .ya-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1199.98px) {
  .ya-sp { grid-template-columns: 1fr; }
  .ya-sp__side { position: static; }
  .ya-sp__nav { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .ya-grid--2-1, .ya-grid--1-2, .ya-grid--1-1-1 { grid-template-columns: 1fr; }
  .ya-pform__grid { grid-template-columns: 1fr; }
  .ya-pform__side { position: static; }
  .ya-mp-row--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
  .ya-regtabs { grid-template-columns: 1fr; }
  .ya-mp-row, .ya-mp-row--3, .ya-mp-row--5 { grid-template-columns: 1fr; }
  .ya-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ya-grid--1-1 { grid-template-columns: 1fr; }
  .ya-balance-cards { grid-template-columns: 1fr; }
  .ya-order__body { grid-template-columns: 1fr; }
  .ya-shop__hero { flex-direction: column; text-align: center; padding: 20px; }
  .ya-shop__facts { justify-content: center; }
  .ya-shop__name { font-size: 28px; }
  .ya-sp-title { font-size: 24px; }
  .ya-kpi__value { font-size: 20px; }
}


/* Onglets « En 1 fois / En N fois » sur la fiche produit */
.ya-prices { display: flex; flex-direction: column; }
.ya-split { order: -1; margin: 0 0 10px; }
.ya-split__tabs { display: flex; gap: 0; }
.ya-split__tab {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 10px 10px; border: 0; background: #EEF0F3; color: var(--ya-muted);
  border-radius: 10px 10px 0 0; cursor: pointer; font: inherit; line-height: 1.2;
}
.ya-split__tab + .ya-split__tab { margin-left: 4px; }
.ya-split__tab.is-active { background: #fff; color: var(--ya-ink); box-shadow: 0 -2px 0 var(--ya-primary) inset, 0 1px 3px rgba(41,56,71,.08); }
.ya-split__label { font-size: 13px; font-weight: 600; }
.ya-split__amount { font-size: 15px; font-weight: 700; color: var(--ya-price, #FF1E3C); }
.ya-split__tab:not(.is-active) .ya-split__amount { color: #6b7484; }
.ya-split__note { margin: 6px 0 0; font-size: 12.5px; color: var(--ya-muted); }
/* Détail du paiement échelonné, ouvert depuis l'onglet */
.ya-split__panel { background: #fff; border-radius: 0 0 10px 10px; padding: 12px 2px 2px; }
.ya-split__title { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: var(--ya-ink); }
.ya-split__line { margin: 0 0 6px; font-size: 15px; color: var(--ya-ink); }
.ya-split__strong { color: var(--ya-price, #FF1E3C); font-weight: 700; }
.ya-split__free { margin-left: 6px; font-size: 12.5px; color: var(--ya-muted); }
.ya-split__cond { margin: 10px 0 0; font-size: 12.5px; color: var(--ya-muted); }
/* Quand l'échelonné est sélectionné, le gros prix « en une fois » s'efface */
.ya-prices--split .ya-prices__current, .ya-prices--split .ya-prices__tax,
.ya-prices--split .ya-prices__compare, .ya-prices--split .ya-prices__unit { display: none; }

/* Vidéo du produit : même emprise que l'image, sans surcouche */
.ya-card__media, .ya-gallery__main { position: relative; }
.ya-video { position: absolute; inset: 0; z-index: 2; overflow: hidden; background: #11161d; border-radius: inherit; }
.ya-video[hidden] { display: none; }
.ya-video__el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #11161d; }
.ya-video--product .ya-video__el { object-fit: contain; cursor: pointer; }
.ya-card__media .ya-card__badges { z-index: 3; }
/* Vignette de la vidéo, alignée sur les vignettes photo */
/* Lecteur embarqué (TikTok) : voile transparent, aucun clic ne sort du site */
/* Le lecteur est agrandi et recadré : le nom du compte, le logo, les icônes
   commentaire/partage et l'horodatage tombent hors du cadre visible. */
.ya-video iframe { position: absolute; width: 140%; height: 132%; left: -20%; top: -16%; border: 0; }
.ya-video__shield { position: absolute; inset: 0; z-index: 4; cursor: pointer; }
/* Vignette maintenue au-dessus du lecteur tant que la vidéo n'a pas démarré :
   le logo de chargement de la plateforme n'est jamais visible. */
.ya-video__poster { position: absolute; inset: 0; z-index: 3; opacity: 1; transition: opacity .25s; pointer-events: none; }
.ya-video.is-joue .ya-video__poster { opacity: 0; }
/* Chargement : anneau aux couleurs yesafro, le temps que le lecteur démarre */
.ya-video__load {
  position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; border: 3px solid rgba(255, 255, 255, .55); border-top-color: var(--ya-primary, #7D1128);
  opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 5;
}
.ya-video.is-chargement .ya-video__load { opacity: 1; animation: ya-tourne .8s linear infinite; }
.ya-video--card .ya-video__load { width: 26px; height: 26px; margin: -13px 0 0 -13px; border-width: 2px; }
@keyframes ya-tourne { to { transform: rotate(360deg); } }
.ya-video__poster img { width: 100%; height: 100%; object-fit: cover; }
.ya-thumb-video { padding: 0; overflow: hidden; background: #11161d; }
.ya-thumb-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ya-thumb-video video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

/* Aperçu dans le formulaire vendeur */
.ya-vfile { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.ya-vfile video { width: 120px; border-radius: 10px; background: #11161d; }

/* Les badges de la carte restent visibles par-dessus la vidéo */
/* Les badges restent au-dessus de la vidéo sans jamais entrer dans le flux */
.ya-card__media .ya-card__badges { z-index: 3; }
