/* ============================================================
   single.css  –  Single Slide Page Theme Overrides (theme-split)
   Modern, minimal, elegant design system
   ============================================================ */

.theme-split {
    --rs-single-header: var(--rs-header-height, 68px);
    --rs-single-footer: 0px;
    --rs-single-rail: 280px;
    --rs-single-info: 340px;
    --rs-ink: #141a17;
    --rs-muted: #5c665f;
    --rs-subtle: #8a938c;
    --rs-accent: #16a34a;
    --rs-accent-strong: #15803d;
    --rs-accent-deep: #121615;
    --rs-accent-light: rgba(22, 163, 74, 0.1);
    --rs-accent-tint: #f0fdf4;
    --rs-surface: #ffffff;
    --rs-surface-soft: #f7faf7;
    --rs-line: rgba(25, 37, 34, 0.08);
    --rs-line-strong: rgba(25, 37, 34, 0.14);
    --rs-shadow-panel: 0 18px 46px rgba(25, 37, 34, 0.08);
    --rs-radius: 10px;
    --rs-radius-sm: 6px;
    --rs-radius-pill: 100px;
    background:
        linear-gradient(135deg, #f5f6f3 0%, #f8f9f6 40%, #faf8f2 100%) !important;
    color: var(--rs-ink);
    overflow-x: hidden;
    padding-bottom: 0 !important;
}

@media (min-width: 1025px) {
    .theme-split {
        height: 100vh !important;
        overflow: hidden !important;
    }
}

.theme-split *,
.theme-split *::before,
.theme-split *::after {
    box-sizing: border-box;
}

/* ─── Layout Grid ─── */

.theme-split .rs-single-container {
    display: grid !important;
    grid-template-columns: var(--rs-single-rail) minmax(0, 1fr) var(--rs-single-info) !important;
    height: calc(100vh - var(--rs-single-header) - var(--rs-single-footer) - 1px) !important;
    min-height: calc(100vh - var(--rs-single-header) - var(--rs-single-footer) - 1px) !important;
    gap: 0 !important;
}

/* ─── Left Sidebar (Recommendations) ─── */

.theme-split .recommendation-sidebar {
    position: fixed !important;
    top: var(--rs-single-header) !important;
    left: 0 !important;
    width: var(--rs-single-rail) !important;
    height: calc(100vh - var(--rs-single-header) - var(--rs-single-footer)) !important;
    padding: 0 14px 24px !important;
    overflow-y: auto !important;
    border-right: 1px solid var(--rs-line) !important;
    background:
        linear-gradient(rgba(244, 246, 243, 0.98), rgba(244, 246, 243, 0.98)) top / 100% 18px no-repeat local,
        linear-gradient(rgba(244, 246, 243, 0), rgba(244, 246, 243, 0.98) 70%) bottom / 100% 42px no-repeat local,
        radial-gradient(farthest-side at 50% 0, rgba(25, 37, 34, 0.16), rgba(25, 37, 34, 0)) top / 100% 14px no-repeat scroll,
        radial-gradient(farthest-side at 50% 100%, rgba(25, 37, 34, 0.18), rgba(25, 37, 34, 0)) bottom / 100% 18px no-repeat scroll,
        rgba(244, 246, 243, 0.97) !important;
    counter-reset: rec-counter;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.theme-split .recommendation-sidebar::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}

.theme-split .recommendation-sidebar::before {
    content: "";
    position: fixed;
    z-index: 3;
    left: 0;
    bottom: 0;
    width: var(--rs-single-rail);
    height: 72px;
    pointer-events: none;
    background: linear-gradient(rgba(244, 246, 243, 0), rgba(244, 246, 243, 0.96) 62%, rgba(244, 246, 243, 0.98));
}

.theme-split .ppt-section-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin: 0 -14px 12px !important;
    padding: 16px 14px 12px !important;
    border-bottom: 1px solid var(--rs-line);
    background: rgba(244, 246, 243, 0.96);
    backdrop-filter: blur(14px);
}

