/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

body.page-id-85257 .elementor-element-d110342,
body.page-id-85257 .elementor-element-5c6d29b {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border-radius: 8px;
  background-size: cover !important;
  background-position: center !important;
}

body.page-id-85257 .elementor-element-d110342 {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18)),
    url("https://wearus.ca/wp-content/uploads/2026/05/hf_20260526_041230_5cc8a9ec-b0ba-415d-af9d-bcb1291f2576-scaled.png") !important;
}

body.page-id-85257 .elementor-element-5c6d29b {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.12)),
    url("https://wearus.ca/wp-content/uploads/2026/05/wearus-menu-studio-kit.jpg") !important;
}

body.page-id-85257 .elementor-element-wu_banner_ballinthe6 .promo-banner::before,
body.page-id-85257 .elementor-element-wu_banner_6sn .promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

body.page-id-85257 .elementor-element-wu_banner_ballinthe6 .promo-banner::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.08));
}

body.page-id-85257 .elementor-element-wu_banner_6sn .promo-banner::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.18));
}

body.page-id-85257 .elementor-element-wu_banner_ballinthe6 .wrapper-content-banner,
body.page-id-85257 .elementor-element-wu_banner_6sn .wrapper-content-banner,
body.page-id-85257 .elementor-element-wu_banner_ballinthe6 .wd-promo-banner-link,
body.page-id-85257 .elementor-element-wu_banner_6sn .wd-promo-banner-link {
  z-index: 2;
}

body.page-id-85257 .elementor-element-wu_banner_ballinthe6 .banner-inner,
body.page-id-85257 .elementor-element-wu_banner_ballinthe6 .banner-inner p,
body.page-id-85257 .elementor-element-wu_banner_ballinthe6 .btn-style-link {
  color: #fff !important;
}

body.page-id-85257 .elementor-element-wu_banner_6sn .banner-subtitle,
body.page-id-85257 .elementor-element-wu_banner_6sn .banner-title,
body.page-id-85257 .elementor-element-wu_banner_6sn .banner-inner,
body.page-id-85257 .elementor-element-wu_banner_6sn .banner-inner p,
body.page-id-85257 .elementor-element-wu_banner_6sn .btn-style-link {
  color: #171717 !important;
}

/* Keep the values strip readable instead of allowing the marquee to clip mid-scroll. */
body.page-id-85257 .elementor-element-acbbc1a > .elementor-widget-container {
  overflow: hidden;
  padding: 22px 28px !important;
  border-radius: 10px;
}

body.page-id-85257 .elementor-element-acbbc1a .wd-marquee {
  overflow: visible !important;
}

/* Re-enable native marquee scrolling animations
body.page-id-85257 .elementor-element-acbbc1a .wd-marquee-content {
  position: static !important;
  width: 100% !important;
  min-width: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 4vw, 72px);
  animation: none !important;
  transform: none !important;
  translate: none !important;
}

body.page-id-85257 .elementor-element-acbbc1a .wd-marquee-content + .wd-marquee-content {
  display: none !important;
}
*/

body.page-id-85257 .elementor-element-acbbc1a .wd-marquee-item {
  flex: 0 1 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  white-space: nowrap;
  line-height: 1.2;
}

/* Homepage carousel scroll affordances. */
body.page-id-85257 .elementor-element-25c8063 .wd-carousel-container,
body.page-id-85257 .elementor-element-da6f555 .wd-carousel-container,
body.page-id-85257 .elementor-element-1de0eca .wd-carousel-container,
body.page-id-85257 .elementor-element-299774f .wd-carousel-container,
body.page-id-85257 .elementor-element-6825378 .wd-carousel-container,
body.page-id-85257 .elementor-element-21b0221 .wd-carousel-container {
  position: relative;
}

body.page-id-85257 .elementor-element-25c8063 .wd-carousel-container::before,
body.page-id-85257 .elementor-element-da6f555 .wd-carousel-container::before,
body.page-id-85257 .elementor-element-1de0eca .wd-carousel-container::before,
body.page-id-85257 .elementor-element-299774f .wd-carousel-container::before,
body.page-id-85257 .elementor-element-6825378 .wd-carousel-container::before,
body.page-id-85257 .elementor-element-21b0221 .wd-carousel-container::before {
  content: "Scroll →";
  position: absolute;
  top: -44px;
  right: 0;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(31, 99, 189, 0.24);
  border-radius: 999px;
  background: #fff;
  color: #1f63bd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(16, 37, 62, 0.08);
  pointer-events: none;
}

