/* assets/css/products.css */

.collections {
    text-align: center;
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Section Title */
.section-title {
    text-align: center;
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 3px;
    background: var(--gold);
    border-radius: 2px;
    box-shadow: 0 0 15px var(--gold);
}

/* Collections Grid (Glassmorphism Box) */
.collections-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(244, 208, 111, 0.2);
    border-radius: 25px;
    padding: 50px 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
}
.nav-arrow { display: none; }

/* Grid View for Shop Page */
.products-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); 
    gap: 25px;
    padding: 10px;
}

/* Product Card Style */
.card {
    background: linear-gradient(180deg, rgba(10, 46, 26, 0.9) 0%, rgba(2, 20, 10, 0.95) 100%);
    border: 1px solid var(--gold);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    width: 260px;
    height: 350px;
    flex: 0 0 auto;
    display: flex; flex-direction: column; justify-content: space-between; align-items: center;
    box-shadow: 0 0 15px rgba(244, 208, 111, 0.1);
    transition: transform 0.3s;
}
.products-grid-view .card { width: 100%; }
.card:hover { transform: translateY(-5px); border-color: #ffe082; }

.card-img {
    width: 100%; height: 140px; object-fit: contain;
    margin-bottom: 10px; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
}
.card h3 {
    color: var(--gold); font-size: 0.85rem; font-family: 'Poppins', sans-serif;
    text-transform: uppercase; letter-spacing: 0.5px;
    height: 40px; display: flex; align-items: center; justify-content: center;
}
.card-btn {
    border: 1px solid var(--gold); background: transparent; color: var(--gold);
    padding: 5px 15px; border-radius: 15px; cursor: pointer; transition: 0.3s; text-decoration: none; font-size: 12px;
}
.card-btn:hover { background: var(--gold); color: #000; box-shadow: 0 0 10px var(--gold); }

/* Halaman Detail Produk */
.product-detail-section { padding: 140px 5% 60px; min-height: 100vh; }
.product-container {
    display: flex; flex-wrap: wrap; gap: 40px; background: rgba(1, 26, 16, 0.8);
    border: 1px solid var(--gold); border-radius: 20px; padding: 30px; max-width: 1100px; margin: 0 auto;
}
.product-info h1 { font-family: 'Cinzel', serif; color: #fff; font-size: 2rem; }
.product-price { font-size: 1.8rem; color: var(--gold); font-weight: bold; }
.btn-buy {
    display: inline-block; background: linear-gradient(90deg, #bf953f, #fcf6ba, #bf953f);
    color: #022b1c; padding: 15px 40px; border-radius: 30px; text-decoration: none; font-weight: bold;
}