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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-light: #ecf0f1;
    --text-dark: #2c3e50;
    --sidebar-width: 280px;
    --top-nav-height: 70px;
    
    /* Console-specific colors */
    --playstation-blue: #003791;
    --xbox-green: #107C10;
    --nintendo-red: #E60012;
    --retro-brown: #800020;
    --comics-orange: #FF6B35;
    --pc-dark: #1a1a1a;
    
    /* New category colors */
    --gaming-color: #003791;
    --computers-color: #0078D4;
    --movies-color: #E50914;
    --music-color: #1DB954;
    --figurines-color: #9B59B6;
    --gadgets-color: #F39C12;
    --board-games-color: #27AE60;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--text-dark);
}

/* Simple Checkout Header */
.checkout-header-simple {
    background: var(--primary-color);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.checkout-header-simple .header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-header-simple .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.checkout-header-simple .logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.checkout-nav .nav-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.checkout-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.checkout-main {
    padding: 2rem 0;
}

/* Product Detail Modal */
.product-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.product-detail-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #f3f4f6;
    color: var(--text-dark);
}

.modal-body {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
}

.product-detail-left {
    flex: 1;
    min-width: 300px;
}

.product-detail-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-gallery {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.product-detail-gallery img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.product-detail-gallery img:hover,
.product-detail-gallery img.active {
    border-color: var(--secondary-color);
}

.product-detail-right {
    flex: 1;
    min-width: 300px;
}

.product-detail-info {
    margin-bottom: 1.5rem;
}

.product-detail-category {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.product-detail-category span {
    background: #f3f4f6;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #6b7280;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.product-detail-condition,
.product-detail-stock,
.product-detail-manual {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.product-detail-condition span:last-child,
.product-detail-stock span:last-child,
.product-detail-manual span:last-child {
    font-weight: 500;
}

.product-detail-description {
    margin-bottom: 2rem;
}

.product-detail-description h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.product-detail-description p {
    line-height: 1.6;
    color: #6b7280;
}

.product-detail-actions {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.quantity-selector label {
    font-weight: 500;
    color: var(--text-dark);
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.quantity-btn {
    background: #f3f4f6;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.2rem;
    color: var(--text-dark);
}

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

.quantity-controls input {
    border: none;
    width: 60px;
    height: 40px;
    text-align: center;
    font-weight: 500;
    background: white;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.action-buttons .btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.action-buttons .btn-primary {
    background: var(--secondary-color);
    color: white;
}

.action-buttons .btn-primary:hover {
    background: #2980b9;
}

.action-buttons .btn-secondary {
    background: #f3f4f6;
    color: var(--text-dark);
}

.action-buttons .btn-secondary:hover {
    background: #e5e7eb;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.cart-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.cart-close:hover {
    background: #e5e7eb;
    color: var(--text-dark);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.cart-item-name {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-quantity-btn {
    background: #f3f4f6;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-quantity-btn:hover {
    background: #e5e7eb;
}

.cart-quantity-input {
    width: 40px;
    height: 24px;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 0.875rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.cart-item-remove:hover {
    background: #fee2e2;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-empty p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.cart-footer {
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem;
    background: #f9fafb;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.cart-total span:last-child {
    color: var(--secondary-color);
}

.cart-actions {
    display: flex;
    gap: 1rem;
}

.cart-actions .btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cart-actions .btn-primary {
    background: var(--secondary-color);
    color: white;
}

.cart-actions .btn-primary:hover {
    background: #2980b9;
}

.cart-actions .btn-secondary {
    background: #f3f4f6;
    color: var(--text-dark);
}

.cart-actions .btn-secondary:hover {
    background: #e5e7eb;
}

/* Checkout Page Styles */
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.checkout-header {
    text-align: center;
    margin-bottom: 3rem;
}

.checkout-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.checkout-header p {
    color: white;
    font-size: 1.125rem;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.checkout-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.checkout-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.checkout-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Delivery Options */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.delivery-option {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

.delivery-option.active {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.delivery-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1rem;
}

.delivery-radio input {
    width: 20px;
    height: 20px;
    accent-color: var(--secondary-color);
}

.delivery-info {
    flex: 1;
}

.delivery-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.delivery-info p {
    color: #6b7280;
    font-size: 0.875rem;
}

.delivery-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Delivery Details */
.delivery-details {
    display: none;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: #f9fafb;
}

.delivery-details.active {
    display: block;
}

.pudo-info h4,
.collection-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pudo-info ul,
.collection-info ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: #6b7280;
}

.pudo-info li,
.collection-info li {
    margin-bottom: 0.5rem;
}

.pudo-address-section h5,
.store-details h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    color: var(--text-dark);
}

.pudo-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
}

.store-details {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 1rem;
}

.store-details p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Custom Delivery Styles */
.custom-delivery-info {
    margin-bottom: 1.5rem;
}

.custom-delivery-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 1rem;
}

.contact-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.contact-info p {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.delivery-requirements {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.delivery-requirements h5 {
    color: #0369a1;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.delivery-requirements ul {
    color: #0369a1;
    padding-left: 1.5rem;
    margin: 0;
}

.payment-restriction {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.payment-restriction h5 {
    color: #92400e;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.payment-restriction p {
    color: #92400e;
    margin: 0;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

.payment-option.active {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.payment-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1rem;
}

.payment-radio input {
    width: 20px;
    height: 20px;
    accent-color: var(--secondary-color);
}

.payment-info {
    flex: 1;
}

.payment-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.payment-info p {
    color: #6b7280;
    font-size: 0.875rem;
}

.payment-logo {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* Payment Details */
.payment-details {
    display: none;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: #f9fafb;
}

.payment-details.active {
    display: block;
}

/* PayShap Specific Styles */
.payshap-main-info {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.payshap-id {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payshap-id label {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 100px;
}

.payshap-id span {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.payshap-note {
    padding: 0.75rem;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    color: #92400e;
    font-size: 0.9rem;
}

/* Bank Apps Guide */
.bank-apps-guide h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.bank-app-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.bank-app-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.bank-app-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.bank-app-icon.capitec {
    background: #003791;
}

.bank-app-icon.fnb {
    background: #c8102e;
}

.bank-app-icon.standard {
    background: #0066cc;
}

.bank-app-icon.absa {
    background: #cc0000;
}

.bank-app-icon.nedbank {
    background: #00b050;
}

.bank-app-icon.other {
    background: #6b7280;
}

.bank-app-name {
    flex: 1;
}

.bank-app-name h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.bank-app-name p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.bank-app-arrow {
    color: #9ca3af;
    font-size: 1rem;
}

/* Bank Instructions Modal */
.bank-instructions-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
}

.bank-instructions-modal.active {
    display: flex;
}

.bank-instructions-modal .modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.bank-instructions-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.bank-instructions-modal .modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.bank-instructions-modal .modal-body {
    padding: 1.5rem;
}

.bank-steps {
    margin-bottom: 1.5rem;
}

.bank-steps h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.bank-steps ol {
    padding-left: 1.5rem;
    color: #6b7280;
}

.bank-steps li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.bank-steps li strong {
    color: var(--text-dark);
}

.bank-tips {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.bank-tips h5 {
    color: #0369a1;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bank-tips ul {
    color: #0369a1;
    padding-left: 1.5rem;
    margin: 0;
}

.bank-tips li {
    margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
    .bank-instructions-modal .modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 1rem;
    }
    
    .bank-app-card {
        padding: 0.75rem;
    }
    
    .bank-app-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .bank-app-name h6 {
        font-size: 0.9rem;
    }
    
    .bank-app-name p {
        font-size: 0.8rem;
    }
}

.payment-instructions h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.payment-instructions ol,
.payment-instructions ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: #6b7280;
}

.payment-instructions li {
    margin-bottom: 0.5rem;
}

.bank-details {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.bank-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.bank-detail-item:last-child {
    border-bottom: none;
}

.bank-detail-item label {
    font-weight: 500;
    color: #6b7280;
    min-width: 120px;
}

.bank-detail-item span {
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Courier New', monospace;
}

.copy-btn {
    background: #f3f4f6;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s;
    margin-left: 0.5rem;
}

.copy-btn:hover {
    background: var(--secondary-color);
    color: white;
}

/* Order Summary */
.checkout-right {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.order-summary {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.order-summary h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.order-items {
    margin-bottom: 2rem;
    max-height: 300px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-item-price {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

.order-item-quantity {
    color: #6b7280;
    font-size: 0.875rem;
}

.order-totals {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.order-total-row.final {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.order-total-row.final span:last-child {
    color: var(--secondary-color);
}

.checkout-actions {
    display: flex;
    gap: 1rem;
}

.checkout-actions .btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-actions .btn-primary {
    background: var(--secondary-color);
    color: white;
}

.checkout-actions .btn-primary:hover {
    background: #2980b9;
}

.checkout-actions .btn-secondary {
    background: #f3f4f6;
    color: var(--text-dark);
}

.checkout-actions .btn-secondary:hover {
    background: #e5e7eb;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
        margin: 1rem;
    }
    
    .modal-body {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .product-detail-price {
        font-size: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .quantity-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .cart-item-details {
        width: 100%;
    }
    
    .checkout-container {
        padding: 1rem;
    }
    
    .checkout-header h1 {
        font-size: 2rem;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .checkout-right {
        position: static;
        order: -1;
    }
    
    .checkout-actions {
        flex-direction: column;
    }
    
    .payment-header {
        padding: 1rem;
    }
    
    .payment-info h3 {
        font-size: 1rem;
    }
    
    .payment-info p {
        font-size: 0.8rem;
    }
    
    .payment-logo {
        font-size: 1.5rem;
    }
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-color) 0%, #34495e 100%);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom Scrollbar for Sidebar */
.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* Firefox scrollbar */
.sidebar {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) rgba(255, 255, 255, 0.1);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.sidebar-nav {
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 35px;
}


/* Console-specific active navigation - higher specificity */
.nav-item.active[data-page="nintendo"] {
    background: var(--nintendo-red) !important;
}

.nav-item.active[data-page="xbox"] {
    background: var(--xbox-green) !important;
}

.nav-item.active[data-page="playstation"] {
    background: var(--playstation-blue) !important;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-color);
}

.nav-item i {
    width: 20px;
    text-align: center;
}

/* Main Content Area */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: var(--sidebar-width);
    height: var(--top-nav-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 999;
    transition: left 0.3s ease;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.search-bar {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 8px 20px;
    min-width: 300px;
}

.search-bar input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    padding: 5px;
}

.search-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 1rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.currency-selector select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    cursor: pointer;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.user-account {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Page Content */
.page-content {
    margin-top: var(--top-nav-height);
    padding: 30px;
}

.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Store page specific styles */
#store {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    background: rgba(255,255,255,0.9);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: var(--accent-color);
    color: white;
}

.btn-secondary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.hero-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44,62,80,0.2), rgba(52,152,219,0.2));
    border-radius: 15px;
    z-index: 2;
}

.hero-image:hover .hero-video {
    transform: scale(1.05);
}

.floating-elements {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 20%;
    color: var(--playstation-blue);
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 50%;
    right: 30%;
    color: var(--nintendo-red);
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: 40%;
    color: var(--comics-orange);
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Categories Section */
.categories-section {
    margin-bottom: 60px;
}

.categories-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.category-card {
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.playstation-bg { background: var(--playstation-blue); }
.xbox-bg { background: var(--xbox-green); }
.nintendo-bg { background: var(--nintendo-red); }
.retro-bg { background: var(--retro-brown); }
.comics-bg { background: var(--comics-orange); }
.pc-bg { background: var(--pc-dark); }
.gadgets-bg { background: var(--secondary-color); }

/* New category background colors */
.gaming-bg { background: var(--gaming-color); }
.computers-bg { background: var(--computers-color); }
.movies-bg { background: var(--movies-color); }
.music-bg { background: var(--music-color); }
.figurines-bg { background: var(--figurines-color); }
.board-games-bg { background: var(--board-games-color); }

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Featured Products */
.featured-products {
    margin-bottom: 60px;
}

.featured-products h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Store page product grid override */
#storeProducts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.condition {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.stock-status {
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.stock-status.in-stock {
    color: #27ae60;
}

.stock-status.out-of-stock {
    color: #e74c3c;
}

.out-of-stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 1;
}

.out-of-stock-card {
    opacity: 0.7;
    filter: grayscale(30%);
}

.out-of-stock-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-disabled {
    background: #95a5a6;
    color: #7f8c8d;
    cursor: not-allowed;
    opacity: 0.6;
    border: none;
}

.btn-disabled:hover {
    background: #95a5a6;
    transform: none;
    box-shadow: none;
}

/* Console Headers */
.console-header {
    background: rgba(255,255,255,0.9);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.console-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.console-logo i {
    font-size: 3rem;
}

.console-logo h1 {
    font-size: 2.5rem;
    margin: 0;
}

.playstation-theme {
    background: linear-gradient(135deg, rgba(0,55,145,0.9), rgba(0,55,145,0.7));
    color: white;
}

.xbox-theme {
    background: linear-gradient(135deg, rgba(16,124,16,0.9), rgba(16,124,16,0.7));
    color: white;
}

.nintendo-theme {
    background: linear-gradient(135deg, rgba(230,0,18,0.9), rgba(230,0,18,0.7));
    color: white;
}

/* Console Grid */
.console-grid {
    display: grid;
    gap: 40px;
}

.console-section {
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.console-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.console-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Category Header Styles */
.category-header {
    background: rgba(255,255,255,0.9);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.category-logo i {
    font-size: 3rem;
}

.category-logo h1 {
    font-size: 2.5rem;
    margin: 0;
}

/* New category themes */
.gaming-theme {
    background: linear-gradient(135deg, rgba(0,55,145,0.9), rgba(0,55,145,0.7));
    color: white;
}

.computers-theme {
    background: linear-gradient(135deg, rgba(0,120,212,0.9), rgba(0,120,212,0.7));
    color: white;
}

.movies-theme {
    background: linear-gradient(135deg, rgba(229,9,20,0.9), rgba(229,9,20,0.7));
    color: white;
}

.music-theme {
    background: linear-gradient(135deg, rgba(29,185,84,0.9), rgba(29,185,84,0.7));
    color: white;
}

.figurines-theme {
    background: linear-gradient(135deg, rgba(155,89,182,0.9), rgba(155,89,182,0.7));
    color: white;
}

.gadgets-theme {
    background: linear-gradient(135deg, rgba(243,156,18,0.9), rgba(243,156,18,0.7));
    color: white;
}

.board-games-theme {
    background: linear-gradient(135deg, rgba(39,174,96,0.9), rgba(39,174,96,0.7));
    color: white;
}

.category-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.category-logo i {
    font-size: 3rem;
}

.category-logo h1 {
    font-size: 2.5rem;
    margin: 0;
}

/* New category themes */
.gaming-theme {
    background: linear-gradient(135deg, rgba(0,55,145,0.9), rgba(0,55,145,0.7));
    color: white;
}

.computers-theme {
    background: linear-gradient(135deg, rgba(0,120,212,0.9), rgba(0,120,212,0.7));
    color: white;
}

.movies-theme {
    background: linear-gradient(135deg, rgba(229,9,20,0.9), rgba(229,9,20,0.7));
    color: white;
}

.music-theme {
    background: linear-gradient(135deg, rgba(29,185,84,0.9), rgba(29,185,84,0.7));
    color: white;
}

.figurines-theme {
    background: linear-gradient(135deg, rgba(155,89,182,0.9), rgba(155,89,182,0.7));
    color: white;
}

.gadgets-theme {
    background: linear-gradient(135deg, rgba(243,156,18,0.9), rgba(243,156,18,0.7));
    color: white;
}

.board-games-theme {
    background: linear-gradient(135deg, rgba(39,174,96,0.9), rgba(39,174,96,0.7));
    color: white;
}

/* Category Grid */
.category-grid {
    display: grid;
    gap: 40px;
}

/* Hero Image Sections */
.nintendo-image-section {
    margin: 40px 0;
    text-align: center;
}

.nintendo-hero-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.nintendo-hero-image:hover {
    transform: scale(1.05);
}

.computers-image-section {
    margin: 40px 0;
    text-align: center;
}

.computers-hero-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.computers-hero-image:hover {
    transform: scale(1.05);
}

.category-section {
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.category-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Subcategory Navigation */
.subcategory-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.subcat-btn, .console-btn {
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 25px;
    background: #f8f9fa;
    color: #6c757d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.subcat-btn:hover, .console-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.subcat-btn.active, .console-btn.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* Console Type Navigation */
.console-type-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.console-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    border: 2px solid transparent;
    border-radius: 20px;
    background: #f1f3f4;
    color: #495057;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.console-btn:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.console-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Subcategory Content */
.subcategory-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.subcategory-content.active {
    display: block;
}

/* Store Page Styles */
.store-header {
    background: rgba(255,255,255,0.9);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.store-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.store-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: bold;
    color: var(--text-dark);
}

.filter-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    cursor: pointer;
}

.store-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1001;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px 10px;
    }
    
    .hero-section {
        padding: 40px 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-image {
        height: 200px;
        border-radius: 15px;
    }
    
    .category-section h2 {
        font-size: 1.5rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .category-card {
        padding: 15px;
    }
    
    .category-card h3 {
        font-size: 1.1rem;
    }
    
    .product-card {
        max-width: 100%;
    }
    
    .product-card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .hero-video {
        border-radius: 10px;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .search-bar {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .nav-right {
        gap: 10px;
    }
    
    .currency-selector {
        display: none;
    }
}

/* Comics Page Styles */
.comics-header {
    margin-bottom: 40px;
}

.comic-book-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.comic-panel {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.comic-panel::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0,0,0,0.1) 10px,
        rgba(0,0,0,0.1) 20px
    );
    z-index: -1;
}

.comic-panel h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #D2691E;
    text-shadow: 3px 3px 0px #800020;
    margin-bottom: 10px;
}

.comic-panel h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #D2691E;
    text-shadow: 3px 3px 0px #800020;
    margin-bottom: 10px;
}

.comic-panel h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #D2691E;
    text-shadow: 3px 3px 0px #800020;
    margin-bottom: 10px;
}

.comic-panel p {
    font-size: 1.1rem;
    color: #800020;
    font-weight: bold;
}

.comics-content {
    background: rgba(255,255,255,0.9);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.comics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.comic-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.comic-card:hover {
    transform: translateY(-5px);
}

.comic-cover {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.comic-cover img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.comic-info {
    padding: 20px;
}

.comic-info h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.comic-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--comics-orange);
    margin-bottom: 15px;
}

.comic-categories {
    margin-top: 40px;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.comic-tag {
    background: var(--comics-orange);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comic-tag:hover {
    background: #E55A2B;
    transform: scale(1.05);
}

/* Notification System */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

/* Contact Page Styles */
.contact-header {
    background: rgba(255,255,255,0.9);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-card p {
    color: #666;
    margin-bottom: 15px;
}

.contact-form {
    background: rgba(255,255,255,0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Form Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-content {
        padding: 0 15px;
        overflow-x: hidden;
    }
    
    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .contact-form {
        order: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-bottom: 30px;
    }
    
    .contact-info {
        order: 2;
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-card {
        padding: 20px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .contact-card p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .contact-form {
        background: rgba(255,255,255,0.9);
        padding: 25px 15px;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        margin: 0 auto;
    }
    
    .contact-form h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 8px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border: 1px solid #ddd;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .btn {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
        border-radius: 8px;
        margin-top: 10px;
    }
    
    .btn-primary {
        background: var(--secondary-color);
    }
    
    .btn-secondary {
        background: #6c757d;
    }
    
    /* Category products responsive */
    .category-products {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .store-filters {
        grid-template-columns: 1fr;
    }
    
    .subcategory-nav {
        flex-wrap: wrap;
        gap: 8px;
        padding: 15px;
    }
    
    .subcat-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 0 10px;
        overflow-x: hidden;
    }
    
    .contact-content {
        display: flex;
        flex-direction: column;
        padding: 10px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .contact-info {
        order: 2;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form {
        order: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-bottom: 20px;
    }
    
    .contact-card {
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-card p {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 15px 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        margin: 0;
    }
    
    .contact-form h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 16px; /* Keep 16px to prevent zoom */
        border-radius: 6px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border: 1px solid #ddd;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .btn {
        padding: 12px;
        font-size: 0.9rem;
        margin-top: 8px;
    }
    
    .subcategory-nav {
        padding: 10px;
        gap: 5px;
    }
    
    .subcat-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 100px;
    }
}

/* Success Message Styles */
.success-message {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-container {
    max-width: 800px;
    margin: 0 auto;
}

.success-header {
    text-align: center;
    margin-bottom: 40px;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
    animation: pulse 2s infinite;
}

.success-icon i {
    font-size: 2.5rem;
    color: white;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 35px rgba(46, 204, 113, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
    }
}

.success-header h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.success-header p {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

.order-summary {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.order-summary h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 600;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f4;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item label {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.95rem;
}

.summary-item value {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
}

.next-steps {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 4px solid #3498db;
}

.next-steps h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.next-steps ol {
    margin: 0;
    padding-left: 20px;
}

.next-steps li {
    color: #495057;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.next-steps li:last-child {
    margin-bottom: 0;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.success-actions .btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.success-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.success-actions .btn-secondary {
    background: white;
    color: #6c757d;
    border: 2px solid #e9ecef;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.success-actions .btn-secondary:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .success-message {
        padding: 25px 20px;
        margin: 10px 0;
    }
    
    .success-header h2 {
        font-size: 2rem;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
    }
    
    .success-icon i {
        font-size: 2rem;
    }
    
    .order-summary,
    .next-steps {
        padding: 20px;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .success-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* PUDO Locker Selection Styles */
.pudo-search-section {
    margin-bottom: 20px;
}

.search-input-group {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.pudo-search-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.pudo-search-input:focus {
    outline: none;
    border-color: #3498db;
}

.location-options {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn-outline {
    background: white;
    color: #6c757d;
    border: 2px solid #e9ecef;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: #f8f9fa;
    border-color: #3498db;
    color: #3498db;
}

.pudo-results {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #e9ecef;
}

.pudo-results h6 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.lockers-list {
    max-height: 400px;
    overflow-y: auto;
}

.locker-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.locker-item:hover {
    border-color: #3498db;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.locker-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.locker-header h4 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.locker-code {
    background: #3498db;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.locker-distance {
    background: #27ae60;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 5px;
}

.locker-details {
    margin-bottom: 10px;
}

.locker-details p {
    margin: 5px 0;
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.locker-details i {
    color: #3498db;
    width: 16px;
}

.locker-boxes {
    border-top: 1px solid #f1f3f4;
    padding-top: 10px;
}

.locker-boxes small {
    color: #868e96;
    font-style: italic;
}

.selected-locker {
    background: #e8f5e8;
    border: 1px solid #27ae60;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.selected-locker h6 {
    color: #27ae60;
    margin-bottom: 15px;
    font-weight: 600;
}

.selected-locker-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.locker-name {
    font-size: 1.1rem;
    color: #2c3e50;
}

.locker-address,
.locker-hours {
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.locker-address i,
.locker-hours i {
    color: #27ae60;
    width: 16px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
    align-self: flex-start;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.loading i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.no-results {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
}

/* PUDO Modal Styles */
.pudo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.pudo-modal.active {
    display: flex;
}

.pudo-modal .modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pudo-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.pudo-modal .modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.pudo-modal .modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pudo-modal .modal-close:hover {
    background: #e9ecef;
    color: #495057;
}

.pudo-modal .modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.pudo-modal .modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* PUDO Selection Trigger Styles */
.pudo-selection-trigger {
    padding: 12px 16px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.pudo-selection-trigger .btn-sm {
    font-size: 0.85rem;
    padding: 6px 12px;
}

.selected-locker-display {
    margin-top: 8px;
    padding: 8px 12px;
    background: #e8f5e8;
    border-radius: 6px;
    border: 1px solid #27ae60;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-locker-display small {
    color: #27ae60;
    font-weight: 500;
}

.btn-xs {
    font-size: 0.75rem;
    padding: 4px 8px;
}

.btn-link {
    background: none;
    border: none;
    color: #3498db;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.btn-link:hover {
    color: #2980b9;
}

/* PUDO Manual Entry Styles */
.pudo-manual-entry {
    margin-top: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.pudo-address-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s ease;
}

.pudo-address-textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Door Address Section Styles */
.door-address-section {
    margin-top: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.door-address-section .form-group {
    margin-bottom: 12px;
}

.door-address-section .form-group:last-child {
    margin-bottom: 0;
}

.door-address-section label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9rem;
}

.door-address-section input {
    width: 100%;
    padding: 10px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.door-address-section input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Contact Page Styles */
.contact-main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-section .form-group {
    margin-bottom: 1.5rem;
}

.contact-section .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.contact-section .form-group input,
.contact-section .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-section .form-group input:focus,
.contact-section .form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.contact-section .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-section .form-actions {
    margin-top: 2rem;
}

.contact-info-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.contact-info-section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #3498db;
    margin-top: 0.25rem;
    width: 24px;
}

.contact-item h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #7f8c8d;
    line-height: 1.5;
}

.social-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.social-section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.2rem;
}

/* Responsive Contact Styles */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-section,
    .contact-info-section,
    .social-section {
        padding: 1.5rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}

/* Responsive PUDO Styles */
@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .location-options {
        flex-direction: column;
    }
    
    .locker-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .locker-code,
    .locker-distance {
        align-self: flex-start;
    }
    
    .pudo-modal .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .pudo-modal .modal-header,
    .pudo-modal .modal-body,
    .pudo-modal .modal-footer {
        padding: 16px;
    }
}