.theme-split .ppt-section-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
}

.theme-split .ppt-section-arrow {
    width: 16px !important;
    height: 16px !important;
    color: var(--rs-accent) !important;
    transform: rotate(-90deg) !important;
    transition: transform 0.2s ease !important;
}

.theme-split .recommendation-sidebar:hover .ppt-section-arrow {
    transform: rotate(0deg) !important;
}

.theme-split .rec-title {
    margin: 0 !important;
    color: var(--rs-muted) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.theme-split .rec-refresh-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    min-width: 0 !important;
    height: 26px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(22, 163, 74, 0.25) !important;
    border-radius: 13px !important;
    background: #ffffff !important;
    color: var(--rs-accent, #16a34a) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.06) !important;
    transition: all 0.2s ease !important;
}

.theme-split .rec-refresh-button:hover {
    background: rgba(240, 253, 244, 1) !important;
    border-color: rgba(22, 163, 74, 0.4) !important;
    color: var(--rs-accent-strong, #15803d) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.12) !important;
}

.theme-split .rec-refresh-button svg {
    flex: 0 0 auto !important;
    transition: transform 0.3s ease !important;
}

.theme-split .rec-refresh-button:hover svg {
    transform: rotate(180deg) !important;
}

.theme-split .rec-grid {
    gap: 8px !important;
}

.theme-split .rec-item {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    padding: 6px !important;
    border: 1px solid transparent !important;
    border-radius: var(--rs-radius-sm) !important;
    color: inherit !important;
    text-decoration: none !important;
    transition: all 0.18s ease !important;
}

.theme-split .rec-item:hover,
.theme-split .rec-item.is-active {
    border-color: transparent !important;
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 2px 12px rgba(25, 37, 34, 0.06) !important;
}

.theme-split .rec-item::before {
    counter-increment: rec-counter !important;
    content: counter(rec-counter) !important;
    width: auto !important;
    padding-top: 5px !important;
    color: var(--rs-subtle) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-align: right !important;
}

.theme-split .rec-item.is-active::before {
    color: var(--rs-accent-strong) !important;
}

.theme-split .rec-thumb-wrapper {
    min-width: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(25, 37, 34, 0.08) !important;
    border-radius: var(--rs-radius-sm) !important;
    background: #fff !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.theme-split .rec-item:hover .rec-thumb-wrapper,
.theme-split .rec-item.is-active .rec-thumb-wrapper {
    border-color: rgba(22, 163, 74, 0.35) !important;
    box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.12) !important;
}

.theme-split .rec-item.is-active .rec-thumb-wrapper {
    border-color: var(--rs-accent) !important;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.18) !important;
}

.theme-split .rec-thumb {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    border: 0 !important;
    object-fit: contain !important;
    display: block !important;
    background: #fff !important;
}

/* ─── Center Stage (Gallery / Preview) ─── */

.theme-split .gallery-content {
    grid-column: 2 !important;
    min-width: 0 !important;
    height: calc(100vh - var(--rs-single-header) - var(--rs-single-footer) - 1px) !important;
    min-height: calc(100vh - var(--rs-single-header) - var(--rs-single-footer) - 1px) !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: clamp(18px, 2vw, 34px) !important;
    background: linear-gradient(160deg, #f0f2ee 0%, #f5f6f3 100%) !important;
}

.theme-split .rs-carousel-wrapper {
    position: relative !important;
    width: min(100%, calc((100vh - var(--rs-single-header) - var(--rs-single-footer) - 80px) * 1.77778)) !important;
    max-width: 1480px !important;
    max-height: calc(100vh - var(--rs-single-header) - var(--rs-single-footer) - 48px) !important;
    margin: 0 auto !important;
    padding: 12px !important;
    border: 1px solid rgba(25, 37, 34, 0.07) !important;
    border-radius: var(--rs-radius) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow:
        0 1px 2px rgba(25, 37, 34, 0.04),
        0 8px 24px rgba(25, 37, 34, 0.06),
        0 24px 80px rgba(25, 37, 34, 0.08) !important;
    overflow: visible !important;
}

.theme-split .rs-carousel-container,
.theme-split .rs-carousel-slide,
.theme-split .rs-carousel-slide.active {
    width: 100% !important;
}

.theme-split .rs-carousel-slide img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: calc(100vh - var(--rs-single-header) - var(--rs-single-footer) - 78px) !important;
    aspect-ratio: 16 / 9;
    object-fit: contain !important;
    border-radius: var(--rs-radius-sm) !important;
    background: #fff !important;
    display: block !important;
}

.theme-split .rs-carousel-prev,
.theme-split .rs-carousel-next {
    width: 38px !important;
    height: 38px !important;
    border: 1px solid rgba(25, 37, 34, 0.08) !important;
    border-radius: var(--rs-radius-sm) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--rs-ink) !important;
    box-shadow: 0 2px 12px rgba(25, 37, 34, 0.1) !important;
    backdrop-filter: blur(8px) !important;
    transition: all 0.18s ease !important;
}

