/* ============================================
   LUXURY PRODUCTS PAGE CSS
   Works with existing .product-card HTML
   Scoped under .products-page-section
   ============================================ */

.products-page-section {
    position: relative;
    padding: 60px 0 90px;
    background:
        radial-gradient(circle at 10% 10%, rgba(197, 155, 45, 0.14), transparent 28%),
        radial-gradient(circle at 90% 85%, rgba(197, 155, 45, 0.10), transparent 30%),
        linear-gradient(135deg, #fffdf8 0%, #ffffff 48%, #fff8e5 100%);
    overflow: hidden;
}

.products-page-section::before {
    content: "✦";
    position: absolute;
    top: 75px;
    left: 6%;
    font-size: 115px;
    color: rgba(197, 155, 45, 0.08);
    pointer-events: none;
}

.products-page-section::after {
    content: "❖";
    position: absolute;
    right: 5%;
    bottom: 70px;
    font-size: 125px;
    color: rgba(197, 155, 45, 0.08);
    pointer-events: none;
}

.products-page-section .container {
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.products-page-section .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid rgba(197, 155, 45, 0.25);
    border-radius: 50px;
    padding: 12px 20px;
    margin-bottom: 35px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.products-page-section .breadcrumb-item a {
    color: #c59b2d;
    font-weight: 800;
    text-decoration: none;
}

.products-page-section .breadcrumb-item a:hover {
    color: #9f7617;
}

.products-page-section .breadcrumb-item.active {
    color: #444444;
    font-weight: 700;
}

/* Page heading */
.products-page-section h1 {
    color: #111111;
    font-size: 46px;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
}

.products-page-section h1::after {
    content: "";
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c59b2d, transparent);
    position: absolute;
    left: 50%;
    bottom: -16px;
    transform: translateX(-50%);
    border-radius: 50px;
}

/* Product card */
.products-page-section .product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 26px;
    border: 1px solid rgba(197, 155, 45, 0.25);
    overflow: hidden;
    position: relative;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.products-page-section .product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(197, 155, 45, 0.10), transparent 42%),
        radial-gradient(circle at top right, rgba(255, 244, 207, 0.65), transparent 30%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 1;
}

.products-page-section .product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(197, 155, 45, 0.60);
    box-shadow: 0 24px 55px rgba(197, 155, 45, 0.18);
}

.products-page-section .product-card:hover::before {
    opacity: 1;
}

/* Product image */
.products-page-section .product-card > a {
    display: block;
    position: relative;
    overflow: hidden;
    background: #fffdf8;
    text-decoration: none;
    z-index: 2;
}

.products-page-section .product-card > a::after {
    content: "View";
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #c59b2d, #9f7617);
    color: #ffffff;
    border-radius: 50px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 3;
}

.products-page-section .product-card:hover > a::after {
    opacity: 1;
    transform: translateY(0);
}

.products-page-section .product-card img {
    width: 100%;
    height: 275px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.products-page-section .product-card:hover img {
    transform: scale(1.08);
    filter: brightness(0.96);
}

/* Product body */
.products-page-section .product-card-body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #ffffff;
}

.products-page-section .product-card-body small,
.products-page-section .product-card-body .text-gold {
    display: block;
    min-height: 20px;
    color: #c59b2d !important;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 9px;
}

.products-page-section .product-card-body h5 {
    min-height: 48px;
    margin: 0 0 12px;
    color: #111111;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-page-section .product-card-body h5 a {
    color: #111111;
    text-decoration: none;
    transition: color 0.25s ease;
}

.products-page-section .product-card-body h5 a:hover {
    color: #c59b2d;
}

/* Price */
.products-page-section .product-card-body .price {
    min-height: 28px;
    color: #c59b2d;
    font-size: 19px;
    font-weight: 950;
    margin: 4px 0 16px;
}

/* Button */
.products-page-section .product-card-body .btn,
.products-page-section .btn-outline-gold {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 19px;
    border-radius: 50px;
    border: 1px solid #c59b2d !important;
    background: #ffffff !important;
    color: #c59b2d !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.products-page-section .product-card-body .btn::after,
.products-page-section .btn-outline-gold::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
}

.products-page-section .product-card-body .btn:hover,
.products-page-section .btn-outline-gold:hover {
    background: linear-gradient(135deg, #c59b2d, #9f7617) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(197, 155, 45, 0.25);
}

/* Empty state */
.products-page-section .alert,
.products-page-section .products-empty {
    background: #ffffff;
    border: 1px dashed rgba(197, 155, 45, 0.45);
    border-radius: 24px;
    padding: 45px 25px;
    color: #555555;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

/* Pagination */
.products-page-section .pagination {
    flex-wrap: wrap;
    gap: 8px;
}

.products-page-section .pagination .page-link {
    min-width: 43px;
    height: 43px;
    border-radius: 50px !important;
    border: 1px solid rgba(197, 155, 45, 0.35);
    color: #c59b2d;
    background: #ffffff;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.products-page-section .pagination .page-link:hover {
    background: linear-gradient(135deg, #c59b2d, #9f7617);
    color: #ffffff;
    border-color: #c59b2d;
    transform: translateY(-2px);
}

.products-page-section .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #c59b2d, #9f7617);
    border-color: #c59b2d;
    color: #ffffff;
}

.products-page-section .pagination .page-item.disabled .page-link {
    color: #b5b5b5;
    background: #f7f7f7;
    border-color: #eeeeee;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 991px) {
    .products-page-section {
        padding: 50px 0 75px;
    }

    .products-page-section h1 {
        font-size: 38px;
    }

    .products-page-section .product-card img {
        height: 235px;
    }
}

@media (max-width: 767px) {
    .products-page-section {
        padding: 42px 0 65px;
    }

    .products-page-section h1 {
        font-size: 31px;
    }

    .products-page-section .breadcrumb {
        padding: 10px 16px;
        font-size: 14px;
        margin-bottom: 28px;
    }

    .products-page-section .product-card {
        border-radius: 18px;
    }

    .products-page-section .product-card img {
        height: 195px;
    }

    .products-page-section .product-card-body {
        padding: 14px;
    }

    .products-page-section .product-card-body small,
    .products-page-section .product-card-body .text-gold {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .products-page-section .product-card-body h5 {
        font-size: 15px;
        min-height: 42px;
    }

    .products-page-section .product-card-body .price {
        font-size: 16px;
        margin-bottom: 13px;
    }

    .products-page-section .product-card-body .btn,
    .products-page-section .btn-outline-gold {
        width: 100%;
        padding: 9px 12px;
    }

    .products-page-section .pagination .page-link {
        min-width: 38px;
        height: 38px;
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .products-page-section h1 {
        font-size: 28px;
    }

    .products-page-section .product-card img {
        height: 165px;
    }

    .products-page-section .product-card-body h5 {
        font-size: 14px;
        min-height: 40px;
    }

    .products-page-section .product-card-body .price {
        font-size: 15px;
    }

    .products-page-section .product-card > a::after {
        display: none;
    }
}