.file-store-hero {
    padding: 160px 0 60px;
}

.file-store-hero .section-container {
    text-align: center;
}

.file-store-detail-section {
    padding: 0 0 80px;
}

/* ==================== FILE CARD STYLES ==================== */
.file-store-card {
    text-align: right;
    padding: 0;
    overflow: hidden;
}

.file-store-card-cover {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.file-store-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.file-store-card-cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-ocean) 0%, var(--cyan) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-store-card-cover-placeholder i {
    font-size: 3rem;
    color: white;
}

.file-store-card-badge {
    position: absolute;
    top: 12px;
    padding: 6px 14px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.8rem;
    border: var(--border-medium);
}

.file-store-card-badge-left {
    left: 12px;
}

.file-store-card-badge-right {
    right: 12px;
}

.file-store-card-badge-free {
    background: var(--teal-green);
    color: white;
}

.file-store-card-badge-premium {
    background: var(--yellow);
    color: var(--black);
}

.file-store-card-badge-discount {
    background: var(--pink);
    color: white;
}

.file-store-card-body {
    padding: 24px;
}

.file-store-card-category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--gray-100);
    color: var(--blue-ocean-dark);
    margin-bottom: 12px;
}

.file-store-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.5;
}

.file-store-card-desc {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

.file-store-card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: var(--border-medium);
    margin-bottom: 16px;
}

.file-store-card-stats span {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 600;
}

.file-store-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-store-card-price-free {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--teal-green);
}

.file-store-card-price-old {
    text-decoration: line-through;
    color: var(--gray-300);
    font-size: 0.85rem;
}

.file-store-card-price-current {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--gray-900);
    margin-right: 4px;
}

/* ==================== PAGINATION STYLES ==================== */
.file-store-pagination-wrap {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.file-store-pagination-item {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--border-medium);
    border-radius: var(--radius-xs);
}

.file-store-pagination-item-active {
    background: var(--blue-ocean);
    color: white;
    font-weight: 700;
}

.file-store-pagination-item-link {
    color: var(--gray-900);
    transition: all var(--transition-fast);
    font-weight: 600;
}

.file-store-pagination-item-disabled {
    color: var(--gray-300);
    cursor: not-allowed;
}

.file-store-pagination-dots {
    padding: 0 8px;
    color: var(--gray-600);
}

/* ==================== EMPTY STATE STYLES ==================== */
.file-store-empty {
    text-align: center;
    padding: 80px 0;
}

.file-store-empty-icon {
    font-size: 4rem;
    color: var(--gray-300);
    display: block;
    margin-bottom: 20px;
}

.file-store-empty-title {
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--gray-600);
}

.file-store-empty-desc {
    color: var(--gray-600);
    margin-bottom: 24px;
}

/* ==================== DETAIL PAGE STYLES ==================== */
.file-store-detail-breadcrumb {
    margin-bottom: 24px;
}

.file-store-detail-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.file-store-detail-breadcrumb a {
    color: var(--blue-ocean);
    font-weight: 600;
}

.file-store-detail-breadcrumb .separator {
    color: var(--gray-300);
    font-size: 0.7rem;
}

.file-store-detail-breadcrumb .current {
    color: var(--gray-900);
    font-weight: 700;
}

.file-store-detail-cover {
    border-radius: var(--radius-lg);
    border: var(--border-thick);
    box-shadow: var(--shadow-brutal);
    overflow: hidden;
    margin-bottom: 32px;
}

.file-store-detail-cover img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
}

.file-store-detail-title-wrap {
    margin-bottom: 32px;
}

.file-store-detail-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
}

.file-store-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    border: var(--border-medium);
}

.file-store-detail-badge-free {
    background: var(--teal-green);
    color: white;
}

.file-store-detail-badge-premium {
    background: var(--yellow);
    color: var(--black);
}

.file-store-detail-badge-info {
    background: var(--gray-100);
    color: var(--blue-ocean-dark);
}

