/* Homepage foundations migrated from main.css. Keep before the theme composition. */
.hero-section {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 30px 0 40px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
}
.home-category-section {
    margin-bottom: 15px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ffffff;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #087dff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: #075cf5;
    transform: translateX(4px);
}
.products-carousel-wrapper {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.products-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    will-change: scroll-position;
    user-select: none;
    cursor: grab;
}

.products-carousel.active {
    cursor: grabbing;
    scroll-behavior: auto;
}

.products-carousel::-webkit-scrollbar {
    display: none;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 2px solid #4285f4;
    color: #4285f4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background: #4285f4;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-left {
    left: 0;
}

.carousel-arrow-right {
    right: 0;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 24px;
        margin: 20px 0 30px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

.stats-section {
    background: linear-gradient(135deg, #4285f4 0%, #3b82f6 100%);
    padding: 60px 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="rgba(255,255,255,0.03)" width="50" height="50"/><rect fill="rgba(255,255,255,0.03)" x="50" y="50" width="50" height="50"/></svg>');
    opacity: 0.3;
}

.stats-container {
    width: 100%;
    margin: 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@media (max-width: 768px) {
    .stats-section {
        padding: 40px 16px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}

.how-it-works-section {
    background: transparent;
    padding: 60px 20px;
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 45px;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.step-card-blue .step-number {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.step-card-blue .step-icon {
    background: rgba(59, 130, 246, 0.1);
}

.step-card-blue .step-icon i {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-card-blue:hover .step-icon {
    background: #087dff;
}

.step-card-blue:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
}

.step-card-purple .step-number {
    background: linear-gradient(135deg, #4285f4 0%, #3b82f6 100%);
    box-shadow: 0 4px 10px rgba(103, 61, 230, 0.3);
}

.step-card-purple .step-icon {
    background: rgba(255, 255, 255, 0.1);
}

.step-card-purple .step-icon i {
    background: linear-gradient(135deg, #4285f4 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-card-purple:hover .step-icon {
    background: #087dff;
}

.step-card-purple:hover {
    border-color: rgba(103, 61, 230, 0.3);
    box-shadow: 0 10px 40px rgba(103, 61, 230, 0.15);
}

.step-card-pink .step-number {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.step-card-pink .step-icon {
    background: rgba(16, 185, 129, 0.1);
}

.step-card-pink .step-icon i {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-card-pink:hover .step-icon {
    background: #087dff;
}

.step-card-pink:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15);
}

.step-card-orange .step-number {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.step-card-orange .step-icon {
    background: rgba(249, 115, 22, 0.1);
}

.step-card-orange .step-icon i {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-card-orange:hover .step-icon {
    background: #087dff;
}

.step-card-orange:hover {
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.15);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 36px;
    background: linear-gradient(135deg, #4285f4 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-description {
    font-size: 15px;
    color: #a0aec0;
    line-height: 1.6;
    margin: 0;
}

.step-arrow {
    color: #cbd5e0;
    font-size: 32px;
    flex-shrink: 0;
}

.step-arrow i {
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(10px);
    }
}
@media (max-width: 1024px) {
    .steps-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .how-it-works-section {
        padding: 45px 16px;
    }

    .how-it-works-header {
        margin-bottom: 30px;
    }

    .steps-container {
        flex-direction: column;
        gap: 40px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {

    .step-description {
        font-size: 14px;
    }

    .step-icon {
        width: 70px;
        height: 70px;
    }

    .step-icon i {
        font-size: 30px;
    }
}

/*
 * AmezPrice homepage
 * ------------------
 * Page-owned Pro Blue composition. All colors come from the shared semantic
 * theme so this page follows the same light and dark modes as the dashboards.
 */

html[data-site-theme="blue"] body.home-page {
    min-width: 0;
    background: var(--pb-canvas) !important;
    color: var(--pb-text);
}

html[data-site-theme="blue"] body.home-page .auth-background {
    opacity: 0.62;
}

html[data-site-theme="blue"] body.home-page .home-main {
    padding-top: clamp(16px, 2vw, 28px) !important;
    padding-bottom: clamp(18px, 3vw, 44px) !important;
}

/* Hero */
html[data-site-theme="blue"] body.home-page .hero-section {
    grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr) !important;
    gap: clamp(42px, 6vw, 88px) !important;
    min-height: 560px !important;
    margin: 0 0 clamp(26px, 4vw, 42px) !important;
    padding: clamp(42px, 5vw, 72px) !important;
    border: 1px solid var(--pb-border) !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at 91% 4%, var(--pb-hero-glow), transparent 34%),
        var(--pb-gradient-hero) !important;
    box-shadow: var(--pb-shadow-lg) !important;
}

html[data-site-theme="blue"] body.home-page .hero-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 41%;
    bottom: -62%;
    width: 26rem;
    height: 26rem;
    border: 1px solid rgba(var(--pb-primary-rgb), 0.1);
    border-radius: 50%;
}

html[data-site-theme="blue"] body.home-page .blue-hero-eyebrow {
    min-height: 32px;
    margin-bottom: 22px;
    padding: 7px 12px;
    border-color: rgba(var(--pb-primary-rgb), 0.28);
    background: var(--pb-primary-soft);
    color: var(--pb-primary);
    box-shadow: none;
    letter-spacing: 0.09em;
}

html[data-site-theme="blue"] body.home-page .hero-title {
    max-width: 690px;
    margin-bottom: 22px !important;
    font-size: clamp(46px, 5.4vw, 76px) !important;
    letter-spacing: -0.06em !important;
}

html[data-site-theme="blue"] body.home-page .hero-subtitle {
    max-width: 660px;
    color: var(--pb-text) !important;
    font-size: clamp(16px, 1.5vw, 20px) !important;
    line-height: 1.7 !important;
}

html[data-site-theme="blue"] body.home-page :is(.blue-hero-primary, .blue-hero-secondary) {
    min-height: 50px;
    padding-inline: 20px;
    border-radius: 12px;
}

html[data-site-theme="blue"] body.home-page :is(.blue-hero-primary, .blue-hero-secondary):focus-visible {
    outline: 0;
    box-shadow: var(--pb-ring) !important;
}

html[data-site-theme="blue"] body.home-page .blue-hero-secondary:hover {
    border-color: var(--pb-primary) !important;
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] body.home-page .blue-hero-proof {
    gap: 12px 22px;
    margin-top: 26px;
    color: var(--pb-muted);
    font-size: 12px;
}

html[data-site-theme="blue"] body.home-page .blue-hero-panel {
    padding: 22px;
    border-color: var(--pb-border-strong);
    border-radius: 22px;
    background: var(--pb-surface-raised);
    box-shadow: var(--pb-shadow-md);
}

html[data-site-theme="blue"] body.home-page .blue-product-icon {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(var(--pb-primary-rgb), 0.18);
    border-radius: 12px;
}

html[data-site-theme="blue"] body.home-page .blue-live-chip {
    border: 1px solid rgba(var(--pb-positive-rgb), 0.2);
    font-size: 11px;
    font-weight: 800;
}

html[data-site-theme="blue"] body.home-page .blue-price-row {
    margin-top: 22px;
}

html[data-site-theme="blue"] body.home-page .blue-chart-shell {
    margin-top: 20px;
    padding: 15px 16px 11px;
    border-color: var(--pb-border);
    background: var(--pb-input);
}

html[data-site-theme="blue"] body.home-page .blue-chart {
    height: 142px;
}

html[data-site-theme="blue"] body.home-page .blue-panel-foot {
    gap: 10px;
    margin-top: 14px;
}

html[data-site-theme="blue"] body.home-page .blue-panel-foot span {
    min-width: 0;
    padding: 11px 12px;
    border-color: var(--pb-divider);
}

/* Product discovery rails */
html[data-site-theme="blue"] body.home-page .home-category-section {
    margin: clamp(22px, 3vw, 34px) 0 !important;
    padding: clamp(20px, 2.5vw, 32px) !important;
    overflow: hidden;
    border: 1px solid var(--pb-border) !important;
    border-radius: 22px !important;
    background: var(--pb-surface) !important;
    box-shadow: var(--pb-shadow-sm) !important;
}

html[data-site-theme="blue"] body.home-page .category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px !important;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--pb-divider) !important;
}

html[data-site-theme="blue"] body.home-page .category-heading-group {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 13px;
}

html[data-site-theme="blue"] body.home-page .category-heading-group > div {
    min-width: 0;
}

html[data-site-theme="blue"] body.home-page .category-icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(var(--pb-primary-rgb), 0.18);
    border-radius: 13px;
    background: var(--pb-primary-soft);
    color: var(--pb-primary);
    font-size: 21px;
}

html[data-site-theme="blue"] body.home-page .category-eyebrow,
html[data-site-theme="blue"] body.home-page .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--pb-primary);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.11em;
    line-height: 1.2;
    text-transform: uppercase;
}

html[data-site-theme="blue"] body.home-page .category-title {
    margin: 4px 0 0 !important;
    overflow: hidden;
    color: var(--pb-heading) !important;
    font-size: clamp(19px, 2vw, 26px) !important;
    font-weight: 800 !important;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html[data-site-theme="blue"] body.home-page .category-actions,
html[data-site-theme="blue"] body.home-page .carousel-controls {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 9px;
}

html[data-site-theme="blue"] body.home-page .carousel-control {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--pb-border-strong);
    border-radius: 10px;
    background: var(--pb-surface-soft);
    color: var(--pb-heading);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

html[data-site-theme="blue"] body.home-page .carousel-control:hover:not(:disabled) {
    border-color: var(--pb-primary);
    background: var(--pb-primary-soft);
    color: var(--pb-primary);
    transform: translateY(-1px);
}

html[data-site-theme="blue"] body.home-page .carousel-control:focus-visible {
    outline: 0;
    box-shadow: var(--pb-ring);
}

html[data-site-theme="blue"] body.home-page .carousel-control:disabled {
    cursor: default;
    opacity: 0.38;
}

html[data-site-theme="blue"] body.home-page .view-all-link {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(var(--pb-primary-rgb), 0.16);
    border-radius: 10px;
    background: var(--pb-primary-soft) !important;
    color: var(--pb-primary) !important;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

html[data-site-theme="blue"] body.home-page .view-all-link:hover {
    border-color: rgba(var(--pb-primary-rgb), 0.36);
    transform: translateY(-1px) !important;
}

html[data-site-theme="blue"] body.home-page .products-carousel-wrapper {
    overflow: visible;
}

html[data-site-theme="blue"] body.home-page .products-carousel {
    gap: 16px !important;
    padding: 2px 2px 8px;
    scroll-behavior: smooth;
    scroll-padding-inline: 2px;
    scroll-snap-type: x proximity;
    cursor: grab;
}

html[data-site-theme="blue"] body.home-page .products-carousel:focus-visible {
    outline: 0;
    box-shadow: var(--pb-ring);
    border-radius: 16px;
}

html[data-site-theme="blue"] body.home-page .products-carousel.active {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

html[data-site-theme="blue"] body.home-page .home-category-section .product-card {
    flex: 0 0 clamp(244px, 21.5vw, 286px);
    min-width: 0 !important;
    max-width: 286px !important;
    padding: 0 !important;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid var(--pb-border) !important;
    border-radius: 17px !important;
    background: var(--pb-surface-raised) !important;
    box-shadow: var(--pb-shadow-xs) !important;
    transform: none;
}

html[data-site-theme="blue"] body.home-page .home-category-section .product-card:hover {
    border-color: var(--pb-border-strong) !important;
    box-shadow: var(--pb-shadow-md) !important;
    transform: translateY(-4px) !important;
}

html[data-site-theme="blue"] body.home-page .home-category-section .product-image {
    display: grid;
    place-items: center;
    height: 210px;
    margin: 0 !important;
    padding: 14px;
    border-bottom: 1px solid var(--pb-divider);
    background: var(--pb-media-surface) !important;
    overflow: hidden;
}

html[data-site-theme="blue"] body.home-page .home-category-section .product-image img {
    width: 100% !important;
    height: 180px !important;
    max-width: 100%;
    max-height: 180px;
    border-radius: 10px;
    object-fit: contain;
}

html[data-site-theme="blue"] body.home-page .product-image-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: var(--pb-surface-soft);
    color: var(--pb-subtle);
    font-size: 40px;
}

html[data-site-theme="blue"] body.home-page .home-category-section .discount-badge {
    top: 12px;
    left: 12px;
    min-height: 28px;
    padding: 6px 9px;
    border: 1px solid var(--pb-danger);
    border-radius: 8px !important;
    background: var(--pb-danger) !important;
    color: var(--pb-on-primary) !important;
    box-shadow: 0 7px 16px rgba(var(--pb-danger-rgb), 0.28);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.04em;
}

html[data-site-theme="blue"] body.home-page .home-category-section .product-info {
    min-height: 208px;
    padding: 18px !important;
}

html[data-site-theme="blue"] body.home-page .home-category-section .product-title {
    min-height: 44px;
    margin: 0 0 14px !important;
    color: var(--pb-heading) !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.55 !important;
}

html[data-site-theme="blue"] body.home-page .home-category-section .product-title a {
    color: inherit;
    text-decoration: none;
}

html[data-site-theme="blue"] body.home-page .home-category-section .product-title a:hover {
    color: var(--pb-primary);
}

html[data-site-theme="blue"] body.home-page .home-category-section .product-price {
    align-items: end;
    min-height: 47px;
    margin: 0 0 16px !important;
}

html[data-site-theme="blue"] body.home-page .home-category-section .price-left {
    display: grid;
    align-items: baseline;
    grid-template-columns: max-content max-content;
    column-gap: 8px;
    row-gap: 2px;
    min-width: 0;
}

html[data-site-theme="blue"] body.home-page .home-category-section .price-label {
    grid-column: 1 / -1;
    color: var(--pb-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

html[data-site-theme="blue"] body.home-page .home-category-section .current-price {
    color: var(--pb-positive) !important;
    font-size: 21px !important;
    font-weight: 850 !important;
    letter-spacing: -0.035em;
}

html[data-site-theme="blue"] body.home-page .home-category-section .highest-price {
    color: var(--pb-subtle);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    white-space: nowrap;
}

html[data-site-theme="blue"] body.home-page .home-category-section .tracking-badge {
    min-height: 30px;
    padding: 5px 8px;
    border: 1px solid rgba(var(--pb-primary-rgb), 0.15);
    border-radius: 9px;
    background: var(--pb-primary-soft) !important;
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] body.home-page .home-category-section .product-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-top: auto;
}

html[data-site-theme="blue"] body.home-page .home-category-section :is(.btn-view-details, .btn-buy-now) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 10px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    white-space: nowrap;
}

html[data-site-theme="blue"] body.home-page .home-category-section .btn-view-details:hover {
    border-color: var(--pb-primary) !important;
    background: var(--pb-primary-soft) !important;
    color: var(--pb-primary) !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] body.home-page .home-category-section .btn-buy-now:hover {
    filter: brightness(1.06);
    box-shadow: 0 10px 22px rgba(var(--pb-primary-rgb), 0.22) !important;
}

html[data-site-theme="blue"] body.home-page .home-category-section :is(.btn-view-details, .btn-buy-now):focus-visible {
    outline: 0;
    box-shadow: var(--pb-ring) !important;
}

/* Platform activity */
html[data-site-theme="blue"] body.home-page .stats-section {
    display: grid;
    gap: 26px;
    width: min(calc(100% - 32px), 1404px);
    margin: clamp(18px, 3vw, 34px) auto !important;
    padding: clamp(24px, 3vw, 36px) !important;
    border: 1px solid var(--pb-border);
    border-radius: 24px;
    background: var(--pb-surface) !important;
    box-shadow: var(--pb-shadow-sm);
}

html[data-site-theme="blue"] body.home-page .stats-heading {
    display: grid;
    gap: 7px;
}

html[data-site-theme="blue"] body.home-page .stats-heading h2 {
    margin: 0;
    color: var(--pb-heading);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 850;
    letter-spacing: -0.035em;
}

html[data-site-theme="blue"] body.home-page .stats-heading p {
    margin: 0;
    color: var(--pb-muted);
    font-size: 14px;
}

html[data-site-theme="blue"] body.home-page .stats-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px !important;
    width: 100%;
    max-width: none !important;
    padding: 0 !important;
}

html[data-site-theme="blue"] body.home-page .stats-container .stat-card {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: row;
    min-width: 0;
    min-height: 106px;
    gap: 14px;
    padding: 18px !important;
    overflow: hidden;
    border: 1px solid var(--pb-border) !important;
    border-radius: 16px !important;
    background: var(--pb-surface-soft) !important;
    box-shadow: none !important;
    text-align: left;
}

html[data-site-theme="blue"] body.home-page .stats-container .stat-card::before {
    inset: 0 auto 0 0;
    width: 3px;
    border-radius: 0;
    background: var(--stat-tone, var(--pb-primary));
}

html[data-site-theme="blue"] body.home-page .stats-container .stat-card::after {
    content: "";
    position: absolute;
    right: -24px;
    top: -28px;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--stat-soft, var(--pb-primary-soft));
}

html[data-site-theme="blue"] body.home-page .stat-card-primary {
    --stat-tone: var(--pb-primary);
    --stat-soft: var(--pb-primary-soft);
}

html[data-site-theme="blue"] body.home-page .stat-card-accent {
    --stat-tone: var(--pb-accent);
    --stat-soft: var(--pb-accent-soft);
}

html[data-site-theme="blue"] body.home-page .stat-card-positive {
    --stat-tone: var(--pb-positive);
    --stat-soft: var(--pb-positive-soft);
}

html[data-site-theme="blue"] body.home-page .stat-card-purple {
    --stat-tone: var(--pb-purple);
    --stat-soft: var(--pb-purple-soft);
}

html[data-site-theme="blue"] body.home-page .stats-container .stat-icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px !important;
    height: 46px !important;
    margin: 0;
    border: 1px solid var(--stat-soft);
    border-radius: 13px !important;
    background: var(--stat-soft) !important;
    color: var(--stat-tone) !important;
}

html[data-site-theme="blue"] body.home-page .stats-container .stat-icon i {
    color: inherit !important;
    font-size: 23px;
}

html[data-site-theme="blue"] body.home-page .stats-container .stat-info {
    position: relative;
    z-index: 1;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
}

html[data-site-theme="blue"] body.home-page .stats-container .stat-number {
    color: var(--pb-heading) !important;
    font-size: clamp(23px, 2.3vw, 30px) !important;
    font-weight: 850 !important;
}

html[data-site-theme="blue"] body.home-page .stats-container .stat-label {
    color: var(--pb-muted) !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

/* How it works */
html[data-site-theme="blue"] body.home-page .how-it-works-section {
    margin: 0 !important;
    padding: clamp(20px, 3vw, 42px) clamp(16px, 3vw, 48px) !important;
    border: 0;
    background: transparent !important;
}

html[data-site-theme="blue"] body.home-page .how-it-works-container {
    max-width: 1404px;
    padding: clamp(30px, 4vw, 52px);
    border: 1px solid var(--pb-border);
    border-radius: 24px;
    background: var(--pb-band);
    box-shadow: var(--pb-shadow-md);
}

html[data-site-theme="blue"] body.home-page .how-it-works-header {
    max-width: 760px;
    margin: 0 auto 40px;
}

html[data-site-theme="blue"] body.home-page .how-it-works-header .section-eyebrow {
    margin-bottom: 12px;
    color: var(--pb-primary-hover);
}

html[data-site-theme="blue"] body.home-page .how-it-works-section .section-title {
    margin: 0 0 10px !important;
    font-size: clamp(26px, 3.2vw, 40px) !important;
    font-weight: 850;
    letter-spacing: -0.04em;
}

html[data-site-theme="blue"] body.home-page .how-it-works-section .section-subtitle {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
}

html[data-site-theme="blue"] body.home-page .steps-container {
    align-items: stretch;
    gap: 16px !important;
}

html[data-site-theme="blue"] body.home-page .how-it-works-section .step-card {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    min-width: 0;
    min-height: 244px;
    max-width: none;
    padding: 26px !important;
    border-color: var(--pb-band-border) !important;
    border-radius: 17px !important;
    background: var(--pb-band-raised) !important;
    text-align: left;
}

html[data-site-theme="blue"] body.home-page .how-it-works-section .step-number {
    top: 18px;
    right: 18px;
    left: auto;
    width: 34px;
    height: 34px;
    transform: none;
    border: 1px solid var(--pb-band-border);
    background: var(--pb-band-raised) !important;
    color: var(--pb-band-muted) !important;
    font-size: 13px;
}

html[data-site-theme="blue"] body.home-page .how-it-works-section .step-icon {
    width: 50px;
    height: 50px;
    margin: 0 0 24px;
    border: 1px solid rgba(var(--step-rgb, var(--pb-primary-rgb)), 0.2);
    border-radius: 14px;
    background: var(--step-soft, var(--pb-primary-soft)) !important;
    color: var(--step-tone, var(--pb-primary)) !important;
}

html[data-site-theme="blue"] body.home-page .step-card-blue {
    --step-tone: var(--pb-primary);
    --step-soft: var(--pb-primary-soft);
    --step-rgb: var(--pb-primary-rgb);
}

html[data-site-theme="blue"] body.home-page .step-card-pink {
    --step-tone: var(--pb-positive);
    --step-soft: var(--pb-positive-soft);
    --step-rgb: var(--pb-positive-rgb);
}

html[data-site-theme="blue"] body.home-page .step-card-orange {
    --step-tone: var(--pb-orange);
    --step-soft: var(--pb-orange-soft);
    --step-rgb: var(--pb-orange-rgb);
}

html[data-site-theme="blue"] body.home-page .how-it-works-section .step-icon i {
    color: inherit;
    background: none;
    -webkit-text-fill-color: currentColor;
    font-size: 25px;
}

html[data-site-theme="blue"] body.home-page .how-it-works-section .step-card:hover .step-icon {
    background: var(--step-tone) !important;
    color: var(--pb-on-primary) !important;
    transform: translateY(-2px);
}

html[data-site-theme="blue"] body.home-page .how-it-works-section .step-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
}

html[data-site-theme="blue"] body.home-page .how-it-works-section .step-description {
    font-size: 13px;
    line-height: 1.7;
}

html[data-site-theme="blue"] body.home-page .how-it-works-section .step-arrow {
    align-self: center;
    color: var(--pb-primary-hover) !important;
    font-size: 24px;
}

/* FAQ */
html[data-site-theme="blue"] body.home-page .faq-section {
    padding: clamp(54px, 6vw, 82px) clamp(16px, 3vw, 48px) !important;
    border: 0 !important;
    background: transparent !important;
}

html[data-site-theme="blue"] body.home-page .faq-container {
    max-width: 1404px;
}

html[data-site-theme="blue"] body.home-page .faq-header {
    max-width: 720px;
    margin-bottom: 36px;
}

html[data-site-theme="blue"] body.home-page .faq-section .faq-eyebrow {
    margin-bottom: 12px;
    border-color: rgba(var(--pb-primary-rgb), 0.2);
    background: var(--pb-primary-soft);
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] body.home-page .faq-section .section-title {
    margin: 0 0 10px !important;
    font-size: clamp(28px, 3.5vw, 42px) !important;
    font-weight: 850;
    letter-spacing: -0.04em;
}

html[data-site-theme="blue"] body.home-page .faq-section .section-subtitle {
    font-size: 15px;
    line-height: 1.65;
}

html[data-site-theme="blue"] body.home-page .faq-all-link {
    min-height: 40px;
    margin-top: 18px;
    padding: 9px 14px;
    border-radius: 10px;
}

html[data-site-theme="blue"] body.home-page .faq-grid {
    gap: 16px;
}

html[data-site-theme="blue"] body.home-page .faq-category {
    padding: 18px !important;
    border-radius: 18px !important;
}

html[data-site-theme="blue"] body.home-page .faq-category-title {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-color: var(--pb-divider);
    font-size: 16px;
}

html[data-site-theme="blue"] body.home-page .faq-category-title i {
    border-color: rgba(var(--pb-primary-rgb), 0.18);
    background: var(--pb-primary-soft);
}

html[data-site-theme="blue"] body.home-page .faq-item {
    margin-bottom: 8px;
    border-color: var(--pb-divider) !important;
    background: var(--pb-surface-soft) !important;
}

html[data-site-theme="blue"] body.home-page .faq-item:hover {
    border-color: var(--pb-border-strong) !important;
}

html[data-site-theme="blue"] body.home-page .faq-item.active {
    border-color: rgba(var(--pb-primary-rgb), 0.35) !important;
    background: var(--pb-primary-soft) !important;
}

html[data-site-theme="blue"] body.home-page .faq-question {
    min-height: 58px;
    padding: 14px;
    font-size: 13px;
}

html[data-site-theme="blue"] body.home-page .faq-answer p {
    padding: 0;
    font-size: 12px;
    line-height: 1.75;
}

html[data-site-theme="blue"] body.home-page .faq-answer-content {
    padding: 0 14px 16px;
    color: var(--pb-text-secondary);
    font-size: 12px;
    line-height: 1.75;
}

html[data-site-theme="blue"] body.home-page .faq-answer-content p {
    margin: 0 0 10px;
}

html[data-site-theme="blue"] body.home-page .faq-answer-content p:last-child {
    margin-bottom: 0;
}

html[data-site-theme="blue"] body.home-page .faq-answer-content ul,
html[data-site-theme="blue"] body.home-page .faq-answer-content ol {
    margin: 7px 0 11px;
    padding-left: 20px;
}

html[data-site-theme="blue"] body.home-page .faq-answer-content li {
    margin: 5px 0;
}

html[data-site-theme="blue"] body.home-page .faq-answer-content a {
    color: var(--pb-primary-hover);
    text-underline-offset: 2px;
}

html[data-site-theme="blue"] body.home-page .faq-answer-content .info-box {
    margin: 9px 0;
    padding: 9px 11px;
    border-left: 3px solid var(--pb-primary);
    border-radius: 0 9px 9px 0;
    background: rgba(var(--pb-primary-rgb), 0.1);
}

/* Shared advertisement spacing on this page */
html[data-site-theme="blue"] body.home-page .ad-container,
html[data-site-theme="blue"] body.home-page .horizontal-ad-container {
    border-radius: 18px;
}

@media (max-width: 1180px) {
    html[data-site-theme="blue"] body.home-page .hero-section {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr) !important;
        gap: 34px !important;
        padding: 46px !important;
    }

    html[data-site-theme="blue"] body.home-page .stats-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    html[data-site-theme="blue"] body.home-page .hero-section {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    html[data-site-theme="blue"] body.home-page .blue-hero-panel {
        width: min(100%, 650px);
    }

    html[data-site-theme="blue"] body.home-page .faq-grid {
        grid-template-columns: 1fr;
    }

    html[data-site-theme="blue"] body.home-page .faq-category {
        width: 100%;
    }
}

@media (max-width: 760px) {
    html[data-site-theme="blue"] body.home-page .home-main {
        padding-top: 14px !important;
    }

    html[data-site-theme="blue"] body.home-page .hero-section {
        gap: 30px !important;
        margin-bottom: 22px !important;
        padding: 34px 22px !important;
        border-radius: 21px !important;
    }

    html[data-site-theme="blue"] body.home-page .hero-title {
        font-size: clamp(40px, 13vw, 58px) !important;
    }

    html[data-site-theme="blue"] body.home-page .category-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    html[data-site-theme="blue"] body.home-page .category-actions {
        justify-content: space-between;
        width: 100%;
    }

    html[data-site-theme="blue"] body.home-page .category-title {
        white-space: normal;
    }

    html[data-site-theme="blue"] body.home-page .home-category-section .product-card {
        flex-basis: min(80vw, 276px);
    }

    html[data-site-theme="blue"] body.home-page .stats-section {
        width: calc(100% - 32px);
        padding: 22px !important;
        border-radius: 20px;
    }

    html[data-site-theme="blue"] body.home-page .how-it-works-container {
        padding: 32px 22px;
        border-radius: 20px;
    }

    html[data-site-theme="blue"] body.home-page .steps-container {
        gap: 18px !important;
    }

    html[data-site-theme="blue"] body.home-page .how-it-works-section .step-card {
        width: 100%;
        min-height: 210px;
    }

    html[data-site-theme="blue"] body.home-page .how-it-works-section .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 540px) {
    html[data-site-theme="blue"] body.home-page .blue-hero-panel {
        padding: 16px;
    }

    html[data-site-theme="blue"] body.home-page .blue-price-row {
        align-items: flex-start;
        flex-direction: column;
    }

    html[data-site-theme="blue"] body.home-page .blue-price-row > .blue-price-drop {
        width: 100%;
    }

    html[data-site-theme="blue"] body.home-page .blue-chart {
        height: 120px;
    }

    html[data-site-theme="blue"] body.home-page .blue-panel-foot span {
        padding: 8px;
    }

    html[data-site-theme="blue"] body.home-page .blue-panel-foot strong {
        font-size: 10px;
    }

    html[data-site-theme="blue"] body.home-page .stats-container {
        grid-template-columns: 1fr;
    }

    html[data-site-theme="blue"] body.home-page .stats-container .stat-card {
        min-height: 92px;
    }

    html[data-site-theme="blue"] body.home-page .carousel-control[data-carousel-direction] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html[data-site-theme="blue"] body.home-page *,
    html[data-site-theme="blue"] body.home-page *::before,
    html[data-site-theme="blue"] body.home-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* The loop rebases identical cards before paint; CSS smoothing or snapping
   would animate that invisible offset change back across the entire row. */
.products-carousel.is-looping {
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    overflow-anchor: none;
}

.products-carousel.is-looping > .product-card {
    scroll-snap-align: none !important;
}
