
    :root{ --freq-acct:"Mans konts"; }
    /* ── DESKTOP: konta ikonai teksts ── */
    @media (min-width:922px){
        .ast-header-account-link{ display:inline-flex !important; align-items:center !important; gap:7px !important; }
        .ast-header-account-link::after{ content: var(--freq-acct,"Mans konts"); font-family:Inter,sans-serif; font-size:13px; font-weight:500; color:#1a3d45; white-space:nowrap; }
        .ast-header-account-link:hover::after{ color:#285F6B; }
    }
    /* ── GLOBĀLI: novērš iOS auto-zoom uz ievades laukiem (font-size <16px → iOS iezūmē fokusā un paliek).
          Attiecas uz VISIEM mobilajiem laukiem: grozs (daudzums), checkout, meklēšana, filtri u.c. ── */
    @media (max-width:921px){
        html body input[type="text"], html body input[type="email"], html body input[type="tel"],
        html body input[type="number"], html body input[type="search"], html body input[type="password"],
        html body input[type="url"], html body input[type="date"], html body input:not([type]),
        html body textarea, html body select, html body input.qty, html body .input-text,
        html body .woocommerce-account .woocommerce-form input,
        html body .woocommerce form .input-text{ font-size:16px !important; }
    }
    /* ── MOBILE menu ── */
    @media (max-width:921px){
        #ast-hf-mobile-menu .menu-item > a{ color:#1a1a1a !important; font-weight:500 !important;
            padding:15px 22px !important; letter-spacing:.01em !important; }
        #ast-hf-mobile-menu .menu-item > a::before,
        #ast-hf-mobile-menu .menu-item > a::after{ display:none !important; }
        #ast-hf-mobile-menu .current-menu-item > a,
        #ast-hf-mobile-menu .current_page_item > a,
        #ast-hf-mobile-menu .menu-item > a:hover,
        #ast-hf-mobile-menu .menu-item > a:active{ color:#285F6B !important; }
        #ast-hf-mobile-menu .menu-item{ border-bottom:1px solid #f0ece6 !important; }
        #ast-hf-mobile-menu .menu-item:last-child{ border-bottom:none !important; }
        #ast-mobile-header .ast-header-account-wrap{ width:100% !important; }
        #ast-mobile-header .ast-header-account-wrap > a{
            display:flex !important; align-items:center !important; gap:12px !important;
            padding:15px 22px !important; color:#1a1a1a !important;
            font-family:"Cormorant Garamond",Georgia,serif !important; font-size:18px !important; font-weight:500 !important;
            border-top:1px solid #f0ece6 !important; text-decoration:none !important; }
        #ast-mobile-header .ast-header-account-wrap > a:hover{ color:#285F6B !important; }
        #ast-mobile-header .ast-header-account-wrap > a::after{ content: var(--freq-acct,"Mans konts"); }
        #ast-mobile-header .ast-header-account-wrap > a svg,
        #ast-mobile-header .ast-header-account-wrap > a img{ width:20px !important; height:20px !important; }
        #ast-mobile-header .ast-builder-layout-element{ margin:0 !important; padding:0 !important; }
        #ast-mobile-header .site-header-focus-item{ margin-top:0 !important; }
        #ast-mobile-header .lang_switcher_section,
        #ast-mobile-header [class*="language"]{ padding:10px 22px !important; margin:0 !important; }
        /* ── Off-canvas panelis: pilna augstuma balts fons + flex secībai — TIKAI kad izvēlne ATVĒRTA
              (body.ast-main-header-nav-open), citādi tas pārspēja Astras aizvēršanu un izvēlne rādījās vienmēr ── */
        body.ast-main-header-nav-open #ast-mobile-header .ast-mobile-header-content{ min-height:100vh !important; background:#fff !important;
            display:flex !important; flex-direction:column !important; }
        /* Secība: izvēlne → Mans konts → valoda (pēdējā) */
        body.ast-main-header-nav-open #ast-mobile-header .ast-mobile-header-content > .ast-builder-menu-mobile{ order:1 !important; }
        body.ast-main-header-nav-open #ast-mobile-header .ast-mobile-header-content > .ast-builder-layout-element:has(.ast-header-account-wrap){ order:2 !important; }
        body.ast-main-header-nav-open #ast-mobile-header .ast-mobile-header-content > .ast-builder-layout-element:has(.freq-topbar-lang){ order:3 !important; }
        /* Mans konts — virs valodas, ar tekstu + augšējo līniju */
        #ast-mobile-header .ast-header-account-wrap > a{ border-top:1px solid #f0ece6 !important; }
        /* ── Valodas pārslēgs (.freq-topbar-lang) — MAZS, pēdējā opcija, mierīgs ── */
        #ast-mobile-header .freq-topbar-lang{ width:100% !important; display:block !important; border-top:1px solid #f0ece6 !important; border-radius:0 !important; background:none !important; box-shadow:none !important; }
        #ast-mobile-header .freq-topbar-lang__btn{
            display:flex !important; align-items:center !important; gap:7px !important; width:auto !important;
            padding:11px 22px !important; background:none !important; border:none !important;
            font-family:Inter,sans-serif !important; font-size:13px !important; font-weight:500 !important;
            color:#777 !important; cursor:pointer !important; text-align:left !important; box-shadow:none !important; }
        #ast-mobile-header .freq-topbar-lang__btn:hover{ color:#285F6B !important; }
        #ast-mobile-header .freq-topbar-lang__menu{ padding:0 22px 10px !important; margin:0 !important; list-style:none !important; }
        #ast-mobile-header .freq-topbar-lang__menu li{ padding:7px 0 !important; }
        #ast-mobile-header .freq-topbar-lang__menu a,
        #ast-mobile-header .freq-topbar-lang__menu span{ font-family:Inter,sans-serif !important; font-size:13px !important; color:#777 !important; text-decoration:none !important; }
    }


/* ─── 1. NAV: Remove underlines ─── */
.main-navigation a,
.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a:visited,
.ast-builder-menu a,
.ast-builder-menu a:hover,
.ast-builder-menu a:focus,
.ast-builder-menu a:visited,
#ast-desktop-header .main-navigation a,
#ast-desktop-header .ast-builder-menu a {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.main-navigation a::after,
.main-navigation a::before,
.ast-builder-menu a::after,
.ast-builder-menu a::before {
  display: none !important;
}

/* ─── 2. NAV: Unified teal color ─── */
#ast-desktop-header .main-navigation a,
#ast-desktop-header .ast-builder-menu a,
#ast-desktop-header .main-navigation .menu-item > a,
#ast-desktop-header .ast-builder-menu .menu-item > a {
  color: #285F6B !important;
  font-weight: 600 !important;
}
#ast-desktop-header .main-navigation a:hover,
#ast-desktop-header .ast-builder-menu a:hover,
#ast-desktop-header .main-navigation .menu-item > a:hover,
#ast-desktop-header .ast-builder-menu .menu-item > a:hover {
  color: #1d4a54 !important;
}
/* Current/active item */
#ast-desktop-header .main-navigation .current-menu-item > a,
#ast-desktop-header .main-navigation .current-menu-ancestor > a {
  color: #1d4a54 !important;
  font-weight: 700 !important;
}

/* ─── 3. HEADER HEIGHTS ─── */
#ast-desktop-header .ast-main-header-wrap,
#ast-desktop-header .ast-primary-header-bar {
  min-height: 48px !important;
  height: auto !important;
  padding: 0 !important;
}
#ast-desktop-header .ast-primary-header-bar .ast-builder-grid-row {
  grid-template-rows: 52px !important;
  min-height: 52px !important;
}
#ast-mobile-header .ast-main-header-wrap,
#ast-mobile-header .ast-primary-header-bar {
  min-height: 42px !important;
  height: auto !important;
  padding: 4px 0 !important;
}
@media (max-width: 921px) {
  #ast-desktop-header .ast-main-header-wrap,
  #ast-desktop-header .ast-primary-header-bar {
    min-height: 42px !important;
    height: auto !important;
    padding: 4px 0 !important;
  }
}

/* ─── 4. TRUST BAR: No top border, gradient bottom, teal text ─── */
.freq-trust-bar {
  border-top: none !important;
  border-bottom: none !important;
  position: relative !important;
}
.freq-trust-item,
.freq-trust-item span,
.freq-top-ticker span,
.freq-top-ticker .freq-trust-item {
  color: #285F6B !important;
}
.freq-trust-bar::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(to right, transparent 0%, #285F6B 18%, #285F6B 82%, transparent 100%) !important;
}
/* Also target Astra's above header bar if trust bar class is absent */
.ast-above-header-bar {
  border-top: none !important;
}

/* ─── 5. TICKER: full width + correct seamless loop ─── */
/* Make ticker span full above-header width, not just right section */
.ast-above-header-bar {
  position: relative !important;
  overflow: visible !important;
}
.site-header-above-section-right {
  position: static !important;
  overflow: visible !important;
}
.freq-top-ticker-outer {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: auto !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
/* Language selector stays on top */
.site-header-above-section-left {
  position: relative !important;
  z-index: 2 !important;
  pointer-events: auto !important;
}
/* Ticker: seamless loop (content repeated twice, scroll by 50%) */
.freq-top-ticker {
  display: inline-flex !important;
  gap: 48px !important;
  animation: freqTopTicker 38s linear infinite !important;
  align-items: center !important;
  white-space: nowrap !important;
}
.freq-top-ticker:hover {
  animation-play-state: paused !important;
}
/* Restore original seamless-loop keyframes (0→-50%, content doubled) */
@keyframes freqTopTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── 6. CART BADGE + ICON: Teal ─── */
/* Cart icon itself */
#ast-desktop-header .ast-header-woo-cart a,
#ast-desktop-header .ast-addon-cart-wrap a,
#ast-desktop-header .ast-header-woo-cart i.astra-icon,
#ast-desktop-header .ast-addon-cart-wrap i.astra-icon,
#ast-desktop-header .ast-cart-menu-wrap a {
  color: #285F6B !important;
}
#ast-desktop-header .ast-header-woo-cart a:hover,
#ast-desktop-header .ast-addon-cart-wrap a:hover {
  color: #1d4a54 !important;
}
/* Cart badge counter — high specificity to beat freq-header-icons-fix */
.ast-site-header-cart .ast-addon-cart-wrap i.astra-icon::after,
.ast-site-header-cart .ast-cart-menu-wrap i.astra-icon::after,
.ast-site-header-cart i.astra-icon::after,
#ast-desktop-header i.astra-icon::after,
#ast-mobile-header i.astra-icon::after,
i.astra-icon::after,
i.ast-icon-shopping-bag::after {
  background: #285F6B !important;
  background-color: #285F6B !important;
  color: #fff !important;
  border-color: #285F6B !important;
}
.ast-site-header-cart .ast-cart-menu-wrap .count,
.ast-menu-cart-outline .ast-cart-menu-wrap .count,
.ast-menu-cart-fill .ast-cart-menu-wrap .count,
.ast-cart-menu-wrap .count,
.ast-header-woo-cart .count {
  background: #285F6B !important;
  background-color: #285F6B !important;
  color: #fff !important;
}
/* Mini-cart summa: tirkīza teksts, bez fona */
.woocommerce-mini-cart__total .amount,
.woocommerce-mini-cart__total .woocommerce-Price-amount {
  background: transparent !important;
  background-color: transparent !important;
  color: #285F6B !important;
  font-weight: 700 !important;
}
/* Remove any brown background from cart wrap */
#ast-desktop-header .ast-header-woo-cart,
#ast-desktop-header .ast-addon-cart-wrap {
  background: transparent !important;
}

/* ─── 7. LOGO: Hide original image completely ─── */
header .custom-logo-link img.custom-logo,
header .custom-logo-link img,
#ast-desktop-header .custom-logo-link img,
#ast-mobile-header .custom-logo-link img,
.ast-site-identity .custom-logo-link img,
.site-branding .custom-logo-link img,
img.custom-logo {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  opacity: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
}
/* Logo link: hidden until vfinal JS marks it ready (prevents flash) */
.custom-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  gap: 10px !important;
  opacity: 0 !important;
  transition: opacity 0.15s ease !important;
}
.custom-logo-link[data-freq-logo="1"] {
  opacity: 1 !important;
}
/* Hide Astra site-title (blogname) — already shown via freq-logo-text */
.ast-site-identity .site-title {
  display: none !important;
}
/* SVG logo sizing */
.freq-logo-svg {
  width: 46px !important;
  height: 46px !important;
  flex-shrink: 0 !important;
}
@media (max-width: 921px) {
  .freq-logo-svg {
    width: 36px !important;
    height: 36px !important;
  }
  .freq-logo-text {
    font-size: 14px !important;
    letter-spacing: 0.12em !important;
  }
}
/* Hide the freq-logo-v4 injected logo to prevent flash on load */
.freq-hdr-logo {
  display: none !important;
}
/* FREQUENCIES text */
.freq-logo-text {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  color: #000000 !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}

/* ─── 8. MOBILE LAYOUT: Hamburger LEFT, Logo CENTER, Cart RIGHT ─── */
#ast-mobile-header .ast-builder-grid-row {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 42px !important;
  width: 100% !important;
  padding: 0 8px !important;
}
/* Logo section: absolute center overlay */
#ast-mobile-header .site-header-primary-section-left {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  pointer-events: none !important;
  z-index: 1 !important;
}
#ast-mobile-header .site-header-primary-section-left * {
  pointer-events: auto !important;
}
/* Hamburger trigger: far LEFT */
#ast-mobile-header [data-section="section-header-mobile-trigger"] {
  position: relative !important;
  z-index: 2 !important;
  flex: 0 0 auto !important;
  order: -1 !important;
}
/* Right section: far RIGHT */
#ast-mobile-header .site-header-primary-section-right.ast-grid-right-section {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  gap: 6px !important;
  order: 10 !important;
}
/* Cart clone from v4: far RIGHT */
#ast-mobile-header .ast-builder-grid-row > .ast-site-header-cart {
  position: relative !important;
  z-index: 2 !important;
  flex: 0 0 auto !important;
  order: 10 !important;
}
/* Hide the spacer div injected by freq-logo-v4-js */
#ast-mobile-header .ast-builder-grid-row > div[style*="width:40px"] {
  display: none !important;
}
/* Hamburger button: teal */
#ast-mobile-header .menu-toggle {
  color: #285F6B !important;
}
#ast-mobile-header .menu-toggle svg,
#ast-mobile-header .menu-toggle path {
  fill: #285F6B !important;
}
/* Mobile cart icon */
.freq-mobile-cart-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  color: #285F6B !important;
  text-decoration: none !important;
  padding: 4px !important;
}
.freq-mobile-cart-btn svg {
  width: 22px !important;
  height: 22px !important;
  fill: none !important;
  stroke: #285F6B !important;
  stroke-width: 1.8 !important;
}
.freq-mobile-cart-btn .freq-cart-count {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  background: #285F6B !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 16px !important;
  height: 16px !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

/* ─── 9. STICKY HEADER ─── */
/* ═══ PURE CSS STICKY HEADER ═══
   Works without JS — entire header is sticky, ticker scrolls away via negative top.
   JS sticky (freq-sticky class) is overridden to prevent conflicts. */
#ast-desktop-header {
  position: sticky !important;
  top: -51px !important;
  z-index: 9998 !important;
}
/* Override old JS sticky — let CSS handle it */
.ast-main-header-wrap.freq-sticky {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
  z-index: auto !important;
}
/* Hide JS placeholder div */
#freq-sticky-ph {
  display: none !important;
  height: 0 !important;
}
/* Menu bar always has white background (for when ticker scrolls behind) */
.ast-main-header-wrap {
  background: #fff !important;
  transition: transform 0.2s ease !important;
}
/* Compact header when ticker is scrolled away (sticky state) */
#ast-desktop-header:not(:has(.ast-above-header-wrap:hover)):not(:hover) .ast-primary-header-bar {
  transition: transform 0.2s ease !important;
}
/* Use scroll-driven shrink: when ticker is off-screen, shrink menu */
@supports (animation-timeline: scroll()) {
  /* Future: scroll-driven animations */
}
/* Shrink via the parent sticky position — when top bar is hidden, reduce padding */
#ast-desktop-header .ast-primary-header-bar {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  min-height: 40px !important;
}
/* Logo — proportional SVG + text */
#ast-desktop-header .custom-logo-link .freq-logo-svg {
  width: 36px !important;
  height: 36px !important;
  transition: width 0.2s ease, height 0.2s ease !important;
}
#ast-desktop-header .freq-logo-text {
  font-size: 20px !important;
  letter-spacing: 0.14em !important;
  transition: font-size 0.2s ease !important;
}
/* Nav links slightly smaller */
#ast-desktop-header .main-header-menu > .menu-item > a {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  font-size: 13px !important;
}
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9998 !important;
  background: #fff !important;
  box-shadow: 0 1px 4px rgba(40, 95, 107, 0.08) !important;
}

/* ─── 10. MOBILE HERO ─── */
/* Hide hero img on mobile until JS swaps src (prevents desktop image flash) */
@media (max-width: 768px) {
  .freq-hero .wp-block-cover__image-background {
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
  }
  .freq-hero .wp-block-cover__image-background[data-mobile-ready="1"] {
    opacity: 1 !important;
  }
}

