/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #111;
    background: #f5f5f5;
    line-height: 1.6;
}

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

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #111;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #f9fafb;
    border-color: #999;
}

.google-btn svg {
    width: 20px;
    height: 20px;
}

.facebook-btn {
    color: #1877F2;
}

.apple-btn {
    color: #000;
}

.login-form {
    margin-top: 30px;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #BC1D24;
    box-shadow: 0 0 0 3px rgba(188, 29, 36, 0.1);
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    padding: 5px;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: #111;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #BC1D24;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.terms {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 20px;
    line-height: 1.5;
}

.terms a {
    color: #BC1D24;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

.signup-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #6b7280;
}

.signup-link a {
    color: #BC1D24;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    border-left: 4px solid #BC1D24;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-placeholder {
    display: flex;
    align-items: center;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #f3f4f6;
    color: #BC1D24;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 8px 12px;
    width: 300px;
}

.search-box input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    padding: 4px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    padding: 4px;
}

.icon-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: #f3f4f6;
}

.cart-count,
.favorite-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #BC1D24;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.favorite-btn i {
    font-size: 20px;
    color: #374151;
    transition: all 0.3s ease;
}

.favorite-btn:hover i {
    color: #BC1D24;
}

/* =====================================================
   USER PROFILE DROPDOWN STYLES
   ===================================================== */

/* User Profile Wrapper */
.user-profile-wrapper {
    position: relative;
}

/* User Profile Button */
.user-profile-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: white;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile-btn:hover {
    border-color: #BC1D24;
    box-shadow: 0 0 0 3px rgba(188, 29, 36, 0.1);
}

.user-profile-btn .user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-profile-btn .user-avatar-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #6b7280;
    font-size: 18px;
}

/* User Dropdown Menu - Enhanced */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    display: none;
    z-index: 1000;
    overflow: hidden;
    animation: dropdownFadeIn 0.2s ease;
}

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

.user-dropdown-menu.show {
    display: block;
}

/* Dropdown Header */
.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: linear-gradient(135deg, #BC1D24 0%, #8B1419 100%);
    color: white;
}

.user-dropdown-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.user-dropdown-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-dropdown-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.user-dropdown-info {
    flex: 1;
    min-width: 0;
}

.user-dropdown-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-email {
    font-size: 13px;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dropdown Divider */
.user-dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0;
}

/* Dropdown Body */
.user-dropdown-body {
    padding: 8px;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.user-dropdown-item:hover {
    background: #f3f4f6;
    color: #BC1D24;
}

.user-dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: #6b7280;
    transition: color 0.2s ease;
}

.user-dropdown-item:hover i {
    color: #BC1D24;
}

/* Dropdown Footer */
.user-dropdown-footer {
    padding: 8px;
}

.user-dropdown-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    text-decoration: none;
    color: #DC2626;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
}

.user-dropdown-logout:hover {
    background: #FEF2F2;
}

.user-dropdown-logout i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

/* Legacy user-menu styles kept for compatibility */
.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    margin-top: 10px;
    display: none;
    z-index: 1000;
}

.user-menu.show {
    display: block;
}

.user-info {
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.user-email {
    font-size: 12px;
    color: #6b7280;
}

.user-menu-item {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #111;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.user-menu-item:hover {
    background: #f3f4f6;
}

.logout-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #111;
    padding: 0;
}

