
/*
 Theme Name: Custom Site
 Theme URI: https://dxncanada.ca
 Author: Ismail
 Description: Custom theme built from scratch
 Version: 1.0
*/

/* Add your CSS styles here */
body {

    font-family: montserrat, sans-serif;
}

.dxn-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #d9f7d7;
    border-bottom: 1px solid #eee;
}

.dxn-header:hover {
    background: #ffffff;
    transition: background 0.25s ease-in-out;
}
.dxn-header:hover {
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.08);
}

.dxn-header-inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Left / right navs */
.dxn-nav-left,
.dxn-nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.95rem;
}

.dxn-nav-left a,
.dxn-nav-right a.dxn-link {
    color: #777;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.dxn-nav-left a:hover,
.dxn-nav-right a.dxn-link:hover {
    color: #222;
}

/* Center logo */
.dxn-logo {
    position: relative;
    flex: 0 0 auto;
}

.dxn-logo a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #333;
}

/* Logo Image Size */
.dxn-logo img {
    height: 130px;
    width: auto;
    display: block;
}

/* Shop Now button */
.dxn-btn-shop {
    padding: 10px 22px;
    border-radius: 999px;
    background: #96e35b;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #96e35b;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.dxn-btn-shop:hover {
    background: #96e35b;
    box-shadow: 0 6px 16px rgba(0, 149, 71, 0.25);
}

/* Hidden offscreen initially */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -260px; /* hidden */
    width: 260px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
    padding-top: 80px;
    transition: right 0.3s ease-in-out;
    z-index: 9998;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin: 20px 24px;
}

.mobile-nav a {
    text-decoration: none;
    font-size: 18px;
    color: #003087;
    font-weight: 600;
}

/* When open */
.mobile-nav.is-open {
    right: 0;
}

/* Hamburger styling */
.dxn-nav-toggle {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 9999;
}

/* Hide on desktop */
@media (min-width: 900px) {
    .dxn-nav-toggle {
        display: none;
    }

    .mobile-nav {
        display: none;
    }
}

/* Hide desktop navigation on mobile */
@media (max-width: 899px) {
    .dxn-nav-left,
    .dxn-nav-right {
        display: none !important;
    }

    .dxn-logo img {
        height: 80px;
    }
}


/* Fullscreen Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh; /* Full height */
    overflow: hidden;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.hero-slide {
    width: 100%;
    height: 100vh; /* Full height */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}


.hero-sub {
    font-size: 1.5rem;
    margin-bottom: 1.6rem;
}

/* CTA Button bottom right */
.hero-cta {
    position: absolute;
    right: 50%;
    transform: translateX(-50%);
    bottom: 100px;
    right: 60px;
    z-index: 20;
}

/* Gold button style like Yoli */
.btn-shop {
    background: #96e35b;
    color: #fff;
    padding: 15px 45px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease-in-out;
}

.btn-shop .arrow {
    font-size: 1.4rem;
    transform: translateX(0);
    transition: transform 0.25s ease-in-out;
}

.btn-shop:hover {
    background: #96e35b;
}

.btn-shop:hover .arrow {
    transform: translateX(6px);
}

/* Keep header visible above slider */
.dxn-header {
    z-index: 9999;
    position: relative;
}


/* Keep header visible above slider */
.dxn-header {
    z-index: 9999;
    position: relative;
}



/* Test, Don't Guess Section */
.test-section {
    max-width: 1200px;
    margin: 120px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 0 24px;
}

.test-title {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 20px;
}

.test-sub {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 32px;
}

/* Button */
.test-btn {
    background: #e6b64a;
    color: #fff;
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all .25s ease-in-out;
}

.test-btn .arrow {
    font-size: 1.3rem;
    transition: transform .25s ease-in-out;
}

.test-btn:hover {
    background: #d4a437;
}

.test-btn:hover .arrow {
    transform: translateX(6px);
}

/* Image */
.test-image img {
    width: 100%;
    max-width: 520px;
    height: auto;
}

/* Responsive layout */
@media (max-width: 900px) {
    .test-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 60px;
    }

    .test-image img {
        margin: 0 auto;
    }

    .test-btn {
        margin: 0 auto;
    }
}



/* SECTION 3: DXN Means Life */
.about-dxn {
    background: #d9f7d7; /* same green tone as header */
    padding: 100px 0;
}

.about-dxn-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    gap: 40px;
}

/* Center text block */
.about-dxn-text {
    text-align: center;
}

.about-label {
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 12px;
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #222;
}

.about-body {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    max-width: 540px;
    margin: 0 auto 40px;
}

.about-divider {
    width: 1px;
    height: 70px;
    background: #999;
    margin: 0 auto;
}

/* Image stacks (left & right) */
.about-dxn-images {
    position: relative;
    height: 320px;
}

.about-dxn-images .img-back,
.about-dxn-images .img-front {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
}

.about-dxn-images .img-back img,
.about-dxn-images .img-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specific positions – tweak if you want */
.about-dxn-images.left .img-back {
    width: 360px;
    height: 240px;
    bottom: 0;
    left: 0;
}

