/* ==============================================
   PREMIUM E-COMMERCE HEADER STYLES
   ============================================== */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Premium Header */
.premium-header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top Bar */
.header-top-bar {
    background: linear-gradient(135deg, #8B0000, #A00000);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 30px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-item i {
    font-size: 0.9rem;
}

.top-bar-right {
    display: flex;
}

.trust-indicators {
    display: flex;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.trust-item i {
    font-size: 0.8rem;
}

/* Main Header */
.header-main {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo Section */
.header-logo-section {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.header-logo {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8B0000;
    letter-spacing: -0.5px;
}

/* Search Section */
.header-search-section {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-container {
    position: relative;
    width: 100%;
}

.search-input-wrapper {
    display: flex;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: #8B0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 1rem;
    outline: none;
}

.search-input::placeholder {
    color: #6c757d;
}

.search-button {
    padding: 12px 20px;
    background: #8B0000;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover {
    background: #A00000;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

/* Mobile search suggestions */
@media (max-width: 768px) {
    .search-suggestions {
        position: fixed;
        top: auto;
        left: 10px;
        right: 10px;
        bottom: 10px;
        background: white;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        max-height: 50vh;
        z-index: 1001;
        transform: none;
    }
}

@media (max-width: 480px) {
    .search-suggestions {
        left: 8px;
        right: 8px;
        bottom: 8px;
        max-height: 60vh;
    }
}

/* Search suggestion items */
.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover {
    background: rgba(139, 0, 0, 0.1);
    color: #8B0000;
    padding-left: 20px;
}

.search-suggestion-item.focused {
    background: rgba(139, 0, 0, 0.1);
    color: #8B0000;
    padding-left: 20px;
}

.search-suggestion-item i {
    color: #8B0000;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

/* Mobile search suggestion items */
@media (max-width: 768px) {
    .search-suggestion-item {
        padding: 15px 20px;
        font-size: 1rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .search-suggestion-item:hover,
    .search-suggestion-item.focused {
        padding-left: 25px;
        background: rgba(139, 0, 0, 0.1);
    }
    
    .search-suggestion-item i {
        font-size: 1rem;
        width: 18px;
    }
}

@media (max-width: 480px) {
    .search-suggestion-item {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .search-suggestion-item i {
        font-size: 0.95rem;
        width: 16px;
    }
}

/* Action Icons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-item {
    position: relative;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: transparent;
    color: #333;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.action-button:hover {
    background: rgba(139, 0, 0, 0.1);
    color: #8B0000;
}

.action-text {
    display: block;
}

/* Badge */
.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.cart-badge {
    background: #8B0000;
}

/* User Account Dropdown */
.user-account {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    min-width: 200px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 5px;
}

.user-account:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-content {
    padding: 15px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(139, 0, 0, 0.1);
    color: #8B0000;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

.user-dropdown hr {
    border: none;
    border-top: 1px solid #e9ecef;
    margin: 5px 0;
}

/* Cart Preview */
.cart-preview {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    min-width: 320px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 5px;
}

.cart:hover .cart-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-preview-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
}

.cart-preview-header h4 {
    margin: 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.cart-preview-items {
    max-height: 200px;
    overflow-y: auto;
    padding: 10px 0;
}

/* Mobile cart preview items */
@media (max-width: 768px) {
    .cart-preview-items {
        max-height: 300px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .cart-preview-items {
        max-height: 250px;
        padding: 10px;
    }
}

/* Cart preview item mobile styles */
.cart-preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-preview-item:last-child {
    border-bottom: none;
}

.cart-preview-item-info {
    flex: 1;
}

.cart-preview-item-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 4px;
}

.cart-preview-item-price {
    color: #8B0000;
    font-weight: 600;
    font-size: 0.85rem;
}

.cart-preview-item-total {
    font-weight: 700;
    color: #333;
    min-width: 50px;
    text-align: right;
    font-size: 0.9rem;
}

/* Mobile cart preview item enhancements */
@media (max-width: 768px) {
    .cart-preview-item {
        padding: 15px 0;
        background: white;
        margin-bottom: 10px;
        border-radius: 8px;
        border: 1px solid #e9ecef;
        padding: 15px;
    }
    
    .cart-preview-item-name {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .cart-preview-item-price {
        font-size: 0.9rem;
    }
    
    .cart-preview-item-total {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cart-preview-item {
        padding: 12px;
    }
    
    .cart-preview-item-name {
        font-size: 0.95rem;
    }
    
    .cart-preview-item-price {
        font-size: 0.85rem;
    }
    
    .cart-preview-item-total {
        font-size: 0.95rem;
    }
}

/* User dropdown mobile enhancements */
@media (max-width: 768px) {
    .user-dropdown-content {
        padding: 0;
        background: white;
        border-radius: 12px;
        margin: 20px;
        overflow: hidden;
    }
    
    .dropdown-item {
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s ease;
    }
    
    .dropdown-item:hover {
        background: rgba(139, 0, 0, 0.1);
        color: #8B0000;
        padding-left: 25px;
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-item i {
        font-size: 1.1rem;
        width: 20px;
        text-align: center;
    }
    
    .user-dropdown hr {
        border: none;
        border-top: 1px solid #e9ecef;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .user-dropdown-content {
        margin: 15px;
    }
    
    .dropdown-item {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .dropdown-item i {
        font-size: 1rem;
    }
}

.cart-preview-footer {
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.cart-preview-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.cart-preview-btn {
    width: 100%;
    padding: 10px;
    background: #8B0000;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-preview-btn:hover {
    background: #A00000;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile menu toggle active state */
.mobile-menu-toggle:active span {
    background: #8B0000;
    transform: scale(1.1);
}

/* Navigation Bar */
.header-nav {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.main-navigation {
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px 6px 0 0;
}

.nav-link:hover {
    background: rgba(139, 0, 0, 0.1);
    color: #8B0000;
}

/* Dropdown Navigation */
.nav-item.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    min-width: 600px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.dropdown-column {
    padding: 20px;
}

.dropdown-column h4 {
    margin: 0 0 15px 0;
    color: #8B0000;
    font-size: 1rem;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.dropdown-link:hover {
    background: rgba(139, 0, 0, 0.1);
    color: #8B0000;
    padding-left: 10px;
}

.dropdown-link img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    transition: left 0.3s ease;
    padding: 0;
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #8B0000, #A00000);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-nav-header h3 {
    margin: 0;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
}

.mobile-nav-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 5px;
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-link:hover {
    background: rgba(139, 0, 0, 0.1);
    color: #8B0000;
    padding-left: 25px;
}

/* Mobile Sidebar Section */
.mobile-sidebar-section {
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.mobile-section-title {
    color: #8B0000;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding: 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-sidebar-menu li {
    margin: 0;
    border-bottom: 1px solid #f8f9fa;
}

.mobile-sidebar-menu li:last-child {
    border-bottom: none;
}

.mobile-sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    background: white;
    margin: 5px 10px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.mobile-sidebar-item:hover {
    background: rgba(139, 0, 0, 0.1);
    color: #8B0000;
    padding-left: 25px;
    border-color: #8B0000;
    transform: translateX(5px);
}

.mobile-sidebar-item .menu-icon {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
    transition: all 0.3s ease;
    color: #8B0000;
}

.mobile-sidebar-item:hover .menu-icon {
    color: #8B0000;
    transform: scale(1.1);
}

/* Mobile Main Navigation Section */
.mobile-main-nav-section {
    margin-bottom: 20px;
}

.mobile-nav-actions {
    border-top: 1px solid #e9ecef;
    padding: 20px;
    background: #f8f9fa;
}

.mobile-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 15px 20px;
    background: white;
    color: #333;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mobile-nav-btn:hover {
    background: rgba(139, 0, 0, 0.1);
    border-color: #8B0000;
    color: #8B0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 0, 0, 0.2);
}

.mobile-nav-btn i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* ==============================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ============================================== */

/* Tablet Styles (1024px and below) */
@media (max-width: 1024px) {
    .header-content {
        gap: 20px;
    }
    
    .header-search-section {
        max-width: 400px;
    }
    
    .trust-indicators {
        gap: 15px;
    }
    
    .trust-item {
        font-size: 0.8rem;
    }
    
    .nav-dropdown {
        min-width: 500px;
    }
    
    .dropdown-content {
        grid-template-columns: 1fr;
    }
    
    .dropdown-column {
        padding: 15px;
    }
}

/* Mobile Styles (768px and below) */
@media (max-width: 768px) {
    /* Hide top bar on mobile */
    .header-top-bar {
        display: none;
    }
    
    /* Main header mobile layout */
    .header-main {
        padding: 12px 0;
    }
    
    .header-content {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    /* Logo section mobile */
    .header-logo-section {
        flex-shrink: 1;
        min-width: 0;
    }
    
    .header-logo {
        height: 45px;
        width: auto;
    }
    
    /* Search section mobile */
    .header-search-section {
        order: 3;
        flex-basis: 100%;
        max-width: none;
        margin-top: 10px;
    }
    
    .search-container {
        position: relative;
    }
    
    .search-input {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .search-button {
        padding: 12px 15px;
    }
    
    .search-suggestions {
        position: fixed;
        top: auto;
        left: 10px;
        right: 10px;
        bottom: auto;
        max-height: 200px;
        z-index: 1000;
    }
    
    /* Action buttons mobile */
    .header-actions {
        gap: 8px;
        flex-shrink: 0;
    }
    
    .action-button {
        padding: 10px 12px;
        min-width: 44px;
        justify-content: center;
    }
    
    .action-text {
        display: none;
    }
    
    .action-button i {
        font-size: 1.1rem;
    }
    
    .badge {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }
    
    /* Mobile menu toggle */
    .mobile-menu-toggle {
        display: flex !important;
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        width: 24px;
        height: 2px;
    }
    
    /* Hide desktop navigation */
    .main-navigation {
        display: none;
    }
    
    .nav-dropdown {
        display: none;
    }
    
    /* Enhanced mobile navigation */
    .mobile-nav {
        width: 100%;
        left: -100%;
        background: white;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
        z-index: 1002;
        padding: 0;
        overflow-y: auto;
    }
    
    .mobile-nav.active {
        left: 0;
    }
    
    .mobile-nav-header {
        padding: 20px;
        background: linear-gradient(135deg, #8B0000, #A00000);
        color: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .mobile-nav-header h3 {
        color: white;
        font-size: 1.3rem;
        margin: 0;
        font-weight: 700;
    }
    
    .mobile-nav-close {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        font-size: 1.2rem;
    }
    
    .mobile-nav-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }
    
    .mobile-nav-menu {
        padding: 20px;
        margin: 0;
    }
    
    .mobile-nav-menu li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-nav-link {
        display: block;
        padding: 15px 20px;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        font-size: 1.1rem;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
    }
    
    .mobile-nav-link:hover {
        background: rgba(139, 0, 0, 0.1);
        color: #8B0000;
        padding-left: 25px;
    }
    
    .mobile-sidebar-item {
        padding: 18px 20px;
        font-size: 1.1rem;
        margin: 5px 10px;
        border-radius: 8px;
        border: 1px solid #f0f0f0;
        background: white;
    }
    
    .mobile-sidebar-item:hover {
        background: rgba(139, 0, 0, 0.1);
        color: #8B0000;
        padding-left: 25px;
        border-color: #8B0000;
        transform: translateX(5px);
    }
    
    .mobile-sidebar-item .menu-icon {
        font-size: 1.3rem;
        width: 24px;
        text-align: center;
        color: #8B0000;
    }
    
    .mobile-section-title {
        font-size: 1.1rem;
        padding: 0 20px;
        font-weight: 700;
    }
    
    .mobile-nav-actions {
        padding: 20px;
        background: #f8f9fa;
        border-top: 1px solid #e9ecef;
    }
    
    .mobile-nav-btn {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 15px 20px;
        background: white;
        color: #333;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        cursor: pointer;
        margin-bottom: 12px;
        transition: all 0.3s ease;
        font-size: 1rem;
        font-weight: 500;
        min-height: 50px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-nav-btn:hover {
        border-color: #8B0000;
        background: rgba(139, 0, 0, 0.05);
        color: #8B0000;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(139, 0, 0, 0.2);
    }
    
    .mobile-nav-btn i {
        font-size: 1.2rem;
        width: 20px;
        text-align: center;
    }
    
    /* User dropdown mobile */
    .user-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1003;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .user-dropdown.show {
        opacity: 1;
        visibility: visible;
    }
    
    .user-dropdown-content {
        background: white;
        border-radius: 12px;
        padding: 0;
        margin: 20px;
        min-width: auto;
        max-width: 300px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .dropdown-item {
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 1rem;
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    /* Cart preview mobile */
    .cart-preview {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1003;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .cart-preview.show {
        opacity: 1;
        visibility: visible;
    }
    
    .cart-preview-items {
        max-height: 300px;
    }
}

/* Small Mobile Styles (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .header-main {
        padding: 10px 0;
    }
    
    .header-content {
        gap: 10px;
    }
    
    /* Logo mobile */
    .header-logo {
        height: 38px;
    }
    
    /* Search mobile */
    .search-input {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .search-button {
        padding: 10px 12px;
    }
    
    /* Actions mobile */
    .action-button {
        padding: 8px 10px;
        min-width: 40px;
    }
    
    .action-button i {
        font-size: 1rem;
    }
    
    .badge {
        width: 16px;
        height: 16px;
        font-size: 0.65rem;
    }
    
    /* Mobile menu */
    .mobile-menu-toggle {
        padding: 6px;
        min-width: 40px;
        min-height: 40px;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
    
    /* Mobile navigation */
    .mobile-nav {
        width: 100%;
    }
    
    .mobile-nav-header {
        padding: 15px;
    }
    
    .mobile-nav-header h3 {
        font-size: 1.2rem;
    }
    
    .mobile-nav-close {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .mobile-nav-menu {
        padding: 15px;
    }
    
    .mobile-nav-link {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .mobile-sidebar-item {
        padding: 15px;
        font-size: 1rem;
        margin: 4px 8px;
    }
    
    .mobile-section-title {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .mobile-nav-actions {
        padding: 15px;
    }
    
    .mobile-nav-btn {
        padding: 12px 15px;
        font-size: 0.95rem;
        min-height: 48px;
    }
    
    .user-dropdown-content {
        margin: 15px;
        max-width: 280px;
    }
    
    .dropdown-item {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .cart-preview-items {
        max-height: 250px;
    }
}

/* Extra Small Mobile Styles (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .header-main {
        padding: 8px 0;
    }
    
    .header-logo {
        height: 35px;
    }
    
    .search-input {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .search-button {
        padding: 8px 10px;
    }
    
    .action-button {
        padding: 6px 8px;
        min-width: 36px;
    }
    
    .action-button i {
        font-size: 0.95rem;
    }
    
    .badge {
        width: 14px;
        height: 14px;
        font-size: 0.6rem;
    }
    
    .mobile-menu-toggle {
        padding: 4px;
        min-width: 36px;
        min-height: 36px;
    }
    
    .mobile-menu-toggle span {
        width: 18px;
        height: 2px;
    }
    
    .mobile-nav {
        width: 100%;
    }
    
    .mobile-nav-header {
        padding: 12px;
    }
    
    .mobile-nav-header h3 {
        font-size: 1.1rem;
    }
    
    .mobile-nav-close {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .mobile-nav-menu {
        padding: 12px;
    }
    
    .mobile-nav-link {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .mobile-sidebar-item {
        padding: 12px;
        font-size: 0.95rem;
        margin: 3px 6px;
    }
    
    .mobile-section-title {
        font-size: 0.95rem;
        padding: 0 12px;
    }
    
    .mobile-nav-actions {
        padding: 12px;
    }
    
    .mobile-nav-btn {
        padding: 10px 12px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .user-dropdown-content {
        margin: 10px;
        max-width: 260px;
    }
    
    .dropdown-item {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .mobile-nav {
        height: 100vh;
        overflow-y: auto;
    }
    
    .user-dropdown-content,
    .cart-preview {
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .search-suggestions {
        max-height: 150px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .action-button {
        min-width: 48px;
        min-height: 48px;
        padding: 12px;
    }
    
    .mobile-menu-toggle {
        min-width: 48px;
        min-height: 48px;
    }
    
    .mobile-nav-btn {
        min-height: 48px;
    }
    
    .mobile-sidebar-item {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .dropdown-item {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    /* Remove hover effects on touch devices */
    .action-button:hover {
        background: transparent;
        color: #333;
    }
    
    .mobile-nav-btn:hover {
        background: white;
        border-color: #e9ecef;
        color: #333;
        transform: none;
    }
    
    /* Add active states for touch */
    .action-button:active {
        background: rgba(139, 0, 0, 0.1);
        color: #8B0000;
    }
    
    .mobile-nav-btn:active {
        background: rgba(139, 0, 0, 0.1);
        border-color: #8B0000;
        color: #8B0000;
    }
    
    .mobile-sidebar-item:active {
        background: rgba(139, 0, 0, 0.1);
        color: #8B0000;
    }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .header-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .mobile-nav {
        transition: none;
    }
    
    .user-dropdown,
    .cart-preview {
        transition: none;
    }
}

/* Mobile Input Optimizations */
@media (max-width: 768px) {
    .search-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .search-button {
        font-size: 16px;
    }
    
    /* Improve touch targets */
    .action-button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .mobile-menu-toggle {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .mobile-nav-btn {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .search-suggestion-item {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .mobile-sidebar-item {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}

/* Mobile Landscape Optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .header-main {
        padding: 8px 0;
    }
    
    .header-logo {
        height: 35px;
    }
    
    .search-input {
        padding: 8px 12px;
    }
    
    .search-button {
        padding: 8px 12px;
    }
    
    .action-button {
        padding: 6px 8px;
    }
    
    .mobile-nav {
        padding: 15px;
    }
    
    .search-suggestions {
        max-height: 40vh;
    }
}

/* Very Small Screens */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }
    
    .header-logo {
        height: 32px;
    }
    
    .search-input {
        padding: 6px 8px;
        font-size: 14px;
    }
    
    .search-button {
        padding: 6px 8px;
    }
    
    .action-button {
        padding: 4px 6px;
        min-width: 32px;
    }
    
    .action-button i {
        font-size: 0.9rem;
    }
    
    .badge {
        width: 12px;
        height: 12px;
        font-size: 0.55rem;
    }
    
    .mobile-menu-toggle {
        min-width: 32px;
        min-height: 32px;
        padding: 2px;
    }
    
    .mobile-menu-toggle span {
        width: 16px;
        height: 2px;
    }
}

/* Hide old header styles and replace with premium header */
.white-header {
    display: none;
}

/* Main container for sidebar and content */
.main-container {
    display: flex;
    min-height: calc(100vh - 140px);
}

/* Sidebar Styles */
.sidebar {
    background-color: white;
    width: 250px;
    padding: 20px 0;
    border-right: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

/* Mobile Sidebar - Hidden by default */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        z-index: 1001;
        transform: translateX(-100%);
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
        border-right: none;
        border-left: 1px solid #e0e0e0;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-container {
        width: 100%;
        margin-left: 0;
    }
    
    .content-area {
        width: 100%;
        padding: 10px;
    }
    
    .content-overlay {
        left: 10px;
        right: 10px;
        top: 10px;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 85%;
        max-width: 300px;
    }
    
    .content-area {
        padding: 8px;
    }
    
    .content-overlay {
        left: 8px;
        right: 8px;
        top: 8px;
        bottom: 8px;
        padding: 15px;
    }
}

@media (max-width: 360px) {
    .sidebar {
        width: 90%;
    }
    
    .content-area {
        padding: 5px;
    }
    
    .content-overlay {
        left: 5px;
        right: 5px;
        top: 5px;
        bottom: 5px;
        padding: 12px;
    }
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-item {
    display: block;
    padding: 12px 20px;
    color: #8B0000;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.menu-icon {
    display: inline-block;
    margin-right: 12px;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.sidebar-item:hover {
    background-color: #8B0000;
    color: white;
    border-left-color: #8B0000;
}

.sidebar-item:hover .menu-icon {
    color: white;
    transform: scale(1.1);
}

/* Content area with semi-transparent white overlay */
.content-area {
    flex: 1;
    padding: 20px;
    position: relative;
}

.content-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
}

.welcome-text {
    font-size: 2rem;
    font-weight: 700;
    color: #666666;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Times New Roman', serif;
    flex-shrink: 0;
}

.gallery-container {
    width: 100%;
    flex-shrink: 0;
}

/* Gallery Styles */
.gallery-container {
    width: 100%;
    height: 300px;
    margin: 0 0 20px 0;
    position: relative;
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.gallery-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gallery-slide.active {
    opacity: 1;
}

/* Navigation Arrows */
.gallery-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    transform: translateY(-50%);
    z-index: 10;
    box-sizing: border-box;
}

.nav-arrow {
    background-color: #8B0000;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-arrow:hover {
    background-color: #A00000;
    transform: scale(1.1);
}

/* Red Banner */
.gallery-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to right, #8B0000, #A00000);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 5;
    padding: 0 20px;
    border-top: 2px solid #660000;
}

.banner-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.banner-text {
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
    display: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-text.active-banner {
    display: block;
    opacity: 1;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Category Cards Section */
.category-section {
    width: 100%;
    margin: 20px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    justify-items: center;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
}

.category-image {
    width: 160px;
    height: 160px;
    object-fit: cover;
    margin-bottom: 12px;
}

.category-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8B0000;
    text-align: center;
}

/* Subcategories Section */
.subcategories-section {
    width: 100%;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.subcategories-section .section-header {
    text-align: center;
    margin-bottom: 25px;
}

.subcategories-section .section-header h2 {
    color: #8B0000;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.subcategories-section .section-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #8B0000, #A00000);
    border-radius: 2px;
    margin: 0 auto;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.subcategory-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.subcategory-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
    border-color: #8B0000;
    background: white;
}

.subcategory-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.subcategory-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.subcategory-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8B0000;
    text-align: center;
    line-height: 1.3;
}

.back-to-categories {
    display: block;
    margin: 0 auto;
    padding: 12px 25px;
    background: #8B0000;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 0, 0, 0.3);
}

.back-to-categories:hover {
    background: #A00000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

/* Products Section */
.products-section {
    width: 100%;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.products-section .section-header {
    text-align: center;
    margin-bottom: 25px;
}

.products-section .section-header h2 {
    color: #8B0000;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card {
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
    border-color: #8B0000;
    background: white;
}

.product-card:hover::before {
    content: 'Klikšķiniet, lai skatītu detalizētu informāciju';
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #8B0000;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    animation: fadeInTooltip 0.3s ease forwards;
}

.product-card:hover::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #8B0000;
    z-index: 10;
    opacity: 0;
    animation: fadeInTooltip 0.3s ease forwards;
}

@keyframes fadeInTooltip {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 12px;
    border-radius: 6px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8B0000;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 12px;
}

.product-add-btn {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: #8B0000;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 10px;
}

.product-add-btn:hover {
    background: #A00000;
    transform: translateY(-1px);
}

.product-quantity-input {
    width: 60px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 8px;
}

.product-quantity-input:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.1);
}

.back-to-subcategories {
    display: block;
    margin: 0 auto;
    padding: 12px 25px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.back-to-subcategories:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4);
}

/* Mobile Responsive for Subcategories */
@media (max-width: 768px) {
    .subcategories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .subcategory-card {
        padding: 15px;
    }
    
    .subcategory-icon {
        font-size: 2.5rem;
    }
    
    .subcategory-name {
        font-size: 1rem;
    }
    
    .back-to-categories {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Social Sharing Section */
.social-section {
    margin-top: 30px;
    text-align: center;
}

/* Cart Section */
.cart-section {
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #8B0000;
}

.cart-header {
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
}

.euro-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B0000;
}

.cart-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B0000;
}

.cart-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clear-cart-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-cart-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.continue-btn {
    width: 100%;
    padding: 12px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.continue-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

.cart-items {
    min-height: 50px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.cart-empty {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.cart-item-price {
    color: #8B0000;
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-item-quantity {
    color: #666;
    font-size: 0.8rem;
    margin-left: 10px;
}

.cart-item-total {
    font-weight: 700;
    color: #2c3e50;
    margin-left: 10px;
    min-width: 50px;
    text-align: right;
}

.cart-item-remove {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.cart-item-remove:hover {
    background: #c82333;
    transform: scale(1.1);
}

.social-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #8B0000;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 24px;
}

.social-icon.twitter {
    background-color: #1DA1F2;
    color: white;
}

.social-icon.facebook {
    background-color: #1877F2;
    color: white;
}

.social-icon.draugiem {
    background-color: #FF6B35;
    color: white;
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url('../../cdn/images/latvebg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

/* Product Modal Styles */
.product-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.product-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.product-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid #8B0000;
    background: linear-gradient(90deg, #8B0000, #A00000);
    color: white;
    border-radius: 12px 12px 0 0;
}

.product-modal-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.product-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.product-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.product-modal-body {
    padding: 25px;
}

.product-modal-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.product-modal-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-modal-price-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #8B0000;
}

.product-modal-price {
    font-size: 2rem;
    font-weight: 700;
    color: #8B0000;
    text-align: center;
}

.product-modal-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-modal-quantity label {
    font-weight: 600;
    color: #333;
}

.product-modal-quantity input {
    width: 80px;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    text-align: center;
}

.product-modal-quantity input:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.product-modal-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: #8B0000;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-modal-add-btn:hover {
    background: #A00000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.cart-icon {
    font-size: 1.2rem;
}

.product-modal-description {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #8B0000;
}

.product-modal-description h4 {
    color: #8B0000;
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.product-modal-description p {
    color: #333;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.product-modal-description p:last-child {
    margin-bottom: 0;
}

.product-modal-weight {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-weight: 600;
    color: #333;
}

.product-modal-weight strong {
    color: #8B0000;
}

.product-modal-warning {
    background: #fff3cd;
    color: #856404;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #ffeaa7;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-modal-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-modal-images h4 {
    color: #8B0000;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.modal-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.modal-product-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.modal-product-image:hover {
    transform: scale(1.05);
    border-color: #8B0000;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #8B0000;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1101;
}

.image-modal-close:hover {
    background: #A00000;
    transform: scale(1.1);
}

#modalImage {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    display: block;
}

/* Mobile Responsive for Product Modal */
@media (max-width: 768px) {
    .product-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .product-modal-header {
        padding: 15px 20px;
    }
    
    .product-modal-title {
        font-size: 1.2rem;
    }
    
    .product-modal-body {
        padding: 20px;
    }
    
    .product-modal-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-modal-price {
        font-size: 1.8rem;
    }
    
    .modal-images-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
    
    .modal-product-image {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .product-modal-title {
        font-size: 1rem;
    }
    
    .product-modal-price {
        font-size: 1.6rem;
    }
    
    .modal-images-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Checkout Modal Styles */
.checkout-modal {
    display: none;
    position: fixed;
    z-index: 1200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.checkout-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 900px;
    width: 95%;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.checkout-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 30px;
    border-bottom: 2px solid #8B0000;
    background: linear-gradient(135deg, #8B0000, #A00000);
    color: white;
    border-radius: 12px 12px 0 0;
}

.checkout-header-content {
    flex: 1;
}

.checkout-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

.checkout-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.checkout-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.checkout-modal-body {
    padding: 30px;
}

.checkout-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.checkout-section-title {
    color: #8B0000;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

/* Cart Section */
.checkout-cart-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.checkout-cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.checkout-cart-item {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #dee2e6;
    gap: 15px;
}

.checkout-cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.checkout-cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.checkout-cart-item-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.3;
}

.checkout-cart-item-price {
    color: #8B0000;
    font-weight: 600;
    font-size: 0.9rem;
}

.checkout-cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.checkout-quantity-input {
    width: 60px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
}

.checkout-quantity-input:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.1);
}

.checkout-remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-remove-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.checkout-cart-item-total {
    font-weight: 700;
    color: #333;
    min-width: 60px;
    text-align: right;
    font-size: 0.95rem;
}

.checkout-cart-total {
    border-top: 2px solid #8B0000;
    padding-top: 15px;
    text-align: right;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.total-amount {
    color: #8B0000;
    font-size: 1.4rem;
}

/* Delivery Section */
.checkout-delivery-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.delivery-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Customer Section */
.checkout-customer-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.customer-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Customer Type Selection */
.customer-type-selection {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.customer-type-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.customer-type-options {
    display: flex;
    gap: 20px;
}

.customer-type-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.customer-type-option:hover {
    border-color: #8B0000;
    background: rgba(139, 0, 0, 0.05);
}

.customer-type-option input[type="radio"] {
    margin: 0;
    accent-color: #8B0000;
}

.customer-type-option input[type="radio"]:checked + span {
    color: #8B0000;
    font-weight: 600;
}

.customer-type-option input[type="radio"]:checked ~ .customer-type-option {
    border-color: #8B0000;
    background: rgba(139, 0, 0, 0.1);
}

/* Customer Type Forms */
.customer-type-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    accent-color: #8B0000;
    transform: scale(1.1);
}

/* Textarea Styling */
.checkout-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    line-height: 1.4;
}

/* Terms Section */
.terms-section {
    padding: 15px;
    background: rgba(139, 0, 0, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(139, 0, 0, 0.2);
}

/* Payment Modal Styles */
.payment-modal {
    display: none;
    position: fixed;
    z-index: 1300;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.payment-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.payment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid #8B0000;
    background: linear-gradient(135deg, #8B0000, #A00000);
    color: white;
    border-radius: 12px 12px 0 0;
}

.payment-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.payment-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.payment-modal-body {
    padding: 25px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.payment-option {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-option:hover {
    border-color: #8B0000;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.1);
}

.payment-option.selected {
    border-color: #8B0000;
    background: rgba(139, 0, 0, 0.05);
}

.payment-option-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.payment-option-icon {
    font-size: 2rem;
    width: 50px;
    text-align: center;
}

.payment-option-info h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.payment-option-info p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.payment-option-details {
    padding-left: 65px;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.payment-option-details p {
    margin: 5px 0;
}

.payment-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.payment-cancel-btn {
    padding: 12px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-cancel-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.payment-confirm-btn {
    padding: 12px 25px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-confirm-btn:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Thank You Modal Styles */
.thank-you-modal {
    display: none;
    position: fixed;
    z-index: 1400;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.thank-you-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.thank-you-header {
    padding: 30px 25px 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 12px 12px 0 0;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.thank-you-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.thank-you-body {
    padding: 25px;
}

.thank-you-message {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.order-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #dee2e6;
}

.order-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.order-detail:last-child {
    border-bottom: none;
}

.order-label {
    font-weight: 600;
    color: #333;
}

.order-value {
    font-weight: 700;
    color: #8B0000;
}

.thank-you-next {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 20px 0 0 0;
}

.thank-you-actions {
    padding: 0 25px 25px;
}

.thank-you-close-btn {
    padding: 12px 30px;
    background: #8B0000;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thank-you-close-btn:hover {
    background: #A00000;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.checkout-select,
.checkout-input {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.checkout-select:focus,
.checkout-input:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.checkout-select {
    cursor: pointer;
}

/* Order Summary */
.checkout-summary {
    background: linear-gradient(135deg, #8B0000, #A00000);
    color: white;
    border-radius: 8px;
    padding: 20px;
    margin: 10px 0;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 1rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 0 0;
    margin-top: 10px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.3rem;
    font-weight: 700;
}

/* Action Buttons */
.checkout-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.checkout-cancel-btn {
    padding: 12px 25px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-cancel-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.checkout-confirm-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-confirm-btn:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-icon {
    font-size: 1.1rem;
}

/* Mobile Responsive for Checkout Modal */
@media (max-width: 768px) {
    .checkout-modal-content {
        width: 98%;
        margin: 10px;
    }
    
    .checkout-modal-header {
        padding: 20px;
    }
    
    .checkout-title {
        font-size: 1.5rem;
    }
    
    .checkout-modal-body {
        padding: 20px;
    }
    
    .delivery-form {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkout-cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .checkout-cart-item-controls {
        justify-content: center;
    }
    
    .checkout-actions {
        flex-direction: column;
    }
    
    .checkout-cancel-btn,
    .checkout-confirm-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .checkout-title {
        font-size: 1.3rem;
    }
    
    .checkout-subtitle {
        font-size: 0.9rem;
    }
    
    .checkout-section-title {
        font-size: 1.1rem;
    }
}

