
.luxe-customizer-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 36px;
    background: #ffffff;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    max-width: 1180px;
    margin: 24px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
}
@media (max-width: 880px) {
    .luxe-customizer-wrapper { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
}
.luxe-mockup-column {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 36px 20px;
    position: relative;
    min-height: 560px;
}

.luxe-mockup-stage {
    position: relative;
    width: 265px;
    height: 520px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.luxe-phone-chassis {
    position: absolute;
    inset: 0;
    background: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.22);
    border-radius: 46px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.luxe-bumper {
    position: absolute;
    inset: -5px;
    border: 8px solid #1e293b;
    border-radius: 50px;
    pointer-events: none;
    z-index: 5;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.4);
}
.luxe-magsafe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 135px;
    height: 135px;
    border: 4px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    display: none;
    z-index: 4;
}
.luxe-magsafe::after {
    content: "";
    position: absolute;
    bottom: -26px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 22px;
    background: rgba(255,255,255,0.7);
}
.luxe-camera-module {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 6;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* iPhone Tri-Lens Pro Module */
.cam-iphone-pro {
    width: 104px;
    height: 108px;
    background: #111827;
    border-radius: 28px;
    border: 3px solid #374151;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.cam-iphone-pro::after {
    content: "LUXE ARMOR";
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 7px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
}
.cam-lens {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, #0f172a 40%, #1e293b 80%, #475569 100%);
    border: 2px solid #64748b;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.2), 0 2px 4px rgba(0,0,0,0.5);
}
.cip-1 { width: 34px; height: 34px; top: 10px; left: 10px; }
.cip-2 { width: 34px; height: 34px; top: 52px; left: 10px; }
.cip-3 { width: 34px; height: 34px; top: 31px; left: 52px; }
.cip-flash { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: #fef08a; top: 12px; left: 63px; }

/* iPhone Standard Dual Lens */
.cam-iphone-std {
    width: 48px;
    height: 98px;
    background: #111827;
    border-radius: 24px;
    border: 3px solid #374151;
    position: relative;
}
.cam-iphone-std .cam-lens:nth-child(1) { width: 34px; height: 34px; top: 8px; left: 4px; }
.cam-iphone-std .cam-lens:nth-child(2) { width: 34px; height: 34px; bottom: 8px; left: 4px; }

/* iPhone Air Single Sleek Camera */
.cam-iphone-air {
    width: 46px;
    height: 46px;
    background: #111827;
    border-radius: 23px;
    border: 3px solid #374151;
    position: relative;
}
.cam-iphone-air .cam-lens { width: 34px; height: 34px; top: 3px; left: 3px; }

/* Samsung Ultra Drop Lenses */
.cam-samsung-ultra {
    width: 50px;
    height: 145px;
    position: relative;
}
.cam-samsung-ultra .cam-lens { width: 32px; height: 32px; left: 4px; }
.csu-1 { top: 4px; }
.csu-2 { top: 44px; }
.csu-3 { top: 84px; }
.csu-4 { width: 20px !important; height: 20px !important; top: 14px; left: 42px !important; }
.csu-5 { width: 20px !important; height: 20px !important; top: 68px; left: 42px !important; }

/* Samsung Standard 3 Lenses */
.cam-samsung-std {
    width: 40px;
    height: 120px;
    position: relative;
}
.cam-samsung-std .cam-lens { width: 30px; height: 30px; left: 4px; }
.css-1 { top: 4px; }
.css-2 { top: 40px; }
.css-3 { top: 76px; }

/* ARTWORK LAYER & INTERACTIVE CANVAS */
.luxe-artwork-layer {
    position: absolute;
    inset: 6px;
    border-radius: 40px;
    overflow: hidden;
    z-index: 2;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}
.luxe-canvas-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
    overflow: hidden;
}
.luxe-canvas-wrapper:active {
    cursor: grabbing;
}
#luxeAdjustableImage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    pointer-events: none;
    max-width: none;
}

