/* ===========================================================
   TEKISSA — marketplace des boutiques (site public)
   Rouge du logo pour les accents, marine tres fonce pour les textes
   (couleur du logotype), blanc pour les fonds. Pas de bleu d'interface.
   =========================================================== */
:root {
    --tk-red: #E30613;
    --tk-red-dk: #B00410;
    --tk-ink: #0E1A2B;
    --tk-ink-soft: #3B4658;
    --tk-muted: #7A8290;
    --tk-line: #E7E9EE;
    --tk-bg: #F6F6F8;
}

body.tk-body { background: var(--tk-bg); color: var(--tk-ink); font-family: 'DM Sans', system-ui, sans-serif; }
.tk-body h1, .tk-body h2, .tk-body h3, .tk-body h4, .tk-body .fw-outfit { font-family: 'Outfit', sans-serif; color: var(--tk-ink); }
.tk-body a { color: var(--tk-ink); }
.tk-body a:hover { color: var(--tk-red); }

.tk-header { background: #fff; border-bottom: 1px solid var(--tk-line); position: sticky; top: 0; z-index: 100; }
.tk-header .tk-logo { height: 46px; width: auto; }
.tk-search { border-radius: 30px; border: 1px solid var(--tk-line); padding: .55rem 1.1rem; width: 100%; }
.tk-search:focus { border-color: var(--tk-red); box-shadow: 0 0 0 .2rem rgba(227,6,19,.15); outline: 0; }
.tk-nav-link { font-weight: 600; color: var(--tk-ink-soft) !important; padding: .5rem .8rem !important; }
.tk-nav-link:hover, .tk-nav-link.active { color: var(--tk-red) !important; }
.tk-cart-badge { background: var(--tk-red); color: #fff; border-radius: 20px; padding: .1rem .5rem; font-size: .75rem; font-weight: 700; margin-left: .3rem; }

.btn-tk { background: var(--tk-red); border-color: var(--tk-red); color: #fff; font-weight: 700; border-radius: .6rem; }
.btn-tk:hover { background: var(--tk-red-dk); border-color: var(--tk-red-dk); color: #fff; }
.btn-tk-outline { border: 1px solid var(--tk-ink); color: var(--tk-ink); font-weight: 600; border-radius: .6rem; background: #fff; }
.btn-tk-outline:hover { background: var(--tk-ink); color: #fff; }

.tk-hero {
    background: linear-gradient(120deg, var(--tk-ink) 0%, #1E2A3D 60%, var(--tk-red-dk) 140%);
    color: #fff; padding: 3.5rem 0; position: relative; overflow: hidden;
}
.tk-hero h1 { color: #fff; font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.tk-hero p { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.tk-hero .tk-pill { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 30px; padding: .3rem .9rem; font-size: .8rem; font-weight: 600; }

.tk-slider-wrap { padding-top: 1.5rem; }
.tk-slider { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(14,26,43,.12); }
.tk-slider .carousel-item img { width: 100%; aspect-ratio: 2.8 / 1; object-fit: cover; display: block; }
.tk-slider .carousel-control-prev, .tk-slider .carousel-control-next { width: 8%; opacity: 0; transition: opacity .2s; }
.tk-slider:hover .carousel-control-prev, .tk-slider:hover .carousel-control-next { opacity: .9; }
.tk-slider .carousel-control-prev-icon, .tk-slider .carousel-control-next-icon { background-color: rgba(14,26,43,.55); border-radius: 50%; background-size: 50%; width: 2.6rem; height: 2.6rem; }
.tk-slider .carousel-indicators { margin-bottom: .6rem; }
.tk-slider .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #fff; opacity: .6; box-shadow: 0 0 0 1px rgba(14,26,43,.25); }
.tk-slider .carousel-indicators .active { opacity: 1; background: var(--tk-red); width: 26px; border-radius: 6px; }
.tk-slider-search { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: #fff; border: 1px solid var(--tk-line); border-radius: 14px; padding: 1.2rem 1.5rem; margin-top: 1rem; }
.tk-slider-search h1 { font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 0 0 .15rem; }
.tk-slider-search p { color: var(--tk-ink-soft); margin: 0; }
.tk-slider-search form { flex: 0 1 520px; }

.tk-shop-head { padding-top: 1.5rem; }
.tk-shop-cover { height: clamp(140px, 22vw, 260px); border-radius: 16px; overflow: hidden; background: linear-gradient(115deg, var(--tk-ink) 0%, var(--tk-ink) 55%, var(--tk-red-dk) 80%, var(--tk-red) 100%); }
.tk-shop-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tk-shop-info { display: flex; align-items: flex-start; gap: 1.2rem; padding: 0 1.5rem; margin-top: -48px; }
.tk-shop-logo { width: 112px; height: 112px; flex-shrink: 0; border-radius: 50%; object-fit: cover; background: #fff; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(14,26,43,.12); }
.tk-shop-logo-vide { display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 2.6rem; color: var(--tk-red); }
.tk-shop-texte { padding-top: calc(48px + .8rem); min-width: 0; }
.tk-shop-texte h1 { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .15rem; }
.tk-shop-slogan { color: var(--tk-red-dk); font-weight: 600; margin: 0 0 .35rem; }
.tk-shop-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; color: var(--tk-ink-soft); font-size: .92rem; }
.tk-shop-meta i { color: var(--tk-muted); margin-right: .2rem; }
.tk-shop-desc { color: var(--tk-ink-soft); max-width: 760px; margin: 1.2rem 0 0; padding: 0 1.5rem; }

.tk-section { padding: 2.5rem 0; }
.tk-section-title { font-weight: 800; font-size: 1.4rem; margin-bottom: 1rem; }

.tk-card { background: #fff; border: 1px solid var(--tk-line); border-radius: 14px; overflow: hidden; height: 100%; transition: transform .15s, box-shadow .15s; }
.tk-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(14,26,43,.09); }
.tk-card img.tk-thumb { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #fff; }
.tk-card .tk-thumb-vide { width: 100%; aspect-ratio: 1 / 1; background: #F1F2F5; display: flex; align-items: center; justify-content: center; color: var(--tk-muted); font-size: 2.2rem; }
.tk-card .tk-body { padding: .9rem 1rem 1rem; }
.tk-card .tk-boutique { font-size: .75rem; color: var(--tk-muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.tk-card .tk-nom { font-weight: 700; font-size: .98rem; margin: .2rem 0 .3rem; line-height: 1.25; }
.tk-prix { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--tk-ink); }
.tk-prix-barre { text-decoration: line-through; color: var(--tk-muted); font-size: .85rem; margin-left: .3rem; }
.tk-badge-indispo { background: #F1F2F5; color: var(--tk-muted); border-radius: 20px; padding: .15rem .6rem; font-size: .72rem; font-weight: 700; }
.tk-badge-dispo { background: #FDECEC; color: var(--tk-red-dk); border-radius: 20px; padding: .15rem .6rem; font-size: .72rem; font-weight: 700; }

.tk-rang { position: absolute; top: .5rem; left: 1.2rem; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: var(--tk-red); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(14,26,43,.25); border: 2px solid #fff; pointer-events: none; }

.tk-categories a { display: block; background: #fff; border: 1px solid var(--tk-line); border-radius: 12px; padding: .9rem; text-align: center; font-weight: 700; color: var(--tk-ink); text-decoration: none; }
.tk-categories a:hover { border-color: var(--tk-red); color: var(--tk-red); }

.tk-livraison-band { background: #FDECEC; border-left: 4px solid var(--tk-red); border-radius: 10px; padding: .9rem 1.1rem; }

.tk-footer { background: var(--tk-ink); color: rgba(255,255,255,.7); padding: 2.5rem 0 1.5rem; margin-top: 3rem; }
.tk-footer h6 { color: #fff; font-weight: 700; }
.tk-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.tk-footer a:hover { color: #fff; }

.tk-form-card { background: #fff; border: 1px solid var(--tk-line); border-radius: 14px; padding: 1.6rem; }
.tk-stepper { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.tk-stepper li { padding: .3rem .8rem; border-radius: 20px; background: #F1F2F5; font-size: .8rem; font-weight: 600; color: var(--tk-muted); }
.tk-stepper li.done { background: #FDECEC; color: var(--tk-red-dk); }
.tk-stepper li.current { background: var(--tk-red); color: #fff; }

.tk-timeline { list-style: none; padding: 0; margin: 0; }
.tk-timeline li { padding: .5rem 0 .5rem 1.9rem; position: relative; color: var(--tk-muted); }
.tk-timeline li::before { content: ''; position: absolute; left: 0; top: .7rem; width: 12px; height: 12px; border-radius: 50%; background: var(--tk-line); }
.tk-timeline li.done { color: var(--tk-ink); font-weight: 600; }
.tk-timeline li.done::before { background: #1F9D55; }
.tk-timeline li.current { color: var(--tk-red); font-weight: 700; }
.tk-timeline li.current::before { background: var(--tk-red); box-shadow: 0 0 0 4px rgba(227,6,19,.18); }

.tk-filter-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--tk-muted); font-weight: 700; }

@media (max-width: 767.98px) {
    .tk-hero { padding: 2.2rem 0; text-align: center; }
    .tk-hero .tk-pill { margin-bottom: .6rem; }
    .tk-slider-wrap { padding-top: 1rem; }
    .tk-slider { border-radius: 12px; }
    .tk-slider-search { flex-direction: column; align-items: stretch; text-align: center; gap: .9rem; padding: 1rem; }
    .tk-slider-search form { flex-basis: auto; }
    .tk-shop-info { flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding: 0; margin-top: -44px; }
    .tk-shop-logo { width: 88px; height: 88px; }
    .tk-shop-texte { padding-top: 0; }
    .tk-shop-meta { justify-content: center; }
    .tk-shop-desc { padding: 0; text-align: center; }
}
