
/* =========================================
   WooCommerce: shop / cart / checkout / account（これはパンくずのみ非表示）
   - ページタイトル非表示
   - パンくず非表示
========================================= */

/* shop: 商品アーカイブ */
.post-type-archive-product .c-entry__title,
.post-type-archive-product .c-page-header,
.post-type-archive-product .c-entry__header {
  display: none !important;
}

/* cart / checkout（Wooのbody class） */
.woocommerce-cart .c-entry__title,
.woocommerce-cart .c-page-header,
.woocommerce-cart .c-entry__header,
.woocommerce-checkout .c-entry__title,
.woocommerce-checkout .c-page-header,
.woocommerce-checkout .c-entry__header {
  display: none !important;
}

/* パンくず（Snow Monkey / ありがちな構造をまとめて潰す） */
.post-type-archive-product .c-breadcrumbs,
.post-type-archive-product nav[aria-label*="Breadcrumb"],
.woocommerce-cart .c-breadcrumbs,
.woocommerce-cart nav[aria-label*="Breadcrumb"],
.woocommerce-checkout .c-breadcrumbs,
.woocommerce-checkout nav[aria-label*="Breadcrumb"],
.woocommerce-account .c-breadcrumbs,
.woocommerce-account nav[aria-label*="Breadcrumb"],
.single-product .c-breadcrumbs,
.single-product nav[aria-label*="Breadcrumb"] {
  display: none !important;
}

/* =========================================
   shopだけ：sidebar（l-contents__sidebar）を非表示
========================================= */
.post-type-archive-product .l-contents__sidebar {
  display: none !important;
}

/* sidebarを消した分、メインを全幅に */
.post-type-archive-product .l-contents__main {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 auto !important;
}

/* もし親がflex/gridで幅指定している場合の保険 */
.post-type-archive-product .l-contents {
  grid-template-columns: 1fr !important;
}



/* 商品カード内のボタンを幅100%に */
.woocommerce ul.products li.product .xcs-buy-now{
  display:block;
  width:100%;
  text-align:center;
  margin-top:.75rem;
}