/* ─── 11. CATEGORY SECTION: Crystal background (left side only, blurred) ─── */
.freq-cat-section {
  position: relative !important;
  overflow: hidden !important;
}
/* Left crystal */
.freq-cat-section::before {
  content: '' !important;
  position: absolute !important;
  left: -60px !important;
  top: 50% !important;
  transform: translateY(-50%) scaleX(-1) !important;
  width: 480px !important;
  height: 480px !important;
  background-image: url('/wp-content/uploads/2026/03/crystal-bg.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  filter: blur(4px) !important;
  opacity: 0.45 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
.freq-cat-section > * {
  position: relative !important;
  z-index: 1 !important;
}

/* ─── 11a. JAUNUMI SECTION: Amethyst crystal (left side, behind first product card) ─── */
.freq-jaunumi-section {
  position: relative !important;
  overflow: hidden !important;
}
.freq-jaunumi-section::before {
  content: '' !important;
  position: absolute !important;
  left: -30px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 420px !important;
  height: 420px !important;
  background-image: url('/wp-content/uploads/2026/03/kisspng-amethyst-quartz-crystal-healing-gemstone-5af92abf2fca15.9767057815262788471958_480x480.webp') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  filter: blur(3px) !important;
  opacity: 0.35 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
.freq-jaunumi-section > * {
  position: relative !important;
  z-index: 1 !important;
}

/* ─── 11b. CATEGORY SECTION: reduce height after removing "KOLEKCIJAS" ─── */
.freq-cat-section {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

/* ─── 14. SMALL/SUBTITLE TEXT: Teal color for section labels on homepage ─── */
/* Small uppercase subtitle paragraphs (like "KOLEKCIJAS", "Sakrālā ģeometrija · Kristāļi · Roku darbs") */
.freq-cat-section p,
.freq-bs-section p {
  color: #285F6B !important;
}
/* General: small text/labels in wp-block-group sections on the homepage */
.entry-content > .wp-block-group > p,
.entry-content > .wp-block-group > .wp-block-group > p {
  color: #285F6B !important;
}
/* Ensure product prices and WooCommerce text are NOT affected */
.woocommerce p, .wc-block-grid p, .product p {
  color: inherit !important;
}

/* ─── 12. BESTSELLER SECTION: reduce height, hide label, crystal bg right ─── */
.freq-bs-section {
  position: relative !important;
  overflow: hidden !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
/* Hide "BESTSELLERI" label */
.freq-bs-section > p:first-child {
  display: none !important;
}
/* White crystal on right side (mix-blend-mode: screen hides black bg) */
.freq-bs-section::before {
  content: '' !important;
  position: absolute !important;
  right: -40px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 420px !important;
  height: 420px !important;
  background-image: url('/wp-content/uploads/2026/03/pngtree-3d-large-clear-quartz-clusteron-transparent-background-png-image_13014493.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  filter: blur(4px) !important;
  opacity: 0.45 !important;
  mix-blend-mode: multiply !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
.freq-bs-section > * {
  position: relative !important;
  z-index: 1 !important;
}

/* ─── 17. ENERGY SECTION: Remove beige box inside "Mani Enerģijas avoti" ─── */
.freq-energy-section {
  background: transparent !important;
  background-color: transparent !important;
}

/* ─── 15. SECTION TRANSITIONS: flush sections, no borders/gaps ─── */
.entry-content > .wp-block-group.alignfull {
  border: none !important;
  box-shadow: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.freq-section-fade {
  display: none !important;
}

/* ─── 16. PRODUCT CARDS: force white background (not affected by section tint) ─── */
/* Override stable base @media rule that sets rgba(255,255,255,0.07) */
@media (min-width: 922px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .post-type-archive-product ul.products li.product,
  .archive ul.products li.product,
  .tax-product_cat ul.products li.product,
  ul.products li.product {
    background: #ffffff !important;
    background-color: #ffffff !important;
  }
}
.woocommerce ul.products li.product,
ul.products li.product {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

/* ─── 18. FOOTER: Teal background, all white text ─── */
/* Custom footer — same dark teal as above-header ticker bar */
.freq-custom-footer {
  background: #133336 !important;
  background-color: #133336 !important;
}
.freq-custom-footer *,
.freq-custom-footer p,
.freq-custom-footer a,
.freq-custom-footer span,
.freq-custom-footer h1, .freq-custom-footer h2, .freq-custom-footer h3,
.freq-custom-footer h4, .freq-custom-footer h5, .freq-custom-footer h6,
.freq-custom-footer li,
.freq-custom-footer div {
  color: #ffffff !important;
}
.freq-custom-footer a:hover {
  opacity: 0.8 !important;
}
/* Astra's built-in footer */
footer.site-footer,
.site-footer {
  background: #133336 !important;
  background-color: #133336 !important;
}
footer.site-footer *,
.site-footer * {
  color: #ffffff !important;
}
/* Below-footer (copyright) bar — slightly darker */
.site-below-footer-wrap {
  background: #0e2628 !important;
  background-color: #0e2628 !important;
}
.site-below-footer-wrap,
.site-below-footer-wrap * {
  color: #ffffff !important;
}



/* ─── 18a. FOOTER: White crystal decoration (right side, bottom) ─── */
.freq-custom-footer {
  position: relative !important;
  overflow: hidden !important;
}
.freq-custom-footer::after {
  content: '' !important;
  position: absolute !important;
  right: -20px !important;
  bottom: -20px !important;
  width: 350px !important;
  height: 350px !important;
  background-image: url('/wp-content/uploads/2026/03/pngtree-3d-large-clear-quartz-clusteron-transparent-background-png-image_13014493-1.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  filter: blur(1px) !important;
  opacity: 0.35 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
.freq-custom-footer > * {
  position: relative !important;
  z-index: 1 !important;
}

/* ─── 13. OVERFLOW FIX ─── */
body {
  overflow-x: hidden !important;
}
.freq-top-ticker-wrap {
  overflow: hidden !important;
}

/* ─── 12. MASTHEAD animation override: ensure ticker always animates ─── */
#masthead .freq-top-ticker {
  animation: freqTopTicker 38s linear infinite !important;
}



    /* Numbers — clean simple circles */
    body.blog .ast-pagination .page-numbers,
    body.archive:not(.post-type-archive-product) .ast-pagination .page-numbers {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        border-radius: 50% !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        font-family: Inter, -apple-system, sans-serif !important;
        color: #555 !important;
        text-decoration: none !important;
        background: transparent !important;
        border: 1px solid transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transition: all 0.18s !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    /* Current page */
    body.blog .ast-pagination .page-numbers.current,
    body.archive:not(.post-type-archive-product) .ast-pagination .page-numbers.current {
        background: #285F6B !important;
        color: #ffffff !important;
        border-color: transparent !important;
        font-weight: 600 !important;
    }
    /* Hover */
    body.blog .ast-pagination a.page-numbers:hover,
    body.archive:not(.post-type-archive-product) .ast-pagination a.page-numbers:hover {
        background: rgba(40,95,107,0.09) !important;
        color: #285F6B !important;
        border-color: transparent !important;
    }
    /* Dots */
    body.blog .ast-pagination .page-numbers.dots,
    body.archive:not(.post-type-archive-product) .ast-pagination .page-numbers.dots {
        width: 24px !important;
        min-width: 24px !important;
        background: transparent !important;
        border-color: transparent !important;
        color: #999 !important;
    }
    /* Prev / Next — auto width, pill */
    body.blog .ast-pagination .page-numbers.prev,
    body.blog .ast-pagination .page-numbers.next,
    body.archive:not(.post-type-archive-product) .ast-pagination .page-numbers.prev,
    body.archive:not(.post-type-archive-product) .ast-pagination .page-numbers.next {
        width: auto !important;
        min-width: auto !important;
        padding: 0 18px !important;
        border-radius: 20px !important;
        background: rgba(40,95,107,0.07) !important;
        color: #285F6B !important;
        border-color: transparent !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        height: 36px !important;
    }
    body.blog .ast-pagination .page-numbers.prev:hover,
    body.blog .ast-pagination .page-numbers.next:hover,
    body.archive:not(.post-type-archive-product) .ast-pagination .page-numbers.prev:hover,
    body.archive:not(.post-type-archive-product) .ast-pagination .page-numbers.next:hover {
        background: #285F6B !important;
        color: #ffffff !important;
    }
    /* Container */
    body.blog .ast-pagination,
    body.archive:not(.post-type-archive-product) .ast-pagination {
        margin-top: 40px !important;
        display: flex !important;
        justify-content: center !important;
    }
    body.blog .ast-pagination .nav-links,
    body.archive:not(.post-type-archive-product) .ast-pagination .nav-links {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        justify-content: center !important;
    }
    /* Sidebar search at top */
    body.blog #secondary,
    body.archive #secondary {
        display: flex !important;
        flex-direction: column !important;
    }
    body.blog #secondary .widget-area,
    body.archive #secondary .widget-area {
        display: flex !important;
        flex-direction: column !important;
    }
    body.blog #secondary .wp-block-search,
    body.blog #secondary .widget_search,
    body.archive #secondary .wp-block-search,
    body.archive #secondary .widget_search {
        order: -10 !important;
    }
    body.blog #secondary .widget_categories,
    body.blog #secondary .wp-block-categories,
    body.archive #secondary .widget_categories,
    body.archive #secondary .wp-block-categories {
        order: 1 !important;
    }
    body.blog #secondary .widget_recent_entries,
    body.blog #secondary .wp-block-latest-posts,
    body.archive #secondary .widget_recent_entries,
    body.archive #secondary .wp-block-latest-posts {
        order: 2 !important;
    }

    /* ─── PĒDĒJĀS RINDAS AIZPILDĪŠANA (4 kolonnu grids) ─── */
    /* 1 raksts pēdējā rindā → aizpilda visu platumu */
    body.blog .ast-row > article:last-child:nth-child(4n+1),
    body.archive:not(.post-type-archive-product) .ast-row > article:last-child:nth-child(4n+1) {
        grid-column: span 2 !important;
    }
    /* 2 raksti pēdējā rindā → katrs aizņem 2 kolonnas */
    body.blog .ast-row > article:last-child:nth-child(4n+2),
    body.archive:not(.post-type-archive-product) .ast-row > article:last-child:nth-child(4n+2) {
        grid-column: span 2 !important;
    }
    body.blog .ast-row > article:nth-last-child(2):nth-child(4n+1),
    body.archive:not(.post-type-archive-product) .ast-row > article:nth-last-child(2):nth-child(4n+1) {
        grid-column: span 2 !important;
    }
    /* 3 raksti pēdējā rindā → katrs aizņem normālu 1 kolonnu (3 = OK) */

    /* ─── SIDEBAR WIDGET VIRSRAKSTI ─── */
    body.blog #secondary .widget-title,
    body.blog #secondary .wp-block-heading,
    body.archive #secondary .widget-title,
    body.archive #secondary .wp-block-heading {
        font-size: 13px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.08em !important;
        color: #285F6B !important;
        border-bottom: 2px solid rgba(40,95,107,0.15) !important;
        padding-bottom: 8px !important;
        margin-bottom: 12px !important;
    }
    /* ─── SIDEBAR VIRSRAKSTU STILS ─── */
    .freq-sidebar-heading {
        font-size: 13px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.08em !important;
        color: #285F6B !important;
        border-bottom: 2px solid rgba(40,95,107,0.15) !important;
        padding-bottom: 8px !important;
        margin-bottom: 12px !important;
        margin-top: 24px !important;
        display: block !important;
    }
    

/* Force liquid glass on all buttons - override Astra defaults */
/* NOTE: .single_add_to_cart_button intentionally excluded — styled teal below */
body .woocommerce input.button,
body .woocommerce #respond input#submit,
body .woocommerce .button.alt,
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body .wp-block-button__link,
body .ast-button,
body .elementor-button,
body button.button:not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
body a.button:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button) {
    background: rgba(20, 20, 20, 0.72) !important;
    backdrop-filter: blur(14px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.12) !important;
    transition: all 0.25s ease !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4) !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
}
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body .wp-block-button__link:hover,
body button.button:hover:not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
body a.button:hover:not(.freq-personalize-btn):not(.freq-legal-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button) {
    background: rgba(30, 30, 30, 0.88) !important;
    border-color: rgba(255, 255, 255, 0.32) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.18) !important;
    transform: translateY(-1px) !important;
}
/* ADD TO CART — teal brand color (not liquid glass) */
body .single_add_to_cart_button {
    background: #285F6B !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(40,95,107,0.28) !important;
    text-shadow: none !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    transition: all 0.25s ease !important;
}
body .single_add_to_cart_button:hover {
    background: #1a3d45 !important;
    box-shadow: 0 4px 18px rgba(40,95,107,0.38) !important;
    transform: translateY(-1px) !important;
}
/* YITH QV — now styled in product card section below */


/* ── Remove Astra image hover overlay (ast-on-card-button) ── */
/* Hide the "Add to Cart" button that appears on image hover */
.ast-on-card-button:not(.ast-onsale-card),
.astra-shop-thumbnail-wrap .ast-on-card-button:not(.ast-onsale-card),
ul.products li.product .ast-on-card-button:not(.ast-onsale-card),
.woocommerce ul.products .ast-on-card-button:not(.ast-onsale-card) {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}
/* Also remove any legacy overlay classes */
.ast-woo-product-in-cart-wrap,
.ast-woo-overlay-add-to-cart,
ul.products li.product:hover .ast-woo-product-in-cart-wrap { display: none !important; }
/* Remove hover transform on product images — no zoom effect needed */
ul.products li.product .astra-shop-thumbnail-wrap:hover img,
ul.products li.product .woocommerce-LoopProduct-link:hover img {
    transform: none !important;
}
/* Uniform product image height — fix uneven cards when product has multiple images */
ul.products li.product .astra-shop-thumbnail-wrap,
ul.products li.product .woocommerce-LoopProduct-link > img,
ul.products li.product img.attachment-woocommerce_thumbnail {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    overflow: hidden !important;
}
ul.products li.product .astra-shop-thumbnail-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 10px 10px 0 0 !important;
}
/* Safari fix: isolation keeps overflow:hidden clipping the image */
ul.products li.product .astra-shop-thumbnail-wrap {
    isolation: isolate !important;
}

/* ── YITH QV + compact actions row ── */
ul.products li.product {
    position: relative !important;
}
/* Compact actions row */
.freq-product-actions {
    display: block;
    margin-top: 0;
}
/* ── QV button: subtle text link below the card info ── */
/* High-specificity to beat Astra's inline .button { var(--ast-global-color-0) } */
html body ul.products li.product .freq-product-actions a.yith-wcqv-button,
html body ul.products li.product a.yith-wcqv-button,
html body .woocommerce ul.products li.product a.yith-wcqv-button {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 36px !important;
    line-height: 36px !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid #e4e0da !important;
    border-top: none !important;
    border-radius: 0 0 4px 4px !important;
    text-align: center !important;
    font-size: 10px !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: #888 !important;
    padding: 0 12px !important;
    bottom: auto !important; left: auto !important;
    box-shadow: none !important;
    text-shadow: none !important;
    backdrop-filter: none !important;
    transition: color 0.2s, background 0.2s !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
html body ul.products li.product .freq-product-actions a.yith-wcqv-button:hover,
html body ul.products li.product a.yith-wcqv-button:hover {
    background: #f8f6f3 !important;
    background-color: #f8f6f3 !important;
    color: #444 !important;
    border-color: #ccc !important;
}
.freq-product-actions .yith-wcqv-button .qv-text,
.yith-wcqv-button .qv-text {
    display: inline !important;
    font-size: 10px !important;
}
/* SVG icon in QV button */
.freq-product-actions .yith-wcqv-button svg,
.yith-wcqv-button svg {
    width: 12px !important; height: 12px !important;
    vertical-align: middle !important;
    margin-right: 5px !important;
    margin-top: -2px !important;
}
/* ── Wishlist: absolute circle on product image (top-right) ── */
ul.products li.product {
    position: relative !important;
}
.freq-product-actions .tinv-wraper.tinvwl-after-add-to-cart,
ul.products li.product .freq-product-actions .tinv-wraper {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 20 !important;
    margin: 0 !important;
    display: block !important;
}
.freq-product-actions .tinvwl-add_to_wishlist-button,
ul.products li.product .tinvwl-add_to_wishlist-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.92) !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
    color: #bbb !important;
    font-size: 15px !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: color 0.2s, background 0.2s, transform 0.15s !important;
    backdrop-filter: blur(4px) !important;
}
/* Wishlist hover: red border outline — tikai shop LOOP kartītēs */
.freq-product-actions .tinvwl-add_to_wishlist-button:hover,
ul.products li.product .tinvwl-add_to_wishlist-button:hover,
.freq-product-actions .tinvwl_add_to_wishlist_button:hover,
ul.products li.product .tinvwl_add_to_wishlist_button:hover {
    transform: scale(1.1) !important;
    color: #e74c3c !important;
    border: 2px solid #e74c3c !important;
    background: rgba(255,255,255,0.97) !important;
    box-shadow: 0 2px 10px rgba(231,76,60,0.2) !important;
}
/* Red filled heart when already in wishlist */
.tinvwl-product-in-list .tinvwl-add_to_wishlist-button,
.freq-product-actions .tinvwl-product-in-list .tinvwl-add_to_wishlist-button,
ul.products li.product .tinvwl-product-in-list .tinvwl-add_to_wishlist-button,
.tinvwl-product-in-list .tinvwl_add_to_wishlist_button,
.freq-product-actions .tinvwl-product-in-list .tinvwl_add_to_wishlist_button,
ul.products li.product .tinvwl-product-in-list .tinvwl_add_to_wishlist_button,
.tinv-wraper.tinvwl-product-in-list .tinvwl_add_to_wishlist_button {
    color: #e74c3c !important;
    background: rgba(255,255,255,0.97) !important;
}
/* ── Add to cart: slim clean button inside summary wrap ── */
html body ul.products li.product .astra-shop-summary-wrap .add_to_cart_button,
html body .woocommerce ul.products li.product .astra-shop-summary-wrap a.button:not(.yith-wcqv-button),
html body ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button {
    display: block !important;
    width: 100% !important;
    height: 42px !important;
    line-height: 42px !important;
    text-align: center !important;
    padding: 0 16px !important;
    margin-top: 12px !important;
    font-size: 10px !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    font-family: Inter, sans-serif !important;
    background: #1a1a1a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px 4px 0 0 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
html body ul.products li.product .astra-shop-summary-wrap .add_to_cart_button:hover,
html body .woocommerce ul.products li.product .astra-shop-summary-wrap a.button:not(.yith-wcqv-button):hover {
    background: #333 !important;
    color: #fff !important;
}
/* Pulsing "Added!" state */
.astra-shop-summary-wrap .added.add_to_cart_button {
    background: #2d6a2d !important;
}

/* Hide "LASĪT VAIRĀK" / "Select options" for variable/grouped in catalog */
html body ul.products li.product a.product_type_variable.button:not(.yith-wcqv-button),
html body ul.products li.product a.product_type_grouped.button:not(.yith-wcqv-button),
html body .woocommerce ul.products li.product a.product_type_variable,
html body .woocommerce ul.products li.product a.product_type_grouped {
    display: none !important;
}
/* ── YITH QV popup short description ── */
.freq-qv-short-desc {
    font-size: 13px;
    line-height: 1.65;
    color: #555;
    margin: 12px 0 16px;
    border-left: 2px solid #285F6B;
    padding-left: 12px;
}
/* ── "Uzzināt vairāk" link ── */
.freq-qv-view-more {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
.freq-qv-view-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #285F6B !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(40,95,107,0.35);
    padding-bottom: 2px;
    transition: gap 0.2s, border-color 0.2s, color 0.2s;
}
.freq-qv-view-link:hover {
    gap: 12px;
    border-color: #3A7683;
    color: #3A7683 !important;
}
/* ── Fix: QV button must NOT be styled like standard buttons ── */
body .yith-wcqv-button,
body .yith-wcqv-button:hover {
    border-radius: 30px !important;
    transform-origin: center bottom !important;
}


/* PI Partner warehouse notice */
.freq-pi-delivery-notice {
    margin: 8px 0 16px;
    padding: 10px 14px;
    background: #f8f6f1;
    border-left: 3px solid #285F6B;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}
.freq-pi-delivery-icon {
    margin-right: 4px;
}
/* Override stock text styling for PI */
.stock.in-stock {
    color: #285F6B !important;
    font-weight: 500;
}

/* ── SINGLE PRODUCT PAGE: Wishlist — apļa poga PA LABI no "PIEVIENOT GROZAM" ── */

/* form.cart = flexbox rinda: [qty] [PIEVIENOT GROZAM] [♥] */
body.single-product form.cart {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
}
body.single-product form.cart .quantity {
    flex-shrink: 0 !important;
    margin-right: 0 !important;
}
body.single-product form.cart .single_add_to_cart_button {
    flex: 1 !important;
}
/* Wishlist wrapper iekš formas */
body.single-product form.cart .tinv-wraper {
    flex-shrink: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* Wishlist poga — aplis 40x40, blakus kartītei */
body.single-product form.cart .tinv-wraper .tinvwl_add_to_wishlist_button,
body.single-product form.cart .tinv-wraper .tinvwl-add_to_wishlist-button {
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1.5px solid #e0dbd4 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
    backdrop-filter: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #bbb !important;
    transition: color 0.2s, border-color 0.2s !important;
    text-decoration: none !important;
    gap: 0 !important;
}
/* Hover — sarkana mala, sarkana ikona, BEZ stripes */
body.single-product form.cart .tinv-wraper .tinvwl_add_to_wishlist_button:hover,
body.single-product form.cart .tinv-wraper .tinvwl-add_to_wishlist-button:hover {
    border-color: #e74c3c !important;
    color: #e74c3c !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(231,76,60,0.15) !important;
    transform: none !important;
}
/* Aktīvs (jau vēlmju sarakstā) — sarkana ikona */
body.single-product form.cart .tinv-wraper.tinvwl-product-in-list .tinvwl_add_to_wishlist_button,
body.single-product form.cart .tinv-wraper .tinvwl-product-in-list .tinvwl_add_to_wishlist_button {
    color: #e74c3c !important;
    border-color: #e74c3c !important;
    background: #fff !important;
}
/* Ikona izmērs */
body.single-product form.cart .tinv-wraper .tinvwl_add_to_wishlist_button i {
    font-size: 16px !important;
    line-height: 1 !important;
    display: block !important;
}
/* Slēpt teksta label "Pievienot vēlmēm" — tikai ikona */
body.single-product form.cart .tinv-wraper .tinvwl-label {
    display: none !important;
}
/* ── Sirds ikona: pārdefinēt ::before ar augstu specifiku ──
   a::before = gan tooltip bultiņa (CSS border), gan ikona (content: \e909).
   Ar šo kārtulu piespiedu kārtā VIENMĒR rādam ikonu un nodzēšam tooltip border. */
body.single-product form.cart .tinv-wraper .tinvwl_add_to_wishlist_button::before {
    content: "\e909" !important;
    font-family: tinvwl-webfont !important;
    font-style: normal !important;
    font-weight: normal !important;
    display: inline-block !important;
    font-size: 16px !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    background: transparent !important;
    color: inherit !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
}
/* Tooltip burbuli (::after) arī slēpt */
body.single-product form.cart .tinv-wraper .tinvwl_add_to_wishlist_button::after,
body.single-product form.cart .tinv-wraper .tooltipped::after {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}
/* Noņem text-decoration uz visiem stāvokļiem */
body.single-product form.cart .tinv-wraper a,
body.single-product form.cart .tinv-wraper a:hover,
body.single-product form.cart .tinv-wraper a:focus {
    text-decoration: none !important;
    outline: none !important;
}


/* ── Cart icon: remove blue border, match dark theme ── */
.ast-header-woo-cart .ast-cart-menu-wrap,
.ast-header-woo-cart .ast-icon,
.ast-header-woo-cart .shopping-bag {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
/* Cart icon wrapper */
.ast-header-woo-cart .ast-icon svg,
.ast-header-woo-cart svg {
    color: #1a1a1a !important;
    fill: none !important;
    stroke: #1a1a1a !important;
}
/* Cart count badge — teal color override */
.ast-site-header-cart .ast-cart-menu-wrap .count,
.ast-menu-cart-outline .ast-cart-menu-wrap .count,
.ast-menu-cart-fill .ast-cart-menu-wrap .count,
.ast-site-header-cart .ast-addon-cart-wrap i.astra-icon::after,
.ast-site-header-cart i.astra-icon::after,
.ast-header-woo-cart .count,
.ast-cart-menu-wrap .count {
    background: #285F6B !important;
    background-color: #285F6B !important;
    color: #fff !important;
    border: none !important;
    border-color: #285F6B !important;
    font-weight: 700 !important;
}
/* Remove any blue borders from cart button */
.ast-header-woo-cart *,
.ast-cart-menu-wrap * {
    border-color: transparent !important;
    outline: none !important;
}
/* Cart button itself */
.ast-header-woo-cart .ast-cart-menu-wrap > a,
.woocommerce-custom-header-cart a {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 8px !important;
}
/* Override Astra's blue button-style cart */
.ast-site-header .ast-header-woo-cart .ast-icon,
.ast-site-header .ast-cart-menu-wrap .ast-icon {
    background-color: transparent !important;
    border: none !important;
    color: #1a1a1a !important;
}
/* ── Account icon: make it clickable + styled ── */
.ast-header-account .ast-icon,
.ast-header-account svg {
    color: #1a1a1a !important;
    cursor: pointer !important;
}
.ast-header-account {
    cursor: pointer !important;
}
/* Account icon — enlarge click area */
.ast-header-account-wrap {
    display: flex !important;
    align-items: center !important;
}
.ast-header-account-wrap .ast-header-account-inner-wrap {
    display: flex !important;
    align-items: center !important;
}
.ast-header-account-wrap .ast-header-account-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    cursor: pointer !important;
}
.ast-header-account-wrap .ast-header-account-link svg,
.ast-header-account-wrap .ast-header-account-link .ahfb-svg-iconset {
    width: 22px !important;
    height: 22px !important;
    pointer-events: none !important;
}
/* TI Wishlist — hide ALL popups, modals, and notices */
.tinv-wishlist-popup,
.tinvwl-modal,
.tinv-modal,
.tinv-wishlist-notice,
.tinvwl-tooltip,
.tinv-create-list,
.tinvwl-dialogs-wrapper,
body .tinv-modal.tinv-modal-open,
.tinvwl-modal-wrapper {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* TI Wishlist — red filled heart when product is in wishlist (single product page) */
.tinvwl-product-in-list .tinvwl_add_to_wishlist_button,
.tinvwl-product-in-list .tinvwl_add_to_wishlist_button:before,
.tinvwl-product-in-list .tinvwl-icon-heart:before,
.single-product .tinvwl-product-in-list .tinvwl_add_to_wishlist_button {
    color: #e74c3c !important;
}
/* Ensure the heart-plus icon switches to filled heart when in list */
.tinvwl-product-in-list .tinvwl-icon-heart-plus:before {
    content: "\f004" !important; /* FontAwesome filled heart */
    color: #e74c3c !important;
}
.tinvwl-product-in-list .tinvwl-icon-heart:before {
    color: #e74c3c !important;
}
/* Hover states */
.ast-header-woo-cart:hover svg,
.ast-header-account:hover svg {
    color: #285F6B !important;
    stroke: #285F6B !important;
    transition: color 0.2s, stroke 0.2s !important;
}

/* ═══ MINI-CART GLOBAL STYLES ═══ */
/* Override Astra CSS variables for mini-cart scope */
.ast-site-header-cart,
.ast-header-woo-cart,
.widget_shopping_cart,
.woocommerce-mini-cart__buttons,
.ast-site-header-cart .ast-addon-cart-wrap,
.astra-cart-drawer {
    --color-primary: #285F6B !important;
    --color-accent: #1e4d57 !important;
    --ast-global-color-0: #285F6B !important;
    --ast-global-color-1: #1e4d57 !important;
}
html body .widget_shopping_cart .woocommerce-mini-cart__buttons a,
html body .woocommerce-mini-cart__buttons .button,
html body .woocommerce-mini-cart__buttons a.button,
html body .ast-site-header-cart .woocommerce-mini-cart__buttons a,
html body .ast-header-woo-cart .woocommerce-mini-cart__buttons a,
html body .astra-cart-drawer .woocommerce-mini-cart__buttons a,
html body .ast-site-header-cart .ast-addon-cart-wrap .woocommerce-mini-cart__buttons a {
    background: #285F6B !important;
    background-color: #285F6B !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    display: block !important;
    margin: 4px 0 !important;
    text-decoration: none !important;
    transition: background 0.2s !important;
    text-transform: none !important;
}
html body .widget_shopping_cart .woocommerce-mini-cart__buttons a:hover,
html body .ast-header-woo-cart .woocommerce-mini-cart__buttons a:hover,
html body .astra-cart-drawer .woocommerce-mini-cart__buttons a:hover {
    background: #1e4d57 !important;
    background-color: #1e4d57 !important;
    color: #fff !important;
}
/* Mini-cart drawer overall styling */
html body .astra-cart-drawer .astra-cart-drawer-content,
html body .ast-site-header-cart .ast-addon-cart-wrap {
    border-radius: 16px !important;
}
html body .woocommerce-mini-cart .mini_cart_item a:not(.remove) {
    color: #333 !important;
    text-decoration: none !important;
}
html body .woocommerce-mini-cart .mini_cart_item .quantity {
    color: #666 !important;
}



/* Hide the complex Astra shopping bag SVG */
.ast-icon-shopping-bag .ast-icon svg,
.ast-icon-shopping-bag span.ast-icon svg {
    display: none !important;
    opacity: 0 !important;
}
/* Size the icon wrapper */
.ast-icon-shopping-bag .ast-icon,
.ast-icon-shopping-bag span.ast-icon {
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}
/* Inject clean Feather-style shopping cart via pseudo-element */
.ast-icon-shopping-bag .ast-icon::after {
    content: '' !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 001.99 1.61h9.72a2 2 0 001.98-1.71l1.38-9.26H5.21'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}
/* Hover state — gold */
.ast-header-woo-cart:hover .ast-icon-shopping-bag .ast-icon::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23367D8A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 001.99 1.61h9.72a2 2 0 001.98-1.71l1.38-9.26H5.21'/%3E%3C/svg%3E") !important;
}


ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}
ul.products li.product .astra-shop-summary-wrap {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
ul.products li.product .astra-shop-summary-wrap > .add_to_cart_button,
ul.products li.product .astra-shop-summary-wrap > a.button:not(.yith-wcqv-button) {
    margin-top: auto !important;
}



/* ── Subtle ambient background so glass has something to refract ── */
body.woocommerce-shop .site-content::before,
body.tax-product_cat .site-content::before,
body.tax-product_tag .site-content::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 10% 20%, rgba(54,125,138,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 90% 80%, rgba(54,125,138,0.05) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 50% 50%, rgba(255,255,255,0.4) 0%, transparent 60%);
    /* card clickable */
    z-index: 0;
}
body.woocommerce-shop .site-content,
body.tax-product_cat .site-content {
    position: relative;
    z-index: 1;
}

/* ── LIQUID GLASS product cards ── */
ul.products li.product {
    background: rgba(255,255,255,0.76) !important;
    backdrop-filter: blur(18px) saturate(160%) brightness(1.03) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%) brightness(1.03) !important;
    border: 1px solid rgba(255,255,255,0.72) !important;
    border-radius: 20px !important;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.055),
        0 8px 28px rgba(0,0,0,0.045),
        inset 0 1px 0 rgba(255,255,255,0.92),
        inset 0 -1px 0 rgba(0,0,0,0.02) !important;
    overflow: hidden !important;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease !important;
    position: relative !important;
}
ul.products li.product:hover {
    transform: translateY(-7px) scale(1.012) !important;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.10),
        0 20px 56px rgba(0,0,0,0.07),
        inset 0 1px 0 rgba(255,255,255,0.97),
        inset 0 -1px 0 rgba(0,0,0,0.025) !important;
    border-color: rgba(54,125,138,0.22) !important;
}
/* Specular shimmer on card face */
ul.products li.product::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 20px !important;
    background: linear-gradient(
        155deg,
        rgba(255,255,255,0.38) 0%,
        rgba(255,255,255,0.10) 30%,
        transparent 50%
    ) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}
