﻿:root {
  --gpph-bg: #f3f6fb;
  --gpph-text: #0d1b2a;
  --gpph-muted: #57647a;
  --gpph-border: #d7deea;
  --gpph-accent: #0a3f59;
  --gpph-accent-soft: #e5f4ff;
  --gpph-white: #ffffff;
  --gpph-shadow: 0 24px 45px rgba(9, 28, 52, 0.12);
}

[data-gpph-header],
[data-gpph-header] * {
  box-sizing: border-box;
}

[data-gpph-header] {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--gpph-text);
}

[data-gpph-header] a {
  color: inherit;
  text-decoration: none;
}

[data-gpph-header] ul,
[data-gpph-header] ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

[data-gpph-header] button,
[data-gpph-header] input,
[data-gpph-header] select {
  font: inherit;
  color: inherit;
}

/* Neutralize global Elementor kit button rules inside custom header only. */
[data-gpph-header] input[type="button"],
[data-gpph-header] input[type="submit"],
[data-gpph-header] .elementor-button {
  font: inherit !important;
  color: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
.gpph-container {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.gpph-header {
  position: sticky;
  top: 0;
  z-index: 3000;
}

.gpph-header.gpph-sticky-force {
  position: fixed !important;
  top: var(--gpph-sticky-top, 0px) !important;
  left: 0;
  right: 0;
  width: 100%;
}

body.gpph-sticky-force-enabled {
  padding-top: var(--gpph-header-offset, 0px);
}

.gpph-header-shell {
  position: relative;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(215, 222, 234, 0.9);
}

.gpph-header.is-scrolled .gpph-header-shell {
  box-shadow: 0 10px 30px rgba(10, 23, 43, 0.09);
}

.gpph-topbar {
  position: relative;
  z-index: 40;
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.gpph-menu-toggle {
  display: none;
}

.gpph-logo {
  display: inline-flex;
  align-items: center;
}

.gpph-logo img {
  width: 170px;
  max-width: 100%;
  height: auto;
}

.gpph-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.gpph-quick-contact {
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--gpph-border);
  background: var(--gpph-white);
  color: #0f4f77;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.gpph-quick-contact svg {
  width: 17px;
  height: 17px;
}

.gpph-quick-contact:hover {
  border-color: #7cb9dc;
  background: #f3faff;
  transform: translateY(-1px);
}

.gpph-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--gpph-border);
  background: var(--gpph-white);
  color: var(--gpph-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.gpph-icon-btn:hover {
  border-color: #c3cfdf;
  background: #f8fbff;
  transform: translateY(-1px);
}

.gpph-icon-btn svg {
  width: 20px;
  height: 20px;
}

.gpph-lang {
  position: relative;
  z-index: 80;
}

.gpph-lang-toggle {
  width: auto;
  min-width: 122px;
  padding: 0 12px;
  gap: 8px;
  justify-content: flex-start;
}

.gpph-lang-toggle img,
.gpph-lang-option img {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
}

.gpph-lang-toggle span {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.gpph-lang-toggle svg {
  width: 16px;
  height: 16px;
  margin-left: auto;
}

.gpph-lang-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 10px;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(360px, 80vw);
  max-height: 340px;
  overflow: auto;
  border: 1px solid var(--gpph-border);
  border-radius: 14px;
  background: var(--gpph-white);
  box-shadow: var(--gpph-shadow);
  z-index: 120;
  display: none;
}

.gpph-lang.is-open .gpph-lang-list {
  display: block;
}

.gpph-lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--gpph-muted);
  font-size: 13px;
}

.gpph-lang-option:hover {
  background: #f1f6ff;
  color: var(--gpph-text);
}

.gpph-currency {
  position: relative;
  z-index: 80;
}

.gpph-currency-toggle {
  width: auto;
  min-width: 82px;
  padding: 0 12px;
  gap: 8px;
}

.gpph-currency-toggle span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.gpph-currency-toggle svg {
  width: 16px;
  height: 16px;
}

.gpph-currency-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 128px;
  border: 1px solid var(--gpph-border);
  border-radius: 14px;
  background: var(--gpph-white);
  box-shadow: var(--gpph-shadow);
  z-index: 120;
  display: none;
}

.gpph-currency.is-open .gpph-currency-list {
  display: block;
}

.gpph-currency-option {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--gpph-muted);
  font-size: 12px;
  font-weight: 600;
}

.gpph-currency-option.is-active,
.gpph-currency-option:hover {
  background: #eef5ff;
  color: var(--gpph-text);
}

.gpph-cart-btn {
  min-width: 124px;
  height: 42px;
  border: 1px solid var(--gpph-border);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px 0 12px;
  background: var(--gpph-white);
  transition: border-color 0.2s ease;
}

.gpph-cart-btn:hover {
  border-color: #c3cfdf;
}

.gpph-cart-total {
  font-size: 11px;
  font-weight: 600;
  color: var(--gpph-muted);
}

