:root {
    --primary-color: #a39079;
    --text-gray: #898989;
    --border-color: #ddd;
    --white: #ffffff;
    --link: #007bff;
    --font-size-small: 10px;
    --font-size-regular: 13px;
    --font-size-medium: 14px;
    --font-size-large: 16px;
    --font-size-xlarge: 20px;
    --spacing-small: 8px;
    --spacing-medium: 15px;
    --spacing-large: 20px;
    --spacing-xlarge: 40px;
}
.choose-boxes-page {
    border-radius: 20px;
    background-color: #ffffff;
    width: 95%;
    border: 1px solid #ccc;
    padding: 20px;
}
.filter-head {
    color: var(--primary-color);
    font-weight: 600;
}
.filter-label {
    font-size: 16px !important;
    color: var(--text-gray) !important;
}

.form-control:focus {
    outline: var(--primary-color) !important;
    box-shadow: none !important;
    border-color: var(--primary-color) !important;
}

.sort-container option {
    color: var(--primary-color) !important;
}

.image-container {
    position: relative;
    width: 200px;
    height: 200px;
    padding-top: 75%;
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.normal-image {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hover-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container.has-hover-image:hover .normal-image {
    opacity: 0;
}

.image-container.has-hover-image:hover .hover-image {
    opacity: 1;
}
.premade-box .premade-card{
    display: flex;
    justify-content: center;
}
h2 {
    text-align: center !important;
}

.slider-container {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.slider {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.slider-item {
    min-width: 100%;
    height: 400px;
    object-fit: contain;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

#showMoreBtn {
    color: var(--link);
    text-decoration: underline;
    cursor: pointer;
}

.toggle-button {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: var(--link);
    font-weight: bold;
}

.toggle-button:hover {
    text-decoration: underline;
}

.font-avenir-light {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.collapse-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-out;
}

.collapse-inner {
    padding: 1rem;
}

.accordion-header button {
    width: 100%;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.accordion-header button:hover {
    opacity: 0.8;
}

.choose-boxes-header {
    line-height: normal !important;
    margin-bottom: 30px;
}

.choose-boxes-header p {
    margin-bottom: 12px !important;
    font-size: 14px;
    color: #898989;
}

.filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.filter-label {
    color: #666;
    font-weight: 500;
    font-size: 14px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 10px !important;
    font-size: 13px;
    color: #666;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #a3907a;
    color: white;
    border-color: #a3907a;
}

.filter-btn.active {
    background: #a3907a;
    color: white;
    border-color: #a3907a;
}

.price-range-container {
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-right: -15px;
    margin-left: -15px;
}

.col-12.col-md-4 {
    padding: 15px;
    display: flex;
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}

@media (min-width: 768px) and (max-width: 992px) {
    .choose-boxes-page {
        padding: 40px;
    }

    .col-12.col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .choose-boxes-header h3 {
        color: #a3907a;
        margin-bottom: 15px;
        font-weight: bold;
        font-size: 26px;
    }

    .filters {
        font-size: 0.85rem !important;
        display: block;
        margin-top: 20px;
    }

    .filter-section {
        font-size: 0.9rem !important;
        margin-bottom: 20px;
    }

    .premade-card {
        padding: 6px 12px;
        font-size: 0.75rem;
        margin: 10px;
    }
}

@media (min-width: 992px) {
    .col-12.col-md-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

@media (max-width: 767px) {
    .col-12.col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .image-container {
        width: 150px;
        height: 150px;
    }
    .choose-boxes-page {
        width: 100%;
        padding: 20px;
    }
    .search-filter {
        margin-top: 10px;
    }
    .choose-boxes-header h3 {
        font-size: 20px;
    }

    .filters {
        display: block;
    }

    .premade-card {
        margin-bottom: 20px;
    }

    .filter-btn {
        font-size: 12px;
    }

    .search-container {
        margin-bottom: 10px;
    }

    .sort-container {
        margin-bottom: 10px;
    }
}

@media (max-width: 1100px) {
    .filter-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }
}
@media (max-width: 470px) {
    .image-container {
        width: 120px;
        height: 120px;
    }
}
