/* Order New Page — dark theme; titles use Playfair Display + DM Sans (landing site) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --gold: #FAB202;
    --gold-dim: rgba(250, 178, 2, 0.13);
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
    --order-shell-max: 1320px;
    --order-step-max: 1100px;
    --off-black: #141414;
    --dark: #1c1c1c;
    --muted: #888;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(250, 178, 2, 0.22);
    --radius-field: 10px;
    --t-field: 0.22s ease;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #0b0600;
    color: #e0e0e0;
    font-family: var(--sans);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.order-container {
    max-width: var(--order-shell-max);
    margin: 0 auto;
    padding: clamp(16px, 4vw, 48px) clamp(16px, 4vw, 56px);
    padding-top: calc(64px + clamp(16px, 4vw, 32px));
    min-height: 100vh;
}

/* Order Steps — card shell aligned with custom-forms / pageantry */
.order-step {
    display: none;
    animation: fadeIn 0.3s ease-in;
    background-color: var(--off-black);
    border-radius: 14px;
    padding: 30px;
    padding-bottom: 100px; /* Extra padding for floating buttons */
    margin-bottom: 20px;
    border: 1px solid var(--border-gold);
    position: relative;
}

.order-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step Header */
.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-gold);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #FAB202;
    color: #0b0600;
    border-radius: 50%;
    font-family: var(--serif);
    font-weight: 900;
    font-size: 20px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Category first step — shop hero (matches “Choose your occasion” design) */
.category-step-hero {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-gold);
    text-align: center;
}

.category-step-kicker {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.category-step-title {
    margin: 0 0 12px;
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(26px, 4vw, 36px);
    color: #fff;
    line-height: 1.2;
}

.category-step-title-accent {
    font-style: italic;
    font-weight: 700;
    color: var(--gold);
}

.category-step-lead {
    margin: 0;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
}

.country-form-hint {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 13px;
    color: var(--muted);
}

.step-title {
    color: var(--gold);
    font-family: var(--serif);
    font-weight: 900;
    font-size: clamp(22px, 2.8vw, 30px);
    margin: 0;
    line-height: 1.15;
}

/* Form Elements — pageantry-style labels + full-width fields */
.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.form-label-hint {
    font-size: 12px;
    color: #666;
    margin: -4px 0 8px;
    line-height: 1.4;
}

.form-label-optional {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    color: #666;
    font-size: 12px;
}

.form-input,
.form-input:focus {
    width: 100%;
    min-height: 48px;
    padding: 13px 15px;
    background-color: var(--dark);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-field);
    color: #fff;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.45;
    transition: border-color var(--t-field), box-shadow var(--t-field), background var(--t-field);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-input::placeholder {
    color: #444;
    opacity: 1;
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-input:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.14);
}

textarea.form-input {
    height: auto;
    min-height: 96px;
    padding: 13px 15px;
    resize: vertical;
}

/* Two fields on one row (tablet+) — matches pageantry .two-col */
.form-row--two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px 20px;
    margin-bottom: 20px;
    width: 100%;
}

.form-row--two .form-group {
    margin-bottom: 0;
    min-width: 0;
}

@media (min-width: 640px) {
    .form-row--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Do not add this class on the same element as .form-row--two — .form-row comes below and would override grid with flex. */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.country-group {
    flex: 0 0 30%;
}

.phone-group {
    flex: 1;
}

/* Country Selector */
.country-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.country-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #2a2a2a;
    border: 2px solid #3a3a3a;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.country-option:hover {
    border-color: #FAB202;
    background-color: #333;
    transform: translateY(-3px);
}

.country-option.active {
    border-color: #FAB202;
    background-color: #333;
    box-shadow: 0 0 0 3px rgba(239, 207, 66, 0.3);
}

.country-flag {
    font-size: 32px;
    margin-bottom: 8px;
    line-height: 1;
}

.country-name {
    color: #e0e0e0;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 14px;
}

/* Contact preview (phone/email/location already captured in pageantry or induction step 2) */
.contact-preview-panel {
    margin-bottom: 22px;
}

.contact-preview-intro {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 14px;
    line-height: 1.55;
    max-width: 48ch;
}

.contact-preview-card {
    background: linear-gradient(165deg, rgba(28, 28, 28, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 16px 18px;
}

.contact-preview-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.contact-preview-row:first-child {
    padding-top: 4px;
}

.contact-preview-row:last-child {
    border-bottom: none;
    padding-bottom: 4px;
}

.contact-preview-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-preview-value {
    font-size: 16px;
    font-weight: 500;
    color: #eee;
    word-break: break-word;
    line-height: 1.45;
}

#phone-form.phone-form--preview #phone-field-group,
#phone-form.phone-form--preview #email-field-group {
    display: none !important;
}

.form-help-text {
    color: #666;
    font-family: var(--sans);
    font-size: 12px;
    margin-top: 8px;
    line-height: 1.5;
}

.form-response {
    color: #FAB202;
    font-size: 14px;
    margin-top: 8px;
    min-height: 20px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    width: 100%;
    height: 45px;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background-color: #FAB202 !important;
    color: #0b0600 !important;
    border: none !important;
}

.btn-primary:hover:not(:disabled) {
    background-color: #d4b638 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 207, 66, 0.3);
}

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

.btn-primary:disabled {
    background-color: #3a3a3a !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.btn-secondary {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 2px solid #3a3a3a;
}

.btn-secondary:hover {
    background-color: #3a3a3a;
    border-color: #4a4a4a;
}

.btn-small {
    height: 45px;
    font-size: 14px;
    padding: 0 20px;
    width: auto;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.option-card {
    background-color: #2a2a2a;
    border: 2px solid #3a3a3a;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-card:hover {
    border-color: #FAB202;
    background-color: #333;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(239, 207, 66, 0.2);
}

.option-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: #FAB202;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b0600;
    font-size: 28px;
}

.option-title {
    color: #FAB202;
    font-family: var(--serif);
    font-weight: 900;
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.option-description {
    color: #e0e0e0;
    font-family: var(--sans);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Category List */
.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.category-item {
    cursor: pointer;
}

.category-card {
    background-color: #2a2a2a;
    border: 2px solid #3a3a3a;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #FAB202;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(239, 207, 66, 0.2);
}

.category-card.selected {
    border-color: #FAB202;
    background-color: #333;
    box-shadow: 0 0 0 3px rgba(239, 207, 66, 0.3);
}

.category-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.category-body {
    padding: 15px;
}

.category-title {
    color: #FAB202;
    font-family: var(--serif);
    font-weight: 900;
    font-size: 16px;
    margin: 0;
    text-align: center;
    line-height: 1.2;
}

/* Pattern List */
.pattern-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Let API-loaded patterns participate in the same grid as “Upload your own” */
#patterns-container {
    display: contents;
}

/* Upload Pattern Card - Separate Design */
.upload-pattern-item {
    cursor: pointer;
}

.upload-pattern-card {
    background-color: #2a2a2a;
    border: 2px solid #3a3a3a;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 350px;
    min-height: 350px;
    position: relative;
}

.upload-pattern-card:hover {
    border-color: #FAB202;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(239, 207, 66, 0.2);
}

.upload-pattern-card.active {
    border-color: #FAB202;
    background-color: #333;
    box-shadow: 0 0 0 3px rgba(239, 207, 66, 0.3);
}

.upload-pattern-body {
    padding: 40px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.upload-pattern-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #FAB202;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b0600;
    font-size: 36px;
    transition: all 0.3s ease;
}

.upload-pattern-card:hover .upload-pattern-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 207, 66, 0.4);
}

.upload-pattern-title {
    color: #FAB202;
    font-family: var(--serif);
    font-weight: 900;
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.upload-pattern-description {
    color: #e0e0e0;
    font-family: var(--sans);
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 90%;
}

.upload-pattern-preview {
    width: 100%;
    height: 100%;
    padding: 0;
    background-color: #1a1a1a;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.upload-pattern-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.pattern-item {
    cursor: pointer;
}

.pattern-card {
    background-color: #2a2a2a;
    border: 2px solid #3a3a3a;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 350px;
    min-height: 350px;
    position: relative;
    margin-bottom: 10px;
}

.pattern-card:hover {
    border-color: #FAB202;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(239, 207, 66, 0.2);
}

.pattern-card.active {
    border-color: #FAB202;
    background-color: #333;
    box-shadow: 0 0 0 3px rgba(239, 207, 66, 0.3);
}

.pattern-body {
    padding: 0;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.pattern-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.pattern-title {
    color: #FAB202;
    font-family: var(--serif);
    font-weight: 900;
    font-size: 18px;
    margin: 0;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: rgba(11, 6, 0, 0.8);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #FAB202;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    width: calc(100% - 30px);
    box-sizing: border-box;
}

.pattern-description {
    color: #e0e0e0;
    font-family: var(--sans);
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 15px;
}

.pattern-preview {
    width: 100%;
    padding: 15px;
    background-color: #1a1a1a;
    overflow: hidden;
}

.pattern-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    display: block;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--dark);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-field);
    padding: 10px 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-row--two .quantity-selector {
    width: 100%;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background-color: #FAB202;
    color: #0b0600;
    border: none;
    border-radius: 8px;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background-color: #d4b638;
    transform: scale(1.1);
}

.quantity-display {
    min-width: 50px;
    text-align: center;
    color: #FAB202;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 20px;
}

/* Toggle Options */
.toggle-options-container {
    display: flex;
    gap: 10px;
    margin-top: 0;
    width: 100%;
    flex-wrap: wrap;
}

.toggle-option-btn {
    flex: 1;
    min-width: 120px;
    min-height: 52px;
    border-radius: var(--radius-field);
    border: 2px solid var(--border-subtle);
    background-color: var(--dark);
    color: #e0e0e0;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.toggle-option-btn:hover:not(.active) {
    background-color: #1a1a1a;
    border-color: rgba(239, 207, 66, 0.35);
}

.toggle-option-btn.active {
    background-color: var(--gold);
    color: #0b0600;
    border: 2px solid var(--gold);
    font-weight: 700;
    box-shadow:
        0 0 0 3px var(--gold-dim),
        0 6px 18px rgba(250, 178, 2, 0.22);
}

.toggle-icon {
    width: 24px;
    height: 24px;
}

/* Upload Card */
.upload-card {
    background-color: var(--dark);
    border: 2px dashed rgba(239, 207, 66, 0.35);
    border-radius: var(--radius-field);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-card:hover {
    border-color: #FAB202;
    background-color: #333;
}

.upload-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-body .btn-primary {
    margin: 0 auto;
}

.upload-icon {
    font-size: 48px;
    color: #FAB202;
    margin-bottom: 20px;
}

.upload-title {
    color: #FAB202;
    font-family: var(--serif);
    font-weight: 900;
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.upload-description {
    color: #e0e0e0;
    font-family: var(--sans);
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 20px;
}

.upload-preview {
    color: #FAB202;
    font-size: 14px;
    margin-top: 15px;
}

/* Logos Section */
.logos-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.logo-column {
    width: 100%;
    min-width: 0; /* Allow flex item to shrink below content size */
    box-sizing: border-box;
}

.logo-card {
    background-color: #2a2a2a;
    border: 2px solid #3a3a3a;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.logo-card:hover {
    border-color: #FAB202;
}

.logo-card-body {
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal overflow from card body */
    width: 100%;
    box-sizing: border-box;
}

/* Custom scrollbar for logo card body */
.logo-card-body::-webkit-scrollbar {
    width: 8px;
}

.logo-card-body::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

.logo-card-body::-webkit-scrollbar-thumb {
    background: #FAB202;
    border-radius: 10px;
}

.logo-card-body::-webkit-scrollbar-thumb:hover {
    background: #d4b638;
}

.logo-card-title {
    color: #FAB202;
    font-family: var(--serif);
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.logo-card-text {
    color: #e0e0e0;
    font-family: var(--sans);
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 15px;
}

.logo-gallery {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 15px;
    max-height: 100px;
    width: 100%;
    min-width: 0; /* Allow flex item to shrink below content size */
    overflow-y: hidden;
    overflow-x: auto;
    padding: 10px;
    background-color: #1a1a1a;
    border-radius: 10px;
    border: 1px solid #3a3a3a;
    box-sizing: border-box; /* Include padding in width calculation */
}

/* Custom scrollbar for logo gallery (horizontal) */
.logo-gallery::-webkit-scrollbar {
    height: 8px;
}

.logo-gallery::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

.logo-gallery::-webkit-scrollbar-thumb {
    background: #FAB202;
    border-radius: 10px;
}

.logo-gallery::-webkit-scrollbar-thumb:hover {
    background: #d4b638;
}

.logo-option {
    width: 60px;
    height: 60px;
    object-fit: contain;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 5px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent shrinking in horizontal scroll */
}

/* White background for adinkra symbols (SVG logos) */
#left-logo-gallery .logo-option,
#right-logo-gallery .logo-option {
    background-color: #ffffff;
    border: 1px solid #FAB202;
}

.logo-option:hover {
    border-color: #FAB202;
    transform: scale(1.1);
}

.logo-divider {
    border: none;
    border-top: 1px solid #3a3a3a;
    margin: 15px 0;
}

.logo-preview {
    width: 100%;
    padding: 15px;
    background-color: #1a1a1a;
    text-align: center;
}

.logo-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 10px;
}

.logo-preview img.svg-logo {
    max-width: 250px;
    max-height: 250px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    border: 2px solid #FAB202;
}

/* Enhanced Logo Preview for SVG */
.logo-enhanced-preview {
    background-color: #2a2a2a;
    border: 2px solid #3a3a3a;
    border-radius: 15px;
    padding: 20px;
    margin-top: 15px;
}

.logo-enhanced-icon-container {
    display: inline-block;
    padding: 10px;
    background-color: #fff;
    border: 2px solid #FAB202;
    border-radius: 8px;
    margin-top: 10px;
}

.logo-enhanced-icon {
    width: 60px;
    height: 60px;
    display: block;
    object-fit: contain;
}

/* Step Actions - Floating Buttons */
.step-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    position: sticky;
    bottom: 0;
    z-index: 100;
    background: linear-gradient(to top, var(--off-black) 0%, var(--off-black) 80%, rgba(11, 6, 0, 0.95) 100%);
    border-top: 1px solid var(--border-gold);
    margin-left: -30px;
    margin-right: -30px;
    margin-bottom: -30px;
    border-radius: 0 0 15px 15px;
}

