/* ═══ Rose&Fly Pétales — Frontend ═══ */
:root { --rfp-primary: #8B1A3A; --rfp-primary-dark: #5C1228; --rfp-primary-light: #A93255; --rfp-rose: #D4848F; --rfp-rose-light: #EABFC5; --rfp-rose-pale: #F8EBF0; --rfp-powder: #FDF5F7; --rfp-gold: #C9A84C; --rfp-text: #2D1F24; --rfp-text-mid: #5C4650; --rfp-text-light: #8B7580; --rfp-text-muted: #B0A0A8; --rfp-border: #F0E4E8; --rfp-success: #4A8B5C; --rfp-success-bg: #EBF5EE; --rfp-warning: #D4882C; --rfp-warning-bg: #FFF8EE; --rfp-error: #C44; --rfp-error-bg: #FFF5F5; --rfp-radius: 16px; --rfp-shadow: 0 2px 12px rgba(100,30,50,.06); --rose-poudre:#e8a4b8; }

/* ═══ ASTRA / WOOCOMMERCE OVERRIDES ═══ */
.woocommerce-account .ast-site-preloader, .woocommerce-account #ast-site-preloader, body.woocommerce-account .ast-site-preloader { display: none !important; opacity: 0 !important; visibility: hidden !important; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .ast-woocommerce-MyAccount-navigation, body .woocommerce-MyAccount-navigation { background: #fff !important; border: 1px solid var(--rfp-border) !important; border-radius: var(--rfp-radius) !important; padding: 0 !important; overflow: hidden !important; box-shadow: var(--rfp-shadow) !important; float: none !important; width: 220px !important; min-width: 220px !important; flex-shrink: 0 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li { margin: 0 !important; padding: 0 !important; border-bottom: 1px solid var(--rfp-border) !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child { border-bottom: none !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a { display: block !important; padding: 13px 18px !important; color: var(--rfp-text-mid) !important; font-size: 13px !important; font-weight: 400 !important; text-decoration: none !important; border-left: 3px solid transparent !important; transition: all .2s ease !important; background: transparent !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover { background: var(--rfp-powder) !important; color: var(--rfp-primary) !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation ul li a:active { background: var(--rfp-rose-pale) !important; color: var(--rfp-primary) !important; font-weight: 600 !important; border-left-color: var(--rfp-primary) !important; }
.woocommerce-account .woocommerce-MyAccount-content, body .woocommerce-MyAccount-content { float: none !important; width: auto !important; flex: 1 !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important; }
.woocommerce-account .woocommerce, .woocommerce-account .entry-content > .woocommerce { display: flex !important; gap: 24px !important; align-items: flex-start !important; max-width: 1100px !important; margin: 0 auto !important; }
.woocommerce-account .woocommerce-MyAccount-content > p:first-child { display: none !important; }
.woocommerce-account .rfp-btn, .woocommerce-account .rfp-btn:hover, .woocommerce-account .rfp-btn:visited { text-decoration: none !important; box-shadow: none !important; line-height: 1.4 !important; }
.woocommerce-account .woocommerce-orders-table { border-radius: var(--rfp-radius) !important; overflow: hidden !important; border: 1px solid var(--rfp-border) !important; }
.woocommerce-account .entry-content { padding: 0 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li, .woocommerce-account .woocommerce-MyAccount-navigation ul li a { background-color: transparent !important; }
.rfp-account-header { width: 100% !important; margin-bottom: 20px !important; box-sizing: border-box !important; }
.woocommerce-account .woocommerce { flex-wrap: wrap !important; }
.rfp-account-header { flex-basis: 100% !important; }
.ast-wooaccount-user-wrapper{display:none!important;}

/* ─── Account Header ─── */
.rfp-account-header { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--rfp-border); border-radius: var(--rfp-radius); padding: 14px 20px; margin-bottom: 20px; box-shadow: var(--rfp-shadow); }
.rfp-account-user { display: flex; align-items: center; gap: 12px; }
.rfp-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--rfp-primary), var(--rfp-primary-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; }
.rfp-user-name { font-size: 15px; font-weight: 600; color: var(--rfp-text); display: block; }
.rfp-user-level { font-size: 12px; color: var(--rfp-text-muted); }
.rfp-petales-badge { display: flex; align-items: center; gap: 6px; background: var(--rfp-rose-pale); border-radius: 20px; padding: 6px 14px; }
.rfp-petal-icon { font-size: 16px; }
.rfp-petales-count { font-size: 16px; font-weight: 700; color: var(--rfp-primary); }
.rfp-petales-label { font-size: 12px; color: var(--rfp-text-light); }
.rfp-petales-euros { font-size: 11px; color: var(--rfp-text-muted); }

