/* ============================================
   Footer Styles
   ============================================ */

/* Footer Base */
.site-footer {
    background: #fafafa;
    border-top: 1px solid var(--border);
    margin-top: 0;
    padding: 36px 0 20px 0;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    margin-bottom: 14px;
}

.footer-legal-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: var(--primary) !important;
}

/* Business Info */
.footer-business-info {
    margin-bottom: 22px;
}

.footer-business-info-content {
    color: #888;
    font-size: var(--font-size-xs);
    line-height: 1.8;
}

.footer-business-info-content p {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    margin: 0;
    word-break: keep-all;
}

.footer-info-item {
    display: inline-flex;
    gap: 4px;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
}

.footer-info-label {
    flex: 0 0 auto;
    font-weight: 400;
    color: var(--text);
}

.footer-info-value {
    color: var(--text-light);
}

.footer-info-separator {
    margin: 0 8px;
    color: #ddd;
}

.footer-business-info a,
.footer-business-info a[x-apple-data-detectors] {
    color: inherit !important;
    cursor: text;
    text-decoration: none !important;
    pointer-events: none;
}

/* Copyright */
.footer-copyright {
    text-align: right;
    padding: 16px 0 0;
    border-top: 1px solid var(--border);
}

.footer-copyright p {
    color: var(--text-light);
    font-size: var(--font-size-sm);
    margin: 0;
}

@media (max-width: 575px) {
    .site-footer {
        padding-top: 28px;
    }

    .footer-legal-links {
        gap: 8px 14px;
    }

    .footer-business-info-content p {
        flex-direction: column;
        gap: 4px;
        line-height: 1.65;
    }

    .footer-info-separator {
        display: none;
    }

    .footer-copyright {
        text-align: center;
    }
}

/* ============================================
   Messages Modal
   ============================================ */

.messages-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.messages-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    height: 80vh;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.messages-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.messages-modal-header h2 {
    margin: 0;
    font-size: var(--font-size-xl);
}

.messages-modal-close {
    background: none;
    border: none;
    font-size: var(--font-size-3xl);
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

.messages-modal-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.conversations-list {
    width: 320px;
    border-right: 1px solid var(--border);
    overflow-y: auto;
}

.conversations-container {
    padding: 12px;
}

.conversations-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.conversations-placeholder-icon {
    font-size: var(--font-size-5xl);
    margin-bottom: 12px;
}

.conversation-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.conversation-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-light);
}

.conversation-placeholder-content {
    text-align: center;
}

.conversation-placeholder-icon {
    font-size: var(--font-size-6xl);
    margin-bottom: 16px;
}

.conversation-messages-area {
    display: none;
    flex: 1;
    flex-direction: column;
}

.conversation-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.conversation-title {
    font-weight: 600;
    font-size: var(--font-size-base);
}

.conversation-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin-top: 4px;
}

.conversation-messages-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.conversation-input-area {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
}

.conversation-input-area input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 24px;
    outline: none;
}

.conversation-input-area button {
    border-radius: 24px;
    padding: 10px 24px;
}

/* ============================================
   Permission Request Modal
   ============================================ */

.permission-modal {
    display: none;
}

.permission-modal-content {
    text-align: center;
    padding: 40px;
}

.permission-modal-icon {
    font-size: var(--font-size-6xl);
    margin-bottom: 20px;
}

.permission-modal-content h2 {
    margin-bottom: 12px;
}

.permission-modal-description {
    color: #666;
    margin-bottom: 24px;
}

/* ============================================
   Floating Chatbot
   ============================================ */

.botari-help-float {
    position: fixed;
    right: 16px;
    top: 104px;
    bottom: auto;
    z-index: 10020;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 72px;
    min-width: 72px;
    height: 82px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: #111;
    text-decoration: none;
    text-shadow: none;
    box-shadow: none;
    transition: none;
    overflow: visible;
    white-space: nowrap;
}

body.admin-bar .botari-help-float {
    top: 136px;
}

.botari-help-float::after {
    display: none;
}

.botari-help-float__bubble {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #111;
    font-size: var(--font-size-2xl);
    font-weight: 900;
    letter-spacing: -.05em;
    transition: none;
}

.botari-help-float__icon {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.botari-help-float__label {
    color: #111;
    font-size: var(--font-size-xs);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
}

.botari-help-float__copy {
    display: none;
}

.botari-help-float:hover,
.botari-help-float:focus-visible,
.botari-help-float.is-expanded {
    width: 72px;
    min-width: 72px;
    padding: 0;
    box-shadow: none;
    transform: none;
    background: none;
}

.botari-help-float:hover .botari-help-float__bubble,
.botari-help-float:focus-visible .botari-help-float__bubble,
.botari-help-float.is-expanded .botari-help-float__bubble {
    width: 58px;
    min-width: 58px;
    opacity: 1;
    overflow: visible;
}

.botari-help-float:hover .botari-help-float__copy,
.botari-help-float:focus-visible .botari-help-float__copy,
.botari-help-float.is-expanded .botari-help-float__copy {
    display: none;
}

@keyframes botari-help-shine {
    0%, 48% { transform: translateX(-120%) rotate(8deg); }
    68%, 100% { transform: translateX(120%) rotate(8deg); }
}

#floating-chatbot-container {
    position: fixed;
    bottom: 62px;
    right: 16px;
    width: 72px;
    height: 82px;
    z-index: 9998;
}

.chatbot-float-btn {
    width: 72px;
    height: 82px;
    padding: 0;
    border-radius: 0;
    background: none;
    border: 0;
    box-shadow: none;
    color: #111;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: none;
    position: relative;
    overflow: visible;
    white-space: nowrap;
}

.chatbot-float-btn:hover {
    transform: none;
    box-shadow: none;
    background: none;
}

.chatbot-icon,
.chatbot-close-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    min-width: 58px;
    font-size: var(--font-size-2xl);
    line-height: 1;
    position: static;
    transition: none;
}

.chatbot-float-btn:not(.is-open) .chatbot-close-icon,
.chatbot-close-icon.bt-hidden {
    display: none !important;
}

.chatbot-float-btn.is-open .chatbot-icon {
    display: none !important;
}

.chatbot-icon-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.chatbot-label {
    display: block;
    color: #f8384b;
    font-size: var(--font-size-xs);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
}

.chatbot-float-btn.is-open .chatbot-label {
    display: none;
}

.chatbot-window {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    animation: slideUp 0.3s ease;
}
.chatbot-window.is-open {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-window-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 16px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.chatbot-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-avatar {
    font-size: var(--font-size-2xl);
}

.chatbot-title {
    font-weight: 600;
    font-size: var(--font-size-base);
}

.chatbot-status {
    font-size: var(--font-size-xs);
    opacity: 0.9;
}

.chatbot-minimize-btn {
    background: none;
    border: none;
    color: white;
    font-size: var(--font-size-xl);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background 0.2s;
}

.chatbot-minimize-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chatbot-message {
    display: flex;
    gap: 8px;
    animation: fadeIn 0.3s ease;
}

.chatbot-message.user {
    flex-direction: row-reverse;
}

.chatbot-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

.chatbot-msg-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 14px;
    line-height: 1.4;
    font-size: var(--font-size-sm);
    word-wrap: break-word;
}

.chatbot-message.bot .chatbot-msg-bubble {
    background: white;
    color: #333;
    border-bottom-left-radius: 4px;
}

.chatbot-message.user .chatbot-msg-bubble {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chatbot-typing {
    display: flex;
    gap: 8px;
}

.chatbot-typing-dots {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: white;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
}

.chatbot-typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #999;
    animation: typing 1.4s infinite;
}

.chatbot-typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.chatbot-typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-8px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-input-area {
    padding: 12px;
    background: white;
    border-top: 1px solid #e1e4e8;
    display: flex;
    gap: 8px;
    border-radius: 0 0 16px 16px;
}

.chatbot-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e1e4e8;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    outline: none;
}

.chatbot-input:focus {
    border-color: var(--primary);
}

.chatbot-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: transform 0.2s;
}

.chatbot-send-btn:hover {
    transform: scale(1.1);
}

.chatbot-send-btn:active {
    transform: scale(0.95);
}

/* Scrollbar */
.chatbot-messages::-webkit-scrollbar {
    width: 5px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    /* Messages Modal */
    .messages-modal-content {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        border-radius: 0 !important;
    }

    /* Chatbot */
    .chatbot-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 120px);
        bottom: 80px;
        right: 20px;
        left: 20px;
    }

    #floating-chatbot-container {
        bottom: 54px;
        right: 8px;
        width: 72px;
        height: 82px;
    }

    .botari-help-float {
        top: 104px;
        right: 8px;
        bottom: auto;
        width: 72px;
        min-width: 72px;
        height: 82px;
        padding: 0;
    }

    body.admin-bar .botari-help-float {
        top: 150px;
    }

    .botari-help-float__bubble {
        width: 58px;
        height: 58px;
        min-width: 58px;
        font-size: var(--font-size-2xl);
    }

    .botari-help-float__copy {
        display: none;
    }

    .botari-help-float.is-expanded {
        width: 72px;
        min-width: 72px;
        padding: 0;
    }

    .botari-help-float.is-expanded .botari-help-float__copy {
        display: none;
    }

}

/* ============================================
   Help request page
   ============================================ */

