/* ========== Bathtub 页面模板样式 ========== */

.page-bathtub {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.page-bathtub .elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-bathtub .full-width {
    width: 100%;
    position: relative;
}

/* ========== Section 1: Hero ========== */
.bathtub-hero {
    padding: 0;
    position: relative;
    background: #ffffff;
}

.bathtub-hero .full-width {
    min-height: 500px;
}

.bathtub-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bathtub-hero .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bathtub-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.bathtub-hero .hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 500px;
}

.bathtub-hero .hero-content {
    flex: 1;
}

.bathtub-hero .hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.bathtub-hero .hero-button-wrap {
    flex-shrink: 0;
}

.bathtub-hero .hero-button {
    display: inline-block;
    padding: 12px 24px;
    height: 40px;
    line-height: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #333333;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bathtub-hero .hero-button:hover {
    background: #ffffff;
    color: #FF8C00;
}

/* ========== Section 1b: Intro ========== */
.bathtub-intro {
    padding: 60px 0;
    background: #ffffff;
}

.bathtub-intro .intro-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.bathtub-intro .intro-text {
    flex: 1;
}

.bathtub-intro .intro-title {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 20px 0;
}

.bathtub-intro .intro-p {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.bathtub-intro .intro-cta {
    display: inline-block;
    color: #FF8C00;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.bathtub-intro .intro-cta:hover {
    color: #E67300;
}

.bathtub-intro .intro-image {
    flex: 1;
}

.bathtub-intro .intro-image img {
    width: 100%;
    height: auto;
}

/* ========== Section Dots ========== */
.page-bathtub .section-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 30px 0;
}

.page-bathtub .section-dots::before,
.page-bathtub .section-dots::after {
    content: '';
    flex: 1;
    max-width: 80px;
    height: 2px;
    background: #FF8C00;
}

.page-bathtub .section-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF8C00;
}

/* ========== Section 2: Types of Bathtub ========== */
.bathtub-types-grid {
    padding: 60px 0;
    background: #ffffff;
}

.bathtub-types-grid .types-top-cta {
    margin-bottom: 30px;
    text-align: center;
}

.bathtub-types-grid .types-cta-link {
    display: inline-block;
    color: #FF8C00;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.bathtub-types-grid .types-cta-link:hover {
    color: #E67300;
}

.bathtub-types-grid .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 10px 0;
    text-align: center;
}

.bathtub-types-grid .types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bathtub-types-grid .type-card {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bathtub-types-grid .card-image {
    width: 100%;
    margin-bottom: 15px;
    height: 200px;
    overflow: hidden;
    border-radius: 4px;
}

.bathtub-types-grid .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bathtub-types-grid .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 12px 0;
}

.bathtub-types-grid .card-desc {
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    margin: 0 0 15px 0;
    line-height: 1.6;
    flex-grow: 1;
}

.bathtub-types-grid .card-button {
    display: inline-block;
    padding: 8px 20px;
    height: 36px;
    line-height: 20px;
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.bathtub-types-grid .card-button:hover {
    background: #000000;
    color: #ffffff;
}

/* ========== Section 3: Bathtub Materials Grid ========== */
.bathtub-materials-grid {
    padding: 80px 0;
    background: #ffffff;
}

.bathtub-materials-grid .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 10px 0;
    text-align: center;
}

.bathtub-materials-grid .materials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.bathtub-materials-grid .material-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.bathtub-materials-grid .material-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.bathtub-materials-grid .material-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bathtub-materials-grid .material-card .card-title {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin: 20px 20px 10px 20px;
}

.bathtub-materials-grid .material-card .card-desc {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    margin: 0 20px 20px 20px;
    line-height: 1.6;
}

.bathtub-materials-grid .material-card .card-button {
    margin: 0 20px 20px 20px;
}


/* ========== Section 5: Accessories and Features ========== */
.bathtub-accessories-features {
    padding: 50px 0;
    background: #ffffff;
}

.bathtub-accessories-features .section-title {
    font-size: 24px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 40px 0;
    text-align: center;
}

.bathtub-accessories-features .accessories-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.bathtub-accessories-features .accessory-item {
    display: flex;
    gap: 30px;
    align-items: center;
}

.bathtub-accessories-features .accessory-image {
    flex: 0 0 300px;
}

.bathtub-accessories-features .accessory-image img {
    width: 100%;
    height: auto;
}

.bathtub-accessories-features .accessory-content {
    flex: 1;
}

.bathtub-accessories-features .accessory-title {
    font-size: 24px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 15px 0;
}

