/*
Theme Name: GeneratePress Child
Theme URI: https://infinifootball.com
Description: Child theme for GeneratePress. Custom CSS for InfiniFootball.
Author: InfiniFootball
Template: generatepress
Version: 1.0.0
Text Domain: generatepress-child
*/

/* ================================
   VARIABLES
================================ */

:root {
  --if-bg: #050608;
  --if-bg-soft: #07100a;
  --if-card: #10161a;
  --if-white: #f6f7f8;
  --if-muted: #a9b1b7;
  --if-green: #b6ff3b;
  --if-green-hover: #d6ff7a;
  --if-line: rgba(255,255,255,.10);
  --if-line-2: rgba(255,255,255,.12);

  /* Compatibility with existing homepage/front-page CSS */
  --green: var(--if-green);
  --muted: var(--if-muted);
  --white: var(--if-white);
}

/* ================================
   BASE / RESET
================================ */

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  background: var(--if-bg) !important;
  color: var(--if-white);
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  text-decoration: none;
}

img,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

.site-info {
  display: none !important;
}

/* ================================
   GENERATEPRESS / HOMEPAGE RESET
================================ */

body.home,
body.home #page,
body.home .site,
body.home .site-content,
body.home .content-area,
body.home .site-main,
body.home main,
body.home article,
body.home .inside-article,
body.home .entry-content,
body.home .wp-block-post-content,
body.home .infini-home,
body.home .page-wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  background: var(--if-bg) !important;
}

body.home .site-content {
  display: block !important;
}

body.home .content-area {
  width: 100% !important;
  float: none !important;
}

body.home .widget-area,
body.home .is-left-sidebar,
body.home .is-right-sidebar,
body.home #left-sidebar,
body.home #right-sidebar,
body.home .entry-header,
body.home .page-header,
body.home .wp-block-post-title,
body.home .wp-block-site-title,
body.home .wp-block-site-tagline {
  display: none !important;
}

body.home .page-wrap {
  background:
    radial-gradient(circle at 20% -10%, rgba(182,255,59,.22), transparent 32%),
    radial-gradient(circle at 95% 0%, rgba(55,167,255,.16), transparent 34%),
    linear-gradient(180deg, var(--if-bg) 0%, var(--if-bg-soft) 42%, var(--if-bg) 100%) !important;
}