.home-products-slider,
.home-people-slider,
.card-grid-netflix {
    overflow-y: visible !important;
    margin: -48px -16px 0 !important;
    padding: 48px 16px !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 16px !important;
    overscroll-behavior-x: auto !important;
    overscroll-behavior-y: auto;
    touch-action: auto !important;
}

@media (max-width: 767px) {
    .home-products-slider,
    .home-people-slider,
    .card-grid-netflix {
        margin: -48px -16px 0 !important;
        padding: 48px 16px !important;
    }

    .home-products-slider {
        padding-top: 48px !important;
    }
}

@media (min-width: 768px) {
    .home-products-slider,
    .home-people-slider,
    .card-grid-netflix {
        margin: -48px -16px 0 !important;
        padding: 48px 16px !important;
    }
}


/* Home horizontal rails: align snap to the section-body inset. */
.home-products-slider,
.home-products-slider.swiper,
.home-people-slider,
.home-people-slider.swiper,
.home-news-swiper.is-fallback .swiper-wrapper,
.home-products-slider.swiper > .swiper-wrapper,
.home-people-slider.swiper > .swiper-wrapper,
.home-top10-scroll,
.card-grid-netflix {
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 16px !important;
    overscroll-behavior-x: auto !important;
    touch-action: auto !important;
}

.home-products-slider .swiper-slide,
.home-people-slider .swiper-slide,
.home-news-swiper.is-fallback .swiper-slide,
.home-top10-card,
.home-person-card,
.home-product-tile,
.card-grid-netflix > * {
    scroll-snap-align: start !important;
    scroll-margin-left: 16px !important;
    scroll-snap-stop: normal !important;
}

.home-products-slider.swiper,
.home-people-slider.swiper {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
}

.home-products-slider.swiper::-webkit-scrollbar,
.home-people-slider.swiper::-webkit-scrollbar {
    display: none !important;
}

.home-products-slider.swiper .swiper-wrapper,
.home-people-slider.swiper .swiper-wrapper {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
}

.home-products-slider.swiper .swiper-slide,
.home-people-slider.swiper .swiper-slide {
    flex: 0 0 auto !important;
}

@media (min-width: 768px) {
    .home-products-slider.swiper .swiper-wrapper,
    .home-people-slider.swiper .swiper-wrapper {
        gap: 14px !important;
    }
}

.botari-help-register-page {
    min-height: 72vh;
    padding: 96px 20px 72px;
    background: var(--bg-light);
}

body.admin-bar.botari-help-register-route {
    padding-top: 64px;
}

@media screen and (max-width: 782px) {
    body.admin-bar.botari-help-register-route {
        padding-top: 56px;
    }
}

.botari-help-register {
    max-width: 1040px;
    margin: 0 auto;
}

.botari-help-register__hero {
    max-width: 760px;
    margin: 0 auto 26px;
    text-align: center;
}

.botari-help-register__card {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

.botari-help-register__content {
    display: grid;
    gap: 34px;
}

.botari-help-register__eyebrow {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: var(--bt-font-size-small);
    font-weight: var(--bt-font-weight-bold);
    letter-spacing: .12em;
    text-transform: lowercase;
}

.botari-help-register h1 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: var(--bt-font-size-display);
    line-height: 1.16;
}

.botari-help-register__lead {
    margin: 0;
    color: var(--text-light);
    font-size: var(--bt-font-size-body);
    line-height: 1.7;
}

.botari-help-register__form {
    display: grid;
    gap: 18px;
}

.botari-help-register__form label {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-weight: var(--bt-font-weight-bold);
}

.botari-help-register__form small {
    color: var(--text-light);
    font-weight: var(--bt-font-weight-medium);
}

.botari-help-register__form input,
.botari-help-register__form select,
.botari-help-register__form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    background: var(--bg);
    color: var(--text);
    font: inherit;
}

.botari-help-register__form input:focus,
.botari-help-register__form select:focus,
.botari-help-register__form textarea:focus {
    outline: 3px solid rgba(248, 56, 75, .14);
    border-color: var(--primary);
}

.botari-help-register__form button {
    justify-self: start;
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 14px 24px;
    background: var(--primary);
    color: #fff;
    font-weight: var(--bt-font-weight-bold);
    cursor: pointer;
    box-shadow: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.botari-help-register__form button:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.botari-help-register__form button:disabled {
    background: var(--text-lighter);
    border-color: var(--text-lighter);
    cursor: not-allowed;
    transform: none;
}

.botari-help-list {
    display: grid;
    gap: 18px;
    margin-top: 0;
}

.botari-help-list__header {
    padding: 0 6px;
    text-align: left;
}

.botari-help-list__header h2 {
    margin: 0;
    color: var(--text);
    font-size: var(--bt-font-size-title);
}

.botari-help-list__empty,
.botari-help-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

.botari-help-list__empty {
    padding: 28px;
    color: var(--text-light);
    font-weight: var(--bt-font-weight-bold);
    text-align: center;
}

.botari-help-card {
    padding: 24px;
}

.botari-help-card__header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
}

.botari-help-card__meta {
    display: grid;
    gap: 3px;
    margin: 0;
    color: var(--text-light);
    font-size: var(--bt-font-size-small);
    font-weight: var(--bt-font-weight-normal);
    line-height: 1.35;
    text-align: right;
}

.botari-help-card__meta a {
    color: var(--text);
    text-decoration: none;
}

.botari-help-card__meta a:hover {
    color: var(--primary);
}

.botari-help-card__meta-date {
    color: var(--text-lighter);
    font-weight: var(--bt-font-weight-normal);
}

.botari-help-card h2 {
    margin: 0;
    color: var(--text);
    font-size: var(--bt-font-size-title);
    line-height: 1.25;
}

.botari-help-card__header-action {
    flex: 0 0 auto;
}

.botari-help-card__header-action form {
    margin: 0;
}

.botari-help-card__assist-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 18px;
    background: var(--bg);
    color: var(--text);
    font-size: var(--bt-font-size-small);
    font-weight: var(--bt-font-weight-bold);
    line-height: 1.2;
}

.botari-help-card__assist-state--disabled {
    opacity: .54;
}

.botari-help-card__status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 11px;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: var(--bt-font-size-small);
    font-weight: var(--bt-font-weight-normal);
    line-height: 1.2;
    white-space: nowrap;
}

.botari-help-card__status-badge--matched {
    border-color: rgba(248, 56, 75, .24);
    background: rgba(248, 56, 75, .08);
    color: var(--primary);
}

.botari-help-card__content {
    margin-top: 16px;
    color: var(--text);
    line-height: 1.72;
}

.botari-help-card__content p {
    margin: 0 0 10px;
}

.botari-help-card__product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-light);
}

.botari-help-card__product-label {
    margin: 0 0 4px;
    color: var(--primary);
    font-size: var(--bt-font-size-small);
    font-weight: var(--bt-font-weight-bold);
}

.botari-help-card__product h3 {
    margin: 0;
    color: var(--text);
    font-size: var(--bt-font-size-body);
    line-height: 1.35;
}

.botari-help-card__product-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.botari-help-card__product-link,
.botari-help-card__product-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-size: var(--bt-font-size-small);
    font-weight: var(--bt-font-weight-bold);
    text-decoration: none;
}