/* ─── Cards ─── */
.rfp-card { background: #fff; border: 1px solid var(--rfp-border); border-radius: var(--rfp-radius); padding: 22px; margin-bottom: 18px; box-shadow: var(--rfp-shadow); position: relative; }
.rfp-card-subtle { background: var(--rfp-powder); }
.rfp-card-title { margin: 0 0 16px; font-size: 16px; font-weight: 600; color: var(--rfp-text); }
.rfp-card-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.rfp-card-title-row .rfp-card-title { margin-bottom: 0; }
.rfp-dismiss { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 20px; color: var(--rfp-text-muted); cursor: pointer; }

/* ─── Badge ─── */
.rfp-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--rfp-primary); background: var(--rfp-rose-pale); border-radius: 20px; padding: 3px 10px; }
.rfp-badge-gold { background: var(--rfp-gold); color: #fff; }
.rfp-badge-success { background: var(--rfp-success-bg); color: var(--rfp-success); }

/* ─── Hero ─── */
.rfp-hero { background: linear-gradient(135deg, var(--rfp-primary), var(--rfp-primary-dark) 60%, var(--rfp-primary)); border-radius: 20px; padding: 26px 24px 22px; color: #fff; margin-bottom: 18px; }
.rfp-hero-inner { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.rfp-hero-label { font-size: 12px; opacity: .6; text-transform: uppercase; letter-spacing: 1.5px; }
.rfp-hero-count { font-size: 42px; font-weight: 300; letter-spacing: -1px; margin-top: 2px; }
.rfp-hero-euros { font-size: 12px; opacity: .5; }
.rfp-hero-multiplier { background: rgba(255,255,255,.1); border-radius: 12px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.08); text-align: center; }
.rfp-mult-label { font-size: 10px; opacity: .6; }
.rfp-mult-value { font-size: 20px; font-weight: 700; color: #E8D48B; }
.rfp-hero-progress { background: rgba(255,255,255,.07); border-radius: 14px; padding: 14px 16px; }
.rfp-progress-labels { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }

/* ─── Progress bar ─── */
.rfp-progress-bar { width: 100%; height: 6px; border-radius: 6px; background: var(--rfp-rose-pale); overflow: hidden; }
.rfp-progress-lg { height: 8px; }
.rfp-progress-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--rfp-primary), var(--rfp-primary-light)); transition: width 1s ease; }
.rfp-hero .rfp-progress-bar { background: rgba(255,255,255,.15); }
.rfp-hero .rfp-progress-fill { background: linear-gradient(90deg, #E8D48B, #C9A84C); }
.rfp-progress-remaining { font-size: 10px; opacity: .45; margin-top: 5px; text-align: right; }

/* ─── Stats grid ─── */
.rfp-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.rfp-stats-2col { grid-template-columns: repeat(2, 1fr); }
.rfp-stat-card { background: #fff; border-radius: 14px; padding: 14px 10px; border: 1px solid var(--rfp-border); text-align: center; box-shadow: var(--rfp-shadow); }
.rfp-stat-icon { font-size: 18px; margin-bottom: 4px; }
.rfp-stat-value { font-size: 22px; font-weight: 700; color: var(--rfp-primary); }
.rfp-stat-label { font-size: 11px; color: var(--rfp-text-muted); }

/* ─── Missions ─── */
.rfp-mission { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rfp-border); }
.rfp-mission:last-child { border-bottom: none; }
.rfp-mission-done { opacity: .4; }
.rfp-mission-icon { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--rfp-rose-pale); font-size: 14px; flex-shrink: 0; }
.rfp-mission-icon-done { background: var(--rfp-success-bg); color: var(--rfp-success); }
.rfp-mission-label { flex: 1; font-size: 13px; font-weight: 500; color: var(--rfp-text); }
.rfp-mission-done .rfp-mission-label { text-decoration: line-through; }
.rfp-mission-pts { font-size: 12px; font-weight: 700; color: var(--rfp-primary); display: flex; align-items: center; gap: 3px; }
.rfp-petal-icon-sm { font-size: 11px; }

/* ─── History ─── */
.rfp-history-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rfp-border); }
.rfp-history-item:last-child { border-bottom: none; }
.rfp-history-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--rfp-rose-pale); font-size: 15px; flex-shrink: 0; }
.rfp-history-debit { background: var(--rfp-error-bg); }
.rfp-history-info { flex: 1; }
.rfp-history-desc { font-size: 13px; font-weight: 500; color: var(--rfp-text); }
.rfp-history-date { font-size: 11px; color: var(--rfp-text-muted); }
.rfp-history-amount { font-size: 14px; font-weight: 700; }
.rfp-positive { color: var(--rfp-success); }
.rfp-negative { color: var(--rfp-error); }

