/* Import the fonts from the main stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=MonteCarlo&display=swap');


:root {
    --font-primary: 'Cormorant Garamond', serif;
    
    --color-brown: #3a2426;
    --color-white: #fff;

    --transition-standard: 0.3s ease;
}
/* Collection specific styles */
h1 {
    text-align: left;
    padding: 3%;
    font-size: 300%;
    font-weight: 400;
    font-family: 'MonteCarlo', cursive;
    color: #002;
    word-spacing: 1rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.filters label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    display: flex;
    flex-direction: column;
}

.filters select {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s ease-in-out;
}

.filters select:focus {
    border-color: #007bff;
    outline: none;
}

#applyFilters {
    padding: 8px 15px;
    background: #3a2426;
    border: none;
    border-radius: 10px 10px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Cormorant Garamond', serif;
}

#applyFilters:hover {
    background: #a98d4e;
}

#resetFilters {
    padding: 8px 15px;
    font-weight: 600;
    text-decoration: underline;
    background: none;
    border: none;
    border-radius: 10px 10px;
    color: #3a2426;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    font-family: 'Cormorant Garamond', serif;
}

#resetFilters:hover{
    transform: scale(1.02);
    color:#a98d4e;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.product {
    background: #fff;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 300px;
}

.product:hover {
    transform: scale(1.05);
}

.product img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
}

.product h3 {
    font-family: 'Playfair Display', serif;
    color: #3a2426;
    margin-top: 10px;
}

.product p {
    font-family: 'Cormorant Garamond', serif;
    color: #333;
}
#footer-placeholder{
    color: #a98d4e;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filters label {
        width: 100%;
    }

    .filters select,
    .filters button {
        width: 100%;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    
    header {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .filters {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

/* Price Range */
.double-slider-box {
    background-color: #fff;
    padding: 20px 40px;
    border-radius: 10px;
    max-width: 20rem;
}

h3.range-title {
    margin-bottom: 4rem;
}

.range-slider {
    position: relative;
    width: 100%;
    height: 5px;
    margin: 30px 0;
    background-color: #8a8a8a;
}

.slider-track {
    height: 100%;
    position: absolute;
    background-color: #fe696a;
}

.range-slider input {
    position: absolute;
    width: 100%;
    background: none;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    border: 3px solid #FFF;
    background: #FFF;
    pointer-events: auto;
    appearance: none;
    cursor: pointer;
    box-shadow: 0 .125rem .5625rem -0.125rem rgba(0, 0, 0, .25);
}

input[type="range"]::-moz-range-thumb {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    border: 3px solid #FFF;
    background: #FFF;
    pointer-events: auto;
    -moz-appearance: none;
    cursor: pointer;
    box-shadow: 0 .125rem .5625rem -0.125rem rgba(0, 0, 0, .25);
}


.input-box {
    display: flex;
}

.min-box,
.max-box {
    width: 50%;
}

.min-box {
    padding-right: .5rem;
    margin-right: .5rem;
}

.input-wrap {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.no-results {
    text-align: center;
    font-size: 1.5rem;
    color: #777;
    width: 100%;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Custom Diamond CTA Section */
.custom-diamond-cta {
    padding: 60px 30px;
    text-align: center;
    margin-top: 60px;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.custom-diamond-cta h2 {
    font-size: 32px;
    color: #a67c52;
    margin-bottom: 20px;
    font-weight: 700;
}

.custom-diamond-cta p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    background: var(--color-brown);
    color: var(--color-white);
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color var(--transition-standard);
    border-radius: 5px;
    font-family: var(--font-primary);
    text-decoration: none;
}

.cta-button:hover {
    background-color: #8b6239;
}