.about-dxn-images.left .img-front {
    width: 220px;
    height: 300px;
    top: 0;
    left: 70px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.about-dxn-images.right .img-back {
    width: 360px;
    height: 240px;
    top: 5;
    right: 0;
}

.about-dxn-images.right .img-front {
    width: 220px;
    height: 300px;
    bottom: 0;
    right: 70px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-dxn-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-dxn-images {
        order: -1;
        height: auto;
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }

    .about-dxn-images.left,
    .about-dxn-images.right {
        display: none; /* If you prefer: hide side images on tablet */
    }
}

@media (max-width: 600px) {
    .about-title {
        font-size: 2.4rem;
    }

    .about-body {
        font-size: 1rem;
    }
}


/* SECTION 4: Video Highlight */
.video-highlight {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 520px;
    overflow: hidden;
    color: #fff;
}

/* Video fills background */
.video-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient overlay like Yoli so text is readable */
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.05) 100%
    );
    z-index: 2;
}

/* Content */
.video-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
}

.video-text-block {
    max-width: 520px;
}

.video-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.video-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Button in same style family as your other CTAs */
.video-btn {
    background: #e6b64a;
    color: #fff;
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease-in-out;
}

.video-btn .arrow {
    font-size: 1.3rem;
    transition: transform 0.25s ease-in-out;
}

.video-btn:hover {
    background: #d4a437;
}

.video-btn:hover .arrow {
    transform: translateX(6px);
}

/* Responsive */
@media (max-width: 900px) {
    .video-highlight {
        height: 70vh;
        min-height: 420px;
    }

    .video-content {
        justify-content: center;
        text-align: center;
    }

    .video-text-block {
        max-width: 100%;
    }

    .video-title {
        font-size: 2.4rem;
    }
}

/* SECTION 5: Product Categories Slider */
/* SECTION 5: Product Categories Grid */
.dxn-cats{
  background: #d9f7d7; /* same as header */
  padding: 90px 0;
}

.dxn-cats-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.dxn-cats-title{
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  color: #123;
  letter-spacing: -0.3px;
}

.dxn-cats-sub{
  margin: 0 auto 40px;
  max-width: 720px;
  font-size: 1.05rem;
  color: rgba(0,0,0,0.65);
  line-height: 1.6;
}

.dxn-cats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  align-items: stretch;
}

/* Card */
.cat-card{
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(0,0,0,0.14);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cat-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.18);
}

/* Image */
.cat-card img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* Green label bar */
.cat-label{
  background: #009547;
  color: #fff;
  text-align: center;
  padding: 16px 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1100px){
  .dxn-cats-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px){
  .dxn-cats{
    padding: 70px 0;
  }
  .dxn-cats-grid{
    grid-template-columns: 1fr;
  }
  .cat-card img{
    height: 220px;
  }
}



/* SECTION 6: About e-World (DXN & You) */
.eworld-section {
    background: #d9f7d7;         
    padding: 100px 0 110px;
}

.eworld-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

/* Top label */
.eworld-kicker {
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #4a6b5b;
    margin-bottom: 12px;
}

/* Big title */
.eworld-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1f2f28;
    margin-bottom: 18px;
}

/* Lead text */
.eworld-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2f4037;
    max-width: 780px;
    margin: 0 auto 10px;
}

/* The two rounded cards */
.eworld-cards {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.ew-card {
    background: linear-gradient(135deg, #ffffff, #f8fff9);
    border-radius: 42px;
    padding: 40px 38px;
    text-align: left;
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* subtle decorative corner */
.ew-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at center, rgba(0, 149, 71, 0.22), transparent 60%);
    top: -40px;
    right: -40px;
    pointer-events: none;
}

.ew-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #183225;
    margin-bottom: 16px;
}

.ew-card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #34463b;
    margin-bottom: 26px;
}

/* Buttons */
.ew-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    background: #009547;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 2px solid #009547;
    box-shadow: 0 10px 20px rgba(0, 149, 71, 0.35);
    transition: background 0.2s ease, color 0.2s ease,
                transform 0.15s ease, box-shadow 0.2s ease;
}

.ew-btn:hover {
    background: #007c39;
    box-shadow: 0 14px 28px rgba(0, 149, 71, 0.45);
    transform: translateY(-2px);
}

/* Outline style for the second button */
.ew-btn-outline {
    background: transparent;
    color: #009547;
    box-shadow: none;
}

.ew-btn-outline:hover {
    background: #009547;
    color: #fff;
    box-shadow: 0 14px 28px rgba(0, 149, 71, 0.45);
}

/* Responsive */
@media (max-width: 900px) {
    .eworld-section {
        padding: 70px 0 80px;
    }

    .eworld-title {
        font-size: 2.2rem;
    }

    .eworld-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ew-card {
        border-radius: 32px;
        padding: 28px 24px 30px;
        text-align: left;
    }
}





/* ==== FOOTER ==== */

.site-footer {
    background: #001a35; /* deep navy like dxn footer */
    color: #ffffff;
    padding: 60px 0 30px;
    font-size: 0.9rem;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-top {
    max-width: 1220px;
    margin: 0 auto 30px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: flex-start;
}

/* logo block */
.footer-brand img {
    max-height: 90px;
    margin-bottom: 25px;
}

.footer-tagline {
    max-width: 260px;
    line-height: 1.5;
}

/* middle columns */
.footer-links-wrap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
}

