/*
Theme Name: Nuspro Solars
Theme URI: https://nusprosolars.co.za
Description: Child theme for Nuspro Solar, Electrical & Plumbing. Design polish, motion, WooCommerce and copy refinements on top of Gowilds.
Author: Nuspro Solars
Version: 1.0.0
Template: gowilds
Text Domain: nuspro
*/

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root{
  /* Brand anchors - navy from the logo, orange reserved for action */
  --nu-navy-900:#061A2E;
  --nu-navy-800:#0A2540;
  --nu-navy-700:#103A66;
  --nu-navy-600:#1B5089;

  --nu-orange:#F7921E;
  --nu-orange-600:#E07E0B;
  --nu-orange-300:#FFC178;
  --nu-orange-50:#FFF4E6;

  --nu-gold:#FFB547;
  --nu-green:#25D366;
  --nu-green-600:#1DA851;

  /* Neutrals */
  --nu-ink:#111823;
  --nu-body:#4A5568;
  --nu-muted:#718096;
  --nu-line:#E6EAF0;
  --nu-surface:#FFFFFF;
  --nu-surface-2:#F7F9FC;
  --nu-surface-3:#EEF2F7;

  /* Elevation - lifted panels, not hard borders */
  --nu-sh-xs:0 1px 2px rgba(6,26,46,.06);
  --nu-sh-sm:0 2px 8px rgba(6,26,46,.06), 0 1px 2px rgba(6,26,46,.04);
  --nu-sh-md:0 8px 24px rgba(6,26,46,.08), 0 2px 6px rgba(6,26,46,.04);
  --nu-sh-lg:0 18px 48px rgba(6,26,46,.12), 0 4px 12px rgba(6,26,46,.06);
  --nu-sh-glow:0 12px 32px rgba(247,146,30,.28);

  --nu-r-sm:10px;
  --nu-r:16px;
  --nu-r-lg:22px;
  --nu-r-pill:999px;

  --nu-ease:cubic-bezier(.22,.61,.36,1);
  --nu-ease-out:cubic-bezier(.16,1,.3,1);
}

/* ==========================================================================
   2. TYPOGRAPHY - tighter scale, better rhythm, real contrast
   ========================================================================== */
body{
  color:var(--nu-body);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-size:16px;
  line-height:1.7;
}
h1,h2,h3,h4,h5,h6,
.gsc-heading .title,
.feature-list-one__title{
  color:var(--nu-ink);
  letter-spacing:-.02em;
  line-height:1.15;
  font-weight:700;
}
h1{font-size:clamp(2.25rem,4.6vw,3.75rem);letter-spacing:-.03em;}
h2{font-size:clamp(1.85rem,3.4vw,2.9rem);}
h3{font-size:clamp(1.25rem,2vw,1.6rem);}
p{margin-bottom:1.1em;}
p:last-child{margin-bottom:0;}

/* Section eyebrow / tagline pill */
.gsc-heading .sub-title .tagline{
  display:inline-block;
  padding:.45em 1.15em;
  border-radius:var(--nu-r-pill);
  background:var(--nu-orange-50);
  color:var(--nu-orange-600);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  border:1px solid rgba(247,146,30,.22);
}
/* On dark sections the pill inverts */
.nu-dark .gsc-heading .sub-title .tagline,
.elementor-section[data-nu-dark] .gsc-heading .sub-title .tagline{
  background:rgba(247,146,30,.14);
  border-color:rgba(247,146,30,.3);
  color:var(--nu-orange-300);
}

/* ==========================================================================
   3. SECTION RHYTHM - fixes the uneven padding across the page
   ========================================================================== */
.elementor-top-section{position:relative;}
.elementor-top-section > .elementor-container{position:relative;z-index:2;}

/* Kill the dead space under the dark "Our Approach" band */
.elementor-top-section.nu-trim-bottom{padding-bottom:0 !important;}

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.btn,.button,
.elementor-button,
.gsc-button a,
input[type="submit"],
.wp-block-button__link{
  border-radius:var(--nu-r-pill) !important;
  font-weight:700 !important;
  letter-spacing:.01em;
  transition:transform .35s var(--nu-ease-out), box-shadow .35s var(--nu-ease-out), background-color .25s ease;
  will-change:transform;
}
.btn:hover,.button:hover,
.elementor-button:hover,
.gsc-button a:hover,
input[type="submit"]:hover{
  transform:translateY(-3px);
  box-shadow:var(--nu-sh-glow);
}
/* Primary accent buttons pick up a subtle gradient + sheen */
.elementor-button,
.gsc-button a,
.single_add_to_cart_button,
.button.alt{
  background-image:linear-gradient(135deg,var(--nu-orange) 0%,var(--nu-orange-600) 100%);
  position:relative;
  overflow:hidden;
}
.elementor-button::after,
.single_add_to_cart_button::after{
  content:"";
  position:absolute;
  top:0;left:-120%;
  width:60%;height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.34),transparent);
  transform:skewX(-18deg);
  transition:left .7s var(--nu-ease-out);
  pointer-events:none;
}
.elementor-button:hover::after,
.single_add_to_cart_button:hover::after{left:130%;}

