/* C-Bus Repairs by Electricians Plus */
/* Ecwid Dark Theme - Version 1.0 */
/* Main storefront */
.ec-size .ec-store {
  background-color: #2D2D2D !important;
  color: #FFFFFF !important;
  font-family: 'Poppins', Arial, sans-serif !important;
}

/* Product cards */
.ec-size .ec-store .grid-product__wrap {
  background-color: #1C1C2C !important;
  border: 1px solid #404040 !important;
  border-radius: 6px !important;
  padding: 12px !important;
  transition: border-color 0.2s ease;
}

/* Product card hover */
.ec-size .ec-store .grid-product__wrap:hover {
  border-color: #00B516 !important;
}

/* Product names */
.ec-size .ec-store .grid-product__title {
  color: #FFFFFF !important;
  font-weight: 500 !important;
}

/* Product prices */
.ec-size .ec-store .grid-product__price,
.ec-size .ec-store .grid-product__price-amount {
  color: #FFFFFF !important;
  font-weight: 600 !important;
}

/* Product images */
.ec-size .ec-store .grid-product__image {
  background-color: #FFFFFF !important;
  border-radius: 4px !important;
}

/* Category names */
.ec-size .ec-store .grid-category__title {
  color: #FFFFFF !important;
  font-weight: 500 !important;
}

/* Category hover */
.ec-size .ec-store .grid-category:hover
.grid-category__title {
  color: #00B516 !important;
}

/* Store headings */
.ec-size .ec-store .ec-header-h1,
.ec-size .ec-store .ec-header-h2,
.ec-size .ec-store .ec-header-h3 {
  color: #FFFFFF !important;
}

/* Primary buttons */
.ec-size .ec-store
.form-control--primary .form-control__button {
  background-color: #00B516 !important;
  border-color: #00B516 !important;
  color: #000000 !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
}

/* Button hover */
.ec-size .ec-store
.form-control--primary .form-control__button:hover {
  background-color: #009913 !important;
  border-color: #009913 !important;
}

/* Product SKU */
.ec-size .ec-store .grid-product__sku {
  color: #CCCCCC !important;
}

/* Product descriptions */
.ec-size .ec-store .product-details__product-description {
  color: #FFFFFF !important;
}

/* Breadcrumb navigation */
.ec-size .ec-store .breadcrumbs,
.ec-size .ec-store .breadcrumbs a {
  color: #CCCCCC !important;
}

/* Store navigation links */
.ec-size .ec-store .ec-footer a {
  color: #00B516 !important;
}

/* Mobile product cards */
@media screen and (max-width: 600px) {
  .ec-size .ec-store .grid-product__wrap {
    padding: 8px !important;
  }
}

/* C-Bus Dark Theme - Refinements */
/* Remove original blue backgrounds */
.ec-size .ec-store .grid-product__wrap-inner,
.ec-size .ec-store .grid-product__title,
.ec-size .ec-store .grid-product__price,
.ec-size .ec-store .grid-product__price-amount,
.ec-size .ec-store .grid-product__subtitle,
.ec-size .ec-store .grid-product__sku {
  background-color: transparent !important;
}

/* Refine product cards */
.ec-size .ec-store .grid-product__wrap {
  background-color: #1C1C2C !important;
  border: 1px solid #404040 !important;
  border-radius: 6px !important;
  padding: 8px !important;
}

/* Remove unwanted storefront borders */
.ec-size .ec-store {
  border: none !important;
  box-shadow: none !important;
}

/* Improve product title spacing */
.ec-size .ec-store .grid-product__title {
  padding: 10px 4px 4px !important;
  line-height: 1.4 !important;
}

/* Improve price presentation */
.ec-size .ec-store .grid-product__price {
  padding: 4px 0 10px !important;
  font-size: 16px !important;
}

/* Featured products heading */
.ec-size .ec-store .ec-header-h3 {
  font-size: 22px !important;
  font-weight: 500 !important;
  padding: 15px 0 !important;
}