.theme-split .rs-carousel-prev:hover,
.theme-split .rs-carousel-next:hover {
    background: #fff !important;
    box-shadow: 0 4px 20px rgba(25, 37, 34, 0.14) !important;
    transform: translateY(-50%) scale(1.04) !important;
}

.theme-split .rs-carousel-prev {
    left: 20px !important;
}

.theme-split .rs-carousel-next {
    right: 20px !important;
}

.theme-split .rs-carousel-indicators {
    bottom: 24px !important;
}

.theme-split .rs-carousel-thumbs {
    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    display: flex !important;
    gap: 6px !important;
    padding: 8px !important;
    border: 1px solid rgba(25, 37, 34, 0.06) !important;
    border-radius: var(--rs-radius-sm) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(14px) !important;
}

.theme-split .rs-thumb {
    width: 88px !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border: 1.5px solid transparent !important;
    border-radius: 4px !important;
    transition: all 0.18s ease !important;
}

.theme-split .rs-thumb img {
    object-fit: contain !important;
    background: #fff !important;
}

.theme-split .rs-thumb:hover {
    border-color: rgba(22, 163, 74, 0.25) !important;
}

.theme-split .rs-thumb.active {
    border-color: var(--rs-accent) !important;
    box-shadow: 0 0 0 1px var(--rs-accent) !important;
}

/* ─── Right Sidebar (Info Panel) ─── */

.theme-split .info-sidebar {
    position: fixed !important;
    top: var(--rs-single-header) !important;
    right: 0 !important;
    width: var(--rs-single-info) !important;
    height: calc(100vh - var(--rs-single-header) - var(--rs-single-footer)) !important;
    overflow-y: auto !important;
    padding: 24px 22px !important;
    border-left: 1px solid var(--rs-line) !important;
    background:
        radial-gradient(circle at 0 0, rgba(22, 163, 74, 0.08), rgba(22, 163, 74, 0) 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 248, 0.96)) !important;
    backdrop-filter: blur(20px);
    scrollbar-color: rgba(22, 163, 74, 0.25) transparent;
    scrollbar-width: thin;
}

.theme-split .category-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: var(--rs-accent-strong) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px !important;
    text-transform: none !important;
    margin-bottom: 10px !important;
}

.theme-split .category-label::before {
    content: "" !important;
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 999px !important;
    background: var(--rs-accent) !important;
    box-shadow: 0 0 0 4px var(--rs-accent-light) !important;
}

.theme-split .section-title {
    margin: 0 0 9px !important;
    color: var(--rs-accent-strong) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    text-transform: none !important;
}

.theme-split .product-title {
    position: relative !important;
    margin: 0 0 16px !important;
    color: var(--rs-ink) !important;
    font-size: 25px !important;
    line-height: 1.12 !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%) !important;
    mask-image: linear-gradient(to right, #000 85%, transparent 100%) !important;
}