.step-actions .btn-primary,
.step-actions .btn-secondary {
    flex: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Production info and Express option */
.production-info {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: var(--gold-dim);
    border-radius: var(--radius-field);
    border: 1px solid var(--border-gold);
    border-left: 4px solid #FAB202;
}

.express-option {
    margin-bottom: 24px;
}

.express-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 14px 16px;
    background: #2a2a2a;
    border-radius: 10px;
    border: 1px solid #3a3a3a;
    transition: border-color 0.2s, background 0.2s;
}

.express-checkbox-wrap:hover {
    border-color: rgba(239, 207, 66, 0.4);
    background: rgba(239, 207, 66, 0.05);
}

.express-checkbox-wrap input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #FAB202;
    cursor: pointer;
}

.express-label {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.4;
}

/* Summary */
.summary-content {
    background-color: #2a2a2a;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #3a3a3a;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item-label {
    color: #FAB202;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 16px;
    flex: 0 0 40%;
}

.summary-item-value {
    color: #e0e0e0;
    font-family: var(--sans);
    font-size: 16px;
    flex: 1;
    text-align: right;
}

.summary-image {
    max-width: 100px;
    max-height: 100px;
    border-radius: 8px;
    margin-top: 10px;
}

/* SVG Logo Styling in Summary and Preview */
.summary-image.svg-logo,
.logo-preview img.svg-logo {
    max-width: 150px;
    max-height: 150px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 10px;
    border: 2px solid #FAB202;
}

.logo-preview img.svg-logo {
    max-width: 200px;
    max-height: 200px;
}

/* WhatsApp Help Button */
.whatsapp-float {
    display: none !important;
}

/* Success Form */
.success-card {
    text-align: center;
    padding: 50px 30px;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon-container {
    margin-bottom: 30px;
}

.success-icon {
    font-size: 100px;
    color: #FAB202;
    display: inline-block;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    color: #FAB202;
    font-family: var(--serif);
    font-weight: 900;
    font-size: 32px;
    margin-bottom: 30px;
    line-height: 1.15;
}

.success-order-info {
    background-color: #2a2a2a;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #3a3a3a;
}

.success-order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #3a3a3a;
}

.success-order-item:last-child {
    border-bottom: none;
}

.success-order-label {
    color: #e0e0e0;
    font-family: var(--sans);
    font-size: 16px;
}

.success-order-value {
    color: #FAB202;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 18px;
}

.success-message {
    color: #e0e0e0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 0 20px;
}

.success-actions {
    margin-top: 30px;
}

/* Toast Notification */
/* Branded Sash Afrique toast */
.toast {
    position: fixed;
    left: 50%;
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    z-index: 10000;
    width: min(420px, calc(100vw - 24px));
    transform: translateX(-50%) translateY(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.28s;
}
.toast.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
body.guide-mode-active .toast {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}
.toast__panel {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px 14px 12px;
    background:
        linear-gradient(180deg, rgba(250,178,2,0.08), transparent 42%),
        #141414;
    border: 1px solid rgba(250,178,2,0.38);
    border-radius: 4px;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}
.toast__panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
}
.toast__mark {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    margin-top: 1px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, #ffd56a, var(--gold) 55%, #b07d00);
    box-shadow: 0 0 0 2px rgba(250,178,2,0.2);
    position: relative;
}
.toast__mark::after {
    content: "S";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-weight: 900;
    font-size: 0.95rem;
    color: #0b0600;
    line-height: 1;
}
.toast__copy {
    flex: 1;
    min-width: 0;
    padding-top: 1px;
}
.toast__brand {
    margin: 0 0 2px;
    font-family: var(--serif);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--gold);
    line-height: 1.2;
}
.toast__message {
    margin: 0;
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.4;
    color: #f2f2f2;
}
.toast__dismiss {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin: -4px -4px 0 0;
    border: none;
    border-radius: 2px;
    background: transparent;
    color: rgba(255,255,255,0.45);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}
.toast__dismiss:hover,
.toast__dismiss:focus-visible {
    color: #fff;
    background: rgba(255,255,255,0.06);
    outline: none;
}
.toast--success .toast__panel {
    border-color: rgba(250,178,2,0.55);
}
.toast--error .toast__panel {
    border-color: rgba(220, 90, 70, 0.55);
}
.toast--error .toast__panel::before {
    background: #d45a46;
}
.toast--error .toast__brand {
    color: #f0a090;
}
@media (prefers-reduced-motion: reduce) {
    .toast {
        transition: opacity 0.15s ease, visibility 0.15s ease;
        transform: translateX(-50%);
    }
    .toast.show {
        transform: translateX(-50%);
    }
}

/* ── Tablet & desktop: centered step shell, readable line lengths, multi-column grids ── */
@media (min-width: 769px) {
    .order-step {
        max-width: var(--order-step-max);
        margin-left: auto;
        margin-right: auto;
        padding: 40px 44px 124px;
    }

    .step-actions {
        margin-left: -44px;
        margin-right: -44px;
        padding: 24px 44px;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 16px;
    }

    .step-actions .btn-primary,
    .step-actions .btn-secondary {
        flex: 0 0 auto;
        width: auto;
        min-width: 176px;
        max-width: 300px;
    }

    .step-title {
        font-size: clamp(26px, 2.6vw, 34px);
    }

    .step-header {
        margin-bottom: 36px;
        padding-bottom: 24px;
    }

    .step-number {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .country-selector {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 18px;
    }

    .options-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
        gap: 28px;
    }

    .option-card {
        padding: 36px 32px;
    }

    .category-list {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 24px;
    }

    .category-image {
        height: 170px;
    }

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

    .upload-pattern-card,
    .pattern-card {
        height: 380px;
        min-height: 380px;
    }

    .logos-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
        align-items: start;
    }

    .logo-card-body {
        max-height: min(560px, 70vh);
    }

    .summary-content {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }

    .success-card {
        max-width: 640px;
    }
}

@media (min-width: 1024px) {
    .pattern-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .category-list {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .order-container {
        padding: 15px;
    }

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

    .options-grid {
        grid-template-columns: 1fr;
    }

    .category-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .pattern-list {
        grid-template-columns: 1fr;
    }

    .logos-section {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .country-group,
    .phone-group {
        flex: 1;
    }

    .step-actions {
        flex-direction: column;
    }
}

/* Category-specific single-order flows (see Category.order_flow) */
.flow-intro-panels {
    margin-bottom: 20px;
}

.flow-intro-panel {
    font-size: 14px;
    color: #a8a8a8;
    line-height: 1.55;
    padding: 14px 16px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-field);
    margin: 0;
}

.pattern-flow-hint {
    margin-bottom: 18px;
}

/* Awards accordion (mirrors awards-sash-customizer interaction style) */
.cat-accordion {
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-field);
    overflow: hidden;
    margin-bottom: 10px;
    transition: border-color var(--t-field);
}

.cat-accordion.has-selection {
    border-color: var(--gold);
}

.cat-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px;
    background: var(--dark);
    cursor: pointer;
    user-select: none;
}

.cat-accordion-header:hover {
    background: #222;
}

.cat-accordion-header.open {
    background: #1f1e17;
}

.cat-acc-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.cat-acc-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}

.cat-acc-badge {
    font-size: 11px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    border-radius: 50px;
    padding: 2px 9px;
}

.cat-acc-badge.hidden {
    display: none;
}

.cat-acc-arrow {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 2;
    transition: transform var(--t-field);
}

.cat-accordion-header.open .cat-acc-arrow {
    transform: rotate(180deg);
}

.cat-accordion-body {
    display: none;
    padding: 14px;
    background: var(--off-black);
    border-top: 1px solid var(--border-subtle);
}

.cat-accordion-body.open {
    display: block;
}

.sel-count {
    font-size: 12px;
    color: var(--gold);
    margin-bottom: 10px;
    min-height: 18px;
}

.award-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.award-card {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--dark);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-field);
    padding: 10px 12px;
    cursor: pointer;
    transition: border-color var(--t-field), background var(--t-field);
}

.award-card.on {
    border-color: var(--gold);
    background: var(--gold-dim);
}

.award-check {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-card.on .award-check {
    background: var(--gold);
    border-color: var(--gold);
}

.award-check svg {
    width: 10px;
    height: 10px;
    fill: none;
    stroke: var(--off-black);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transition: opacity var(--t-field);
}

.award-card.on .award-check svg {
    opacity: 1;
}

.award-text {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.3;
}

.award-card.on .award-text {
    color: var(--white);
}

/* Awards live sash preview (mirrors awards customizer preview style) */
.aw-live-preview-wrap {
    margin-top: 6px;
    background: var(--off-black);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-field);
    padding: 14px 12px;
}

