.dff-dtfe-panel{margin:24px 0;padding:24px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.06);color:#202938}.dff-dtfe-panel h3{margin:0 0 8px;font-size:22px}.dff-dtfe-panel>label,.dff-dtfe-custom label{display:inline-flex;flex-direction:column;gap:7px;margin:12px 16px 12px 0;font-weight:600}.dff-dtfe-panel select,.dff-dtfe-panel input[type=number]{min-width:190px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.dff-dtfe-custom{display:grid;grid-template-columns:repeat(2,minmax(150px,220px));gap:12px}.dff-dtfe-upload{display:inline-block;margin:12px 0;padding:14px 18px;border:1px dashed #64748b;border-radius:10px;cursor:pointer}.dff-dtfe-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0 16px}.dff-dtfe-tools button,.dff-dtfe-btn{display:inline-block;border:0;border-radius:8px;background:#172554;color:#fff;padding:11px 18px;text-decoration:none;cursor:pointer}.dff-dtfe-tools button:hover,.dff-dtfe-btn:hover{background:#263d78;color:#fff}.dff-dtfe-panel canvas{display:block;width:100%;max-width:560px;height:auto;border:1px solid #cbd5e1;border-radius:6px;touch-action:none;background:#fff}.dff-dtfe-price{margin:16px 0;font-size:19px;font-weight:700}.dff-dtfe-lumise{margin:14px 0}.dff-dtfe-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:22px}.dff-dtfe-product{padding:16px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.dff-dtfe-product img{width:100%;height:auto;display:block}.dff-dtfe-product h3{font-size:17px}.dff-dtfe-empty{padding:22px;background:#f8fafc;border-radius:12px}@media(max-width:600px){.dff-dtfe-panel{padding:16px}.dff-dtfe-custom{grid-template-columns:1fr}.dff-dtfe-tools{align-items:flex-start}}

/* Ready-made designs and responsive product customizer */
.dff-dtfe-presets{margin:16px 0;padding:14px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc}
.dff-dtfe-presets>strong{display:block;margin-bottom:10px;font-size:15px}
.dff-dtfe-preset-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:10px}
.dff-dtfe-preset{min-width:0;padding:7px;border:1px solid #dbe2ea;border-radius:10px;background:#fff;cursor:pointer;color:#172554}
.dff-dtfe-preset img{display:block;width:100%;height:78px;object-fit:contain}
.dff-dtfe-preset span{display:block;margin-top:5px;font-size:12px;font-weight:700}
.dff-dtfe-preset:hover,.dff-dtfe-preset:focus{border-color:#83b735;box-shadow:0 0 0 2px rgba(131,183,53,.15)}
.dff-dtfe-presets small{display:block;margin-top:8px;color:#64748b}
.dff-dtfe-panel{box-sizing:border-box;width:100%;max-width:100%;overflow:hidden}
.dff-dtfe-panel *{box-sizing:border-box}
.dff-dtfe-panel>label{vertical-align:top;max-width:100%}
.dff-dtfe-panel select,.dff-dtfe-panel input[type=number]{width:100%;max-width:100%;min-width:0}
.dff-dtfe-upload{max-width:100%;width:100%;box-sizing:border-box}
.dff-dtfe-upload input[type=file]{display:block;max-width:100%;margin-top:8px}
.dff-dtfe-tools button{min-height:44px}
.dff-dtfe-panel canvas{max-width:100%;height:auto}
@media(max-width:768px){
 .dff-dtfe-panel{margin:16px 0;padding:16px;border-radius:12px}
 .dff-dtfe-panel h3{font-size:20px;line-height:1.3}
 .dff-dtfe-panel>label{display:flex;width:100%;margin:10px 0}
 .dff-dtfe-custom{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .dff-dtfe-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .dff-dtfe-tools button{width:100%;padding:11px 8px}
 #dff_dtfe_status{grid-column:1/-1}
 .dff-dtfe-price{font-size:18px;line-height:1.4}
}
@media(max-width:420px){
 .dff-dtfe-panel{padding:12px}
 .dff-dtfe-custom{grid-template-columns:1fr}
 .dff-dtfe-preset-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .dff-dtfe-preset img{height:62px}
 .dff-dtfe-tools{grid-template-columns:1fr}
 #dff_dtfe_status{grid-column:auto}
}