.botari-help-card__product-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.botari-help-card__product-link--primary {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.botari-help-card__product-link--primary:hover {
    border-color: var(--primary-dark);
    background: var(--primary-dark);
    color: #fff;
}

.botari-help-card__product-note {
    color: var(--text-light);
}

.botari-help-card__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.botari-help-card__offer,
.botari-help-comments__form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    font-size: var(--bt-font-size-small);
    font-weight: var(--bt-font-weight-bold);
    line-height: 1.2;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.botari-help-card__offer:hover,
.botari-help-comments__form button:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.botari-help-card__offer {
    padding: 10px 18px;
}

.botari-help-card__helper {
    margin: 0;
    color: var(--primary);
    font-weight: var(--bt-font-weight-bold);
}

.botari-help-comments {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.botari-help-comments h3 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: var(--bt-font-size-body);
}

.botari-help-comments__list {
    display: grid;
    gap: 12px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.botari-help-comments__item {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
}

.botari-help-comments__item--mine {
    justify-content: flex-end;
}

.botari-help-comments__item--others {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.botari-help-comments__body {
    min-width: 0;
    max-width: 65%;
    padding: 12px 16px;
    border-radius: 18px;
    background: var(--bg);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.botari-help-comments__item--mine .botari-help-comments__body {
    border-bottom-right-radius: 4px;
    background: var(--primary);
    color: #fff;
}

.botari-help-comments__item--others .botari-help-comments__body {
    border-bottom-left-radius: 4px;
}

.botari-help-comments__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--border);
}

.botari-help-comments__avatar img,
.botari-help-comments__avatar .avatar {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.botari-help-comments__meta {
    margin: 0 0 4px;
    color: var(--text-light);
    font-size: var(--bt-font-size-small);
}

.botari-help-comments__meta span {
    margin-left: 6px;
    color: var(--text-lighter);
}

.botari-help-comments__item--mine .botari-help-comments__meta,
.botari-help-comments__item--mine .botari-help-comments__meta span,
.botari-help-comments__item--mine .botari-help-comments__text,
.botari-help-comments__item--mine .botari-help-comments__like-count {
    color: rgba(255, 255, 255, .86);
}

.botari-help-comments__text {
    color: var(--text);
    line-height: 1.65;
}

.botari-help-comments__text p {
    margin: 0 0 8px;
}

.botari-help-comments__like-form {
    margin-top: 8px;
}

.botari-help-comments__like {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 10px;
    background: var(--bg);
    color: var(--text-light);
    cursor: pointer;
    font: inherit;
    font-size: var(--bt-font-size-small);
    font-weight: var(--bt-font-weight-bold);
    line-height: 1.2;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.botari-help-comments__like:hover,
.botari-help-comments__like.is-active {
    border-color: var(--primary);
    background: rgba(248, 56, 75, .08);
    color: var(--primary);
}

.botari-help-comments__like:disabled,
.botari-help-comments__like.is-loading {
    cursor: wait;
    opacity: .7;
}

.botari-help-comments__like-count {
    margin: 8px 0 0;
    color: var(--text-light);
    font-size: var(--bt-font-size-small);
    font-weight: var(--bt-font-weight-bold);
}

.botari-help-comments__empty {
    margin: 0 0 14px;
    color: var(--text-light);
    font-weight: var(--bt-font-weight-bold);
}

.botari-help-comments__form {
    display: grid;
    gap: 10px;
}

.botari-help-comments__form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    background: var(--bg);
    color: var(--text);
    font: inherit;
}

.botari-help-comments__form textarea:focus {
    outline: 3px solid rgba(248, 56, 75, .14);
    border-color: var(--primary);
}

.botari-help-comments__form button {
    justify-self: start;
    padding: 10px 16px;
}

.botari-help-register__success,
.botari-help-register__error {
    border-radius: 8px;
    padding: 16px;
    font-weight: var(--bt-font-weight-bold);
}

.botari-help-register__success {
    background: #ecfdf5;
    color: #047857;
}

.botari-help-register__error {
    margin-bottom: 16px;
    background: #fef2f2;
    color: #b91c1c;
}

@media (max-width: 768px) {
    .botari-help-register-page {
        padding: 96px 14px 56px;
    }

    .botari-help-register__hero {
        margin-bottom: 20px;
        text-align: left;
    }

    .botari-help-register__card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .botari-help-register__content {
        gap: 26px;
    }

    .botari-help-register__form button {
        width: 100%;
    }

    .botari-help-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .botari-help-comments__body {
        max-width: 80%;
    }

    .botari-help-comments__avatar {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .botari-help-comments__avatar img,
    .botari-help-comments__avatar .avatar {
        width: 40px;
        height: 40px;
    }

    .botari-help-card__header {
        display: grid;
    }

    .botari-help-card__header-action {
        justify-self: start;
    }

    .botari-help-card__product {
        align-items: stretch;
        flex-direction: column;
    }

    .botari-help-card__product-actions {
        justify-content: stretch;
    }

    .botari-help-card__product-link,
    .botari-help-card__product-note {
        width: 100%;
    }

    .botari-help-card__offer,
    .botari-help-comments__form button {
        width: 100%;
    }
}


.botari-help-card {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.botari-help-card:hover,
.botari-help-card:focus-visible {
    border-color: rgba(248, 56, 75, .34);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.botari-help-card:focus-visible {
    outline: 3px solid rgba(248, 56, 75, .16);
    outline-offset: 2px;
}

.botari-help-card__summary {
    min-width: 0;
}

.botari-help-card__title-wrap {
    min-width: 0;
}

.botari-help-card__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: var(--bt-font-size-small);
    font-weight: var(--bt-font-weight-normal);
    text-align: center;
}

.botari-help-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.botari-help-card__thumb--placeholder {
    border: 1px solid var(--border);
    background: linear-gradient(135deg, #fff 0%, #f7f7f8 100%);
}

.botari-help-card__header {
    align-items: flex-start;
}

.botari-help-card__header-action {
    position: relative;
    z-index: 2;
}

.botari-help-card__excerpt {
    display: -webkit-box;
    min-height: calc(var(--bt-font-size-body) * 1.55 * 2);
    margin: 10px 0 0;
    overflow: hidden;
    color: var(--text-light);
    font-size: var(--bt-font-size-body);
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.botari-help-card__conversation {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 30px;
    color: var(--text-light);
    font-size: var(--bt-font-size-small);
    line-height: 1.35;
}

.botari-help-card__conversation-avatar {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--border);
}

.botari-help-card__conversation-avatar img,
.botari-help-card__conversation-avatar .avatar {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.botari-help-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
}

.botari-help-modal-open,
.botari-help-modal-open body {
    overflow: hidden;
}

.botari-help-modal[hidden] {
    display: none;
}

.botari-help-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 28px 16px;
}

.botari-help-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .46);
    backdrop-filter: blur(8px);
}

.botari-help-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(82vh, 820px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 18px;
    padding: 26px;
    background: var(--bg);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .22);
}

.botari-help-modal__close {
    position: sticky;
    top: 0;
    float: right;
    z-index: 2;
    width: 36px;
    height: 36px;
    margin: -8px -8px 8px 12px;
    border: 0;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text);
    cursor: pointer;
    font-size: 24px;
    font-weight: var(--bt-font-weight-normal);
    line-height: 1;
}

.botari-help-modal__header {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding-right: 36px;
}

.botari-help-modal__header h2 {
    margin: 0;
    color: var(--text);
    font-size: var(--bt-font-size-title);
    line-height: 1.28;
}

.botari-help-card__meta--modal {
    margin-top: 8px;
    text-align: left;
}

.botari-help-modal__action {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.botari-help-modal__action form {
    margin: 0;
}

.botari-help-modal .botari-help-card__content {
    margin-top: 20px;
}

.botari-help-modal .botari-help-comments {
    margin-top: 24px;
}

.botari-help-modal .botari-help-comments__empty {
    padding: 14px 0;
}

@media (max-width: 768px) {
    .botari-help-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .botari-help-card__thumb {
        width: 72px;
        height: 72px;
        border-radius: 12px;
    }

    .botari-help-card__header {
        display: grid;
        gap: 10px;
    }

    .botari-help-card__header-action {
        justify-self: start;
    }

    .botari-help-card__assist-state,
    .botari-help-card__offer {
        min-height: 34px;
        padding: 8px 12px;
    }

    .botari-help-card__offer {
        width: auto;
    }

    .botari-help-card__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .botari-help-card__meta {
        text-align: left;
    }

    .botari-help-modal {
        align-items: end;
        padding: 0;
    }

    .botari-help-modal__dialog {
        width: 100%;
        max-height: 88vh;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 18px 18px 0 0;
        padding: 22px 16px 24px;
    }

    .botari-help-modal__header {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 14px;
        padding-right: 30px;
    }

    .botari-help-modal__header .botari-help-card__thumb {
        width: 64px;
        height: 64px;
    }
}

/* ============================================
   Phase 1.4: 차단/삭제/신고 UI 스타일
   ============================================ */

/* 대화 헤더 레이아웃 */
.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.conversation-header-info {
    flex: 1;
}

.conversation-header-actions {
    display: flex;
    gap: 8px;
}

.conversation-action-btn {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    color: var(--text-light);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conversation-action-btn:hover {
    background: var(--bg-light);
    color: var(--text);
}

.conversation-action-btn:active {
    transform: scale(0.95);
}

.conversation-action-btn svg {
    width: 18px;
    height: 18px;
}

/* 신고 모달 */
.report-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.report-modal-content {
    position: relative;
    background: var(--bg);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.report-modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-modal-header h3 {
    margin: 0;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text);
}

.report-modal-close {
    background: transparent;
    border: none;
    font-size: var(--font-size-3xl);
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.report-modal-close:hover {
    background: var(--bg-light);
    color: var(--text);
}

.report-modal-body {
    padding: 20px;
}

.report-modal-body > p {
    margin: 0 0 16px 0;
    color: var(--text);
    font-weight: 500;
}

.report-reasons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.report-reason-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.report-reason-item:hover {
    border-color: var(--primary);
    background: var(--bg-light);
}

.report-reason-item input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

.report-reason-item span {
    color: var(--text);
    font-size: var(--font-size-base);
}

.report-reason-item input[type="radio"]:checked + span {
    font-weight: 600;
    color: var(--primary);
}

#report-details {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: var(--font-size-sm);
    resize: vertical;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s;
}

#report-details:focus {
    outline: none;
    border-color: var(--primary);
}

#report-details::placeholder {
    color: var(--bt-placeholder-color);
    font-size: var(--bt-placeholder-font-size);
    font-weight: var(--bt-placeholder-font-weight);
    opacity: 1;
}

.report-modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.report-modal-cancel,
.report-modal-submit {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.report-modal-cancel {
    background: var(--bg-light);
    color: var(--text);
}

.report-modal-cancel:hover {
    background: var(--border);
}

.report-modal-submit {
    background: var(--primary);
    color: white;
}

.report-modal-submit:hover {
    background: var(--primary-dark);
}

/* 다크 테마 지원 */
.bt-theme-dark .conversation-header {
    background: #1a1a1a;
    border-bottom-color: #333;
}

.bt-theme-dark .conversation-action-btn {
    color: #b0b0b0;
}

.bt-theme-dark .conversation-action-btn:hover {
    background: #2a2a2a;
    color: #e0e0e0;
}

.bt-theme-dark .report-modal-content {
    background: #2a2a2a;
}

.bt-theme-dark .report-modal-header,
.bt-theme-dark .report-modal-footer {
    border-color: #333;
}

.bt-theme-dark .report-reason-item {
    border-color: #333;
    background: #1a1a1a;
}

.bt-theme-dark .report-reason-item:hover {
    background: #2a2a2a;
    border-color: var(--primary);
}

.bt-theme-dark #report-details {
    background: #1a1a1a;
    border-color: #333;
    color: #e0e0e0;
}

.bt-theme-dark #report-details::placeholder {
    color: var(--bt-placeholder-color);
}

