/* Tablet Styles */
@media (min-width: 998px) and (max-width: 1440px) {
    .preset-image-wrapper {
        width: 100% !important;
        height: 800px !important;
    }

    .preset-slide img {
        height: 800px !important;
    }

    .triple-image-container {
        height: 800px !important;
    }

    .preset-image-wrapper.triple .triple-image-container .right-image .second-row-triple img {
        height: 100% !important;
    }

    .discover-item,
    .discover-item-reverse {
        max-width: 100%;
    }

    .discover-item-title {
        font-size: 1.2em;
    }

    .creative-look-section-container,
    .custom-preset-section-container,
    .empowering-section-container,
    .discover-section-container,
    .workshop-section-container,
    .levelup-section-container {
        width: 90%;
        margin: 0 auto;
    }


    .key-visual-text {
        position: absolute;
        bottom: 5%;
        right: 6%;
        z-index: 10;
        text-align: right;
    }

    .preset-slide p {
        width: 100%;
    }
}

@media (min-width: 1000px) {
    .key-visual-text img {
        width: 67% !important;
        max-width: 100%;
        height: auto;
        margin: 0 0 0 0;
    }
}

@media (max-width: 1200px) {
    .key-visual-text {
        position: absolute;
        bottom: 1%;
        right: 3%;
        z-index: 10;
        text-align: right;
    }
}

/* Desktop Styles */
@media (min-width: 1920px) {
    .key-visual-text img {
        width: 90%;
    }
}

@media (min-width: 2000px) {
    .preset-image-wrapper {
        width: 60% !important;
        height: 800px !important;
    }

    .preset-slide img {
        height: 800px !important;
    }

    .triple-image-container {
        height: 800px !important;
    }

    .preset-image-wrapper.triple .triple-image-container .right-image img {
        height: 100% !important;
    }

    .key-visual-text {
        position: absolute;
        bottom: 10%;
        right: 15%;
        z-index: 10;
        text-align: right;
    }

    .levelup-card {
        width: 330px;
    }
}

@media (min-width: 2400px) {
    .levelup-card {
        width: 380px;
    }
}