body.page-id-85257 .elementor-element-25c8063 .wd-carousel-inner::after,
body.page-id-85257 .elementor-element-da6f555 .wd-carousel-inner::after,
body.page-id-85257 .elementor-element-1de0eca .wd-carousel-inner::after,
body.page-id-85257 .elementor-element-299774f .wd-carousel-inner::after,
body.page-id-85257 .elementor-element-6825378 .wd-carousel-inner::after,
body.page-id-85257 .elementor-element-21b0221 .wd-carousel-inner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 18px;
  z-index: 4;
  width: min(92px, 18vw);
  background: linear-gradient(90deg, rgba(247, 245, 242, 0), #f7f5f2 82%);
  pointer-events: none;
}

body.page-id-85257 .elementor-element-25c8063 .wd-carousel,
body.page-id-85257 .elementor-element-da6f555 .wd-carousel,
body.page-id-85257 .elementor-element-1de0eca .wd-carousel,
body.page-id-85257 .elementor-element-299774f .wd-carousel,
body.page-id-85257 .elementor-element-6825378 .wd-carousel,
body.page-id-85257 .elementor-element-21b0221 .wd-carousel {
  cursor: grab;
}

body.page-id-85257 .elementor-element-25c8063 .wd-carousel:active,
body.page-id-85257 .elementor-element-da6f555 .wd-carousel:active,
body.page-id-85257 .elementor-element-1de0eca .wd-carousel:active,
body.page-id-85257 .elementor-element-299774f .wd-carousel:active,
body.page-id-85257 .elementor-element-6825378 .wd-carousel:active,
body.page-id-85257 .elementor-element-21b0221 .wd-carousel:active {
  cursor: grabbing;
}

body.page-id-85257 .wd-carousel-container .wd-carousel-scrollbar,
body.page-id-85257 .wd-carousel-container .swiper-scrollbar {
  height: 4px;
  border-radius: 999px;
  background: rgba(31, 99, 189, 0.14);
}

body.page-id-85257 .wd-carousel-container .swiper-scrollbar-drag {
  border-radius: 999px;
  background: #1f63bd;
}

@media (max-width: 900px) {
  body.page-id-85257 .elementor-element-25c8063 .wd-carousel-container::before,
  body.page-id-85257 .elementor-element-da6f555 .wd-carousel-container::before,
  body.page-id-85257 .elementor-element-1de0eca .wd-carousel-container::before,
  body.page-id-85257 .elementor-element-299774f .wd-carousel-container::before,
  body.page-id-85257 .elementor-element-6825378 .wd-carousel-container::before,
  body.page-id-85257 .elementor-element-21b0221 .wd-carousel-container::before {
    top: -38px;
    right: auto;
    left: 0;
  }

  body.page-id-85257 .elementor-element-25c8063 .wd-carousel-inner::after,
  body.page-id-85257 .elementor-element-da6f555 .wd-carousel-inner::after,
  body.page-id-85257 .elementor-element-1de0eca .wd-carousel-inner::after,
  body.page-id-85257 .elementor-element-299774f .wd-carousel-inner::after,
  body.page-id-85257 .elementor-element-6825378 .wd-carousel-inner::after,
  body.page-id-85257 .elementor-element-21b0221 .wd-carousel-inner::after {
    width: 64px;
  }
}

/* Keep continuous marquee scrolling on smaller viewports
@media (max-width: 900px) {
  body.page-id-85257 .elementor-element-acbbc1a > .elementor-widget-container {
    padding: 18px 20px !important;
  }

  body.page-id-85257 .elementor-element-acbbc1a .wd-marquee-content {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 14px;
  }

  body.page-id-85257 .elementor-element-acbbc1a .wd-marquee-item {
    flex-basis: calc(50% - 18px);
  }
}

@media (max-width: 520px) {
  body.page-id-85257 .elementor-element-acbbc1a .wd-marquee-item {
    flex-basis: 100%;
    white-space: normal;
  }
}
*/


/* ==========================================
   PREMIUM FULL-BLEED LIFESTYLE CATEGORY HEADERS
   ========================================== */

