﻿.PageSubHeaderLabel {
    width: 1840px;
    height: 68px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    justify-content: space-between;
    align-items: center;
    margin-left: 120px;
    /*display: inline-flex;*/
}

.FrameCartLabel {
    flex: 1 1 0;
    height: 48px;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    display: flex;
}

.ShoppingCartLabel {
    text-align: center;
    color: #333333;
    font-size: 48px;
    font-family: "Metric", Arial, sans-serif;
    font-weight: 600;
    line-height: 48px;
    word-wrap: break-word;
}

/*---------------------------------section for sort filter starts------------------------------------*/
.SortFilter {
    width: 1220px;
    height: 132px;
    justify-content: space-between;
    align-items: flex-start;
    display: inline-flex;
}

.SortBy {
    flex: 1 1 0;
    height: 48px;
    padding-top: 6px;
    padding-bottom: 6px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    display: flex;
}

    .SortBy .SortBy {
        color: #555555;
        font-size: 24px;
        font-family: "Metric", Arial, sans-serif;
        font-weight: 500;
        line-height: 24px;
        word-wrap: break-word;
    }

.Frame-SortFilter {
    width: 452px;
    align-self: stretch;
    border-radius: 6px;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    display: flex;
}

.Select-SortFilter {
    width: 220px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
    display: inline-flex;
}

.InputBox-SortFilter {
    align-self: stretch;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 6px;
    padding-bottom: 6px;
    background: white;
    border-radius: 6px;
    border: 1px rgba(0, 0, 0, 0.36) solid;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    display: inline-flex;
}

.Value-SortFilter {
    flex: 1 1 0;
    height: 24px;
    color: #555555;
    font-size: 18px;
    font-family: "Metric", Arial, sans-serif;
    font-weight: 500;
    line-height: 24px;
    word-wrap: break-word;
}

.NavigationDown-SortFilter {
    width: 18px;
    height: 18px;
    position: relative;
}

.Vector-SortFilter {
    width: 9.09px;
    height: 16.06px;
    left: 0.96px;
    top: 5.74px;
    position: absolute;
    transform: rotate(89deg);
    transform-origin: 0 0;
    background: #333333;
}

.FilterBy-SortFilter {
    flex: 1 1 0;
    height: 48px;
    padding-top: 6px;
    padding-bottom: 6px;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    display: flex;
}

    .FilterBy-SortFilter .FilterBy-SortFilter {
        color: #555555;
        font-size: 24px;
        font-family: "Metric", Arial, sans-serif;
        font-weight: 500;
        line-height: 24px;
        word-wrap: break-word;
    }

/*--------------------------------------------------------------------------------------------------------section for sort filter ends------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------------------------------------section Cart table gridview css starts--------------------------------------------------------------*/

/* Basic GridView styling */

.shopping-cart {
    display: flex;
    width: 1220px;
    flex-direction: column;
    /*align-items: flex-end;*/
    gap: 24px;
    height: 348px;
    align-items: flex-start;
    align-self: stretch;
    /*border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: rgba(0, 0, 0, 0.36);*/
}


/*.styled-gridview-cart {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    gap: 12px; 
    background-color: #FFFFFF;
    border: none; 
    width: 1135px; 
    position: relative; 
    margin-left: 1px; 
}*/
.styled-gridview-cart {
    /*display: flex;*/
    display: table-caption;
    flex-wrap: wrap; /* Allow items to wrap to the next row */
    gap: 12px; /* Space between items */
    justify-content: space-between; /* Evenly distribute items */
    background-color: #FFFFFF;
    border: none;
    width: auto; /* Flexible width */
    position: relative;
    margin-left: 1px;
}


    .styled-gridview-cart th {
        background-color: #FFFFFF; /* Set the background color of the header */
        color: #333; /* Header text color */
        font-family: "Metric", Arial, sans-serif; /* Fallback fonts added */
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: 24px; /* Line height for better readability */
        white-space: nowrap;
        border: none; /* Remove vertical borders between headers */
        border-bottom: 1px solid #BBBBBB; /* Border at the bottom of the header row */
        position: relative;
        padding-right: 24px; /* Space for sorting arrows */
    }

.flex-container {
    display: flex;
    align-items: center; /* Align items vertically in the center */
    gap: 1px;
}

/* Apply a single border at the bottom of the table */
.styled-gridview-cart::after {
    content: ''; /* Pseudo-element for bottom border */
    display: block;
    width: 100%;
    border-bottom: 1px solid #BBBBBB; /* Border at the bottom of the entire table */
}

/* Ensure cells have no borders */
.styled-gridview-cart td {
    padding: 12px 12px;    
    border: none; /* No borders on individual cells */
}   

/* Alternating Row Colors */
.styled-gridview-cart tr:nth-child(even) {
    background-color: #f7f9fb;
}

.styled-gridview-cart tr:hover {
    background-color: #e9f1fb;
}

/* Status Indicator */
.status-open::before {
    content: '\25CF'; /* Unicode for a solid circle */
    color: #28a745; /* Green */
    margin-right: 5px;
}