/* Image area clips to card top radius */
ul.products li.product .astra-shop-thumbnail-wrap {
    border-radius: 16px 16px 0 0 !important;
    overflow: hidden !important;
}

/* ── ROUNDED CORNERS — everywhere ── */

/* Product add-to-cart button (top radius = 0, blends with summary) */
html body ul.products li.product .astra-shop-summary-wrap .add_to_cart_button,
html body .woocommerce ul.products li.product .astra-shop-summary-wrap a.button:not(.yith-wcqv-button),
html body ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button {
    border-radius: 0 0 10px 10px !important;
}
/* QV "Ātri apskatīt" link at very bottom */
html body ul.products li.product .freq-product-actions a.yith-wcqv-button,
html body ul.products li.product a.yith-wcqv-button {
    border-radius: 0 0 18px 18px !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* All other buttons — pill shape */
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body .single_add_to_cart_button,
body .wp-block-button__link,
body .ast-button,
body button.button:not(.yith-wcqv-button):not(.add_to_cart_button):not(.freq-energy-nav),
body a.button:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button) {
    border-radius: 50px !important;
}

/* Checkout button */
.wc-proceed-to-checkout .checkout-button {
    border-radius: 50px !important;
}

/* Form inputs — softer */
.woocommerce input.input-text,
.woocommerce select,
.woocommerce textarea,
body input[type="text"],
body input[type="email"],
body input[type="tel"],
body input[type="search"],
body input[type="number"],
body input[type="password"] {
    border-radius: 10px !important;
}

/* Cart summary panel */
.cart_totals {
    border-radius: 16px !important;
    overflow: hidden !important;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: 12px !important;
}
.freq-free-shipping-banner {
    border-radius: 12px !important;
}

/* Woo tabs on single product */
.woocommerce-tabs .tabs li {
    border-radius: 8px 8px 0 0 !important;
}

/* NKey info card */
.freq-nkey-personalize {
    border-radius: 20px !important;
}

/* Energy / blog cards */
.freq-energy-card {
    border-radius: 20px !important;
}



/* YITH wishlist heart — active/added state */
.yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse a,
.yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse .yith-wcwl-icon,
.yith-wcwl-add-to-wishlist.exists a .yith-wcwl-icon,
.yith-wcwl-add-to-wishlist.exists a,
.yith-wcwl-add-to-wishlist a.add_to_wishlist.added,
.added_to_wishlist .yith-wcwl-icon,
.yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse a:before,
a.yith-wcwl-add:after { color: #e53935 !important; fill: #e53935 !important; }

/* SVG heart fill */
.yith-wcwl-add-to-wishlist.exists svg,
.yith-wcwl-wishlistexistsbrowse svg,
.added_to_wishlist svg {
    fill: #e53935 !important;
    color: #e53935 !important;
    stroke: #e53935 !important;
}

/* Force icon color via filter on img/svg inside wishlist */
.yith-wcwl-add-to-wishlist.exists .yith-wcwl-icon i,
.yith-wcwl-add-to-wishlist.exists i.fa,
.yith-wcwl-add-to-wishlist.exists i {
    color: #e53935 !important;
}

/* Custom freq wishlist heart button */
.freq-wl-btn.freq-wl-added,
.freq-wl-btn:has(+ .freq-wl-count),
.freq-wl-btn.added { color: #e53935 !important; }


.ast-header-woo-cart .ast-cart-menu-wrap .count,
.ast-site-header-cart .count {
    position: absolute !important;
    top: -6px !important;
    right: -8px !important;
    left: auto !important;
    min-width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
    line-height: 18px !important;
    padding: 0 4px !important;
    border-radius: 50px !important;
    background: #285F6B !important;
    color: #fff !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    pointer-events: none !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18) !important;
}
.ast-header-woo-cart {
    position: relative !important;
}


/* Main nav links hover */
.main-header-menu .menu-item > a:hover,
.main-header-menu .current-menu-item > a,
.main-header-menu .current_page_item > a {
    color: #367D8A !important;
}

/* "Visi produkti" / "All Products" — highlighted pill button */
.main-header-menu .menu-item a[href*="produkti"],
.main-header-menu .menu-item a[href*="products"],
.main-header-menu .menu-item a[href*="veikals"],
.main-header-menu .menu-item a[href*="shop"],
.ast-builder-menu-1 .menu-item a[href*="produkti"],
.ast-builder-menu-1 .menu-item a[href*="shop"] {
    background: rgba(54,125,138,0.12) !important;
    color: #285F6B !important;
    border: 1px solid rgba(54,125,138,0.35) !important;
    border-radius: 50px !important;
    padding: 6px 18px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}
.main-header-menu .menu-item a[href*="produkti"]:hover,
.main-header-menu .menu-item a[href*="shop"]:hover,
.ast-builder-menu-1 .menu-item a[href*="produkti"]:hover,
.ast-builder-menu-1 .menu-item a[href*="shop"]:hover {
    background: #285F6B !important;
    color: #fff !important;
    border-color: #285F6B !important;
}

/* Header primary button (if any .ast-header-button) */
.ast-header-button,
.ast-header-button-wrap a,
.header-main-layout-1 .ast-builder-grid-row .ast-button-wrap a {
    background: #285F6B !important;
    color: #fff !important;
    border-radius: 50px !important;
    border: none !important;
    padding: 8px 22px !important;
    font-weight: 600 !important;
    transition: background 0.25s ease !important;
}
.ast-header-button:hover,
.ast-header-button-wrap a:hover {
    background: #367D8A !important;
}

/* Dropdown submenu hover */
.main-header-menu .sub-menu .menu-item > a:hover {
    color: #367D8A !important;
    background: rgba(54,125,138,0.07) !important;
}

/* Focus outline teal */
.main-header-menu .menu-item > a:focus {
    outline-color: #367D8A !important;
}



/* ══════════════════════════════════════════
   PAPILDU INFORMĀCIJA — tabula
   ══════════════════════════════════════════ */
.woocommerce-product-attributes,
.shop_attributes {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
    font-family: Inter, -apple-system, sans-serif !important;
    font-size: 14px !important;
}
.woocommerce-product-attributes th,
.shop_attributes th {
    font-family: Inter, -apple-system, sans-serif !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #285F6B !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 8px 16px !important;
    background: rgba(40,95,107,0.035) !important;
    border: none !important;
    border-bottom: 1px solid rgba(40,95,107,0.08) !important;
    width: 140px !important;
    vertical-align: middle !important;
    text-align: left !important;
}
.woocommerce-product-attributes td,
.shop_attributes td {
    font-family: Inter, -apple-system, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    color: #555 !important;
    padding: 8px 16px !important;
    border: none !important;
    border-bottom: 1px solid rgba(40,95,107,0.06) !important;
    vertical-align: middle !important;
}
.woocommerce-product-attributes tr:last-child th,
.woocommerce-product-attributes tr:last-child td,
.shop_attributes tr:last-child th,
.shop_attributes tr:last-child td {
    border-bottom: none !important;
}
.woocommerce-product-attributes tr,
.shop_attributes tr {
    background: transparent !important;
}
/* Tabulas konteiners ar noapaļotām malām */
.woocommerce-Tabs-panel--additional_information {
    padding: 0 !important;
}
.woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes,
.woocommerce-Tabs-panel--additional_information .shop_attributes {
    border: 1px solid rgba(40,95,107,0.1) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    max-width: 560px !important;
}

/* ══════════════════════════════════════════
   ATSAUKSMES — reviews section
   ══════════════════════════════════════════ */
/* Heading "Uzraksti atsauksmi pirmais par..." */
#reviews #reply-title,
#reviews .comment-reply-title,
.woocommerce-Reviews-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    color: #0e2628 !important;
    margin: 0 0 4px !important;
    line-height: 1.3 !important;
}
/* "Nav atsauksmju" un apakšvirsraksti */
#reviews .woocommerce-noreviews,
#reviews p.no-comments {
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    color: #999 !important;
    font-style: italic !important;
    margin: 0 0 18px !important;
}
/* "Jūsu e-pasta adrese netiks publicēta..." */
#reviews .comment-notes,
#reviews .woocommerce-Reviews .comment-notes {
    font-family: Inter, sans-serif !important;
    font-size: 11px !important;
    color: #aaa !important;
    margin: 0 0 14px !important;
}
/* "Jūsu vērtējums" un "Jūsu atsauksme" label */
#reviews label,
#reviews .comment-form label {
    font-family: Inter, sans-serif !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #285F6B !important;
    display: block !important;
    margin-bottom: 6px !important;
}
/* Forma šaurāka — neizpleties pa visu platumu */
#reviews #respond.comment-respond,
#reviews #review_form_wrapper {
    max-width: 560px !important;
}
/* Zvaigznes — teal krāsā */
.stars a, .star-rating span,
#reviews .stars a:before,
#reviews .stars a:after {
    color: #285F6B !important;
}
#reviews .stars span a {
    color: #285F6B !important;
}
/* Textarea un input */
#reviews .comment-form input[type="text"],
#reviews .comment-form input[type="email"],
#reviews .comment-form textarea,
#reviews #comment,
#reviews input[name="author"],
#reviews input[name="email"] {
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    border: 1px solid rgba(40,95,107,0.18) !important;
    border-radius: 8px !important;
    padding: 9px 13px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    color: #333 !important;
    background: #fafafa !important;
    transition: border-color 0.2s !important;
    outline: none !important;
    box-shadow: none !important;
    resize: vertical !important;
}
#reviews .comment-form textarea,
#reviews #comment {
    min-height: 90px !important;
}
#reviews .comment-form input:focus,
#reviews .comment-form textarea:focus,
#reviews #comment:focus {
    border-color: #285F6B !important;
    background: #fff !important;
}
/* Submit poga — augsta specifika lai uzvar liquid-glass (priority 1000) */
body .woocommerce #reviews #respond input#submit,
body .woocommerce #reviews input[type="submit"],
body #reviews #respond input#submit,
body #reviews input[type="submit"] {
    font-family: Inter, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    background: #285F6B !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 26px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    box-shadow: 0 2px 10px rgba(40,95,107,0.25) !important;
    text-shadow: none !important;
}
body .woocommerce #reviews #respond input#submit:hover,
body #reviews input[type="submit"]:hover {
    background: #1a3d45 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(40,95,107,0.35) !important;
}
/* Atsauksmju forma konteiners */
#review_form_wrapper,
#review_form {
    background: #f8f8f6 !important;
    border: 1px solid rgba(40,95,107,0.1) !important;
    border-radius: 16px !important;
    padding: 32px !important;
    margin-top: 32px !important;
}
/* Esošās atsauksmes */
.comment-text {
    border: 1px solid rgba(40,95,107,0.1) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    background: #fff !important;
    margin-bottom: 16px !important;
}
.woocommerce-review__author {
    font-family: Inter, sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #285F6B !important;
}
.woocommerce-review__published-date {
    font-family: Inter, sans-serif !important;
    font-size: 11px !important;
    color: #aaa !important;
}

