/* Public Clone4ever products catalog and featured product showcase. */

:root {
    --c4e-home-blue-dark: #000617;
    --c4e-home-blue-light: #8ed8ff;
    --c4e-home-blue-line: #16313e;
    --c4e-home-blue-panel: #020b1f;
}

.products-page {
    background: linear-gradient(180deg, #000 0%, var(--c4e-home-blue-dark) 12%, #000 100%);
}

.products-wrap {
    width: min(1320px, 100%);
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
}

.products-header {
    max-width: 860px;
    margin: 0 auto 48px;
    text-align: center;
}

.products-kicker {
    margin: 0 0 10px;
    color: var(--c4e-home-blue-light);
    font-family: "Orbitron", sans-serif;
    font-size: 11px;
    letter-spacing: 1.8px;
}

.products-header h1,
.products-secondary-header h2 {
    margin: 0 0 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
}

.products-secondary-header h2 {
    font-size: clamp(26px, 3vw, 36px);
}

.products-header > p,
.products-secondary-header > p {
    margin: 0;
    color: #cad6dc;
    font-size: 17px;
    line-height: 1.7;
}

.products-header a,
.products-header a:visited {
    color: var(--c4e-home-blue-light);
}

.featured-product {
    display: grid;
    grid-template-columns: minmax(0, 700px) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    margin-bottom: 56px;
    padding: 32px;
    border: 1px solid var(--c4e-home-blue-line);
    background:
        radial-gradient(circle at top left, rgba(142, 216, 255, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(0, 6, 23, 0.98), rgba(2, 11, 31, 0.98));
    box-shadow: 0 0 0 1px rgba(22, 49, 62, 0.7) inset;
}

.featured-product-main-image-shell {
    position: relative;
    padding: 16px;
    border: 1px solid var(--c4e-home-blue-line);
    background: linear-gradient(180deg, var(--c4e-home-blue-dark) 0%, var(--c4e-home-blue-panel) 100%);
}

.featured-product-main-image {
    display: block;
    width: 100%;
    aspect-ratio: 13 / 11;
    object-fit: contain;
    background: var(--c4e-home-blue-panel);
    border: 1px solid var(--c4e-home-blue-line);
}

.featured-product-gallery {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 12px;
    align-items: stretch;
    margin-top: 16px;
}

.gallery-arrow {
    border: 1px solid var(--c4e-home-blue-line);
    background: var(--c4e-home-blue-panel);
    color: var(--c4e-home-blue-light);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
    background: var(--c4e-home-blue-light);
    color: #000617;
}

.gallery-arrow[disabled] {
    border-color: #1c2730;
    color: #3c5563;
    cursor: default;
    background: var(--c4e-home-blue-panel);
}

.gallery-strip-viewport {
    overflow: hidden;
}

.gallery-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.gallery-strip::-webkit-scrollbar {
    display: none;
}

.gallery-thumb {
    flex: 0 0 122px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--c4e-home-blue-line);
    background: var(--c4e-home-blue-panel);
    color: #dcecff;
    cursor: pointer;
    text-align: left;
}

.gallery-thumb img {
    display: block;
    width: 100%;
    height: 82px;
    object-fit: cover;
    border: 1px solid var(--c4e-home-blue-line);
    background: #000;
}

.gallery-thumb span {
    font-size: 11px;
    line-height: 1.4;
}

.gallery-thumb.is-active,
.gallery-thumb:hover,
.gallery-thumb:focus-visible {
    border-color: var(--c4e-home-blue-light);
    box-shadow: 0 0 0 1px rgba(155, 220, 255, 0.2) inset;
}

.featured-product-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}

.featured-product-type,
.featured-product-price,
.featured-product-sku {
    font-family: "Orbitron", sans-serif;
    letter-spacing: 1px;
}

.featured-product-type {
    color: var(--c4e-home-blue-light);
    font-size: 11px;
}

.featured-product-price {
    color: #ff8c00;
    font-size: 22px;
}

.featured-product-sku {
    display: block;
    margin-bottom: 8px;
    color: #93a9b8;
    font-size: 11px;
}

.featured-product-content h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -0.8px;
}

.featured-product-lead {
    margin: 0 0 14px;
    color: #edf6fb;
    font-size: 19px;
    line-height: 1.7;
}

.featured-product-copy {
    margin: 0 0 20px;
    color: #c6d6df;
    font-size: 16px;
    line-height: 1.75;
}

.featured-product-callout {
    display: grid;
    gap: 6px;
    margin-bottom: 24px;
    padding: 16px 18px;
    border-left: 3px solid var(--c4e-home-blue-light);
    background: var(--c4e-home-blue-dark);
}

