.lg-padding {
    padding: 180px 0 80px;
}

.user {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
    min-width: 0;
}

.header-cart-link {
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: 0.2s all ease;
    flex: 0 0 40px;
    order: 0;
}

.header-cart-link:hover {
    color: var(--black);
    background-color: var(--white);
}

.header-cart-badge {
    position: absolute;
    top: -7px;
    right: -5px;
    min-width: 21px;
    height: 21px;
    border-radius: 50%;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--blue);
    color: var(--white) !important;
    font-size: 12px !important;
    font-weight: 700;
}

.user .dropdown {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    min-width: 0;
    order: 1;

}

.user .dropdown-menu {
    background-color: var(--black);
    padding: 10px;
    border-radius: 12px;
}


.user .dropdown-menu .dropdown-item {
    color: var(--white);
}

.user .dropdown-menu .dropdown-item:hover {
    background-color: var(--white);
    color: var(--black);
}

.user .avatar img {
    border-radius: 50%;
    width: 44px;
}

.user p {
    color: var(--white);
    line-height: 1.2;
    font-size: 20px;
    font-weight: 500;
    max-width: 150px;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user span {
    color: var(--gray-200);
    font-size: 14px;
}


.user .text {
    position: relative;
    z-index: 1;
    padding-right: 18px;
}

.user .text::after {
    content: "";
    width: 9px;
    height: 9px;
    border: 0;
    border-right: 2px solid var(--gray-200);
    border-bottom: 2px solid var(--gray-200);
    transform: rotate(45deg);
    position: absolute;
    bottom: 9px;
    right: 0;

}

.cart-page-subtext {
    margin-top: 8px;
    color: var(--gray-600);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}

.cart-page-subtext span {
    color: var(--navy-blue);
    font-weight: 800;
}

.cart-product-list {
    display: grid;
    gap: 16px;
}

.cart-bottom-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.cart-pricing-summary {
    max-width: 520px;
    margin: 22px 0 0 auto;
    border: var(--gray-border);
    border-radius: 10px;
    padding: 18px;
    background-color: var(--white);
}

.cart-pricing-summary .horizontal-rule {
    background-color: var(--gray-300);
    margin: 14px 0;
}

.cart-bottom-actions .site-btn,
.cart-bottom-actions .simple-btn {
    min-width: 190px;
    justify-content: center;
}

.cart-product-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    background-color: var(--white);
    border: var(--gray-border);
    border-radius: 10px;
    padding: 14px;
    align-items: center;
}

.cart-product-row {
    grid-template-columns: 86px minmax(0, 1fr) auto;
}

.cart-product-image {
    width: 86px;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5fbff;
    border: 1px solid #e1e1e1;
}

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