/* ── PRODUCT TABS: centered + teal color ── */
.woocommerce-tabs .tabs {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    flex-wrap: wrap !important;
    border-bottom: 2px solid rgba(40,95,107,0.15) !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
}
.woocommerce-tabs .tabs li {
    margin: 0 !important;
    float: none !important;
}
.woocommerce-tabs .tabs li a {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.06em !important;
    color: #285F6B !important;
    padding: 10px 22px !important;
    text-decoration: none !important;
    border: none !important;
    background: none !important;
    display: block !important;
}
.woocommerce-tabs .tabs li a:hover {
    color: #1a3d45 !important;
    background: none !important;
}
.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li.active > a {
    color: #1a3d45 !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #285F6B !important;
    margin-bottom: -2px !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ── PRODUCT GALLERY: limit main image height, but allow thumbnails to show below ── */
@media (min-width: 921px) {
    /* Gallery wrapper: overflow visible so thumbnails aren't clipped */
    .woocommerce-product-gallery {
        max-height: none !important;
        overflow: visible !important;
    }
    /* flex-viewport: the actual sliding area — limit this, not the whole gallery */
    .woocommerce-product-gallery .flex-viewport {
        max-height: 520px !important;
        overflow: hidden !important;
    }
    .woocommerce-product-gallery .woocommerce-product-gallery__image {
        max-height: 520px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .woocommerce-product-gallery .woocommerce-product-gallery__image img,
    .woocommerce-product-gallery .woocommerce-product-gallery__image a img {
        max-height: 510px !important;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        margin: 0 auto !important;
    }
}



/* ═══════════════════════════════════════════════════
   TEAL PALETTE — DELETE THIS BLOCK TO REVERT TO GOLD
   Gold (legacy) → Teal #367D8A
   Dark warm → Deep teal #133336
   ═══════════════════════════════════════════════════ */

/* Top bar background */
.ast-above-header-bar,
#ast-above-header { background: #133336 !important; }

/* Accent text (was gold) */
.freq-energy-eyebrow,
.freq-energy-domain,
.freq-energy-btn,
.freq-nkey-eyebrow,
.freq-nkey-info-eyebrow,
.freq-nkey-personalize-badge,
.freq-footer-insta,
.freq-footer-insta:hover,
.freq-footer-links li a:hover,
.freq-qv-view-link,
.freq-qv-view-link:hover { color: #367D8A !important; }

/* Border accents */
.freq-energy-btn { border-color: rgba(54,125,138,0.3) !important; }
.freq-energy-btn:hover { border-color: #367D8A !important; }
.freq-qv-view-link { border-color: rgba(54,125,138,0.35) !important; }
.freq-qv-short-desc { border-left-color: #367D8A !important; }
.freq-free-shipping-banner { border-left-color: #367D8A !important; }
.freq-footer-insta { border-color: rgba(54,125,138,0.25) !important; }

/* Badge backgrounds */
.freq-energy-badge,
.freq-nkey-personalize-badge {
    background: rgba(54,125,138,0.12) !important;
    border-color: rgba(54,125,138,0.28) !important;
}

/* Active dot / progress bar */
.freq-energy-dot.active { background: #367D8A !important; width: 20px; }
.freq-fsb-fill { background: #367D8A !important; }

/* NKey eyebrow (inside hero dark section) */
.freq-nkey-eyebrow { color: #5BABBF !important; }
.freq-nkey-features li span { color: #367D8A !important; }
.freq-nkey-personalize-badge { color: #367D8A !important; }

/* Cart count badge */
.ast-cart-menu-wrap .count,
.ast-site-header-cart i.astra-icon::after,
.ast-header-woo-cart .count { background: #285F6B !important; background-color: #285F6B !important; border-color: #285F6B !important; }

/* Wishlist count */
.freq-wl-count { background: #285F6B !important; }

/* Product "Add to Cart" button */
html body ul.products li.product .astra-shop-summary-wrap .add_to_cart_button,
html body .woocommerce ul.products li.product .astra-shop-summary-wrap a.button:not(.yith-wcqv-button),
html body ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button {
    background: #285F6B !important;
}
html body ul.products li.product .astra-shop-summary-wrap .add_to_cart_button:hover,
html body .woocommerce ul.products li.product .astra-shop-summary-wrap a.button:not(.yith-wcqv-button):hover {
    background: #367D8A !important;
}
.astra-shop-summary-wrap .added.add_to_cart_button { background: #1a5c3c !important; }

/* Checkout + single add to cart */
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body .single_add_to_cart_button {
    background: rgba(40,95,107,0.88) !important;
}

/* NKey CTA button hover */
.freq-nkey-personalize-btn:hover { background: #285F6B !important; }

/* Footer separator line */
.freq-energy-section::before {
    background: linear-gradient(90deg, transparent, rgba(54,125,138,0.5), transparent) !important;
}

/* Energy/blog card hover border */
.freq-energy-card:hover {
    border-color: rgba(54,125,138,0.28) !important;
}

/* Section top separator (NKey hero area) */
.freq-nkey-hero {
    background: linear-gradient(160deg, #050f10 0%, #0d2426 40%, #07151a 100%) !important;
}
.freq-nkey-hero::before {
    background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(54,125,138,0.10), transparent) !important;
}


/* Override previous box-shadow with teal edge glow */
ul.products li.product {
    box-shadow:
        0 2px 8px rgba(0,0,0,0.06),
        0 8px 28px rgba(0,0,0,0.05),
        0 0 0 1px rgba(54,125,138,0.18),
        inset 0 1px 0 rgba(255,255,255,0.92),
        inset 0 -1px 0 rgba(0,0,0,0.02) !important;
}
ul.products li.product:hover {
    box-shadow:
        0 8px 32px rgba(54,125,138,0.18),
        0 20px 56px rgba(0,0,0,0.07),
        0 0 0 1.5px rgba(54,125,138,0.42),
        0 0 20px rgba(54,125,138,0.12),
        inset 0 1px 0 rgba(255,255,255,0.97),
        inset 0 -1px 0 rgba(0,0,0,0.025) !important;
    border-color: rgba(54,125,138,0.30) !important;
}


/* Override liquid glass bottom-rounded buttons → full pill */
html body ul.products li.product .astra-shop-summary-wrap .add_to_cart_button,
html body .woocommerce ul.products li.product .astra-shop-summary-wrap a.button:not(.yith-wcqv-button),
html body ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button,
html body .home ul.products li.product .astra-shop-summary-wrap .add_to_cart_button,
html body .front-page ul.products li.product .astra-shop-summary-wrap .add_to_cart_button {
    border-radius: 50px !important;
    margin: 10px 12px 12px !important;
    width: calc(100% - 24px) !important;
    box-sizing: border-box !important;
}
/* Quick view button stays as is */
html body ul.products li.product a.yith-wcqv-button {
    border-radius: 0 0 14px 14px !important;
}
/* Hero CTA buttons — pill */
.freq-nkey-hero .freq-nkey-personalize-btn,
.freq-hero-btn,
.elementor-widget-button .elementor-button,
.wp-block-button__link,
.entry-content .wp-block-button__link {
    border-radius: 50px !important;
}


/* Hero cover block buttons — pill shaped + liquid glass */
.freq-hero .wp-block-cover__inner-container a,
.wp-block-cover.freq-hero a:not(.skip-link) {
    border-radius: 50px !important;
    padding: 14px 36px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}
/* Primary hero button (white bg) */
.freq-hero .wp-block-cover__inner-container a:first-of-type {
    background: rgba(255,255,255,0.92) !important;
    color: #133336 !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255,255,255,0.6) !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.8) !important;
}
.freq-hero .wp-block-cover__inner-container a:first-of-type:hover {
    background: #fff !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18) !important;
    transform: translateY(-1px) !important;
}
/* Secondary hero button (transparent/outline) */
.freq-hero .wp-block-cover__inner-container a:not(:first-of-type) {
    background: rgba(54,125,138,0.15) !important;
    color: #fff !important;
    border: 1px solid rgba(54,125,138,0.55) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 12px rgba(54,125,138,0.12) !important;
}
.freq-hero .wp-block-cover__inner-container a:not(:first-of-type):hover {
    background: rgba(54,125,138,0.32) !important;
    border-color: rgba(54,125,138,0.8) !important;
    box-shadow: 0 4px 20px rgba(54,125,138,0.2) !important;
    transform: translateY(-1px) !important;
}


/* Slim header bar */
.main-header-bar,
.ast-primary-header-bar {
    min-height: 50px !important;
}
.site-primary-header-wrap,
.ast-builder-grid-row-container {
    min-height: 50px !important;
}
/* Tighter logo zone */
.ast-site-identity { padding: 0 !important; }

/* Remove pill from Veikals/Kategorijas — use teal text + underline accent */
.main-header-menu .menu-item a[href*="veikals"],
.main-header-menu .menu-item a[href*="produkti"],
.main-header-menu .menu-item a[href*="ategorij"],
.ast-builder-menu-1 .menu-item a[href*="veikals"],
.ast-builder-menu-1 .menu-item a[href*="produkti"],
.ast-builder-menu-1 .menu-item a[href*="ategorij"] {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 4px 14px !important;
    color: #285F6B !important;
    font-weight: 600 !important;
    position: relative !important;
    box-shadow: none !important;
}
/* Teal underline accent for highlighted items */
.main-header-menu .menu-item a[href*="veikals"]::before,
.main-header-menu .menu-item a[href*="ategorij"]::before,
.ast-builder-menu-1 .menu-item a[href*="veikals"]::before,
.ast-builder-menu-1 .menu-item a[href*="ategorij"]::before {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 14px !important;
    right: 14px !important;
    height: 2px !important;
    background: #367D8A !important;
    border-radius: 2px !important;
}
/* Regular nav links — slightly larger */
.main-header-menu > .menu-item > a {
    font-size: 14px !important;
    padding: 3px 14px !important;
    letter-spacing: 0.025em !important;
    line-height: 1.4 !important;
}
/* Hover color on all nav links */
.main-header-menu > .menu-item > a:hover {
    color: #367D8A !important;
}
/* Nav container vertical centering */
.ast-builder-menu-1 .ast-main-header-wrap,
.ast-builder-menu-1 nav {
    padding: 0 !important;
}
/* Remove extra padding from Kategorijas dropdown toggle area */
.main-header-menu .menu-item-has-children > a {
    padding-right: 10px !important;
}
/* Dropdown arrow smaller */
.main-header-menu .menu-item-has-children > a .dropdown-menu-toggle {
    width: 16px !important;
    height: 16px !important;
}


/* Both hero buttons — unified white liquid glass, larger */
.freq-hero .wp-block-cover__inner-container a,
.wp-block-cover.freq-hero a:not(.skip-link) {
    border-radius: 50px !important;
    padding: 18px 52px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    /* White liquid glass — same for BOTH */
    background: rgba(255,255,255,0.88) !important;
    color: #133336 !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
    backdrop-filter: blur(16px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
    box-shadow:
        0 4px 20px rgba(0,0,0,0.13),
        inset 0 1px 0 rgba(255,255,255,0.9),
        inset 0 -1px 0 rgba(0,0,0,0.04) !important;
}
.freq-hero .wp-block-cover__inner-container a:hover,
.wp-block-cover.freq-hero a:not(.skip-link):hover {
    background: rgba(255,255,255,0.97) !important;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,1),
        inset 0 -1px 0 rgba(0,0,0,0.05) !important;
    transform: translateY(-2px) !important;
    color: #285F6B !important;
}
/* Keep the button container flex/wrap */
.freq-hero .wp-block-cover__inner-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    justify-content: center !important;
}


/* The counter is on i.astra-icon::after using data-cart-total attr */
i.astra-icon.ast-icon-shopping-bag {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/* Override Astra's default gold badge → teal, repositioned */
i.astra-icon::after,
i.ast-icon-shopping-bag::after {
    background: #285F6B !important;
    background-color: #285F6B !important;
    top: -8px !important;
    right: -8px !important;
    left: auto !important;
    min-width: 17px !important;
    height: 17px !important;
    font-size: 9.5px !important;
    line-height: 17px !important;
    border-radius: 50px !important;
    padding: 0 3px !important;
    font-weight: 700 !important;
}
/* Ensure the cart wrap is relative so badge positions inside it */
.ast-addon-cart-wrap {
    position: relative !important;
}


/* Hide the widget sidebar on shop/category pages */
.woocommerce-page .widget-area,
.woocommerce-sidebar,
.ast-woocommerce-shop-sidebar {
    display: none !important;
}
/* Let primary content use full width */
.woocommerce-page .site-content #primary.content-area,
.woocommerce-page .site-content .site-primary {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    float: none !important;
}
.woocommerce-page .site-content .ast-container {
    display: block !important;
}
/* Shop products grid — handled by freq-shop-glass (priority 10002) */


/* Restore flow layout on hero inner container */
.freq-hero .wp-block-cover__inner-container,
.wp-block-cover.freq-hero .wp-block-cover__inner-container {
    display: block !important;
    text-align: center !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    justify-content: unset !important;
}
/* Hero buttons — larger, white glass, both same */
.freq-hero .wp-block-cover__inner-container a,
.wp-block-cover.freq-hero a[href]:not(.skip-link) {
    display: inline-block !important;
    border-radius: 50px !important;
    padding: 18px 50px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    background: rgba(255,255,255,0.88) !important;
    color: #133336 !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
    backdrop-filter: blur(16px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.14), inset 0 1px 0 rgba(255,255,255,0.92) !important;
    margin: 6px !important;
    transition: all 0.28s ease !important;
}
.freq-hero .wp-block-cover__inner-container a:hover,
.wp-block-cover.freq-hero a[href]:not(.skip-link):hover {
    background: rgba(255,255,255,0.98) !important;
    color: #285F6B !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 36px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,1) !important;
}


/* UNDO the broken display:block override — scope to CONTENT only, not header */
.woocommerce-page .site-content .ast-container,
.woocommerce-shop .site-content .ast-container,
.woocommerce-shop #content .ast-container,
.tax-product_cat .site-content .ast-container,
.tax-product_cat #content .ast-container,
.tax-product_tag .site-content .ast-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
}
/* Hide the sidebar correctly */
#secondary.widget-area.secondary:not(.single-product #secondary),
.woocommerce-page:not(.single-product) #secondary,
.tax-product_cat #secondary,
.tax-product_tag #secondary {
    display: none !important;
    width: 0 !important;
    flex: 0 0 0 !important;
    overflow: hidden !important;
}
/* Primary content fills full width */
.woocommerce-page:not(.single-product) #primary.content-area,
.tax-product_cat #primary.content-area,
.tax-product_tag #primary.content-area {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}
/* Product grid — handled by freq-shop-glass (priority 10002) */


/* ── Galvenās lapas produktu bildes: aizpilda augšu, cover crop ── */
.home ul.products li.product .astra-shop-thumbnail-wrap {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: 13px 13px 0 0 !important;
    background: transparent !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
}
.home ul.products li.product .astra-shop-thumbnail-wrap img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center top !important;
}

/* ── Gutenberg bloku pogas galvenajā lapā → pill forma ── */
.home .wp-block-group.alignfull a:not([class]) {
    border-radius: 50px !important;
    padding: 14px 40px !important;
}

/* ── Mobilā versija: veikala produktu saraksts ── */
@media (max-width: 768px) {
    /* Veikals: atjaunot normālu kolonnu skaitu mobilā */
    .woocommerce-shop ul.products,
    .post-type-archive-product ul.products,
    .tax-product_cat ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        display: grid !important;
    }
    /* Sidebar paslēpšana mobilā */
    #secondary.widget-area.secondary {
        display: none !important;
    }
    /* Pilns platums mobilā */
    .woocommerce-page #primary.content-area {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    /* Galvenā lapa: 2 kolonnas mobilā */
    .home ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    /* Hero pogas mobilā */
    .freq-hero .wp-block-cover__inner-container a[href]:not(.skip-link) {
        padding: 12px 24px !important;
        font-size: 13px !important;
        margin: 6px !important;
    }
}
@media (max-width: 480px) {
    .woocommerce-shop ul.products,
    .post-type-archive-product ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .home ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


/* ── Sidebar paslēpšana: izmanto body.post-type-archive-product ── */
body.post-type-archive-product #secondary,
body.archive #secondary,
body.tax-product_cat #secondary,
body.tax-product_tag #secondary {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    flex: 0 0 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.post-type-archive-product #primary.content-area,
body.archive #primary.content-area,
body.tax-product_cat #primary.content-area {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* ── MOBILĀ VERSIJA: Teal palete + layout ── */
@media (max-width: 768px) {

    /* Navigācija mobilā */
    .ast-mobile-menu-trigger-fill svg,
    .ast-mobile-menu-trigger-minimal svg { color: #367D8A !important; }
    .main-header-bar { background: #fff !important; }

    /* Pogas mobilā → teal */
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button,
    ul.products li.product .button,
    .woocommerce #respond input#submit,
    .wc-block-components-button,
    .wp-block-button__link {
        background: #285F6B !important;
        color: #fff !important;
        border-radius: 50px !important;
        border: none !important;
    }
    .woocommerce a.button:hover,
    .woocommerce button.button:hover,
    ul.products li.product .button:hover {
        background: #133336 !important;
    }

    /* Produktu grid mobilā: 2 kolonnas */
    .woocommerce-shop ul.products,
    .post-type-archive-product ul.products,
    body.archive ul.products,
    .tax-product_cat ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 10px !important;
    }

    /* Galvenā lapa: 2 kolonnas mobilā */
    .home ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* Produktu kartes mobilā */
    .home ul.products li.product,
    .woocommerce ul.products li.product {
        font-size: 12px !important;
    }

    /* Cena mobilā — teal krāsa */
    .price, .woocommerce-Price-amount,
    .woocommerce-Price-amount bdi {
        color: #285F6B !important;
    }

    /* Hero pogas mobilā */
    .freq-hero .wp-block-cover__inner-container a[href]:not(.skip-link) {
        padding: 12px 22px !important;
        font-size: 12px !important;
        margin: 4px !important;
        display: inline-block !important;
    }

    /* Gutenberg bloku pill pogas mobilā */
    .home .wp-block-group.alignfull a:not([class]) {
        padding: 12px 28px !important;
        font-size: 14px !important;
    }

    /* Grozs mobilā */
    .woocommerce-cart table.cart td,
    .woocommerce-cart table.cart th {
        font-size: 13px !important;
    }

    /* Teal links mobilā */
    a, .ast-primary-menu-disabled a { color: #285F6B !important; }
    .main-header-menu a { color: #1a1a1a !important; }
}


    /* ── Konta + paziņojumu + vēlmju pogas → zīmola tirkīza (pārspēj liquid-glass (0,7,2)) ── */
    body.woocommerce-account a.button:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
    body.woocommerce-account button.button:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
    body.woocommerce-account input.button:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
    body.tinv-wishlist-page a.button:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
    body.tinv-wishlist-page button.button:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
    .tinv-wishlist a.button:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
    .tinv-wishlist button.button:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
    .tinv-wishlist .tinvwl_add_to_cart_button:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button) {
        background: #285F6B !important;
        background-color: #285F6B !important;
        background-image: none !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 10px !important;
        opacity: 1 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
        font-family: Inter, sans-serif !important;
        font-weight: 600 !important;
        letter-spacing: normal !important;
    }
    body.woocommerce-account a.button:hover:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
    body.woocommerce-account button.button:hover:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
    body.woocommerce-account input.button:hover:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
    body.tinv-wishlist-page a.button:hover:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
    body.tinv-wishlist-page button.button:hover:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
    .tinv-wishlist a.button:hover:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
    .tinv-wishlist button.button:hover:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button),
    .tinv-wishlist .tinvwl_add_to_cart_button:hover:not(.freq-personalize-btn):not(.freq-legal-btn):not(.freq-energy-btn):not(.yith-wcqv-button):not(.add_to_cart_button):not(.single_add_to_cart_button) {
        background: #1d4e57 !important;
        background-color: #1d4e57 !important;
        color: #ffffff !important;
        box-shadow: none !important;
        transform: none !important;
    }
    /* ── Konta + vēlmju virsraksti → Cormorant ── */
    body.woocommerce-account .woocommerce-MyAccount-content h2,
    body.woocommerce-account .woocommerce-MyAccount-content h3,
    .tinv-wishlist h2, .tinv-wishlist .tinvwl-title {
        font-family: "Cormorant Garamond", Georgia, serif !important;
        color: #1a3d45 !important;
        font-weight: 400 !important;
    }
    


/* ═══════════════════════════════════════════════════════
   ASTRA MOBILĀ BREAKPOINT: 921px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 921px) {

  /* ─────────────────────────────────────────
     PRODUKTU GRID: tieši 2 kolonnas
     ───────────────────────────────────────── */
  ul.products,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  body.post-type-archive-product ul.products,
  body.home ul.products,
  body.archive ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 10px !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  /* ─────────────────────────────────────────
     PRODUKTU KARTE: pareizs izmērs
     ───────────────────────────────────────── */
  ul.products li.product {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 0 8px 0 !important;
    box-sizing: border-box !important;
  }

  /* ─────────────────────────────────────────
     TEKSTA LABOJUMS: nav izstiepts
     ───────────────────────────────────────── */
  ul.products li.product .woocommerce-loop-product__title,
  ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 11px !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    hyphens: auto !important;
    letter-spacing: 0 !important;
    transform: none !important;
    text-align: left !important;
    padding: 6px 8px 2px !important;
    width: auto !important;
    max-width: 100% !important;
  }

  /* ─────────────────────────────────────────
     CENA MOBILAJĀ
     ───────────────────────────────────────── */
  ul.products li.product .price,
  ul.products li.product .price bdi {
    font-size: 11px !important;
    padding: 0 8px 4px !important;
    display: block !important;
    letter-spacing: 0 !important;
    transform: none !important;
  }

  /* ─────────────────────────────────────────
     POGA MOBILAJĀ
     ───────────────────────────────────────── */
  ul.products li.product .button,
  ul.products li.product .add_to_cart_button,
  ul.products li.product .product_type_variable {
    font-size: 10px !important;
    padding: 8px 6px !important;
    border-radius: 50px !important;
    width: calc(100% - 16px) !important;
    margin: 4px 8px 8px !important;
    display: block !important;
    text-align: center !important;
    letter-spacing: 0.3px !important;
  }

  /* ─────────────────────────────────────────
     BILDE MOBILAJĀ: pilna bilde (contain)
     ───────────────────────────────────────── */
  ul.products li.product .astra-shop-thumbnail-wrap {
    aspect-ratio: 1 / 1 !important;
    max-height: 120px !important;
    overflow: hidden !important;
    display: block !important;
  }
  ul.products li.product .astra-shop-thumbnail-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  /* ─────────────────────────────────────────
     MOBILAIS HEADER: groza ikona parādās
     ───────────────────────────────────────── */
  /* Mobilā header labā puse — flex lai ikona iekļaujas */
  #ast-mobile-header .site-header-primary-section-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
  }

  /* Groza ikona mobilajā (pievienota ar JS) */
  #ast-mobile-header .ast-header-woo-cart {
    display: flex !important;
    align-items: center !important;
    margin-right: 8px !important;
    position: relative !important;
  }
  #ast-mobile-header .ast-header-woo-cart .ast-icon-shopping-bag {
    font-size: 18px !important;
    color: #285F6B !important;
  }
  /* Badge uz groza ikonas */
  #ast-mobile-header i.astra-icon::after {
    background: #285F6B !important;
    top: -8px !important;
    right: -8px !important;
    font-size: 8px !important;
    min-width: 14px !important;
    height: 14px !important;
  }

  /* Hamburger menu poga mobilajā */
  .menu-toggle .ast-icon-hamburger,
  .ast-mobile-menu-trigger svg {
    color: #285F6B !important;
  }

  /* ─────────────────────────────────────────
     HEADER LAYOUT MOBILAJĀ
     ───────────────────────────────────────── */
  .ast-primary-header-bar {
    padding: 0 12px !important;
    min-height: 56px !important;
  }
  /* Logo */
  .custom-logo { max-height: 36px !important; width: auto !important; }
  .custom-logo-link img { max-height: 36px !important; }

  /* ─────────────────────────────────────────
     HERO SEKCIJA MOBILAJĀ
     ───────────────────────────────────────── */
  .freq-hero { min-height: 60vh !important; }
  .freq-hero .wp-block-cover__inner-container {
    padding: 16px !important;
    text-align: center !important;
  }
  .freq-hero .wp-block-cover__inner-container h1,
  .freq-hero .wp-block-cover__inner-container h2 {
    font-size: clamp(22px, 8vw, 38px) !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }
  .freq-hero .wp-block-cover__inner-container p {
    font-size: 12px !important;
    margin-bottom: 16px !important;
  }
  .freq-hero .wp-block-cover__inner-container a[href]:not(.skip-link) {
    padding: 10px 18px !important;
    font-size: 11px !important;
    margin: 4px !important;
    display: inline-block !important;
  }

  /* ─────────────────────────────────────────
     VEIKALA LAPA MOBILAJĀ
     ───────────────────────────────────────── */
  /* Nav horizontal scroll */
  html { overflow-x: clip !important; }
  body { overflow-x: clip !important; }
  .ast-container { padding: 0 10px !important; }
  #primary.content-area { padding: 0 !important; }

  /* Gutenberg pogas */
  .home .wp-block-group.alignfull a:not([class]) {
    font-size: 12px !important;
    padding: 10px 24px !important;
  }
}

@media (max-width: 480px) {
  ul.products li.product .woocommerce-loop-product__title {
    font-size: 10px !important;
  }
  ul.products li.product .button,
  ul.products li.product .add_to_cart_button {
    font-size: 9px !important;
    padding: 7px 4px !important;
  }
}



/* ================================================================
   DESKTOP MEGA MENU (> 920px)
   ================================================================ */

/* Make intermediate wrapper elements static so sub-menu spans full header width */
@media (min-width: 921px) {
    ul#ast-hf-menu-1.main-header-menu,
    .ast-main-header-wrap,
    .main-navigation,
    .main-header-bar,
    .ast-primary-header-bar {
        position: static !important;
    }
    .main-navigation .main-header-menu > li.freq-mega-menu { position: static !important; }

    /* ── Mega panel ── */
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu {
        position: absolute !important;
        left: 0 !important; right: 0 !important;
        width: 100% !important; min-width: 0 !important; max-width: 100% !important;
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transition: none !important;
        animation: none !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
        gap: 0 !important;
        padding: 28px 40px !important;
        background: #faf9f7 !important;
        border: none !important;
        border-top: 2px solid #285F6B !important;
        box-shadow: 0 24px 64px rgba(0,0,0,0.13), 0 4px 16px rgba(40,95,107,0.08) !important;
        border-radius: 0 0 8px 8px !important;
        top: 100% !important;
        z-index: 9999 !important;
    }
    /* Show on hover or JS class */
    .main-navigation .main-header-menu > li.freq-mega-menu:hover > .sub-menu,
    .main-navigation .main-header-menu > li.freq-mega-menu.ast-submenu-focused > .sub-menu,
    .main-navigation .main-header-menu > li.freq-mega-menu.freq-hover > .sub-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transition: none !important;
    }

    /* ── Columns ── */
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li {
        flex: 0 1 auto !important;
        min-width: 130px !important; max-width: 220px !important;
        padding: 0 22px 8px !important;
        border-right: 1px solid rgba(40,95,107,0.08) !important;
        float: none !important; display: block !important;
    }
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li:last-child {
        border-right: none !important;
    }

    /* ── Column header link ── */
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li > a.menu-link {
        font-family: 'Cormorant Garamond', Georgia, serif !important;
        font-size: 0.95rem !important; font-weight: 600 !important;
        letter-spacing: 0.04em !important; text-transform: uppercase !important;
        color: #1a3d45 !important;
        padding: 0 0 10px 0 !important;
        border: none !important; border-bottom: none !important;
        text-decoration: none !important; text-decoration-line: none !important;
        -webkit-text-decoration: none !important;
        margin-bottom: 10px !important;
        display: block !important; line-height: 1.3 !important;
        background: none !important; white-space: normal !important;
        outline: none !important;
        box-shadow: none !important;
    }
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li > a.menu-link:hover,
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li > a.menu-link:focus {
        color: #285F6B !important; background: none !important;
        text-decoration: none !important; border-bottom: none !important;
        outline: none !important;
    }

    /* ── Hide toggle arrow in column headers ── */
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li > button.ast-menu-toggle { display: none !important; }
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li > a.menu-link .ast-icon,
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li > a.menu-link svg { display: none !important; }

    /* ── Sub-sub-menu: always visible inline on desktop ── */
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li > .sub-menu {
        position: static !important;
        display: block !important; visibility: visible !important; opacity: 1 !important;
        pointer-events: auto !important;
        box-shadow: none !important; border: none !important; background: transparent !important;
        padding: 0 !important; margin: 0 !important;
        min-width: 0 !important; width: auto !important;
        transform: none !important; animation: none !important; transition: none !important;
        top: auto !important; left: auto !important; float: none !important;
    }

    /* ── Sub-sub-menu items ── */
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li > .sub-menu > li {
        display: block !important; float: none !important;
        padding: 0 !important;
        border: none !important; border-bottom: none !important; border-top: none !important;
    }
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li > .sub-menu > li > a {
        font-family: 'Cormorant Garamond', Georgia, serif !important;
        font-size: 13px !important; font-weight: 400 !important;
        letter-spacing: 0.04em !important; text-transform: none !important;
        color: #444 !important;
        padding: 5px 0 !important; display: block !important;
        background: none !important;
        border: none !important; border-bottom: none !important;
        text-decoration: none !important; text-decoration-line: none !important;
        line-height: 1.4 !important; white-space: normal !important;
    }
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li > .sub-menu > li > a:hover {
        color: #285F6B !important; padding-left: 6px !important;
        background: none !important; text-decoration: none !important;
    }
    /* Kill ::before/::after on sub-sub-menu links (freq-nav-minimal adds absolute 2px line) */
    .main-navigation .main-header-menu > li.freq-mega-menu .sub-menu a::before,
    .main-navigation .main-header-menu > li.freq-mega-menu .sub-menu a::after {
        content: none !important;
        display: none !important;
        position: static !important;
        height: 0 !important;
        width: 0 !important;
        background: none !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        border-radius: 0 !important;
    }

    /* ── Nuclear: kill ALL underlines/borders on any link inside mega menu ── */
    .main-navigation .main-header-menu > li.freq-mega-menu a,
    .main-navigation .main-header-menu > li.freq-mega-menu a:hover,
    .main-navigation .main-header-menu > li.freq-mega-menu a:focus,
    .main-navigation .main-header-menu > li.freq-mega-menu a:visited {
        text-decoration: none !important;
        text-underline-offset: unset !important;
        border-bottom: none !important;
        box-shadow: none !important;
        outline: none !important;
    }
}

/* ================================================================
   MOBILE MENU (≤ 920px) — full reset, clean Astra accordion
   ================================================================ */
@media (max-width: 920px) {

    /* Reset ALL static positioning overrides for mobile */
    ul#ast-hf-menu-1.main-header-menu,
    .ast-main-header-wrap,
    .main-navigation,
    .main-header-bar,
    .ast-primary-header-bar,
    .main-navigation .main-header-menu > li.freq-mega-menu {
        position: relative !important;
    }

    /* Mega sub-menu: hidden by default, accordion style */
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu {
        position: static !important;
        display: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: column !important;
        padding: 0 !important;
        background: rgba(40,95,107,0.04) !important;
        border: none !important;
        border-top: 1px solid rgba(40,95,107,0.12) !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        width: 100% !important;
        left: auto !important; right: auto !important; top: auto !important;
        z-index: auto !important;
        transition: none !important;
    }
    /* Expand when Astra adds this class */
    .main-navigation .main-header-menu > li.freq-mega-menu.ast-submenu-expanded > .sub-menu {
        display: flex !important;
    }

    /* Column items in mobile accordion */
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li {
        flex: none !important;
        min-width: 0 !important; max-width: 100% !important;
        padding: 0 !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(40,95,107,0.08) !important;
    }

    /* Column header link on mobile */
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li > a.menu-link {
        font-family: 'Cormorant Garamond', Georgia, serif !important;
        font-size: 15px !important; font-weight: 700 !important;
        letter-spacing: 0.06em !important; text-transform: uppercase !important;
        color: #1a3d45 !important;
        padding: 12px 20px !important;
        border-bottom: none !important; border: none !important;
        text-decoration: none !important;
        display: block !important; margin-bottom: 0 !important;
    }

    /* Show toggle for column headers WITH children */
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li.menu-item-has-children > button.ast-menu-toggle {
        display: inline-flex !important;
    }
    /* Hide toggle for columns WITHOUT children */
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li:not(.menu-item-has-children) > button.ast-menu-toggle {
        display: none !important;
    }

    /* Sub-sub-menu: hidden until expanded */
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li > .sub-menu {
        display: none !important;
        position: static !important;
        visibility: visible !important; opacity: 1 !important;
        transition: none !important;
        background: rgba(40,95,107,0.03) !important;
        border: none !important;
        box-shadow: none !important;
        padding: 4px 0 8px 0 !important;
    }
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li.ast-submenu-expanded > .sub-menu {
        display: block !important;
    }

    /* Sub-sub-menu items on mobile */
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li > .sub-menu > li {
        border: none !important; border-bottom: none !important;
    }
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li > .sub-menu > li > a {
        font-family: 'Cormorant Garamond', Georgia, serif !important;
        font-size: 14px !important; font-weight: 400 !important;
        padding: 9px 20px 9px 36px !important;
        color: #555 !important;
        text-decoration: none !important; border: none !important;
    }
    .main-navigation .main-header-menu > li.freq-mega-menu > .sub-menu > li > .sub-menu > li > a::before {
        display: none !important;
    }

    /* ── GLOBAL mobile font: ALL nav items → bold Cormorant Garamond ── */
    .main-header-menu li > a,
    .main-header-menu li > .ast-menu-toggle,
    .ast-mobile-popup-drawer .main-header-menu li a {
        font-family: 'Cormorant Garamond', Georgia, serif !important;
        font-weight: 700 !important;
        font-size: 16px !important;
        letter-spacing: 0.04em !important;
        text-decoration: none !important;
    }

    /* ── Hide down-arrow for menu items WITHOUT children ── */
    .main-header-menu > li:not(.menu-item-has-children) > button.ast-menu-toggle {
        display: none !important;
    }

    /* Kill all underlines globally in mobile nav */
    .main-header-menu a,
    .main-header-menu a:hover,
    .main-header-menu a:focus {
        text-decoration: none !important;
        border-bottom: none !important;
    }
}

/* ================================================================
   FIX: Hide Astra SVG arrow icons inside mega menu links (desktop)
   These render as visible lines below each menu item text
   ================================================================ */
@media (min-width: 921px) {
    .main-navigation .main-header-menu > li.freq-mega-menu .sub-menu a .ast-icon,
    .main-navigation .main-header-menu > li.freq-mega-menu .sub-menu a .icon-arrow,
    .main-navigation .main-header-menu > li.freq-mega-menu .sub-menu a svg {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
}

/* ================================================================
   FIX: Mobile toggle button — remove background box/coloring
   ================================================================ */
@media (max-width: 920px) {
    .main-header-menu li button.ast-menu-toggle,
    .main-header-menu li button.ast-menu-toggle:hover,
    .main-header-menu li button.ast-menu-toggle:focus,
    .main-header-menu li button.ast-menu-toggle:active,
    .main-header-menu li.ast-submenu-expanded > button.ast-menu-toggle {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        border-left: none !important;
        box-shadow: none !important;
        outline: none !important;
    }
    /* Hide the SVG arrow inside links on mobile too (use toggle button instead) */
    .main-navigation .main-header-menu > li.freq-mega-menu .sub-menu a .ast-icon,
    .main-navigation .main-header-menu > li.freq-mega-menu .sub-menu a svg {
        display: none !important;
    }
}

/* ================================================================
   CRYSTAL NAMES BOTTOM STRIP (desktop only, Variant B)
   ================================================================ */
@media (min-width: 921px) {
    .freq-crystal-strip {
        flex: 0 0 100% !important;
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        padding: 11px 0 2px 0 !important;
        margin-top: 12px !important;
        border-top: 1px solid rgba(40,95,107,0.13) !important;
        border-right: none !important;
        background: none !important;
        line-height: 2 !important;
    }
    .freq-crystal-strip .strip-link {
        font-family: 'Cormorant Garamond', Georgia, serif !important;
        font-size: 11.5px !important;
        font-weight: 400 !important;
        letter-spacing: 0.08em !important;
        text-transform: none !important;
        color: rgba(40,95,107,0.62) !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        padding: 0 7px !important;
        background: none !important;
        border: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
        display: inline !important;
        line-height: 2 !important;
    }
    .freq-crystal-strip .strip-link:hover {
        color: #1a3d45 !important;
        text-decoration: none !important;
        background: none !important;
    }
    .freq-crystal-strip .strip-sep {
        color: rgba(40,95,107,0.22) !important;
        font-size: 11px !important;
        user-select: none !important;
        padding: 0 !important;
        display: inline !important;
        background: none !important;
        border: none !important;
    }
}




/* ── DESKTOP (>921px): sidebar redzams, produkti 4 kolonnas ── */
@media (min-width: 922px) {
  /* Atcelt veco sidebar paslēpšanu */
  body.post-type-archive-product #secondary,
  body.archive #secondary,
  body.tax-product_cat #secondary,
  body.tax-product_tag #secondary {
    display: block !important;
    width: 380px !important;
    max-width: 380px !important;
    flex: 0 0 380px !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  /* Primary pielāgojas sidebar klātbūtnei */
  body.post-type-archive-product #primary.content-area,
  body.archive #primary.content-area,
  body.tax-product_cat #primary.content-area,
  body.tax-product_tag #primary.content-area {
    flex: 1 1 calc(100% - 400px) !important;
    width: calc(100% - 400px) !important;
    max-width: calc(100% - 400px) !important;
  }
  /* Container flex layout atjaunošana */
  body.post-type-archive-product .ast-container,
  body.archive .ast-container,
  body.tax-product_cat .ast-container {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    align-items: flex-start !important;
  }
  /* Produktu grid — 4 kolonnas (jo sidebar aizņem vietu) */
  body.post-type-archive-product ul.products,
  body.archive ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
    display: grid !important;
  }
}

/* ── TABLET (768-921px): sidebar paslēpts, produkti 3 kolonnas ── */
@media (min-width: 768px) and (max-width: 921px) {
  body.post-type-archive-product ul.products,
  body.archive ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
/* ── MOBILS (<=921px): sidebar paslēpts ── */
@media (max-width: 921px) {
  body.post-type-archive-product #secondary,
  body.archive #secondary,
  body.tax-product_cat #secondary,
  body.tax-product_tag #secondary {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    flex: 0 0 0 !important;
    overflow: hidden !important;
  }
  body.post-type-archive-product #primary.content-area,
  body.archive #primary.content-area,
  body.tax-product_cat #primary.content-area {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}



/* Augstākā prioritāte — sidebar desktop ON, mobile OFF */
@media (min-width: 922px) {
  #secondary.widget-area {
    display: block !important;
    width: 380px !important;
    min-width: 380px !important;
    flex: 0 0 380px !important;
    overflow: visible !important;
  }
  .post-type-archive-product #primary.content-area,
  .tax-product_cat #primary.content-area,
  .archive #primary.content-area,
  .tax-product_tag #primary.content-area {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: calc(100% - 400px) !important;
  }
  /* Homepage + regular pages: full width */
  body.home #primary.content-area,
  body.page #primary.content-area,
  body.single-product #primary.content-area,
  body.ast-no-sidebar #primary.content-area {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: auto !important;
  }
  .post-type-archive-product ul.products,
  .archive ul.products,
  .tax-product_cat ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
@media (max-width: 921px) {
  #secondary.widget-area {
    display: none !important;
    width: 0 !important;
    flex: 0 0 0 !important;
  }
  #primary.content-area {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}



/* ── NOŅEMT SVĪTRAS / BORDERS no produktu kartiņām ── */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.post-type-archive-product ul.products li.product,
.archive ul.products li.product,
.tax-product_cat ul.products li.product {
  border: none !important;
  border-bottom: none !important;
  border-top: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* ── Produktu kartiņas — tīrs balts dizains (bez backdrop-filter = ātrāk) ── */
@media (min-width: 922px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .post-type-archive-product ul.products li.product,
  .archive ul.products li.product,
  .tax-product_cat ul.products li.product {
    background: #ffffff !important;
    border: 1px solid rgba(40, 95, 107, 0.08) !important;
    border-radius: 18px !important;
    box-shadow:
      0 3px 14px rgba(0, 0, 0, 0.12),
      0 1px 5px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease !important;
    padding: 12px !important;
  }
  .woocommerce ul.products li.product:hover,
  .woocommerce-page ul.products li.product:hover,
  .post-type-archive-product ul.products li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.12),
      0 2px 8px rgba(40, 95, 107, 0.08) !important;
    border-color: rgba(40, 95, 107, 0.18) !important;
  }

  /* ── 4 KOLONNAS desktop ── */
  .post-type-archive-product ul.products,
  .archive ul.products,
  .tax-product_cat ul.products,
  .tax-product_tag ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
    display: grid !important;
    gap: 16px !important;
  }

  /* ── Produktu attēli kartiņā ── */
  .post-type-archive-product ul.products li.product .astra-shop-thumbnail-wrap,
  .archive ul.products li.product .astra-shop-thumbnail-wrap {
    border-radius: 10px !important;
    overflow: hidden !important;
    background: rgba(255,255,255,0.05) !important;
  }
}

/* ── Noņemt WooCommerce dividers/separators ── */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after {
  display: none !important;
  content: none !important;
}

/* Noņemt jebkādas svītras no grid konteinera */
.woocommerce ul.products,
.woocommerce-page ul.products {
  border: none !important;
  outline: none !important;
}

/* ── Mobile liquid glass (vieglāks efekts) ── */
@media (max-width: 921px) {
  ul.products li.product {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
    padding: 8px !important;
  }
}




/* ══════════════════════════════════════════
   DESKTOP: Fiksēt platumu + centrēšanu
   ══════════════════════════════════════════ */
@media (min-width: 922px) {
  /* Noņemt jebkādus width ierobežojumus no vecajiem blokiem */
  .woocommerce-page .site-content #primary.content-area,
  .woocommerce-shop .site-content #primary.content-area,
  .post-type-archive-product .site-content #primary.content-area {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  /* Konteiners — pilns platums ar padding (TIKAI saturs, ne header) */
  .post-type-archive-product #content .ast-container,
  .post-type-archive-product .site-content .ast-container,
  .woocommerce-shop #content .ast-container,
  .woocommerce-shop .site-content .ast-container,
  .tax-product_cat #content .ast-container,
  .tax-product_cat .site-content .ast-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 24px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }
  /* Header container ALWAYS full width on ALL pages */
  .woocommerce-shop .site-primary-header-wrap.ast-container,
  .woocommerce-shop .site-above-header-wrap.ast-container,
  .post-type-archive-product .site-primary-header-wrap.ast-container,
  .post-type-archive-product .site-above-header-wrap.ast-container,
  .tax-product_cat .site-primary-header-wrap.ast-container,
  .tax-product_cat .site-above-header-wrap.ast-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  /* Primary content area: add right padding so products dont touch edge */
  .post-type-archive-product #primary.content-area,
  .woocommerce-shop #primary.content-area,
  .tax-product_cat #primary.content-area,
  .tax-product_tag #primary.content-area {
    padding-right: 30px !important;
    padding-left: 20px !important;
    box-sizing: border-box !important;
  }

  /* Noņemt divider līniju starp sidebar un saturu */
  #secondary.widget-area {
    border: none !important;
    border-right: none !important;
    border-left: none !important;
    box-shadow: none !important;
  }

  /* ── SIDEBAR: tīrs, bez fona ── */
  #secondary.widget-area {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 16px 0 0 !important;
    width: 380px !important;
    min-width: 380px !important;
    flex: 0 0 380px !important;
  }

  /* Sidebar virsraksti */
  #secondary .widget-title,
  #secondary .widgettitle {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #285F6B !important;
    margin-bottom: 12px !important;
  }

  /* Sidebar kategoriju saites */
  #secondary .widget_product_categories a,
  #secondary .widget_categories a {
    color: #2a2a2a !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-family: Inter, sans-serif !important;
    display: block !important;
    padding: 4px 0 !important;
    transition: color 0.2s ease !important;
  }
  #secondary .widget_product_categories a:hover { color: #285F6B !important; }

  /* Noņemt sarkano punktu/līniju widgetos */
  #secondary .widget,
  #secondary .widget * {
    border-top: none !important;
    border-bottom: none !important;
  }
  #secondary .widget + .widget {
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(0,0,0,0.07) !important;
  }

  /* ── freq-crystal-filter sidebar widget ── */
  /* Meklēšanas lauks: balts fons, lai redzētu kur rakstīt */
  .freq-search-wrap {
    background: #ffffff !important;
    border: 1.5px solid rgba(40,95,107,0.18) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }
  /* Atjauno augšējo un apakšējo bordu — specificity 111 uzvar pār #secondary .widget * (110) */
  body #secondary .freq-search-wrap {
    border-top: 1.5px solid rgba(40,95,107,0.18) !important;
    border-bottom: 1.5px solid rgba(40,95,107,0.18) !important;
    border-left: 1.5px solid rgba(40,95,107,0.18) !important;
    border-right: 1.5px solid rgba(40,95,107,0.18) !important;
    border-radius: 10px !important;
  }
  .freq-shop-nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  .freq-sn-section {
    background: transparent !important;
    border-bottom: none !important;
  }
  /* Aktīvā elementa fons — pilnībā caurspīdīgs */
  .freq-sn-item.active,
  #secondary .freq-sn-item.active,
  #secondary .freq-sn-item.freq-sn-all.active {
    background: transparent !important;
    background-color: transparent !important;
  }
  .freq-sn-item.active .freq-sn-count {
    background: transparent !important;
  }
  .freq-sn-header:hover {
    background: rgba(40,95,107,0.04) !important;
  }
}