.aw-live-preview-stage {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.aw-live-panel {
    width: 88px;
    border-radius: 3px 3px 8px 8px;
    overflow: hidden;
    box-shadow: 4px 10px 26px rgba(0, 0, 0, 0.55);
}

.aw-live-stripe {
    height: 14px;
    background:
        linear-gradient(
            180deg,
            #050505 0 18%,
            #1565c0 18% 34%,
            #e8e8e8 34% 46%,
            #1976d2 46% 62%,
            #d0d0d0 62% 72%,
            #0d47a1 72% 86%,
            #050505 86% 100%
        );
}

.aw-live-body {
    min-height: 170px;
    background: linear-gradient(180deg, #111 0%, #0a0a0a 60%, #080808 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 6px 10px;
}

.aw-live-logo-zone {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.aw-live-logo-zone img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 4px;
    display: none;
    background: #fff;
    padding: 2px;
}

.aw-live-logo-zone img.show {
    display: block;
}

.aw-live-logo-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px dashed rgba(250, 178, 2, 0.35);
    color: rgba(250, 178, 2, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.aw-live-divider {
    width: 100%;
    height: 8px;
    margin-bottom: 8px;
    background:
        linear-gradient(
            180deg,
            #050505 0 22%,
            #1565c0 22% 52%,
            #d8d8d8 52% 74%,
            #050505 74% 100%
        );
}

.aw-live-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.aw-live-text .word {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
}

/* Awards review preview (from awards customizer style) */
.aw-summary-preview-block {
    margin-bottom: 12px;
}

.aw-summary-stage {
    display: flex;
    justify-content: center;
    padding: 6px 0 2px;
}

.aw-summary-panels {
    display: flex;
    gap: 18px;
}

.aw-summary-panel {
    width: 104px;
    display: flex;
    flex-direction: column;
    border-radius: 2px 2px 6px 6px;
    overflow: hidden;
    box-shadow: 6px 12px 40px rgba(0, 0, 0, 0.65), -4px 0 14px rgba(0, 0, 0, 0.5);
}

.aw-summary-stripe-band {
    width: 100%;
    height: 16px;
    flex-shrink: 0;
    background:
        linear-gradient(
            180deg,
            #050505 0 16%,
            #1565c0 16% 33%,
            #e8e8e8 33% 45%,
            #1976d2 45% 62%,
            #d0d0d0 62% 72%,
            #0d47a1 72% 86%,
            #050505 86% 100%
        );
}

.aw-summary-panel-body {
    min-height: 300px;
    background: linear-gradient(180deg, #111 0%, #0a0a0a 60%, #080808 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
}

.aw-summary-logo-zone {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.aw-summary-logo-zone img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 0;
    display: none;
    background: rgba(255, 255, 255, 0.95);
    padding: 0;
}

.aw-summary-logo-zone img.show {
    display: block;
}

.aw-summary-logo-placeholder {
    width: 36px;
    height: 36px;
    border: 1.5px dashed rgba(250, 178, 2, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(250, 178, 2, 0.45);
    font-size: 16px;
    font-weight: 700;
}

.aw-summary-logo-divider {
    width: 100%;
    height: 8px;
    margin: 6px 0 8px;
    background:
        linear-gradient(
            180deg,
            #050505 0 24%,
            #1565c0 24% 54%,
            #d8d8d8 54% 76%,
            #050505 76% 100%
        );
}

.aw-summary-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 4px 6px;
    max-height: 180px;
    overflow: hidden;
}

.aw-summary-text .word {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    letter-spacing: 0.6px;
    line-height: 1;
}

/* Matriculation review preview (custom matriculation style) */
.mt-summary-preview-block {
    margin-bottom: 12px;
}

.mt-summary-stage {
    display: flex;
    justify-content: center;
    padding: 6px 0 2px;
}

.mt-summary-panels {
    display: flex;
    gap: 18px;
}

.mt-summary-panel {
    width: 96px;
    display: flex;
    flex-direction: column;
    border-radius: 2px 2px 6px 6px;
    overflow: hidden;
    box-shadow: 6px 12px 40px rgba(0, 0, 0, 0.7), -4px 0 14px rgba(0, 0, 0, 0.5);
}

.mt-summary-kente {
    width: 100%;
    height: 16px;
    flex-shrink: 0;
    background:
        linear-gradient(
            180deg,
            #1b6b1b 0 18%,
            #f5c000 18% 36%,
            #cc2200 36% 52%,
            #080808 52% 62%,
            #cc2200 62% 76%,
            #f5c000 76% 90%,
            #1b6b1b 90% 100%
        );
}

.mt-summary-kente--bottom {
    transform: rotate(180deg);
}

.mt-summary-body {
    min-height: 300px;
    background: linear-gradient(180deg, #111 0%, #0a0a0a 60%, #080808 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 8px;
}

.mt-summary-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    max-height: 272px;
    overflow: hidden;
}

.mt-summary-text .letter {
    display: block;
    width: 100%;
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: #fab202;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(250, 178, 2, 0.45), 0 1px 2px rgba(0, 0, 0, 0.9);
}

.mt-summary-fringe {
    display: flex;
    justify-content: center;
    gap: 2px;
    padding: 4px 6px 0;
    background: #0a0a0a;
}

.mt-summary-fringe span {
    width: 3px;
    height: 20px;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(180deg, #2a2a2a 0%, #151515 60%, #0a0a0a 100%);
}

/* Old-school review preview (mirrors old-school.html preview) */
.os-summary-preview-block {
    margin-bottom: 12px;
}

.os-summary-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0 6px;
}

.os-summary-bust-wrap {
    position: relative;
    width: 270px;
    height: 340px;
}

.os-summary-bust-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.os-summary-ribbon-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.os-summary-stole {
    position: absolute;
    top: 62px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 26px;
    align-items: flex-start;
}

.os-summary-panel {
    width: 68px;
    display: flex;
    flex-direction: column;
    border-radius: 2px 2px 6px 6px;
    overflow: visible;
    box-shadow: 4px 8px 24px rgba(0, 0, 0, 0.9), -2px 0 8px rgba(0, 0, 0, 0.5);
    position: relative;
    flex-shrink: 0;
}

.os-summary-ghana-band {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 100%;
    overflow: hidden;
}

.os-summary-gb-red {
    height: 8px;
    background: #ce1126;
}

.os-summary-gb-gold {
    height: 8px;
    background: #fcd116;
}

.os-summary-gb-green {
    height: 8px;
    background: #006b3f;
}

.os-summary-panel-section {
    background: #0e0e0e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.os-summary-panel-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0%, transparent 40%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
}

.os-summary-panel-logo-zone {
    height: 60px;
    padding: 6px;
}

.os-summary-panel-logo-zone img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    padding: 4px;
    border: 1px solid rgba(250, 178, 2, 0.55);
    position: relative;
    z-index: 1;
    display: none;
}

.os-summary-panel-logo-zone img.show {
    display: block;
}

.os-summary-logo-verse {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 8px;
    line-height: 1.15;
    color: #111;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    border: 1px solid rgba(250, 178, 2, 0.6);
    padding: 5px;
    font-weight: 700;
}

.os-summary-panel-text-zone {
    flex: 1;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 5px;
}

.os-summary-panel-horiz-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.os-summary-panel-horiz-text .line {
    font-family: "Playfair Display", serif;
    font-size: 10.5px;
    font-weight: 700;
    color: #fab202;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(250, 178, 2, 0.55), 0 1px 3px rgba(0, 0, 0, 0.9);
    text-align: center;
    line-height: 1.3;
    max-width: 72px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.os-summary-bible-verse {
    margin: 4px 0 8px;
    text-align: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    font-style: italic;
    line-height: 1.4;
}

.os-summary-panel-fringe {
    display: flex;
    gap: 2px;
    justify-content: center;
    padding: 3px 5px 0;
    background: #0e0e0e;
    border-radius: 0 0 5px 5px;
    flex-shrink: 0;
}

.os-summary-thread {
    width: 3px;
    height: 18px;
    background: linear-gradient(180deg, #fab202 0%, #c48a00 60%, #7a5500 100%);
    border-radius: 0 0 2px 2px;
    opacity: 0.9;
}

body.order-flow--pageantry .logo-gallery--adinkra,
body.order-flow--pageantry .logo-gallery--institution,
body.order-flow--pageantry .logo-divider,
body.order-flow--ushering .logo-gallery--adinkra,
body.order-flow--ushering .logo-gallery--institution,
body.order-flow--ushering .logo-divider,
body.order-flow--induction_handing_over .logo-gallery--adinkra,
body.order-flow--induction_handing_over .logo-gallery--institution,
body.order-flow--induction_handing_over .logo-divider,
body.order-flow--induction .logo-gallery--adinkra,
body.order-flow--induction .logo-gallery--institution,
body.order-flow--induction .logo-divider {
    display: none !important;
}

body.order-flow--birthday_adinkra .logo-gallery--institution,
body.order-flow--hospitality .logo-gallery--institution,
body.order-flow--birthday .logo-gallery--institution,
body.order-flow--akwaaba .logo-gallery--institution {
    display: none !important;
}

body.order-flow--birthday_adinkra .logo-divider--before-institution,
body.order-flow--hospitality .logo-divider--before-institution,
body.order-flow--birthday .logo-divider--before-institution,
body.order-flow--akwaaba .logo-divider--before-institution {
    display: none !important;
}

body.order-flow--matriculation .logos-section,
body.order-flow--matriculation #bible-verse-group,
body.order-flow--matriculation #bible-verse-logo-selection {
    display: none !important;
}

/* Matriculation inline form — match matriculation-sash.html */
#inscriptions-matriculation-block .mt-inline-shell {
    max-width: 860px;
    margin: 0 auto;
}

#inscriptions-matriculation-block .mt-sticky-actions {
    margin-top: 10px;
}

#inscriptions-matriculation-block .mt-step-page {
    display: none;
}

#inscriptions-matriculation-block .mt-step-page.active {
    display: block;
}

#inscriptions-matriculation-block .mt-section-card {
    background: #141414;
    border: 1px solid rgba(250, 178, 2, 0.22);
    border-radius: 14px;
    padding: 24px 18px;
    margin-bottom: 16px;
}

#inscriptions-matriculation-block .mt-section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fab202;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#inscriptions-matriculation-block .mt-section-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(250, 178, 2, 0.22);
}

#inscriptions-matriculation-block .mt-section-heading {
    font-family: "Playfair Display", serif;
    font-size: clamp(17px, 4vw, 21px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

#inscriptions-matriculation-block .mt-section-sub {
    font-size: 13px;
    color: #888;
    margin-bottom: 24px;
}

#inscriptions-matriculation-block .mt-field-group {
    margin-bottom: 20px;
}

#inscriptions-matriculation-block .mt-field-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}

#inscriptions-matriculation-block .mt-field-hint {
    font-size: 12px;
    color: #555;
    margin-top: 6px;
}

#inscriptions-matriculation-block .mt-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

#inscriptions-matriculation-block .mt-live-preview-bar {
    background: #1c1c1c;
    border: 1px solid rgba(250, 178, 2, 0.22);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#inscriptions-matriculation-block .mt-live-preview-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fab202;
    font-weight: 600;
    flex-shrink: 0;
}

#inscriptions-matriculation-block .mt-live-preview-label--right {
    margin-left: 8px;
}

#inscriptions-matriculation-block .mt-live-preview-text {
    font-family: "Playfair Display", serif;
    font-size: 15px;
    color: #fff;
    letter-spacing: 2px;
    word-break: break-all;
}

#inscriptions-matriculation-block .mt-same-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    cursor: pointer;
    user-select: none;
}

#inscriptions-matriculation-block .mt-same-toggle-box {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1c1c1c;
    transition: all .22s ease;
}

#inscriptions-matriculation-block .mt-same-toggle.on .mt-same-toggle-box {
    background: #fab202;
    border-color: #fab202;
}

#inscriptions-matriculation-block .mt-same-toggle-box svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: #0a0a0a;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transition: opacity .22s ease;
}

#inscriptions-matriculation-block .mt-same-toggle.on .mt-same-toggle-box svg {
    opacity: 1;
}

#inscriptions-matriculation-block .mt-same-toggle-label {
    font-size: 13.5px;
    color: #888;
}

#inscriptions-matriculation-block .mt-same-toggle.on .mt-same-toggle-label {
    color: #fff;
}

#inscriptions-matriculation-block .mt-location-toggle {
    display: flex;
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 14px;
    gap: 4px;
}

#inscriptions-matriculation-block .mt-loc-btn {
    flex: 1;
    background: none;
    border: none;
    border-radius: 7px;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 6px;
    cursor: pointer;
    transition: all .22s ease;
    text-align: center;
}

#inscriptions-matriculation-block .mt-loc-btn.active {
    background: #fab202;
    color: #0a0a0a;
    font-weight: 600;
}

#inscriptions-matriculation-block .mt-contact-field + .mt-contact-field {
    margin-top: 10px;
}

#inscriptions-matriculation-block .mt-divider {
    height: 1px;
    background: rgba(250, 178, 2, 0.22);
    margin: 22px 0;
}

#inscriptions-matriculation-block .mt-radio-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#inscriptions-matriculation-block .mt-radio-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1c1c1c;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all .22s ease;
    flex: 1;
    min-width: 120px;
    user-select: none;
}

#inscriptions-matriculation-block .mt-radio-card.on {
    border-color: #fab202;
    background: rgba(250, 178, 2, 0.13);
}

#inscriptions-matriculation-block .mt-radio-circle {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#inscriptions-matriculation-block .mt-radio-card.on .mt-radio-circle {
    background: #fab202;
    border-color: #fab202;
}

#inscriptions-matriculation-block .mt-radio-dot-inner {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0a0a0a;
    opacity: 0;
}

#inscriptions-matriculation-block .mt-radio-card.on .mt-radio-dot-inner {
    opacity: 1;
}

#inscriptions-matriculation-block .mt-radio-label {
    font-size: 14px;
    color: #888;
}

#inscriptions-matriculation-block .mt-radio-card.on .mt-radio-label {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 460px) {
    #inscriptions-matriculation-block .mt-two-col {
        grid-template-columns: 1fr;
    }
}

/* Old school inline form — match old-school.html */
#inscriptions-old-school-block .os-inline-shell {
    max-width: 860px;
    margin: 0 auto;
}

#inscriptions-old-school-block .os-step-page {
    display: none;
}

