
.minimal-threads-checkout {
    font-family: system-ui, -apple-system, sans-serif;
}

@media (min-width: 1024px) {
    .minimal-threads-checkout {
        padding-bottom: 0;
    }
}

.checkout-step {
    transition: all 0.3s ease;
}

.checkout-step.active {
    border-left: 4px solid black;
}

.payment-method {
    transition: all 0.2s ease;
}

.payment-method:hover {
    background-color: #f9fafb;
}

.payment-method.selected {
    border-color: black;
    background-color: #f9fafb;
}

.input-field:focus {
    box-shadow: 0 0 0 1px black;
    outline: none;
}

.cart-item {
    transition: all 0.2s ease;
}

.cart-item:hover {
    background-color: #f9fafb;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.coupon-input {
    transition: all 0.3s ease;
}

.coupon-input:focus {
    box-shadow: 0 0 0 1px black;
    outline: none;
}

.coupon-btn {
    transition: all 0.3s ease;
}

.coupon-btn:hover {
    background-color: #111;
}

.checkout-btn {
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background-color: #111;
    transform: translateY(-2px);
}

.back-btn:hover {
    background-color: #f3f4f6;
}

/* Mobile specific styles */
@media (max-width: 1023px) {
    
    .cart-item img {
        max-width: 100%;
        height: auto;
    }
    
    /* Mobile accordion styles */
    details summary {
        list-style: none;
    }
    
    details summary::-webkit-details-marker {
        display: none;
    }
}

/* WooCommerce specific styling adjustments */
.woocommerce form .form-row {
    padding: 0;
    margin: 0 0 1rem;
}

.woocommerce form .form-row label {
    display: none;
}

.woocommerce form .form-row .select2-container .select2-selection--single {
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
}

@media (min-width: 640px) {
    .woocommerce form .form-row .select2-container .select2-selection--single {
        height: 48px;
    }
}

.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    padding-left: 1rem;
    font-size: 14px;
}

@media (min-width: 640px) {
    .woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__rendered {
        line-height: 46px;
        font-size: 16px;
    }
}

.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__arrow {
    height: 40px;
}

@media (min-width: 640px) {
    .woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__arrow {
        height: 46px;
    }
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
}

@media (min-width: 640px) {
    .woocommerce form .form-row input.input-text,
    .woocommerce form .form-row textarea {
        padding: 0.75rem 1rem;
        font-size: 16px;
    }
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    box-shadow: 0 0 0 1px black;
    outline: none;
}

.woocommerce-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    font-size: 14px;
}

.woocommerce-info {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    font-size: 14px;
}

/* Mobile footer animation */
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.mobile-footer {
    animation: slideUp 0.3s ease-out;
}


/* Coupon Display Styles */
.applied-coupon-display {
    border-bottom: 1px solid #e5e7eb;
    padding: 0.5rem 0;
}

.applied-coupon-display:last-child {
    border-bottom: none;
}

.remove-coupon-btn {
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.remove-coupon-btn:hover {
    color: #dc2626 !important;
}

/* Ensure consistent coupon display */
.cart-discount {
    display: flex;
    justify-content: space-between;
}

.coupon-message {
    transition: all 0.3s ease;
}

/* Hide default WooCommerce coupon displays */
.woocommerce-remove-coupon {
    display: none !important;
}

/* Mobile responsive */
@media (max-width: 1023px) {
    .applied-coupon-display {
        padding: 0.75rem 0;
    }
}

/* Payment method styling */
.payment-method-label {
    transition: all 0.2s ease;
    display: flex !important;
    align-items: flex-start;
}

.payment-method-label:hover {
    background-color: #f9fafb;
}

.payment-method-label img {
    max-height: 20px;
    margin-left: auto;
}

.custom-radio-indicator {
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.payment-method-content {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ensure WooCommerce elements are properly hidden */
.wc_payment_method input[type="radio"] {
    display: none !important;
}

/* Enhanced coupon styles */
.applied-coupon {
    transition: all 0.3s ease;
}

.applied-coupon:hover {
    background-color: #f0f9f4 !important;
}

.remove-coupon {
    transition: all 0.2s ease;
}

.remove-coupon:hover {
    transform: scale(1.05);
}

/* Hide WooCommerce coupon-related notices */
.woocommerce-message[role="alert"]:has(span:contains("coupon")),
.woocommerce-message[role="alert"]:has(span:contains("Coupon")) {
    display: none !important;
}

/* Loading state for coupon button */
.coupon-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.coupon-btn:disabled:hover {
    background-color: #000;
}