.gpph-cart-icon {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gpph-cart-icon svg {
  width: 20px;
  height: 20px;
}

.gpph-cart-count {
  position: absolute;
  top: -3px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gpph-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.gpph-shop-btn {
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid #00547a;
  background: linear-gradient(135deg, #0d4f71, #06344a);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.gpph-main-row {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(215, 222, 234, 0.8);
}

.gpph-main-row .gpph-container {
  min-height: 48px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.gpph-desktop-nav {
  width: 100%;
  overflow: visible;
}

.gpph-menu-list,
.gpph-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gpph-menu-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow: visible;
  width: 100%;
  justify-content: flex-start;
  scrollbar-width: none;
}

.gpph-menu-list::-webkit-scrollbar {
  display: none;
}

.gpph-menu-list > li {
  position: relative;
  flex: 0 0 auto;
  padding-bottom: 6px;
  margin-bottom: -6px;
}

.gpph-link,
.gpph-sublink {
  display: inline-flex;
  align-items: center;
  line-height: 1.3;
  color: var(--gpph-muted);
}

.gpph-link {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
}

.gpph-link:hover,
.gpph-link.is-active {
  color: var(--gpph-text);
  background: #f7fbff;
  border-color: var(--gpph-border);
}

.gpph-link-priority {
  color: #0b3f59;
  background: #f2faff;
  border-color: #9ecae0;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(10, 63, 89, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gpph-link-priority:hover,
.gpph-link-priority:focus-visible {
  color: #0b3f59;
  border-color: #7bb4d1;
  background: #e9f6ff;
}

.gpph-link-priority::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1a9bcd;
  box-shadow: 0 0 0 4px rgba(26, 155, 205, 0.18);
}

.menu-item-priority {
  margin-left: auto;
  margin-right: 0;
  padding-left: 12px;
}

.menu-item-priority + .menu-item-priority {
  margin-left: 8px;
  padding-left: 0;
}

.menu-item-promo {
  margin-left: 8px;
  padding-left: 0;
}

.gpph-link-promo {
  color: #0b3f59;
  background: #f2faff;
  border-color: #9ecae0;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(10, 63, 89, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gpph-link-promo::before {
  display: none;
}

.gpph-link-promo:hover,
.gpph-link-promo:focus-visible {
  color: #0b3f59;
  border-color: #7bb4d1;
  background: #e9f6ff;
}

.gpph-link-priority--promo::before {
  display: none;
}

.gpph-link-priority--promo {
  gap: 7px;
}

.gpph-link-badge,
.gpph-sublink-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #0b3f59;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.gpph-sublink-promo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gpph-submenu-group-mobile-only {
  display: none;
}

.gpph-sublink {
  width: 100%;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 12px;
}

.gpph-sublink-category {
  margin-top: 4px;
  font-weight: 700;
  color: var(--gpph-text);
  background: #f4f8fd;
  border: 1px solid #d9e5f2;
}

.gpph-sublink-category:hover {
  background: #edf4fb;
  border-color: #c7d9eb;
  color: var(--gpph-text);
}

.gpph-sublink:hover {
  background: #eef5ff;
  color: var(--gpph-text);
}

.gpph-sublink-availability {
  border: 1px solid #9ecae0;
  background: #f2faff;
  color: #0b3f59;
  font-weight: 700;
}

.gpph-sublink-availability:hover {
  border-color: #7bb4d1;
  background: #e9f6ff;
  color: #0b3f59;
}

.menu-item-has-children > .gpph-link {
  padding-right: 30px;
}

.menu-item-has-children > .gpph-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(calc(-50% - 2px)) rotate(45deg);
  position: absolute;
  right: 12px;
  top: 50%;
  opacity: 0.65;
}

.gpph-submenu {
  position: absolute;
  left: 0;
  top: calc(100% - 2px);
  min-width: 300px;
  max-width: 360px;
  max-height: min(72vh, 620px);
  overflow: auto;
  background: var(--gpph-white);
  border: 1px solid var(--gpph-border);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--gpph-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}

.gpph-submenu-mega {
  min-width: min(980px, calc(100vw - 80px));
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.gpph-submenu-catalog {
  min-width: min(1240px, calc(100vw - 80px));
  max-width: 1240px;
  display: block;
  column-count: 4;
  column-gap: 10px;
}

.gpph-submenu-catalog > .gpph-submenu-group {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 8px;
}

.gpph-submenu-catalog .gpph-submenu-title {
  margin: 0 2px 4px;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.gpph-submenu-catalog .gpph-sublink {
  padding-top: 4px;
  padding-bottom: 4px;
}

.gpph-submenu-catalog .gpph-submenu-group {
  padding: 2px 4px 4px;
}

.gpph-submenu-catalog .gpph-sublink-category {
  margin-top: 0;
}

.gpph-submenu-catalog .gpph-submenu-group-full {
  grid-column: 1 / -1;
  column-span: all;
  margin-top: 0;
  padding-top: 4px;
  border-top: 1px solid #d9e4ef;
}

.gpph-submenu-catalog .gpph-submenu-group-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 0;
  padding-right: 0;
}

.gpph-submenu-catalog .gpph-submenu-group-sizes .gpph-submenu-title {
  flex: 0 0 100%;
  margin: 0 0 6px;
  text-align: left;
}

.gpph-submenu-catalog .gpph-submenu-group-sizes .gpph-sublink {
  width: auto;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 12px;
}

.gpph-submenu-catalog .gpph-submenu-group-sizes .gpph-sublink:hover {
  border: 0;
  background: #eef5ff;
  color: var(--gpph-text);
}

/* Series-specific hover accents in "Znajdz w sklepie" (legacy GPPH colors 1:1) */
.gpph-submenu-catalog a[href*="/expert/"]:hover {
  color: #714684;
  background: #7146841a;
}

.gpph-submenu-catalog a[href*="/pro/"]:hover {
  color: #db3700;
  background: #db37001a;
}

.gpph-submenu-catalog a[href*="/plus/"]:hover {
  color: #ffc814;
  background: #ffc8141a;
}

.gpph-submenu-catalog a[href*="/eco/"]:hover {
  color: #008dd2;
  background: #008dd21a;
}

.gpph-submenu-catalog a[href*="stoly-spawalnicze-ze-stali-nierdzewnej"]:hover {
  color: #727171;
  background: #7271711a;
}

.gpph-submenu-catalog a[href*="/podnoszone/"]:hover {
  color: #ef7f1a;
  background: #ef7f1a1a;
}

.gpph-submenu-catalog a[href*="/modulowe/"]:hover {
  color: #7a7a7a;
  background: #7a7a7a1a;
}

.gpph-submenu-catalog a[href*="/oct/"]:hover {
  color: #00a859;
  background: #00a8591a;
}

.gpph-submenu-catalog a[href*="/smart/"]:hover {
  color: #005f4e;
  background: #005f4e1a;
}

.gpph-submenu-catalog a[href*="/basic/"]:hover {
  color: #00b5db;
  background: #00b5db1a;
}

.gpph-submenu-catalog a[href*="/diy/"]:hover {
  color: #a2b82c;
  background: #a2b82c1a;
}

.gpph-submenu-catalog a[href*="podpory-spawalnicze"]:hover {
  color: #814b3e;
  background: #814b3e1a;
}

.gpph-submenu-products {
  min-width: min(1240px, calc(100vw - 80px));
  max-width: 1240px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.gpph-submenu-products .gpph-submenu-title {
  margin-bottom: 6px;
}

.gpph-submenu-products .gpph-submenu-subtitle {
  margin-top: 8px;
}

.gpph-submenu-products .gpph-sublink {
  padding-top: 5px;
  padding-bottom: 5px;
}

.gpph-submenu-group {
  padding: 4px 6px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.gpph-submenu-title {
  display: block;
  margin: 2px 4px 8px;
  color: var(--gpph-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gpph-submenu-group .gpph-sublink {
  padding: 7px 8px;
}

.gpph-desktop-nav .menu-item-has-children.is-open > .gpph-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.gpph-submenu,
.gpph-lang-list,
.gpph-currency-list,
.gpph-mobile-drawer,
.gpph-mobile-lang-list,
.gpph-mobile-nav .gpph-submenu {
  scrollbar-width: thin;
  scrollbar-color: #a7bfd1 #edf4fa;
}

.gpph-submenu::-webkit-scrollbar,
.gpph-lang-list::-webkit-scrollbar,
.gpph-currency-list::-webkit-scrollbar,
.gpph-mobile-drawer::-webkit-scrollbar,
.gpph-mobile-lang-list::-webkit-scrollbar,
.gpph-mobile-nav .gpph-submenu::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.gpph-submenu::-webkit-scrollbar-track,
.gpph-lang-list::-webkit-scrollbar-track,
.gpph-currency-list::-webkit-scrollbar-track,
.gpph-mobile-drawer::-webkit-scrollbar-track,
.gpph-mobile-lang-list::-webkit-scrollbar-track,
.gpph-mobile-nav .gpph-submenu::-webkit-scrollbar-track {
  background: #edf4fa;
  border-radius: 999px;
}

.gpph-submenu::-webkit-scrollbar-thumb,
.gpph-lang-list::-webkit-scrollbar-thumb,
.gpph-currency-list::-webkit-scrollbar-thumb,
.gpph-mobile-drawer::-webkit-scrollbar-thumb,
.gpph-mobile-lang-list::-webkit-scrollbar-thumb,
.gpph-mobile-nav .gpph-submenu::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #b7ccdc, #8ea9bf);
  border-radius: 999px;
  border: 2px solid #edf4fa;
}

.gpph-search {
  display: none;
  border-top: 1px solid rgba(215, 222, 234, 0.8);
  padding: 16px 0;
}

.gpph-search.is-open {
  display: block;
}

.gpph-search-form--products {
  display: block;
}

.gpph-search-form--products .gpph-search-form--fallback,
.gpph-search-form--products .dgwt-wcas-sf-wrapp {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.gpph-search-form--products .dgwt-wcas-search-wrapp {
  width: 100%;
  max-width: none !important;
  margin: 0;
}

.gpph-search-form--products .dgwt-wcas-search-icon,
.gpph-search-form--products .dgwt-wcas-search-icon-arrow {
  display: none !important;
}

.gpph-search-form--products input[type='search'] {
  height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--gpph-border);
  font-size: 14px;
  font-family: inherit;
}

.gpph-search-form--products input[type='search']:focus {
  outline: 2px solid rgba(10, 63, 89, 0.2);
  border-color: var(--gpph-accent);
}

.gpph-search-form--products button[type='submit'],
.gpph-search-form--products .dgwt-wcas-search-submit {
  height: 46px;
  border: 1px solid #0d4f71;
  border-radius: 12px;
  padding: 0 16px;
  background: #0d4f71;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.gpph-search-form--products .dgwt-wcas-search-form {
  margin: 0;
}

.gpph-search-form--products .dgwt-wcas-sf-wrapp {
  border: 0;
  padding: 0;
  background: transparent;
}

.gpph-search-form--products .dgwt-wcas-preloader {
  right: 72px;
}

.gpph-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 20, 36, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

.gpph-mobile-drawer {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(420px, 92vw);
  background: var(--gpph-white);
  border-right: 1px solid var(--gpph-border);
  box-shadow: var(--gpph-shadow);
  transform: translateX(-105%);
  transition: transform 0.25s ease;
  z-index: 1001;
  overflow: auto;
  overflow-x: hidden;
  padding: 20px;
}

.gpph-mini-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 20, 36, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1090;
}

.gpph-mini-cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 96vw);
  background: var(--gpph-white);
  border-left: 1px solid var(--gpph-border);
  box-shadow: var(--gpph-shadow);
  transform: translateX(105%);
  transition: transform 0.25s ease;
  z-index: 1091;
  display: flex;
  flex-direction: column;
  --gpph-mini-cart-actions-height: 84px;
}

.gpph-mini-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--gpph-border);
}