.footer-heading {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 16px;
    color: #96e35b; /* same green family as your header button */
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li + li {
    margin-top: 6px;
}

.footer-contact p {
    margin: 0 0 10px;
}

/* social on right */
.footer-social {
    text-align: right;
}

.footer-social-icons {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.footer-social-icons a {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #96e35b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 1220px;
    margin: 0 auto;
    padding: 14px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.25);
}

/* responsive */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-links-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-social {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}








/*OUR STORY PAGE*/
/* ==========================
   OUR STORY PAGE
   ========================== */

/* =========================
   OUR STORY PAGE (FULL CSS)
   Uses: --hero-bg set inline on .ourstory-hero
========================= */

/* Hero section */
.ourstory-hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    padding: 120px 24px 90px;
    display: flex;
    align-items: center;
    justify-content: center;

    /* ✅ This avoids staging path issues */
    background: var(--hero-bg) center / cover no-repeat;

    overflow: hidden;
}

/* Gradient overlay */
.ourstory-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(900px 500px at 20% 25%, rgba(150, 227, 91, 0.25), transparent 55%),
      linear-gradient(120deg, rgba(0, 0, 0, 0.55), rgba(0, 55, 35, 0.48));
    z-index: 0;
}

/* Subtle bottom fade */
.ourstory-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.25));
    z-index: 0;
}

.ourstory-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    text-align: center;
    color: #ffffff;
}

/* Badge */
.ourstory-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;

    background: rgba(217, 247, 215, 0.18);
    border: 1px solid rgba(217, 247, 215, 0.85);

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;

    backdrop-filter: blur(6px);
}

.ourstory-title {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    font-weight: 900;
    line-height: 1.08;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.ourstory-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.75;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255,255,255,0.92);
}

/* =========================
   INTRO SECTION
========================= */
.ourstory-intro {
    padding: 90px 0;
    background: #ffffff;
}

.ourstory-intro-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
    gap: 44px;
    align-items: flex-start;
}

.ourstory-intro-text h2 {
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    font-weight: 900;
    margin: 0 0 18px;
    letter-spacing: -0.02em;
    color: #123;
}

.ourstory-intro-text p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #444;
    margin: 0 0 14px;
}

/* Side card */
.ourstory-intro-card {
    background: #d9f7d7;
    border-radius: 18px;
    padding: 26px 24px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.06);
}

.ourstory-intro-card h3 {
    font-size: 1.15rem;
    font-weight: 900;
    margin: 0 0 14px;
    color: #114421;
}

.ourstory-intro-card ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.ourstory-intro-card li {
    margin-bottom: 10px;
    color: #2c5633;
    line-height: 1.6;
}

/* =========================
   VALUES SECTION
========================= */
.ourstory-values {
    background: #f6fbf6;
    padding: 90px 0 100px;
}

.ourstory-values-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.values-title {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 900;
    text-align: center;
    margin: 0 0 44px;
    color: #123;
    letter-spacing: -0.02em;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Value card */
.value-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 5px solid #96e35b;
    transition: transform .18s ease, box-shadow .18s ease;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

.value-card h3 {
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0 0 10px;
    color: #114421;
}

.value-card p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #444;
    margin: 0;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
    .ourstory-hero {
        min-height: 58vh;
        padding: 130px 18px 80px;
    }

    .ourstory-intro-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .ourstory-badge {
        letter-spacing: 0.14em;
        font-size: 0.75rem;
    }
}




/* ===== JOIN PAGE ===== */

.join-page {
    min-height: 100vh;
}

/* Main hero wrapper */
.join-hero {
    position: relative;
    min-height: calc(120vh - 70px); /* adjust if your header is taller/shorter */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Big background image */
.join-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/joinimages/joinus.jpg'); 
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: brightness(0.9);
    z-index: 0;
}
/* Dark overlay */
.join-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    z-index: 1;
}

/* Center “popup” card */
.join-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 40px 48px;
    border-radius: 14px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
}

/* Logo inside card */
.join-logo {
    height: 120px;
    width: auto;
    margin-bottom: 16px;
}

/* Text styling */
.join-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.join-card-text {
    font-size: 0.98rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 26px;
}

/* Join button */
.join-primary-btn {
    display: inline-block;
    background: #96e35b;
    color: #fff;
    padding: 12px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.join-primary-btn:hover {
    background: #7cc640;
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .join-card {
        padding: 28px 24px;
    }
    .join-card-title {
        font-size: 1.6rem;
    }
}




/* =========================
   NEWS PAGE (Fancy)
========================= */

.news-hero{
  background: #d9f7d7; /* same as your header green */
  padding: 90px 0 60px;
}

.news-hero-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.news-kicker{
  font-size: .95rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #2a5b33;
  margin: 0 0 10px;
  font-weight: 700;
}

.news-title{
  font-size: 3.2rem;
  margin: 0 0 10px;
  color: #1c2b1f;
  font-weight: 900;
}

.news-sub{
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: #2c3c30;
  line-height: 1.6;
}

.news-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px 90px;
}

.news-block{
  margin-bottom: 70px;
}

