/* Cart Page Styles */

/* WooCommerce Block Cart - Empty State */
.wp-block-woocommerce-empty-cart-block {
    max-width: 100%;
    width: 100%;
    margin: 80px auto;
    padding: 0 40px;
}

.wp-block-woocommerce-empty-cart-block .with-empty-cart-icon {
    font-family: 'proxima-nova', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
}

.wp-block-woocommerce-empty-cart-block .with-empty-cart-icon::before {
    content: '🛒';
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
}

.wp-block-woocommerce-empty-cart-block h2 {
    font-family: 'proxima-nova', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 30px;
}

/* WooCommerce Block - Product Collection (New Products on Empty Cart) */
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-collection {
    margin-top: 60px;
}

.wp-block-woocommerce-product-collection .wp-block-post-template {
    display: flex !important;
    flex-wrap: wrap;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 40px 0;
    width: 100%;
}

.wp-block-woocommerce-product-collection .wp-block-post-template > li {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(25% - 30px);
    min-width: 280px;
    max-width: calc(25% - 30px);
}

.wp-block-woocommerce-product-collection .wp-block-post-template > li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Product Image in Block */
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f8f9fa;
    margin: 0;
}

.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wp-block-woocommerce-product-collection .wp-block-post-template > li:hover .wp-block-woocommerce-product-image img {
    transform: scale(1.05);
}

/* Product Title in Block */
.wp-block-woocommerce-product-collection .wp-block-post-title {
    font-family: 'proxima-nova', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    line-height: 1.4 !important;
    margin: 0 0 12px 0 !important;
    padding: 20px 25px 0 25px !important;
}

.wp-block-woocommerce-product-collection .wp-block-post-title a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.wp-block-woocommerce-product-collection .wp-block-post-title a:hover {
    color: #028476 !important;
}

/* Product Price in Block */
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-price {
    font-family: 'proxima-nova', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #028476 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 25px !important;
}

.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-price .woocommerce-Price-amount {
    font-family: inherit;
}

/* Product Button in Block */
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button {
    padding: 0 25px 25px 25px !important;
    margin-top: auto !important;
}

.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button .wp-block-button__link,
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button .add_to_cart_button {
    display: block !important;
    width: 100% !important;
    background: #028476 !important;
    color: white !important;
    border: none !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    font-family: 'proxima-nova', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button .wp-block-button__link:hover,
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button .add_to_cart_button:hover {
    background: #026b61 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(2, 132, 118, 0.3) !important;
}

/* Product New Block on Empty Cart */
.wc-block-grid__products,
.wc-block-grid.has-4-columns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 40px 0 !important;
    width: 100% !important;
}

.wc-block-grid__product {
    background: white !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
    transition: all 0.3s ease !important;
    flex: 1 1 calc(25% - 30px) !important;
    min-width: 280px !important;
    max-width: calc(25% - 30px) !important;
    display: flex !important;
    flex-direction: column !important;
}

.wc-block-grid__product:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}

.wc-block-grid__product-image {
    height: 240px !important;
    overflow: hidden !important;
    background: #f8f9fa !important;
}

.wc-block-grid__product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.wc-block-grid__product:hover .wc-block-grid__product-image img {
    transform: scale(1.05) !important;
}

.wc-block-grid__product-title {
    font-family: 'proxima-nova', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    padding: 20px 25px 0 25px !important;
    margin: 0 0 12px 0 !important;
}

.wc-block-grid__product-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.wc-block-grid__product-title a:hover {
    color: #028476 !important;
}

.wc-block-grid__product-price {
    font-family: 'proxima-nova', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #028476 !important;
    padding: 0 25px !important;
    margin: 0 0 20px 0 !important;
}