.luxe-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    color: #64748b;
    pointer-events: none;
}
.placeholder-icon { font-size: 36px; margin-bottom: 8px; }
.placeholder-text { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.placeholder-sub { font-size: 11px; color: #dc2626; font-weight: 600; }

/* ADJUSTMENT TOOLBAR */
.luxe-adjust-toolbar {
    margin-top: 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.luxe-toolbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.luxe-drag-hint {
    font-size: 11px;
    font-weight: 500;
    color: #2563eb;
    background: #eff6ff;
    padding: 2px 6px;
    border-radius: 4px;
}
.luxe-toolbar-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.luxe-tool-label { font-size: 11px; font-weight: 600; color: #475569; }
#luxeZoomSlider { flex: 1; cursor: pointer; accent-color: #000; }
.luxe-tool-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.15s;
}
.luxe-tool-btn:hover { background: #e2e8f0; }

.luxe-preview-hint {
    margin-top: 14px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

/* RIGHT CONTROLS */
.luxe-controls-column { display: flex; flex-direction: column; gap: 16px; }
.luxe-title { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin: 0; }
.luxe-rating-row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #64748b; }
.luxe-stars { color: #f59e0b; }
.luxe-price-box { display: flex; align-items: baseline; gap: 12px; }
.luxe-price-current { font-size: 28px; font-weight: 800; color: #0f172a; }
.luxe-price-old { font-size: 18px; text-decoration: line-through; color: #94a3b8; }
.luxe-discount-pill { background: #dcfce7; color: #15803d; font-weight: 700; font-size: 13px; padding: 3px 8px; border-radius: 6px; }

.luxe-delivery-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
}
.luxe-dot { width: 8px; height: 8px; border-radius: 50%; background: #15803d; }

.luxe-field-group { display: flex; flex-direction: column; gap: 8px; }
.luxe-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #334155; }
.luxe-req-asterisk { color: #dc2626; text-transform: none; font-size: 12px; }

/* DUAL PILL SELECTOR */
.luxe-dual-selector {
    display: flex;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    overflow: hidden;
    transition: border-color 0.2s;
}
.luxe-dual-selector:focus-within { border-color: #000000; }
.luxe-select-half { flex: 1; position: relative; }
.luxe-select-half:first-child { border-right: 1.5px solid #cbd5e1; }
.luxe-select-half select {
    width: 100%;
    border: none;
    background: transparent;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    outline: none;
    color: #0f172a;
}
.luxe-arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: 11px; color: #64748b; }

/* CASE CARDS (2 COLUMNS FOR TOUGH & SNAP) */
.luxe-case-cards-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.luxe-case-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s;
}
.luxe-case-card:hover { border-color: #94a3b8; }
.luxe-case-card.selected { border-color: #000000; box-shadow: 0 0 0 1px #000000; background: #f8fafc; }
.luxe-card-icon { font-size: 24px; margin-bottom: 4px; }
.luxe-card-name { font-size: 14px; font-weight: 700; color: #0f172a; }
.luxe-card-price { font-size: 13px; font-weight: 700; margin-top: 2px; color: #15803d; }
.luxe-card-spec { font-size: 11px; color: #64748b; margin-top: 4px; }

/* MAGSAFE CARDS */
.luxe-magsafe-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.luxe-magsafe-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s;
}
.luxe-magsafe-card:hover { border-color: #94a3b8; }
.luxe-magsafe-card.selected { border-color: #000000; box-shadow: 0 0 0 1px #000000; background: #f8fafc; }
.magsafe-card-icon { font-size: 20px; }
.magsafe-card-label { font-size: 13px; font-weight: 700; }

/* PHOTO UPLOAD ZONE */
.luxe-upload-zone {
    border: 2px dashed #2563eb;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    background: #eff6ff;
    transition: all 0.2s;
}
.luxe-upload-zone:hover { border-color: #000000; background: #f1f5f9; }
.luxe-upload-zone.has-photo { border-color: #15803d; background: #f0fdf4; }
.luxe-upload-icon { font-size: 26px; display: block; margin-bottom: 4px; }
.luxe-upload-main { font-size: 14px; font-weight: 700; color: #2563eb; display: block; }
.luxe-upload-hint { font-size: 11px; color: #64748b; }
.luxe-upload-status { font-size: 13px; font-weight: 600; color: #15803d; margin-top: 4px; text-align: center; }

/* VALIDATION ERROR */
.luxe-validation-error {
    background: #fef2f2;
    border: 1.5px solid #dc2626;
    color: #991b1b;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    animation: shake 0.3s ease-in-out;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

.luxe-checkout-status { font-size: 14px; font-weight: 700; color: #000000; margin-top: 8px; text-align: center; background: #f1f5f9; padding: 10px; border-radius: 8px; }

/* ACTION BUTTONS (ADD TO CART + BUY NOW) */
.luxe-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 12px;
    margin-top: 6px;
}
.luxe-btn-add-cart {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 12px;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.luxe-btn-add-cart:hover {
    background: #f1f5f9;
}
.luxe-btn-buy-now {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    border-radius: 12px;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.luxe-btn-buy-now:hover {
    background: #1e293b;
    transform: translateY(-1px);
}
