/**
 * PureLuxury — Shop Page Styles
 * Category banners + product carousels
 */

/* ===== PAGE CONTAINER ===== */
#pl-shop-page {
    background: #000;
    min-height: 100vh;
}

/* ===== CATEGORY SECTION ===== */
.pl-shop-category {
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
.pl-shop-category:last-child {
    border-bottom: none;
}

/* ===== BANNER ===== */
.pl-shop-banner {
    display: block;
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.pl-shop-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.50) 40%,
        rgba(0, 0, 0, 0.60) 100%
    );
    transition: background 0.4s ease;
}
.pl-shop-banner:hover .pl-shop-banner__overlay {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.60) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(0, 0, 0, 0.45) 100%
    );
}
.pl-shop-banner__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px 20px;
}
.pl-shop-banner__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: 12px;
    color: #C9A84C;
    text-transform: uppercase;
    margin: 0 0 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.pl-shop-banner__desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    margin: 0 0 28px;
}
.pl-shop-banner__cta {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #C9A84C;
    border: 1px solid #C9A84C;
    padding: 12px 35px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.pl-shop-banner:hover .pl-shop-banner__cta {
    background: #C9A84C;
    color: #000;
}

/* ===== CAROUSEL WRAPPER ===== */
.pl-carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ===== CAROUSEL ===== */
.pl-carousel {
    overflow: hidden;
    flex: 1;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pl-carousel::-webkit-scrollbar {
    display: none;
}
.pl-carousel__track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== CAROUSEL ARROWS ===== */
.pl-carousel-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.4);
    background: rgba(0, 0, 0, 0.6);
    color: #C9A84C;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    z-index: 3;
}
.pl-carousel-arrow:hover {
    border-color: #C9A84C;
    background: rgba(201, 168, 76, 0.15);
    color: #fff;
}
.pl-carousel-arrow svg {
    width: 20px;
    height: 20px;
}

/* ===== PRODUCT CARD ===== */
.pl-carousel__item {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: calc((100% - 60px) / 4);
}
.pl-product-card {
    display: block;
    text-decoration: none;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.35s ease;
}
.pl-product-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* Product Image */
.pl-product-card__image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #1a1a1a;
}
.pl-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.pl-product-card:hover .pl-product-card__image img {
    transform: scale(1.06);
}
.pl-product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}
.pl-product-card__placeholder span {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 48px;
    color: rgba(201, 168, 76, 0.3);
}

/* Product Info */
.pl-product-card__info {
    padding: 16px 18px 20px;
}
.pl-product-card__brand {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #C9A84C;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.pl-product-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}
.pl-product-card__price {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #C9A84C;
    letter-spacing: 0.5px;
}
.pl-product-card__price del {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
    font-size: 12px;
    margin-right: 6px;
}
.pl-product-card__price ins {
    text-decoration: none;
    color: #C9A84C;
}

/* ===== VIEW ALL LINK ===== */
.pl-shop-category__footer {
    text-align: center;
    padding: 10px 20px 0;
}
.pl-view-all {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #C9A84C;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 25px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    transition: all 0.3s ease;
}
.pl-view-all:hover {
    color: #fff;
    border-color: #fff;
}

/* ===== EMPTY STATE ===== */
.pl-shop-category__empty {
    text-align: center;
    padding: 60px 20px;
}
.pl-shop-category__empty p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .pl-carousel__item {
        flex: 0 0 calc((100% - 40px) / 3);
        min-width: calc((100% - 40px) / 3);
    }
    .pl-shop-banner {
        height: 280px;
    }
    .pl-shop-banner__title {
        font-size: 2.4rem;
        letter-spacing: 8px;
    }
    .pl-carousel-wrapper {
        padding: 30px 40px;
    }
}

@media (max-width: 768px) {
    .pl-carousel__item {
        flex: 0 0 calc((100% - 20px) / 2);
        min-width: calc((100% - 20px) / 2);
    }
    .pl-shop-banner {
        height: 220px;
    }
    .pl-shop-banner__title {
        font-size: 1.8rem;
        letter-spacing: 5px;
    }
    .pl-shop-banner__desc {
        font-size: 11px;
        letter-spacing: 2px;
    }
    .pl-carousel-wrapper {
        padding: 25px 15px;
    }
    .pl-carousel-arrow {
        width: 36px;
        height: 36px;
    }
    .pl-carousel-arrow svg {
        width: 16px;
        height: 16px;
    }
    .pl-shop-category {
        padding-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .pl-carousel__item {
        flex: 0 0 70%;
        min-width: 70%;
    }
    .pl-shop-banner {
        height: 180px;
    }
    .pl-shop-banner__title {
        font-size: 1.4rem;
        letter-spacing: 4px;
    }
}