/* ══════════════════════════════════════════
   MOBILE: Kategoriju pills josla
   ══════════════════════════════════════════ */
@media (max-width: 921px) {
  /* Konteiners pills joslai */
  #freq-mobile-cats {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding: 12px 10px !important;
    margin: 0 0 12px 0 !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  #freq-mobile-cats::-webkit-scrollbar { display: none !important; }

  /* Individuāla pills poga */
  #freq-mobile-cats a {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 7px 14px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    background: rgba(255,255,255,0.85) !important;
    border: 1px solid rgba(40, 95, 107, 0.25) !important;
    color: #285F6B !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07) !important;
    transition: all 0.2s ease !important;
  }
  #freq-mobile-cats a.active,
  #freq-mobile-cats a:hover {
    background: #285F6B !important;
    color: #fff !important;
    border-color: #285F6B !important;
  }
}



/* ── Sticky header on all devices ── */
#masthead {
    transition: all 0.3s ease;
}
@media (max-width: 921px) {
    #masthead.site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 99999 !important;
        background: #fff !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    .ast-above-header-bar { display: none !important; }
    .ast-below-header-bar { display: none !important; }
    .ast-primary-header-bar {
        background: #fff !important;
        transition: transform 0.3s ease;
    }
    .ast-mobile-menu-trigger-minimal .ast-button-wrap {
        color: #1a1a1a !important;
    }
    .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
        fill: #1a1a1a !important;
    }
    .ast-site-header-cart .ast-addon-cart-wrap {
        color: #1a1a1a !important;
    }
    .ast-site-header-cart .ast-cart-menu-wrap .count,
    .ast-site-header-cart .ast-addon-cart-wrap .astra-cart-drawer-count {
        background: #285F6B !important;
        color: #fff !important;
    }
    .ast-header-break-point .site-logo-img .custom-logo {
        max-height: 40px !important;
        transition: max-height 0.3s ease;
    }
    /* Shrunk state on scroll */
    #masthead.site-header.freq-shrunk .ast-primary-header-bar {
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }
    #masthead.site-header.freq-shrunk .site-logo-img .custom-logo {
        max-height: 28px !important;
    }
}
@media (min-width: 922px) {
    #masthead.site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 99999 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    #masthead.site-header.freq-shrunk .ast-primary-header-bar {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }
    #masthead.site-header.freq-shrunk .site-logo-img .custom-logo {
        max-height: 36px !important;
    }
}

/* ── Language dropdown: shadow + dark bg ── */
.freq-topbar-lang__menu {
    background: rgba(30,30,30,0.95) !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.25), 0 2px 8px rgba(0,0,0,0.15) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    overflow: hidden !important;
}
.freq-topbar-lang__menu li a:hover {
    background: rgba(255,255,255,0.15) !important;
}

