.customizer-v2 #container2.app-layout {
    display: flex;
    flex-direction: row;
    background: transparent;
    align-items: flex-start;
    flex-wrap: nowrap;
    min-height: calc(100vh - 72px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem;
    gap: 2.5rem;
}

.customizer-v2 {
    background: #ece8e1;
    min-height: 100vh;
}

.customizer-v2 .preview-stage {
    flex: 1 1 58%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0.5rem;
}

.customizer-v2 #container {
    position: relative;
    display: inline-block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(20, 18, 14, 0.06),
        0 12px 40px rgba(20, 18, 14, 0.12);
    background: #fff;
}

.customizer-v2 #productImage {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 0;
}

.customizer-v2 .app-panel.right {
    flex: 0 0 360px;
    width: 360px;
    max-width: 100%;
    background: #faf9f7;
    border: 1px solid rgba(30, 28, 24, 0.08);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 8px 32px rgba(20, 18, 14, 0.06);
    margin: 0;
}

.customizer-v2 .panel-header h1 {
    font-family: 'BittiGittiN', sans-serif;
    font-size: 1.65rem;
    font-weight: 400;
    color: #1e1c18;
    margin: 0 0 0.75rem;
    padding: 0;
    border: none;
    line-height: 1.2;
}

.customizer-v2 .panel-brand {
    display: inline-block;
    margin-bottom: 1rem;
    background: none !important;
    padding: 0 !important;
    line-height: 0;
}

.customizer-v2 .panel-brand img {
    height: 38px;
    width: auto;
    display: block;
}

.customizer-v2 .Logo img {
    max-height: 52px;
    width: auto;
    display: block;
}

.customizer-v2 .panel-header .intro {
    font-family: 'ClashDisplay', sans-serif;
    font-size: 0.92rem;
    font-weight: 450;
    line-height: 1.55;
    color: #5c574f;
    padding: 0;
    margin: 0 0 1.5rem;
}

.customizer-v2 .format-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a8276;
    background: #edeae4;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    margin: 0 0.15rem;
}

.customizer-v2 .linko {
    display: inline;
    font-size: inherit;
    font-weight: 600;
    color: #2d5e1a;
    background: none;
    padding: 0;
    border-radius: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.customizer-v2 .linko:hover {
    color: #40a01a;
    background: none;
    box-shadow: none;
}

.customizer-v2 .upload-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    margin: 0 0 1rem;
    padding: 1.5rem 1.25rem;
    border: 1.5px dashed rgba(45, 94, 26, 0.35);
    border-radius: 16px;
    background: #f3f1ec;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
    font-family: 'ClashDisplay', sans-serif;
}

.customizer-v2 .upload-card:hover {
    border-color: #2d5e1a;
    background: #eceae3;
    transform: translateY(-1px);
}

.customizer-v2 .drop-zone.drop-active {
    outline: 2px dashed #2d5e1a;
    outline-offset: 4px;
}

.customizer-v2 .upload-card.drop-active {
    background: #e8efe3;
    border-color: #2d5e1a;
}

.customizer-v2 .preview-stage.drop-zone {
    border-radius: 20px;
    transition: outline-color 0.2s, background 0.2s;
}

.customizer-v2 .preview-stage.drop-active {
    background: rgba(45, 94, 26, 0.08);
}

.customizer-v2 .upload-drop-hint {
    font-size: 0.72rem;
    font-weight: 500;
    color: #8a8276;
    pointer-events: none;
}

.customizer-v2 .btn-remove {
    color: #7a4a2e !important;
    border-color: rgba(122, 74, 46, 0.25) !important;
}

.customizer-v2 .btn-remove:hover {
    background: #f5ebe4 !important;
    border-color: rgba(122, 74, 46, 0.4) !important;
}

.customizer-v2 .upload-card img {
    width: 28px;
    height: 28px;
    opacity: 0.7;
    pointer-events: none;
}

.customizer-v2 .upload-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e1c18;
    pointer-events: none;
}

.customizer-v2 .upload-formats {
    font-size: 0.78rem;
    font-weight: 500;
    color: #8a8276;
    pointer-events: none;
}