.gpph-mini-cart-head strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--gpph-text);
}

.gpph-mini-cart-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 14px 16px 14px;
  display: flex;
  flex-direction: column;
}

.gpph-mini-cart-empty {
  margin: 0;
  padding: 16px 0;
  color: var(--gpph-muted);
  font-size: 14px;
}

.gpph-mini-cart .woocommerce-mini-cart {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
}

.gpph-mini-cart .woocommerce-mini-cart-item {
  position: relative;
  display: block;
  padding: 12px 30px 12px 0;
  border-bottom: 1px solid #edf3f9;
  font-size: 14px;
}

.gpph-mini-cart .woocommerce-mini-cart-item .remove {
  position: absolute;
  top: 10px;
  right: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  line-height: 20px;
  text-align: center;
  color: #6f8094 !important;
}

.gpph-mini-cart .woocommerce-mini-cart-item .remove:hover {
  background: #eef5ff;
  color: #0b3f59 !important;
}

.gpph-mini-cart .woocommerce-mini-cart-item > a:not(.remove) {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  color: var(--gpph-text);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
}

.gpph-mini-cart .woocommerce-mini-cart-item img {
  width: 72px !important;
  max-width: 72px !important;
  height: 72px !important;
  flex: 0 0 72px;
  order: -1;
  object-fit: contain;
  border-radius: 8px;
  margin: 0 !important;
  float: none !important;
  display: block;
}

.gpph-mini-cart .woocommerce-mini-cart-item dl.variation,
.gpph-mini-cart .woocommerce-mini-cart-item .quantity {
  margin-left: 84px;
}

.gpph-mini-cart .woocommerce-mini-cart-item dl.variation {
  margin-top: 6px;
  margin-bottom: 6px;
  color: #516275;
  font-size: 13px;
}

.gpph-mini-cart .woocommerce-mini-cart__total {
  margin: auto 0 0;
  padding: 10px 0;
  border-top: 1px solid var(--gpph-border);
  border-bottom: 1px solid var(--gpph-border);
  font-size: 14px;
  background: #fff;
  position: sticky;
  bottom: var(--gpph-mini-cart-actions-height);
  z-index: 2;
}

.gpph-mini-cart .woocommerce-mini-cart__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  position: sticky;
  bottom: 0;
  z-index: 3;
}

