/* MDF Kitchen Cabinets */

.page-mdf-kitchen-cabinets {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #222;
    line-height: 1.7;
}

.page-mdf-kitchen-cabinets .elementor-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-mdf-kitchen-cabinets .section-title {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 24px;
    color: #1f2430;
}

.page-mdf-kitchen-cabinets .section-kicker {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: #232734;
}

.page-mdf-kitchen-cabinets .section-description {
    margin: 0 0 34px;
    font-size: 17px;
    line-height: 1.8;
    color: #4d5668;
}

.page-mdf-kitchen-cabinets .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    width: auto;
    padding: 11px 22px;
    text-decoration: none;
    background: #ff8c00;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    border: 0;
    border-radius: 0;
    transition: background-color 0.25s ease;
}

.page-mdf-kitchen-cabinets a.btn-primary {
    display: inline-flex !important;
    width: auto !important;
    max-width: 220px;
}

.page-mdf-kitchen-cabinets > section > .elementor-container > .section-title,
.page-mdf-kitchen-cabinets > section > .elementor-container > .section-kicker {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.page-mdf-kitchen-cabinets .btn-primary:hover {
    background: #e97900;
}

/* Hero */
.mdf-hero-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #101523;
    min-height: 520px;
}

.mdf-hero-section .hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mdf-hero-section .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(110deg, rgba(8, 13, 24, 0.55) 0%, rgba(8, 13, 24, 0.68) 48%, rgba(8, 13, 24, 0.78) 100%);
}

.mdf-hero-section .elementor-container {
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.mdf-hero-section .hero-content {
    max-width: 620px;
    margin-left: auto;
    text-align: right;
    padding: 40px 0;
    color: #fff;
}

.mdf-hero-section .hero-title {
    margin: 0 0 18px;
    font-size: 36px;
    line-height: 1.06;
    font-weight: 800;
    color: #fff;
}

.mdf-hero-section .hero-subtitle {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* Grid cards */
.mdf-grid-section {
    padding: 62px 0;
    background: #f4f4f6;
}

.mdf-grid-section .section-title {
    text-align: center;
    margin-bottom: 36px;
}

.mdf-grid-section .products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.mdf-grid-section .product-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.mdf-grid-section .card-image {
    height: 210px;
    overflow: hidden;
}

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

.mdf-grid-section .card-content {
    padding: 18px 18px 22px;
}

.mdf-grid-section .card-title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.25;
    color: #2d3240;
}

.mdf-grid-section .card-desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #4d5668;
}

/* shared split */
.mdf-split-section {
    padding: 62px 0;
    background: #f4f4f6;
}

.mdf-split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: stretch;
}

.mdf-split-grid .split-image,
.mdf-split-grid .split-video {
    min-height: 330px;
}

.mdf-split-grid .split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mdf-split-grid .split-content {
    padding: 30px 24px;
    background: #f4f4f6;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mdf-split-grid .split-content h3 {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.2;
    color: #232734;
}

.mdf-split-grid .split-content p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.8;
    color: #4d5668;
}

.mdf-split-grid .split-content p:last-child {
    margin-bottom: 0;
}

.section-intro .split-content {
    background: #f4f4f6;
}

/* catalog */
.mdf-catalog-section {
    padding: 0 0 62px;
    background: #f4f4f6;
}

.mdf-catalog-grid {
    background: #eceef3;
}

.mdf-catalog-grid .split-content,
.mdf-catalog-grid .split-image {
    min-height: 330px;
}

.mdf-catalog-grid .split-content {
    background: #eceef3;
}

/* type list */
.section-types .mdf-bullet-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.section-types .mdf-bullet-list li {
    margin: 0 0 14px;
    padding-left: 18px;
    position: relative;
    color: #4d5668;
    font-size: 16px;
    line-height: 1.75;
}

.section-types .mdf-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 8px;
    height: 8px;
    background: #ff8c00;
}

