/* Brown Margin Decorative Borders for Ready to Craft Content Box */
.ready-to-craft-margin-top {
    position: absolute;
    left: 20px;
    top: 20px;
    width: calc(100% - 40px);
    height: auto;
    z-index: 10;
    pointer-events: none;
}

.ready-to-craft-margin-left {
    position: absolute;
    left: 20px;
    top: 20px;
    width: auto;
    height: calc(100% - 40px);
    z-index: 10;
    pointer-events: none;
}

.ready-to-craft-margin-right {
    position: absolute;
    right: 20px;
    top: 20px;
    width: auto;
    height: calc(100% - 40px);
    z-index: 11;
    /* Higher than image to render on top */
    pointer-events: none;
}

.ready-to-craft-margin-bottom {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: calc(100% - 40px);
    height: auto;
    z-index: 10;
    pointer-events: none;
}

/* ============================================
   READY TO CRAFT SECTION STYLES - DESKTOP
   ============================================ */

.ready-to-craft-section {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 80px 0;
    overflow: visible;
}

.ready-to-craft-inner {
    position: relative;
    margin: 0 auto;
    min-height: 475px;
}

/* Background Banner - Desktop: 1440px × 413px at y:9246.62 */
.ready-to-craft-banner {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    height: 413px;
    background: #181818;
    z-index: 1;
}

/* White Content Box - Desktop: 976px × 475px at x:163, y:9108 */
.ready-to-craft-content-box {
    position: relative;
    background: #FFFFFF;
    width: 100%;
    max-width: 976px;
    margin: 0 auto;
    padding: 43px 42px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    overflow: visible;
}

/* Content Left Side - Desktop: 437.065px wide at x:215, y:9224 */
.ready-to-craft-content-left {
    flex: 0 0 auto;
    max-width: 437px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 48px;
}

/* Text Container - Desktop: 373.915px wide, gap: 33.237px */
.ready-to-craft-text-container {
    display: flex;
    flex-direction: column;
    gap: 33.237px;
    width: 100%;
    max-width: 373.915px;
}

/* Heading - D-General Sans Variable H3: 24px, Regular */
.ready-to-craft-heading {
    font-family: 'General Sans Variable', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1;
    color: #181818;
    margin: 0;
}

/* Subheading - D-Costaline H4: 24px, Thin, line-height: 1.7 */
.ready-to-craft-subheading {
    font-family: 'Costaline', serif;
    font-weight: 100;
    font-size: 24px;
    line-height: 1.7;
    color: #181818;
    margin: 0;
}

/* Image Wrapper - Desktop: 579.983px × 345.663px, border: 3.324px white at x:684.47, y:9175 */
.ready-to-craft-image-wrap {
    flex: 0 0 auto;
    width: 579.983px;
    height: 345.663px;
    border: 3.324px solid #FFFFFF;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

/* Image - Desktop: crop with 140.52% height */
.ready-to-craft-image {
    position: absolute;
    width: 100%;
    height: 140.52%;
    top: -13.43%;
    left: 0;
    object-fit: cover;
}

/* ============================================
   READY TO CRAFT SECTION STYLES - MOBILE (≤1100px)
   ============================================ */

@media (max-width: 1100px) {
    .ready-to-craft-section {
        margin: 60px 0;
    }

    .ready-to-craft-inner {
        min-height: 257px;
        padding: 32px;
    }

    /* Background Banner - Mobile: 375px × 239px at y:8626.53 */
    .ready-to-craft-banner {
        height: 239px;
    }

    /* White Content Box - Mobile: 323px × 257px at y:8576 */
    .ready-to-craft-content-box {
        max-width: 400px;
        padding: 6px 25px 24px;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    /* Image on Top for Mobile - Mobile: 245px × 97px at y:8549 (ABOVE content box at y:8576) */
    .ready-to-craft-image-wrap {
        order: -1;
        width: 245px;
        height: 97px;
        border: 0.517px solid #FFFFFF;
        flex: none;
        position: absolute;
        top: -27px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    /* Content Below Image - Mobile */
    .ready-to-craft-content-left {
        max-width: 273px;
        gap: 24px;
        align-items: center;
        text-align: center;
        margin-top: 70px;
    }

    /* Text Container - Mobile: gap: 12px */
    .ready-to-craft-text-container {
        gap: 12px;
        max-width: 273px;
        align-items: center;
    }

    /* Heading - M-General Sans Variable H2: 20px */
    .ready-to-craft-heading {
        font-size: 20px;
        text-align: center;
    }

    /* Subheading - M-Costaline H4: 14px */
    .ready-to-craft-subheading {
        font-size: 14px;
        text-align: center;
    }

    /* Adjust margin vectors for mobile - top margin is behind half of image */
    .ready-to-craft-margin-top {
        left: 25px;
        top: 6px;
        width: calc(100% - 50px);
    }

    .ready-to-craft-margin-left {
        left: 25px;
        top: 6px;
        height: calc(100% - 12px);
    }

    .ready-to-craft-margin-right {
        right: 25px;
        top: 6px;
        height: calc(100% - 12px);
    }

    .ready-to-craft-margin-bottom {
        left: 25px;
        bottom: 6px;
        width: calc(100% - 50px);
    }
}