.gpph-mini-cart .woocommerce-mini-cart__buttons .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 42px;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px !important;
  border: 1px solid var(--gpph-border) !important;
  background: #fff !important;
  color: var(--gpph-text) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-transform: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.gpph-mini-cart .woocommerce-mini-cart__buttons .checkout {
  background: linear-gradient(135deg, #0d4f71, #06344a) !important;
  border-color: #00547a !important;
  color: #fff !important;
}

.gpph-mini-cart .woocommerce-mini-cart__buttons .button:not(.checkout):hover,
.gpph-mini-cart .woocommerce-mini-cart__buttons .button:not(.checkout):focus-visible {
  border-color: #c3cfdf !important;
  background: #fff !important;
  color: var(--gpph-text) !important;
}

.gpph-mini-cart .woocommerce-mini-cart__buttons .checkout:hover,
.gpph-mini-cart .woocommerce-mini-cart__buttons .checkout:focus-visible {
  background: linear-gradient(135deg, #0d4f71, #06344a) !important;
  border-color: #00547a !important;
  color: #fff !important;
}

.gpph-mini-cart .woocommerce-mini-cart__total,
.gpph-mini-cart .woocommerce-mini-cart__buttons {
  margin-left: 0;
  margin-right: 0;
}

/* Hard lock mini-cart actions (prevent gray Woo/theme overrides) */
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  text-transform: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  -webkit-text-fill-color: currentColor !important;
}

body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:not(.checkout) {
  background: #fff !important;
  border: 1px solid var(--gpph-border) !important;
  color: var(--gpph-text) !important;
}

body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward {
  background: linear-gradient(135deg, #0d4f71, #06344a) !important;
  border: 1px solid #00547a !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:not(.checkout):hover,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:not(.checkout):focus,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:not(.checkout):focus-visible,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:not(.checkout):active,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:not(.checkout):visited {
  background: #fff !important;
  border-color: #c3cfdf !important;
  color: var(--gpph-text) !important;
  -webkit-text-fill-color: var(--gpph-text) !important;
}

body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:hover,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:focus,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:focus-visible,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:active,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:visited {
  background: linear-gradient(135deg, #0d4f71, #06344a) !important;
  border-color: #00547a !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.gpph-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.gpph-mobile-lang {
  position: relative;
  z-index: 30;
  margin-bottom: 14px;
}

.gpph-mobile-lang-toggle {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--gpph-border);
  background: #fbfdff;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gpph-muted);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

.gpph-mobile-lang-toggle strong {
  color: var(--gpph-text);
  font-size: 12px;
}

.gpph-mobile-lang-toggle svg {
  width: 16px;
  height: 16px;
  margin-left: auto;
}

.gpph-mobile-lang-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 8px;
  border: 1px solid var(--gpph-border);
  border-radius: 10px;
  background: #fff;
  max-height: 220px;
  overflow: auto;
  overflow-x: hidden;
  position: relative;
  z-index: 40;
  display: none;
}

.gpph-mobile-lang.is-open .gpph-mobile-lang-list {
  display: block;
}

.gpph-mobile-lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--gpph-muted);
  font-size: 12px;
  max-width: 100%;
  min-width: 0;
}

.gpph-mobile-lang-option:hover {
  background: #eef5ff;
  color: var(--gpph-text);
}

.gpph-mobile-lang-option img {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  flex: 0 0 auto;
}

.gpph-mobile-lang-option span {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gpph-mobile-currency {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.gpph-mobile-currency a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid var(--gpph-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--gpph-muted);
  background: #fbfdff;
}

.gpph-mobile-currency a::before {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid #c9d8e5;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  color: #5a6b7e;
  content: "\00A4";
}

.gpph-mobile-currency a[href*="PLN"]::before {
  content: "z\0142";
}

.gpph-mobile-currency a[href*="EUR"]::before {
  content: "\20AC";
}

.gpph-mobile-currency a[href*="USD"]::before {
  content: "$";
}

.gpph-mobile-nav .gpph-menu-list {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  overflow: visible;
}

.gpph-mobile-nav .gpph-link {
  width: 100%;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid var(--gpph-border);
  background: #fbfdff;
}

.gpph-mobile-nav .menu-item-priority {
  display: none;
}

.gpph-mobile-nav .menu-item-promo {
  display: none !important;
}

.gpph-mobile-nav .menu-item-has-children {
  position: relative;
}

.gpph-submenu-toggle {
  position: absolute;
  top: 7px;
  right: 8px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--gpph-border);
  background: #fff;
  cursor: pointer;
}

.gpph-submenu-toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--gpph-muted);
  border-bottom: 1.5px solid var(--gpph-muted);
  transform: translate(-50%, -62%) rotate(45deg);
  opacity: 0.8;
}

.gpph-mobile-nav .menu-item-has-children.is-open > .gpph-submenu-toggle::before {
  transform: translate(-50%, -40%) rotate(-135deg);
}

.gpph-mobile-nav .menu-item-has-children > .gpph-link::after {
  display: none;
}

.gpph-mobile-nav .gpph-submenu {
  position: static;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  min-width: 0;
  max-width: none;
  box-shadow: none;
  margin-top: 8px;
  border-radius: 10px;
  padding: 8px;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
}

.gpph-mobile-nav .gpph-submenu-mega {
  min-width: 0;
  max-width: none;
}

.gpph-mobile-nav .gpph-submenu-catalog {
  column-count: 1;
  column-gap: 0;
}

.gpph-mobile-nav .gpph-submenu-catalog > .gpph-submenu-group {
  display: block;
  width: 100%;
  break-inside: auto;
  page-break-inside: auto;
  margin: 0 0 8px;
}