.bt-theme-dark .report-modal-cancel {
    background: #333;
    color: #e0e0e0;
}

.bt-theme-dark .report-modal-cancel:hover {
    background: #444;
}

/* Mobile home Swiper: use Swiper momentum, keep expanded cards visible. */
@media (max-width: 767px) {
    .home-products-section,
    .home-people-section {
        margin-bottom: 0;
    }

    .home-products-slider.swiper,
    .home-people-slider.swiper {
        overflow: visible !important;
        scroll-snap-type: none !important;
        scroll-padding-left: 0 !important;
        padding-top: 48px !important;
        padding-bottom: 30px !important;
        touch-action: pan-y !important;
    }

    .home-products-slider.swiper > .swiper-wrapper,
    .home-people-slider.swiper > .swiper-wrapper {
        gap: 0 !important;
        scroll-snap-type: none !important;
        scroll-padding-left: 0 !important;
    }

    .home-products-slider.swiper.is-touching > .swiper-wrapper,
    .home-people-slider.swiper.is-touching > .swiper-wrapper {
        transition-duration: 0ms !important;
        transition-timing-function: linear !important;
    }

    .home-products-slider.swiper .swiper-slide,
    .home-people-slider.swiper .swiper-slide {
        overflow: visible !important;
        scroll-snap-align: none !important;
        scroll-margin-left: 0 !important;
    }

    .home-products-slider.swiper .swiper-slide.is-active-slide,
    .home-people-slider.swiper .swiper-slide.is-active-slide {
        position: relative !important;
        z-index: 999 !important;
    }

    .home-products-slider .home-product-tile.is-active,
    .home-people-slider .home-product-tile.is-active {
        z-index: 130 !important;
        transform-origin: center 42% !important;
        transform: translateY(-22px) scaleX(1.22) scaleY(1.12) !important;
    }
}

/* Mobile home Swiper: soften release snap easing. */
@media (max-width: 767px) {
    .home-products-slider.swiper .swiper-wrapper,
    .home-people-slider.swiper .swiper-wrapper {
        transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
}


/* Home people rail: keep horizontal scrolling available as members grow. */
.home-people-slider.swiper.is-native-scroll {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
    scroll-snap-type: x proximity !important;
    scroll-padding-left: 16px !important;
    scrollbar-width: none !important;
}

.home-people-slider.swiper.is-native-scroll::-webkit-scrollbar {
    display: none !important;
}

.home-people-slider.swiper.is-native-scroll > .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    width: max-content !important;
    min-width: max-content !important;
    transform: none !important;
    transition: none !important;
}

.home-people-slider.swiper.is-native-scroll .swiper-slide {
    flex: 0 0 auto !important;
    margin-right: 0 !important;
    scroll-snap-align: start !important;
    scroll-margin-left: 0 !important;
}

.home-people-slider--managed-rows.swiper.is-native-scroll {
    overflow-x: auto !important;
    overflow-y: visible !important;
}

.home-people-slider--managed-rows.swiper.is-native-scroll > .swiper-wrapper {
    gap: 0 !important;
}

.home-people-slider--managed-rows.swiper.is-native-scroll .home-people-column-slide {
    position: relative !important;
    z-index: 1 !important;
    width: 150px !important;
    flex: 0 0 150px !important;
    margin-right: 10px !important;
    overflow: visible !important;
}

.home-people-slider--managed-rows.swiper.is-native-scroll .home-people-column-slide:hover,
.home-people-slider--managed-rows.swiper.is-native-scroll .home-people-column-slide:focus-within {
    z-index: 80 !important;
}

.home-people-slider--managed-rows.swiper.is-native-scroll .home-people-column-slide__stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 58px !important;
    width: 150px !important;
    overflow: visible !important;
}

.home-people-slider--managed-rows.swiper.is-native-scroll .home-people-card-slot {
    width: 150px !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
}

@media (min-width: 768px) {
    .home-people-slider--managed-rows.swiper.is-native-scroll .home-people-column-slide {
        width: 280px !important;
        flex-basis: 280px !important;
        margin-right: 14px !important;
    }

    .home-people-slider--managed-rows.swiper.is-native-scroll .home-people-column-slide__stack {
        gap: 64px !important;
        width: 280px !important;
    }

    .home-people-slider--managed-rows.swiper.is-native-scroll .home-people-card-slot {
        width: 280px !important;
    }
}

@media (max-width: 767px) {
    .home-people-slider.swiper.is-native-scroll > .swiper-wrapper {
        gap: 10px !important;
    }
}


.home-people-slider.swiper.is-native-scroll.is-snap-disabled {
    scroll-snap-type: none !important;
}

.home-people-slider.swiper.is-native-scroll.is-snap-disabled .swiper-slide {
    scroll-snap-align: none !important;
}

.home-people-slider.swiper.is-native-scroll.is-pointer-down {
    cursor: grabbing;
}

.home-people-slider.swiper.is-native-scroll.is-dragging,
.home-people-slider.swiper.is-native-scroll.is-dragging * {
    user-select: none;
}

.home-people-slider.swiper.is-native-scroll.is-dragging .home-product-tile:hover,
.home-people-slider.swiper.is-native-scroll.is-dragging .home-product-tile:focus-within {
    transform: none !important;
}

.home-people-slider.swiper.is-native-scroll.is-dragging .home-product-tile:hover .home-product-tile__info,
.home-people-slider.swiper.is-native-scroll.is-dragging .home-product-tile:focus-within .home-product-tile__info {
    display: none !important;
}

.home-people-slider.swiper.is-native-scroll.is-dragging .home-people-bubble {
    opacity: 0 !important;
    transform: translateY(5px) scale(0.97) !important;
}

/* Home people conversational bubbles */
.home-people-slide {
    position: relative;
    overflow: visible !important;
}

.home-people-bubble {
    position: absolute;
    left: 10px;
    top: 8px;
    z-index: 70;
    max-width: min(132px, calc(100% - 18px));
    padding: 7px 10px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 14px 14px 14px 4px;
    background: rgba(255, 255, 255, 0.94);
    color: #111827;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px) scale(0.96);
    transition: opacity 260ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-people-bubble::after {
    content: "";
    position: absolute;
    left: 13px;
    bottom: -6px;
    width: 10px;
    height: 10px;
    background: inherit;
    border-right: 1px solid rgba(17, 24, 39, 0.1);
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
    transform: rotate(45deg);
}

.home-people-slide:nth-child(2n) .home-people-bubble {
    left: auto;
    right: 10px;
    border-radius: 14px 14px 4px 14px;
}

.home-people-slide:nth-child(2n) .home-people-bubble::after {
    left: auto;
    right: 13px;
}

.home-people-slide.is-bubble-visible .home-people-bubble {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.home-people-slider.is-scrolling .home-people-bubble {
    opacity: 0;
    transform: translateY(5px) scale(0.97);
}

@media (min-width: 768px) {
    .home-people-bubble {
        max-width: 184px;
        padding: 9px 12px;
        font-size: 13px;
        top: 12px;
        left: 14px;
    }

    .home-people-slide:nth-child(2n) .home-people-bubble {
        right: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-people-bubble {
        transition: none;
    }
}


/* Front section alignment: loaded last to keep theme sections left-aligned. */
.section-header,
.section-heading,
.section-title,
.section-description {
    text-align: left !important;
}

.section-header {
    justify-content: space-between;
}

.section-heading {
    flex: 1 1 auto;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.section-title,
.section-description {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.home .page-section .section-heading,
#main-content > .container > .page-section .section-heading {
    display: flex;
    flex-flow: row wrap;
    align-items: baseline !important;
    gap: 8px 14px;
}

.home .page-section .section-title,
#main-content > .container > .page-section .section-title {
    flex: 0 0 auto;
    margin: 0 !important;
}

.home .page-section .section-description,
#main-content > .container > .page-section .section-description {
    flex: 0 1 auto;
    margin: 0 !important;
}

.home-products-slider.swiper > .swiper-wrapper,
.home-people-slider.swiper > .swiper-wrapper,
.home-news-swiper .swiper-wrapper,
.home-top10-scroll,
.card-grid-netflix {
    justify-content: flex-start !important;
    text-align: left !important;
}


/* Front/list horizontal rails overflow normalization */
.page-section:has(.home-products-slider),
.page-section:has(.home-people-slider),
.section-body:has(.home-products-slider),
.section-body:has(.home-people-slider) {
    overflow: visible !important;
}

.home-products-section,
.home-people-section,
.home-products-slider,
.home-people-slider,
.home-products-slider.swiper,
.home-people-slider.swiper,
.home-products-slider.swiper > .swiper-wrapper,
.home-people-slider.swiper > .swiper-wrapper,
.home-products-slider.swiper .swiper-slide,
.home-people-slider.swiper .swiper-slide {
    overflow: visible !important;
}

.home-products-slider.swiper,
.home-people-slider.swiper {
    clip-path: inset(-120px -80px -160px -80px);
}

.home-products-slider.swiper .swiper-slide,
.home-people-slider.swiper .swiper-slide {
    z-index: 1;
}

.home-products-slider.swiper .swiper-slide:hover,
.home-products-slider.swiper .swiper-slide:focus-within,
.home-people-slider.swiper .swiper-slide:hover,
.home-people-slider.swiper .swiper-slide:focus-within {
    z-index: 80 !important;
}


/* Home product tile hover seam fix */
.home-product-tile:hover .home-product-tile__info,
.home-product-tile:focus-within .home-product-tile__info,
.home-product-tile.is-active .home-product-tile__info {
    top: calc(100% - 1px) !important;
    border-top: 0 !important;
}

.home-product-tile:hover .home-product-tile__thumb,
.home-product-tile:focus-within .home-product-tile__thumb,
.home-product-tile.is-active .home-product-tile__thumb {
    box-shadow: none !important;
}


/* Product detail app grid top alignment */
.pd-grid.pd-grid--app {
    align-items: start !important;
    grid-template-rows: auto auto !important;
    min-height: 0 !important;
}

.pd-grid--app > .pd-app-header {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
}

@media (min-width: 768px) {
    .pd-grid--app > .pd-app-sidebar {
        grid-row: 2 !important;
        align-self: start !important;
    }

    .pd-grid--app > .pd-app-main {
        grid-row: 2 !important;
        align-self: start !important;
    }

    .pd-grid--app > .pd-app-comments {
        grid-row: 3 !important;
        align-self: start !important;
    }
}

@media (min-width: 1024px) {
    .pd-grid--app > .pd-app-sidebar {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    .pd-grid--app > .pd-app-main {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }

    .pd-grid--app > .pd-app-comments {
        grid-column: 3 !important;
        grid-row: 2 !important;
    }
}


/* Product detail app title baseline alignment */
.pd-grid--app .pd-section__title,
.pd-grid--app .pd-card__title {
    margin-top: 0 !important;
    line-height: 1.2 !important;
}

.pd-grid--app .pd-description-section,
.pd-grid--app .pd-app-sidebar__seller > .pd-card,
.pd-grid--app .pd-app-comments > .pd-card {
    padding-top: 8px !important;
}


/* Botari about 3D background */
.botari-about-page {
    position: relative;
    z-index: 0;
    min-height: 100vh;
    overflow: hidden;
    background: transparent;
    isolation: isolate;
}

.botari-about-3d {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 700ms ease;
}

.botari-about-3d.is-loaded {
    opacity: 0.58;
    filter: drop-shadow(0 22px 52px rgba(248, 56, 75, 0.34)) drop-shadow(0 8px 18px rgba(20, 20, 20, 0.16));
}

.botari-about-3d canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.botari-about-content {
    position: relative;
    z-index: 2;
}

.botari-about-page::after {
    content: "";
    position: fixed;
    inset: 72px 0 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.48) 45%, rgba(255,255,255,0.02) 100%);
}

@media (max-width: 767px) {
    .botari-about-3d {
        top: 56px;
        opacity: 0;
    }

    .botari-about-3d.is-loaded {
        opacity: 0.5;
    }

    .botari-about-page::after {
        inset: 56px 0 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.76) 0%, rgba(255,255,255,0.52) 45%, rgba(255,255,255,0.88) 100%);
    }
}


