/* ============================================================
   STAMP DESIGN TOOL — style.css  v3
   WordPress-safe: all selectors under .sdt-root
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Naskh+Arabic:wght@400;600;700&display=swap');

/* ── Reset within tool ── */
.sdt-root,
.sdt-root * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Page body ── */
body {
    background: #ffffff;
}

/* ── Root wrapper ── */
.sdt-root {
    --c-bg: #f1f5f9;
    --c-surface: #ffffff;
    --c-border: #e2eaf3;
    --c-border2: #c8d8ea;
    --c-text: #0d1b2a;
    --c-text2: #4a5a6a;
    --c-text3: #8fa2b5;
    --c-primary: #7c3aed;
    --c-primary2: #6d28d9;
    --c-prilight: #ede9fe;
    --c-green: #25d366;
    --c-green2: #1aaa52;
    --c-orange: #ea580c;
    --c-shadow: 0 4px 16px rgba(13, 27, 42, .10);
    --c-shadow2: 0 1px 3px rgba(13, 27, 42, .08);
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 22px;
    --trans: .18s cubic-bezier(.4, 0, .2, 1);

    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: none;
    animation: sdt-tool-border 4s linear infinite;
}

@keyframes sdt-tool-border {
    0%   { box-shadow: 0 0 0 2px #6d28d9, 0 4px 24px rgba(13,27,42,.12); }
    25%  { box-shadow: 0 0 0 2px #7c3aed, 0 4px 24px rgba(13,27,42,.12); }
    50%  { box-shadow: 0 0 0 2px #25d366, 0 4px 24px rgba(13,27,42,.12); }
    75%  { box-shadow: 0 0 0 2px #f97316, 0 4px 24px rgba(13,27,42,.12); }
    100% { box-shadow: 0 0 0 2px #6d28d9, 0 4px 24px rgba(13,27,42,.12); }
}

.sdt-root {
    width: calc(100% - 36px);
    max-width: 1280px;
    margin: 18px auto;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

/* ═══ HEADER ═══ */
.sdt-header {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    padding: 0 16px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.sdt-header-order {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sdt-header-order-label {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.sdt-header-order-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.15s, transform 0.1s;
}
.sdt-header-order-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.sdt-header-order-btn:active { transform: translateY(0); }

.sdt-header-order-wa {
    background: #25d366;
    color: #fff;
}

.sdt-header-order-email {
    background: var(--c-primary);
    color: #fff;
}

.sdt-header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sdt-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}


.sdt-logo-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--trans);
}

.sdt-logo-title:hover {
    transform: translateX(2px);
    background: linear-gradient(135deg, #2563eb 0%, #1e293b 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.sdt-logo-sub {
    font-size: 9px;
    font-weight: 500;
    color: var(--c-text3);
    margin-top: 0px;
    letter-spacing: 0.01em;
}

/* ═══ MAIN SPLIT ═══ */
.sdt-main {
    flex: 1;
    display: grid;
    grid-template-columns: 290px 1fr 225px;
    overflow: hidden;
    min-height: 0;
}

/* ════ LEFT PANEL ════ */
.sdt-left {
    width: 290px;
    flex-shrink: 0;
    background: var(--c-surface);
    border-right: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sdt-left-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0 0 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}

.sdt-left-scroll::-webkit-scrollbar {
    width: 5px;
}
.sdt-left-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.sdt-left-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 99px;
}
.sdt-left-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Sections */
.sdt-section {
    padding: 8px 12px;
    border-bottom: 1px solid var(--c-border);
    position: relative;
}

.sdt-section-actions {
    border-bottom: none;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 0 0 var(--r-md) var(--r-md);
}

.sdt-section-actions .sdt-section-heading {
    color: rgba(255, 255, 255, 0.75);
}

.sdt-section-actions .sdt-section-num {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.sdt-section-heading {
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #64748b;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    background: linear-gradient(90deg, rgba(0,0,0,.03) 0%, transparent 80%);
    border-left: 3px solid #94a3b8;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    margin-left: -16px;
    padding-left: 12px;
}

.sdt-section-num {
    width: 22px;
    height: 22px;
    background: #475569;
    color: white;
    border-radius: 7px;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Fields */
.sdt-field {
    margin-bottom: 14px;
}

.sdt-field:last-child {
    margin-bottom: 0;
}

.sdt-field-row {
    display: flex;
    gap: 10px;
}

.sdt-field-row .sdt-field {
    flex: 1;
}

/* Font size adjuster */
.sdt-fs-adjuster {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 0 2px;
}

.sdt-fs-adjuster span {
    font-size: 10px;
    font-weight: 400;
    color: var(--c-text3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    min-width: 52px;
    flex-shrink: 0;
}

.sdt-fs-adjuster input[type="range"] {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--c-primary) 0%, var(--c-primary) var(--pct, 0%), var(--c-border) var(--pct, 0%));
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.sdt-fs-adjuster input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 13px;
    height: 13px;
    background: var(--c-primary);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 4px rgba(26,86,219,0.35);
}

.sdt-field label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #1e293b;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
}

.sdt-ar-label {
    font-family: 'Noto Naskh Arabic', serif !important;
    font-size: 14px !important;
}

.sdt-field input[type="text"],
.sdt-field input[type="tel"] {
    width: 100%;
    padding: 6px 10px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-sm);
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    color: var(--c-text);
    background: var(--c-surface);
    outline: none;
    transition: var(--trans);
}

.sdt-input-ar {
    font-family: 'Noto Naskh Arabic', serif !important;
    font-size: 15px !important;
    text-align: right;
}

.sdt-field input:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}

.sdt-tag {
    display: inline-block;
    padding: 1px 7px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    letter-spacing: .03em;
    vertical-align: middle;
    margin-left: 4px;
}

.sdt-field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.sdt-field label {
    font-size: 13px;
    font-weight: 400;
    color: #1e293b;
    margin-bottom: 0;
}

.sdt-settings-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #94a3b8;
    background: none;
    color: #64748b;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: border-color 0.15s, color 0.15s, transform 0.25s;
}
.sdt-settings-btn:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}
.sdt-settings-btn.is-open {
    border-color: var(--c-primary);
    color: var(--c-primary);
    transform: rotate(45deg);
}

.sdt-settings-panel {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    margin-top: 6px;
}
.sdt-settings-panel.is-open {
    display: flex;
}

.sdt-header-action {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--c-primary);
    background: none;
    color: var(--c-primary);
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    margin-left: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s;
    font-family: 'Inter', sans-serif;
    padding: 0;
}

