/* ===============================================
   TUCHOLSKY MODAL STYLES - V3 COMPACT
   Compact, Mobile-First, Clean Design
   =============================================== */

/* Orbitron font loaded locally via fonts.css */

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Body Lock */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

/* ===============================================
   MODAL OVERLAY & CONTENT
   =============================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #151518;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    margin: auto;
    position: relative;
    border: 1px solid rgba(255, 60, 172, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(255, 60, 172, 0.1);
    animation: fadeIn 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

/* Top Border Gradient */
.modal-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff3cac, #784ba0, #ff3cac);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    border-radius: 16px 16px 0 0;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 60, 172, 0.15);
    border-color: rgba(255, 60, 172, 0.3);
    color: #ff3cac;
}

/* ===============================================
   STEP INDICATOR - Compact Horizontal
   =============================================== */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 15px 14px;
    gap: 8px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 60, 172, 0.1);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 80px;
    position: relative;
}

.step-number {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 60, 172, 0.2);
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s;
}

.step-label {
    margin-top: 5px;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Connector Line */
.step::after {
    content: '';
    position: absolute;
    top: 17px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 2px;
    background: rgba(255, 60, 172, 0.15);
}

.step:last-child::after { display: none; }

/* Active Step */
.step.active .step-number {
    background: linear-gradient(135deg, #ff3cac, #784ba0);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 60, 172, 0.4);
}

.step.active .step-label {
    color: #ff3cac;
}

/* Completed Step */
.step.completed .step-number {
    background: rgba(255, 60, 172, 0.2);
    border-color: #ff3cac;
    color: #ff3cac;
}

.step.completed::after {
    background: linear-gradient(90deg, #ff3cac, #784ba0);
}

/* ===============================================
   MODAL INNER CONTENT
   =============================================== */
.step-section {
    display: none;
    padding: 18px;
    overflow-y: auto;
    flex: 1;
}

.step-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Titles */
.neon-title {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1.25em !important;
    text-align: center !important;
    margin: 0 0 4px 0 !important;
    background: linear-gradient(90deg, #ff3cac, #784ba0) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.neon-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.85em !important;
    text-align: center !important;
    margin-bottom: 18px !important;
}

.step-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1em;
    color: #ff3cac;
    margin: 0 0 12px 0;
}

/* ===============================================
   FORM ELEMENTS
   =============================================== */
.form-group {
    margin-bottom: 14px;
}

.neon-label {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85em;
    font-weight: 500;
}

.neon-input,
.neon-textarea {
    width: 100% !important;
    padding: 11px 13px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 60, 172, 0.15) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 16px !important;
    transition: all 0.2s !important;
}

.neon-input:focus,
.neon-textarea:focus {
    outline: none !important;
    border-color: #ff3cac !important;
    box-shadow: 0 0 0 3px rgba(255, 60, 172, 0.1) !important;
}

.neon-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Counter */
.neon-counter {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 60, 172, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.counter-btn {
    width: 42px; height: 42px;
    background: transparent;
    border: none;
    color: #ff3cac;
    font-size: 1.3em;
    cursor: pointer;
    transition: background 0.2s;
}

.counter-btn:hover {
    background: rgba(255, 60, 172, 0.1);
}

.counter-display {
    min-width: 45px;
    text-align: center;
    font-size: 1em;
    font-weight: 700;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
}

/* ===============================================
   BUTTONS
   =============================================== */
.neon-button {
    padding: 11px 22px;
    font-size: 0.9em;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff3cac, #784ba0);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.neon-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(255, 60, 172, 0.3);
}

.neon-button.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.neon-button.secondary:hover {
    border-color: rgba(255, 60, 172, 0.4);
    background: rgba(255, 60, 172, 0.05);
}

.flex.justify-between {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 60, 172, 0.1);
    margin: 0 -18px -18px;
}

/* ===============================================
   PACKAGES - Compact Cards
   =============================================== */
.neon-packages-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.package-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 60, 172, 0.15);
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-card:hover {
    border-color: rgba(255, 60, 172, 0.4);
    background: rgba(255, 60, 172, 0.05);
}

.package-card.selected {
    border-color: #ff3cac;
    background: rgba(255, 60, 172, 0.1);
    box-shadow: 0 0 12px rgba(255, 60, 172, 0.15);
}

.package-header {
    flex: 1;
}

.package-title {
    font-size: 0.95em;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.package-description {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.package-price {
    font-size: 1.05em;
    font-weight: 700;
    color: #ff3cac;
    font-family: 'Orbitron', sans-serif;
    margin-left: 12px;
}

.package-card.selected::after {
    content: '✓';
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff3cac, #784ba0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    margin-left: 10px;
}

/* ===============================================
   EXTRAS/PRODUCTS - Collapsible Section
   =============================================== */
.neon-products-section {
    margin-top: 18px;
}

.products-toggle-btn {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 60, 172, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
}

.products-toggle-btn:hover {
    border-color: rgba(255, 60, 172, 0.4);
}

.products-toggle-btn i,
.products-toggle-btn .fa-chevron-down {
    color: #ff3cac;
    font-size: 1em;
    transition: transform 0.3s;
}

.products-toggle-btn.expanded i,
.products-toggle-btn.expanded .fa-chevron-down {
    transform: rotate(180deg);
}

/* Products Container */
.products-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin 0.3s ease;
}

.products-container.expanded {
    max-height: 280px;
    overflow-y: auto;
    margin-top: 10px;
    padding: 2px;
}

.products-container::-webkit-scrollbar {
    width: 4px;
}

.products-container::-webkit-scrollbar-thumb {
    background: rgba(255, 60, 172, 0.3);
    border-radius: 2px;
}

/* Products Grid */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ===============================================
   PRODUCT DROPDOWN BY CATEGORY - Compact Design
   =============================================== */
.product-category-section {
    margin-bottom: 14px;
}

.product-cat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 6px 0;
}

.product-cat-emoji {
    font-size: 1.2em;
}

.product-cat-name {
    font-size: 0.9em;
    font-weight: 600;
    color: #fff;
}

.product-cat-count {
    font-size: 0.7em;
    background: rgba(255, 60, 172, 0.2);
    color: #ff3cac;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.product-dropdown-wrapper {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.product-dropdown {
    flex: 1;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 60, 172, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.85em;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8.5L1 3.5h10L6 8.5z' fill='%23ff3cac'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    transition: border-color 0.2s;
}

.product-dropdown:focus {
    outline: none;
    border-color: #ff3cac;
    box-shadow: 0 0 0 2px rgba(255, 60, 172, 0.15);
}

.product-dropdown option {
    background: #1a1a2e;
    color: #fff;
    padding: 8px;
}

.product-add-btn {
    padding: 10px 16px;
    background: rgba(255, 60, 172, 0.15);
    border: 1px solid rgba(255, 60, 172, 0.3);
    border-radius: 8px;
    color: #ff3cac;
    font-size: 0.8em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s;
}

.product-add-btn:hover:not(:disabled) {
    background: rgba(255, 60, 172, 0.3);
    color: #fff;
}

.product-add-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Selected Items */
.product-selected-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
}

