:root {
  --cbp-sale-badge-color: #ffb300;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f5f7fa;
  color: #222;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

#site-header {
  background: #181c24;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
  z-index: 10;
}
.site-branding {
  display: flex;
  align-items: center;
  padding: 16px 0;
}
.site-title, .site-title a {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
}

.main-navigation {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
#primary-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#primary-menu li {
  position: relative;
}
#primary-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s;
}
#primary-menu a:hover, #primary-menu .current-menu-item a {
  color: #1e90ff;
}

.cbp-hero-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 32px;
}
.cbp-hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s;
}
.cbp-hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.cbp-hero-slider::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,30,50,0.55);
  z-index: 3;
}
.cbp-hero-content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.cbp-hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.cbp-hero-content p {
  font-size: 1.25rem;
  margin-bottom: 24px;
}
.cbp-hero-content .cbp-cta-btn {
  background: #1e90ff;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.cbp-hero-content .cbp-cta-btn:hover {
  background: #1565c0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  color: #181c24;
  margin-top: 0;
}
.entry-title a {
  color: #1e90ff;
  text-decoration: none;
}
.entry-title a:hover {
  text-decoration: underline;
}

.entry-content {
  margin-bottom: 32px;
}

.archive-title {
  font-size: 2rem;
  margin: 32px 0 24px 0;
  color: #1e90ff;
}

/* WooCommerce Product Grid Enhancements */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(var(--cbp-cols-desktop, 4), 1fr);
  gap: var(--cbp-gap-desktop, 20px);
  justify-content: flex-start;
  padding: 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.woocommerce ul.products li.product {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(30, 144, 255, 0.07);
  border: 1px solid #e3e8ee;
  padding: 12px;
  margin: 0;
  transition: box-shadow 0.2s, border 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: auto;
}
.woocommerce ul.products li.product:hover {
  box-shadow: 0 4px 24px rgba(30, 144, 255, 0.15);
  border: 1px solid #1e90ff;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.1rem;
  color: #181c24;
  font-weight: 600;
  margin: 12px 0 8px 0;
  text-align: center;
}
.woocommerce ul.products li.product .price {
  color: #1e90ff;
  font-weight: 700;
  margin-bottom: 8px;
}
.woocommerce ul.products li.product .onsale {
  background: var(--cbp-sale-badge-color, #ffb300);
  color: #fff;
  border-radius: 12px;
  padding: 3px 12px;
  font-size: 0.85em;
  position: absolute;
  top: 16px;
  right: 16px;
  left: auto;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(30,144,255,0.08);
  font-weight: 600;
  letter-spacing: 0.03em;
  min-width: 0;
  max-width: 80px;
  text-align: center;
  display: inline-block;
}
.woocommerce ul.products li.product .onsale.cbp-hide-sale-badge {
  display: none !important;
}

/* Footer */
#site-footer {
  background: #181c24;
  color: #fff;
  padding: 32px 0 16px 0;
  margin-top: 48px;
}
.footer-navigation {
  margin-bottom: 16px;
}
#footer-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}
#footer-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
#footer-menu a:hover {
  color: #1e90ff;
}
.site-info {
  text-align: center;
  font-size: 0.95rem;
  color: #b0b8c1;
}

@media (min-width: 900px) {
  .woocommerce ul.products {
    gap: var(--cbp-gap-desktop, 20px);
  }
  .woocommerce ul.products li.product {
    padding: calc(8px + (16 - 8) * ((4 - var(--cbp-cols-desktop, 4)) / 3));
  }
}
@media (max-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(var(--cbp-cols-tablet, 2), 1fr);
    gap: var(--cbp-gap-tablet, 16px);
  }
  .woocommerce ul.products li.product {
    width: auto;
    padding: 10px;
  }
}
@media (max-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(var(--cbp-cols-mobile, 1), 1fr);
    gap: var(--cbp-gap-mobile, 10px);
  }
  .woocommerce ul.products li.product {
    width: auto;
    padding: 8px;
  }
  #primary-menu, #footer-menu {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .cbp-hero-content h1 { font-size: 1.5rem; }
} 