/*
Theme Name: Kadence Child
Template: kadence
Version: 1.0
*/

/* =========================
   GLOBAL STYLES
========================= */

.invenza-size-guide {
    margin-top: 14px;
    font-weight: 600;
    font-size: 14px;
}

.invenza-size-guide a {
    color: #000;
    text-decoration: underline;
}

/* =========================
   INVENZA GLOBAL CONTAINER
========================= */

.invenza-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   KADENCE RESET (IMPORTANT)
========================= */

.kt-row-column-wrap {
  padding: 0 !important;
}

.kt-inside-inner-col {
  padding: 0 !important;
}

.wp-block-kadence-rowlayout {
  max-width: 100% !important;
}

/* =========================
   HERO SECTION
========================= */

.invenza-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://invenza.co.uk/wp-content/uploads/2026/03/ChatGPT-Image-Mar-19-2026-07_11_22-PM.png') center/cover no-repeat;
}

/* Overlay (controls darkness cleanly) */
.invenza-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.75)
  );
}

/* Inner content */
.invenza-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 0;
}

/* =========================
   TYPOGRAPHY
========================= */

.invenza-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: #ffffff;
}

.invenza-hero p {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 600px;
  margin: 0;
  opacity: 0.85;
  color: #e5e5e5;
}

/* Trust line */
.hero-trust {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  color: #cccccc;
}

/* =========================
   CTA BUTTON
========================= */

.cta-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #7a0f0f, #b91c1c);
  transition: all 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(185, 28, 28, 0.3);
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media (max-width: 768px) {
  .invenza-hero {
    min-height: 70vh;
  }

  .invenza-hero-inner {
    padding: 60px 0;
    gap: 12px;
  }

  .invenza-hero p {
    max-width: 90%;
  }
}

/* =========================
   TRUST BAR
========================= */

.invenza-trust-bar {
  background: #0e0e0e;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
	backdrop-filter: blur(6px);
}

/* Grid layout */
.trust-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  gap: 20px;
}

/* Individual item */
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e5e5e5;
  font-size: 13px;
  opacity: 0.9;
}

/* Icons */
.trust-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.9;
}

/* Text */
.trust-item span {
  line-height: 1.4;
}

.trust-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .trust-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
  }

  .trust-item {
    justify-content: center;
    text-align: center;
  }
}

/* =========================
   FEATURED PRODUCTS SECTION (FINAL)
========================= */

.invenza-products {
  position: relative;
  padding: 80px 0;
  background: #0b0b0b !important;
}

/* Force background in case Kadence overrides */
.invenza-products::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0b0b0b;
  z-index: -1;
}

/* =========================
   SECTION TITLE
========================= */

.invenza-section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* =========================
   GRID LAYOUT
========================= */

.invenza-product-grid ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  background: transparent !important;
}

/* =========================
   PRODUCT CARD BASE
========================= */

.invenza-product-grid li.product {
  list-style: none;
  position: relative;
  background: transparent !important;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.35s ease;
}

/* =========================
   IMAGE + LINK WRAP
========================= */

.invenza-product-grid li.product a {
  display: block;
  position: relative;
  text-decoration: none;
}

.invenza-product-grid li.product img {
  width: 100%;
  display: block;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

/* =========================
   OVERLAY EFFECT
========================= */

.invenza-product-grid li.product a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: 0.35s ease;
  border-radius: 10px;
}

/* =========================
   CENTER CTA
========================= */

.invenza-product-grid li.product::before {
  content: "View Product";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 10px);
  padding: 12px 22px;
  background: linear-gradient(135deg, #7a0f0f, #b91c1c);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  opacity: 0;
  transition: 0.3s ease;
  z-index: 3;
  pointer-events: none;
}

/* =========================
   HOVER INTERACTIONS
========================= */

.invenza-product-grid li.product:hover img {
  transform: scale(1.08);
}

.invenza-product-grid li.product:hover a::after {
  background: rgba(0,0,0,0.45);
}

.invenza-product-grid li.product:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.invenza-product-grid li.product:hover {
  transform: translateY(-6px);
}

/* =========================
   TEXT STYLING (FORCED)
========================= */

.invenza-product-grid,
.invenza-product-grid * {
  color: inherit;
}

.invenza-product-grid li.product h2,
.invenza-product-grid li.product .woocommerce-loop-product__title {
  font-size: 14px;
  margin: 12px 0 6px;
  color: #e5e5e5 !important;
  font-weight: 500;
}

.invenza-product-grid li.product .price {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff !important;
}

/* =========================
   REMOVE DEFAULT WOO ELEMENTS
========================= */

.invenza-product-grid .button,
.invenza-product-grid .added_to_cart,
.invenza-product-grid .star-rating,
.invenza-product-grid .onsale {
  display: none !important;
}

