/*
Theme Name: Kadence Child - Aroby's Collection
Template: kadence
Version: 1.0.0
Description: Child theme for Aroby's Collection
Author: Aroby's Collection
*/

/* Brand Colors */
:root {
  --global-palette1: #C8102E;
  --global-palette2: #8B0000;
  --global-palette3: #FFFFFF;
  --global-palette4: #1A1A1A;
  --global-palette5: #F5F5F5;
  --global-palette6: #6B7280;
  --global-palette7: #374151;
  --global-palette8: #111827;
  --global-palette9: #FAFAFA;
}

/* WooCommerce - Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce input.button.alt {
  background-color: #C8102E !important;
  color: #FFFFFF !important;
  border-radius: 4px;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover {
  background-color: #8B0000 !important;
  color: #FFFFFF !important;
}

/* Add to Cart button */
.single_add_to_cart_button {
  background-color: #C8102E !important;
  color: #FFFFFF !important;
}

/* Product sale badge */
.woocommerce span.onsale {
  background-color: #C8102E;
}

/* =============================================
   HOMEPAGE FIXES
   ============================================= */

/* Issue 1: Hide page title on homepage */
.home .entry-title,
.home .page-title,
.home h1.entry-title,
.home .kadence-page-title,
.home .wp-block-post-title,
body.home .page-header {
  display: none !important;
}

/* Issue 2: Remove gap above hero — no margin between header and first block */
.home .entry-content,
.home .page-content,
.home article.page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.home .entry-content > .wp-block-cover:first-child,
.home .entry-content > *:first-child {
  margin-top: 0 !important;
}

/* Remove Kadence content area top padding on homepage */
.home .content-container,
.home .site-content,
.home #content,
.home .content-area,
.home main#main,
.home .kadence-inner-column-inner,
.home .wp-site-blocks > * {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Cover block full-width flush to header */
.home .alignfull.wp-block-cover:first-of-type {
  margin-top: 0 !important;
}
