/* ==========================================================================
   TUO WooCommerce skin — Cart, Checkout, My Account, Order received
   Loaded only on Woo pages. body.tuo-woo raises specificity above Elementor
   Pro widget styles (Cart / Checkout / My Account widgets) and Hello theme.
   ========================================================================== */
body.tuo-woo{
  --tw-blue:#0F74BB;--tw-navy:#0B3557;--tw-yellow:#FCCD08;--tw-yellow-d:#D9AE00;--tw-green:#4DAA3F;--tw-coral:#EF5B3C;
  --tw-cream:#FFF8E8;--tw-mist:#EAF4FB;--tw-ink:#3C4A5C;--tw-muted:#6B7A8C;--tw-line:#E3E9F0;--tw-field:#FBFCFE;
  --tw-display:"Fredoka","Baloo 2","Trebuchet MS",sans-serif;--tw-body:"Nunito","Segoe UI",sans-serif;
  --tw-shadow:0 22px 50px rgba(11,53,87,.10);
}
body.tuo-woo .woocommerce{font-family:var(--tw-body);color:var(--tw-ink)}
body.tuo-woo .woocommerce h2,body.tuo-woo .woocommerce h3,body.tuo-woo #order_review_heading,
body.tuo-woo .e-checkout-secondary-title,body.tuo-woo .woocommerce-column__title{font-family:var(--tw-display);color:var(--tw-navy);font-weight:600;font-size:1.45rem;margin:0 0 14px}