.sdt-header-action:hover {
    background: var(--c-primary);
    color: white;
}

.sdt-header-action.remove {
    color: #ef4444;
    border-color: #ef4444;
    background: none;
}

.sdt-header-action.remove:hover {
    background: #ef4444;
    color: white;
    box-shadow: none;
    transform: none;
}

.sdt-row {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sdt-row-remove {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: #fee2e2;
    color: #ef4444;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    padding: 0;
}

.sdt-row-remove:hover {
    background: #ef4444;
    color: white;
}

.sdt-row:first-child .sdt-row-remove {
    visibility: hidden;
    pointer-events: none;
}

.sdt-row input {
    flex: 1;
    min-width: 0;
    padding: 7px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    height: 36px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
}

.sdt-row input:focus {
    background: white;
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .06), inset 0 1px 2px rgba(0,0,0,0.02);
}

.sdt-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    vertical-align: middle;
    margin-left: 6px;
    border: 1px solid #e2e8f0;
}

/* ── Color Presets (hidden — only color bar used) ── */
.sdt-color-presets {
    display: none;
}

.sdt-color {
    display: none;
}

/* ── Color Bar ── */
.sdt-color-bar-wrap {
    display: block;
    position: relative;
    cursor: pointer;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sdt-color-bar-wrap:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.26);
    transform: translateY(-1px);
}

.sdt-color-bar-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.sdt-color-bar-display {
    height: 42px;
    background: #1434a4;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    color: white;
    transition: background 0.3s ease, color 0.2s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.sdt-color-bar-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 7px;
    opacity: 0.92;
}

.sdt-color-bar-label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='13.5' cy='6.5' r='.5'/%3E%3Ccircle cx='17.5' cy='10.5' r='.5'/%3E%3Ccircle cx='8.5' cy='7.5' r='.5'/%3E%3Ccircle cx='6.5' cy='12.5' r='.5'/%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 011.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z'/%3E%3C/svg%3E") center/contain no-repeat;
    flex-shrink: 0;
}

.sdt-color-bar-hex {
    font-size: 12px;
    font-weight: 800;
    font-family: monospace;
    background: rgba(0, 0, 0, 0.25);
    padding: 3px 10px;
    border-radius: 99px;
    letter-spacing: 0.05em;
}

/* Buttons */
.sdt-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 14px;
    border: none;
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: var(--trans);
    outline: none;
    margin-bottom: 7px;
}

.sdt-btn:last-child {
    margin-bottom: 0;
}

.sdt-btn:active {
    transform: scale(.98);
}

.sdt-btn-preview {
    background: var(--c-primary);
    color: white;
    font-size: 13px;
    padding: 9px 14px;
    box-shadow: 0 2px 10px rgba(26, 86, 219, .28);
    border-radius: var(--r-md);
}

.sdt-btn-preview:hover {
    background: var(--c-primary2);
    box-shadow: 0 4px 16px rgba(26, 86, 219, .35);
}

.sdt-btn-secondary {
    background: var(--c-surface);
    color: var(--c-text);
    border: 1.5px solid var(--c-border);
}

