/* ================================================
   CART & CHECKOUT - السلة والدفع
   Professional Layout
   ================================================ */

/* ============================
   SHARED
   ============================ */

.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.woocommerce-cart .page-title,
.woocommerce-checkout .page-title {
    display: none;
}

/* ============================
   CART PAGE HEADER
   ============================ */

.academy-cart-header {
    text-align: center;
    padding: 40px 0 8px;
}

.academy-cart-header h2 {
    font-family: 'Tajawal', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.academy-cart-header p {
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.academy-cart-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 28px 0 32px;
    font-family: 'Tajawal', sans-serif;
}

.academy-cart-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    position: relative;
}

.academy-cart-step--active {
    color: #3E8E50;
}

.academy-cart-step--done {
    color: #3E8E50;
}

.academy-cart-step__num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    background: #f1f5f9;
    color: #94a3b8;
    flex-shrink: 0;
}

.academy-cart-step--active .academy-cart-step__num {
    background: #3E8E50;
    color: #fff;
    box-shadow: 0 2px 8px rgba(62,142,80,0.3);
}

.academy-cart-step--done .academy-cart-step__num {
    background: #3E8E50;
    color: #fff;
}

.academy-cart-step__line {
    width: 40px;
    height: 2px;
    background: #e5e7eb;
    flex-shrink: 0;
}

.academy-cart-step--done + .academy-cart-step__line,
.academy-cart-step--active + .academy-cart-step__line {
    background: #3E8E50;
}

/* ============================
   CART TABLE
   ============================ */

.woocommerce-cart table.shop_table {
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
    margin-bottom: 24px !important;
}

.woocommerce-cart table.shop_table thead {
    display: none;
}

.woocommerce-cart table.shop_table tbody tr {
    background: #fff;
    border-radius: 14px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s;
}

.woocommerce-cart table.shop_table tbody tr:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.woocommerce-cart table.shop_table td {
    border: none !important;
    padding: 16px 20px !important;
    vertical-align: middle !important;
    font-family: 'Tajawal', sans-serif;
}

.woocommerce-cart table.shop_table td:first-child {
    border-radius: 0 14px 14px 0;
}

.woocommerce-cart table.shop_table td:last-child {
    border-radius: 14px 0 0 14px;
}

.woocommerce-cart table.shop_table td.product-remove {
    width: 40px;
    text-align: center;
}

.woocommerce-cart table.shop_table td.product-remove a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fef2f2;
    color: #ef4444 !important;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.2s;
}

.woocommerce-cart table.shop_table td.product-remove a:hover {
    background: #ef4444;
    color: #fff !important;
}

.woocommerce-cart table.shop_table td.product-thumbnail {
    width: 80px;
    padding-right: 0 !important;
}

.woocommerce-cart table.shop_table td.product-thumbnail img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.woocommerce-cart table.shop_table td.product-name {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
}

.woocommerce-cart table.shop_table td.product-name a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.woocommerce-cart table.shop_table td.product-name a:hover {
    color: #3E8E50;
}

.woocommerce-cart table.shop_table td.product-price {
    color: #64748b;
    font-size: 14px;
}

.woocommerce-cart table.shop_table td.product-quantity .quantity {
    display: flex;
    align-items: center;
    gap: 0;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    width: fit-content;
}