.product-selected-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 60, 172, 0.08);
    border: 1px solid rgba(255, 60, 172, 0.2);
    border-radius: 8px;
    animation: fadeIn 0.2s ease;
}

.product-selected-name {
    flex: 1;
    font-size: 0.82em;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-selected-price {
    font-size: 0.82em;
    font-weight: 600;
    color: #ff3cac;
    white-space: nowrap;
}

.product-qty-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-qty-btn {
    width: 24px; height: 24px;
    border-radius: 6px;
    background: rgba(255, 60, 172, 0.15);
    border: none;
    color: #ff3cac;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.product-qty-btn:hover {
    background: rgba(255, 60, 172, 0.35);
    color: #fff;
}

.product-qty-value {
    min-width: 18px;
    text-align: center;
    font-size: 0.85em;
    font-weight: 600;
    color: #fff;
}

.product-remove-btn {
    width: 24px; height: 24px;
    border-radius: 6px;
    background: rgba(220, 53, 69, 0.15);
    border: none;
    color: #dc3545;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.product-remove-btn:hover {
    background: rgba(220, 53, 69, 0.4);
    color: #fff;
}

@media (max-width: 480px) {
    .product-dropdown-wrapper {
        flex-direction: column;
    }
    .product-add-btn {
        justify-content: center;
    }
    .product-selected-item {
        flex-wrap: wrap;
        gap: 6px;
    }
    .product-selected-name {
        flex-basis: 100%;
    }
}

/* Legacy product-card styles kept for compatibility */

/* ===============================================
   PRICING SUMMARY
   =============================================== */
.pricing-summary {
    margin-top: 18px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 60, 172, 0.1);
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85em;
}