.sdt-btn-secondary:hover {
    background: #f0f5fb;
    border-color: var(--c-border2);
}

.sdt-order-icon-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.sdt-btn-icon {
    width: 52px;
    height: 52px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    border: none;
    transition: var(--trans);
}

.sdt-btn-whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    box-shadow: 0 0 0 1.5px rgba(37, 211, 102, 0.35);
}

.sdt-btn-whatsapp:hover {
    background: #25d366;
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
    transform: translateY(-2px);
}

.sdt-btn-whatsapp svg { fill: currentColor; }

.sdt-btn-email {
    background: rgba(234, 88, 12, 0.15);
    color: #ea580c;
    box-shadow: 0 0 0 1.5px rgba(234, 88, 12, 0.35);
}

.sdt-btn-email:hover {
    background: #ea580c;
    color: white;
    box-shadow: 0 6px 20px rgba(234, 88, 12, .35);
    transform: translateY(-2px);
}

/* ── Color Palette ── */
.sdt-color-palette-wrap {
    padding: 10px 14px 12px;
}

.sdt-color-palette-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--c-muted);
    margin: 0 0 10px;
}

.sdt-color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.sdt-color-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2.5px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    outline: none;
    flex-shrink: 0;
}

.sdt-color-dot:hover {
    transform: scale(1.18);
    box-shadow: 0 3px 10px rgba(0,0,0,0.28);
}

.sdt-color-dot.is-active {
    border-color: white;
    box-shadow: 0 0 0 2.5px var(--c-primary), 0 3px 10px rgba(0,0,0,0.22);
    transform: scale(1.1);
}

.sdt-color-dot-custom {
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1.5px var(--c-border2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.sdt-color-dot-custom .sdt-color-bar-input {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.sdt-color-dot-custom:hover {
    background: #e2e8f0;
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* ════ CENTER PANEL ════ */
.sdt-center {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #eef2f8;
    border-left: 1px solid var(--c-border);
    border-right: 1px solid var(--c-border);
}

.sdt-center-scroll {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    gap: 16px;
}

.sdt-center-scroll::-webkit-scrollbar {
    width: 5px;
}
.sdt-center-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.sdt-center-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 99px;
}

.sdt-center-canvas-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ════ RIGHT PANEL ════ */
.sdt-right {
    width: 225px;
    background: var(--c-surface);
    border-left: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sdt-right-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0 0 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}

.sdt-right-scroll::-webkit-scrollbar {
    width: 5px;
}
.sdt-right-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.sdt-right-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 99px;
}

/* Right panel field styles */
.sdt-right-field {
    margin-bottom: 10px;
}

.sdt-right-field:last-child {
    margin-bottom: 0;
}

.sdt-right-label {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: #1e293b;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sdt-select-full {
    width: 100%;
}

.sdt-right-btn-row {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.sdt-right-btn-row .sdt-tool-btn {
    flex: 1;
    justify-content: center;
}

.sdt-right-btn-row .sdt-tool-btn#sdt-btn-reflect {
    flex: 2;
    width: auto;
    padding: 0 10px;
}

.sdt-range-val {
    font-size: 11px;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
    min-width: 26px;
    text-align: right;
    flex-shrink: 0;
}

/* Right panel slider styles */
.sdt-right-slider-box {
    margin-bottom: 7px;
}

.sdt-right-slider-box label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-weight: 400;
    color: #1e293b;
    margin-bottom: 4px;
}

.sdt-right-slider-box input[type="range"] {
    width: 100%;
    height: 5px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--c-primary) 0%, var(--c-primary) var(--pct, 0%), var(--c-border) var(--pct, 0%));
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.sdt-right-slider-box input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--c-primary);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 4px rgba(26,86,219,0.35);
}

/* Keep old toolbar styles for any remnants */
.sdt-toolbar-tweaks {
    gap: 15px;
}

.sdt-tool-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--c-text3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.sdt-toolbar-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 12px;
    border-right: 1px solid var(--c-border);
}

.sdt-field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.sdt-translate-bar {
    margin: 8px 0;
    display: flex;
    justify-content: center;
}

.sdt-btn-translate {
    width: 100%;
    background: transparent;
    color: var(--c-primary);
    border: 1.5px solid var(--c-primary);
    padding: 6px 14px;
    border-radius: var(--r-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--trans);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: none;
}

.sdt-btn-translate:hover {
    background: var(--c-prilight);
    box-shadow: none;
    transform: translateY(-1px);
}

.sdt-btn-translate:active {
    transform: translateY(0);
}