.theme-split .price-badge {
    border-radius: var(--rs-radius-sm) !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.theme-split .price-badge.paid {
    background: var(--rs-ink) !important;
    color: #fff !important;
}

.theme-split .price-badge.free {
    background: var(--rs-accent-light) !important;
    color: var(--rs-accent) !important;
}

.theme-split .product-description {
    margin: 16px 0 20px !important;
    color: var(--rs-muted) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

.theme-split .license-summary {
    gap: 10px !important;
    margin-bottom: 22px !important;
    padding: 14px !important;
    border: 1px solid var(--rs-line) !important;
    border-radius: var(--rs-radius) !important;
    background: #f8faf7 !important;
}

.theme-split .license-summary-item {
    color: var(--rs-muted) !important;
    font-size: 13px !important;
}

.theme-split .license-summary-item svg {
    color: var(--rs-accent) !important;
}

/* Sections — use spacing instead of heavy dividers */

.theme-split .specs-section,
.theme-split .tags-section,
.theme-split .single-info-section,
.theme-split .ratings-section {
    margin-bottom: 4px !important;
    padding-bottom: 4px !important;
    border-bottom: none !important;
}

.theme-split .specs-section {
    margin-bottom: 14px !important;
    padding: 12px !important;
    border: 1px solid rgba(22, 163, 74, 0.14) !important;
    border-radius: 8px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 247, 0.9)),
        var(--rs-surface) !important;
    box-shadow: 0 10px 28px rgba(25, 37, 34, 0.05) !important;
}

.theme-split .specs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
}

.theme-split .spec-item {
    min-height: 50px !important;
    padding: 8px 9px !important;
    border: 1px solid rgba(22, 163, 74, 0.1) !important;
    border-radius: 8px !important;
    background: rgba(238, 247, 239, 0.62) !important;
}

.theme-split .spec-label {
    color: var(--rs-subtle) !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px !important;
}

.theme-split .spec-value {
    color: var(--rs-ink) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* Tags — pill shape */

.theme-split .tag-chip {
    border-radius: var(--rs-radius-pill) !important;
    padding: 5px 10px !important;
    background: var(--rs-accent-tint) !important;
    color: #375a43 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    transition: all 0.18s ease !important;
    border: 1px solid rgba(22, 163, 74, 0.12) !important;
}

.theme-split .tag-chip:hover {
    background: #e2f1e5 !important;
    color: var(--rs-accent-strong) !important;
    border-color: rgba(22, 163, 74, 0.22) !important;
}

/* ─── Purchase Panel ─── */

.theme-split .single-purchase-panel {
    display: grid !important;
    gap: 10px !important;
    margin: 0 0 14px !important;
    padding: 14px !important;
    border: 1px solid rgba(22, 163, 74, 0.16) !important;
    border-radius: 8px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 247, 0.98)),
        var(--rs-surface) !important;
    box-shadow: var(--rs-shadow-panel) !important;
}

.theme-split .single-purchase-favorite {
    margin-top: 0 !important;
}

.theme-split .single-purchase-favorite .rs-favorite-single {
    width: 100% !important;
    min-height: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(22, 163, 74, 0.3) !important;
    background: #f1faf3 !important;
    color: var(--rs-accent-strong) !important;
    font-weight: 800 !important;
}

.theme-split .single-purchase-price {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.theme-split .single-purchase-price span {
    color: var(--rs-subtle) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    text-transform: none !important;
}

.theme-split .single-purchase-price strong {
    color: var(--rs-ink) !important;
    font-size: 18px !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
}

.theme-split .single-primary-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, var(--rs-accent-deep), #1b2926) !important;
    color: #fff !important;
    font: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 10px 22px rgba(18, 22, 21, 0.18) !important;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.theme-split .single-primary-action:hover,
.theme-split .single-primary-action:focus {
    background: var(--rs-accent) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 12px 26px rgba(22, 163, 74, 0.24) !important;
}

.theme-split .single-primary-action:active {
    transform: translateY(0) !important;
    box-shadow: 0 1px 4px rgba(22, 163, 74, 0.2) !important;
}

/* ─── Fonts & Tags — Stacked Sections ─── */

.theme-split .single-fonts-panel,
.theme-split .tags-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(25, 37, 34, 0.06) !important;
}

