/* ==========================================================================
   RASCOM GREENBUILD SERVICES (RGS) - GRAND MASTER ECOMMERCE THEME
   ========================================================================== */
/* --- 1. GLOBAL LAYOUT & HIGH-PRIORITY CANVAS WRAPPERS --- */
html, body,
[data-tile-builder-section],
.tile-builder__section,
.tile-builder__section-content,
.ec-size,
.ec-size .ec-store,
.ec-size .ec-store__content,
.ec-size .ec-store__category-page,
.grid-categories,
.ec-store__content-wrapper,
div[class*="storefront"],
div[class*="ecwid-shopping-cart"] {
  background-color: #f2f5f3 !important;
  /* Premium RGS Slate/Concrete background */
  background: #f2f5f3 !important;
}

/* Force native containers to drop their white overlay blocks */
.tile-builder__section-wrapper,
.tile-builder__section-container,
.ec-store__container,
.ec-pager {
  background-color: transparent !important;
  background: transparent !important;
}

/* --- 2. TOP GLOBAL NAVIGATION & HEADER SECTION --- */
.ec-size .ec-store .ec-header-bar {
  background-color: #1a2420 !important;
  /* Your signature dark forest green brand anchor */
  border-bottom: 4px solid #225c34 !important;
  /* Vivid green structural accent rule */
  padding: 18px 24px !important;
  border-radius: 4px !important;
}

/* Header Text elements & link typography styling */
.ec-size .ec-store .ec-header-bar__title,
.ec-size .ec-store .ec-header-bar__link {
  color: #ffffff !important;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 500 !important;
}

/* --- 3. WAREHOOS-STYLE PROFESSIONAL SEARCH INTERFACE --- */
.ec-size .ec-store .ec-search__input {
  background-color: #ffffff !important;
  border: 2px solid #225c34 !important;
  /* Branded green casing box border */
  border-radius: 4px 0 0 4px !important;
  color: #1a2420 !important;
  height: 46px !important;
  font-size: 15px !important;
}

.ec-size .ec-store .ec-search__button {
  background-color: #225c34 !important;
  /* Action green submit bar button */
  color: #ffffff !important;
  height: 46px !important;
  border-radius: 0 4px 4px 0 !important;
  padding: 0 20px !important;
}

.ec-size .ec-store .ec-search__button:hover {
  background-color: #163d22 !important;
}

/* --- 4. CATEGORY & PRODUCT CARD GRID TRANSFORMATION --- */
.ec-size .ec-store .grid-product__wrap-inner,
.ec-size .ec-store .grid-category__wrap-inner {
  background-color: #ffffff !important;
  /* Pops bright white product blocks cleanly over gray canvas */
  border: 2px solid #dbe2de !important;
  /* Technical industrial construction-grid framing outline */
  border-radius: 6px !important;
  /* Clean crisp structural geometry */
  box-shadow: 0 4px 14px rgba(26, 36, 32, 0.04) !important;
  /* Soft elevation depth layout */
  padding: 24px 16px !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Interactive Card Elevation Track on Mouse Hover */
.ec-size .ec-store .grid-product__wrap:hover .grid-product__wrap-inner,
.ec-size .ec-store .grid-category__wrap:hover .grid-category__wrap-inner {
  transform: translateY(-6px) !important;
  /* Elegant structural lift effect */
  border-color: #225c34 !important;
  /* Focus border changes instantly to bright green */
  box-shadow: 0 14px 28px rgba(34, 92, 52, 0.12) !important;
  /* Soft brand glow */
}

/* --- 5. GLOBAL BRAND TYPOGRAPHY & READOUT HEADINGS --- */
/* Item and Category Titles - Set to normal weight */
.ec-size .ec-store .grid-product__title-inner,
.ec-size .ec-store .grid-category__title {
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  color: #1a2420 !important;
  font-weight: 400 !important;
  /* Unbolded item titles */
  text-transform: capitalize !important;
}

/* Main Site Headings - Kept bold */
.ec-size .ec-store .ec-title,
h1, h2, h3, h4 {
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  color: #1a2420 !important;
  /* Dark corporate text styling instead of generic black */
  font-weight: 700 !important;
  /* Heavy text layout matching your parent site headers */
  text-transform: capitalize !important;
}

/* Price Tags color fix */
.ec-size .ec-store .grid-product__price-amount,
.ec-size .ec-store .product-details__product-price {
  color: #225c34 !important;
  /* Sets asset cost display elements to corporate green */
  font-weight: 700 !important;
  /* Strictly keeps your pricing bolded */
  font-size: 18px !important;
}

/* --- 6. UNIFIED SITE-WIDE CALL TO ACTION BUTTONS --- */
/* Formats checkout, add to bag, and purchase routes into clean RGS buttons */
.ec-size .ec-store .form-control--primary .form-control__button,
.ec-size .ec-store .ec-btn--primary,
.ec-size .ec-store .details-product-purchase__controls .form-control__button,
.ec-size .ec-store .ec-cart__button--checkout {
  background-color: #225c34 !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  /* Matches corporate style formatting rules */
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  border: none !important;
  height: 48px !important;
  transition: background-color 0.2s ease, transform 0.1s ease !important;
}

.ec-size .ec-store .form-control--primary .form-control__button:hover,
.ec-size .ec-store .ec-btn--primary:hover,
.ec-size .ec-store .ec-cart__button--checkout:hover {
  background-color: #163d22 !important;
  /* Dark forest shade accent when active/hovered */
}

/* --- 7. DEEP INNER PRODUCT VIEW & CHECKOUT PATH ADJUSTMENTS --- */
/* Cleans up the background of the separate product description blocks and cart tables */
.ec-size .ec-store .product-details,
.ec-size .ec-store .ec-cart,
.ec-size .ec-store .ec-checkout {
  background-color: #ffffff !important;
  border: 1px solid #dbe2de !important;
  border-radius: 8px !important;
  padding: 25px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

/* Strip default styling from breadcrumbs workspace */
.ec-size .ec-store .ec-breadcrumbs {
  padding: 12px 0 !important;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
}