.file-store-detail-badge-muted {
    background: var(--gray-100);
    color: var(--gray-600);
}

.file-store-detail-content-box {
    background: var(--white);
    border: var(--border-medium);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
    text-align: justify;
}

.file-store-detail-content-box-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-store-detail-content-box-title i {
    color: var(--blue-ocean);
}

.file-store-detail-content-box-text {
    color: var(--gray-600);
    line-height: 1.9;
    font-size: 1.05rem;
    text-align: justify;
}

.file-store-detail-content-box-text hr {
    margin: 1rem 0.25rem;
}

.file-store-detail-content-box-text blockquote {
    background-color: var(--gray-100);
}



.file-store-detail-content-box-text-justify {
    text-align: justify;
}

/* ==================== SIDEBAR STYLES ==================== */
.file-store-sidebar {
    background: var(--white);
    border: var(--border-thick);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-brutal);
    padding: 32px;
}

.file-store-sidebar-price-box {
    text-align: center;
    padding: 24px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: var(--border-medium);
}

.file-store-sidebar-price-icon {
    font-size: 3rem;
    color: var(--teal-green);
    display: block;
    margin-bottom: 12px;
}

.file-store-sidebar-price-icon-blue {
    color: var(--blue-ocean);
}

.file-store-sidebar-price-free {
    font-weight: 900;
    color: var(--teal-green);
    margin: 0;
}

.file-store-sidebar-price-free-desc {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-top: 4px;
}

.file-store-sidebar-discount-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--pink);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 12px;
    border: var(--border-medium);
}

.file-store-sidebar-price-old {
    text-decoration: line-through;
    color: var(--gray-300);
    font-size: 1.1rem;
}

.file-store-sidebar-price-final {
    font-weight: 900;
    font-size: 2rem;
    color: var(--teal-green);
    margin-top: 4px;
}

.file-store-sidebar-price-save {
    color: var(--teal-green);
    font-weight: 600;
}

.file-store-sidebar-price-regular {
    font-weight: 900;
    font-size: 1.8rem;
}

.file-store-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.file-store-sidebar-actions .btn {
    width: 100%;
    justify-content: center;
}

.file-store-sidebar-purchased {
    text-align: center;
}

.file-store-sidebar-purchased-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(43, 163, 157, 0.1);
    color: var(--teal-green);
    font-weight: 700;
    font-size: 0.85rem;
}

.file-store-sidebar-details {
    border-top: var(--border-medium);
    padding-top: 20px;
}

.file-store-sidebar-details-title {
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-store-sidebar-details-title i {
    color: var(--blue-ocean);
}

.file-store-sidebar-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 2px dashed var(--gray-200);
}

.file-store-sidebar-details-row:last-child {
    border-bottom: none;
}

.file-store-sidebar-details-label {
    color: var(--gray-600);
    font-weight: 600;
}

.file-store-sidebar-details-value {
    font-weight: 700;
}

.file-store-sidebar-details-value-badge {
    font-weight: 700;
    padding: 4px 12px;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 0.85rem;
    border: var(--border-medium);
}

/* ==================== RELATED FILES STYLES ==================== */
.file-store-related-title {
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-store-related-title i {
    color: var(--blue-ocean);
}

.file-store-related-card {
    text-align: right;
    padding: 0;
    overflow: hidden;
}

.file-store-related-card-cover {
    overflow: hidden;
    height: 160px;
}

.file-store-related-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.file-store-related-card-cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-ocean) 0%, var(--cyan) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-store-related-card-cover-placeholder i {
    font-size: 2.5rem;
    color: white;
}

.file-store-related-card-body {
    padding: 20px;
}

.file-store-related-card-title {
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.5;
}

.file-store-related-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-store-related-card-price-free {
    font-weight: 900;
    color: var(--teal-green);
}

.file-store-related-card-price {
    font-weight: 900;
    color: var(--gray-900);
}

.file-store-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.file-store-detail-sidebar {
    position: sticky;
    top: 120px;
}

