/* iPalengke Marketplace - Custom Layout Fixes */
/* Implementing 8-12px spacing system and layout improvements for index-8 template */

/* Import Aron Font */
@font-face {
    font-family: 'Aron';
    src: url('../fonts/fonts/aron/Aron-Regular-BF6556dd3e538a2.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Aron';
    src: url('../fonts/fonts/aron/Aron-Bold-BF6556dd3e559a6.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Department Sidebar Fixes - Prevent sidebar from consuming page */
.axil-mainmenu.aside-category-menu {
    position: relative;
    z-index: 999;
}

.header-nav-department {
    position: relative;
}

.header-department {
    position: relative;
}

.header-department .department-nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
    border-radius: 0 0 8px 8px;
    max-height: 0;
    overflow: hidden;
}

.header-department:hover .department-nav-menu,
.header-department.active .department-nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 500px;
}

/* Ensure the department menu doesn't interfere with page content */
.main-wrapper {
    position: relative;
    z-index: 1;
}

/* Mobile department menu fixes */
@media only screen and (max-width: 991px) {
    .header-nav-department {
        display: none;
    }
}

/* Department title button styling */
.department-title {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    width: 280px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.department-title:hover {
    background: var(--color-secondary);
}

.department-title .icon {
    font-size: 18px;
}

/* Enhanced Product Page Styles */
.product-customization {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.product-customization h4 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 18px;
}

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

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

.custom-select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.custom-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(33, 37, 41, 0.1);
    outline: none;
}

.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    padding: 10px;
    border: 2px dashed #e9ecef;
    border-radius: 6px;
    background: #fafafa;
    width: 100%;
    transition: all 0.3s ease;
}

.file-upload-wrapper input[type="file"]:hover {
    border-color: var(--color-primary);
    background: #f0f8ff;
}

.file-upload-wrapper small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

.pricing-summary {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid var(--color-primary);
    margin-top: 20px;
}

.price-breakdown .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.price-row.total-price {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-primary);
}

.delivery-date {
    background: #e8f5e8;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 14px;
    color: #155724;
}

.delivery-date i {
    color: #28a745;
    margin-right: 8px;
}

/* Quantity Section Enhancements */
.quantity-section {
    margin: 25px 0;
}

.quantity-section label {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: block;
}

.bulk-pricing-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.pricing-tier {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-tier:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pricing-tier.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: white;
}