.botari-page-3d.page-content {
    background: transparent !important;
}


body:has(.botari-about-page) footer,
body:has(.botari-about-page) .site-footer,
body:has(.botari-about-page) #colophon {
    position: relative;
    z-index: 5;
}



/* People list page: keep home people swiper behavior on public list sections. */
.people-list-page .people-list-section,
.people-list-page .section-body {
    overflow: visible !important;
}

.people-list-empty {
    margin: 24px 0 72px;
    color: var(--text-muted, #6b7280);
    font-size: 16px;
}

/* People all section: Swiper columns that stack up to three cards per slide. */
.people-list-section--all .home-people-slider--three-rows.swiper {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    scroll-snap-type: x proximity !important;
    scroll-padding-left: 0 !important;
    padding-top: 72px !important;
    padding-bottom: 150px !important;
    margin-top: -72px !important;
    margin-bottom: -118px !important;
    clip-path: inset(-140px -90px -190px -90px);
}

.people-list-section--all .home-people-slider--three-rows.swiper::-webkit-scrollbar {
    display: none !important;
}

.people-list-section--all .home-people-slider--three-rows.swiper > .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: max-content !important;
    min-width: max-content !important;
    transform: none !important;
    transition: none !important;
}

.people-list-section--all .home-people-slider--three-rows.swiper .home-people-column-slide {
    position: relative !important;
    z-index: 1 !important;
    width: 150px !important;
    height: auto !important;
    flex: 0 0 150px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 10px !important;
    overflow: visible !important;
}

.people-list-section--all .home-people-slider--three-rows.swiper .home-people-column-slide:last-child {
    margin-right: 0 !important;
}

.people-list-section--all .home-people-slider--three-rows.swiper .home-people-card-slot,
.people-list-section--all .home-people-slider--three-rows.swiper .home-product-tile {
    scroll-snap-align: none !important;
    scroll-margin-left: 0 !important;
    scroll-snap-stop: normal !important;
}

.people-list-section--all .home-people-column-slide__stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 58px;
    width: 150px;
    overflow: visible;
}

.people-list-section--all .home-people-slider--three-rows.swiper .home-people-column-slide:hover,
.people-list-section--all .home-people-slider--three-rows.swiper .home-people-column-slide:focus-within {
    z-index: 80 !important;
}

.people-list-section--all .home-people-slider--three-rows.swiper .home-people-card-slot {
    width: 150px !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
}

.people-list-section--all .home-people-slider--three-rows.swiper .home-people-slide--placeholder {
    min-height: 224px;
    visibility: hidden !important;
    pointer-events: none !important;
}

@media (min-width: 768px) {
    .people-list-section--all .home-people-slider--three-rows.swiper .home-people-column-slide {
        width: 280px !important;
        flex-basis: 280px !important;
        margin-right: 14px !important;
    }

    .people-list-section--all .home-people-column-slide__stack {
        gap: 64px;
        width: 280px;
    }

    .people-list-section--all .home-people-slider--three-rows.swiper .home-people-card-slot {
        width: 280px !important;
    }

    .people-list-section--all .home-people-slider--three-rows.swiper .home-people-slide--placeholder {
        min-height: 368px;
    }
}

/* Product search visibility controls */
.pd-search-controls {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border, #e5e5e5);
}

.pd-search-controls__status {
    color: var(--text-light, #6c757d);
    font-size: var(--font-size-sm, 0.875rem);
    font-weight: 600;
}

.pd-search-controls__notice {
    margin: 2px 0 0 !important;
}

.pd-search-action:disabled {
    opacity: 0.65;
    cursor: wait;
}


/* iOS home-screen standalone navigation */
.bt-standalone-nav {
    position: fixed;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
    padding: 8px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 40px rgba(17, 24, 39, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.bt-standalone-nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 42px;
    min-width: 42px;
    min-height: 38px;
    padding: 8px 0;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: var(--font-size-sm, 14px);
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.bt-standalone-nav__btn span[aria-hidden="true"] {
    font-size: 24px;
    line-height: 0.7;
}

.bt-standalone-nav__btn:disabled {
    background: rgba(17, 24, 39, 0.12);
    color: rgba(17, 24, 39, 0.34);
    cursor: default;
}

body.bt-standalone-mode {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
    .bt-standalone-nav {
        bottom: max(18px, env(safe-area-inset-bottom));
    }
}

/* Home search entry replaces the legacy hero slider. */
.home-search-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(320px, 36vw, 480px);
    padding: clamp(58px, 8vw, 112px) 16px 52px;
    background: #fff;
    overflow: hidden;
}

.home-search-network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    z-index: 0;
    opacity: .9;
}

.home-search-section__inner {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    margin: 0 auto;
}

.home-search-section__copy {
    margin-bottom: 18px;
}

.home-search-section__title {
    margin: 0 0 8px;
    color: #111827;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
}

.home-search-section__desc {
    margin: 0;
    color: #6b7280;
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.home-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 8px;
    border: 1px solid rgba(17, 24, 39, .16);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, .08);
}

.home-search-form__input {
    min-width: 0;
    width: 100%;
    height: 46px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    font: inherit;
    font-size: var(--font-size-base);
    padding: 0 10px;
}

.home-search-form__input::placeholder {
    color: var(--bt-placeholder-color);
    font-size: var(--bt-placeholder-font-size);
    font-weight: var(--bt-placeholder-font-weight);
    opacity: 1;
}

.home-search-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #f8384b;
    font-size: var(--font-size-sm);
    font-weight: 800;
    cursor: pointer;
}

.home-search-form__submit--icon {
    width: 46px;
    padding: 0;
}

.home-search-form__cancel {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #6b7280;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.home-search-form__cancel:hover,
.home-search-form__cancel:focus-visible {
    color: #f8384b;
    background: rgba(248, 56, 75, .08);
}

.home-search-form__submit:hover,
.home-search-form__submit:focus-visible {
    background: rgba(248, 56, 75, .08);
    color: #f8384b;
}

.home-search-form__icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.home-search-form__icon svg,
.home-search-form__icon img {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
}

.home-search-form__icon svg {
    fill: currentColor;
}

.home-search-section__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: min(760px, 100%);
    margin: 14px auto 0;
}

.home-search-section__links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(17, 24, 39, .16);
    border-radius: 999px;
    color: #111827;
    background: #fff;
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-decoration: none;
}

.home-search-section__links a:hover,
.home-search-section__links a:focus-visible {
    border-color: #f8384b;
    color: #f8384b;
}