.cart-product-body {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.cart-product-body h4 {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.cart-product-body p,
.cart-product-meta span {
    color: var(--gray-600);
    font-weight: 500;
}

.cart-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.cart-product-meta strong {
    color: var(--black);
    font-weight: 700;
}

.cart-product-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.cart-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.cart-qty-control span {
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 700;
}

.cart-qty-control input {
    width: 76px;
    height: 38px;
    border: 1px solid #09709E;
    border-radius: 19px;
    padding: 0 12px;
    color: var(--black);
    font-weight: 700;
    text-align: center;
}

.receive-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.receive-toggle label {
    cursor: pointer;
}

.receive-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.receive-toggle span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #09709E;
    border-radius: 18px;
    padding: 7px 13px;
    color: var(--black);
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s all ease;
}

.receive-toggle input:checked + span {
    background-color: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.checkout-product-list .cart-product-card {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 14px;
}

.checkout-product-list .cart-product-image {
    width: 92px;
}

.filter-container {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    white-space: nowrap;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-btn {
    padding: 9px 20px;
    border-radius: 24px;
    border: 1px solid #09709E;
    font-size: 17px;
    color: var(--black);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    font-weight: 500;
    line-height: 1.2;
}

.filter-btn.active {
    background-color: var(--blue);
    border-color: transparent;
}

.badge-small {
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.filter-btn.active .badge-small {
    color: var(--black);
    background-color: var(--white);
}

/* Table Styling */

.img-table {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-container::-webkit-scrollbar,
.img-table::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.img-table table {
    width: 100%;
    white-space: nowrap;
}

.img-table tbody tr {
    border-bottom: 1px solid #E1E1E1;
    vertical-align: middle;
}

.img-table th {
    padding: 18px 16px;
}

.img-table td {
    padding: 25px 16px;

}

.img-table a {
    color: var(--navy-blue);
}

.p-img img {
    width: 50px;
}

.img-table tr th:last-child,
.img-table tr td:last-child {
    text-align: start;
}

a.order-link {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.charge-method .inner-title h3 {
    font-size: 22px;
}

.charge-method .inner-title p {
    font-size: 15px;
    color: var(--gray);
    margin-top: 12px;
}

.cards-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.outline-box {
    background-color: #E1F6FF;
    border-radius: 8px;
    padding: 24px;
    height: 100%;
}

.outline-box P {
    margin: 12px 0 20px;
}

.cards-box .outline-box {
    padding: 16px;
}

.cards-box .outline-box h4 {
    font-size: 20px;
    font-weight: 600;
}

.cards-box .outline-box p {
    font-size: 14px;
}

.cards-box .outline-box .site-btn {
    font-size: 14px;
}

.img-text {
    display: flex;
    align-items: center;
    gap: 16px;
}

.img-text p {
    color: var(--black);
}

.multi-text .text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.multi-text {
    margin: 5px 0;
}

.multi-text .text:not(:last-child) {
    margin-bottom: 20px;
}

.multi-text .text h6 {
    color: var(--gray-600);
    font-size: 16px;
    font-weight: 500;
}

.multi-text .text h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-blue);
}

.customer-details p {
    color: var(--navy-blue);
    font-weight: 500;
}

.customer-details>h5 {
    font-size: 18px !important;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--black);
}

.customer-details h5 {
    font-size: 16px;

}

.single-p p:not(:last-child) {
    margin-bottom: 8px;
}

.detail-content .content:not(:last-of-type) {
    margin-bottom: 8px;
}

.detail-content .btn-rename {
    margin-left: 5px;
}

.btn-rename {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.a-flex a:not(:last-child) {
    margin-bottom: 14px;
}

.a-flex a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy-blue);
    font-weight: 500;
}

.a-flex a i {
    color: #45A4FF;
}

/* media query  */
@media (max-width: 1199px) {
    .img-table td {
        padding: 12px 16px;
    }
}

@media (max-width: 991px) {
    .user .text {
        display: none;
    }

    .user .avatar img {
        width: 40px;
    }

    .lg-padding {
        padding: 115px 0 50px;
    }

    .img-table td {
        padding: 10px 16px;
    }

    .multi-text .text h5 {
        font-size: 16px;
    }

    .multi-text .text h6 {
        font-size: 14px;
    }

    .filter-container {
        margin-bottom: 27px;
    }

    .multi-text .text:not(:last-child) {
        margin-bottom: 15px;
    }

    .charge-method .inner-title p {
        margin-top: 6px;
    }
}

@media (max-width: 767px) {
    .lg-padding {
        padding: 100px 0 30px;
    }

    .filter-container {
        gap: 8px;
    }

    .filter-btn {
        font-size: 14px;
        padding: 7px 15px;
    }

    .cart-product-card,
    .checkout-product-list .cart-product-card {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .cart-product-image,
    .checkout-product-list .cart-product-image {
        width: 80px;
    }

    .cart-product-body h4 {
        font-size: 16px;
    }

    .receive-toggle span {
        min-height: 30px;
        padding: 6px 10px;
        font-size: 12px;
    }

    .cart-product-row {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .cart-product-row .cart-product-image {
        width: 64px;
    }

    .cart-product-row .cart-product-actions {
        grid-column: 1 / -1;
        justify-content: space-between;
        gap: 10px;
        padding-top: 4px;
    }

    .cart-bottom-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cart-bottom-actions .site-btn,
    .cart-bottom-actions .simple-btn {
        width: 100%;
        min-width: 0;
    }

    .header-cart-link {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .user {
        gap: 8px;
    }

    .badge-small {
        font-size: 14px;
    }

    .p-img img {
        width: 40px;
    }

    .img-table th,
    .img-table td {
        font-size: 14px;
    }

    .img-table th {
        min-width: unset;
    }

    .charge-method .inner-title h3 {
        font-size: 20px;
    }
}
