/* Growth - loja do Instituto Mano Down. Só carrega em produto, carrinho, checkout e minha conta. */
.woocommerce, .woocommerce-page { --md-laranja:#f1613a; --md-laranja-escuro:#d94f2b; --md-texto:#3d3530; --md-borda:#e3ddd9; --md-fundo:#faf7f5; }

/* Colunas: o bootstrap do bs-shortcode-ultimate limita .col-1/.col-2 e transforma .form-row em flex */
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-1, .woocommerce-page .col2-set .col-2 { max-width:none; flex:none; }
.woocommerce form .form-row, .woocommerce-page form .form-row { display:block; margin:0 0 16px; padding:0; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last,
.woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last { width:48.5%; }
.woocommerce form .form-row-wide, .woocommerce-page form .form-row-wide { clear:both; width:100%; }

/* Botões */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce input.button.alt, .woocommerce #place_order, .woocommerce a.checkout-button {
  background:var(--md-laranja); color:#fff; border:0; border-radius:50px; padding:12px 26px;
  font-family:"Open Sans",sans-serif; font-weight:600; font-size:15px; line-height:1.3;
  transition:background .15s ease, transform .05s ease; box-shadow:none; text-transform:none;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.woocommerce #place_order:hover, .woocommerce a.checkout-button:hover { background:var(--md-laranja-escuro); color:#fff; }
.woocommerce a.button:focus-visible, .woocommerce button.button:focus-visible, .woocommerce #place_order:focus-visible {
  outline:3px solid rgba(241,97,58,.35); outline-offset:2px; }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { background:#e9e4e1; color:#8a807a; padding:12px 26px; opacity:1; }
/* Secundários: contorno */
.woocommerce button[name="apply_coupon"], .woocommerce button[name="update_cart"],
.woocommerce button[name="calc_shipping"], .woocommerce .woocommerce-message a.button, .woocommerce .woocommerce-error a.button {
  background:#fff; color:var(--md-laranja); box-shadow:inset 0 0 0 1.5px var(--md-laranja); }
.woocommerce button[name="apply_coupon"]:hover, .woocommerce button[name="update_cart"]:hover,
.woocommerce button[name="calc_shipping"]:hover, .woocommerce .woocommerce-message a.button:hover, .woocommerce .woocommerce-error a.button:hover {
  background:var(--md-laranja); color:#fff; }
.woocommerce a.checkout-button, .woocommerce #place_order { display:block; width:100%; padding:16px 26px; font-size:17px; font-weight:700; text-align:center; float:none; }

/* Campos */
.woocommerce form .form-row label { display:block; margin:0 0 6px; font-size:14px; font-weight:600; color:var(--md-texto); line-height:1.3; }
.woocommerce form .form-row .required { color:var(--md-laranja); text-decoration:none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .quantity .qty, .woocommerce #coupon_code, .woocommerce-cart table.cart td.actions .coupon .input-text {
  width:100%; box-sizing:border-box; padding:11px 14px; border:1px solid var(--md-borda); border-radius:10px;
  background:#fff; color:var(--md-texto); font-size:15px; line-height:1.4; height:auto; }
.woocommerce form .form-row textarea { min-height:96px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce form .form-row select:focus,
.woocommerce #coupon_code:focus { border-color:var(--md-laranja); outline:0; box-shadow:0 0 0 3px rgba(241,97,58,.18); }
.woocommerce .select2-container .select2-selection--single { height:46px; border:1px solid var(--md-borda); border-radius:10px; }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height:44px; padding-left:14px; color:var(--md-texto); }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height:44px; right:8px; }
.woocommerce .quantity .qty { width:84px; text-align:center; }

/* Avisos */
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error {
  border-top:0; border-left:4px solid var(--md-laranja); border-radius:10px; background:var(--md-fundo); color:var(--md-texto);
  padding:16px 20px 16px 52px; }
.woocommerce .woocommerce-error { border-left-color:#c0392b; }
.woocommerce .woocommerce-message::before, .woocommerce .woocommerce-info::before { color:var(--md-laranja); top:16px; left:20px; }
.woocommerce .woocommerce-error::before { top:16px; left:20px; }
.woocommerce .woocommerce-info a, .woocommerce .woocommerce-message a:not(.button) { color:var(--md-laranja); font-weight:600; }

/* Títulos */
.woocommerce h3, .woocommerce .cart_totals h2, .woocommerce #order_review_heading {
  font-size:22px; font-weight:700; color:var(--md-texto); margin:0 0 18px; }

/* Tabelas: o tema põe borda em toda célula e fundo zebrado; aqui fica só a linha divisória */
.woocommerce table.shop_table { border:1px solid var(--md-borda); border-radius:14px; border-collapse:separate; border-spacing:0; overflow:hidden; background:#fff; margin:0 0 24px; width:100%; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td,
.woocommerce table.shop_table tbody > tr:nth-child(odd) > td, .woocommerce table.shop_table tbody > tr:nth-child(odd) > th,
.woocommerce table.shop_table tbody > tr:nth-child(even) > td, .woocommerce table.shop_table tbody > tr:nth-child(even) > th,
.woocommerce table.shop_table tbody tr:hover > td, .woocommerce table.shop_table tbody tr:hover > th {
  border:0; border-top:1px solid var(--md-borda); background:transparent; padding:16px 18px; color:var(--md-texto);
  font-size:15px; line-height:1.45; vertical-align:middle; text-align:left; }
.woocommerce table.shop_table thead th { border-top:0; background:var(--md-fundo); font-size:12.5px; font-weight:700;
  text-transform:uppercase; letter-spacing:.06em; color:#7a706a; padding:13px 18px; }
.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot th { font-weight:600; color:#7a706a; }
.woocommerce table.shop_table tbody > tr > td.product-price, .woocommerce table.shop_table tbody > tr > td.product-subtotal,
.woocommerce table.shop_table tbody > tr > td.product-total, .woocommerce table.shop_table thead th.product-price,
.woocommerce table.shop_table thead th.product-subtotal, .woocommerce table.shop_table thead th.product-total,
.woocommerce table.shop_table tfoot > tr > td, .woocommerce .cart_totals table.shop_table tbody > tr > td {
  text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.woocommerce table.shop_table tfoot > tr.woocommerce-shipping-totals > td, .woocommerce .cart_totals table.shop_table tbody > tr.woocommerce-shipping-totals > td { white-space:normal; }
.woocommerce table.shop_table tbody > tr > td.product-quantity, .woocommerce table.shop_table thead th.product-quantity { text-align:center; }
.woocommerce table.shop_table td.product-subtotal, .woocommerce table.shop_table td.product-total, .woocommerce table.shop_table tfoot td { font-weight:600; }
.woocommerce table.shop_table .product-quantity { color:#7a706a; font-weight:600; }
.woocommerce table.shop_table .order-total th, .woocommerce table.shop_table .order-total td { font-size:19px; font-weight:700; color:var(--md-texto); padding-top:18px; padding-bottom:18px; }
.woocommerce table.shop_table .order-total .amount { color:var(--md-laranja); }
.woocommerce table.shop_table .woocommerce-shipping-destination, .woocommerce table.shop_table .woocommerce-shipping-totals td { font-size:14px; color:#7a706a; font-weight:400; }
.woocommerce table.cart td.product-remove { width:44px; padding-right:0; text-align:center; }
.woocommerce table.cart td.product-thumbnail { width:88px; }
.woocommerce table.cart img { width:68px; height:68px; object-fit:cover; border-radius:10px; display:block; }
.woocommerce table.cart td.product-name a { color:var(--md-texto); font-weight:600; text-decoration:none; }
.woocommerce table.cart td.product-name a:hover { color:var(--md-laranja); }
.woocommerce table.cart tbody tr.cart_item:hover > td { background:#fffaf7; }
.woocommerce a.remove { color:#b0a69f !important; font-weight:400; width:26px; height:26px; line-height:24px; font-size:20px; margin:0 auto; }
.woocommerce a.remove:hover { background:var(--md-laranja); color:#fff !important; }
.woocommerce-cart table.cart td.actions { background:var(--md-fundo); padding:16px 18px; text-align:right; }
.woocommerce-cart table.cart td.actions .coupon { display:flex; gap:10px; align-items:center; float:left; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width:220px; margin:0; }
.woocommerce table.shop_attributes { border:1px solid var(--md-borda); border-radius:12px; border-collapse:separate; border-spacing:0; overflow:hidden; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td,
.woocommerce table.shop_attributes tr:nth-child(even) th, .woocommerce table.shop_attributes tr:nth-child(even) td {
  border:0; border-top:1px solid var(--md-borda); background:transparent; padding:12px 16px; font-style:normal; font-size:15px; color:var(--md-texto); }
.woocommerce table.shop_attributes tr:first-child th, .woocommerce table.shop_attributes tr:first-child td { border-top:0; }
.woocommerce table.shop_attributes th { width:32%; background:var(--md-fundo); font-weight:600; color:#7a706a; }
.woocommerce table.shop_attributes td p { padding:0; margin:0; }

/* Carrinho: totais */
.woocommerce .cart-collaterals { margin-top:28px; }
.woocommerce .cart-collaterals .cart_totals { background:#fff; border:1px solid var(--md-borda); border-radius:14px; padding:24px; }
.woocommerce .cart-collaterals .cart_totals table.shop_table { border:0; border-radius:0; margin-bottom:18px; }
.woocommerce .cart-collaterals .cart_totals table.shop_table th { background:transparent; padding-left:0; width:35%; }
.woocommerce .cart-collaterals .cart_totals table.shop_table tr:first-child th, .woocommerce .cart-collaterals .cart_totals table.shop_table tr:first-child td { border-top:0; }
.woocommerce .cart-collaterals .cart_totals table.shop_table td { padding-right:0; }
.woocommerce .wc-proceed-to-checkout { padding:0; }
.woocommerce .shipping-calculator-button { color:var(--md-laranja); font-weight:600; }

/* Checkout: dados à esquerda, resumo do pedido à direita */
.woocommerce form.checkout_coupon { border:1px solid var(--md-borda); border-radius:14px; padding:20px; }
.woocommerce form.checkout #customer_details .col-1, .woocommerce form.checkout #customer_details .col-2 { float:none; width:100%; }
.woocommerce form.checkout #customer_details .col-2 { margin-top:8px; }
.woocommerce form.checkout h3#ship-to-different-address { font-size:16px; font-weight:600; }
.woocommerce form.checkout h3#ship-to-different-address label { display:inline-flex; gap:8px; align-items:center; cursor:pointer; }
.woocommerce #order_review { background:#fff; border:1px solid var(--md-borda); border-radius:14px; padding:20px; }
.woocommerce #order_review table.shop_table { border:0; border-radius:0; margin:0 0 16px; }
.woocommerce #order_review table.shop_table th { background:transparent; }
.woocommerce #order_review table.shop_table th, .woocommerce #order_review table.shop_table td { padding-left:0; padding-right:0; }
.woocommerce #order_review table.shop_table thead th { background:transparent; padding-top:0; }
.woocommerce #order_review_heading { margin-bottom:18px; }
.woocommerce-checkout #payment { background:var(--md-fundo); border-radius:12px; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom:1px solid var(--md-borda); padding:16px; }
.woocommerce-checkout #payment ul.payment_methods li { padding:8px 0; }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight:600; color:var(--md-texto); display:inline; }
.woocommerce-checkout #payment div.payment_box { background:#fff; border:1px solid var(--md-borda); border-radius:10px; color:var(--md-texto); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color:var(--md-borda); }
.woocommerce-checkout #payment div.form-row { padding:16px; margin:0; }
.woocommerce-checkout .woocommerce-privacy-policy-text { font-size:13px; color:#7a706a; }
@media (min-width: 992px) {
  .woocommerce form.checkout { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); grid-template-rows:auto auto 1fr; column-gap:40px; align-items:start; }
  .woocommerce form.checkout > * { grid-column:1 / -1; }
  .woocommerce form.checkout > #customer_details { grid-column:1; grid-row:2 / span 2; }
  .woocommerce form.checkout > #order_review_heading { grid-column:2; grid-row:2; }
  .woocommerce form.checkout > #order_review { grid-column:2; grid-row:3; position:sticky; top:90px; }
}
@media (max-width: 768px) {
  .woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td { text-align:right !important; padding:12px 16px; white-space:normal; }
  .woocommerce table.shop_table_responsive tr td::before { font-weight:600; color:#7a706a; font-size:13px; text-transform:uppercase; letter-spacing:.05em; }
  .woocommerce table.cart td.product-remove { width:auto; text-align:right !important; border-top:0; padding-bottom:0; }
  .woocommerce table.cart tr.cart_item td.product-name { text-align:right !important; }
  .woocommerce-cart table.cart td.actions { text-align:left !important; }
  .woocommerce-cart table.cart td.actions .coupon { float:none; margin-bottom:12px; padding-bottom:0; }
  .woocommerce-cart table.cart td.actions .button { width:100%; }
  .woocommerce .cart-collaterals .cart_totals { padding:18px; float:none; width:100%; }
  .woocommerce #order_review { padding:16px; }
  .woocommerce h3, .woocommerce .cart_totals h2, .woocommerce #order_review_heading { font-size:20px; }
  .woocommerce #order_review_heading { margin-top:24px; }
}
@media (max-width: 600px) {
  .woocommerce form .form-row-first, .woocommerce form .form-row-last,
  .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last { width:100%; float:none; }
  .woocommerce-cart table.cart td.actions .coupon { flex-wrap:wrap; }
  .woocommerce-cart table.cart td.actions .coupon .input-text { width:100%; }
}

/* Produto */
.woocommerce div.product p.price, .woocommerce div.product span.price { color:var(--md-laranja); font-size:26px; font-weight:700; }
.woocommerce div.product .stock { color:#2e7d4f; font-weight:600; }
.woocommerce div.product .out-of-stock { color:#c0392b; }
.woocommerce div.product form.cart { margin:20px 0; }
.woocommerce div.product form.cart .single_add_to_cart_button { padding:14px 34px; font-size:16px; font-weight:700; }
.woocommerce div.product .product_meta { font-size:13px; color:#7a706a; }
.woocommerce div.product .product_meta a { color:var(--md-laranja); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding:0; margin:0 0 20px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-bottom:1px solid var(--md-borda); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background:transparent; border:0; border-radius:0; margin:0 22px 0 0; padding:0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display:none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding:10px 0; color:#7a706a; font-weight:600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom:3px solid var(--md-laranja); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color:var(--md-texto); }
.woocommerce div.product div.images img { border-radius:14px; }
.woocommerce ul.products li.product a img { border-radius:12px; }
.woocommerce ul.products li.product .price { color:var(--md-laranja); font-weight:700; }
.woocommerce span.onsale { background:var(--md-laranja); border-radius:50px; min-height:0; min-width:0; line-height:1.2; padding:6px 12px; }

/* Opções de frete no resumo */
.woocommerce ul#shipping_method { list-style:none; margin:0; padding:0; }
.woocommerce ul#shipping_method li { margin:0 0 8px; padding:0; text-indent:0; display:flex; justify-content:flex-end; align-items:center; gap:8px; white-space:nowrap; }
.woocommerce ul#shipping_method li:last-child { margin-bottom:0; }
.woocommerce ul#shipping_method li input { margin:0; accent-color:var(--md-laranja); }
.woocommerce ul#shipping_method li label { display:inline; margin:0; font-weight:400; font-size:14px; color:var(--md-texto); }
.woocommerce ul#shipping_method .amount { font-weight:700; }
.woocommerce-checkout #payment ul.payment_methods li input { accent-color:var(--md-laranja); }
