/* ==========================================================================
   TICKETCROCIERE PWA - MASTER CSS
   ========================================================================== */

/* --- FONTS & RESET --- */
@font-face {
    font-family: "Fira Sans Extra Condensed";
    font-style: normal;
    font-display: swap;
    font-weight: 300;
    src: local('FiraSansExtraCondensed-Light'), url("../font/FiraSansExtraCondensed-Light-AxqB3dJ.woff2") format('woff2');
}

@font-face {
    font-family: "Fira Sans Extra Condensed";
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: local('FiraSansExtraCondensed-Bold'), url("../font/FiraSansExtraCondensed-Bold-6aC0KV0.woff2") format('woff2');
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* --- GLOBALS --- */
html, body {
    height: 100%;
}

body {
    background: #f4f4f4;
    font-family: 'Fira Sans Extra Condensed', sans-serif;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    width: 100%;
    overflow-x: hidden;
    padding-bottom: env(safe-area-inset-bottom);
}

.app-footer {
    height: 0;
}

/* --- HEADER & NAVIGATION --- */
.app-header {
    background: #17b7aa;
    color: #fff;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding-top: env(safe-area-inset-top);
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 20;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding-top: env(safe-area-inset-top);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.header-center a { pointer-events: auto; }
.header-center img { height: 24px; width: auto; }

.header-btn {
    background: transparent;
    border: none;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.header-btn:active { opacity: 0.7; }
.header-btn.disabled { opacity: 0.3; pointer-events: none; cursor: default; }
.header-icon { width: 24px; height: 24px; fill: white; }

/* --- SIDEBAR MENU --- */
.pwa-sidebar {
    position: fixed; top: 0; left: -280px; width: 280px; height: 100%;
    background: white; z-index: 2000; transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2); display: flex; flex-direction: column;
}
.pwa-sidebar.active { left: 0; }
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1999; display: none;
}
.menu-overlay.active { display: block; }
.sidebar-header { background: #17b7aa; color: white; padding: 20px; display: flex; justify-content: space-between; align-items: center; }
.user-welcome { font-weight: bold; font-size: 18px; }
.close-btn { font-size: 30px; cursor: pointer; line-height: 1; }
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { border-bottom: 1px solid #eee; }
.sidebar-nav li a { display: block; padding: 15px 20px; color: #333; text-decoration: none; font-size: 16px; }
.sidebar-nav li.separator { background: #f4f4f4; color: #888; font-size: 12px; padding: 10px 20px; text-transform: uppercase; font-weight: bold; }

/* --- COMPONENTS: CARDS & BUTTONS --- */
.info-card { background: white; margin-bottom: 15px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.card-header { font-size: 15px; font-weight: bold; color: #17b7aa; padding: 12px 15px; border-bottom: 1px solid #f0f0f0; background: #fff; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.card-body-padded { padding: 15px; }

.btn-confirm {
    background: #ff6600; color: white; border: none; border-radius: 50px;
    font-size: 16px; font-weight: bold; text-transform: uppercase; cursor: pointer;
    padding: 15px 20px; display: inline-block; text-decoration: none; text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); width: 100%;
}
.btn-select-sm {
    background-color: #ff6600; color: white; font-size: 12px; font-weight: bold;
    text-transform: uppercase; padding: 6px 12px; border-radius: 4px; text-decoration: none; display: inline-block;
}

.actions-container { display: flex; gap: 10px; margin-top: 15px; flex-wrap: wrap; }
.btn-action-pwa {
    flex: 1; min-width: 120px; text-align: center; padding: 10px 5px; border-radius: 6px;
    text-decoration: none; color: white; font-weight: bold; font-size: 13px;
    display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 4px rgba(0,0,0,0.1); transition: opacity 0.2s;
}
.btn-action-pwa:active { opacity: 0.8; }


/* ==========================================================================
   UTILITIES & INLINE STYLES EXTRACTED (Login, Profilo, Preferiti, ecc.)
   ========================================================================== */

/* Layout e Wrapper di base */
.auth-wrapper { padding: 40px 20px; text-align: center; min-height: 80vh; display: flex; flex-direction: column; justify-content: center; }
.page-wrapper { padding: 20px; padding-bottom: 80px; background-color: #f4f4f4; min-height: 100vh; }
.auth-logo { max-width: 200px; filter: invert(1) brightness(0.2); margin-bottom: 30px; }

/* Form e Campi Input */
.form-input { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; box-sizing: border-box; }

/* Alert e Messaggi Flash */
.alert { padding: 10px; border-radius: 5px; margin-bottom: 15px; font-size: 14px; text-align: left; }
.alert-danger { background: #ffe6e6; color: #d9534f; }
.alert-success { background: #d4edda; color: #155724; }

/* Badges per stati pratica (Preventivi, Acquisti) */
.badge { padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: bold; display: inline-block; }
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-secondary { background: #e2e3e5; color: #383d41; }
.badge-primary { background: #17b7aa; color: white; }

/* Utilità Testo e Margini */
.text-primary { color: #17b7aa; }
.text-danger { color: #d9534f; }
.text-muted { color: #888; }
.text-center { text-align: center; }
.fw-bold { font-weight: bold; }
.mt-15 { margin-top: 15px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

/* Componenti Profilo */
.points-total { font-size: 32px; font-weight: bold; color: #17b7aa; }
.agent-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid #17b7aa; }

/* Voci di Lista (Preventivi, Preferiti, Pagamenti) */
.list-header { display: flex; justify-content: space-between; font-size: 12px; color: #888; margin-bottom: 5px; }
.list-title { font-weight: bold; font-size: 16px; color: #333; margin-bottom: 5px; }
.list-subtitle { font-size: 14px; color: #555; margin-bottom: 10px; }
.list-meta { font-size: 10px; color: #aaa; margin-top: 3px; }


/* --- HOME PAGE (Banner & Search) --- */
.pwa-banner-wrap { max-width: 600px; margin: 0 auto; padding: 10px 15px; }
.pwa-banner-container { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.15); background: #fff; }
.pwa-banner-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.pwa-banner-track::-webkit-scrollbar { display: none; }
.pwa-banner-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; display: block; text-decoration: none; aspect-ratio: 16 / 9; }
.pwa-banner-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pwa-banner-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 100%); color: white; }
.pwa-banner-title { font-size: 18px; font-weight: bold; margin-bottom: 4px; }
.pwa-banner-text { font-size: 13px; opacity: 0.9; }

.input-box { background-color: white; display: flex; align-items: center; padding: 0 15px; height: 50px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: relative; cursor: pointer; }
.input-icon { width: 20px; height: 20px; fill: #17b7aa; margin-right: 15px; flex-shrink: 0; }
.input-label { width: 100%; font-size: 14px; color: #555; text-transform: uppercase; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.input-label.selected { color: #000; font-weight: bold; }

.custom-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: white; z-index: 2000; display: none; flex-direction: column; }
.custom-modal.active { display: flex; animation: fadeIn 0.2s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-header { background-color: #17b7aa; padding: 15px; display: flex; align-items: center; gap: 10px; color: white; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.search-input-wrapper { flex: 1; background: white; border-radius: 4px; padding: 8px 10px; display: flex; align-items: center; }
.search-input { width: 100%; background: transparent; border: none; color: #333; font-size: 16px; outline: none; }
.close-modal-btn { font-size: 28px; cursor: pointer; padding: 0 10px; line-height: 1; }

.modal-list { flex: 1; overflow-y: auto; padding: 0; -webkit-overflow-scrolling: touch; }
.list-item { padding: 15px 20px; border-bottom: 1px solid #eee; font-size: 15px; color: #333; cursor: pointer; display: flex; align-items: center; justify-content: space-between; text-transform: uppercase; }
.list-item:active { background-color: #f0f0f0; }
.list-item.selected-item { color: #17b7aa; font-weight: bold; background-color: #f0fcfb; }

.buttons-row { display: flex; gap: 15px; margin-top: 10px; }
.btn { flex: 1; height: 50px; border: none; border-radius: 4px; color: white; font-weight: bold; font-size: 16px; cursor: pointer; text-transform: uppercase; }
.btn-reset { background-color: #777777; }
.btn-search { background-color: #ff6600; }
.spacer-bottom { height: 80px; }

.search-loader { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.7); z-index: 10; display: none; align-items: center; justify-content: center; backdrop-filter: blur(2px); }
.spinner { width: 40px; height: 40px; border: 4px solid #f3f3f3; border-top: 4px solid #17b7aa; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- CRUISE DETAILS PAGE --- */
.detail-container { padding-bottom: 30px; background-color: #f4f4f4; min-height: 100vh; }
.hero-section { position: relative; height: 250px; width: 100%; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); padding: 20px 15px; color: white; }
.hero-title { font-size: 24px; font-weight: bold; margin: 0; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); line-height: 1.2; }
.hero-subtitle { font-size: 14px; opacity: 0.9; margin-top: 5px; display: flex; align-items: center; gap: 5px; }

.date-slider-container { margin: 20px 0; position: relative; }
.date-slider-title { font-size: 16px; font-weight: bold; color: #333; margin: 0 0 15px 15px; }
.swiper-prices { padding: 0 35px 20px 35px !important; }
.price-card { background: white; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.pc-header { padding: 10px 5px; text-align: center; color: white; font-weight: bold; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.pc-header.active { background-color: #17b7aa; }
.pc-header.inactive { background-color: #ff6600; }
.pc-row { padding: 10px 5px; text-align: center; border-bottom: 1px solid #eee; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 85px; }
.pc-row:last-child { border-bottom: none; }
.pc-type { font-size: 12px; color: #666; margin-bottom: 2px; }
.pc-price { font-size: 18px; font-weight: 800; color: #333; margin-bottom: 5px; }
.pc-price.na { font-size: 14px; color: #ccc; font-weight: normal; margin-bottom: 0; padding: 10px 0;}
.swiper-button-next, .swiper-button-prev { color: #17b7aa !important; width: 25px !important; height: 25px !important; margin-top: -30px; }
.swiper-button-next:after, .swiper-button-prev:after { font-size: 28px !important; font-weight: bold; }

.split-layout { display: flex; flex-direction: column; }
#map { width: 100%; height: 350px; border-bottom: 1px solid #eee; }
.itinerary-scroll { height: 350px; overflow-y: auto; padding: 20px 15px; background: #fff; }
@media (min-width: 768px) { .split-layout { flex-direction: row; } #map { width: 50%; border-bottom: none; border-right: 1px solid #eee; } .itinerary-scroll { width: 50%; } }

.timeline { position: relative; padding-left: 25px; border-left: 2px solid #e0e0e0; margin-left: 5px; }
.timeline-item { position: relative; margin-bottom: 25px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -31px; top: 0; width: 14px; height: 14px; background: #17b7aa; border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 2px #17b7aa; }
.t-day { font-size: 11px; color: #888; text-transform: uppercase; font-weight: bold; margin-bottom: 2px;}
.t-port { font-size: 15px; font-weight: bold; color: #333; margin-bottom: 4px; display: block;}
.t-times { font-size: 12px; color: #666; display: flex; gap: 8px; flex-wrap: wrap;}
.t-times span { background: #f0fcfb; padding: 2px 6px; border-radius: 4px; color: #17b7aa; font-weight: 500;}
.marker-map { background-color: #17b7aa; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: flex; justify-content: center; align-items: center; border: 2px solid white; box-shadow: 2px 2px 4px rgba(0,0,0,0.3); cursor: pointer; margin-top: -30px; margin-left: -15px; }
.marker-map span { transform: rotate(45deg); color: white; font-weight: bold; font-size: 12px; display: block; }

.ship-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.ship-stat { background: #f9f9f9; padding: 10px; border-radius: 8px; }
.ship-stat strong { display: block; font-size: 11px; color: #888; text-transform: uppercase; }
.ship-stat span { font-size: 14px; font-weight: bold; color: #333; }
.hero-logo-container { position: absolute; top: 15px; left: 15px; z-index: 10; background: rgba(255, 255, 255, 0.9); padding: 5px 10px; border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.hero-logo { height: 35px; width: auto; display: block; }

.fab-heart { position: absolute; bottom: -25px; right: 20px; z-index: 20; width: 50px; height: 50px; border-radius: 50%; background: white; box-shadow: 0 4px 6px rgba(0,0,0,0.2); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.2s; }
.fab-heart:active { transform: scale(0.95); }
.fab-icon { width: 28px; height: 28px; }
.fab-share { position: absolute; bottom: -25px; right: 80px; z-index: 20; width: 50px; height: 50px; border-radius: 50%; background: #17b7aa; box-shadow: 0 4px 6px rgba(0,0,0,0.2); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.2s; }
.fab-share:active { transform: scale(0.95); }
.fab-share svg { width: 24px; height: 24px; fill: white; }

/* --- MODAL PREVENTIVO --- */
.modal-preventivo-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px); z-index: 2000; display: none; align-items: flex-end; justify-content: center; }
.modal-preventivo-content { background: #fff; width: 100%; max-width: 600px; max-height: 90vh; border-radius: 24px 24px 0 0; box-shadow: 0 -10px 25px rgba(0,0,0,0.15); animation: slideUp 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); overflow-y: auto; display: block; position: relative; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.modal-drag-handle { width: 40px; height: 5px; background-color: #ddd; border-radius: 3px; margin: 12px auto 0 auto; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 24px 20px 24px; border-bottom: 1px solid #f0f0f0; background: #fff; position: sticky; top: 0; z-index: 10; }
.modal-header h2 { margin: 0; font-size: 20px; color: #222; font-weight: 800; }
.btn-close { background: #f0f0f0; border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 22px; line-height: 1; color: #666; cursor: pointer; display: flex; align-items: center; justify-content: center; }

#formPreventivo { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.modal-body { padding: 24px; }
.form-group { margin-bottom: 20px; }
.form-row-custom { display: flex; gap: 15px; margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 8px; text-transform: capitalize; }
.form-control { width: 100%; padding: 14px 16px; border: 1.5px solid #e4e4e4; border-radius: 12px; font-size: 15px; background-color: #f8f9fa; transition: all 0.2s ease; box-sizing: border-box; color: #333; }
.form-control:focus { outline: none; border-color: #17b7aa; background-color: #fff; box-shadow: 0 0 0 4px rgba(23, 183, 170, 0.1); }
.form-control::placeholder { color: #aaa; }
textarea.form-control { resize: none; height: 90px; }
.ages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 10px; }

.privacy-box { background: #f8f9fa; border: 1px solid #eee; border-radius: 16px; padding: 18px; margin-top: 25px; }
.privacy-title { font-weight: bold; margin-bottom: 12px; display: block; color: #333; font-size: 14px;}
.privacy-options { display: flex; gap: 10px; }
.radio-card { flex: 1; cursor: pointer; }
.radio-card input { display: none; }
.radio-card-content { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 10px; text-align: center; background: #fff; border: 2px solid #e4e4e4; border-radius: 10px; color: #777; font-size: 13px; font-weight: bold; transition: all 0.2s; }
.radio-card input:checked + .radio-card-content { border-color: #17b7aa; background: #f0fcfb; color: #17b7aa; }

.modal-footer { padding: 10px 24px 30px 24px; }
.btn-submit-preventivo { width: 100%; background: linear-gradient(135deg, #ff7a1f 0%, #ff5e00 100%); color: white; border: none; padding: 16px; border-radius: 12px; font-size: 17px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3); transition: transform 0.1s, box-shadow 0.2s; }
.btn-submit-preventivo:active { transform: scale(0.98); box-shadow: 0 2px 6px rgba(255, 102, 0, 0.2); }

/* --- SEARCH RESULTS --- */
.results-container { padding: 15px; padding-bottom: 80px; min-height: calc(100vh - 50px); }
.results-info-bar { margin-bottom: 15px; color: #666; font-size: 14px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.cruise-card { background: white; border-radius: 8px; overflow: hidden; margin-bottom: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); display: flex; flex-direction: column; position: relative; transition: all 0.3s ease; }
.cruise-card.disabled { opacity: 0.6; filter: grayscale(100%); pointer-events: none; }
.cruise-card a, .cruise-card .disabled-wrapper { text-decoration: none; color: inherit; display: block; }

.card-img { height: 150px; width: 100%; object-fit: cover; display: block; }
.card-body { padding: 15px; }
.ship-name { font-size: 18px; font-weight: bold; color: #333; margin: 0 0 5px 0; }
.cruise-details { font-size: 13px; color: #666; margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 12px; }
.detail-item { display: flex; align-items: center; gap: 5px; }
.detail-icon { width: 14px; height: 14px; fill: #17b7aa; }
.itinerary { font-size: 12px; color: #888; margin-bottom: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.price-box { display: flex; justify-content: space-between; align-items: center; margin-top: 5px; border-top: 1px solid #f0f0f0; padding-top: 10px; }
.price { color: #ff6600; font-size: 22px; font-weight: bold; }
.price small { font-size: 11px; color: #999; font-weight: normal; }
.btn-view { background-color: #17b7aa; color: white; padding: 8px 15px; border-radius: 50px; font-size: 12px; font-weight: bold; text-transform: uppercase; }

.pagination-container { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 30px; margin-bottom: 20px; }
.page-btn { background-color: white; color: #17b7aa; border: 1px solid #17b7aa; padding: 8px 16px; border-radius: 20px; text-decoration: none; font-weight: bold; font-size: 14px; }
.card-company-logo { position: absolute; top: 10px; left: 10px; z-index: 5; background: white; padding: 3px 6px; border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); height: 25px; width: auto; }
.card-company-logo img { height: 100%; width: auto; display: block; }

/* --- ACQUISTI (COUNTDOWN / HYPE) --- */
.countdown-card { background: linear-gradient(135deg, #17b7aa 0%, #0d8a7f 100%); color: white; border-radius: 12px; padding: 20px 15px; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(23, 183, 170, 0.3); text-align: center; position: relative; overflow: hidden; }
.countdown-card::before { content: ''; position: absolute; top: -20px; left: -20px; width: 80px; height: 80px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.countdown-card::after { content: ''; position: absolute; bottom: -10px; right: -10px; width: 60px; height: 60px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.hype-message { font-size: 16px; font-weight: bold; text-transform: uppercase; margin-bottom: 15px; letter-spacing: 0.5px; text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.timer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; position: relative; z-index: 2; }
.timer-box { background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); border-radius: 8px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; }
.timer-val { font-size: 20px; font-weight: 800; line-height: 1.2; }
.timer-label { font-size: 9px; text-transform: uppercase; opacity: 0.9; }
.badge-imminent { background: #ff6600; color: white; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; display: inline-block; margin-bottom: 10px; box-shadow: 0 2px 4px rgba(255, 102, 0, 0.3); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* --- E-COMMERCE IFRAME (STEP 2) --- */
.iframe-container { width: 100%; min-height: 100vh; background: #fff; padding-bottom: 20px; }
.iframe-container iframe { width: 100%; border: none; min-height: 600px; }
.header-step { background: #f4f4f4; padding: 15px; text-align: center; font-weight: bold; color: #333; border-bottom: 1px solid #ddd; }

/* --- OFFLINE PAGE (Namespaced) --- */
body.offline-body { background: #0b1f3a; color: #fff; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.offline-body .card { width: min(520px, calc(100vw - 32px)); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; padding: 22px 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); text-align: center; backdrop-filter: blur(6px); }
.offline-body img { max-width: 180px; width: 55%; height: auto; margin: 2px auto 14px; display: block; }
.offline-body h1 { font-size: 20px; margin: 0 0 10px; letter-spacing: 0.2px; }
.offline-body p { margin: 0 0 16px; line-height: 1.4; opacity: 0.95; }
.offline-body .meta { font-size: 13px; opacity: 0.8; margin-top: 10px; }
.offline-body .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.offline-body button, .offline-body a.btn { appearance: none; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.10); color: #fff; padding: 10px 14px; border-radius: 12px; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; }
.offline-body button:hover, .offline-body a.btn:hover { background: rgba(255, 255, 255, 0.16); }
.offline-body button:active, .offline-body a.btn:active { transform: translateY(1px); }
.offline-body .status { display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 12px; opacity: 0.95; }