/* assets/css/wedding.css */

:root {
    --wedding-red: #8a0f0f;      /* Deep Wedding Red */
    --wedding-gold: #d4af37;     /* Premium Gold */
    --wedding-bg: #fffaf5;       /* Warm Cream Background */
    --text-dark: #2d1a05;
    --text-gray: #666;
    --border-color: #e6dace;
}

body {
    padding-top: 160px;
    background-color: var(--wedding-bg);
}

/* --- Category Bubbles (Circular) --- */
.category-bubbles {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 40px 0;
    margin-top: 20px;
    border-bottom: 1px solid var(--border-color);
}

.bubble {
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.bubble:hover { transform: translateY(-5px); color: var(--wedding-red); }

.bubble-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--wedding-gold);
    padding: 3px; /* Gap between border and image */
    margin-bottom: 15px;
    overflow: hidden;
    background: #fff;
}

.bubble-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.bubble:hover .bubble-image img { transform: scale(1.1); }

/* --- Product Page Layout --- */
.product-page { padding-top: 30px; margin-bottom: 60px; }

.page-title {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    color: var(--wedding-red);
    text-align: center;
    margin-bottom: 10px;
}

.page-subtitle {
    text-align: center;
    font-family: 'Inter', sans-serif;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-style: italic;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter-pill, .sort-by {
    padding: 10px 20px;
    border: 1px solid var(--wedding-gold);
    background: transparent;
    color: var(--text-dark);
    font-family: 'Cinzel', serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-pill:hover, .filter-pill.active {
    background: var(--wedding-red);
    color: #fff;
    border-color: var(--wedding-red);
}

.sort-by { margin-left: auto; }

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for wedding items */
    gap: 30px;
}

/* Product Card */
.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(138, 15, 15, 0.1);
    border-color: var(--wedding-gold);
}

.product-image-container {
    position: relative;
    aspect-ratio: 3 / 4; /* Taller images for necklaces/models */
    overflow: hidden;
    background: #f9f9f9;
}

.product-image {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image { transform: scale(1.05); }

.product-tag {
    position: absolute; top: 10px; left: 10px;
    background: var(--wedding-red); color: #fff;
    padding: 5px 12px; font-size: 11px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    z-index: 2;
}

.wishlist-icon {
    position: absolute; top: 15px; right: 15px;
    font-size: 22px; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    cursor: pointer; z-index: 2; transition: color 0.3s;
}
.wishlist-icon:hover { color: var(--wedding-gold); }

.product-info { padding: 20px; text-align: center; }

.product-category {
    font-size: 12px; text-transform: uppercase; color: var(--text-gray);
    letter-spacing: 1px; margin-bottom: 5px;
}

.product-title {
    font-family: 'Cinzel', serif; font-size: 16px;
    color: var(--text-dark); margin-bottom: 10px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.product-price {
    font-size: 18px; font-weight: 700; color: var(--wedding-red);
}

/* --- Promo Cards --- */
.wedding-promo-card {
    grid-column: span 2;
    position: relative;
    height: 100%; min-height: 400px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: #fff;
    background-size: cover; background-position: center;
    overflow: hidden;
}

.wedding-promo-card::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(45, 26, 5, 0.4); z-index: 1;
}

.promo-content { position: relative; z-index: 2; padding: 40px; }

.promo-content h2 {
    font-family: 'Cinzel', serif; font-size: 32px; margin-bottom: 15px;
}

.promo-btn {
    background: var(--wedding-gold); color: #000;
    padding: 12px 30px; text-decoration: none;
    font-weight: 600; text-transform: uppercase;
    display: inline-block; margin-top: 20px;
    transition: 0.3s;
}

.promo-btn:hover { background: #fff; color: var(--wedding-red); }

/* --- Responsive --- */
@media (max-width: 1200px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .product-grid { grid-template-columns: 1fr; }
    .wedding-promo-card { grid-column: span 1; min-height: 300px; }
    .category-bubbles { gap: 20px; flex-wrap: wrap; }
    .sort-by { width: 100%; justify-content: center; margin-top: 10px; }
}