/* ============================================
   CONFIGURATEUR - CSS PREMIUM
   Design luxueux et moderne
   ============================================ */

/* Variables spécifiques configurateur */
:root {
    --config-bg: #f8f9fa;
    --config-panel-bg: #ffffff;
    --config-accent: #c9a227;
    --config-primary: #1a1a2e;
}

/* Page layout */
.configurator-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f5f0 0%, #eaeaea 100%);
}

/* Header Premium */
.config-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.config-logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    color: var(--config-primary);
}

.config-logo img {
    height: 40px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.config-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.config-header-actions .cart-btn {
    position: relative;
    background: var(--config-primary);
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.config-header-actions .cart-btn:hover {
    background: var(--config-accent);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

.config-header-actions .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--config-accent);
    color: var(--config-primary);
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Main layout : split view */
.configurator {
    display: grid;
    grid-template-columns: 1fr 440px;
    min-height: 100vh;
    padding-top: 70px;
}

@media (max-width: 1024px) {
    .configurator {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
}

/* Preview panel - Premium */
.config-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #2a2a3e 0%, #1a1a2e 50%, #0f0f1a 100%);
    padding: 3rem;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow: hidden;
}

.config-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(201, 162, 39, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

@media (max-width: 1024px) {
    .config-preview {
        position: relative;
        top: 0;
        height: auto;
        min-height: 350px;
        padding: 2rem;
    }
}

.preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.preview-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.625rem 1.25rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Plaque wrapper - Premium */
.plaque-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.plaque-preview {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 
        0 0 0 3px #1a1a1a,
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(201, 162, 39, 0.1);
    min-width: 520px;
    height: 110px;
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.plaque-preview:hover {
    transform: rotateX(2deg) rotateY(-2deg) scale(1.02);
    box-shadow: 
        0 0 0 3px #1a1a1a,
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(201, 162, 39, 0.15);
}

@media (max-width: 1024px) {
    .plaque-preview {
        min-width: auto;
        width: min(100%, 520px);
        max-width: 100%;
        height: auto;
        aspect-ratio: 4.727 / 1;
    }
}

/* Plaque bands - Style officiel FR Premium */
.plaque-band {
    width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.plaque-band-left {
    background: linear-gradient(180deg, #003da5 0%, #002d7a 100%);
    border-right: 1px solid #001a4d;
}

.plaque-band-right {
    background: linear-gradient(180deg, #003da5 0%, #002d7a 100%);
    border-left: 1px solid #001a4d;
}

.band-eu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    height: 100%;
    padding: 10px 0;
    gap: 6px;
}

.eu-stars {
    width: 28px;
    height: 28px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cercle d'étoiles EU Premium */
.eu-stars::before {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' fill='none'/%3E%3Cg fill='%23FFD700'%3E%3Cpolygon points='50,5 52,12 59,12 53,17 56,24 50,20 44,24 47,17 41,12 48,12' transform='rotate(0 50 50)'/%3E%3Cpolygon points='50,5 52,12 59,12 53,17 56,24 50,20 44,24 47,17 41,12 48,12' transform='rotate(30 50 50)'/%3E%3Cpolygon points='50,5 52,12 59,12 53,17 56,24 50,20 44,24 47,17 41,12 48,12' transform='rotate(60 50 50)'/%3E%3Cpolygon points='50,5 52,12 59,12 53,17 56,24 50,20 44,24 47,17 41,12 48,12' transform='rotate(90 50 50)'/%3E%3Cpolygon points='50,5 52,12 59,12 53,17 56,24 50,20 44,24 47,17 41,12 48,12' transform='rotate(120 50 50)'/%3E%3Cpolygon points='50,5 52,12 59,12 53,17 56,24 50,20 44,24 47,17 41,12 48,12' transform='rotate(150 50 50)'/%3E%3Cpolygon points='50,5 52,12 59,12 53,17 56,24 50,20 44,24 47,17 41,12 48,12' transform='rotate(180 50 50)'/%3E%3Cpolygon points='50,5 52,12 59,12 53,17 56,24 50,20 44,24 47,17 41,12 48,12' transform='rotate(210 50 50)'/%3E%3Cpolygon points='50,5 52,12 59,12 53,17 56,24 50,20 44,24 47,17 41,12 48,12' transform='rotate(240 50 50)'/%3E%3Cpolygon points='50,5 52,12 59,12 53,17 56,24 50,20 44,24 47,17 41,12 48,12' transform='rotate(270 50 50)'/%3E%3Cpolygon points='50,5 52,12 59,12 53,17 56,24 50,20 44,24 47,17 41,12 48,12' transform='rotate(300 50 50)'/%3E%3Cpolygon points='50,5 52,12 59,12 53,17 56,24 50,20 44,24 47,17 41,12 48,12' transform='rotate(330 50 50)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.eu-letter {
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.band-dept {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    height: 100%;
    padding: 8px 0;
    gap: 4px;
}

.dept-logo {
    width: 32px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    border-radius: 3px;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
    padding: 3px;
}

.dept-logo svg {
    width: 100%;
    height: 100%;
    display: block;
}

.dept-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.15);
}

.dept-num {
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Plaque content - Premium */
.plaque-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background: 
        linear-gradient(180deg, 
            #ffffff 0%, 
            #fafafa 30%, 
            #f5f5f5 70%, 
            #f0f0f0 100%);
    transition: background 0.3s;
    position: relative;
}

/* Effet texture réfléchissante premium */
.plaque-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 1px,
            rgba(0,0,0,0.01) 1px,
            rgba(0,0,0,0.01) 2px
        );
    pointer-events: none;
}

.plaque-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, transparent 100%);
    pointer-events: none;
}

.plaque-text {
    font-family: 'Oswald', sans-serif;
    font-size: 68px;
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 
        0 2px 0 rgba(255,255,255,0.5),
        0 -1px 0 rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}

.plaque-message {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

/* Plaque variants - Moto Premium */
.plaque-preview.moto {
    min-width: 210px;
    width: 210px;
    height: 130px;
    flex-direction: row !important;
}

.plaque-preview.moto .plaque-band {
    width: 28px !important;
    height: calc(100% - 12px) !important;
    margin-top: 6px;
    margin-bottom: 6px;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding-bottom: 12px;
    border-radius: 4px;
}

.plaque-preview.moto .plaque-band-left {
    margin-left: 6px;
    border-radius: 4px;
    border-right: none;
    border-bottom: none;
}

.plaque-preview.moto .plaque-band-right {
    margin-right: 6px;
    border-radius: 4px;
    border-left: none;
    border-top: none;
}

.plaque-preview.moto .band-eu,
.plaque-preview.moto .band-dept {
    flex-direction: column;
    gap: 4px;
    padding: 8px 2px;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.plaque-preview.moto .eu-stars {
    width: 20px;
    height: 20px;
}

.plaque-preview.moto .eu-stars::before {
    width: 18px;
    height: 18px;
}

.plaque-preview.moto .eu-letter {
    font-size: 13px;
}

.plaque-preview.moto .dept-logo {
    width: 20px;
    height: 24px;
}

.plaque-preview.moto .dept-num {
    font-size: 11px;
}

.plaque-preview.moto .plaque-content {
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.plaque-preview.moto .plaque-text {
    font-size: 30px;
    letter-spacing: 1px;
    line-height: 1.15;
    white-space: pre-line;
    text-align: center;
}

.plaque-preview.moto .plaque-message {
    font-size: 8px;
    margin-top: 3px;
}

/* Colors Premium */
.plaque-preview.bg-white .plaque-content { 
    background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%); 
}
.plaque-preview.bg-black .plaque-content { 
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%); 
}
.plaque-preview.bg-black .plaque-text { color: #fff; }
.plaque-preview.bg-black .plaque-message { color: #888; }
.plaque-preview.bg-yellow .plaque-content { 
    background: linear-gradient(180deg, #f5c518 0%, #e5b508 100%); 
}
.plaque-preview.bg-blue .plaque-content { 
    background: linear-gradient(180deg, #003da5 0%, #002d7a 100%); 
}
.plaque-preview.bg-blue .plaque-text { color: #fff; }
.plaque-preview.bg-blue .plaque-message { color: #aaa; }
.plaque-preview.bg-red .plaque-content { 
    background: linear-gradient(180deg, #cc0000 0%, #aa0000 100%); 
}
.plaque-preview.bg-red .plaque-text { color: #fff; }
.plaque-preview.bg-red .plaque-message { color: #fcc; }

/* Effects Premium */
.plaque-preview.effect-carbon .plaque-content {
    background-image: 
        linear-gradient(45deg, rgba(0,0,0,0.04) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0,0,0,0.04) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(0,0,0,0.04) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(0,0,0,0.04) 75%);
    background-size: 4px 4px;
}

.plaque-preview.effect-glossy .plaque-content::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 50%);
    pointer-events: none;
}

/* Bands visibility */
.plaque-preview.bands-left .plaque-band-right { display: none; }
.plaque-preview.bands-right .plaque-band-left { display: none; }
.plaque-preview.bands-none .plaque-band { display: none; }

/* Options panel - Premium */
.config-options {
    background: #fff;
    padding: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
}

.options-header {
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, var(--config-primary) 0%, #16213e 100%);
    color: #fff;
}

.options-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.options-header p {
    font-size: 0.875rem;
    opacity: 0.7;
}

.options-body {
    flex: 1;
    padding: 1.5rem 2rem;
    overflow-y: auto;
}

/* Option sections Premium */
.option-section {
    margin-bottom: 2rem;
}

.option-section:last-child {
    margin-bottom: 0;
}

.option-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.option-label svg {
    width: 16px;
    height: 16px;
    color: var(--config-accent);
}

/* Type selector Premium */
.type-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    padding: 1.25rem 0.75rem;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.type-btn.active {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(201, 162, 39, 0.05) 100%);
    border-color: var(--config-accent);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.2);
}

.type-btn svg {
    width: 32px;
    height: 32px;
    color: #64748b;
    transition: all 0.3s ease;
}

.type-btn.active svg {
    color: var(--config-accent);
}

.type-btn span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.type-btn.active span {
    color: var(--config-primary);
}

/* Input Premium */
.input-group {
    position: relative;
}

.input-field {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.input-field:focus {
    border-color: var(--config-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}

.input-field::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.input-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Department preview Premium */
.dept-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f0f0 100%);
    border-radius: 12px;
    margin-top: 0.75rem;
    border: 1px solid #e2e8f0;
}

.dept-preview-logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003da5 0%, #002d7a 100%);
    border-radius: 8px;
    overflow: hidden;
    padding: 4px;
    box-shadow: 0 4px 10px rgba(0, 61, 165, 0.3);
}

.dept-preview-logo svg {
    width: 100%;
    height: 100%;
}

.dept-preview-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}

.dept-preview-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--config-primary);
}

/* Color swatches Premium */
.color-swatches {
    display: flex;
    gap: 0.75rem;
}

.color-swatch {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-swatch::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active::after {
    border-color: var(--config-accent);
}

.color-swatch.active {
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

.color-swatch[data-color="white"] { background: linear-gradient(135deg, #fff, #f0f0f0); border: 1px solid #e2e8f0; }
.color-swatch[data-color="black"] { background: linear-gradient(135deg, #2a2a2a, #1a1a1a); }
.color-swatch[data-color="yellow"] { background: linear-gradient(135deg, #f5c518, #e5b508); }
.color-swatch[data-color="blue"] { background: linear-gradient(135deg, #003da5, #002d7a); }
.color-swatch[data-color="red"] { background: linear-gradient(135deg, #cc0000, #aa0000); }

/* Toggle Premium */
.toggle-group {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.toggle-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    color: var(--config-primary);
}

.toggle-btn.active {
    background: #fff;
    color: var(--config-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Quantity Premium */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: none;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--config-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: var(--config-accent);
    color: var(--config-primary);
    transform: scale(1.05);
}

.qty-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--config-primary);
    min-width: 40px;
    text-align: center;
}

/* Footer Premium */
.options-footer {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.price-label {
    font-size: 0.9rem;
    color: #64748b;
}

.price-value {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--config-primary);
}

.add-to-cart-btn {
    width: 100%;
    padding: 1.125rem;
    background: linear-gradient(135deg, var(--config-primary) 0%, #16213e 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.3), transparent);
    transition: left 0.5s;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, var(--config-accent) 0%, #d4af37 100%);
    color: var(--config-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.4);
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

/* Deco options visibility */
.deco-only {
    display: none;
}

.show-deco-options .deco-only {
    display: block;
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .config-header {
        padding: 0.75rem 1rem;
    }
    
    .configurator {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
    
    .config-preview {
        position: relative;
        top: 0;
        height: auto;
        min-height: 300px;
        padding: 2rem 1rem;
    }
    
    .plaque-preview {
        min-width: 100%;
        max-width: 480px;
        height: 100px;
    }
    
    .plaque-text {
        font-size: 52px;
    }
    
    .options-body {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .plaque-preview {
        min-width: 100%;
        height: 90px;
    }
    
    .plaque-text {
        font-size: 40px;
        letter-spacing: 2px;
    }
    
    .plaque-band {
        width: 38px;
    }
    
    .type-selector {
        grid-template-columns: 1fr;
    }
}
