.cr-seller-profile--giftya .cr-seller-profile__layout {
    display: grid;
    grid-template-columns: minmax(240px, 300px) 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 1.5rem;
}

.cr-seller-profile__sidebar {
    position: sticky;
    top: 1.5rem;
    padding: 1.25rem;
    border: 1px solid var(--cr-border, #e5e7eb);
    border-radius: 12px;
    background: #fff;
}

.cr-seller-profile__logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: #f8fafc;
    overflow: hidden;
}

.cr-seller-profile__logo-box img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.cr-seller-logo__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: #0f172a;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}

.cr-seller-profile__trustpilot {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    background: var(--cr-surface-alt, #f4f6f8);
    border-radius: 8px;
    font-size: 0.9rem;
}
.cr-seller-profile__trustpilot-heading {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cr-muted, #64748b);
}
.cr-seller-profile__trustpilot-score a {
    font-weight: 600;
    color: inherit;
    text-decoration: none;
}
.cr-seller-profile__trustpilot-score a:hover {
    text-decoration: underline;
}
.cr-seller-profile__trustpilot-label {
    margin-left: 0.35rem;
    font-weight: 500;
}
.cr-seller-profile__trustpilot-meta a {
    color: var(--cr-muted, #64748b);
    font-size: 0.85rem;
}
.cr-seller-profile__stars {
    font-size: 0.9rem;
    margin: 0 0 1rem;
    line-height: 1.4;
}

.cr-seller-profile__stars-visual {
    color: #f59e0b;
    letter-spacing: 0.05em;
}

.cr-seller-profile__trust-block {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
}

.cr-seller-profile__score {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.cr-seller-profile__caution {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.cr-seller-profile__payout {
    margin: 0 0 1rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    background: #ecfdf5;
    color: #065f46;
    font-size: 0.95rem;
}

.cr-seller-profile__region {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cr-badge--worldwide {
    display: inline-block;
    margin-right: 0.35rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1e40af;
    font-size: 0.75rem;
    font-weight: 600;
}

.cr-seller-profile__sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cr-btn--block {
    display: block;
    text-align: center;
    width: 100%;
}

.cr-seller-profile__main h1 {
    margin-top: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.cr-seller-profile__support-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cr-seller-profile__support-list li + li {
    margin-top: 0.35rem;
}

/* Related sellers carousel (Trustpilot-style horizontal boxes) */
.cr-seller-profile .cr-related-sellers {
    --cr-star-good: #00b67a;
    --cr-star-mid: #f59e0b;
    --cr-star-low: #94a3b8;
    --cr-related-card-width: 228px;
    --cr-related-gap: 16px;
    margin-top: 2.5rem;
    padding-bottom: 2rem;
}

.cr-related-sellers__inner {
    width: min(100% - 2rem, var(--cr-container, 1200px));
    margin-inline: auto;
}

.cr-related-sellers__header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.cr-related-sellers__title-wrap {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cr-related-sellers__title {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25;
    color: #0f172a;
    width: auto;
    max-width: none;
    display: inline;
    white-space: nowrap;
}

.cr-related-sellers__info {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
}

.cr-related-sellers__nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cr-related-sellers__btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    background: #fff;
    color: #94a3b8;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.cr-related-sellers__btn-icon {
    display: block;
    flex-shrink: 0;
}

.cr-related-sellers__btn--next:not(:disabled) {
    border-color: #2563eb;
    color: #2563eb;
}

.cr-related-sellers__btn:hover:not(:disabled) {
    background: #f8fafc;
}

.cr-related-sellers__btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    border-color: #e2e8f0;
    color: #cbd5e1;
}

.cr-related-sellers__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--cr-related-card-width);
    gap: var(--cr-related-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 8px;
}

.cr-related-sellers__track::-webkit-scrollbar {
    display: none;
}

.cr-related-sellers__track > .cr-related-seller-card {
    display: block;
    width: var(--cr-related-card-width);
    min-width: var(--cr-related-card-width);
    max-width: var(--cr-related-card-width);
    scroll-snap-align: start;
    margin: 0;
}

.cr-related-seller-card__box {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    min-height: 200px;
    height: 100%;
    padding: 16px;
    border: 1px solid #dcdfe4;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cr-related-seller-card__box:hover {
    border-color: #b8c0cc;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.cr-related-seller-card__logo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
    margin-bottom: 12px;
}

.cr-related-seller-card__logo img,
.cr-related-seller-card__logo .cr-seller-logo__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cr-related-seller-card__logo .cr-seller-logo__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 8px;
}

.cr-related-seller-card__logo .cr-seller-logo__domain {
    display: none;
}

.cr-related-seller-card__name {
    margin: 0;
    padding: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    width: auto;
    max-width: 100%;
}

.cr-related-seller-card__domain {
    margin: 4px 0 0;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.4;
    color: #6b7280;
}

.cr-related-seller-card__rating {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    width: 100%;
    font-size: 0.8125rem;
    white-space: nowrap;
}

.cr-related-seller-card__score {
    font-weight: 600;
    color: #0f172a;
}

.cr-related-seller-card__reviews {
    color: #6b7280;
    font-weight: 400;
}

.cr-related-sellers .cr-star-rating__star {
    width: 16px;
    height: 16px;
}

@media (max-width: 639px) {
    .cr-seller-profile .cr-related-sellers {
        --cr-related-card-width: min(228px, 78vw);
    }
}

@media (min-width: 1024px) {
    .cr-seller-profile .cr-related-sellers {
        --cr-related-gap: 16px;
    }

    .cr-related-sellers__track {
        grid-auto-columns: calc((100% - (3 * var(--cr-related-gap))) / 4);
    }

    .cr-related-sellers__track > .cr-related-seller-card {
        width: 100%;
        min-width: 0;
        max-width: none;
    }
}

.cr-star-rating {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.cr-star-rating__star {
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.cr-star-rating--good .cr-star-rating__star--full,
.cr-star-rating--good .cr-star-rating__star--half {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300b67a'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 22 12 18.27 5.82 22 7 14.14l-5-4.87 6.91-1.01z'/%3E%3C/svg%3E");
}

.cr-star-rating--mid .cr-star-rating__star--full,
.cr-star-rating--mid .cr-star-rating__star--half {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 22 12 18.27 5.82 22 7 14.14l-5-4.87 6.91-1.01z'/%3E%3C/svg%3E");
}

.cr-star-rating--low .cr-star-rating__star--full,
.cr-star-rating--low .cr-star-rating__star--half {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 22 12 18.27 5.82 22 7 14.14l-5-4.87 6.91-1.01z'/%3E%3C/svg%3E");
}

.cr-star-rating__star--half {
    opacity: 0.55;
}

.cr-star-rating__star--empty {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e2e8f0'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 22 12 18.27 5.82 22 7 14.14l-5-4.87 6.91-1.01z'/%3E%3C/svg%3E");
}

.cr-seller-profile__safety {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--cr-border, #e5e7eb);
}

.cr-seller-profile__safety h2 {
    margin-bottom: 1.25rem;
}

.cr-seller-profile__safety-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.cr-seller-profile__safety-item {
    padding: 1rem;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 0.9rem;
}

.cr-seller-profile__safety-icon {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    background: #0f172a;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.cr-seller-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--cr-border, #e5e7eb);
    border-radius: 12px;
    background: #fff;
}

.cr-seller-card__head {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.cr-seller-card__logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f1f5f9;
    overflow: hidden;
}

.cr-seller-card__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cr-seller-card__meta {
    flex: 1;
    min-width: 0;
}

.cr-seller-card__meta h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.cr-seller-card__rating {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.cr-seller-card__trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cr-seller-card__payout {
    font-size: 0.85rem;
    margin: 0;
    color: #065f46;
    font-weight: 600;
}

.cr-seller-card__region {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.cr-sellers-archive__filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    padding-bottom: 0.35rem;
    margin: 1.5rem 0;
}

.cr-sellers-archive__filter {
    flex-shrink: 0;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    font-size: 0.85rem;
    text-decoration: none;
    color: inherit;
}

.cr-sellers-archive__filter.is-active,
.cr-sellers-archive__filter:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.cr-sellers-archive__legend {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

@media (max-width: 1023px) {
    .cr-seller-profile--giftya .cr-seller-profile__layout {
        grid-template-columns: 1fr;
    }

    .cr-seller-profile__sidebar {
        position: static;
    }

    .cr-seller-profile__safety-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cr-seller-profile__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cr-seller-profile__cta-row {
        flex-direction: column;
        width: 100%;
    }

    .cr-seller-profile__cta-row .cr-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 639px) {
    .cr-seller-profile__safety-grid {
        grid-template-columns: 1fr;
    }

    .cr-nearby-countries {
        grid-template-columns: 1fr;
    }
}

.cr-nearby-countries {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
}

.cr-nearby-country-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    border: 1px solid var(--cr-border, #e5e7eb);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background: #fff;
}

.cr-nearby-country-card:hover {
    border-color: #0f172a;
}

.cr-nearby-country-card span {
    font-size: 0.8rem;
    color: #64748b;
}

.cr-location-block__meta {
    font-size: 0.85rem;
    margin: 0 0 0.5rem;
}

.cr-local-links--rich {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}

.cr-local-links--rich a {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.85rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
}

.cr-local-links--rich a span {
    font-size: 0.8rem;
    color: #64748b;
}

.cr-scam-strip--rich .cr-scam-alert {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    min-width: 200px;
}

.cr-scam-alert__meta {
    font-size: 0.75rem;
    opacity: 0.85;
}

.cr-section__desc--center {
    text-align: center;
    margin: -0.5rem auto 1.25rem;
    max-width: 520px;
    color: #64748b;
}
