/*
 Theme Name:   OceanWP Child
 Theme URI:    https://oceanwp.org/
 Description:  Child theme for OceanWP
 Author:       YouPrintPuzzleBooks
 Author URI:   https://youprintpuzzlebooks.com
 Template:     oceanwp
 Version:      1.0.7
*/

/* ==============
   Custom Styles
   ============== */


/* === SHOP PAGE HEADER FIX === */

/* Center the main Shop title container */
.woocommerce-page .woocommerce-products-header {
  text-align: center !important;
  margin-bottom: 0 !important;
}

/* Style the Shop title itself */
.woocommerce-page .woocommerce-products-header h1 {
  font-size: 28px !important;
  font-weight: bold !important;
  margin-bottom: 15px !important;
}

/* Hide WooCommerce description under title */
.woocommerce-products-header p {
  display: none !important;
}

/* Hide WooCommerce breadcrumb (house > Shop) */
.woocommerce-breadcrumb {
  display: none !important;
}


/* === FILTER BUTTONS === */
.shop-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.shop-filters .filter-button {
  background: #0073e6;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease-in-out;
}

.shop-filters .filter-button:hover {
  background: #005bb5;
}


/* === HIDE PRODUCT CATEGORIES UNDER TITLES === */
ul.products li.product .product-category,
ul.products li.product .posted_in,
ul.products li.product .woocommerce-loop-category,
ul.products li.product .woocommerce-loop-category__title,
ul.products li.product .category,
ul.products li.product .cat-links {
  display: none !important;
}


/* === FORCE PRICE + ADD TO CART TO BOTTOM === */
ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

ul.products li.product .woocommerce-LoopProduct-link {
  flex-grow: 1 !important; /* content area takes available space */
}

ul.products li.product .product-footer {
  margin-top: auto !important;
  text-align: center !important;
  padding-top: 10px;
}

/* Ensure price + button group together */
ul.products li.product .price,
ul.products li.product .button {
  display: block !important;
  margin: 0 auto !important;
}


/* === REMOVE DARK GREEN UMP/IHC TOP RIBBON === */
#ihc_top_message,
#ihc-top-message,
#ihc_login_bar_wrap,
#ihc-top-notification,
#ihc_top_notification,
.ihc-login-bar,
.ihc-top-message,
.ihc-top-notification {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
