/* MODAL STYLES */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 450px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

.modal-close:hover {
    color: #000;
}

.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
}

.auth-tab.active {
    color: #d4af37;
    border-bottom-color: #d4af37;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #d4af37;
}

.btn-auth {
    width: 100%;
    padding: 0.75rem;
    background: #d4af37;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
}

.btn-auth:hover {
    background: #c4a137;
}

.forgot-password {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #666;
    font-size: 0.875rem;
}

/* CART PAGE */
.page-content {
    min-height: calc(100vh - 400px);
}

.cart-section {
    padding: 3rem 0;
}

.cart-section h1 {
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h3 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.cart-item-price {
    color: #d4af37;
    font-weight: 600;
    font-size: 1.125rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 3px;
}

.qty-btn:hover {
    background: #f5f5f5;
}

.remove-btn {
    padding: 0.5rem 1rem;
    background: #e53e3e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.remove-btn:hover {
    background: #c53030;
}

.cart-summary {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
}

.cart-summary h3 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #666;
}

.summary-row.total {
    border-top: 2px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
}

.btn-checkout {
    width: 100%;
    padding: 1rem;
    background: #d4af37;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
}

.btn-checkout:hover {
    background: #c4a137;
}

/* PRODUCTS PAGE */
.products-page-section {
    padding: 3rem 0;
}

.products-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.filters-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    height: fit-content;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filters-sidebar h3 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h4 {
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: #666;
    cursor: pointer;
}

.filter-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.price-slider {
    width: 100%;
    margin-bottom: 0.5rem;
}

.price-range-display {
    color: #d4af37;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-apply-filters {
    width: 100%;
    padding: 0.75rem;
    background: #d4af37;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.btn-apply-filters:hover {
    background: #c4a137;
}