.btn-contact {
    padding: 10px 24px;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-contact:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #BC1D24 0%, #000000 100%);
    padding: 80px 0;
    color: white;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.deal-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.deal-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.countdown {
    background: #000000;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-shop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: white;
    color: #111;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
}

/* New Arrivals & Products Section */
.new-arrivals,
.products-section {
    padding: 80px 0;
    background: #f9fafb;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 30px;
}

/* =====================================================
   FILTER & SORT STYLES
   ===================================================== */
.filter-sort-container {
    background: white;
    border-radius: 16px;
    padding: 25px 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-group,
.sort-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.filter-label svg {
    stroke: #BC1D24;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tab {
    padding: 10px 20px;
    background: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-tab:hover {
    background: #fee2e2;
    color: #BC1D24;
    border-color: #fecaca;
}

.category-tab.active {
    background: #BC1D24;
    color: white;
    border-color: #BC1D24;
}

.sort-select {
    padding: 12px 40px 12px 16px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    max-width: 250px;
}

.sort-select:hover {
    border-color: #BC1D24;
}

.sort-select:focus {
    outline: none;
    border-color: #BC1D24;
    box-shadow: 0 0 0 3px rgba(188, 29, 36, 0.1);
}

.results-count {
    font-size: 14px;
    color: #6b7280;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

.results-count span {
    font-weight: 700;
    color: #BC1D24;
}

/* Products Loading */
.products-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 15px;
    color: #6b7280;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f4f6;
    border-top-color: #BC1D24;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Products Empty State */
.products-empty {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.products-empty svg {
    margin-bottom: 20px;
}

.products-empty h3 {
    font-size: 20px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 10px;
}

.products-empty p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 25px;
}

.btn-reset-filter {
    padding: 12px 28px;
    background: #BC1D24;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-filter:hover {
    background: #9a1720;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(188, 29, 36, 0.3);
}

/* Product Category Badge */
.product-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #BC1D24;
    background: #fee2e2;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filter Responsive */
@media (min-width: 768px) {
    .filter-sort-container {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .filter-group {
        flex: 1;
        max-width: 600px;
    }
    
    .sort-group {
        flex-shrink: 0;
    }
    
    .results-count {
        width: 100%;
        border-top: 1px solid #e5e7eb;
        padding-top: 15px;
        margin-top: 5px;
    }
}

@media (max-width: 768px) {
    .filter-sort-container {
        padding: 20px;
    }
    
    .category-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .category-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .category-tab {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .sort-select {
        max-width: 100%;
        width: 100%;
    }
}

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

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

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

.product-card.out-of-stock {
    opacity: 0.6;
    filter: grayscale(100%);
    pointer-events: none;
    cursor: not-allowed;
}

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

.favorite-card.out-of-stock {
    opacity: 0.6;
    filter: grayscale(100%);
    pointer-events: none;
    cursor: not-allowed;
}

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

.badge-discount {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #BC1D24;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
}

.badge-new {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    z-index: 10;
    letter-spacing: 1px;
}

/* When both discount and new badge exist */
.product-card .badge-discount + .badge-new {
    top: 50px;
}

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f3f4f6;
}

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

.btn-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.btn-favorite i {
    font-size: 18px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.btn-favorite:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-favorite:hover i {
    color: #BC1D24;
}

/* Active state - when favorited */
.btn-favorite.active {
    background: white;
}

.btn-favorite.active i {
    color: #BC1D24;
    font-weight: 900;
}

/* Change icon from regular (outline) to solid (filled) when active */
.btn-favorite.active i.fa-regular {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.btn-favorite.active:hover {
    transform: scale(1.1);
}

.btn-favorite.active:hover i {
    color: #9a1720;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

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

.rating-text {
    font-size: 13px;
    color: #6b7280;
}

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

.price,
.price-discounted {
    font-size: 20px;
    font-weight: 700;
    color: #BC1D24;
}

.price-original {
    font-size: 15px;
    color: #9ca3af;
    text-decoration: line-through;
}

.product-stock {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 15px;
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: #111;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: #000;
    transform: translateY(-1px);
}

/* Image Slider */
.image-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.slider-slide.active {
    opacity: 1;
    visibility: visible;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    max-width: 900px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.slider-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.5px;
}

.slider-description {
    font-size: 1.125rem;
    margin: 0 0 30px 0;
    line-height: 1.6;
    max-width: 700px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.slider-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #BC1D24;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #BC1D24;
    margin-top: 0;
}

.slider-button:hover {
    background: white;
    color: #BC1D24;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.slider-button span {
    display: inline-block;
}

/* Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow-prev {
    left: 30px;
}

.slider-arrow-next {
    right: 30px;
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
}

/* Slider Enhanced Animations */
.slider-wrapper.transitioning {
    pointer-events: none;
}

/* Loading indicator */
.slider-container.loading {
    position: relative;
}

.slider-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: sliderSpin 1s linear infinite;
    z-index: 10;
}

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

/* Slider Content Animations */
.slider-slide.active .slider-title {
    animation: sliderFadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slider-slide.active .slider-description {
    animation: sliderFadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards;
}

.slider-slide.active .slider-button {
    animation: sliderFadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

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

/* Enhanced hover effects for arrows */
.slider-arrow {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Dot enhancements */
.slider-dot {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-dot.active {
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Progress indicator */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    width: 100%;
    transform-origin: left;
    animation: progressBar 5s linear infinite;
}

.slider-container:hover .slider-progress {
    animation-play-state: paused;
}

@keyframes progressBar {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

/* Slider Responsive Styles */
@media (max-width: 1024px) {
    .image-slider {
        height: 60vh;
        min-height: 450px;
    }
    
    .slider-title {
        font-size: 2.5rem;
    }
    
    .slider-description {
        font-size: 1rem;
        max-width: 600px;
    }
    
    .slider-content {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .image-slider {
        height: 55vh;
        min-height: 400px;
    }
    
    .slider-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .slider-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
        max-width: 500px;
    }
    
    .slider-button {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
    
    .slider-content {
        padding: 0 25px;
    }
    
    .slider-arrow {
        width: 44px;
        height: 44px;
    }
    
    .slider-arrow-prev {
        left: 15px;
    }
    
    .slider-arrow-next {
        right: 15px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .image-slider {
        height: 50vh;
        min-height: 350px;
    }
    
    .slider-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .slider-description {
        font-size: 0.875rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .slider-button {
        padding: 10px 24px;
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .slider-content {
        padding: 0 20px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-arrow-prev {
        left: 10px;
    }
    
    .slider-arrow-next {
        right: 10px;
    }
    
    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* Animations */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Footer */
.footer {
    background: #722F37;
    color: white;
    padding: 60px 0 20px;
}

.join-member {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.join-member h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.join-member p {
    color: #d1d5db;
    margin-bottom: 25px;
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
}

.btn-subscribe {
    padding: 12px 30px;
    background: #BC1D24;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: #9a1720;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 15px;
}

.footer-links a:hover {
    color: white;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column p {
    color: #d1d5db;
    font-size: 16px;
    margin-bottom: 18px;
    line-height: 1.7;
}

.footer-column p strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: white;
}

.map-container {
    margin-bottom: 0;
    width: 100%;
    margin-top: 0;
    min-height: 350px;
}

.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    min-height: 350px;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 15px;
    margin-top: 20px;
}

/* Cart Page Styles */
.cart-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.cart-items {
    background: white;
    border-radius: 12px;
    padding: 30px;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.cart-label {
    font-weight: 600;
    font-size: 16px;
}

.free-shipping {
    color: #BC1D24;
    font-size: 14px;
    font-weight: 500;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 120px 120px 40px;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}

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

.item-details {
    flex: 1;
}

.item-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.item-category {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

.item-price .price-current {
    font-size: 18px;
    font-weight: 700;
    color: #BC1D24;
    margin-right: 10px;
}

.item-price .price-original {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #f3f4f6;
}

.item-quantity input {
    width: 50px;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px;
    font-size: 14px;
}

.item-subtotal {
    text-align: right;
}

.subtotal-price {
    font-size: 18px;
    font-weight: 700;
}

.btn-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-remove:hover {
    background: #fee2e2;
    color: #BC1D24;
}

.cart-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
}

.btn-clear-all {
    padding: 12px 24px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-all:hover {
    background: #f3f4f6;
}

.cart-summary {
    background: white;
    border-radius: 12px;
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

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

.discount {
    color: #BC1D24;
    font-weight: 600;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 2px solid #e5e7eb;
    font-size: 18px;
    font-weight: 700;
}

.total-amount {
    color: #BC1D24;
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    background: #111;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 25px;
    transition: all 0.3s ease;
}

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

.empty-cart {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
}

.empty-cart svg {
    margin-bottom: 30px;
}

.empty-cart h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #6b7280;
    margin-bottom: 30px;
}

.btn-shop-now {
    display: inline-block;
    padding: 14px 30px;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-shop-now:hover {
    background: #000;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .search-box {
        width: 100%;
        order: 3;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .item-quantity,
    .item-subtotal {
        grid-column: 2;
    }
    
    .btn-remove {
        grid-column: 2;
        justify-self: end;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   PROFILE PAGE STYLES
   ===================================================== */
.profile-section {
    min-height: calc(100vh - 80px);
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.profile-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.profile-header {
    background: linear-gradient(135deg, #BC1D24 0%, #000000 100%);
    padding: 40px;
    text-align: center;
    color: white;
}

/* Profile Avatar Container */
.profile-avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.profile-avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: visible;
    border: 4px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.profile-avatar-wrapper.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-wrapper.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: avatarSpin 0.8s linear infinite;
    z-index: 10;
}

@keyframes avatarSpin {
    to { transform: rotate(360deg); }
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 40px;
    font-weight: 700;
    color: white;
}

.profile-avatar-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid #BC1D24;
}

.profile-avatar-overlay i {
    color: #BC1D24;
    font-size: 14px;
}

.profile-avatar-overlay:hover {
    transform: scale(1.1);
    background: #BC1D24;
}

.profile-avatar-overlay:hover i {
    color: white;
}

/* Photo Actions Menu */
.photo-actions-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px;
    display: none;
    z-index: 100;
    min-width: 160px;
}

.photo-actions-menu.show {
    display: block;
    animation: fadeInUp 0.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.photo-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.photo-action-btn:hover {
    background: #f3f4f6;
    color: #BC1D24;
}

.photo-action-btn i {
    width: 16px;
    text-align: center;
}

.photo-action-danger {
    color: #DC2626;
}

.photo-action-danger:hover {
    background: #FEF2F2;
    color: #DC2626;
}

/* Photo Toast Notification */
.photo-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1F2937;
    color: white;
    padding: 14px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.photo-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.photo-toast-success {
    background: #059669;
}

.photo-toast-error {
    background: #DC2626;
}

.photo-toast i {
    font-size: 18px;
}

/* Photo Change Indicator */
.photo-change-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 12px;
    color: white;
    animation: fadeIn 0.3s ease;
}

.photo-change-indicator.photo-removal {
    background: rgba(220, 38, 38, 0.3);
}

.photo-change-indicator i {
    font-size: 14px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Newsletter Section Styles */
.newsletter-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.newsletter-form {
    margin-top: 15px;
}

.btn-newsletter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-newsletter i {
    font-size: 16px;
}

.btn-subscribe-profile {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

.btn-subscribe-profile:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-unsubscribe {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: white;
}

.btn-unsubscribe:hover {
    background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.subscription-status {
    margin-top: 10px;
}

.subscription-active,
.subscription-inactive {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.subscription-active {
    background: #ECFDF5;
    color: #047857;
}

.subscription-active svg {
    stroke: #059669;
}

.subscription-inactive {
    background: #F3F4F6;
    color: #6B7280;
}

.subscription-inactive svg {
    stroke: #9CA3AF;
}

/* Legacy profile avatar */
.profile-avatar {
    margin-bottom: 20px;
}

.profile-avatar svg {
    display: inline-block;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.profile-email {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.profile-joined {
    font-size: 14px;
    opacity: 0.8;
}

.alert-success {
    margin: 20px;
    padding: 16px 20px;
    background: #d1fae5;
    border: 1px solid #10b981;
    border-radius: 8px;
    color: #065f46;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success svg {
    stroke: #10b981;
    flex-shrink: 0;
}

.profile-content {
    padding: 40px;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.form-section-desc {
    font-size: 14px;
    color: #6b7280;
    margin-top: -12px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label svg {
    stroke: #6b7280;
}

.form-input {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-input:focus {
    outline: none;
    border-color: #BC1D24;
    box-shadow: 0 0 0 3px rgba(188, 29, 36, 0.1);
}

.form-input.is-invalid {
    border-color: #BC1D24;
}

.form-hint {
    font-size: 13px;
    color: #6b7280;
    margin-top: -4px;
}

.form-actions {
    display: flex;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.btn-submit {
    flex: 1;
    padding: 14px 24px;
    background: #BC1D24;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #9a1720;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(188, 29, 36, 0.3);
}

.btn-cancel {
    flex: 1;
    padding: 14px 24px;
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* Profile Page Responsive */
@media (max-width: 768px) {
    .profile-header {
        padding: 30px 20px;
    }

    .profile-content {
        padding: 30px 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-submit,
    .btn-cancel {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   PAYMENT PAGE STYLES
   ===================================================== */
.payment-section {
    padding: 40px 0 80px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #BC1D24 0%, #000000 100%);
}

.payment-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.payment-header {
    text-align: center;
    margin-bottom: 30px;
}

.order-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 20px;
}

.order-badge svg {
    width: 18px;
    height: 18px;
}

.payment-title {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.payment-subtitle {
    color: #6b7280;
    font-size: 14px;
}

.payment-amount {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    margin-bottom: 25px;
}

.amount-label {
    display: block;
    font-size: 14px;
    color: #92400e;
    margin-bottom: 8px;
}

.amount-value {
    font-size: 36px;
    font-weight: 800;
    color: #78350f;
}

.order-summary {
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 20px;
}

.order-summary h3,
.shipping-info h3 {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

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

.item-name {
    color: #111;
}

.item-qty {
    color: #6b7280;
}

.item-price {
    font-weight: 600;
    color: #111;
}

.shipping-info {
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 30px;
}

.recipient-name {
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.recipient-phone {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 8px;
}

.recipient-address {
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
}

.order-note {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
}

.payment-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-pay {
    width: 100%;
    padding: 16px;
    background: #BC1D24;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-pay:hover {
    background: #9a1720;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(188, 29, 36, 0.4);
}

.btn-later {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-later:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

.payment-info-box {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #6b7280;
}

/* Payment Page Responsive */
@media (max-width: 768px) {
    .payment-container {
        margin: 0 15px;
        padding: 30px 20px;
    }
    
    .payment-title {
        font-size: 24px;
    }
    
    .amount-value {
        font-size: 28px;
    }
}

/* =====================================================
   CHECKOUT PAGE STYLES
   ===================================================== */
.checkout-section {
    padding: 40px 0 80px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
}

.alert-error {
    padding: 16px 20px;
    background: #fee2e2;
    border: 1px solid #ef4444;
    border-radius: 8px;
    color: #991b1b;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #111;
}

.card-title svg {
    stroke: #BC1D24;
}

.required {
    color: #BC1D24;
}

.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: #BC1D24;
    box-shadow: 0 0 0 3px rgba(188, 29, 36, 0.1);
}

.form-textarea.is-invalid {
    border-color: #BC1D24;
}

.order-items-preview {
    max-height: 300px;
    overflow-y: auto;
}

.item-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

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

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

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

.item-preview-info {
    flex: 1;
}

.item-preview-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #111;
}

.item-preview-price {
    font-size: 14px;
    font-weight: 700;
    color: #BC1D24;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.summary-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #111;
}

.free-badge {
    color: #10b981;
    font-weight: 600;
}

.payment-info {
    margin: 25px 0;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-method svg {
    stroke: #BC1D24;
    flex-shrink: 0;
}

.payment-method strong {
    display: block;
    font-size: 14px;
    color: #111;
}

.payment-method p {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

/* Payment Options Styles */
.payment-options {
    margin: 20px 0;
}

.payment-options-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.payment-option {
    display: block;
    cursor: pointer;
    margin-bottom: 10px;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    transition: all 0.2s ease;
}

.payment-option input[type="radio"]:checked + .payment-option-content {
    border-color: #BC1D24;
    background: #fef2f2;
}

.payment-option:hover .payment-option-content {
    border-color: #d1d5db;
}

.payment-option input[type="radio"]:checked + .payment-option-content:hover {
    border-color: #BC1D24;
}

.payment-option-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 10px;
    flex-shrink: 0;
}

.payment-option input[type="radio"]:checked + .payment-option-content .payment-option-icon {
    background: #BC1D24;
}

.payment-option input[type="radio"]:checked + .payment-option-content .payment-option-icon svg {
    stroke: white;
}

.payment-option-icon svg {
    stroke: #6b7280;
    transition: stroke 0.2s ease;
}

.payment-option-info {
    flex: 1;
}

.payment-option-info strong {
    display: block;
    font-size: 14px;
    color: #111;
    margin-bottom: 2px;
}

.payment-option-info p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.payment-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.payment-badge.recommended {
    background: #dcfce7;
    color: #166534;
}

.payment-badge.cod {
    background: #fef3c7;
    color: #92400e;
}

.btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: transparent;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 13px;
    color: #10b981;
}

/* Checkout Page Responsive */
@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .summary-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-section {
        padding: 20px 0 60px;
    }
    
    .info-card,
    .summary-card {
        padding: 20px;
    }
}

/* =====================================================
   WELCOME / SPLASH SCREEN STYLES
   ===================================================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #BC1D24 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    pointer-events: auto;
}

.splash-screen[style*="opacity: 0"],
.splash-screen[style*="opacity:0"] {
    pointer-events: none;
}

.splash-content {
    text-align: center;
}

.splash-logo {
    margin-bottom: 30px;
}

@keyframes rotate {
    from { stroke-dashoffset: 283; }
    to { stroke-dashoffset: 0; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.circle-animation {
    animation: rotate 2s ease-in-out forwards;
}

.star-animation {
    animation: pulse 1.5s ease-in-out infinite;
}

.splash-title {
    font-size: 48px;
    font-weight: 700;
    color: #BC1D24;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.splash-subtitle {
    font-size: 18px;
    color: #E0E0E0;
    margin-bottom: 40px;
}

.splash-loader {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar {
    height: 100%;
    background: linear-gradient(90deg, #BC1D24, #9a1720);
    width: 0;
    animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
    to { width: 100%; }
}

/* Welcome Screen Styles */
.welcome-screen {
    display: none;
    min-height: 100vh;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.welcome-container {
    display: flex;
    min-height: 100vh;
}

.welcome-left {
    flex: 1;
    background: linear-gradient(135deg, #000000 0%, #BC1D24 100%);
    padding: 80px 60px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.welcome-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(188, 29, 36, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.welcome-brand {
    font-size: 56px;
    font-weight: 700;
    color: #BC1D24;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.welcome-brand sup {
    font-size: 24px;
    top: -1.5em;
}

.welcome-tagline {
    font-size: 32px;
    font-weight: 600;
    color: white;
    line-height: 1.3;
    margin-bottom: 20px;
}

.welcome-description {
    font-size: 16px;
    color: #B8C1CC;
    line-height: 1.7;
    margin-bottom: 40px;
}

.welcome-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 16px;
}

.feature-item svg {
    flex-shrink: 0;
}

.welcome-right {
    flex: 0 0 540px;
    background: #F5F5F5;
    padding: 80px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    text-align: center;
}

.auth-subtitle {
    font-size: 14px;
    color: #6B7280;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    background: #F3F4F6;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: white;
    color: #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth-form-container {
    animation: fadeIn 0.3s ease;
}

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

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

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

.form-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-field input:focus {
    outline: none;
    border-color: #BC1D24;
    box-shadow: 0 0 0 3px rgba(188, 29, 36, 0.1);
}

.btn-auth {
    width: 100%;
    padding: 14px;
    background: #BC1D24;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-auth:hover {
    background: #9a1720;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(188, 29, 36, 0.3);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

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

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 15px;
    color: #9CA3AF;
    font-size: 14px;
}

.auth-notice {
    text-align: center;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.6;
}

.auth-notice a {
    color: #BC1D24;
    text-decoration: none;
    font-weight: 600;
}

.auth-notice a:hover {
    text-decoration: underline;
}

/* Social Login Buttons */
.social-login-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

/* Welcome Page Responsive */
@media (max-width: 1024px) {
    .welcome-container {
        flex-direction: column;
    }

    .welcome-left {
        padding: 60px 40px;
    }

    .welcome-right {
        flex: 1;
        padding: 60px 40px;
    }

    .welcome-brand {
        font-size: 42px;
    }

    .welcome-tagline {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .welcome-left, .welcome-right {
        padding: 40px 20px;
    }

    .welcome-brand {
        font-size: 36px;
    }

    .welcome-tagline {
        font-size: 20px;
    }

    .splash-title {
        font-size: 36px;
    }

    .auth-card {
        padding: 30px 20px;
    }
}

/* =====================================================
   ORDERS LIST PAGE STYLES
   ===================================================== */
.orders-section {
    padding: 40px 0 80px;
    min-height: calc(100vh - 80px);
    background: #f5f7fa;
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e5e7eb;
    background: #fafafa;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-number {
    font-weight: 700;
    color: #111;
    font-size: 15px;
}

.order-date {
    color: #6b7280;
    font-size: 13px;
}

.order-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.order-items {
    padding: 20px 25px;
}

.more-items {
    padding: 10px 0;
    color: #6b7280;
    font-size: 13px;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
}

.total-label {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

.order-actions {
    display: flex;
    gap: 10px;
}

.btn-pay-now {
    padding: 10px 20px;
    background: #BC1D24;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-pay-now:hover {
    background: #9a1720;
}

.btn-detail {
    padding: 10px 20px;
    background: white;
    color: #374151;
    text-decoration: none;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-detail:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.pagination-wrapper {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.empty-orders {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
}

.empty-orders svg {
    margin-bottom: 30px;
}

.empty-orders h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #111;
}

.empty-orders p {
    color: #6b7280;
    margin-bottom: 30px;
}

/* Orders List Responsive */
@media (max-width: 768px) {
    .orders-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .order-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .order-actions {
        width: 100%;
    }
    
    .btn-pay-now,
    .btn-detail {
        flex: 1;
        text-align: center;
    }
}

/* =====================================================
   ORDER DETAIL PAGE STYLES
   ===================================================== */
.order-detail-section {
    padding: 40px 0 80px;
    min-height: calc(100vh - 80px);
    background: #f5f7fa;
}

.back-nav {
    margin-bottom: 25px;
}

.alert {
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.alert-info {
    background: #dbeafe;
    border: 1px solid #3b82f6;
    color: #1e40af;
}

.order-detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.detail-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.payment-alert {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 20px;
}

.payment-alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-alert-content strong {
    display: block;
    color: #92400e;
    font-size: 14px;
}

.payment-alert-content p {
    color: #a16207;
    font-size: 13px;
    margin-top: 2px;
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.item-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
}

.item-info {
    flex: 1;
}

.item-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.shipping-details {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
}

.order-notes {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
}

.order-notes strong {
    color: #374151;
}

.order-notes p {
    color: #6b7280;
    margin-top: 4px;
}

.summary-row.discount span:last-child {
    color: #10b981;
}

.free {
    color: #10b981;
    font-weight: 600;
}

.payment-method-info,
.payment-date-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.method-label,
.date-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.method-value,
.date-value {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.actions-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #BC1D24;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #9a1720;
}

.btn-secondary {
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.btn-cancel {
    background: white;
    color: #ef4444;
    border: 2px solid #fecaca;
    width: 100%;
}

.btn-cancel:hover {
    background: #fef2f2;
    border-color: #f87171;
}

.help-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.help-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.help-card p {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #BC1D24;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.help-link:hover {
    text-decoration: underline;
}

/* Order Detail Responsive */
@media (max-width: 1024px) {
    .order-detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .detail-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .payment-alert {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .payment-alert-content {
        flex-direction: column;
    }
    
    .item-row {
        flex-wrap: wrap;
    }
    
    .item-subtotal {
        width: 100%;
        text-align: right;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #e5e7eb;
    }
}

/* =====================================================
   FAVORITES PAGE STYLES
   ===================================================== */
.favorites-section {
    padding: 40px 0 80px;
    min-height: calc(100vh - 80px);
    background: #f5f7fa;
}

.favorites-header {
    margin-bottom: 40px;
}

.favorites-header .page-title {
    margin-bottom: 8px;
}

.favorites-subtitle {
    color: #6b7280;
    font-size: 16px;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.favorite-item {
    transition: all 0.3s ease;
}

.favorite-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: all 0.3s ease;
}

.favorite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.btn-remove-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #6b7280;
}

.btn-remove-favorite:hover {
    background: #fee2e2;
    color: #BC1D24;
    transform: scale(1.1);
}

.favorite-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f3f4f6;
}

.favorite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.favorite-info {
    padding: 20px;
}

.favorite-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #BC1D24;
    background: #fee2e2;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.favorite-name {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.favorite-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.favorite-rating .stars {
    display: flex;
    gap: 2px;
}

.favorite-rating .rating-text {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

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

.favorite-price .price,
.favorite-price .price-discounted {
    font-size: 20px;
    font-weight: 700;
    color: #BC1D24;
}

.favorite-price .price-original {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
}

.favorite-stock {
    margin-bottom: 15px;
}

.favorite-stock .in-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #10b981;
    font-weight: 500;
}

.favorite-stock .out-of-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #ef4444;
    font-weight: 500;
}

.favorite-actions {
    margin-top: 15px;
}

.btn-add-to-cart {
    width: 100%;
    padding: 12px 20px;
    background: #111;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
    background: #BC1D24;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(188, 29, 36, 0.3);
}

.btn-out-of-stock {
    width: 100%;
    padding: 12px 20px;
    background: #f3f4f6;
    color: #9ca3af;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.favorite-added-date {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 10px;
}

/* Empty Favorites */
.empty-favorites {
    text-align: center;
    padding: 100px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.empty-favorites svg {
    margin-bottom: 25px;
}

.empty-favorites h3 {
    font-size: 24px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 12px;
}

.empty-favorites p {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-browse-products {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #BC1D24;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-browse-products:hover {
    background: #9a1720;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 29, 36, 0.3);
}

/* Favorites Page Responsive */
@media (max-width: 768px) {
    .favorites-section {
        padding: 30px 0 60px;
    }
    
    .favorites-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .favorite-image {
        height: 180px;
    }
    
    .favorite-info {
        padding: 15px;
    }
    
    .empty-favorites {
        padding: 60px 20px;
    }
}

/* =====================================================
   CATEGORIES SECTION STYLES
   ===================================================== */
.categories-section {
    padding: 80px 0;
    background: #f9fafb;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 25px;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #BC1D24, #9a1720);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(188, 29, 36, 0.15);
    border-color: #fee2e2;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card-all {
    background: linear-gradient(135deg, #BC1D24 0%, #9a1720 100%);
    color: white;
}

.category-card-all::before {
    background: white;
}

.category-card-all:hover {
    box-shadow: 0 15px 40px rgba(188, 29, 36, 0.4);
    border-color: transparent;
}

.category-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.category-card-all .category-icon {
    background: rgba(255, 255, 255, 0.2);
}

.category-card:hover .category-icon {
    background: #fee2e2;
    transform: scale(1.1);
}

.category-card-all:hover .category-icon {
    background: rgba(255, 255, 255, 0.3);
}

.category-icon svg {
    stroke: #BC1D24;
    transition: all 0.3s ease;
}

.category-card-all .category-icon svg {
    stroke: white;
}

.category-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    color: #111;
}

.category-card-all .category-name {
    color: white;
}

.category-count {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 15px;
}

.category-card-all .category-count {
    color: rgba(255, 255, 255, 0.8);
}

.category-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.category-card-all .category-arrow {
    background: rgba(255, 255, 255, 0.2);
}

.category-card:hover .category-arrow {
    background: #BC1D24;
    transform: translateX(5px);
}

.category-card:hover .category-arrow svg {
    stroke: white;
}

.category-card-all:hover .category-arrow {
    background: white;
}

.category-card-all:hover .category-arrow svg {
    stroke: #BC1D24;
}

.category-arrow svg {
    stroke: #6b7280;
    transition: all 0.3s ease;
}

.category-card-all .category-arrow svg {
    stroke: white;
}

/* Categories Responsive */
@media (max-width: 768px) {
    .categories-section {
        padding: 60px 0;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .category-card {
        padding: 25px 20px;
    }
    
    .category-icon {
        width: 65px;
        height: 65px;
    }
    
    .category-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .category-name {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .category-card {
        padding: 20px 15px;
    }
    
    .category-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 15px;
    }
    
    .category-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .category-name {
        font-size: 14px;
    }
    
    .category-count {
        font-size: 12px;
    }
    
    .category-arrow {
        width: 30px;
        height: 30px;
    }
}

/* =====================================================
   SCROLL TOP BUTTON STYLES
   ===================================================== */
.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: block;
    border-radius: 50%;
    border: none;
    background: transparent;
    padding: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

/* VISIBLE STATE - when scrolled */
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #BC1D24;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.scroll-top-icon svg {
    stroke: #BC1D24;
    transition: all 0.3s ease;
}

.scroll-top:hover .scroll-top-icon {
    background: #BC1D24;
    box-shadow: 0 6px 20px rgba(188, 29, 36, 0.4);
    transform: scale(1.08);
}

.scroll-top:hover .scroll-top-icon svg {
    stroke: #fff;
}

.scroll-top .progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.scroll-top .progress-circle path {
    transition: stroke-dashoffset 15ms linear;
}

/* Responsive - Mobile */
@media (max-width: 820px) {
    .scroll-top {
        right: 20px;
        bottom: 160px; /* Above WhatsApp button */
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 480px) {
    .scroll-top {
        right: 15px;
        bottom: 150px;
        width: 44px;
        height: 44px;
    }
}

/* =====================================================
   CONTACT FLOATING BUTTON STYLES
   - WhatsApp button: ALWAYS visible on mobile < 821px (no scroll needed)
   - Hidden on desktop >= 821px
   ===================================================== */
.contact-floating-wrapper {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 9998;
    display: none; /* Hidden by default on desktop (>= 821px) */
}

/* WhatsApp floating button - ALWAYS visible on mobile (<821px) */
.whatsapp-floating-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #BC1D24 0%, #000000 100%);
    border: none;
    cursor: pointer;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-shadow: 0 4px 20px rgba(188, 29, 36, 0.4);
            box-shadow: 0 4px 20px rgba(188, 29, 36, 0.4);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    /* Always visible - no opacity/visibility toggle needed */
    opacity: 1;
    visibility: visible;
}

.whatsapp-floating-btn:hover {
    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
            transform: scale(1.1);
    -webkit-box-shadow: 0 6px 25px rgba(188, 29, 36, 0.5);
            box-shadow: 0 6px 25px rgba(188, 29, 36, 0.5);
}

/* Contact floating button - REMOVED (using header button instead on desktop) */
.contact-floating-btn {
    display: none !important;
}

/* Contact Popup - Fixed position for desktop (triggered from header) */
.contact-popup {
    position: fixed;
    top: 80px;
    right: 30px;
    width: 320px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1001;
}

.contact-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.contact-popup-header {
    background: linear-gradient(135deg, #BC1D24 0%, #000000 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-popup-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-popup-title h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-popup-title p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

.contact-popup-body {
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.cs-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    margin-bottom: 8px;
}

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

.cs-item:hover {
    background: #f3f4f6;
}

.cs-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.cs-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cs-name {
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.cs-role {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cs-phone {
    font-size: 12px;
    color: #BC1D24;
    font-weight: 500;
}

.cs-arrow {
    flex-shrink: 0;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.cs-item:hover .cs-arrow {
    color: #BC1D24;
    transform: translateX(3px);
}

/* =====================================================
   PRODUCTS PAGE STYLES
   ===================================================== */
.products-section {
    padding: 40px 0 80px;
    min-height: calc(100vh - 80px);
    background: #f5f7fa;
}

.products-header {
    margin-bottom: 40px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: #BC1D24;
}

.back-link svg {
    transition: transform 0.2s ease;
}

.back-link:hover svg {
    transform: translateX(-3px);
}

.products-header .page-title {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 16px;
    color: #6b7280;
}

/* Products Page Responsive */
@media (max-width: 768px) {
    .products-section {
        padding: 30px 0 60px;
    }
    
    .products-header .page-title {
        font-size: 28px;
    }
    
    .page-subtitle {
        font-size: 14px;
    }
}

/* Toast Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 320px;
    max-width: 450px;
    padding: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3b82f6;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

.notification-success {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.notification-error {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.notification-warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}

.notification-info {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 14px;
}

.notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-success .notification-icon {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.notification-error .notification-icon {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.notification-warning .notification-icon {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.notification-info .notification-icon {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.notification-content span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    line-height: 1.5;
}

/* Responsive for mobile */
@media (max-width: 480px) {
    .notification {
        left: 15px;
        right: 15px;
        min-width: auto;
        max-width: none;
    }
}

/* Subscription Status Styles */
.subscription-active,
.subscription-inactive {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 10px;
}

.subscription-active svg,
.subscription-inactive svg {
    flex-shrink: 0;
}

.subscription-active span {
    color: #28a745;
    font-weight: 500;
}

.subscription-inactive span {
    color: #6b7280;
}

.text-success {
    color: #28a745 !important;
}

.text-muted {
    color: #6b7280 !important;
}

/* Policy Pages Styles */
.policy-section {
    padding: 40px 0 80px;
    background: #f9fafb;
    min-height: calc(100vh - 200px);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.policy-header {
    background: linear-gradient(135deg, #BC1D24 0%, #8b1419 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.policy-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.policy-header p {
    font-size: 14px;
    opacity: 0.9;
}

.policy-content {
    padding: 40px;
}

.policy-section-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.policy-section-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-section-item h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.policy-section-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin: 20px 0 10px;
}

.policy-section-item p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 12px;
}

.policy-section-item ul {
    margin: 12px 0;
    padding-left: 25px;
}

.policy-section-item li {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 8px;
}

.policy-section-item li strong {
    color: #111;
}

.policy-footer {
    padding: 30px 40px;
    background: #f9fafb;
    text-align: center;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #BC1D24;
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-back-home:hover {
    background: #9a171c;
    transform: translateY(-2px);
}

.btn-back-home svg {
    stroke: white;
}

/* Policy Pages Responsive */
@media (max-width: 768px) {
    .policy-header {
        padding: 30px 20px;
    }
    
    .policy-header h1 {
        font-size: 24px;
    }
    
    .policy-content {
        padding: 25px 20px;
    }
    
    .policy-section-item h2 {
        font-size: 18px;
    }
    
    .policy-footer {
        padding: 20px;
    }
}

/* =====================================================
   IMAGE CROP MODAL STYLES (Profile Page)
   ===================================================== */
.crop-modal-overlay {
    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: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.crop-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.crop-modal {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.crop-modal-overlay.show .crop-modal {
    transform: scale(1);
}

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

.crop-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
}

.crop-modal-title i {
    color: #BC1D24;
}

.crop-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.crop-modal-close:hover {
    color: #111;
}

.crop-modal-body {
    padding: 24px;
    max-height: calc(90vh - 180px);
    overflow: auto;
}

.crop-container {
    width: 100%;
    max-height: 400px;
    background: #f3f4f6;
    border-radius: 8px;
    overflow: hidden;
}

.crop-container img {
    display: block;
    max-width: 100%;
}

.crop-instructions {
    margin-top: 16px;
    padding: 12px 16px;
    background: #F0F9FF;
    border-radius: 8px;
    font-size: 13px;
    color: #0369A1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.crop-instructions i {
    margin-top: 2px;
}

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

.crop-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.crop-btn-cancel {
    background: white;
    border: 1px solid #d1d5db;
    color: #374151;
}

.crop-btn-cancel:hover {
    background: #f3f4f6;
}

.crop-btn-apply {
    background: #BC1D24;
    border: none;
    color: white;
}

.crop-btn-apply:hover {
    background: #9B171D;
}

/* Cropper.js custom styles */
.cropper-view-box,
.cropper-face {
    border-radius: 50%;
}

.cropper-view-box {
    outline: 2px solid #BC1D24;
    outline-offset: -2px;
}

.cropper-point {
    background-color: #BC1D24;
}

.cropper-line {
    background-color: #BC1D24;
}