/* Font scroll wrapper with arrow */
.theme-split .single-fonts-scroll-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
}

.theme-split .single-fonts-scroll-wrapper::before,
.theme-split .single-fonts-scroll-wrapper::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 48px !important;
    pointer-events: none !important;
    z-index: 1 !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
}

.theme-split .single-fonts-scroll-wrapper::before {
    left: -8px !important;
    background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,0.8) 40%, rgba(255,255,255,1) 80%) !important;
}
.theme-split .single-fonts-scroll-wrapper.can-scroll-left::before {
    opacity: 1 !important;
}

.theme-split .single-fonts-scroll-wrapper::after {
    right: -8px !important;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.8) 40%, rgba(255,255,255,1) 80%) !important;
}
.theme-split .single-fonts-scroll-wrapper.can-scroll-right::after {
    opacity: 1 !important;
}

.theme-split .single-fonts-scroll-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: var(--rs-accent-strong, #15803d) !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.theme-split .single-fonts-scroll-btn.is-left {
    left: -6px !important;
}
.theme-split .single-fonts-scroll-btn.is-right {
    right: -6px !important;
}

.theme-split .single-fonts-scroll-wrapper.can-scroll-left .single-fonts-scroll-btn.is-left,
.theme-split .single-fonts-scroll-wrapper.can-scroll-right .single-fonts-scroll-btn.is-right {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.theme-split .single-fonts-scroll-btn:hover {
    background: transparent !important;
    color: var(--rs-accent, #16a34a) !important;
    transform: translateY(-50%) scale(1.15) !important;
}

.theme-split .single-fonts-panel .section-title,
.theme-split .tags-section .section-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    color: var(--rs-accent-strong) !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1.3 !important;
}

.theme-split .single-fonts-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-right: 32px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    min-width: 0 !important;
}

.theme-split .single-fonts-list::-webkit-scrollbar {
    display: none !important;
}

.theme-split .tags-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    max-height: 58px !important;
    overflow: hidden !important;
    min-width: 0 !important;
    text-align: left !important;
}

.theme-split .single-font-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    min-height: 26px !important;
    max-width: none !important;
    padding: 2px 10px !important;
    color: #3a5544 !important;
    background: rgba(22, 163, 74, 0.05) !important;
    border: 1px solid rgba(22, 163, 74, 0.1) !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    transition: all 0.16s ease !important;
}

.theme-split .single-font-chip:hover {
    background: rgba(22, 163, 74, 0.1) !important;
    border-color: rgba(22, 163, 74, 0.2) !important;
    color: var(--rs-accent-strong) !important;
}

.theme-split .tag-chip {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 26px !important;
    max-width: 100% !important;
    padding: 3px 10px !important;
    color: #375a43 !important;
    background: rgba(22, 163, 74, 0.055) !important;
    border: 1px solid rgba(22, 163, 74, 0.1) !important;
    border-radius: var(--rs-radius-pill) !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    overflow-wrap: anywhere !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
}

.theme-split .single-font-chip + .single-font-chip::before,
.theme-split .tag-chip + .tag-chip::before {
    content: none !important;
}

.theme-split .tag-chip:hover {
    background: rgba(22, 163, 74, 0.12) !important;
    border-color: rgba(22, 163, 74, 0.25) !important;
    color: var(--rs-accent-strong) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.08) !important;
}

/* ─── Color Palette Section ─── */

.theme-split .single-palette-section {
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(25, 37, 34, 0.06) !important;
}

.theme-split .single-palette-section .section-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 0 10px !important;
}

