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

:root {
    --primary-color: #2C5F8D;
    --primary-hover: #1e4a6d;
    --secondary-color: #4A90E2;
    --accent-color: #FF6B6B;
    --background-color: #F8F9FA;
    --surface-color: #FFFFFF;
    --surface-hover: #F5F7FA;
    --text-primary: #1A1A1A;
    --text-secondary: #6C757D;
    --text-light: #9CA3AF;
    --border-color: #E5E7EB;
    --border-light: #F3F4F6;
    --success-color: #10B981;
    --error-color: #EF4444;
    --warning-color: #F59E0B;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Layout */
    --app-max-width: 520px;
    --app-radius: 22px;
    --app-border: rgba(255, 255, 255, 0.55);
    --app-shadow: 0 18px 60px rgba(16, 24, 40, 0.14);

    --hero-height: 220px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    /* Фон как на примере (комната) */
    background:
        linear-gradient(180deg, rgba(11, 16, 23, 0.55) 0%, rgba(11, 16, 23, 0.25) 30%, rgba(11, 16, 23, 0.45) 100%),
        url("assets/bg-portcomfort.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-shell {
    min-height: 100vh;
    max-width: var(--app-max-width);
    margin: 0 auto;
    background: transparent;
}

@media (min-width: 900px) {
    body {
        padding: 24px 0;
    }

    .app-shell {
        min-height: calc(100vh - 48px);
        border-radius: var(--app-radius);
        overflow: clip;
        box-shadow: var(--app-shadow);
        border: 1px solid var(--app-border);
        background: transparent;
    }
}

.page {
    display: none;
    min-height: 100vh;
    padding-bottom: 80px;
}

.page.active {
    display: block;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.0);
    color: white;
    padding: 18px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: none;
    backdrop-filter: none;
}

.header h1 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
    text-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.header h2 {
    font-size: 18px;
    font-weight: 600;
    flex: 1;
    text-align: center;
    letter-spacing: -0.2px;
}

.back-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 8px 12px;
    margin-right: 8px;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    font-weight: 500;
}

.back-btn:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.95);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.18);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    color: white;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.icon-btn:active {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0.95);
}

.cart-icon {
    font-size: 20px;
}

.badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent-color);
    color: white;
    border-radius: 10px;
    padding: 3px 7px;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
}

/* Categories */
.categories-container {
    background: rgba(255, 255, 255, 0.92);
    margin: 12px 14px 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    box-shadow: 0 16px 50px rgba(16, 24, 40, 0.18);
    backdrop-filter: blur(10px);
}

.categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0;
}

.categories::-webkit-scrollbar {
    display: none;
}

.category-btn {
    position: relative;
    border: none;
    border-radius: 16px;
    height: 96px;
    padding: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    color: white;
    text-align: left;
    box-shadow: 0 14px 36px rgba(16, 24, 40, 0.18);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%),
        linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.category-btn:active {
    transform: scale(0.96);
}

.category-btn.active {
    outline: 3px solid rgba(255, 107, 107, 0.45);
}

/* Search */
.search-container {
    padding: 14px 14px;
    background: transparent;
    border-bottom: none;
}

.search-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 16px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-primary);
    transition: all 0.2s ease;
    box-shadow: 0 16px 50px rgba(16, 24, 40, 0.12);
    backdrop-filter: blur(10px);
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 95, 141, 0.1);
}

/* Products */
.products-container {
    padding: 14px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.product-card {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
}

/* На большом экране подложка карточек/контента должна быть "внутри белого враппера" */
@media (min-width: 900px) {
    .products-container {
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.55);
        border-radius: 18px;
        margin: 0 14px 18px;
        box-shadow: 0 16px 50px rgba(16, 24, 40, 0.18);
        backdrop-filter: blur(10px);
    }
}

.product-card:active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.product-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    transition: transform 0.3s ease;
}

.product-card:active .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 14px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 8px;
    letter-spacing: -0.3px;
}

.product-description {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* Product Details */
.product-details {
    padding: 20px;
}

.product-detail-image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    box-shadow: var(--shadow-md);
}

.product-detail-name {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.product-detail-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.product-detail-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding: 16px;
    background: var(--surface-hover);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.quantity-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
    font-weight: 600;
}

.quantity-btn:active {
    transform: scale(0.9);
    box-shadow: var(--shadow-sm);
}

.quantity-value {
    font-size: 20px;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
    color: var(--text-primary);
}

.add-to-cart-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.2px;
}

.add-to-cart-btn:active {
    transform: translateY(1px);
    box-shadow: var(--shadow);
}

.add-to-cart-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    box-shadow: none;
}

/* Cart */
.cart-content {
    padding: 20px;
}

.cart-item {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 14px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.cart-item:active {
    transform: scale(0.98);
}

.cart-item-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    line-height: 1.4;
}

.cart-item-price {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface-hover);
    border-radius: var(--radius);
    padding: 6px 10px;
    border: 1px solid var(--border-light);
}

.cart-quantity-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.2s ease;
}

.cart-quantity-btn:active {
    transform: scale(0.9);
}

.cart-item-total {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: auto;
    letter-spacing: -0.3px;
}

.remove-item-btn {
    background: var(--error-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.remove-item-btn:active {
    transform: scale(0.95);
    box-shadow: none;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.cart-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, var(--app-max-width));
    background: var(--surface-color);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.checkout-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.2px;
}

.checkout-btn:active {
    transform: translateY(1px);
    box-shadow: var(--shadow);
}

/* Checkout */
.checkout-content {
    padding: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    background: white;
    color: var(--text-primary);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 141, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.order-summary {
    background: var(--surface-hover);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 28px;
    margin-bottom: 28px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.order-summary h3 {
    margin-bottom: 12px;
}

.order-item-summary {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: bold;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid var(--border-color);
}

.submit-order-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.2px;
}

.submit-order-btn:active {
    transform: translateY(1px);
    box-shadow: var(--shadow);
}

/* Success Page */
.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    text-align: center;
}

.success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-lg);
}

