/* Studio V | 't Moederhuys 1.3.15
   Frontend commerce only: no gateway, cart, voucher, stock or order business logic.
   Avoid the prior global mobile table -> display:block rule. */
.tmh-commerce-page .tmh-woocommerce-content,
.tmh-commerce-page .tmh-woocommerce-content .woocommerce,
.tmh-commerce-page .tmh-woocommerce-content .woocommerce-order,
.tmh-commerce-page .tmh-woocommerce-content .woocommerce-MyAccount-content{min-width:0;max-width:100%}
.tmh-commerce-page .tmh-woocommerce-content{overflow-wrap:anywhere}
.tmh-commerce-page .woocommerce-order-details{max-width:100%}
.tmh-commerce-page .woocommerce-order-details table.woocommerce-table--order-details{
  width:100%;table-layout:fixed;border-collapse:collapse;background:#fff;border:1px solid var(--line)
}
.tmh-commerce-page .woocommerce-order-details table.woocommerce-table--order-details th,
.tmh-commerce-page .woocommerce-order-details table.woocommerce-table--order-details td{
  display:table-cell;vertical-align:top;overflow-wrap:anywhere;word-break:normal
}
.tmh-commerce-page .woocommerce-order-details table.woocommerce-table--order-details thead{display:table-header-group}
.tmh-commerce-page .woocommerce-order-details table.woocommerce-table--order-details tbody{display:table-row-group}
.tmh-commerce-page .woocommerce-order-details table.woocommerce-table--order-details tr{display:table-row}
.tmh-commerce-page .woocommerce-order-details table.woocommerce-table--order-details thead th:last-child{width:112px}
.tmh-commerce-page .woocommerce-order-details table.woocommerce-table--order-details tbody td:last-child,
.tmh-commerce-page .woocommerce-order-details table.woocommerce-table--order-details tfoot td{
  text-align:right;white-space:nowrap
}
.tmh-commerce-page .woocommerce-order-details .wc-item-meta{
  list-style:none;margin:8px 0 0;padding:0;color:var(--muted);font-size:.9em
}
.tmh-commerce-page .woocommerce-order-details .wc-item-meta li{margin:3px 0}
.tmh-commerce-page ul.woocommerce-order-overview{
  list-style:none;padding:0;margin:0 0 32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px
}
.tmh-commerce-page ul.woocommerce-order-overview li{
  list-style:none;float:none;margin:0;padding:14px 16px;min-width:0;overflow-wrap:anywhere;
  border:1px solid var(--line);border-radius:10px;background:#fff
}
.tmh-commerce-page .woocommerce-order-overview li strong{display:block;font-weight:600;font-size:1.08em;color:var(--ink)}
.tmh-commerce-page .woocommerce-order-details,
.tmh-commerce-page .woocommerce-customer-details{margin-top:32px}
.tmh-commerce-page .woocommerce-customer-details address{
  padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:#fff;line-height:1.7
}
.tmh-commerce-page .woocommerce-MyAccount-navigation ul{
  list-style:none;padding:0;margin:0;display:grid;gap:8px
}
.tmh-commerce-page .woocommerce-MyAccount-navigation li{list-style:none;margin:0}
.tmh-commerce-page .woocommerce-MyAccount-navigation a{
  display:block;padding:12px 16px;text-decoration:none;color:var(--ink);background:#fff;
  border:1px solid var(--line);border-radius:9px;min-height:44px
}
.tmh-commerce-page .woocommerce-MyAccount-navigation li.is-active a{
  border-color:var(--rose-dark);background:var(--rose-pale);font-weight:600
}
.tmh-commerce-page .woocommerce-MyAccount-navigation a:focus-visible,
.tmh-commerce-page :is(a,button,input,select,textarea):focus-visible{
  outline:3px solid #704749;outline-offset:3px
}
.tmh-commerce-page .woocommerce:has(> .woocommerce-MyAccount-navigation){
  display:grid;grid-template-columns:minmax(180px,230px) minmax(0,1fr);gap:28px;align-items:start
}
.tmh-commerce-page .woocommerce-MyAccount-navigation,
.tmh-commerce-page .woocommerce-MyAccount-content{float:none;width:auto;min-width:0}
.tmh-commerce-page .woocommerce-MyAccount-content > :first-child{margin-top:0}
.tmh-commerce-page .woocommerce-MyAccount-content p{line-height:1.65}
.tmh-commerce-page .woocommerce-MyAccount-content table.shop_table{max-width:100%;table-layout:fixed}
.tmh-commerce-page :is(.wc-block-components-product-image, .woocommerce-table__product-name) img.woocommerce-placeholder,
.tmh-commerce-page :is(.wc-block-components-product-image, .woocommerce-table__product-name) img[src*="placeholder"]{
  display:none
}
.tmh-commerce-page .wc-block-components-product-image:has(img.woocommerce-placeholder),
.tmh-commerce-page .wc-block-components-product-image:has(img[src*="placeholder"]){display:none}
.tmh-commerce-page .wc-block-components-sidebar-layout,
.tmh-commerce-page .wc-block-checkout__main,
.tmh-commerce-page .wc-block-checkout__sidebar,
.tmh-commerce-page .wc-block-components-order-summary,
.tmh-commerce-page .wc-block-components-totals-wrapper{min-width:0;max-width:100%}
@media(max-width:768px){
  .tmh-commerce-page .section{padding:36px 0 60px}
  .tmh-commerce-page .page-hero{min-height:235px;padding:48px 0}
  .tmh-commerce-page .page-hero h1{font-size:clamp(36px,8vw,46px);overflow-wrap:anywhere}
  .tmh-commerce-page .tmh-woocommerce-content table{box-shadow:none}
  .tmh-commerce-page .woocommerce:has(> .woocommerce-MyAccount-navigation){grid-template-columns:1fr;gap:24px}
  .tmh-commerce-page .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tmh-commerce-page .woocommerce-order-details table.woocommerce-table--order-details th,
  .tmh-commerce-page .woocommerce-order-details table.woocommerce-table--order-details td{padding:12px 9px;font-size:14px}
  .tmh-commerce-page .woocommerce-order-details table.woocommerce-table--order-details thead th:last-child{width:82px}
  .tmh-commerce-page .woocommerce-order-details .wc-item-meta{font-size:12px}
  .tmh-commerce-page ul.woocommerce-order-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tmh-commerce-page .woocommerce-order-overview li{font-size:13px;padding:12px}
  .tmh-commerce-page .woocommerce-order-details h2,
  .tmh-commerce-page .woocommerce-customer-details h2{font-size:30px}
  .tmh-commerce-page .wc-block-checkout__form,
  .tmh-commerce-page .wc-block-components-main,
  .tmh-commerce-page .wc-block-components-sidebar{min-width:0;width:100%;max-width:100%}
  /* Older classic cart tables only; order confirmation and account tables keep their row/column structure. */
  .tmh-commerce-page .woocommerce-cart-form table.shop_table,
  .tmh-commerce-page .woocommerce-cart-form table.shop_table tbody{display:block;box-shadow:none}
  .tmh-commerce-page .woocommerce-cart-form table.shop_table thead{display:none}
  .tmh-commerce-page .woocommerce-cart-form table.shop_table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:14px;border-bottom:1px solid var(--line)}
  .tmh-commerce-page .woocommerce-cart-form table.shop_table td{display:block;border:0;padding:4px}
  .tmh-commerce-page .woocommerce-cart-form table.shop_table td.product-thumbnail{display:none}
  .tmh-commerce-page .woocommerce-cart-form table.shop_table td.product-name,
  .tmh-commerce-page .woocommerce-cart-form table.shop_table td.actions{grid-column:1/-1}
  .tmh-commerce-page .woocommerce-cart-form table.shop_table td.product-name{font-weight:600}
  .tmh-commerce-page .woocommerce-cart-form table.shop_table td[data-title]:not(.product-name)::before{
    content:attr(data-title);font-weight:500;display:block;color:var(--muted);font-size:12px
  }
}
@media(max-width:390px){
  .tmh-commerce-page ul.woocommerce-order-overview{grid-template-columns:1fr}
  .tmh-commerce-page .woocommerce-MyAccount-navigation ul{grid-template-columns:1fr}
  .tmh-commerce-page .woocommerce-order-details table.woocommerce-table--order-details thead th:last-child{width:74px}
}
@media(prefers-reduced-motion:reduce){.tmh-commerce-page *{scroll-behavior:auto!important}}