.sdt-btn-translate:disabled {
    color: #94a3b8;
    border-color: #cbd5e1;
    background: transparent;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.sdt-mini-btn {
    font-size: 10px;
    font-weight: 700;
    color: var(--c-primary);
    background: var(--c-prilight);
    border: none;
    border-radius: 4px;
    padding: 3px 8px;
    cursor: pointer;
    transition: var(--trans);
}

.sdt-mini-btn:hover {
    background: var(--c-primary);
    color: white;
}

.sdt-toolbar-tweaks {
    gap: 15px;
}

.sdt-tool-slider-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sdt-tool-slider-box label {
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--c-primary);
    text-transform: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.sdt-size-badge {
    color: #475569;
    background: #f1f5f9;
    padding: 1px 4px;
    border-radius: 4px;
    font-size: 10px;
    font-family: monospace;
    font-weight: 400;
}

.sdt-tool-slider-box input[type="range"] {
    width: 110px;
    height: 6px;
    cursor: pointer;
}

.sdt-toolbar-group:last-child {
    padding-right: 0;
    border-right: none;
}

.sdt-select {
    padding: 6px 12px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--c-border);
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
    outline: none;
    cursor: pointer;
    background: white;
}

.sdt-tool-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--c-border);
    background: white;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: var(--trans);
    font-family: inherit;
    font-size: 14px;
}

.sdt-tool-btn:hover {
    border-color: #334155;
    color: #334155;
}

.sdt-tool-btn.active {
    background: #334155;
    border-color: #334155;
    color: white;
}

.sdt-tool-btn#sdt-btn-reflect {
    width: auto;
    padding: 0 10px;
}

.sdt-canvas-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    padding: 20px;
    width: 100%;
    background:
        radial-gradient(circle, #c5cfd8 1px, transparent 1px);
    background-size: 22px 22px;
    background-color: #e8edf3;
    border-radius: var(--r-md);
    border: 1px solid #d5dde6;
}

.sdt-preview-info {
    text-align: center;
}

.sdt-preview-template-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 3px;
    letter-spacing: 0.03em;
}

.sdt-canvas-bg {
    background: #ffffff;
    border-radius: 6px;
    border: none;
    padding: 10px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.18),
        0 6px 20px rgba(0, 0, 0, 0.10),
        0 1px 4px rgba(0, 0, 0, 0.06);
    transition: var(--trans);
    max-width: 100%;
    display: inline-flex;
    position: relative;
}

#sdt-canvas {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 300px;
    user-select: none;
    -webkit-user-drag: none;
}

.sdt-canvas-protection-wrap {
    position: relative;
    display: inline-block;
    overflow: hidden;
    user-select: none;
}

.sdt-canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
    cursor: default;
}

.sdt-canvas-note {
    font-size: 10.5px;
    color: #94a3b8;
    letter-spacing: 0.02em;
    margin-top: 2px;
}

/* Screenshot protection attempt: invert/hide on print */
@media print {
    .sdt-canvas-area {
        display: none !important;
    }
}

/* Prevent selection in preview */
.sdt-canvas-area * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Gallery Section */
.sdt-gallery-section {
    flex: 1;
    width: 100%;
    background: var(--c-surface);
    border-radius: var(--r-md);
    border: 1px solid var(--c-border);
    overflow: hidden;
}

.sdt-right-top-bar {
    padding: 14px 18px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sdt-gallery-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text2);
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* Filter Bar */
.sdt-filter-row {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.sdt-filter {
    padding: 5px 14px;
    border: 1.5px solid var(--c-border);
    border-radius: 99px;
    background: var(--c-surface);
    color: var(--c-text2);
    font-size: 12px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: var(--trans);
    outline: none;
}

.sdt-filter:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

.sdt-filter.active {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: white;
}

.sdt-templates-wrapper {
    padding: 0 16px 20px;
}

.sdt-templates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
    transition: max-height 0.4s ease-in-out;
    overflow: hidden;
}

/* Collapsed state: only show first row */
.sdt-templates.is-collapsed {
    max-height: 236px;
    /* Height of one row approx */
}

/* Template card */
.sdt-tpl-card {
    background: var(--c-surface);
    border: 2px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 10px 8px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: var(--trans);
    position: relative;
}

.sdt-tpl-card:hover {
    border-color: var(--c-primary);
    transform: translateY(-2px);
    box-shadow: var(--c-shadow), 0 0 0 3px rgba(26, 86, 219, .1);
}

.sdt-tpl-card.selected {
    border-color: var(--c-primary);
    background: linear-gradient(145deg, #f0f7ff, #fff);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, .18);
}

.sdt-tpl-card.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: var(--c-primary);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sdt-tpl-thumb {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sdt-tpl-thumb canvas {
    max-width: 130px;
    max-height: 130px;
    display: block;
}

.sdt-tpl-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text);
    text-align: center;
    margin-bottom: 3px;
}

.sdt-tpl-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 99px;
    background: #f1f5f9;
    border: 1px solid var(--c-border);
    font-size: 11px;
    color: var(--c-text2);
    font-weight: 600;
}