body.home .container,
.infini-container {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ================================
   ANNOUNCEMENT BAR
================================ */

.infini-announcement {
  width: 100%;
  padding: 10px 14px;
  background: var(--if-green);
  color: #071005;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

/* ================================
   HEADER
================================ */

.infini-header {
  position: sticky;
  top: 0;
  z-index: 999;
  overflow: visible;
  border-bottom: 1px solid var(--if-line);
  background: rgba(5,6,8,.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.infini-nav {
  width: min(1180px, calc(100% - 32px));
  height: 86px !important;
  margin-left: auto;
  margin-right: auto;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 22px !important;
}

.infini-logo {
  width: auto !important;
  max-width: 280px !important;
  height: 78px !important;
  overflow: hidden !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  color: var(--if-white);
  text-decoration: none !important;
}

.infini-logo:hover {
  color: var(--if-white);
}

.infini-logo-img {
  width: auto !important;
  height: 68px !important;
  max-width: 280px !important;
  max-height: 68px !important;
  display: block !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.infini-logo-text,
.infini-logo-mark {
  display: none !important;
}

.infini-menu {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 28px !important;
}

.infini-menu a {
  color: var(--if-muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: color .18s ease;
}

.infini-menu a:hover {
  color: var(--if-white);
}

.infini-header-actions {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.infini-shop-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--if-green) !important;
  color: #071005 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(182,255,59,.2);
  transition: transform .18s ease, box-shadow .18s ease;
}

.infini-shop-btn:hover {
  color: #071005 !important;
  background: var(--if-green) !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(182,255,59,.28);
}

/* Header cart */
.infini-cart,
.infini-header-cart {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid var(--if-line-2);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--if-white) !important;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease;
}

.infini-cart {
  padding: 0 !important;
  overflow: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.infini-header-cart {
  display: inline-grid;
  place-items: center;
}

.infini-cart:hover,
.infini-header-cart:hover {
  color: var(--if-white) !important;
  background: rgba(255,255,255,.10);
}

.infini-header-cart:hover {
  transform: translateY(-1px);
}

.infini-cart-icon,
.infini-header-cart-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.infini-cart-icon svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
}

.infini-header-cart-icon {
  font-size: 18px;
}

.infini-cart-count,
.infini-header-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  z-index: 20;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border: 2px solid var(--if-bg);
  border-radius: 999px;
  background: var(--if-green);
  color: #071005;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.infini-cart-count:empty,
.infini-cart-count.is-empty,
.infini-header-cart-count:empty {
  display: none !important;
}

/* ================================
   MOBILE MENU
================================ */

.infini-menu-toggle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border: 1px solid var(--if-line-2);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--if-white);
  display: none;
  place-items: center;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.infini-menu-toggle:hover {
  color: var(--if-white);
  background: rgba(255,255,255,.1);
}

.infini-menu-toggle span {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  display: block;
  background: transparent;
  color: var(--if-white);
  line-height: 1;
  opacity: 1;
  transform: none;
}

.infini-mobile-menu {
  display: none;
}

/* ================================
   HERO
================================ */

.hero-full-bleed {
  position: relative !important;
  min-height: clamp(560px, 82vh, 780px) !important;
  margin: 0 0 34px 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: var(--if-bg) !important;
}

.hero-bg-layer {
  position: absolute !important;
  inset: 0 !important;
  z-index: -3 !important;
  width: 100% !important;
  height: 100% !important;
  background-image: url("https://infinifootball.com/wp-content/uploads/2026/06/NewYorkPopUpMay2024-13-scaled-e1731696403614.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.hero-bg-layer::after {
  content: "" !important;
  display: none !important;
}

.hero-left-shade {
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
  background:
    linear-gradient(90deg, rgba(5,6,8,.97) 0%, rgba(5,6,8,.88) 28%, rgba(5,6,8,.56) 50%, rgba(5,6,8,.20) 72%, rgba(5,6,8,.08) 100%),
    linear-gradient(180deg, rgba(5,6,8,.08) 0%, rgba(5,6,8,.16) 56%, rgba(5,6,8,.82) 100%) !important;
}

.hero-full-bleed::before,
.hero-full-bleed::after {
  display: none !important;
  content: none !important;
}

.hero-full-grid {
  width: min(1180px, calc(100% - 32px)) !important;
  min-height: inherit !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  position: relative !important;
  z-index: 2 !important;
}

.hero-content {
  width: min(680px, 100%) !important;
  max-width: 680px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.hero-full-bleed .eyebrow,
.hero-full-bleed .hero-trust-line,
.hero-full-bleed .hero-proof,
.hero-full-bleed .btn-dark {
  display: none !important;
}

.hero-full-bleed h1 {
  max-width: 720px !important;
  margin: 0 !important;
  color: var(--if-white) !important;
  font-size: clamp(50px, 8vw, 96px) !important;
  line-height: .88 !important;
  letter-spacing: -.07em !important;
  text-transform: uppercase !important;
  text-shadow: 0 5px 30px rgba(0,0,0,.72) !important;
}

.hero-full-bleed .hero-copy {
  max-width: 560px !important;
  margin: 18px 0 26px !important;
  color: #e4e9ec !important;
  font-size: clamp(15px, 1.45vw, 18px) !important;
  line-height: 1.58 !important;
  text-shadow: 0 3px 24px rgba(0,0,0,.75) !important;
}

.hero-full-bleed .hero-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}

.hero-full-bleed .hero-actions .btn-primary {
  width: auto !important;
  min-width: 240px !important;
  min-height: 54px !important;
  padding: 0 34px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--if-green) !important;
  color: #071005 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 18px 42px rgba(182,255,59,.26) !important;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease !important;
}

.hero-full-bleed .hero-actions .btn-primary:hover {
  background: var(--if-green-hover) !important;
  color: #071005 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 50px rgba(182,255,59,.34) !important;
}

/* Optional desktop: show full hero image instead of cropping */
@media (min-width: 821px) {
  .hero-full-bleed.show-full-desktop-image .hero-bg-layer {
    background-size: contain !important;
    background-position: center center !important;
    background-color: var(--if-bg) !important;
  }
}

/* ================================
   FOOTER
================================ */

.infini-footer {
  padding: 34px 0 30px;
  border-top: 1px solid var(--if-line);
  background: var(--if-bg);
  color: var(--if-muted);
}

.infini-footer-grid {
  display: grid;
  gap: 18px;
}

.infini-footer p {
  margin: 12px 0 0;
  color: var(--if-muted);
  line-height: 1.55;
}

.infini-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.infini-footer-links a {
  color: var(--if-white);
  font-weight: 800;
  text-decoration: none;
}

.infini-footer-links a:hover {
  color: var(--if-green);
}

/* ================================
   CART PAGE
================================ */

body.woocommerce-cart,
body.woocommerce-cart #page,
body.woocommerce-cart .site,
body.woocommerce-cart .site-content,
body.woocommerce-cart .content-area,
body.woocommerce-cart .site-main,
body.woocommerce-cart article,
body.woocommerce-cart .inside-article,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .woocommerce {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: var(--if-bg) !important;
}

body.woocommerce-cart .inside-article,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .woocommerce {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.woocommerce-cart .entry-header,
body.woocommerce-cart .page-header,
body.woocommerce-cart .entry-title {
  display: none !important;
}

.infini-cart-page {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* ================================
   WOOCOMMERCE NOTICES
================================ */

.woocommerce-notices-wrapper {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto !important;
}

.woocommerce-message {
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--if-white) !important;
  box-shadow: none !important;
}

.woocommerce-message::before,
.woocommerce-message .button,
.woocommerce-message a.button {
  display: none !important;
}

.infini-added-notice,
body .woocommerce .woocommerce-info,
body .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-order-pay .woocommerce-info,
.woocommerce-checkout .woocommerce-info {
  border: 1px solid rgba(182,255,59,.24) !important;
  border-radius: 22px !important;
  background: radial-gradient(circle at 8% 20%, rgba(182,255,59,.16), transparent 34%), rgba(255,255,255,.06) !important;
  color: var(--if-white) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.30) !important;
}

.infini-added-notice {
  width: 100%;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.infini-added-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--if-green);
  color: #071005;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 0 0 6px rgba(182,255,59,.10);
}

.infini-added-content {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
}

.infini-added-content strong {
  color: var(--if-white);
  font-size: 15px;
  font-weight: 900;
}

.infini-added-content span {
  color: var(--if-muted);
  font-size: 13px;
  line-height: 1.35;
}

.infini-added-cart-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--if-green);
  color: #071005 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
  white-space: nowrap;
}

.infini-added-cart-btn:hover {
  background: var(--if-green-hover);
  color: #071005 !important;
}

