.shipcode-container {
    max-width: 440px;
    margin: 32px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    text-align: center;
    position: relative;
}

.shipcode-header {
    padding: 36px 28px 28px;
    position: relative;
}

.shipcode-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.shipcode-gift-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
    animation: shipcode-bounce 2s ease-in-out infinite;
}

@keyframes shipcode-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.shipcode-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}

.shipcode-subtitle {
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.shipcode-body {
    padding: 28px 28px 24px;
}

.shipcode-message {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 16px;
}

.shipcode-field {
    margin-bottom: 20px;
    text-align: left;
}

.shipcode-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.shipcode-phone-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    border: 2px solid;
    border-radius: 12px;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.shipcode-phone-input::placeholder {
    font-size: 14px;
}

.shipcode-claim-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.shipcode-claim-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.shipcode-claim-btn:hover:not(:disabled)::before {
    left: 100%;
}

.shipcode-claim-btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

.shipcode-claim-btn:active:not(:disabled) {
    transform: translateY(0);
}

.shipcode-claim-btn:disabled {
    cursor: not-allowed;
}

.shipcode-btn-arrow {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.shipcode-claim-btn:hover:not(:disabled) .shipcode-btn-arrow {
    transform: translateX(4px);
}

.shipcode-note {
    font-size: 12px;
    margin: 16px 0 0;
}

.shipcode-code-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border: 2px dashed;
    border-radius: 12px;
    margin-top: 4px;
}

.shipcode-code {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    word-break: break-all;
}

.shipcode-copy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    border: 1.5px solid;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shipcode-copy-btn.shipcode-copied {
    border-color: #10b981 !important;
    color: #ffffff !important;
}

.shipcode-error {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid;
    margin: 0 28px 24px;
}

.shipcode-claimed .shipcode-body {
    padding: 28px;
}

@media (max-width: 480px) {
    .shipcode-container {
        margin: 20px 12px;
        border-radius: 16px;
    }

    .shipcode-header {
        padding: 28px 20px 24px;
    }

    .shipcode-gift-icon {
        font-size: 40px;
    }

    .shipcode-title {
        font-size: 20px;
    }

    .shipcode-body {
        padding: 24px 20px 20px;
    }

    .shipcode-code-display {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        text-align: center;
        padding: 14px 16px;
    }

    .shipcode-code {
        font-size: 18px;
    }

    .shipcode-copy-btn {
        width: 100%;
        justify-content: center;
    }

    .shipcode-error {
        margin: 0 20px 20px;
    }

    .shipcode-claimed .shipcode-body {
        padding: 24px 20px;
    }
}

/* =====================================================
   STYLES 1-8 — Theme variables
   ===================================================== */
.shipcode-style-1 {
    --hd-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --hd-accent: linear-gradient(90deg, #f59e0b, #eab308, #f59e0b);
    --title-clr: #ffffff;
    --sub-clr: rgba(255,255,255,0.7);
    --body-bg: #ffffff;
    --label-clr: #374151;
    --ipt-clr: #111827;
    --ipt-bg: #f9fafb;
    --ipt-border: #e5e7eb;
    --ipt-focus-border: #f59e0b;
    --ipt-focus-shadow: 0 0 0 4px rgba(245,158,11,0.12);
    --ipt-focus-bg: #ffffff;
    --ph-clr: #9ca3af;
    --btn-clr: #1a1a2e;
    --btn-bg: linear-gradient(135deg, #fbbf24, #f59e0b);
    --btn-shadow: 0 4px 16px rgba(245,158,11,0.35);
    --btn-hover-shadow: 0 6px 24px rgba(245,158,11,0.45);
    --btn-dis-bg: linear-gradient(135deg, #d1d5db, #9ca3af);
    --btn-dis-clr: #6b7280;
    --note-clr: #9ca3af;
    --code-bg: linear-gradient(135deg, #fffbeb, #fef3c7);
    --code-border: #f59e0b;
    --code-clr: #1a1a2e;
    --copy-clr: #1a1a2e;
    --copy-bg: #ffffff;
    --copy-border: #f59e0b;
    --copy-hover-bg: #f59e0b;
    --copy-hover-clr: #1a1a2e;
    --copy-copied-bg: #10b981;
    --err-clr: #dc2626;
    --err-bg: #fef2f2;
    --err-border: #fecaca;
    --claim-hd-bg: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    --claim-hd-accent: linear-gradient(90deg, #10b981, #34d399, #10b981);
    --claim-body-bg: #f0fdf4;
}
.shipcode-style-2 {
    --hd-bg: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #115e59 100%);
    --hd-accent: linear-gradient(90deg, #5eead4, #2dd4bf, #5eead4);
    --title-clr: #ffffff;
    --sub-clr: rgba(255,255,255,0.75);
    --body-bg: #ffffff;
    --label-clr: #374151;
    --ipt-clr: #111827;
    --ipt-bg: #f9fafb;
    --ipt-border: #e5e7eb;
    --ipt-focus-border: #0d9488;
    --ipt-focus-shadow: 0 0 0 4px rgba(13,148,136,0.12);
    --ipt-focus-bg: #ffffff;
    --ph-clr: #9ca3af;
    --btn-clr: #ffffff;
    --btn-bg: linear-gradient(135deg, #0d9488, #0f766e);
    --btn-shadow: 0 4px 16px rgba(13,148,136,0.35);
    --btn-hover-shadow: 0 6px 24px rgba(13,148,136,0.45);
    --btn-dis-bg: linear-gradient(135deg, #d1d5db, #9ca3af);
    --btn-dis-clr: #6b7280;
    --note-clr: #9ca3af;
    --code-bg: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    --code-border: #0d9488;
    --code-clr: #115e59;
    --copy-clr: #0d9488;
    --copy-bg: #ffffff;
    --copy-border: #0d9488;
    --copy-hover-bg: #0d9488;
    --copy-hover-clr: #ffffff;
    --copy-copied-bg: #10b981;
    --err-clr: #dc2626;
    --err-bg: #fef2f2;
    --err-border: #fecaca;
    --claim-hd-bg: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    --claim-hd-accent: linear-gradient(90deg, #34d399, #10b981, #34d399);
    --claim-body-bg: #f0fdf4;
}
.shipcode-style-3 {
    --hd-bg: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #7c3aed 100%);
    --hd-accent: linear-gradient(90deg, #f472b6, #ec4899, #f472b6);
    --title-clr: #ffffff;
    --sub-clr: rgba(255,255,255,0.7);
    --body-bg: #ffffff;
    --label-clr: #374151;
    --ipt-clr: #111827;
    --ipt-bg: #faf5ff;
    --ipt-border: #e5e7eb;
    --ipt-focus-border: #7c3aed;
    --ipt-focus-shadow: 0 0 0 4px rgba(124,58,237,0.12);
    --ipt-focus-bg: #ffffff;
    --ph-clr: #9ca3af;
    --btn-clr: #ffffff;
    --btn-bg: linear-gradient(135deg, #7c3aed, #6d28d9);
    --btn-shadow: 0 4px 16px rgba(124,58,237,0.35);
    --btn-hover-shadow: 0 6px 24px rgba(124,58,237,0.45);
    --btn-dis-bg: linear-gradient(135deg, #d1d5db, #9ca3af);
    --btn-dis-clr: #6b7280;
    --note-clr: #9ca3af;
    --code-bg: linear-gradient(135deg, #f5f3ff, #ede9fe);
    --code-border: #7c3aed;
    --code-clr: #4c1d95;
    --copy-clr: #7c3aed;
    --copy-bg: #ffffff;
    --copy-border: #7c3aed;
    --copy-hover-bg: #7c3aed;
    --copy-hover-clr: #ffffff;
    --copy-copied-bg: #10b981;
    --err-clr: #dc2626;
    --err-bg: #fef2f2;
    --err-border: #fecaca;
    --claim-hd-bg: linear-gradient(135deg, #6b21a8 0%, #7c3aed 50%, #8b5cf6 100%);
    --claim-hd-accent: linear-gradient(90deg, #c084fc, #a78bfa, #c084fc);
    --claim-body-bg: #f5f3ff;
}
.shipcode-style-4 {
    --hd-bg: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #3730a3 100%);
    --hd-accent: linear-gradient(90deg, #34d399, #10b981, #34d399);
    --title-clr: #ffffff;
    --sub-clr: rgba(255,255,255,0.7);
    --body-bg: #ffffff;
    --label-clr: #374151;
    --ipt-clr: #111827;
    --ipt-bg: #f9fafb;
    --ipt-border: #e5e7eb;
    --ipt-focus-border: #10b981;
    --ipt-focus-shadow: 0 0 0 4px rgba(16,185,129,0.12);
    --ipt-focus-bg: #ffffff;
    --ph-clr: #9ca3af;
    --btn-clr: #ffffff;
    --btn-bg: linear-gradient(135deg, #10b981, #059669);
    --btn-shadow: 0 4px 16px rgba(16,185,129,0.35);
    --btn-hover-shadow: 0 6px 24px rgba(16,185,129,0.45);
    --btn-dis-bg: linear-gradient(135deg, #d1d5db, #9ca3af);
    --btn-dis-clr: #6b7280;
    --note-clr: #9ca3af;
    --code-bg: linear-gradient(135deg, #ecfdf5, #d1fae5);
    --code-border: #10b981;
    --code-clr: #1e1b4b;
    --copy-clr: #059669;
    --copy-bg: #ffffff;
    --copy-border: #059669;
    --copy-hover-bg: #059669;
    --copy-hover-clr: #ffffff;
    --copy-copied-bg: #10b981;
    --err-clr: #dc2626;
    --err-bg: #fef2f2;
    --err-border: #fecaca;
    --claim-hd-bg: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #3730a3 100%);
    --claim-hd-accent: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
    --claim-body-bg: #fffbeb;
}
.shipcode-style-5 {
    --hd-bg: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%);
    --hd-accent: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
    --title-clr: #ffffff;
    --sub-clr: rgba(255,255,255,0.7);
    --body-bg: #ffffff;
    --label-clr: #374151;
    --ipt-clr: #111827;
    --ipt-bg: #fef2f2;
    --ipt-border: #e5e7eb;
    --ipt-focus-border: #dc2626;
    --ipt-focus-shadow: 0 0 0 4px rgba(220,38,38,0.12);
    --ipt-focus-bg: #ffffff;
    --ph-clr: #9ca3af;
    --btn-clr: #ffffff;
    --btn-bg: linear-gradient(135deg, #dc2626, #b91c1c);
    --btn-shadow: 0 4px 16px rgba(220,38,38,0.35);
    --btn-hover-shadow: 0 6px 24px rgba(220,38,38,0.45);
    --btn-dis-bg: linear-gradient(135deg, #d1d5db, #9ca3af);
    --btn-dis-clr: #6b7280;
    --note-clr: #9ca3af;
    --code-bg: linear-gradient(135deg, #fef2f2, #fee2e2);
    --code-border: #dc2626;
    --code-clr: #7f1d1d;
    --copy-clr: #dc2626;
    --copy-bg: #ffffff;
    --copy-border: #dc2626;
    --copy-hover-bg: #dc2626;
    --copy-hover-clr: #ffffff;
    --copy-copied-bg: #10b981;
    --err-clr: #dc2626;
    --err-bg: #fef2f2;
    --err-border: #fecaca;
    --claim-hd-bg: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%);
    --claim-hd-accent: linear-gradient(90deg, #fca5a5, #f87171, #fca5a5);
    --claim-body-bg: #fef2f2;
}
.shipcode-style-6 {
    --hd-bg: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    --hd-accent: linear-gradient(90deg, #a7f3d0, #6ee7b7, #a7f3d0);
    --title-clr: #ffffff;
    --sub-clr: rgba(255,255,255,0.75);
    --body-bg: #f0fdf4;
    --label-clr: #374151;
    --ipt-clr: #111827;
    --ipt-bg: #ffffff;
    --ipt-border: #bbf7d0;
    --ipt-focus-border: #22c55e;
    --ipt-focus-shadow: 0 0 0 4px rgba(34,197,94,0.12);
    --ipt-focus-bg: #ffffff;
    --ph-clr: #9ca3af;
    --btn-clr: #ffffff;
    --btn-bg: linear-gradient(135deg, #22c55e, #16a34a);
    --btn-shadow: 0 4px 16px rgba(34,197,94,0.35);
    --btn-hover-shadow: 0 6px 24px rgba(34,197,94,0.45);
    --btn-dis-bg: linear-gradient(135deg, #d1d5db, #9ca3af);
    --btn-dis-clr: #6b7280;
    --note-clr: #6b7280;
    --code-bg: linear-gradient(135deg, #ecfdf5, #d1fae5);
    --code-border: #22c55e;
    --code-clr: #064e3b;
    --copy-clr: #16a34a;
    --copy-bg: #ffffff;
    --copy-border: #16a34a;
    --copy-hover-bg: #16a34a;
    --copy-hover-clr: #ffffff;
    --copy-copied-bg: #16a34a;
    --err-clr: #dc2626;
    --err-bg: #fef2f2;
    --err-border: #fecaca;
    --claim-hd-bg: linear-gradient(135deg, #14532d 0%, #166534 50%, #15803d 100%);
    --claim-hd-accent: linear-gradient(90deg, #86efac, #4ade80, #86efac);
    --claim-body-bg: #f0fdf4;
}
.shipcode-style-7 {
    --hd-bg: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
    --hd-accent: linear-gradient(90deg, #06b6d4, #3b82f6, #8b5cf6, #06b6d4);
    --title-clr: #ffffff;
    --sub-clr: rgba(255,255,255,0.65);
    --body-bg: #0f172a;
    --label-clr: #cbd5e1;
    --ipt-clr: #f1f5f9;
    --ipt-bg: #1e293b;
    --ipt-border: #334155;
    --ipt-focus-border: #06b6d4;
    --ipt-focus-shadow: 0 0 0 4px rgba(6,182,212,0.15);
    --ipt-focus-bg: #1e293b;
    --ph-clr: #64748b;
    --btn-clr: #020617;
    --btn-bg: linear-gradient(135deg, #06b6d4, #3b82f6);
    --btn-shadow: 0 4px 16px rgba(6,182,212,0.4);
    --btn-hover-shadow: 0 6px 24px rgba(6,182,212,0.55);
    --btn-dis-bg: linear-gradient(135deg, #475569, #334155);
    --btn-dis-clr: #94a3b8;
    --note-clr: #64748b;
    --code-bg: linear-gradient(135deg, #0f172a, #1e293b);
    --code-border: #06b6d4;
    --code-clr: #06b6d4;
    --copy-clr: #06b6d4;
    --copy-bg: #1e293b;
    --copy-border: #06b6d4;
    --copy-hover-bg: #06b6d4;
    --copy-hover-clr: #020617;
    --copy-copied-bg: #10b981;
    --err-clr: #f87171;
    --err-bg: #451a1a;
    --err-border: #7f1d1d;
    --claim-hd-bg: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
    --claim-hd-accent: linear-gradient(90deg, #a78bfa, #8b5cf6, #a78bfa);
    --claim-body-bg: #0f172a;
}
.shipcode-style-8 {
    --hd-bg: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe8 100%);
    --hd-accent: linear-gradient(90deg, #f472b6, #ec4899, #f472b6);
    --title-clr: #9d174d;
    --sub-clr: #831843;
    --body-bg: #ffffff;
    --label-clr: #831843;
    --ipt-clr: #111827;
    --ipt-bg: #fdf2f8;
    --ipt-border: #fbcfe8;
    --ipt-focus-border: #ec4899;
    --ipt-focus-shadow: 0 0 0 4px rgba(236,72,153,0.1);
    --ipt-focus-bg: #ffffff;
    --ph-clr: #9ca3af;
    --btn-clr: #ffffff;
    --btn-bg: linear-gradient(135deg, #ec4899, #db2777);
    --btn-shadow: 0 4px 16px rgba(236,72,153,0.3);
    --btn-hover-shadow: 0 6px 24px rgba(236,72,153,0.4);
    --btn-dis-bg: linear-gradient(135deg, #d1d5db, #9ca3af);
    --btn-dis-clr: #6b7280;
    --note-clr: #9ca3af;
    --code-bg: linear-gradient(135deg, #fdf2f8, #fce7f3);
    --code-border: #ec4899;
    --code-clr: #9d174d;
    --copy-clr: #db2777;
    --copy-bg: #ffffff;
    --copy-border: #db2777;
    --copy-hover-bg: #db2777;
    --copy-hover-clr: #ffffff;
    --copy-copied-bg: #10b981;
    --err-clr: #dc2626;
    --err-bg: #fef2f2;
    --err-border: #fecaca;
    --claim-hd-bg: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe8 100%);
    --claim-hd-accent: linear-gradient(90deg, #fbcfe8, #f9a8d4, #fbcfe8);
    --claim-body-bg: #fdf2f8;
}

/* =====================================================
   STYLES 1-8 — Shared rules via custom properties
   ===================================================== */
.shipcode-style-1.shipcode-container,
.shipcode-style-2.shipcode-container,
.shipcode-style-3.shipcode-container,
.shipcode-style-4.shipcode-container,
.shipcode-style-5.shipcode-container,
.shipcode-style-6.shipcode-container,
.shipcode-style-7.shipcode-container,
.shipcode-style-8.shipcode-container {
    background: var(--body-bg);
}
.shipcode-style-1 .shipcode-header,
.shipcode-style-2 .shipcode-header,
.shipcode-style-3 .shipcode-header,
.shipcode-style-4 .shipcode-header,
.shipcode-style-5 .shipcode-header,
.shipcode-style-6 .shipcode-header,
.shipcode-style-7 .shipcode-header,
.shipcode-style-8 .shipcode-header {
    background: var(--hd-bg);
}
.shipcode-style-1 .shipcode-header::after,
.shipcode-style-2 .shipcode-header::after,
.shipcode-style-3 .shipcode-header::after,
.shipcode-style-4 .shipcode-header::after,
.shipcode-style-5 .shipcode-header::after,
.shipcode-style-6 .shipcode-header::after,
.shipcode-style-7 .shipcode-header::after,
.shipcode-style-8 .shipcode-header::after {
    background: var(--hd-accent);
}
.shipcode-style-1 .shipcode-title,
.shipcode-style-2 .shipcode-title,
.shipcode-style-3 .shipcode-title,
.shipcode-style-4 .shipcode-title,
.shipcode-style-5 .shipcode-title,
.shipcode-style-6 .shipcode-title,
.shipcode-style-7 .shipcode-title,
.shipcode-style-8 .shipcode-title {
    color: var(--title-clr);
}
.shipcode-style-1 .shipcode-subtitle,
.shipcode-style-2 .shipcode-subtitle,
.shipcode-style-3 .shipcode-subtitle,
.shipcode-style-4 .shipcode-subtitle,
.shipcode-style-5 .shipcode-subtitle,
.shipcode-style-6 .shipcode-subtitle,
.shipcode-style-7 .shipcode-subtitle,
.shipcode-style-8 .shipcode-subtitle {
    color: var(--sub-clr);
}
.shipcode-style-1 .shipcode-body,
.shipcode-style-2 .shipcode-body,
.shipcode-style-3 .shipcode-body,
.shipcode-style-4 .shipcode-body,
.shipcode-style-5 .shipcode-body,
.shipcode-style-6 .shipcode-body,
.shipcode-style-7 .shipcode-body,
.shipcode-style-8 .shipcode-body {
    background: var(--body-bg);
}
.shipcode-style-1 .shipcode-label,
.shipcode-style-2 .shipcode-label,
.shipcode-style-3 .shipcode-label,
.shipcode-style-4 .shipcode-label,
.shipcode-style-5 .shipcode-label,
.shipcode-style-6 .shipcode-label,
.shipcode-style-7 .shipcode-label,
.shipcode-style-8 .shipcode-label {
    color: var(--label-clr);
}
.shipcode-style-1 .shipcode-phone-input,
.shipcode-style-2 .shipcode-phone-input,
.shipcode-style-3 .shipcode-phone-input,
.shipcode-style-4 .shipcode-phone-input,
.shipcode-style-5 .shipcode-phone-input,
.shipcode-style-6 .shipcode-phone-input,
.shipcode-style-7 .shipcode-phone-input,
.shipcode-style-8 .shipcode-phone-input {
    color: var(--ipt-clr);
    background: var(--ipt-bg);
    border-color: var(--ipt-border);
}
.shipcode-style-1 .shipcode-phone-input:focus,
.shipcode-style-2 .shipcode-phone-input:focus,
.shipcode-style-3 .shipcode-phone-input:focus,
.shipcode-style-4 .shipcode-phone-input:focus,
.shipcode-style-5 .shipcode-phone-input:focus,
.shipcode-style-6 .shipcode-phone-input:focus,
.shipcode-style-7 .shipcode-phone-input:focus,
.shipcode-style-8 .shipcode-phone-input:focus {
    border-color: var(--ipt-focus-border);
    box-shadow: var(--ipt-focus-shadow);
    background: var(--ipt-focus-bg);
}
.shipcode-style-1 .shipcode-phone-input::placeholder,
.shipcode-style-2 .shipcode-phone-input::placeholder,
.shipcode-style-3 .shipcode-phone-input::placeholder,
.shipcode-style-4 .shipcode-phone-input::placeholder,
.shipcode-style-5 .shipcode-phone-input::placeholder,
.shipcode-style-6 .shipcode-phone-input::placeholder,
.shipcode-style-7 .shipcode-phone-input::placeholder,
.shipcode-style-8 .shipcode-phone-input::placeholder {
    color: var(--ph-clr);
}
.shipcode-style-1 .shipcode-claim-btn,
.shipcode-style-2 .shipcode-claim-btn,
.shipcode-style-3 .shipcode-claim-btn,
.shipcode-style-4 .shipcode-claim-btn,
.shipcode-style-5 .shipcode-claim-btn,
.shipcode-style-6 .shipcode-claim-btn,
.shipcode-style-7 .shipcode-claim-btn,
.shipcode-style-8 .shipcode-claim-btn {
    color: var(--btn-clr);
    background: var(--btn-bg);
    box-shadow: var(--btn-shadow);
}
.shipcode-style-1 .shipcode-claim-btn:hover:not(:disabled),
.shipcode-style-2 .shipcode-claim-btn:hover:not(:disabled),
.shipcode-style-3 .shipcode-claim-btn:hover:not(:disabled),
.shipcode-style-4 .shipcode-claim-btn:hover:not(:disabled),
.shipcode-style-5 .shipcode-claim-btn:hover:not(:disabled),
.shipcode-style-6 .shipcode-claim-btn:hover:not(:disabled),
.shipcode-style-7 .shipcode-claim-btn:hover:not(:disabled),
.shipcode-style-8 .shipcode-claim-btn:hover:not(:disabled) {
    box-shadow: var(--btn-hover-shadow);
}
.shipcode-style-1 .shipcode-claim-btn:disabled,
.shipcode-style-2 .shipcode-claim-btn:disabled,
.shipcode-style-3 .shipcode-claim-btn:disabled,
.shipcode-style-4 .shipcode-claim-btn:disabled,
.shipcode-style-5 .shipcode-claim-btn:disabled,
.shipcode-style-6 .shipcode-claim-btn:disabled,
.shipcode-style-7 .shipcode-claim-btn:disabled,
.shipcode-style-8 .shipcode-claim-btn:disabled {
    background: var(--btn-dis-bg);
    color: var(--btn-dis-clr);
    box-shadow: none;
}
.shipcode-style-1 .shipcode-note,
.shipcode-style-2 .shipcode-note,
.shipcode-style-3 .shipcode-note,
.shipcode-style-4 .shipcode-note,
.shipcode-style-5 .shipcode-note,
.shipcode-style-6 .shipcode-note,
.shipcode-style-7 .shipcode-note,
.shipcode-style-8 .shipcode-note {
    color: var(--note-clr);
}
.shipcode-style-1 .shipcode-code-display,
.shipcode-style-2 .shipcode-code-display,
.shipcode-style-3 .shipcode-code-display,
.shipcode-style-4 .shipcode-code-display,
.shipcode-style-5 .shipcode-code-display,
.shipcode-style-6 .shipcode-code-display,
.shipcode-style-7 .shipcode-code-display,
.shipcode-style-8 .shipcode-code-display {
    background: var(--code-bg);
    border-color: var(--code-border);
}
.shipcode-style-1 .shipcode-code,
.shipcode-style-2 .shipcode-code,
.shipcode-style-3 .shipcode-code,
.shipcode-style-4 .shipcode-code,
.shipcode-style-5 .shipcode-code,
.shipcode-style-6 .shipcode-code,
.shipcode-style-7 .shipcode-code,
.shipcode-style-8 .shipcode-code {
    color: var(--code-clr);
}
.shipcode-style-1 .shipcode-copy-btn,
.shipcode-style-2 .shipcode-copy-btn,
.shipcode-style-3 .shipcode-copy-btn,
.shipcode-style-4 .shipcode-copy-btn,
.shipcode-style-5 .shipcode-copy-btn,
.shipcode-style-6 .shipcode-copy-btn,
.shipcode-style-7 .shipcode-copy-btn,
.shipcode-style-8 .shipcode-copy-btn {
    color: var(--copy-clr);
    background: var(--copy-bg);
    border-color: var(--copy-border);
}
.shipcode-style-1 .shipcode-copy-btn:hover,
.shipcode-style-2 .shipcode-copy-btn:hover,
.shipcode-style-3 .shipcode-copy-btn:hover,
.shipcode-style-4 .shipcode-copy-btn:hover,
.shipcode-style-5 .shipcode-copy-btn:hover,
.shipcode-style-6 .shipcode-copy-btn:hover,
.shipcode-style-7 .shipcode-copy-btn:hover,
.shipcode-style-8 .shipcode-copy-btn:hover {
    background: var(--copy-hover-bg);
    color: var(--copy-hover-clr);
}
.shipcode-style-1 .shipcode-copy-btn.shipcode-copied,
.shipcode-style-2 .shipcode-copy-btn.shipcode-copied,
.shipcode-style-3 .shipcode-copy-btn.shipcode-copied,
.shipcode-style-4 .shipcode-copy-btn.shipcode-copied,
.shipcode-style-5 .shipcode-copy-btn.shipcode-copied,
.shipcode-style-6 .shipcode-copy-btn.shipcode-copied,
.shipcode-style-7 .shipcode-copy-btn.shipcode-copied,
.shipcode-style-8 .shipcode-copy-btn.shipcode-copied {
    background: var(--copy-copied-bg);
}
.shipcode-style-1 .shipcode-error,
.shipcode-style-2 .shipcode-error,
.shipcode-style-3 .shipcode-error,
.shipcode-style-4 .shipcode-error,
.shipcode-style-5 .shipcode-error,
.shipcode-style-6 .shipcode-error,
.shipcode-style-7 .shipcode-error,
.shipcode-style-8 .shipcode-error {
    color: var(--err-clr);
    background: var(--err-bg);
    border-color: var(--err-border);
}
.shipcode-style-1.shipcode-claimed .shipcode-header,
.shipcode-style-2.shipcode-claimed .shipcode-header,
.shipcode-style-3.shipcode-claimed .shipcode-header,
.shipcode-style-4.shipcode-claimed .shipcode-header,
.shipcode-style-5.shipcode-claimed .shipcode-header,
.shipcode-style-6.shipcode-claimed .shipcode-header,
.shipcode-style-7.shipcode-claimed .shipcode-header,
.shipcode-style-8.shipcode-claimed .shipcode-header {
    background: var(--claim-hd-bg);
}
.shipcode-style-1.shipcode-claimed .shipcode-header::after,
.shipcode-style-2.shipcode-claimed .shipcode-header::after,
.shipcode-style-3.shipcode-claimed .shipcode-header::after,
.shipcode-style-4.shipcode-claimed .shipcode-header::after,
.shipcode-style-5.shipcode-claimed .shipcode-header::after,
.shipcode-style-6.shipcode-claimed .shipcode-header::after,
.shipcode-style-7.shipcode-claimed .shipcode-header::after,
.shipcode-style-8.shipcode-claimed .shipcode-header::after {
    background: var(--claim-hd-accent);
}
.shipcode-style-1.shipcode-claimed .shipcode-body,
.shipcode-style-2.shipcode-claimed .shipcode-body,
.shipcode-style-3.shipcode-claimed .shipcode-body,
.shipcode-style-4.shipcode-claimed .shipcode-body,
.shipcode-style-5.shipcode-claimed .shipcode-body,
.shipcode-style-6.shipcode-claimed .shipcode-body,
.shipcode-style-7.shipcode-claimed .shipcode-body,
.shipcode-style-8.shipcode-claimed .shipcode-body {
    background: var(--claim-body-bg);
}

/* =====================================================
   STYLE 9 - Voucher / Coupon Card
   ===================================================== */
.shipcode-voucher {
    height: 200px;
    margin: 0;
    border-radius: 20px;
    opacity: 1;
    transform: rotate(0deg);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.shipcode-voucher-inner {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
    height: 100%;
    position: relative;
    -webkit-mask: radial-gradient(circle at 0 50%, transparent 22px, #000 22px);
    mask: radial-gradient(circle at 0 50%, transparent 22px, #000 22px);
}

.shipcode-voucher-ribbon {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(180deg, #6c42e5 0%, #5b35d1 100%);
    border-radius: 20px 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.shipcode-voucher-ribbon span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 1000;
    font-style: italic;
    font-size: 26px;
    letter-spacing: 0%;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
}

.shipcode-voucher-content {
    flex: 1;
    padding: 0 220px 0 100px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.shipcode-voucher--claimed .shipcode-voucher-content {
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 0;
}

.shipcode-voucher-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.shipcode-voucher-top {
    position: absolute;
    right: 0;
    top: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 1;
    background: #080F2F;
    transform: translateY(-50%) rotate(0deg);
}

.shipcode-voucher-logo {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.shipcode-voucher-text {
    flex: 1;
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: #232027;
    margin-bottom: 0;
    letter-spacing: 0;
}

.shipcode-voucher-text strong {
    font-weight: 700;
}
.shipcode-voucher-text .shipcode-voucher-brand {
    text-transform: uppercase;
    font-weight: 1000;
}

.shipcode-voucher-btn {
    width: 100%;
    height: 36px;
    min-height: 0;
    margin: 0;
    border-radius: 22.46px;
    border: 1.4px solid #ECE7F8;
    background: linear-gradient(271.12deg, #F2EDFF 0.23%, #FFF5AD 99.77%);
    cursor: pointer;
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    color: #232027;
    padding: 0 10px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.shipcode-voucher-btn:hover:not(:disabled) {
    background: linear-gradient(90deg, #314BA9 0%, #8A38F5 100%);
    color: #fff;
    border-color: transparent;
}

.shipcode-voucher-btn:hover:not(:disabled) svg path {
    fill: #fff;
}

.shipcode-voucher-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.shipcode-voucher-result {
    display: none;
}

.shipcode-voucher--claimed .shipcode-voucher-text {
    text-align: left;
    font-weight: 590;
    font-size: 16px;
    letter-spacing: 0;
}

.shipcode-voucher-heading {
    display: block;
    font-weight: 700;
    font-size: 21px;
    letter-spacing: 0;
    margin-bottom: 0;
    color: #222;
}

.shipcode-voucher-code {
    text-align: left;
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 860;
    font-size: 36px;
    letter-spacing: 0;
    color: #222;
    padding: 0;
}

.shipcode-voucher-field {
    margin-top: 4px;
}

.shipcode-voucher-error {
    display: none !important;
    width: 100%;
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 590;
    font-style: normal;
    font-size: 14px;
    letter-spacing: 0%;
    text-align: center;
    color: #D12027 !important;
}

.shipcode-voucher-error.visible {
    display: block !important;
}

.shipcode-voucher-content:has(.shipcode-voucher-error.visible) .shipcode-voucher-btn {
    border: 1.4px solid #FF5D67 !important;
}

.shipcode-voucher-name,
.shipcode-voucher-email,
.shipcode-voucher-phone {
    width: 100% !important;
    background: #fff !important;
    border: 1.4px solid #ECE7F8 !important;
    height: 36px !important;
    border-radius: 22.46px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 16px !important;
    letter-spacing: 0% !important;
    text-align: center !important;
    color: #333 !important;
    box-shadow: none !important;
    max-width: 100% !important;
    vertical-align: middle !important;
    opacity: 1 !important;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.shipcode-voucher-name:focus,
.shipcode-voucher-email:focus,
.shipcode-voucher-phone:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    background: #ffffff;
}

.shipcode-voucher-name::placeholder,
.shipcode-voucher-email::placeholder,
.shipcode-voucher-phone::placeholder {
    color: #9ca3af;
    font-size: 14px;
}

.shipcode-voucher-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: space-between;
}

.shipcode-voucher:not(.shipcode-voucher--mobile) .shipcode-voucher-content {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
.shipcode-voucher:not(.shipcode-voucher--mobile) .shipcode-voucher-row {
    flex: 0 0 100%;
}
.shipcode-voucher:not(.shipcode-voucher--mobile) .shipcode-voucher-form {
    flex: 0 0 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.shipcode-voucher:not(.shipcode-voucher--mobile) .shipcode-voucher-form .shipcode-voucher-field {
    margin-top: 0;
    width: calc(50% - 4px);
}
.shipcode-voucher:not(.shipcode-voucher--mobile) .shipcode-voucher-form .shipcode-voucher-btn {
    width: calc(50% - 4px);
    flex: 0 0 auto;
    padding: 0 10px;
    margin-left: 0;
}
.shipcode-voucher:not(.shipcode-voucher--mobile) .shipcode-voucher-form .shipcode-voucher-result {
    flex: 0 0 100%;
}

.shipcode-voucher-btn--copy {
    margin: 0;
    background: #FFFFFF;
    border-color: #ECE7F8;
    width: calc(50% - 4px);
}

.shipcode-voucher-btn--copy:hover:not(:disabled) {
    background: #8A38F5;
    color: #fff;
    border-color: #8A38F5;
}

.shipcode-voucher-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
}

.shipcode-voucher-btn--use {
    margin: 0;
    width: calc(50% - 4px);
}

.shipcode-voucher.shipcode-voucher--mobile {
    height: auto;
}

.shipcode-voucher--mobile .shipcode-voucher-content {
    padding: 10px 10px 20px 90px;
}

.shipcode-voucher--small-mobile .shipcode-voucher-ribbon {
    display: none;
}

.shipcode-voucher--small-mobile .shipcode-voucher-content {
    padding: 10px 10px 20px 20px;
}

.shipcode-voucher--mobile .shipcode-voucher-row {
    margin: 0;
}

.shipcode-voucher--mobile .shipcode-voucher-field {
    margin: 0 10px;
}

.shipcode-voucher--mobile .shipcode-voucher-btn {
    margin: 0 10px;
    width: calc(100% - 20px);
}

.shipcode-voucher--mobile .shipcode-voucher-actions {
    flex-direction: column;
}

.shipcode-voucher--mobile .shipcode-voucher-actions .shipcode-voucher-btn {
    width: calc(100% - 20px);
}

.shipcode-voucher--mobile .shipcode-voucher-error {
    margin: 6px 0 0;
    text-align: center;
}

.shipcode-voucher--mobile .shipcode-note {
    width: 100%;
    margin: 6px 0;
    text-align: center;
}

.shipcode-voucher--mobile .shipcode-voucher-text {
    font-size: 16px;
    width: calc(100% - 90px);
}

.shipcode-voucher--mobile .shipcode-voucher-top {
    position: static;
    width: 80px;
    height: 80px;
    transform: none;
    background: #0A0E23;
    opacity: 1;
    border-radius: 12px;
    border: 1px solid;
    border-image-source: linear-gradient(134.91deg, rgba(255, 255, 255, 0.2) 0.08%, rgba(153, 153, 153, 0.1) 99.92%);
    box-shadow: 2px 2px 8px 0px #506DFF40 inset, -2px -2px 8px 0px #125C1240 inset;
}

.shipcode-voucher--mobile .shipcode-voucher-logo {
    width: 100%;
    height: 100%;
}

.shipcode-voucher--mobile input.shipcode-voucher-phone {
    height: 40px !important;
    border-radius: 22.46px !important;
    opacity: 1;
    font-size: 14px !important;
}

.shipcode-voucher--mobile .shipcode-voucher-code {
    font-size: 22px;
}

.shipcode-voucher--small-mobile .shipcode-voucher-inner,
.shipcode-voucher--xsmall .shipcode-voucher-inner {
    -webkit-mask: none;
    mask: none;
}

.shipcode-voucher--xsmall .shipcode-voucher-row {
    display: none;
}

.shipcode-voucher--xsmall .shipcode-voucher-form {
    display: none;
}

.shipcode-voucher--xsmall .shipcode-voucher-actions {
    display: none;
}

.shipcode-voucher--xsmall .shipcode-voucher-content::before {
    content: "Vui lòng xoay ngang điện thoại để nhận";
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 590;
    font-size: 16px;
    display: block;
    text-align: left;
}

.shipcode-voucher--xsmall .shipcode-voucher-code {
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 21px;
    text-align: center;
}

.shipcode-voucher--xsmall .shipcode-voucher-content::after {
    content: "Code khuyến mãi";
    display: block;
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 21px;
    text-align: left;
}