/* compare */
.mdf-compare-section {
    padding: 62px 0;
    background: #f4f4f6;
}

.mdf-compare-section .section-kicker,
.mdf-compare-section > .elementor-container > .section-title {
    max-width: 1200px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.mdf-compare-section > .elementor-container > .section-title {
    margin-bottom: 40px;
    font-size: 19px;
    line-height: 1.6;
    color: #4d5668;
    font-weight: 400;
}

.mdf-compare-section .compare-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    margin-bottom: 36px;
}

.mdf-compare-section .compare-row.reverse {
    direction: rtl;
}

.mdf-compare-section .compare-row.reverse > * {
    direction: ltr;
}

.mdf-compare-section .split-image {
    min-height: 340px;
}

.mdf-compare-section .split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mdf-compare-section .split-content {
    background: #f4f4f6;
    padding: 24px 8px;
}

/* custom design cards */
.mdf-designs-section {
    padding: 62px 0;
    background: #f4f4f6;
}

.mdf-designs-section > .elementor-container > .section-kicker,
.mdf-designs-section > .elementor-container > .section-title {
    text-align: center;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.mdf-designs-section > .elementor-container > .section-title {
    font-size: 19px;
    line-height: 1.6;
    color: #4d5668;
    font-weight: 400;
    margin-bottom: 34px;
}

.mdf-designs-section .designs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.mdf-designs-section .design-card {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.mdf-designs-section .design-card .card-image {
    height: 220px;
}

.mdf-designs-section .design-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mdf-designs-section .design-card .card-content {
    padding: 22px 22px 26px;
}

.mdf-designs-section .design-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.25;
    color: #2d3240;
}

.mdf-designs-section .design-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #4d5668;
}

.mdf-designs-section .design-card.image-only .card-image {
    height: 100%;
    min-height: 340px;
}

/* paint */
.mdf-paint-section {
    padding: 62px 0;
    background: #f4f4f6;
}

.mdf-paint-section > .elementor-container > .section-kicker,
.mdf-paint-section > .elementor-container > .section-title {
    text-align: center;
}

.mdf-paint-section > .elementor-container > .section-title {
    margin-bottom: 34px;
    font-size: 19px;
    line-height: 1.6;
    color: #4d5668;
    font-weight: 400;
}

.mdf-paint-section .paint-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.mdf-paint-section .step-card {
    background: #f4f4f6;
    text-align: center;
    padding: 20px 16px 18px;
    border-bottom: 5px solid #d5d9e1;
}

.mdf-paint-section .step-card i {
    display: inline-block;
    font-size: 34px;
    margin-bottom: 16px;
}

.mdf-paint-section .step-card h3 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.18;
    color: #151823;
    font-weight: 500;
}

.mdf-paint-section .step-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #4d5668;
}

.mdf-paint-section .paint-suggestion {
    margin: 14px 0 0 calc(33.333% + 9px);
    width: calc(33.333% - 18px);
    font-size: 15px;
    line-height: 1.75;
    color: #4d5668;
}

