:root {
    --brand-green: #006847;
    --brand-background-grey: #f4f4f4;
    --brand-red: #CE1126;
    --brand-blue: #0066cc;
}

/* Cart Table Styles */
.wc-block-cart-items {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

/* .wc-block-cart-items__header {
    background-color: var(--brand-green);
    color: #fff;
} */

.wc-block-cart-items__header th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.wc-block-cart-items__header-image {
    width: 100px;
}

.wc-block-cart-items__header-product {
    flex: 1;
}

/* Cart Row Styles */
.wc-block-cart-items__row {
    border-bottom: 1px solid var(--brand-background-grey);
    transition: background-color 0.2s ease;
}

.wc-block-cart-items__row:hover {
    background-color: var(--brand-background-grey);
}

/* Cart Item Image */
.wc-block-cart-item__image {
    padding: 1rem;
    text-align: center;
}

.wc-block-cart-item__image img {
    max-width: 80px;
    height: auto;
    border-radius: 4px;
}

/* Cart Item Product */
.wc-block-cart-item__product {
    padding: 1rem;
}

.wc-block-cart-item__wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wc-block-components-product-name {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
}

.wc-block-components-product-name:hover {
    text-decoration: underline;
}

.wc-block-components-product-price__value {
    color: var(--brand-green);
    font-weight: 700;
    font-size: 1.1rem;
}

.wc-block-components-product-metadata__description {
    font-size: 0.9rem;
    color: #667;
    line-height: 1.4;
}

/* Quantity Selector */
.wc-block-cart-item__quantity {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 0.5rem;
}

.wc-block-components-quantity-selector {
    display: flex;
    align-items: center;
    border: none;
    border-radius: 4px;
}

.wc-block-components-quantity-selector__input {
    width: 50px;
    text-align: center;
    border: none;
    padding: 0.5rem;
    font-weight: 600;
}

.wc-block-components-quantity-selector__button {
    background: none;
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    color: var(--brand-green);
    font-weight: bold;
    transition: color 0.2s ease;
}

.wc-block-components-quantity-selector__button:hover {
    color: var(--brand-blue);
}

/* Remove Button */
.wc-block-cart-item__remove-link {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brand-red);
    transition: color 0.2s ease;
}

.wc-block-cart-item__remove-link:hover {
    color: var(--brand-red);
}

.wc-block-cart-item__remove-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Cart Total */
.wc-block-cart-item__total {
    padding: 1rem;
    text-align: right;
    font-weight: 700;
}

/* Proceed to Checkout Button */
.wc-block-cart__submit-container {
    margin-top: 2rem;
}

.wc-block-cart__submit-button {
    display: inline-block;
    width: 100%;
    background: linear-gradient(135deg, var(--brand-green) 0%, #005038 100%);
    color: #fff !important;
    padding: 1.1rem !important;
    border: 2px solid var(--brand-green) !important;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 104, 71, 0.15);
}

.wc-block-cart__submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.wc-block-cart__submit-button:hover {
    background: linear-gradient(135deg, #004f35 0%, #003d28 100%) !important;
    border-color: #003d28 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 104, 71, 0.25);
}

.wc-block-cart__submit-button:hover::before {
    left: 100%;
}

.wc-block-cart__submit-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 104, 71, 0.2);
}

.wc-block-components-button__text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}