/* ==========================================================================
   5. CARDS & PANELS - lifted, soft, consistent
   ========================================================================== */
.feature-list-one__single,
.gsc-icon-box-group.layout-grid .icon-box-item,
.banner-one__single,
.testimonial-item,
ul.products li.product,
.woocommerce ul.products li.product{
  border-radius:var(--nu-r);
  transition:transform .45s var(--nu-ease-out), box-shadow .45s var(--nu-ease-out);
}

/* Service grid cards */
.gsc-icon-box-group.layout-grid .icon-box-item{
  background:var(--nu-surface);
  box-shadow:var(--nu-sh-sm);
  border:1px solid var(--nu-line);
  padding:2rem 1.85rem;
  height:100%;
  position:relative;
  overflow:hidden;
}
.gsc-icon-box-group.layout-grid .icon-box-item::before{
  content:"";
  position:absolute;inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg,var(--nu-orange),var(--nu-gold));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .5s var(--nu-ease-out);
}
.gsc-icon-box-group.layout-grid .icon-box-item:hover{
  transform:translateY(-8px);
  box-shadow:var(--nu-sh-lg);
  border-color:transparent;
}
.gsc-icon-box-group.layout-grid .icon-box-item:hover::before{transform:scaleX(1);}

/* Feature list (About section) - connector line + floating icons */
.feature-list-one__icon{
  box-shadow:var(--nu-sh-md);
  transition:transform .5s var(--nu-ease-out), box-shadow .5s var(--nu-ease-out);
}
.feature-list-one__single:hover .feature-list-one__icon{
  transform:translateY(-4px) scale(1.06);
  box-shadow:var(--nu-sh-lg);
}

/* ==========================================================================
   6. BANNER CARDS ("Solar System Solutions") - the empty white boxes
   ========================================================================== */
.banner-one__single{
  position:relative;
  overflow:hidden;
  border-radius:var(--nu-r-lg);
  box-shadow:var(--nu-sh-md);
  isolation:isolate;
}
.banner-one__image{
  overflow:hidden;
  border-radius:inherit;
  aspect-ratio:3/4;
}
.banner-one__image img{
  width:100%;height:100%;
  object-fit:cover;
  transition:transform 1.1s var(--nu-ease-out), filter .6s ease;
}
.banner-one__single:hover .banner-one__image img{transform:scale(1.07);}

/* Readability scrim so captions always sit on contrast */
.banner-one__single::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(6,26,46,0) 38%,rgba(6,26,46,.18) 58%,rgba(6,26,46,.82) 100%);
  z-index:1;
  pointer-events:none;
  transition:opacity .5s ease;
}
/* Rebuild the caption plate: was a blank white slab, now a glass bar */
.banner-one__content-inner{
  position:absolute;
  left:1rem;right:1rem;bottom:1rem;
  z-index:2;
  background:rgba(255,255,255,.14);
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  backdrop-filter:blur(14px) saturate(160%);
  border:1px solid rgba(255,255,255,.26);
  border-radius:var(--nu-r);
  padding:1rem 1.15rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  min-height:0;
  transform:translateY(6px);
  opacity:.96;
  transition:transform .5s var(--nu-ease-out), background-color .4s ease;
}
.banner-one__single:hover .banner-one__content-inner{
  transform:translateY(0);
  background:rgba(255,255,255,.2);
}
/* Caption text injected by the child theme */
.nu-banner-caption{
  color:#fff;
  font-weight:700;
  font-size:1rem;
  line-height:1.3;
  letter-spacing:-.01em;
  text-shadow:0 1px 10px rgba(6,26,46,.5);
}
.nu-banner-caption small{
  display:block;
  font-weight:600;
  font-size:.75rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  opacity:.82;
  margin-top:.25rem;
}
.banner-one__content-top{margin:0;flex:0 0 auto;}
.banner-one__arrow{
  width:44px;height:44px;
  border-radius:50%;
  display:grid;place-items:center;
  background:var(--nu-orange);
  color:#fff;
  box-shadow:0 6px 18px rgba(247,146,30,.45);
  transition:transform .45s var(--nu-ease-out);
}
.banner-one__single:hover .banner-one__arrow{transform:rotate(-45deg) scale(1.08);}

