/* ==========================================================================
   Dr.Klain — AI Stylista
   Sjednoceno s design systémem aplikace „Klára." (CML dashboard).
   Barvy + font převzaty z drklain-dashboard/app/globals.css.
   ========================================================================== */

@font-face {
    font-family: 'Atyp BL';
    src: url('../fonts/AtypText-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Atyp BL';
    src: url('../fonts/AtypBLText-Semibold.otf') format('opentype');
    font-weight: 600;
    font-display: swap;
}

:root {
    /* Identické tokeny jako Klára */
    --primary: #4C4666;
    --primary-hover: #3b3650;
    --accent: #FF9F9F;          /* Pink */
    --page: #FFFCF8;            /* Ivory */
    --card: #FFFFFF;
    --heading: #4C4666;
    --body: #4E4A6A;
    --subtle: #8A879E;
    --line: #EBEAE8;
    --success: #1D9E75;
    --danger: #E24B4A;
}

/* ==========================================================================
   Base — DM Sans, světlé Ivory téma (jako Klára)
   ========================================================================== */
body.brand-theme {
    margin: 0;
    font-family: 'Atyp BL', 'DM Sans', system-ui, sans-serif;
    background: var(--page);
    color: var(--body);
}
body.header-on { padding-top: 60px; }   /* místo pro hlavičku na „Můj výběr" */

/* ---- Sjednocená hlavička webu Dr.Klain (jen na „Můj výběr") ---- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; height: 60px; z-index: 1050;
    background: var(--page);
    border-bottom: 1px solid var(--line);
    display: none; align-items: center; justify-content: space-between;
    padding: 0 24px;
}
.site-header.show { display: flex; }
.site-header .sh-left, .site-header .sh-right { display: flex; align-items: center; gap: 28px; }
.sh-logo { font-weight: 800; font-size: 1.3rem; color: var(--heading); text-decoration: none; letter-spacing: -0.02em; }
.sh-nav { display: flex; gap: 24px; }
.sh-nav a { color: var(--heading); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.15s; }
.sh-nav a:hover { color: var(--accent); }
.sh-symbol { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 30px; }
.sh-symbol svg { width: 100%; height: 100%; display: block; }
.sh-search { color: var(--heading); font-size: 1rem; text-decoration: none; }
.sh-search:hover { color: var(--accent); }
@media (max-width: 820px) {
    .sh-nav { display: none; }
    .site-header { padding: 0 16px; }
}

/* růžové CTA tlačítko */
.btn-pink { background: var(--accent) !important; color: #fff !important; border: none !important; box-shadow: 0 8px 22px -10px rgba(255, 159, 159, 0.8); }
.btn-pink:hover { background: #f98c8c !important; color: #fff !important; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--heading);
}

/* Přemapování Bootstrap utilit na brandové barvy (téma je světlé) */
.brand-theme .text-white { color: var(--body) !important; }
.brand-theme .text-white-50 { color: var(--subtle) !important; }
.brand-theme .text-muted { color: var(--subtle) !important; }

/* ---- Logo + hlavička ---- */
.brand-logo {
    height: 58px;
    width: auto;
    margin-bottom: 0.75rem;
}
.brand-title {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--heading);
    margin-bottom: 0.1rem;
}
.brand-claim {
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

.letter-spacing-1 { letter-spacing: 1px; }
.z-index-2 { z-index: 2; }

/* FittingBox kontejner (GDPR souhlas / VTO) — celoobrazovkový overlay, ne pruh nahoře */
#fitmix-container {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: var(--page);
}

/* ==========================================================================
   Dekorativní prvky — jemné Pink/Violet orby
   ========================================================================== */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    opacity: 0.28;
}
.orb-1 {
    top: -10%; left: -10%;
    width: 320px; height: 320px;
    background: var(--accent);
    animation: float 10s ease-in-out infinite alternate;
}
.orb-2 {
    bottom: 8%; right: -12%;
    width: 420px; height: 420px;
    background: var(--primary);
    opacity: 0.12;
    animation: float 12s ease-in-out infinite alternate-reverse;
}
@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