.botari-search-results__grid {
    margin-top: 8px;
}

.botari-search-empty {
    padding: 36px 0 52px;
    color: #6b7280;
}

@media (max-width: 575px) {
    .home-search-section {
        min-height: 280px;
        padding: 46px 16px 36px;
        overflow: visible;
    }

    .home-search-section__inner {
        z-index: auto;
    }

    .home-search-form {
        position: fixed;
        top: var(--home-search-mobile-top, 178px);
        left: 16px;
        right: 16px;
        z-index: 990;
        grid-template-columns: minmax(0, 1fr) 46px;
        gap: 6px;
        width: auto;
        height: 64px;
        padding: 8px;
    }

    body.admin-bar .home-search-form {
        --home-search-mobile-top: 224px;
    }

    .home-search-form__submit {
        width: 46px;
        padding: 0;
    }

    .home-search-form__submit--icon {
        width: 46px;
    }

    .home-search-form.is-mobile-floating {
        top: var(--home-search-mobile-top, 178px);
        z-index: 990;
        will-change: left, right, width, height, padding, transform;
        transform: translateZ(0);
        transition: left .36s cubic-bezier(.16, 1, .3, 1), right .36s cubic-bezier(.16, 1, .3, 1), width .36s cubic-bezier(.16, 1, .3, 1), min-width .36s cubic-bezier(.16, 1, .3, 1), height .36s cubic-bezier(.16, 1, .3, 1), padding .36s cubic-bezier(.16, 1, .3, 1), border-color .28s ease, background-color .28s ease, box-shadow .36s cubic-bezier(.16, 1, .3, 1), transform .36s cubic-bezier(.16, 1, .3, 1);
    }

    .home-search-form.is-mobile-floating .home-search-form__input,
    .home-search-form.is-mobile-floating .home-search-form__cancel,
    .home-search-form.is-mobile-floating .home-search-form__submit,
    .home-search-form.is-mobile-floating .home-search-form__icon,
    .home-search-form.is-mobile-floating .home-search-form__icon svg,
    .home-search-form.is-mobile-floating .home-search-form__icon img {
        transition: opacity .24s ease, transform .32s cubic-bezier(.16, 1, .3, 1), width .34s cubic-bezier(.16, 1, .3, 1), height .34s cubic-bezier(.16, 1, .3, 1), padding .34s cubic-bezier(.16, 1, .3, 1), background-color .28s ease, box-shadow .34s cubic-bezier(.16, 1, .3, 1);
    }

    .home-search-form.is-mobile-compact {
        left: calc(100% - 80px);
        right: 8px;
        grid-template-columns: 58px;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 72px;
        height: 82px;
        padding: 0;
        border-color: transparent;
        background: transparent;
        box-shadow: none;
    }

    .home-search-form.is-mobile-compact .home-search-form__cancel,
    .home-search-form.is-mobile-compact .home-search-form__input {
        position: absolute;
        width: 1px;
        height: 1px;
        min-width: 0;
        padding: 0;
        opacity: 0;
        transform: scale(.96);
        pointer-events: none;
    }

    .home-search-form.is-mobile-compact .home-search-form__submit,
    .home-search-form.is-mobile-compact .home-search-form__submit--icon {
        width: 58px;
        height: 58px;
        padding: 0;
        background: rgba(255, 255, 255, .82);
        box-shadow: 0 8px 22px rgba(15, 23, 42, .10);
    }

    .home-search-form.is-mobile-compact .home-search-form__icon,
    .home-search-form.is-mobile-compact .home-search-form__icon svg,
    .home-search-form.is-mobile-compact .home-search-form__icon img {
        width: 24px;
        height: 24px;
    }

    .home-search-form.is-mobile-expanded .home-search-form__input {
        opacity: 1;
        transform: scale(1);
    }

    .home-search-form.is-mobile-expanded .home-search-form__cancel {
        display: inline-flex;
        opacity: 1;
        transform: scale(1);
    }

    .home-search-form.is-mobile-expanded {
        left: 16px;
        right: 16px;
        grid-template-columns: minmax(0, 1fr) 38px 46px;
        width: auto;
        min-width: 0;
        height: 64px;
        padding: 8px;
        border-color: rgba(17, 24, 39, .16);
        background: #fff;
        box-shadow: 0 14px 40px rgba(15, 23, 42, .12);
    }
}