#inscriptions-old-school-block .os-step-page.active {
    display: block;
}

#inscriptions-old-school-block .os-section-card {
    background: #141414;
    border: 1px solid rgba(250, 178, 2, 0.22);
    border-radius: 14px;
    padding: 24px 18px;
    margin-bottom: 16px;
}

#inscriptions-old-school-block .os-section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fab202;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#inscriptions-old-school-block .os-section-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(250, 178, 2, 0.22);
}

#inscriptions-old-school-block .os-section-heading {
    font-family: "Playfair Display", serif;
    font-size: clamp(17px, 4vw, 21px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

#inscriptions-old-school-block .os-section-sub {
    font-size: 13px;
    color: #888;
    margin-bottom: 24px;
}

#inscriptions-old-school-block .os-field-group {
    margin-bottom: 20px;
}

#inscriptions-old-school-block .os-field-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}

#inscriptions-old-school-block .os-field-hint {
    font-size: 12px;
    color: #555;
    margin-top: 6px;
}

#inscriptions-old-school-block .os-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

#inscriptions-old-school-block .os-inscription-textarea {
    min-height: 110px;
    font-size: 14px;
}

#inscriptions-old-school-block .os-live-preview-bar {
    background: #141414;
    border: 1px solid rgba(250, 178, 2, 0.22);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

#inscriptions-old-school-block .os-live-preview-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fab202;
    font-weight: 600;
    flex-shrink: 0;
}

#inscriptions-old-school-block .os-live-preview-label--right {
    margin-left: 12px;
}

#inscriptions-old-school-block .os-live-preview-text {
    font-family: "Playfair Display", serif;
    font-size: 16px;
    color: #fff;
    letter-spacing: 2px;
}

#inscriptions-old-school-block .os-live-preview-text span {
    color: #fab202;
}

#inscriptions-old-school-block .os-panel-selector {
    display: flex;
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 14px;
    gap: 4px;
}

#inscriptions-old-school-block .os-panel-tab {
    flex: 1;
    background: none;
    border: none;
    border-radius: 7px;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 6px;
    cursor: pointer;
    transition: all .22s ease;
    text-align: center;
}

#inscriptions-old-school-block .os-panel-tab.active {
    background: #fab202;
    color: #0a0a0a;
    font-weight: 600;
}

#inscriptions-old-school-block .os-school-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

#inscriptions-old-school-block .os-school-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #1c1c1c;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 6px 9px;
    cursor: pointer;
    text-align: center;
    transition: border-color .22s ease, background .22s ease;
}

#inscriptions-old-school-block .os-school-card.on {
    border-color: #fab202;
    background: rgba(250, 178, 2, 0.13);
}

#inscriptions-old-school-block .os-school-logo-svg {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

#inscriptions-old-school-block .os-school-name {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #888;
    line-height: 1.3;
}

#inscriptions-old-school-block .os-school-abbr {
    font-size: 8px;
    color: #444;
    font-weight: 500;
}

#inscriptions-old-school-block .os-school-card.on .os-school-name {
    color: #fff;
}

#inscriptions-old-school-block .os-school-card.on .os-school-abbr {
    color: #fab202;
}

#inscriptions-old-school-block .os-selected-badge {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    background: #1c1c1c;
    border: 1px solid rgba(250, 178, 2, 0.22);
    border-radius: 10px;
    padding: 10px 13px;
}

#inscriptions-old-school-block .os-selected-badge.show {
    display: flex;
}

#inscriptions-old-school-block .os-selected-badge svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

#inscriptions-old-school-block .os-selected-badge-name {
    font-size: 13px;
    color: #fff;
    font-weight: 600;
}

#inscriptions-old-school-block .os-selected-badge-panel {
    font-size: 11px;
    color: #fab202;
    margin-top: 1px;
}

#inscriptions-old-school-block .os-crest-hint {
    margin-top: 10px;
}

#inscriptions-old-school-block .os-location-toggle {
    display: flex;
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 14px;
    gap: 4px;
}

#inscriptions-old-school-block .os-loc-btn {
    flex: 1;
    background: none;
    border: none;
    border-radius: 7px;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 6px;
    cursor: pointer;
    transition: all .22s ease;
    text-align: center;
}

#inscriptions-old-school-block .os-loc-btn.active {
    background: #fab202;
    color: #0a0a0a;
    font-weight: 600;
}

#inscriptions-old-school-block .os-contact-field + .os-contact-field {
    margin-top: 10px;
}

#inscriptions-old-school-block .os-divider {
    height: 1px;
    background: rgba(250, 178, 2, 0.22);
    margin: 22px 0;
}

#inscriptions-old-school-block .os-radio-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#inscriptions-old-school-block .os-radio-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1c1c1c;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all .22s ease;
    flex: 1;
    min-width: 120px;
}

#inscriptions-old-school-block .os-radio-card.on {
    border-color: #fab202;
    background: rgba(250, 178, 2, 0.13);
}

#inscriptions-old-school-block .os-radio-circle {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#inscriptions-old-school-block .os-radio-card.on .os-radio-circle {
    background: #fab202;
    border-color: #fab202;
}

#inscriptions-old-school-block .os-radio-dot-inner {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0a0a0a;
    opacity: 0;
}

#inscriptions-old-school-block .os-radio-card.on .os-radio-dot-inner {
    opacity: 1;
}

#inscriptions-old-school-block .os-radio-label {
    font-size: 14px;
    color: #888;
}

#inscriptions-old-school-block .os-radio-card.on .os-radio-label {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 460px) {
    #inscriptions-old-school-block .os-two-col {
        grid-template-columns: 1fr;
    }
    #inscriptions-old-school-block .os-school-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Birthday inline form — match birthday-sash.html */
#inscriptions-birthday-block .bd-inline-shell {
    max-width: 860px;
    margin: 0 auto;
}
#inscriptions-birthday-block .bd-step-page { display: none; }
#inscriptions-birthday-block .bd-step-page.active { display: block; }
#inscriptions-birthday-block .bd-section-card {
    background: #141414;
    border: 1px solid rgba(250, 178, 2, 0.22);
    border-radius: 14px;
    padding: 24px 18px;
    margin-bottom: 16px;
}
#inscriptions-birthday-block .bd-section-label {
    font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #fab202;
    margin-bottom: 4px; display: flex; align-items: center; gap: 8px;
}
#inscriptions-birthday-block .bd-section-label::after { content: ""; flex: 1; height: 1px; background: rgba(250, 178, 2, 0.22); }
#inscriptions-birthday-block .bd-section-heading { font-family: "Playfair Display", serif; font-size: clamp(17px, 4vw, 21px); font-weight: 600; color: #fff; margin-bottom: 4px; }
#inscriptions-birthday-block .bd-section-sub { font-size: 13px; color: #888; margin-bottom: 24px; }
#inscriptions-birthday-block .bd-field-group { margin-bottom: 20px; }
#inscriptions-birthday-block .bd-field-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #888; margin-bottom: 8px; }
#inscriptions-birthday-block .bd-field-hint { font-size: 12px; color: #555; margin-top: 6px; }
#inscriptions-birthday-block .bd-field-hint--lead { margin-bottom: 14px; margin-top: 0; }
#inscriptions-birthday-block .bd-panel-fixed {
    display: flex; align-items: center; gap: 12px; background: #1c1c1c; border: 1px solid rgba(250, 178, 2, 0.22);
    border-radius: 10px; padding: 13px 16px;
}
#inscriptions-birthday-block .bd-panel-fixed-text {
    font-size: 15px; font-weight: 700; color: #fab202; letter-spacing: 1px; font-family: "Playfair Display", serif;
}
#inscriptions-birthday-block .bd-panel-fixed-note { font-size: 11px; color: #888; margin-top: 2px; }
#inscriptions-birthday-block .bd-adinkra-accordion {
    border: 1.5px solid rgba(255, 255, 255, 0.08); border-radius: 10px; overflow: hidden; margin-bottom: 10px;
}
#inscriptions-birthday-block .bd-adinkra-accordion.has-selection { border-color: #fab202; }
#inscriptions-birthday-block .bd-adinkra-header {
    display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; cursor: pointer; background: #1c1c1c; gap: 10px;
}
#inscriptions-birthday-block .bd-adinkra-header.open { background: #1a1a14; }
#inscriptions-birthday-block .bd-adinkra-title-wrap { min-width: 0; }
#inscriptions-birthday-block .bd-adinkra-header-title { font-size: 13px; font-weight: 600; color: #fff; }
#inscriptions-birthday-block .bd-adinkra-header-sub { font-size: 11px; color: #888; margin-top: 1px; }
#inscriptions-birthday-block .bd-adinkra-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
#inscriptions-birthday-block .bd-adinkra-badge {
    font-size: 11px; background: rgba(250, 178, 2, 0.13); border: 1px solid rgba(250, 178, 2, 0.22); color: #fab202;
    border-radius: 50px; padding: 2px 9px;
}
#inscriptions-birthday-block .bd-adinkra-badge.hidden { display: none; }
#inscriptions-birthday-block .bd-adinkra-arrow { width: 16px; height: 16px; fill: none; stroke: #888; stroke-width: 2; transition: transform .22s ease; }
#inscriptions-birthday-block .bd-adinkra-header.open .bd-adinkra-arrow { transform: rotate(180deg); }
#inscriptions-birthday-block .bd-adinkra-body { display: none; padding: 14px; background: #141414; border-top: 1px solid rgba(255, 255, 255, 0.08); }
#inscriptions-birthday-block .bd-adinkra-body.open { display: block; }
#inscriptions-birthday-block .bd-adinkra-limit { font-size: 11px; color: #888; margin-bottom: 10px; }
#inscriptions-birthday-block .bd-symbol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#inscriptions-birthday-block .bd-symbol-card {
    display: flex; align-items: flex-start; gap: 10px; background: #1c1c1c; border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px; padding: 10px 12px; cursor: pointer;
}
#inscriptions-birthday-block .bd-symbol-card.on { border-color: #fab202; background: rgba(250, 178, 2, 0.13); }
#inscriptions-birthday-block .bd-symbol-check {
    width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.18); border-radius: 4px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
#inscriptions-birthday-block .bd-symbol-card.on .bd-symbol-check { background: #fab202; border-color: #fab202; }
#inscriptions-birthday-block .bd-symbol-check svg { width: 10px; height: 10px; fill: none; stroke: #0a0a0a; stroke-width: 2.5; opacity: 0; }
#inscriptions-birthday-block .bd-symbol-card.on .bd-symbol-check svg { opacity: 1; }
#inscriptions-birthday-block .bd-symbol-name { font-size: 13px; color: #888; font-weight: 600; line-height: 1.25; }
#inscriptions-birthday-block .bd-symbol-card.on .bd-symbol-name { color: #fff; }
#inscriptions-birthday-block .bd-symbol-meaning { font-size: 11px; color: #484848; line-height: 1.3; }
#inscriptions-birthday-block .bd-symbol-card.on .bd-symbol-meaning { color: rgba(250, 178, 2, 0.7); }
#inscriptions-birthday-block .bd-adinkra-error { font-size: 12px; color: #e74c3c; margin-top: 8px; display: none; }
#inscriptions-birthday-block .bd-adinkra-error.show { display: block; }
#inscriptions-birthday-block .bd-location-toggle {
    display: flex; background: #1c1c1c; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; padding: 4px; margin-bottom: 14px; gap: 4px;
}
#inscriptions-birthday-block .bd-loc-btn {
    flex: 1; background: none; border: none; border-radius: 7px; color: #888; font-size: 13px; font-weight: 500; padding: 9px 6px; cursor: pointer;
}
#inscriptions-birthday-block .bd-loc-btn.active { background: #fab202; color: #0a0a0a; font-weight: 600; }
#inscriptions-birthday-block .bd-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#inscriptions-birthday-block .bd-divider { height: 1px; background: rgba(250, 178, 2, 0.22); margin: 22px 0; }
#inscriptions-birthday-block .bd-radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
#inscriptions-birthday-block .bd-radio-card {
    display: flex; align-items: center; gap: 10px; background: #1c1c1c; border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px; padding: 12px 16px; cursor: pointer; flex: 1; min-width: 120px;
}
#inscriptions-birthday-block .bd-radio-card.on { border-color: #fab202; background: rgba(250, 178, 2, 0.13); }
#inscriptions-birthday-block .bd-radio-circle {
    width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.2); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
