/* =========================================================
   Shared Physical Book Request CTA styles
   ========================================================= */

/* CTA card (used in sidebar, catalog page, etc.) */
.pbr-cta-widget { padding: 0 !important; background: transparent !important; border: none !important; box-shadow: none !important; }
.pbr-cta-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, #5b4bc4 100%);
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
    text-decoration: none;
}
.pbr-cta-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.35);
    color: #fff;
}
.pbr-cta-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.pbr-cta-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pbr-cta-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.pbr-cta-text span {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
}
.pbr-cta-arrow {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    transition: transform 0.2s;
}
.pbr-cta-card:hover .pbr-cta-arrow {
    transform: translateX(4px);
}

/* Catalog page hero CTA */
.pbr-catalog-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, #5b4bc4 100%);
    color: #fff;
    margin: 24px 0;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 10px 26px rgba(102, 126, 234, 0.22);
}
.pbr-catalog-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(102, 126, 234, 0.32);
}
.pbr-catalog-cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.pbr-catalog-cta-content {
    text-align: left;
}
.pbr-catalog-cta-content strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 3px;
}
.pbr-catalog-cta-content span {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}
.pbr-catalog-cta-arrow {
    margin-left: auto;
    font-size: 18px;
    color: rgba(255,255,255,0.95);
    transition: transform 0.2s;
}
.pbr-catalog-cta:hover .pbr-catalog-cta-arrow {
    transform: translateX(5px);
}

/* Header catalog dropdown request link */
.nav-catalog-request {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.08);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin: 12px 16px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px dashed rgba(102, 126, 234, 0.25);
}
.nav-catalog-request:hover {
    background: var(--primary);
    color: #fff;
    border-style: solid;
}
.nav-catalog-request i {
    font-size: 16px;
}

/* Compact bottom CTA */
.pbr-catalog-cta-bottom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary) 0%, #5b4bc4 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 24px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}
.pbr-catalog-cta-bottom:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.3);
    color: #fff;
}

/* Dark mode */
[data-theme="dark"] .nav-catalog-request {
    background: rgba(102, 126, 234, 0.12);
    color: #8fa2ff;
    border-color: rgba(102, 126, 234, 0.35);
}
[data-theme="dark"] .nav-catalog-request:hover {
    background: var(--primary);
    color: #fff;
}

/* Compact mini CTA for catalog page */
.pbr-catalog-mini-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary) 0%, #5b4bc4 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.18);
    margin: 4px 0 20px;
    border: none;
}
.pbr-catalog-mini-cta i:first-child {
    font-size: 15px;
}
.pbr-catalog-mini-cta span {
    white-space: nowrap;
}
.pbr-catalog-mini-cta .pbr-mini-arrow {
    font-size: 13px;
    opacity: 0.85;
    transition: transform 0.2s;
}
.pbr-catalog-mini-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(102, 126, 234, 0.28);
    color: #fff;
}
.pbr-catalog-mini-cta:hover .pbr-mini-arrow {
    transform: translateX(4px);
}
.pbr-catalog-mini-wrap {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .pbr-cta-card { padding: 14px; }
    .pbr-cta-icon { width: 38px; height: 38px; font-size: 16px; }
    .pbr-cta-text strong { font-size: 13px; }
    .pbr-cta-text span { font-size: 11px; }
    .pbr-catalog-cta { padding: 18px; gap: 12px; }
    .pbr-catalog-cta-icon { width: 44px; height: 44px; font-size: 18px; }
    .pbr-catalog-cta-content strong { font-size: 15px; }
    .pbr-catalog-cta-content span { font-size: 13px; }
    .pbr-catalog-cta-arrow { margin-left: 0; }
    .pbr-catalog-cta-bottom { font-size: 13px; padding: 10px 18px; }
}
