:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #ffffff;
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--secondary-color);
    font-size: 14px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Two-Tier Filter Styles */
.category-filter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid #dee2e6;
}

.category-filter-section .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.category-filter-section .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.category-filter-section .form-select:hover {
    border-color: #adb5bd;
    transform: translateY(-1px);
}

.category-filter-section .form-label {
    font-size: 14px;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-filter-section .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    padding: 0.65rem 1.2rem;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-filter-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Filter status display */
.category-filter-section .text-muted {
    font-size: 15px;
    font-weight: 500;
    color: #6c757d !important;
}

.category-filter-section .text-muted strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Navigation */
.navbar {
    background-color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    text-decoration: none;
}

.brand-logo {
    width: 140px;
    height: auto;
    display: inline-block !important;
    visibility: visible !important;
    object-fit: contain;
    vertical-align: middle;
}

.brand-logo:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* Mobile responsive logo */
@media (max-width: 768px) {
    .brand-logo {
        width: 120px;
    }
    
    .footer-logo {
        width: 120px;
    }
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.brand-text-fallback {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1px;
    text-decoration: none;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-secondary) !important;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0 4rem;
    background-color: var(--accent-color);
}

/* Products */
.products-section {
    padding: 4rem 0 2rem;
}

.product-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 1 !important;
    display: block !important;
}

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

/* Product carousel styles */
.product-carousel {
    position: relative;
}

.product-carousel .carousel-inner {
    border-radius: 0;
}

.product-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-carousel .carousel-indicators {
    bottom: 10px;
    margin-bottom: 0;
}

.product-carousel .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 3px;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
}

.product-carousel .carousel-indicators button.active {
    background-color: white;
}

.product-carousel .carousel-control-prev,
.product-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.product-carousel .carousel-control-prev {
    left: 10px;
}

.product-carousel .carousel-control-next {
    right: 10px;
}

.product-card:hover .carousel-control-prev,
.product-card:hover .carousel-control-next {
    opacity: 1;
}

.product-carousel .carousel-control-prev-icon,
.product-carousel .carousel-control-next-icon {
    width: 16px;
    height: 16px;
}

.product-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-status.sold-out {
    background-color: var(--danger-color);
    color: white;
}

.product-status.low-stock {
    background-color: var(--warning-color);
    color: var(--text-primary);
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-details {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.product-size {
    font-weight: 400;
}

/* Size badges */
.available-sizes {
    margin-bottom: 0.75rem;
}

.size-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.size-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
    background: var(--text-primary);
    color: white;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 500;
}

.size-badge.unavailable {
    background: var(--border-color);
    color: var(--text-secondary);
    text-decoration: line-through;
}

.size-badge small {
    font-size: 0.7rem;
    opacity: 0.8;
}

.size-badge-small {
    display: inline-block;
    padding: 0.15rem 0.35rem;
    margin-right: 0.35rem;
    margin-bottom: 0.15rem;
    background: var(--text-primary);
    color: white;
    font-size: 0.75rem;
    border-radius: 3px;
    font-weight: 500;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: auto;
}

/* RRP and Discount Pricing Styles */
.product-price-section {
    margin-bottom: auto;
}

.price-with-discount {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rrp-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.discount-badge {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
    align-self: flex-start;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.product-actions {
    margin-top: auto;
    padding-top: 1rem;
}

/* Product Detail */
.product-detail-image img {
    width: 100%;
    border: 1px solid var(--border-color);
}

.product-detail-info {
    padding: 2rem 0;
}

.product-detail-name {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.product-detail-meta {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.meta-value {
    font-weight: 400;
}

.product-description h5 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

/* Reservation */
.reserve-header {
    text-align: center;
    padding: 2rem 0;
}

.product-summary {
    background: var(--accent-color);
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
}

.product-summary-image {
    max-width: 200px;
    margin: 0 auto;
}

.product-summary-info .product-category {
    margin-bottom: 0.5rem;
}

.product-summary-info .product-name {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.detail-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.detail-value {
    font-weight: 500;
}

.reservation-form {
    background: var(--secondary-color);
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.form-terms {
    background: var(--accent-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.terms-list {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    padding-left: 1.25rem;
}

.terms-list li {
    margin-bottom: 0.25rem;
}

/* Order Status */
.order-status-header {
    padding: 3rem 0 2rem;
}

.status-icon {
    margin-bottom: 1rem;
}

.order-summary .card,
.order-status .card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.card-header {
    background: var(--accent-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 500;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--accent-color);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-label {
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 100px;
}

.info-value {
    font-weight: 500;
    text-align: right;
}

/* Status Timeline */
.status-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.status-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.status-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.status-step.active .status-indicator {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.status-content h6 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.status-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.status-step.active .status-content h6 {
    color: var(--success-color);
}

/* Buttons */
.btn {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-dark, .btn-primary, button {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 6px;
    transition: transform 0.2s ease-in-out;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.btn-dark:hover, .btn-primary:hover, button:hover {
    transform: scale(1.05);
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.btn-outline-dark {
    background-color: transparent;
    border: 2px solid #000;
    color: #000;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 6px;
    transition: transform 0.2s ease-in-out;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.btn-outline-dark:hover {
    transform: scale(1.05);
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* Forms */
.form-control,
.form-select {
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.1);
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item {
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--text-primary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
}

/* Empty State */
.empty-state {
    padding: 4rem 0;
    text-align: center;
}

.empty-icon {
    color: var(--text-muted);
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.empty-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--accent-color);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-logo {
    width: 140px;
    height: auto;
    display: inline-block !important;
    visibility: visible !important;
    object-fit: contain;
    margin-bottom: 0;
    vertical-align: middle;
}

.footer-brand .brand-text {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.footer-text-inline {
    white-space: nowrap;
}

.footer-rights {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Alerts */
.alert {
    border-radius: 0;
    border: 1px solid transparent;
}

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

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

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

.alert-info {
    background-color: #cce7ff;
    border-color: #b3d9ff;
    color: #004085;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .product-detail-name {
        font-size: 1.5rem;
    }
    
    .product-detail-price {
        font-size: 1.5rem;
    }
    
    .product-summary,
    .reservation-form {
        padding: 1.5rem;
    }
    
    .hero-section {
        padding: 3rem 0 2rem;
    }
    
    .products-section {
        padding: 2rem 0 1rem;
    }
    
    .reserve-header {
        padding: 1rem 0 1.5rem;
    }
    
    .order-status-header {
        padding: 2rem 0 1.5rem;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .product-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .status-timeline {
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .meta-item,
    .info-item,
    .detail-item {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .info-value,
    .detail-value {
        text-align: left;
    }
    
    .btn {
        font-size: 0.85rem;
    }
}