#inscriptions-birthday-block .bd-radio-card.on .bd-radio-circle { background: #fab202; border-color: #fab202; }
#inscriptions-birthday-block .bd-radio-dot-inner { width: 7px; height: 7px; background: #0a0a0a; border-radius: 50%; opacity: 0; }
#inscriptions-birthday-block .bd-radio-card.on .bd-radio-dot-inner { opacity: 1; }
#inscriptions-birthday-block .bd-radio-label { font-size: 14px; color: #888; }
#inscriptions-birthday-block .bd-radio-card.on .bd-radio-label { color: #fff; font-weight: 500; }
@media (max-width: 460px) {
    #inscriptions-birthday-block .bd-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    #inscriptions-birthday-block .bd-symbol-grid { grid-template-columns: 1fr; }
}

/* Birthday review preview */
.bd-summary-preview-block { margin-bottom: 12px; }
.bd-summary-stage { display: flex; justify-content: center; align-items: flex-start; padding: 10px 0 8px; }
.bd-summary-bust-wrap { position: relative; width: 300px; height: 520px; }
.bd-summary-bust-svg { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.bd-summary-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.bd-summary-stole-wrap { position: absolute; top: 50px; left: 50%; transform: translateX(-50%); display: flex; gap: 14px; align-items: flex-start; }
.bd-summary-stole-panel {
    width: 82px; display: flex; flex-direction: column; border-radius: 2px 2px 6px 6px; overflow: hidden;
    box-shadow: 6px 12px 40px rgba(0, 0, 0, 0.95), -4px 0 14px rgba(0, 0, 0, 0.7), inset 2px 0 6px rgba(255, 255, 255, 0.03);
}
.bd-summary-stripe-band { width: 100%; display: flex; flex-direction: column; flex-shrink: 0; }
.bd-summary-sb { width: 100%; }
.bd-summary-sb-blk { height: 5px; background: #050505; }
.bd-summary-sb-blue1 { height: 6px; background: #1565c0; }
.bd-summary-sb-wht { height: 5px; background: #e8e8e8; }
.bd-summary-sb-blue2 { height: 6px; background: #1976d2; }
.bd-summary-sb-wht2 { height: 4px; background: #d0d0d0; }
.bd-summary-sb-blue3 { height: 5px; background: #0d47a1; }
.bd-summary-sb-wht3 { height: 4px; background: #bebebe; }
.bd-summary-sb-blk2 { height: 5px; background: #050505; }
.bd-summary-stole-body {
    flex: 1; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; position: relative;
    overflow: hidden; padding-top: 10px; background: linear-gradient(180deg, #111 0%, #0a0a0a 60%, #080808 100%);
}
.bd-summary-stole-body::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none; z-index: 0;
}
.bd-summary-stole-text, .bd-summary-celebrant-text {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; position: relative; z-index: 1;
    width: 100%; padding: 4px 6px; max-height: 210px; overflow: hidden;
}
.bd-summary-stole-text .word, .bd-summary-celebrant-text .word {
    font-family: "DM Sans", sans-serif; font-size: 12px; font-weight: 700; color: #fff; text-transform: uppercase; line-height: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95); text-align: center; width: 100%; letter-spacing: 0.6px;
}
.bd-summary-stole-fringe { display: flex; gap: 2px; justify-content: center; padding: 5px 6px 0; background: #090909; flex-shrink: 0; }
.bd-summary-ft { width: 3px; height: 24px; background: linear-gradient(180deg, #222 0%, #0d0d0d 100%); border-radius: 0 0 2px 2px; opacity: 0.95; }

/* Induction review preview — handing-over modal style */
.ho-summary-preview-block { margin-bottom: 12px; }
.ho-summary-sash-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin: 0 auto 12px;
    max-width: 420px;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.ho-summary-sash-bg {
    width: 100%;
    min-height: 320px;
    background:
        radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 24%, rgba(0,0,0,0.45) 68%, rgba(0,0,0,0.7) 100%),
        linear-gradient(135deg, #2f2412 0%, #1f1b16 35%, #0f0f0f 70%, #080808 100%);
    background-size: cover;
    background-position: center top;
}
.ho-summary-overlay-left,
.ho-summary-overlay-right {
    position: absolute;
    bottom: 12%;
    font-family: "Playfair Display", serif;
    font-size: clamp(.75rem, 2.5vw, 1rem);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #e0e0e0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-shadow: 0 1px 8px rgba(0,0,0,.8);
}
.ho-summary-overlay-left { left: 14%; transform: rotate(180deg); }
.ho-summary-overlay-right { right: 14%; transform: rotate(0deg); }
.ho-summary-detail-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: .8rem;
    color: #9b9386;
    max-width: 420px;
    margin: 0 auto;
}
.ho-summary-detail-row span { display: flex; gap: 8px; align-items: baseline; }
.ho-summary-detail-row strong { color: #e8e4de; min-width: 96px; font-weight: 600; }

/* Pageantry / induction — inline flow (same steps as custom-forms, shop styling) */
.flow-inline-block {
    margin-bottom: 16px;
}

.flow-pattern-banner {
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-field);
    padding: 10px 16px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--gold);
}

.flow-pattern-banner[hidden] {
    display: none !important;
}

.flow-pattern-banner:not([hidden]) {
    display: flex;
}

.flow-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.flow-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    color: var(--muted);
}

.flow-check-item input {
    flex-shrink: 0;
}

.flow-substep-actions {
    margin-top: 4px;
}

/* —— Induction & handing over: card, portfolio chips, uploads, actions (aligned with pageantry) —— */
.flow-induction .ho-card {
    background: linear-gradient(165deg, rgba(28, 28, 28, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 22px 18px 0;
    margin-top: 4px;
}

.flow-induction .ho-step {
    padding-bottom: 8px;
}

.flow-induction .ho-step-head {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-subtle);
}

.flow-induction .ho-step-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.flow-induction .ho-step-title {
    font-family: var(--serif);
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.25;
}

.flow-induction .ho-step-lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 52ch;
}

.flow-induction .ho-help-tight {
    margin-top: 4px;
    margin-bottom: 12px;
}

.flow-induction .ho-label-spaced {
    margin-top: 14px;
}

.flow-induction .ho-role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
    gap: 10px;
    margin-bottom: 4px;
}

.flow-induction .ho-check-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    padding: 12px 13px;
    min-height: 48px;
    background: var(--dark);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-field);
    cursor: pointer;
    transition: border-color var(--t-field), background var(--t-field), box-shadow var(--t-field);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.flow-induction .ho-check-card:hover {
    border-color: rgba(250, 178, 2, 0.35);
    background: rgba(250, 178, 2, 0.04);
}

.flow-induction .ho-check-card:focus-within {
    outline: 2px solid rgba(250, 178, 2, 0.55);
    outline-offset: 2px;
}

.flow-induction .ho-check-card.ho-check-card--on,
.flow-induction .ho-check-card:has(.ho-role-cb:checked) {
    border-color: var(--gold);
    background: var(--gold-dim);
    box-shadow: 0 0 0 1px rgba(250, 178, 2, 0.12);
}

.flow-induction .ho-check-card .ho-role-cb {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    opacity: 0;
}

.flow-induction .ho-check-box {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1.5px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: border-color var(--t-field), background var(--t-field), color var(--t-field);
}

.flow-induction .ho-check-card.ho-check-card--on .ho-check-box,
.flow-induction .ho-check-card:has(.ho-role-cb:checked) .ho-check-box {
    border-color: var(--gold);
    background: rgba(250, 178, 2, 0.2);
    color: var(--gold);
}

.flow-induction .ho-check-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.3;
}

.flow-induction .ho-check-card.ho-check-card--on .ho-check-text,
.flow-induction .ho-check-card:has(.ho-role-cb:checked) .ho-check-text {
    color: #fff;
}

.flow-induction .ho-logo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
}

@media (max-width: 600px) {
    .flow-induction .ho-logo-row {
        grid-template-columns: 1fr;
    }
}

.flow-induction .ho-upload-block {
    position: relative;
}

.flow-induction .ho-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    opacity: 0;
}

.flow-induction .ho-upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 22px 14px;
    min-height: 128px;
    background: var(--dark);
    border: 1.5px dashed rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color var(--t-field), background var(--t-field), box-shadow var(--t-field);
}

.flow-induction .ho-upload-zone:hover {
    border-color: rgba(250, 178, 2, 0.45);
    background: rgba(250, 178, 2, 0.05);
    box-shadow: 0 0 0 3px var(--gold-dim);
}

.flow-induction .ho-upload-icon {
    color: var(--gold);
    opacity: 0.9;
}

.flow-induction .ho-upload-title {
    font-size: 15px;
    font-weight: 600;
    color: #eee;
}

.flow-induction .ho-upload-hint {
    font-size: 12px;
    color: #666;
}

.flow-induction .ho-upload-zone--pattern {
    min-height: 112px;
    padding: 20px 16px;
}

.flow-induction .ho-pattern-group {
    margin-top: 4px;
}

.flow-induction .ho-upload-preview-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
}

.flow-induction .ho-upload-preview-row img {
    max-height: 76px;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
}

.flow-induction .ho-contact-row,
.flow-induction .ho-delivery-row {
    align-items: flex-start;
}

.flow-induction .ho-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 20px 0 18px;
}

.flow-induction .ho-mfg-wrap.toggle-options-container {
    width: 100%;
}

.flow-induction .ho-actions {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
    margin-left: -18px;
    margin-right: -18px;
    padding: 18px 18px 22px;
    border-top: 1px solid var(--border-gold);
    background: linear-gradient(to top, rgba(11, 6, 0, 0.35) 0%, transparent 100%);
    border-radius: 0 0 13px 13px;
}

.flow-induction .ho-actions--split .btn-secondary,
.flow-induction .ho-actions--split .ho-btn-primary {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.flow-induction .ho-actions--split {
    justify-content: space-between;
    flex-wrap: wrap;
}

.flow-induction .ho-actions--split .btn-secondary {
    flex: 1 1 auto;
    min-width: min(100%, 140px);
}

.flow-induction .ho-actions--split .ho-btn-primary {
    flex: 1 1 auto;
    min-width: min(100%, 160px);
    min-height: 48px;
    font-weight: 600;
}

@media (min-width: 520px) {
    .flow-induction .ho-actions--split {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 14px;
    }
    .flow-induction .ho-actions--split .btn-secondary {
        flex: 0 0 auto;
        min-width: 120px;
        padding-left: 22px;
        padding-right: 22px;
    }
    .flow-induction .ho-actions--split .ho-btn-primary {
        flex: 0 1 auto;
        min-width: min(240px, 100%);
    }
}

@media (max-width: 519px) {
    .flow-induction .ho-actions--split {
        flex-direction: column-reverse;
    }
    .flow-induction .ho-actions--split .btn-secondary,
    .flow-induction .ho-actions--split .ho-btn-primary {
        width: 100%;
    }
}

/* —— Pageantry inline form: card, checkboxes, upload zone, actions —— */
.flow-pageantry .pg-card {
    background: linear-gradient(165deg, rgba(28, 28, 28, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 22px 18px 0;
    margin-top: 4px;
}

.flow-pageantry .pg-step {
    padding-bottom: 8px;
}

.flow-pageantry .pg-step-head {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-subtle);
}

.flow-pageantry .pg-step-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.flow-pageantry .pg-step-title {
    font-family: var(--serif);
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.25;
}

.flow-pageantry .pg-step-lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 52ch;
}

.flow-pageantry .pg-loc-group {
    margin-bottom: 4px;
}

.flow-pageantry .pg-loc-toggle {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.flow-pageantry .pg-loc-btn {
    flex: 1;
    min-width: 140px;
    padding: 12px 14px;
    border-radius: var(--radius-field);
    border: 1.5px solid var(--border-subtle);
    background: var(--dark);
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--t-field), background var(--t-field), color var(--t-field);
    -webkit-tap-highlight-color: transparent;
}

.flow-pageantry .pg-loc-btn:hover {
    border-color: rgba(250, 178, 2, 0.35);
    color: #fff;
}

.flow-pageantry .pg-loc-btn.active {
    border-color: var(--gold);
    background: var(--gold-dim);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(250, 178, 2, 0.12);
}

.flow-pageantry .pg-contact-field .form-help-text {
    margin-top: 8px;
}

.flow-pageantry .pg-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 20px 0 18px;
}

.flow-pageantry .pg-delivery-qty-row {
    align-items: flex-start;
}

.flow-pageantry .pg-label-spaced {
    margin-top: 14px;
}

.flow-pageantry .pg-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
    gap: 10px;
}