/* ==========================================================================
   7. HERO - static fallback when Slider Revolution fails (mobile bug)
   ========================================================================== */
.nu-hero-fallback{
  position:relative;
  min-height:clamp(420px,72vh,640px);
  display:grid;
  align-items:center;
  background:var(--nu-navy-900);
  overflow:hidden;
}
.nu-hero-fallback__bg{
  position:absolute;inset:0;
  background-size:cover;
  background-position:center;
  transform:scale(1.08);
  will-change:transform;
}
.nu-hero-fallback::after{
  content:"";
  position:absolute;inset:0;
  background:
    radial-gradient(120% 90% at 12% 50%, rgba(6,26,46,.92) 0%, rgba(6,26,46,.62) 42%, rgba(6,26,46,.25) 70%, transparent 100%),
    linear-gradient(180deg, rgba(6,26,46,.45) 0%, rgba(6,26,46,.2) 45%, rgba(6,26,46,.72) 100%);
}
.nu-hero-fallback__inner{
  position:relative;z-index:2;
  width:min(1200px,92vw);
  margin-inline:auto;
  padding-block:3.5rem;
  color:#fff;
}
.nu-hero-fallback__eyebrow{
  display:inline-flex;align-items:center;gap:.55rem;
  padding:.5em 1.1em;
  border-radius:var(--nu-r-pill);
  background:rgba(247,146,30,.16);
  border:1px solid rgba(247,146,30,.34);
  color:var(--nu-orange-300);
  font-size:.76rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;
  margin-bottom:1.25rem;
}
.nu-hero-fallback h1{
  color:#fff;
  max-width:16ch;
  margin:0 0 1rem;
  text-shadow:0 2px 30px rgba(0,0,0,.35);
}
.nu-hero-fallback h1 em{
  font-style:normal;
  color:var(--nu-orange);
}
.nu-hero-fallback p{
  color:rgba(255,255,255,.82);
  font-size:clamp(1rem,1.5vw,1.15rem);
  max-width:52ch;
  margin-bottom:2rem;
}
.nu-hero-actions{display:flex;flex-wrap:wrap;gap:.85rem;}
.nu-btn{
  display:inline-flex;align-items:center;gap:.6rem;
  padding:1em 1.9em;
  border-radius:var(--nu-r-pill);
  font-weight:700;
  text-decoration:none;
  transition:transform .35s var(--nu-ease-out),box-shadow .35s var(--nu-ease-out);
}
.nu-btn--primary{
  background:linear-gradient(135deg,var(--nu-orange),var(--nu-orange-600));
  color:#fff;
  box-shadow:var(--nu-sh-glow);
}
.nu-btn--wa{
  background:var(--nu-green);
  color:#fff;
  box-shadow:0 12px 30px rgba(37,211,102,.32);
}
.nu-btn--ghost{
  background:rgba(255,255,255,.08);
  color:#fff;
  border:1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.nu-btn:hover{transform:translateY(-3px);}

/* Trust strip under the hero */
.nu-trust{
  background:var(--nu-navy-800);
  border-top:1px solid rgba(255,255,255,.08);
  padding:1.1rem 0;
}
.nu-trust__inner{
  width:min(1200px,92vw);margin-inline:auto;
  display:flex;flex-wrap:wrap;gap:1.5rem 2.5rem;
  justify-content:space-between;align-items:center;
}
.nu-trust__item{
  display:flex;align-items:center;gap:.65rem;
  color:rgba(255,255,255,.88);
  font-size:.88rem;font-weight:600;
}
.nu-trust__item i{color:var(--nu-orange);font-size:1.05rem;}

/* ==========================================================================
   8. MOTION - reveal on scroll, parallax, floating
   ========================================================================== */
[data-nu-reveal]{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .85s var(--nu-ease-out), transform .85s var(--nu-ease-out);
  transition-delay:var(--nu-delay,0ms);
  will-change:opacity,transform;
}
[data-nu-reveal].nu-in{opacity:1;transform:none;}

[data-nu-parallax]{will-change:transform;}

@keyframes nu-float{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-14px);}
}
@keyframes nu-float-soft{
  0%,100%{transform:translateY(0) rotate(0);}
  50%{transform:translateY(-9px) rotate(1.5deg);}
}
.nu-float{animation:nu-float 6s ease-in-out infinite;}
.nu-float--slow{animation:nu-float-soft 9s ease-in-out infinite;}
.nu-float--delay{animation-delay:-3s;}

