/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Custom Astra Child Theme with Dynamic Header & Navigation Menu using Tailwind CSS and Tabler Icons
Author: Antigravity
Author URI: https://wpastra.com/
Template: astra
Version: 1.0.3
Text Domain: astra-child
*/
* {
  font-family: Poppins, sans-serif;
}

:root {
  --primary-color: #EC2326;
}



/* Hide unwanted Astra default header dropdown icons */
.custom-site-header .ast-menu-toggle,
.custom-site-header .dropdown-menu-toggle,
.custom-site-header .ast-header-navigation-arrow {
  display: none !important;
}

/* Ensure clean transition for Tabler Icons */
.custom-site-header i.ti {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.primary-btn {
  padding-left: 16px !important;
  padding-right: 16px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  background: var(--primary-color) !important;
  border-radius: 34px !important;
  font-weight: 500 !important;
  transition: all 100ms linear;
  margin: 0 !important;
  color: #ffffff !important;
  width: fit-content;
}

.primary-btn:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
}

a.primary-btn {
  text-decoration: none !important;
  color: #ffffff !important;
}

.border-white-btn {
  padding-left: 16px !important;
  padding-right: 16px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border: 1px solid #ffffff !important;
  background-color: transparent !important;
  border-radius: 34px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: all 100ms linear;
}

.border-white-btn:hover {
  background-color: #ffffff !important;
  border: 1px solid #ffffff !important;
  color: #000000 !important;
}

.border-primary-btn {
  padding-left: 16px !important;
  padding-right: 16px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border: 1px solid var(--primary-color) !important;
  background-color: #ffffff !important;
  border-radius: 34px !important;
  font-weight: 500 !important;
  color: var(--primary-color) !important;
  text-decoration: none !important;
  transition: all 100ms linear;
}

.border-primary-btn:hover {
  background-color: var(--primary-color) !important;
  border: 1px solid var(--primary-color) !important;
  color: #ffffff !important;
}




#hero {
  padding-top: clamp(80px, 15vw, 180px);
  padding-bottom: clamp(80px, 15vw, 180px);
}

#hero video {
  z-index: -1 !important;
}

#hero .e-background-video-controls-base {
  display: none !important;
}

#hero h1 {
  font-size: clamp(30px, 5vw, 70px);
}

@media (max-width: 500px) {
  #hero p {
    font-size: 16px;
  }
}

.brand-logos img {
  max-height: clamp(40px, 9vw, 70px);
  width: auto;
}

/* Product Carousel & Swiper Styling */
.product-carousel-wrapper .swiper-pagination-bullet {
  background: #cbd5e1;
  opacity: 1;
  width: 8px;
  height: 8px;
  transition: all 0.25s ease-in-out;
}

.product-carousel-wrapper .swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
  width: 24px !important;
  border-radius: 9999px !important;
}

.product-carousel-wrapper .swiper-slide {
  height: auto;
}

/* Product Overview WP Editor Content Typography */
.product-overview-content h1,
.product-overview-content h2,
.product-overview-content h3,
.product-overview-content h4,
.product-overview-content h5,
.product-overview-content h6 {
  color: #111827 !important;
  font-weight: 600 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.5rem !important;
}

.product-overview-content h1 {
  font-size: 1.75rem !important;
  /* 28px */
}

.product-overview-content h2 {
  font-size: 1.25rem !important;
  /* 20px */
}

.product-overview-content h3 {
  font-size: 1.25rem !important;
  /* 20px */
}

.product-overview-content h4 {
  font-size: 1.125rem !important;
  /* 20px */
}

.product-overview-content h5 {
  font-size: 1rem !important;
  /* 16px */
}

.product-overview-content h6 {
  font-size: 0.875rem !important;
  /* 14px */
}

.product-overview-content p {
  margin-bottom: 0.7rem !important;
  margin-top: 0 !important;
  line-height: normal;
}

.product-overview-content strong,
.product-overview-content b {
  font-weight: 600 !important;
}

