/*
Theme Name: Martfury Child
Theme URI: http://drfuri.com/unero
Author: DrFuri
Author URI: http://drfuri.com
Description: Martfury Child Theme.
Version: 1.0
License: GNU General Public License v2+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: martfury
Domain Path: /lang/
Tags: one-column, two-columns, left-sidebar, right-sidebar, full-width-template, post-formats, theme-options, threaded-comments, translation-ready
Template: martfury
*/

.page-id-10 h1.entry-title {
    display: none !important;
}
.page-id-8232 h1.entry-title {
    display: none !important;
}
.page-id-9 h1.entry-title {
    display: none !important;
}
/* Enhanced Cart Styles */

/* Cart Table Improvements */
.woocommerce-cart-form__contents {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.woocommerce-cart-form__contents thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    text-align: center;
    padding: 15px 10px;
    color: #495057;
}

.woocommerce-cart-form__contents tbody td {
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
    padding: 20px 15px;
}

.woocommerce-cart-form__contents tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce-cart-form__contents tbody tr:hover {
    background: #f8f9fa;
    transition: background 0.2s ease;
}

/* Product Thumbnail */
.product-thumbnail img {
    border-radius: 8px;
    transition: transform 0.3s ease;
    max-width: 80px;
    height: auto;
}

.product-thumbnail a:hover img {
    transform: scale(1.05);
}

/* Product Name */
.product-name a {
    font-weight: 600;
    color: #495057;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-name a:hover {
    color: #007cba;
}

/* Price and Subtotal */
.product-price,
.product-subtotal {
    text-align: center;
    font-weight: 600;
    color: #28a745;
    font-size: 16px;
}

/* Quantity Input */
.product-quantity {
    text-align: center;
}

.product-quantity .qty {
    width: 70px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    font-weight: 600;
    transition: border-color 0.2s ease;
}

.product-quantity .qty:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* Remove Button */
.product-remove {
    text-align: center;
}

.product-remove .remove {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.product-remove .remove:hover {
    background: #c82333;
    transform: scale(1.1);
    color: white;
}

/* Cart Actions Row */
.actions {
    background: #f8f9fa !important;
    padding: 20px !important;
}

.cart-actions-left {
    float: left;
}

.cart-actions-right {
    float: right;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-actions-left::after,
.cart-actions-right::after {
    content: "";
    display: table;
    clear: both;
}

/* Continue Shopping Button */
.btn-continue-shopping {
    background: #6c757d;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn-continue-shopping:hover {
    background: #5a6268;
    color: white;
}

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

.coupon input[type="text"] {
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 10px 15px;
    width: 150px;
    transition: border-color 0.2s ease;
}

.coupon input[type="text"]:focus {
    border-color: #007cba;
    outline: none;
}

.coupon button {
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.coupon button:hover {
    background: #005a87;
}

/* Update Cart Button */
button[name="update_cart"] {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

button[name="update_cart"]:hover {
    background: #218838;
}

/* Cart Collaterals */
.cart-collaterals {
    margin-top: 30px;
}

.cart-collaterals-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.shipping-calculator-wrapper {
    flex: 1;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.cart-totals-wrapper {
    flex: 1;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-actions-left,
    .cart-actions-right {
        float: none;
        display: block;
        margin-bottom: 15px;
    }
    
    .cart-actions-right {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .coupon {
        flex-direction: column;
        gap: 10px;
    }
    
    .coupon input[type="text"] {
        width: 100%;
    }
    
    .cart-collaterals-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Mobile Table Styles */
    .shop_table_responsive thead {
        display: none;
    }
    
    .shop_table_responsive tbody tr {
        display: block;
        border: 1px solid #ddd;
        border-radius: 8px;
        margin-bottom: 20px;
        padding: 15px;
        background: white;
    }
    
    .shop_table_responsive tbody td {
        display: block;
        text-align: right;
        border: none;
        padding: 10px 0;
        position: relative;
        padding-left: 50%;
    }
    
    .shop_table_responsive tbody td:before {
        content: attr(data-title) ": ";
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 600;
        color: #666;
    }
    
    .product-thumbnail {
        text-align: center !important;
        padding-left: 0 !important;
    }
    
    .product-thumbnail:before {
        display: none;
    }
}

/* Backorder Notification */
.backorder_notification {
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-top: 10px;
}

/* Loading States */
.woocommerce-cart-form.processing {
    opacity: 0.6;
    pointer-events: none;
}

.woocommerce-cart-form.processing::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}