/**
 * WooCommerce Product Page Styles
 * Professional Design for Leveling Clip Pro
 * 
 * @package Leveling_Clip_Pro
 * @author Md Rahat
 */

/* ===========================
   WooCommerce Messages & Notices
=========================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 18px 25px;
    margin-bottom: 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.6;
    border-left: 4px solid;
}

.woocommerce-message {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #4caf50;
    color: #2e7d32;
}

.woocommerce-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #2196f3;
    color: #1565c0;
}

.woocommerce-error {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-color: #f44336;
    color: #c62828;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 20px;
}

.woocommerce-message::before {
    content: '\f058';
    color: #4caf50;
}

.woocommerce-info::before {
    content: '\f05a';
    color: #2196f3;
}

.woocommerce-error::before {
    content: '\f06a';
    color: #f44336;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    margin-left: auto;
    padding: 8px 20px;
    background: #fff;
    color: inherit;
    border: 2px solid currentColor;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
    background: currentColor;
    color: #fff;
}

/* ===========================
   Single Product Page
=========================== */
.lcp-single-product-wrapper {
    padding: 40px 0;
    background: #f8f9fa;
}

/* Breadcrumb */
.lcp-breadcrumb {
    margin-bottom: 30px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
}

.breadcrumb-nav a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #764ba2;
}

.breadcrumb-nav i {
    font-size: 10px;
    color: #999;
}

/* Product Main Section */
.lcp-product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

/* Product Gallery */
.lcp-product-gallery {
    position: relative;
}

.lcp-product-gallery .woocommerce-product-gallery {
    position: relative;
}