.file-store-related-section {
    padding: 80px 0;
}

.file-store-related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.file-store-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.file-store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.file-store-grid-section {
    padding: 20px 0 80px;
}

.file-store-filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 16px;
    align-items: end;
}

.file-store-count-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-store-pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

/* Responsive - Tablet Landscape */
@media (max-width: 1200px) {
    .file-store-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .file-store-detail-grid {
        gap: 32px;
    }
}

/* Responsive - Tablet Portrait */
@media (max-width: 1024px) {
    .file-store-hero {
        padding: 140px 0 50px;
    }

    .file-store-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .file-store-detail-sidebar {
        position: static;
    }

    .file-store-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .file-store-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .file-store-related-section {
        padding: 60px 0;
    }
}

/* Responsive - Mobile Landscape */
@media (max-width: 768px) {
    .file-store-hero {
        padding: 120px 0 40px;
    }

    .file-store-detail-section {
        padding: 0 0 60px;
    }

    .file-store-detail-grid {
        gap: 24px;
    }

    .file-store-related-section {
        padding: 50px 0;
    }

    .file-store-related-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        margin-bottom: 30px;
    }

    .file-store-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .file-store-badges {
        gap: 8px;
    }

    .file-store-badges span {
        padding: 6px 14px !important;
        font-size: 0.8rem !important;
    }

    .file-store-grid-section {
        padding: 10px 0 60px;
    }

    .file-store-filter-grid {
        grid-template-columns: 1fr;
    }

    .file-store-count-row {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .file-store-pagination {
        gap: 6px;
    }
}

/* Responsive - Mobile Portrait */
@media (max-width: 480px) {
    .file-store-hero {
        padding: 100px 0 30px;
    }

    .file-store-cards-grid {
        grid-template-columns: 1fr;
    }

    .file-store-detail-grid {
        gap: 20px;
    }

    .file-store-detail-sidebar {
        padding: 24px 20px !important;
    }

    .file-store-related-section {
        padding: 40px 0;
    }

    .file-store-pagination {
        gap: 4px;
    }

    .file-store-pagination a,
    .file-store-pagination span {
        width: 38px !important;
        height: 38px !important;
        font-size: 0.85rem;
    }
}

.mobile-purchase-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-top: 3px solid var(--black);
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease, transform 0.3s ease;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mobile-purchase-bar.hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.mobile-purchase-bar .bar-price {
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--gray-900);
    white-space: nowrap;
}

.mobile-purchase-bar .bar-price.free {
    color: var(--teal-green);
}

.mobile-purchase-bar .bar-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: var(--border-medium);
    background: var(--blue-ocean);
    color: white;
    box-shadow: 4px 4px 0px var(--black);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-purchase-bar .bar-btn:active {
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0px var(--black);
}

@media (max-width: 768px) {
    .mobile-purchase-bar {
        display: flex;
    }
}

[data-theme="dark"] .mobile-purchase-bar {
    background: #1e293b;
    border-top-color: #334155;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

/* Additional responsive styles for detail page */
@media (max-width: 768px) {
    .file-store-detail-section h1 {
        font-size: 1.5rem !important;
    }

    .file-store-detail-section .file-store-detail-sidebar {
        margin-top: 8px;
    }

    .file-store-detail-section .file-store-detail-sidebar>div {
        padding: 24px 20px !important;
    }

    .file-store-detail-section .file-store-detail-sidebar h5 {
        font-size: 1rem;
    }

    .file-store-detail-section .file-store-detail-sidebar .btn-lg {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .file-store-detail-section h1 {
        font-size: 1.3rem !important;
    }

    .file-store-detail-section .file-store-detail-sidebar>div {
        padding: 20px 16px !important;
    }

    .mobile-purchase-bar {
        padding: 10px 12px;
    }

    .mobile-purchase-bar .bar-price {
        font-size: 1rem;
    }

    .mobile-purchase-bar .bar-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}