.status-closed::before {
    content: '\25CF'; /* Unicode for a solid circle */
    color: #dc3545; /* Red */
    margin-right: 5px;
}

/* Sorting Indicators */
.sorted-asc::after {
    content: '\25B2'; /* Unicode for up arrow */
    position: absolute;
    right: 8px;
    font-size: 12px;
    color: #007bff;
}

.sorted-desc::after {
    content: '\25BC'; /* Unicode for down arrow */
    position: absolute;
    right: 8px;
    font-size: 12px;
    color: #007bff;
}


.description-cell {
    display: block; /* Ensures proper styling for labels */
    white-space: nowrap; /* Prevents text wrapping */
    overflow: hidden; /* Hides overflowed text */
    text-overflow: ellipsis; /* Displays ellipsis for truncated text */
    max-width: 200px; /* Set a maximum width for the cell */
}



/*--------------------------------------------------------------------------------------------------------section Cart table gridview css ends--------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------------------------Cart Summary Section starts--------------------------------------------------------------------------- */
.container-flexbox {
    display: flex;
    gap: 20px; /* Space between the GridView and the cart summary */
    width: fit-content;
}

/*.EmeaShoppingCartV2-CartSummary {
    width: 580px;
    height: 492px;
    padding: 12px;
    background: white;
    border-radius: 12px;
    border: 1px rgba(0, 0, 0, 0.12) solid;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 48px;
    margin-left:1245px;
    margin-top: -300px;
    position:relative;
}*/
/*.EmeaShoppingCartV2-CartSummary {
    width: 580px;
    padding: 12px;
    background: white;
    border-radius: 12px;
    border: 1px rgba(0, 0, 0, 0.12) solid;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: flex-start; 
    gap: 48px;
    position: sticky; 
    top: 0;
    height: fit-content; 
   }*/

.EmeaShoppingCartV2-CartSummary {
    width: 580px; /* Fixed width for the summary */
    padding: 12px; /* Inner padding */
    background: white; /* Background color */
    border-radius: 12px; /* Rounded corners */
    border: 1px rgba(0, 0, 0, 0.12) solid; /* Light border */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align summary content at the top */
    align-items: flex-start; /* Left-align summary content */
    gap: 48px; /* Space between summary items */
    position: sticky; /* Keep the summary fixed while scrolling */
    top: 0; /* Ensure it sticks to the top of the viewport */
    height: 492px; /* Dynamic height based on content */
    transform: translateX(108px);
}


.CartHeaderItemSummary-CartSummary {
    align-self: stretch;
    justify-content: space-between;
    align-items: flex-start;
    display: inline-flex;
}

.CartHeaderRemoveAll {
    padding-left: 12px;
    padding-right: 12px;
    justify-content: flex-start;
    align-items: center;
    gap: 307px;
    display: flex;
}

.CartSummary {
    color: #444444;
    font-size: 36px;
    font-family: "Metric", Arial, sans-serif;
    font-weight: 500;
    line-height: 36px;
    word-wrap: break-word;
}

.LineQtyTotals-CartSummary {
    align-self: stretch;
    padding: 12px;
    background: #F7F7F7;
    border-radius: 6px;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 24px;
}

.Frame1000006177, .Frame1000006178 {
    justify-content: flex-start;
    align-items: center;
    display: inline-flex;
}

.PartNumberHeader, .Quantity {
    height: 36px;
    padding-left: 12px;
    padding-right: 12px;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    display: flex;
}

.HeaderText {
    color: #333333;
    font-size: 22px;
    font-family: "Metric", Arial, sans-serif;
    font-weight: 500;
    line-height: 28px;
    word-wrap: break-word;
}