/* Mobile touch rails: only JS .is-active may open card hover panels. */
@media (hover: none) and (max-width: 767px) {
    .home-product-tile:hover:not(.is-active),
    .home-product-tile:focus-within:not(.is-active) {
        z-index: 1 !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .home-product-tile:hover:not(.is-active) .home-product-tile__thumb,
    .home-product-tile:focus-within:not(.is-active) .home-product-tile__thumb {
        border-radius: 8px !important;
        box-shadow: none !important;
    }

    .home-product-tile:hover:not(.is-active) .home-product-tile__info,
    .home-product-tile:focus-within:not(.is-active) .home-product-tile__info {
        display: none !important;
    }

    .home-products-slider.swiper .swiper-slide:hover,
    .home-products-slider.swiper .swiper-slide:focus-within,
    .home-people-slider.swiper .swiper-slide:hover,
    .home-people-slider.swiper .swiper-slide:focus-within {
        z-index: 1 !important;
    }
}

/* Mobile product/person rails: native scroll replaces Swiper transform. */
@media (max-width: 767px) {
    .home-products-slider.swiper.is-native-scroll,
    .home-people-slider.swiper.is-native-scroll {
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x pan-y !important;
        scroll-snap-type: x proximity !important;
        scroll-padding-left: 16px !important;
        scroll-padding-right: 16px !important;
        padding-top: 64px !important;
        padding-bottom: 132px !important;
        margin-bottom: -102px !important;
        clip-path: inset(-120px -80px -180px -80px);
    }

    .home-products-slider.swiper.is-native-scroll > .swiper-wrapper,
    .home-people-slider.swiper.is-native-scroll > .swiper-wrapper {
        transform: none !important;
        transition: none !important;
        transition-duration: 0ms !important;
        gap: 10px !important;
        width: max-content !important;
        scroll-snap-type: none !important;
    }

    .home-products-slider.swiper.is-native-scroll .swiper-slide,
    .home-people-slider.swiper.is-native-scroll .swiper-slide {
        position: relative !important;
        z-index: 1 !important;
        margin-right: 0 !important;
        flex: 0 0 auto !important;
        scroll-margin-left: 0 !important;
        scroll-margin-right: 0 !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: normal !important;
    }

    .home-products-slider.swiper.is-native-scroll .swiper-slide.is-active-slide,
    .home-people-slider.swiper.is-native-scroll .swiper-slide.is-active-slide {
        z-index: 999 !important;
    }
}


/* Card rail native preview guard for Safari/iOS. */
.home-products-slider a,
.home-products-slider img,
.home-people-slider a,
.home-people-slider img,
.card-grid-netflix a,
.card-grid-netflix img {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

/* PC rail drag guard: while dragging, suppress hover-expanded cards across every rail. */
@media (hover: hover) and (pointer: fine) {
    .home-products-slider.is-pointer-dragging,
    .home-people-slider.is-pointer-dragging,
    .card-grid-netflix.is-pointer-dragging,
    .home-products-slider.is-wheel-scrolling,
    .home-people-slider.is-wheel-scrolling,
    .card-grid-netflix.is-wheel-scrolling,
    .home-products-slider.is-pointer-pressing,
    .home-people-slider.is-pointer-pressing,
    .card-grid-netflix.is-pointer-pressing,
    .home-products-slider.is-pointer-dragging *,
    .home-people-slider.is-pointer-dragging *,
    .card-grid-netflix.is-pointer-dragging *,
    .home-products-slider.is-wheel-scrolling *,
    .home-people-slider.is-wheel-scrolling *,
    .card-grid-netflix.is-wheel-scrolling *,
    .home-products-slider.is-pointer-pressing *,
    .home-people-slider.is-pointer-pressing *,
    .card-grid-netflix.is-pointer-pressing * {
        user-select: none;
        -webkit-user-drag: none;
    }

    .home-products-slider.is-pointer-dragging > .swiper-wrapper,
    .home-people-slider.is-pointer-dragging > .swiper-wrapper,
    .home-products-slider.is-wheel-scrolling > .swiper-wrapper,
    .home-people-slider.is-wheel-scrolling > .swiper-wrapper {
        transition-duration: 0ms !important;
        transition-property: transform !important;
        will-change: transform;
    }

    .home-products-slider.is-pointer-dragging .swiper-slide:hover,
    .home-products-slider.is-pointer-dragging .swiper-slide:focus-within,
    .home-products-slider.is-wheel-scrolling .swiper-slide:hover,
    .home-products-slider.is-wheel-scrolling .swiper-slide:focus-within,
    .home-products-slider.is-pointer-pressing .swiper-slide:hover,
    .home-products-slider.is-pointer-pressing .swiper-slide:focus-within,
    .home-people-slider.is-pointer-dragging .swiper-slide:hover,
    .home-people-slider.is-pointer-dragging .swiper-slide:focus-within,
    .home-people-slider.is-wheel-scrolling .swiper-slide:hover,
    .home-people-slider.is-wheel-scrolling .swiper-slide:focus-within,
    .home-people-slider.is-pointer-pressing .swiper-slide:hover,
    .home-people-slider.is-pointer-pressing .swiper-slide:focus-within {
        z-index: 1 !important;
    }

    .home-products-slider.is-pointer-dragging .home-product-tile,
    .home-people-slider.is-pointer-dragging .home-product-tile,
    .card-grid-netflix.is-pointer-dragging .nf-tile,
    .home-products-slider.is-wheel-scrolling .home-product-tile,
    .home-people-slider.is-wheel-scrolling .home-product-tile,
    .card-grid-netflix.is-wheel-scrolling .nf-tile {
        pointer-events: none;
        transition-duration: 0ms !important;
    }

    .home-products-slider.is-pointer-pressing .home-product-tile,
    .home-people-slider.is-pointer-pressing .home-product-tile,
    .card-grid-netflix.is-pointer-pressing .nf-tile {
        transition-duration: 0ms !important;
    }

    .home-products-slider.is-pointer-dragging .home-product-tile:hover,
    .home-products-slider.is-pointer-dragging .home-product-tile:focus-within,
    .home-products-slider.is-wheel-scrolling .home-product-tile:hover,
    .home-products-slider.is-wheel-scrolling .home-product-tile:focus-within,
    .home-products-slider.is-pointer-pressing .home-product-tile:hover,
    .home-products-slider.is-pointer-pressing .home-product-tile:focus-within,
    .home-people-slider.is-pointer-dragging .home-product-tile:hover,
    .home-people-slider.is-pointer-dragging .home-product-tile:focus-within,
    .home-people-slider.is-wheel-scrolling .home-product-tile:hover,
    .home-people-slider.is-wheel-scrolling .home-product-tile:focus-within,
    .home-people-slider.is-pointer-pressing .home-product-tile:hover,
    .home-people-slider.is-pointer-pressing .home-product-tile:focus-within,
    .card-grid-netflix.is-pointer-dragging .nf-tile:hover,
    .card-grid-netflix.is-pointer-dragging .nf-tile:focus-within,
    .card-grid-netflix.is-wheel-scrolling .nf-tile:hover,
    .card-grid-netflix.is-wheel-scrolling .nf-tile:focus-within,
    .card-grid-netflix.is-pointer-pressing .nf-tile:hover,
    .card-grid-netflix.is-pointer-pressing .nf-tile:focus-within,
    .home-product-tile.is-hover-release-locked:hover,
    .home-product-tile.is-hover-release-locked:focus-within,
    .nf-tile.is-hover-release-locked:hover,
    .nf-tile.is-hover-release-locked:focus-within {
        transform: none !important;
        z-index: 1 !important;
    }

    .home-products-slider.is-pointer-dragging .home-product-tile:hover .home-product-tile__info,
    .home-products-slider.is-pointer-dragging .home-product-tile:focus-within .home-product-tile__info,
    .home-products-slider.is-wheel-scrolling .home-product-tile:hover .home-product-tile__info,
    .home-products-slider.is-wheel-scrolling .home-product-tile:focus-within .home-product-tile__info,
    .home-products-slider.is-pointer-pressing .home-product-tile:hover .home-product-tile__info,
    .home-products-slider.is-pointer-pressing .home-product-tile:focus-within .home-product-tile__info,
    .home-people-slider.is-pointer-dragging .home-product-tile:hover .home-product-tile__info,
    .home-people-slider.is-pointer-dragging .home-product-tile:focus-within .home-product-tile__info,
    .home-people-slider.is-wheel-scrolling .home-product-tile:hover .home-product-tile__info,
    .home-people-slider.is-wheel-scrolling .home-product-tile:focus-within .home-product-tile__info,
    .home-people-slider.is-pointer-pressing .home-product-tile:hover .home-product-tile__info,
    .home-people-slider.is-pointer-pressing .home-product-tile:focus-within .home-product-tile__info,
    .card-grid-netflix.is-pointer-dragging .nf-tile:hover .nf-tile__meta,
    .card-grid-netflix.is-pointer-dragging .nf-tile:focus-within .nf-tile__meta,
    .card-grid-netflix.is-wheel-scrolling .nf-tile:hover .nf-tile__meta,
    .card-grid-netflix.is-wheel-scrolling .nf-tile:focus-within .nf-tile__meta,
    .card-grid-netflix.is-pointer-pressing .nf-tile:hover .nf-tile__meta,
    .card-grid-netflix.is-pointer-pressing .nf-tile:focus-within .nf-tile__meta,
    .home-product-tile.is-hover-release-locked:hover .home-product-tile__info,
    .home-product-tile.is-hover-release-locked:focus-within .home-product-tile__info,
    .nf-tile.is-hover-release-locked:hover .nf-tile__meta,
    .nf-tile.is-hover-release-locked:focus-within .nf-tile__meta {
        display: none !important;
    }

    .home-people-slider.is-pointer-dragging .home-people-bubble,
    .home-people-slider.is-pointer-pressing .home-people-bubble,
    .home-people-slider.is-wheel-scrolling .home-people-bubble {
        opacity: 0 !important;
        transform: translateY(5px) scale(0.97) !important;
    }
}

/* ============================================
   Botari Shelter
   ============================================ */
.botari-shelter-page,
.botari-shelter-single-page {
    background: #fff;
}

.botari-shelter-hero {
    padding: 72px 0 42px;
    background: linear-gradient(180deg, rgba(248, 56, 75, 0.06), rgba(255, 255, 255, 0));
}

.botari-shelter-hero__inner {
    text-align: left;
}

.botari-shelter-hero__title,
.botari-shelter-single__header h1 {
    margin: 8px 0 10px;
    color: var(--text);
    font-size: var(--bt-font-size-display, 28px);
    font-weight: var(--bt-font-weight-normal, 400);
    line-height: 1.25;
}

.botari-shelter-hero__subtitle,
.botari-shelter-write__head p,
.botari-shelter-card p,
.botari-shelter-login-box p {
    color: var(--text-light);
    font-size: var(--bt-font-size-body, 16px);
    font-weight: var(--bt-font-weight-normal, 400);
    line-height: 1.6;
}

.botari-shelter-layout {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding-top: 32px;
    padding-bottom: 72px;
}

.botari-shelter-write,
.botari-shelter-card,
.botari-shelter-single,
.botari-shelter-comments {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}

.botari-shelter-write {
    position: sticky;
    top: 96px;
    padding: 22px;
}

.botari-shelter-write__head h2,
.botari-shelter-list__head h2,
.botari-shelter-card h3,
.botari-shelter-comments .pd-card__title {
    margin: 0;
    color: var(--text);
    font-size: var(--bt-font-size-title, 20px);
    font-weight: var(--bt-font-weight-normal, 400);
    line-height: 1.35;
}

.botari-shelter-write__head p {
    margin: 8px 0 0;
}

.botari-shelter-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.botari-shelter-field {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-size: var(--bt-font-size-small, 14px);
    font-weight: var(--bt-font-weight-normal, 400);
}

.botari-shelter-field input,
.botari-shelter-field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--text);
    font-size: var(--bt-font-size-body, 16px);
    font-weight: var(--bt-font-weight-normal, 400);
    line-height: 1.5;
    outline: none;
    transition: border-color .2s ease;
}

.botari-shelter-field textarea {
    resize: vertical;
    min-height: 160px;
}

.botari-shelter-field input:focus,
.botari-shelter-field textarea:focus {
    border-color: var(--primary);
}

.botari-shelter-form__actions {
    display: flex;
    justify-content: flex-end;
}

.botari-shelter-login-box {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.botari-shelter-notice {
    margin: 0 0 16px;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: var(--bt-font-size-small, 14px);
    line-height: 1.45;
}

.botari-shelter-notice--success {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
}

.botari-shelter-notice--error {
    background: rgba(248, 56, 75, 0.09);
    color: var(--primary);
}

.botari-shelter-list__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.botari-shelter-list__head span,
.botari-shelter-card__meta,
.botari-shelter-card__foot,
.botari-shelter-single__meta,
.botari-shelter-back {
    color: var(--text-light);
    font-size: var(--bt-font-size-small, 14px);
    font-weight: var(--bt-font-weight-normal, 400);
}

.botari-shelter-cards {
    display: grid;
    gap: 14px;
}

.botari-shelter-card {
    position: relative;
    padding: 18px;
    transition: border-color .2s ease, transform .2s ease;
}

.botari-shelter-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.botari-shelter-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.botari-shelter-card__meta,
.botari-shelter-single__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.botari-shelter-card__avatar,
.botari-shelter-card__avatar img {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.botari-shelter-card h3 {
    margin-top: 14px;
}

.botari-shelter-card p {
    margin: 10px 0 0;
}

.botari-shelter-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.botari-shelter-card__foot span:last-child {
    color: var(--primary);
}

.botari-shelter-pagination {
    margin-top: 24px;
    text-align: center;
}

.botari-shelter-empty {
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 36px 18px;
    color: var(--text-light);
    text-align: center;
}

.botari-shelter-single {
    max-width: 860px;
    margin-top: 54px;
    margin-bottom: 72px;
    padding: 32px;
}

.botari-shelter-back {
    color: var(--primary);
    text-decoration: none;
}

.botari-shelter-single__content {
    margin-top: 30px;
    color: var(--text);
    font-size: var(--bt-font-size-body, 16px);
    font-weight: var(--bt-font-weight-normal, 400);
    line-height: 1.75;
}

.botari-shelter-single__content p {
    margin: 0 0 18px;
}

.botari-shelter-comments {
    margin-top: 34px;
    padding: 22px;
}

.botari-shelter-comments .pd-card__header {
    margin-bottom: 16px;
}

@media (max-width: 782px) {
    .botari-shelter-hero {
        padding: 48px 0 28px;
    }

    .botari-shelter-layout {
        display: block;
        padding-top: 22px;
        padding-bottom: 48px;
    }

    .botari-shelter-write {
        position: static;
        padding: 18px;
        margin-bottom: 24px;
    }

    .botari-shelter-card {
        padding: 16px;
    }

    .botari-shelter-single {
        margin-top: 28px;
        margin-bottom: 48px;
        padding: 22px 18px;
    }

    .botari-shelter-comments {
        padding: 18px 0 0;
        border: 0;
    }
}


.home-people-slider.swiper.is-native-scroll > .swiper-wrapper::after {
    content: '';
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 1px;
}

@media (min-width: 768px) {
    .home-people-slider.swiper.is-native-scroll > .swiper-wrapper::after {
        flex-basis: 32px;
        width: 32px;
    }
}

/* 2026-06-01: prevent inline thumbnail fallback background from leaking at rounded corners. */
.home-product-tile__thumb.card-thumb-wrap {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
}

/* 2026-06-01: rotate product detail header background only. */
.pd-header--app-page {
    background-position: center;
    background-size: cover;
}

.pd-header--app-page::before {
    content: '';
    position: absolute;
    inset: -18%;
    z-index: 0;
    background-image: var(--pd-header-bg);
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: rotate(8deg) scale(1.18);
    transform-origin: center;
    pointer-events: none;
}

.pd-header--app-page::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255,255,255,.76) 0%, rgba(255,255,255,.76) 70%, #fff 100%);
    pointer-events: none;
}