.pricing-tier .tier-range {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.pricing-tier .tier-price {
    display: block;
    font-size: 16px;
    color: #28a745;
}

.pricing-tier.active .tier-price {
    color: white;
}

.pricing-tier .tier-savings {
    display: block;
    font-size: 12px;
    color: #dc3545;
    font-weight: 600;
    margin-top: 5px;
}

.pricing-tier.active .tier-savings {
    color: #ffeb3b;
}

.quantity-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quick-quantity-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.quick-qty-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-qty-btn:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .bulk-pricing-tiers {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .pricing-tier {
        padding: 10px;
    }
    
    .product-customization {
        padding: 15px;
    }
    
    .quick-quantity-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .bulk-pricing-tiers {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumb Fixes - Display horizontally */
.breadcrumbs .bread-list {
    display: flex !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;
}

.breadcrumbs .bread-list li {
    display: flex !important;
    align-items: center !important;
    margin-right: 0 !important;
}

.breadcrumbs .bread-list li a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #64748b !important;
    text-decoration: none !important;
    padding: 0 8px !important;
}

.breadcrumbs .bread-list li.active a {
    color: #2563eb !important;
    font-weight: 600 !important;
}

.breadcrumbs .bread-list li a i {
    font-size: 12px !important;
    color: #94a3b8 !important;
}

/* ============================================================================
   MODERN PRODUCT PAGE REDESIGN - PREMIUM & MINIMAL
   ============================================================================ */

/* Modern Product Page Layout */
.modern-product-page {
    background: #ffffff;
    padding: 0;
    margin: 0;
    font-family: 'Aron', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.modern-product-page .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

/* Product Gallery Modern */
.product-gallery-modern {
    padding: 20px;
    background: #fafbfc;
    height: fit-content;
}

/* Remove sticky on mobile/tablet to prevent layout issues */
@media (min-width: 1200px) {
    .product-gallery-modern {
        position: sticky;
        top: 120px;
    }
}

.main-product-image {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    overflow: hidden;
}

.main-product-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.zoom-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
}

.main-product-image:hover .zoom-indicator {
    opacity: 1;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.thumbnail-item {
    min-width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-item.active,
.thumbnail-item:hover {
    opacity: 1;
    border-color: #2563eb;
}

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

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.trust-badge i {
    color: #059669;
    font-size: 16px;
}

/* Product Information Modern */
.product-info-modern {
    padding: 20px;
    background: white;
}

.product-header {
    margin-bottom: 32px;
}

.category-tag {
    display: inline-block;
    background: #e0e7ff;
    color: #3730a3;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #fbbf24;
    font-size: 16px;
}

.rating-text {
    font-size: 14px;
    color: #64748b;
    margin-left: 8px;
}

.stock-info .in-stock {
    color: #059669;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stock-info .out-of-stock {
    color: #dc2626;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-display {
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
}

.current-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.price-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.price-amount {
    font-size: 36px;
    font-weight: 800;
    color: #2563eb;
}

.price-unit {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.savings-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #166534;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
}

/* Product Description */
.product-description {
    margin-bottom: 32px;
}

.description-text {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

.key-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
}

.feature-item i {
    color: #2563eb;
    font-size: 16px;
}

/* Modern Customization Panel */
.customization-panel-modern {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.panel-header {
    margin-bottom: 16px;
}

.panel-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.panel-title i {
    color: #2563eb;
}

.panel-subtitle {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.customization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.option-card {
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
}

.option-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.option-card.full-width {
    grid-column: 1 / -1;
}

.option-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.option-header i {
    color: #2563eb;
    font-size: 18px;
}

.option-header label {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    margin: 0;
}

.modern-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    color: #374151;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDE0IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDFMNyA3TDEzIDEiIHN0cm9rZT0iIzM3NDE1MSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.modern-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modern-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    color: #374151;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.modern-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* File Upload Modern */
.modern-file-upload {
    position: relative;
}

.file-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 32px 20px;
    text-align: center;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.file-upload-area i {
    font-size: 32px;
    color: #64748b;
    margin-bottom: 8px;
    display: block;
}

.upload-text {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}

.upload-info {
    color: #64748b;
    font-size: 12px;
}

/* Price Indicators */
.price-indicator {
    color: #dc2626;
    font-weight: 600;
    font-size: 12px;
}

.discount-indicator {
    color: #059669;
    font-weight: 600;
    font-size: 12px;
}

/* Quantity & Pricing Section */
.quantity-pricing-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.section-header {
    margin-bottom: 16px;
}

.section-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.section-header p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.tier-card {
    position: relative;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tier-card:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.tier-card.popular {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fef3c7 0%, #ffffff 100%);
}

.tier-card.best-value {
    border-color: #059669;
    background: linear-gradient(135deg, #d1fae5 0%, #ffffff 100%);
}

.tier-card.wholesale {
    border-color: #7c3aed;
    background: linear-gradient(135deg, #e9d5ff 0%, #ffffff 100%);
}

.tier-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.tier-card.popular .tier-badge {
    background: #f59e0b;
}

.tier-card.best-value .tier-badge {
    background: #059669;
}

.tier-card.wholesale .tier-badge {
    background: #7c3aed;
}

.tier-quantity {
    font-weight: 700;
    color: #1e293b;
    font-size: 14px;
    margin-bottom: 8px;
}

.tier-price {
    font-size: 22px;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 6px;
}

.tier-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

/* Quantity Selector */
.quantity-selector {
    margin-bottom: 24px;
}

.quantity-label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 12px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
    margin-bottom: 16px;
}

.qty-btn {
    background: #f8fafc;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    color: #475569;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #2563eb;
    color: white;
}

.quantity-input {
    border: none;
    padding: 12px 16px;
    text-align: center;
    font-weight: 600;
    color: #1e293b;
    width: 80px;
    background: white;
}

.quantity-input:focus {
    outline: none;
}

.quick-quantities {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-qty {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-qty:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

/* Price Summary Modern */
.price-summary-modern {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

.price-breakdown {
    margin-bottom: 20px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
}

.price-item.total-row {
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
    margin-top: 16px;
    font-weight: 700;
    font-size: 18px;
}

.price-item .label {
    color: #64748b;
}

.price-item .value {
    font-weight: 600;
    color: #1e293b;
}

.price-item .value.total {
    color: #2563eb;
    font-size: 20px;
}

.price-item .value.discount {
    color: #059669;
}

.delivery-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 14px;
    background: white;
    padding: 12px;
    border-radius: 8px;
}

.delivery-info i {
    color: #059669;
}

/* Compact Order Configuration */
.order-config-compact {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.quick-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.option-compact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.option-compact label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compact-select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    font-size: 13px;
    color: #374151;
    appearance: none;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEwIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDFMNSA1TDkgMSIgc3Ryb2tlPSIjMzc0MTUxIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPg==");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 28px;
}

.compact-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.quantity-pricing-compact {
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
    margin-bottom: 16px;
}

.qty-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.quantity-compact label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.qty-controls .qty-btn {
    background: #f8fafc;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #475569;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-controls .qty-btn:hover {
    background: #2563eb;
    color: white;
}

.qty-controls input {
    border: none;
    padding: 8px 12px;
    text-align: center;
    font-weight: 600;
    color: #1e293b;
    width: 60px;
    background: white;
}

.qty-controls input:focus {
    outline: none;
}

.quick-qty-btns {
    display: flex;
    gap: 4px;
}

.quick-qty-btns button {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-qty-btns button:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.price-summary-compact {
    text-align: right;
}

.price-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.price-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.price-amount {
    font-size: 24px;
    font-weight: 800;
    color: #2563eb;
}

.savings-info {
    font-size: 12px;
    color: #059669;
    font-weight: 600;
    margin-top: 4px;
}

.upload-compact {
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
    text-align: center;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px dashed #d1d5db;
    padding: 12px 20px;
    border-radius: 8px;
    color: #374151;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.upload-btn:hover {
    border-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
}

.upload-compact small {
    display: block;
    color: #64748b;
    font-size: 11px;
}

/* Call to Action Section Modern */
.cta-section-modern {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.action-buttons {
    margin-bottom: 16px;
}

.btn-add-to-cart-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-add-to-cart-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: white;
    text-decoration: none;
}

.btn-add-to-cart-modern:active {
    transform: translateY(0);
}

.btn-add-to-cart-modern i {
    font-size: 18px;
}

.btn-price {
    background: rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 800;
}

.secondary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-wishlist,
.btn-quote,
.btn-notify {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 8px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-wishlist:hover,
.btn-quote:hover,
.btn-notify:hover {
    border-color: #2563eb;
    color: #2563eb;
    text-decoration: none;
}

.btn-out-of-stock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: #f87171;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: not-allowed;
    margin-bottom: 16px;
}

.trust-indicators {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
}

.trust-item i {
    color: #059669;
    font-size: 14px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .modern-product-page .row.g-0 > div {
        margin-bottom: 20px;
    }
    
    .product-gallery-modern {
        position: static;
        padding: 20px;
    }
    
    .customization-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-tiers {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .secondary-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 24px;
    }
    
    .price-amount {
        font-size: 28px;
    }
    
    .customization-panel-modern,
    .quantity-pricing-section,
    .cta-section-modern {
        padding: 20px;
    }
    
    .pricing-tiers {
        grid-template-columns: 1fr;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Force Font Awesome icons to load properly */
.fas, .far, .fal, .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
}

.far {
    font-weight: 400 !important;
}

/* Ensure icons display correctly */
i[class^="fa"], i[class*=" fa"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-style: normal !important;
    font-weight: inherit !important;
    text-decoration: inherit !important;
}

/* Header fixes - EN|₱ display improvements */
.header-top-dropdown .dropdown-toggle {
    font-weight: 600;
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: #374151;
}

.header-top-dropdown .dropdown-toggle:focus {
    box-shadow: none;
}

/* Hero Section Spacing Fixes - Index-8 Style */
.axil-main-slider-area.main-slider-style-8 {
    padding: 20px 0;
}

.single-slide {
    padding: 12px 0;
}

.main-slider-content .subtitle {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.main-slider-content .title {
    margin-bottom: 16px;
    line-height: 1.2;
}

.main-slider-content .shop-btn {
    margin-top: 20px;
}

.main-slider-content .shop-btn .axil-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
}

/* Slider Product Box */
.slider-product-box {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.slider-product-box:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.slider-product-box .title {
    margin: 12px 0 8px;
    font-size: 16px;
    font-weight: 600;
}

.slider-product-box .price {
    color: #ff6b35;
    font-weight: 700;
    font-size: 16px;
}

/* Service/Feature Cards - Equal Height and Spacing */
.service-area .row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px 16px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-box:hover {
    border-color: #ff6b35;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.service-box .icon {
    margin-bottom: 12px;
}

.service-box .content .title {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}

.service-box .content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #6b7280;
}

/* Flash Sale Section */
.flash-sale-area {
    background: #f9fafb;
    padding: 40px 0;
}

.flash-sale-section {
    margin-bottom: 32px;
}

.sale-countdown {
    background: #ff6b35;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

/* Product Style Four - Index-8 Layout */
.axil-product.product-style-four {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.axil-product.product-style-four:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.axil-product .thumbnail {
    position: relative;
    overflow: hidden;
}

.axil-product .thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.axil-product:hover .thumbnail img {
    transform: scale(1.05);
}

.axil-product .product-content {
    padding: 16px;
}

.axil-product .product-content .title {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.axil-product .product-content .title a {
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
}

.axil-product .product-content .title a:hover {
    color: #ff6b35;
}

.product-price-variant {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-price-variant .price {
    font-weight: 700;
    font-size: 16px;
}

.product-price-variant .current-price {
    color: #ff6b35;
}

.product-price-variant .old-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 14px;
}

/* Product Badges */
.label-block {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.product-badget {
    background: #ef4444;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

/* Product Hover Actions */
.product-hover-action {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    display: grid;
    place-items: center;
}

.axil-product:hover .product-hover-action {
    opacity: 1;
    visibility: visible;
}

.product-hover-action .cart-action {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.product-hover-action .cart-action li {
    display: flex;
    width: 100%;
}

.product-hover-action .cart-action li a {
    width: 100%;
    height: 44px;
    background: #f8fafc;
    color: #374151;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 500;
}

.product-hover-action .cart-action li a:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    border-color: #ff6b35;
}

.product-hover-action .cart-action .select-option a {
    width: 100%;
    min-width: unset;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* Quantity Discount and Pricing */
.discount-info {
    color: #28a745;
    font-weight: 600;
    font-size: 14px;
    margin-left: 8px;
}

#discount-info {
    margin-top: 8px;
    padding: 8px 12px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    color: #155724;
    font-size: 14px;
}

.quick-qty-btns button.active {
    background: #ff6b35 !important;
    color: white !important;
    border-color: #ff6b35 !important;
    transform: scale(1.05);
}

.quick-qty-btns button {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #374151;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.quick-qty-btns button:hover {
    border-color: #ff6b35;
    color: #ff6b35;
    transform: translateY(-1px);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    display: none;
    min-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification.success {
    background: #28a745;
    border-left: 4px solid #1e7e34;
}

.notification.error {
    background: #dc3545;
    border-left: 4px solid #c82333;
}

/* Option Select Styling */
.compact-select {
    transition: border-color 0.3s ease;
}

.compact-select:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

/* Cart Dropdown Styles - FIXED VISIBILITY */
.shopping-cart {
    position: relative;
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: white !important;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    margin-top: 10px;
    opacity: 1 !important;
    visibility: visible !important;
}

.cart-dropdown.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cart-dropdown-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc !important;
}

.cart-dropdown-header h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #374151 !important;
}

.cart-dropdown-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 15px 0;
    background: white !important;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: white !important;
}

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

.cart-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 4px 0;
}

.cart-item-price {
    font-size: 13px;
    color: #6b7280;
}

.cart-item-quantity {
    font-size: 12px;
    color: #9ca3af;
}

.cart-dropdown-footer {
    padding: 15px 20px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    gap: 10px;
}

.cart-dropdown-footer .btn {
    flex: 1;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cart-dropdown-footer .btn-primary {
    background: #ff6b35;
    color: white;
    border: 1px solid #ff6b35;
}

.cart-dropdown-footer .btn-primary:hover {
    background: #e55a2b;
    border-color: #e55a2b;
}

.cart-dropdown-footer .btn-secondary {
    background: #6b7280;
    color: white;
    border: 1px solid #6b7280;
}

.cart-dropdown-footer .btn-secondary:hover {
    background: #4b5563;
    border-color: #4b5563;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b35;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
}

/* Category Grid Fixes - Index-8 Style */
.categrie-product {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.categrie-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.categrie-product img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.categrie-product .cat-title {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 12px 8px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: #374151;
}

/* Add Order arrow on hover */
.categrie-product::after {
    content: 'Order →';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b35;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
}

.categrie-product:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

/* Featured Products - Always show skeleton */
#featured-products-container .axil-product {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#featured-products-container .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Skeleton loading styles */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
}

/* Why Choose Us Section - Index-8 Style */
.why-choose-area {
    padding: 60px 0;
    background: white;
}

.choose-us-content {
    padding-right: 30px;
}

.choose-us-content .section-title-wrapper .title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1f2937;
}

.choose-us-content > p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 32px;
}

.choose-us-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.choose-us-list .single-list {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.choose-us-list .single-list .icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #fff5f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    font-size: 24px;
}

.choose-us-list .single-list .content .title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.choose-us-list .single-list .content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.choose-us-thumbnail img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Newsletter Section Improvements */
.newsletter-inner input {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.newsletter-inner input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.newsletter-form .axil-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Header */
    .header-top-dropdown {
        justify-content: flex-end;
        gap: 8px;
    }
    
    .header-top-dropdown .dropdown-toggle {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    /* Hero Section */
    .main-slider-content .title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .main-slider-content .subtitle {
        font-size: 13px;
    }
    
    .slider-product-box {
        margin-top: 20px;
        padding: 12px;
    }
    
    /* Products */
    .axil-product .thumbnail img {
        height: 180px;
    }
    
    /* Categories */
    .categrie-product img {
        height: 120px;
    }
    
    .categrie-product .cat-title {
        font-size: 13px;
        padding: 10px 6px;
    }
    
    /* Why Choose Us */
    .choose-us-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .choose-us-content .section-title-wrapper .title {
        font-size: 28px;
    }
    
    .choose-us-list .single-list .icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    /* Hero adjustments */
    .axil-main-slider-area.main-slider-style-8 {
        padding: 15px 0;
    }
    
    .main-slider-content .title {
        font-size: 24px;
    }
    
    .main-slider-content .subtitle {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .main-slider-content .shop-btn {
        margin-top: 16px;
    }
    
    /* Product grid */
    .axil-product .thumbnail img {
        height: 160px;
    }
    
    .axil-product .product-content {
        padding: 12px;
    }
    
    .axil-product .product-content .title {
        font-size: 15px;
    }
    
    /* Categories */
    .categrie-product img {
        height: 100px;
    }
    
    .categrie-product .cat-title {
        font-size: 12px;
        padding: 8px 4px;
    }
    
    /* Flash Sale */
    .flash-sale-section {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 16px;
    }
    
    .sale-countdown {
        align-self: stretch;
        text-align: center;
    }
}

/* Select2 Integration Styles */
.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    height: 42px;
    line-height: 40px;
    padding: 0 12px;
    font-size: 14px;
    color: #374151;
    transition: all 0.3s ease;
}

.select2-container--default .select2-selection--single:hover {
    border-color: #9ca3af;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #374151;
    padding-left: 0;
    padding-right: 24px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
    right: 8px;
    top: 1px;
}

.select2-dropdown {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.select2-container--default .select2-results__option {
    padding: 8px 12px;
    font-size: 14px;
    color: #374151;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #2563eb;
    color: white;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #f3f4f6;
    color: #2563eb;
    font-weight: 600;
}

/* ============================================================================
   ENHANCED CHECKOUT PAGE STYLES
   ============================================================================ */

/* Enhanced Checkout Page Styles */
#auth-section {
    border: 1px solid #e3e6f0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    font-size: 16px;
}

#auth-section .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px 8px 0 0;
    font-size: 18px;
}

#auth-section .card-header h5 {
    font-size: 20px;
    font-weight: 600;
}

#auth-section h6 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

#auth-section p.text-muted {
    font-size: 15px;
}

#checkout-form-section .card-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    font-size: 18px;
}

#checkout-form-section .card-header h4 {
    font-size: 22px;
    font-weight: 600;
}

.checkout-form-group {
    margin-bottom: 1rem;
}

.checkout-form-group label {
    font-weight: 600;
    color: #5a5c69;
    margin-bottom: 5px;
    display: block;
    font-size: 16px;
}

.checkout-form-control {
    border: 1px solid #d1d3e2;
    border-radius: 6px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 16px;
}

.checkout-form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.btn-checkout-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.btn-checkout-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-checkout-success {
    background: linear-gradient(135deg, #1cc88a 0%, #17a673 100%);
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.btn-checkout-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 200, 138, 0.4);
    color: white;
    text-decoration: none;
}

.btn-checkout-outline {
    border: 2px solid #858796;
    color: #858796;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
    text-decoration: none;
    font-size: 16px;
}

.btn-checkout-outline:hover {
    background: #858796;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Payment Method Cards */
.checkout-form-check {
    background: #f8f9fc;
    border: 1px solid #e3e6f0;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.checkout-form-check:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.checkout-form-check input:checked ~ label {
    color: #667eea;
    font-weight: 600;
}

.checkout-payment-details {
    background: #e8f4fd;
    border: 1px solid #b8daff;
    border-radius: 6px;
    padding: 15px;
    margin-top: 10px;
}

/* Order Summary Enhancements */
.checkout-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Login/Register Section Styling */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e3e6f0;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: #858796;
    font-size: 0.875rem;
}

/* Loading Animation */
.checkout-spinner {
    animation: spin 1s linear infinite;
}

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

/* Form Validation Styles */
.checkout-form-control.is-invalid {
    border-color: #e74a3b;
    box-shadow: 0 0 0 0.2rem rgba(231, 74, 59, 0.25);
}

.checkout-form-control.is-valid {
    border-color: #1cc88a;
    box-shadow: 0 0 0 0.2rem rgba(28, 200, 138, 0.25);
}

.checkout-invalid-feedback {
    color: #e74a3b;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.checkout-valid-feedback {
    color: #1cc88a;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    #auth-section .row > .col-md-6 {
        margin-bottom: 20px;
    }
    
    .btn-block {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .checkout-card {
        margin-bottom: 1rem;
    }
}

/* Additional Visual Enhancements */
.checkout-text-muted {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #6c757d;
}

.checkout-card-header h4,
.checkout-card-header h5 {
    margin-bottom: 0;
    font-weight: 600;
}

.checkout-alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: 1px solid #b8daff;
    color: #0c5460;
    padding: 12px;
    border-radius: 6px;
}

/* Enhanced shipping and payment option styling */
.shipping-option,
.payment-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.shipping-option:hover,
.payment-option:hover {
    background: #f0f8ff;
}

.shipping-option input:checked ~ label,
.payment-option input:checked ~ label {
    color: #667eea;
    font-weight: 700;
}

/* User welcome message styling */
.user-welcome {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* File upload styling improvements */
.checkout-file-upload {
    border: 2px dashed #d1d3e2;
    border-radius: 6px;
    padding: 10px 15px;
    background: #fafbfc;
    transition: all 0.3s ease;
}

.checkout-file-upload:hover {
    border-color: #667eea;
    background: #f0f8ff;
}

/* Make main checkout form elements bigger */
.checkout-page .form-group label {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.checkout-page .form-control {
    font-size: 16px !important;
    padding: 12px 15px !important;
    line-height: 1.5 !important;
}

.checkout-page .btn {
    font-size: 16px !important;
    padding: 12px 24px !important;
}

.checkout-page .card-header h4,
.checkout-page .card-header h5 {
    font-size: 20px !important;
}

.checkout-page .form-check-label {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.checkout-page .form-check {
    margin-bottom: 12px !important;
}

.checkout-page .form-check-label strong {
    font-size: 17px !important;
}

.checkout-page .text-muted,
.checkout-page small {
    font-size: 14px !important;
}

/* Order summary styling */
.checkout-page .card-body .d-flex {
    font-size: 16px !important;
    margin-bottom: 8px !important;
}

.checkout-page .card-body .d-flex strong {
    font-size: 17px !important;
}

/* Make shipping and payment options more readable */
.checkout-page .form-check-input {
    transform: scale(1.2);
    margin-right: 8px !important;
}

/* Larger text for better readability */
body.checkout-page {
    font-size: 16px;
    line-height: 1.6;
}

/* ========================================
   MOBILE RESPONSIVE FIXES - iPALENGKE
   ======================================== */

/* Mobile Product Grid Improvements */
@media (max-width: 767.98px) {
    /* Hero Section Mobile */
    .axil-main-slider-area {
        padding: 20px 0;
    }
    
    .main-slider-style-8 .slider-box-wrap {
        padding: 0;
    }
    
    .main-slider-style-8 .single-slide {
        flex-direction: column;
        text-align: center;
    }
    
    .main-slider-style-8 .main-slider-content {
        order: 2;
        padding: 20px;
        margin-top: 20px;
    }
    
    .main-slider-style-8 .main-slider-thumb {
        order: 1;
        width: 100%;
        margin-bottom: 0;
    }
    
    /* Category Section Mobile */
    .axil-categorie-area {
        padding: 30px 0;
    }
    
    .section-title-wrapper {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .section-title-wrapper .title {
        font-size: 1.5rem;
    }
    
    /* Product Grid Mobile */
    .axil-product-area {
        padding: 30px 0;
    }
    
    .axil-product {
        margin-bottom: 30px;
    }
    
    .axil-product .product-thumb {
        border-radius: 12px;
        overflow: hidden;
    }
    
    .axil-product .product-content {
        padding: 15px 5px;
    }
    
    .axil-product .product-title a {
        font-size: 1rem;
        line-height: 1.4;
        display: block;
        margin-bottom: 8px;
    }
    
    .axil-product .product-price-variant {
        font-size: 1.1rem;
        font-weight: 600;
        color: #ff7f04;
    }
    
    .axil-product .cart-btn {
        margin-top: 10px;
    }
    
    .axil-product .cart-btn .axil-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }
    
    /* Category Banners Mobile */
    .categorie-box {
        margin-bottom: 20px;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .categorie-box .inner {
        padding: 20px;
        text-align: center;
    }
    
    .categorie-box .inner .title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .categorie-box .inner .btn-link {
        font-size: 0.9rem;
    }
    
    /* Mobile Navigation Improvements */
    .axil-mainmenu.aside-category-menu {
        width: 280px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .axil-mainmenu.aside-category-menu .mainmenu > li > a {
        padding: 15px 20px;
        font-size: 1rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* Department Menu Mobile */
    .header-department .department-megamenu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
    }
    
    .department-submenu {
        column-count: 1;
        padding: 10px;
    }
    
    /* Search Modal Mobile */
    .header-search-modal .search-result {
        max-height: 60vh;
        overflow-y: auto;
    }
    
    /* Cart Dropdown Mobile */
    .cart-dropdown .cart-dropdown-wrap {
        width: 320px;
        max-width: calc(100vw - 20px);
        right: 10px;
        left: auto;
    }
    
    .cart-dropdown .cart-item {
        padding: 10px;
    }
    
    .cart-dropdown .cart-item .thumbnail {
        width: 50px;
        height: 50px;
    }
    
    /* Footer Mobile */
    .footer-widget {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .footer-widget .widget-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-widget ul li {
        padding: 3px 0;
    }
    
    .footer-widget ul li a {
        font-size: 0.9rem;
    }
}

/* Small Mobile Specific (iPhone SE, etc.) */
@media (max-width: 480px) {
    /* Tighter spacing for small screens */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .axil-main-slider-area {
        padding: 15px 0;
    }
    
    .main-slider-content .title {
        font-size: 1.25rem !important;
        margin-bottom: 10px;
    }
    
    .main-slider-content .subtitle {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .main-slider-content .axil-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    /* Smaller product cards */
    .axil-product .product-content {
        padding: 10px 5px;
    }
    
    .axil-product .product-title a {
        font-size: 0.9rem;
    }
    
    .axil-product .product-price-variant {
        font-size: 1rem;
    }
    
    /* Smaller category boxes */
    .categorie-box .inner {
        padding: 15px;
    }
    
    .categorie-box .inner .title {
        font-size: 1rem;
    }
}

/* Landscape Mobile Optimizations */
@media (max-width: 767.98px) and (orientation: landscape) {
    .axil-main-slider-area {
        padding: 10px 0;
    }
    
    .main-slider-content {
        padding: 15px;
    }
    
    .main-slider-content .title {
        font-size: 1.3rem !important;
        margin-bottom: 8px;
    }
    
    .main-slider-content .subtitle {
        margin-bottom: 5px;
    }
}