/* ============================================================
   DearIrean — Cart · My Account · Login/Register · Order Pay
   Premium brand-matched restyle (same language as checkout-premium.css
   and thank-you-page.css). Warm ivory · espresso ink · champagne gold.
   High-specificity (body.woocommerce-cart / .woocommerce-account / .woocommerce-order-pay)
   so it beats the theme's global + account-portal defaults.
   ============================================================ */

/* ---------- Shared: page canvas ---------- */
body.woocommerce-cart,
body.woocommerce-account,
body.woocommerce-order-pay{
  background:var(--ivory,#FAF6F0) !important;
}
body.woocommerce-cart .woocommerce,
body.woocommerce-account .woocommerce,
body.woocommerce-order-pay .woocommerce{
  max-width:1040px;
  margin:0 auto !important;
  padding:3.5rem 1.5rem 6rem;
}

/* ---------- Shared: form fields (mirror checkout-premium) ---------- */
body.woocommerce-cart .form-row,
body.woocommerce-account .form-row,
body.woocommerce-order-pay .form-row{
  margin-bottom:1.2rem;
}
body.woocommerce-cart .form-row label,
body.woocommerce-account .form-row label,
body.woocommerce-order-pay .form-row label{
  display:block;
  font-size:.7rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted,#8C7C6B);
  margin-bottom:.4rem;
  font-weight:500;
}
body.woocommerce-cart .form-row .required,
body.woocommerce-account .form-row .required,
body.woocommerce-order-pay .form-row .required{
  color:var(--rose,#C98B7E);
  text-decoration:none;
}
body.woocommerce-cart input[type="text"],
body.woocommerce-cart input[type="email"],
body.woocommerce-cart input[type="tel"],
body.woocommerce-cart input[type="password"],
body.woocommerce-cart input[type="number"],
body.woocommerce-cart select,
body.woocommerce-cart textarea,
body.woocommerce-account input[type="text"],
body.woocommerce-account input[type="email"],
body.woocommerce-account input[type="tel"],
body.woocommerce-account input[type="password"],
body.woocommerce-account input[type="number"],
body.woocommerce-account select,
body.woocommerce-account textarea,
body.woocommerce-order-pay input[type="text"],
body.woocommerce-order-pay input[type="email"],
body.woocommerce-order-pay input[type="tel"],
body.woocommerce-order-pay input[type="password"],
body.woocommerce-order-pay select,
body.woocommerce-order-pay textarea{
  background:var(--ivory-2,#F3EBDF) !important;
  border:1px solid var(--line,#E7DECF) !important;
  border-radius:4px !important;
  color:var(--espresso,#1B1611) !important;
  font-family:var(--sans,'Jost','Helvetica Neue',Arial,sans-serif) !important;
  font-size:.94rem !important;
  height:52px !important;
  padding:0 1rem !important;
  width:100% !important;
  box-shadow:none !important;
  transition:border-color .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease) !important;
}
body.woocommerce-cart textarea,
body.woocommerce-account textarea,
body.woocommerce-order-pay textarea{
  height:auto !important;
  min-height:110px !important;
  padding:.85rem 1rem !important;
  resize:vertical !important;
}
body.woocommerce-cart input:focus,
body.woocommerce-cart select:focus,
body.woocommerce-cart textarea:focus,
body.woocommerce-account input:focus,
body.woocommerce-account select:focus,
body.woocommerce-account textarea:focus,
body.woocommerce-order-pay input:focus,
body.woocommerce-order-pay select:focus,
body.woocommerce-order-pay textarea:focus{
  outline:0 !important;
  border-color:var(--gold,#B0894F) !important;
  box-shadow:0 0 0 1px var(--gold,#B0894F) !important;
  background:var(--ivory,#FAF6F0) !important;
}
body.woocommerce-cart select,
body.woocommerce-account select,
body.woocommerce-order-pay select{
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B0894F' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-position:right 1rem center !important;
  padding-right:2.6rem !important;
  cursor:pointer !important;
}
body.woocommerce-cart input[type="radio"],
body.woocommerce-cart input[type="checkbox"],
body.woocommerce-account input[type="radio"],
body.woocommerce-account input[type="checkbox"],
body.woocommerce-order-pay input[type="radio"],
body.woocommerce-order-pay input[type="checkbox"]{
  accent-color:var(--gold,#B0894F) !important;
  width:18px !important;
  height:18px !important;
  cursor:pointer !important;
}

/* ---------- Shared: buttons ---------- */
body.woocommerce-cart .button,
body.woocommerce-cart .woocommerce-button,
body.woocommerce-cart .woocommerce-Button,
body.woocommerce-account .button,
body.woocommerce-account .woocommerce-button,
body.woocommerce-account .woocommerce-Button,
body.woocommerce-order-pay .button,
body.woocommerce-order-pay .woocommerce-button,
body.woocommerce-order-pay .woocommerce-Button{
  display:inline-block;
  background:var(--espresso,#1B1611) !important;
  color:var(--ivory,#FAF6F0) !important;
  border:0 !important;
  border-radius:4px !important;
  font-family:var(--sans,'Jost','Helvetica Neue',Arial,sans-serif) !important;
  font-size:.82rem !important;
  font-weight:600 !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
  padding:1.05rem 2.4rem !important;
  cursor:pointer !important;
  text-decoration:none !important;
  transition:background .4s var(--ease), box-shadow .4s var(--ease), letter-spacing .4s var(--ease) !important;
}
body.woocommerce-cart .button:hover,
body.woocommerce-cart .woocommerce-button:hover,
body.woocommerce-cart .woocommerce-Button:hover,
body.woocommerce-account .button:hover,
body.woocommerce-account .woocommerce-button:hover,
body.woocommerce-account .woocommerce-Button:hover,
body.woocommerce-order-pay .button:hover,
body.woocommerce-order-pay .woocommerce-button:hover,
body.woocommerce-order-pay .woocommerce-Button:hover{
  background:var(--gold,#B0894F) !important;
  box-shadow:0 8px 28px rgba(176,137,79,.32) !important;
  letter-spacing:.22em !important;
}

/* ============================================================
   CART
   ============================================================ */
body.woocommerce-cart .woocommerce-cart-form{
  display:grid;
  grid-template-columns:1fr 360px;
  gap:3rem;
  align-items:start;
}
@media(max-width:900px){
  body.woocommerce-cart .woocommerce-cart-form{grid-template-columns:1fr;gap:2rem;}
}
body.woocommerce-cart table.cart.shop_table{
  width:100% !important;
  border-collapse:collapse !important;
  background:#fff !important;
  border:1px solid var(--line,#E7DECF) !important;
  border-radius:6px !important;
  overflow:hidden;
  color:var(--ink,#2A221B) !important;
  font-family:var(--sans,'Jost',sans-serif) !important;
}
body.woocommerce-cart table.cart thead{
  background:var(--ivory-2,#F3EBDF) !important;
}
body.woocommerce-cart table.cart th{
  font-size:.72rem !important;
  font-weight:600 !important;
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
  color:var(--muted,#8C7C6B) !important;
  padding:1rem 1.2rem !important;
  text-align:left !important;
  border-bottom:1px solid var(--line,#E7DECF) !important;
}
body.woocommerce-cart table.cart td{
  padding:1.1rem 1.2rem !important;
  border-bottom:1px solid var(--line,#E7DECF) !important;
  vertical-align:middle !important;
  font-size:.92rem !important;
  color:var(--ink,#2A221B) !important;
  background:transparent !important;
}
body.woocommerce-cart table.cart tbody tr:last-child td{border-bottom:0 !important;}
body.woocommerce-cart table.cart .product-thumbnail img{
  width:72px !important;height:90px !important;object-fit:cover;border-radius:4px;border:1px solid var(--line,#E7DECF);
}
body.woocommerce-cart table.cart .product-name a{
  font-family:var(--serif,'Cormorant Garamond',Georgia,serif) !important;
  font-size:1.05rem !important;color:var(--espresso,#1B1611) !important;text-decoration:none;
}
body.woocommerce-cart table.cart .product-remove a{
  color:var(--muted,#8C7C6B) !important;font-size:1.2rem;text-decoration:none;transition:color .3s;
}
body.woocommerce-cart table.cart .product-remove a:hover{color:var(--rose,#C98B7E) !important;}
body.woocommerce-cart table.cart .product-quantity .qty{
  width:72px !important;height:44px !important;text-align:center;
}
body.woocommerce-cart table.cart .product-subtotal{font-weight:500 !important;}
body.woocommerce-cart table.cart td.actions{
  background:var(--ivory-2,#F3EBDF) !important;
}
body.woocommerce-cart .coupon{
  display:flex;gap:.6rem;align-items:flex-end;
}
body.woocommerce-cart .coupon input.input-text{
  flex:1;height:52px;
}
body.woocommerce-cart .coupon button{
  height:52px;white-space:nowrap;
}
body.woocommerce-cart .actions .button[name="update_cart"]{
  background:transparent !important;color:var(--espresso,#1B1611) !important;border:1px solid var(--line,#E7DECF) !important;
}
body.woocommerce-cart .actions .button[name="update_cart"]:hover{
  background:var(--ivory-2,#F3EBDF) !important;border-color:var(--gold,#B0894F) !important;color:var(--gold,#B0894F) !important;box-shadow:none !important;letter-spacing:.18em !important;
}

/* Cart totals */
body.woocommerce-cart .cart_totals{
  position:sticky;top:120px;
  background:var(--ivory-2,#F3EBDF) !important;
  border:1px solid var(--line,#E7DECF) !important;
  border-radius:6px !important;
  padding:1.8rem 1.6rem !important;
}
body.woocommerce-cart .cart_totals h2{
  font-family:var(--serif,'Cormorant Garamond',Georgia,serif) !important;
  font-size:1.5rem !important;font-weight:400 !important;color:var(--espresso,#1B1611) !important;margin:0 0 1.2rem !important;padding-bottom:.7rem !important;border-bottom:1px solid var(--line,#E7DECF) !important;position:relative;
}
body.woocommerce-cart .cart_totals h2::after{content:"";position:absolute;left:0;bottom:-1px;width:48px;height:1px;background:var(--gold,#B0894F);}
body.woocommerce-cart .cart_totals table.shop_table{
  width:100% !important;border:0 !important;background:transparent !important;color:var(--ink,#2A221B) !important;font-family:var(--sans,'Jost',sans-serif) !important;
}
body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td{
  padding:.7rem 0 !important;border:0 !important;background:transparent !important;font-size:.9rem !important;text-align:left !important;
}
body.woocommerce-cart .cart_totals table.shop_table td{text-align:right !important;}
body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td{
  font-size:1.05rem !important;font-weight:600 !important;color:var(--espresso,#1B1611) !important;border-top:1px solid var(--line,#E7DECF) !important;padding-top:1rem !important;
}
body.woocommerce-cart .cart_totals .order-total .amount{
  font-family:var(--serif,'Cormorant Garamond',Georgia,serif) !important;font-size:1.3rem !important;color:var(--gold,#B0894F) !important;
}
body.woocommerce-cart .wc-proceed-to-checkout{
  margin-top:1.4rem !important;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  display:block !important;text-align:center !important;width:100% !important;
  background:var(--espresso,#1B1611) !important;color:var(--ivory,#FAF6F0) !important;border-radius:4px !important;
  font-family:var(--sans,'Jost',sans-serif) !important;font-size:.82rem !important;font-weight:600 !important;letter-spacing:.18em !important;text-transform:uppercase !important;
  padding:1.15rem 2rem !important;transition:background .4s var(--ease), box-shadow .4s var(--ease), letter-spacing .4s var(--ease) !important;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{
  background:var(--gold,#B0894F) !important;box-shadow:0 8px 28px rgba(176,137,79,.32) !important;letter-spacing:.22em !important;
}

/* Empty cart */
body.woocommerce-cart .cart-empty{
  font-family:var(--serif,'Cormorant Garamond',Georgia,serif) !important;font-size:1.6rem !important;color:var(--espresso,#1B1611) !important;text-align:center;padding:2rem 0 !important;
}
body.woocommerce-cart .return-to-shop{text-align:center;}

/* ============================================================
   MY ACCOUNT (dashboard / orders / addresses / edit / password)
   ============================================================ */
body.woocommerce-account .woocommerce-MyAccount-navigation{
  float:none !important;width:100% !important;margin-bottom:2.5rem;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{
  display:flex;flex-wrap:wrap;gap:.4rem 1.6rem;list-style:none !important;padding:0 !important;margin:0 !important;
  border-bottom:1px solid var(--line,#E7DECF);
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li{
  margin:0 !important;padding:0 !important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a{
  display:block;padding:.8rem 0;font-family:var(--sans,'Jost',sans-serif);font-size:.78rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--muted,#8C7C6B);text-decoration:none;position:relative;transition:color .3s;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover{color:var(--espresso,#1B1611);}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a{color:var(--espresso,#1B1611);}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--gold,#B0894F);
}
body.woocommerce-account .woocommerce-MyAccount-content{
  float:none !important;width:100% !important;
}
body.woocommerce-account .woocommerce-MyAccount-content > p,
body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info{
  font-family:var(--sans,'Jost',sans-serif);color:var(--ink,#2A221B);font-size:.95rem;line-height:1.7;
}
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3{
  font-family:var(--serif,'Cormorant Garamond',Georgia,serif) !important;font-weight:400 !important;color:var(--espresso,#1B1611) !important;margin:0 0 1.2rem !important;padding-bottom:.7rem !important;border-bottom:1px solid var(--line,#E7DECF) !important;position:relative;font-size:1.5rem !important;
}
body.woocommerce-account .woocommerce-MyAccount-content h2::after,
body.woocommerce-account .woocommerce-MyAccount-content h3::after{content:"";position:absolute;left:0;bottom:-1px;width:48px;height:1px;background:var(--gold,#B0894F);}

/* Orders table */
body.woocommerce-account .woocommerce-orders-table.shop_table{
  width:100% !important;border-collapse:collapse !important;background:#fff !important;border:1px solid var(--line,#E7DECF) !important;border-radius:6px !important;overflow:hidden;color:var(--ink,#2A221B) !important;font-family:var(--sans,'Jost',sans-serif) !important;
}
body.woocommerce-account .woocommerce-orders-table thead{background:var(--ivory-2,#F3EBDF) !important;}
body.woocommerce-account .woocommerce-orders-table th{
  font-size:.72rem !important;font-weight:600 !important;text-transform:uppercase !important;letter-spacing:.08em !important;color:var(--muted,#8C7C6B) !important;padding:1rem 1.2rem !important;text-align:left !important;border-bottom:1px solid var(--line,#E7DECF) !important;
}
body.woocommerce-account .woocommerce-orders-table td{
  padding:1rem 1.2rem !important;border-bottom:1px solid var(--line,#E7DECF) !important;font-size:.92rem !important;background:transparent !important;color:var(--ink,#2A221B) !important;
}
body.woocommerce-account .woocommerce-orders-table tbody tr:last-child td{border-bottom:0 !important;}
body.woocommerce-account .woocommerce-orders-table a{color:var(--gold,#B0894F) !important;text-decoration:none;font-weight:500;}
body.woocommerce-account .woocommerce-orders-table .button{font-size:.72rem !important;padding:.7rem 1.4rem !important;}

/* Addresses */
body.woocommerce-account .woocommerce-Addresses{
  display:grid;grid-template-columns:1fr 1fr;gap:1.6rem;margin-top:1.5rem;
}
@media(max-width:640px){body.woocommerce-account .woocommerce-Addresses{grid-template-columns:1fr;}}
body.woocommerce-account .woocommerce-Address{
  background:var(--ivory-2,#F3EBDF) !important;border:1px solid var(--line,#E7DECF) !important;border-radius:6px !important;padding:1.6rem 2rem !important;
}
body.woocommerce-account .woocommerce-Address-title h3{
  font-family:var(--sans,'Jost',sans-serif) !important;font-size:.78rem !important;font-weight:600 !important;text-transform:uppercase !important;letter-spacing:.1em !important;color:var(--muted,#8C7C6B) !important;border:0 !important;padding:0 !important;margin:0 0 1rem !important;
}
body.woocommerce-account .woocommerce-Address address{font-style:normal;font-size:.9rem;color:var(--ink,#2A221B);line-height:1.85;}
body.woocommerce-account .woocommerce-Address .edit{
  display:inline-block;margin-top:.8rem;font-size:.8rem;color:var(--gold,#B0894F) !important;text-decoration:none;font-weight:500;
}
body.woocommerce-account .woocommerce-Address .edit:hover{text-decoration:underline;}

/* Edit account / password forms */
body.woocommerce-account .edit-account fieldset{
  border:1px solid var(--line,#E7DECF) !important;border-radius:6px !important;padding:1.4rem 1.6rem 0 !important;margin-bottom:1.6rem !important;
}
body.woocommerce-account .edit-account legend{
  font-family:var(--sans,'Jost',sans-serif);font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:var(--muted,#8C7C6B);padding:0 .6rem;
}
body.woocommerce-account .woocommerce-EditAccountForm .woocommerce-Button,
body.woocommerce-account .lost_reset_password .woocommerce-Button{
  margin-top:.5rem;
}
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error{
  border-radius:4px !important;font-family:var(--sans,'Jost',sans-serif) !important;
}

/* View order (inside account) */
body.woocommerce-account .woocommerce-order-details__title{
  font-family:var(--serif,'Cormorant Garamond',Georgia,serif) !important;font-size:1.4rem !important;font-weight:400 !important;color:var(--espresso,#1B1611) !important;margin:0 0 1.2rem !important;padding-bottom:.7rem !important;border-bottom:1px solid var(--line,#E7DECF) !important;position:relative;
}
body.woocommerce-account .woocommerce-order-details__title::after{content:"";position:absolute;left:0;bottom:-1px;width:48px;height:1px;background:var(--gold,#B0894F);}
body.woocommerce-account table.woocommerce-table--order-details,
body.woocommerce-account .woocommerce-table--order-details.shop_table{
  width:100% !important;border-collapse:collapse !important;background:#fff !important;border:1px solid var(--line,#E7DECF) !important;border-radius:6px !important;overflow:hidden;color:var(--ink,#2A221B) !important;font-family:var(--sans,'Jost',sans-serif) !important;
}
body.woocommerce-account .woocommerce-table--order-details thead{background:var(--ivory-2,#F3EBDF) !important;}
body.woocommerce-account .woocommerce-table--order-details th{font-size:.74rem !important;font-weight:600 !important;text-transform:uppercase !important;letter-spacing:.08em !important;color:var(--muted,#8C7C6B) !important;padding:1rem 1.4rem !important;text-align:left !important;border-bottom:1px solid var(--line,#E7DECF) !important;background:transparent !important;}
body.woocommerce-account .woocommerce-table--order-details td{padding:1rem 1.4rem !important;border-bottom:1px solid var(--line,#E7DECF) !important;background:#fff !important;color:var(--ink,#2A221B) !important;font-size:.92rem !important;}
body.woocommerce-account .woocommerce-table--order-details tfoot{background:var(--ivory-2,#F3EBDF) !important;border-top:2px solid var(--line,#E7DECF) !important;}
body.woocommerce-account .woocommerce-table--order-details tfoot th,
body.woocommerce-account .woocommerce-table--order-details tfoot td{background:transparent !important;padding:.9rem 1.4rem !important;color:var(--ink,#2A221B) !important;font-size:.9rem !important;}
body.woocommerce-account .woocommerce-table--order-details tfoot tr.order_total .amount{font-family:var(--serif,'Cormorant Garamond',Georgia,serif) !important;font-size:1.3rem !important;color:var(--gold,#B0894F) !important;}

/* ============================================================
   LOGIN / REGISTER (when logged out, my-account page)
   ============================================================ */
body.woocommerce-account .u-columns{
  display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start;
}
@media(max-width:900px){body.woocommerce-account .u-columns{grid-template-columns:1fr;gap:2rem;}}
body.woocommerce-account .u-column1,
body.woocommerce-account .u-column2{
  width:100% !important;float:none !important;margin:0 !important;
}
body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register{
  background:var(--ivory-2,#F3EBDF) !important;border:1px solid var(--line,#E7DECF) !important;border-radius:6px !important;padding:2.2rem 2rem !important;
}
body.woocommerce-account .woocommerce-form-login h2,
body.woocommerce-account .woocommerce-form-register h2{
  font-family:var(--serif,'Cormorant Garamond',Georgia,serif) !important;font-size:1.7rem !important;font-weight:400 !important;color:var(--espresso,#1B1611) !important;margin:0 0 1.4rem !important;
}
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit,
body.woocommerce-account .woocommerce-form-register .woocommerce-Button{
  margin-top:.6rem;
}
body.woocommerce-account .woocommerce-form-login .lost_password{
  font-size:.85rem;
}
body.woocommerce-account .woocommerce-form-login .lost_password a{color:var(--gold,#B0894F) !important;text-decoration:none;}
body.woocommerce-account .woocommerce-form-login .lost_password a:hover{text-decoration:underline;}
body.woocommerce-account .form-row label{color:var(--muted,#8C7C6B) !important;}

/* ============================================================
   ORDER PAY
   ============================================================ */
body.woocommerce-order-pay .woocommerce-order-pay{
  max-width:620px;margin:0 auto;
}
body.woocommerce-order-pay table.shop_table,
body.woocommerce-order-pay .woocommerce-table--order-details{
  width:100% !important;border-collapse:collapse !important;background:#fff !important;border:1px solid var(--line,#E7DECF) !important;border-radius:6px !important;overflow:hidden;color:var(--ink,#2A221B) !important;font-family:var(--sans,'Jost',sans-serif) !important;
}
body.woocommerce-order-pay thead{background:var(--ivory-2,#F3EBDF) !important;}
body.woocommerce-order-pay th{font-size:.74rem !important;font-weight:600 !important;text-transform:uppercase !important;letter-spacing:.08em !important;color:var(--muted,#8C7C6B) !important;padding:1rem 1.4rem !important;text-align:left !important;border-bottom:1px solid var(--line,#E7DECF) !important;}
body.woocommerce-order-pay td{padding:1rem 1.4rem !important;border-bottom:1px solid var(--line,#E7DECF) !important;background:#fff !important;color:var(--ink,#2A221B) !important;font-size:.92rem !important;}
body.woocommerce-order-pay .product-total,
body.woocommerce-order-pay td.product-total{text-align:right !important;font-weight:500 !important;}
body.woocommerce-order-pay .order_total .amount{font-family:var(--serif,'Cormorant Garamond',Georgia,serif) !important;font-size:1.3rem !important;color:var(--gold,#B0894F) !important;}
body.woocommerce-order-pay #order_review .button,
body.woocommerce-order-pay .woocommerce-order-pay .form-row .button{
  display:block !important;width:100% !important;text-align:center !important;margin-top:1.4rem !important;
}

/* ============================================================
   ENTRANCE ANIMATIONS (Safari-safe, pure CSS @keyframes)
   Mirrors the order-received page motion language.
   ============================================================ */
@keyframes dreaPageIn{ from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }
@-webkit-keyframes dreaPageIn{ from{opacity:0;-webkit-transform:translateY(20px);} to{opacity:1;-webkit-transform:translateY(0);} }

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals,
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .u-columns,
body.woocommerce-order-pay .woocommerce-order-pay{
  animation:dreaPageIn .7s cubic-bezier(.22,.61,.36,1) both;
  -webkit-animation:dreaPageIn .7s cubic-bezier(.22,.61,.36,1) both;
}
/* Stagger: totals / content / second column arrive slightly later */
body.woocommerce-cart .cart_totals{animation-delay:.12s;-webkit-animation-delay:.12s;}
body.woocommerce-account .woocommerce-MyAccount-content{animation-delay:.1s;-webkit-animation-delay:.1s;}
body.woocommerce-account .u-column2{animation-delay:.14s;-webkit-animation-delay:.14s;}

/* Card hover lift — subtle, on brand */
body.woocommerce-cart table.cart.shop_table,
body.woocommerce-cart .cart_totals,
body.woocommerce-account .woocommerce-Address,
body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register,
body.woocommerce-account table.woocommerce-table--order-details,
body.woocommerce-order-pay table.shop_table{
  transition:box-shadow .4s cubic-bezier(.22,.61,.36,1), transform .4s cubic-bezier(.22,.61,.36,1);
}
body.woocommerce-cart table.cart.shop_table:hover,
body.woocommerce-cart .cart_totals:hover,
body.woocommerce-account .woocommerce-Address:hover,
body.woocommerce-account table.woocommerce-table--order-details:hover,
body.woocommerce-order-pay table.shop_table:hover{
  box-shadow:0 14px 40px rgba(27,22,17,.08);
}

/* Account nav link underline draw-in on activation */
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a::after{
  animation:dreaNavLine .5s cubic-bezier(.22,.61,.36,1) both;
  -webkit-animation:dreaNavLine .5s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes dreaNavLine{ from{transform:scaleX(0);} to{transform:scaleX(1);} }
@-webkit-keyframes dreaNavLine{ from{-webkit-transform:scaleX(0);} to{-webkit-transform:scaleX(1);} }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a::after{
  transform-origin:left center;-webkit-transform-origin:left center;
}

@media (prefers-reduced-motion:reduce){
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart_totals,
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content,
  body.woocommerce-account .u-columns,
  body.woocommerce-order-pay .woocommerce-order-pay{
    animation:none !important;-webkit-animation:none !important;
  }
  body.woocommerce-cart table.cart.shop_table,
  body.woocommerce-cart .cart_totals,
  body.woocommerce-account .woocommerce-Address,
  body.woocommerce-account .woocommerce-form-login,
  body.woocommerce-account .woocommerce-form-register,
  body.woocommerce-account table.woocommerce-table--order-details,
  body.woocommerce-order-pay table.shop_table{
    transition:none !important;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:640px){
  body.woocommerce-cart .woocommerce,
  body.woocommerce-account .woocommerce,
  body.woocommerce-order-pay .woocommerce{padding:2rem 1rem 4rem;}
  body.woocommerce-cart table.cart th,
  body.woocommerce-cart table.cart td,
  body.woocommerce-account .woocommerce-orders-table th,
  body.woocommerce-account .woocommerce-orders-table td,
  body.woocommerce-account .woocommerce-table--order-details th,
  body.woocommerce-account .woocommerce-table--order-details td{padding:.7rem .9rem !important;font-size:.85rem !important;}
  body.woocommerce-cart .coupon{flex-direction:column;align-items:stretch;}
  body.woocommerce-cart .coupon button{width:100% !important;}
}
