/* ========== Page Template: Custom Wardrobes (Optimized) ========== */

:root {
    --color-primary: #FF8C00;
    --color-primary-dark: #e67e00;
    --color-primary-light: #FFB347;
    --color-secondary: #2d3748;
    --color-background: #ffffff;
    --color-heading: #1a202c;
    --color-text: #4a5568;
    --color-text-light: #718096;
    --color-border: #e2e8f0;
    --color-surface: #f7fafc;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container-max-width: 1200px;
    --container-padding: 20px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius-md: 12px;
    --transition-normal: 0.3s ease;
}

.page-custom-wardrobes {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-background);
}

.page-custom-wardrobes .elementor-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========== Section 1: Hero ========== */
.custom-wardrobes-hero-section {
    width: 100%;
    position: relative;
}

.custom-wardrobes-hero-section .hero-banner {
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0;
}

.custom-wardrobes-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.9) 0%, rgba(26, 32, 44, 0.7) 100%);
    z-index: 1;
}

.custom-wardrobes-hero-section .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.custom-wardrobes-hero-section .hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 24px 0;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.custom-wardrobes-hero-section .hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 40px 0;
}

.custom-wardrobes-hero-section .btn-hero {
    display: inline-flex;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.custom-wardrobes-hero-section .btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

/* ========== Section 2: Features ========== */
.custom-wardrobes-features-section {
    padding: 80px 0;
    background-color: var(--color-surface);
}

.custom-wardrobes-features-section .section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-heading);
    margin: 0 0 24px 0;
}

.custom-wardrobes-features-section .features-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0 0 20px 0;
}

.custom-wardrobes-features-section .features-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.custom-wardrobes-features-section .features-list li {
    position: relative;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 15px;
    padding-left: 30px;
}

.custom-wardrobes-features-section .features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* ========== Section 3: Gallery ========== */
.custom-wardrobes-gallery-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.custom-wardrobes-gallery-section .section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-heading);
    margin: 0 0 50px 0;
    text-align: center;
}

.custom-wardrobes-gallery-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.custom-wardrobes-gallery-section .gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.custom-wardrobes-gallery-section .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.custom-wardrobes-gallery-section .gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.custom-wardrobes-gallery-section .gallery-item:hover img {
    transform: scale(1.05);
}

.custom-wardrobes-gallery-section .gallery-button {
    text-align: center;
}

/* ========== Section 5: Guarantee Features ========== */
.custom-wardrobes-guarantee-section {
    padding: 80px 0;
    background-color: var(--color-surface);
}

.custom-wardrobes-guarantee-section .section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-heading);
    margin: 0 0 20px 0;
    text-align: center;
}

.custom-wardrobes-guarantee-section .guarantee-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0 0 50px 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.custom-wardrobes-guarantee-section .guarantee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.custom-wardrobes-guarantee-section .guarantee-card {
    background-color: #ffffff;
    padding: 30px;
    text-align: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--color-border);
}

.custom-wardrobes-guarantee-section .guarantee-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.custom-wardrobes-guarantee-section .guarantee-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.custom-wardrobes-guarantee-section .guarantee-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-heading);
    margin: 0 0 12px 0;
}

.custom-wardrobes-guarantee-section .guarantee-card .guarantee-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
    text-align: center;
}

.custom-wardrobes-guarantee-section .guarantee-button {
    text-align: center;
}

/* ========== Section 6: Benefits ========== */
.custom-wardrobes-benefits-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.custom-wardrobes-benefits-section .benefits-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
}

.custom-wardrobes-benefits-section .benefits-content {
    flex: 1;
}

.custom-wardrobes-benefits-section .section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-heading);
    margin: 0 0 24px 0;
}

.custom-wardrobes-benefits-section .benefits-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0 0 20px 0;
}

.custom-wardrobes-benefits-section .benefits-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 30px 0;
}

.custom-wardrobes-benefits-section .benefits-list li {
    position: relative;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 15px;
    padding-left: 30px;
}

.custom-wardrobes-benefits-section .benefits-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 24px;
    line-height: 1;
}

.custom-wardrobes-benefits-section .benefits-image {
    flex: 0 0 45%;
}

.custom-wardrobes-benefits-section .benefits-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* ========== Section 7: Design Considerations ========== */
.custom-wardrobes-design-section {
    padding: 80px 0;
    background-color: var(--color-surface);
}

.custom-wardrobes-design-section .design-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.custom-wardrobes-design-section .design-images {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.custom-wardrobes-design-section .design-image-left img,
.custom-wardrobes-design-section .design-image-right img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.custom-wardrobes-design-section .design-content {
    flex: 1;
}

.custom-wardrobes-design-section .section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-heading);
    margin: 0 0 15px 0;
}

.custom-wardrobes-design-section .design-subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0 0 30px 0;
}

.custom-wardrobes-design-section .design-factor {
    margin-bottom: 25px;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.custom-wardrobes-design-section .factor-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-heading);
    margin: 0 0 10px 0;
}

.custom-wardrobes-design-section .factor-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

/* ========== Section 8: Buying Guide ========== */
.custom-wardrobes-buying-guide-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.custom-wardrobes-buying-guide-section .buying-guide-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
}

.custom-wardrobes-buying-guide-section .buying-guide-image {
    flex: 0 0 45%;
}

.custom-wardrobes-buying-guide-section .buying-guide-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.custom-wardrobes-buying-guide-section .buying-guide-content {
    flex: 1;
}

.custom-wardrobes-buying-guide-section .section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-heading);
    margin: 0 0 20px 0;
}

.custom-wardrobes-buying-guide-section .guide-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
}

/* ========== Section 9: FAQ ========== */
.custom-wardrobes-faq-section {
    padding: 80px 0;
    background-color: var(--color-surface);
}

.custom-wardrobes-faq-section .section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-heading);
    margin: 0 0 10px 0;
    text-align: center;
}

.custom-wardrobes-faq-section .faq-subtitle {
    font-size: 16px;
    color: var(--color-text);
    margin: 0 0 50px 0;
    text-align: center;
}

.custom-wardrobes-faq-section .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.custom-wardrobes-faq-section .faq-item {
    background: #ffffff;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.custom-wardrobes-faq-section .faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.custom-wardrobes-faq-section .faq-question {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    background: #ffffff;
}

.custom-wardrobes-faq-section .faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--color-primary);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.custom-wardrobes-faq-section .faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-heading);
}

.custom-wardrobes-faq-section .faq-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-heading);
    margin: 0;
    flex: 1;
}

.custom-wardrobes-faq-section .faq-answer {
    padding: 0 30px 25px 74px;
    display: none;
    color: var(--color-text);
    line-height: 1.7;
}

/* ========== 通用按钮样式 ========== */
.page-custom-wardrobes .btn-primary {
    display: inline-flex;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-custom-wardrobes .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .custom-wardrobes-guarantee-section .guarantee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .custom-wardrobes-hero-section .hero-title {
        font-size: 32px;
    }

    .custom-wardrobes-gallery-section .gallery-grid {
        grid-template-columns: 1fr;
    }

    .custom-wardrobes-guarantee-section .guarantee-grid {
        grid-template-columns: 1fr;
    }

    .custom-wardrobes-benefits-section .benefits-wrapper,
    .custom-wardrobes-design-section .design-wrapper,
    .custom-wardrobes-buying-guide-section .buying-guide-wrapper {
        flex-direction: column;
    }

    .custom-wardrobes-benefits-section .benefits-image,
    .custom-wardrobes-design-section .design-images,
    .custom-wardrobes-buying-guide-section .buying-guide-image {
        flex: 0 0 100%;
        width: 100%;
    }
}