.pd-header--app-page.pd-header--has-bg {
    background-image: none !important;
}

.pd-header--app-page.pd-header--has-bg::before {
    opacity: 1;
}

.pd-header--app-page .pd-icon,
.pd-header--app-page .pd-title,
.pd-header--app-page .pd-excerpt,
.pd-header--app-page .pd-meta {
    position: relative;
    z-index: 2;
}

.pd-header--app-page .pd-meta {
    position: absolute;
}

@media (max-width: 767px) {
    .pd-header--app-page::before {
        inset: -22%;
        transform: rotate(4deg) scale(1.16);
    }
}


/* Botari product comments unified with help comments */
.pd-reviews .comments-area.messenger-style,
.bt-runner-comments .comments-area.messenger-style {
    margin-top: 0;
}

.pd-reviews .comments-list-container,
.bt-runner-comments .comments-list-container {
    max-height: none;
    margin: 0 0 16px;
    padding: 0;
    overflow-y: visible;
    background: transparent;
    border-radius: 0;
}

.pd-reviews .comment-list,
.bt-runner-comments .comment-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pd-reviews .comment-list > li,
.bt-runner-comments .comment-list > li {
    margin: 0;
}

.pd-reviews .comment-bubble-wrapper,
.bt-runner-comments .comment-bubble-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
}

.pd-reviews .comment-mine .comment-bubble-wrapper,
.bt-runner-comments .comment-mine .comment-bubble-wrapper {
    justify-content: flex-end;
}

.pd-reviews .comment-others .comment-bubble-wrapper,
.bt-runner-comments .comment-others .comment-bubble-wrapper {
    justify-content: flex-start;
}

.pd-reviews .comment-bubble,
.bt-runner-comments .comment-bubble {
    min-width: 82px;
    max-width: 65%;
    padding: 12px 16px;
    border: 0;
    border-radius: 18px;
    background: var(--bg);
    color: var(--text);
    box-shadow: var(--shadow-sm);
    line-height: 1.65;
    white-space: pre-wrap;
    word-break: keep-all;
    overflow-wrap: normal;
}

.pd-reviews .comment-bubble.mine,
.bt-runner-comments .comment-bubble.mine {
    border-bottom-right-radius: 4px;
    background: var(--primary);
    color: #fff;
}

.pd-reviews .comment-bubble.others,
.bt-runner-comments .comment-bubble.others {
    border-bottom-left-radius: 4px;
    background: var(--bg);
    color: var(--text);
}

.pd-reviews .comment-avatar,
.bt-runner-comments .comment-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--border);
}

.pd-reviews .comment-avatar img,
.bt-runner-comments .comment-avatar img,
.pd-reviews .comment-avatar .avatar,
.bt-runner-comments .comment-avatar .avatar,
.pd-reviews .comment-avatar-fallback,
.bt-runner-comments .comment-avatar-fallback {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.pd-reviews .comment-meta,
.bt-runner-comments .comment-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 4px;
    color: var(--text-light);
    font-size: var(--bt-font-size-small);
    line-height: 1.35;
}

.pd-reviews .comment-meta strong,
.bt-runner-comments .comment-meta strong,
.pd-reviews .comment-meta span,
.bt-runner-comments .comment-meta span,
.pd-reviews .comment-meta a,
.bt-runner-comments .comment-meta a {
    color: inherit;
    font-weight: var(--bt-font-weight-normal);
    text-decoration: none;
}

.pd-reviews .comment-bubble.mine .comment-meta,
.bt-runner-comments .comment-bubble.mine .comment-meta,
.pd-reviews .comment-bubble.mine .comment-content,
.bt-runner-comments .comment-bubble.mine .comment-content {
    color: rgba(255, 255, 255, .86);
}

.pd-reviews .comment-content,
.bt-runner-comments .comment-content {
    color: var(--text);
    font-size: var(--bt-font-size-body);
    line-height: 1.65;
}

.pd-reviews .comment-content p,
.bt-runner-comments .comment-content p {
    margin: 0 0 8px;
}

.pd-reviews .comment-content p:last-child,
.bt-runner-comments .comment-content p:last-child {
    margin-bottom: 0;
}

.pd-reviews .author-badge,
.bt-runner-comments .author-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px 7px;
    background: rgba(248, 56, 75, .1);
    color: var(--primary);
    font-size: var(--bt-font-size-small);
    line-height: 1.2;
}

.pd-reviews .comment-bubble.mine .author-badge,
.bt-runner-comments .comment-bubble.mine .author-badge {
    background: rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .9);
}

.pd-reviews .comment-form-ajax,
.bt-runner-comments .comment-form-ajax {
    display: grid;
    gap: 10px;
}

.pd-reviews .comment-form-field,
.bt-runner-comments .comment-form-field {
    margin: 0;
}

.pd-reviews #comment-input,
.bt-runner-comments #comment-input {
    width: 100%;
    min-height: 88px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    background: var(--bg);
    color: var(--text);
    font: inherit;
    resize: vertical;
}

.pd-reviews #comment-input:focus,
.bt-runner-comments #comment-input:focus {
    outline: 3px solid rgba(248, 56, 75, .14);
    border-color: var(--primary);
}

.pd-reviews #comment-submit-btn,
.bt-runner-comments #comment-submit-btn {
    justify-self: start;
    min-width: 0;
    border-radius: 8px;
    padding: 10px 16px;
}

@media (max-width: 768px) {
    .pd-reviews .comment-bubble,
    .bt-runner-comments .comment-bubble {
        max-width: 80%;
    }

    .pd-reviews .comment-avatar,
    .bt-runner-comments .comment-avatar,
    .pd-reviews .comment-avatar img,
    .bt-runner-comments .comment-avatar img,
    .pd-reviews .comment-avatar .avatar,
    .bt-runner-comments .comment-avatar .avatar,
    .pd-reviews .comment-avatar-fallback,
    .bt-runner-comments .comment-avatar-fallback {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }
}

/* Botari message bubble override */
.conversation-messages-list .message-item {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 65%;
  margin: 0 0 2px;
}

.conversation-messages-list .message-item.own,
.conversation-messages-list .message-item.message-own {
  align-self: flex-end;
  align-items: flex-end;
}

.conversation-messages-list .message-item:not(.own):not(.message-own),
.conversation-messages-list .message-item.message-other {
  align-self: flex-start;
  align-items: flex-start;
}

.conversation-messages-list .message-content {
  position: relative;
  min-width: 0;
  padding: 12px 16px;
  border: 0 !important;
  border-radius: 18px !important;
  background: #f8f9fa;
  color: var(--text-primary, #212529);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.05)) !important;
  line-height: 1.65;
  min-width: 82px;
  max-width: min(420px, 100%);
  white-space: pre-wrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.conversation-messages-list .message-content::after {
  content: none !important;
}

.conversation-messages-list .message-item:not(.own):not(.message-own) .message-content,
.conversation-messages-list .message-item.message-other .message-content {
  border-bottom-left-radius: 4px !important;
  background: #f8f9fa;
  color: var(--text-primary, #212529);
}

.conversation-messages-list .message-item.own .message-content,
.conversation-messages-list .message-item.message-own .message-content {
  border-bottom-right-radius: 4px !important;
  background: var(--primary, #f8384b) !important;
  color: #fff !important;
}

.conversation-messages-list .message-time,
.conversation-messages-list .message-read {
  margin-top: 4px;
  font-size: var(--bt-font-size-small);
  line-height: 1.25;
  color: var(--text-lighter, #adb5bd);
}

.conversation-messages-list .message-image {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.05)) !important;
}

@media (max-width: 767px) {
  .conversation-messages-list .message-item {
    max-width: 82%;
  }

  .conversation-messages-list .message-content {
    padding: 11px 14px;
  }
}