/* Ambient glow blobs for texture on flat sections */
.nu-glow{
  position:absolute;
  border-radius:50%;
  filter:blur(90px);
  opacity:.5;
  pointer-events:none;
  z-index:0;
}
.nu-glow--orange{background:radial-gradient(circle,rgba(247,146,30,.5),transparent 70%);}
.nu-glow--navy{background:radial-gradient(circle,rgba(27,80,137,.45),transparent 70%);}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  [data-nu-reveal]{opacity:1;transform:none;}
}

/* ==========================================================================
   9. HEADER - fixes the mobile overlap
   ========================================================================== */
.wp-site-header{transition:box-shadow .3s ease, background-color .3s ease;}
.gv-sticky-menu.is-sticky,
.header-sticky.is-sticky{
  box-shadow:var(--nu-sh-md);
  -webkit-backdrop-filter:saturate(180%) blur(12px);
  backdrop-filter:saturate(180%) blur(12px);
  background:rgba(255,255,255,.92) !important;
}
@media (max-width:1024px){
  /* Stop the sticky bar from sitting on top of section headings */
  .wp-site-header{position:relative !important;z-index:99;}
  .gv-sticky-menu{position:relative !important;top:auto !important;}
  body.admin-bar .gv-sticky-menu.is-sticky{top:46px !important;}
}

/* ==========================================================================
   10. TESTIMONIALS
   ========================================================================== */
.gsc-testimonial .testimonial-item,
.gsc-testimonial .item--inner{
  border-radius:var(--nu-r-lg);
  box-shadow:var(--nu-sh-md);
  transition:transform .45s var(--nu-ease-out),box-shadow .45s var(--nu-ease-out);
}
.gsc-testimonial .swiper-slide:hover .item--inner{
  transform:translateY(-6px);
  box-shadow:var(--nu-sh-lg);
}

/* ==========================================================================
   11. WOOCOMMERCE
   ========================================================================== */
.woocommerce ul.products li.product{
  background:var(--nu-surface);
  border:1px solid var(--nu-line);
  box-shadow:var(--nu-sh-xs);
  padding:1rem 1rem 1.35rem;
  overflow:hidden;
}
.woocommerce ul.products li.product:hover{
  transform:translateY(-6px);
  box-shadow:var(--nu-sh-lg);
  border-color:transparent;
}
.woocommerce ul.products li.product img{
  border-radius:var(--nu-r-sm);
  transition:transform .6s var(--nu-ease-out);
  mix-blend-mode:multiply;
}
.woocommerce ul.products li.product:hover img{transform:scale(1.04);}
.woocommerce ul.products li.product .price{
  color:var(--nu-orange-600);
  font-weight:800;
  font-size:1.05rem;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price{
  color:var(--nu-orange-600);
  font-weight:800;
}

/* WhatsApp enquiry button sits inline with Add to Cart */
.woocommerce div.product form.cart{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.75rem;
}
.woocommerce div.product form.cart .quantity{margin:0;}
.joinchat__woo-btn__wrapper{margin:0 !important;}
.joinchat__woo-btn{
  display:inline-flex !important;
  align-items:center;
  gap:.6rem;
  background:var(--nu-green) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:var(--nu-r-pill) !important;
  padding:1em 1.75em !important;
  font-weight:700 !important;
  line-height:1 !important;
  box-shadow:0 10px 26px rgba(37,211,102,.3);
  transition:transform .35s var(--nu-ease-out),box-shadow .35s var(--nu-ease-out),background-color .25s ease;
}
.joinchat__woo-btn:hover{
  background:var(--nu-green-600) !important;
  transform:translateY(-3px);
  box-shadow:0 14px 32px rgba(37,211,102,.4);
}
@media (max-width:600px){
  .woocommerce div.product form.cart{gap:.6rem;}
  .woocommerce div.product form.cart .single_add_to_cart_button,
  .joinchat__woo-btn{width:100%;justify-content:center;text-align:center;}
  .joinchat__woo-btn__wrapper{width:100%;}
}

/* Product page: cleaner summary column */
.woocommerce div.product .product_title{margin-bottom:.4rem;}
.woocommerce div.product .woocommerce-product-details__short-description{
  color:var(--nu-body);
  padding-block:.5rem;
  border-top:1px solid var(--nu-line);
  border-bottom:1px solid var(--nu-line);
  margin-block:1.1rem;
}

/* ==========================================================================
   12. PRODUCT SLIDER SECTION (child theme shortcode)
   ========================================================================== */
.nu-products{
  position:relative;
  padding-block:clamp(3.5rem,7vw,6rem);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(247,146,30,.06), transparent 60%),
    radial-gradient(70% 50% at 0% 100%, rgba(27,80,137,.07), transparent 60%),
    var(--nu-surface-2);
  overflow:hidden;
}
.nu-products__inner{width:min(1200px,92vw);margin-inline:auto;position:relative;z-index:2;}
.nu-products__head{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:1.25rem;
  margin-bottom:2.25rem;
}
.nu-products__head h2{margin:0 0 .4rem;}
.nu-products__head p{margin:0;max-width:46ch;}
.nu-products__nav{display:flex;gap:.6rem;}
.nu-products__nav button{
  width:46px;height:46px;
  border-radius:50%;
  border:1px solid var(--nu-line);
  background:var(--nu-surface);
  color:var(--nu-ink);
  box-shadow:var(--nu-sh-sm);
  cursor:pointer;
  display:grid;place-items:center;
  transition:transform .3s var(--nu-ease-out),background-color .25s ease,color .25s ease;
}
.nu-products__nav button:hover{
  background:var(--nu-orange);
  color:#fff;
  border-color:transparent;
  transform:translateY(-2px);
}
.nu-products__nav button:disabled{opacity:.35;cursor:default;transform:none;}