/* ==========================================================================
   Panely & inputy — bílé karty, jemné stíny (jako Klára)
   ========================================================================== */
.glass-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 10px 40px -16px rgba(76, 70, 102, 0.12);
}

.glass-input {
    background: var(--page) !important;
    border: 1px solid var(--line) !important;
    color: var(--body) !important;
    border-radius: 12px;
}
.glass-input:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 159, 159, 0.3) !important;
}
.glass-input option {
    background: var(--card);
    color: var(--body);
}

/* Primární tlačítko — Violet (jako primární akce v Kláře) */
.btn-glow {
    background: var(--primary);
    border: none;
    color: #fff !important;
    transition: all 0.25s ease;
}
.btn-glow:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -12px rgba(76, 70, 102, 0.55);
}

/* Sekundární / outline — Violet */
.brand-theme .btn-outline-light {
    color: var(--primary);
    border-color: var(--line);
}
.brand-theme .btn-outline-light:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.brand-theme .btn-link { color: var(--subtle); }
.brand-theme .btn-link:hover { color: var(--accent); }

/* Slider — Pink akcent */
.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: var(--line);
    border-radius: 5px;
    outline: none;
}
.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(255, 159, 159, 0.55);
}

/* ==========================================================================
   Tinder UI & karty
   ========================================================================== */
.tinder-cards-container {
    width: 100%;
    height: 60vh;
    max-height: 500px;
    perspective: 1000px;
}

.tinder-card {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 18px 44px -18px rgba(76, 70, 102, 0.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-origin: 50% 100%;
    will-change: transform;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.tinder-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Overlay přes fotku — tmavý violet gradient kvůli čitelnosti */
.card-info-overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(76, 70, 102, 0.85) 0%, rgba(76, 70, 102, 0) 100%);
    z-index: 2;
    text-align: left;
}
.card-info-overlay h4 { margin: 0; font-size: 1.5rem; color: #fff; }
.card-info-overlay p { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }

.tinder-card.moving { transition: none; }
.tinder-card.swipe-left { transform: translate(-200px, 0) rotate(-20deg) !important; opacity: 0; }
.tinder-card.swipe-right { transform: translate(200px, 0) rotate(20deg) !important; opacity: 0; }

/* ==========================================================================
   Tlačítka Like / Dislike  (Like = Pink, Dislike = Violet)
   ========================================================================== */
.action-buttons { z-index: 10; }

.action-btn {
    width: 70px; height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 8px 22px -10px rgba(76, 70, 102, 0.25);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s, background 0.2s;
}

.btn-dislike { color: var(--primary); }
.btn-dislike:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}
.btn-dislike:active { transform: scale(0.95); }

.btn-like { color: var(--accent); }
.btn-like:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 22px rgba(255, 159, 159, 0.6);
    transform: scale(1.1);
}
.btn-like:active { transform: scale(0.95); }

/* ==========================================================================
   Mřížka oblíbených brýlí
   ========================================================================== */
.liked-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.liked-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(43, 30, 65, 0.55);
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}
.liked-remove:hover { background: var(--danger); transform: scale(1.1); }
.liked-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px -14px rgba(76, 70, 102, 0.28);
}
.liked-card img { border-bottom: 1px solid var(--line); }
.liked-card h5 { color: var(--heading) !important; }
.price-line { font-size: 1.35rem; font-weight: 800; color: var(--heading); }

/* ==========================================================================
   LIVE režim (live.html) — Tinder karta (fullscreen)
   ========================================================================== */
/* Celoobrazovkový overlay — naskočí až po výběru kolekce (.active) a překryje vše */
#live-ui.live-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--page);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 18px 16px 16px;
}
#live-ui.live-overlay.active { display: flex; }