body .woocommerce .woocommerce-info,
body .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-order-pay .woocommerce-info,
.woocommerce-checkout .woocommerce-info {
  position: relative !important;
  width: min(1180px, calc(100% - 32px)) !important;
  margin: 18px auto 22px !important;
  padding: 16px 18px 16px 62px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

body .woocommerce .woocommerce-info::before,
body .woocommerce-info::before,
.woocommerce-notices-wrapper .woocommerce-info::before,
.woocommerce-order-pay .woocommerce-info::before,
.woocommerce-checkout .woocommerce-info::before {
  content: "!" !important;
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: var(--if-green) !important;
  color: #071005 !important;
  display: grid !important;
  place-items: center !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  transform: translateY(-50%) !important;
}

body .woocommerce .woocommerce-info a,
body .woocommerce-info a,
.woocommerce-notices-wrapper .woocommerce-info a {
  color: var(--if-green) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  margin: 0 0 18px !important;
  padding: 16px 18px !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
  display: none !important;
  content: none !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info .showcoupon {
  color: var(--if-green) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(182,255,59,.55) !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info .showcoupon:hover {
  color: var(--if-green-hover) !important;
}

/* ================================
   PRODUCT GRID / CATEGORY CARDS
================================ */

.infini-product-card {
  max-width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

.infini-products-grid {
  align-items: start !important;
}

.infini-products-grid .infini-product-card {
  max-width: 300px !important;
}

.infini-product-media {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: block !important;
  border-radius: 28px 28px 0 0 !important;
  background: var(--if-card) !important;
}

.infini-product-media img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.infini-product-info {
  margin: 0 !important;
  padding: 16px !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,.055) !important;
  display: block !important;
}

.infini-product-title,
.infini-product-desc,
.infini-price-row,
.infini-product-card .button {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

.infini-product-card .button {
  display: flex !important;
}

/* ================================
   VERSION CARDS
================================ */

.if-version-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.if-version-card {
  position: relative !important;
  min-height: 50px !important;
  height: auto !important;
  padding: 10px 14px !important;
  border: 1px solid var(--if-line-2) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.045) !important;
  color: var(--if-white) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.if-version-card:hover {
  background: rgba(255,255,255,.075) !important;
  border-color: rgba(182,255,59,.38) !important;
}

.if-version-card.is-active {
  border-color: var(--if-green) !important;
  background: rgba(182,255,59,.10) !important;
  color: var(--if-green) !important;
  box-shadow: 0 0 0 2px rgba(182,255,59,.12) !important;
}

.if-version-card strong {
  width: 100% !important;
  margin: 0 !important;
  display: block !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: .01em !important;
  text-align: center !important;
}

.if-version-card > span,
.if-version-card em {
  display: none !important;
}

/* ================================
   HOMEPAGE COMPONENT FIXES
================================ */

.hero-actions .btn-primary,
.hero-actions .btn-primary:visited,
.hero-actions .btn-primary:hover,
.hero-actions .btn-primary:focus {
  color: #071005 !important;
}

.if-section-title,
.if-bundle-top h2,
.if-extra-content h2,
.if-modal h2,
.infini-home h1,
.infini-home h2,
.infini-home h3,
.infini-home .section-title,
.infini-home .category-card h3,
.infini-home .product-info h3,
.infini-home .bundle h2,
.infini-home .benefit-card h3,
.infini-home .look-card h3,
.infini-home .email-box h2,
.infini-home summary,
.infini-home .section-kicker,
.infini-home .eyebrow,
.infini-home .section-link,
.infini-home .category-cta,
.infini-home .quick-pill,
.infini-home .btn,
.infini-home .mini-cart {
  font-weight: 900 !important;
}

.if-section-title,
.if-bundle-top h2,
.if-extra-content h2,
.if-modal h2 {
  color: var(--if-white) !important;
  text-shadow: 0 2px 0 rgba(0,0,0,.22) !important;
}

/* Best sellers */
.infini-home .product-scroll {
  align-items: stretch;
}

.infini-home .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.infini-home .product-media {
  padding: 0 !important;
  aspect-ratio: 1 / 1;
  min-height: 0 !important;
  overflow: hidden;
}

.infini-home .product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.infini-home .product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px !important;
}

.infini-home .product-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
}

.infini-home .product-info h3 {
  min-height: 48px;
}

.infini-home .product-info p {
  min-height: 58px;
  margin-bottom: 14px !important;
}

.infini-home .price-row {
  margin-top: auto;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px;
  align-items: stretch !important;
}

.infini-home .price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.infini-home .price del {
  color: rgba(246,247,248,.45);
  font-size: 14px;
  font-weight: 800;
}

.infini-home .price ins {
  text-decoration: none;
}

.infini-home .price-row .mini-cart,
.infini-home .product-card .button,
.infini-home .product-card .add_to_cart_button,
.infini-home .product-card .product_type_variable {
  width: 100% !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: var(--if-green) !important;
  color: #071005 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  white-space: normal !important;
}

/* Reviews */
.infini-home .reviews {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
}

.infini-home .review-card {
  min-height: 230px !important;
  padding: 22px !important;
  border: 1px solid var(--if-line) !important;
  border-radius: 26px !important;
  background: radial-gradient(circle at 15% 0%, rgba(182,255,59,.10), transparent 32%), linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)) !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.28) !important;
}

.infini-home .review-head,
.infini-home .review-person,
.infini-home .review-foot {
  display: flex !important;
  align-items: center !important;
}

.infini-home .review-head {
  justify-content: space-between !important;
  gap: 14px !important;
  margin-bottom: 16px !important;
}

.infini-home .review-person {
  gap: 12px !important;
  min-width: 0 !important;
}