.success-content h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.success-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.continue-btn {
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.2px;
}

.continue-btn:active {
    transform: translateY(1px);
    box-shadow: var(--shadow);
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

/* Loading */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 16px;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.no-results p {
    font-size: 16px;
    color: var(--text-light);
}

/* Responsive */
@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .products-container {
        padding: 24px;
    }
    
    .product-card {
        border-radius: var(--radius-lg);
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeIn 0.3s ease-out;
}

/* Booking Details Page */
.booking-details {
    padding: 20px;
}

.booking-info-card {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.booking-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.booking-field:last-child {
    border-bottom: none;
}

.booking-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
}

.booking-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
    text-align: right;
}

.booking-status {
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
}

.booking-status-confirmed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.booking-status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.booking-status-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.booking-services {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.booking-services h3 {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
}

.booking-service {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.booking-service:last-child {
    border-bottom: none;
}

.booking-total {
    background: var(--surface-hover);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.booking-total-price {
    color: var(--primary-color);
    font-size: 24px;
}

/* Admin Panel */
.admin-content {
    padding: 20px;
}

.admin-section {
    margin-bottom: 30px;
}

.admin-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.admin-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.admin-btn:active {
    transform: translateY(1px);
    box-shadow: var(--shadow);
}

.admin-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 3000;
    backdrop-filter: blur(6px);
}

.modal {
    width: min(520px, 100%);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(16, 24, 40, 0.24);
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.modal-title {
    font-weight: 800;
    letter-spacing: -0.2px;
}

.modal-close {
    border: none;
    background: rgba(0,0,0,0.06);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-weight: 700;
}

.modal-body {
    padding: 14px;
    display: grid;
    gap: 10px;
}

.modal-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
}

.modal-input,
.modal-textarea {
    width: 100%;
    padding: 12px 12px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 12px;
    background: white;
    font-size: 14px;
    font-family: inherit;
}

.modal-preview {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0,0,0,0.04);
}

.modal-preview img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.modal-hint {
    padding: 12px;
    color: var(--text-secondary);
    font-size: 13px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.modal-primary {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.admin-product-item {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.admin-product-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.admin-product-info p {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.admin-product-actions {
    display: flex;
    gap: 8px;
}

.admin-action-btn {
    background: var(--surface-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-action-btn:active {
    transform: scale(0.95);
}

.admin-delete-btn {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--error-color);
    color: var(--error-color);
}

/* Улучшенная прокрутка */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 3px;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-light);
}

/* Хаб: /portcomfort{slug} */
.hub-page .hub-hero {
    min-height: var(--hero-height);
    padding: 20px 18px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
}
.hub-hero-top { display: flex; justify-content: space-between; align-items: center; }
.hub-hero-title { font-size: 26px; font-weight: 800; color: #fff; text-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.hub-content { background: rgba(255,255,255,0.96); margin: 12px 0 0; border-radius: 20px 20px 0 0; padding: 18px; min-height: 50vh; }
.hub-section-title { font-size: 11px; font-weight: 800; color: #9aa1ad; letter-spacing: 0.1em; margin: 0 0 10px; }
.hub-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hub-cat-tile { position: relative; border: none; border-radius: 16px; min-height: 100px; padding: 12px; text-align: left; font-weight: 800; color: #fff; cursor: pointer; overflow: hidden; background: linear-gradient(120deg, #0f172a, #2c3e50) center/cover no-repeat; }
.hub-cat-tile::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.55)); }
.hub-cat-tile-text { position: relative; z-index: 1; font-size: 14px; }
.hub-cat-tile[style*='--tile-img'] { background-image: var(--tile-img), linear-gradient(120deg, #0f172a, #2c3e50) !important; background-size: cover, auto; }
.hub-hero-icon { color: #fff; padding: 8px; }

.header--bar { background: #fff; color: #0f172a; border-bottom: 1px solid #e5e7eb; }
.header--bar .back-btn, .header--bar .icon-btn { color: #0f172a; background: rgba(0,0,0,0.06); }
.header-left { min-width: 40px; }
.header-title { flex: 1; text-align: center; font-size: 17px; font-weight: 800; margin: 0; }
.categories-container--pills { background: #fff; margin: 0; padding: 0 0 0 4px; border: none; box-shadow: none; }
.categories--pills { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; padding: 10px 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.category-pill { flex: 0 0 auto; border: 1px solid #e5e7eb; background: #fff; color: #0f172a; font-weight: 800; font-size: 12px; padding: 8px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.category-pill.active { background: #0f172a; color: #fff; border-color: #0f172a; }
.products-container--shop { background: #fff; margin: 0; padding: 8px; min-height: 200px; }
.products-grid--3 { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
.product-tile { background: #fff; display: flex; flex-direction: column; align-items: stretch; }
.product-tile-image-wrap { min-height: 80px; display: flex; align-items: center; justify-content: center; padding: 4px; }
.product-tile-image { max-width: 100%; max-height: 72px; object-fit: contain; }
.product-tile-name { font-size: 10px; font-weight: 700; color: #0f172a; line-height: 1.25; min-height: 2.4em; margin: 4px 0; }
.product-tile-price { width: 100%; border: none; border-radius: 999px; background: #0f172a; color: #fff; font-size: 11px; font-weight: 800; padding: 6px 0; margin-top: auto; cursor: pointer; }
.text-muted { color: #6b7280; }
.excursions .header-title, #excursions-page .header--bar h1 { font-size: 17px; }

.app-footer {
    padding: 14px 16px 20px;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.92);
}