/* View More Button */
.sdt-view-more-area {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.sdt-btn-view-more {
    background: var(--c-surface);
    color: var(--c-primary);
    border: 1.5px solid var(--c-primary);
    padding: 8px 24px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--trans);
}

.sdt-btn-view-more:hover {
    background: var(--c-prilight);
    transform: translateY(-1px);
}

.sdt-btn-view-more.is-active {
    background: var(--c-primary);
    color: white;
}

/* ── All Templates Button (left panel) ── */
.sdt-section-templates-btn {
    padding: 10px 14px;
}
.sdt-btn-all-templates {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    padding: 9px 14px;
    background: var(--c-prilight);
    color: var(--c-primary);
    border: 1.5px solid var(--c-primary);
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--trans);
}
.sdt-btn-all-templates:hover {
    background: var(--c-primary);
    color: white;
}
.sdt-btn-all-templates svg {
    flex-shrink: 0;
}

/* ── Order Notes (below canvas) ── */
.sdt-order-notes-wrap {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-self: stretch;
}
.sdt-order-notes-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--c-text2);
    letter-spacing: 0.03em;
}
.sdt-order-notes {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-md);
    font-size: 14px;
    color: var(--c-text);
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: border-color 0.15s;
    background: white;
    line-height: 1.5;
}
.sdt-order-notes:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, .1);
}
.sdt-order-notes::placeholder {
    color: var(--c-text3);
}

/* ── Templates Modal ── */
.sdt-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 27, 42, 0.55);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}
.sdt-modal-backdrop.is-open {
    display: flex;
}
.sdt-modal {
    background: white;
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(13, 27, 42, 0.28);
    width: min(900px, 94vw);
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: sdt-modal-in 0.18s ease-out;
}
@keyframes sdt-modal-in {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.sdt-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--c-border);
    flex-shrink: 0;
    flex-wrap: wrap;
}
.sdt-modal-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text);
    margin: 0;
    flex-shrink: 0;
}
.sdt-modal-header .sdt-filter-row {
    flex: 1;
}
.sdt-modal-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--c-border);
    background: white;
    color: var(--c-text2);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--trans);
}
.sdt-modal-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}
.sdt-modal-body {
    overflow-y: auto;
    padding: 20px;
    flex: 1;
}
.sdt-modal-body .sdt-templates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    max-height: none;
    overflow: visible;
}

/* Toast */
.sdt-toast {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: #0d1b2a;
    color: white;
    padding: 10px 22px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    z-index: 100;
    box-shadow: var(--c-shadow);
}

.sdt-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.sdt-toast.ok {
    background: #059669;
}

.sdt-toast.err {
    background: #dc2626;
}

/* ── Responsive ── */
@media (max-width: 1000px) {
    .sdt-main {
        display: flex;
        flex-direction: column;
        grid-template-columns: unset;
    }

    .sdt-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--c-border);
        max-height: 45vh;
    }

    .sdt-center {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--c-border);
        border-bottom: 1px solid var(--c-border);
    }

    .sdt-right {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--c-border);
    }

    .sdt-right-btn-row .sdt-tool-btn#sdt-btn-reflect {
        flex: 1;
    }

    .sdt-templates {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        padding: 12px;
    }

    .sdt-right-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .sdt-canvas-area {
        padding: 14px;
    }

    #sdt-canvas {
        max-height: 320px;
    }
}

@media (max-width: 640px) {
    .sdt-header {
        padding: 0 16px;
        height: 56px;
    }

    .sdt-logo-sub {
        display: none;
    }

    #sdt-canvas {
        max-height: 260px;
    }
}

@media (max-width: 520px) {
    .sdt-root {
        border-radius: var(--r-lg);
    }

    .sdt-field-row {
        flex-direction: column;
    }

    .sdt-filter-row {
        flex-wrap: wrap;
    }
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE STYLES — Vibrant Professional Design
═══════════════════════════════════════════════════════════ */
.lp-wrap {
    font-family: 'Inter', -apple-system, sans-serif;
    color: #1e293b;
    background: #f8fafc;
}

.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-container--narrow {
    max-width: 820px;
}

/* ── Shared section ── */
.lp-section {
    padding: 80px 0;
}

/* Badge pill */
.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    color: #4F46E5;
    border: 1px solid #C7D2FE;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 6px 16px;
    border-radius: 99px;
    margin-bottom: 18px;
}

.lp-badge--white {
    background: rgba(255,255,255,.15);
    color: #fff;
    border-color: rgba(255,255,255,.3);
}