.mdf-paint-section .step-card-1 { border-bottom-color: #76bc46; }
.mdf-paint-section .step-card-2 { border-bottom-color: #ef5a47; }
.mdf-paint-section .step-card-3 { border-bottom-color: #f0aa3c; }
.mdf-paint-section .step-card-1 i,
.mdf-paint-section .step-card-3 i { color: #1a1a1a; }
.mdf-paint-section .step-card-2 i,
.mdf-paint-section .step-card-2 h3 { color: #ef5a47; }

/* Fallback icons when icon font is unavailable */
.mdf-paint-section .icon-eraser::before { content: "⌫" !important; }
.mdf-paint-section .icon-cogwheel1::before { content: "⚙" !important; }
.mdf-paint-section .icon-share2::before { content: "↗" !important; }
.mdf-paint-section .step-card i[class*="icon-"] {
    font-family: Arial, sans-serif !important;
    font-style: normal;
}
.mdf-paint-section .step-card i::before {
    display: inline-block;
    font-style: normal;
    font-family: Arial, sans-serif !important;
    font-weight: 700;
    line-height: 1;
}

/* video */
.video-frame {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: #000;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.mdf-cost-section {
    padding: 62px 0;
    background: #f4f4f6;
}

.mdf-cost-section .split-content {
    padding: 18px 10px;
}

.mdf-cost-section .split-content .section-title {
    margin-bottom: 14px;
}

/* idea hover */
.mdf-ideas-section {
    padding: 62px 0;
    background: #f4f4f6;
}

.mdf-ideas-section .section-title {
    margin-bottom: 12px;
    text-align: center;
}

.mdf-ideas-section .section-description {
    text-align: center;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.mdf-ideas-section .ideas-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mdf-ideas-section .idea-card {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.mdf-ideas-section .idea-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mdf-ideas-section .idea-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.62);
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.mdf-ideas-section .idea-overlay p {
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
}

.mdf-ideas-section .idea-card:hover img {
    transform: scale(1.08);
}

.mdf-ideas-section .idea-card:hover .idea-overlay {
    transform: translateY(0);
}

/* video cta */
.mdf-video-cta-section {
    padding: 62px 0;
    background: #f4f4f6;
}

.mdf-video-cta-section .center-content {
    align-items: center;
    text-align: center;
    padding: 0 40px;
}

/* service list */
.mdf-service-section {
    padding: 62px 0;
    background: #f4f4f6;
}

.mdf-service-section .service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.mdf-service-section .service-item {
    display: grid;
    grid-template-columns: 44% 56%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.mdf-service-section .service-image {
    min-height: 230px;
}

.mdf-service-section .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mdf-service-section .service-content {
    padding: 20px 24px;
}

.mdf-service-section .service-content h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.2;
    color: #2d3240;
}

.mdf-service-section .service-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #4d5668;
}

/* custom ideas */
.mdf-custom-ideas-section {
    padding: 62px 0;
    background: #f4f4f6;
}

/* inspirations */
.mdf-inspirations-section {
    padding: 62px 0;
    background: #E9E3DD;
}

.mdf-inspirations-section .section-title {
    margin-bottom: 30px;
    color: #AE5207;
    text-align: center;
}

.mdf-inspirations-section .inspirations-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.mdf-inspirations-section .inspiration-item {
    min-height: 300px;
}

.mdf-inspirations-section .inspiration-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* contact */
.mdf-contact-section {
    padding: 62px 0;
    background: #f4f4f6;
}

.mdf-contact-section .contact-head {
    margin-bottom: 26px;
    text-align: center;
}

.mdf-contact-section .form-title {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.1;
    color: #1f2430;
}

.mdf-contact-section .form-subtitle {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #4d5668;
}

.mdf-contact-section .contact-body {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 36px;
}

.mdf-contact-section .contact-side {
    min-height: 500px;
}

.mdf-contact-section .contact-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mdf-contact-section .form-group {
    margin-bottom: 14px;
}

.mdf-contact-section .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mdf-contact-section .form-label {
    display: block;
    margin: 0 0 8px;
    font-size: 15px;
    color: #333;
}

.mdf-contact-section .form-input,
.mdf-contact-section .form-textarea,
.mdf-contact-section .form-file-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d7deea;
    background: #fff;
    padding: 12px 14px;
    font-size: 15px;
    color: #333;
    border-radius: 0;
}

.mdf-contact-section .form-input:focus,
.mdf-contact-section .form-textarea:focus,
.mdf-contact-section .form-file-input:focus {
    outline: none;
    border-color: #ff8c00;
}

.mdf-contact-section .checkbox-group {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.mdf-contact-section .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e4e8ef;
    padding: 8px 10px;
    font-size: 15px;
    line-height: 1.45;
    color: #333;
    background: #fff;
}

.mdf-contact-section .btn-send {
    width: 100%;
    padding: 14px 20px;
    border: 0;
    border-radius: 0;
    background: #ff8c00;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.mdf-contact-section .btn-send:hover {
    background: #e97900;
}

/* articles */
.mdf-articles-section {
    padding: 62px 0;
    background: #f4f4f6;
}

.mdf-articles-section .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.mdf-articles-section .article-card {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.mdf-articles-section .article-image {
    min-height: 200px;
}

.mdf-articles-section .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mdf-articles-section .article-content {
    padding: 20px;
}

.mdf-articles-section .article-content h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
    color: #2d3240;
}

.mdf-articles-section .article-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #4d5668;
}

/* responsive */
@media (max-width: 1280px) {
    .page-mdf-kitchen-cabinets .section-title {
        font-size: 28px;
    }

    .page-mdf-kitchen-cabinets .section-kicker {
        font-size: 24px;
    }

    .mdf-paint-section .step-card h3,
    .mdf-grid-section .card-title,
    .mdf-designs-section .design-card h3,
    .mdf-service-section .service-content h3,
    .mdf-articles-section .article-content h3 {
        font-size: 19px;
    }

    .mdf-grid-section .card-desc,
    .mdf-designs-section .design-card p,
    .mdf-service-section .service-content p,
    .mdf-split-grid .split-content p,
    .mdf-paint-section .step-card p,
    .mdf-contact-section .form-subtitle,
    .mdf-articles-section .article-content p {
        font-size: 15px;
    }

    .page-mdf-kitchen-cabinets .btn-primary {
        font-size: 15px;
        min-width: 124px;
        padding: 10px 20px;
    }
}

@media (max-width: 992px) {
    .mdf-hero-section,
    .mdf-hero-section .elementor-container {
        min-height: 460px;
    }

    .mdf-grid-section .products-grid,
    .mdf-ideas-section .ideas-grid,
    .mdf-articles-section .articles-grid {
        grid-template-columns: 1fr;
    }

    .mdf-designs-section .designs-grid,
    .mdf-service-section .service-grid,
    .mdf-inspirations-section .inspirations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mdf-split-grid,
    .mdf-compare-section .compare-row,
    .mdf-contact-section .contact-body,
    .mdf-service-section .service-item {
        grid-template-columns: 1fr;
    }

    .mdf-compare-section .compare-row.reverse {
        direction: ltr;
    }

    .mdf-paint-section .paint-steps-grid {
        grid-template-columns: 1fr;
    }

    .mdf-paint-section .paint-suggestion {
        width: 100%;
        margin-left: 0;
        margin-top: 18px;
    }

    .mdf-contact-section .contact-side {
        min-height: 380px;
    }

    .mdf-contact-section .checkbox-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .page-mdf-kitchen-cabinets .elementor-container {
        padding: 0 16px;
    }

    .mdf-hero-section .hero-content {
        padding: 64px 0;
        text-align: left;
        margin-left: 0;
    }

    .mdf-hero-section .hero-title {
        font-size: 30px;
    }

    .mdf-hero-section .hero-subtitle {
        font-size: 15px;
    }

    .page-mdf-kitchen-cabinets .section-title {
        font-size: 24px;
    }

    .page-mdf-kitchen-cabinets .section-kicker {
        font-size: 20px;
    }

    .mdf-paint-section .step-card h3,
    .mdf-grid-section .card-title,
    .mdf-designs-section .design-card h3,
    .mdf-service-section .service-content h3,
    .mdf-articles-section .article-content h3 {
        font-size: 18px;
    }

    .mdf-contact-section .form-row,
    .mdf-contact-section .checkbox-group,
    .mdf-designs-section .designs-grid,
    .mdf-inspirations-section .inspirations-grid {
        grid-template-columns: 1fr;
    }

    .mdf-split-grid .split-content,
    .mdf-video-cta-section .center-content {
        padding: 28px 20px;
    }

    .video-frame {
        min-height: 220px;
    }

    .mdf-paint-section .paint-suggestion {
        font-size: 14px;
    }
}