/* Hide duplicate categories on store home page only */
.ec-store__category-page--0 .grid__categories {
  display: none !important;
}

/* Hide entire product social sharing section */
.ec-size .ec-store .product-details__product-share {
  display: none !important;
}

/* Product description headings */
.ec-size .ec-store .product-details__description h2,
.ec-size .ec-store .product-details__description h3,
.ec-size .ec-store .product-details__description h4,
.ec-size .ec-store .product-details__description strong {
  color: #00B516 !important;
}

/* Improve product description readability */
.ec-size .ec-store .product-details__description {
  line-height: 1.6 !important;
}

/* Improve paragraph spacing */
.ec-size .ec-store .product-details__description p {
  margin-bottom: 12px !important;
}

/* Quantity selector container */
.ec-size .ec-store .details-product-purchase__qty-field {
  background-color: #1C1C2C !important;
  border-radius: 4px !important;
}

/* Quantity input */
.ec-size .ec-store input#qty-field {
  background-color: transparent !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  caret-color: #FFFFFF !important;
  border: 1px solid #666666 !important;
  border-radius: 4px !important;
}

/* Make default quantity visible */
.ec-size .ec-store .details-product-purchase__qty-field
.form-control__placeholder {
  color: #FFFFFF !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

/* Quantity field focus */
.ec-size .ec-store input#qty-field:focus {
  border-color: #00B516 !important;
  outline: 1px solid #00B516 !important;
}

/* C-Bus Repairs - Product page layout */
/* Reduce product gallery width */
.ec-size.ec-size--m .ec-store
.product-details--layout-sidebar-right
.product-details__gallery {
  width: 45% !important;
  max-width: 45% !important;
  float: left !important;
}

/* Increase purchasing column width */
.ec-size.ec-size--m .ec-store
.product-details--layout-sidebar-right
.product-details__sidebar {
  width: 55% !important;
  max-width: 55% !important;
  float: right !important;
  padding-left: 24px !important;
  box-sizing: border-box !important;
}

/* Full-width product description */
.ec-size.ec-size--m .ec-store
.product-details--description-basic
.product-details__description {
  width: 100% !important;
  max-width: 100% !important;
  clear: both !important;
  padding-top: 20px !important;
}

/* Hide featured products on store home page only */
.ec-store__category-page--0 .grid__products,
.ec-store__category-page--0 .grid__description,
.ec-store__category-page--0 .grid__sort,
.ec-store__category-page--0 .ec-header-h3 {
  display: none !important;
}

/* =========================================
   C-BUS REPAIRS - POPUP STYLING
   ========================================= */
/* Dark background overlay */
.ec-popup .ec-popup__overlay {
  background: rgba(0, 0, 0, 0.75) !important;
}

/* Charcoal popup panel */
.ec-popup .ec-popup__wrap {
  background-color: #1C1C1C !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4) !important;
  font-family: 'Poppins', sans-serif !important;
}

/* Legal policy popup background */
.ec-popup .ec-popup__wrap {
  background-color: #2D2D2D !important;
}

/* Darken background behind popup */
.ec-popup .ec-popup__overlay {
  background-color: rgba(0, 0, 0, 0.75) !important;
}

/* Policy popup spacing and typography */
.ec-popup .ec-popup__wrap {
  padding: 30px !important;
  box-sizing: border-box !important;
}

.ec-popup .ec-popup__wrap h1 {
  font-size: 26px !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
}

.ec-popup .ec-popup__wrap h2,
.ec-popup .ec-popup__wrap h3 {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #00B516 !important;
  margin-top: 24px !important;
  margin-bottom: 12px !important;
}

.ec-popup .ec-popup__wrap p {
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin-bottom: 12px !important;
}

/* Mobile popup spacing */
@media screen and (max-width: 600px) {
  .ec-popup .ec-popup__wrap {
    padding: 16px !important;
  }
}