.bathtub-accessories-features .accessory-desc {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.bathtub-accessories-features .accessory-button {
    display: inline-block;
    color: #FF8C00;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.bathtub-accessories-features .accessory-button:hover {
    color: #E67300;
}

/* ========== Section 6: Intelligent Regulation ========== */
.bathtub-intelligent-regulation {
    padding: 50px 0;
    background: #ffffff;
}

.bathtub-intelligent-regulation .intelligent-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.bathtub-intelligent-regulation .intelligent-image {
    flex: 0 0 50%;
}

.bathtub-intelligent-regulation .intelligent-image img {
    width: 100%;
    height: auto;
}

.bathtub-intelligent-regulation .intelligent-content {
    flex: 1;
}

.bathtub-intelligent-regulation .block-title {
    font-size: 24px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 20px 0;
}

.bathtub-intelligent-regulation .intelligent-features {
    margin-bottom: 20px;
}

.bathtub-intelligent-regulation .feature-item {
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.bathtub-intelligent-regulation .feature-item strong {
    color: #222222;
}

.bathtub-intelligent-regulation .cta-button {
    display: inline-block;
    color: #FF8C00;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.bathtub-intelligent-regulation .cta-button:hover {
    color: #E67300;
}

/* ========== Section 7: Gallery ========== */
.bathtub-gallery {
    padding: 80px 0;
    background: #F0EAE3;
}

.bathtub-gallery .gallery-title {
    font-size: 36px;
    font-weight: 700;
    color: #FF8C00;
    margin: 0 0 40px 0;
    text-align: center;
    text-transform: uppercase;
}

.bathtub-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    margin-bottom: 40px;
}

.bathtub-gallery .gallery-item {
    width: 100%;
    overflow: hidden;
}

.bathtub-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.bathtub-gallery .gallery-cta {
    text-align: center;
}

.bathtub-gallery .gallery-button {
    display: inline-block;
    padding: 12px 24px;
    height: 40px;
    line-height: 16px;
    background: #FF8C00;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.bathtub-gallery .gallery-button:hover {
    background: #E67300;
}

/* ========== Section 8: Contact Form ========== */
.bathtub-contact-form {
    padding: 80px 0;
    background: #ffffff;
}

.bathtub-contact-form .quote-form-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.bathtub-contact-form .quote-form-image {
    flex-shrink: 0;
    width: 200px;
    text-align: center;
    position: relative;
}

.bathtub-contact-form .quote-form-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.bathtub-contact-form .pm-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #0066CC;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.bathtub-contact-form .form-image-title {
    font-size: 24px;
    font-weight: 700;
    color: #222222;
    margin: 20px 0 10px 0;
}

.bathtub-contact-form .form-image-desc {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    margin: 0;
}

.bathtub-contact-form .quote-form-fields {
    flex: 1;
}

.bathtub-contact-form .quote-form-title {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 10px 0;
}

.bathtub-contact-form .quote-form-desc {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    margin: 0 0 30px 0;
}

.bathtub-contact-form .quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bathtub-contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bathtub-contact-form .form-group-full {
    width: 100%;
}

.bathtub-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bathtub-contact-form label {
    font-size: 16px;
    font-weight: 400;
    color: #333333;
}

.bathtub-contact-form input[type="text"],
.bathtub-contact-form input[type="email"],
.bathtub-contact-form input[type="tel"],
.bathtub-contact-form select,
.bathtub-contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
}

.bathtub-contact-form .checkbox-group {
    margin-top: 10px;
}

.bathtub-contact-form .checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.bathtub-contact-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
}

.bathtub-contact-form input[type="checkbox"] {
    width: auto;
}

.bathtub-contact-form .submit-button {
    padding: 12px 24px;
    height: 40px;
    background: #666666;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.bathtub-contact-form .submit-button:hover {
    background: #555555;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .bathtub-types-grid .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bathtub-materials-grid .materials-list .material-item {
        flex-direction: column;
    }

    .bathtub-materials-grid .material-image-col {
        flex: 1;
        width: 100%;
    }

    .bathtub-composite-stone .composite-stone-grid {
        grid-template-columns: 1fr;
    }

    .bathtub-additional-types .additional-types-grid,
    .bathtub-additional-types-titles .additional-titles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bathtub-accessories-features .accessory-item {
        flex-direction: column;
    }

    .bathtub-accessories-features .accessory-image {
        flex: 1;
        width: 100%;
    }

    .bathtub-intelligent-regulation .intelligent-wrapper {
        flex-direction: column;
    }

    .bathtub-intelligent-regulation .intelligent-image {
        flex: 1;
        width: 100%;
    }

    .bathtub-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bathtub-contact-form .quote-form-wrapper {
        flex-direction: column;
    }

    .bathtub-contact-form .quote-form-image {
        margin: 0 auto;
    }

    .bathtub-contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .bathtub-contact-form .checkboxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bathtub-hero {
        padding: 0;
    }

    .bathtub-hero .hero-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        min-height: 400px;
    }

    .bathtub-hero .hero-title {
        font-size: 32px;
    }

    .bathtub-hero .hero-button-wrap {
        width: 100%;
    }

    .bathtub-hero .hero-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .bathtub-intro,
    .bathtub-types-grid,
    .bathtub-materials-grid,
    .bathtub-additional-types,
    .bathtub-accessories-features,
    .bathtub-intelligent-regulation,
    .bathtub-gallery,
    .bathtub-contact-form {
        padding: 60px 0;
    }

    .bathtub-intro .intro-wrapper {
        flex-direction: column;
    }

    .bathtub-types-grid .types-grid {
        grid-template-columns: 1fr;
    }

    .bathtub-additional-types .additional-types-grid,
    .bathtub-additional-types-titles .additional-titles-grid {
        grid-template-columns: 1fr;
    }

    .bathtub-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .bathtub-hero .hero-title {
        font-size: 28px;
    }

    .bathtub-intro .intro-title,
    .bathtub-types-grid .section-title,
    .bathtub-materials-grid .section-title {
        font-size: 28px;
    }

    .bathtub-gallery .gallery-title {
        font-size: 24px;
    }

    .bathtub-gallery .gallery-grid {
        grid-template-columns: 1fr;
    }
}