.price-total {
    display: flex;
    justify-content: space-between;
    padding-top: 8px;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 60, 172, 0.2);
    font-weight: 700;
    color: #fff;
    font-size: 0.95em;
}

.price-amount {
    color: #ff3cac;
    font-family: 'Orbitron', sans-serif;
}

/* ===============================================
   STEP 2 - TABLE SELECTION
   =============================================== */
.step2-layout {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-column {
    order: 1;
}

.legend-column {
    order: 2;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 60, 172, 0.1);
}

/* Inline Legend */
.legend-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.legend-title {
    font-size: 0.85em;
    color: #ff3cac;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

.legend-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8em;
}

.legend-column h3 {
    font-size: 0.9em;
    color: #ff3cac;
    margin: 0 0 10px 0;
    font-family: 'Orbitron', sans-serif;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.7);
}

.legend-color-box {
    width: 12px; height: 12px;
    border-radius: 3px;
}

#selected-table-info {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 60, 172, 0.15);
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
}

#selected-table-info h4 {
    color: #ff3cac;
    margin: 0 0 6px 0;
    font-size: 0.9em;
}

/* Map Container - Full Image Display */
.responsive-map-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 2px solid rgba(255, 60, 172, 0.25);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                inset 0 0 60px rgba(0, 0, 0, 0.3);
}

/* Mobile - Full image, më e madhe */
@media (max-width: 768px) {
    .responsive-map-container {
        aspect-ratio: 4/3;
        min-height: 280px;
        background-size: cover;
        background-position: center;
    }
}

/* Overlay gradient for better table visibility */
.responsive-map-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.responsive-map-container svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Table Shapes - More Visible */
.table-shape {
    stroke: rgba(255, 60, 172, 0.6);
    stroke-width: 2;
    cursor: pointer;
    transition: all 0.25s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.table-shape:not(.occupied):not(.selected) { 
    fill: rgba(30, 30, 35, 0.85);
}

.table-shape:not(.occupied):not(.selected):hover { 
    fill: rgba(255, 60, 172, 0.2);
    stroke: #ff3cac;
    stroke-width: 3;
    filter: drop-shadow(0 0 8px rgba(255, 60, 172, 0.5));
}

.table-shape.selected { 
    fill: rgba(255, 60, 172, 0.35);
    stroke: #ff3cac;
    stroke-width: 3;
    filter: drop-shadow(0 0 12px rgba(255, 60, 172, 0.6));
}

.table-shape.occupied { 
    fill: rgba(80, 80, 80, 0.7);
    stroke: rgba(100, 100, 100, 0.4);
    cursor: not-allowed;
}

.table-label {
    fill: #fff;
    font-size: 12px;
    font-weight: 700;
    pointer-events: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Mobile Table Buttons */
.mobile-table-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
    padding: 3px;
}

.mobile-table-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 60, 172, 0.15);
    border-radius: 8px;
    padding: 12px 10px;
    color: #fff;
    cursor: pointer;
    text-align: center;
    font-size: 0.85em;
    transition: all 0.2s;
}

