/* ============================================
   My Account Page Styles
   ============================================ */

/* Main Container */
.my-account-wrapper {
    background-color: #fff;
    padding: 40px 0 60px;
    min-height: calc(100vh - 200px);
}

.my-account-wrapper .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.account-breadcrumb {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #5B5B5B;
}

.account-breadcrumb a {
    color: #5B5B5B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.account-breadcrumb a:hover {
    color: #1a4060;
}

.account-breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.account-breadcrumb .current {
    color: #235582;
    font-weight: 700;
    text-decoration: underline;
}

/* Account Header */
.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.account-title-section {
    display: flex;
    flex-direction: column;
}

.account-title {
    font-size: 36px !important;
    font-weight: 600;
    color: #000 !important;
    margin: 0 0 5px 0 !important;
    line-height: 1.2;
}

.customer-number {
    font-size: 16px;
    color: #5B5B5B;
    font-weight: 500;
    line-height: 26px;
    margin: 0;
}

.customer-number span {
    font-weight: 600;
}

/* Logout Button */
.btn-logout {
    background-color: #fff;
    border: 1px solid #DC1200;
    color: #DC1200;
    padding: 6px 24px;
    border-radius: 200px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-logout:hover {
    background-color: #DC1200;
    color: #fff;
}

/* Content Wrapper */
.account-content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
    padding-top: 30px;
}

/* Sidebar */
.account-sidebar {
    background-color: #fff;
    border-radius: 0px;
    padding: 0px 0px 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.account-nav .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-nav .nav-item {
    margin: 0;
}

.account-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #000;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 0px solid transparent;
    border-radius: 12px;
}

.account-nav .nav-link:hover {
    background-color: #f8f9fa;
    color: #235582;
}