.gpph-mobile-nav .gpph-submenu-catalog .gpph-submenu-group-full {
  column-span: none;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.gpph-mobile-nav .gpph-submenu-catalog .gpph-submenu-group-sizes {
  display: block;
  gap: 0;
}

.gpph-mobile-nav .gpph-submenu-catalog .gpph-submenu-group-sizes .gpph-sublink {
  display: flex;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
}

.gpph-mobile-nav .gpph-submenu-group {
  border: 0;
  background: transparent;
  margin-bottom: 12px;
  padding: 0;
}

.gpph-mobile-nav .gpph-submenu-group-mobile-only {
  display: block;
}

.gpph-mobile-nav .gpph-submenu-group-priority-mobile {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}

.gpph-mobile-nav .gpph-submenu-group-priority-mobile .gpph-sublink-availability {
  border-color: #7bb4d1;
  background: #e9f6ff;
  color: #0b3f59;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(10, 63, 89, 0.1);
}

.gpph-mobile-nav .gpph-submenu-group-priority-mobile .gpph-sublink {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 10px 10px;
  border-radius: 12px;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
}

.gpph-mobile-nav .gpph-submenu-group-priority-mobile .gpph-sublink + .gpph-sublink {
  margin-top: 14px !important;
}

.gpph-mobile-nav .gpph-submenu-group-priority-mobile .gpph-sublink-promo {
  border-color: #d0dbe7;
  background: #fff;
  color: var(--gpph-text);
}

.gpph-mobile-nav .gpph-submenu-group-priority-mobile .gpph-sublink-promo .gpph-sublink-badge {
  margin-left: 6px;
}

.gpph-mobile-nav .gpph-submenu-title {
  margin: 0 8px 8px;
  font-size: 11px;
}

.gpph-mobile-nav .menu-item-has-children.is-open > .gpph-submenu {
  display: block;
}

.gpph-mobile-nav .menu-item-has-children.is-open > .gpph-submenu-catalog {
  display: flex;
  flex-direction: column;
}

.gpph-mobile-nav .gpph-sublink {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.gpph-mobile-nav .gpph-sublink:hover {
  border-color: var(--gpph-border);
}

body.gpph-mobile-open {
  overflow: hidden;
}

body.gpph-mobile-open .gpph-mobile-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.gpph-mobile-open .gpph-mobile-drawer {
  transform: translateX(0);
}

body.gpph-mini-cart-open {
  overflow: hidden;
}

body.gpph-mini-cart-open .gpph-mini-cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.gpph-mini-cart-open .gpph-mini-cart {
  transform: translateX(0);
}

@media (max-width: 1200px) {
  .gpph-main-row {
    display: none;
  }

  .gpph-menu-toggle {
    display: inline-flex;
  }

  .gpph-quick-contact {
    display: none;
  }
}

@media (max-width: 900px) {
  .gpph-container {
    width: min(100%, calc(100% - 28px));
  }

  .gpph-topbar {
    min-height: 72px;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .gpph-logo img {
    width: 132px;
  }

  .gpph-actions {
    gap: 7px;
  }

  .gpph-lang-list {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 74px);
    left: 8px;
    right: 8px;
    width: auto;
    max-width: none;
    margin-top: 0;
    max-height: min(66vh, 420px);
    z-index: 1205;
  }

  .gpph-lang-toggle span,
  .gpph-currency-toggle span,
  .gpph-cart-total,
  .gpph-shop-btn {
    display: none;
  }

  .gpph-lang-toggle {
    min-width: 42px;
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .gpph-lang-toggle svg {
    display: none;
  }

  .gpph-currency-toggle {
    min-width: 42px;
    width: 42px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }

  .gpph-currency-toggle::before {
    content: attr(data-currency-symbol);
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid #c9d8e5;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    color: #5a6b7e;
  }

  .gpph-currency-toggle svg {
    display: none;
  }

  .gpph-cart-btn {
    min-width: 42px;
    width: 42px;
    justify-content: center;
    padding: 0;
  }

  .gpph-cart-count {
    top: -1px;
    right: -2px;
  }

  .gpph-shop-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }

  .gpph-shop-btn::before {
    content: "Sk";
    font-size: 15px;
    line-height: 1;
  }


}

/* Prevent Elementor kit button styles from overriding the custom header controls */
[data-gpph-header] .gpph-icon-btn,
[data-gpph-header] .gpph-lang-toggle,
[data-gpph-header] .gpph-currency-toggle,
[data-gpph-header] .gpph-mobile-lang-toggle,
[data-gpph-header] .gpph-submenu-toggle {
  font-family: Sora, sans-serif;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1;
  border-radius: 12px;
}

[data-gpph-header] .gpph-icon-btn,
[data-gpph-header] .gpph-lang-toggle,
[data-gpph-header] .gpph-currency-toggle,
[data-gpph-header] .gpph-mobile-lang-toggle {
  background: var(--gpph-white);
  color: var(--gpph-text);
  border: 1px solid var(--gpph-border);
}

[data-gpph-header] .gpph-lang-toggle {
  padding: 0 12px;
}

[data-gpph-header] .gpph-currency-toggle {
  padding: 0 12px;
}

[data-gpph-header] .gpph-cart-btn {
  border-radius: 12px;
  border: 1px solid var(--gpph-border);
  background: var(--gpph-white);
  padding: 0 10px 0 12px;
}

[data-gpph-header] .gpph-shop-btn {
  border-radius: 12px;
  font-family: Sora, sans-serif;
  font-weight: 600;
  text-transform: none;
}

@media (max-width: 900px) {
  [data-gpph-header] .gpph-lang-toggle {
    min-width: 42px;
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  [data-gpph-header] .gpph-currency-toggle {
    min-width: 42px;
    width: 42px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }

  [data-gpph-header] .gpph-cart-btn {
    min-width: 42px;
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  [data-gpph-header] .gpph-shop-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }
}
/* Lock hover/focus styles in header (prevent Elementor kit hover bleed) */
[data-gpph-header] .gpph-icon-btn:hover,
[data-gpph-header] .gpph-icon-btn:focus-visible,
[data-gpph-header] .gpph-lang-toggle:hover,
[data-gpph-header] .gpph-lang-toggle:focus-visible,
[data-gpph-header] .gpph-currency-toggle:hover,
[data-gpph-header] .gpph-currency-toggle:focus-visible,
[data-gpph-header] .gpph-mobile-lang-toggle:hover,
[data-gpph-header] .gpph-mobile-lang-toggle:focus-visible,
[data-gpph-header] .gpph-submenu-toggle:hover,
[data-gpph-header] .gpph-submenu-toggle:focus-visible {
  background: #f8fbff !important;
  color: var(--gpph-text) !important;
  border-color: #c3cfdf !important;
  border-radius: 12px !important;
  text-transform: none !important;
  transform: none !important;
}

[data-gpph-header] .gpph-cart-btn:hover,
[data-gpph-header] .gpph-cart-btn:focus-visible {
  background: var(--gpph-white) !important;
  color: var(--gpph-text) !important;
  border-color: #c3cfdf !important;
  border-radius: 12px !important;
  text-transform: none !important;
}

[data-gpph-header] .gpph-shop-btn:hover,
[data-gpph-header] .gpph-shop-btn:focus-visible {
  border-radius: 12px !important;
  text-transform: none !important;
}

/* Close (X) buttons: invert colors on hover/focus for clear affordance. */
[data-gpph-header] [data-mobile-close],
[data-gpph-header] [data-mini-cart-close] {
  background: #ffffff !important;
  color: var(--gpph-text) !important;
  border-color: var(--gpph-border) !important;
}

[data-gpph-header] [data-mobile-close]:hover,
[data-gpph-header] [data-mobile-close]:focus-visible,
[data-gpph-header] [data-mini-cart-close]:hover,
[data-gpph-header] [data-mini-cart-close]:focus-visible {
  background: #0d4f71 !important;
  color: #ffffff !important;
  border-color: #0d4f71 !important;
}

[data-gpph-header] .gpph-mobile-nav .gpph-link:hover,
[data-gpph-header] .gpph-mobile-nav .gpph-link:focus-visible {
  background: #fff !important;
  color: var(--gpph-text) !important;
  border-color: var(--gpph-border) !important;
  border-radius: 14px !important;
  text-transform: none !important;
}
/* Keep white text on Shop button in every state */
[data-gpph-header] .gpph-shop-btn,
[data-gpph-header] .gpph-shop-btn:hover,
[data-gpph-header] .gpph-shop-btn:focus,
[data-gpph-header] .gpph-shop-btn:focus-visible,
[data-gpph-header] .gpph-shop-btn:active {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
/* Submenu top spacing fix */
[data-gpph-header] .gpph-submenu {
  padding-top: 14px !important;
}

[data-gpph-header] .gpph-mobile-nav .gpph-submenu {
  padding-top: 12px !important;
}
/* Force Elementor kit pseudo-states off inside custom header */
.elementor-kit-4 [data-gpph-header] a:focus,
.elementor-kit-4 [data-gpph-header] a:focus-visible,
.elementor-kit-4 [data-gpph-header] a:active,
.elementor-kit-4 [data-gpph-header] button:focus,
.elementor-kit-4 [data-gpph-header] button:focus-visible,
.elementor-kit-4 [data-gpph-header] button:active,
.elementor-kit-4 [data-gpph-header] input[type="button"]:focus,
.elementor-kit-4 [data-gpph-header] input[type="button"]:focus-visible,
.elementor-kit-4 [data-gpph-header] input[type="button"]:active,
.elementor-kit-4 [data-gpph-header] input[type="submit"]:focus,
.elementor-kit-4 [data-gpph-header] input[type="submit"]:focus-visible,
.elementor-kit-4 [data-gpph-header] input[type="submit"]:active {
  outline: none !important;
  box-shadow: none !important;
}

.elementor-kit-4 [data-gpph-header] .gpph-icon-btn:hover,
.elementor-kit-4 [data-gpph-header] .gpph-icon-btn:focus,
.elementor-kit-4 [data-gpph-header] .gpph-icon-btn:focus-visible,
.elementor-kit-4 [data-gpph-header] .gpph-icon-btn:active,
.elementor-kit-4 [data-gpph-header] .gpph-lang-toggle:hover,
.elementor-kit-4 [data-gpph-header] .gpph-lang-toggle:focus,
.elementor-kit-4 [data-gpph-header] .gpph-lang-toggle:focus-visible,
.elementor-kit-4 [data-gpph-header] .gpph-lang-toggle:active,
.elementor-kit-4 [data-gpph-header] .gpph-currency-toggle:hover,
.elementor-kit-4 [data-gpph-header] .gpph-currency-toggle:focus,
.elementor-kit-4 [data-gpph-header] .gpph-currency-toggle:focus-visible,
.elementor-kit-4 [data-gpph-header] .gpph-currency-toggle:active,
.elementor-kit-4 [data-gpph-header] .gpph-mobile-lang-toggle:hover,
.elementor-kit-4 [data-gpph-header] .gpph-mobile-lang-toggle:focus,
.elementor-kit-4 [data-gpph-header] .gpph-mobile-lang-toggle:focus-visible,
.elementor-kit-4 [data-gpph-header] .gpph-mobile-lang-toggle:active,
.elementor-kit-4 [data-gpph-header] .gpph-submenu-toggle:hover,
.elementor-kit-4 [data-gpph-header] .gpph-submenu-toggle:focus,
.elementor-kit-4 [data-gpph-header] .gpph-submenu-toggle:focus-visible,
.elementor-kit-4 [data-gpph-header] .gpph-submenu-toggle:active {
  background: #f8fbff !important;
  color: var(--gpph-text) !important;
  border-color: #c3cfdf !important;
  border-radius: 12px !important;
  text-transform: none !important;
  transform: none !important;
  -webkit-text-fill-color: var(--gpph-text) !important;
}

.elementor-kit-4 [data-gpph-header] .gpph-cart-btn:hover,
.elementor-kit-4 [data-gpph-header] .gpph-cart-btn:focus,
.elementor-kit-4 [data-gpph-header] .gpph-cart-btn:focus-visible,
.elementor-kit-4 [data-gpph-header] .gpph-cart-btn:active {
  background: var(--gpph-white) !important;
  color: var(--gpph-text) !important;
  border-color: #c3cfdf !important;
  border-radius: 12px !important;
  text-transform: none !important;
  -webkit-text-fill-color: var(--gpph-text) !important;
}

.elementor-kit-4 [data-gpph-header] .gpph-shop-btn:hover,
.elementor-kit-4 [data-gpph-header] .gpph-shop-btn:focus,
.elementor-kit-4 [data-gpph-header] .gpph-shop-btn:focus-visible,
.elementor-kit-4 [data-gpph-header] .gpph-shop-btn:active {
  background: var(--gpph-accent) !important;
  color: #fff !important;
  border-radius: 12px !important;
  text-transform: none !important;
  -webkit-text-fill-color: #fff !important;
}
/* Fix: stronger left indent in "Znajdz w sklepie" submenu */
[data-gpph-header] .gpph-submenu-catalog .gpph-submenu-group .gpph-sublink {
  padding-left: 14px !important;
}

[data-gpph-header] .gpph-submenu-catalog .gpph-submenu-group-sizes {
  padding-left: 14px !important;
}

[data-gpph-header] .gpph-submenu-catalog .gpph-submenu-group-sizes .gpph-submenu-title {
  margin-left: 6px !important;
}

[data-gpph-header] .gpph-mobile-nav .gpph-submenu-catalog .gpph-submenu-group .gpph-sublink {
  padding-left: 14px !important;
}

[data-gpph-header] .gpph-mobile-nav .gpph-submenu-catalog .gpph-submenu-group-sizes {
  padding-left: 14px !important;
}
/* Search styling: product search in custom GPPH header */
[data-gpph-header] .gpph-search {
  padding: 16px 0 !important;
  border-top: 1px solid rgba(215, 222, 234, 0.8) !important;
  border-bottom: 0 !important;
  background: transparent !important;
}

[data-gpph-header] .gpph-search-form--products {
  display: block !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-wrapp,
[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-form {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-wrapp {
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
  position: relative !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-sf-wrapp {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  position: relative !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-icon,
[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-icon-arrow {
  display: none !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-input,
[data-gpph-header] .gpph-search-form--products input[type='search'] {
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--gpph-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--gpph-text) !important;
  box-shadow: none !important;
  font: 500 14px/1.2 'Sora', 'Segoe UI', sans-serif !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-input::placeholder,
[data-gpph-header] .gpph-search-form--products input[type='search']::placeholder {
  color: #6e7d93 !important;
  font-style: normal !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-input:focus,
[data-gpph-header] .gpph-search-form--products input[type='search']:focus {
  outline: 2px solid rgba(10, 63, 89, 0.2) !important;
  border-color: var(--gpph-accent) !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-submit,
[data-gpph-header] .gpph-search-form--products button[type='submit'] {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  height: 46px !important;
  min-height: 0 !important;
  width: auto !important;
  min-width: 128px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid #0d4f71 !important;
  border-radius: 12px !important;
  background: #0d4f71 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font: 600 13px/1 'Sora', 'Segoe UI', sans-serif !important;
  text-transform: none !important;
  text-indent: 0 !important;
  letter-spacing: 0.01em !important;
  text-shadow: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-submit::before {
  content: none !important;
  border: 0 !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-submit svg {
  display: none !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-submit:hover,
[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-submit:focus,
[data-gpph-header] .gpph-search-form--products button[type='submit']:hover,
[data-gpph-header] .gpph-search-form--products button[type='submit']:focus {
  background: #0a3f59 !important;
  border-color: #0a3f59 !important;
  color: #fff !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-preloader {
  right: 145px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* FiboSearch results dropdown */
body .dgwt-wcas-suggestions-wrapp {
  border: 1px solid #d4deea !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 34px rgba(10, 30, 52, 0.16) !important;
  overflow: hidden !important;
}

body .dgwt-wcas-suggestion {
  padding: 10px 12px !important;
  border-bottom: 1px solid #edf2f8 !important;
}

body .dgwt-wcas-suggestion:last-child {
  border-bottom: 0 !important;
}

body .dgwt-wcas-suggestion-selected,
body .dgwt-wcas-suggestion:hover {
  background: #eef5ff !important;
}

body .dgwt-wcas-si img {
  border-radius: 10px !important;
}

body .dgwt-wcas-st {
  color: #0f2438 !important;
  font-weight: 600 !important;
}

body .dgwt-wcas-sp,
body .dgwt-wcas-sp .woocommerce-Price-amount {
  color: #0d4f71 !important;
  font-weight: 700 !important;
}

body .dgwt-wcas-has-headings .dgwt-wcas-suggestion-header {
  background: #f2f7fc !important;
  color: #5f738c !important;
  font-size: 11px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

@media (max-width: 767px) {
  [data-gpph-header] .gpph-search {
    padding: 12px 0 14px !important;
  }

  [data-gpph-header] .gpph-search-form--products .dgwt-wcas-sf-wrapp {
    grid-template-columns: 1fr !important;
  }

  [data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-submit,
  [data-gpph-header] .gpph-search-form--products button[type='submit'] {
    width: 100% !important;
    min-width: 0 !important;
  }

  [data-gpph-header] .gpph-search-form--products .dgwt-wcas-preloader {
    right: 16px !important;
    top: 23px !important;
    transform: none !important;
  }
}

/* Search hotfix v2: prevent two-row split */
[data-gpph-header] .gpph-search-form--products {
  width: 100% !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-wrapp,
[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-form {
  width: 100% !important;
  max-width: none !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-sf-wrapp {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

[data-gpph-header] .gpph-search-form--products .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-input,
[data-gpph-header] .gpph-search-form--products input[type='search'] {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  padding: 0 150px 0 16px !important;
  margin: 0 !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-submit,
[data-gpph-header] .gpph-search-form--products button[type='submit'] {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  bottom: auto !important;
  left: auto !important;
  height: 46px !important;
  min-height: 46px !important;
  width: auto !important;
  min-width: 128px !important;
  margin: 0 !important;
  z-index: 2 !important;
}

[data-gpph-header] .gpph-search-form--products .dgwt-wcas-preloader {
  position: absolute !important;
  right: 135px !important;
  top: 0 !important;
  width: 36px !important;
  height: 46px !important;
  transform: none !important;
}

@media (max-width: 767px) {
  [data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-input,
  [data-gpph-header] .gpph-search-form--products input[type='search'] {
    padding-right: 16px !important;
  }

  [data-gpph-header] .gpph-search-form--products .dgwt-wcas-search-submit,
  [data-gpph-header] .gpph-search-form--products button[type='submit'] {
    position: static !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  [data-gpph-header] .gpph-search-form--products .dgwt-wcas-preloader {
    right: 16px !important;
  }
}

body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:hover,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:hover,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:focus,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:focus,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:focus-visible,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:focus-visible,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:active,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:active,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:visited,
body [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:visited {
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  border: 1px solid #00547a !important;
  background: linear-gradient(135deg, #0d4f71, #06344a) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* ===== Mini Cart Unified Styling (custom + legacy markup support) ===== */
[data-gpph-header] .gpph-mini-cart .gpph-mini-cart-body {
  background: #f7f9fc;
  padding: 16px !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__products {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product {
  position: relative;
  margin: 0 0 12px !important;
  padding: 14px 38px 14px 14px !important;
  border: 1px solid #d8e2ef !important;
  border-radius: 14px !important;
  background: #ffffff !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item {
  display: grid !important;
  grid-template-columns: 88px 1fr;
  column-gap: 14px;
  row-gap: 8px;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item > a:not(.remove) {
  display: grid !important;
  grid-template-columns: 88px 1fr;
  align-items: start;
  column-gap: 14px;
  row-gap: 8px;
  grid-column: 1 / -1;
  color: #1a2433 !important;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item img,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product-image img,
[data-gpph-header] .gpph-mini-cart .product-thumbnail img {
  width: 88px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  height: 88px !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  margin: 0 !important;
  float: none !important;
  display: block !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item dl.variation,
[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item .quantity {
  grid-column: 2;
  margin: 0 !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item dl.variation,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product dl.variation {
  display: grid !important;
  grid-template-columns: max-content 1fr;
  column-gap: 10px;
  row-gap: 4px;
  font-size: 15px;
  line-height: 1.35;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item dl.variation dt,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product dl.variation dt {
  margin: 0 !important;
  font-weight: 700;
  color: #1d2c3f;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item dl.variation dd,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product dl.variation dd {
  margin: 0 !important;
  color: #374e66;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item dl.variation dd p,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product dl.variation dd p {
  margin: 0 !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item .quantity,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product-price {
  color: #1c2a3c !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item > a.remove,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product-remove .remove_from_cart_button {
  position: absolute !important;
  top: 12px;
  right: 12px;
  width: 24px !important;
  height: 24px !important;
  border: 1px solid #cedaea !important;
  border-radius: 999px !important;
  color: #5f7289 !important;
  line-height: 22px !important;
  text-align: center !important;
  background: #ffffff !important;
  text-decoration: none !important;
}

[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product-remove .elementor_remove_from_cart_button {
  display: none !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__total.total,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__subtotal {
  margin: 8px 0 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #d8e2ef !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  position: sticky !important;
  bottom: 86px;
  z-index: 2;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__total.total strong,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__subtotal strong {
  font-weight: 800;
  color: #142235;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
  margin: 0 !important;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom)) !important;
  position: sticky !important;
  bottom: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(247, 249, 252, 0) 0, #f7f9fc 26px, #f7f9fc 100%);
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons a.elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 16px !important;
  border-radius: 16px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:not(.checkout),
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons a.elementor-button--view-cart {
  background: #ffffff !important;
  border: 1px solid #bfcddd !important;
  color: #1b2a3d !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons a.elementor-button--checkout {
  background: linear-gradient(135deg, #0d4f71, #06344a) !important;
  border: 1px solid #00547a !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* ===== Mini Cart Final Sync (header-consistent, Woo + legacy Elementor markup) ===== */
[data-gpph-header] .gpph-mini-cart .gpph-mini-cart-body {
  background: #f7f9fc !important;
  padding: 12px !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__products {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product {
  position: relative !important;
  margin: 0 !important;
  padding: 10px 34px 10px 10px !important;
  border: 1px solid #d8e2ef !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  column-gap: 10px !important;
  row-gap: 6px !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item > a:not(.remove) {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  column-gap: 10px !important;
  align-items: start !important;
  color: #1a2433 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}

[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product-image {
  grid-column: 1 !important;
  grid-row: 1 / span 3 !important;
  margin: 0 !important;
}

[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product-name {
  grid-column: 2 !important;
  margin: 0 !important;
}

[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product-name > a {
  display: block !important;
  color: #1a2433 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  margin: 0 0 4px !important;
}

[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product-price {
  grid-column: 2 !important;
  margin: 0 !important;
  color: #1c2a3c !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item img,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product-image img,
[data-gpph-header] .gpph-mini-cart .product-thumbnail img {
  width: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  display: block !important;
  margin: 0 !important;
  float: none !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item dl.variation,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product dl.variation {
  grid-column: 2 !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: max-content 1fr !important;
  column-gap: 8px !important;
  row-gap: 2px !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item dl.variation dt,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product dl.variation dt {
  margin: 0 !important;
  color: #1d2c3f !important;
  font-weight: 700 !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item dl.variation dd,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product dl.variation dd,
[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item dl.variation dd p,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product dl.variation dd p {
  margin: 0 !important;
  color: #374e66 !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item .quantity {
  grid-column: 2 !important;
  margin: 0 !important;
  color: #1c2a3c !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item > a.remove,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product-remove {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
}

[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product-remove .remove_from_cart_button,
[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item > a.remove {
  width: 22px !important;
  height: 22px !important;
  border: 1px solid #cedaea !important;
  border-radius: 999px !important;
  line-height: 20px !important;
  text-align: center !important;
  color: #5f7289 !important;
  -webkit-text-fill-color: #5f7289 !important;
  background: #ffffff !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  font-size: 0 !important;
}

[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product-remove .remove_from_cart_button::before,
[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item > a.remove::before {
  content: "\00d7";
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  color: #5f7289;
  -webkit-text-fill-color: #5f7289;
}

[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product-remove .elementor_remove_from_cart_button {
  display: none !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__total.total,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__subtotal {
  margin: 8px 0 0 !important;
  padding: 12px 14px !important;
  border: 1px solid #d8e2ef !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  position: sticky !important;
  bottom: 86px !important;
  z-index: 2 !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__total.total strong,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__subtotal strong {
  color: #142235 !important;
  font-weight: 800 !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons {
  margin: 0 !important;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom)) !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  position: sticky !important;
  bottom: 0 !important;
  z-index: 3 !important;
  background: linear-gradient(180deg, rgba(247, 249, 252, 0) 0, #f7f9fc 26px, #f7f9fc 100%) !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons a.elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:not(.checkout),
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons a.elementor-button--view-cart {
  border: 1px solid #bfcddd !important;
  background: #ffffff !important;
  color: #1b2a3d !important;
  -webkit-text-fill-color: #1b2a3d !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons a.elementor-button--checkout {
  border: 1px solid #00547a !important;
  background: linear-gradient(135deg, #0d4f71, #06344a) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:not(.checkout):hover,
[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:not(.checkout):focus,
[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:not(.checkout):focus-visible,
[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:not(.checkout):active,
[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:not(.checkout):visited,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons a.elementor-button--view-cart:hover,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons a.elementor-button--view-cart:focus,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons a.elementor-button--view-cart:focus-visible,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons a.elementor-button--view-cart:active {
  border-color: #c3cfdf !important;
  background: #ffffff !important;
  color: #1b2a3d !important;
  -webkit-text-fill-color: #1b2a3d !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:hover,
[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:focus,
[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:focus-visible,
[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:active,
[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:visited,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons a.elementor-button--checkout:hover,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons a.elementor-button--checkout:focus,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons a.elementor-button--checkout:focus-visible,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons a.elementor-button--checkout:active {
  background: linear-gradient(135deg, #0d4f71, #06344a) !important;
  border-color: #00547a !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  outline: none !important;
}

/* Hard lock variation pairs in mini-cart (prevents swapped/misaligned dt/dd after fragment refresh) */
[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item dl.variation,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product dl.variation {
  display: grid !important;
  grid-template-columns: minmax(76px, max-content) minmax(0, 1fr) !important;
  column-gap: 8px !important;
  row-gap: 4px !important;
  align-items: start !important;
  margin: 2px 0 0 !important;
  direction: ltr !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item dl.variation dt,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product dl.variation dt {
  grid-column: 1 !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item dl.variation dd,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product dl.variation dd {
  grid-column: 2 !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  text-align: left !important;
  min-width: 0 !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item dl.variation dd p,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product dl.variation dd p {
  margin: 0 !important;
  display: block !important;
}

[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item dl.variation dd::before,
[data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item dl.variation dd::after,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product dl.variation dd::before,
[data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product dl.variation dd::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 767px) {
  [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item > a:not(.remove),
  [data-gpph-header] .gpph-mini-cart .elementor-menu-cart__product-name > a {
    font-size: 13px !important;
  }

  [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart__buttons.buttons,
  [data-gpph-header] .gpph-mini-cart .elementor-menu-cart__footer-buttons {
    gap: 8px !important;
  }
}

/* Disable legacy Elementor side-cart to prevent conflicts with custom mini-cart. */
body .elementor-widget-woocommerce-menu-cart,
body .elementor-menu-cart__container,
body .elementor-menu-cart__main {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 767px) {
  [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item > a:not(.remove) {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
  }

  [data-gpph-header] .gpph-mini-cart .woocommerce-mini-cart-item.mini_cart_item img {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    object-fit: contain !important;
  }
}