/* ── Mini-cart dropdown: white, not green ── */
.ast-site-header-cart .ast-addon-cart-wrap .ast-cart-menu-wrap,
.ast-header-woo-cart .ast-cart-menu-wrap,
#ast-mobile-cart-icon .ast-cart-menu-wrap,
.astra-cart-drawer .astra-cart-drawer-content,
.ast-addon-cart-wrap .ast-cart-menu-wrap {
    background: #fff !important;
    background-color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12) !important;
}
.woocommerce-mini-cart__empty-message,
.ast-mini-cart-empty .ast-mini-cart-message,
.widget_shopping_cart .woocommerce-mini-cart__empty-message,
p.woocommerce-mini-cart__empty-message {
    color: #666 !important;
    font-size: 14px !important;
    padding: 30px 20px !important;
    text-align: center !important;
    background: #fff !important;
}
.woocommerce-mini-cart,
ul.woocommerce-mini-cart,
.widget_shopping_cart_content {
    background: #fff !important;
}
.woocommerce-mini-cart__total {
    background: #f8f6f3 !important;
    color: #333 !important;
    padding: 10px 15px !important;
    border-top: 1px solid #eee !important;
}
.woocommerce-mini-cart__total .woocommerce-Price-amount {
    color: #285F6B !important;
    font-weight: 700 !important;
}
.astra-cart-drawer { z-index: 999999 !important; }
.astra-cart-drawer .astra-cart-drawer-content { background: #fff !important; }
.astra-cart-drawer .astra-cart-drawer-header {
    background: #f8f6f3 !important;
    color: #333 !important;
}
.ast-cart-menu-wrap,
.astra-cart-drawer-content,
.widget_shopping_cart_content {
    --color-primary: #285F6B !important;
    --ast-global-color-0: #285F6B !important;
    background: #fff !important;
    color: #333 !important;
}
.astra-cart-drawer .button.checkout,
.astra-cart-drawer .button.wc-forward {
    background: #285F6B !important;
    color: #fff !important;
}


.site-header-above-section-left {
  background: transparent !important;
  padding: 0 !important;
}
.freq-topbar-lang {
  background: rgba(255,255,255,0.10) !important;
  backdrop-filter: blur(12px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(160%) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-radius: 20px !important;
  padding: 0 2px !important;
  position: relative !important;
}
.freq-topbar-lang__btn {
  background: transparent !important;
  border: none !important;
  border-radius: 20px !important;
  color: rgba(255,255,255,0.95) !important;
  font-size: 11px !important;
  padding: 3px 10px !important;
  letter-spacing: 0.06em !important;
}
.freq-topbar-lang__menu {
  background: rgba(15,44,48,0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.30) !important;
  overflow: hidden !important;
}
.ast-above-header-bar {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.ast-above-header-bar .ast-above-header,
.ast-above-header-bar .ast-flex {
  min-height: unset !important;
  height: auto !important;
  padding-top: 1px !important;
  padding-bottom: 1px !important;
}


/* ── Mobile menu: bigger items, easier to tap ── */
.ast-mobile-header-content .main-header-menu li a.menu-link,
.ast-mobile-header-content .main-header-menu li > a,
.ast-mobile-header-content .ast-nav-menu li a.menu-link,
.ast-mobile-header-content .ast-nav-menu li > a {
    font-size: 18px !important;
    padding: 16px 20px !important;
    line-height: 1.4 !important;
    display: block !important;
    letter-spacing: 0.3px !important;
}
.ast-mobile-header-content .main-header-menu > li,
.ast-mobile-header-content .ast-nav-menu > li {
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}
/* Sub-menu items slightly smaller */
.ast-mobile-header-content .main-header-menu ul li a.menu-link,
.ast-mobile-header-content .ast-nav-menu ul li a.menu-link {
    font-size: 16px !important;
    padding: 14px 20px 14px 34px !important;
}
/* Submenu toggle arrow — bigger tap area */
.ast-mobile-header-content .ast-menu-toggle {
    padding: 12px !important;
}
/* Language switcher inside mobile menu — more spacing */
.ast-mobile-header-content .freq-topbar-lang {
    padding: 18px 20px !important;
    display: block !important;
    border-top: 1px solid rgba(0,0,0,0.06) !important;
}
.ast-mobile-header-content .freq-topbar-lang__btn {
    font-size: 17px !important;
    color: #333 !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
}
.ast-mobile-header-content .freq-topbar-lang__menu {
    position: relative !important;
    top: 10px !important;
    right: auto !important;
    left: 0 !important;
    display: none !important;
    background: #f5f5f5 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}
.ast-mobile-header-content .freq-topbar-lang__menu.open {
    display: block !important;
}
.ast-mobile-header-content .freq-topbar-lang__menu li a,
.ast-mobile-header-content .freq-topbar-lang__menu li span {
    color: #333 !important;
    font-size: 16px !important;
    padding: 12px 16px !important;
}
.ast-mobile-header-content .freq-topbar-lang__menu li a:hover {
    background: rgba(0,0,0,0.06) !important;
}

/* ── Language dropdown (desktop/above-header): stronger shadow ── */
.freq-topbar-lang__menu {
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 3px 12px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.1) !important;
}



/* 1. CENTERING: site-content full width on shop pages */
.post-type-archive-product #content.site-content,
.tax-product_cat #content.site-content {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* 2. SIDEBAR: transparent, no background, no border */
@media (min-width: 922px) {
  #secondary.widget-area {
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 20px 0 0 !important;
  }
  #secondary .widget,
  #secondary .wp-block-group { border: none !important; box-shadow: none !important; background: none !important; }
  #secondary .widget + .widget { border-top: none !important; }
  #secondary .widget * { border-top: none !important; border-bottom: none !important; }
}

/* 3. REMOVE ALL DIVIDER LINES */
header.site-header,
.ast-main-header-wrap,
.ast-primary-header-bar { border-bottom: none !important; box-shadow: none !important; }
.woocommerce-page #content,
.woocommerce-page #primary,
.woocommerce-page #secondary { border: none !important; }
body.ast-left-sidebar #secondary.widget-area { border-right: none !important; }

/* 4. LANGUAGE DROPDOWN: visible when .open */
.freq-topbar-lang { position: relative !important; display: inline-block !important; }
.freq-topbar-lang__menu {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 6px) !important;
  right: 0 !important;
  min-width: 90px !important;
  z-index: 99999 !important;
  list-style: none !important;
  padding: 6px 0 !important;
  margin: 0 !important;
}
.freq-topbar-lang__menu.open { display: block !important; }
.freq-topbar-lang__menu li { list-style: none !important; }
.freq-topbar-lang__menu li a,
.freq-topbar-lang__menu li span {
  display: block !important; padding: 6px 14px !important;
  color: rgba(255,255,255,0.9) !important; text-decoration: none !important;
  font-size: 11px !important; white-space: nowrap !important;
}
.freq-topbar-lang__menu li.active span { opacity: 0.5 !important; }
.freq-topbar-lang__menu li a:hover { background: rgba(255,255,255,0.12) !important; }

/* 5. TICKER: halved height */
.ast-above-header-bar { padding: 0 !important; }
.ast-above-header-bar .ast-above-header,
.ast-above-header-bar .ast-flex {
  min-height: unset !important; height: auto !important;
  padding-top: 2px !important; padding-bottom: 2px !important;
}
.freq-top-ticker span { font-size: 13px !important; }
.freq-top-dot { font-size: 7px !important; }

/* 5b. FULL-WIDTH: top bar — proper flex layout, no absolute positioning */
/* .ast-above-header-bar and .ast-above-header are the SAME element — direct flex parent */
.ast-above-header-bar.ast-above-header,
.ast-above-header-bar {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
/* Ticker section: first, fills all available space */
.site-header-above-section-right {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  order: 1 !important;
  display: flex !important;
  align-items: center !important;
}
/* Language section: last, natural width, pushed to right */
.site-header-above-section-left {
  position: static !important;
  transform: none !important;
  flex: 0 0 auto !important;
  width: auto !important;
  order: 2 !important;
  padding-right: 16px !important;
  padding-left: 8px !important;
  display: flex !important;
  align-items: center !important;
  z-index: 20 !important;
  background: transparent !important;
}
.freq-top-ticker-outer {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  overflow: hidden !important;
}

/* 5c. MENU BAR: full width — compound selectors (same element, no space) */
.site-primary-header-wrap.ast-container,
.site-primary-header-wrap.ast-builder-grid-row-container,
.site-above-header-wrap.ast-container,
.site-above-header-wrap.ast-builder-grid-row-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}
/* 5d. HEADER GRID ROW — force full width stretch + flexible center column */
/* The inner .ast-builder-grid-row defaults to content-width (~840px), must be 100% */
.site-primary-header-wrap .ast-builder-grid-row {
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: auto 1fr auto !important;
  box-sizing: border-box !important;
}

/* 6. PRODUCT CARD BUTTONS: icon-only round */
.woocommerce ul.products li.product a.add_to_cart_button {
  font-size: 0 !important; text-indent: -9999px !important;
  overflow: hidden !important; padding: 0 !important;
  width: 44px !important; height: 44px !important;
  min-width: unset !important; max-width: 44px !important;
  border-radius: 50% !important;
  background: rgba(40,95,107,0.82) !important;
  backdrop-filter: blur(12px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
  box-shadow: 0 2px 12px rgba(40,95,107,0.25), inset 0 1px 0 rgba(255,255,255,0.20) !important;
  display: inline-flex !important;
  align-items: center !important; justify-content: center !important;
  flex-shrink: 0 !important; position: relative !important;
  transition: all 0.2s ease !important;
}
.woocommerce ul.products li.product a.add_to_cart_button:hover {
  background: rgba(40,95,107,0.95) !important;
  box-shadow: 0 4px 18px rgba(40,95,107,0.40), inset 0 1px 0 rgba(255,255,255,0.25) !important;
  transform: translateY(-1px) !important;
}
.woocommerce ul.products li.product a.add_to_cart_button::before {
  content: "" !important; display: block !important;
  width: 20px !important; height: 20px !important;
  text-indent: 0 !important; position: absolute !important;
  top: 50% !important; left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 002 1.61h9.72a2 2 0 002-1.61L23 6H6'/%3E%3C/svg%3E") !important;
  background-size: contain !important; background-repeat: no-repeat !important;
  background-position: center !important;
}
html body ul.products li.product a.yith-wcqv-button {
  font-size: 0 !important; text-indent: -9999px !important;
  overflow: hidden !important; color: transparent !important;
  width: 44px !important; height: 44px !important;
  min-width: unset !important; max-width: 44px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.30) !important;
  backdrop-filter: blur(12px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(160%) !important;
  border: 1px solid rgba(255,255,255,0.55) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.50) !important;
  display: inline-flex !important; align-items: center !important;
  justify-content: center !important; padding: 0 !important;
  flex-shrink: 0 !important; position: relative !important;
  transition: all 0.2s ease !important;
}
html body ul.products li.product a.yith-wcqv-button:hover {
  background: rgba(255,255,255,0.55) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.60) !important;
  transform: translateY(-1px) !important;
}
html body ul.products li.product a.yith-wcqv-button svg {
  width: 16px !important; height: 16px !important;
  display: block !important; flex-shrink: 0 !important;
  stroke: #285F6B !important; position: absolute !important;
  top: 50% !important; left: 50% !important;
  transform: translate(-50%, -50%) !important;
}
.freq-btn-row {
  display: flex !important; gap: 8px !important;
  align-items: center !important; margin-top: 8px !important;
  justify-content: center !important; padding: 0 4px !important;
}

/* 7. MOBILE: image fix + category select dropdown */
@media (max-width: 921px) {
  ul.products li.product .astra-shop-thumbnail-wrap {
    aspect-ratio: 1/1 !important; height: auto !important;
    overflow: hidden !important;
  }
  ul.products li.product img.attachment-woocommerce_thumbnail {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important; object-position: center !important;
  }
  #freq-mobile-cats.freq-cat-dropdown-wrap { padding: 10px 12px 4px !important; display: block !important; }
  #freq-cat-select {
    width: 100% !important; padding: 10px 14px !important;
    border-radius: 12px !important; border: 1.5px solid rgba(40,95,107,0.35) !important;
    background: rgba(255,255,255,0.92) !important; color: #285F6B !important;
    font-size: 13px !important; font-weight: 600 !important;
    cursor: pointer !important; box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  }
}




/* ─── Hide webp logo image, show SVG+text instead ─── */
.ast-site-identity .custom-logo { display: none !important; }
.ast-site-identity .custom-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

/* ─── Header logo: SVG + FREQUENCIES (same style as footer) ─── */
.freq-hdr-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #1a1a1a !important;
  text-decoration: none !important;
  cursor: pointer !important;
}
.freq-hdr-sym {
  width: 38px !important;
  height: 38px !important;
  flex-shrink: 0 !important;
  display: block !important;
  color: #1a1a1a !important;
}
/* FREQUENCIES text — SAME values as .freq-footer-logo */
.freq-hdr-txt {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
}

/* ─── Footer SVG symbol size ─── */
.freq-footer-sym {
  width: 28px !important;
  height: 28px !important;
  flex-shrink: 0 !important;
  display: block !important;
}
.freq-footer-logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* ─── MOBILE: fix #ast-mobile-header grid row ─── */
/* Actual structure: .ast-builder-grid-row with LEFT (logo) + RIGHT (hamburger) */
@media (max-width: 921px) {

  /* Convert grid → flex so we can reorder */
  #ast-mobile-header .ast-builder-grid-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 4px !important;
  }

  /* LEFT section (logo) → move to CENTER */
  #ast-mobile-header .site-header-primary-section-left {
    order: 2 !important;
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* RIGHT section (hamburger) → keep on RIGHT */
  #ast-mobile-header .site-header-primary-section-right {
    order: 3 !important;
    flex: 0 0 auto !important;
  }

  /* Cart icon placeholder on LEFT (order 1) if exists */
  #ast-mobile-header .ast-site-header-cart,
  #ast-mobile-header .ast-header-woo-cart {
    order: 1 !important;
    flex: 0 0 auto !important;
  }

  /* Hamburger color: tirkīza (#285F6B) */
  #ast-mobile-header .menu-toggle {
    color: #285F6B !important;
  }
  #ast-mobile-header .menu-toggle svg,
  #ast-mobile-header .menu-toggle path {
    fill: #285F6B !important;
  }

  /* Logo text smaller on very small screens */
  .freq-hdr-txt {
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.10em !important;
  }
  .freq-hdr-sym {
    width: 34px !important;
    height: 34px !important;
  }
}




/* Nuclear option: remove ALL borders/backgrounds from cart icon everywhere */
#ast-mobile-cart-icon,
#ast-mobile-cart-icon *,
#ast-mobile-header .ast-header-woo-cart,
#ast-mobile-header .ast-header-woo-cart *,
#ast-mobile-header .ast-cart-menu-wrap,
#ast-mobile-header .ast-cart-menu-wrap *,
#ast-mobile-header .ast-addon-cart-wrap,
#ast-mobile-header .ast-addon-cart-wrap * {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

/* Also target the injected cart icon specifically */
#ast-mobile-cart-icon .ast-cart-menu-wrap > a,
#ast-mobile-cart-icon a,
#ast-mobile-header .ast-cart-menu-wrap > a {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Keep the cart SVG/icon dark colored */
#ast-mobile-cart-icon svg,
#ast-mobile-cart-icon .astra-icon,
#ast-mobile-cart-icon i,
#ast-mobile-header .ast-header-woo-cart svg,
#ast-mobile-header .ast-header-woo-cart .astra-icon,
#ast-mobile-header .ast-header-woo-cart i {
  color: #1a1a1a !important;
  fill: none !important;
  stroke: #1a1a1a !important;
  background: transparent !important;
  border: none !important;
}

/* Keep count badge styled nicely */
#ast-mobile-cart-icon .count,
#ast-mobile-header .ast-header-woo-cart .count {
  background: #285F6B !important;
  background-color: #285F6B !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
}

/* Also remove focus ring on all header cart links */
.ast-header-woo-cart a:focus,
.ast-cart-menu-wrap a:focus,
.ast-header-woo-cart a:active,
.ast-cart-menu-wrap a:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}




/* ══════════════════════════════════════════
   SIDEBAR: Inter fonts, WooCommerce block selectors
   ══════════════════════════════════════════ */
@media (min-width: 922px) {

  /* ─── Visi widget konteineri — bez fona, bez blur efekta ─── */
  #secondary .widget,
  #secondary .widget_product_search,
  #secondary .woocommerce-widget-layered-nav,
  #secondary .widget_block,
  #secondary > * {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* ─── Widget titles ─── */
  #secondary .widget-title,
  #secondary .widgettitle,
  #secondary .wp-block-heading {
    font-family: Inter, -apple-system, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.10em !important;
    text-transform: uppercase !important;
    color: #285F6B !important;
    margin-bottom: 10px !important;
    margin-top: 0 !important;
  }

  /* ─── WooCommerce block category list: reset list ─── */
  .wc-block-product-categories-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* ─── Top-level category items → tīrs, bez fona ─── */
  .wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 2px !important;
    overflow: visible !important;
    transition: none !important;
  }
  .wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item:hover {
    box-shadow: none !important;
  }

  /* ─── Sub-category items → transparent ─── */
  .wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item {
    background: transparent !important;
    border-radius: 0 !important;
    margin: 0 0 0 12px !important;
    box-shadow: none !important;
  }

  /* ─── Category links ─── */
  .wc-block-product-categories-list-item > a {
    display: flex !important;
    align-items: center !important;
    padding: 8px 13px !important;
    font-family: Inter, -apple-system, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    letter-spacing: 0.01em !important;
    line-height: 1.4 !important;
  }
  .wc-block-product-categories-list-item > a:hover {
    color: #285F6B !important;
  }

  /* ─── Hide product count numbers ─── */
  .wc-block-product-categories-list-item-count {
    display: none !important;
  }

  /* Sub-category list padding */
  .wc-block-product-categories-list--depth-1 {
    padding: 0 0 6px 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }
}

/* ══════════════════════════════════════════
   FREQ SEARCH WRAP: balts lauks abās lapās
   specificity 111 (body + #secondary + class) uzvar pār .widget * (110)
   ══════════════════════════════════════════ */
.freq-search-wrap {
  background: #ffffff !important;
  border: 1.5px solid rgba(40,95,107,0.18) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body #secondary .freq-search-wrap {
  background: #ffffff !important;
  border-top: 1.5px solid rgba(40,95,107,0.18) !important;
  border-bottom: 1.5px solid rgba(40,95,107,0.18) !important;
  border-left: 1.5px solid rgba(40,95,107,0.18) !important;
  border-right: 1.5px solid rgba(40,95,107,0.18) !important;
  border-radius: 10px !important;
}

/* ══════════════════════════════════════════
   SIDEBAR SEKCIJAS: caurspīdīgs fons
   style.css satur .freq-sn-section { background: #fff !important; }
   un .freq-sn-header { background: #fff !important; }
   Specificity 10 (viena klase). Mēs izmantojam body + #secondary + klase = 111.
   ══════════════════════════════════════════ */
body #secondary .freq-sn-section {
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: none !important;
}
body #secondary .freq-sn-header {
  background: transparent !important;
  background-color: transparent !important;
}
body #secondary .freq-sn-header:hover {
  background: transparent !important;
  background-color: transparent !important;
}

/* ══════════════════════════════════════════
   SEARCH FORM: WooCommerce product search
   ══════════════════════════════════════════ */

/* WooCommerce product search form wrapper */
.woocommerce-product-search {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
}

/* Input field — fills all available space */
.woocommerce-product-search .search-field {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 9px 14px !important;
  font-size: 13px !important;
  font-family: Inter, sans-serif !important;
  border: 1.5px solid #d8d8d8 !important;
  border-radius: 8px !important;
  background: transparent !important;
  outline: none !important;
  color: #1a1a1a !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease !important;
}
.woocommerce-product-search .search-field:focus {
  border-color: #285F6B !important;
  box-shadow: 0 0 0 3px rgba(40,95,107,0.10) !important;
}

/* Submit button — icon only, compact */
.woocommerce-product-search button[type="submit"] {
  flex-shrink: 0 !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 10px !important;
  background-color: #285F6B !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 17px !important;
  font-size: 0 !important;
  color: transparent !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(40,95,107,0.22) !important;
  transition: background-color 0.2s ease !important;
  line-height: 1 !important;
}
.woocommerce-product-search button[type="submit"]:hover {
  background-color: #1e4a54 !important;
}




/* ══════════════════════════════════════════
   PRODUCT CARD BUTTONS — uniform liquid glass
   Both add-to-cart and quick-view: same style
   ══════════════════════════════════════════ */

/* -- Shared liquid glass base -- */
.woocommerce ul.products li.product a.add_to_cart_button,
html body ul.products li.product a.yith-wcqv-button {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  position: relative !important;
  font-size: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  /* Liquid glass */
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(12px) saturate(160%) brightness(1.05) !important;
  -webkit-backdrop-filter: blur(12px) saturate(160%) brightness(1.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.80) !important;
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.90),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03) !important;
}