@media (max-width: 900px) {
    .max-width-sony {
        max-width: 100%;
        padding: 0;
    }

    .preset-slide p {
        width: 100%;
    }

    .discover-item {
        flex-direction: column;
        max-width: 98vw;
    }

    .discover-item-reverse {
        flex-direction: column-reverse;
        max-width: 98vw;
    }

    .discover-item-img,
    .discover-item-reverse .discover-item-img {
        width: 100%;
        min-width: unset;
        max-width: 100vw;
        height: 220px;
        border-radius: 24px 24px 0 0;
        box-shadow: -6px 13px 0px -5px #CFE2F3;
    }
    .discover-item-reverse .discover-item-img {
        object-position: top;
    }
    .discover-item-box {
        border-radius: 0 0 24px 24px;
        margin-left: 0;
        padding: 24px 16px 20px 16px;
        min-width: unset;
        width: 100%;
        box-sizing: border-box;
    }

    .discover-item-reverse .discover-item-box {
        border-radius: 0 0 24px 24px;
        margin-left: 0;
        margin-right: 0;
        padding: 24px 16px 20px 16px;
        min-width: unset;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 800px) {
    .levelup-row {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .levelup-card {
        width: 100vw;
        max-width: 340px;
    }
}

@media (max-width: 768px) {

    .custom-preset-slider {
        max-width: 800px;
    }


    .creative-look-section {
        background-position: 100% 25%;
    }

    .creative-look-section-container,
    .custom-preset-section-container,
    .empowering-section-container,
    .discover-section-container,
    .workshop-section-container,
    .levelup-section-container {
        width: 90%;
        margin: 0 auto;
    }

    .creative-look-section-maintitle,
    .custom-preset-section-maintitle,
    .empowering-section-maintitle {
        font-size: 24px;
    }

    .levelup-section-maintitle,
    .discover-section-maintitle {
        font-size: 24px;
    }

    .creative-look-section-title,
    .custom-preset-section-title,
    .empowering-section-title {
        font-size: 18px;
    }

    .preset-image-wrapper.double .double-image-container::before,
    .preset-image-wrapper.triple .triple-image-container::before {
        width: 4px;
    }

    .preset-image-wrapper.triple .triple-image-container .right-image::before {
        height: 4px;
    }

    .creative-look-section-description,
    .custom-preset-section-description,
    .empowering-section-description {
        font-size: 16px;
    }

    .preset-lightbox-content {
        max-width: 90vw;
        max-height: 80vh;
    }

    .preset-lightbox-img {
        max-width: 90vw;
        max-height: 80vh;
    }

    .preset-lightbox-img-container {
        max-width: 90vw;
        max-height: 80vh;
    }

    .key-visual-item-desktop {
        display: none;
    }

    .key-visual-item-mobile {
        display: block;
    }

    .key-visual-text {
        width: 100%;
        text-align: right;
        bottom: 5%;
    }

    .key-visual-text img {
        width: 40%;
        max-width: 100%;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .levelup-card {
        width: 100vw;
        max-width: 310px;
    }

    .preset-image-wrapper {
        width: 100% !important;
        height: 500px !important;
    }

    .preset-slide img {
        height: 500px !important;
    }

    .triple-image-container {
        height: 500px !important;
    }

    .preset-image-wrapper.triple .triple-image-container .right-image img {
        height: 100% !important;
    }

    .workshop-description {
        font-size: 2em;
        bottom: 30%;
    }
}

@media (max-width: 600px) {
    .preset-lightbox-info {
        font-size: 0.8em;
    }

    .preset-lightbox-skeleton {
        border-radius: 12px;
    }

    .preset-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .preset-row {
        display: flex;
        gap: 8px;
        width: 100%;
    }

    .preset-row:nth-child(1) .preset-btn,
    .preset-row:nth-child(2) .preset-btn {
        flex: 1 1 33.33%;
        max-width: 33.33%;
    }

    .preset-row:nth-child(3) .preset-btn {
        flex: 1 1 25%;
        max-width: 25%;
    }

    .preset-btn {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 12px;
    }

    .preset-image-wrapper {
        height: 300px;
    }

    .preset-slide img {
        height: 300px;
    }

    .preset-image-wrapper.triple .triple-image-container {
        height: 300px;
    }

    .preset-image-wrapper.double .double-image-container {
        height: 300px;
    }

    .preset-image-wrapper {
        width: 100%;
    }

    .discover-item-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .discover-item-button {
        padding: 10px 24px;
        font-size: 1em;
    }

    .custom-preset-section {
        padding: 80px 20px 60px 20px;
    }

    .workshop-section {
        padding: 100px 20px 20px 20px;
    }

    .custom-preset-slide {
        border: 2px solid white;
    }

    .custom-preset-step {
        padding: 0 20px;
        font-size: 18px;
    }

    .custom-preset-arrow {
        width: 25px;
        height: 25px;
        font-size: 18px;
    }

    .custom-preset-caption {
        font-size: 18px;
    }

}

@media (max-width: 480px) {

    .creative-look-section-container,
    .custom-preset-section-container,
    .empowering-section-container,
    .discover-section-container,
    .workshop-section-container,
    .levelup-section-container {
        width: 100%;
    }

    .empowering-section {
        padding: 80px 15px 40px 15px;
    }

    .empowering-item {
        width: 100%;
    }

    .workshop-container {
        width: 100%;
        margin: 0 auto;
    }

    .levelup-section {
        padding: 80px 20px 40px 20px;
    }

    .key-visual-text {
        bottom: 4%;
    }

    .empowering-item-title {
        font-size: 22px;
    }

    .empowering-item-description {
        font-size: 14px;
    }

    .preset-image-wrapper {
        width: 100% !important;
        height: 300px !important;
    }

    .preset-slide img {
        height: 300px !important;
    }

    .triple-image-container {
        height: 300px !important;
    }

    .workshop-description {
        font-size: 1.4em;
        bottom: 30%;
    }



    .custom-preset-section {
        background-size: 130% 35% !important;
        background-position: 100% 60% !important;
    }

    .empowering-section {
        background-size: 130% 20%, contain;
        background-position: 100% 15%, bottom;
    }

    .levelup-section {
        background-size: 113% 7% !important;
        background-position: 100% 9% !important;
    }
}

@media (max-width: 320px) {
    .levelup-card {
        width: 100vw;
        max-width: 320px;
    }
}