.news-block-head{
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.news-h2{
  font-size: 1.9rem;
  margin: 0;
  font-weight: 900;
  color: #1c2b1f;
}

.news-h2-sub{
  margin: 0;
  color: #3a4a3f;
  line-height: 1.6;
}

/* videos */
.news-videos{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.video-card{
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
}

.video-embed{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* cards grid */
.news-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card{
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 14px 40px rgba(0,0,0,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}

.news-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 55px rgba(0,0,0,.10);
}

.news-card--featured{
  grid-column: span 3;
  padding: 28px;
  background: linear-gradient(180deg, rgba(150,227,91,.18), rgba(255,255,255,1));
}

.news-thumb{
  margin: -22px -22px 16px -22px;
  overflow: hidden;
  border-radius: 22px 22px 16px 16px;
}

.news-thumb img{
  width: 100%;
  height: auto;
  display: block;
}

.news-card-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.news-pill{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(150,227,91,.25);
  color: #1c2b1f;
}

.news-date{
  font-size: .9rem;
  color: #55655b;
}

.news-card-title{
  font-size: 1.25rem;
  margin: 0 0 10px;
  font-weight: 900;
  color: #1c2b1f;
}

.news-card-link{
  color: inherit;
  text-decoration: none;
}

.news-card-link:hover{
  text-decoration: underline;
}

.news-card-text{
  color: #2f3f34;
  line-height: 1.7;
  font-size: .98rem;
}

.news-list{
  padding-left: 18px;
  margin: 10px 0 14px;
}

.news-bullets{
  padding-left: 18px;
  margin: 10px 0 14px;
}

.news-readmore{
  display: inline-flex;
  margin-top: 14px;
  font-weight: 800;
  text-decoration: none;
  color: #1c2b1f;
}

.news-readmore:hover{
  text-decoration: underline;
}

.news-empty{
  color: #2f3f34;
  padding: 18px 0;
}

/* responsive */
@media (max-width: 1024px){
  .news-cards{
    grid-template-columns: repeat(2, 1fr);
  }
  .news-card--featured{
    grid-column: span 2;
  }
}

@media (max-width: 768px){
  .news-title{ font-size: 2.3rem; }
  .news-videos{ grid-template-columns: 1fr; }
  .news-cards{ grid-template-columns: 1fr; }
  .news-card--featured{ grid-column: span 1; }
}







/* ===== PRODUCTS PAGE ===== */
.products-hero{
  background:#d9f7d7;
  padding:90px 0 60px;
}



.products-hero-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
  text-align:center;
}
.products-title{
  font-size:3.2rem;
  margin:0 0 10px;
  font-weight:900;
  color:#1a1a1a;
}
.products-sub{
  margin:0 auto;
  max-width:760px;
  color:#2d2d2d;
  font-size:1.05rem;
  line-height:1.7;
  opacity:.9;
}

.products-page{
  background:#f7fbf7;
  padding:50px 0 90px;
}
.products-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
  display:grid;
  grid-template-columns: 320px 1fr;
  gap:26px;
  align-items:start;
}

/* Filter */
.filter-card{
  position:sticky;
  top:110px; /* adjust if header taller */
  background:#fff;
  border-radius:18px;
  padding:18px 18px 16px;
  box-shadow:0 18px 45px rgba(0,0,0,.08);
  border:1px solid rgba(0,0,0,.06);
}
.filter-title{
  margin:0 0 12px;
  font-size:1.25rem;
  font-weight:800;
  color:#1f1f1f;
}
.filter-search{
  display:block;
  margin-bottom:14px;
}
.filter-search span{
  display:block;
  font-size:.9rem;
  color:#444;
  margin-bottom:6px;
}
.filter-search input{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  outline:none;
}
.filter-search input:focus{
  border-color:#96e35b;
  box-shadow:0 0 0 4px rgba(150,227,91,.25);
}

.filter-group{
  padding:12px;
  border-radius:14px;
  background:#f3fbf2;
  border:1px solid rgba(0,0,0,.06);
}
.filter-label{
  margin:0 0 10px;
  font-weight:700;
  color:#1e1e1e;
}
.chk{
  display:flex;
  align-items:center;
  gap:10px;
  margin:10px 0;
  cursor:pointer;
  user-select:none;
}
.chk input{
  width:18px;
  height:18px;
  accent-color:#96e35b;
}
.chk span{ color:#2a2a2a; font-weight:600; }

.filter-reset{
  width:100%;
  margin-top:12px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  cursor:pointer;
  font-weight:800;
}
.filter-reset:hover{
  border-color:#96e35b;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}
.filter-note{
  margin:12px 0 0;
  font-size:.9rem;
  color:#4a4a4a;
  line-height:1.5;
}

/* Grid */
.products-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:18px;
}
.product-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 18px 45px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover{
  transform: translateY(-3px);
  box-shadow:0 26px 60px rgba(0,0,0,.10);
}
.product-media{
  position:relative;
  height:190px;
  background:#eef7ee;
}
.product-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.product-badge{
  position:absolute;
  top:12px;
  left:12px;
  background:rgba(0,0,0,.72);
  color:#fff;
  font-size:.72rem;
  letter-spacing:.08em;
  padding:7px 10px;
  border-radius:999px;
}
.product-body{
  padding:14px 14px 12px;
}
.product-top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}
.product-name{
  margin:0;
  font-size:1.05rem;
  font-weight:900;
  color:#151515;
  line-height:1.2;
}
.product-code{
  font-size:.85rem;
  color:#4f4f4f;
  font-weight:800;
  white-space:nowrap;
}
.product-size{
  margin:10px 0 14px;
  color:#444;
  font-size:.95rem;
  line-height:1.4;
  min-height:40px;
}
.product-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.product-price .price-label{
  display:block;
  font-size:.75rem;
  color:#5a5a5a;
  font-weight:700;
}
.product-price .price-val{
  font-size:1.15rem;
  font-weight:900;
  color:#0f0f0f;
}
.product-cta{
  background:#96e35b;
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.product-cta:hover{
  background:#7cc640;
}
.products-empty{
  margin:16px 0 0;
  padding:16px;
  background:#fff;
  border:1px dashed rgba(0,0,0,.18);
  border-radius:14px;
  text-align:center;
  font-weight:800;
  color:#2b2b2b;
}

/* ===== PRODUCTS BANNER ===== */
.products-banner {
    position: relative;
    width: 100%;
    min-height: 65vh;     /* taller hero */
    max-height: 820px;   /* prevents it from getting TOO tall */
    overflow: hidden;
}
.products-banner-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .8s ease-in-out;
}

.products-banner-slide.active {
    opacity: 1;
}

/* arrows */
.products-banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 2.2rem;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    z-index: 10;
}