/* Hover */
.woocommerce ul.products li.product a.add_to_cart_button:hover,
html body ul.products li.product a.yith-wcqv-button:hover {
  background: rgba(40, 95, 107, 0.12) !important;
  border-color: rgba(40, 95, 107, 0.35) !important;
  box-shadow:
    0 4px 18px rgba(40, 95, 107, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  transform: translateY(-2px) !important;
}

/* -- Add to cart: teal cart icon -- */
.woocommerce ul.products li.product a.add_to_cart_button::before {
  content: "" !important;
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  text-indent: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23285F6B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 002 1.61h9.72a2 2 0 002-1.61L23 6H6'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* -- Quick view: teal search icon -- */
html body ul.products li.product a.yith-wcqv-button::before {
  content: "" !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23285F6B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}
/* Hide any existing SVG in qv button so only ::before shows */
html body ul.products li.product a.yith-wcqv-button svg,
html body ul.products li.product a.yith-wcqv-button .qv-text {
  display: none !important;
}

/* ══════════════════════════════════════════
   PAGINATION — rounded, liquid glass style
   Both woocommerce + Astra pagination
   ══════════════════════════════════════════ */

/* Container */
.woocommerce-pagination,
.ast-pagination {
  display: flex !important;
  justify-content: center !important;
  padding: 32px 0 16px !important;
  width: 100% !important;
}
.woocommerce-pagination ul.page-numbers,
.ast-pagination .ast-pagination-list {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}
.woocommerce-pagination ul.page-numbers li {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Each page number / arrow */
.woocommerce-pagination .page-numbers,
.ast-pagination .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  font-family: Inter, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  /* Liquid glass */
  background: rgba(255, 255, 255, 0.60) !important;
  backdrop-filter: blur(10px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(150%) !important;
  border: 1px solid rgba(40, 95, 107, 0.18) !important;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255,255,255,0.8) !important;
  color: #285F6B !important;
}

/* Current / active page */
.woocommerce-pagination .page-numbers.current,
.ast-pagination .page-numbers.current {
  background: #285F6B !important;
  background-color: #285F6B !important;
  color: #fff !important;
  border-color: #285F6B !important;
  box-shadow: 0 3px 12px rgba(40, 95, 107, 0.30) !important;
}

/* Hover on non-active */
.woocommerce-pagination a.page-numbers:hover,
.ast-pagination a.page-numbers:hover {
  background: rgba(40, 95, 107, 0.12) !important;
  border-color: rgba(40, 95, 107, 0.40) !important;
  color: #285F6B !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 12px rgba(40, 95, 107, 0.15) !important;
}

/* Arrow buttons (→ ←) slightly wider */
.woocommerce-pagination .next.page-numbers,
.woocommerce-pagination .prev.page-numbers,
.ast-pagination .next.page-numbers,
.ast-pagination .prev.page-numbers {
  width: 48px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}




/* ── Compact image height ── */
ul.products li.product .astra-shop-thumbnail-wrap {
  height: 140px !important;
  max-height: 140px !important;
}
@media (max-width: 921px) {
  ul.products li.product .astra-shop-thumbnail-wrap {
    height: 110px !important;
    max-height: 110px !important;
  }
}

/* ── Tighter title padding ── */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2.woocommerce-loop-product__title {
  padding: 6px 8px 2px !important;
  margin-bottom: 0 !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
}

/* ── Price: no standalone margin (lives in row now) ── */
ul.products li.product .price {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-align: center !important;
  flex: 1 !important;
  color: #285F6B !important;
}
ul.products li.product .price bdi,
ul.products li.product .price .woocommerce-Price-amount {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #285F6B !important;
}

/* ── freq-btn-row: Cart | Price | Magnifier ── */
ul.products li.product .freq-btn-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4px !important;
  width: 100% !important;
  padding: 6px 8px 8px !important;
  margin-top: auto !important;
  box-sizing: border-box !important;
}

/* ── Buttons in freq-btn-row: override freq-pill-all-buttons (html body... selector) ── */
html body ul.products li.product .freq-btn-row a.add_to_cart_button,
html body ul.products li.product .freq-btn-row a.button.add_to_cart_button,
html body ul.products li.product .freq-btn-row a.yith-wcqv-button,
html body ul.products li.product .astra-shop-summary-wrap .freq-btn-row a.add_to_cart_button,
html body ul.products li.product .astra-shop-summary-wrap .freq-btn-row a.yith-wcqv-button {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  min-height: 34px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ── Summary wrap: no bottom padding ── */
ul.products li.product .astra-shop-summary-wrap {
  padding-bottom: 0 !important;
}

/* ── Card: tighter padding ── */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.post-type-archive-product ul.products li.product,
.archive ul.products li.product {
  padding: 0 0 0 0 !important;
  overflow: hidden !important;
}

/* ── HOMEPAGE cards: shadow for .home (custom sliders, not wrapped in .woocommerce) ── */
body.home ul.products li.product,
body.front-page ul.products li.product,
.home ul.products li.product,
.front-page ul.products li.product {
  background: #ffffff !important;
  border: 1px solid rgba(40, 95, 107, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.05) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}
body.home ul.products li.product:hover,
body.front-page ul.products li.product:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 8px rgba(40,95,107,0.08) !important;
  transform: translateY(-4px) !important;
}

/* ── MOBILE: same shadow as desktop — high specificity to override .woocommerce rule ── */
@media (max-width: 921px) {
  ul.products li.product,
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .post-type-archive-product ul.products li.product,
  .archive ul.products li.product,
  .tax-product_cat ul.products li.product {
    background: #ffffff !important;
    border: 1px solid rgba(40, 95, 107, 0.10) !important;
    border-radius: 14px !important;
    box-shadow:
      0 3px 14px rgba(0, 0, 0, 0.12),
      0 1px 5px rgba(0, 0, 0, 0.08) !important;
    padding: 0 !important;
  }
}

/* ── MOBILE: summary area padding (image fills card top, text padded) ── */
@media (max-width: 921px) {
  ul.products li.product .astra-shop-summary-wrap {
    padding: 6px 8px 0 8px !important;
  }
}

/* ── MOBILE (<600px): compact buttons for 2-col narrow cards ── */
@media (max-width: 600px) {
  ul.products li.product .freq-btn-row {
    padding: 4px 5px 6px !important;
    gap: 2px !important;
  }
  html body ul.products li.product .freq-btn-row a.add_to_cart_button,
  html body ul.products li.product .astra-shop-summary-wrap .freq-btn-row a.add_to_cart_button,
  html body ul.products li.product .freq-btn-row a.yith-wcqv-button,
  html body ul.products li.product .astra-shop-summary-wrap .freq-btn-row a.yith-wcqv-button {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    min-height: 26px !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
  }
  ul.products li.product .price {
    font-size: 10px !important;
    text-align: center !important;
  }
  ul.products li.product .woocommerce-loop-product__title {
    font-size: 10px !important;
    padding: 4px 6px 2px !important;
  }
  ul.products li.product .astra-shop-thumbnail-wrap {
    height: 90px !important;
    max-height: 90px !important;
  }
}




/* ══ PRODUKTU KARTIŅA: flex column — cena vienmēr apakšā ══ */
ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
}
ul.products li.product .astra-shop-thumbnail-wrap {
  flex-shrink: 0 !important;
  height: 145px !important;
  max-height: 145px !important;
  aspect-ratio: unset !important;
  overflow: hidden !important;
  display: block !important;
  background: #ffffff !important;
}
ul.products li.product .astra-shop-thumbnail-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #ffffff !important;
}
ul.products li.product .astra-shop-thumbnail-wrap a.woocommerce-LoopProduct-link {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background: #ffffff !important;
}
ul.products li.product .astra-shop-summary-wrap {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  min-height: 0 !important;
}
/* Produkta nosaukums aizpilda vietu → cena pielīp apakšā */
ul.products li.product .ast-loop-product__link,
ul.products li.product a.ast-loop-product__link {
  flex: 1 !important;
}
ul.products li.product .price {
  margin-top: auto !important;
}

/* ══ PRODUKTU KARTIŅA: mobilā — bilde pilna (contain) ══ */
@media (max-width: 921px) {
  ul.products li.product .astra-shop-thumbnail-wrap {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    height: auto !important;
    max-height: 120px !important;
    border-radius: 13px 13px 0 0 !important;
    overflow: hidden !important;
    display: block !important;
    background: #ffffff !important;
  }
  ul.products li.product .astra-shop-thumbnail-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    background: #ffffff !important;
  }
  ul.products li.product .astra-shop-thumbnail-wrap a.woocommerce-LoopProduct-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background: #ffffff !important;
  }
}

/* ══ SIDEBAR: 240px platums ══ */
@media (min-width: 922px) {
  #secondary.widget-area,
  body.post-type-archive-product #secondary,
  body.archive #secondary,
  body.tax-product_cat #secondary,
  body.tax-product_tag #secondary {
    display: block !important;
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    flex: 0 0 240px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    /* Scrollbar styling — tievs, teal */
    scrollbar-width: thin !important;
    scrollbar-color: rgba(40,95,107,0.35) transparent !important;
  }
  #secondary.widget-area::-webkit-scrollbar {
    width: 4px !important;
  }
  #secondary.widget-area::-webkit-scrollbar-track {
    background: transparent !important;
  }
  #secondary.widget-area::-webkit-scrollbar-thumb {
    background: rgba(40,95,107,0.35) !important;
    border-radius: 4px !important;
  }
  #secondary.widget-area::-webkit-scrollbar-thumb:hover {
    background: rgba(40,95,107,0.6) !important;
  }
  body.post-type-archive-product #primary.content-area,
  body.archive #primary.content-area,
  body.tax-product_cat #primary.content-area,
  body.tax-product_tag #primary.content-area {
    flex: 1 1 0 !important;
    max-width: calc(100% - 260px) !important;
    min-width: 0 !important;
  }
}

/* ══ RESPONSĪVAIS GRID ══ */

/* Platais monitors: 5 kolonnas */
@media (min-width: 1401px) {
  body.post-type-archive-product ul.products,
  body.archive ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products,
  body.home ul.products {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 14px !important;
  }
}

/* Desktop: 4 kolonnas (922–1400px) */
@media (min-width: 922px) and (max-width: 1400px) {
  body.post-type-archive-product ul.products,
  body.archive ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products,
  body.home ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px !important;
  }
}

/* Planšete: 3 kolonnas (601–921px) */
@media (min-width: 601px) and (max-width: 921px) {
  body.post-type-archive-product ul.products,
  body.archive ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products,
  body.home ul.products,
  ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
}

/* Mobilais: 2 kolonnas (≤600px) */
@media (max-width: 600px) {
  ul.products,
  body.home ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
}

/* ══ GALVENĀ LAPA: produktu kartiņu bilde ══ */
body.home ul.products li.product .astra-shop-thumbnail-wrap {
  background: #ffffff !important;
}





/* ══ PRODUKTU KARTIŅA: flex column — cena vienmēr apakšā ══ */
ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
}
ul.products li.product .astra-shop-thumbnail-wrap {
  flex-shrink: 0 !important;
  height: 165px !important;
  max-height: 165px !important;
  aspect-ratio: unset !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
ul.products li.product .astra-shop-thumbnail-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
ul.products li.product .astra-shop-summary-wrap {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  min-height: 0 !important;
}
/* Produkta nosaukums aizpilda vietu → cena pielīp apakšā */
ul.products li.product .ast-loop-product__link,
ul.products li.product a.ast-loop-product__link {
  flex: 1 !important;
}
ul.products li.product .price {
  margin-top: auto !important;
}

/* ══ PRODUKTU KARTIŅA: mobilā bilde mazāka ══ */
@media (max-width: 921px) {
  ul.products li.product .astra-shop-thumbnail-wrap {
    height: 130px !important;
    max-height: 130px !important;
  }
}

/* ══ SIDEBAR: 240px platums ══ */
@media (min-width: 922px) {
  #secondary.widget-area,
  body.post-type-archive-product #secondary,
  body.archive #secondary,
  body.tax-product_cat #secondary,
  body.tax-product_tag #secondary {
    display: block !important;
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    flex: 0 0 240px !important;
    overflow: visible !important;
  }
  body.post-type-archive-product #primary.content-area,
  body.archive #primary.content-area,
  body.tax-product_cat #primary.content-area,
  body.tax-product_tag #primary.content-area {
    flex: 1 1 0 !important;
    max-width: calc(100% - 260px) !important;
    min-width: 0 !important;
  }
}

/* ══ RESPONSĪVAIS GRID ══ */

/* Platais monitors: 5 kolonnas */
@media (min-width: 1401px) {
  body.post-type-archive-product ul.products,
  body.archive ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products,
  body.home ul.products {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 14px !important;
  }
}

/* Desktop: 4 kolonnas (922–1400px) */
@media (min-width: 922px) and (max-width: 1400px) {
  body.post-type-archive-product ul.products,
  body.archive ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products,
  body.home ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px !important;
  }
}

/* Planšete: 3 kolonnas (601–921px) */
@media (min-width: 601px) and (max-width: 921px) {
  body.post-type-archive-product ul.products,
  body.archive ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products,
  body.home ul.products,
  ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
}

/* Mobilais: 2 kolonnas (≤600px) */
@media (max-width: 600px) {
  ul.products,
  body.home ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
}

/* ══ GALVENĀ LAPA: produktu kartiņu bilde (contain, kvadrāts) ══ */
body.home ul.products li.product .astra-shop-thumbnail-wrap {
  background: #ffffff !important;
}
body.home ul.products li.product .astra-shop-thumbnail-wrap img {
  object-fit: contain !important;
}

/* ══ BACKDROP-FILTER PERFORMANCE: samazinām uz kartīnām ══ */
@media (min-width: 922px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .post-type-archive-product ul.products li.product {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }
}




/* ══ KARTĪNA: noņem backdrop-filter — tas rada savu compositing layer
   kura dēļ Chrome ignorē overflow:hidden klipēšanu ar border-radius ══ */
ul.products li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.post-type-archive-product ul.products li.product,
.archive ul.products li.product,
.tax-product_cat ul.products li.product {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: hidden !important;
}

/* ══ PRODUKTU BILDE: noapaļotie augšējie stūri ══ */
/* JS dinamiski saskaņo ar kartīnas computed border-radius;
   CSS ir fallback ar 18px (faktiskā kartīnas vērtība pēc Astra+liquid-glass) */
ul.products li.product .astra-shop-thumbnail-wrap {
  border-radius: 18px 18px 0 0 !important;
  overflow: hidden !important;
  contain: paint !important;
}
ul.products li.product .astra-shop-thumbnail-wrap a {
  border-radius: 18px 18px 0 0 !important;
  overflow: hidden !important;
  display: block !important;
}
ul.products li.product .astra-shop-thumbnail-wrap img {
  border-radius: 18px 18px 0 0 !important;
}
/* Kartiņas apakšdaļa: padding tikai apakšai un sāniem */
ul.products li.product .astra-shop-summary-wrap {
  padding: 10px 10px 0 10px !important;
}