.flow-pageantry .pg-check-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    padding: 12px 13px;
    min-height: 48px;
    background: var(--dark);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-field);
    cursor: pointer;
    transition: border-color var(--t-field), background var(--t-field), box-shadow var(--t-field);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.flow-pageantry .pg-check-card:hover {
    border-color: rgba(250, 178, 2, 0.35);
    background: rgba(250, 178, 2, 0.04);
}

.flow-pageantry .pg-check-card:focus-within {
    outline: 2px solid rgba(250, 178, 2, 0.55);
    outline-offset: 2px;
}

.flow-pageantry .pg-check-card.pg-check-card--on,
.flow-pageantry .pg-check-card:has(.pg-title-cb:checked) {
    border-color: var(--gold);
    background: var(--gold-dim);
    box-shadow: 0 0 0 1px rgba(250, 178, 2, 0.12);
}

.flow-pageantry .pg-check-card .pg-title-cb {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    opacity: 0;
}

.flow-pageantry .pg-check-box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: border-color var(--t-field), background var(--t-field), color var(--t-field);
}

.flow-pageantry .pg-check-card.pg-check-card--on .pg-check-box,
.flow-pageantry .pg-check-card:has(.pg-title-cb:checked) .pg-check-box {
    border-color: var(--gold);
    background: var(--gold);
    color: #0b0600;
}

.flow-pageantry .pg-check-text {
    font-size: 14px;
    font-weight: 500;
    color: #e4e0da;
    line-height: 1.3;
}

.flow-pageantry .pg-check-card.pg-check-card--on .pg-check-text,
.flow-pageantry .pg-check-card:has(.pg-title-cb:checked) .pg-check-text {
    color: #fff;
}

.flow-pageantry .pg-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    opacity: 0;
}

.flow-pageantry .form-group:has(.pg-upload-zone) {
    position: relative;
}

.flow-pageantry .pg-upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 22px 16px;
    min-height: 132px;
    background: var(--dark);
    border: 1.5px dashed rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color var(--t-field), background var(--t-field), box-shadow var(--t-field);
}

.flow-pageantry .pg-upload-zone:hover {
    border-color: rgba(250, 178, 2, 0.45);
    background: rgba(250, 178, 2, 0.05);
    box-shadow: 0 0 0 3px var(--gold-dim);
}

.flow-pageantry .pg-upload-icon {
    color: var(--gold);
    opacity: 0.9;
}

.flow-pageantry .pg-upload-title {
    font-size: 15px;
    font-weight: 600;
    color: #eee;
}

.flow-pageantry .pg-upload-hint {
    font-size: 12px;
    color: #666;
}

.flow-pageantry .pg-logo-preview-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
}

.flow-pageantry .pg-logo-preview-row img {
    max-height: 76px;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
}

.flow-pageantry .pg-actions {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
    margin-left: -18px;
    margin-right: -18px;
    padding: 18px 18px 22px;
    border-top: 1px solid var(--border-gold);
    background: linear-gradient(to top, rgba(11, 6, 0, 0.35) 0%, transparent 100%);
    border-radius: 0 0 13px 13px;
}

.flow-pageantry .pg-actions--single {
    justify-content: stretch;
}

.flow-pageantry .pg-actions--single .pg-btn-primary {
    width: 100%;
    min-height: 50px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Override global .btn-secondary { width: 100% } so two buttons sit side-by-side */
.flow-pageantry .pg-actions--split .btn-secondary,
.flow-pageantry .pg-actions--split .pg-btn-primary {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.flow-pageantry .pg-actions--split {
    justify-content: space-between;
    flex-wrap: wrap;
}

.flow-pageantry .pg-actions--split .btn-secondary {
    flex: 1 1 auto;
    min-width: min(100%, 140px);
}

.flow-pageantry .pg-actions--split .pg-btn-primary {
    flex: 1 1 auto;
    min-width: min(100%, 160px);
    min-height: 48px;
    font-weight: 600;
}

@media (min-width: 520px) {
    .flow-pageantry .pg-actions--split {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 14px;
    }
    .flow-pageantry .pg-actions--split .btn-secondary {
        flex: 0 0 auto;
        min-width: 120px;
        padding-left: 22px;
        padding-right: 22px;
    }
    .flow-pageantry .pg-actions--split .pg-btn-primary {
        flex: 0 1 auto;
        min-width: min(220px, 100%);
    }
}

@media (max-width: 519px) {
    .flow-pageantry .pg-actions--split {
        flex-direction: column-reverse;
    }
    .flow-pageantry .pg-actions--split .btn-secondary,
    .flow-pageantry .pg-actions--split .pg-btn-primary {
        width: 100%;
    }
}

.flow-pageantry .pg-mfg-wrap.toggle-options-container {
    width: 100%;
}

.pageantry-pattern-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.pageantry-inscriptions-block {
    margin-bottom: 20px;
}

.pageantry-section-card {
    background: var(--off-black);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 22px 18px 24px;
}

.pageantry-section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pageantry-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-gold);
}

.pageantry-section-heading {
    font-family: var(--serif);
    font-size: clamp(18px, 4vw, 22px);
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.2;
}

.pageantry-section-sub {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 22px;
    line-height: 1.55;
}

.pageantry-field-group {
    margin-bottom: 20px;
}

.pageantry-field-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.pageantry-field-hint {
    font-size: 12px;
    color: #555;
    margin: 6px 0 0;
    line-height: 1.45;
}

.pageantry-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

@media (max-width: 420px) {
    .pageantry-checkbox-grid {
        grid-template-columns: 1fr;
    }
}

.pageantry-check-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--dark);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-field);
    padding: 12px 13px;
    cursor: pointer;
    transition: border-color var(--t-field), background var(--t-field);
    user-select: none;
}

.pageantry-check-card.on {
    border-color: var(--gold);
    background: var(--gold-dim);
}

.pageantry-check-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.pageantry-check-box {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 5px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-field);
}

.pageantry-check-card.on .pageantry-check-box {
    background: var(--gold);
    border-color: var(--gold);
}

.pageantry-check-box svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: #0b0600;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transition: opacity var(--t-field);
}

.pageantry-check-card.on .pageantry-check-box svg {
    opacity: 1;
}

.pageantry-check-text {
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 500;
}

.pageantry-check-card.on .pageantry-check-text {
    color: #e8e8e8;
}

.pageantry-other-title-input {
    margin-top: 4px;
}

.pageantry-upload-zone {
    border: 2px dashed rgba(250, 178, 2, 0.28);
    border-radius: 14px;
    padding: 26px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--t-field), background var(--t-field);
    background: var(--dark);
}

.pageantry-upload-zone:hover {
    border-color: var(--gold);
    background: var(--gold-dim);
}

.pageantry-upload-icon-wrap {
    width: 42px;
    height: 42px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: var(--gold);
}

.pageantry-upload-title {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.pageantry-upload-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 3px;
}

.pageantry-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    background: var(--dark);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-field);
    padding: 10px 13px;
}

.pageantry-logo-row-name {
    flex: 1;
    font-size: 12px;
    color: #fff;
    word-break: break-all;
}

.pageantry-logo-row-rm {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 17px;
    cursor: pointer;
    padding: 4px;
}

.pageantry-logo-row-rm:hover {
    color: #ff5a5a;
}

body.order-flow--pageantry #bible-verse-group,
body.order-flow--pageantry #bible-verse-logo-selection,
body.order-flow--ushering #bible-verse-group,
body.order-flow--ushering #bible-verse-logo-selection,
body.order-flow--induction_handing_over #bible-verse-group,
body.order-flow--induction_handing_over #bible-verse-logo-selection,
body.order-flow--induction #bible-verse-group,
body.order-flow--awards #bible-verse-group,
body.order-flow--awards #bible-verse-logo-selection,
body.order-flow--old_school #bible-verse-group,
body.order-flow--old_school #bible-verse-logo-selection,
body.order-flow--induction #bible-verse-logo-selection {
    display: none !important;
}

body.order-flow--pageantry #right-logo-column,
body.order-flow--ushering #right-logo-column {
    display: none !important;
}

body.order-flow--pageantry #left-logo-column > .form-label,
body.order-flow--ushering #left-logo-column > .form-label {
    display: none;
}

body.order-flow--pageantry #left-logo-column .logo-card,
body.order-flow--ushering #left-logo-column .logo-card {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body.order-flow--pageantry #left-logo-column .logo-preview,
body.order-flow--ushering #left-logo-column .logo-preview {
    display: none !important;
}

body.order-flow--pageantry .logos-section,
body.order-flow--ushering .logos-section {
    position: relative;
    min-height: 0;
}

/* Induction & handing over: both logos come from embedded form */
body.order-flow--induction_handing_over .logos-section,
body.order-flow--induction .logos-section {
    display: none !important;
}

/* —— Diagonal flows: live sash preview + collapsible summary (custom-forms parity) —— */
.flow-inline-sash-preview {
    margin: 8px 0 20px;
}

.flow-inline-sash-preview--end {
    margin-top: 20px;
    margin-bottom: 0;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
}

.flow-sash-preview-heading {
    font-family: var(--serif);
    font-size: clamp(1.05rem, 2.8vw, 1.25rem);
    font-weight: 700;
    color: var(--gold);
    text-align: center;
    margin: 0 0 12px;
}

.flow-sash-preview-note {
    text-align: center;
    font-size: 12px;
    color: #f3f3f3;
    background: rgba(250, 178, 2, 0.14);
    border: 1px solid rgba(250, 178, 2, 0.4);
    border-radius: 8px;
    padding: 8px 10px;
    margin: 6px 0 10px;
    line-height: 1.5;
}

.flow-pageantry .sash-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0 12px;
}

.flow-pageantry .bust-wrap {
    position: relative;
    width: min(260px, 92vw);
    height: min(320px, 112vw);
    max-height: 340px;
}