/* ─── Check-in ─── */
.rfp-checkin { text-align: center; padding: 16px; }
.rfp-checkin-done { background: var(--rfp-success-bg); color: var(--rfp-success); font-weight: 500; font-size: 14px; }

/* ─── Buttons ─── */
.rfp-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 12px; font-size: 14px; font-weight: 500; cursor: pointer; border: none; transition: opacity .2s; text-decoration: none; }
.rfp-btn:hover { opacity: .85; }
.rfp-btn-primary { background: var(--rfp-primary); color: #fff; }
.rfp-btn-outline { background: #fff; color: var(--rfp-primary); border: 1px solid var(--rfp-rose-light); }
.rfp-btn-danger { background: var(--rfp-error); color: #fff; }
.rfp-btn-danger-outline { background: none; color: var(--rfp-error); border: 1px solid rgba(204,68,68,.2); }
.rfp-btn-danger-text { background: none; color: var(--rfp-error); border: none; padding: 4px 8px; font-size: 12px; }
.rfp-btn-sm { padding: 6px 14px; font-size: 12px; border-radius: 8px; }
.rfp-btn-secondary { background: var(--rfp-rose-pale); color: var(--rfp-primary); }

/* ─── Alerts ─── */
.rfp-alert { display: flex; align-items: center; gap: 10px; border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; font-size: 13px; }
.rfp-alert-success { background: var(--rfp-success-bg); border: 1px solid rgba(74,139,92,.1); color: var(--rfp-text-mid); }
.rfp-alert-warning { background: var(--rfp-warning-bg); border: 1px solid rgba(212,136,44,.1); color: var(--rfp-text-mid); }

/* ─── Toggle ─── */
.rfp-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.rfp-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.rfp-toggle input { opacity: 0; width: 0; height: 0; }
.rfp-toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: var(--rfp-border); border-radius: 12px; transition: .2s; }
.rfp-toggle-slider:before { content: ''; position: absolute; height: 20px; width: 20px; left: 2px; bottom: 2px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.rfp-toggle input:checked + .rfp-toggle-slider { background: var(--rfp-success); }
.rfp-toggle input:checked + .rfp-toggle-slider:before { transform: translateX(20px); }

/* ─── Tiers ─── */
.rfp-tiers-grid { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.rfp-tier { min-width: 110px; border-radius: var(--rfp-radius); padding: 18px 14px; text-align: center; position: relative; flex-shrink: 0; }
.rfp-tier-available { border: 2px solid var(--rfp-primary); background: var(--rfp-rose-pale); }
.rfp-tier-locked { border: 2px solid var(--rfp-border); background: var(--rfp-powder); opacity: .5; }
.rfp-tier-value { font-size: 24px; font-weight: 700; color: var(--rfp-primary); }
.rfp-tier-cost { font-size: 11px; color: var(--rfp-text-muted); margin-top: 4px; }
.rfp-tier-bonus-tag { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); background: var(--rfp-gold); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 8px; white-space: nowrap; }

/* ─── Levels ─── */
.rfp-level { border-radius: 14px; padding: 14px 16px; margin-bottom: 8px; }
.rfp-level:last-child { margin-bottom: 0; }
.rfp-level-current { background: linear-gradient(135deg, var(--rfp-primary), var(--rfp-primary-light)); color: #fff; }
.rfp-level-past { background: var(--rfp-rose-pale); border: 1px solid var(--rfp-rose); }
.rfp-level-future { background: var(--rfp-powder); border: 1px solid var(--rfp-border); }
.rfp-level-header { display: flex; justify-content: space-between; align-items: center; }
.rfp-level-name { display: flex; align-items: center; gap: 10px; }
.rfp-level-emoji { font-size: 22px; }
.rfp-level-threshold { font-size: 11px; opacity: .65; display: block; }
.rfp-level-mult { font-size: 18px; font-weight: 700; }
.rfp-level-current .rfp-level-mult { color: #E8D48B; }
.rfp-level-completed { font-size: 11px; color: var(--rfp-success); margin-top: 6px; }

/* ─── Referral ─── */
.rfp-referral-link { display: flex; gap: 8px; margin: 12px 0; }
.rfp-referral-link .rfp-input { flex: 1; font-family: monospace; font-size: 12px; }
.rfp-referral-stats { display: flex; gap: 16px; font-size: 13px; color: var(--rfp-text-light); }

/* ─── Sessions ─── */
.rfp-session-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rfp-border); }
.rfp-session-row:last-child { border-bottom: none; }
.rfp-session-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--rfp-powder); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.rfp-session-current { background: var(--rfp-success-bg); }
.rfp-session-info { flex: 1; }
.rfp-session-device { font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px; }

/* ─── Forms ─── */
.rfp-input { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--rfp-rose-light); font-size: 13px; color: var(--rfp-text); background: var(--rfp-powder); outline: none; box-sizing: border-box; }
.rfp-input:focus { border-color: var(--rfp-primary); }
.rfp-divider { border: none; border-top: 1px solid var(--rfp-border); margin: 0; }

/* ─── Reviews extras ─── */
.rfp-review-login-prompt { background: var(--rfp-rose-pale); border-radius: var(--rfp-radius); padding: 22px; text-align: center; margin-bottom: 20px; }
.rfp-review-login-prompt .rfp-review-login-icon { font-size: 32px; margin-bottom: 8px; }
.rfp-review-incentive { background: var(--rfp-rose-pale); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-size: 13px; }
.rfp-review-extras { margin-top: 14px; }
.rfp-review-upload-row { display: flex; gap: 8px; margin-bottom: 10px; }
.rfp-upload-btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 14px; border-radius: 10px; border: 1.5px dashed var(--rfp-rose-light); background: var(--rfp-powder); color: var(--rfp-text-light); font-size: 12px; cursor: pointer; }
.rfp-upload-btn .rfp-bonus { color: var(--rfp-primary); font-weight: 700; }
.rfp-upload-btn .rfp-upload-hint { font-size: 10px; color: var(--rfp-text-muted); }
.rfp-review-estimate { background: var(--rfp-rose-pale); border-radius: 12px; padding: 10px 14px; font-size: 13px; margin-top: 10px; }
.rfp-already-reviewed { color: var(--rfp-success); font-weight: 500; }
.rfp-verified-notice { display: flex; gap: 10px; align-items: center; background: var(--rfp-warning-bg); border: 1px solid rgba(212,136,44,.1); }
.rfp-shield-icon { font-size: 22px; flex-shrink: 0; }
.rfp-review-media { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.rfp-review-photo img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.rfp-review-video { max-width: 300px; border-radius: 8px; }

/* ─── Pending reviews ─── */
.rfp-pending-review { padding: 14px 0; border-bottom: 1px solid var(--rfp-border); }
.rfp-pending-review:last-child { border-bottom: none; }
.rfp-pending-product { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.rfp-pending-img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.rfp-pending-placeholder { background: var(--rfp-rose-pale); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.rfp-pending-info { flex: 1; }
.rfp-pending-name { font-size: 14px; font-weight: 500; color: var(--rfp-text); }
.rfp-pending-date { font-size: 12px; color: var(--rfp-text-muted); }

/* ─── Guide ─── */
.rfp-guide-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--rfp-border); font-size: 13px; }
.rfp-guide-item:last-child { border-bottom: none; }
.rfp-guide-item strong { color: var(--rfp-primary); }

/* ─── Modal ─── */
.rfp-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); z-index: 99999; display: flex; align-items: center; justify-content: center; }
.rfp-modal-content { background: #fff; border-radius: 20px; padding: 30px; max-width: 400px; width: 90%; text-align: center; position: relative; }
.rfp-modal-danger { border: 2px solid var(--rfp-error); }
.rfp-modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--rfp-text-muted); }
.rfp-modal-icon { font-size: 40px; margin-bottom: 10px; }
.rfp-modal-actions { display: flex; gap: 10px; margin-top: 16px; }
.rfp-modal-actions .rfp-btn { flex: 1; justify-content: center; }
.rfp-coupon-code { font-size: 24px; font-weight: 700; color: var(--rfp-primary); font-family: monospace; background: var(--rfp-rose-pale); border-radius: 12px; padding: 12px; margin: 12px 0; }