.TextInput {
    width: 80px;
    height: 36px;
    border-radius: 6px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.FileinputBox {
    width: 64px;
    padding: 6px 12px;
    background: white;
    border-radius: 6px;
    border: 1px rgba(0, 0, 0, 0.36) solid;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
/*.main-container {
    display: flex; 
    justify-content: flex-start; 
    align-items: flex-start; 
    gap: 20px; 
    transform: translate(272px, 0px);
}*/
.main-container {
    display: flex; /* Flexbox for side-by-side layout */
    justify-content: flex-start; /* Keep grid and cart summary aligned to the left */
    align-items: flex-start; /* Align content at the top of the container */
    gap: 20px; /* Space between grid and cart summary */
    width: 100%; /* Ensure the container spans the full page width */
    position: relative; /* Ensure proper positioning within the page */
}

.Value {
    color: #555555;
    font-size: 22px;
    font-family: "Metric", Arial, sans-serif;
    font-weight: 500;
    line-height: 28px;
    word-wrap: break-word;
}

.TotalsOrderButtons {
    width: 556px;
    height: 300px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 18px;
    display: inline-flex;
}

.SubtotalsSection {
    align-self: stretch;
    justify-content: flex-end;
    align-items: flex-end;
    display: inline-flex;
}

.SubTotalHeader {
    padding-left: 12px;
    padding-right: 12px;
    justify-content: flex-start;
    align-items: center;
    gap: 307px;
    display: flex;
}

.order-subtotal-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.order-subtotal-text {
    position: relative;
    width: auto;
    margin-top: -1.00px;
    font-family: "Metric", Arial, sans-serif;
    font-weight: 400;
    color: rgba(68, 68, 68, 1);
    font-size: 14px;
    letter-spacing: 0px;
    line-height: 16px;
    white-space: nowrap;
    font-style: normal;
}

.order-subtotal-value {
    display: inline-flex;
    width: 100px;
    align-items: flex-end;
    justify-content: center;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.SubTotals {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 6px 12px;
    gap: 6px;
    position: relative;
    border-radius: 6px;
    background-color: rgba(247,247,247,1);
}

.SubTotalsText {
    display: flex;
    padding: 0px 12px;
    align-items: center;
    gap: 307px;
    color: #444444;
    font-feature-settings: 'liga' off, 'clig' off;
    /* Heading/Desktop/h3 large */
    font-family: "Metric", Arial, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 100% */
}

.SubTotalsSection {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 6px;
    padding-bottom: 6px;
    background: #F7F7F7;
    border-radius: 6px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 6px;
    display: inline-flex;
}

.OrderSubtotalExDisc {
    align-self: stretch;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    display: inline-flex;
}

.OrderSubtotalExcludingDiscounts {
    color: #444444;
    font-size: 18px;
    font-family: "Metric", Arial, sans-serif;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}

.OrderTotal {
    color: #444444;
    font-feature-settings: 'liga' off, 'clig' off;
    /* Heading/Desktop/h3 large */
    font-family: "Metric", Arial, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 100% */
}

.NetTotalValue {
    align-self: stretch;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    display: inline-flex;
    color: #555555;
    /* Text/Semibold/xxlarge */
    font-family: "Metric", Arial, sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px; /* 111.111% */
}

.NetOrderTotal35 {
    color: #444444;
    font-size: 18px;
    font-family: "Metric", Arial, sans-serif;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}

.OrderTotalSection {
    height: 156px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    display: flex;
}

.OrderTotalCheckoutButton {
    align-self: stretch;
    justify-content: space-between;
    align-items: flex-end;
    display: inline-flex;
    margin-left: -13px;
    margin-top: 0px;
}

.Frame1000006166,
.Frame1000006192 {
    padding: 6px 12px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: inline-flex;
}

.Button {
    padding: 10px 24px;
    background: #01A982;
    border-radius: 100px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    display: flex;
    margin-left: 34px;
}

.Identifier {
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    display: inline-flex;
}

.Label {
    color: #FFFFFF;
    font-size: 19px;
    font-family: "Metric", Arial, sans-serif;
    font-weight: 700;
    line-height: 28px;
    word-wrap: break-word;
}

.NonOrderButtons {
    align-self: stretch;
    padding: 6px 12px;
    justify-content: space-between;
    align-items: center;
    display: inline-flex;
    gap: 83px;
}

    .NonOrderButtons .Button {
        padding: 6px 18px;
        border-radius: 100px;
        border: 2px #01A982 solid;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        display: inline-flex;
    }

        .NonOrderButtons .Button:last-child {
            background: rgba(0, 0, 0, 0.04);
        }

        /* Specific style for the "Continue shopping" button */
        .NonOrderButtons .Button:first-child {
            background: white;
        }

            /* Optional: Style the link text differently if needed */
            .NonOrderButtons .Button:first-child .Label a {
                color: #333333;
            }

#hide321, #click321 {
    position: relative;
    width: 100%;
}


/*--------------------------------------------------------------------------------------------------------Cart Summary Section ends--------------------------------------------------------------------------- */



.btn-update {
    width: 110px;
    height: 30px;
    padding: 5px 12px;
    border-radius: 100px;
    border: 2px solid #008567;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    display: inline-flex;
    font-family: "Metric", Arial, sans-serif;
}

/* Identifier and Label Styles */
.identifier-update {
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    display: inline-flex;
}

.label-update {
    color: #333333;
    font-size: 14px;
    font-family: MetricHPEXS;
    font-weight: 600;
    line-height: 20px;
    word-wrap: break-word;
}
/* Admin-Specific Button Styles */
.btn-update-admin {
    margin-left: 852px; /* Original margin for admin */
}

/* Partner-Specific Button Styles */
.btn-update-partner {
    margin-left: 1037px; /* Adjusted margin for partner */
}

.btn-update-enduser {
    margin-left: 692px; /* Adjusted margin for partner */
}

.btn-co-complete {
    display: flex;
    margin-right: auto;
    flex-direction: column;
}

.btn-co-complete-partner {
    margin-left: 0px;
}

.btn-co-complete-admin {
    margin-left: 74px;
}

.btn-co-complete-enduser {
    margin-left: 220px;
}

.Button-Clear {
    font-family: "Metric", Arial, sans-serif;
}

.btn-co-complete-enduser {
    margin-left: 0px;
}
