/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* =========================
   Founders PC — Design System
   Uses Elementor global variables:
   --e-global-color-primary/secondary/text/accent
   ========================= */

:root {
  color-scheme: dark;
  --fp-radius: 20px;
  --fp-radius-sm: 14px;
  --fp-shadow: 0 18px 60px rgba(0,0,0,.35);
  --fp-border: 1px solid rgba(255,255,255,.08);

  /* Fallbacks (if Elementor vars are not present on some pages) */
  --fp-bg: #0B0F1A;
  --fp-surface: #0F172A;
  --fp-text: #EAF0FF;
  --fp-accent: #6D5EFC;

  /* Tie to Elementor globals when available */
  --fp-bg: var(--e-global-color-primary, #0B0F1A);
  --fp-surface: var(--e-global-color-secondary, #0F172A);
  --fp-text: var(--e-global-color-text, #EAF0FF);
  --fp-accent: var(--e-global-color-accent, #6D5EFC);

  --fp-muted: rgba(234,240,255,.72);

  --fp-focus: color-mix(in oklch, var(--fp-accent, #6D5EFC) 55%, white 45%);
  --fp-focus-glow: color-mix(in oklch, var(--fp-accent, #6D5EFC) 35%, transparent 65%);

  --fp-header-h: 110px;
}

@media (max-width: 1024px) {
  :root {
     --fp-header-h: 94px;
  }
}

h1, h2, h3, h4, h5, h6, p, span {
	overflow-wrap: break-word;
	text-wrap: wrap;
	text-wrap: pretty;
}

/* OKLCH-derived shades (modern browsers) */
@supports (color: oklch(50% 0.2 250)) {
  :root {
    --fp-accent-700: color-mix(in oklch, var(--fp-accent) 78%, black 22%);
    --fp-accent-600: color-mix(in oklch, var(--fp-accent) 86%, black 14%);
    --fp-accent-500: var(--fp-accent);
    --fp-accent-400: color-mix(in oklch, var(--fp-accent) 84%, white 16%);
    --fp-accent-300: color-mix(in oklch, var(--fp-accent) 70%, white 30%);

    --fp-surface-2: color-mix(in oklch, var(--fp-surface) 82%, white 18%);
    --fp-stroke: color-mix(in oklch, var(--fp-text) 10%, transparent 90%);
  }
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--fp-bg);
  color: var(--fp-text);
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus{
  outline: none;
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible{
  outline: 2px solid var(--fp-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--fp-focus-glow);
  border-radius: 12px; /* looks good on most controls */
}

::selection{
  background: color-mix(in oklch, var(--fp-accent, #6D5EFC) 55%, black 45%);
  color: rgba(255,255,255,.95);
}
::-moz-selection{
  background: color-mix(in oklch, var(--fp-accent, #6D5EFC) 55%, black 45%);
  color: rgba(255,255,255,.95);
}

/* Sticky header (works if the header is in normal flow and its parents don't block sticky) */
.fp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease;
}

.fp-header.is-scrolled{
  background: rgba(11, 15, 26, 0.72);
  border-bottom-color: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

/* If anchor jumps hide under sticky header */
#hero-end {
  scroll-margin-top: calc(var(--fp-header-h) - 24px);
}
@media (max-width: 1024px) {
  #hero-end {
    scroll-margin-top: calc(var(--fp-header-h) - 48px);
  }
}

/* Links */
a { color: inherit; }
a:hover { color: var(--fp-accent-300, var(--fp-accent)); }

/* =========================
   Buttons
   ========================= */
.fp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: .01em;
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.fp-btn:focus-visible { outline: 3px solid rgba(109,94,252,.35); outline-offset: 3px; }

.fp-btn--primary {
  background: linear-gradient(135deg, var(--fp-accent-400, var(--fp-accent)), var(--fp-accent-700, var(--fp-accent)));
  border-color: rgba(255,255,255,.14);
  box-shadow: var(--fp-shadow);
}
.fp-btn--ghost {
  background: rgba(255,255,255,.06);
}
.fp-btn:hover { transform: translateY(-3px); }

/* Make the Elementor <a> fill the whole fp-btn wrapper */
.fp-btn.elementor-widget-button {
  position: relative; /* enables absolute fallback if needed */
  padding: 0;         /* IMPORTANT: move padding to the <a> */
}

/* Stretch the clickable anchor */
.fp-btn.elementor-widget-button > a.elementor-button {
  display: flex;              /* not inline-block */
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: .5rem;

  /* Put the button sizing here so the clickable area is the full pill */
  padding: .95rem 1.2rem;

  border-radius: inherit;
  background: none !important;
  font: inherit !important;
  color: inherit !important;
}

/* Keep your hover on the wrapper, but also allow hovering the <a> */
.fp-btn:hover { transform: translateY(-3px); }

/* Ensure focus ring works on the actual focusable element (<a>) */
.fp-btn > a.elementor-button:focus-visible {
  outline: 3px solid rgba(109,94,252,.35);
  outline-offset: 3px;
}

/* =========================
   Hero (100vh)
   ========================= */
.fp-hero {
  position: relative;
  /* padding-top: var(--fp-header-h); */
  display: grid;
  place-items: center;
  overflow: clip;
}

.fp-hero__inner {
  position: relative;
  width: min(1100px, calc(100% - 2rem));
  padding: clamp(1.2rem, 2vw, 2rem);
  border-radius: calc(var(--fp-radius) + 6px);
  background: rgba(255,255,255,.04);
  border: var(--fp-border);
  box-shadow: var(--fp-shadow);
}

/* =========================
   WooCommerce — modern “cards”
   ========================= */
.woocommerce ul.products {
  margin-top: 1.25rem;
}
.woocommerce ul.products li.product {
  background: rgba(255,255,255,.03);
  border: var(--fp-border);
  border-radius: var(--fp-radius);
  padding: 1rem;
  box-shadow: 0 10px 35px rgba(0,0,0,.28);
  transition: transform .18s ease, border-color .18s ease;
  overflow: hidden;
}
.woocommerce ul.products li.product:hover {
  border-color: rgba(255,255,255,.18);
}
.woocommerce ul.products li.product a img {
  border-radius: var(--fp-radius-sm);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--fp-text);
  font-weight: 700;
  margin-top: .85rem;
}
.woocommerce ul.products li.product .price {
  color: rgba(234,240,255,.82);
  font-weight: 650;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--fp-text);
  padding: .75rem 1rem;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: color-mix(in oklch, var(--fp-accent) 22%, rgba(255,255,255,.06));
  color: var(--fp-text)
}

/* === Equal-height product cards (grid) === */
.woocommerce ul.products{
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 0;
}

/* Disable legacy float layout */
.woocommerce ul.products li.product{
  float: none !important;
  width: auto !important;
  margin: 0 !important;

  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Let the product link take the available height, so actions sit at bottom */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link{
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Push add/qty controls to the bottom consistently */
.woocommerce ul.products li.product > a.button,
.woocommerce ul.products li.product > button.button,
.woocommerce ul.products li.product > .fp-loop-qty{
  margin-top: auto;
}
.woocommerce ul.products::before { display: none; } /* bugfix */

/* Sale badge */
.woocommerce span.onsale {
  background: var(--fp-accent);
  color: #fff;
  border-radius: 999px;
  padding: .3rem .6rem;
  font-weight: 800;
  top: 1rem;
  left: 1rem;
}

/* Let the sale badge escape the card */
.woocommerce ul.products li.product{
  overflow: visible !important;
  position: relative; /* anchor badge positioning */
}

/* Keep the image rounded without needing overflow:hidden on the card */
.woocommerce ul.products li.product a img{
  border-radius: var(--fp-radius-sm);
  display: block;
}

/* Notices */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  border-radius: var(--fp-radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--fp-text);
}

/* Loop qty controls */
.fp-loop-qty{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  margin-top: 1em;
  width: fit-content !important;
}

.fp-loop-qty.is-loading{
  opacity: .72;
  pointer-events: none;
}

.fp-loop-qty__btn{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(234,240,255,.92);
  font-weight: 800;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: inherit !important;
  font-family: sans-serif !important;
}

.fp-loop-qty__btn:focus, .fp-loop-qty__btn:hover {
  background-color: var(--fp-text);
  color: var(--fp-bg);
}

.fp-loop-qty__val{
  min-width: 1.75rem;
  text-align: center;
  font-weight: 750;
  color: rgba(234,240,255,.92);
}

/* Our add button uses Woo class .button already; keep it consistent */
.woocommerce .fp-loop-add.button{
  border-radius: 999px;
}

/* === Default (non-home): header is a normal block === */
body:not(.home):not(.front-page) .fp-header{
  position: relative;
  top: auto; left: auto; right: auto;
  z-index: auto;

  background: rgba(11, 15, 26, 0.72);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

/* If JS still adds is-scrolled elsewhere, keep it visually identical */
body:not(.home):not(.front-page) .fp-header.is-scrolled{
  background: rgba(11, 15, 26, 0.72);
  border-bottom-color: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

/* === Home/front page: fixed and transparent at scrollY=0 === */
body.home .fp-header,
body.front-page .fp-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

/* Home/front page: becomes solid when scrolled */
body.home .fp-header.is-scrolled,
body.front-page .fp-header.is-scrolled{
  background: rgba(11, 15, 26, 0.72);
  border-bottom-color: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

/* ===== /buy layout ===== */
.fp-cc{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 1024px){
  .fp-cc{ grid-template-columns: 1fr; }
}

.fp-cc__panel{
  background: rgba(255,255,255,.03);
  border: var(--fp-border);
  border-radius: var(--fp-radius);
  box-shadow: 0 10px 35px rgba(0,0,0,.28);
  padding: 1.1rem;
}

.fp-cc__head{
  margin-bottom: .8rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.fp-cc__title{
  margin: 0;
  font-weight: 800;
  font-size: 1.25rem;
}

.fp-cc__sub{
  margin: .35rem 0 0 0;
  opacity: .75;
}

/* Remove redundant Woo headings inside panels */
.fp-cc .cart_totals h2,
.fp-cc .woocommerce-billing-fields h3,
.fp-cc .woocommerce-additional-fields h3,
.fp-cc #order_review_heading{
  display: none !important;
}

/* Coupon UI (already disabled), just in case */
.fp-cc .coupon,
.fp-cc .woocommerce-form-coupon-toggle,
.fp-cc form.checkout_coupon{
  display: none !important;
}

/* Cart table polish */
.fp-cc table.shop_table, .fp-cc th, .fp-cc td, .fp-cc thead, .fp-cc tr {
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.fp-cc table.shop_table thead th{
  border-bottom: none !important;
  color: rgba(234,240,255,.78);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 750;
  padding: .75rem .65rem;
}

.fp-cc table.shop_table td{
  border-top: none !important;
  padding: .8rem .65rem;
  vertical-align: middle;
}

.fp-cc .product-thumbnail img{
  border-radius: 14px;
}

@media (max-width: 768px){
  .fp-cc .product-thumbnail,
  .fp-cc th.product-thumbnail{
    display: none;
  }
}

/* Remove button */
.fp-cc a.remove{
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(234,240,255,.90) !important;
}

/* Qty field */
.fp-cc .quantity .qty{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: var(--fp-text);
  padding: .55rem .75rem;
  width: 5.5rem;
}

/* Cart actions: hide update button if you want a cleaner UI (optional) */
.fp-cc .woocommerce-cart-form td.actions .button[name="update_cart"]{
    position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Totals block spacing */
.fp-cc .cart_totals{
  margin-top: 1rem;
}

/* Checkout inputs */
.fp-cc .woocommerce form .form-row input.input-text,
.fp-cc .woocommerce form .form-row textarea{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  color: var(--fp-text);
  padding: .9rem 1rem;
}

.fp-cc .woocommerce form .form-row textarea{
  min-height: 120px;
}

/* Payment: hide method selector list (we force only one gateway anyway) */
.fp-cc #payment .wc_payment_methods{
  display: none !important;
}

/* Hint above submit */
.fp-checkout-hint{
  margin: .75rem 0 .9rem 0;
  opacity: .78;
}

/* Place order button */
.fp-cc #place_order,
.fp-cc .woocommerce a.button,
.fp-cc .woocommerce button.button,
.fp-cc .woocommerce input.button{
  border-radius: 999px !important;
}

.fp-cc #place_order{
  border: none !important;
  background: linear-gradient(135deg, var(--fp-accent-400, var(--fp-accent)), var(--fp-accent-700, var(--fp-accent))) !important;
  color: #fff !important;
  box-shadow: var(--fp-shadow);
  font-weight: 800;
  letter-spacing: .02em;
  padding: .9rem 1.1rem !important;
}

/* ===== Toasts (add/remove) ===== */
.fp-toast-stack{
  position: fixed;
  top: calc(var(--fp-header-h, 0px) + 14px);
  right: 14px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.fp-toast{
  pointer-events: auto;
  width: min(420px, calc(100vw - 28px));
  border-radius: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 20px 70px rgba(0,0,0,.45);
  backdrop-filter: blur(14px);

  transform: translateY(-8px);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}

.fp-toast.is-show{
  transform: translateY(0);
  opacity: 1;
}

/* Bright looks */
.fp-toast--add{
  background: linear-gradient(135deg,
    color-mix(in oklch, var(--fp-accent, #6D5EFC) 88%, white 12%),
    color-mix(in oklch, var(--fp-accent, #6D5EFC) 70%, black 30%)
  );
}

.fp-toast--remove{
  background: linear-gradient(135deg,
    color-mix(in oklch, var(--fp-accent, #6D5EFC) 55%, white 45%),
    rgba(255,255,255,.06)
  );
}

.fp-toast__row{
  display: flex;
  align-items: center;
  gap: 10px;
}

.fp-toast__msg{
  flex: 1;
  font-weight: 750;
  color: rgba(255,255,255,.96);
  line-height: 1.25;
}

.fp-toast__link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .75rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  color: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
}

.fp-toast__link:hover{
  background: rgba(0,0,0,.28);
}

.fp-toast__close{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.92);
  cursor: pointer;
  padding: 0 !important;
}
.fp-toast__close:hover{ background: rgba(0,0,0,.28); }

.woocommerce ul.products li.product .price ins { text-decoration: none !important; }

/* =========================
   Single Product — Founders PC (no .woocommerce wrapper)
   ========================= */

/* Page width + spacing */
body.single-product .site-main{
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1.25rem 0 3rem;
}

/* Breadcrumb */
body.single-product .woocommerce-breadcrumb{
  display: inline-flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;

  font-size: .9rem;
  color: rgba(234,240,255,.70);

  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  padding: .45rem .75rem;
  margin: 0 0 1rem !important;
}
body.single-product .woocommerce-breadcrumb a{
  color: rgba(234,240,255,.78);
  text-decoration: none;
}
body.single-product .woocommerce-breadcrumb a:hover{
  color: var(--fp-accent-300, var(--fp-accent));
}

/* Main product layout */
body.single-product div.product.type-product{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-areas:
    "gallery summary"
    "related related";
  gap: 1.25rem;
}

body.single-product div.product.type-product > .woocommerce-product-gallery{ grid-area: gallery; }
body.single-product div.product.type-product > .summary{ grid-area: summary; }
body.single-product div.product.type-product > section.related{ grid-area: related; }

@media (max-width: 980px){
  body.single-product div.product.type-product{
    grid-template-columns: 1fr;
    grid-template-areas:
      "gallery"
      "summary"
      "related";
  }
}

/* Cards for gallery + summary */
body.single-product div.product.type-product > .woocommerce-product-gallery,
body.single-product div.product.type-product > .summary{
  background: rgba(255,255,255,.03);
  border: var(--fp-border);
  border-radius: var(--fp-radius);
  box-shadow: 0 10px 35px rgba(0,0,0,.28);
  padding: 1rem;
}

/* Sale badge (single product only) */
body.single-product div.product.type-product > span.onsale{
  top: 1rem !important;
  left: 1rem !important;
  right: auto !important;

  min-height: unset !important;
  min-width: unset !important;
  line-height: 1.1 !important;

  border-radius: 999px !important;
  padding: .35rem .7rem !important;

  background: var(--fp-accent) !important;
  color: #fff !important;
  font-weight: 850 !important;
  letter-spacing: .02em;
}

/* Gallery polish */
body.single-product .woocommerce-product-gallery__wrapper{
  border-radius: calc(var(--fp-radius) - 6px);
  overflow: hidden;
}
body.single-product .woocommerce-product-gallery__image a,
body.single-product .woocommerce-product-gallery__image img{
  border-radius: calc(var(--fp-radius) - 6px);
}
body.single-product .woocommerce-product-gallery__wrapper .zoomImg{
  background: transparent !important;
}

/* Zoom button */
body.single-product .woocommerce-product-gallery__trigger{
  background: rgba(11, 15, 26, 0.65) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  backdrop-filter: blur(10px);
}
body.single-product .woocommerce-product-gallery__trigger::before,
body.single-product .woocommerce-product-gallery__trigger::after{
  border-color: rgba(234,240,255,.92) !important;
  background: rgba(234,240,255,.92) !important;
}

/* Thumbnails: grid + rounded */
body.single-product .flex-control-thumbs{
  margin-top: .75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
}
body.single-product .flex-control-thumbs li{
  float: none !important;
  width: auto !important;
}
body.single-product .flex-control-thumbs li img{
  border-radius: 14px;
  opacity: .72;
  border: 1px solid rgba(255,255,255,.10);
}
body.single-product .flex-control-thumbs li img:hover,
body.single-product .flex-control-thumbs li img.flex-active{
  opacity: 1;
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--fp-accent) 25%, transparent);
}

/* Title + price */
body.single-product .summary .product_title{
  margin: 0 0 .6rem 0;
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--fp-text);
}

body.single-product .summary p.price,
body.single-product .summary span.price{
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  color: rgba(234,240,255,.92) !important;
}
body.single-product .summary p.price del,
body.single-product .summary span.price del{
  opacity: .55;
  margin-right: .4rem;
}
body.single-product .summary p.price ins,
body.single-product .summary span.price ins{
  color: var(--fp-accent-300, var(--fp-accent));
  text-decoration: none !important;
}

/* Add-to-cart row */
body.single-product .summary form.cart{
  margin: 0 0 1rem 0;
  display: flex;
  gap: .65rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Qty input */
body.single-product .summary form.cart .quantity{
  float: none !important;
  margin: 0 !important;
}
body.single-product .summary form.cart .quantity .qty{
  width: 6rem !important;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--fp-text);
  padding: .55rem .75rem;
}

/* Single add-to-cart button (primary) */
body.single-product .summary button.single_add_to_cart_button.button.alt{
  float: none !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(
    135deg,
    var(--fp-accent-400, var(--fp-accent)),
    var(--fp-accent-700, var(--fp-accent))
  ) !important;
  color: #fff !important;
  box-shadow: var(--fp-shadow);
  font-weight: 850;
  letter-spacing: .02em;
  padding: .9rem 1.1rem !important;
}
body.single-product .summary button.single_add_to_cart_button.button.alt:hover{
  transform: translateY(-2px);
}

/* Meta */
body.single-product .product_meta{
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(234,240,255,.72);
  font-size: .95rem;
}
body.single-product .product_meta a{
  color: rgba(234,240,255,.86);
  text-decoration: none;
}
body.single-product .product_meta a:hover{
  color: var(--fp-accent-300, var(--fp-accent));
}

/* Related heading */
body.single-product section.related > h2{
  margin: 1.1rem 0 .75rem;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--fp-text);
}

/* Related products grid + cards (since you also lack .woocommerce wrapper here) */
body.single-product ul.products{
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
body.single-product ul.products li.product{
  background: rgba(255,255,255,.03);
  border: var(--fp-border);
  border-radius: var(--fp-radius);
  padding: 1rem;
  box-shadow: 0 10px 35px rgba(0,0,0,.28);
  overflow: visible !important;
  position: relative;
  float: none !important;
  width: auto !important;
  margin: 0 !important;

  height: 100%;
  display: flex;
  flex-direction: column;
}
body.single-product ul.products li.product a.woocommerce-LoopProduct-link{
  flex: 1;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
body.single-product ul.products li.product a img{
  border-radius: var(--fp-radius-sm);
  display: block;
}
body.single-product ul.products li.product .woocommerce-loop-product__title{
  color: var(--fp-text);
  font-weight: 800;
  margin-top: .85rem;
}
body.single-product ul.products li.product .price{
  color: rgba(234,240,255,.82);
  font-weight: 650;
}

/* =========================
   FIX 1 — Woo notice: center text + button (no “top aligned” look)
   ========================= */

body.single-product .woocommerce-notices-wrapper{
  margin: 0 0 1rem;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-message{
  /* Make the message behave like a row */
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;

  /* Keep room for the Woo icon on the left */
  padding: .9rem 1rem .9rem 3.1rem;
}

/* The “view cart” button should sit to the right, vertically centered */
body.single-product .woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward{
  float: none !important;
  margin-left: auto !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;

  /* Slightly smaller inside notice so it doesn't “stretch” the banner */
  padding: .65rem .9rem;
  line-height: 1;
}

/* On small screens, let the button drop nicely */
@media (max-width: 520px){
  body.single-product .woocommerce-notices-wrapper .woocommerce-message{
    align-items: stretch;
  }
  body.single-product .woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward{
    width: 100%;
    margin-left: 0 !important;
  }
}


/* =========================
   FIX 2 — Remove “framed” gallery + make image bigger + reduce gap
   ========================= */

/* Reduce the “space between gallery and summary” */
body.single-product div.product.type-product{
  gap: .9rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
}

/* Make the gallery NOT look like a card */
body.single-product div.product.type-product > .woocommerce-product-gallery{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Let the main image fill the column better */
body.single-product .woocommerce-product-gallery__wrapper{
  border-radius: var(--fp-radius);
}

/* Keep the image large and clean */
body.single-product .woocommerce-product-gallery__image img.wp-post-image{
  width: 100%;
  height: auto;
  display: block;
}

/* Optional: if you feel the summary card is now too “tight”, nudge it a bit */
body.single-product div.product.type-product > .summary{
  padding: 1.1rem;
}

/* =========================
   FIX 1 — Center the Woo notice icon + content vertically
   ========================= */

body.single-product .woocommerce-notices-wrapper .woocommerce-message{
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;

  /* keep space for the icon on the left */
  padding: .9rem 1rem .9rem 3.1rem;
}

/* Center the “check” icon (it’s a ::before pseudo-element, not a real checkbox) */
body.single-product .woocommerce-notices-wrapper .woocommerce-message::before{
  top: 50% !important;
  transform: translateY(-50%) !important;
  left: 1.2rem !important;
}

/* Keep the button from stretching the banner visually */
body.single-product .woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward{
  float: none !important;
  margin-left: auto !important;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding: .65rem .9rem;
  white-space: nowrap;
}

@media (max-width: 520px){
  body.single-product .woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward{
    width: 100%;
    margin-left: 0 !important;
  }
}

/* =========================
   FIX 2 — Real single-product layout: bigger gallery, tighter gap
   ========================= */

body.single-product .woocommerce div.product.type-product{
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: 1rem;
  align-items: start;
}

/* Disable Woo float layout */
body.single-product .woocommerce div.product.type-product > div.images,
body.single-product .woocommerce div.product.type-product > div.summary{
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

/* Make the gallery occupy its column fully (prevents “small image”) */
body.single-product .woocommerce div.product.type-product > div.images{
  max-width: none !important;
}

body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image > a,
body.single-product .woocommerce-product-gallery__image img{
  width: 100% !important;
}

/* Remove any “card framing” from the gallery area */
body.single-product .woocommerce div.product.type-product > div.images,
body.single-product .woocommerce-product-gallery{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Keep the summary as the “info card” */
body.single-product .woocommerce div.product.type-product > div.summary{
  background: rgba(255,255,255,.03);
  border: var(--fp-border);
  border-radius: var(--fp-radius);
  box-shadow: 0 10px 35px rgba(0,0,0,.28);
  padding: 1.1rem;
}

/* Ensure sections under the main row span full width */
body.single-product .woocommerce div.product.type-product > .related,
body.single-product .woocommerce div.product.type-product > .woocommerce-tabs{
  grid-column: 1 / -1;
  margin-top: 2rem;
}

@media (max-width: 900px){
  body.single-product .woocommerce div.product.type-product{
    grid-template-columns: 1fr;
  }
}

body.single-product div.product.type-product > .summary {
  width: 100% !important;
  height: fit-content !important;
}
/* =========================
   Woo zoom fix — don't touch .zoomImg sizing
   ========================= */

/* Only make the main product image responsive (NOT the zoom overlay) */
body.single-product .woocommerce-product-gallery__image img.wp-post-image{
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block;
}

/* Hard-override any earlier "img { width:100% }" that may hit zoomImg */
body.single-product .woocommerce-product-gallery__image img.zoomImg{
  width: auto !important;      /* let Woo inline JS control it */
  height: auto !important;
  max-width: none !important;  /* critical for zoom */
  display: block;
}

/* Make sure the zoom overlay can position correctly */
body.single-product .woocommerce-product-gallery__image{
  position: relative;
  overflow: hidden; /* Woo typically relies on this */
}

/* =========================================================
   WooCommerce: mobile/tablet alignment fixes (Woo-friendly)
   - DOES NOT replace Woo layout with grids
   - Centers left-stuck containers + adds sane gutters
   ========================================================= */

/* 0) Undo the grid-based single-product layout if you pasted it earlier */
body.single-product .woocommerce div.product {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}

/* Restore Woo's expected float behavior on desktop */
@media (min-width: 769px) {
  body.single-product .woocommerce div.product div.images { float: left !important; }
  body.single-product .woocommerce div.product div.summary { float: right !important; }
}

/* 1) If your theme container is narrower than the viewport but "stuck" left,
      this centers it (only on Woo pages) */
body.woocommerce-page #page,
body.single-product #page,
body.woocommerce-page .site,
body.single-product .site,
body.woocommerce-page .site-content,
body.single-product .site-content,
body.woocommerce-page #content,
body.single-product #content,
body.woocommerce-page #primary,
body.single-product #primary,
body.woocommerce-page .content-area,
body.single-product .content-area,
body.woocommerce-page main,
body.single-product main,
body.woocommerce-page .site-main,
body.single-product .site-main {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 2) Add consistent gutters on tablets/phones (without changing desktop layout) */
@media (max-width: 1024px) {
  body.woocommerce-page #content,
  body.single-product #content,
  body.woocommerce-page #primary,
  body.single-product #primary,
  body.woocommerce-page .site-main,
  body.single-product .site-main,
  body.woocommerce-page .entry-content,
  body.single-product .entry-content {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
  }

  /* Elementor / Hello Theme boxed containers (common cause of "left + dead space right") */
  body.woocommerce-page .elementor-section.elementor-section-boxed > .elementor-container,
  body.single-product .elementor-section.elementor-section-boxed > .elementor-container {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
  }
}

/* 3) Single product: stack gallery + summary on tablets/phones (Woo-style) */
@media (max-width: 1024px) {
  body.single-product .woocommerce div.product div.images,
  body.single-product .woocommerce div.product div.summary {
    float: none !important;
    width: 100% !important;
    max-width: 100%;
    margin: 0 0 16px !important;
  }
}

/* 4) Notices: keep Woo styling, but make the button wrap nicely on small screens */
@media (max-width: 600px) {
  .woocommerce-message,
  .woocommerce-error,
  .woocommerce-info {
    padding: 1em 1em 1em 3.25em; /* keeps left icon spacing */
  }

  .woocommerce-message .button,
  .woocommerce-error .button,
  .woocommerce-info .button {
    float: none;
    display: inline-block;
    margin-top: .75em;
  }
}

/* 5) Safety: prevent accidental horizontal scroll from oversized children */
body.woocommerce-page,
body.single-product {
  overflow-x: hidden;
}
body.woocommerce-page img,
body.single-product img {
  max-width: 100%;
  height: auto;
}
