/* Kamila’s flowers - Main CSS File */
/* Generated from pages CSS styles - Mobile First Design */

/* Base Styles */
body {
    background: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding-bottom: 90px; /* Space for bottom navigation */
}

/* Container Styles */
.mobile-container, .container {
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

/* Header Styles */
.header {
    background: #fefadf;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Category page header with special background */
body:has([data-page="category"]) .header,
.category-header {
    background: #ffffff;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center !important;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header h1 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.back-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    padding: 0;
}

/* Cart Icon Styles */
.cart-icon {
    position: relative;
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search Styles */
.search-container {
    padding: 15px 20px;
    background: white;
}

.search-input {
    width: 100%;
    padding: 12px 60px 12px 26px;
    border: 1px solid #e9ecef;
    border-radius: 25px;
    background-color: #f8f9fa;
    font-size: 14px;
    outline: none;
}

.search-input:focus {
    border-color: #007bff;
    background-color: white;
}

.search-icon {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 14px;
}

.search-wrapper {
    position: relative;
}

/* Section Styles */
.section-header {
    padding: 20px 20px 10px 20px;
    background: white;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.section {
    margin-bottom: 25px;
}

.content {
    padding: 20px;
}

/* Category Grid */
.tile-grid {
    padding: 10px 20px 20px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.tile-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.tile-card:hover {
    transform: translateY(-2px);
}

.tile-image {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.tile-label {
    padding: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
}

.tile-label a {
    color: #333;
    text-decoration: none;
}

/* Product Styles */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    margin-bottom: 15px;
    position: relative;
}

.product-card:hover {
    transform: translateY(-2px);
}

.product-image {
    width: 100%;
    height: 170px;
    object-fit: cover;
    position: relative;
    background-color: #f8f9fa;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

/* Products Grid and Product Listing Styles */
.results-header {
    padding: 15px 20px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.results-count {
    font-size: 14px;
    color: #007bff;
    font-weight: 500;
}

.filter-btn {
    background: none;
    border: 1px solid #e9ecef;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.products-grid {
    padding: 15px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.product-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.discount-badge {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.new-badge {
    background: #000000;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.heart-icon {
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: #6c757d;
}

.heart-icon.favorited {
    color: #dc3545;
}

.product-name {
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-name a {
    color: #333;
    text-decoration: none;
}

.product-description {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 8px;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.current-price {
    font-size: 12px;
    font-weight: 900;
    color: #000000;
}

.add-to-cart-btn {
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #000000;
    color: #000000;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.add-to-cart-btn:hover {
    background: #000000;
    color: #fff;
}

.read_more {
    background-color: #000000 !important;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    height: fit-content;
    text-decoration: none;
}

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

.cart-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 4px;
}

.item-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.item-price {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}

.item-total {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.quantity-btn:hover {
    background: #f8f9fa;
}

.quantity {
    font-size: 16px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

/* Promo Section */
.promo-section {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.promo-icon {
    color: #000000;
    font-size: 18px;
}

.promo-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #666;
}

.apply-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* Order Summary */
.order-summary {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.summary-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-label {
    color: #666;
}

.summary-value {
    font-weight: 600;
    color: #333;
}

.discount-value {
    color: #000000;
}

.total-row {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
    margin-top: 15px;
}

.total-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* Buttons */
.checkout-btn {
    display: block;
    text-align: center;
    background: #333;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
}

.checkout-btn:hover {
    background: #555;
    color: white;
}

.btn-custom {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    border-radius: 8px;
    padding: 12px 20px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-custom:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: white;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Contact Styles */
.contact-section {
    padding: 20px;
}

.contact-section:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    color: white;
}

.phone-icon { background: #007bff; }
.telegram-icon { background: #0088cc; }
.email-icon { background: #000000; }
.address-icon { background: #fd7e14; }
.hours-icon { background: #6f42c1; }

.contact-info { flex: 1; }

.contact-title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.contact-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.contact-value {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
}

.contact-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
}

.contact-btn:hover { background: #0056b3; }
.telegram-btn { background: #0088cc; }
.telegram-btn:hover { background: #006699; }

.map-container {
    width: 100%;
    height: 120px;
    background: #e9ecef;
    border-radius: 8px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #4a90e2 25%, transparent 25%),
                linear-gradient(-45deg, #4a90e2 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #4a90e2 75%),
                linear-gradient(-45deg, transparent 75%, #4a90e2 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.3;
}

.map-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ddd;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
}

/* Working Hours */
.hours-list { margin-top: 10px; }
.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 14px;
}
.hours-day { color: #333; }
.hours-time { color: #666; }
.hours-time.closed { color: #dc3545; }

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.facebook { background: #1877f2; }
.instagram { background: #e4405f; }
.youtube { background: #ff0000; }

/* Box Shadow Utility */
.box_shadow {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    border-radius: 18px;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background: #fff;
    border-top: 1px solid #e9ecef;
    padding: 18px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    border-radius: 30px 30px 0 0;
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6c757d;
    transition: color 0.2s;
    padding: 11px 14px;
    border-radius: 20px;
    min-width: 60px;
    font-size: 13px;
    font-weight: 500;
    position: relative;
}

.nav-item.active {
    background-color: #e7f1ff;
    color: #000000;
}

.nav-item:hover,
.nav-item:focus {
    color: #000000;
}

.nav-item i {
    font-size: 20px;
}

.nav-item span {
    font-size: 12px;
    font-weight: 500;
}

.nav-item .cart-badge {
    position: absolute;
    top: -2px;
    right: 9px;
    background: #000000;
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Toast Styles */
.toast {
    color: #000000 !important;
    background-color: rgb(255 255 255) !important;
}

/* Alert Messages */
.alert {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Filter Styles */
.filter-section {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Warehouse Login Styles */
.mobile-container.px-4 {
    display: flex;
    align-items: center;
    min-height: 90vh;
}

.btn-primary {
    color: #fff !important;
    border-color: #000000 !important;
    background-color: #000000 !important;
    padding: 15px 20px;
    font-size: medium;
}

.fs-20 {
    font-size: 20px;
}

.fw-bolder {
    font-weight: bolder;
}

/* Warehouse Login */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.login-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    .bottom-nav {
        display: block;
    }
    
    body {
        padding-bottom: 90px;
    }
}

@media (min-width: 769px) {
    .bottom-nav {
        display: none;
    }
    
    body {
        padding-bottom: 0;
    }
}

/* Single Product Page Styles */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.thumbnail.active {
    border-color: #007bff;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.price-section {
    margin: 20px 0;
}

.current-price {
    font-size: 24px;
    font-weight: 900;
    color: #000000;
}

.old-price {
    font-size: 16px;
    color: #6c757d;
    text-decoration: line-through;
    margin-left: 10px;
}

.save-amount {
    color: #dc3545;
    font-weight: bold;
    margin-left: 10px;
}

.rating {
    color: #ffc107;
    margin: 10px 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px;
}

.specs-table {
    margin: 20px 0;
}

.specs-table tr {
    border-bottom: 1px solid #dee2e6;
}

.specs-table td {
    padding: 8px 0;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

.water-resistant { background: #007bff; }
.heat-resistant { background: #dc3545; }
.stain-resistant { background: #000000; }
.easy-clean { background: #ffc107; }

/* Order Confirmation Styles */
.confirmation-content {
    padding: 40px 20px;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 40px;
    animation: checkmark 0.6s ease-in-out;
}

.error-icon {
    width: 80px;
    height: 80px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 40px;
}

@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.confirmation-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.confirmation-message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.order-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 20px;
    text-align: left;
}

.details-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-row:last-child {
    border-bottom: none;
    font-weight: bold;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #dee2e6;
}

.detail-label {
    color: #666;
}

.detail-value {
    color: #333;
    font-weight: 500;
}

.action-buttons {
    padding: 20px;
    display: flex;
    gap: 15px;
}

.btn-continue {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s;
}

.btn-view-order {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s;
}

.btn-continue:hover { 
    background: #0056b3; 
    color: white;
}

.btn-view-order:hover { 
    background: #545b62; 
    color: white;
}

.retry-section {
    text-align: center;
    margin-top: 20px;
}

.retry-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
}

.retry-btn:hover { 
    background: #c82333;
    color: white;
}

/* Hidden Utility */
.hidden { display: none; }

@media (max-width: 480px) {
    .action-buttons {
        flex-direction: column;
    }
    
    .confirmation-content {
        padding: 30px 15px;
    }
    
    .order-details {
        margin: 15px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: #6c757d; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.w-100 { width: 100%; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.me-2 { margin-right: 0.5rem; }
.ms-2 { margin-left: 0.5rem; }

/* Order Page Complete Styles - Updated from inline CSS */
body {
    background: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding-bottom: 90px; /* Space for bottom menu */
}

.mobile-container, .container {
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.header {
    background-color: white;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.content {
    padding: 20px;
}

.section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.order-summary {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.summary-row:last-child {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 16px;
    padding-top: 8px;
    border-top: 1px solid #dee2e6;
}

.summary-label {
    color: #666;
}

.summary-value {
    color: #333;
    font-weight: 500;
}

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

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.input-with-action {
    position: relative;
}

.input-action {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #007bff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.textarea-large {
    min-height: 80px;
    resize: vertical;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.footer-note {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}

/* Bottom Mobile Menu */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background: #fff;
    border-top: 1px solid #e9ecef;
    padding: 18px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    border-radius: 30px 30px 0 0;
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6c757d;
    transition: color 0.2s;
    padding: 11px 14px;
    border-radius: 20px;
    min-width: 60px;
    font-size: 13px;
    font-weight: 500;
    position: relative;
}

.nav-item.active {
    background-color: #e7f1ff;
    color: #0B2625;
}

.nav-item:hover,
.nav-item:focus {
    color: #0B2625;
}

.nav-item i {
    font-size: 20px;
}

.nav-item span {
    font-size: 12px;
    font-weight: 500;
}

.nav-item .cart-badge {
    position: absolute;
    top: -2px;
    right: 9px;
    background: #0B2625;
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Order Confirmation Page Styles */
.confirmation-content {
    padding: 60px 20px 120px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.status-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
    font-size: 32px;
}

.status-success {
    background-color: #d4edda;
    color: #28a745;
}

.status-error {
    background-color: #f8d7da;
    color: #dc3545;
}

.confirmation-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.confirmation-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.confirmation-description {
    font-size: 14px;
    color: #888;
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 320px;
}

.order-id {
    background-color: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #495057;
    margin-bottom: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.order-id i {
    color: #007bff;
}

.back-home-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
}

.back-home-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

/* Responsive adjustments for confirmation page */
@media (max-width: 480px) {
    .confirmation-content {
        padding: 40px 15px 100px;
    }
    
    .status-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .confirmation-title {
        font-size: 20px;
    }
    
    .back-home-btn {
        min-width: auto;
        width: 100%;
        max-width: 280px;
    }
}