.lcp-product-gallery img {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.lcp-product-badges {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-sale {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: #fff;
}

.badge-out-of-stock {
    background: #6c757d;
    color: #fff;
}

.badge-featured {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
    color: #fff;
}

/* Product Gallery Thumbnails */
.woocommerce-product-gallery__wrapper {
    margin-bottom: 15px;
}

.flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.flex-control-thumbs li {
    list-style: none;
    flex: 1;
    max-width: 100px;
}

.flex-control-thumbs img {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flex-control-thumbs img:hover,
.flex-control-thumbs .flex-active img {
    border-color: #667eea;
    transform: translateY(-2px);
}

/* Product Info Section */
.lcp-product-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.lcp-product-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
    margin: 0;
}

/* Rating */
.lcp-product-rating-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.star-rating {
    color: #ffa726;
    font-size: 16px;
}

.lcp-review-count {
    color: #888;
    font-size: 14px;
}

.lcp-review-count:hover {
    color: #667eea;
    text-decoration: underline;
    cursor: pointer;
}

/* Price */
.lcp-product-price-wrapper {
    padding: 20px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.lcp-product-price-wrapper .price {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 36px;
    font-weight: 700;
    color: #667eea;
}

.lcp-product-price-wrapper .price del {
    font-size: 24px;
    color: #999;
    font-weight: 400;
}

.lcp-product-price-wrapper .price ins {
    text-decoration: none;
}

.woocommerce-Price-amount {
    font-weight: 700;
}

/* Short Description */
.lcp-product-short-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.lcp-product-short-description p {
    margin-bottom: 15px;
}

/* Meta Info */
.lcp-product-meta-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.meta-label {
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.meta-label i {
    color: #667eea;
    width: 16px;
}

.meta-value {
    color: #666;
}

.meta-value a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.meta-value a:hover {
    color: #764ba2;
}

.stock-status.in-stock {
    color: #4caf50;
    font-weight: 600;
}

.stock-status.out-of-stock {
    color: #f44336;
    font-weight: 600;
}

/* Product Actions - Add to Cart */
.lcp-product-actions {
    padding: 25px 0;
}

.lcp-product-actions .cart {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.lcp-product-actions .quantity {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.lcp-product-actions .quantity input[type="number"] {
    width: 70px;
    height: 50px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.lcp-product-actions .quantity input[type="number"]::-webkit-outer-spin-button,
.lcp-product-actions .quantity input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.lcp-product-actions .single_add_to_cart_button {
    flex: 1;
    min-width: 200px;
    height: 54px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lcp-product-actions .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.lcp-product-actions .single_add_to_cart_button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Variations */
.variations {
    margin-bottom: 20px;
}

.variations tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.variations .label {
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    display: block;
}

.variations select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.variations select:focus {
    outline: none;
    border-color: #667eea;
}

.reset_variations {
    margin-top: 10px;
    font-size: 13px;
    color: #667eea;
    text-decoration: none;
}

.reset_variations:hover {
    text-decoration: underline;
}

/* Product Share */
.lcp-product-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
}

.share-label {
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.pinterest { background: #bd081c; }
.share-btn.whatsapp { background: #25d366; }

/* Trust Badges */
.lcp-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

.trust-item i {
    font-size: 20px;
    color: #667eea;
}

/* Product Tabs */
.lcp-product-tabs {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.woocommerce-tabs {
    margin: 0;
}

.woocommerce-tabs .tabs {
    display: flex;
    gap: 30px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
    padding: 0;
    list-style: none;
}

.woocommerce-tabs .tabs li {
    margin: 0;
}

.woocommerce-tabs .tabs li a {
    display: block;
    padding: 15px 20px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.woocommerce-tabs .tabs li a:hover {
    color: #667eea;
}

.woocommerce-tabs .tabs li.active a {
    color: #667eea;
}

.woocommerce-tabs .tabs li.active a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.woocommerce-tabs .panel {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.woocommerce-tabs .panel h2 {
    font-size: 24px;
    color: #222;
    margin-bottom: 20px;
}

/* Reviews */
#reviews .commentlist {
    list-style: none;
    padding: 0;
}

#reviews .comment {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

#reviews .comment_container {
    display: flex;
    gap: 20px;
}

#reviews img.avatar {
    border-radius: 50%;
}

#reviews .comment-text {
    flex: 1;
}

#reviews .star-rating {
    margin-bottom: 10px;
}

/* Related Products */
.lcp-related-products {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.related.products h2 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    text-align: center;
}

/* ===========================
   Responsive Design
=========================== */
@media (max-width: 992px) {
    .lcp-product-main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
    }
    
    .lcp-product-title {
        font-size: 26px;
    }
    
    .lcp-product-price-wrapper .price {
        font-size: 30px;
    }
    
    .lcp-trust-badges {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .lcp-single-product-wrapper {
        padding: 20px 0;
    }
    
    .lcp-product-main {
        padding: 20px;
    }
    
    .lcp-product-title {
        font-size: 22px;
    }
    
    .lcp-product-price-wrapper .price {
        font-size: 24px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .lcp-product-actions .cart {
        flex-direction: column;
        width: 100%;
    }
    
    .lcp-product-actions .single_add_to_cart_button {
        width: 100%;
    }
    
    .woocommerce-tabs .tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .lcp-product-tabs,
    .lcp-related-products {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .lcp-product-badges {
        top: 10px;
        right: 10px;
    }
    
    .badge {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
}

/* ===========================
   Shop Page & Archives
=========================== */
.woocommerce .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 15px;
}

.woocommerce ul.products li.product .price {
    color: #667eea;
    font-size: 20px;
    font-weight: 700;
    margin: 0 15px 15px;
}

.woocommerce ul.products li.product .button {
    width: calc(100% - 30px);
    margin: 0 15px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Shop Toolbar */
.woocommerce-result-count {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.woocommerce-ordering {
    margin-bottom: 20px;
}

.woocommerce-ordering select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

/* Pagination */
.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: 8px;
    border: none;
}

.woocommerce-pagination ul li {
    list-style: none;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    padding: 10px 16px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
}

.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li span.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: #667eea;
}

/* ===========================
   Cart & Checkout Pages
=========================== */
.lcp-cart-wrapper,
.lcp-checkout-wrapper {
    padding: 40px 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.lcp-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    text-align: center;
}

/* Cart Table */
.woocommerce-cart-form {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow-x: auto;
}

.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce table.shop_table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.woocommerce table.shop_table thead th {
    padding: 15px;
    font-weight: 600;
    text-align: left;
    border: none;
}

.woocommerce table.shop_table tbody td {
    padding: 20px 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.woocommerce table.shop_table tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce table.shop_table .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.woocommerce table.shop_table .product-name a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.woocommerce table.shop_table .product-name a:hover {
    color: #667eea;
}

.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal {
    font-weight: 700;
    color: #667eea;
}

.woocommerce table.shop_table .quantity input {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-weight: 600;
}

.woocommerce table.shop_table .product-remove a {
    color: #f44336;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce table.shop_table .product-remove a:hover {
    color: #d32f2f;
}

/* Update Cart Button */
.woocommerce-cart-form .actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.woocommerce-cart-form .actions button[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-cart-form .actions button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Cart Totals */
.cart-collaterals {
    display: flex;
    justify-content: flex-end;
}

.cart_totals {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-width: 400px;
}

.cart_totals h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #222;
}

.cart_totals table {
    width: 100%;
}

.cart_totals table th,
.cart_totals table td {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart_totals table th {
    font-weight: 600;
    text-align: left;
    color: #444;
}

.cart_totals table td {
    text-align: right;
    color: #666;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
    border-bottom: none;
    padding-top: 20px;
}

.wc-proceed-to-checkout {
    margin-top: 20px;
}

.wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.wc-proceed-to-checkout .checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Empty Cart */
.woocommerce-info {
    text-align: center;
    padding: 60px 30px;
}

.return-to-shop {
    text-align: center;
    margin-top: 30px;
}

.return-to-shop .button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.return-to-shop .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Checkout Page */
.woocommerce-checkout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #222;
}

.woocommerce-checkout .form-row {
    margin-bottom: 20px;
}

.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    outline: none;
    border-color: #667eea;
}

.woocommerce-checkout #order_review {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.woocommerce-checkout #order_review h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #222;
}

.woocommerce-checkout #payment {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.woocommerce-checkout #place_order {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.woocommerce-checkout #place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .woocommerce-checkout {
        grid-template-columns: 1fr;
    }
    
    .cart_totals {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .woocommerce table.shop_table {
        font-size: 14px;
    }
    
    .woocommerce table.shop_table .product-thumbnail img {
        width: 60px;
        height: 60px;
    }
    
    .woocommerce table.shop_table thead {
        display: none;
    }
    
    .woocommerce table.shop_table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #f0f0f0;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .woocommerce table.shop_table tbody td {
        display: block;
        text-align: right;
        padding: 10px 15px;
    }
    
    .woocommerce table.shop_table tbody td::before {
        content: attr(data-title) ": ";
        float: left;
        font-weight: 600;
        color: #444;
    }
}
