/* Loupik Bazar — styly detailu, profilu a společné stránky */

.page-bazar-public {
    font-family: 'Inter', system-ui, sans-serif;
    background: #f3f4f6;
    color: #111827;
}

/* Hlavička v main-container — obsah stránky a footer mimo, aby se footer neořezával */
.page-bazar-public > .main-container {
    flex: 0 0 auto;
    padding-bottom: 0.5rem;
}

.page-bazar-public > .bazar-page-main {
    flex: 1 0 auto;
    width: 100%;
}

.page-bazar-public > .site-footer {
    flex-shrink: 0;
    width: 100%;
}

.obchod-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

.obchod-hero {
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 45%, #fdf2f8 100%);
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    margin: 1rem 0 1.25rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.obchod-hero__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.obchod-hero__lead {
    margin: 0 0 1rem;
    color: #4b5563;
    font-size: 0.95rem;
    max-width: 42rem;
}

.obchod-search {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.obchod-search__input {
    flex: 1 1 220px;
    min-width: 0;
    padding: 0.7rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    font-size: 0.95rem;
    background: #fff;
}

.obchod-search__input:focus {
    outline: none;
    border-color: var(--accent-500);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
}

.obchod-search__btn {
    padding: 0.7rem 1.25rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-500), var(--accent-600));
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.obchod-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.obchod-side {
    position: sticky;
    top: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.obchod-side__title {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.obchod-cat-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.obchod-cat-link {
    display: block;
    padding: 0.45rem 0.55rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.obchod-cat-link:hover {
    background: #f9fafb;
    color: #111827;
}

.obchod-cat-link.is-active {
    background: #fdf2f8;
    color: var(--accent-700);
    font-weight: 700;
}

.obchod-main-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.obchod-main-head h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.obchod-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.obchod-sort select {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.875rem;
    background: #fff;
}

.obchod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.obchod-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.85rem;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.obchod-card:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.obchod-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, #f3f4f6, #e5e7eb);
    overflow: hidden;
}

.obchod-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.obchod-card__body {
    padding: 0.75rem 0.85rem 0.9rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.35rem;
}

.obchod-card__price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
}

.obchod-card__title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1f2937;
}

.obchod-card__title a {
    color: inherit;
    text-decoration: none;
}

.obchod-card__title a:hover {
    color: var(--accent-600);
}

.obchod-card__meta {
    margin-top: auto;
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
}

.obchod-card__seller {
    color: var(--accent-600);
    font-weight: 600;
    text-decoration: none;
}

.obchod-card__seller:hover {
    text-decoration: underline;
}

a.obchod-card__seller {
    display: inline;
}

.obchod-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
    background: #fff;
    border-radius: 1rem;
    border: 1px dashed #d1d5db;
}

.obchod-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.obchod-pagination a,
.obchod-pagination span {
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    color: #374151;
    background: #fff;
}

.obchod-pagination a:hover {
    border-color: var(--accent-400);
    color: var(--accent-700);
}

.obchod-pagination .is-active {
    background: var(--accent-500);
    border-color: var(--accent-500);
    color: #fff;
    font-weight: 700;
}

/* ——— Detail produktu (PDP, Allegro-style) ——— */
.obchod-wrap--pdp {
    padding-bottom: 2.5rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.obchod-bc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0.75rem 0 1rem;
    line-height: 1.4;
}

.obchod-bc a {
    color: #374151;
    text-decoration: none;
}

.obchod-bc a:hover {
    color: var(--accent-600);
    text-decoration: underline;
}

.obchod-bc__sep {
    color: #9ca3af;
    user-select: none;
}

.obchod-bc__current {
    color: #111827;
    font-weight: 500;
}

.obchod-pdp {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.obchod-pdp__top {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 400px);
    gap: 1.5rem 2rem;
    align-items: start;
}

.obchod-pdp__media {
    min-width: 0;
    width: 100%;
}