.lp-heading {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.lp-heading--white { color: #fff; }

.lp-subheading {
    font-size: 16px;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 44px;
    max-width: 640px;
}

.lp-subheading--white { color: rgba(255,255,255,.85); }

/* ── HOW TO USE ── */
.lp-how {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.lp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 22px;
}

.lp-step {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-top: 4px solid var(--step-color, #4F46E5);
    border-radius: 16px;
    padding: 32px 22px 26px;
    position: relative;
    transition: box-shadow .25s, transform .25s;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.lp-step:nth-child(1) { --step-color: #4F46E5; }
.lp-step:nth-child(2) { --step-color: #7C3AED; }
.lp-step:nth-child(3) { --step-color: #0EA5E9; }
.lp-step:nth-child(4) { --step-color: #F97316; }
.lp-step:nth-child(5) { --step-color: #059669; }

.lp-step:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,.13);
    transform: translateY(-5px);
}

.lp-step-num {
    position: absolute;
    top: -18px;
    left: 22px;
    width: 34px;
    height: 34px;
    background: var(--step-color, #4F46E5);
    color: white;
    font-size: 13px;
    font-weight: 900;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.22);
    border: 2px solid white;
}

.lp-step-icon {
    font-size: 32px;
    margin-bottom: 14px;
    margin-top: 8px;
}

.lp-step h3 {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.lp-step p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.7;
}

.lp-step p strong { color: #334155; }

/* ── VIDEO ── */
.lp-video-section {
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 30%, #1E40AF 70%, #0369A1 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lp-video-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -15%;
    width: 50%;
    height: 180%;
    background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
    pointer-events: none;
}

.lp-video-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -10%;
    width: 45%;
    height: 160%;
    background: radial-gradient(circle, rgba(99,102,241,.15) 0%, transparent 70%);
    pointer-events: none;
}

.lp-video-frame {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 24px;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.5);
    background: #0a1e5e;
    border: 2px solid rgba(255,255,255,.2);
    position: relative;
    z-index: 1;
}

.lp-video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 32px;
    background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
}

.lp-video-play {
    width: 84px;
    height: 84px;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    border: 3px solid rgba(255,255,255,.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 40px rgba(79,70,229,.6);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}

.lp-video-play:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 50px rgba(79,70,229,.7);
}

.lp-video-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: rgba(255,255,255,.92);
    text-align: center;
}

.lp-video-label strong { font-size: 17px; font-weight: 700; }
.lp-video-label span { font-size: 13px; color: rgba(255,255,255,.55); }

.lp-video-note {
    font-size: 14px;
    color: rgba(255,255,255,.72);
    position: relative;
    z-index: 1;
}

.lp-video-note a {
    color: #93c5fd;
    font-weight: 700;
    text-decoration: none;
}

.lp-video-note a:hover { text-decoration: underline; }

/* ── CONTENT / ABOUT ── */
.lp-content {
    background: #f1f5f9;
}

.lp-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.lp-content-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 18px;
}

.lp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 36px;
}

.lp-stat {
    border-radius: 14px;
    padding: 18px 10px;
    text-align: center;
}

.lp-stat:nth-child(1) {
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    border: 1.5px solid #C7D2FE;
}
.lp-stat:nth-child(2) {
    background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
    border: 1.5px solid #BBF7D0;
}
.lp-stat:nth-child(3) {
    background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
    border: 1.5px solid #FED7AA;
}
.lp-stat:nth-child(4) {
    background: linear-gradient(135deg, #FDF4FF, #FAE8FF);
    border: 1.5px solid #E9D5FF;
}

.lp-stat span {
    display: block;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 5px;
}

.lp-stat:nth-child(1) span { color: #4F46E5; }
.lp-stat:nth-child(2) span { color: #059669; }
.lp-stat:nth-child(3) span { color: #EA580C; }
.lp-stat:nth-child(4) span { color: #9333EA; }

.lp-stat small {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #64748b;
}

.lp-content-features {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,.07);
    position: sticky;
    top: 20px;
}

.lp-content-features h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.lp-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #334155;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background .15s;
}

.lp-feature-list li:hover {
    background: #f8fafc;
}

.lp-check {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: linear-gradient(135deg, #059669, #10B981);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 2px 6px rgba(5,150,105,.25);
}

/* ── STAMP TYPES ── */
.lp-types {
    background: white;
    border-top: 1px solid #e2e8f0;
}

.lp-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.lp-type-card {
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 24px 28px;
    background: #fafbfd;
    transition: all .25s;
    position: relative;
    overflow: hidden;
}

.lp-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
}

.lp-type-card:nth-child(1)::before { background: linear-gradient(90deg, #4F46E5, #7C3AED); }
.lp-type-card:nth-child(2)::before { background: linear-gradient(90deg, #0EA5E9, #0284C7); }
.lp-type-card:nth-child(3)::before { background: linear-gradient(90deg, #059669, #047857); }
.lp-type-card:nth-child(4)::before { background: linear-gradient(90deg, #F97316, #EA580C); }

.lp-type-card:hover {
    border-color: transparent;
    box-shadow: 0 20px 56px rgba(0,0,0,.13);
    transform: translateY(-6px);
    background: white;
}

.lp-type-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}

.lp-type-card:nth-child(1) .lp-type-icon { background: linear-gradient(135deg, #EEF2FF, #E0E7FF); }
.lp-type-card:nth-child(2) .lp-type-icon { background: linear-gradient(135deg, #E0F2FE, #BAE6FD); }
.lp-type-card:nth-child(3) .lp-type-icon { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); }
.lp-type-card:nth-child(4) .lp-type-icon { background: linear-gradient(135deg, #FFF7ED, #FFEDD5); }

.lp-type-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.lp-type-card p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 16px;
}

.lp-type-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.lp-type-card ul li {
    font-size: 13px;
    color: #475569;
    padding-left: 18px;
    position: relative;
}

.lp-type-card ul li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.lp-type-card:nth-child(1) ul li::before { color: #4F46E5; }
.lp-type-card:nth-child(2) ul li::before { color: #0EA5E9; }
.lp-type-card:nth-child(3) ul li::before { color: #059669; }
.lp-type-card:nth-child(4) ul li::before { color: #F97316; }

/* ── FAQ ── */
.lp-faq {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.lp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-faq-item {
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.lp-faq-item[open] {
    border-color: #4F46E5;
    box-shadow: 0 6px 24px rgba(79,70,229,.12);
}

.lp-faq-item summary {
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    gap: 16px;
}

.lp-faq-item summary::-webkit-details-marker { display: none; }

.lp-faq-item summary::after {
    content: '+';
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #EEF2FF;
    color: #4F46E5;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s, background .2s, color .2s;
    line-height: 1;
}

.lp-faq-item[open] summary::after {
    transform: rotate(45deg);
    background: #4F46E5;
    color: white;
}

.lp-faq-item p {
    padding: 16px 24px 20px;
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.75;
    border-top: 1px solid #f1f5f9;
}

/* ── REVIEWS ── */
.lp-reviews {
    background: linear-gradient(135deg, #fafbff 0%, #f5f3ff 100%);
    border-top: 1px solid #e2e8f0;
}

.lp-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.lp-review-card {
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px 26px;
    transition: box-shadow .25s, transform .25s;
    box-shadow: 0 3px 14px rgba(0,0,0,.05);
    position: relative;
}

.lp-review-card::before {
    content: '\201C';
    position: absolute;
    top: 14px;
    right: 22px;
    font-size: 72px;
    line-height: 1;
    color: #EEF2FF;
    font-family: Georgia, serif;
    font-weight: 900;
    pointer-events: none;
}

.lp-review-card:hover {
    box-shadow: 0 20px 56px rgba(79,70,229,.13);
    transform: translateY(-5px);
    border-color: #C7D2FE;
}

.lp-review-stars {
    color: #F59E0B;
    font-size: 17px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.lp-review-card p {
    font-size: 14.5px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 22px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.lp-reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-reviewer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    letter-spacing: 0.03em;
}

.lp-review-card:nth-child(1) .lp-reviewer-avatar {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    box-shadow: 0 4px 12px rgba(79,70,229,.3);
}
.lp-review-card:nth-child(2) .lp-reviewer-avatar {
    background: linear-gradient(135deg, #059669, #10B981);
    box-shadow: 0 4px 12px rgba(5,150,105,.3);
}
.lp-review-card:nth-child(3) .lp-reviewer-avatar {
    background: linear-gradient(135deg, #F97316, #EF4444);
    box-shadow: 0 4px 12px rgba(249,115,22,.3);
}

.lp-reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lp-reviewer strong {
    font-size: 14px;
    color: #0f172a;
    font-weight: 700;
}

.lp-reviewer small {
    font-size: 12px;
    color: #94a3b8;
}

/* ── CTA ── */
.lp-cta {
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 30%, #4F46E5 70%, #2563EB 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lp-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 55%;
    height: 220%;
    background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 65%);
    pointer-events: none;
}

.lp-cta::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -8%;
    width: 45%;
    height: 200%;
    background: radial-gradient(circle, rgba(124,58,237,.18) 0%, transparent 65%);
    pointer-events: none;
}

.lp-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.lp-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 14px;
}

.lp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 38px;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s;
    cursor: pointer;
    border: none;
    letter-spacing: 0.02em;
}

.lp-cta-btn--primary {
    background: white;
    color: #4F46E5;
    box-shadow: 0 10px 36px rgba(0,0,0,.28);
}

.lp-cta-btn--primary:hover {
    background: #f0f4ff;
    box-shadow: 0 18px 52px rgba(0,0,0,.35);
    transform: translateY(-3px);
}

.lp-cta-btn--whatsapp {
    background: linear-gradient(135deg, #25D366, #1AAA52);
    color: white;
    box-shadow: 0 8px 28px rgba(37,211,102,.4);
}

.lp-cta-btn--whatsapp:hover {
    background: linear-gradient(135deg, #22C55E, #15803D);
    box-shadow: 0 16px 44px rgba(37,211,102,.5);
    transform: translateY(-3px);
}

/* ── Landing page responsive ── */
@media (max-width: 860px) {
    .lp-two-col { grid-template-columns: 1fr; gap: 32px; }
    .lp-stats { grid-template-columns: repeat(2, 1fr); }
    .lp-heading { font-size: 28px; }
    .lp-section { padding: 56px 0; }
    .lp-content-features { position: static; }
}

@media (max-width: 600px) {
    .lp-steps { grid-template-columns: 1fr; }
    .lp-type-grid { grid-template-columns: 1fr; }
    .lp-review-grid { grid-template-columns: 1fr; }
    .lp-heading { font-size: 24px; }
    .lp-cta-buttons { flex-direction: column; align-items: stretch; }
    .lp-cta-btn { justify-content: center; }
}

/* ── Remove Toggle (inline in slider label) ── */
.sdt-remove-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    margin-left: 8px;
    vertical-align: middle;
}
.sdt-remove-toggle input[type="checkbox"] {
    width: 12px;
    height: 12px;
    margin: 0;
    cursor: pointer;
    accent-color: #ef4444;
}

/* ── Symbol Palette ── */
.sdt-sym-palette {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.sdt-sym-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-sm);
    background: white;
    color: var(--c-text);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    line-height: 1;
}
.sdt-sym-btn:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}
.sdt-sym-btn.is-active {
    border-color: var(--c-primary);
    background: var(--c-primary);
    color: white;
}

/* ── Symbol section heading row (heading + gear btn side by side) ── */
.sdt-sym-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sdt-sym-heading-row .sdt-section-heading {
    margin-bottom: 0;
    flex: 1;
}

/* ── Symbol Placements ── */
.sdt-sym-place-row {
    /* Inherits .sdt-fs-adjuster layout; just need overrides */
    margin-top: 5px;
}
/* Glyph icon — narrow, don't inherit the 52px label width */
.sdt-sym-place-row .sdt-sym-place-glyph {
    min-width: 18px !important;
    font-size: 13px;
    text-align: center;
    flex-shrink: 0;
    color: var(--c-primary);
}
/* Angle value label */
.sdt-sym-place-row .sdt-angle-val {
    font-size: 10px;
    color: #94a3b8;
    min-width: 34px;
    text-align: right;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.sdt-sym-del {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #fecaca;
    background: none;
    color: #ef4444;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.15s;
}
.sdt-sym-del:hover { background: #fef2f2; }
.sdt-sym-add-btn {
    margin-top: 8px;
    width: 100%;
    padding: 5px 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--c-primary);
    background: none;
    border: 1.5px dashed var(--c-primary);
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: background 0.15s;
}
.sdt-sym-add-btn:hover { background: var(--c-prilight); }

/* ── Center Type Select ── */
.sdt-center-type-select {
    width: 100%;
    padding: 6px 10px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--c-text);
    background: white;
    outline: none;
    cursor: pointer;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

/* ── Logo Upload ── */
.sdt-logo-upload-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1.5px dashed var(--c-border);
    border-radius: var(--r-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--c-primary);
    cursor: pointer;
    transition: var(--trans);
    background: var(--c-prilight);
}
.sdt-logo-upload-label:hover {
    border-color: var(--c-primary);
    background: #dbeafe;
}

/* ── Order Preview Modal ── */
.sdt-order-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.sdt-order-backdrop[hidden] { display: none; }
.sdt-order-box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 24px 24px 20px;
    max-width: 360px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
    animation: sdt-order-pop 0.18s ease;
}
@keyframes sdt-order-pop {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}
.sdt-order-close {
    position: absolute;
    top: 12px; right: 14px;
    background: none; border: none;
    font-size: 16px; color: #888;
    cursor: pointer; padding: 4px 6px;
    border-radius: 6px;
    line-height: 1;
}
.sdt-order-close:hover { background: #f0f0f0; color: #333; }
.sdt-order-box-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text);
    margin: 0 0 14px;
}
.sdt-order-preview-img {
    display: block;
    width: 220px; height: 220px;
    object-fit: contain;
    margin: 0 auto 16px;
    border-radius: 8px;
    border: 1.5px solid var(--c-border);
    background: #f8f9fb;
}
.sdt-order-copy-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: var(--c-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    transition: var(--trans);
}
.sdt-order-copy-btn:hover { opacity: 0.88; }
.sdt-order-copy-hint {
    font-size: 12px;
    color: #666;
    margin: 0 0 12px;
    line-height: 1.5;
}
.sdt-order-open-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    transition: var(--trans);
}
.sdt-order-open-btn:hover { opacity: 0.88; }
.sdt-order-open-wa    { background: #25d366; }
.sdt-order-open-email { background: #6d28d9; }
