/* Shahre Ketab partner card — LandProduct sidebar */
.sk-box {
    --sk-magenta: #C2185B;
    --sk-magenta-hover: #A0144A;
    --sk-pink-soft: #FCE4EC;
    --sk-title: #1F2937;
    --sk-muted: #9CA3AF;
    --sk-bg: #FFFFFF;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: var(--sk-bg);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(194, 24, 91, 0.08);
}

.sk-box.hidden {
    display: none !important;
}

/* Desktop: under cover image only (shown after API success) */
.sk-box--desktop {
    display: none !important;
}

@media (min-width: 1024px) {
    .sk-box--desktop:not(.hidden) {
        display: flex !important;
    }
}

/* Mobile: under promote cards only (shown after API success) */
.sk-box--mobile {
    display: none !important;
}

@media (max-width: 1023px) {
    .sk-box--mobile:not(.hidden) {
        display: flex !important;
    }
}

html[data-theme="dark"] .sk-box {
    --sk-bg: #1E2430;
    --sk-title: #F3F4F6;
    --sk-muted: #9CA3AF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border-color: rgba(252, 228, 236, 0.08);
}

.sk-box__glow {
    pointer-events: none;
    position: absolute;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(252, 228, 236, 0.95) 0%, rgba(252, 228, 236, 0) 70%);
    z-index: 0;
}

.sk-box__glow--tr {
    width: 8.5rem;
    height: 8.5rem;
    top: -2.25rem;
    inset-inline-end: -2.25rem; /* near logo (visual left in RTL) */
}

.sk-box__glow--bl {
    width: 6.5rem;
    height: 6.5rem;
    bottom: -2.25rem;
    inset-inline-start: -1.75rem;
    opacity: 0.55;
}

html[data-theme="dark"] .sk-box__glow {
    background: radial-gradient(circle, rgba(194, 24, 91, 0.22) 0%, rgba(194, 24, 91, 0) 70%);
}

.sk-box__header,
.sk-box__actions {
    position: relative;
    z-index: 1;
}

.sk-box__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.sk-box__copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    flex: 1;
}

.sk-box__title-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sk-box__subtitle-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sk-box__title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--sk-title);
}

.sk-box__subtitle {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.7;
    color: var(--sk-muted);
    flex: 1;
    min-width: 0;
}

.sk-box__logo-wrap {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 9999px;
    background: #000;
    overflow: hidden;
}

.sk-box__logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sk-box__actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sk-box__actions.hidden {
    display: none;
}

.sk-box__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.7rem 1rem;
    border-radius: 9999px;
    background: var(--sk-magenta);
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    box-shadow: 0 6px 16px rgba(194, 24, 91, 0.28);
    transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.sk-box__cta:hover {
    background: var(--sk-magenta-hover);
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(194, 24, 91, 0.35);
}

.sk-box__cta:focus-visible {
    outline: 2px solid var(--sk-magenta);
    outline-offset: 2px;
}

.sk-box__footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    align-self: center;
    font-size: 0.75rem;
    color: var(--sk-muted);
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.sk-box__footer:hover {
    color: var(--sk-magenta);
}

/* LandProduct promote cards — mobile tabs */
.lp-promote-tab.is-active {
    background-color: #ffffff;
    color: #1f2937;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

html[data-theme="dark"] .lp-promote-tab.is-active {
    background-color: rgba(255, 255, 255, 0.12);
    color: #f3f4f6;
    box-shadow: none;
}

@media (max-width: 767px) {
    #lp-promote-cards .lp-promote-panel:not(.is-active) {
        display: none !important;
    }
}

@media (min-width: 768px) {
    #lp-promote-cards .lp-promote-panel {
        display: flex !important;
    }
}