.wc-block-grid__product-add-to-cart {
    padding: 0 25px 25px 25px !important;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wc-block-grid__product-add-to-cart .add_to_cart_button {
    display: block !important;
    width: 100% !important;
    background: #028476 !important;
    color: white !important;
    border: none !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    font-family: 'proxima-nova', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.wc-block-grid__product-add-to-cart .add_to_cart_button:hover {
    background: #026b61 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(2, 132, 118, 0.3) !important;
}

/* Components Button */
.components-button:not(.is-link) {
    min-height: 3em !important;
    background: #028476 !important;
    color: white !important;
    padding: 10px 22px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    letter-spacing: 0.3px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(45, 90, 61, 0.15) !important;
}

/* WooCommerce Block Components Button */
.wc-block-components-button:not(.is-link) .wc-block-components-button__text {
    text-wrap: balance;
    text-wrap: pretty;
    display: block;
    background: #028476;
    color: white;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: underline;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(45, 90, 61, 0.15);
}

/* WooCommerce Cart Block */
.wp-block-woocommerce-cart {
    container-type: inline-size;
    width: 100%;
    padding: 100px 100px;
}

/* WooCommerce Checkout Block */
.wp-block-woocommerce-checkout {
    container-type: inline-size !important;
    margin: 50px 100px  !important;
    /* padding: 50px 100px !important; */
    width: 100% !important;
    max-width: 1400px !important;
}

/* WooCommerce Block Components Sidebar Layout */
.wc-block-components-sidebar-layout {
    display: flex !important;
    margin: 50px 100px  !important;
    position: relative !important;
    /* padding: 50px 100px !important; */
}

/* Cart Container */
.woocommerce-cart {
    background: #fafafa;
    padding: 60px 0 80px;
}

.woocommerce-cart .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Cart Title */
.woocommerce-cart .entry-title,
.woocommerce-cart h1 {
    font-size: 36px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: -1px;
}

/* Cart Layout */
.woocommerce-cart-form {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Cart Table */
.woocommerce-cart table.cart {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-cart table.cart thead {
    background: linear-gradient(135deg, #f5f9f7 0%, #e8f3ed 100%);
}

.woocommerce-cart table.cart thead th {
    padding: 20px 25px;
    color: #028476;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.woocommerce-cart table.cart td {
    padding: 30px 25px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.woocommerce-cart table.cart tbody tr {
    background: white;
    transition: background 0.3s ease;
}

.woocommerce-cart table.cart tbody tr:hover {
    background: #fafafa;
}

/* Product Thumbnail */
.woocommerce-cart table.cart .product-thumbnail {
    width: 100px;
}

.woocommerce-cart table.cart .product-thumbnail img {
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    max-width: 80px;
}

/* Product Name */
.woocommerce-cart table.cart .product-name {
    font-weight: 500;
}

.woocommerce-cart table.cart .product-name a {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-cart table.cart .product-name a:hover {
    color: #028476;
}

/* Product Price */
.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-subtotal {
    font-size: 18px;
    font-weight: 600;
    color: #028476;
}

/* Quantity Input */
.woocommerce-cart table.cart .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-cart table.cart .quantity input {
    width: 60px;
    padding: 10px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}

.woocommerce-cart table.cart .quantity input:focus {
    outline: none;
    border-color: #028476;
}

/* Remove Button */
.woocommerce-cart table.cart .product-remove a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #fee;
    color: #dc3545 !important;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
    pointer-events: auto !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.woocommerce-cart table.cart .product-remove a:hover {
    background: #dc3545;
    color: white !important;
    transform: scale(1.1);
}

/* Ensure remove button cell is clickable */
.woocommerce-cart table.cart .product-remove {
    pointer-events: auto !important;
}

/* Update Cart Button */
.woocommerce-cart table.cart .actions {
    padding: 25px;
    background: #fafafa;
    border-top: 2px solid #e8e8e8;
}

.woocommerce-cart table.cart .actions .button {
    background: #028476;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-cart table.cart .actions .button:hover {
    background: #028476;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 61, 0.3);
}

/* Coupon Section */
.woocommerce-cart table.cart .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
}

.woocommerce-cart table.cart .coupon input {
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    min-width: 200px;
}

.woocommerce-cart table.cart .coupon input:focus {
    outline: none;
    border-color: #028476;
}

.woocommerce-cart table.cart .coupon .button {
    background: white;
    color: #028476;
    border: 1px solid #028476;
}

.woocommerce-cart table.cart .coupon .button:hover {
    background: #028476;
    color: white;
}

/* Cart Totals */
.cart-collaterals {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.cart_totals {
    float: none;
    width: 100%;
}

.cart_totals h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8e8e8;
}

.cart_totals table {
    border: none;
}

.cart_totals table tr {
    border-bottom: 1px solid #f0f0f0;
}

.cart_totals table tr:last-child {
    border-bottom: none;
}

.cart_totals table th,
.cart_totals table td {
    padding: 18px 0;
    font-size: 16px;
}

.cart_totals table th {
    font-weight: 500;
    color: #666;
    text-align: left;
}

.cart_totals table td {
    font-weight: 600;
    color: #1a1a1a;
    text-align: right;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    font-size: 22px;
    font-weight: 700;
    color: #028476;
    padding-top: 25px;
    border-top: 2px solid #028476;
}

/* Checkout Button */
.wc-proceed-to-checkout {
    padding-top: 30px;
    margin-top: 30px;
    border-top: 2px solid #e8e8e8;
}

.wc-proceed-to-checkout .checkout-button,
.wc-proceed-to-checkout a.checkout-button,
.checkout-button.button.alt.wc-forward {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100% !important;
    background: #028476 !important;
    color: white !important;
    border: none !important;
    padding: 20px 40px !important;
    border-radius: 10px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.3) !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

.wc-proceed-to-checkout .checkout-button::after,
.checkout-button.button.alt.wc-forward::after {
    content: '→';
    font-size: 20px;
    transition: transform 0.3s ease;
}

.wc-proceed-to-checkout .checkout-button:hover,
.checkout-button.button.alt.wc-forward:hover {
    background: #028476 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(45, 90, 61, 0.45) !important;
}

.wc-proceed-to-checkout .checkout-button:hover::after,
.checkout-button.button.alt.wc-forward:hover::after {
    transform: translateX(5px);
}

/* Processing State - Ensure button stays visible */
.wc-proceed-to-checkout .checkout-button.processing,
.checkout-button.button.alt.wc-forward.processing {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.wc-proceed-to-checkout .checkout-button:disabled,
.checkout-button.button.alt.wc-forward:disabled {
    display: flex !important;
    visibility: visible !important;
    opacity: 0.7 !important;
}

/* Force all checkout buttons to stay visible at all times */
.wc-proceed-to-checkout,
.wc-proceed-to-checkout *,
.wc-proceed-to-checkout a,
.wc-proceed-to-checkout .checkout-button,
.checkout-button.button.alt.wc-forward {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Override any hiding behavior during processing */
body .wc-proceed-to-checkout a[disabled],
body .checkout-button[disabled],
body .wc-proceed-to-checkout a.disabled,
body .checkout-button.disabled {
    display: flex !important;
    visibility: visible !important;
    opacity: 0.7 !important;
}

/* Prevent WooCommerce from hiding elements */
.woocommerce .wc-proceed-to-checkout,
.woocommerce-cart .wc-proceed-to-checkout,
.cart-collaterals .wc-proceed-to-checkout {
    display: block !important;
    visibility: visible !important;
}

/* Empty Cart */
.woocommerce-cart .cart-empty {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    font-size: 20px;
    color: #666;
}

.woocommerce-cart .cart-empty::before {
    content: '🛒';
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
}

.woocommerce-cart .return-to-shop {
    margin-top: 30px;
}

.woocommerce-cart .return-to-shop .button {
    background: #028476;
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.woocommerce-cart .return-to-shop .button:hover {
    background: #026b61;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 118, 0.3);
}

/* Suggested Products on Empty Cart */
.woocommerce-cart .suggested-products-section {
    margin-top: 60px;
}

.woocommerce-cart .suggested-products-title {
    font-family: 'proxima-nova', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
}

.woocommerce-cart .suggested-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-cart .suggested-products-grid .product {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.woocommerce-cart .suggested-products-grid .product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.woocommerce-cart .suggested-products-grid .product-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f8f9fa;
}

.woocommerce-cart .suggested-products-grid .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.woocommerce-cart .suggested-products-grid .product:hover .product-image img {
    transform: scale(1.05);
}

.woocommerce-cart .suggested-products-grid .product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.woocommerce-cart .suggested-products-grid .product-title {
    font-family: 'proxima-nova', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.woocommerce-cart .suggested-products-grid .product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-cart .suggested-products-grid .product-title a:hover {
    color: #028476;
}

.woocommerce-cart .suggested-products-grid .product-price {
    font-family: 'proxima-nova', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #028476;
    margin-bottom: 20px;
}

.woocommerce-cart .suggested-products-grid .product-price .amount {
    font-family: inherit;
}

.woocommerce-cart .suggested-products-grid .product-actions {
    margin-top: auto;
}

.woocommerce-cart .suggested-products-grid .button,
.woocommerce-cart .suggested-products-grid a.button {
    display: block;
    width: 100%;
    background: #028476;
    color: white !important;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-family: 'proxima-nova', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.woocommerce-cart .suggested-products-grid .button:hover,
.woocommerce-cart .suggested-products-grid a.button:hover {
    background: #026b61;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 118, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .woocommerce-cart .woocommerce {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .woocommerce-cart .woocommerce {
        padding: 0 20px;
    }

    .woocommerce-cart-form {
        padding: 20px;
    }

    .cart-collaterals {
        padding: 25px;
    }

    .woocommerce-cart table.cart .product-thumbnail {
        width: 60px;
    }

    .woocommerce-cart table.cart .product-thumbnail img {
        max-width: 50px;
    }

    .woocommerce-cart table.cart td {
        padding: 20px 15px;
    }

    .woocommerce-cart table.cart thead {
        display: none;
    }

    .woocommerce-cart table.cart tbody tr {
        display: grid;
        grid-template-columns: 60px 1fr;
        gap: 15px;
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 8px;
        border: 1px solid #f0f0f0;
    }

    .woocommerce-cart table.cart .product-remove {
        grid-column: 1 / -1;
        text-align: right;
    }

    .woocommerce-cart table.cart .product-thumbnail {
        grid-row: 1 / 4;
    }

    .woocommerce-cart table.cart .coupon {
        flex-direction: column;
        width: 100%;
    }

    .woocommerce-cart table.cart .coupon input {
        width: 100%;
    }

    /* Suggested Products Responsive */
    .woocommerce-cart .suggested-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .woocommerce-cart .suggested-products-title {
        font-size: 24px;
    }

    .woocommerce-cart .cart-empty-wrapper,
    .woocommerce-cart .cart-empty {
        padding: 60px 30px;
    }

    /* Empty Cart Product Collection Responsive */
    .wp-block-woocommerce-product-collection .wp-block-post-template > li,
    .wc-block-grid__product {
        flex: 1 1 calc(50% - 20px) !important;
        max-width: calc(50% - 20px) !important;
        min-width: 240px !important;
    }
}

@media (max-width: 480px) {
    .wp-block-woocommerce-product-collection .wp-block-post-template > li,
    .wc-block-grid__product {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}

/* Mobile Responsive - Cart and Checkout Block */
@media (max-width: 1024px) {
    /* Cart Block */
    .wp-block-woocommerce-cart {
        padding: 60px 40px !important;
    }

    /* Checkout Block */
    .wp-block-woocommerce-checkout {
        margin: 30px 40px !important;
    }

    /* Sidebar Layout */
    .wc-block-components-sidebar-layout {
        margin: 30px 40px !important;
    }
}

@media (max-width: 768px) {
    /* Cart Block */
    .wp-block-woocommerce-cart {
        padding: 40px 20px !important;
    }

    /* Checkout Block */
    .wp-block-woocommerce-checkout {
        margin: 20px 20px !important;
        padding: 0 !important;
    }

    /* Sidebar Layout */
    .wc-block-components-sidebar-layout {
        flex-direction: column !important;
        margin: 20px 20px !important;
        padding: 0 !important;
    }

    /* Empty Cart Block */
    .wp-block-woocommerce-empty-cart-block {
        margin: 40px auto !important;
        padding: 0 20px !important;
    }

    .wp-block-woocommerce-empty-cart-block .with-empty-cart-icon {
        font-size: 24px !important;
        margin-bottom: 30px !important;
    }

    .wp-block-woocommerce-empty-cart-block .with-empty-cart-icon::before {
        font-size: 40px !important;
        margin-bottom: 10px !important;
    }

    .wp-block-woocommerce-empty-cart-block h2 {
        font-size: 22px !important;
        margin-bottom: 20px !important;
    }

    /* Product Collection Title */
    .wp-block-woocommerce-product-collection h2,
    .wp-block-woocommerce-product-collection .wp-block-heading {
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }
}

@media (max-width: 480px) {
    /* Cart Block */
    .wp-block-woocommerce-cart {
        padding: 30px 15px !important;
    }

    /* Checkout Block */
    .wp-block-woocommerce-checkout {
        margin: 15px 15px !important;
        padding: 0 !important;
    }

    /* Sidebar Layout */
    .wc-block-components-sidebar-layout {
        margin: 15px 15px !important;
        padding: 0 !important;
    }

    /* Empty Cart Block */
    .wp-block-woocommerce-empty-cart-block {
        margin: 30px auto !important;
        padding: 0 15px !important;
    }

    .wp-block-woocommerce-empty-cart-block .with-empty-cart-icon {
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }

    .wp-block-woocommerce-empty-cart-block .with-empty-cart-icon::before {
        font-size: 36px !important;
    }

    .wp-block-woocommerce-empty-cart-block h2 {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }

    /* Product Cards */
    .wp-block-woocommerce-product-collection .wp-block-post-template {
        gap: 20px !important;
        margin: 30px 0 !important;
    }

    .wp-block-woocommerce-product-collection .wp-block-post-template > li {
        min-width: 100% !important;
    }

    /* Product Image Height */
    .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-image {
        height: 200px !important;
    }

    .wc-block-grid__product-image {
        height: 200px !important;
    }

    /* Product Title */
    .wp-block-woocommerce-product-collection .wp-block-post-title {
        font-size: 16px !important;
        padding: 15px 20px 0 20px !important;
    }

    /* Product Price */
    .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-price {
        font-size: 20px !important;
        padding: 0 20px !important;
        margin: 0 0 15px 0 !important;
    }

    /* Product Button */
    .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button {
        padding: 0 20px 20px 20px !important;
    }

    .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button .wp-block-button__link,
    .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button .add_to_cart_button {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
}