.products-main {
    flex: 1;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.products-header h2 {
    color: #1a1a1a;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

/* PRODUCT DETAILS PAGE */
.product-details-section {
    padding: 3rem 0;
}

.product-details-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-images {
    position: relative;
}

.main-product-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    cursor: crosshair;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

.zoom-lens {
    position: absolute;
    border: 2px solid #d4af37;
    width: 150px;
    height: 150px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(255, 255, 255, 0.3);
}

.zoom-result {
    position: absolute;
    top: 0;
    left: calc(100% + 20px);
    width: 500px;
    height: 500px;
    border: 2px solid #d4af37;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-size: 200%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px 0;
}

.thumbnail-images::-webkit-scrollbar {
    height: 5px;
}

.thumbnail-images::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 5px;
}

.thumbnail-images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.thumbnail-images img:hover {
    border-color: #d4af37;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

.thumbnail-images img.active {
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

@media (max-width: 768px) {
    .zoom-result {
        display: none;
    }
    
    .main-product-image-container {
        cursor: default;
    }
}

.product-details-info h1 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.product-price-large {
    color: #d4af37;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.product-specs {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #666;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.spec-item strong {
    color: #1a1a1a;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.btn-add-cart-large,
.btn-buy-now {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-add-cart-large {
    background: white;
    color: #d4af37;
    border: 2px solid #d4af37;
}

.btn-add-cart-large:hover {
    background: #d4af37;
    color: white;
}

.btn-buy-now {
    background: #d4af37;
    color: white;
}

.btn-buy-now:hover {
    background: #c4a137;
}

/* REVIEWS SECTION */
.reviews-section {
    padding: 3rem 0;
    background: #f9f9f9;
}

.section-title {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

.add-review-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.add-review-form h3 {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.star-rating .star {
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.2s;
}

.star-rating .star.active,
.star-rating .star:hover {
    opacity: 1;
}

.add-review-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

.add-review-form textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.reviews-list {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.review-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-info strong {
    color: #1a1a1a;
}

.review-rating {
    color: #d4af37;
}

.review-date {
    color: #999;
    font-size: 0.875rem;
}

.review-text {
    color: #666;
    line-height: 1.6;
}

/* SIMILAR PRODUCTS SECTION */
.similar-products-section {
    padding: 3rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.product-card h3 {
    color: #1a1a1a;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.product-card .product-price {
    color: #d4af37;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.btn-add-cart {
    width: 100%;
    padding: 0.75rem;
    background: #d4af37;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.btn-add-cart:hover {
    background: #c4a137;
}

/* PAYMENT PAGE */
.payment-section {
    padding: 3rem 0;
}

.payment-section h1 {
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.payment-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.payment-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.payment-form h3 {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.payment-form h3:first-child {
    margin-top: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.payment-option:has(input:checked) {
    border-color: #d4af37;
    background: #fffdf5;
}

.coupon-section {
    display: flex;
    gap: 1rem;
}

.coupon-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-apply-coupon {
    padding: 0.75rem 1.5rem;
    background: #d4af37;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.btn-apply-coupon:hover {
    background: #c4a137;
}

.payment-summary {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
}

.payment-summary h3 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.summary-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1.5rem;
}

.summary-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.summary-item div p:first-child {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.summary-item div p:last-child {
    color: #d4af37;
    font-weight: 600;
}

.discount {
    color: #48bb78 !important;
}

.btn-place-order {
    width: 100%;
    padding: 1rem;
    background: #d4af37;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
}

.btn-place-order:hover {
    background: #c4a137;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cart-layout,
    .products-layout,
    .product-details-layout,
    .payment-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        order: 2;
    }
    
    .products-main {
        order: 1;
    }
    
    .main-product-image {
        height: 300px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Success Page Styles */
.success-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d5c0 100%);
    padding: 40px 20px;
}

.success-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.success-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-card h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
}

.order-number {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.success-message {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.success-details {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    font-size: 15px;
    color: #555;
}

.detail-item i {
    font-size: 20px;
    color: #8B6F47;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: #8B6F47;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #6d5635;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #8B6F47;
    border: 2px solid #8B6F47;
}

.btn-secondary:hover {
    background-color: #8B6F47;
    color: white;
}

/* Profile Pages Styles */
.profile-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    min-height: 80vh;
}

.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.profile-sidebar {
    background: white;
    border-radius: 12px;
    padding: 30px;
    height: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-avatar {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.profile-avatar h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
}

.profile-avatar p {
    font-size: 14px;
    color: #666;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    transition: all 0.3s;
}

.menu-item:hover,
.menu-item.active {
    background-color: #8B6F47;
    color: white;
}

.menu-item i {
    font-size: 18px;
    width: 20px;
}

.profile-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-content h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.profile-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
}

.profile-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.profile-form .form-group {
    margin-bottom: 20px;
}

.profile-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.profile-form input,
.profile-form select,
.address-form input,
.address-form select,
.password-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

.profile-form small {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
}

.btn-save {
    padding: 14px 40px;
    background-color: #8B6F47;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-save:hover {
    background-color: #6d5635;
    transform: translateY(-2px);
}

/* Orders Page */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #eee;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.order-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
}

.order-info p {
    font-size: 14px;
    color: #666;
}

.order-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.order-status.delivered {
    background-color: #e8f5e9;
    color: #4CAF50;
}

.order-status.processing {
    background-color: #fff3e0;
    color: #FF9800;
}

.order-status.shipped {
    background-color: #e3f2fd;
    color: #2196F3;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
}

.order-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.item-details p {
    font-size: 14px;
    color: #666;
    margin-bottom: 3px;
}

.item-price {
    font-size: 18px;
    font-weight: 600;
    color: #8B6F47;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.order-total {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.order-actions {
    display: flex;
    gap: 10px;
}

.btn-view-order,
.btn-cancel {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-view-order {
    background-color: #8B6F47;
    color: white;
}

.btn-view-order:hover {
    background-color: #6d5635;
}

.btn-cancel {
    background-color: transparent;
    color: #d97777;
    border: 1px solid #d97777;
}

.btn-cancel:hover {
    background-color: #d97777;
    color: white;
}

/* Addresses Page */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.address-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    position: relative;
}

.address-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #8B6F47;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.address-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.address-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.address-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.btn-edit,
.btn-delete {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-edit {
    background-color: #8B6F47;
    color: white;
}

.btn-edit:hover {
    background-color: #6d5635;
}

.btn-delete {
    background-color: transparent;
    color: #d97777;
    border: 1px solid #d97777;
}

.btn-delete:hover {
    background-color: #d97777;
    color: white;
}

.address-card.add-new {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ddd;
    background: transparent;
}

.btn-add-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: #8B6F47;
    cursor: pointer;
    font-size: 16px;
    padding: 20px;
    transition: all 0.3s;
}

.btn-add-new:hover {
    transform: scale(1.05);
}

.btn-add-new i {
    font-size: 36px;
}

.btn-add-address {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #8B6F47;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-add-address:hover {
    background-color: #6d5635;
}

/* Change Password Page */
.password-form {
    max-width: 500px;
}

.security-tips {
    margin-top: 30px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    border: 1px solid #eee;
}

.security-tips h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.security-tips ul {
    list-style: none;
    padding: 0;
}

.security-tips li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
}

.security-tips li i {
    color: #4CAF50;
    font-size: 16px;
}

/* Address Form */
.address-form .form-group {
    margin-bottom: 20px;
}

.address-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.address-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Mobile Responsive for New Pages */
@media (max-width: 768px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        padding: 20px;
    }
    
    .profile-content {
        padding: 25px;
    }
    
    .profile-content h1 {
        font-size: 26px;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .profile-form .form-row,
    .address-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
    }
    
    .order-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .order-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-view-order,
    .btn-cancel {
        width: 100%;
    }
    
    .success-card {
        padding: 30px 20px;
    }
    
    .success-icon {
        font-size: 60px;
    }
    
    .success-card h1 {
        font-size: 24px;
    }
    
    .success-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