/* brandová lišta nahoře (Klain. Stylista + přepínač kolekce) */
.live-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 420px;          /* stejně jako karta -> lícuje s ní */
    margin: 0 auto;
    padding: 2px 2px;          /* žádné velké odsazení po stranách */
}
.live-brand { display: flex; align-items: center; gap: 8px; }
.live-symbol { width: 30px; height: 23px; }
.live-brand-text { font-size: 1.1rem; color: var(--heading); font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.live-brand { flex-shrink: 0; }
.live-brand-text strong { font-weight: 800; }
.gender-toggle {
    display: flex;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px;
    box-shadow: 0 6px 16px -10px rgba(76, 70, 102, 0.3);
}
.gt {
    border: none;
    background: transparent;
    color: var(--subtle);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.gt.active { background: var(--accent); color: #fff; }

/* dotaz "Pro koho?" přes živý obraz */
.gender-prompt {
    position: absolute;
    inset: 0;
    z-index: 7;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(43, 30, 65, 0.55), rgba(43, 30, 65, 0.82));
    backdrop-filter: blur(2px);
}
.gender-prompt.show { display: flex; }
.gp-title { color: #fff; font-weight: 800; font-size: 1.4rem; margin: 0; text-align: center; }
.gp-buttons { display: flex; gap: 14px; }
.gp-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 122px;
    padding: 18px 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--card);
    color: var(--heading);
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 26px -14px rgba(76, 70, 102, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gp-btn i { font-size: 1.9rem; color: var(--accent); }
.gp-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(76, 70, 102, 0.4); }

/* souhlasná karta (foto verze) */
#consent-card { gap: 24px; padding: 32px 26px; }
#consent-card .gp-title { margin-bottom: 6px; }
.consent-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; max-width: 300px; }
.consent-points li { color: #fff; font-size: 0.95rem; line-height: 1.45; display: flex; gap: 12px; align-items: flex-start; }
.consent-points li i { color: #7ee0a6; margin-top: 3px; flex-shrink: 0; }
.consent-note { color: rgba(255, 255, 255, 0.65); font-size: 0.8rem; line-height: 1.55; text-align: center; margin: 6px 0 0; max-width: 300px; }
.consent-note a { color: #fff; }
#consent-card .gp-buttons { justify-content: center; margin-top: 6px; }
.gp-btn.gp-ghost, .gp-btn.gp-primary {
    flex: 0 0 auto; flex-direction: row; width: auto; padding: 14px 30px; border-radius: 16px; font-size: 1rem;
}
.gp-btn.gp-ghost { background: rgba(255, 255, 255, 0.16); color: #fff; }
.gp-btn.gp-primary { background: var(--primary); color: #fff; }
.gp-btn.gp-primary i { color: #fff; font-size: 1.1rem; }

/* loading spinner přes kartu (stahování rámečku) */
.card-loader {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    pointer-events: none;
    background: rgba(43, 30, 65, 0.5);
}
.card-loader.show { display: flex; }
.card-loader .loader-text { color: #fff; font-weight: 700; font-size: 0.95rem; }
.card-loader .spinner { border-color: rgba(255, 255, 255, 0.35); border-top-color: var(--accent); }

/* Gemini try-on obrázek vyplní kartu */
#tryon-img { width: 100%; height: 100%; object-fit: cover; display: block; }
#card-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* === sloučená appka (app.html) === */
.mode-switch { display: inline-flex; gap: 3px; background: var(--line); padding: 2px; border-radius: 999px; }
.ms-btn { border: none; background: transparent; color: var(--subtle); font-weight: 700; font-size: 0.72rem; line-height: 1.15; padding: 3px 10px; border-radius: 999px; cursor: pointer; }
.ms-btn.active { background: var(--primary); color: #fff; }
.foto-fab { position: absolute; top: 12px; left: 12px; z-index: 6; border: none; border-radius: 999px; padding: 9px 14px; font-weight: 800; font-size: 0.85rem; background: rgba(255, 255, 255, 0.92); color: var(--heading); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5); cursor: pointer; }
.foto-fab i { color: var(--accent); }
.foto-result { position: absolute; inset: 0; z-index: 9; display: none; background: #1a1326; }
.foto-result.show { display: block; }
.foto-result #foto-img { width: 100%; height: 100%; object-fit: cover; }
.foto-close { position: absolute; top: 12px; right: 12px; z-index: 10; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 1.1rem; cursor: pointer; }
/* na úzkém mobilu (jen sloučená appka s přepínačem) skryj textovou značku, ať se lišta vejde */
/* v sloučené appce schovej logo-symbol (smajlíka) — uvolní místo na přepínač */
.live-topbar:has(.mode-switch) .live-symbol { display: none; }
@media (max-width: 480px) {
    .mode-switch .ms-btn { padding: 3px 9px; }
}
/* foto modal (GPT na vyžádání z Můj výběr) */
.foto-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(43, 30, 65, 0.4); backdrop-filter: blur(3px); }
.foto-modal.show { display: flex; }
.foto-modal-card { position: relative; width: 100%; max-width: 420px; max-height: 92vh; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 24px; box-shadow: 0 30px 70px -20px rgba(76, 70, 102, 0.4); }
.foto-modal-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--line); color: var(--heading); font-size: 1.05rem; cursor: pointer; z-index: 2; }
.fm-view { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.fm-view .gp-title { color: var(--heading); }
#fm-img { width: 100%; border-radius: 14px; display: block; }
#fm-loading { padding: 44px 0; }
#fm-loading .loader-text { color: var(--body); margin: 0; font-weight: 700; }
/* detail produktu (in-app) */
#dm-body { display: flex; flex-direction: column; gap: 16px; }
.dm-gallery { display: flex; flex-direction: column; }
.dm-buy { display: flex; flex-direction: column; gap: 10px; }
.dm-details { display: flex; flex-direction: column; gap: 12px; }
.dm-main { width: 100%; border-radius: 14px; display: block; }
.dm-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.dm-thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; cursor: pointer; opacity: 0.6; border: 2px solid transparent; background: #fff; }
.dm-thumb:hover, .dm-thumb.active { opacity: 1; border-color: var(--accent); }
.dm-info { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.dm-title { color: var(--heading); font-weight: 800; font-size: 1.5rem; margin: 0; line-height: 1.1; }
.dm-collection { color: var(--subtle); margin: -6px 0 0; font-size: 0.9rem; }
.dm-price { color: var(--heading); font-weight: 800; font-size: 1.4rem; margin: 6px 0 0; }
.dm-price span { display: block; font-weight: 500; font-size: 0.8rem; color: var(--subtle); }
.dm-avail { color: var(--success); font-weight: 700; font-size: 0.9rem; margin: 0; }
.dm-avail i { font-size: 0.5rem; vertical-align: middle; margin-right: 5px; }
.dm-avail-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; color: var(--success); font-weight: 700; font-size: 0.9rem; cursor: pointer; }
.dm-avail-toggle .fa-circle { font-size: 0.5rem; margin-right: 6px; vertical-align: middle; }
.dm-chev { color: var(--subtle); transition: transform 0.2s; font-size: 0.75rem; }
.dm-avail-wrap.open .dm-chev { transform: rotate(180deg); }
.dm-branches { list-style: none; margin: 8px 0 0; padding: 0; display: none; flex-direction: column; gap: 3px; }
.dm-avail-wrap.open .dm-branches { display: flex; }
.dm-branches li { display: flex; justify-content: space-between; align-items: center; color: var(--body); font-size: 0.85rem; padding: 5px 14px; }
.dm-branches li .fa-circle { color: var(--success); font-size: 0.45rem; margin-right: 8px; vertical-align: middle; }
.dm-qty { color: var(--subtle); }
.dm-params { list-style: none; padding: 12px 0; margin: 2px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.dm-params li { color: var(--heading); font-size: 0.9rem; display: flex; justify-content: space-between; }
.dm-params li b { color: var(--subtle); font-weight: 600; }
.dm-sub { color: var(--heading); font-size: 0.95rem; margin: 0; font-weight: 700; }
.dm-desc { color: var(--body); font-size: 0.88rem; line-height: 1.55; margin: 0; }
.dm-perks { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-direction: column; gap: 7px; }
.dm-perks li { color: var(--body); font-size: 0.85rem; display: flex; gap: 9px; align-items: flex-start; }
.dm-perks li i { color: var(--success); margin-top: 2px; }
.dm-order { width: 100%; justify-content: center; margin-top: 8px; text-decoration: none; }
.gp-btn { text-decoration: none; }
@media (min-width: 680px) {
    #detail-modal .foto-modal-card { max-width: 820px; }
    #dm-body { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "gallery buy" "details buy"; column-gap: 28px; row-gap: 20px; align-items: start; }
    .dm-gallery { grid-area: gallery; }
    .dm-buy { grid-area: buy; }
    .dm-details { grid-area: details; }
}

/* náhled nahrané selfie v setupu */
.selfie-preview {
    width: 120px; height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent);
    margin: 0 auto;
}

/* AI badge */
.ai-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 0.62em;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 6px;
    vertical-align: middle;
}
.spinner {
    width: 46px;
    height: 46px;
    border: 4px solid rgba(76, 70, 102, 0.18);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.tinder-stage {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: min(64vh, 540px);
    margin: 0 auto;
}

/* náznak další karty za aktuální (iluze stohu) */
.peek-card {
    position: absolute;
    inset: 14px 8px -6px 8px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 26px;
    transform: scale(0.96);
    box-shadow: 0 18px 44px -22px rgba(76, 70, 102, 0.3);
    z-index: 1;
}

.mirror-card {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 26px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 22px 50px -18px rgba(76, 70, 102, 0.45);
    will-change: transform;
    touch-action: pan-y;
}
#live-mirror { width: 100%; height: 100%; }
#live-mirror iframe { width: 100% !important; height: 100% !important; border: 0; display: block; }

/* razítka LÍBÍ / NELÍBÍ při tažení */
.stamp {
    position: absolute;
    top: 28px;
    z-index: 6;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: 1px;
    padding: 6px 16px;
    border: 3px solid;
    border-radius: 12px;
    opacity: 0;
    pointer-events: none;
    text-transform: uppercase;
}
.stamp-like { left: 22px; color: #1D9E75; border-color: #1D9E75; transform: rotate(-14deg); }
.stamp-nope { right: 22px; color: #E24B4A; border-color: #E24B4A; transform: rotate(14deg); }

/* info přes spodek karty (název / kolekce / cena) */
.card-info {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 5;
    padding: 32px 20px 18px;
    background: linear-gradient(to top, rgba(43, 30, 65, 0.92) 0%, rgba(43, 30, 65, 0) 100%);
    color: #fff;
    text-align: left;
    pointer-events: none;
}
.card-info h4 { margin: 0; font-size: 1.5rem; font-weight: 800; color: #fff; }
.card-meta { margin: 3px 0 0; display: flex; align-items: baseline; gap: 10px; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.card-price { font-weight: 800; color: var(--accent); margin-left: auto; }

/* vrstva pro gesto — aktivuje se po GDPR souhlasu (JS přepne pointer-events) */
#swipe-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; }

/* plovoucí kruhové ovládání */
.tinder-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 22px;
}
.ctl {
    border: none;
    border-radius: 50%;
    background: var(--card);
    box-shadow: 0 10px 24px -10px rgba(76, 70, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.15s, background 0.15s, color 0.15s;
}
.ctl:active { transform: scale(0.9); }
.ctl-undo { width: 52px; height: 52px; font-size: 20px; color: var(--subtle); }
.ctl-nope { width: 66px; height: 66px; font-size: 28px; color: var(--primary); }
.ctl-like { width: 66px; height: 66px; font-size: 28px; color: var(--accent); }
.ctl-undo:hover { color: var(--primary); transform: scale(1.08); }
.ctl-nope:hover { background: var(--primary); color: #fff; transform: scale(1.08); }
.ctl-like:hover { background: var(--accent); color: #fff; transform: scale(1.08); box-shadow: 0 0 24px rgba(255, 159, 159, 0.6); }

/* Rozcestník Pánské / Dámské */
.gender-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 16px;
    background: var(--page);
    border: 1.5px solid var(--line);
    border-radius: 20px;
    color: var(--heading);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.gender-card i { font-size: 2.4rem; color: var(--accent); transition: color 0.15s ease; }
.gender-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    background: var(--card);
    box-shadow: 0 14px 30px -14px rgba(255, 159, 159, 0.7);
}
.gender-card:active { transform: translateY(0); }