/* =========================
   FADE-IN ANIMATION
========================= */

.invenza-product-grid li.product {
  opacity: 0;
  transform: translateY(10px);
  animation: invenzaFade 0.6s ease forwards;
}

.invenza-product-grid li.product:nth-child(2) { animation-delay: 0.1s; }
.invenza-product-grid li.product:nth-child(3) { animation-delay: 0.2s; }
.invenza-product-grid li.product:nth-child(4) { animation-delay: 0.3s; }

@keyframes invenzaFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 1024px) {
  .invenza-product-grid ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .invenza-products {
    padding: 60px 0;
  }

  .invenza-product-grid ul.products {
    gap: 16px;
  }

  /* Disable hover UI on mobile */
  .invenza-product-grid li.product::before,
  .invenza-product-grid li.product a::after {
    display: none;
  }

  .invenza-product-grid li.product {
    transform: none !important;
  }
}

/* =========================
   FIX WHITE PRODUCT CONTENT BOX
========================= */

.invenza-product-grid li.product .woocommerce-loop-product__title,
.invenza-product-grid li.product h2,
.invenza-product-grid li.product .price {
  background: transparent !important;
}

/* Force parent wrappers to be transparent */
.invenza-product-grid li.product .woocommerce-LoopProduct-link,
.invenza-product-grid li.product .product-details,
.invenza-product-grid li.product .content-wrap,
.invenza-product-grid li.product .card-content {
  background: transparent !important;
  padding: 0 !important;
}

/* NUCLEAR OPTION (guaranteed fix) */
.invenza-product-grid li.product * {
  background-color: transparent !important;
}

/* Eyebrow label */
.invenza-eyebrow {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 8px;
  color: #cccccc;
}

/* Subtext */
.invenza-subtext {
  text-align: center;
  font-size: 14px;
  opacity: 0.75;
  margin-bottom: 30px;
  color: #bbbbbb;
}

/* =========================
   BRAND STORY SECTION
========================= */

.invenza-story {
  padding: 100px 0;
  background: #0b0b0b;
}

/* GRID */
.invenza-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* IMAGE */
.invenza-story-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* CONTENT */
.invenza-story-content {
  max-width: 520px;
}

/* EYEBROW */
.invenza-story .invenza-eyebrow {
  text-align: left;
  margin-bottom: 10px;
}

/* TITLE */
.invenza-story h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* TEXT */
.invenza-story-text {
  font-size: 15px;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 16px;
}

/* LINK */
.invenza-story-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  position: relative;
}

.invenza-story-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #b91c1c;
  transition: width 0.3s ease;
  margin-top: 4px;
}

.invenza-story-link:hover::after {
  width: 100%;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
  .invenza-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .invenza-story-content {
    max-width: 100%;
    text-align: center;
  }

  .invenza-story .invenza-eyebrow {
    text-align: center;
  }
}

/* =========================
   FINAL CTA SECTION
========================= */

.invenza-cta {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://invenza.co.uk/wp-content/uploads/2026/03/Tactical-gaming-setup-with-dice.png') center/cover no-repeat;
  text-align: center;
}

/* Dark overlay (cinematic look) */
.invenza-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.8)
  );
}

/* Content */
.invenza-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 60px 0;
}

/* Title */
.invenza-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

/* Text */
.invenza-cta-text {
  font-size: 16px;
  color: #d1d1d1;
  opacity: 0.9;
  margin: 0;
}

/* Reuse CTA button from hero */
.cta-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #7a0f0f, #b91c1c);
  transition: all 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(185, 28, 28, 0.3);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .invenza-cta {
    min-height: 50vh;
  }

  .invenza-cta-inner {
    padding: 40px 0;
  }

  .invenza-cta-text {
    font-size: 14px;
  }
}

/* Store notice bar */
.woocommerce-store-notice {
  background: #0f0f0f;
  color: #cccccc;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Link inside */
.woocommerce-store-notice a {
  color: #ffffff;
  text-decoration: underline;
}

/* =========================
   HEADER CTA BUTTON (KADENCE FIX)
========================= */

a.button.header-button {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, #7a0f0f, #b91c1c);
  color: #ffffff !important;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  transition: all 0.25s ease;
}

/* Hover */
a.button.header-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.3);
  color: #ffffff !important;
}

/* Remove Kadence defaults */
a.button.header-button.button-style-filled {
  background: linear-gradient(135deg, #7a0f0f, #b91c1c) !important;
}

/* Optional glow upgrade */
a.button.header-button:hover {
  box-shadow: 0 0 12px rgba(185, 28, 28, 0.4),
              0 8px 20px rgba(185, 28, 28, 0.3);
}

/* =========================
   PRODUCT PAGE V2 (SAFE)
========================= */

/* Base */
.single-product {
  background: #0b0b0b;
  color: #ffffff;
}

.single-product .site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px;
}

