/* ==========================================================================
   HOMEPAGE COMPONENT: PHONE SHOWCASE REEL
   Horizontal Reel Cards, Badges, Specs & Pagination
   ========================================================================== */

.showcase-reel-section {
    padding: 48px 0 64px;
    position: relative;
}

.showcase-reel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media(max-width:1199px) {
    .showcase-reel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:767px) {
    .showcase-reel-grid {
        grid-template-columns: 1fr;
    }
}

/* Horizontal Phone Card */
.phone-reel-card {
    background: var(--ps-bg-card, #ffffff);
    border: 1px solid var(--ps-border, #e2e8f0);
    border-radius: var(--ps-radius-lg, 20px);
    padding: 22px;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    align-items: center;
    box-shadow: var(--ps-shadow-card, 0 4px 20px -2px rgba(15, 23, 42, 0.06));
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.phone-reel-card:hover {
    transform: translateY(-4px);
    border-color: var(--ps-border-glow, rgba(2, 132, 199, 0.35));
    box-shadow: var(--ps-shadow-hover, 0 20px 35px -8px rgba(15, 23, 42, 0.12));
}

/* Phone Visual Box */
.reel-img-box {
    position: relative;
    width: 110px;
    height: 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: var(--ps-radius-md, 14px);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.reel-phone-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
}

.phone-reel-card:hover .reel-phone-img {
    transform: scale(1.08) rotate(-1deg);
}

/* Card Details */
.reel-content-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.reel-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.reel-brand-name {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--ps-primary, #0284c7);
}

.reel-featured-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    background: #ecfdf5;
    color: var(--ps-accent-green, #0062ff);
    border: 1px solid #a7f3d0;
}

.reel-phone-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ps-text-main, #0f172a);
    margin-bottom: 8px;
    line-height: 1.3;
}

/* Specs Cluster */
.reel-specs-cluster {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.reel-spec-item {
    font-size: 0.78rem;
    color: var(--ps-text-muted, #475569);
    display: flex;
    align-items: center;
    gap: 6px;
}

.reel-spec-item i {
    width: 14px;
    color: var(--ps-primary, #0284c7);
    font-size: 0.75rem;
}

/* Bottom Price & Button */
.reel-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.reel-price-current {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ps-text-main, #0f172a);
}

.reel-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: var(--ps-radius-sm, 8px);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ps-text-main, #0f172a);
    transition: all 0.2s ease;
}

.reel-view-btn:hover {
    background: var(--ps-primary, #0284c7);
    color: #ffffff;
    border-color: var(--ps-primary, #0284c7);
}

@media(max-width:767px) {
    .phone-reel-card {
        grid-template-columns: 95px 1fr;
        padding: 14px;
    }
}

/* ==========================================================================
   Catalog & News Pagination Styling
   ========================================================================== */
.pagination svg,
.page-link svg,
nav[role="navigation"] svg {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.pagination {
    display: flex !important;
    padding-left: 0;
    list-style: none;
    margin: 0;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-item .page-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px !important;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1;
}

.pagination .page-item:not(.active):not(.disabled) .page-link:hover {
    color: #0062ff;
    border-color: #0062ff;
    background-color: #eff6ff;
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    color: #fff !important;
    background-color: #0062ff !important;
    border-color: #0062ff !important;
    box-shadow: 0 4px 10px rgba(0, 98, 255, 0.25) !important;
}

.pagination .page-item.disabled .page-link {
    color: #94a3b8 !important;
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.showcase-pagination-wrap {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==========================================================================
   SMOOTH SCROLL REVEAL / FADE-IN ANIMATION
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