/* ─── GDPR ─── */
.rfp-gdpr-actions { display: flex; flex-direction: column; gap: 8px; }

/* ─── Checkout incentive ─── */
.rfp-checkout-incentive { background: var(--rfp-rose-pale); border-radius: 12px; padding: 14px 18px; margin-bottom: 16px; font-size: 14px; border: 1px solid var(--rfp-rose-light); }
.rfp-checkout-coupons { background: var(--rfp-rose-pale); border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; }
.rfp-coupon-notice { margin: 0 0 8px; font-size: 14px; }
.rfp-coupon-list { display: flex; gap: 8px; flex-wrap: wrap; }
.rfp-coupon-chip { background: #fff; border-radius: 10px; padding: 8px 12px; font-size: 13px; border: 1px solid var(--rfp-rose-light); display: flex; align-items: center; gap: 8px; }
.rfp-apply-coupon { background: var(--rfp-primary); color: #fff; border: none; border-radius: 6px; padding: 3px 10px; font-size: 11px; cursor: pointer; }

/* ─── Misc ─── */
.rfp-text-muted { color: var(--rfp-text-muted); }
.rfp-text-light { color: var(--rfp-text-light); }
.rfp-text-sm { font-size: 12px; }
.rfp-text-primary { color: var(--rfp-primary); }
.rfp-empty { color: var(--rfp-text-muted); font-style: italic; text-align: center; padding: 20px; }
.rfp-migration-banner { background: linear-gradient(135deg, rgba(201,168,76,.15), var(--rfp-rose-pale)); border: 1.5px solid rgba(201,168,76,.2); }
.rfp-levelup-notice { text-align: center; background: linear-gradient(135deg, var(--rfp-rose-pale), rgba(201,168,76,.15)); }
.rfp-levelup-emoji { font-size: 48px; }

/* ─── Coupons page — Ticket style ─── */
.rfp-coupons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 18px; }

.rfp-ticket { position: relative; border-radius: 16px; overflow: visible; box-shadow: 0 4px 20px rgba(139,26,58,.08); }
.rfp-ticket-active { background: linear-gradient(160deg, #fff 0%, var(--rfp-powder) 100%); border: 1.5px solid var(--rfp-rose-light); }

/* Notches — round cutouts on each side */
.rfp-ticket-notch { position: absolute; width: 20px; height: 20px; background: #f7f0f2; border-radius: 50%; z-index: 2; }
.rfp-ticket-notch-left { left: -11px; border: 1.5px solid var(--rfp-rose-light); border-left: none; }
.rfp-ticket-notch-right { right: -11px; border: 1.5px solid var(--rfp-rose-light); border-right: none; }
/* Position notches at the tear line — set via JS or fixed % */
.rfp-ticket-notch { top: calc(100% - 68px); }

/* Header */
.rfp-ticket-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 0; }
.rfp-ticket-brand { font-size: 12px; font-weight: 700; color: var(--rfp-primary); letter-spacing: .5px; text-transform: uppercase; }
.rfp-ticket-expiry { font-size: 10px; color: var(--rfp-text-muted); background: var(--rfp-rose-pale); padding: 2px 8px; border-radius: 6px; }

/* Body — the big amount */
.rfp-ticket-body { text-align: center; padding: 20px 18px 16px; }
.rfp-ticket-amount { font-size: 52px; font-weight: 800; color: var(--rfp-primary); line-height: 1; letter-spacing: -2px; }
.rfp-ticket-amount sup { font-size: 24px; font-weight: 600; vertical-align: super; letter-spacing: 0; }
.rfp-ticket-label { font-size: 13px; color: var(--rfp-text-light); margin-top: 4px; font-weight: 500; }

/* Tear line — dashed separator */
.rfp-ticket-tear { border: none; border-top: 2px dashed var(--rfp-rose-light); margin: 0 18px; }

/* Footer — code */
.rfp-ticket-footer { padding: 14px 18px 16px; text-align: center; }
.rfp-ticket-code { display: inline-flex; align-items: center; gap: 8px; background: var(--rfp-rose-pale); border-radius: 10px; padding: 8px 16px; cursor: pointer; transition: all .2s; position: relative; border: 1.5px dashed var(--rfp-rose); }
.rfp-ticket-code:hover { background: var(--rfp-rose-light); border-style: solid; transform: translateY(-1px); }
.rfp-ticket-code-text { font-family: 'Courier New', monospace; font-size: 15px; font-weight: 700; color: var(--rfp-primary); letter-spacing: 1px; }
.rfp-ticket-code-copy { font-size: 11px; color: var(--rfp-text-light); }
.rfp-ticket-code-copied { display: none; font-size: 11px; color: var(--rfp-success); font-weight: 600; }
.rfp-ticket-code.rfp-copied .rfp-ticket-code-copy { display: none; }
.rfp-ticket-code.rfp-copied .rfp-ticket-code-copied { display: inline; }
.rfp-ticket-code.rfp-copied { background: var(--rfp-success-bg); border-color: var(--rfp-success); }

/* History rows */
.rfp-coupon-history-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rfp-border); }
.rfp-coupon-history-row:last-child { border-bottom: none; }
.rfp-coupon-history-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--rfp-powder); font-size: 15px; flex-shrink: 0; }
.rfp-coupon-history-info { flex: 1; }
.rfp-coupon-history-value { font-size: 13px; font-weight: 600; color: var(--rfp-text); }
.rfp-coupon-history-date { font-size: 11px; color: var(--rfp-text-muted); }
.rfp-coupon-status-badge { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 8px; flex-shrink: 0; }
.rfp-badge-used { background: var(--rfp-success-bg); color: var(--rfp-success); }
.rfp-badge-expired { background: var(--rfp-error-bg); color: var(--rfp-error); }