/* Add breathing room between columns */
.single-product div.product {
  gap: 50px;
}

/* =========================
   IMAGE
========================= */

.woocommerce-product-gallery img {
  border-radius: 10px;
}

/* =========================
   PRODUCT INFO
========================= */

.single-product .summary {
  padding-left: 10px;
  max-width: 520px;
}

/* Title */
.single-product h1.product_title {
  font-size: 32px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

/* Price */
.single-product .price {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Description */
.single-product .woocommerce-product-details__short-description {
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Bullet styling */
.invenza-bullets {
  margin: 16px 0;
  padding-left: 18px;
  color: #bbbbbb;
}

.invenza-bullets li {
  margin-bottom: 6px;
}

/* =========================
   VARIATIONS
========================= */

.single-product form.cart {
  margin-top: 24px;
}

.single-product select {
  width: 100%;
  padding: 10px;
  background: #111;
  color: #fff;
  border: 1px solid #222;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* =========================
   CTA BUTTON
========================= */

.single-product button.single_add_to_cart_button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #7a0f0f, #b91c1c);
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  font-size: 15px;
  transition: 0.25s ease;
}

.single-product button.single_add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(185, 28, 28, 0.3);
}

/* =========================
   TRUST BLOCK
========================= */

.invenza-product-trust {
  margin-top: 16px;
  font-size: 13px;
  color: #aaaaaa;
  line-height: 1.6;
}

/* =========================
   META (LOW PRIORITY INFO)
========================= */

.single-product .product_meta {
  margin-top: 20px;
  font-size: 12px;
  color: #666;
}

/* =========================
   TABS CLEANUP
========================= */

.woocommerce-tabs ul.tabs {
  border-bottom: 1px solid #222;
}

.woocommerce-tabs ul.tabs li a {
  color: #999;
}

.woocommerce-tabs ul.tabs li.active a {
  color: #ffffff;
}

/* =========================
   REMOVE CLUTTER
========================= */

.single-product .woocommerce-product-rating,
.single-product .related.products,
.single-product .upsells.products {
  display: none;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .single-product .site-main {
    padding: 50px 16px;
  }

  .single-product h1.product_title {
    font-size: 26px;
  }

  .single-product .summary {
    max-width: 100%;
  }
}

/* =========================
   FORCE DARK PRODUCT PAGE
========================= */

/* Main background */
body.single-product,
.single-product .content-bg,
.single-product .site,
.single-product .site-main {
  background: #0b0b0b !important;
  color: #ffffff !important;
}

/* Inner wrappers (Kadence containers) */
.single-product .entry-content-wrap,
.single-product .content-container,
.single-product .site-container {
  background: transparent !important;
}

/* =========================
   TEXT VISIBILITY FIX
========================= */

.single-product h1,
.single-product h2,
.single-product h3,
.single-product p,
.single-product span,
.single-product div {
  color: #e5e5e5 !important;
}

/* Price stronger */
.single-product .price {
  color: #ffffff !important;
}

/* =========================
   DROPDOWN (VARIATIONS) FIX
========================= */

.single-product select {
  background: #111 !important;
  color: #ffffff !important;
  border: 1px solid #333 !important;
}

/* Dropdown options */
.single-product select option {
  background: #111 !important;
  color: #ffffff !important;
}

/* Fix browser autofill weirdness */
.single-product select:focus {
  outline: none;
  border-color: #555 !important;
}

/* =========================
   INPUTS (QUANTITY ETC)
========================= */

.single-product input,
.single-product textarea {
  background: #111 !important;
  color: #ffffff !important;
  border: 1px solid #333 !important;
}

/* =========================
   BUTTON TEXT FIX
========================= */

.single-product button,
.single-product .button {
  color: #ffffff !important;
}

/* =========================
   LINKS
========================= */

.single-product a {
  color: #ffffff;
}

.single-product a:hover {
  color: #cccccc;
}

/* Disable zoom overlay (fix LCP) */
.zoomImg {
  display: none !important;
}

/* Ensure main product image is stable */
.woocommerce-product-gallery__wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Reserve space for images */
.woocommerce-product-gallery {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* Prevent content jumping */
.single-product .summary {
  min-height: 400px;
}

.woocommerce-product-gallery img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.woocommerce div.product div.images img.wp-post-image {
    width: 100%;
    max-width: 700px;
    height: auto;
}

.invenza-product-image {
  width: 100%;
  max-width: 700px;
}

.invenza-product-image img {
  width: 100%;
  height: auto;
  display: block;
}
