/* === General Layout === */
.woocommerce-cart-layout {
    width: 100%;
}

.cart-title {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 0;
}

.cart-columns,
.cart-header-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cart-left,
.cart-header-left {
    flex: 1 1 65%;
    max-width: 100%;
}
.cart-header-right {
    flex: 1 1 30%;    
}

.cart-header-columns {
    align-items: end;
}

.cart-right {
    flex: 1 1 30%;
    background: #fff;
    border-radius: 5px;
    padding: 20px 15px 15px 15px;
    align-self: flex-start;
}

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

.cart-back {
    font-size: 18px;
    color: #7C7C7C;
    text-decoration: none;
}

.cart-clear {
    font-size: 16px;
    color: #5B5B5B;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.cart-clear img {
    display: inline-block;
    width: 20px;
    height: 20px;
}

/* === Products === */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cart-product {
    display: flex;
    gap: 5px;
    background: #fff;
    border-radius: 5px;
    padding: 15px;
    border-bottom: 1px solid #B8B8B8;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.product-col {
    flex: 1;
}

.product-col.image img {
    max-width: 96px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 5px;
}

.product-col.title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}
.product-bottom {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
}

.product-col.title strong,
.product-col.title a {
    font-size: 18px;
    font-weight: 500;
    color: #454545;
    display: block;
    text-decoration: none;
}

.product-code {
    font-size: 12px;
    color: #7C7C7C;
}

.product-code span {
    font-size: 14px;
    color: #7C7C7C;
}

.product-col.price,
.product-col.total {
    font-size: 22px;
    font-weight: 500;
    color: #000;
    word-break: break-word;
    text-align: center;
    max-width: 120px;
}
.product-col.price .old-price {
    color: #5B5B5B;
    font-size: 16px;
    text-decoration: line-through;
    font-weight: 400;
}

.product-col.price .sale-price {
    color: #000;
    font-size: 22px;
    font-weight: 500;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-control button,
.qty-control span {
    width: 37px;
    height: 37px;
    border: 1px solid #7C7C7C;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    line-height: 37px;
}

.qty-value {
    font-size: 20px;
    color: #0F3043;
    min-width: 20px;
    text-align: center;
}

.remove-cart-item img {
    width: 32px;
    height: 32px;
}

/* === Order Summary === */
.cart-right h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 20px;
}

.totals-line {
    display: flex;
    justify-content: space-between;
    color: #5B5B5B;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
}

.totals-line.total {
    color: #2C2C2C;
    font-size: 20px;
    font-weight: 600;
}

.separator {
    border-top: 1px solid #7C7C7C;
    margin: 10px 0;
}

.checkout-btn {
    display: block;
    width: 100%;
    background: #0F3043;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    margin-top: 20px;
    text-transform: uppercase;
    background: linear-gradient(to top right, #0F3043 25%, #02ACCA 100%);
}

.catalog-btn {
    display: block;
    width: 100%;
    background: transparent;
    color: #B74923;
    font-size: 16px;
    font-weight: 500;
    padding: 15px;
    border: 1px solid #B74923;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
}
.cart-back img {
    width: 12px;
    height: 20px;
    margin-right: 15px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
}
.cart-clear img {
    width: 14px;
    height: 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.product-col.remove img {
    width: 31px;
    height: 33px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;    
}
.cart-big-icon {
    width: 150px;
    height: 150px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; 
    display: block;   
    margin-bottom: 5px;
}
.cart-header-right .cart-big-icon {
    margin: -55px auto 0;
}
.product-col.remove {
    text-align: center;
    min-width: 38px;
}
.cart-empty-elements {
    text-align: center;
    font-size: 18px;
}
.cart-empty-elements h3 {
    margin-bottom: 0;
}
.cart-empty-elements p {
    color: #7C7C7C;
    margin: 0 0 15px 0;
}
.cart-empty-elements .cart-big-icon {
    margin: 0 auto;
}
.cart-empty-elements .checkout-btn {
    display: inline-block;
    width: auto;
    padding: 15px 30px;
}
.product-top {
    flex: 0 0 45%;
    display: flex;
    gap: 15px;
}
.product-col.image {
    max-width: 96px;
}
.woocommerce-cart .product-section-icon {
    display: none;
}
.woocommerce-cart .product-section-header h2 {
    font-size: 24px;
    font-weight: 500;
    color: #4A4A4A;
    line-height: 1.1;
    margin-left: 0;
}
.woocommerce-cart .product-section-header {
    border-bottom: none;
    margin-bottom: 0;
}