/*
 Theme Name:   Eduma Child
 Theme URI:    http://educationwp.thimpress.com/
 Description:  Eduma Child Theme
 Author:       ThimPress
 Author URI:   http://thimpress.com
 Template:     eduma
 Version:      1.0.0
 Text Domain:  eduma-child
*/
/* WooCommerce CART BLOCK - Proceed to Checkout button */
.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block,
.woocommerce-cart .wc-block-cart__submit-container{
  width: 100% !important;
}

.woocommerce-cart a.wc-block-cart__submit-button,
.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button{
  display: flex !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 14px 18px !important;
  border-radius: 10px !important;
  background: #ffb606 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  border: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.12) !important;
}

.woocommerce-cart a.wc-block-cart__submit-button:hover,
.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button:hover{
  filter: brightness(.95) !important;
  transform: translateY(-1px);
}

/* Button text styling */
.woocommerce-cart .wc-block-components-button__text{
  color: #fff !important;
  font-weight: 700 !important;
}
/* ================================
   EDUMA: Category title center + bold
   + Remove thumbnail/card border/outline
   ================================ */

/* 1) Center align whole category card content */
#thim-product-archive ul.product-grid li.product-category.product .content__product{
  text-align: center !important;
}

/* 2) Category name center + bold */
#thim-product-archive ul.product-grid li.product-category.product h2.woocommerce-loop-category__title{
  text-align: center !important;
  font-weight: 800 !important;
  display: block !important;
  width: 100% !important;
  margin: 12px 0 0 !important;
}

/* 3) Remove the “box/border outline” around thumbnail/card */
#thim-product-archive ul.product-grid li.product-category.product .content__product{
  border: 0 !important;
  box-shadow: none !important;
}

/* 4) Remove image border/outline if any */
#thim-product-archive ul.product-grid li.product-category.product .product_thumb,
#thim-product-archive ul.product-grid li.product-category.product .product_thumb img{
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* 5) Remove focus outline on click (optional) */
#thim-product-archive ul.product-grid li.product-category.product a:focus,
#thim-product-archive ul.product-grid li.product-category.product a:focus-visible{
  outline: none !important;
}
/* ======================================
   EDUMA: Clean premium category grid look
   ====================================== */

/* Card spacing + subtle container (no border box) */
#thim-product-archive ul.product-grid li.product-category.product .content__product{
  text-align: center !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 10px 10px 0 !important;
  margin-bottom: 30px !important;
}

/* Image: equal size + smooth + centered */
#thim-product-archive ul.product-grid li.product-category.product .product_thumb{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

#thim-product-archive ul.product-grid li.product-category.product .product_thumb img{
  width: 280px !important;      /* adjust: 240-320 */
  max-width: 100% !important;
  height: auto !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  display: inline-block !important;
}

/* Title: tighter + consistent + bold */
#thim-product-archive ul.product-grid li.product-category.product h2.woocommerce-loop-category__title{
  text-align: center !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  letter-spacing: 0.2px !important;
}

/* Remove focus outline on click (optional) */
#thim-product-archive ul.product-grid li.product-category.product a:focus,
#thim-product-archive ul.product-grid li.product-category.product a:focus-visible{
  outline: none !important;
}
/* =========================================
   EDUMA: Make Page Title Header (banner) SMALL on all pages
   ========================================= */

/* Main page title/banner wrapper */
.top_site_main,
#main-content .top_site_main{
  padding: 35px 0 !important;      /* banner height control */
  min-height: 170px !important;    /* optional: fixed feel */
  background-position: center center !important;
  background-size: cover !important;
}

/* Title wrapper spacing tighten */
.top_site_main .page-title-wrapper{
  padding: 0 !important;
  margin: 0 !important;
}

/* Title text spacing tighten */
.top_site_main .page-title-wrapper .page-title{
  margin: 0 !important;
  padding: 0 !important;
}

/* Breadcrumb block spacing tighten */
.top_site_main .breadcrumbs-wrapper,
.top_site_main .breadcrumb,
.top_site_main .breadcrumbs{
  margin-top: 8px !important;
}
/* Hide page title text (like About Us) to avoid overlap */
.top_site_main .page-title-wrapper .page-title{
  display: none !important;
}
/* ================= WPBOT: Direct Chat + Hide Latest Posts/Start Screen ================= */

/* 1) Hide the whole start/welcome screen (Hi / Start Conversation / Latest Posts etc.) */
.wp-chatbot-start-screen,
.wp-chatbot-start-screen-content,
.wp-chatbot-start-content,
.wp-chatbot-start-container,
.wp-chatbot-start-content-single,
.wp-chatbot-start-content-wrapper,
.wp-chatbot-start-content-main,
.wp-chatbot-start-content-area,
.wp-chatbot-start-header,
.start-single-header,
.start-single-content,
.wp-chatbot-start-content .entry-header,
.wp-chatbot-start-content .post-thumb,
.wp-chatbot-start-content .entry-summary{
  display: none !important;
}

/* 2) Force actual chat area to show */
.wp-chatbot-widget,
.wp-chatbot-body,
.wp-chatbot-chat-container,
.wp-chatbot-chat-area,
.wp-chatbot-chat-body,
.wp-chatbot-container{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
}

/* 3) Remove blank space left by hidden start screen */
.wp-chatbot-widget .wp-chatbot-start-screen,
.wp-chatbot-widget .wp-chatbot-start-screen-content{
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* ==============================
   EDUMA Sidebar: Product Categories dropdown FIX (Select2)
   ============================== */

/* Widget title spacing (optional, clean look) */
.widget_product_categories .widget-title{
  margin-bottom: 12px !important;
}

/* Make select2 full width */
.widget_product_categories select#product_cat,
.widget_product_categories .select2-container{
  width: 100% !important;
}

/* Fix box height + vertical center */
.widget_product_categories .select2-container--default .select2-selection--single{
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 44px 0 14px !important; /* right space for arrow */
  border-radius: 8px !important;
  box-sizing: border-box !important;
}

/* Fix text baseline (neeche dabaa hua) */
.widget_product_categories .select2-container--default
.select2-selection--single .select2-selection__rendered{
  line-height: 46px !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Arrow perfect center */
.widget_product_categories .select2-container--default
.select2-selection--single .select2-selection__arrow{
  height: 46px !important;
  top: 0 !important;
  right: 10px !important;
}

/* Dropdown z-index (overlap na ho) */
.widget_product_categories .select2-container,
.widget_product_categories .select2-dropdown{
  z-index: 999999 !important;
}
.en-custom-share{
  display:flex;
  gap:10px;
  align-items:center;
  margin:14px 0;
  flex-wrap:wrap;
}
.en-share-label{
  font-weight:700;
  margin-right:6px;
}
.en-share-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:10px;
  text-decoration:none !important;
  color:#fff !important;
  font-weight:700;
  font-size:14px;
}
.en-share-btn.en-fb{ background:#1877f2; }
.en-share-btn.en-wa{ background:#25d366; }
.en-share-btn.en-ig{ background:#e1306c; }
.en-share-btn:hover{ filter:brightness(.95); }
/* Hide Eduma/Thim old share (round icons) */
.thim-social-share,
ul.thim-social-share,
.single-product ul.thim-social-share,
.product .thim-social-share,
.woocommerce .thim-social-share{
  display:none !important;
}
/* Make new custom share buttons smaller */
.en-custom-share{
  gap:8px !important;
  margin:10px 0 !important;
}

.en-share-label{
  font-size:13px !important;
}

.en-share-btn{
  padding:7px 12px !important;
  border-radius:8px !important;
  font-size:13px !important;
  line-height:1 !important;
}