.infini-home .review-avatar {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 auto !important;
  border-radius: 50% !important;
  background: var(--if-green) !important;
  color: #071005 !important;
  display: grid !important;
  place-items: center !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

.infini-home .review-name {
  color: var(--if-white) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.infini-home .review-location {
  margin-top: 3px !important;
  color: var(--if-muted) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.infini-home .rating {
  margin: 0 !important;
  color: var(--if-green) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: -1px !important;
  white-space: nowrap !important;
}

.infini-home .review-card p {
  flex: 1 !important;
  margin: 0 0 18px !important;
  color: #e5eaed !important;
  font-size: 14px !important;
  line-height: 1.62 !important;
}

.infini-home .review-foot {
  margin-top: auto !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.infini-home .review-product {
  color: var(--if-muted) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.infini-home .review-badge {
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: var(--if-green) !important;
  color: #071005 !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

.infini-home .reviews .review-card.is-hidden {
  display: none !important;
}

.infini-home .reviews.is-expanded .review-card.is-hidden {
  display: flex !important;
}

.infini-home .reviews-action {
  margin-top: 24px !important;
  display: flex !important;
  justify-content: center !important;
}

.infini-home .reviews-toggle {
  min-height: 50px !important;
  padding: 0 26px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--if-green) !important;
  color: #071005 !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  cursor: pointer !important;
  box-shadow: 0 16px 40px rgba(182,255,59,.22) !important;
}

/* ================================
   TRANSLATEPRESS / SPANISH FIXES
================================ */

.infini-home h1,
.infini-home .section-title,
.infini-home .bundle h2,
.infini-home .email-box h2 {
  max-width: 100% !important;
  text-wrap: balance;
  overflow-wrap: normal;
}

html[lang^="es"] .infini-home .hero h1 {
  font-size: clamp(38px, 8.5vw, 88px) !important;
  line-height: .92 !important;
  letter-spacing: -.055em !important;
}

html[lang^="es"] .infini-home .hero-copy {
  max-width: 560px !important;
  font-size: 15px !important;
}

html[lang^="es"] .infini-home .section-title {
  max-width: 900px !important;
  font-size: clamp(40px, 5.8vw, 76px) !important;
  line-height: .9 !important;
  letter-spacing: -.055em !important;
}

html[lang^="es"] .infini-home .category-card {
  min-height: 460px !important;
  overflow: hidden !important;
}

html[lang^="es"] .infini-home .category-content {
  min-height: 120px !important;
}

html[lang^="es"] .infini-home .category-card h3 {
  max-width: 100% !important;
  margin-bottom: 8px !important;
  font-size: clamp(20px, 1.55vw, 25px) !important;
  line-height: .98 !important;
  letter-spacing: -.04em !important;
  white-space: normal !important;
  overflow: visible !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

html[lang^="es"] .infini-home .category-card p {
  max-width: 100% !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
}

html[lang^="es"] .infini-home .category-image {
  margin-top: auto !important;
}

html[lang^="es"] .infini-home .category-cta {
  margin-top: 12px !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}

/* ================================
   CATEGORY / SHOP SORT DROPDOWN
================================ */

body.tax-product_cat .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering {
  position: relative !important;
  width: 100% !important;
  max-width: 380px !important;
  margin: 0 !important;
}

body.tax-product_cat .woocommerce-ordering select,
body.post-type-archive-product .woocommerce-ordering select {
  width: 100% !important;
  height: 58px !important;
  padding: 0 46px 0 18px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 999px !important;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035)) !important;
  color: var(--if-white) !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

body.tax-product_cat .woocommerce-ordering::after,
body.post-type-archive-product .woocommerce-ordering::after {
  content: "⌄";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-58%);
  color: var(--if-green);
  font-size: 20px;
  font-weight: 900;
  pointer-events: none;
}

body.tax-product_cat .woocommerce-ordering select:hover,
body.post-type-archive-product .woocommerce-ordering select:hover {
  border-color: rgba(182,255,59,.35) !important;
}

body.tax-product_cat .woocommerce-ordering select:focus,
body.post-type-archive-product .woocommerce-ordering select:focus {
  border-color: var(--if-green) !important;
  box-shadow: 0 0 0 3px rgba(182,255,59,.12) !important;
}

body.tax-product_cat .woocommerce-ordering select option,
body.post-type-archive-product .woocommerce-ordering select option {
  background: var(--if-card) !important;
  color: var(--if-white) !important;
  font-weight: 700 !important;
}

body.tax-product_cat .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count {
  margin: 0 !important;
  color: var(--if-muted) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body.tax-product_cat .woocommerce .woocommerce-ordering,
body.post-type-archive-product .woocommerce .woocommerce-ordering {
  float: none !important;
}

/* ================================
   RESPONSIVE
================================ */

@media (min-width: 721px) {
  .infini-footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .infini-home .reviews {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .infini-container,
  .infini-nav,
  body.home .container,
  .infini-home .container {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
  }

  .infini-nav {
    height: 76px !important;
  }

  .infini-logo {
    max-width: 240px !important;
    height: 68px !important;
  }

  .infini-logo-img {
    height: 58px !important;
    max-height: 58px !important;
    max-width: 240px !important;
  }

  .infini-shop-btn,
  .infini-menu {
    display: none !important;
  }

  .infini-header-actions {
    gap: 8px !important;
  }

  /* Mobile menu toggle sizing is handled in the final fixed menu block. */

  /* Mobile menu panel styles are handled in the final fixed menu block. */

  .hero-full-bleed {
    min-height: 780px !important;
    margin-bottom: 34px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-bg-layer {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    height: 74% !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center top !important;
  }

  .hero-bg-layer::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: -1px !important;
    height: 76% !important;
    background: linear-gradient(180deg, rgba(5,6,8,0) 0%, rgba(5,6,8,.10) 28%, rgba(5,6,8,.38) 52%, rgba(5,6,8,.78) 76%, var(--if-bg) 100%) !important;
    pointer-events: none !important;
  }

  .hero-left-shade {
    background: linear-gradient(180deg, rgba(5,6,8,0) 0%, rgba(5,6,8,0) 55%, rgba(5,6,8,.18) 66%, rgba(5,6,8,.60) 76%, var(--if-bg) 86%, var(--if-bg) 100%) !important;
  }

  .hero-full-grid {
    width: min(1180px, calc(100% - 24px)) !important;
    min-height: auto !important;
    padding: 0 0 46px !important;
    align-items: flex-end !important;
    justify-content: center !important;
    z-index: 5 !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: 470px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .hero-full-bleed h1 {
    max-width: 100% !important;
    font-size: clamp(25px, 7.2vw, 32px) !important;
    line-height: .96 !important;
    letter-spacing: -.052em !important;
    text-align: center !important;
    text-shadow: 0 4px 30px rgba(0,0,0,.92) !important;
  }

  .hero-full-bleed .hero-copy {
    max-width: 90% !important;
    margin: 10px auto 16px !important;
    font-size: 12px !important;
    line-height: 1.42 !important;
    text-align: center !important;
    text-shadow: 0 3px 26px rgba(0,0,0,.92) !important;
  }

  .hero-full-bleed .hero-actions {
    justify-content: center !important;
  }

  .hero-full-bleed .hero-actions .btn-primary {
    min-width: 220px !important;
    min-height: 48px !important;
    padding: 0 30px !important;
    border-radius: 15px !important;
    font-size: 14px !important;
  }

  .infini-home .hero-grid,
  .infini-home .hero-grid > *,
  .infini-home .hero-actions,
  .infini-home .hero-proof,
  .infini-home .quick-strip,
  .infini-home .category-grid,
  .infini-home .product-scroll,
  .infini-home .reviews,
  .infini-home .lookbook,
  .infini-home .bundle,
  .infini-home .email-box {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .woocommerce-notices-wrapper,
  body .woocommerce .woocommerce-info,
  body .woocommerce-info,
  .woocommerce-notices-wrapper .woocommerce-info {
    width: calc(100% - 32px) !important;
  }

  .infini-added-notice {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 15px;
    gap: 12px;
  }

  .infini-added-content {
    flex: 1 1 calc(100% - 60px);
  }

  .infini-added-cart-btn {
    width: 100%;
    margin-top: 10px;
  }

  body.tax-product_cat .woocommerce-ordering,
  body.post-type-archive-product .woocommerce-ordering {
    max-width: 100% !important;
    margin-top: 14px !important;
  }

  body.tax-product_cat .woocommerce-ordering select,
  body.post-type-archive-product .woocommerce-ordering select {
    height: 52px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 430px) {
  .infini-nav {
    height: 72px !important;
  }

  .infini-logo {
    max-width: 210px !important;
    height: 64px !important;
  }

  .infini-logo-img {
    height: 54px !important;
    max-height: 54px !important;
    max-width: 210px !important;
  }

  .infini-header-actions {
    gap: 6px !important;
  }

  .infini-cart,
  .infini-menu-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  .hero-full-bleed {
    min-height: 740px !important;
    margin-bottom: 30px !important;
  }

  .hero-bg-layer {
    height: 73% !important;
  }

  .hero-bg-layer::after {
    height: 50% !important;
    background: linear-gradient(180deg, rgba(5,6,8,0) 0%, rgba(5,6,8,.12) 30%, rgba(5,6,8,.42) 55%, rgba(5,6,8,.82) 78%, var(--if-bg) 100%) !important;
  }

  .hero-left-shade {
    background: linear-gradient(180deg, rgba(5,6,8,0) 0%, rgba(5,6,8,0) 56%, rgba(5,6,8,.20) 68%, rgba(5,6,8,.64) 78%, var(--if-bg) 87%, var(--if-bg) 100%) !important;
  }

  .hero-full-grid {
    padding-bottom: 42px !important;
  }

  .hero-full-bleed h1 {
    font-size: clamp(24px, 7vw, 31px) !important;
  }

  .hero-full-bleed .hero-copy {
    max-width: 90% !important;
    font-size: 11.8px !important;
  }

  .hero-full-bleed .hero-actions .btn-primary {
    min-width: 210px !important;
    min-height: 46px !important;
  }
}

@media (max-width: 380px) {
  body.home .container,
  .infini-container,
  .infini-nav {
    width: calc(100% - 24px) !important;
  }

  .infini-menu-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}


/* ================================
   FINAL MOBILE HORIZONTAL OVERFLOW FIX
   Stops right-side black sliding space
================================ */

@media (max-width: 820px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overscroll-behavior-x: none !important;
  }

  body {
    position: relative !important;
  }

  #page,
  .site,
  .site-content,
  .content-area,
  .site-main,
  main,
  article,
  .inside-article,
  .entry-content,
  .infini-home,
  .page-wrap,
  .infini-header,
  .infini-footer {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .container,
  .infini-container,
  .infini-nav,
  .hero-full-grid,
  .infini-home .container {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-full-bleed,
  .hero-bg-layer,
  .hero-left-shade {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .infini-home *,
  .infini-header *,
  .infini-footer * {
    max-width: 100%;
    box-sizing: border-box !important;
  }

  img,
  video,
  iframe,
  svg {
    max-width: 100% !important;
  }

  /* Product carousel and reviews are intentionally excluded here so they can swipe horizontally. */
  .quick-strip,
  .category-grid,
  .lookbook,
  .hero-actions,
  .hero-proof,
  .bundle,
  .email-box {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .trp-language-switcher,
  .trp-language-switcher-container {
    max-width: calc(100vw - 24px) !important;
    right: 12px !important;
    left: auto !important;
  }
}

/* =========================================================
   FRONT PAGE PRODUCT CAROUSEL MOBILE SWIPE FIX
   Keeps the page locked while Best Sellers scrolls horizontally
========================================================= */

@media (max-width: 820px) {
  body.home .infini-home .product-scroll,
  body.home .product-scroll,
  .infini-home .product-scroll {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 0 !important;

    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    touch-action: pan-x !important;

    padding: 2px 0 14px !important;
    scrollbar-width: none !important;
  }

  body.home .infini-home .product-scroll::-webkit-scrollbar,
  body.home .product-scroll::-webkit-scrollbar,
  .infini-home .product-scroll::-webkit-scrollbar {
    display: none !important;
  }

  body.home .infini-home .product-scroll > .product-card,
  body.home .product-scroll > .product-card,
  .infini-home .product-scroll > .product-card {
    flex: 0 0 82% !important;
    width: 82% !important;
    max-width: 82% !important;
    min-width: 250px !important;
    scroll-snap-align: start !important;
  }
}

@media (max-width: 430px) {
  body.home .infini-home .product-scroll > .product-card,
  body.home .product-scroll > .product-card,
  .infini-home .product-scroll > .product-card {
    flex-basis: 86% !important;
    width: 86% !important;
    max-width: 86% !important;
    min-width: 235px !important;
  }
}

/* =========================================================
   PRODUCT REVIEW PROOF + NAME / NUMBER CUSTOMIZER
   Clean single source of truth
========================================================= */

.if-review-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(182,255,59,.18);
  border-radius: 16px;
  background: rgba(182,255,59,.07);
}

.if-review-proof img {
  width: 82px;
  height: auto;
  display: block;
}

.if-review-proof span {
  color: #e8edf0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

/* Keep the external "4. Add name & number" step title */
.if-name-number-step {
  padding-top: 14px !important;
  border-top: 1px solid var(--if-line) !important;
}

.if-name-number-step .if-native-cart,
.if-name-number-step .if-native-cart form.cart {
  width: 100% !important;
  max-width: 100% !important;
}

/* Hide old personalization UI if old markup is still cached */
#ifPersonalizeBox,
#ifPersonalizeToggle,
.if-personalize-box,
.if-personalize-main,
.if-personalize-fields {
  display: none !important;
}

/* Customizer module inserted inside WooCommerce form */
.if-summary-panel form.cart .if-player-customizer,
.if-summary-panel .woocommerce-variation-add-to-cart .if-player-customizer,
.if-summary-panel .if-player-customizer {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.035) !important;
  overflow: hidden !important;
}

.if-player-customizer,
.if-player-customizer * {
  box-sizing: border-box !important;
  max-width: 100% !important;
}

/* Internal header removed from PHP; hide it if cache/plugin outputs it */
.if-player-customizer .if-customizer-head {
  display: none !important;
}

/* Tabs */
.if-custom-tabs {
  width: calc(100% - 28px) !important;
  max-width: calc(100% - 28px) !important;
  margin: 14px 14px 10px !important;
  padding: 4px !important;
  border-radius: 14px !important;
  background: rgba(5,6,8,.55) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 6px !important;
  overflow: hidden !important;
}

.if-custom-tab {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: transparent !important;
  color: var(--if-muted) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12.5px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  cursor: pointer !important;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease !important;
}

.if-custom-tab.is-active {
  background: var(--if-green) !important;
  color: #071005 !important;
  box-shadow: 0 10px 24px rgba(182,255,59,.16) !important;
}

/* Panels */
.if-custom-panel {
  display: none !important;
  width: 100% !important;
  padding: 0 14px 14px !important;
  overflow: hidden !important;
}

.if-custom-panel.is-active {
  display: block !important;
}

/* Select + inputs */
.if-player-select,
.if-custom-input-grid input {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 48px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 14px !important;
  background-color: rgba(5,6,8,.48) !important;
  color: var(--if-white) !important;
  padding: 0 13px !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  outline: 0 !important;
}

.if-player-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  padding-right: 38px !important;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--if-green) 50%),
    linear-gradient(135deg, var(--if-green) 50%, transparent 50%) !important;
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 13px) 21px !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;
}

.if-player-select:focus,
.if-custom-input-grid input:focus {
  border-color: var(--if-green) !important;
  box-shadow: 0 0 0 3px rgba(182,255,59,.10) !important;
}

.if-custom-input-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 96px !important;
  gap: 10px !important;
  overflow: hidden !important;
}

.if-custom-note {
  margin: 8px 2px 0 !important;
  color: var(--if-muted) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
}

/* Patches */
.if-patch-option {
  width: calc(100% - 28px) !important;
  max-width: calc(100% - 28px) !important;
  margin: 0 14px 14px !important;
  padding: 12px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 15px !important;
  background: rgba(5,6,8,.34) !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  cursor: pointer !important;
}

.if-patch-option:hover {
  border-color: rgba(182,255,59,.28) !important;
  background: rgba(182,255,59,.045) !important;
}

.if-check-ui {
  position: relative !important;
  width: 20px !important;
  height: 20px !important;
}

.if-check-ui input {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
}

.if-check-ui i {
  width: 20px !important;
  height: 20px !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 7px !important;
  background: rgba(255,255,255,.045) !important;
  display: block !important;
}

.if-check-ui input:checked + i {
  background: var(--if-green) !important;
  border-color: var(--if-green) !important;
}

.if-check-ui input:checked + i::after {
  content: "✓" !important;
  width: 20px !important;
  height: 20px !important;
  color: #071005 !important;
  display: grid !important;
  place-items: center !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.if-patch-option strong {
  display: block !important;
  color: var(--if-white) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
}

.if-patch-option small {
  display: block !important;
  margin-top: 3px !important;
  color: var(--if-muted) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1.3 !important;
}

.if-patch-option b {
  color: var(--if-green) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

/* WooCommerce add-to-cart row after customizer */
.if-summary-panel .woocommerce-variation-add-to-cart,
.if-summary-panel form.cart:not(.variations_form) {
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: center !important;
}

.if-summary-panel .quantity {
  grid-column: 1 !important;
  width: 76px !important;
  min-width: 0 !important;
}

.if-summary-panel .quantity input.qty {
  width: 76px !important;
  min-width: 0 !important;
  min-height: 54px !important;
  border-radius: 16px !important;
}

.if-summary-panel .single_add_to_cart_button {
  grid-column: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 56px !important;
  border-radius: 16px !important;
}

.if-buy-now {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  border-radius: 16px !important;
}

/* Mobile */
@media (max-width: 520px) {
  .if-review-proof {
    align-items: flex-start !important;
  }

  .if-review-proof img {
    width: 76px !important;
  }

  .if-summary-panel form.cart .if-player-customizer,
  .if-summary-panel .woocommerce-variation-add-to-cart .if-player-customizer,
  .if-summary-panel .if-player-customizer {
    border-radius: 16px !important;
  }

  .if-custom-tabs {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin: 10px 12px 10px !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 5px !important;
  }

  .if-custom-tab {
    min-height: 38px !important;
    padding: 0 6px !important;
    font-size: 11.5px !important;
  }

  .if-custom-panel {
    padding: 0 12px 12px !important;
  }

  .if-custom-input-grid {
    grid-template-columns: minmax(0, 1fr) 74px !important;
    gap: 8px !important;
  }

  .if-custom-input-grid input {
    min-height: 44px !important;
    padding: 0 11px !important;
    font-size: 12px !important;
  }

  .if-patch-option {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin: 0 12px 12px !important;
  }

  .if-custom-note {
    font-size: 10.5px !important;
    line-height: 1.35 !important;
  }

  .if-summary-panel .woocommerce-variation-add-to-cart,
  .if-summary-panel form.cart:not(.variations_form) {
    grid-template-columns: 1fr !important;
  }

  .if-summary-panel .quantity,
  .if-summary-panel .quantity input.qty,
  .if-summary-panel .single_add_to_cart_button {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}


/* =========================================================
   FRONT PAGE REVIEWS MOBILE SLIDER + SHOW MORE FIX
   Keeps page overflow locked while reviews swipe horizontally
========================================================= */

@media (max-width: 820px) {
  body.home .infini-home .reviews,
  body.home .reviews,
  .infini-home .reviews {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(260px, 86%) !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 0 !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    touch-action: pan-x !important;
    padding-bottom: 10px !important;
    scrollbar-width: none !important;
  }
  body.home .infini-home .reviews::-webkit-scrollbar,
  body.home .reviews::-webkit-scrollbar,
  .infini-home .reviews::-webkit-scrollbar {
    display: none !important;
  }
  body.home .infini-home .reviews .review-card,
  body.home .reviews .review-card,
  .infini-home .reviews .review-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    scroll-snap-align: start !important;
  }
  body.home .infini-home .reviews .review-card.is-hidden,
  body.home .reviews .review-card.is-hidden,
  .infini-home .reviews .review-card.is-hidden {
    display: none !important;
  }
  body.home .infini-home .reviews.is-expanded .review-card.is-hidden,
  body.home .reviews.is-expanded .review-card.is-hidden,
  .infini-home .reviews.is-expanded .review-card.is-hidden {
    display: flex !important;
  }
}

/* =========================================================
   OPTIONAL BADGE - PRODUCT STEP 4
========================================================= */

.if-option-heading-inline {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.if-option-heading-inline h3 {
  margin: 0 !important;
}

.if-optional-badge {
  flex: 0 0 auto !important;
  min-height: 26px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(182,255,59,.24) !important;
  border-radius: 999px !important;
  background: rgba(182,255,59,.10) !important;
  color: var(--if-green) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

@media (max-width: 520px) {
  .if-option-heading-inline {
    align-items: center !important;
  }

  .if-optional-badge {
    min-height: 24px !important;
    padding: 0 9px !important;
    font-size: 9.5px !important;
  }
}

/* =========================================================
   PRODUCT SOCIAL PROOF CARD
========================================================= */

.if-social-proof-card {
  margin: 0 0 16px !important;
  padding: 12px !important;
  border: 1px solid rgba(182,255,59,.18) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(182,255,59,.12), transparent 36%),
    rgba(255,255,255,.045) !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: 14px !important;
}

.if-social-proof-main {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
}

.if-social-proof-main img {
  width: 82px !important;
  height: auto !important;
  flex: 0 0 auto !important;
  display: block !important;
}

.if-social-proof-main strong {
  display: block !important;
  color: var(--if-white) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
}

.if-social-proof-main span {
  display: block !important;
  margin-top: 3px !important;
  color: var(--if-muted) !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

.if-sold-proof {
  min-width: 84px !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  background: rgba(182,255,59,.12) !important;
  border: 1px solid rgba(182,255,59,.18) !important;
  text-align: center !important;
}

.if-sold-proof strong {
  display: block !important;
  color: var(--if-green) !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.if-sold-proof span {
  display: block !important;
  margin-top: 4px !important;
  color: var(--if-muted) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

@media (max-width: 520px) {
  .if-social-proof-card {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .if-social-proof-main img {
    width: 76px !important;
  }

  .if-sold-proof {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  .if-sold-proof span {
    margin-top: 0 !important;
  }
}

/* =========================================================
   THANK YOU / ORDER RECEIVED PAGE
========================================================= */

body.woocommerce-order-received,
body.woocommerce-order-received #page,
body.woocommerce-order-received .site,
body.woocommerce-order-received .site-content,
body.woocommerce-order-received .content-area,
body.woocommerce-order-received .site-main,
body.woocommerce-order-received article,
body.woocommerce-order-received .inside-article,
body.woocommerce-order-received .entry-content,
body.woocommerce-order-received .woocommerce {
  background: #050608 !important;
  color: #f6f7f8 !important;
}

body.woocommerce-order-received .inside-article,
body.woocommerce-order-received .entry-content {
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-order-received .entry-header,
body.woocommerce-order-received .page-header,
body.woocommerce-order-received .entry-title {
  display: none !important;
}

body.woocommerce-order-received .woocommerce-order {
  width: min(980px, calc(100% - 28px)) !important;
  margin: 0 auto !important;
  padding: 42px 0 70px !important;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received {
  margin: 0 0 22px !important;
  padding: 24px !important;
  border: 1px solid rgba(182,255,59,.22) !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(182,255,59,.16), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035)) !important;
  color: #f6f7f8 !important;
  font-size: clamp(26px, 6vw, 46px) !important;
  font-weight: 950 !important;
  line-height: .95 !important;
  letter-spacing: -.05em !important;
  text-transform: uppercase !important;
}

body.woocommerce-order-received ul.woocommerce-order-overview,
body.woocommerce-order-received .woocommerce-order-overview {
  margin: 0 0 24px !important;
  padding: 18px !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.055) !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  list-style: none !important;
}

body.woocommerce-order-received .woocommerce-order-overview li {
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 16px !important;
  background: rgba(5,6,8,.34) !important;
  color: #a9b1b7 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
}

body.woocommerce-order-received .woocommerce-order-overview li strong {
  margin-top: 6px !important;
  color: #f6f7f8 !important;
  display: block !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
  text-transform: none !important;
}

body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title,
body.woocommerce-order-received h2,
body.woocommerce-order-received h3 {
  margin: 30px 0 14px !important;
  color: #f6f7f8 !important;
  font-size: clamp(24px, 5vw, 38px) !important;
  font-weight: 950 !important;
  line-height: .95 !important;
  letter-spacing: -.045em !important;
  text-transform: uppercase !important;
}

body.woocommerce-order-received table.shop_table,
body.woocommerce-order-received .woocommerce-table {
  width: 100% !important;
  margin: 0 0 24px !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.055) !important;
  color: #f6f7f8 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
}

body.woocommerce-order-received table.shop_table th,
body.woocommerce-order-received table.shop_table td,
body.woocommerce-order-received .woocommerce-table th,
body.woocommerce-order-received .woocommerce-table td {
  padding: 16px !important;
  border-color: rgba(255,255,255,.09) !important;
  color: #f6f7f8 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body.woocommerce-order-received table.shop_table th,
body.woocommerce-order-received .woocommerce-table th {
  color: #a9b1b7 !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.woocommerce-order-received table.shop_table tfoot th,
body.woocommerce-order-received table.shop_table tfoot td {
  font-weight: 950 !important;
}

body.woocommerce-order-received table.shop_table tfoot tr:last-child th,
body.woocommerce-order-received table.shop_table tfoot tr:last-child td {
  color: #b6ff3b !important;
  font-size: 18px !important;
}

body.woocommerce-order-received .woocommerce-table__product-name a,
body.woocommerce-order-received table.shop_table a {
  color: #37a7ff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body.woocommerce-order-received .wc-item-meta,
body.woocommerce-order-received .wc-item-meta li,
body.woocommerce-order-received .wc-item-meta p,
body.woocommerce-order-received .woocommerce-table__product-name small,
body.woocommerce-order-received .product-quantity {
  color: #a9b1b7 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

body.woocommerce-order-received .wc-item-meta {
  margin-top: 8px !important;
  padding-left: 0 !important;
  list-style: none !important;
}

body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .woocommerce-order-details {
  color: #f6f7f8 !important;
}

body.woocommerce-order-received address {
  padding: 18px !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.055) !important;
  color: #dce3e7 !important;
  font-style: normal !important;
  line-height: 1.6 !important;
}

body.woocommerce-order-received address p,
body.woocommerce-order-received address br {
  color: #dce3e7 !important;
}

body.woocommerce-order-received .button,
body.woocommerce-order-received a.button,
body.woocommerce-order-received button.button {
  min-height: 48px !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #b6ff3b !important;
  color: #071005 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  text-decoration: none !important;
}

body.woocommerce-order-received .trp-language-switcher,
body.woocommerce-order-received .trp-language-switcher-container {
  z-index: 9999 !important;
}

@media (max-width: 720px) {
  body.woocommerce-order-received .woocommerce-order {
    width: min(100% - 24px, 980px) !important;
    padding: 28px 0 54px !important;
  }

  body.woocommerce-order-received .woocommerce-thankyou-order-received {
    padding: 20px !important;
    border-radius: 22px !important;
    font-size: clamp(25px, 9vw, 38px) !important;
  }

  body.woocommerce-order-received ul.woocommerce-order-overview,
  body.woocommerce-order-received .woocommerce-order-overview {
    grid-template-columns: 1fr !important;
    padding: 14px !important;
  }

  body.woocommerce-order-received table.shop_table th,
  body.woocommerce-order-received table.shop_table td,
  body.woocommerce-order-received .woocommerce-table th,
  body.woocommerce-order-received .woocommerce-table td {
    padding: 13px 12px !important;
    font-size: 13px !important;
  }

  body.woocommerce-order-received table.shop_table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

@media (min-width: 900px) {
  body.woocommerce-order-received ul.woocommerce-order-overview,
  body.woocommerce-order-received .woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  body.woocommerce-order-received .woocommerce-order-overview li {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 14px !important;
    border-right: 0 !important;
    border-left: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  body.woocommerce-order-received .woocommerce-order-overview__order {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.woocommerce-order-received .woocommerce-order-overview__date {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  body.woocommerce-order-received .woocommerce-order-overview__total {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  body.woocommerce-order-received .woocommerce-order-overview__payment-method {
    grid-column: 4 !important;
    grid-row: 1 !important;
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  body.woocommerce-order-received ul.woocommerce-order-overview,
  body.woocommerce-order-received .woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.woocommerce-order-received .woocommerce-order-overview li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    border-right: 0 !important;
  }
}

@media (max-width: 639px) {
  body.woocommerce-order-received ul.woocommerce-order-overview,
  body.woocommerce-order-received .woocommerce-order-overview {
    grid-template-columns: 1fr !important;
  }

  body.woocommerce-order-received .woocommerce-order-overview li {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    border-right: 0 !important;
  }
}

/* =========================================================
   FINAL MOBILE MENU FIX
========================================================= */

@media (max-width: 820px) {
  .infini-header,
  .infini-header *,
  .infini-nav {
    overflow: visible !important;
  }

  .infini-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 999999 !important;
  }

  .infini-menu-toggle {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    display: grid !important;
    position: relative !important;
    z-index: 1000001 !important;
  }

  .infini-mobile-menu {
    position: fixed !important;
    top: 86px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    z-index: 1000000 !important;
    display: block !important;
    max-height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 22px !important;
    background: #050608 !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.65) !important;
    transition: max-height .25s ease, opacity .2s ease, visibility .2s ease !important;
  }

  .infini-mobile-menu.is-open,
  body.infini-menu-open .infini-mobile-menu {
    max-height: calc(100vh - 110px) !important;
    overflow-y: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .infini-mobile-menu a {
    display: block !important;
    width: 100% !important;
    padding: 17px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    background: #050608 !important;
    color: #f6f7f8 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
  }

  .infini-mobile-menu a:last-child {
    border-bottom: 0 !important;
  }

  .infini-mobile-menu a:hover {
    color: #b6ff3b !important;
  }
}

@media (max-width: 430px) {
  .infini-menu-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  .infini-mobile-menu {
    top: 82px !important;
  }
}

/* =========================================================
   MOBILE MENU - SHOP NOW BUTTON FIX
========================================================= */

@media (max-width: 820px) {
  .infini-mobile-menu .infini-mobile-shop-btn {
    width: calc(100% - 40px) !important;
    min-height: 52px !important;
    margin: 18px 20px 20px !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #b6ff3b !important;
    color: #071005 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 16px 38px rgba(182,255,59,.22) !important;
  }

  .infini-mobile-menu .infini-mobile-shop-btn:hover {
    background: #d6ff7a !important;
    color: #071005 !important;
  }
}

/* =========================================================
   IMAGE PATCH SELECTOR
========================================================= */

.if-patch-image-box {
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 14px !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.035) !important;
}

.if-patch-image-head {
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.if-patch-image-head span {
  color: var(--if-white) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

.if-patch-image-head strong {
  min-height: 24px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: rgba(182,255,59,.12) !important;
  color: var(--if-green) !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.if-patch-image-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.if-patch-image-card {
  display: block !important;
  cursor: pointer !important;
}

.if-patch-image-card input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.if-patch-image-ui {
  width: 100% !important;
  min-height: 98px !important;
  padding: 10px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 16px !important;
  background: rgba(5,6,8,.42) !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.if-patch-image-card:hover .if-patch-image-ui {
  border-color: rgba(182,255,59,.28) !important;
  background: rgba(182,255,59,.05) !important;
  transform: translateY(-1px) !important;
}

.if-patch-image-card input:checked + .if-patch-image-ui {
  border-color: var(--if-green) !important;
  background: rgba(182,255,59,.09) !important;
  box-shadow: 0 0 0 2px rgba(182,255,59,.10) !important;
}

.if-patch-image-thumb {
  width: 60px !important;
  height: 60px !important;
  flex: 0 0 60px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.06) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.if-patch-image-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.if-patch-image-thumb-empty,
.if-patch-image-fallback {
  color: var(--if-muted) !important;
  font-size: 20px !important;
  font-weight: 900 !important;
}

.if-patch-image-body {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.if-patch-image-title {
  color: var(--if-white) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

.if-patch-image-price {
  color: var(--if-green) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.if-patch-image-note {
  margin: 10px 2px 0 !important;
  color: var(--if-muted) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
}

@media (max-width: 520px) {
  .if-patch-image-grid {
    grid-template-columns: 1fr !important;
  }

  .if-patch-image-ui {
    min-height: 90px !important;
  }

  .if-patch-image-thumb {
    width: 54px !important;
    height: 54px !important;
    flex: 0 0 54px !important;
  }
}