/**
 * Hot Tub Filter System Styles
 */

/* Main Container */
.hot-tub-archive-wrapper {
    margin: 0 auto;
}
    
.hot-tub-archive-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Sidebar Styles */
.hot-tub-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #F7F9FA;
    padding: 25px;
    border-radius: 8px;
    position: sticky;
    top: 20px;
    overflow-y: auto;
}

.hot-tub-filters {
    width: 100%;
}
.hot-tub-name a{
    text-decoration: none !important;
}    
.filter-title {
    font-size: 20px !important;
    font-family: "Montserrat", Sans-serif !important;
    font-weight: 700;
    margin: 0 0 25px 0;
    color: #333;
    padding-bottom: 10px;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group-title {
    font-size: 16px !important;
    font-family: "Montserrat", Sans-serif !important;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #444;
}

.filter-subgroup {
    margin-bottom: 20px;
    margin-left: 15px;
}

.filter-subtitle {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: #555;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 8px;
}

.filter-list label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: color 0.2s;
}

.filter-list label:hover {
    color: #007bff;
}

.filter-list input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.clear-filters-btn {
    width: 100%;
    padding: 12px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 20px;
}

.clear-filters-btn:hover {
    background: #5a6268;
}

/* Main Content Area */
.hot-tub-main-content {
    flex: 1;
    min-width: 0;
}

#hot-tub-results {
    position: relative;
}

#hot-tub-results.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#hot-tub-results.loading::before {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    font-size: 18px;
    color: #007bff;
}

/* Product Grid */
.hot-tub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    width: 100%;
}

/* Ensure grid items maintain 3 columns */
.hot-tub-grid > * {
    min-width: 0; /* Prevents grid items from overflowing */
}

.hot-tub-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hot-tub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hot-tub-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
}

.hot-tub-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-tub-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
    font-size: 18px;
    font-weight: 600;
}

.hot-tub-info {
    padding: 20px;
}

.hot-tub-brand {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.hot-tub-name {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.hot-tub-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.hot-tub-name a:hover {
    color: #007bff;
}

.hot-tub-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hot-tub-detail-item {
    font-size: 14px;
    color: #666;
}

.hot-tub-detail-item strong {
    color: #333;
    margin-right: 5px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    font-size: 18px;
}

/* Promotional Section */
.hot-tub-promo-section {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
}

.promo-image {
    flex: 1;
    max-width: 500px;
}

.promo-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.promo-content {
    flex: 1;
}

.promo-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #333;
}

.promo-button {
    display: inline-block;
    padding: 15px 30px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s;
}

.promo-button:hover {
    background: #0056b3;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hot-tub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hot-tub-sidebar {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .hot-tub-archive-container {
        flex-direction: column;
    }
    
    .hot-tub-sidebar {
        width: 100%;
        position: static;
        max-height: none;
    }
    
    .hot-tub-grid {
        grid-template-columns: 1fr;
    }
    
    .hot-tub-promo-section {
        flex-direction: column;
    }
}

/* Single Hot Tub Page Styles */
.hot-tub-single-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hot-tub-single-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.hot-tub-single-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.back-link {
    color: #007bff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.back-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.hot-tub-single-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.hot-tub-single-image {
    width: 100%;
}

.hot-tub-single-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hot-tub-single-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hot-tub-single-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.hot-tub-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.hot-tub-single-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.hot-tub-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.hot-tub-detail-row strong {
    color: #333;
    font-weight: 600;
}

.hot-tub-detail-row span {
    color: #666;
}

.hot-tub-taxonomy {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.hot-tub-taxonomy strong {
    color: #333;
    margin-right: 8px;
}

.hot-tub-taxonomy a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s;
}

.hot-tub-taxonomy a:hover {
    color: #0056b3;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hot-tub-single-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hot-tub-single-title {
        font-size: 24px;
    }
}