.customizer-v2 .app-controls {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.customizer-v2 .control-section {
    background: #fff;
    border: 1px solid rgba(30, 28, 24, 0.07);
    border-radius: 16px;
    padding: 1rem 1.1rem;
}

.customizer-v2 .control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.customizer-v2 .control-label {
    font-family: 'ClashDisplay', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a8276;
}

.customizer-v2 .size-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid rgba(30, 28, 24, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: #f5f3ef;
}

.customizer-v2 .size-stepper button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    transition: background 0.15s;
}

.customizer-v2 .size-stepper button + button {
    border-left: 1px solid rgba(30, 28, 24, 0.1);
}

.customizer-v2 .size-stepper button:hover {
    background: #e8e4dc;
}

.customizer-v2 .size-stepper button:active {
    background: #ddd8ce;
}

.customizer-v2 .size-stepper button img {
    width: 18px;
    height: 18px;
    opacity: 0.75;
    pointer-events: none;
}

.customizer-v2 .scale-slider-row {
    margin-top: 0.85rem;
    gap: 0.75rem;
}

.customizer-v2 #scaleSlider {
    flex: 1;
    height: 4px;
    margin: 0;
    accent-color: #2d5e1a;
    cursor: pointer;
}

.customizer-v2 .scale-value {
    flex: 0 0 44px;
    font-family: 'ClashDisplay', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #5c574f;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.customizer-v2 .control-hint {
    font-family: 'ClashDisplay', sans-serif;
    font-size: 0.8rem;
    font-weight: 450;
    color: #9a9488;
    margin: 0.65rem 0 0;
    line-height: 1.4;
}

.customizer-v2 .panel-header .intro strong {
    color: #1e1c18;
    font-weight: 700;
}

.customizer-v2 .app-controls button {
    margin: 0 !important;
}

.customizer-v2 .btn-export,
.customizer-v2 #exportImage.btn-primary {
    margin-top: 0.25rem !important;
    padding: 1.15rem 1.25rem !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    text-transform: none;
    background: #2d5e1a !important;
    color: #ffffff !important;
    border: 2px solid #1a3a0f !important;
    box-shadow: 0 8px 24px rgba(45, 94, 26, 0.38) !important;
}

.customizer-v2 .btn-export:hover,
.customizer-v2 #exportImage.btn-primary:hover {
    background: #3a7524 !important;
    color: #ffffff !important;
    border-color: #2d5e1a !important;
    box-shadow: 0 10px 28px rgba(45, 94, 26, 0.45) !important;
}

.customizer-v2 .btn-ghost,
.customizer-v2 .btn-primary {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.9rem 1.25rem;
    border-radius: 14px;
    font-family: 'ClashDisplay', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.12s;
}

.customizer-v2 .btn-ghost {
    background: transparent;
    border: 1px solid rgba(30, 28, 24, 0.14);
    color: #3d3a34;
}

.customizer-v2 .btn-ghost:hover {
    background: #f0ede8;
    border-color: rgba(30, 28, 24, 0.22);
}

.customizer-v2 .btn-primary {
    background: #2d5e1a;
    border: none;
    color: #f8f6f2;
    box-shadow: 0 4px 14px rgba(45, 94, 26, 0.25);
}

.customizer-v2 .btn-primary:hover {
    background: #3a7524;
    box-shadow: 0 6px 20px rgba(45, 94, 26, 0.3);
}

.customizer-v2 .btn-ghost:active,
.customizer-v2 .btn-primary:active {
    transform: scale(0.98);
}

.customizer-v2 .panel-link {
    display: block;
    margin-top: 1.25rem;
    padding: 0.85rem 0;
    font-family: 'ClashDisplay', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b665c !important;
    background: none !important;
    text-decoration: none;
    text-align: center;
    border-top: 1px solid rgba(30, 28, 24, 0.07);
    transition: color 0.2s;
}

.customizer-v2 .panel-link:hover {
    color: #2d5e1a !important;
    background: none !important;
}