@media (max-width: 600px) { .rfp-coupons-grid { grid-template-columns: 1fr; } }

@media (max-width: 480px) {
    .rfp-coupon-row { flex-direction: column-reverse; }
    .rfp-coupon-right { padding: 12px 16px; min-width: 0; justify-content: flex-start; }
    .rfp-coupon-value { font-size: 24px; }
}

/* ─── Profile fields (Mon profil WooCommerce) ─── */
.rfp-profile-section { border: none; border-radius: 20px; padding: 36px 32px; margin: 32px 0; background: linear-gradient(160deg, #fff 0%, var(--rfp-powder) 100%); box-shadow: 0 4px 24px rgba(139,26,58,.05); border: 1px solid var(--rfp-rose-light); }
.rfp-profile-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--rfp-border); }
.rfp-profile-header-icon { font-size: 32px; flex-shrink: 0; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--rfp-rose-pale); border-radius: 14px; }
.rfp-profile-header-title { font-size: 19px; color: var(--rfp-text); display: block; margin-bottom: 4px; letter-spacing: -0.3px; }
.rfp-profile-header-sub { font-size: 14px; color: var(--rfp-text-light); margin: 0; line-height: 1.5; }
.rfp-profile-field { margin-bottom: 28px; padding: 20px 24px; background: #fff; border-radius: 16px; border: 1px solid var(--rfp-border); }
.rfp-profile-field:last-child { margin-bottom: 0; }
.rfp-profile-label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--rfp-text); margin-bottom: 4px; }