.account-nav .nav-item.active .nav-link {
    background: url('../images/type-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    color: #000;
    border-left-color: transparent;
    font-weight: 500;
}

.account-nav .nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Main Content */
.account-main-content {
    background-color: #FAFAFA;
    border-radius: 12px;
    padding: 40px;
}

.form-row {
    margin-left: 0px;
    margin-right: 0px;
}
/* Form Section */
.form-section {
    margin-bottom: 0px;
}

.form-section:last-of-type {
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #000;
    margin: 0 0 25px 0 !important;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    line-height: 32px !important;
}
select.form-control:not([size]):not([multiple]) {
    height: auto;
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 10px;
}

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

.form-row:last-child {
    margin-bottom: 0;
}

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.form-group label .required {
    color: #DC1200;
    margin-left: 3px;
}

/* Form Controls */
.form-section .form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #C8C8C8;
    border-radius: 6px;
    background-color: #fff;
    color: #5B5B5B;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #235582;
    box-shadow: 0 0 0 3px rgba(35, 85, 130, 0.1);
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Select Wrapper */
.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.facility-wrapper {
    position: relative;
}
.facility-wrapper .info-tooltip {
    position: absolute;
    right: 10px;
    top: 15px;
}

.select-wrapper select.form-control {
    flex: 1;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

/* Info Tooltip */
.info-tooltip {
    background: none;
    border: none;
    padding: 0;
    cursor: help;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: color 0.3s ease;
}

.info-tooltip:hover {
    color: #235582;
}

.info-tooltip svg {
    width: 16px;
    height: 16px;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
}

/* Save Changes Button */
.btn-save-changes {
    background-color: #F7CC59;
    border: none;
    color: #333;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(247, 204, 89, 0.3);
}

.btn-save-changes:hover {
    background-color: #f5c132;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(247, 204, 89, 0.4);
}

.btn-save-changes:active {
    transform: translateY(0);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .account-content-wrapper {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    .account-nav {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .account-nav .nav-list {
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 0 20px;
    }

    .account-nav .nav-link {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 12px 16px;
    }

    .account-nav .nav-item.active .nav-link {
        border-left: none;
        border-bottom-color: #235582;
    }
}

@media (max-width: 768px) {
    .my-account-wrapper {
        padding: 20px 0;
    }

    .account-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn-logout {
        width: 100%;
        justify-content: center;
    }

    .account-main-content {
        padding: 25px 20px;
    }

    .form-row,
    .form-row.three-columns {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .section-title {
        font-size: 20px;
    }

    .account-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .my-account-wrapper .container {
        padding: 0 15px;
    }

    .account-main-content {
        padding: 20px 15px;
    }

    .btn-save-changes {
        width: 100%;
        justify-content: center;
    }

    .form-control {
        padding: 10px 14px;
    }
}

/* Loading State */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Success Message */
.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Error Message */
.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Field Error */
.form-group.error .form-control {
    border-color: #DC1200;
}

.form-group .error-text {
    color: #DC1200;
    font-size: 12px;
    margin-top: 5px;
}

/* Disabled State */
.form-control:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ============================================
   ORDER HISTORY & ORDER DETAIL - CSS STYLES
   Add this to your my-account-styles.css file
   ============================================ */

/* ============================================
   ORDER HISTORY PAGE
   ============================================ */

/* Order Filters */
.order-filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

/* Orders Table */
.orders-table-wrapper {
    background-color: #fff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table thead {
    background-color: rgb(196 196 196 / 16%);
    border-bottom: 0px;
}

.orders-table th {
    padding: 15px 12px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
}

.orders-table tbody tr {
    border-bottom: 1px solid #E6E6E8;
    transition: background-color 0.2s ease;
cursor: pointer;
}

.orders-table tbody tr:hover {
    background-color: #f8f9fa;
}

.orders-table td {
    padding: 15px 12px;
    font-size: 16px;
    color: #000;
    font-weight: 500;
}

/* Order ID Link */
.order-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.order-link:hover {
    color: #1a4060;
    text-decoration: underline;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-processing {
    background-color: #cce5ff;
    color: #004085;
}

.status-shipped {
    background-color: #d4edda;
    color: #155724;
}

.status-archived {
    background-color: #e2e3e5;
    color: #383d41;
}

.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

/* Items List */
.items-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-line {
    font-size: 12px;
    font-weight: 400;
    color: #000;
    line-height: 1;
}

/* View Order Button */
.btn-view-order {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #fff;
    border: 1px solid #235582;
    color: #235582;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-order:hover {
    background-color: #235582;
    color: #fff;
}

.btn-view-order svg {
    width: 16px;
    height: 16px;
}

/* Empty State */
.orders-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.orders-empty-state svg {
    margin-bottom: 20px;
    opacity: 0.5;
}

.orders-empty-state h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 10px 0;
}

.orders-empty-state p {
    color: #666;
    margin: 0 0 20px 0;
}

.btn-start-shopping {
    display: inline-block;
    padding: 12px 24px;
    background-color: #F7CC59;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-start-shopping:hover {
    background-color: #f5c132;
    transform: translateY(-2px);
}

/* Loading State */
.orders-loading {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #235582;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

/* Pagination */
.orders-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 20px;
}

.btn-page {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-page:hover:not(:disabled) {
    background-color: #f8f9fa;
    border-color: #235582;
}

.btn-page:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-page svg {
    width: 16px;
    height: 16px;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.btn-page-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-page-num:hover {
    background-color: #f8f9fa;
    border-color: #235582;
}

.btn-page-num.active {
    background-color: #235582;
    border-color: #235582;
    color: #fff;
}


/* ============================================
   ORDER DETAIL / CONFIRMATION PAGE
   ============================================ */

/* Order Detail Header */
.order-detail-header {
    margin-bottom: 20px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0px 0px;
    background-color: transparent;
    border: none;
    color: #000;
    font-size: 28px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-back:hover {
    color: #ooo;
}

.btn-back svg {
    width: 32px;
    height: 32px;
}

/* Action Buttons Bar */
.order-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E6E6E8;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0px 10px 10px 0px;
    background-color: #fff;
    border:0px;
    color: #235582;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}


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

/* Thank You Message */
.order-thank-you {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0px;
    margin-bottom: 30px;
}

.checkmark-icon {
    flex-shrink: 0;
}

.order-thank-you h3 {
    margin: 0;
    font-size: 24px;
    color: #000;
    font-weight: 600;
}

.order-thank-you a {
    color: #235582;
    text-decoration: none;
    font-weight: 600;
}

.order-thank-you a:hover {
    text-decoration: underline;
}

/* Address Section */
.address-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}


.address-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 0 0 0px 0;
    padding-bottom: 15px;
}

.address-details {
    border: 1px solid #E6E6E8;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 30px;
    min-height: 340px;
}

.address-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 15px;
}

.address-label {
    font-size: 16px;
    font-weight: 400;
    color: #000;
}

.address-value {
    font-size: 16px;
    color: #000;
    font-weight: 600;
    line-height: 1.6;
}

/* Order Meta */
.order-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #E6E6E8;
    position: relative;
}
.order-meta:before {
    content: "";
    width: 1px;
    background-color: #E6E6E8;
    height: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    position: absolute;
    top: 0;
}

.order-meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 50%;
}

.meta-label {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
}

.meta-value {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

/* Order Items Section */
.order-items-section {
    margin-bottom: 30px;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.order-items-table thead {
    background-color: #F6F6F6;
}

.order-items-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
}

.order-items-table td {
    padding: 15px 20px;
    font-size: 16px;
    color: #000;
    border-bottom: 1px solid #E6E6E8;
    font-weight: 500;
}

.item-link {
    color: #235582;
    text-decoration: none;
    font-weight: 500;
}

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

.item-description {
    max-width: 300px;
    line-height: 1.4;
}

/* Order Totals */
.order-totals {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 20px 30px;
    background-color: #F6F6F6;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    min-width: 300px;
    padding: 8px 0;
}

.total-label {
    font-size: 16px;
    color: #000;
    font-weight: 500;
}

.total-value {
    font-size: 16px;
    color: #000;
    font-weight: 500;
}

.total-final .total-value {
    font-size: 17px;
    color: #000;
    font-weight: 700;
}

/* Section Subtitle */
.section-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 0 0 10px 0;
}

/* Transaction Section */
.transaction-section {
    margin-bottom: 30px;
}

.transaction-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
}

.transaction-table thead {
    background-color: #F6F6F6;
}

.transaction-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
}

.transaction-table td {
    padding: 15px 20px;
    font-size: 16px;
    color: #000;
    font-weight: 500;
    border-bottom: 1px solid #E6E6E8;
}

/* Shipments Section */
.shipments-section {
    margin-bottom: 30px;
}

.shipments-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
}