.mobile-table-btn:hover {
    border-color: rgba(255, 60, 172, 0.4);
}

.mobile-table-btn.selected {
    border-color: #ff3cac;
    background: rgba(255, 60, 172, 0.15);
}

.mobile-table-btn[data-occupied="true"] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===============================================
   STEP 4 - SUMMARY
   =============================================== */
.neon-summary-box {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 60, 172, 0.1);
    line-height: 1.7;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

.neon-summary-box strong {
    color: #ff3cac;
}

/* Success */
.neon-success-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3em;
    color: #00ff88;
    text-align: center;
    margin-bottom: 18px;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.neon-qr-container {
    text-align: center;
    margin: 18px 0;
}

.qr-code-wrapper {
    display: inline-block;
    padding: 12px;
    background: #fff;
    border-radius: 10px;
}

.qr-code-image {
    width: 140px;
    height: 140px;
}

.neon-message {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.5;
    font-size: 0.9em;
}

/* ===============================================
   MESSAGE MODAL
   =============================================== */
.message-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.message-modal-overlay.active {
    display: flex;
}

.message-modal-content {
    background: #1a1a1d;
    padding: 22px;
    border-radius: 12px;
    border: 1px solid rgba(255, 60, 172, 0.3);
    text-align: center;
    max-width: 320px;
    width: 90%;
}

.message-title {
    font-size: 1.1em;
    color: #ff3cac;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.message-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
    line-height: 1.5;
    font-size: 0.9em;
}

/* Loading */
.loading-spinner {
    width: 30px; height: 30px;
    border: 3px solid rgba(255, 60, 172, 0.2);
    border-top-color: #ff3cac;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===============================================
   MOBILE RESPONSIVE
   =============================================== */
@media (max-width: 640px) {
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .modal-content {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 16px 16px 0 0;
        margin-bottom: 0;
    }
    
    .step-indicator {
        padding: 14px 10px 10px;
    }
    
    .step-number {
        width: 30px; height: 30px;
        font-size: 11px;
    }
    
    .step-label {
        font-size: 8px;
    }
    
    .step-section {
        padding: 14px;
    }
    
    .neon-title {
        font-size: 1.1em !important;
    }
    
    .step-title {
        font-size: 0.95em;
    }
    
    .flex.justify-between {
        flex-direction: column-reverse;
        gap: 8px;
        margin: 0 -14px -14px;
        padding: 12px 14px;
    }
    
    .neon-button {
        width: 100%;
        padding: 13px;
    }
    
    .package-card {
        padding: 11px 12px;
    }
    
    .product-card {
        padding: 8px 10px;
    }
    
    .product-name {
        font-size: 0.8em;
    }
    
    .qty-btn {
        width: 30px; height: 30px;
    }
    
    .mobile-table-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .pricing-summary {
        padding: 12px;
    }
    
    .modal-close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    .step-label {
        display: none;
    }
    
    .step::after {
        top: 15px;
    }
    
    .neon-title {
        font-size: 1em !important;
    }
    
    .package-card .package-price {
        font-size: 0.95em;
    }
    
    .step-section {
        padding: 12px;
    }
}

/* Touch Optimization */
@media (hover: none) {
    .neon-button,
    .counter-btn,
    .qty-btn,
    .products-toggle-btn,
    .package-card,
    .mobile-table-btn {
        -webkit-tap-highlight-color: transparent;
    }
    
    .qty-btn {
        width: 34px;
        height: 34px;
    }
    
    .counter-btn {
        width: 46px;
        height: 46px;
    }
}

/* Landscape Phone */
@media (max-height: 500px) and (orientation: landscape) {
    .modal-content {
        max-height: 98vh;
    }
    
    .step-indicator {
        padding: 8px;
    }
    
    .step-section {
        padding: 10px 14px;
    }
}