.nu-track{
  display:flex;
  gap:1.25rem;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding-block:.5rem 1.25rem;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.nu-track::-webkit-scrollbar{display:none;}

.nu-card{
  flex:0 0 clamp(230px,26%,290px);
  scroll-snap-align:start;
  background:var(--nu-surface);
  border:1px solid var(--nu-line);
  border-radius:var(--nu-r-lg);
  box-shadow:var(--nu-sh-sm);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform .45s var(--nu-ease-out),box-shadow .45s var(--nu-ease-out),border-color .3s ease;
}
.nu-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--nu-sh-lg);
  border-color:transparent;
}
.nu-card__media{
  position:relative;
  aspect-ratio:1/1;
  background:var(--nu-surface-3);
  display:grid;place-items:center;
  overflow:hidden;
}
.nu-card__media img{
  width:100%;height:100%;
  object-fit:contain;
  padding:1.1rem;
  mix-blend-mode:multiply;
  transition:transform .6s var(--nu-ease-out);
}
.nu-card:hover .nu-card__media img{transform:scale(1.06);}
.nu-card__badge{
  position:absolute;top:.8rem;left:.8rem;
  padding:.35em .8em;
  border-radius:var(--nu-r-pill);
  background:var(--nu-navy-800);
  color:#fff;
  font-size:.65rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  z-index:2;
}
.nu-card__body{
  padding:1.1rem 1.15rem 1.25rem;
  display:flex;flex-direction:column;gap:.55rem;
  flex:1;
}
.nu-card__title{
  font-size:.97rem;
  font-weight:700;
  line-height:1.35;
  color:var(--nu-ink);
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.nu-card__title a{color:inherit;text-decoration:none;}
.nu-card__title a:hover{color:var(--nu-orange-600);}
.nu-card__price{
  font-weight:800;
  color:var(--nu-orange-600);
  font-size:1.05rem;
  margin-top:auto;
}
.nu-card__price del{color:var(--nu-muted);font-weight:600;font-size:.85rem;margin-right:.4rem;}
.nu-card__actions{display:flex;gap:.5rem;margin-top:.3rem;}
.nu-card__btn{
  flex:1;
  display:inline-flex;align-items:center;justify-content:center;gap:.4rem;
  padding:.7em .9em;
  border-radius:var(--nu-r-pill);
  font-size:.82rem;font-weight:700;
  text-decoration:none;
  transition:transform .3s var(--nu-ease-out),box-shadow .3s var(--nu-ease-out),background-color .25s ease;
}
.nu-card__btn--view{background:var(--nu-navy-800);color:#fff;}
.nu-card__btn--view:hover{background:var(--nu-navy-700);color:#fff;transform:translateY(-2px);}
.nu-card__btn--wa{
  background:var(--nu-green);color:#fff;
  flex:0 0 auto;padding:.7em 1em;
}
.nu-card__btn--wa:hover{background:var(--nu-green-600);color:#fff;transform:translateY(-2px);}

@media (max-width:640px){
  .nu-card{flex:0 0 76%;}
  .nu-products__nav{display:none;}
  .nu-products__head{flex-direction:column;align-items:flex-start;}
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
footer .footer-bottom,
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);}
footer a{transition:color .25s ease,transform .25s ease;}
footer .socials a,
.footer-socials a{
  transition:transform .35s var(--nu-ease-out),background-color .25s ease;
}
footer .socials a:hover,
.footer-socials a:hover{transform:translateY(-3px);background:var(--nu-orange);}

/* ==========================================================================
   14. MISC CLEANUP
   ========================================================================== */
/* Hide empty progress-bar labels left over from the demo */
.gsc-progress .progress-title:empty{display:none;}

/* Images never overflow */
img{max-width:100%;height:auto;}

/* Focus visibility for accessibility */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid var(--nu-orange);
  outline-offset:2px;
  border-radius:4px;
}

/* ==========================================================================
   15. MOBILE ACTION BAR
   Most SA traffic is on a phone. Keep call / WhatsApp / quote one tap away.
   ========================================================================== */
.nu-actionbar{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:9998;
  display:none;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--nu-line);
  box-shadow:0 -6px 24px rgba(6,26,46,.14);
  padding-bottom:env(safe-area-inset-bottom,0);
}
.nu-actionbar a{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.25rem;
  padding:.7rem .4rem;
  background:var(--nu-surface);
  color:var(--nu-ink);
  text-decoration:none;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.02em;
  transition:background-color .2s ease;
}
.nu-actionbar a svg{width:20px;height:20px;}
.nu-actionbar a.is-wa{background:var(--nu-green);color:#fff;}
.nu-actionbar a.is-quote{background:var(--nu-orange);color:#fff;}
.nu-actionbar a:active{filter:brightness(.94);}

@media (max-width:782px){
  .nu-actionbar{display:grid;}
  .joinchat{bottom:78px !important;}
  body{padding-bottom:64px;}
}

@media (max-width:600px){
  body{font-size:15px;}
  h1{font-size:clamp(1.9rem,8vw,2.4rem);}
  h2{font-size:clamp(1.5rem,6.4vw,2rem);}
  .gsc-heading .sub-title .tagline{font-size:.68rem;}
  .banner-one__image{aspect-ratio:4/5;}
  .nu-trust__inner{gap:.75rem 1.25rem;}
  .nu-trust__item{font-size:.8rem;}
}

/* ==========================================================================
   16. LATE FIXES
   ========================================================================== */

/* Product pages are Elementor-built, so there is no div.product wrapper.
   Target the Gowilds widget markup so Add to Cart and the WhatsApp button
   actually sit on one row. */
.product-item-add-to-cart form.cart,
.gowilds-gva-product-item-add-to-cart form.cart,
.woocommerce div.product form.cart{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.75rem;
}
.product-item-add-to-cart form.cart .quantity,
.gowilds-gva-product-item-add-to-cart form.cart .quantity{margin:0;}
.product-item-add-to-cart .joinchat__woo-btn__wrapper,
.gowilds-gva-product-item-add-to-cart .joinchat__woo-btn__wrapper{
  margin:0 !important;
  display:inline-flex !important;
}

@media (max-width:600px){
  .product-item-add-to-cart form.cart .single_add_to_cart_button,
  .gowilds-gva-product-item-add-to-cart form.cart .single_add_to_cart_button{
    flex:1 1 100%;
    justify-content:center;
  }
  .product-item-add-to-cart .joinchat__woo-btn__wrapper,
  .gowilds-gva-product-item-add-to-cart .joinchat__woo-btn__wrapper{width:100%;}
}

/* Slider Revolution lays its text out at a fixed width, which overflows the
   viewport on phones. Keep it inside the screen. */
@media (max-width:782px){
  sr7-module, rs-module, .rev_slider{max-width:100vw !important;overflow:hidden !important;}
  sr7-txt, .tp-caption{
    max-width:88vw !important;
    white-space:normal !important;
    word-break:break-word;
  }
}

/* Trust strip reads better as two columns on a phone than one tall stack. */
@media (max-width:782px){
  .nu-trust__inner{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:.7rem 1rem;
  }
  .nu-trust__item{font-size:.76rem;align-items:flex-start;}
  .nu-trust__item:last-child{grid-column:1 / -1;}
}

/* ==========================================================================
   17. CASCADE + SHOP GRID
   ========================================================================== */

/* The parent theme wins the cascade on the cart form, so force the row. */
.product-item-add-to-cart form.cart,
.gowilds-gva-product-item-add-to-cart form.cart,
.woocommerce div.product form.cart{display:flex !important;}

/* Gowilds renders the shop archive as .product-block, not ul.products li.product,
   so the card styling above never reached the shop grid. */
.products_wrapper .product-block{
  background:var(--nu-surface);
  border:1px solid var(--nu-line);
  border-radius:var(--nu-r);
  box-shadow:var(--nu-sh-xs);
  overflow:hidden;
  transition:transform .45s var(--nu-ease-out), box-shadow .45s var(--nu-ease-out), border-color .3s ease;
}
.products_wrapper .product-block:hover{
  transform:translateY(-6px);
  box-shadow:var(--nu-sh-lg);
  border-color:transparent;
}
.products_wrapper .product-block .product-thumbnail{
  overflow:hidden;
  background:var(--nu-surface-3);
}
.products_wrapper .product-block .product-thumbnail img{
  transition:transform .6s var(--nu-ease-out);
  mix-blend-mode:multiply;
}
.products_wrapper .product-block:hover .product-thumbnail img{transform:scale(1.05);}
.products_wrapper .product-block .price{
  color:var(--nu-orange-600);
  font-weight:800;
}
.products_wrapper .product-block .add_to_cart_button,
.products_wrapper .product-block .button{
  border-radius:var(--nu-r-pill) !important;
  font-weight:700 !important;
}

/* The action bar already carries WhatsApp on phones, so the floating bubble
   is redundant there and collides with the hero buttons. */
@media (max-width:782px){
  .joinchat{display:none !important;}
  body{padding-bottom:64px;}
}

/* ==========================================================================
   18. LOGO
   512px source rendered at 145px (90px sticky) - scale it up so the brand
   actually reads, and let the header row grow to fit.
   ========================================================================== */
.site-branding-logo img,
.gva-logo img,
.gsc-logo img{
  width:auto !important;
  max-width:100% !important;
  height:auto !important;
  max-height:190px !important;
  transition:max-height .3s var(--nu-ease);
}
.site-branding-logo,
.gva-logo,
.gsc-logo{ line-height:0; }
.is-sticky .site-branding-logo img,
.is-sticky .gva-logo img,
.is-sticky .gsc-logo img{ max-height:118px !important; }
.wp-site-header .elementor-column,
.wp-site-header .elementor-widget-wrap{ overflow:visible; }
@media (max-width:1024px){
  .site-branding-logo img,
  .gva-logo img,
  .gsc-logo img{ max-height:140px !important; }
  .is-sticky .site-branding-logo img,
  .is-sticky .gva-logo img,
  .is-sticky .gsc-logo img{ max-height:100px !important; }
}
@media (max-width:600px){
  .site-branding-logo img,
  .gva-logo img,
  .gsc-logo img{ max-height:112px !important; }
}

/* ==========================================================================
   19. LOGO SIZE (corrected) + PACKAGE IMAGERY
   ========================================================================== */
.site-branding-logo img,
.gva-logo img,
.gsc-logo img{
  width:auto !important;
  height:185px !important;
  max-width:100% !important;
  object-fit:contain;
}
.is-sticky .site-branding-logo img,
.is-sticky .gva-logo img,
.is-sticky .gsc-logo img{ height:115px !important; }
@media (max-width:1024px){
  .site-branding-logo img,
  .gva-logo img,
  .gsc-logo img{ height:150px !important; }
  .is-sticky .site-branding-logo img,
  .is-sticky .gva-logo img,
  .is-sticky .gsc-logo img{ height:100px !important; }
}
@media (max-width:600px){
  .site-branding-logo img,
  .gva-logo img,
  .gsc-logo img{ height:118px !important; }
}
.nu-card__media,
.products_wrapper .product-block .product-thumbnail{ background:#fff; }
.nu-card__media img,
.products_wrapper .product-block .product-thumbnail img,
.woocommerce ul.products li.product img{ mix-blend-mode:normal; }
.nu-card__media img{ padding:0; object-fit:cover; }
.nu-card__media{ aspect-ratio:4/5; }

/* Section 18's max-height caps section 19's explicit height - release it. */
.site-branding-logo img,
.gva-logo img,
.gsc-logo img,
.is-sticky .site-branding-logo img,
.is-sticky .gva-logo img,
.is-sticky .gsc-logo img{ max-height:none !important; }
@media (max-width:1024px){
  .site-branding-logo img,
  .gva-logo img,
  .gsc-logo img{ height:170px !important; }
}
@media (max-width:600px){
  .site-branding-logo img,
  .gva-logo img,
  .gsc-logo img{ height:118px !important; }
}

/* ==========================================================================
   20. LOGO — the real fix
   The Gowilds logo widget is pinned to width:90px, so every earlier height
   rule just letterboxed a 512×512 square into a 90px-wide box (object-fit
   contain) — 90px of visible mark with dead space above and below. Release
   the width the whole way up the chain, then size the mark itself.
   ========================================================================== */
.wp-site-header .elementor-widget-gva-logo,
.wp-site-header .elementor-widget-gva-logo .elementor-widget-container,
.wp-site-header .gva-element-gva-logo,
.wp-site-header .gsc-logo,
.wp-site-header .site-branding-logo,
.gva-element-gva-logo,
.gsc-logo,
.site-branding-logo{
  width:auto !important;
  max-width:none !important;
  overflow:visible !important;
}

.site-branding-logo img,
.gva-logo img,
.gsc-logo img{
  height:195px !important;
  width:auto !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:contain;
}

/* Sticky header stays compact so scrolling doesn't eat the screen */
.is-sticky .site-branding-logo img,
.is-sticky .gva-logo img,
.is-sticky .gsc-logo img{ height:95px !important; }

@media (max-width:1024px){
  .site-branding-logo img,
  .gva-logo img,
  .gsc-logo img{ height:155px !important; }
  .is-sticky .site-branding-logo img,
  .is-sticky .gva-logo img,
  .is-sticky .gsc-logo img{ height:85px !important; }
}
@media (max-width:600px){
  .site-branding-logo img,
  .gva-logo img,
  .gsc-logo img{ height:115px !important; }
}

/* ==========================================================================
   21. CATEGORY SHORTCUTS
   ========================================================================== */
.nu-cats{
  position:relative;
  padding-block:clamp(3rem,6vw,5rem);
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(27,80,137,.06), transparent 60%),
    var(--nu-surface);
  overflow:hidden;
}
.nu-cats__inner{width:min(1200px,92vw);margin-inline:auto;position:relative;z-index:2;}
.nu-cats__head{max-width:56ch;margin-bottom:2.25rem;}
.nu-cats__head h2{margin:.4rem 0 .5rem;}
.nu-cats__head p{margin:0;}

.nu-cats__grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(178px,1fr));
  gap:1rem;
}

.nu-cat{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.55rem;
  padding:1.35rem 1.25rem;
  border-radius:var(--nu-r);
  background:var(--nu-surface);
  border:1px solid var(--nu-line);
  box-shadow:var(--nu-sh-xs);
  text-decoration:none;
  position:relative;
  overflow:hidden;
  transition:transform .4s var(--nu-ease-out), box-shadow .4s var(--nu-ease-out), border-color .3s ease;
}
.nu-cat::before{
  content:"";
  position:absolute;inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg,var(--nu-orange),var(--nu-gold));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .45s var(--nu-ease-out);
}
.nu-cat:hover{
  transform:translateY(-6px);
  box-shadow:var(--nu-sh-lg);
  border-color:transparent;
}
.nu-cat:hover::before{transform:scaleX(1);}

