﻿.trending-section {
    padding: 96px 48px 0;
    background: var(--stone-light);
}

.trending-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.trending-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 24px;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

    .trending-grid .product-card {
        aspect-ratio: 16/10;
    }

.product-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(248,246,242,0.75);
    border: 1px solid rgba(255,255,255,0.22);
    padding: 7px 10px;
    background: rgba(14,14,14,0.25);
    backdrop-filter: blur(4px);
}

.trending-grid .product-card-content {
    padding: 22px 22px;
}

.trending-grid .product-card-name {
    font-size: 22px;
}

.trending-grid .product-card-sub {
    font-size: 13px;
    letter-spacing: 0.06em;
}

@media (max-width: 900px) {
    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .trending-grid {
        grid-template-columns: 1fr;
    }
}

.product-page-intro {
    padding: 72px 48px;
    background: var(--white);
}

.product-page-inner {
    max-width: 1200px;
    margin: 0 auto;
}
/* PRODUCTS SECTION */

.products-section {
    background: var(--stone-light);
    padding: 96px 48px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
    background: var(--stone);
}

.product-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}

.product-card:hover .product-card-bg {
    transform: scale(1.04);
}

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14,14,14,0.75) 0%, transparent 55%);
}

.product-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    z-index: 2;
}

.product-card-name {
    font-family: var(--ff-display);
    font-size: 24px;
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 4px;
}

.product-card-sub {
    font-size: 14px;
    letter-spacing: 0.08em;
    color: rgba(248,246,242,0.6);
}

.product-card-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    background: var(--stone-dark);
}

.product-card:hover .product-card-arrow {
    opacity: 1;
}

.collection-transition {
    max-width: 1200px;
    margin: 32px auto 0;
    padding: 0 48px;
}

    .collection-transition p {
        font-size: 11px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--muted);
        margin: 0;
        padding-top: 18px;
        border-top: 1px solid var(--border);
    }

.material-detail-section {
    padding: 96px 48px;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.material-detail-inner {
    max-width: 1200px;
    margin: auto;
}

.material-detail-header {
    max-width: 760px;
    margin-bottom: 50px;
}

.material-detail-lead {
    font-size: 15px;
    line-height: 1.9;
    color: var(--muted);
    margin-top: 14px;
}

.material-slider-wrapper {
    overflow: hidden;
    position: relative;
}

.material-slider {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: materialSlide 28s linear infinite;
}

.material-card {
    width: 300px;
    min-height: 220px;
    background: var(--stone-light);
    border: 1px solid var(--border);
    padding: 28px;
    flex-shrink: 0;
    transition: .35s ease;
}

    .material-card:hover {
        transform: translateY(-8px);
    }

.material-card-no {
    display: block;
    font-size: 11px;
    letter-spacing: .18em;
    color: var(--muted);
    margin-bottom: 18px;
}

.material-card h3 {
    font-family: var(--ff-display);
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 12px;
    color: var(--text);
}

.material-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    margin: 0;
}

@keyframes materialSlide {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
/* CTA BAND */

.cta-band {
    padding: 80px 48px;
    background: var(--text);
    text-align: center;
}

.cta-band-title {
    font-family: var(--ff-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 8px;
}

    .cta-band-title em {
        font-style: italic;
        color: var(--stone);
    }

.cta-band-sub {
    font-size: 13px;
    color: rgba(248,246,242,0.5);
    margin-bottom: 40px;
    letter-spacing: 0.04em;
}

.cta-band-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-band-primary {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 14px 36px;
    background: var(--white);
    color: var(--text);
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}

    .btn-band-primary:hover {
        background: var(--stone-light);
    }

.btn-band-ghost {
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 14px 36px;
    border: 1px solid rgba(248,246,242,0.2);
    color: rgba(248,246,242,0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.2s;
    cursor: pointer;
}

    .btn-band-ghost:hover {
        border-color: rgba(248,246,242,0.5);
    }


@media (max-width: 1200px) {
    .trending-section,
    .products-section,
    .material-detail-section,
    .cta-band,
    .product-page-intro {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 992px) {

    /* HEADER ALIGN FIX */
    .trending-header,
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* GRID FIX */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .material-blocks {
        grid-template-columns: 1fr;
    }

    .product-card-name {
        font-size: 20px;
    }

    .material-block-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {

    .trending-section,
    .products-section,
    .material-detail-section,
    .cta-band,
    .product-page-intro {
        padding: 64px 20px;
    }

    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .product-card {
        aspect-ratio: 3/4;
    }

    .product-card-content {
        padding: 20px;
    }

    .product-card-name {
        font-size: 18px;
    }

    .product-card-sub {
        font-size: 10px;
    }

    .material-slider {
        animation: none;
        overflow-x: auto;
    }

    .material-block {
        padding: 28px 20px;
    }

    .material-block-title {
        font-size: 20px;
    }

    .material-card {
        width: 260px;
        min-height: 200px;
        padding: 22px;
    }

        .material-card h3 {
            font-size: 20px;
        }

    .cta-band-title {
        font-size: 26px;
    }

    .cta-band-sub {
        font-size: 12px;
    }
}

@media (max-width: 576px) {

    .trending-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .collection-transition {
        padding: 0 20px;
    }

    .product-card {
        min-height: 320px;
    }

    .product-card-arrow {
        opacity: 1;
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .material-block p,
    .material-bullets li {
        font-size: 12px;
    }

    .btn-band-primary {
        width: 100%;
        text-align: center;
    }

    .cta-band-actions {
        flex-direction: column;
    }
}

@media (max-width: 400px) {

    /* ULTRA SMALL DEVICES */
    .product-card-name {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .material-block-title {
        font-size: 18px;
    }

    .cta-band-title {
        font-size: 22px;
    }
}