/* Overrides the inline styles to establish full-bleed with high-resolution smiling team background */
body .wearus-section-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 450px);
  gap: 34px;
  align-items: center;
  
  /* Safe Full-Bleed Layout Trick */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  
  box-sizing: border-box;
  padding: 56px 36px 56px max(36px, calc((100vw - 1220px) / 2 + 88px));
  border: none;
  border-top: 1px solid rgba(31, 99, 189, 0.1);
  border-bottom: 1px solid rgba(31, 99, 189, 0.1);
  border-radius: 0;
  
  /* Rich Lifestyle Composite Background Overlay */
  background-image: 
    linear-gradient(90deg, #fbfcfe 0%, rgba(251, 252, 254, 0.98) 45%, rgba(251, 252, 254, 0.85) 60%, rgba(251, 252, 254, 0.2) 100%),
    url("https://wearus.ca/wp-content/uploads/2026/05/smiling_team.jpg");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  
  box-shadow: 0 16px 40px rgba(16, 37, 62, 0.04);
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Kicker tag with more energetic theme color */
body .wearus-section-kicker {
  background: linear-gradient(135deg, #1f63bd 0%, #174f9a 100%);
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  box-shadow: 0 4px 12px rgba(31, 99, 189, 0.18);
}

/* Modernized serif category titles */
body .wearus-section-title {
  margin-top: 14px;
  font-family: "Outfit", Georgia, serif;
  font-weight: 800;
  font-size: clamp(38px, 4.5vw, 62px);
  color: #121c27;
  letter-spacing: -0.03em;
}

/* Category sub-pages brand identity colors */
body .wearus-section-subcats a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(20, 29, 38, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. Performance Polos (Vibrant Sport Blue/Teal) */
body .wearus-section-subcats a[href*="polo-and-golf-shirts"],
body .wearus-section-subcats a[href*="performance"] {
  border: 1px solid rgba(14, 165, 233, 0.22);
  background: #f0f9ff;
  color: #0284c7;
}
body .wearus-section-subcats a[href*="polo-and-golf-shirts"]:hover,
body .wearus-section-subcats a[href*="performance"]:hover {
  border-color: #0284c7;
  background: #e0f2fe;
  transform: translateY(-2px);
}

/* 2. Cotton Polos (Organic Olive Green) */
body .wearus-section-subcats a[href*="custom-uniforms"],
body .wearus-section-subcats a[href*="cotton"] {
  border: 1px solid rgba(101, 163, 13, 0.22);
  background: #f7fee7;
  color: #4d7c0f;
}
body .wearus-section-subcats a[href*="custom-uniforms"]:hover,
body .wearus-section-subcats a[href*="cotton"]:hover {
  border-color: #4d7c0f;
  background: #ecfccb;
  transform: translateY(-2px);
}

/* 3. Pique Polos (Textured Classic Amber/Gold) */
body .wearus-section-subcats a[href*="workshirts"],
body .wearus-section-subcats a[href*="pique"] {
  border: 1px solid rgba(217, 119, 6, 0.22);
  background: #fffbeb;
  color: #b45309;
}
body .wearus-section-subcats a[href*="workshirts"]:hover,
body .wearus-section-subcats a[href*="pique"]:hover {
  border-color: #b45309;
  background: #fef3c7;
  transform: translateY(-2px);
}

/* 4. Custom Quote (Action button with high-contrast active fill) */
body .wearus-section-subcats a[href*="contact"] {
  border: 1px solid #1f63bd;
  background: #1f63bd;
  color: #ffffff;
}
body .wearus-section-subcats a[href*="contact"]:hover {
  border-color: #174f9a;
  background: #174f9a;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(31, 99, 189, 0.22);
}

/* Side button style tweaks */
body .wearus-section-button {
  box-shadow: 0 10px 22px rgba(31, 99, 189, 0.2);
  transition: all 0.25s ease;
}
body .wearus-section-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 99, 189, 0.28);
}

/* Responsive collapse with high-contrast text overlay */
@media (max-width: 900px) {
  body .wearus-section-header {
    grid-template-columns: 1fr;
    padding: 38px 24px 38px max(24px, calc((100vw - 1200px) / 2 + 62px));
    
    background-image: 
      linear-gradient(180deg, rgba(251, 252, 254, 0.94) 0%, rgba(251, 252, 254, 0.98) 100%),
      url("https://wearus.ca/wp-content/uploads/2026/05/smiling_team.jpg");
  }
  body .wearus-section-header:after {
    font-size: 140px;
    right: 20px;
  }
}

/* Reset full-bleed category layouts on mobile to prevent horizontal spillover */
@media (max-width: 767px) {
  body .wearus-section-header {
    width: auto !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 24px 16px !important;
    border-radius: 12px !important;
    background-position: center !important;
  }
}