.theme-split .single-palette-list {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.theme-split .single-color-swatch {
    display: inline-block !important;
    width: 30px !important;
    height: 30px !important;
    border: 2.5px solid #fff !important;
    border-radius: 999px !important;
    box-shadow:
        0 0 0 1px rgba(25, 37, 34, 0.12),
        0 2px 6px rgba(25, 37, 34, 0.08) !important;
    cursor: pointer !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease !important;
    position: relative !important;
}

.theme-split .single-color-swatch:hover {
    transform: scale(1.18) !important;
    box-shadow:
        0 0 0 1.5px rgba(22, 163, 74, 0.3),
        0 4px 12px rgba(25, 37, 34, 0.14) !important;
}

.theme-split .single-color-hex {
    display: block !important;
    margin-top: 3px !important;
    color: var(--rs-subtle, #8a938c) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    font-family: "SF Mono", "Cascadia Code", "Consolas", monospace !important;
    text-align: center !important;
    letter-spacing: 0.2px !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.theme-split .single-color-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
}

/* ─── Rating Bars ─── */

.theme-split .rating-bar {
    height: 18px !important;
    border-radius: var(--rs-radius-sm) !important;
    background: #eef2ee !important;
}

.theme-split .rating-fill {
    background: linear-gradient(90deg, var(--rs-accent), #78a585) !important;
    border-radius: var(--rs-radius-sm) !important;
}

/* ─── Sidebar Actions ─── */

.theme-split .sidebar-actions .btn-secondary {
    min-height: 40px !important;
    border: 1px solid var(--rs-line) !important;
    border-radius: var(--rs-radius-sm) !important;
    background: #f8faf6 !important;
    color: var(--rs-ink) !important;
    font-weight: 700 !important;
    transition: all 0.18s ease !important;
}

.theme-split .sidebar-actions .btn-secondary:hover {
    background: var(--rs-accent-light) !important;
    border-color: rgba(22, 163, 74, 0.2) !important;
}

.theme-split .sidebar-actions .btn-icon {
    border: 1px solid var(--rs-line) !important;
    border-radius: var(--rs-radius-sm) !important;
    background: #fff !important;
    transition: all 0.18s ease !important;
}

.theme-split .sidebar-actions .btn-icon:hover {
    background: var(--rs-accent-light) !important;
    color: var(--rs-accent) !important;
}

/* ─── Notes Panel & Footer (hidden) ─── */

.theme-split .rs-notes-panel-wrapper {
    display: none !important;
}

.theme-split .rs-fixed-footer {
    display: none !important;
    height: var(--rs-single-footer) !important;
}

/* ─── Responsive ─── */

@media (max-width: 1280px) {
    .theme-split {
        --rs-single-rail: 240px;
        --rs-single-info: 310px;
    }
}

@media (max-width: 1024px) {
    .theme-split .rs-single-container {
        display: block !important;
    }

    .theme-split .recommendation-sidebar,
    .theme-split .info-sidebar {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
    }

    .theme-split .recommendation-sidebar {
        border-right: 0 !important;
        border-bottom: 1px solid var(--rs-line) !important;
    }

    .theme-split .rec-grid {
        flex-direction: row !important;
        overflow-x: auto !important;
    }

    .theme-split .rec-item {
        flex: 0 0 200px !important;
    }

    .theme-split .gallery-content {
        height: auto !important;
        min-height: 0 !important;
        padding: 24px 16px !important;
    }

    .theme-split .rs-carousel-wrapper {
        width: 100% !important;
        max-height: none !important;
    }

    .theme-split .rs-carousel-slide img {
        max-height: none !important;
    }

    .theme-split .info-sidebar {
        border-left: 0 !important;
        border-top: 1px solid var(--rs-line) !important;
    }
}

@media (max-width: 720px) {
    .theme-split {
        padding-bottom: 0 !important;
    }

    .theme-split .product-title {
        font-size: 22px !important;
    }

    .theme-split .info-sidebar {
        padding: 20px 16px !important;
    }
}