.nu-cat__icon{
  width:46px;height:46px;
  border-radius:12px;
  display:grid;place-items:center;
  background:var(--nu-orange-50);
  color:var(--nu-orange-600);
  font-size:1.1rem;
  transition:background-color .3s ease,color .3s ease,transform .4s var(--nu-ease-out);
}
.nu-cat:hover .nu-cat__icon{
  background:var(--nu-orange);
  color:#fff;
  transform:translateY(-2px) scale(1.05);
}
.nu-cat__name{
  font-weight:700;
  color:var(--nu-ink);
  font-size:.98rem;
  line-height:1.3;
  letter-spacing:-.01em;
}
.nu-cat__count{
  font-size:.78rem;
  font-weight:600;
  color:var(--nu-muted);
  letter-spacing:.02em;
}

/* Packages tile leads the grid */
.nu-cat--featured{
  background:linear-gradient(140deg,var(--nu-navy-800),var(--nu-navy-700));
  border-color:transparent;
  box-shadow:var(--nu-sh-md);
}
.nu-cat--featured .nu-cat__name{color:#fff;}
.nu-cat--featured .nu-cat__count{color:rgba(255,255,255,.75);}
.nu-cat--featured .nu-cat__icon{
  background:rgba(255,255,255,.14);
  color:var(--nu-orange-300);
}
.nu-cat--featured:hover .nu-cat__icon{background:var(--nu-orange);color:#fff;}

@media (max-width:600px){
  .nu-cats__grid{grid-template-columns:repeat(2,1fr);gap:.7rem;}
  .nu-cat{padding:1.1rem .95rem;}
  .nu-cat__icon{width:40px;height:40px;font-size:1rem;}
  .nu-cat__name{font-size:.9rem;}
}
