/*
Theme Name: eShop
Theme URI: https://mahadeehasan.com
Author: Mahadee Hasan
Author URI: https://mahadeehasan.com
Description: Modern and beautiful block theme for e-commerce and blogs.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.4
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eshop
Tags: blog, e-commerce, one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, block-themes, translation-ready
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* ==================== SINGLE PRODUCT ENHANCEMENTS ==================== */

/* লাল হেডার */
.wp-block-group.has-background[style*="background-color:#e60000"] {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* সুন্দর Quantity বাটন */
.pro-qty {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 6px;
    width: fit-content;
    border: 1px solid #ddd;
}

.pro-qty .quantity-button {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #e60000;
    background: white;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.pro-qty .quantity-button:hover {
    background: #e60000;
    color: white;
    border-color: #e60000;
}

.pro-qty input.qty {
    width: 60px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border: none;
    background: transparent;
    margin: 0 10px;
}

/* Add to Cart & WhatsApp Buttons */
.add-to-cart-btn, .wp-block-button__link {
    border-radius: 50px !important;
    padding: 14px 28px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.2) !important;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 0, 0, 0.3) !important;
}

/* Single Product Custom Styles */
.axil-single-product-area .wp-block-columns {
    align-items: flex-start;
}

.pro-qty {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 6px;
    width: fit-content;
}

.pro-qty .quantity-button {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    color: #e60000;
    background: white;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
}

.pro-qty input.qty {
    width: 70px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    border: none;
    background: transparent;
}

/* Delivery Table */
.delivery-info-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #eee;
}
.delivery-info-table td:last-child {
    font-weight: 700;
    color: #e60000;
}

/* Size Guide & Delivery Modal */
.size-guide-modal, .delivery-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.size-table td, .size-table th {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

.size-table th {
    background: #e60000;
    color: white;
}

/* Single Product Page - Arazshop Style */
.axil-single-product-area .wp-block-columns {
    align-items: flex-start;
}

.pro-qty {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 6px;
    width: fit-content;
}

.pro-qty .quantity-button {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    color: #e60000;
    background: white;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
}

.pro-qty input.qty {
    width: 70px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    border: none;
    background: transparent;
}

/* Delivery Table */
.delivery-info-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #eee;
}
.delivery-info-table td:last-child {
    font-weight: 700;
    color: #e60000;
}

/* ==================== PRODUCT IMAGE ZOOM EFFECT ==================== */
.single-product-thumbnail-wrap {
    position: relative;
    overflow: hidden;
}

.main-product-img {
    transition: transform 0.4s ease;
    cursor: zoom-in;
}

.single-product-thumbnail-wrap:hover .main-product-img {
    transform: scale(1.15);
}

/* Drift Zoom Style (Better Hover Zoom) */
.drift-zoom-pane {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 8px;
}

/* Thumbnail Hover Effect */
.product-small-thumb-3 .small-thumb-img img {
    transition: all 0.3s ease;
}

.product-small-thumb-3 .small-thumb-img:hover img {
    transform: scale(1.1);
    border: 2px solid #e60000;
}

/* ==================== SIZE GUIDE MODAL ==================== */
.size-guide-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.75);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.size-guide-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    text-align: center;
}

.size-guide-content h3 {
    color: #e60000;
    margin-bottom: 20px;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.size-table th, .size-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

.size-table th {
    background: #e60000;
    color: white;
}

/* Checkout Dark Theme */
.woocommerce-checkout {
    background: #0f172a;
    color: white;
    padding: 40px 20px;
}

.woocommerce-checkout .form-row label {
    color: #cbd5e1;
}

.woocommerce-checkout input, 
.woocommerce-checkout select {
    background: #1e2937;
    border: 1px solid #475569;
    color: white;
    border-radius: 8px;
}

.woocommerce-checkout button {
    background: #e60000;
    color: white;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 50px;
}

/* ==================== CHECKOUT PAGE - DARK MODERN STYLE ==================== */
.checkout-page {
    background: #0f172a;
    color: #e2e8f0;
    min-height: 100vh;
}

.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.woocommerce-checkout {
    background: #1e2937;
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Heading */
.woocommerce-checkout h3 {
    color: #f8fafc;
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e60000;
    padding-bottom: 10px;
}

/* Form Fields */
.woocommerce-checkout .form-row label {
    color: #cbd5e1;
    font-weight: 600;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    background: #334155;
    border: 1px solid #475569;
    color: #f1f5f9;
    border-radius: 8px;
    padding: 12px 15px;
}

.woocommerce-checkout input.input-text:focus {
    border-color: #e60000;
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.2);
}

/* Shipping Options */
.woocommerce-shipping-methods li {
    background: #1e2937;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.woocommerce-shipping-methods li:hover {
    border-color: #e60000;
}

.woocommerce-shipping-methods input[type="radio"]:checked + label {
    color: #e60000;
    font-weight: 700;
}

/* Coupon Code */
.coupon-code-section {
    background: #1e2937;
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
}

#coupon_code {
    background: #334155;
    color: white;
    border-radius: 8px;
}

/* Buttons */
.woocommerce-checkout button.button.alt {
    background: linear-gradient(135deg, #e60000, #ff3333);
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    border: none;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s;
}

.woocommerce-checkout button.button.alt:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 0, 0, 0.4);
}

/* Pay Online Button */
#place_order {
    background: #eab308;
    color: #0f172a;
    font-weight: 800;
    font-size: 19px;
}

#place_order:hover {
    background: #facc15;
}

/* Order Summary */
.woocommerce-checkout-review-order-table {
    background: #1e2937;
    border-radius: 12px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    color: #e2e8f0;
    padding: 14px;
}

.pro-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}
.pro-qty .quantity-button {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
}
.qty-input {
    width: 70px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}