/* ============================================
   WCTS SPLIT LAYOUT - ASTRA THEME COMPATIBLE
   ============================================ */

/* Force physical wrapper to be side-by-side, overriding Astra's grid */
.wcts-split-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 50px !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 30px auto !important;
}

.wcts-split-wrapper .wcts-product-gallery {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;    
}

.wcts-split-wrapper .summary {
    flex: 0 0 45% !important;
    max-width: 45% !important;
    width: 45% !important;
    padding: 0 !important;
}

/* Hide default WC elements we replace inside the card */
body .wcts-split-wrapper .summary .product_title,
body .wcts-split-wrapper .summary .woocommerce-product-details__short-description,
body .wcts-split-wrapper .summary .price,
body .wcts-split-wrapper .summary .woocommerce-product-attributes {
    display: none !important;
}

/* --- Left Image Styling --- */
.wcts-product-gallery {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    background: #fff;
}

.wcts-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Right Service Card Styling --- */
.wcts-service-card {
/*     background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05); */
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 20px; /* Space before the Book Now button */
}

.wcts-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wcts-duration-badge {
	font-family: "Poppins", Sans-serif;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wcts-price-tag {
	font-family: "Poppins", Sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #D96C28;
	line-height: 22px;
}
.wcts-price-tag.free { color: #16a34a; }

.wcts-card-title {
	font-family: "Poppins", Sans-serif;
    font-size: 35px;
    font-weight: 600;
	text-transform: capitalize !important;
    color: #111827;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.wcts-card-desc {
	font-family: "Poppins", Sans-serif;
    text-transform: capitalize;    
    color: #4A4A4A;	
    font-size: 15px !important;
    margin-bottom: 30px;
    flex-grow: 1;
}
.wcts-card-desc h2{
	font-family: "Poppins", Sans-serif;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 50px;
    color: #4A4A4A;
	font-size: 1.5em !important;
	margin: .5em 0 !important;
}
.fas.fa-check{
	margin-right: 10px;
	color: #fca311;
}
/* --- Date Input --- */
.wcts-date-picker-block label {
	font-family: "Poppins", Sans-serif;
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}
.wcts-date-picker-block input[type="date"] {
	font-family: "Poppins", Sans-serif;
    width: 100%;
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px !important;
    font-size: 16px;
    font-family: inherit;
    color: #111827;
    background-color: #f9fafb;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.wcts-date-picker-block input[type="date"]:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* --- Capacity Progress --- */
.wcts-capacity-block {
    margin-bottom: 30px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
}
.wcts-capacity-text {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 10px;
}
.wcts-text-success { color: #fca311 !important; }
.wcts-progress-track {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}
.wcts-progress-fill {
    height: 100%;
    background: #fca311;
    border-radius: 4px;
    transition: width 0.4s ease, background 0.3s ease;
}
.wcts-progress-fill.low { background: #f59e0b; }
.wcts-progress-fill.critical { background: #ef4444; }

/* --- Force "Book Now" Green Button Style --- */
.wcts-split-wrapper .summary form.cart { margin-top: 0; }
.wcts-split-wrapper .summary .quantity { display: none !important; }

.wcts-split-wrapper .summary .single_add_to_cart_button {
	font-family: "Poppins", Sans-serif;
    width: 100% !important;
    background: #FCA311 !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
/*     padding: 15px 30px !important; */
    border-radius: 14px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3) !important;
    line-height: 1.2 !important;
	margin: 0 !important;
}

.wcts-split-wrapper .summary .single_add_to_cart_button:hover{
    background: #D96C28 !important;
/*     transform: translateY(-2px); */
/*     box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4) !important; */
}
#trailsproduct .single_add_to_cart_button{
	margin: 0 !important;
	padding: 15px 50px !important;
}
#trailsproduct form{
	flex-wrap: wrap !important;
}
/* --- Responsive --- */
@media (max-width: 920px) {
    .wcts-split-wrapper {
        flex-direction: column !important;
        gap: 30px !important;
    }
    .wcts-split-wrapper .wcts-product-gallery,
    .wcts-split-wrapper .summary {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* ============================================
   THANK YOU / ORDER RECEIVED PAGE STYLING
   ============================================ */

/* Main Card Container */
.wcts-thankyou-trial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    font-family: "Poppins", sans-serif, system-ui;
    transition: all 0.3s ease;
}

.wcts-thankyou-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px dashed #f1f5f9;
}

.wcts-thankyou-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wcts-thankyou-card-title h3 {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2;
}

/* Age Badge in Header */
.wcts-thankyou-age-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(252, 163, 17, 0.12);
    color: #d97706;
    border: 1px solid rgba(252, 163, 17, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Responsive Table Wrapper */
.wcts-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

/* Bookings Table */
.wcts-bookings-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: none !important;
    margin: 0 !important;
    font-size: 14px !important;
}

.wcts-bookings-table thead th {
    background: #f8fafc !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    padding: 14px 16px !important;
    border: none !important;
    border-bottom: 2px solid #e2e8f0 !important;
    text-align: left !important;
}

.wcts-bookings-table thead th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.wcts-bookings-table thead th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.wcts-bookings-table tbody tr {
    transition: background 0.2s ease;
}

.wcts-bookings-table tbody tr:hover {
    background: #f8fafc;
}

.wcts-bookings-table tbody td {
    padding: 16px !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
    color: #334155;
}

.wcts-cell-product strong {
    color: #0f172a;
    font-weight: 600;
    font-size: 15px;
}

/* Date Pill */
.wcts-date-pill {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

/* Age Pill */
.wcts-age-pill {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

/* Free Badge */
.wcts-badge-free {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

/* Status Pills */
.wcts-status-pill {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.wcts-status-pending {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.wcts-status-confirmed,
.wcts-status-completed,
.wcts-status-processing {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.wcts-status-cancelled {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Enhancements to WooCommerce Standard Order Received Elements */
.woocommerce-order-received .woocommerce-notice--success {
    background: linear-gradient(135deg, #eb6d23 0%, #d96319 100%) !important;
    color: #ffffff !important;
    padding: 20px 24px !important;
    border-radius: 14px !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 25px rgb(221 101 27 / 41%) !important;
    margin-bottom: 30px !important;
    border: none !important;
}

.woocommerce-order-received .woocommerce-thankyou-order-details {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
    gap: 16px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 20px !important;
    list-style: none !important;
    margin: 0 0 35px 0 !important;
}

.woocommerce-order-received .woocommerce-thankyou-order-details li {
    border-right: none !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    border: 1px solid #edf2f7 !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 13px !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.woocommerce-order-received .woocommerce-thankyou-order-details li strong {
    display: block !important;
    color: #0f172a !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-top: 4px !important;
    text-transform: none !important;
}

.woocommerce-order-details__title,
.woocommerce-column__title {
    font-family: "Poppins", sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 16px !important;
}

.woocommerce-table--order-details {
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
}
.woocommerce-js ul.order_details::after, .woocommerce-js ul.order_details::before{
    display: none !important;
}
.woocommerce-mini-cart-item .wpr-mini-cart-name-and-quantity .variation{
    display: table-row;
}