.products-banner-arrow.prev { left: 20px; }
.products-banner-arrow.next { right: 20px; }

.products-banner-arrow:hover {
    background: rgba(0,0,0,.6);
}


/* Responsive */
@media (max-width:1100px){
  .products-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width:900px){
  .products-inner{ grid-template-columns: 1fr; }
  .filter-card{ position:relative; top:0; }
  .products-grid{ grid-template-columns: 1fr; }
}





/* ===== Woo layout wrapper ===== */
.wc-page{
  background:#f7fbf7;
  padding: 50px 0 90px;
}

.wc-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Woo Cart / Checkout modern styling ===== */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce{
  font-family: montserrat, sans-serif;
}

.woocommerce .woocommerce-notices-wrapper,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info{
  border-radius: 14px;
}

.woocommerce-cart-form,
.woocommerce-checkout form.checkout,
.woocommerce form.woocommerce-cart-form{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.06);
}

.woocommerce table.shop_table{
  border: none;
  border-radius: 14px;
  overflow: hidden;
}

.woocommerce table.shop_table th{
  background:#d9f7d7;
  font-weight: 900;
  color:#1c2b1f;
}

.woocommerce table.shop_table td{
  padding: 16px 12px;
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.06);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #payment #place_order{
  background:#96e35b !important;
  color:#fff !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  padding: 12px 18px !important;
  border: none !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #payment #place_order:hover{
  background:#7cc640 !important;
}





.dxn-page-hero{
  background:#d9f7d7;
  padding:80px 0 50px;
}
.dxn-page-hero-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
  text-align:center;
}
.dxn-page-title{
  font-size:3rem;
  font-weight:800;
  margin:0 0 10px;
}
.dxn-page-sub{
  font-size:1.1rem;
  color:#2b2b2b;
  margin:0;
}

.dxn-page-content{
  padding:60px 0 100px;
}
.dxn-page-container{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}







/* =========================================================
   DXN PREMIUM WOOCOMMERCE PRODUCT PAGE
========================================================= */

/* ===== Base ===== */
.single-product {
  background: #f6f8f4;
}

.single-product .site-main,
.single-product main {
  padding: 30px 0 80px;
}

.single-product div.product {
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto 40px;
  padding: 0 24px;
  position: relative;
}

/* ===== Product Media ===== */
.single-product div.product .woocommerce-product-gallery {
  background: #fff;
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 110px;
}

.single-product div.product .woocommerce-product-gallery__wrapper {
  border-radius: 22px;
  overflow: hidden;
}

.single-product div.product .woocommerce-product-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.single-product div.product .flex-control-thumbs {
  display: flex;
  gap: 14px;
  margin-top: 18px !important;
  padding: 0;
  flex-wrap: wrap;
}

.single-product div.product .flex-control-thumbs li {
  list-style: none;
  width: 78px !important;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 2px solid transparent;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: 0.25s ease;
}

.single-product div.product .flex-control-thumbs li:hover {
  transform: translateY(-2px);
}

.single-product div.product .flex-control-thumbs img {
  border-radius: 14px;
  cursor: pointer;
  opacity: 1 !important;
}

.single-product div.product .flex-control-thumbs img.is-active-thumb,
.single-product div.product .flex-control-thumbs li:has(img.is-active-thumb) {
  border-color: #009547;
}

/* ===== Product Summary ===== */
.single-product div.product .summary {
  background: #fff;
  border-radius: 28px;
  padding: 36px 34px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.single-product .product_title {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #102116;
  margin: 0 0 18px;
}

.single-product .price {
  color: #009547 !important;
  font-size: 30px !important;
  font-weight: 800;
  margin: 0 0 20px !important;
}

.single-product .woocommerce-product-details__short-description,
.single-product .summary p {
  color: #526055;
  font-size: 16px;
  line-height: 1.8;
}

.single-product .product_meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e9eee8;
  color: #6a766c;
  font-size: 14px;
}