.shipments-table thead {
    background-color: #F6F6F6;
}

.shipments-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
}

.shipments-table td {
    padding: 15px 20px;
    font-size: 16px;
    color: #000;
    font-weight: 500;
    border-bottom: 1px solid #E6E6E8;
}

.tracking-link {
    color: #235582;
    text-decoration: none;
    font-weight: 600;
}

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

/* Order Footer Note */
.order-footer-note {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.order-footer-note p {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #000;
    font-weight: 500;
    line-height: 1.6;
}

.order-footer-note a {
    color: #235582;
    text-decoration: none;
}

.order-footer-note a:hover {
    text-decoration: underline;
}

.contact-info {
    font-weight: 600;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .orders-table {
        font-size: 13px;
    }
    
    .orders-table th,
    .orders-table td {
        padding: 12px 8px;
    }
}

@media (max-width: 1024px) {
    .order-filters {
        grid-template-columns: 1fr;
    }
    
    .address-section {
        grid-template-columns: 1fr;
    }
    
    .order-actions-bar {
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Orders Table - Make scrollable */
    .orders-table-wrapper {
        overflow-x: auto;
    }
    
    .orders-table {
        min-width: 900px;
    }
    
    /* Hide less important columns on mobile */
    .orders-table th:nth-child(2),
    .orders-table td:nth-child(2) {
        display: none; /* Hide PO# */
    }
    
    /* Address Row - Stack vertically */
    .address-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .address-label {
        font-size: 12px;
    }
    
    /* Order Meta */
    .order-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Total Row */
    .total-row {
        min-width: 100%;
    }
    
    /* Tables - Make scrollable */
    .order-items-table,
    .transaction-table,
    .shipments-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* Pagination */
    .orders-pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .order-actions-bar {
        padding: 15px;
    }
    
    .btn-action {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .order-thank-you {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
}

/* ============================================
   SAVED CARTS - CSS STYLES
   Add this to your my-account-styles.css file
   ============================================ */

/* ============================================
   SAVED CARTS LIST PAGE
   ============================================ */

/* Carts Filters */
.carts-filters {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.carts-filters .filter-group {
    display: flex;
    flex-direction: column;
}

/* Saved Carts Grid */
.saved-carts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Saved Cart Card */
.saved-cart-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.saved-cart-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Cart Card Header */
.cart-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.cart-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.cart-card-actions {
    display: flex;
    gap: 8px;
}

.btn-card-action {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.btn-card-action:hover {
    background-color: #235582;
    border-color: #235582;
    color: #fff;
}

.btn-card-action.btn-delete:hover {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

/* Cart Card Info */
.cart-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-info-item {
    justify-content: space-between;
    font-size: 14px;
}

.info-label {
    color: #666;
    font-weight: 500;
}

.info-value {
    color: #333;
    font-weight: 600;
}

/* Cart Items Preview */
.cart-card-items-preview {
    display: flex;
    gap: 8px;
    padding: 12px 0;
}

.preview-item {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

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

.preview-qty {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(35, 85, 130, 0.9);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 2px 0 0 0;
}

.preview-more {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #666;
}

/* View Cart Button */
.btn-view-cart {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: #F7CC59;
    border: none;
    color: #333;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-cart:hover {
    background-color: #f5c132;
    transform: translateY(-1px);
}

.btn-view-cart svg {
    width: 16px;
    height: 16px;
}

/* Empty State */
.carts-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.carts-empty-state svg {
    margin-bottom: 20px;
    opacity: 0.5;
}

.carts-empty-state h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 10px 0;
}

.carts-empty-state p {
    color: #666;
    margin: 0 0 20px 0;
}

/* Loading State */
.carts-loading {
    text-align: center;
    padding: 60px 20px;
}


/* ============================================
   SAVED CART DETAIL PAGE
   ============================================ */

/* Cart Detail Header */
.saved-cart-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-back-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.cart-customer-title {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

/* Cart Info Section */
.cart-info-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.cart-info-left {
    display: flex;
    gap: 40px;
}

.cart-info-item {
    gap: 8px;
    align-items: baseline;
}

.cart-info-label {
    font-size: 14px;
    font-weight: 400;
    color: #235582;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-info-value {
    font-size: 18px;
    display: block;
    font-weight: 500;
    color: #000;
}

/* Cart Actions Right */
.cart-actions-right {
    display: flex;
    gap: 12px;
}

.btn-recall-cart,
.btn-delete-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-recall-cart {
    background-color: transparent;
    color: #235582;
}

.btn-delete-cart {
    background-color: transparent;
    color: #E83D3D;
}


.btn-recall-cart svg,
.btn-delete-cart svg {
    width: 20px;
    height: 20px;
}

/* Cart Items Table */
.cart-items-wrapper {
    background-color: #fff;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    margin-bottom: 20px;
}

.cart-items-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-items-table thead {
    background-color: #F7F7F7;
}

.cart-items-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
}

.cart-items-table tbody tr {
    border-bottom: 1px solid #E6E6E8;
    transition: background-color 0.2s ease;
}

.cart-items-table tbody tr:hover {
    background-color: #f8f9fa;
}

.cart-items-table td {
    padding: 15px 20px;
    font-size: 14px;
    color: #000;
    font-weight: 500;
    vertical-align: middle;
}

/* Item with Image */
.item-with-image {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

/*.item-sku {
    font-weight: 600;
    color: #235582;
}*/

/* Description Cell */
.description-cell {
    max-width: 300px;
    line-height: 1.4;
}

/* Expiration Status - Simple dot and text */
.expiration-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
}

.expiration-dot {
    font-size: 0px;
    line-height: 1;
background: #333;
width:8px;
height: 8px;
border-radius: 100%;
font-size: 0px;

}

.expiration-text.expired {
    color: #e74c3c;
}

.expiration-text.expired .expiration-dot {
    background: #e74c3c;
width:8px;
height: 8px;
border-radius: 100%;
font-size: 0px;
}

.expiration-text.valid {
    background: #333;
width:8px;
height: 8px;
border-radius: 100%;
font-size: 0px;

}

.expiration-text.valid .expiration-dot {
    color: #e74c3c;
}

/* Price and Total Cells */
.price-cell,
.total-cell {
    font-weight: 700;
    color: #235582;
}

.qty-cell {
    font-weight: 600;
    text-align: center;
}

/* Cart Total Section */
.cart-total-section {
    display: flex;
    justify-content: flex-end;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    margin-bottom: 20px;
    margin-top: 30px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    min-width: 250px;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    border: none;
}

.total-label {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.total-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* Cart Notes Section */
.cart-notes-section {
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.notes-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.notes-content {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Cart Empty/Loading States */
.cart-empty-state,
.cart-loading {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty-state svg,
.cart-loading svg {
    margin-bottom: 20px;
    opacity: 0.5;
}

.cart-empty-state h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 10px 0;
}

.cart-empty-state p {
    color: #666;
    margin: 0;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .saved-carts-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .cart-info-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-actions-right {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-recall-cart,
    .btn-delete-cart {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .carts-filters {
        grid-template-columns: 1fr;
    }
    
    .saved-carts-grid {
        grid-template-columns: 1fr;
    }
    
    /* Cart Detail - Make table scrollable */
    .cart-items-wrapper {
        overflow-x: auto;
    }
    
    .cart-items-table {
        min-width: 900px;
    }
    
    .saved-cart-header {
        flex-wrap: wrap;
    }
    
    .cart-customer-title {
        font-size: 22px;
    }
    
    .cart-total-row {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .cart-card-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .cart-card-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .btn-back-arrow {
        width: 36px;
        height: 36px;
    }
    
    .cart-customer-title {
        font-size: 20px;
    }
    
    .cart-info-section {
        padding: 20px 15px;
    }
}


/* ============================================
   BILLING PROFILES - CSS STYLES
   Add this to your my-account-styles.css file
   ============================================ */

/* ============================================
   BILLING PROFILES LIST PAGE
   ============================================ */

/* Profiles Header */
.profiles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.profiles-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.btn-create-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #F7CC59;
    border: none;
    color: #333;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-create-profile:hover {
    background-color: #f5c132;
    transform: translateY(-1px);
}

.btn-create-profile svg {
    width: 16px;
    height: 16px;
}

/* Billing Profiles Grid */
.billing-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 25px;
}

/* Billing Profile Card */
.billing-profile-card {
    position: relative;
    background-color: #fff;
    border: 1px solid #C8C8C8;
    border-radius: 6px;
    padding: 30px;
    transition: all 0.3s ease;
}

.billing-profile-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Profile Card Actions */
.profile-card-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
}

.btn-edit-profile,
.btn-delete-profile {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 0px solid #e0e0e0;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit-profile svg,
.btn-delete-profile svg {
    width: 18px;
    height: 18px;
}

/* Profile Card Content */
.profile-card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 80px; /* Space for action buttons */
}

.profile-field {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 15px;
    align-items: start;
}

.field-label {
    font-size: 16px;
    font-weight: 400;
    color: #000;
}

.field-value {
    font-size: 16px;
    color: #000;
    font-weight: 600;
}

/* Empty State */
.profiles-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.profiles-empty-state svg {
    margin-bottom: 20px;
    opacity: 0.5;
}

.profiles-empty-state h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 10px 0;
}

.profiles-empty-state p {
    color: #666;
    margin: 0 0 20px 0;
}

.btn-create-first {
    padding: 12px 24px;
    background-color: #F7CC59;
    border: none;
    color: #333;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-create-first:hover {
    background-color: #f5c132;
}

/* Loading State */
.profiles-loading {
    text-align: center;
    padding: 80px 20px;
}


/* ============================================
   CREATE/EDIT BILLING PROFILE FORM PAGE
   ============================================ */

/* Form Header */
.form-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-back-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.btn-back-circle:hover {
    background-color: #235582;
    border-color: #235582;
    color: #fff;
}

.form-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-bottom: 8px;
}

.form-control {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 400;
    color: #5B5B5B;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #235582;
    box-shadow: 0 0 0 3px rgba(35, 85, 130, 0.1);
}

.form-control::placeholder {
    color: #999;
}

.required {
    color: #e74c3c;
    margin-left: 3px;
}

/* Toggle Switch */
.toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.toggle-wrapper input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 48px;
    height: 24px;
    background-color: #ddd;
    border-radius: 24px;
    transition: background-color 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

input[type="checkbox"]:checked + .toggle-slider {
    background-color: #235582;
}

input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Payment Method Wrapper */
.payment-method-wrapper {
    position: relative;
}
.form-group.full-width {
    position: relative;
}
.payment-icons {
    position: absolute;
    right: 0px;
    top: 12px;
    transform: translateY(-50%);
    display: flex;
    gap: 6px;
    pointer-events: none;
}

.payment-icons img {
    height: 20px;
    border-radius: 3px;
}

/* Expiry Wrapper */
.expiry-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.expiry-select {
    width: 100%;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
}

/* Card Fields Conditional Display */
#card-fields,
#card-details {
    display: none;
}

#card-fields.active,
#card-details.active {
    display: grid;
}

/* Select Dropdown Styling */
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
    appearance: none;
    cursor: pointer;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .billing-profiles-grid {
        grid-template-columns: 1fr;
    }
    
    .billing-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .profiles-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .btn-create-profile {
        width: 100%;
        justify-content: center;
    }
    
    .profile-card-content {
        padding-right: 0;
    }
    
    .profile-card-actions {
        position: static;
        justify-content: flex-end;
        margin-bottom: 20px;
    }
    
    .profile-field {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .form-row,
    .form-row-triple {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
    
    .payment-icons {
        position: static;
        transform: none;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .profiles-subtitle {
        font-size: 18px;
    }
    
    .form-subtitle {
        font-size: 18px;
    }
    
    .btn-back-circle {
        width: 36px;
        height: 36px;
    }
    
    .billing-profile-card {
        padding: 20px;
    }
}


/* ============================================
   SHIPPING PROFILES - CSS STYLES
   ============================================ */

/* ============================================
   SHIPPING PROFILES LIST PAGE
   ============================================ */

/* Profiles Header */
.profiles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.profiles-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.btn-create-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #F7CC59;
    border: none;
    color: #333;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-create-profile:hover {
    background-color: #f5c132;
    transform: translateY(-1px);
}

.btn-create-profile svg {
    width: 16px;
    height: 16px;
}

/* Shipping Profiles Grid */
.shipping-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 25px;
}

/* Shipping Profile Card */
.shipping-profile-card {
    position: relative;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
}

.shipping-profile-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Empty State */
.profiles-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.profiles-empty-state svg {
    margin-bottom: 20px;
    opacity: 0.5;
}

.profiles-empty-state h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 10px 0;
}

.profiles-empty-state p {
    color: #666;
    margin: 0 0 20px 0;
}

.btn-create-first {
    padding: 12px 24px;
    background-color: #F7CC59;
    border: none;
    color: #333;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-create-first:hover {
    background-color: #f5c132;
}

/* Loading State */
.profiles-loading {
    text-align: center;
    padding: 80px 20px;
}


/* ============================================
   CREATE/EDIT SHIPPING PROFILE FORM PAGE
   ============================================ */

/* Form Header */
.form-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-back-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.btn-back-circle:hover {
    background-color: #235582;
    border-color: #235582;
    color: #fff;
}

.form-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
}


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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-control:focus {
    outline: none;
    border-color: #235582;
    box-shadow: 0 0 0 3px rgba(35, 85, 130, 0.1);
}

.form-control::placeholder {
    color: #999;
}

.required {
    color: #e74c3c;
    margin-left: 3px;
}

/* Toggle Switch */
.toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.toggle-wrapper input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 48px;
    height: 24px;
    background-color: #ddd;
    border-radius: 24px;
    transition: background-color 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

input[type="checkbox"]:checked + .toggle-slider {
    background-color: #235582;
}

input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Checkbox Wrapper (for Freight Forwarding) */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-box {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #235582;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.checkbox-box::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

input[type="checkbox"]:checked + .checkbox-box {
    background-color: #235582;
}

input[type="checkbox"]:checked + .checkbox-box::after {
    display: block;
}

.checkbox-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Select Dropdown Styling */
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
    appearance: none;
    cursor: pointer;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .shipping-profiles-grid {
        grid-template-columns: 1fr;
    }
    
    .shipping-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .profiles-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .btn-create-profile {
        width: 100%;
        justify-content: center;
    }
    
    .profile-card-content {
        padding-right: 0;
    }
    
    .profile-card-actions {
        position: static;
        justify-content: flex-end;
        margin-bottom: 20px;
    }
    
    .profile-field {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .form-row,
    .form-row-triple {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .profiles-subtitle {
        font-size: 18px;
    }
    
    .form-subtitle {
        font-size: 18px;
    }
    
    .btn-back-circle {
        width: 36px;
        height: 36px;
    }
    
    .shipping-profile-card {
        padding: 20px;
    }
}


/* ============================================
   PREVIOUSLY ORDERED ITEMS - CSS STYLES
   Add this to your my-account-styles.css file
   ============================================ */

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.page-title {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #000;
    margin: 0 !important;
}

/* Filters Wrapper */
.filters-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.radio-group {
    gap: 20px;
    flex-direction: row;
}

/* Radio Button Styling */
.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 16px;
    color: #000;
}

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

.radio-custom {
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.radio-custom::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #235582;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

input[type="radio"]:checked + .radio-custom {
    border-color: #235582;
}

input[type="radio"]:checked + .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-text {
    font-weight: 500;
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid #235582;
    border-radius: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

input[type="checkbox"]:checked + .checkbox-custom {
    background-color: #235582;
}

input[type="checkbox"]:checked + .checkbox-custom::after {
    display: block;
}

.checkbox-text {
    font-weight: 500;
}

/* Filter Select Dropdown */
.filter-select {
    padding: 8px 40px 8px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    min-width: 180px;
}

.filter-select:focus {
    outline: none;
    border-color: #235582;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Product Card */
.product-card {
    position: relative;
    background-color: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Favorite Button */
.btn-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: #ccc;
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-favorite:hover {
    color: #e74c3c;
}

.btn-favorite.favorited {
    color: #e74c3c;
}

.btn-favorite.favorited svg path {
    fill: #e74c3c;
}

/* Product Image */
.product-image {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

/* Product Info */
.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-sku {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.product-stock {
    font-size: 13px;
    font-weight: 500;
}

.product-stock.in-stock {
    color: #27ae60;
}

.product-stock.out-of-stock {
    color: #e74c3c;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
    min-height: 44px;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

.price-amount {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.price-unit {
    font-size: 13px;
    color: #666;
}

/* Product Expiration */
.product-expiration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 4px;
}

.exp-dot {
    font-size: 10px;
}

.product-expiration.in-date {
    color: #27ae60;
}

.product-expiration.in-date .exp-dot {
    color: #27ae60;
}

.product-expiration.expired {
    color: #e74c3c;
}

.product-expiration.expired .exp-dot {
    color: #e74c3c;
}

/* Product Actions */
.product-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    flex: 1;
}

.qty-btn {
    width: 36px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background-color: #f8f9fa;
    color: #333;
}

.qty-input {
    width: 50px;
    height: 40px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

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

/* Remove spinner arrows from number input */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input[type=number] {
    -moz-appearance: textfield;
}

/* Add to Cart Button */
.btn-add-to-cart {
    width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F7CC59;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
}

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

.btn-add-to-cart svg {
    width: 20px;
    height: 20px;
}

/* Empty State */
.products-empty-state {
    text-align: center;
    padding: 80px 20px;
}

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

.products-empty-state h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 10px 0;
}

.products-empty-state p {
    color: #666;
    margin: 0 0 20px 0;
}

.btn-start-shopping {
    display: inline-block;
    padding: 12px 24px;
    background-color: #F7CC59;
    border: none;
    color: #333;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-start-shopping:hover {
    background-color: #f5c132;
}

/* Loading State */
.products-loading {
    text-align: center;
    padding: 80px 20px;
}

/* Hidden Products (filtered out) */
.product-card.hidden {
    display: none;
}

.previously-ordered {
    background-color: transparent;
    border-radius: 0px;
    padding: 0px;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filters-wrapper {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .radio-group {
        justify-content: space-between;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-title {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 22px;
    }
    
    .product-card {
        padding: 15px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .price-amount {
        font-size: 18px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .quantity-selector {
        width: 100%;
    }
    
    .btn-add-to-cart {
        width: 100%;
    }
}

/* ============================================
   FAVORITE ITEMS - CSS STYLES
   Add this to your my-account-styles.css file
   ============================================ */

/* Favorites Header */
.favorites-header {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.favorites-title {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin: 0 0 20px 0;
    min-width: 300px;
}

/* Favorites Toolbar */
.favorites-toolbar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
    width: 100%;
    justify-content: flex-end;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: row;
}

.checkbox-filters {
    gap: 20px;
    padding-right: 20px;
    border-right: 1px solid #E6E6E8;
}

.toggle-filter {
    padding-right: 20px;
    border-right: 1px solid #E6E6E8;
}

/* Checkbox Styling */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid #235582;
    border-radius: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

input[type="checkbox"]:checked + .checkbox-custom {
    background-color: #235582;
}

input[type="checkbox"]:checked + .checkbox-custom::after {
    display: block;
}

.checkbox-label {
    font-weight: 500;
}

/* Toggle Switch */
.toggle-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.toggle-switch input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 48px;
    height: 24px;
    background-color: #ddd;
    border-radius: 24px;
    transition: background-color 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

input[type="checkbox"]:checked + .toggle-slider {
    background-color: #235582;
}

input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Filter Select Dropdown */
.filter-select {
    padding: 8px 40px 8px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    min-width: 180px;
}

.filter-select:focus {
    outline: none;
    border-color: #235582;
}

/* Favorites Grid */
.favorites-grid-wrapper {
    width: 100%;
    margin-top: 20px;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    width: 100%;
    transition: all 0.3s ease;
}
.favorites-grid .gj-card:hover {
    box-shadow: 0px 0px 0px;
}

/* Loading Spinner */
.favorites-loading-spinner {
    text-align: center;
    padding: 60px 20px;
}

.favorites-loading-spinner .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #235582;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.favorites-loading-spinner p {
    color: #999;
    font-size: 16px;
}

/* Empty State */
.favorites-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.favorites-empty-state .empty-icon {
    margin-bottom: 30px;
}

.favorites-empty-state h3 {
    font-size: 24px;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.favorites-empty-state p {
    font-size: 16px;
    color: #999;
    margin: 0 0 30px 0;
}

.btn-start-shopping {
    display: inline-block;
    padding: 12px 30px;
    background-color: #F7CC59;
    color: #333 !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-start-shopping:hover {
    background-color: #f5c132;
}

/* Product Card Styles (matching your existing design) */
.favorites-grid .gj-card {
    border-radius: 0px;
    box-shadow: 0px 0px 0px;
    padding-top: 0px;
    padding-left: 0;
    padding-right: 0;
}

/* Remove from Favorites Button */
.favorites-grid .gj-remove-wishlist,
.favorites-grid .remove-favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.favorites-grid .gj-remove-wishlist:hover,
.favorites-grid .remove-favorite-btn:hover {
    background: #fee;
    border-color: #e74c3c;
    transform: scale(1.1);
}

.favorites-grid .gj-remove-wishlist svg,
.favorites-grid .remove-favorite-btn svg {
    width: 20px;
    height: 20px;
    fill: #e74c3c;
}

/* Fade out animation for removing items */
.favorite-card-wrapper {
    transition: all 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    transform: scale(1);
}

.favorite-card-wrapper.removing {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Ensure grid doesn't leave gaps */
.favorites-grid > * {
    transition: all 0.3s ease;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .favorites-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .favorites-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
        border-right: none !important;
        padding-right: 0 !important;
    }
    
    .checkbox-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 15px;
        border-bottom: 1px solid #E6E6E8;
    }
    
    .toggle-filter {
        padding-bottom: 15px;
        border-bottom: 1px solid #E6E6E8;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .favorites-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .favorites-title {
        font-size: 22px;
    }
    
    .favorites-empty-state h3 {
        font-size: 20px;
    }
    
    .favorites-empty-state .empty-icon svg {
        width: 60px;
        height: 60px;
    }
}


/* ============================================
   EMAIL NOTIFICATIONS - CSS STYLES
   Add this to your my-account-styles.css file
   ============================================ */

/* Email Notifications Section */
.email-notifications-content {
    padding: 20px 0;
}

/* Subscribe Section */
.email-subscribe-section {
    max-width: 1600px;
}

.subscribe-wrapper {
    background-color: #FAFAFA;
    border-radius: 12px;
    padding: 40px;
}

.subscribe-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 30px 0;
}
.from-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.subscribe-form {
    max-width: 100%;
}

/* Opt-Out Section */
.email-optout-section {
    max-width: 1600px;
}

.optout-wrapper {
    background-color: #FAFAFA;
    border-radius: 12px;
    padding: 40px;
}

.optout-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-back-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.btn-back-circle:hover {
    background-color: #235582;
    border-color: #235582;
    color: #fff;
}

.optout-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.optout-description {
    font-size: 14px;
    color: #666;
    margin: 0 0 30px 0;
}

.optout-form {
    max-width: 100%;
}

.unsubscribe-link {
    font-size: 18px;
    font-weight: 700;
    color: #E83D3D;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.unsubscribe-link:hover {
    color: #c0392b;
    text-decoration: underline;
}

.btn-submit,
.btn-optout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background-color: #F7CC59;
    border: none;
    color: #333;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover,
.btn-optout:hover {
    background-color: #f5c132;
    transform: translateY(-1px);
}

.btn-submit svg,
.btn-optout svg {
    width: 16px;
    height: 16px;
}

/* Opt-Out Checkboxes */
.optout-checkboxes {
    display: flex;
    flex-direction: row;
    gap: 50px;
    margin-top: 10px;
}

.optout-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.optout-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #235582;
    border-radius: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Success/Error Messages */
.success-message,
.error-message {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Form Error States */
.form-group.error .form-control {
    border-color: #e74c3c;
}

.error-text {
    display: block;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .subscribe-wrapper,
    .optout-wrapper {
        padding: 30px 20px;
    }
    
    
    .form-group.full-width {
        grid-column: 1;
    }
    
    .unsubscribe-link {
        text-align: center;
        order: 2;
    }
    
    .btn-submit,
    .btn-optout {
        width: 100%;
        justify-content: center;
        order: 1;
    }
    
    .optout-header {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .subscribe-title,
    .optout-title {
        font-size: 18px;
    }
    
    .btn-back-circle {
        width: 36px;
        height: 36px;
    }
    
    .subscribe-wrapper,
    .optout-wrapper {
        padding: 20px 15px;
    }
}