* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fffbf8;
    color: #000000;
}

.header {
    background-color: #000000;
    color: #fffbf8;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    width: 100%;
    margin: 0;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 2px;
    font-size: 14px;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-name {
    font-size: 16px;
}

.container {
    width: 100%;
    margin: 0;
    padding: 0 10px;
    display: flex;
    gap: 20px;
}

.sidebar {
    width: 250px;
    background: #fffbf8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 80px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.profile-info h3#profile-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 2px 0;
}

.profile-info p#profile-hello {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    color: #555;
}

.profile-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #000000;
}

.profile-info p {
    font-size: 14px;
    color: #666666;
}

.sidebar-menu {
    list-style: none;
}

.menu-section {
    border-bottom: 1px solid #e0e0e0;
}

.menu-section:last-child {
    border-bottom: none;
}

.menu-item {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s;
    color: #000000;
}

.menu-item:hover {
    background-color: #f5f5f5;
}

.menu-item.active {
    background-color: #000000;
    color: #fffbf8;
}

.menu-item-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content {
    flex: 1;
    background: #fffbf8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    margin: 20px;
}

.content-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-header h2 {
    color: #000000;
}

.content-body {
    padding: 20px;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    font-size: 14px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #2874f0;
    color: white;
}

.btn-primary:hover {
    background-color: #1f5bb5;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #212121;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fffbf8;
}

.order-info h4 {
    margin-bottom: 5px;
    color: #000000;
}

.order-info p {
    color: #666666;
    font-size: 14px;
}

.order-status {
    padding: 5px 10px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
}

.status-delivered {
    background-color: #e8f5e8;
    color: #388e3c;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.address-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.address-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    background-color: #fffbf8;
}

.address-item.default {
    border-color: #000000;
    background-color: #f8f8f8;
}

.address-item h4, .address-item p {
    color: #000000;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.address-type {
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
}

.help-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.help-option {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #fffbf8;
}

.help-option:hover {
    border-color: #000000;
    background-color: #f8f8f8;
}

.help-option-icon {
    width: 40px;
    height: 40px;
    background-color: #000000;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fffbf8;
    font-size: 18px;
}

.help-option h4 {
    color: #000000;
    margin-bottom: 8px;
}

.help-option p {
    color: #666666;
}

.mobile-menu {
    display: none;
}

.mobile-sections {
    display: none;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        margin: 10px auto;
        padding: 0 10px;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        display: none;
    }

    .mobile-menu {
        display: block;
        background: white;
        border-radius: 2px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        padding: 20px;
        margin-bottom: 20px;
    }

    .mobile-sections {
        display: block;
    }

    .mobile-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 20px;
    }

    .mobile-option {
        border: 1px solid #f0f0f0;
        border-radius: 2px;
        padding: 20px;
        text-align: center;
        cursor: pointer;
        transition: all 0.2s;
    }

    .mobile-option:hover {
        border-color: #2874f0;
        background-color: #f8fafe;
    }

    .mobile-option-icon {
        width: 30px;
        height: 30px;
        background-color: #2874f0;
        border-radius: 50%;
        margin: 0 auto 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 14px;
    }

    .mobile-personal-info {
        background: white;
        border-radius: 2px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        padding: 20px;
    }

    .info-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .info-item:last-child {
        border-bottom: none;
    }

    .info-label {
        font-weight: 500;
        color: #878787;
    }

    .info-value {
        color: #212121;
    }

    .header-content {
        padding: 0 10px;
    }

    .search-bar {
        display: none;
    }
}

/* --- Review Media Gallery Styles --- */
.review-media-gallery {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 16px;
    min-height: 90px;
}
.review-media-gallery img,
.review-media-gallery video {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
    margin-right: 4px;
}
.review-media-gallery video {
    background: #000;
}
#rate-product-btn {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(40,116,240,0.08);
}
@media (max-width: 768px) {
    .review-media-gallery {
        min-height: 70px;
    }
    .review-media-gallery img,
    .review-media-gallery video {
        width: 60px;
        height: 60px;
    }
} 