/*
 Theme Name:   WoodMart Child
 Theme URI:    https://xtemos.com/
 Description:  WoodMart Child Theme
 Author:       Your Name
 Author URI:   https://yourwebsite.com/
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart-child
*/




/* ===========================
   Delivery Method Popup
   =========================== */

.sn-delivery-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal box */
.sn-popup-box {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    width: 95%;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: snScaleIn .25s ease;
}

/* Animation */
@keyframes snScaleIn {
    from {
        transform: scale(.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.sn-popup-box h3 {
    margin-bottom: 10px;
}

/* Subtitle */
.sn-subtext {
    font-size: 14px;
    color: #666;
    margin-bottom: 18px;
}

/* ===========================
   Method Grid Layout
   =========================== */

.sn-method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* Mobile fallback */
@media (max-width: 640px) {
    .sn-method-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Method Card
   =========================== */

.sn-method-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
}

.sn-method-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.14);
}

/* Icon / Emoji */
.sn-method-icon {
    font-size: 34px;
    margin-bottom: 6px;
}

/* Title */
.sn-method-card h4 {
    font-size: 16px;
    margin: 6px 0 8px;
}

/* Meta text */
.sn-method-meta {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

/* ETA emphasis */
.sn-eta {
    font-weight: 600;
    margin-top: 6px;
}

/* ===========================
   Buttons
   =========================== */

   
.sn-method-btn {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: background .2s ease;
}

.sn-method-btn:hover {
    background: #d1bbbb;
}
.wc_payment_method label {
    overflow: visible !important;
}

/* FORCE show payment info icon in Woodmart checkout */
.payment-info-icon {
    display: inline-flex !important;
    align-items: center;
    margin-left: 8px;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 999;
}

/* E-Transfer Modal Styling */
.etransfer-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    padding: 40px 20px;
    overflow-y: auto;
}

.etransfer-modal-inner {
    background: #fff;
    max-width: 600px;
    margin: auto;
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.etransfer-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}


.etransfer-modal {
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.etransfer-modal .modal-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
}

.etransfer-modal .modal-title {
    font-size: 1.2rem;
}

.etransfer-steps {
    padding-left: 18px;
}

.etransfer-steps li {
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 15px;
}

.etransfer-steps small {
    color: #6c757d;
}

.etransfer-steps .text-danger {
    background: #fff4f4;
    padding: 8px 10px;
    border-radius: 6px;
}

.sn-min-order-warning {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

/* Delivery Tabs CSS */

.delivery-radio{
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
}
/* Hide native radio buttons */
.delivery-radio input[type=radio] {
    display: none !important;
}

/* Style labels as buttons */
.delivery-radio label {
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    padding: 15px 25px;
    cursor: pointer;
    background: #f9f9f9;
    font-weight: 600;
    text-align: center;
    min-width: 200px;
	width:100%;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Hover effect */
.delivery-radio label:hover {
    border-color: #cb2027;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Active / Selected radio button */
.delivery-radio input[type=radio]:checked + label {
    background: #cb2027;
    color: #fff;
    border-color: #cb2027;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Optional: small text for message under buttons */
.delivery-msg {
    margin-top: 8px;
    font-size: 0.9em;
    color: #555;
}
.delivery-radio label .optional{
	display:none !important
}
#billing_company_field{
	display:none !important
}
tr.woocommerce-shipping-totals.shipping{
	display:none
}
.woocommerce-form-coupon-toggle .woocommerce-info{
	font-weight:400 !important;
	margin-bottom:10px !important
}