/* ══ WISHLIST SIRSNĪNS: tikai ikona, bez apļa ══ */
ul.products li.product .tinv-wraper.tinvwl-after-add-to-cart,
ul.products li.product .tinv-wraper {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  z-index: 20 !important;
  margin: 0 !important;
  display: block !important;
}
/* Poga — tikai sirsnīns, bez fona un apļa */
ul.products li.product .tinvwl_add_to_wishlist_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #285F6B !important;
  font-size: 22px !important;
  padding: 4px !important;
  margin: 0 !important;
  cursor: pointer !important;
  transition: color 0.18s, transform 0.15s !important;
  text-decoration: none !important;
}
/* Teksts "Pievienot vēlmju sarakstam" — slēpt */
ul.products li.product .tinvwl_add_to_wishlist_button span.tinvwl-txt {
  display: none !important;
}
/* HOVER: sarkans sirsnīns */
ul.products li.product .tinvwl_add_to_wishlist_button:hover {
  color: #cc1111 !important;
  transform: scale(1.15) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
/* AKTĪVS (produkts jau vēlmju sarakstā): sarkans sirsnīns */
ul.products li.product .tinvwl-product-in-list .tinvwl_add_to_wishlist_button {
  color: #cc1111 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
ul.products li.product .tinvwl-product-in-list .tinvwl_add_to_wishlist_button:hover {
  color: #aa0000 !important;
}




/* ══════════════════════════════════════════
   ABOVE-HEADER BAR: force flex layout
   Works on ALL pages: homepage, shop, catalog
   ══════════════════════════════════════════ */

/* 1. The bar itself: no extra padding, just dark bg */
.ast-above-header-bar,
.ast-above-header-bar.ast-above-header {
  background: #133336 !important;
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* 2. Inner container: full width, no horizontal padding limits */
.ast-above-header-bar .site-above-header-wrap.ast-container,
.ast-above-header-bar .site-above-header-wrap.ast-builder-grid-row-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* 3. Grid row inside above-header → FLEX so order works */
.ast-above-header-bar .ast-builder-grid-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 36px !important;
  padding: 0 !important;
  gap: 0 !important;
}

/* 4. RIGHT section (TICKER) → order:1, fills all space */
.ast-above-header-bar .site-header-above-section-right {
  order: 1 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
}

/* 5. LEFT section (LANGUAGE BUTTON) → order:2, right side */
.ast-above-header-bar .site-header-above-section-left {
  order: 2 !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 16px 0 8px !important;
  position: static !important;
  transform: none !important;
}

/* Ticker wrapper full width */
.freq-top-ticker-outer {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  overflow: hidden !important;
  padding-left: 16px !important;
}

/* ══════════════════════════════════════════
   PRODUCT CARD BUTTONS — NUCLEAR RESET
   Apply to ALL pages: shop, home, catalog
   ══════════════════════════════════════════ */

/* ── SHARED GLASS STYLE: add-to-cart AND quick-view ── */
html body ul.products li.product a.add_to_cart_button,
html body ul.products li.product a.button.add_to_cart_button,
html body .woocommerce ul.products li.product a.add_to_cart_button,
html body .home ul.products li.product a.add_to_cart_button,
html body ul.products li.product a.yith-wcqv-button,
html body .woocommerce ul.products li.product a.yith-wcqv-button,
html body .home ul.products li.product a.yith-wcqv-button,
html body ul.products li.product .freq-product-actions a.yith-wcqv-button,
html body .woocommerce ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button,
html body .home ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button {
  /* Size: uniform 44×44 circle */
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  min-height: 44px !important;
  border-radius: 50% !important;

  /* Reset all text/display */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  line-height: 1 !important;
  letter-spacing: normal !important;
  text-indent: 0 !important;
  text-align: center !important;
  text-transform: none !important;
  white-space: nowrap !important;
  padding: 0 !important;
  margin: 0 !important;

  /* Liquid glass */
  background: rgba(255, 255, 255, 0.60) !important;
  backdrop-filter: blur(12px) saturate(160%) brightness(1.03) !important;
  -webkit-backdrop-filter: blur(12px) saturate(160%) brightness(1.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.95) !important;

  position: relative !important;
  overflow: visible !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: all 0.22s ease !important;
  color: transparent !important;
  vertical-align: middle !important;
}

/* Hover */
html body ul.products li.product a.add_to_cart_button:hover,
html body ul.products li.product a.button.add_to_cart_button:hover,
html body .woocommerce ul.products li.product a.add_to_cart_button:hover,
html body .home ul.products li.product a.add_to_cart_button:hover,
html body ul.products li.product a.yith-wcqv-button:hover,
html body .woocommerce ul.products li.product a.yith-wcqv-button:hover,
html body .home ul.products li.product a.yith-wcqv-button:hover,
html body .woocommerce ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button:hover,
html body .home ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button:hover {
  background: rgba(40, 95, 107, 0.14) !important;
  border-color: rgba(40, 95, 107, 0.40) !important;
  box-shadow: 0 4px 16px rgba(40,95,107,0.18), inset 0 1px 0 rgba(255,255,255,1) !important;
  transform: translateY(-2px) !important;
}

/* ── CART ICON inside add-to-cart ── */
html body ul.products li.product a.add_to_cart_button::after,
html body .woocommerce ul.products li.product a.add_to_cart_button::after,
html body .home ul.products li.product a.add_to_cart_button::after,
html body .woocommerce ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button::after,
html body .home ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button::after {
  content: "" !important;
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23285F6B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 002 1.61h9.72a2 2 0 002-1.61L23 6H6'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  flex-shrink: 0 !important;
}
/* Clear old ::before icon */
html body ul.products li.product a.add_to_cart_button::before,
html body .woocommerce ul.products li.product a.add_to_cart_button::before,
html body .home ul.products li.product a.add_to_cart_button::before {
  display: none !important;
  content: none !important;
}

/* ── SEARCH ICON inside quick-view ── */
html body ul.products li.product a.yith-wcqv-button::after,
html body .woocommerce ul.products li.product a.yith-wcqv-button::after,
html body .home ul.products li.product a.yith-wcqv-button::after,
html body ul.products li.product .freq-product-actions a.yith-wcqv-button::after {
  content: "" !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23285F6B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  flex-shrink: 0 !important;
}
html body ul.products li.product a.yith-wcqv-button::before,
html body .woocommerce ul.products li.product a.yith-wcqv-button::before,
html body .home ul.products li.product a.yith-wcqv-button::before,
html body ul.products li.product .freq-product-actions a.yith-wcqv-button::before {
  display: none !important;
  content: none !important;
}

/* Hide SVG and text inside buttons */
html body ul.products li.product a.yith-wcqv-button svg,
html body ul.products li.product a.yith-wcqv-button .qv-text,
html body ul.products li.product a.add_to_cart_button svg {
  display: none !important;
}

/* ── .freq-btn-row wrapper ── */
.freq-btn-row {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 10px !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Mobile: buttons still circles on mobile */
@media (max-width: 921px) {
  html body ul.products li.product a.add_to_cart_button,
  html body ul.products li.product a.yith-wcqv-button {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 42px !important;
    display: inline-flex !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}




/* ══════════════════════════════════════════
   PAGINATION — force horizontal row
   ══════════════════════════════════════════ */

.woocommerce-pagination {
  display: block !important;
  text-align: center !important;
  padding: 32px 0 24px !important;
  width: 100% !important;
  clear: both !important;
}

.woocommerce-pagination ul.page-numbers {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  list-style: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: auto !important;
  max-width: 100% !important;
}

.woocommerce-pagination ul.page-numbers li {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  float: none !important;
}

.woocommerce-pagination .page-numbers,
.woocommerce-pagination a.page-numbers,
.woocommerce-pagination span.page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 12px !important;
  font-family: Inter, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  background: rgba(255, 255, 255, 0.60) !important;
  backdrop-filter: blur(10px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(150%) !important;
  border: 1px solid rgba(40, 95, 107, 0.18) !important;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255,255,255,0.8) !important;
  color: #285F6B !important;
  float: none !important;
  vertical-align: middle !important;
}

.woocommerce-pagination .page-numbers.current,
.woocommerce-pagination span.page-numbers.current {
  background: #285F6B !important;
  color: #fff !important;
  border-color: #285F6B !important;
  box-shadow: 0 3px 12px rgba(40, 95, 107, 0.30) !important;
}

.woocommerce-pagination a.page-numbers:hover {
  background: rgba(40, 95, 107, 0.12) !important;
  border-color: rgba(40, 95, 107, 0.40) !important;
  color: #285F6B !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 12px rgba(40, 95, 107, 0.15) !important;
}

.woocommerce-pagination .next.page-numbers,
.woocommerce-pagination .prev.page-numbers {
  width: 48px !important;
  min-width: 48px !important;
  font-size: 16px !important;
}

/* ══════════════════════════════════════════
   PRODUCT CARD BUTTONS — ULTIMATE NUCLEAR
   ══════════════════════════════════════════ */

/* Hide variable product buttons */
html body ul.products li.product a.button.product_type_variable,
html body .woocommerce ul.products li.product a.button.product_type_variable,
html body .home ul.products li.product a.button.product_type_variable {
  display: none !important;
}

/* === SHARED GLASS BASE === */
html body ul.products li.product a.add_to_cart_button,
html body ul.products li.product a.button.add_to_cart_button,
html body .woocommerce ul.products li.product a.add_to_cart_button,
html body .home ul.products li.product a.add_to_cart_button,
html body .woocommerce ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button,
html body .home ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button,
html body ul.products li.product a.yith-wcqv-button,
html body ul.products li.product a.button.yith-wcqv-button,
html body .woocommerce ul.products li.product a.yith-wcqv-button,
html body .home ul.products li.product a.yith-wcqv-button,
html body ul.products li.product .freq-product-actions a.yith-wcqv-button,
html body .woocommerce ul.products li.product .freq-product-actions a.yith-wcqv-button {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  line-height: 1 !important;
  letter-spacing: normal !important;
  text-indent: -9999px !important;
  text-align: center !important;
  text-transform: none !important;
  white-space: nowrap !important;
  padding: 0 !important;
  margin: 0 !important;
  color: transparent !important;
  vertical-align: middle !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.62) !important;
  backdrop-filter: blur(12px) saturate(160%) brightness(1.03) !important;
  -webkit-backdrop-filter: blur(12px) saturate(160%) brightness(1.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.95) !important;
  position: relative !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: all 0.22s ease !important;
}

/* Hover */
html body ul.products li.product a.add_to_cart_button:hover,
html body .woocommerce ul.products li.product a.add_to_cart_button:hover,
html body .home ul.products li.product a.add_to_cart_button:hover,
html body ul.products li.product a.yith-wcqv-button:hover,
html body .woocommerce ul.products li.product a.yith-wcqv-button:hover,
html body .home ul.products li.product a.yith-wcqv-button:hover {
  background: rgba(40, 95, 107, 0.14) !important;
  border-color: rgba(40, 95, 107, 0.40) !important;
  box-shadow: 0 4px 16px rgba(40,95,107,0.18), inset 0 1px 0 rgba(255,255,255,1) !important;
  transform: translateY(-2px) !important;
}

/* Hide ALL children inside buttons */
html body ul.products li.product a.add_to_cart_button *,
html body .woocommerce ul.products li.product a.add_to_cart_button *,
html body .home ul.products li.product a.add_to_cart_button *,
html body ul.products li.product a.yith-wcqv-button *,
html body .woocommerce ul.products li.product a.yith-wcqv-button *,
html body .home ul.products li.product a.yith-wcqv-button * {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  font-size: 0 !important;
  color: transparent !important;
  visibility: hidden !important;
}

/* === Cart icon via ::before === */
html body ul.products li.product a.add_to_cart_button::before,
html body .woocommerce ul.products li.product a.add_to_cart_button::before,
html body .home ul.products li.product a.add_to_cart_button::before,
html body .woocommerce ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button::before,
html body .home ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button::before {
  content: "" !important;
  display: block !important;
  visibility: visible !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23285F6B%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%279%27 cy=%2721%27 r=%271%27/%3E%3Ccircle cx=%2720%27 cy=%2721%27 r=%271%27/%3E%3Cpath d=%27M1 1h4l2.68 13.39a2 2 0 002 1.61h9.72a2 2 0 002-1.61L23 6H6%27/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* No ::after on add-to-cart */
html body ul.products li.product a.add_to_cart_button::after,
html body .woocommerce ul.products li.product a.add_to_cart_button::after,
html body .home ul.products li.product a.add_to_cart_button::after {
  display: none !important;
  content: none !important;
}

/* === Magnifier icon via ::before === */
html body ul.products li.product a.yith-wcqv-button::before,
html body .woocommerce ul.products li.product a.yith-wcqv-button::before,
html body .home ul.products li.product a.yith-wcqv-button::before,
html body ul.products li.product .freq-product-actions a.yith-wcqv-button::before,
html body .woocommerce ul.products li.product .freq-product-actions a.yith-wcqv-button::before {
  content: "" !important;
  display: block !important;
  visibility: visible !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23285F6B%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2711%27 cy=%2711%27 r=%277%27/%3E%3Cpath d=%27m21 21-4.3-4.3%27/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* No ::after on YITH button */
html body ul.products li.product a.yith-wcqv-button::after,
html body .woocommerce ul.products li.product a.yith-wcqv-button::after,
html body .home ul.products li.product a.yith-wcqv-button::after,
html body ul.products li.product .freq-product-actions a.yith-wcqv-button::after {
  display: none !important;
  content: none !important;
}

/* .freq-btn-row wrapper */
.freq-btn-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 10px !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Mobile */
@media (max-width: 921px) {
  html body ul.products li.product a.add_to_cart_button,
  html body ul.products li.product a.yith-wcqv-button {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 42px !important;
    display: inline-flex !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}




/* ══════════════════════════════════════════
   PAGINATION — remove ugly square borders
   ══════════════════════════════════════════ */

/* Remove ALL default pagination borders/backgrounds first */
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span,
.woocommerce-pagination .page-numbers,
.woocommerce-pagination a.page-numbers,
.woocommerce-pagination span.page-numbers {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Then re-apply glass style cleanly */
.woocommerce-pagination a.page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 12px !important;
  font-family: Inter, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  color: #285F6B !important;
  background: rgba(255,255,255,0.55) !important;
  backdrop-filter: blur(10px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(150%) !important;
  border: 1px solid rgba(40, 95, 107, 0.15) !important;
  box-shadow: 0 1px 5px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8) !important;
  transition: all 0.2s ease !important;
}

.woocommerce-pagination span.page-numbers.current {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 12px !important;
  font-family: Inter, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  background: #285F6B !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 3px 12px rgba(40,95,107,0.28) !important;
}

.woocommerce-pagination a.page-numbers:hover {
  background: rgba(40, 95, 107, 0.12) !important;
  border-color: rgba(40, 95, 107, 0.35) !important;
  transform: translateY(-1px) !important;
}

.woocommerce-pagination .next.page-numbers,
.woocommerce-pagination .prev.page-numbers {
  width: 48px !important;
  min-width: 48px !important;
  font-size: 15px !important;
}

/* ══════════════════════════════════════════
   HOMEPAGE ADD-TO-CART BUTTON GLASS FIX
   Specificity (0,4,5) beats old rule (0,4,4)
   .astra-shop-summary-wrap a.add_to_cart_button
   ══════════════════════════════════════════ */

html body ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button,
html body ul.products li.product .astra-shop-summary-wrap a.button.add_to_cart_button,
html body ul.products li.product .astra-shop-summary-wrap a.ajax_add_to_cart {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-indent: -9999px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: transparent !important;
  overflow: hidden !important;
  /* GLASS — overrides old #285F6B */
  background: rgba(255, 255, 255, 0.62) !important;
  backdrop-filter: blur(12px) saturate(160%) brightness(1.03) !important;
  -webkit-backdrop-filter: blur(12px) saturate(160%) brightness(1.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.95) !important;
  position: relative !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: all 0.22s ease !important;
  vertical-align: middle !important;
}

/* Hover for homepage button */
html body ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button:hover,
html body ul.products li.product .astra-shop-summary-wrap a.ajax_add_to_cart:hover {
  background: rgba(40, 95, 107, 0.14) !important;
  border-color: rgba(40, 95, 107, 0.40) !important;
  box-shadow: 0 4px 16px rgba(40,95,107,0.18), inset 0 1px 0 rgba(255,255,255,1) !important;
  transform: translateY(-2px) !important;
}

/* Hide children text inside homepage button */
html body ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button *,
html body ul.products li.product .astra-shop-summary-wrap a.ajax_add_to_cart * {
  display: none !important;
  font-size: 0 !important;
  visibility: hidden !important;
}

/* Cart icon ::before for homepage button (inside astra-shop-summary-wrap) */
html body ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button::before,
html body ul.products li.product .astra-shop-summary-wrap a.ajax_add_to_cart::before {
  content: "" !important;
  display: block !important;
  visibility: visible !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23285F6B%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%279%27 cy=%2721%27 r=%271%27/%3E%3Ccircle cx=%2720%27 cy=%2721%27 r=%271%27/%3E%3Cpath d=%27M1 1h4l2.68 13.39a2 2 0 002 1.61h9.72a2 2 0 002-1.61L23 6H6%27/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* No ::after on these */
html body ul.products li.product .astra-shop-summary-wrap a.add_to_cart_button::after,
html body ul.products li.product .astra-shop-summary-wrap a.ajax_add_to_cart::after {
  display: none !important;
  content: none !important;
}

/* ══════════════════════════════════════════
   PRODUCT CARD TEXT: CENTER + BLACK BOLD NAME
   ══════════════════════════════════════════ */

/* Center the entire product card summary area */
ul.products li.product .astra-shop-summary-wrap,
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .price,
ul.products li.product .astra-woo-product-category,
ul.products li.product .ast-woo-product-category,
ul.products li.product .ast-loop-product__link,
ul.products li.product .product-rating {
  text-align: center !important;
}

/* Product name: black + bold */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2.woocommerce-loop-product__title {
  color: #111111 !important;
  font-weight: 700 !important;
}

/* Price: centered, dark */
ul.products li.product .price,
ul.products li.product .price .woocommerce-Price-amount {
  text-align: center !important;
  display: block !important;
}

/* Category label centered */
ul.products li.product .ast-woo-product-category {
  display: block !important;
  text-align: center !important;
}

/* Button row centered */
ul.products li.product .freq-btn-row {
  justify-content: center !important;
  display: flex !important;
  flex-direction: row !important;
}

/* Also center the add-to-cart when not in freq-btn-row (homepage) */
ul.products li.product .astra-shop-summary-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}




/* ══════════════════════════════════════════
   PAGINATION: NO BORDERS — clean look
   ══════════════════════════════════════════ */

.woocommerce-pagination ul.page-numbers li a.page-numbers,
.woocommerce-pagination ul.page-numbers li span.page-numbers {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.woocommerce-pagination a.page-numbers {
  background: rgba(255,255,255,0.55) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #285F6B !important;
}

.woocommerce-pagination a.page-numbers:hover {
  background: rgba(40, 95, 107, 0.12) !important;
}

.woocommerce-pagination span.page-numbers.current {
  border: none !important;
  outline: none !important;
  box-shadow: 0 3px 12px rgba(40,95,107,0.28) !important;
}

/* ══════════════════════════════════════════
   HOMEPAGE ADD-TO-CART: body.home prefix
   Specificity (0,5,3) beats old (0,5,2)
   ══════════════════════════════════════════ */

body.home ul.products li.product .astra-shop-summary-wrap .add_to_cart_button,
body.home ul.products li.product .astra-shop-summary-wrap a.button:not(.yith-wcqv-button),
body.front-page ul.products li.product .astra-shop-summary-wrap .add_to_cart_button,
body.front-page ul.products li.product .astra-shop-summary-wrap a.button:not(.yith-wcqv-button) {
  /* GLASS — overrides all teal #285F6B rules */
  background: rgba(255, 255, 255, 0.62) !important;
  backdrop-filter: blur(12px) saturate(160%) brightness(1.03) !important;
  -webkit-backdrop-filter: blur(12px) saturate(160%) brightness(1.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.95) !important;

  /* Size: 44x44 circle */
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  border-radius: 50% !important;

  /* Reset text/layout */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-indent: -9999px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: transparent !important;
  overflow: hidden !important;
  position: relative !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
  transition: all 0.22s ease !important;
  letter-spacing: normal !important;
  box-sizing: border-box !important;
}

body.home ul.products li.product .astra-shop-summary-wrap .add_to_cart_button:hover,
body.home ul.products li.product .astra-shop-summary-wrap a.button:not(.yith-wcqv-button):hover,
body.front-page ul.products li.product .astra-shop-summary-wrap .add_to_cart_button:hover {
  background: rgba(40, 95, 107, 0.14) !important;
  border-color: rgba(40, 95, 107, 0.40) !important;
  box-shadow: 0 4px 16px rgba(40,95,107,0.18), inset 0 1px 0 rgba(255,255,255,1) !important;
  transform: translateY(-2px) !important;
}

/* Hide text children inside homepage add-to-cart */
body.home ul.products li.product .astra-shop-summary-wrap .add_to_cart_button *,
body.front-page ul.products li.product .astra-shop-summary-wrap .add_to_cart_button * {
  display: none !important;
  font-size: 0 !important;
  visibility: hidden !important;
}

/* Cart icon via ::before */
body.home ul.products li.product .astra-shop-summary-wrap .add_to_cart_button::before,
body.front-page ul.products li.product .astra-shop-summary-wrap .add_to_cart_button::before {
  content: "" !important;
  display: block !important;
  visibility: visible !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23285F6B%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%279%27 cy=%2721%27 r=%271%27/%3E%3Ccircle cx=%2720%27 cy=%2721%27 r=%271%27/%3E%3Cpath d=%27M1 1h4l2.68 13.39a2 2 0 002 1.61h9.72a2 2 0 002-1.61L23 6H6%27/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

body.home ul.products li.product .astra-shop-summary-wrap .add_to_cart_button::after,
body.front-page ul.products li.product .astra-shop-summary-wrap .add_to_cart_button::after {
  display: none !important;
  content: none !important;
}

/* ══════════════════════════════════════════
   PRODUCT TITLE: black bold — body.home
   ══════════════════════════════════════════ */

body.home ul.products li.product .astra-shop-summary-wrap .woocommerce-loop-product__title,
body.home ul.products li.product .woocommerce-loop-product__title,
body.front-page ul.products li.product .woocommerce-loop-product__title,
body.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2.woocommerce-loop-product__title {
  color: #111111 !important;
  font-weight: 700 !important;
  text-align: center !important;
}

/* Price centered */
body.home ul.products li.product .astra-shop-summary-wrap .price,
body.home ul.products li.product .price,
body.front-page ul.products li.product .price,
body.woocommerce ul.products li.product .price {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}

/* Summary wrap: flex-column centered */
body.home ul.products li.product .astra-shop-summary-wrap,
body.front-page ul.products li.product .astra-shop-summary-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

/* Shop page buttons centered */
body.woocommerce ul.products li.product .freq-btn-row,
body.woocommerce ul.products li.product .astra-shop-summary-wrap {
  text-align: center !important;
}




/* Remove all borders and boxes from pagination — make clean circles */
.woocommerce-pagination .page-numbers,
.woocommerce-pagination a.page-numbers,
.woocommerce-pagination span.page-numbers,
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #285F6B !important;
  text-decoration: none !important;
}

/* Current page — filled teal circle */
.woocommerce-pagination span.page-numbers.current,
.woocommerce-pagination .page-numbers.current {
  background: #285F6B !important;
  color: #fff !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 3px 12px rgba(40,95,107,0.28) !important;
  border-radius: 50% !important;
  font-weight: 600 !important;
}

/* Hover — subtle teal tint, no border */
.woocommerce-pagination a.page-numbers:hover {
  background: rgba(40, 95, 107, 0.10) !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transform: translateY(-1px) !important;
}

/* Arrow buttons same size */
.woocommerce-pagination .next.page-numbers,
.woocommerce-pagination .prev.page-numbers {
  width: 40px !important;
  min-width: 40px !important;
}




/* ══════════════════════════════════════════
   SIDEBAR CATEGORY WIDGET — viens liels stikla logs
   ══════════════════════════════════════════ */

/* Galvenais konteiners — viens liels teal stikla logs */
.wp-block-woocommerce-product-categories,
.wc-block-product-categories {
  background: rgba(40, 95, 107, 0.07) !important;
  backdrop-filter: blur(16px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
  border: 1.5px solid rgba(40, 95, 107, 0.20) !important;
  border-radius: 20px !important;
  padding: 20px 18px !important;
  box-shadow: 0 4px 24px rgba(40, 95, 107, 0.10), inset 0 1px 0 rgba(255,255,255,0.6) !important;
  overflow: visible !important;
}

/* Noņem visus individuālos baltos un pelēkos fonus no listiem */
.wc-block-product-categories-list,
.wc-block-product-categories-list--depth-0,
.wc-block-product-categories-list--depth-1 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

/* Vecāka kategorija (depth-0) — tīrs teksts, bez baltas kastes */
.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 6px 0 !important;
  margin: 0 !important;
}

/* Vecāka kategorija links */
.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a {
  color: #1c4a54 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  letter-spacing: 0.01em !important;
}
.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a:hover {
  color: #285F6B !important;
}

/* Skaits (blakus nosaukumam) */
.wc-block-product-categories-list-item-count {
  color: rgba(40, 95, 107, 0.55) !important;
  font-size: 12px !important;
  margin-left: 4px !important;
}

/* Dalītājs starp vecāka kategorijām */
.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item + .wc-block-product-categories-list-item {
  border-top: 1px solid rgba(40, 95, 107, 0.10) !important;
  padding-top: 8px !important;
  margin-top: 2px !important;
}

/* Apakškategoriju bloks */
.wc-block-product-categories-list--depth-1 {
  padding: 6px 0 4px 4px !important;
  margin-top: 4px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

/* Apakškategorija (grey → teal glass) */
.wc-block-product-categories-list--depth-1 > .wc-block-product-categories-list-item {
  background: rgba(40, 95, 107, 0.12) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(40, 95, 107, 0.18) !important;
  border-radius: 10px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5) !important;
  padding: 5px 10px !important;
  margin: 0 !important;
}
.wc-block-product-categories-list--depth-1 > .wc-block-product-categories-list-item:hover {
  background: rgba(40, 95, 107, 0.20) !important;
}

/* Apakškategorija links */
.wc-block-product-categories-list--depth-1 > .wc-block-product-categories-list-item > a {
  color: #285F6B !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  text-decoration: none !important;
}
.wc-block-product-categories-list--depth-1 > .wc-block-product-categories-list-item > a:hover {
  color: #1c4a54 !important;
}

/* ══════════════════════════════════════════
   PAGINATION — noņem kastes (JS jau strādā, CSS rezerve)
   ══════════════════════════════════════════ */
.woocommerce-pagination .page-numbers,
.woocommerce-pagination a.page-numbers,
.woocommerce-pagination span.page-numbers {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 50% !important;
}
.woocommerce-pagination span.page-numbers.current {
  background: #285F6B !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 3px 12px rgba(40,95,107,0.28) !important;
}
.woocommerce-pagination a.page-numbers:hover {
  background: rgba(40,95,107,0.10) !important;
  border: none !important;
}




/* ══════════════════════════════════════════
   PAGINATION — noņem border no LI elementiem
   ══════════════════════════════════════════ */
.woocommerce-pagination ul.page-numbers li,
.woocommerce-pagination ul li,
nav.woocommerce-pagination ul li {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  list-style: none !important;
}

/* ══════════════════════════════════════════
   GALVENĀ LAPA — produkti 4 kolonnās × 2 rindās
   Overrides freq-homepage-grid-v3 (repeat(6))
   ══════════════════════════════════════════ */
body.home ul.products,
body.front-page ul.products,
.home ul.products,
.front-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}

body.home ul.products li.product,
body.front-page ul.products li.product,
.home ul.products li.product,
.front-page ul.products li.product {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* ══════════════════════════════════════════
   KATEGORIJU SADAĻA — 4 karti rindā, pārpalikums centrēts
   .freq-categories-grid satur .freq-cat-card elementus
   ══════════════════════════════════════════ */
.freq-categories-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 20px !important;
  width: 100% !important;
}

.freq-cat-card {
  flex: 0 0 calc(25% - 16px) !important;
  max-width: calc(25% - 16px) !important;
  min-width: 180px !important;
  box-sizing: border-box !important;
}

/* Ja ir mazāks ekrāns — 2 kolonnas */
@media (max-width: 768px) {
  .freq-categories-grid {
    gap: 12px !important;
  }
  .freq-cat-card {
    flex: 0 0 calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
  }
  body.home ul.products,
  .home ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}




/* ══════════════════════════════════════════
   GALVENĀ LAPA — produkti 5 kolonnās × 2 rindas
   Overrides v19 (repeat(4)) and v3 (repeat(6))
   ══════════════════════════════════════════ */
body.home ul.products,
body.front-page ul.products,
.home ul.products,
.front-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px !important;
}

body.home ul.products li.product,
body.front-page ul.products li.product,
.home ul.products li.product,
.front-page ul.products li.product {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Mobilā — 2 kolonnas */
@media (max-width: 768px) {
  body.home ul.products,
  .home ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* ══════════════════════════════════════════
   KATEGORIJU KARTES — pilna bilde (contain), balta fona
   Kā produktu kartes, nevis apgriezta (cover)
   ══════════════════════════════════════════ */

/* Attēla konteiners — balta fona */
.freq-cat-img-wrap {
  background: #ffffff !important;
  border-radius: 12px 12px 0 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

/* Bilde — rāda pilnu, nevis apgriež */
.freq-cat-img-wrap img,
.freq-cat-card img {
  object-fit: contain !important;
  object-position: center !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 280px !important;
  background: #ffffff !important;
}

/* Noņem tumšo gradient overlay ja ir */
.freq-cat-card::after,
.freq-cat-img-wrap::after {
  display: none !important;
}




/* ══════════════════════════════════════════
   GALVENĀ LAPA — 5 kolonnās, pārpalikumi centrēti
   Flexbox ļauj centrēt nepilnas rindas
   ══════════════════════════════════════════ */
body.home ul.products,
body.front-page ul.products,
.home ul.products,
.front-page ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 16px !important;
  grid-template-columns: unset !important;
}

body.home ul.products li.product,
body.front-page ul.products li.product,
.home ul.products li.product,
.front-page ul.products li.product {
  flex: 0 0 calc(20% - 12.8px) !important;
  max-width: calc(20% - 12.8px) !important;
  width: calc(20% - 12.8px) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Mobilā — 2 kolonnas */
@media (max-width: 768px) {
  body.home ul.products li.product,
  .home ul.products li.product {
    flex: 0 0 calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
    width: calc(50% - 8px) !important;
  }
}