.woocommerce-cart table.shop_table td.product-quantity .quantity input[type="number"] {
    width: 48px !important;
    height: 38px;
    text-align: center;
    border: none !important;
    background: transparent;
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    -moz-appearance: textfield;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-cart table.shop_table td.product-quantity .quantity input::-webkit-outer-spin-button,
.woocommerce-cart table.shop_table td.product-quantity .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce-cart table.shop_table td.product-subtotal {
    font-weight: 800;
    font-size: 16px;
    color: #3E8E50;
}

.woocommerce-cart table.shop_table td.product-subtotal .woocommerce-Price-amount {
    font-family: 'Tajawal', sans-serif;
}

/* Cart actions row */
.woocommerce-cart table.shop_table td.actions {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 16px 0 !important;
    box-shadow: none !important;
}

.woocommerce-cart table.shop_table tr:has(td.actions) {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.woocommerce-cart .coupon {
    display: flex;
    gap: 8px;
    align-items: center;
}

.woocommerce-cart .coupon label {
    display: none;
}

.woocommerce-cart .coupon input[type="text"] {
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    padding: 10px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    transition: border-color 0.2s;
    width: 200px;
}

.woocommerce-cart .coupon input[type="text"]:focus {
    border-color: #3E8E50;
    outline: none;
    box-shadow: 0 0 0 3px rgba(62,142,80,0.1);
}

.woocommerce-cart .coupon input[type="text"]::placeholder {
    color: #94a3b8;
}

.woocommerce-cart .coupon button,
.woocommerce-cart .coupon input[type="submit"] {
    font-family: 'Tajawal', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
    background: #f8fafc !important;
    color: #3E8E50 !important;
    border: 1.5px solid #3E8E50 !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.2s !important;
}

.woocommerce-cart .coupon button:hover,
.woocommerce-cart .coupon input[type="submit"]:hover {
    background: #3E8E50 !important;
    color: #fff !important;
}

.woocommerce-cart button[name="update_cart"],
.woocommerce-cart input[name="update_cart"] {
    font-family: 'Tajawal', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.2s !important;
}

.woocommerce-cart button[name="update_cart"]:hover,
.woocommerce-cart input[name="update_cart"]:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* ============================
   CART TOTALS
   ============================ */

.woocommerce-cart .cart_totals {
    float: none !important;
    width: 100% !important;
    max-width: 480px;
    margin: 0 auto !important;
}

.woocommerce-cart .cart_totals > h2 {
    font-family: 'Tajawal', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    text-align: center;
}

.woocommerce-cart .cart_totals table.shop_table {
    background: #fff;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    overflow: hidden;
    border-spacing: 0 !important;
    margin-bottom: 0 !important;
}

.woocommerce-cart .cart_totals table.shop_table tr {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.woocommerce-cart .cart_totals table.shop_table th {
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    padding: 16px 20px !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: right;
    background: #fafbfc;
}

.woocommerce-cart .cart_totals table.shop_table td {
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    padding: 16px 20px !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.woocommerce-cart .cart_totals table.shop_table tr:last-child th,
.woocommerce-cart .cart_totals table.shop_table tr:last-child td {
    border-bottom: none !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
    font-size: 22px;
    font-weight: 800;
    color: #3E8E50;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total td .woocommerce-Price-amount {
    font-family: 'Tajawal', sans-serif;
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
    padding: 16px 0 0 !important;
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button {
    display: block;
    font-family: 'Tajawal', sans-serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #3E8E50, #2E7A3E) !important;
    padding: 16px 32px !important;
    border-radius: 14px !important;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s !important;
    box-shadow: 0 4px 14px rgba(62,142,80,0.3);
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(62,142,80,0.4);
}

/* ============================
   CART CONTINUE SHOPPING
   ============================ */

.academy-cart-continue {
    text-align: center;
    margin-top: 20px;
}

.academy-cart-continue a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.2s;
}

.academy-cart-continue a:hover {
    color: #3E8E50;
    background: #E8F5E9;
}

/* ============================
   EMPTY CART
   ============================ */

.academy-empty-cart {
    text-align: center;
    padding: 80px 20px;
    font-family: 'Tajawal', sans-serif;
}

/* ============================
   CHECKOUT PAGE
   ============================ */

.academy-checkout-header {
    text-align: center;
    padding: 40px 0 8px;
}

.academy-checkout-header h2 {
    font-family: 'Tajawal', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.academy-checkout-header p {
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

/* Trust badges */
.academy-checkout-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 24px;
    background: #E8F5E9;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    margin-bottom: 28px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #3E8E50;
}

/* Checkout form */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
    font-family: 'Tajawal', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.woocommerce-checkout .form-row {
    margin-bottom: 16px !important;
}

.woocommerce-checkout .form-row label {
    font-family: 'Tajawal', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.woocommerce-checkout .form-row .required {
    color: #ef4444;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container--default .select2-selection--single {
    font-family: 'Tajawal', sans-serif !important;
    font-size: 15px !important;
    padding: 12px 16px !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #0f172a !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: auto !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: #3E8E50 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(62,142,80,0.1) !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: 'Tajawal', sans-serif !important;
    font-size: 15px !important;
    color: #0f172a !important;
    padding: 0 !important;
    line-height: normal !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
}

/* Order review table */
.woocommerce-checkout-review-order-table {
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border-collapse: collapse !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout-review-order-table thead {
    background: #f8fafc;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    font-family: 'Tajawal', sans-serif !important;
    padding: 14px 18px !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.woocommerce-checkout-review-order-table th {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-align: right !important;
}

.woocommerce-checkout-review-order-table td {
    font-size: 14px !important;
    color: #0f172a !important;
}

.woocommerce-checkout-review-order-table td.product-name {
    font-weight: 600 !important;
}

.woocommerce-checkout-review-order-table tfoot tr:last-child th,
.woocommerce-checkout-review-order-table tfoot tr:last-child td {
    font-size: 18px !important;
    font-weight: 800 !important;
    border-bottom: none !important;
    padding-top: 18px !important;
}

.woocommerce-checkout-review-order-table tfoot tr:last-child td {
    color: #3E8E50 !important;
}

/* Payment methods */
.woocommerce-checkout #payment {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 24px !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px !important;
    border: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 14px 16px !important;
    margin-bottom: 8px !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 12px !important;
    background: #fff !important;
    transition: border-color 0.2s, background 0.2s;
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
    margin-bottom: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods li:hover {
    border-color: #A5D6A7 !important;
    background: #f8fbff !important;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-family: 'Tajawal', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.woocommerce-checkout #payment ul.payment_methods li img {
    max-height: 28px;
    margin-right: 4px;
}

.woocommerce-checkout #payment ul.payment_methods li .payment_box {
    font-family: 'Tajawal', sans-serif !important;
    font-size: 13px !important;
    color: #64748b !important;
    background: #f8fafc !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    margin-top: 12px !important;
    line-height: 1.7 !important;
}

.woocommerce-checkout #payment .payment_box::before {
    display: none !important;
}

/* Checkout note */
.academy-checkout-note {
    background: #E8F5E9;
    border: 1px solid #A5D6A7;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
}

.academy-checkout-note p {
    font-family: 'Tajawal', sans-serif;
    font-size: 13px;
    color: #2E7A3E;
    margin: 0;
    line-height: 1.6;
}

/* Place order button */
.woocommerce-checkout #place_order {
    font-family: 'Tajawal', sans-serif !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #3E8E50, #2E7A3E) !important;
    padding: 18px 32px !important;
    border: none !important;
    border-radius: 14px !important;
    width: 100% !important;
    cursor: pointer;
    transition: all 0.25s !important;
    box-shadow: 0 4px 14px rgba(62,142,80,0.3);
    letter-spacing: 0.5px;
}

.woocommerce-checkout #place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(62,142,80,0.4);
}

/* Terms */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 16px !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label {
    font-family: 'Tajawal', sans-serif !important;
    font-size: 13px !important;
    color: #64748b !important;
}

/* Login/Coupon toggles */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    font-family: 'Tajawal', sans-serif;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 18px;
    color: #334155;
    font-size: 14px;
    border-top: none;
    margin-bottom: 16px;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
    color: #3E8E50;
    font-weight: 700;
}

.woocommerce-checkout .woocommerce-form-login,
.woocommerce-checkout .woocommerce-form-coupon {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
}

/* ============================
   THANK YOU PAGE
   ============================ */

.woocommerce-order-received .woocommerce-thankyou-order-received {
    font-family: 'Tajawal', sans-serif !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #3E8E50 !important;
    text-align: center;
    padding: 24px;
    background: #E8F5E9;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    margin-bottom: 24px;
}

.woocommerce-order-received .woocommerce-order-overview {
    list-style: none !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 28px !important;
}

.woocommerce-order-received .woocommerce-order-overview li {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    font-family: 'Tajawal', sans-serif;
}

.woocommerce-order-received .woocommerce-order-overview li strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 6px;
}

.woocommerce-order-received table.shop_table {
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border-collapse: collapse !important;
}

.woocommerce-order-received table.shop_table th,
.woocommerce-order-received table.shop_table td {
    font-family: 'Tajawal', sans-serif !important;
    padding: 14px 18px !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.woocommerce-order-received table.shop_table thead {
    background: #f8fafc;
}

.woocommerce-order-received h2 {
    font-family: 'Tajawal', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

/* Academy WhatsApp box on thank you */
.academy-thankyou-wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 16px;
    padding: 28px 32px;
    text-align: center;
    margin: 24px 0;
    color: #fff;
    font-family: 'Tajawal', sans-serif;
}

.academy-thankyou-wa p {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
}

.academy-thankyou-wa a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #128C7E;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.academy-thankyou-wa a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    color: #128C7E;
}

/* ============================
   NOTICES
   ============================ */

.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-info,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-info {
    font-family: 'Tajawal', sans-serif !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    font-size: 14px !important;
    border-top: none !important;
    margin-bottom: 16px !important;
}

.woocommerce-cart .woocommerce-message,
.woocommerce-checkout .woocommerce-message {
    background: #E8F5E9 !important;
    border: 1px solid #bbf7d0 !important;
    color: #3E8E50 !important;
}

.woocommerce-cart .woocommerce-error,
.woocommerce-checkout .woocommerce-error {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
}

.woocommerce-cart .woocommerce-message a.button,
.woocommerce-checkout .woocommerce-message a.button {
    font-family: 'Tajawal', sans-serif !important;
    font-weight: 700 !important;
    background: #3E8E50 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 768px) {
    .academy-cart-header h2,
    .academy-checkout-header h2 {
        font-size: 22px;
    }

    .academy-cart-steps {
        flex-wrap: wrap;
        gap: 4px;
    }

    .academy-cart-step {
        padding: 8px 12px;
        font-size: 12px;
    }

    .academy-cart-step__num {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .academy-cart-step__line {
        width: 24px;
    }

    .woocommerce-cart table.shop_table td.product-thumbnail {
        display: none;
    }

    .woocommerce-cart table.shop_table td {
        padding: 10px 12px !important;
        font-size: 14px;
    }

    .woocommerce-cart table.shop_table td.product-name {
        font-size: 14px;
    }

    .woocommerce-cart table.shop_table td.product-remove a {
        width: 44px;
        height: 44px;
    }

    .woocommerce-cart .coupon {
        flex-direction: column;
    }

    .woocommerce-cart .coupon input[type="text"] {
        width: 100%;
        font-size: 16px !important;
        min-height: 48px;
    }

    .woocommerce-cart .coupon button,
    .woocommerce-cart .coupon input[type="submit"] {
        width: 100%;
        min-height: 48px;
    }

    .woocommerce-cart button[name="update_cart"],
    .woocommerce-cart input[name="update_cart"] {
        width: 100%;
        min-height: 48px;
    }

    .woocommerce-cart .cart_totals {
        max-width: 100%;
    }

    .woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button {
        min-height: 52px;
        font-size: 16px !important;
    }

    .woocommerce-checkout .form-row input.input-text,
    .woocommerce-checkout .form-row textarea,
    .woocommerce-checkout .form-row select {
        font-size: 16px !important;
        min-height: 48px;
    }

    .woocommerce-checkout .select2-container--default .select2-selection--single {
        min-height: 48px !important;
    }

    .woocommerce-checkout .form-row {
        float: none !important;
        width: 100% !important;
    }

    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        float: none !important;
        width: 100% !important;
    }

    .woocommerce-checkout #place_order {
        min-height: 56px;
        font-size: 17px !important;
    }

    .woocommerce-checkout #payment ul.payment_methods li {
        min-height: 48px;
    }

    .woocommerce-checkout #payment ul.payment_methods li label {
        min-height: 44px;
    }

    .academy-checkout-trust {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .trust-item {
        font-size: 13px;
    }

    .woocommerce-order-received .woocommerce-order-overview {
        grid-template-columns: 1fr 1fr;
    }

    .academy-thankyou-wa {
        padding: 20px;
    }

    .academy-thankyou-wa p {
        font-size: 16px;
    }

    .academy-thankyou-wa a {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .woocommerce-order-received .woocommerce-order-overview {
        grid-template-columns: 1fr;
    }

    .academy-cart-header h2,
    .academy-checkout-header h2 {
        font-size: 20px;
    }

    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    .woocommerce-checkout #payment {
        padding: 16px !important;
    }

    .academy-thankyou-wa a {
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-width: 360px) {
    .academy-cart-header h2,
    .academy-checkout-header h2 {
        font-size: 18px;
    }
    .woocommerce-checkout #place_order {
        font-size: 15px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button,
    .woocommerce-checkout #place_order,
    .academy-thankyou-wa a,
    .woocommerce-cart table.shop_table tbody tr {
        transition: none !important;
    }
    .woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button:hover,
    .woocommerce-checkout #place_order:hover,
    .academy-thankyou-wa a:hover {
        transform: none !important;
    }
}