.anniversary { display: flex; justify-content: space-around; }

.rf-title-sep { display: flex; align-items: center; width: 100%; margin-bottom: 16px; }
.rf-title-sep__line { flex: 1; height: 1px; background: var(--rose-poudre); opacity: .6; }
.rf-title-sep__heart { flex: 0 0 auto; width: 18px; height: 18px; margin: 0 14px; }
.rf-title-sep__heart svg { width: 100%; height: 100%; display: block; }

.rfp-profile-field-hint { font-size: 13px; color: var(--rfp-text-muted); margin: 0 0 14px; line-height: 1.4; }
.rfp-profile-pts { font-size: 11px; font-weight: 600; color: var(--rfp-success); background: var(--rfp-success-bg); padding: 3px 10px; border-radius: 10px; }
.rfp-profile-pts-pending { font-size: 11px; font-weight: 600; color: var(--rfp-primary); background: var(--rfp-rose-pale); padding: 3px 10px; border-radius: 10px; }
.rfp-profile-date { padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--rfp-rose-light); background: var(--rfp-powder); font-size: 14px; color: var(--rfp-text); max-width: 240px; width: 100%; box-sizing: border-box; transition: border-color .2s; }
.rfp-profile-date:focus { border-color: var(--rfp-primary); outline: none; background: #fff; }
.rfp-interests-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.rfp-interest-chip { display: inline-flex; align-items: center; gap: 4px; padding: 10px 18px; border-radius: 24px; border: 1.5px solid var(--rfp-rose-light); background: var(--rfp-powder); font-size: 13px; font-weight: 500; color: var(--rfp-text-mid); cursor: pointer; transition: all .2s ease; user-select: none; }
.rfp-interest-chip input[type="checkbox"], .rfp-interest-chip input[type="radio"] { display: none; }
.rfp-interest-chip:hover { border-color: var(--rfp-primary); background: var(--rfp-rose-pale); color: var(--rfp-primary); transform: translateY(-1px); }
.rfp-interest-chip.rfp-interest-active, .rfp-interest-chip:has(input:checked) { background: var(--rfp-primary); color: #fff; border-color: var(--rfp-primary); box-shadow: 0 2px 8px rgba(139,26,58,.2); }
.rfp-gender-chips { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 600px) {
    .rfp-profile-section { padding: 24px 18px; }
    .rfp-profile-field { padding: 16px 18px; }
    .rfp-profile-header { flex-direction: column; gap: 10px; }
}

/* ═══ RESPONSIVE — Burger nav ═══ */
.rfp-myaccount-nav-toggle { display: none; }
.woocommerce-account .woocommerce.rfp-nav-open .woocommerce-MyAccount-navigation { display: block !important; }

@media (max-width: 880px) {
  .woocommerce-account .woocommerce, .woocommerce-account .entry-content > .woocommerce { display: flex !important; flex-direction: column !important; gap: 14px !important; align-items: stretch !important; max-width: 1100px !important; margin: 0 auto !important; }
  .woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .ast-woocommerce-MyAccount-navigation, body .woocommerce-MyAccount-navigation { width: 100% !important; min-width: 0 !important; flex: 0 0 auto !important; border-radius: var(--rfp-radius) !important; }
  .woocommerce-account .woocommerce-MyAccount-content, body .woocommerce-MyAccount-content { width: 100% !important; flex: 1 1 auto !important; }
  .rfp-myaccount-nav-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; background: #fff; border: 1px solid var(--rfp-border); border-radius: var(--rfp-radius); padding: 12px 16px; box-shadow: var(--rfp-shadow); cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
  .rfp-myaccount-nav-toggle .rfp-nav-label { display: flex; flex-direction: column; gap: 2px; }
  .rfp-myaccount-nav-toggle .rfp-nav-title { font-size: 13px; font-weight: 600; color: var(--rfp-text); line-height: 1.2; }
  .rfp-myaccount-nav-toggle .rfp-nav-subtitle { font-size: 11px; color: var(--rfp-text-muted); line-height: 1.2; }
  .rfp-myaccount-nav-toggle .rfp-nav-icon { width: 38px; height: 38px; border-radius: 12px; background: var(--rfp-powder); border: 1px solid var(--rfp-border); display: flex; align-items: center; justify-content: center; color: var(--rfp-primary); flex: 0 0 auto; }
  .rfp-myaccount-nav-toggle .rfp-burger { width: 16px; height: 12px; position: relative; display: inline-block; }
  .rfp-myaccount-nav-toggle .rfp-burger span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .18s ease, top .18s ease, opacity .18s ease; }
  .rfp-myaccount-nav-toggle .rfp-burger span:nth-child(1) { top: 0; }
  .rfp-myaccount-nav-toggle .rfp-burger span:nth-child(2) { top: 5px; }
  .rfp-myaccount-nav-toggle .rfp-burger span:nth-child(3) { top: 10px; }
  .woocommerce-account .woocommerce-MyAccount-navigation { display: none !important; }
  .woocommerce-account .woocommerce.rfp-nav-open .rfp-myaccount-nav-toggle { border-color: var(--rfp-rose-light); background: var(--rfp-powder); }
  .woocommerce-account .woocommerce.rfp-nav-open .rfp-burger span:nth-child(1) { top: 5px; transform: rotate(45deg); }
  .woocommerce-account .woocommerce.rfp-nav-open .rfp-burger span:nth-child(2) { opacity: 0; }
  .woocommerce-account .woocommerce.rfp-nav-open .rfp-burger span:nth-child(3) { top: 5px; transform: rotate(-45deg); }
  .woocommerce-account .woocommerce-MyAccount-navigation ul li a { padding: 12px 16px !important; font-size: 13px !important; }
}

@media (max-width: 600px) {
  .rfp-account-header { flex-direction: column; gap: 10px; align-items: flex-start; }
  .rfp-hero-inner { flex-direction: column; gap: 12px; }
  .rfp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .rfp-hero-count { font-size: 32px; }
  .rfp-tiers-grid { flex-wrap: nowrap; }
  .rfp-referral-link { flex-direction: column; }
}

/* Force mobile mode when JS adds .rfp-nav-mobile */
.woocommerce-account .woocommerce.rfp-nav-mobile .rfp-myaccount-nav-toggle { display: flex !important; }
.woocommerce-account .woocommerce.rfp-nav-mobile .woocommerce-MyAccount-navigation { display: none !important; }
.woocommerce-account .woocommerce.rfp-nav-mobile.rfp-nav-open .woocommerce-MyAccount-navigation { display: block !important; }
.woocommerce-account .woocommerce.rfp-nav-mobile, .woocommerce-account .entry-content > .woocommerce.rfp-nav-mobile { flex-direction: column !important; align-items: stretch !important; gap: 14px !important; }
.woocommerce-account .woocommerce.rfp-nav-mobile .woocommerce-MyAccount-navigation { width: 100% !important; min-width: 0 !important; }
.woocommerce-account .woocommerce.rfp-nav-mobile .woocommerce-MyAccount-content { width: 100% !important; }