@font-face {
    font-family: 'AvantGardeTRDemiBold';
    src: url('/fonts/AVGARDD_2.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'AvantGardeTR';
    src: url('/fonts/AVGARDN_2.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

.easycreate-section {
    padding: 48px 0;
    width: 100%;
}
.easycreate-head {
    text-align: center;
    margin-bottom: 32px;
    font-family: 'AvantGardeTR', Arial, Helvetica, sans-serif;
}
.ec-title-orange {
    font-family: 'AvantGardeTRDemiBold', 'AvantGardeTR', Arial, sans-serif;
    font-size: 40px;
    color: #e27924;
    letter-spacing: -1px;
}
.ec-title-black {
    font-family: 'AvantGardeTR', Arial, Helvetica, sans-serif;
    font-size: 38px;
    color: #191919;
    font-weight: 400;
    background: #fff;
    border-radius: 12px;
    padding: 0 16px;
    display: inline-block;
    margin-top: 4px;
}

.easycreate-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 38px;
    max-width: 1280px;
    margin: 0 auto;
    background: #191919;
    border-radius: 22px;
    padding: 32px 28px;
}

.ec-beforeafter {
    flex: 1.25;
    min-width: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border-radius: 22px;
    overflow: hidden;
}
.ec-ba-imgs {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background: #ccc;
    border-radius: 18px;
    overflow: hidden;
    min-width: 320px;
    max-width: 560px;
    margin: 0 auto;
}
.ec-ba-before,
.ec-ba-after {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.ec-ba-before {
    z-index: 2;
    clip-path: inset(0 0 0 50%);
    transition: clip-path .25s cubic-bezier(.3,1.2,.6,1);
}
.ec-ba-after {
    z-index: 1;
}
.ec-ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    width: 54px; height: 54px;
    background: #e27924;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px 0 rgba(40,30,0,.18);
    cursor: grab;
    user-select: none;
    font-size: 26px;
}
.ec-ba-arrow {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: -2px;
}

.ec-formbox {
    flex: 1;
    min-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#easyCreateForm {
    width: 100%;
    max-width: 390px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ec-dropzone {
    width: 100%;
    height: 102px;
    border: 3px dashed #fff;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #191919;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
    transition: border-color .2s;
}
.ec-dropzone:hover { border-color: #e27924; }
.ec-dropzone-icon img {
    width: 38px;
    margin-bottom: 4px;
    filter: brightness(0) invert(1);
}
.ec-dropzone-label {
    color: #fff;
    font-size: 20px;
    font-family: 'AvantGardeTR', Arial, sans-serif;
    font-weight: 400;
}

.ec-form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    color: #fff;
    font-family: 'AvantGardeTR', Arial, sans-serif;
    font-size: 20px;
}
.ec-form-group label {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 2px;
}
.ec-form-group select {
    width: 100%;
    font-size: 18px;
    padding: 8px 20px 8px 16px;
    border: none;
    border-radius: 22px;
    background: #191919;
    color: #fff;
    box-shadow: 0 0 0 1px #fff;
    font-family: 'AvantGardeTR', Arial, sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='orange' height='18' width='18' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 22px 22px;
    margin-bottom: 2px;
    cursor: pointer;
}
.ec-form-group select:disabled { color: #bbb; }
.ec-design-count-group {
    gap: 7px;
}
.ec-count-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 3px;
}
.ec-count-row input[type="range"] {
    flex: 1;
    accent-color: #e27924;
}
.ec-count-numbers {
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: #fff;
    font-size: 18px;
    margin-top: -8px;
}
.ec-info-text {
    font-size: 15px;
    color: #fff;
    margin-bottom: 4px;
    opacity: .82;
    font-style: italic;
}

.ec-btn {
    width: 100%;
    padding: 11px 0;
    background: #e27924;
    color: #fff;
    border-radius: 22px;
    font-family: 'AvantGardeTRDemiBold', 'AvantGardeTR', Arial, sans-serif;
    font-size: 22px;
    border: none;
    cursor: pointer;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    transition: background .18s;
    box-shadow: 0 2px 12px 0 rgba(40,30,0,.10);
}
.ec-btn:hover { background: #bb671a; }
.ec-btn-magic {
    width: 26px;
    height: 26px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 1100px) {
    .easycreate-container { flex-direction: column; gap: 22px; }
    .ec-beforeafter, .ec-formbox { min-width: 0; width: 100%; }
    .ec-ba-imgs { min-width: 0; max-width: 100%; }
    .ec-formbox { justify-content: flex-start; }
}
@media (max-width: 600px) {
    .easycreate-head { font-size: 7vw; }
    .ec-title-orange { font-size: 7vw; }
    .ec-title-black { font-size: 6vw; }
    .easycreate-container { padding: 14px 2vw; }
    .ec-formbox, .ec-ba-imgs { padding: 0; }
    #easyCreateForm { max-width: 98vw; }
    .ec-dropzone-label { font-size: 15px; }
}