.single-product .product_meta a {
  color: #009547;
  text-decoration: none;
}

/* ===== Badges ===== */
.dxn-single-badge-wrap {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 10;
}

.woocommerce ul.products li.product {
  position: relative;
}

.dxn-product-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dxn-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.dxn-badge-sale {
  background: linear-gradient(135deg, #009547, #12c466);
  color: #fff;
}

.dxn-badge-new {
  background: #ffffff;
  color: #102116;
  border: 1px solid #dbe6dc;
}

/* ===== Quantity + Add to cart ===== */
.single-product form.cart {
  margin-top: 22px;
}

.woocommerce .quantity {
  margin-right: 14px !important;
}

.woocommerce .quantity .qty {
  width: 90px;
  height: 54px;
  border: 1px solid #d8e1d9;
  border-radius: 16px;
  background: #fbfcfb;
  font-size: 16px;
  font-weight: 700;
  color: #102116;
}

.single-product .single_add_to_cart_button,
.single-product button.single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: linear-gradient(135deg, #009547, #0db65d) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 16px !important;
  min-height: 54px;
  padding: 14px 26px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px;
  box-shadow: 0 14px 28px rgba(0, 149, 71, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.single-product .single_add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(0, 149, 71, 0.30);
}

.dxn-atc-pulse {
  animation: dxnPulse 0.9s ease;
}

@keyframes dxnPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* ===== Variations ===== */
.dxn-variation-select-wrap {
  margin: 14px 0 8px;
}

.dxn-variation-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #102116;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.variations {
  width: 100%;
  margin-bottom: 14px !important;
}

.variations td,
.variations th {
  border: none !important;
  padding: 0 !important;
}

.variations select {
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid #d8e1d9;
  background: #fff;
  padding: 0 14px;
}

.dxn-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 18px;
}

.dxn-swatch {
  appearance: none;
  border: 1px solid #d8e1d9;
  background: #fff;
  color: #102116;
  border-radius: 999px;
  padding: 10px 16px;
  min-height: 42px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.dxn-swatch:hover,
.dxn-swatch.active {
  background: #009547;
  color: #fff;
  border-color: #009547;
  box-shadow: 0 10px 20px rgba(0,149,71,0.18);
}

.reset_variations {
  color: #009547 !important;
  font-weight: 700;
  text-decoration: none !important;
}

/* ===== Tabs ===== */
.woocommerce-tabs {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 0 24px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border-bottom: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 999px !important;
  overflow: hidden;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px !important;
  background: #edf3ec;
  color: #102116 !important;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  background: #009547;
  color: #fff !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.05);
  margin: 0 0 30px !important;
}

/* ===== Reviews ===== */
#reviews #comments ol.commentlist li .comment-text {
  border: 1px solid #e8eee8 !important;
  border-radius: 18px;
  padding: 18px !important;
}

#review_form_wrapper {
  margin-top: 20px;
}

#review_form_wrapper input,
#review_form_wrapper textarea,
#review_form_wrapper select {
  width: 100%;
  border: 1px solid #d8e1d9;
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
  font-size: 15px;
}

#review_form_wrapper textarea {
  min-height: 140px;
}

















/* =========================================================
   CLEAN PRODUCT PAGE LAYOUT
========================================================= */

.single-product {
  background: #f5f8f4;
}

.single-product .site-main,
.single-product main {
  padding: 32px 0 70px;
}

/* top product area */
.single-product div.product {
  max-width: 1180px;
  margin: 0 auto 32px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(460px, 1fr) 420px;
  gap: 40px;
  align-items: start;
}

/* image card */
.single-product div.product .woocommerce-product-gallery,
.single-product div.product div.images {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.05);
}

.single-product div.product .woocommerce-product-gallery img,
.single-product div.product div.images img {
  width: 100%;
  max-width: 72%;
  display: block;
  margin: 0 auto;
  height: auto;
}

.single-product div.product .flex-control-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 16px !important;
  padding: 0;
}

.single-product div.product .flex-control-thumbs li {
  list-style: none;
  width: 56px !important;
}

.single-product div.product .flex-control-thumbs img {
  border-radius: 10px;
  border: 1px solid #dfe6df;
}

/* summary card */
.single-product div.product .summary,
.single-product div.product .entry-summary,
.single-product div.product .summary.entry-summary {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
}

.single-product .product_title {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 800;
  color: #102116;
  margin: 0 0 10px;
}

.single-product .price {
  color: #009547 !important;
  font-size: 26px !important;
  font-weight: 800;
  margin: 0 0 18px !important;
}

.single-product .product_meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e7eee8;
  font-size: 13px;
  color: #647066;
}

/* member box */
.dxn-member-pricing-box {
  margin: 18px 0 18px;
  padding: 18px;
  border: 1px solid #dfe8df;
  border-radius: 18px;
  background: #f9fbf8;
}

.dxn-live-price-box {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #e2e9e2;
  border-radius: 14px;
  background: #fff;
  display: grid;
  gap: 6px;
}

.dxn-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}

.dxn-check-row span {
  font-size: 15px;
  font-weight: 700;
  color: #102116;
}

.dxn-member-terms {
  margin: 8px 0 0 24px;
  font-size: 12px;
  line-height: 1.6;
  color: #647066;
}