.flow-pageantry .bust-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.flow-pageantry .sash-ribbon-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flow-pageantry .sash-diagonal {
    position: absolute;
    top: 44px;
    left: -18px;
    width: 310px;
    height: 90px;
    max-width: 118%;
    transform: rotate(32deg);
    transform-origin: top left;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.flow-pageantry .sash-fabric {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.flow-pageantry .sash-stripe-top,
.flow-pageantry .sash-stripe-bottom {
    height: 9px;
    flex-shrink: 0;
    background: linear-gradient(90deg, #7a5500, var(--gold), #fdd060, var(--gold), #7a5500);
}

.flow-pageantry .sash-body-main {
    flex: 1;
    background: #0d0d0d;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.flow-pageantry .sash-body-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 40%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

.flow-pageantry .sash-logo-circle {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    background: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    display: none;
    z-index: 3;
}

.flow-pageantry .sash-logo-circle.show {
    display: block;
}

.flow-pageantry .sash-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    mix-blend-mode: normal;
}

.flow-pageantry .sash-text-area {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    z-index: 2;
    padding: 0 60px 0 16px;
}

.flow-pageantry .sash-text-area.has-logo {
    padding-left: 68px;
}

.flow-pageantry .sash-main-text {
    font-family: var(--serif);
    font-size: clamp(11px, 2.8vw, 13px);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(250, 178, 2, 0.5), 0 1px 2px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.2;
}

.flow-pageantry .sash-sub-text {
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 600;
    color: rgba(250, 178, 2, 0.85);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    max-width: 100%;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flow-pageantry .sash-kente-tail {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 68px;
    height: 100%;
    z-index: 4;
    overflow: hidden;
    border-radius: 0 4px 4px 0;
}

.flow-pageantry .kente-stripes {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.flow-pageantry .kente-stripe {
    flex: 1;
}

.flow-pageantry .kente-prestige .k1 { background: #FAB202; }
.flow-pageantry .kente-prestige .k2 { background: #1a1a1a; }
.flow-pageantry .kente-prestige .k3 { background: #FAB202; }
.flow-pageantry .kente-prestige .k4 { background: #555; }
.flow-pageantry .kente-prestige .k5 { background: #FAB202; }
.flow-pageantry .kente-prestige .k6 { background: #1a1a1a; }
.flow-pageantry .kente-prestige .k7 { background: #FAB202; }

.flow-pageantry .kente-kente .k1 { background: #FAB202; }
.flow-pageantry .kente-kente .k2 { background: #CC0000; }
.flow-pageantry .kente-kente .k3 { background: #006600; }
.flow-pageantry .kente-kente .k4 { background: #FAB202; }
.flow-pageantry .kente-kente .k5 { background: #003399; }
.flow-pageantry .kente-kente .k6 { background: #CC0000; }
.flow-pageantry .kente-kente .k7 { background: #FAB202; }

.flow-pageantry .kente-royal .k1 { background: #FAB202; }
.flow-pageantry .kente-royal .k2 { background: #2a0080; }
.flow-pageantry .kente-royal .k3 { background: #5500cc; }
.flow-pageantry .kente-royal .k4 { background: #FAB202; }
.flow-pageantry .kente-royal .k5 { background: #2a0080; }
.flow-pageantry .kente-royal .k6 { background: #8833ff; }
.flow-pageantry .kente-royal .k7 { background: #FAB202; }

.flow-pageantry .kente-heritage .k1 { background: #FAB202; }
.flow-pageantry .kente-heritage .k2 { background: #006600; }
.flow-pageantry .kente-heritage .k3 { background: #CC0000; }
.flow-pageantry .kente-heritage .k4 { background: #FAB202; }
.flow-pageantry .kente-heritage .k5 { background: #006600; }
.flow-pageantry .kente-heritage .k6 { background: #004400; }
.flow-pageantry .kente-heritage .k7 { background: #FAB202; }

.flow-pageantry .sash-fringe {
    position: absolute;
    right: -4px;
    bottom: -12px;
    width: 52px;
    display: flex;
    gap: 3px;
    justify-content: center;
    z-index: 5;
}

.flow-pageantry .fringe-thread {
    width: 3px;
    height: 14px;
    background: linear-gradient(180deg, #888, #444);
    border-radius: 2px;
    opacity: 0.7;
}

/* Collapsible order summary (key–value) */
.flow-pageantry .flow-diagonal-kv-summary {
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    background: rgba(28, 28, 28, 0.95);
    margin-bottom: 14px;
    overflow: hidden;
}

.flow-pageantry .flow-diagonal-kv-summary__btn {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #e0e0e0;
    user-select: none;
}

.flow-pageantry .flow-diagonal-kv-summary__btn::-webkit-details-marker {
    display: none;
}

.flow-pageantry .flow-diagonal-kv-summary__label {
    font-weight: 700;
    color: var(--gold);
}

.flow-pageantry .flow-diagonal-kv-summary__hint {
    font-size: 12px;
    color: var(--muted);
    flex: 1;
    text-align: right;
}

.flow-pageantry .flow-diagonal-kv-summary__chev {
    width: 18px;
    height: 18px;
    stroke: var(--muted);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    transition: transform var(--t-field);
}

.flow-pageantry .flow-diagonal-kv-summary[open] .flow-diagonal-kv-summary__chev {
    transform: rotate(180deg);
}

.flow-pageantry .flow-kv-summary-box {
    border-top: 1px solid var(--border-subtle);
    padding: 4px 0 12px;
}

.flow-pageantry .flow-kv-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 13px;
}

.flow-pageantry .flow-kv-row:last-child {
    border-bottom: none;
}

.flow-pageantry .flow-kv-key {
    color: var(--muted);
    flex-shrink: 0;
    min-width: 100px;
}

.flow-pageantry .flow-kv-val {
    color: #fff;
    text-align: right;
    font-weight: 500;
    word-break: break-word;
}

/* Flat form on Customize step (no accordion — preview lives on Review) */
.flow-pageantry .flow-diagonal-form-plain {
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(28, 28, 28, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    overflow: hidden;
}

.flow-pageantry .flow-diagonal-form-plain .pg-card {
    border: none;
    border-radius: 0;
    margin-top: 0;
}

.summary-diagonal-form-drawer-wrap {
    margin-bottom: 1.25rem;
}

.summary-order-details-wrap {
    margin-bottom: 30px;
}

/* Form in collapsible drawer (open by default) */
.flow-pageantry .flow-diagonal-form-drawer,
#summary-form .summary-order-details-drawer {
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(28, 28, 28, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    overflow: hidden;
}

.flow-pageantry .flow-diagonal-form-drawer__btn,
#summary-form .summary-order-details-drawer__btn {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #e0e0e0;
    user-select: none;
    border-bottom: 1px solid var(--border-subtle);
}

.flow-pageantry .flow-diagonal-form-drawer__btn::-webkit-details-marker,
#summary-form .summary-order-details-drawer__btn::-webkit-details-marker {
    display: none;
}

.flow-pageantry .flow-diagonal-form-drawer__label,
#summary-form .summary-order-details-drawer__label {
    font-weight: 600;
}

.flow-pageantry .flow-diagonal-form-drawer__chev,
#summary-form .summary-order-details-drawer__chev {
    width: 18px;
    height: 18px;
    stroke: var(--muted);
    fill: none;
    stroke-width: 2;
    transition: transform var(--t-field);
}

.flow-pageantry .flow-diagonal-form-drawer[open] .flow-diagonal-form-drawer__chev,
#summary-form .summary-order-details-drawer[open] .summary-order-details-drawer__chev {
    transform: rotate(180deg);
}

.flow-pageantry .flow-diagonal-form-drawer__inner,
#summary-form .summary-order-details-drawer__inner {
    padding: 0;
}

#summary-form .summary-order-details-drawer__inner .summary-content {
    border-radius: 0 0 12px 12px;
    margin-bottom: 0;
}

.flow-pageantry .flow-diagonal-form-drawer__inner .pg-card {
    border: none;
    border-radius: 0;
    margin-top: 0;
}


/* ---- Order menu + cart ---- */
.order-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
    padding: 10px clamp(14px, 4vw, 40px);
    background: rgba(11, 6, 0, 0.92);
    border-bottom: 1px solid var(--border-gold);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.order-menu__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    min-height: 44px;
}
.order-menu__brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-gold);
}
.order-menu__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.order-menu__brand-name {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gold);
}
.order-menu__brand-tag {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.order-menu__nav {
    display: flex;
    align-items: center;
}
.order-menu__cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    background: #1c1c1c;
    color: #f5f5f5;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.order-menu__cart:hover,
.order-menu__cart.is-active {
    border-color: var(--gold);
    background: rgba(250, 178, 2, 0.1);
    color: var(--gold);
}
.order-menu__cart-label {
    display: inline;
}
.order-menu__cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--gold);
    color: #111;
    font-size: 12px;
    font-weight: 800;
}
.order-menu__cart-count.is-empty {
    background: #3a3a3a;
    color: #bbb;
}
.step-actions--review,
.step-actions--cart {
    flex-wrap: wrap;
}
.step-actions--review .btn-secondary,
.step-actions--review .btn-primary,
.step-actions--cart .btn-secondary,
.step-actions--cart .btn-primary {
    flex: 1 1 auto;
    min-width: 120px;
}
.order-step--cart {
    border-color: rgba(250, 178, 2, 0.35);
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(250, 178, 2, 0.12), transparent 55%),
        var(--off-black);
}
.cart-hero {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-gold);
}
.cart-hero__eyebrow {
    margin: 0 0 6px;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}
.cart-hero__title {
    margin: 0 0 8px;
    font-family: var(--serif);
    font-weight: 900;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    color: var(--gold);
    line-height: 1.15;
}
.cart-hero__sub {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.5;
    max-width: 42rem;
}
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 8px 0 12px;
}
.cart-item {
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 0;
    background: #171717;
    color: #e8e8e8;
    overflow: hidden;
}
.cart-item__banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(90deg, rgba(250, 178, 2, 0.14), transparent 70%);
    border-bottom: 1px solid var(--border-subtle);
}
.cart-item__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--gold);
    color: #111;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.cart-item__title-wrap {
    flex: 1;
    min-width: 0;
}
.cart-item__title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0;
    color: #fff;
}
.cart-item__flow {
    margin: 2px 0 0;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.cart-item__body {
    padding: 14px 16px 16px;
    display: grid;
    gap: 14px;
}
.cart-item__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cart-item__thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    border: 1px solid var(--border-gold);
    background: #fff;
    object-fit: contain;
    padding: 4px;
}
.cart-item__thumb--pattern {
    width: 88px;
    object-fit: cover;
    background: #111;
}
.cart-item__details {
    display: grid;
    gap: 8px;
}
.cart-item__row {
    display: grid;
    grid-template-columns: minmax(96px, 34%) 1fr;
    gap: 8px 12px;
    align-items: start;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cart-item__row:last-child {
    border-bottom: none;
}
.cart-item__label {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.cart-item__value {
    color: #e8e8e8;
    font-size: 0.95rem;
    line-height: 1.4;
    word-break: break-word;
}
.cart-item__warn {
    margin: 0;
    color: #fca5a5;
    font-size: 0.85rem;
    line-height: 1.4;
}
.cart-item__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
}
.cart-item__qty {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-item__qty span {
    color: var(--muted);
    font-size: 0.85rem;
}
.cart-item__qty strong {
    min-width: 1.5rem;
    text-align: center;
}
.cart-item__qty button {
    min-width: 40px;
    min-height: 40px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: #2a2a2a;
    color: #e0e0e0;
    cursor: pointer;
}
.cart-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cart-item__edit,
.cart-item__remove {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
}
.cart-item__edit {
    border: 1px solid var(--border-gold);
    background: rgba(250, 178, 2, 0.12);
    color: var(--gold);
}
.cart-item__remove {
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: transparent;
    color: #fca5a5;
}
.cart-empty {
    margin: 12px 0 8px;
    padding: 36px 20px;
    text-align: center;
    border: 1px dashed var(--border-gold);
    border-radius: 14px;
    color: var(--muted);
    background: rgba(250, 178, 2, 0.04);
}
.cart-empty__icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 10px;
}
.cart-empty__title {
    margin: 0 0 8px;
    font-family: var(--serif);
    color: #fff;
    font-size: 1.35rem;
}
.cart-empty__text {
    margin: 0 auto;
    max-width: 28rem;
    line-height: 1.5;
}
@media (max-width: 520px) {
    .order-menu__cart-label {
        display: none;
    }
    .cart-item__row {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}


/* ── Mode chooser + Intelligent guide ── */
.mode-chooser {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.mode-chooser__kicker {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}
.mode-chooser__title {
    margin: 0 0 12px;
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
}
.mode-chooser__title em {
    font-style: italic;
    color: var(--gold);
}
.mode-chooser__lead {
    margin: 0 auto 28px;
    max-width: 34rem;
    color: rgba(255,255,255,0.62);
    font-size: 0.95rem;
    line-height: 1.55;
}
.mode-resume-banner {
    margin: 0 auto 20px;
    max-width: 34rem;
    padding: 14px 16px;
    text-align: left;
    border: 1px solid rgba(250,178,2,0.4);
    border-radius: 4px;
    background: rgba(250,178,2,0.08);
}
.mode-resume-banner__title {
    margin: 0 0 4px;
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
}
.mode-resume-banner__text {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: rgba(255,255,255,0.7);
}
.mode-chooser__restart {
    display: inline-flex;
    margin: 16px auto 0;
    padding: 10px 14px;
    border: none;
    background: none;
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.mode-chooser__restart:hover {
    color: var(--gold);
}
.mode-chooser__restart[hidden] {
    display: none !important;
}
.mode-chooser__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 720px) {
    .mode-chooser__grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}
.mode-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    min-height: 180px;
    padding: 22px 20px;
    border: 1px solid var(--border-gold);
    border-radius: 2px;
    background: #111;
    color: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.mode-card:hover,
.mode-card:focus-visible {
    border-color: var(--gold);
    background: rgba(250,178,2,0.06);
    outline: none;
}
.mode-card--guide {
    border-color: rgba(250,178,2,0.45);
}
.mode-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--gold);
    color: #111;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mode-card__title {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 700;
}
.mode-card__body {
    flex: 1;
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    line-height: 1.5;
}
.mode-card__cta {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
}
.mode-chooser__footnote {
    margin: 22px 0 0;
    color: rgba(255,255,255,0.4);
    font-size: 0.82rem;
}

/* Guide chat fills the visible viewport under the fixed menu; composer stays docked.
   Declare vh first, then dvh/svh so mobile browsers do not keep the large 100vh
   (URL-bar inflated) height that pushes the composer below the fold. */
body.guide-mode-active {
    overflow: hidden;
    overscroll-behavior: none;
    height: 100%;
    touch-action: manipulation;
}
body.guide-mode-active .order-container {
    max-width: none;
    padding: 0;
    padding-top: 58px;
    min-height: 0;
    height: calc(100vh - 0px);
    height: 100dvh;
    height: 100svh;
    max-height: 100dvh;
    max-height: 100svh;
    overflow: hidden;
    box-sizing: border-box;
}
.order-step--guide {
    padding: 0;
    padding-bottom: 0;
    overflow: hidden;
    display: none;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 14px;
}
.order-step--guide.active {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 58px);
    height: calc(100dvh - 58px);
    height: calc(100svh - 58px);
    max-height: calc(100vh - 58px);
    max-height: calc(100dvh - 58px);
    max-height: calc(100svh - 58px);
    min-height: 0;
    max-width: none;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
}
.guide-shell {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
}
.guide-shell__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-subtle);
}
.guide-shell__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.guide-shell__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(250,178,2,0.25);
}
.guide-shell__label {
    margin: 0;
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.guide-shell__hint {
    margin: 2px 0 0;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
}
.guide-shell__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.guide-shell__link {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 4px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.guide-shell__icon-btn {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    background: transparent;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}
.guide-shell__icon-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.guide-progress {
    display: none !important;
}
.guide-progress__chip {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}
.guide-progress__chip.is-done {
    color: rgba(255,255,255,0.75);
    border-color: rgba(250,178,2,0.35);
}
.guide-progress__chip.is-active {
    color: #111;
    background: var(--gold);
    border-color: var(--gold);
}
.guide-transcript {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 18px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    position: relative;
}
.guide-transcript::before {
    content: "";
    position: absolute;
    top: 34px;
    bottom: 24px;
    left: 29px;
    width: 2px;
    background: linear-gradient(
      180deg,
      rgba(250,178,2,0.55),
      rgba(255,255,255,0.12) 40%,
      rgba(255,255,255,0.06)
    );
    pointer-events: none;
    z-index: 0;
}
.guide-msg,
.guide-choices {
    position: relative;
    z-index: 1;
}
.guide-msg--user {
    /* user bubbles stay on the right; trail stays on guide side */
}
@media (prefers-reduced-motion: reduce) {
    .guide-transcript { scroll-behavior: auto; }
    .guide-msg,
    .guide-choices,
    .guide-choice {
        animation: none !important;
    }
}
@keyframes guide-msg-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes guide-msg-in-user {
    from {
        opacity: 0;
        transform: translateY(14px) translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}
@keyframes guide-choice-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.guide-msg {
    display: flex;
    gap: 10px;
    max-width: 92%;
    align-items: flex-end;
    animation: guide-msg-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
    will-change: opacity, transform;
}
.guide-msg--guide { align-self: flex-start; }
.guide-msg--user {
    align-self: flex-end;
    flex-direction: row-reverse;
    animation-name: guide-msg-in-user;
    animation-duration: 0.32s;
}
.guide-msg__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--gold);
}
.guide-msg--user .guide-msg__avatar {
    background: rgba(255,255,255,0.22);
}
.guide-msg__bubble {
    padding: 12px 14px;
    border-radius: 2px;
    font-size: 0.92rem;
    line-height: 1.45;
}
.guide-msg--guide .guide-msg__bubble {
    background: #1a1a1a;
    border: 1px solid var(--border-subtle);
    color: #eee;
}
.guide-msg--user .guide-msg__bubble {
    background: rgba(250,178,2,0.16);
    border: 1px solid rgba(250,178,2,0.35);
    color: #fff;
}
.guide-msg__attachment {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.guide-msg__attachment--image .guide-msg__thumb {
    display: block;
    width: min(220px, 62vw);
    max-height: 180px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(250,178,2,0.35);
    background: #0a0a0a;
}
.guide-msg__filename {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    word-break: break-all;
    line-height: 1.3;
}
.guide-msg__attachment--file {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.guide-msg__file-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 2px;
    border: 1px solid rgba(250,178,2,0.4);
    background:
      linear-gradient(135deg, rgba(250,178,2,0.25), rgba(250,178,2,0.05));
    position: relative;
}
.guide-msg__file-icon::after {
    content: "FILE";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--gold);
}
.guide-msg--user .guide-msg__bubble:has(.guide-msg__attachment--image) {
    padding: 8px;
}
.guide-msg__hint {
    display: block;
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255,255,255,0.55);
}
.guide-choice--detailed {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    max-width: 100%;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}
.guide-choice__label {
    display: block;
    font-weight: 600;
}
.guide-choice__detail {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(255,255,255,0.55);
    text-align: left;
}
.guide-choice--card .guide-choice__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
}
.guide-choice--card.guide-choice--detailed span:not(.guide-choice__text):not(.guide-choice__label):not(.guide-choice__detail) {
    padding: 0;
}
.guide-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    max-width: 100%;
    animation: guide-msg-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.guide-choice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--border-gold);
    border-radius: 2px;
    background: #111;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    animation: guide-choice-in 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.guide-choice:nth-child(1) { animation-delay: 0.04s; }
.guide-choice:nth-child(2) { animation-delay: 0.08s; }
.guide-choice:nth-child(3) { animation-delay: 0.12s; }
.guide-choice:nth-child(4) { animation-delay: 0.16s; }
.guide-choice:nth-child(5) { animation-delay: 0.2s; }
.guide-choice:nth-child(6) { animation-delay: 0.24s; }
.guide-choice:nth-child(7) { animation-delay: 0.28s; }
.guide-choice:nth-child(8) { animation-delay: 0.32s; }
.guide-choice:nth-child(n+9) { animation-delay: 0.36s; }
.guide-choice:hover,
.guide-choice:focus-visible {
    border-color: var(--gold);
    background: rgba(250,178,2,0.08);
    outline: none;
}
.guide-choice--card {
    flex-direction: column;
    align-items: stretch;
    width: calc(50% - 4px);
    min-width: 140px;
    padding: 0;
    overflow: hidden;
}
.guide-choice--card img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    display: block;
    background: #000;
}
.guide-choice--card > span,
.guide-choice--card .guide-choice__text {
    padding: 10px 12px;
}
.guide-choice--card .guide-choice__text {
    width: 100%;
}

/* Image picks (occasions, patterns): compact tile grid that stays tap-friendly on phones */
.guide-choices--tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin-top: 6px;
}
.guide-choices--tiles .guide-choice--card {
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0;
}
.guide-choices--tiles .guide-choice__media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0a0a0a;
}
.guide-choices--tiles .guide-choice--card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.guide-choices--tiles .guide-choice__text {
    padding: 8px 10px 10px;
    gap: 2px;
}
.guide-choices--tiles .guide-choice__label {
    font-size: 0.82rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.guide-choices--tiles .guide-choice__detail {
    font-size: 0.7rem;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.guide-choices--tiles > .guide-choice:not(.guide-choice--card) {
    grid-column: 1 / -1;
}
@media (min-width: 560px) {
    .guide-choices--tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}
@media (min-width: 900px) {
    .guide-choices--tiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 640px;
    }
}
.guide-review {
    border: 1px solid var(--border-gold);
    border-radius: 2px;
    padding: 14px;
    background: #121212;
    display: grid;
    gap: 8px;
}
.guide-review__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
}
.guide-review__row dt { color: rgba(255,255,255,0.45); margin: 0; }
.guide-review__row dd { margin: 0; color: #fff; text-align: right; font-weight: 600; }
.guide-review__row--media {
    align-items: flex-start;
}
.guide-review__row--media dd {
    text-align: right;
    font-weight: 500;
}
.guide-review__media {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    max-width: min(200px, 58vw);
}
.guide-review__thumb {
    display: block;
    width: min(160px, 52vw);
    max-height: 140px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(250,178,2,0.35);
    background: #0a0a0a;
}
.guide-review__caption {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    word-break: break-all;
    line-height: 1.3;
}
.guide-review__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    justify-content: flex-end;
}
.guide-composer {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border-subtle);
    background: #0f0f0f;
    position: sticky;
    bottom: 0;
    z-index: 5;
}
/* Phone browsers: pin composer to the visible bottom so tall choice cards
   cannot scroll it out of view when 100vh/dvh disagree with the chrome. */
@media (max-width: 900px) {
    body.guide-mode-active .guide-composer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        box-sizing: border-box;
        z-index: 40;
    }
    body.guide-mode-active .guide-transcript {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }
    body.guide-mode-active .whatsapp-float,
    body.guide-mode-active .fab-whatsapp,
    body.guide-mode-active a.whatsapp-float {
        display: none !important;
    }
}
.guide-composer__input {
    flex: 1;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    background: #181818;
    color: #fff;
    font-size: 0.95rem;
}
.guide-composer__input:focus {
    outline: none;
    border-color: var(--gold);
}
.guide-composer .guide-composer__send.btn-primary,
.guide-composer__send {
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    min-height: 44px;
    height: 44px;
    padding: 0 14px !important;
    font-size: 0.85rem !important;
    border-radius: 2px;
    box-shadow: none !important;
    transform: none !important;
}
.guide-composer.is-disabled .guide-composer__input,
.guide-composer.is-disabled .guide-composer__send {
    opacity: 0.45;
    pointer-events: none;
}
@media (max-width: 560px) {
    .guide-shell__link { display: none; }
    /* Keep non-tile image cards full-bleed; tile grids stay 2-up */
    .guide-choices:not(.guide-choices--tiles) .guide-choice--card { width: 100%; }
    .guide-shell__top { padding: 12px 14px; }
    .guide-progress { padding: 8px 14px; }
}



/* Guide symbol library: full-height bottom sheet on phones */
body.guide-sheet-open {
    overflow: hidden;
}
.guide-sheet {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
}
.guide-sheet.is-open {
    display: block;
}
.guide-sheet__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.62);
    cursor: pointer;
}
.guide-sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    background: #0f0f0f;
    border-top: 1px solid var(--border-subtle, rgba(255,255,255,0.12));
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    max-height: 100%;
    overflow: hidden;
}
.guide-sheet__grab {
    display: none;
}
.guide-sheet__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 8px;
    flex-shrink: 0;
}
.guide-sheet__kicker {
    margin: 0 0 2px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}
.guide-sheet__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}
.guide-sheet__close {
    flex-shrink: 0;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.18));
    border-radius: 2px;
    background: transparent;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}