.customizer-v2 .inspire-section {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, #f0ede8 0%, #e8efe3 100%);
    border: 1px solid rgba(45, 94, 26, 0.12);
    border-radius: 16px;
}

.customizer-v2 .inspire-label {
    font-family: 'ClashDisplay', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2d5e1a;
    margin: 0 0 0.5rem;
}

.customizer-v2 .inspire-text {
    font-family: 'ClashDisplay', sans-serif;
    font-size: 0.82rem;
    font-weight: 450;
    line-height: 1.5;
    color: #5c574f;
    margin: 0 0 0.75rem;
}

.customizer-v2 .inspire-link {
    display: inline-block;
    font-family: 'ClashDisplay', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2d5e1a !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.customizer-v2 .inspire-link:hover {
    color: #40a01a !important;
    background: none !important;
}

.customizer-v2 .lang-switch {
    font-family: 'ClashDisplay', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: #8a8276 !important;
    background: none !important;
    padding: 0 12px !important;
    text-decoration: none;
}

.customizer-v2 .lang-switch:hover {
    color: #2d5e1a !important;
    background: none !important;
}

.customizer-v2 .Footer {
    background: #ece8e1;
    border-top: 1px solid rgba(30, 28, 24, 0.06);
}

.customizer-v2 #textDiv {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: move;
    user-select: none;
    -webkit-user-drag: none;
    padding: 2rem;
    font-weight: 600;
    font-family: 'BittiGittiN', sans-serif;
    font-size: 22px;
    color: #1e1c18;
}

.customizer-v2 .text-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(30, 28, 24, 0.07);
}

.customizer-v2 .section-label {
    font-family: 'ClashDisplay', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a8276;
    margin: 0 0 0.75rem;
}

.customizer-v2 .text-input-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.customizer-v2 .text-input-row .form {
    flex: 1;
    margin: 0;
    min-width: 0;
}

.customizer-v2 .btn-secondary {
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0.75rem 1rem !important;
    border-radius: 14px !important;
    font-family: 'ClashDisplay', sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    background: #edeae4 !important;
    color: #3d3a34 !important;
    border: 1px solid rgba(30, 28, 24, 0.1) !important;
    cursor: pointer;
}

.customizer-v2 .btn-secondary:hover {
    background: #e0dcd4 !important;
}

.customizer-v2 #TextAddedDiv {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid rgba(30, 28, 24, 0.07);
    border-radius: 16px;
    padding: 1rem 1.1rem;
}

.customizer-v2 .text-size-row {
    display: flex;
    gap: 0.5rem;
}

.customizer-v2 .text-size-row button {
    flex: 1;
    margin: 0 !important;
    padding: 0.65rem !important;
    font-size: 0.85rem !important;
    background: #f5f3ef !important;
    color: #3d3a34 !important;
    border: 1px solid rgba(30, 28, 24, 0.1) !important;
    border-radius: 12px !important;
}

.customizer-v2 .text-size-row button:hover {
    background: #e8e4dc !important;
}

.customizer-v2 #fontSelect {
    display: none;
    width: 100%;
    margin: 0;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(30, 28, 24, 0.1);
    font-family: 'ClashDisplay', sans-serif;
    font-size: 0.9rem;
    background: #faf9f7;
}

@media screen and (max-width: 960px) {
    .customizer-v2 #container2.app-layout {
        flex-direction: column;
        padding: 1.25rem;
        gap: 1.5rem;
    }

    .customizer-v2 .preview-stage {
        width: 100%;
    }

    .customizer-v2 .app-panel.right {
        flex: 1 1 auto;
        width: 100%;
        margin: 0;
    }
}

@media screen and (max-width: 420px) {
    .customizer-v2 #container2.app-layout {
        display: flex !important;
    }
}

@media only screen and (max-width: 1200px) {
    .customizer-v2 .btn-export,
    .customizer-v2 #exportImage.btn-primary {
        font-size: 1.05rem !important;
        padding: 1.15rem 1.25rem !important;
        background: #2d5e1a !important;
        color: #ffffff !important;
    }
}