.dxn-member-code-wrap {
  margin: 12px 0 0 24px;
}

#dxn_member_code {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d8e2d8;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 14px;
  box-sizing: border-box;
}

#dxnCheckCode {
  margin-top: 8px;
}

/* qty + cart */
.woocommerce .quantity .qty {
  width: 74px;
  min-height: 42px;
  border: 1px solid #d8e1d9;
  border-radius: 12px;
}

.single-product .single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: #009547 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  min-height: 42px;
  padding: 10px 18px !important;
  font-weight: 800 !important;
}

/* tabs */
.woocommerce-tabs {
  max-width: 1180px;
  margin: 0 auto 28px;
  padding: 0 24px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 10px;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  background: #edf3ec;
  color: #102116 !important;
  border-radius: 999px;
  padding: 10px 16px !important;
  font-size: 13px;
  font-weight: 800;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  background: #009547;
  color: #fff !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.05);
}

/* related */
.related.products {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.related.products > h2 {
  font-size: 28px;
  font-weight: 800;
  color: #102116;
  margin-bottom: 18px;
}

.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.related.products ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.related.products ul.products li.product img {
  width: 100% !important;
  height: 170px !important;
  object-fit: contain !important;
  margin-bottom: 12px !important;
}

.related.products ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px !important;
  line-height: 1.35 !important;
  min-height: 40px !important;
  margin-bottom: 8px !important;
  font-weight: 700 !important;
  color: #102116 !important;
}

.related.products ul.products li.product .price {
  font-size: 14px !important;
  margin-bottom: 10px !important;
}

.related.products ul.products li.product .button {
  width: 100% !important;
  min-height: 40px !important;
  font-size: 12px !important;
  border-radius: 12px !important;
}

