/* jixmo powerbank page */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background-color: #2E2E2E;
    color: #ffffff;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
.ps-header {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 100;
}

.ps-header-content {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ps-logo {
    height: 2.5rem;
    width: auto;
    max-width: 8rem;
    object-fit: contain;
}

.ps-header-title {
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 300;
    color: #ffffff;
}

/* Page content */
.ps-page {
    max-width: 56rem;
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
}

/* Title block */
.ps-title-block {
    max-width: 48rem;
    margin: 0 auto 5rem;
    text-align: center;
}

.ps-title {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 2rem;
}

.ps-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.7;
    color: #cccccc;
    max-width: 40rem;
    margin: 0 auto 3rem;
}

/* Recommendation box */
.ps-rec-box {
    background: #3a3a3a;
    border: 1px solid #444;
    border-radius: 0.75rem;
    padding: 2rem;
    max-width: 40rem;
    margin: 0 auto;
}

.ps-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background: #C8FF00;
    color: #2e2e2e;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.ps-rec-text {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.7;
    color: #cccccc;
    margin-bottom: 0.75rem;
}

.ps-rec-text:last-child {
    margin-bottom: 0;
}

.ps-rec-text strong {
    font-weight: 600;
    color: #ffffff;
}

/* Section headings */
.ps-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Dimensions section */
.ps-dimensions {
    margin-bottom: 5rem;
}

.ps-requirements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 40rem;
    margin: 0 auto;
}

.ps-requirement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 0.75rem;
    background: #3a3a3a;
    border: 1px solid #444;
}

.ps-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #C8FF00;
    flex-shrink: 0;
}

.ps-requirement-item span {
    font-size: 1rem;
    font-weight: 400;
    color: #cccccc;
}

/* Products section */
.ps-products {
    margin-bottom: 2rem;
}

.ps-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.ps-product-card {
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #444;
    background: #3a3a3a;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.ps-product-card:hover {
    border-color: #C8FF00;
    transform: translateY(-2px);
}

.ps-product-card--recommended {
    border-color: rgba(200, 255, 0, 0.5);
}

.ps-product-badge {
    background: #C8FF00;
    color: #2e2e2e;
    text-align: center;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.ps-product-image-wrap {
    aspect-ratio: 1 / 1;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    overflow: hidden;
}

.ps-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.ps-product-card:hover .ps-product-image {
    transform: scale(1.05);
}

.ps-product-footer {
    padding: 1.25rem;
    border-top: 1px solid #444;
    text-align: center;
}

.ps-product-label {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    background: #444;
    color: #cccccc;
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.ps-product-link {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #cccccc;
}

/* Responsive */
@media (min-width: 640px) {
    .ps-requirements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ps-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ps-title {
        font-size: 2.5rem;
    }
}