.guide-sheet__close:hover,
.guide-sheet__close:focus-visible {
    border-color: var(--gold, #fab202);
    color: var(--gold, #fab202);
    outline: none;
}
.guide-sheet__search {
    padding: 4px 16px 12px;
    flex-shrink: 0;
}
.guide-sheet__search-input {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.18));
    border-radius: 2px;
    background: #181818;
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
}
.guide-sheet__search-input:focus {
    outline: none;
    border-color: var(--gold, #fab202);
}
.guide-sheet__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-content: start;
}
.guide-sheet__tile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.14));
    border-radius: 2px;
    background: #151515;
    color: #fff;
    cursor: pointer;
    text-align: left;
    min-height: 44px;
    overflow: hidden;
}
.guide-sheet__tile:hover,
.guide-sheet__tile:focus-visible {
    border-color: var(--gold, #fab202);
    outline: none;
}
.guide-sheet__tile-media {
    display: block;
    aspect-ratio: 1;
    background: #0a0a0a;
}
.guide-sheet__tile-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 8px;
    box-sizing: border-box;
}
.guide-sheet__tile-label {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 8px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
    color: rgba(255,255,255,0.88);
}
.guide-sheet__empty {
    margin: 0;
    padding: 8px 16px 24px;
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    flex-shrink: 0;
}
@media (min-width: 560px) {
    .guide-sheet__body {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }
}
@media (min-width: 768px) {
    .guide-sheet__panel {
        top: auto;
        left: 50%;
        right: auto;
        bottom: 4vh;
        width: min(560px, calc(100% - 32px));
        height: min(80vh, 720px);
        transform: translateX(-50%);
        border-radius: 10px;
        border: 1px solid var(--border-subtle, rgba(255,255,255,0.14));
        padding-top: 0;
    }
    .guide-sheet__grab {
        display: block;
        width: 36px;
        height: 4px;
        margin: 10px auto 0;
        border-radius: 999px;
        background: rgba(255,255,255,0.22);
        flex-shrink: 0;
    }
}

.guide-choices--revert {
    margin-top: 10px;
    padding-top: 4px;
}
.guide-choice--revert {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    width: 100%;
    border-color: rgba(255,255,255,0.18);
    background: transparent;
    color: rgba(255,255,255,0.82);
    font-weight: 600;
}
.guide-choice--revert:hover,
.guide-choice--revert:focus-visible {
    border-color: rgba(250,178,2,0.55);
    background: rgba(250,178,2,0.06);
    color: #fff;
}
.guide-choice--revert .guide-choice__detail {
    color: rgba(255,255,255,0.45);
}


.toggle-option-btn .toggle-option-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    line-height: 1.3;
}
.toggle-option-btn.active .toggle-option-hint {
    color: rgba(11,6,0,0.65);
}