/* tablet */
@media (max-width: 1024px) {
  .single-product div.product {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .single-product div.product .summary,
  .single-product div.product .entry-summary,
  .single-product div.product .summary.entry-summary {
    max-width: 100%;
  }

  .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* mobile */
@media (max-width: 767px) {
  .single-product div.product,
  .woocommerce-tabs,
  .related.products {
    padding-left: 16px;
    padding-right: 16px;
  }

  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary,
  .single-product div.product .entry-summary,
  .woocommerce div.product .woocommerce-tabs .panel {
    padding: 18px;
    border-radius: 18px;
  }

  .single-product .product_title {
    font-size: 24px;
  }

  .single-product .price {
    font-size: 24px !important;
  }

  .related.products ul.products {
    grid-template-columns: 1fr !important;
  }
}



/* =========================================================
   FORCE RELATED PRODUCTS UNDER DESCRIPTION
========================================================= */

/* top product stays 2 columns */
.single-product div.product {
  display: grid !important;
  grid-template-columns: minmax(420px, 1fr) 420px !important;
  gap: 32px !important;
  align-items: start !important;
}

/* force tabs and related to full-width rows below */
.woocommerce-tabs,
.related.products {
  display: block !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 24px auto 0 !important;
  clear: both !important;
}

/* place related products clearly below description */
.related.products {
  margin-top: 28px !important;
}

/* clean suggested products grid */
.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.related.products ul.products > li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  background: #fff !important;
  border-radius: 18px !important;
  padding: 16px !important;
  box-shadow: 0 12px 24px rgba(0,0,0,0.05) !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.related.products ul.products li.product img {
  width: 100% !important;
  height: 160px !important;
  object-fit: contain !important;
  margin-bottom: 10px !important;
}

.related.products ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px !important;
  line-height: 1.35 !important;
  min-height: 42px !important;
  margin-bottom: 8px !important;
}

.related.products ul.products li.product .price {
  font-size: 14px !important;
  margin-bottom: 10px !important;
}

.related.products ul.products li.product .button {
  width: 100% !important;
  min-height: 40px !important;
  margin-top: auto !important;
  border-radius: 12px !important;
}

/* tablet */
@media (max-width: 1024px) {
  .single-product div.product {
    grid-template-columns: 1fr !important;
  }

  .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* mobile */
@media (max-width: 767px) {
  .related.products ul.products {
    grid-template-columns: 1fr !important;
  }
}

















/* =========================================================
   MOBILE PRODUCT PAGE REAL FIX
========================================================= */
@media (max-width: 767px) {

  /* top spacing */
  .single-product .site-main,
  .single-product main {
    padding-top: 10px !important;
  }

 .single-product .woocommerce-product-gallery,
.single-product div.images {
  padding: 14px !important;
  border-radius: 18px !important;
  margin-top: 5px !important;
}

.single-product .product_title {
  margin-top: 40px !important;
}


  .single-product .woocommerce-product-gallery img,
  .single-product div.images img {
    max-width: 76% !important;
  }

  /* variation block */
  .dxn-variation-select-wrap {
    margin: 10px 0 14px !important;
  }

  .dxn-variation-label {
    display: block !important;
    font-size: 13px !important;
    margin-bottom: 6px !important;
    letter-spacing: 0 !important;
  }

  .variations {
    margin-bottom: 12px !important;
  }

  .variations tr,
  .variations td,
  .variations th {
    display: block !important;
    width: 100% !important;
  }

  .variations td.label {
    margin-bottom: 6px !important;
  }

  .variations td.value {
    margin-bottom: 0 !important;
  }

  .variations select {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 16px !important;
    border-radius: 14px !important;
    padding: 0 14px !important;
  }

  /* member box */
  .dxn-member-pricing-box {
    margin-top: 10px !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .dxn-live-price-box {
    padding: 12px !important;
    border-radius: 14px !important;
    margin-bottom: 12px !important;
  }

  .dxn-live-price-box div {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .dxn-check-row span {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .dxn-member-terms {
    margin: 8px 0 0 0 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
  }

  .dxn-member-code-wrap {
    margin: 10px 0 0 0 !important;
  }

  #dxn_member_code {
    min-height: 42px !important;
    font-size: 14px !important;
  }

  #dxnCheckCode {
    width: 100% !important;
    min-height: 42px !important;
  }

  /* qty + add to cart */
  .woocommerce .quantity .qty {
    width: 64px !important;
    min-height: 42px !important;
  }

  .single-product .single_add_to_cart_button {
    min-height: 42px !important;
    padding: 10px 16px !important;
  }

  /* language switcher if it overlaps */
  .trp-language-switcher,
  .translatepress-language-switcher {
    transform: scale(0.9) !important;
    transform-origin: top right !important;
  }
}


.product-low-price-note {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #e6f4ea;
  color: #0a5c2f;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}





/* =========================
   CONTACT PAGE
========================= */

.contact-hero{
  background:#d9f7d7;
  padding: 70px 0 40px;
}

.contact-hero-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align:center;
}

.contact-title{
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  margin: 0 0 8px;
  letter-spacing: -0.6px;
  color:#0b2a12;
}

.contact-sub{
  margin: 0;
  font-size: 1.05rem;
  color:#245a31;
  opacity: 0.95;
}

.contact-main{
  background:#ffffff;
  padding: 60px 0 70px;
}

.contact-main-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: start;
}

.contact-card{
  background:#fff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
  padding: 26px;
}

.contact-h2{
  margin: 0 0 18px;
  font-size: 1.35rem;
  font-weight: 900;
  color:#0b2a12;
}

.contact-alert{
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-weight: 600;
  font-size: .95rem;
}

.contact-alert.success{
  background: rgba(150,227,91,.20);
  border: 1px solid rgba(150,227,91,.55);
  color:#114421;
}

.contact-alert.error{
  background: rgba(255,120,120,.16);
  border: 1px solid rgba(255,120,120,.35);
  color:#7a1f1f;
}

.contact-form .form-row{
  display:flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.contact-form label{
  font-weight: 800;
  font-size: .9rem;
  color:#16351d;
}

.contact-form input,
.contact-form textarea{
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  padding: 12px 12px;
  font-size: 1rem;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(0,149,71,.6);
  box-shadow: 0 0 0 4px rgba(0,149,71,.12);
}

.contact-btn{
  display:inline-block;
  border: none;
  cursor: pointer;
  background: #009547;
  color:#fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-btn:hover{
  background:#007c3b;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.contact-note{
  margin: 12px 0 0;
  color:#486a4f;
  font-size: .9rem;
}

.contact-hq-card .hq-line{
  margin-bottom: 12px;
}

.hq-label{
  display:block;
  font-weight: 900;
  font-size: .85rem;
  color:#16351d;
  margin-bottom: 4px;
  letter-spacing: .02em;
}

.hq-value{
  margin: 0;
  color:#2b2b2b;
}

.hq-value a{
  color:#0b5a2b;
  font-weight: 800;
  text-decoration: none;
}

.hq-value a:hover{
  text-decoration: underline;
}

.hq-divider{
  height:1px;
  background: rgba(0,0,0,.10);
  margin: 18px 0;
}

.hq-map{
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.08);
}

.hq-map-placeholder{
  height: 220px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(120deg, rgba(217,247,215,.8), rgba(150,227,91,.25));
  color:#114421;
  font-weight: 900;
}

/* Service Centers */
.service-centers{
  background:#f6fbf6;
  padding: 70px 0 90px;
}

.service-centers-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.sc-title{
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.3px;
  color:#0b2a12;
}

.sc-sub{
  margin: 10px 0 26px;
  color:#356a41;
  font-size: 1rem;
}

.sc-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sc-card{
  background:#fff;
  border-radius: 18px;
  padding: 18px 18px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 14px 32px rgba(0,0,0,.06);
}

.sc-card h3{
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 900;
  color:#0b2a12;
}

.sc-card p{
  margin: 6px 0;
  color:#333;
  line-height: 1.55;
  font-size: .95rem;
}

.sc-card a{
  color:#0b5a2b;
  font-weight: 800;
  text-decoration:none;
}

.sc-card a:hover{ text-decoration: underline; }

@media (max-width: 980px){
  .contact-main-inner{ grid-template-columns: 1fr; }
  .sc-grid{ grid-template-columns: 1fr; }
}




/* ===== PRODUCTS PAGE: 4 CARDS PER ROW ON DESKTOP ===== */
@media (min-width: 1200px) {
  .products-inner {
    display: grid !important;
    grid-template-columns: 320px 1fr !important;
    gap: 28px !important;
    align-items: start !important;
  }

  .products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }

  .product-card {
    width: 100% !important;
    margin: 0 !important;
  }
}
