/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* =============================
   HEADER MENU STYLING
   ============================= */

.menu-item.deals-highlight > a {
  background-color: #FFD814;
  color: black !important;
  padding: 10px 25px;
  border-radius: 4px;
}

.menu-item.deals-highlight > a:hover {
  background-color: #F7CA00;
  color: black !important;
}

/* Restore separators under mega-menu section titles */
.wd-nav .sub-menu > li:not(:last-child) > a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  padding-bottom: 6px;
  margin-bottom: 8px;
  display: block;
}

/* =============================
   PRODUCT GRID OVERLAY
   ============================= */

.brand-logo-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px;
  border-radius: 4px;
  max-width: 60px;
  max-height: 60px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.product,
.product-grid-item,
.product-element-top {
  position: relative;
}

.brand-logo-overlay img {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================
   PRODUCT PAGE EDITS
   ============================= */

/* Hide SKU, Category, and Share section on single product page */
.single-product .product_meta {
  display: none !important;
}

/* Hide Share icons on single product page */
.single-product .social-buttons {
  display: none !important;
}

/* Force-hide Share section on product pages */
.single-product .summary .wd-share,
.single-product .summary .social-buttons,
.single-product .summary .share-title {
  display: none !important;
}

/* Decrease product title size on single product page */
.single-product .product-title {
  font-size: 20px !important; /* Adjust as needed */
  line-height: 1.2;
}

/* =============================
   GOOGLE PAY BUTTON STYLING (Updated)
   ============================= */

.wc-stripe-payment-request-wrapper,
.payment-request-button,
.wc-stripe-payment-request-button {
  max-width: 220px !important;
  width: 100% !important;
  margin-top: 15px;
  display: inline-block !important;
}

/* Apply styling to the inner iframe container */
.wc-stripe-payment-request-wrapper iframe {
  max-width: 100% !important;
  width: 100% !important;
  height: 48px !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Optional: align it next to Add to Basket if in flex container */
.single-product .cart {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.single-product .cart .single_add_to_cart_button {
  flex-shrink: 0;
}