.obchod-pdp__gallery {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas: "thumbs stage" "thumbs ad";
    align-items: start;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.obchod-pdp__thumbs {
    grid-area: thumbs;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 96px;
    max-height: 520px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 0;
    align-self: start;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.obchod-pdp__thumbs::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.obchod-pdp__thumb {
    width: 96px;
    height: 96px;
    padding: 0;
    border: 2px solid #e5e7eb;
    border-radius: 0.45rem;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    flex: 0 0 96px;
}

.obchod-pdp__thumb.is-active {
    border-color: var(--accent-500);
}

.obchod-pdp__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.obchod-pdp__stage {
    grid-area: stage;
    min-width: 0;
    width: 100%;
}

.obchod-pdp__ad {
    grid-area: ad;
    width: 100%;
    height: 90px;
    max-height: 90px;
    overflow: hidden;
}

.obchod-pdp__hero {
    flex: none;
    min-width: 0;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: 420px !important;
    display: block;
    background: #fafafa;
    border-radius: 0.35rem;
    overflow: hidden;
}

.obchod-pdp__hero img {
    max-width: 100%;
    max-height: 420px !important;
    width: auto;
    height: auto !important;
    object-fit: contain;
    display: block;
    vertical-align: top;
}

.obchod-pdp__hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 280px;
    opacity: 0.35;
}

.obchod-pdp__teaser {
    margin: 1rem 0 0.35rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #374151;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.obchod-pdp__more-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-600);
    text-decoration: none;
}

.obchod-pdp__more-link:hover {
    text-decoration: underline;
}

.obchod-pdp__buy {
    position: sticky;
    top: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    min-width: 0;
    overflow: hidden;
}

.obchod-pdp__title {
    margin: 0 0 0.85rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.obchod-pdp__price {
    margin: 0;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111827;
    line-height: 1.1;
}

.obchod-pdp__price-note {
    margin: 0.35rem 0 1rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.obchod-pdp__perks {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: #374151;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    padding: 0.85rem 0;
}

.obchod-pdp__perks li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.obchod-pdp__perk-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    margin-top: 0.1rem;
    color: #16a34a;
}

.obchod-pdp__perk-icon svg {
    width: 1.1rem;
    height: 1.1rem;
    display: block;
}

.obchod-pdp__perk-icon--loc {
    color: var(--accent-600, #db2777);
}

.obchod-pdp__perk-icon--km {
    color: #2563eb;
}

.obchod-pdp__seller-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.obchod-pdp__seller-label {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.obchod-pdp__seller-name {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 700;
}

.obchod-pdp__seller-name a {
    color: #111827;
    text-decoration: none;
}

.obchod-pdp__seller-name a:hover {
    color: var(--accent-600);
}

.obchod-pdp__seller-meta {
    margin: 0;
    font-size: 0.8125rem;
    color: #6b7280;
}

.obchod-pdp__seller-meta a {
    color: var(--accent-600);
    text-decoration: none;
}

.obchod-pdp__seller-meta a:hover {
    text-decoration: underline;
}

.obchod-pdp__actions {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.obchod-pdp__qty select {
    height: 100%;
    min-height: 48px;
    padding: 0 2rem 0 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.35rem;
    font-size: 0.875rem;
    background: #fff;
    color: #374151;
}

.obchod-pdp__cta {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0 1.25rem;
    border-radius: 0.35rem;
    background: #e11d48;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
    transition: background 0.15s, transform 0.15s;
}

.obchod-pdp__cta:hover {
    background: #be123c;
    transform: translateY(-1px);
}

.obchod-pdp__safe {
    margin: 0.75rem 0 0;
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.45;
}

.obchod-pdp__related {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.25rem;
}

.obchod-pdp__related-head h2 {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.obchod-pdp__related-wrap {
    position: relative;
}

.obchod-pdp__related-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0.15rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.obchod-pdp__related-track::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.obchod-pdp__related-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: #e9348d;
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 20px rgba(233, 52, 141, 0.35);
}

.obchod-pdp__related-nav:hover:not([hidden]):not(:disabled) {
    background: #c81e70;
}

.obchod-pdp__related-nav[hidden],
.obchod-pdp__related-nav:disabled {
    display: none !important;
}

.obchod-pdp__related-nav--prev {
    left: 0.35rem;
}

.obchod-pdp__related-nav--next {
    right: 0.35rem;
}

.obchod-pdp__related-nav svg {
    width: 22px;
    height: 22px;
    display: block;
}

.obchod-pdp__related-track .obchod-card--compact {
    position: relative;
    flex: 0 0 336px !important;
    width: 336px !important;
    height: 280px !important;
    min-width: 336px !important;
    min-height: 280px !important;
    max-width: 336px !important;
    max-height: 280px !important;
    display: block;
    overflow: hidden;
    scroll-snap-align: start;
    border-radius: 0.45rem;
}

.obchod-pdp__related-track .obchod-card--compact .obchod-card__media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: unset !important;
    min-height: 0;
}

.obchod-pdp__related-track .obchod-card--compact .obchod-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.obchod-pdp__related-track .obchod-card--compact .obchod-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    flex: none;
    gap: 0.2rem;
    padding: 2.2rem 0.85rem 0.75rem;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 12, 18, 0.82) 55%);
    color: #fff;
}

.obchod-pdp__related-track .obchod-card--compact .obchod-card__price {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.obchod-pdp__related-track .obchod-card--compact .obchod-card__title {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.3;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.obchod-pdp__related-track .obchod-card--compact .obchod-card__title a {
    color: inherit;
}

.obchod-pdp__related-track .obchod-card--compact .obchod-card__meta {
    display: none;
}

.obchod-pdp__related-ad {
    flex: 0 0 336px !important;
    width: 336px !important;
    height: 280px !important;
    min-width: 336px !important;
    min-height: 280px !important;
    max-width: 336px !important;
    max-height: 280px !important;
    scroll-snap-align: start;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 0.45rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.obchod-pdp__related-ad .loupik-ad-slot {
    display: flex !important;
    width: 336px !important;
    height: 280px !important;
    min-height: 280px !important;
}

.obchod-card--compact {
    flex: 0 0 336px;
    width: 336px;
    height: 280px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    scroll-snap-align: start;
}

.obchod-card--compact .obchod-card__media {
    flex: 1 1 auto;
    min-height: 0;
    aspect-ratio: auto;
    height: auto;
}

.obchod-card--compact .obchod-card__body {
    flex: 0 0 auto;
    padding: 0.65rem 0.75rem 0.75rem;
}

.obchod-card--compact .obchod-card__title {
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.obchod-card--compact .obchod-card__meta {
    display: none;
}

.obchod-pdp__details {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem 1.35rem;
}

.obchod-pdp__details > h2 {
    margin: 0 0 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.obchod-pdp__details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
    gap: 2rem 2.5rem;
    align-items: start;
}

.obchod-pdp__desc {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #374151;
}

.obchod-pdp__desc--muted {
    color: #6b7280;
    font-style: italic;
}

.obchod-pdp__specs {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.obchod-pdp__specs th,
.obchod-pdp__specs td {
    padding: 0.55rem 0;
    border-bottom: 1px solid #f3f4f6;
    text-align: left;
    vertical-align: top;
}

.obchod-pdp__specs th {
    width: 42%;
    color: #6b7280;
    font-weight: 500;
    padding-right: 1rem;
}

.obchod-pdp__specs td {
    color: #111827;
    font-weight: 600;
}

.obchod-pdp__specs a {
    color: var(--accent-600);
    text-decoration: none;
}

.obchod-pdp__specs a:hover {
    text-decoration: underline;
}

/* ——— Profil prodejce (obchod) ——— */
.obchod-seller-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.5rem 2rem;
    align-items: start;
    margin-top: 0.5rem;
}

.obchod-seller-side {
    position: sticky;
    top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.obchod-seller-brand {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.obchod-seller-brand__avatar {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 0.5rem;
    background: linear-gradient(145deg, var(--accent-500), var(--accent-700));
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.obchod-seller-brand__name {
    margin: 0 0 0.2rem;
    font-weight: 800;
    font-size: 1rem;
    color: #111827;
    line-height: 1.25;
}

.obchod-seller-brand__sub {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.obchod-seller-brand__tlupa {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-600);
    text-decoration: none;
}

.obchod-seller-brand__tlupa:hover {
    text-decoration: underline;
}

.obchod-seller-filter {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
}

.obchod-seller-filter__title {
    margin: 0 0 0.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
}

.obchod-seller-filter__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.obchod-seller-filter__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0.5rem;
    border-radius: 0.35rem;
    text-decoration: none;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.obchod-seller-filter__link:hover {
    background: #f9fafb;
    color: #111827;
}

.obchod-seller-filter__link.is-active {
    background: #fdf2f8;
    color: var(--accent-700);
    font-weight: 700;
}

.obchod-seller-filter__count {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 600;
}

.obchod-seller-filter__link.is-active .obchod-seller-filter__count {
    color: var(--accent-600);
}

.obchod-seller-main {
    min-width: 0;
}

.obchod-seller-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.obchod-seller-head__title {
    margin: 0 0 0.25rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
}

.obchod-seller-head__meta {
    margin: 0;
    font-size: 0.9375rem;
    color: #6b7280;
}

.obchod-seller-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.obchod-seller-pill {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.obchod-seller-pill:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.obchod-seller-pill.is-active {
    border-color: var(--accent-400);
    background: #fdf2f8;
    color: var(--accent-700);
}

.obchod-grid--seller {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.obchod-card--store {
    border-radius: 0.35rem;
}

.obchod-card--store .obchod-card__media {
    aspect-ratio: 1;
    background: #fff;
}

.obchod-card--store .obchod-card__title {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.obchod-card--store .obchod-card__price {
    font-size: 1.25rem;
    margin: 0 0 0.35rem;
}

.obchod-card--store .obchod-card__ship {
    margin: 0 0 0.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #16a34a;
}

.obchod-card--store .obchod-card__loc {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.obchod-card--store .obchod-card__store-seller {
    margin: 0;
    font-size: 0.75rem;
    color: #6b7280;
}

@media (max-width: 1100px) {
    .obchod-grid--seller {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .obchod-layout {
        grid-template-columns: 1fr;
    }
    .obchod-side {
        position: static;
    }
    .obchod-cat-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.35rem;
    }
    .obchod-pdp__top {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .obchod-pdp__buy {
        position: static;
        padding: 1rem 1.1rem;
    }
    .obchod-pdp__title {
        font-size: 1.2rem;
    }
    .obchod-pdp__price {
        font-size: 1.85rem;
    }
    .obchod-pdp__actions {
        flex-direction: column;
    }
    .obchod-pdp__cta {
        width: 100%;
    }
    .obchod-pdp__details-grid {
        grid-template-columns: 1fr;
    }
    .obchod-pdp__gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas: "stage" "thumbs" "ad";
        gap: 0.65rem;
        padding: 0.65rem;
    }
    .obchod-pdp__thumbs {
        flex-direction: row;
        width: 100%;
        max-height: none;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    .obchod-pdp__thumb {
        width: 72px;
        height: 72px;
        flex: 0 0 72px;
    }
    .obchod-pdp__hero {
        width: 100%;
        max-height: 320px !important;
    }
    .obchod-pdp__hero img {
        max-height: 320px !important;
        width: 100%;
    }
    .obchod-pdp__related-track {
        margin-inline: -0.25rem;
        padding-inline: 0.25rem;
    }
    .obchod-seller-layout {
        grid-template-columns: 1fr;
    }
    .obchod-seller-side {
        position: static;
    }
    .obchod-grid--seller {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .obchod-wrap {
        padding: 0 0.75rem 2rem;
    }
    .obchod-pdp__title {
        font-size: 1.1rem;
    }
    .obchod-pdp__price {
        font-size: 1.65rem;
    }
    .obchod-pdp__buy {
        padding: 0.9rem 1rem;
    }
    .obchod-pdp__thumb {
        width: 64px;
        height: 64px;
        flex: 0 0 64px;
    }
    .obchod-pdp__hero {
        max-height: 280px !important;
    }
    .obchod-pdp__hero img {
        max-height: 280px !important;
    }
    .obchod-pdp__ad {
        height: 80px;
        max-height: 80px;
    }
    .obchod-pdp__specs th {
        width: 38%;
        font-size: 0.8125rem;
    }
    .obchod-pdp__specs td {
        font-size: 0.875rem;
    }
    .obchod-grid--seller {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .obchod-seller-brand {
        padding: 0.85rem;
    }
    .obchod-bc {
        font-size: 0.75rem;
    }
    .obchod-card__title {
        font-size: 0.9rem;
    }
}

/* ——— Světlý listing bazaru ——— */
.page-bazar-listing {
    --bazar-ink: #111827;
    --bazar-muted: #6b7280;
    --bazar-line: #e5e7eb;
    --bazar-accent: var(--accent-500, #ec4899);
    --bazar-accent-dark: var(--accent-600, #db2777);
    background: linear-gradient(180deg, #fff7fb 0%, #f8fafc 40%, #f3f4f6 100%);
    color: var(--bazar-ink);
}

.page-bazar-listing .bazar-page-main {
    overflow: visible;
}

.bazar-shell {
    width: min(100% - 2rem, 1200px);
    margin: 0 auto;
    padding: 1rem 0 4rem;
}

.bazar-hero {
    position: relative;
    padding: clamp(2rem, 5vw, 3.75rem) clamp(1rem, 5vw, 3.5rem) clamp(1.25rem, 3vw, 2rem);
    overflow: hidden;
    border: 1px solid #fbcfe8;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #fff7fb 52%, #fce7f3 100%);
    color: var(--bazar-ink);
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

.bazar-hero::after {
    content: "";
    position: absolute;
    right: -6rem;
    bottom: -7rem;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: rgba(236, 72, 153, 0.08);
    pointer-events: none;
}

.bazar-hero__glow {
    display: none;
}

.bazar-hero__content {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.bazar-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid #fbcfe8;
    border-radius: 999px;
    background: #fff;
    color: var(--accent-600, #db2777);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bazar-eyebrow::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--accent-500, #ec4899);
}

.bazar-hero h1 {
    margin: 0;
    color: var(--bazar-ink);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.bazar-hero__content p {
    max-width: 36rem;
    margin: 0.85rem auto 0;
    color: var(--bazar-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.bazar-search {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) auto auto;
    align-items: center;
    width: min(100%, 52rem);
    min-height: 4rem;
    margin: 0 auto;
    padding: 0.4rem;
    border: 1px solid #f9a8d4;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(236, 72, 153, 0.12);
}

.bazar-search__field {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 0.65rem;
    padding: 0 0.8rem;
    color: #9ca3af;
}

.bazar-search svg,
.bazar-sort svg,
.bazar-category__icon svg {
    width: 1.75rem;
    height: 1.75rem;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bazar-search__field input {
    width: 100%;
    min-width: 0;
    padding: 0.85rem 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--bazar-ink);
    font: inherit;
    font-size: 1rem;
}

.bazar-search__field input::placeholder {
    color: #9ca3af;
}

.bazar-search__place {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.6rem;
    padding: 0 1rem;
    border-left: 1px solid var(--bazar-line);
    color: var(--bazar-muted);
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
}

.bazar-search__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 3.15rem;
    padding: 0 1.35rem;
    border: 0;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--accent-500, #ec4899), var(--accent-600, #db2777));
    color: #fff;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.bazar-search__button:hover {
    background: var(--accent-600, #db2777);
    box-shadow: 0 6px 16px rgba(219, 39, 119, 0.24);
    transform: translateY(-1px);
}

.bazar-categories {
    display: flex;
    gap: 0.65rem;
    margin: 1.25rem 0 2.75rem;
    padding: 0.25rem 0.1rem 0.7rem;
    overflow-x: auto;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}

.bazar-category {
    display: flex;
    flex: 0 0 7.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 8rem;
    padding: 0.85rem 0.55rem;
    border: 1px solid transparent;
    border-radius: 1.1rem;
    color: #4b5563;
    text-align: center;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.25;
    scroll-snap-align: start;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.bazar-category__icon {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: #fdf2f8;
    color: #e9348d;
    transition: background 0.18s ease, color 0.18s ease;
}

.bazar-category:hover,
.bazar-category.is-active {
    border-color: #fbcfe8;
    background: #fff7fb;
    color: var(--accent-600, #db2777);
}

.bazar-category:hover .bazar-category__icon,
.bazar-category.is-active .bazar-category__icon {
    background: #fce7f3;
    color: var(--accent-600, #db2777);
}

.bazar-content {
    min-width: 0;
}

.bazar-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.bazar-toolbar__eyebrow {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--accent-600, #db2777);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bazar-toolbar h2 {
    margin: 0;
    color: var(--bazar-ink);
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bazar-toolbar p {
    margin: 0.3rem 0 0;
    color: var(--bazar-muted);
    font-size: 0.85rem;
}

.bazar-sort {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 0.65rem;
    border: 1px solid var(--bazar-line);
    border-radius: 0.75rem;
    background: #fff;
    color: #6b7280;
}

.bazar-sort label {
    display: grid;
    place-items: center;
}

.bazar-sort select {
    padding: 0.55rem 1.5rem 0.55rem 0.5rem;
    border: 0;
    outline: 0;
    background: #fff;
    color: #374151;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.bazar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.85rem, 2vw, 1.25rem);
}

.bazar-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    overflow: visible;
    border: 1px solid var(--bazar-line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 5px 18px rgba(17, 24, 39, 0.05);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.bazar-card:hover {
    border-color: #f9a8d4;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1);
    transform: translateY(-2px);
}

.bazar-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: calc(1rem - 1px) calc(1rem - 1px) 0 0;
    background: linear-gradient(145deg, #fff7fb, #fce7f3);
}

.bazar-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bazar-card:hover .bazar-card__media img {
    transform: scale(1.025);
}

.bazar-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #fff7fb 0%, #fce7f3 55%, #fbcfe8 100%);
    color: var(--accent-400, #f472b6);
}

.bazar-card svg {
    width: auto;
    height: auto;
    max-width: 24px;
    max-height: 24px;
}

.bazar-card__placeholder svg,
.bazar-card__save svg,
.bazar-card__meta svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bazar-card__placeholder svg {
    width: 24px;
    height: 24px;
}

.bazar-card__condition {
    position: absolute;
    z-index: 2;
    left: 0.65rem;
    bottom: 0.65rem;
    padding: 0.3rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #374151;
    font-size: 0.65rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.08);
}

.bazar-card__save {
    position: absolute;
    z-index: 3;
    top: 0.65rem;
    right: 0.65rem;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid #fbcfe8;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #6b7280;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(17, 24, 39, 0.1);
    transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.bazar-card__save:hover,
.bazar-card__save.is-saved {
    background: var(--accent-500, #ec4899);
    color: #fff;
    transform: scale(1.05);
}

.bazar-card__save svg {
    width: 18px;
    height: 18px;
}

.bazar-card__save.is-saved svg {
    fill: currentColor;
}

.bazar-card__body {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.85rem 0.9rem 1rem;
    overflow: visible;
}

.bazar-card__category {
    display: block;
    color: var(--accent-600, #db2777);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.bazar-card__body h3 {
    margin: 0;
    color: var(--bazar-ink);
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.bazar-card__body h3 a {
    color: inherit;
    text-decoration: none;
}

.bazar-card__body h3 a:hover {
    color: var(--accent-600, #db2777);
}

.bazar-card__price {
    margin: 0.2rem 0 0;
    color: #111827;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.bazar-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 0.65rem;
    border-top: 1px solid #f3f4f6;
    color: var(--bazar-muted);
    font-size: 0.7rem;
}

.bazar-card__meta a,
.bazar-card__meta > span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 0.35rem;
    color: inherit;
    text-decoration: none;
}

.bazar-card__meta a:hover {
    color: var(--accent-600, #db2777);
}

.bazar-card__meta svg {
    width: 14px;
    height: 14px;
    flex: none;
}

.bazar-card__avatar {
    display: grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    flex: none;
    border-radius: 50%;
    background: #fce7f3;
    color: var(--accent-600, #db2777);
    font-size: 0.58rem;
    font-weight: 900;
}

.bazar-empty {
    grid-column: 1 / -1;
    padding: 4rem 1.5rem;
    border: 1px dashed #f9a8d4;
    border-radius: 1rem;
    background: #fff;
    text-align: center;
}

.bazar-empty__icon {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    background: #fce7f3;
    color: var(--accent-600, #db2777);
}

.bazar-empty h3 {
    margin: 0;
    color: var(--bazar-ink);
}

.bazar-empty p {
    margin: 0.45rem 0 1.1rem;
    color: var(--bazar-muted);
}

.bazar-empty a {
    display: inline-block;
    padding: 0.7rem 1rem;
    border-radius: 0.7rem;
    background: var(--accent-500, #ec4899);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.bazar-pagination {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.bazar-pagination a,
.bazar-pagination span {
    display: grid;
    place-items: center;
    min-width: 2.65rem;
    height: 2.65rem;
    padding: 0 0.5rem;
    border: 1px solid var(--bazar-line);
    border-radius: 0.7rem;
    background: #fff;
    color: #4b5563;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.bazar-pagination a:hover,
.bazar-pagination .is-active {
    border-color: var(--accent-500, #ec4899);
    background: var(--accent-500, #ec4899);
    color: #fff;
}

@media (max-width: 1100px) {
    .bazar-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .bazar-shell {
        width: min(100% - 1.25rem, 1200px);
        padding-top: 0.65rem;
    }

    .bazar-search {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .bazar-search__place {
        display: none;
    }

    .bazar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .bazar-hero {
        padding: 1.75rem 0.75rem 0.75rem;
    }

    .bazar-hero h1 {
        font-size: 2rem;
    }

    .bazar-search {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        padding: 0.45rem;
    }

    .bazar-search__button {
        width: 100%;
    }

    .bazar-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .bazar-grid {
        grid-template-columns: 1fr;
    }

    .bazar-card__media {
        aspect-ratio: 4 / 3;
    }
}

/* ——— Bazar 2026: marketplace landing ——— */
.page-bazar-listing {
    --market-pink: #e9348d;
    --market-pink-dark: #c81e70;
    --market-pink-soft: #fff0f7;
    --market-navy: #151827;
    --market-muted: #687083;
    --market-line: #e8eaf0;
    background: #f7f8fb;
}

.page-bazar-listing .bazar-page-main {
    width: 100%;
    overflow: visible;
}

.page-bazar-listing .bazar-shell {
    width: min(100% - 2rem, 1220px);
    margin: 0 auto;
    padding: 1.25rem 0 4.5rem;
}

.page-bazar-listing .bazar-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    min-height: 470px;
    padding: clamp(2.5rem, 6vw, 5.5rem);
    overflow: hidden;
    border: 0;
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.34), transparent 25%),
        linear-gradient(128deg, #171827 0%, #272039 58%, #4b2142 100%);
    box-shadow: 0 28px 70px rgba(21, 24, 39, 0.16);
}

.page-bazar-listing .bazar-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: auto auto -180px -120px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(233, 52, 141, 0.2);
    filter: blur(2px);
}

.page-bazar-listing .bazar-hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    right: -110px;
    bottom: -180px;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.bazar-hero__copy,
.bazar-hero__visual {
    position: relative;
    z-index: 2;
}

.page-bazar-listing .bazar-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffabd3;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-bazar-listing .bazar-eyebrow::before {
    display: none;
}

.page-bazar-listing .bazar-eyebrow > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5baa;
    box-shadow: 0 0 0 6px rgba(255, 91, 170, 0.13);
}

.page-bazar-listing .bazar-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.35rem, 5.2vw, 4.75rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1.02;
}

.page-bazar-listing .bazar-hero h1 em {
    color: #ff72b5;
    font-style: normal;
}

.page-bazar-listing .bazar-hero__copy > p {
    max-width: 610px;
    margin: 1.35rem 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.02rem;
    line-height: 1.7;
}

.bazar-hero__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.8rem;
    flex-wrap: wrap;
}

.bazar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 50px;
    padding: 0 1.15rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.bazar-cta:hover {
    transform: translateY(-2px);
}

.bazar-cta svg,
.bazar-search svg,
.bazar-trust svg,
.bazar-sell-banner svg,
.bazar-showcase svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bazar-cta--primary {
    background: linear-gradient(135deg, #f04499, #d8247d);
    color: #fff;
    box-shadow: 0 12px 28px rgba(233, 52, 141, 0.28);
}

.bazar-cta--primary:hover {
    color: #fff;
    box-shadow: 0 16px 34px rgba(233, 52, 141, 0.38);
}

.bazar-cta--secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.bazar-cta--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.bazar-hero__perks {
    display: flex;
    gap: 1rem 1.4rem;
    margin: 1.45rem 0 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.74rem;
    font-weight: 600;
}

.bazar-hero__perks li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.bazar-hero__perks span {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ff8fc4;
    font-size: 0.65rem;
}

.bazar-hero__visual {
    min-height: 330px;
}

.bazar-showcase {
    position: absolute;
    inset: 0 auto auto 50%;
    width: min(100%, 300px);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.3);
    transform: translateX(-50%) rotate(3deg);
}

.bazar-showcase__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px 10px;
}

.bazar-showcase__label {
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
    background: #fff0f7;
    color: #c81e70;
    font-size: 0.66rem;
    font-weight: 800;
}

.bazar-showcase__heart {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #f2d9e6;
    border-radius: 50%;
    color: #d8247d;
    font-size: 1.15rem;
}

.bazar-showcase__photo {
    display: grid;
    place-items: center;
    height: 190px;
    border-radius: 15px;
    background:
        radial-gradient(circle at 70% 22%, rgba(255, 255, 255, 0.65), transparent 24%),
        linear-gradient(145deg, #ffd9eb, #ffa9d1);
    color: rgba(168, 23, 94, 0.46);
}

.bazar-showcase__photo svg {
    width: 58px;
    height: 58px;
}

.bazar-showcase__info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 13px 5px 3px;
    color: #656b79;
    font-size: 0.7rem;
}

.bazar-showcase__info strong {
    color: #181b28;
    font-size: 0.95rem;
}

.bazar-floating {
    position: absolute;
    z-index: 3;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.93);
    color: #343745;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    font-size: 0.7rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.bazar-floating--views {
    top: 55px;
    left: -20px;
}

.bazar-floating--safe {
    right: -18px;
    bottom: 45px;
    color: #14715b;
}

.bazar-search-panel {
    position: relative;
    z-index: 5;
    width: min(92%, 1010px);
    margin: -34px auto 0;
}

.page-bazar-listing .bazar-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 185px auto;
    align-items: stretch;
    width: 100%;
    min-height: 76px;
    margin: 0;
    padding: 8px;
    border: 1px solid rgba(221, 224, 232, 0.85);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(20, 24, 39, 0.14);
}

.page-bazar-listing .bazar-search__field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0 1rem;
    color: #a1a6b2;
}

.bazar-search__field > span,
.bazar-search__place > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.bazar-search small {
    color: #9a9fac;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.page-bazar-listing .bazar-search__field input {
    width: 100%;
    min-width: 0;
    padding: 0.15rem 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1d202d;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
}

.page-bazar-listing .bazar-search__place {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0 1rem;
    border-left: 1px solid #eceef3;
    color: #9a9fac;
}

.bazar-search__place strong {
    color: #3f4350;
    font-size: 0.82rem;
}

.page-bazar-listing .bazar-search__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 160px;
    min-height: 60px;
    padding: 0 1.25rem;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #f04499, #d8247d);
    color: #fff;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(216, 36, 125, 0.22);
}

.bazar-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin: 3.5rem 0 1rem;
}

.bazar-section-heading > div > span {
    color: var(--market-pink-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.bazar-section-heading h2 {
    margin: 0.2rem 0 0;
    color: var(--market-navy);
    font-size: 1.7rem;
    letter-spacing: -0.035em;
}

.bazar-section-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #666d7b;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.bazar-section-heading > a span {
    color: var(--market-pink);
    font-size: 1rem;
}

.page-bazar-listing .bazar-categories {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0 0 2rem;
    padding: 0.2rem 0 0.8rem;
    overflow: visible;
}

.page-bazar-listing .bazar-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 136px;
    min-width: 0;
    padding: 0.9rem 0.55rem;
    border: 1px solid transparent;
    border-radius: 18px;
    background: transparent;
    color: #5f6675;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.page-bazar-listing .bazar-category__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #fdf2f8;
    color: #e9348d;
    box-shadow: 0 4px 14px rgba(21, 24, 39, 0.06);
}

.page-bazar-listing .bazar-category__icon svg {
    width: 30px;
    height: 30px;
}

.page-bazar-listing .bazar-categories-more {
    position: relative;
}

.page-bazar-listing .bazar-categories-more > summary {
    list-style: none;
}

.page-bazar-listing .bazar-categories-more > summary::-webkit-details-marker {
    display: none;
}

.page-bazar-listing .bazar-categories-more.is-active .bazar-category--more,
.page-bazar-listing .bazar-categories-more[open] .bazar-category--more {
    border-color: #f5c9df;
    background: #fff;
    color: var(--market-pink-dark, #c81e70);
}

.page-bazar-listing .bazar-categories-more.is-active .bazar-category--more .bazar-category__icon,
.page-bazar-listing .bazar-categories-more[open] .bazar-category--more .bazar-category__icon {
    background: linear-gradient(135deg, #f04499, #d8247d);
    color: #fff;
}

.page-bazar-listing .bazar-categories-panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    right: 0;
    width: min(420px, 92vw);
    max-height: min(420px, 70vh);
    overflow: auto;
    padding: 0.55rem;
    border: 1px solid #e8eaf0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(21, 24, 39, 0.14);
}

.page-bazar-listing .bazar-categories-panel__link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 46px;
    padding: 0.35rem 0.7rem;
    border-radius: 12px;
    color: #404655;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
}

.page-bazar-listing .bazar-categories-panel__link:hover,
.page-bazar-listing .bazar-categories-panel__link.is-active {
    background: #fff0f7;
    color: #c81e70;
}

.page-bazar-listing .bazar-categories-panel__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f7f8fb;
    color: #e9348d;
    flex: none;
}

.page-bazar-listing .bazar-categories-panel__icon svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 900px) {
    .page-bazar-listing .bazar-categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .page-bazar-listing .bazar-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.page-bazar-listing .bazar-category:hover,
.page-bazar-listing .bazar-category.is-active {
    border-color: #f5c9df;
    background: #fff;
    color: var(--market-pink-dark);
}

.page-bazar-listing .bazar-category:hover .bazar-category__icon,
.page-bazar-listing .bazar-category.is-active .bazar-category__icon {
    background: linear-gradient(135deg, #f04499, #d8247d);
    color: #fff;
}

.bazar-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 4rem;
    overflow: hidden;
    border: 1px solid var(--market-line);
    border-radius: 18px;
    background: #fff;
}

.bazar-trust > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.95rem;
    min-height: 112px;
    padding: 1.25rem 1.15rem;
}

.bazar-trust > div + div {
    border-left: 1px solid var(--market-line);
}

.bazar-trust__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 14px;
    background: var(--market-pink-soft);
    color: var(--market-pink-dark);
}

.bazar-trust__icon svg {
    width: 26px;
    height: 26px;
}

.bazar-trust p {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin: 0;
}

.bazar-trust strong {
    color: #292d3a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.bazar-trust p span {
    color: #8a909d;
    font-size: 0.82rem;
    line-height: 1.35;
}

.page-bazar-listing .bazar-toolbar {
    align-items: center;
    margin-bottom: 1.35rem;
}

.page-bazar-listing .bazar-toolbar__eyebrow {
    color: var(--market-pink-dark);
}

.page-bazar-listing .bazar-toolbar h2 {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.page-bazar-listing .bazar-sort {
    min-height: 46px;
    border-color: var(--market-line);
    border-radius: 12px;
}

.page-bazar-listing .bazar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.page-bazar-listing .bazar-card {
    overflow: hidden;
    border-color: var(--market-line);
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(21, 24, 39, 0.06);
}

.page-bazar-listing .bazar-card:hover {
    border-color: #efb6d2;
    box-shadow: 0 18px 42px rgba(21, 24, 39, 0.12);
    transform: translateY(-4px);
}

.page-bazar-listing .bazar-card__media {
    aspect-ratio: 4 / 3;
    border-radius: 0;
}

.page-bazar-listing .bazar-card__body {
    gap: 0.45rem;
    padding: 1rem 1.05rem 1.1rem;
}

.page-bazar-listing .bazar-card__category {
    color: var(--market-pink-dark);
}

.page-bazar-listing .bazar-card__body h3 {
    min-height: 2.8em;
    font-size: 1rem;
}

.page-bazar-listing .bazar-card__price {
    margin-top: 0.2rem;
    font-size: 1.35rem;
}

.page-bazar-listing .bazar-card__meta {
    margin-top: 0.4rem;
}

.bazar-sell-banner {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.2rem;
    margin-top: 4rem;
    padding: 2rem 2.2rem;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(125deg, #fff 0%, #fff0f7 100%);
    box-shadow: inset 0 0 0 1px #f7c9df;
}

.bazar-sell-banner::after {
    content: "";
    position: absolute;
    right: 15%;
    bottom: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(233, 52, 141, 0.08);
}

.bazar-sell-banner__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 17px;
    background: #fff;
    color: var(--market-pink-dark);
    box-shadow: 0 8px 22px rgba(216, 36, 125, 0.12);
}

.bazar-sell-banner__icon svg {
    width: 27px;
    height: 27px;
}

.bazar-sell-banner > div:nth-child(2) {
    position: relative;
    z-index: 2;
}

.bazar-sell-banner > div:nth-child(2) > span {
    color: var(--market-pink-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.bazar-sell-banner h2 {
    margin: 0.15rem 0 0;
    color: var(--market-navy);
    font-size: 1.55rem;
    letter-spacing: -0.035em;
}

.bazar-sell-banner p {
    margin: 0.35rem 0 0;
    color: var(--market-muted);
    font-size: 0.82rem;
}

.bazar-sell-banner > a {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0 1.1rem;
    border-radius: 12px;
    background: var(--market-navy);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 980px) {
    .page-bazar-listing .bazar-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .bazar-hero__visual {
        display: none;
    }

    .page-bazar-listing .bazar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .page-bazar-listing .bazar-shell {
        width: min(100% - 1rem, 1220px);
        padding-top: 0.6rem;
    }

    .page-bazar-listing .bazar-hero {
        padding: 2.3rem 1.25rem 4.2rem;
        border-radius: 20px;
    }

    .page-bazar-listing .bazar-hero h1 {
        font-size: clamp(2.15rem, 10vw, 3.2rem);
    }

    .bazar-search-panel {
        width: calc(100% - 1.2rem);
        margin-top: -38px;
    }

    .page-bazar-listing .bazar-search {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 68px;
    }

    .page-bazar-listing .bazar-search__place {
        display: none;
    }

    .page-bazar-listing .bazar-search__button {
        min-width: 58px;
        padding: 0;
    }

    .page-bazar-listing .bazar-search__button span {
        display: none;
    }

    .bazar-trust {
        grid-template-columns: 1fr;
    }

    .bazar-trust > div {
        justify-content: flex-start;
        min-height: 78px;
        padding-left: 1.25rem;
    }

    .bazar-trust > div + div {
        border-top: 1px solid var(--market-line);
        border-left: 0;
    }

    .bazar-sell-banner {
        grid-template-columns: auto 1fr;
        padding: 1.5rem;
    }

    .bazar-sell-banner > a {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .bazar-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .bazar-cta {
        width: 100%;
    }

    .bazar-hero__perks {
        gap: 0.7rem;
    }

    .bazar-section-heading {
        align-items: flex-start;
    }

    .bazar-section-heading > a {
        display: none;
    }

    .page-bazar-listing .bazar-grid {
        grid-template-columns: 1fr;
    }

    .page-bazar-listing .bazar-card__media {
        aspect-ratio: 16 / 10;
    }

    .bazar-sell-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bazar-sell-banner__icon {
        margin: 0 auto;
    }
}