.product-overview-content ul {
  list-style-type: disc !important;
  padding-left: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.product-overview-content ol {
  list-style-type: decimal !important;
  padding-left: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.product-overview-content li {
  margin-bottom: 0.35rem !important;
  line-height: 1.6 !important;
}


.stratum-masonry-gallery__image,
.stratum-masonry-gallery__overlay {
  border-radius: 8px !important;
  overflow: hidden !important;
}


@media screen and (min-width: 400px) {
  .masonry-grid .stratum-masonry-gallery__item.masonry-item.masonry-brick {
    width: 50% !important;
  }
}

@media screen and (min-width: 640px) {
  .masonry-grid .stratum-masonry-gallery__item.masonry-item.masonry-brick {
    width: 33.33% !important;
  }
}

@media screen and (min-width: 900px) {
  .masonry-grid .stratum-masonry-gallery__item.masonry-item.masonry-brick {
    width: 25% !important;
  }
}

/* Reusable Form Input Box Style */
.input-box {
  width: 100% !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  border: 1px solid #e5e7eb !important;
  background-color: #ffffff !important;
  color: #1f2937 !important;
  font-size: 0.875rem !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.1s ease-in-out !important;
  display: block;
}

.input-box:focus {
  outline: none !important;
  border-color: #111827 !important;
  border-style: solid !important;
  box-shadow: none !important;
}

/* Single Product Full Width Layout */
body.single-product #content,
body.single-product #content>.ast-container,
body.single-product #primary.content-area,
body.single-product #main.site-main {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: block !important;
  padding: 0px !important;
}

body.single-product .page-hero-banner {
  width: 100% !important;
  max-width: 100% !important;
}

/* Product Tabs Header & Buttons (Stripped from global button CSS) */
.product-tabs-header {
  border-bottom: 1px solid #d1d5db !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 0 !important;
}

button.product-tab-btn {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 2px 8px 2px !important;
  margin: 0 !important;
  margin-bottom: -1px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  color: #5c667a !important;
  cursor: pointer !important;
  transition: color 0.15s ease, border-color 0.15s ease !important;
  text-decoration: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

button.product-tab-btn:hover {
  color: #211f1f !important;
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
}

button.product-tab-btn.active,
button.product-tab-btn.is-active {
  color: var(--primary-color) !important;
  border-bottom: 2px solid var(--primary-color) !important;
  background: transparent !important;
  background-color: transparent !important;
  font-weight: 500 !important;
}

button.product-tab-btn:focus,
button.product-tab-btn:active {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* ==========================================================================
   Infinite Logo Marquee Styles
   ========================================================================== */
.logo-marquee-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: block;
}

.logo-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: block;
  min-height: var(--logo-height, 44px);
}

.logo-marquee-container {
  display: flex !important;
  flex-direction: row !important;
  overflow: hidden !important;
  user-select: none;
  width: 100%;
  position: relative;
}

.logo-marquee-fade {
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0) 100%);
}

.logo-marquee-track {
  display: flex !important;
  flex-shrink: 0 !important;
  align-items: center !important;
  justify-content: space-around !important;
  min-width: 100%;
  gap: var(--marquee-gap, 48px);
  padding-right: var(--marquee-gap, 48px);
  animation: logoMarqueeLeft var(--marquee-speed, 28s) linear infinite !important;
  will-change: transform;
}

.logo-marquee-track.reverse {
  animation-direction: reverse !important;
}

.logo-marquee-pause-hover:hover .logo-marquee-track {
  animation-play-state: paused;
}

.logo-marquee-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  min-height: var(--logo-height, 44px);
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

.logo-marquee-item img {
  height: var(--logo-height, 44px) !important;
  max-height: var(--logo-height, 44px) !important;
  max-width: var(--logo-max-width, 160px) !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

@keyframes logoMarqueeLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes logoMarqueeRight {
  0% {
    transform: translate3d(-100%, 0, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 640px) {
  .logo-marquee-track {
    gap: calc(var(--marquee-gap, 48px) * 0.65);
    padding-right: calc(var(--marquee-gap, 48px) * 0.65);
  }

  .logo-marquee-item img {
    height: calc(var(--logo-height, 44px) * 0.85) !important;
    max-height: calc(var(--logo-height, 44px) * 0.85) !important;
  }
}

/* ==========================================================================
   BLOG & BLOG DETAILS STYLING (PURE NATIVE HTML/PHP)
   ========================================================================== */

/* Category Filter Pills */
.blog-category-pill {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-category-pill.active {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 4px 12px -2px rgba(236, 35, 38, 0.3) !important;
}

/* Blog Article Content Typography */
.blog-article-content {
  color: #374151;
  font-size: 1.0625rem;
  line-height: 1.85;
}

.blog-article-content h1,
.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4,
.blog-article-content h5,
.blog-article-content h6 {
  color: #111827;
  font-weight: 600;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.blog-article-content h2 {
  font-size: clamp(20px, 2.5vw, 24px);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.blog-article-content h3 {
  font-size: clamp(18px, 2vw, 20px);
}

.blog-article-content h4 {
  font-size: clamp(18px, 2vw, 20px);
}

.blog-article-content p {
  margin-bottom: 1.35rem;
  font-size: 16px
}

.blog-article-content blockquote {
  position: relative;
  margin: 2rem 0;
  padding: 1rem;
  background-color: #f2f2f3;
  border-left: 4px solid var(--primary-color) !important;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #1f2937;
}

.blog-article-content ul,
.blog-article-content ol {
  margin: 1.25rem 0 1.5rem 1.25rem;
  padding-left: 0.5rem;
}

.blog-article-content ul {
  list-style-type: disc;
}

.blog-article-content ol {
  list-style-type: decimal;
}

.blog-article-content li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
  font-size: 16px
}

.blog-article-content strong {
  color: #111827;
  font-weight: 600;
}

.blog-article-content a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.blog-article-content a:hover {
  color: #000000;
}

.blog-article-content img {
  border-radius: 0.75rem;
  margin: 1.75rem 0;
  width: 100%;
  height: auto;
  border: 1px solid #e5e7eb;
}

/* Social Share Button Styling */
.social-share-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.social-share-btn:hover {
  transform: translateY(-2px);
}

/* Copy Link Toast */
#copy-link-toast {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#copy-link-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.elementor .e-grid-base {
  grid-template-rows: auto !important;
}

#ast-scroll-top {
  display: none !important
}