/* ---------- buttons ---------- */
body.tuo-woo .woocommerce a.button{text-decoration:none}
body.tuo-woo .woocommerce a.button,body.tuo-woo .woocommerce button.button,body.tuo-woo .woocommerce input.button,
body.tuo-woo .woocommerce #respond input#submit,body.tuo-woo .wc-block-components-button:not(.is-link),
body.tuo-woo .e-cart-section .button,body.tuo-woo .elementor-button{
  font-family:var(--tw-display);font-weight:600;font-size:1rem;line-height:1.2;border-radius:999px;padding:13px 26px;
  background:#fff;color:var(--tw-navy);border:2px solid var(--tw-navy);box-shadow:none;transition:transform .15s,background .15s,color .15s;text-transform:none;letter-spacing:0}
body.tuo-woo .woocommerce a.button:hover,body.tuo-woo .woocommerce button.button:hover,body.tuo-woo .woocommerce input.button:hover{background:var(--tw-navy);color:#fff;transform:translateY(-2px)}
body.tuo-woo .woocommerce a.button.alt,body.tuo-woo .woocommerce button.button.alt,body.tuo-woo .woocommerce input.button.alt,
body.tuo-woo .woocommerce a.checkout-button,body.tuo-woo .woocommerce #place_order,
body.tuo-woo .wc-block-components-checkout-place-order-button,body.tuo-woo .wc-block-cart__submit-button{
  background:var(--tw-yellow)!important;color:var(--tw-navy)!important;border:0!important;box-shadow:0 6px 0 var(--tw-yellow-d)!important;font-size:1.08rem;padding:16px 30px}
body.tuo-woo .woocommerce a.button.alt:hover,body.tuo-woo .woocommerce button.button.alt:hover,body.tuo-woo .woocommerce #place_order:hover,body.tuo-woo .woocommerce a.checkout-button:hover{
  background:var(--tw-yellow)!important;color:var(--tw-navy)!important;transform:translateY(-2px);box-shadow:0 8px 0 var(--tw-yellow-d)!important}
body.tuo-woo .woocommerce #place_order,body.tuo-woo .woocommerce a.checkout-button{width:100%;display:block;text-align:center}
body.tuo-woo .woocommerce button.button:disabled,body.tuo-woo .woocommerce button.button:disabled[disabled]{opacity:.5;padding:13px 26px}
body.tuo-woo .woocommerce :is(a,button,input).button:focus-visible{outline:3px solid var(--tw-navy);outline-offset:3px}

/* ---------- form fields ---------- */
body.tuo-woo .woocommerce form .form-row label,body.tuo-woo .woocommerce-form label,body.tuo-woo .woocommerce-EditAccountForm label{font-weight:800;color:var(--tw-navy);font-size:.92rem;margin-bottom:6px;line-height:1.4}
body.tuo-woo .woocommerce form .form-row .required{color:var(--tw-coral);text-decoration:none}
body.tuo-woo .woocommerce input.input-text,body.tuo-woo .woocommerce textarea,body.tuo-woo .woocommerce select,
body.tuo-woo .woocommerce form .form-row input.input-text,body.tuo-woo .woocommerce form .form-row textarea,
body.tuo-woo .select2-container .select2-selection--single,body.tuo-woo .woocommerce .quantity .qty,
body.tuo-woo .wc-block-components-text-input input,body.tuo-woo .wc-block-components-combobox .components-combobox-control__input{
  font-family:var(--tw-body);font-size:1rem;color:var(--tw-ink);background:var(--tw-field);border:2px solid var(--tw-line)!important;border-radius:14px!important;padding:12px 14px;min-height:50px;box-shadow:none;width:100%}
body.tuo-woo .select2-container .select2-selection--single{height:50px;display:flex;align-items:center}
body.tuo-woo .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px;right:8px}
body.tuo-woo .woocommerce input.input-text:focus,body.tuo-woo .woocommerce textarea:focus,body.tuo-woo .woocommerce select:focus,
body.tuo-woo .select2-container--focus .select2-selection--single,body.tuo-woo .wc-block-components-text-input input:focus{border-color:var(--tw-blue)!important;background:#fff;outline:none}
body.tuo-woo .woocommerce form .form-row{margin:0 0 16px;padding:0}
body.tuo-woo .woocommerce form .form-row.woocommerce-invalid input.input-text{border-color:var(--tw-coral)!important}
body.tuo-woo .woocommerce input[type=checkbox],body.tuo-woo .woocommerce input[type=radio]{accent-color:var(--tw-blue);width:18px;height:18px}
body.tuo-woo .select2-dropdown{border:2px solid var(--tw-line);border-radius:14px;overflow:hidden}
body.tuo-woo .select2-container--default .select2-results__option--highlighted[aria-selected]{background:var(--tw-blue)}

/* ---------- notices ---------- */
body.tuo-woo .woocommerce-message,body.tuo-woo .woocommerce-info,body.tuo-woo .woocommerce-error,body.tuo-woo .woocommerce-notices-wrapper>*{
  border:0;border-radius:18px;padding:16px 20px 16px 54px;font-weight:600;color:var(--tw-navy);background:var(--tw-mist);box-shadow:none;margin:0 0 22px;list-style:none}
body.tuo-woo .woocommerce-message{background:#E1F3DC}
body.tuo-woo .woocommerce-info{background:#FFF2BF}
body.tuo-woo .woocommerce-error{background:#FDE3DC}
body.tuo-woo .woocommerce-message::before{color:var(--tw-green)}
body.tuo-woo .woocommerce-info::before{color:#8A6A00}
body.tuo-woo .woocommerce-error::before{color:var(--tw-coral)}
body.tuo-woo .woocommerce-message::before,body.tuo-woo .woocommerce-info::before,body.tuo-woo .woocommerce-error::before{top:16px;left:20px}
body.tuo-woo .woocommerce-message .button,body.tuo-woo .woocommerce-info .button{padding:8px 16px;font-size:.9rem}
body.tuo-woo .woocommerce-info a{color:var(--tw-blue);font-weight:800}

/* ---------- cards (shared) ---------- */
body.tuo-woo .woocommerce-cart-form,body.tuo-woo .cart_totals,body.tuo-woo .e-cart-totals,
body.tuo-woo .woocommerce-checkout .col2-set,body.tuo-woo .e-checkout__column-start>div,
body.tuo-woo #order_review,body.tuo-woo .e-checkout__order_review,
body.tuo-woo .woocommerce-MyAccount-content,body.tuo-woo .woocommerce-form-login,body.tuo-woo .woocommerce-form-register,
body.tuo-woo .woocommerce-order,body.tuo-woo .wc-block-cart__main,body.tuo-woo .wc-block-cart__sidebar,body.tuo-woo .wc-block-checkout__main,body.tuo-woo .wc-block-checkout__sidebar{
  background:#fff;border-radius:28px;padding:30px;box-shadow:var(--tw-shadow);border:0}
body.tuo-woo .woocommerce-form-login,body.tuo-woo .woocommerce-form-register{margin:0}

/* ---------- tables ---------- */
body.tuo-woo .woocommerce table.shop_table{border:0;border-radius:0;margin:0;border-collapse:collapse;width:100%}
body.tuo-woo .woocommerce table.shop_table th{font-family:var(--tw-display);font-weight:600;color:var(--tw-navy);font-size:.95rem;border:0;padding:12px 10px;background:transparent}
body.tuo-woo .woocommerce table.shop_table thead th{border-bottom:2px solid var(--tw-line);color:var(--tw-muted);font-size:.85rem;letter-spacing:.06em;text-transform:uppercase}
body.tuo-woo .woocommerce table.shop_table td{border:0;border-top:1px solid var(--tw-line);padding:16px 10px;vertical-align:middle;background:transparent}
body.tuo-woo .woocommerce table.shop_table tbody tr:first-child td{border-top:0}
body.tuo-woo .woocommerce table.shop_table td.product-name a{color:var(--tw-navy);font-family:var(--tw-display);font-weight:600;font-size:1.08rem;text-decoration:none}
body.tuo-woo .woocommerce table.shop_table td.product-name dl.variation{margin:6px 0 0;color:var(--tw-muted);font-size:.9rem}
body.tuo-woo .woocommerce table.shop_table td.product-name dl.variation dt{font-weight:800}
body.tuo-woo .woocommerce table.shop_table td.product-thumbnail img{width:72px;height:72px;object-fit:cover;border-radius:42% 58% 50% 50% / 50% 46% 54% 50%}
body.tuo-woo .woocommerce table.shop_table .amount{font-weight:800;color:var(--tw-navy);font-variant-numeric:tabular-nums}
body.tuo-woo .woocommerce table.shop_table .order-total th,body.tuo-woo .woocommerce table.shop_table .order-total td{border-top:2px dashed var(--tw-line);padding-top:18px}
body.tuo-woo .woocommerce table.shop_table .order-total .amount{font-family:var(--tw-display);font-size:1.6rem;color:var(--tw-blue)}
body.tuo-woo .woocommerce a.remove{color:var(--tw-coral)!important;border:2px solid #F9C1B2;width:28px;height:28px;line-height:24px;font-size:1.2rem}
body.tuo-woo .woocommerce a.remove:hover{background:var(--tw-coral);color:#fff!important}
body.tuo-woo .woocommerce .quantity .qty{width:76px;text-align:center;min-height:44px;padding:8px}
body.tuo-woo .tuo-qty-donation{display:inline-block;background:#FFF2BF;color:#8A6A00;border-radius:999px;padding:4px 12px;font-weight:800;font-size:.82rem}

/* cart specifics */
body.tuo-woo .woocommerce-cart .cart-collaterals,body.tuo-woo .woocommerce .cart-collaterals{margin-top:28px}
body.tuo-woo .woocommerce .cart-collaterals .cart_totals{float:none;width:100%;max-width:460px;margin-left:auto}
body.tuo-woo .woocommerce table.cart td.actions{padding-top:22px}
body.tuo-woo .woocommerce table.cart td.actions .coupon{display:flex;gap:10px;flex-wrap:wrap}
body.tuo-woo .woocommerce table.cart td.actions .coupon .input-text{width:200px;min-height:48px}
body.tuo-woo .cart-empty.woocommerce-info{font-size:1.1rem}
body.tuo-woo .return-to-shop .button{background:var(--tw-yellow);border:0;box-shadow:0 6px 0 var(--tw-yellow-d)}
@media (max-width:768px){
  body.tuo-woo .woocommerce table.shop_table_responsive tr td{padding:10px 0}
  body.tuo-woo .woocommerce table.shop_table_responsive tr{display:block;border-top:1px solid var(--tw-line);padding:10px 0}
  body.tuo-woo .woocommerce-cart-form,body.tuo-woo .cart_totals,body.tuo-woo #order_review,body.tuo-woo .woocommerce-checkout .col2-set,body.tuo-woo .woocommerce-MyAccount-content{padding:20px;border-radius:22px}
}

/* checkout specifics */
body.tuo-woo form.checkout:not(:has(.e-checkout__container)){display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr);gap:28px;align-items:start}
body.tuo-woo form.checkout:not(:has(.e-checkout__container))>.woocommerce-NoticeGroup{grid-column:1/-1}
body.tuo-woo form.checkout:not(:has(.e-checkout__container)) .col2-set{grid-column:1;grid-row:span 3;width:100%;float:none}
body.tuo-woo form.checkout .col2-set .col-1,body.tuo-woo form.checkout .col2-set .col-2{float:none;width:100%;max-width:none}
body.tuo-woo form.checkout:not(:has(.e-checkout__container)) #order_review_heading{grid-column:2;margin:0;padding:24px 30px 0;background:#fff;border-radius:28px 28px 0 0}
body.tuo-woo form.checkout:not(:has(.e-checkout__container)) #order_review{grid-column:2;border-radius:0 0 28px 28px;padding-top:12px;position:sticky;top:110px}
@media (max-width:900px){body.tuo-woo form.checkout:not(:has(.e-checkout__container)){grid-template-columns:1fr}body.tuo-woo form.checkout #order_review_heading,body.tuo-woo form.checkout #order_review{grid-column:1;position:static}}
body.tuo-woo .woocommerce-checkout #payment{background:var(--tw-mist);border-radius:20px;margin-top:20px}
body.tuo-woo .woocommerce-checkout #payment ul.payment_methods{border:0;padding:18px 20px}
body.tuo-woo .woocommerce-checkout #payment ul.payment_methods li{font-weight:700;color:var(--tw-navy);padding:6px 0}
body.tuo-woo .woocommerce-checkout #payment div.payment_box{background:#fff;border-radius:14px;color:var(--tw-ink)}
body.tuo-woo .woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#fff}
body.tuo-woo .woocommerce-checkout #payment div.form-row{padding:0 20px 20px}
body.tuo-woo .woocommerce-terms-and-conditions-wrapper{font-size:.9rem;color:var(--tw-muted)}
body.tuo-woo .woocommerce-form-coupon-toggle .woocommerce-info{background:var(--tw-cream)}
body.tuo-woo .woocommerce form.checkout_coupon{border:2px dashed var(--tw-line);border-radius:20px;padding:20px}

/* thank-you / order received */
body.tuo-woo .woocommerce-order .woocommerce-thankyou-order-received{font-family:var(--tw-display);font-size:1.6rem;color:var(--tw-navy);font-weight:600;background:#E1F3DC;border-radius:20px;padding:20px 24px}
body.tuo-woo ul.woocommerce-order-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;padding:0;margin:22px 0}
body.tuo-woo ul.woocommerce-order-overview li{border:0!important;margin:0!important;background:var(--tw-mist);border-radius:16px;padding:14px 16px;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--tw-muted);font-weight:800}
body.tuo-woo ul.woocommerce-order-overview li strong{display:block;font-size:1rem;text-transform:none;letter-spacing:0;color:var(--tw-navy);margin-top:4px}

/* ---------- My Account ---------- */

/* Account layout: the element that directly holds the menu becomes a two-column flex row.
   Works with the [woocommerce_my_account] shortcode and the Elementor Pro My Account widget. */
body.tuo-woo :is(.woocommerce,.e-my-account-tab .woocommerce):has(>.woocommerce-MyAccount-navigation){display:flex!important;flex-wrap:wrap;gap:28px;align-items:flex-start;width:100%}
body.tuo-woo .woocommerce:has(>.woocommerce-MyAccount-navigation)>*{order:3;flex:1 1 100%}
body.tuo-woo .woocommerce:has(>.woocommerce-MyAccount-navigation)>.woocommerce-notices-wrapper{order:1;flex:1 1 100%}
body.tuo-woo .woocommerce:has(>.woocommerce-MyAccount-navigation)>.woocommerce-MyAccount-navigation{order:2;flex:0 0 260px!important;width:260px!important;max-width:260px!important;float:none!important;margin:0!important}
body.tuo-woo .woocommerce:has(>.woocommerce-MyAccount-navigation)>:is(.woocommerce-MyAccount-content,.woocommerce-MyAccount-content-wrapper){order:3;flex:1 1 0!important;min-width:0;width:auto!important;max-width:none!important;float:none!important;margin:0!important}
/* Elementor's content wrapper: no extra frame, the inner content is the card */
body.tuo-woo .woocommerce-MyAccount-content-wrapper{border:0!important;padding:0!important;background:none!important;box-shadow:none!important;border-radius:0!important}
body.tuo-woo .woocommerce-MyAccount-content-wrapper>.woocommerce-MyAccount-content{width:100%!important}
/* Override Elementor tab styling on the menu */
body.tuo-woo .woocommerce-MyAccount-navigation ul li,body.tuo-woo .woocommerce-MyAccount-navigation ul li.is-active{background:none!important;border:0!important;box-shadow:none!important}
body.tuo-woo .woocommerce-MyAccount-navigation ul li a{background:transparent!important;border:0!important;box-shadow:none!important;color:#C9DCEC!important;font-size:1rem!important}
body.tuo-woo .woocommerce-MyAccount-navigation ul li a:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
body.tuo-woo .woocommerce-MyAccount-navigation ul li.is-active a{background:var(--tw-yellow)!important;color:var(--tw-navy)!important}
body.tuo-woo .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a{color:#F9C1B2!important}
@media (max-width:860px){
  body.tuo-woo .woocommerce:has(>.woocommerce-MyAccount-navigation)>.woocommerce-MyAccount-navigation{flex:1 1 100%!important;width:100%!important;max-width:none!important;position:static}
  body.tuo-woo .woocommerce:has(>.woocommerce-MyAccount-navigation)>:is(.woocommerce-MyAccount-content,.woocommerce-MyAccount-content-wrapper){flex:1 1 100%!important}
  body.tuo-woo .woocommerce-MyAccount-navigation ul{flex-direction:row!important;flex-wrap:wrap}
}
body.tuo-woo .woocommerce-MyAccount-navigation{background:var(--tw-navy)!important;border-radius:28px!important;padding:16px!important;position:static!important;border:0!important}
body.tuo-woo .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
body.tuo-woo .woocommerce-MyAccount-navigation ul li{margin:0;padding:0;border:0}
body.tuo-woo .woocommerce-MyAccount-navigation ul li a{display:block;padding:11px 16px;border-radius:14px;color:#C9DCEC;font-family:var(--tw-display);font-weight:600;text-decoration:none}
body.tuo-woo .woocommerce-MyAccount-navigation ul li a:hover{background:rgba(255,255,255,.08);color:#fff}
body.tuo-woo .woocommerce-MyAccount-navigation ul li.is-active a{background:var(--tw-yellow);color:var(--tw-navy)}
body.tuo-woo .woocommerce-MyAccount-navigation-link--customer-logout a{color:#F9C1B2}
body.tuo-woo .woocommerce-MyAccount-content p{line-height:1.7}
body.tuo-woo .woocommerce-MyAccount-content a:not(.button){color:var(--tw-blue);font-weight:700}
body.tuo-woo .woocommerce-orders-table .woocommerce-orders-table__cell-order-status{font-weight:800}
body.tuo-woo .woocommerce-orders-table .button{padding:8px 16px;font-size:.88rem;margin:2px}
body.tuo-woo .woocommerce-Addresses{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
body.tuo-woo .woocommerce-Addresses .woocommerce-Address{float:none;width:auto;background:var(--tw-mist);border-radius:20px;padding:20px}
body.tuo-woo .woocommerce-Address-title{display:flex;justify-content:space-between;align-items:center}
body.tuo-woo .woocommerce-Address-title h2{font-size:1.15rem;margin:0}
body.tuo-woo fieldset{border:2px solid var(--tw-line);border-radius:20px;padding:18px 20px;margin:20px 0}
body.tuo-woo fieldset legend{font-family:var(--tw-display);color:var(--tw-navy);font-weight:600;padding:0 8px}
body.tuo-woo .u-columns.col2-set{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:28px}
body.tuo-woo .u-columns.col2-set .u-column1,body.tuo-woo .u-columns.col2-set .u-column2{float:none;width:auto}

/* giving summary on the dashboard */
.tuo-giving{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:0 0 24px}
.tuo-giving>div{border-radius:20px;padding:18px 20px;background:#EAF4FB}
.tuo-giving>div:nth-child(2){background:#FFF2BF}
.tuo-giving>div:nth-child(3){background:#E1F3DC}
.tuo-giving small{display:block;font-weight:800;color:#6B7A8C;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase}
.tuo-giving b{font-family:"Fredoka",sans-serif;font-size:1.7rem;color:#0B3557;font-weight:700;font-variant-numeric:tabular-nums}

/* ---------- block cart / checkout (if switched to blocks later) ---------- */
body.tuo-woo .wc-block-components-title,body.tuo-woo .wc-block-components-checkout-step__title{font-family:var(--tw-display);color:var(--tw-navy);font-weight:600}
body.tuo-woo .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-family:var(--tw-display);color:var(--tw-blue);font-size:1.5rem}
body.tuo-woo .wc-block-components-radio-control__option{border-radius:14px}
body.tuo-woo .wc-block-components-product-name{color:var(--tw-navy);font-weight:700}

/* step pills */
.tuo-steps{display:flex;gap:10px;flex-wrap:wrap;list-style:none;margin:0 0 26px;padding:0}
.tuo-steps li{display:inline-flex;align-items:center;gap:8px;font-family:"Fredoka",sans-serif;font-weight:600;color:#6B7A8C;background:#fff;border:2px solid #E3E9F0;border-radius:999px;padding:6px 16px;margin:0}
.tuo-steps li b{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#E3E9F0;color:#0B3557;font-size:.85rem}
.tuo-steps li.on{border-color:#0F74BB;color:#0B3557}.tuo-steps li.on b{background:#0F74BB;color:#fff}
.tuo-steps li.done b{background:#4DAA3F;color:#fff}

/* dashboard: giving tiles sit between the greeting and the links text, button below */
body.tuo-woo .woocommerce-MyAccount-content .tuo-giving{margin:22px 0}
body.tuo-woo .woocommerce-MyAccount-content>p:last-child{margin-bottom:0}

/* Simple checkout: details card is a single column, no empty shipping column */
body.tuo-woo form.checkout .col2-set .col-2:empty,body.tuo-woo .woocommerce-shipping-fields:empty,body.tuo-woo .woocommerce-additional-fields:empty{display:none}
body.tuo-woo form.checkout .woocommerce-billing-fields>h3{margin-bottom:18px}
