/* Theme colour variables (Customizer → Theme Colours) */
.site-header {
  background: var(--pf-header-bg, #101010);
}

.header-top {
  background: var(--pf-primary, #e21b2d);
}

.site-footer {
  background: var(--pf-footer-bg, #101010);
}

.btn--primary,
.header-search__submit {
  background: var(--pf-primary, #e21b2d);
  border-color: var(--pf-primary, #e21b2d);
}

.btn--primary:hover,
.btn--primary:focus-visible,
.header-search__submit:hover {
  background: var(--pf-primary-dark, #9f1221);
  border-color: var(--pf-primary-dark, #9f1221);
}

.section-eyebrow,
.logo-fuel {
  color: var(--pf-primary, #e21b2d);
}

.cart-count,
.product-badge--sale {
  background: var(--pf-primary, #e21b2d);
}

/* Customizer-driven layout additions */

.hero-eyebrow {
  display: block;
  margin-bottom: 0.75rem;
}

.hero-slide__image {
  margin-inline: auto;
  border-radius: 20px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.footer-brand-name {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}

.footer-brand-name:hover {
  color: #fff;
}

.logo-site-name {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-top__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.header-utility-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

.header-utility-menu a {
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-utility-menu a:hover {
  opacity: 0.85;
}

.social-icon--twitter {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M18.244 3H21.5l-7.5 8.57L22 21h-6.59l-5.16-6.73L4.74 21H1.48l8.08-9.24L2 3h6.77l4.67 6.18L18.244 3zm-2.31 16.2h2.14L7.94 5.04H5.7l10.234 14.16z'/%3E%3C/svg%3E");
}

/* Footer bottom: copyright left, policy links horizontal right */
.pf-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.pf-footer-policy-menu,
.pf-footer-policy-menu ul,
.footer-bottom .footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}

.pf-footer-policy-menu li,
.footer-bottom .footer-legal li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.pf-footer-policy-menu li + li,
.footer-bottom .footer-legal li + li {
  margin-top: 0;
}

.pf-footer-policy-menu a,
.footer-bottom .footer-legal a {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.pf-footer-policy-menu a:hover,
.footer-bottom .footer-legal a:hover {
  color: var(--pf-primary, #e21b2d);
}

@media (max-width: 768px) {
  .pf-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .pf-footer-policy-menu,
  .footer-bottom .footer-legal {
    justify-content: flex-start;
    text-align: left;
  }
}

/* Product carousel arrows */
.carousel-btn,
.pf-carousel-prev,
.pf-carousel-next,
.product-carousel-prev,
.product-carousel-next,
.swiper-button-prev,
.swiper-button-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--pf-primary, #e21b2d) !important;
  border: 0 !important;
  color: #fff !important;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  z-index: 20 !important;
  font-size: 36px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  text-align: center !important;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  background: var(--pf-primary-dark, #9f1221) !important;
  border-color: var(--pf-primary-dark, #9f1221) !important;
  transform: scale(1.05);
  outline: none;
}

/* Fallback arrows if buttons are empty (some sliders inject empty elements) */
.pf-carousel-prev:empty::before,
.product-carousel-prev:empty::before,
.swiper-button-prev::after,
.carousel-btn--prev:empty::before {
  content: "‹" !important;
  color: #fff !important;
}

.pf-carousel-next:empty::before,
.product-carousel-next:empty::before,
.swiper-button-next::after,
.carousel-btn--next:empty::before {
  content: "›" !important;
  color: #fff !important;
}

/* Keep arrows visible on light backgrounds too */
.section--products .carousel-btn {
  background: var(--pf-primary, #e21b2d) !important;
}

.section--products .carousel-btn:hover,
.section--products .carousel-btn:focus-visible {
  background: var(--pf-primary-dark, #9f1221) !important;
  border-color: var(--pf-primary-dark, #9f1221) !important;
}

/* Category cards grid (up to 10 cards, 2 rows of 5 on desktop) */
.pf-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1100px) {
  .pf-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .pf-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .pf-category-grid {
    grid-template-columns: 1fr;
  }
}

/* Related products grid on single product */
.single-product .related ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin: 24px 0 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.single-product .related ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  min-width: 0 !important;
}

.single-product .related ul.products li.product .product-card__image-wrap {
  height: 280px !important;
  aspect-ratio: auto !important;
}

.single-product .related ul.products li.product img,
.single-product .related ul.products li.product a img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

@media (max-width: 900px) {
  .single-product .related ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .single-product .related ul.products {
    grid-template-columns: 1fr !important;
  }

  .single-product .related ul.products li.product .product-card__image-wrap {
    height: 240px !important;
  }
}