.featured-product-callout strong {
    color: #ffb14a;
    font-family: "Orbitron", sans-serif;
    font-size: 12px;
    letter-spacing: 1.3px;
}

.featured-product-callout span {
    color: #d7e4ea;
    font-size: 15px;
    line-height: 1.65;
}

.featured-product-actions,
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.featured-product-actions {
    margin-bottom: 10px;
}

.featured-product-action-note {
    margin: 0 0 28px;
    color: #aebcc5;
    font-size: 13px;
    line-height: 1.6;
}

.featured-product-action-note strong {
    color: #dcebf3;
}

.product-action-form {
    margin: 0;
}

.product-button,
.product-button:visited {
    display: inline-block;
    padding: 11px 16px;
    border: 1px solid #9bdcff;
    background: transparent;
    color: var(--c4e-home-blue-light);
    cursor: pointer;
    font-family: "Orbitron", sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    text-decoration: none;
}

.product-button-primary,
.product-button-primary:visited {
    border-color: #ff8c00;
    color: #ffb14a;
}

.product-button:hover,
.product-button:focus-visible,
.product-button-primary:hover,
.product-button-primary:focus-visible {
    background: var(--c4e-home-blue-light);
    color: #000617;
}

.product-button-primary:hover,
.product-button-primary:focus-visible {
    background: #ff8c00;
}

.product-button-disabled {
    border-color: #4a4a4a;
    color: #777;
    cursor: default;
}

.product-button-disabled:hover {
    background: transparent;
    color: #777;
}

.featured-product-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.featured-product-panel,
.product-card,
.products-empty {
    padding: 24px;
    border: 1px solid var(--c4e-home-blue-line);
    background: linear-gradient(180deg, rgba(0, 6, 23, 0.98), rgba(2, 11, 31, 0.96));
}

.featured-product-panel h3,
.product-card h2,
.products-empty h2 {
    margin: 0 0 14px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
}

#featured-product-highlights-title {
    white-space: nowrap;
    font-size: clamp(10px, 2.2vw, 24px);
}

.featured-product-details,
.product-details {
    margin: 0;
}

.featured-product-details > div,
.product-details > div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(22, 49, 62, 0.7);
}

.featured-product-details dt,
.featured-product-details dd,
.product-details dt,
.product-details dd {
    margin: 0;
    font-size: 13px;
}

.featured-product-details dt,
.product-details dt {
    color: #99b5c2;
}

.featured-product-details dd,
.product-details dd {
    color: #e8f3f9;
}

.featured-product-list {
    margin: 0;
    padding-left: 20px;
    color: #d9ebf4;
}

.featured-product-list li {
    margin-bottom: 10px;
    line-height: 1.65;
    font-size: 15px;
}

.featured-product-list-compact li {
    margin-bottom: 7px;
}

.products-secondary {
    display: grid;
    gap: 24px;
}

.products-secondary-header {
    padding-top: 10px;
    border-top: 1px solid var(--c4e-home-blue-line);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.product-card-topline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.product-type,
.product-price,
.product-sku {
    font-family: "Orbitron", sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
}

.product-type {
    color: var(--c4e-home-blue-light);
}

.product-price {
    color: #ff8c00;
    font-size: 13px;
}

.product-sku {
    display: block;
    margin-bottom: 8px;
    color: #93a9b8;
}

.product-description,
.products-empty p {
    color: #c6d4db;
    font-size: 15px;
    line-height: 1.7;
}

.products-empty {
    max-width: 100%;
}

.products-empty-secondary {
    text-align: center;
}

@media (max-width: 1120px) {
    .featured-product {
        grid-template-columns: 1fr;
    }

    .featured-product-media {
        max-width: 760px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .products-grid,
    .featured-product-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .products-header {
        margin-bottom: 36px;
    }

    .featured-product,
    .featured-product-panel,
    .product-card,
    .products-empty {
        padding: 22px;
    }

    .featured-product-gallery {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        gap: 8px;
    }

    .gallery-thumb {
        flex-basis: 106px;
    }

    .gallery-thumb img {
        height: 72px;
    }

    .featured-product-main-image-shell {
        padding: 10px;
    }

    .featured-product-content h2 {
        font-size: 32px;
    }

    .featured-product-lead {
        font-size: 17px;
    }

    .featured-product-copy,
    .featured-product-list li,
    .featured-product-callout span,
    .product-description,
    .products-empty p {
        font-size: 15px;
    }

    .featured-product-details > div,
    .product-details > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
