/*
Theme Name: Mediterrán Kerámia Témája
Version: 1.0
Author: Meidterrán Kerámia
Description:  A Mediterrán Kerámia Kft. 12000;
*/








/* --- Alapvető beállítások --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    background-color: #f9fafb;
    /* bg-gray-50 - egy nagyon enyhe szürke */
    color: #1f2937;
    /* text-gray-800 - sötétebb, de nem koromfekete */
    line-height: 1;
}







/* ==============================
   LOGIN FORM — Pure CSS (Tailwind-like, no :root)
   ============================== */

/* 2) Container / card */
.login-card, .woocommerce-form-login {
  padding: 2rem;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 2rem;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(16,24,40,0.08);
  border: 1px solid #f1f5f9;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #334155;
  display: block;
}

/* If you wrap the form in a .login-card, size is controlled above. Otherwise .woocommerce-form-login will also constrain. */
.woocommerce-form-login {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

/* 3) Headline / hint */
.login-card .login-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: #0b1220;
}
.login-card .login-sub {
  font-size: .875rem;
  color: #94a3b8;
  margin-bottom: .75rem;
}

/* 4) Form rows and labels */
.woocommerce-form-login .form-row {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: 0;
  padding: 0;
}

/* Input base */
.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-login input[type="email"],
.woocommerce-form-login input[type="tel"],
.woocommerce-form-login input[type="number"],
.woocommerce-form-login input[type="search"],
.woocommerce-form-login textarea {
  box-sizing: border-box;
  width: 100%;
  padding: .75rem 1rem;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  transition: box-shadow 160ms cubic-bezier(.2,.9,.3,1), border-color 160ms cubic-bezier(.2,.9,.3,1);
  outline: none;
  color: #334155;
  -webkit-appearance: none;
}

/* Placeholder subtle */
.woocommerce-form-login ::placeholder {
  color: #94a3b8;
  opacity: 1;
}

/* Focus */
.woocommerce-form-login input:focus,
.woocommerce-form-login textarea:focus {
  border-color: #0b8b8a;
  box-shadow: 0 6px 18px rgba(14,165,164,0.08);
}

/* Labels */
.woocommerce-form-login label {
  font-size: .875rem;
  font-weight: 600;
  color: #334155;
}

/* Required star */
.woocommerce-form-login label .required {
  color: #dc2626;
  margin-left: .25rem;
  font-weight: 700;
  font-size: .9em;
}

/* 5) Captcha row */
.woocommerce-form-login .captcha-row {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: 0;
  padding: 0;
  margin-top: 0;
}
.woocommerce-form-login .captcha-row input[type="text"]{
  padding-left: 1rem;
}

/* 6) Submit gomb */
.woocommerce-form-login .button,
.woocommerce-form-login button[type="submit"]{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  width: 100%;
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(11,139,138,0.12);
  transition: transform 160ms cubic-bezier(.2,.9,.3,1), box-shadow 160ms cubic-bezier(.2,.9,.3,1), filter 160ms cubic-bezier(.2,.9,.3,1);
}

/* Hover / active */
.woocommerce-form-login .button:hover,
.woocommerce-form-login button[type="submit"]:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 12px 36px rgba(11,139,138,0.14);
}
.woocommerce-form-login .button:active,
.woocommerce-form-login button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(16,24,40,0.04);
}

/* 7) Secondary links (lost password) */
.woocommerce-LostPassword {
  margin-top: .5rem;
  text-align: center;
  font-size: .875rem;
}
.woocommerce-LostPassword a {
  color: #0b8b8a;
  text-decoration: none;
  font-weight: 600;
}
.woocommerce-LostPassword a:hover {
  text-decoration: underline;
  color: #076c6b;
}

/* 8) Error styles */
.woocommerce-error {
  list-style: none;
  padding: .75rem;
  margin: 0;
  border-radius: 10px;
  background: #fff1f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-weight: 600;
  font-size: .875rem;
}

.woocommerce-error li[role="captcha-error"] {
  border-left: 4px solid #dc2626;
  padding-left: .5rem;
}

/* 9) Small helper text / form footer */
.woocommerce-form-login .form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  color: #94a3b8;
}

/* 10) Accessibility */
.woocommerce-form-login :focus-visible {
  outline: 3px solid rgba(14,165,164,0.12);
  outline-offset: 2px;
}

/* 11) Responsive adjustments */
@media (max-width: 640px) {
  .login-card, .woocommerce-form-login {
    padding: 1rem;
    max-width: 100%;
    border-radius: 10px;
  }

  .woocommerce-form-login .button {
    font-size: 1rem;
    padding: .75rem 1rem;
  }

  .login-card .login-title {
    font-size: 1rem;
  }
}

/* 12) Optional order for captcha / submit */
.woocommerce-form-login .captcha-row {
  order: 2;
}
.woocommerce-form-login .form-row:not(.captcha-row) {
  order: 1;
}
.woocommerce-form-login .form-row:has(button[type="submit"]),
.woocommerce-form-login .button {
  order: 3;
}


/* carousel */



@media(max-width:486px){
  body {
    font-size: 0.9rem;
  }
}









:root {
  --bg: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-light: rgba(59, 130, 246, 0.1);
  --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --border: rgba(148, 163, 184, 0.2);
  --border-light: rgba(148, 163, 184, 0.1);
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.15);
  --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --max-width: 1400px;
  --header-height: 80px;
  --topbar-height: 44px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.ultra-modern-header {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.ultra-modern-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition);
}

.ultra-modern-header:hover::before {
  opacity: 1;
}

/* ==========================================
   ENHANCED TOP BAR
   ========================================== */
.topbar {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  height: 30px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.topbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(29, 78, 216, 0.1) 100%);
  opacity: 0;
  transition: var(--transition);
}

.topbar:hover::before {
  opacity: 1;
}

.topbar.topbar-hidden {
  height: 0;
  opacity: 0;
  transform: translateY(-100%);
}

.topbar-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.topbar-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}

.topbar-link:hover::before {
  left: 0;
}

.topbar-link:hover {
  color: white;
  transform: translateY(-1px);
}

.topbar-link svg {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

/* ==========================================
   ENHANCED MAIN HEADER
   ========================================== */
.header-main {
  height: var(--header-height);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  gap: 3rem;
  padding: 0 1.5rem;
  overflow: hidden;
}

/* ==========================================
   PREMIUM LOGO SECTION
   ========================================== */
.logo-section {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  width: 50px;
  height: 50px;
}

.logo-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: var(--transition-fast);
  z-index: -1;
}

.logo-link:hover::before {
  opacity: 1;
}

.logo-link:hover {
  transform: scale(1.02) translateY(-1px);
}

.logo-image {
  height: 56px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  transition: var(--transition-fast);
}

.logo-link:hover .logo-image {
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.2));
}

.logo-fallback {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.02em;
}


/* ==========================================
   ULTRA MODERN NAVIGATION
   ========================================== */
.nav-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--accent-gradient);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::before {
  width: 80%;
  left: 10%;
}

.nav-link:hover {
  background: var(--accent-light);
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-link.active {
  background: var(--accent-gradient);
  color: white;
  box-shadow: var(--shadow-md);
}

.dropdown-arrow {
  width: 18px;
  height: 18px;
  transition: var(--transition-fast);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Premium Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 1001;
  min-width: 700px;
  max-width: 900px;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(20px);
}

.mega-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-radius: 2px;
  rotate: 45deg;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.mega-menu-column h4 {
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--accent);
  font-size: 1.1rem;
  position: relative;
}

.mega-menu-column h4::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.mega-menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-menu-items li {
  transform: translateX(0);
  transition: var(--transition-fast);
}

.mega-menu-items li:hover {
  transform: translateX(8px);
}

.mega-menu-items a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  display: block;
  padding: 0.5rem 0;
  border-radius: var(--radius);
  position: relative;
}

.mega-menu-items a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition-fast);
}

.mega-menu-items a:hover::before {
  opacity: 1;
}

.mega-menu-items a:hover {
  color: var(--accent);
}

/* Premium Quick Actions */
.quick-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
}

.quick-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: var(--transition-fast);
  z-index: -1;
}

.quick-action:hover::before {
  opacity: 1;
}

.quick-action:hover {
  color: var(--accent);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.quick-action svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent-gradient);
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Enhanced Mobile Toggle */
.mobile-toggle {
  display: none;
  border: none;
  background: var(--bg-secondary);
  cursor: pointer;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.mobile-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-light);
  transition: var(--transition-fast);
}

.mobile-toggle:hover::before {
  left: 0;
}

.mobile-toggle:hover {
  border-color: var(--accent);
  transform: scale(1.05);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--text-primary);
  transition: var(--transition-fast);
  position: relative;
  z-index: 1;
}

.mobile-toggle:hover svg {
  color: var(--accent);
}

/* ==========================================
   PREMIUM MOBILE MENU
   ========================================== */
.mobile-menu {
  display: none;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.show {
  display: block;
  max-height: 60vh;
  overflow: scroll;
}

.mobile-menu-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.mobile-search {
  margin-bottom: 2rem;
}

.mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.mobile-nav-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  transition: var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.mobile-dropdown-arrow {
  transition: var(--transition-fast);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius);
}

.mobile-dropdown-arrow:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.mobile-submenu {
  display: none;
  padding: 1rem 1.5rem 1.5rem 2rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-secondary);
}

.mobile-submenu.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-submenu a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  border-radius: var(--radius);
  position: relative;
  padding-left: 1rem;
}

.mobile-submenu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition-fast);
}

.mobile-submenu a:hover::before {
  opacity: 1;
}

.mobile-submenu a:hover {
  color: var(--accent);
  background: var(--accent-light);
  transform: translateX(8px);
}

.mobile-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 2rem 0 0 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.mobile-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-fast);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.mobile-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-light);
  transition: var(--transition-fast);
}

.mobile-action:hover::before {
  left: 0;
}

.mobile-action:hover {
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.mobile-action svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}
.search-section {
    display: flex;
    flex-grow: 1;
    width: 100%;
  }
  .keresos {
    display: block;
    flex-grow: 1;
  }
:root{
  --bg:#ffffff; 
  --bg-glass: rgba(255,255,255,0.7);
  --accent:#3b82f6; 
  --accent-light: rgba(59,130,246,0.08);
  --border: rgba(148,163,184,0.12);
  --radius:10px; 
  --radius-lg:14px;
  --header-height:78px; 
  --topbar-height:44px;
  --transition: 300ms cubic-bezier(0.16,1,0.3,1);
}

.logo-link img{
  height:54px;
  transition:transform 180ms ease;
}

.mega-menu.show{
  opacity:1; 
  visibility:visible; 
  transform: translateY(0);
  pointer-events:auto;
}

.mega-menu-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:18px;
  max-height: 60vh; 
  overflow-y: scroll;
}

.mega-menu-column h4{
  font-size:1.02rem;
  margin-bottom:10px;
  padding-bottom:6px;
  border-bottom:2px solid var(--accent-light);
}

.quick-actions{
  display:flex;
  gap:8px;
  align-items:center;
}

.quick-action{
  width:46px;
  height:46px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--border);
  background:transparent;
  position:relative;
  transition: all 0.2s ease;
}

.quick-action:hover{
  background:var(--accent-light);
  border-color:var(--accent);
}

.quick-action .icon-wrap{
  display:inline-block;
  width:22px;
  height:22px;
  line-height:0;
}

.quick-action svg{
  width:100%;
  height:100%;
  display:block;
  max-width:22px;
  max-height:22px;
}

.cart-count{
  top:-6px;
  right:-6px;
  width:20px;
  height:20px;
  font-size:0.72rem;
  position:absolute;
  background:var(--accent);
  color:white;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
}

.mobile-toggle{
  display:none;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--border);
  background:transparent;
  cursor:pointer;
  transition: all 0.2s ease;
}

.mobile-toggle:hover{
  background:var(--accent-light);
}

.mobile-toggle svg{
  width:20px;
  height:20px;
}

.mobile-toggle-label{
  font-weight:700;
  font-size:0.95rem;
  display:inline-block;
}

.mobile-nav-item{
  border-radius:12px;
  overflow:hidden;
  margin-bottom:8px;
}

.mobile-nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
}

.mobile-nav-link{
  font-weight:700;
  color:inherit;
  text-decoration:none;
}

.mobile-submenu-toggle{
  background:transparent;
  border:none;
  padding:8px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform 0.2s ease;
}

.mobile-submenu-toggle svg{
  width:18px;
  height:18px;
  transition: transform 0.2s ease;
}

.mobile-submenu{
  display:none;
  padding:12px 16px;
  border-top:1px solid var(--border);
  background:var(--bg-glass);
}

.mobile-submenu.show{
  display:block; 
  overflow:auto;
  max-height:400px;
}

.mobile-submenu-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0.5rem 0;
  border-bottom: 1px dashed #E8E8E8;
}

.mobile-submenu-simple {
  border-bottom: 1px dashed #E8E8E8;
}

.mobile-submenu-link, .mobile-submenu-simple{
  color: var(--text-primary);
  text-decoration: none;
  font-weight:600;
  padding:0.5rem 0;
  display:block;
  flex:1;
}

.mobile-subsubmenu-toggle{
  background:transparent;
  border:none;
  padding:6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transform-origin:center;
  transition: transform 220ms ease;
}

.mobile-subsubmenu{ 
  display:none;
  padding-left:1rem;
  margin-bottom:0.5rem;
  border-left:2px solid rgba(0,0,0,0.03);
}

.mobile-subsubmenu.show{
  display:block;
}

.mobile-subsubmenu-link{
  display:block;
  padding:0.5rem 0;
  color:var(--text-secondary);
  text-decoration:none;
  font-weight:500;
  padding-left:0.5rem;
}

.mobile-submenu-toggle[aria-expanded="true"] svg,
.mobile-subsubmenu-toggle[aria-expanded="true"] svg{
  transform: rotate(180deg);
}

.mobile-submenu-toggle, .mobile-subsubmenu-toggle{
  min-width:36px;
  min-height:36px;
  border-radius:8px;
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

  .fooldallink {
      padding:20px !important;
      margin:auto !important;
      display:flex;
      justify-content:center;
      background:#3b82f6;
      width:80%;
      border-radius:20px;
      
}
.fooldallink span{
      text-decoration:none !important;
      font-size:15px;
      font-weight:800;
      color:white;
      
}
.mobile-fooldal-link {
    text-decoration:none;
}

@media (max-width:1024px){
  .main-nav{display:none;}
  .mobile-toggle{display:flex;}
}

@media (max-width:768px){
  .logo-image{height:46px;}
  .mega-menu{min-width:86vw;left:50%;transform:translateX(-50%) translateY(-6px);}
}

.nav-link:focus, 
.mobile-submenu-toggle:focus, 
.mobile-toggle:focus,
.quick-action:focus{
  outline:3px solid rgba(59,130,246,0.18);
  outline-offset:2px;
  border-radius:10px;
}

a:focus {
  outline:2px solid var(--accent);
  outline-offset:2px;
}
/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
  .header-container {
      display: flex;
    gap: 0.5rem;
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .search-section {
  }

  .mega-menu {
    min-width: 500px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 45px;
    --topbar-height: 37px;
  }

  .topbar-container {
    padding: 0 0.4rem;
  }
  
  .topbar-left,
  .topbar-right {
    gap: 0.75rem;
  }
  
  .topbar-link span {
    display: none;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-content: stretch;
    padding: 5px;
  }
  .keresos {
    display: none;
    flex-grow: 1;
  }
 .search-section {
    width: 95%;

}
  
  .logo-image {
    display: block;
    width: 40px !important;
    height: 40px !important;
  }
    .logo-section {
    display: block;
  }
  
  .quick-actions {
    display: none;
  }

  .quick-action {
    display: none;
  }

  .mega-menu {
    min-width: 90vw;
    left: 5vw;
    transform: none;
  }

  .mobile-actions {
    grid-template-columns: repeat(4, 1fr);
  }
  .logo-link img {
    width: 40px !important;
    height: 40px !important;
  }
  .product-grid {
    
   margin-bottom: 30px;
}

}

@media (max-width: 1024px) { 
 .product-grid {
    
   grid-row-gap: 40px !important;
}


}

@media (max-width: 480px) {
  .topbar-container {
    padding: 0 0.75rem;
  }
  .mobile-keresos {
    width: 50%;
  }
  .header-main {
     height: auto;
     padding-bottom: 15px;
     padding-top: 15px;
     display: flex;
    align-items: center; /* Ez a kulcs a függőleges központosításhoz */
}
  
  .header-container {
    display: flex;
    justify-content: space-between;
    padding: 0 0.75rem;
  }
  
  .user-info span {
  }

  .logo-link {
    display: none;

  }

  .search-input-wrapper button {
    padding: 2px;
  }
.search-input-wrapper {
    padding: 2px;
}
  .logo-link img{
    width: 20px;
    height: 20px;
    
  }

  .search-section {
    width: 80%;
  }
  .quick-action {
    width: 40px;
    height: 40px;
  }

  .quick-action svg {
    width: 20px;
    height: 20px;
  }

  .mobile-menu-content {
    padding: 1rem 0.5rem;
  }

  .mobile-actions {
    grid-template-columns: repeat(2, 1fr);
  }
  .mobile-toggle-label {
    font-size: 0.8rem !important;
  }
  .mobile-nav-link {
    font-size: 0.9rem;
  }
  .mobile-action {
    font-size: 0.9rem;
  }
  .fooldallink {
      padding:20px !important;
      margin:auto !important;
      display:flex;
      justify-content:center;
      
}
.fooldallink span{
      text-decoration:none !important;
      font-size:15px;
      font-weight:800;
      color:white;
      
}
.mobile-fooldal-link {
    text-decoration:none;
}
    
}



/* ==========================================
   ACCESSIBILITY & UTILITIES
   ========================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Enhanced Focus styles */
.nav-link:focus,
.topbar-link:focus,
.quick-action:focus,
.search-button:focus,
.mobile-toggle:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* Loading spinner */
.loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --bg-glass: rgba(15, 23, 42, 0.95);
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border: rgba(203, 213, 225, 0.2);
    --border-light: rgba(203, 213, 225, 0.1);
  }
}



























.hero-container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #111827;
  margin: 24px !important;
  /*padding: clamp(20px, 4vw, 80px); */
  padding: 28px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  max-width: 1400px;
  margin: 20px auto;
  flex-wrap: wrap; /* fontos: responsív torlódás esetén sorba rendez */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
                0 10px 10px -5px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* bal szöveg */
.hero-content{
  z-index: 10;
  flex: 1 1 360px; /* nőni és zsugorodni tud, minimum 360px */
  min-width: 240px;
  color: #D1D5DB;
  order: 1; /* mobilon előbb jönjenek a szövegek */
  text-align: left;
  padding: 28px;
}

    .hero-badge h1 {
        background-color: rgba(59, 130, 246, 0.1); /* Áttetsző kék */
        color: #60A5FA; /* Világoskék */
        padding: 6px 14px;
        border-radius: 9999px; /* Teljesen lekerekített */
        font-size: 14px !important;
        font-weight: 600;
        display: inline-block; /* Hogy csak a tartalom szélességét vegye fel */
        margin-bottom: 24px;
    }


.hero-headline h1 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 16px;
}

.hero-subtext{
  font-size: clamp(15px, 2.2vw, 16px);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 32px;
}
    .hero-cta {
        background-color: #3B82F6; /* Élénk kék gomb */
        color: #FFFFFF;
        font-size: 16px;
        font-weight: 600;
        padding: 14px 28px;
        border-radius: 12px;
        cursor: pointer;
        display: inline-block;
        transition: background-color 0.3s ease, transform 0.3s ease; /* Finom animáció */
        text-decoration: none; /* Linkek aláhúzásának eltávolítása */
    }

    .hero-cta:hover {
        background-color: #2563EB; /* Sötétebb kék hover esetén */
        transform: translateY(-2px); /* Enyhe megemelkedés */
    }

    /* A jobb oldali vizuális elem */
.hero-visual{
  z-index: 10;
  position: relative;
  max-height: 100%;
  width:100%;
  margin: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 2; /* mobilon a kártya legyen után a szövegnek */
}

/* maga a kártya */
.visual-card{
  width:100%;
  height:100%;
  background-color: rgba(255,255,255,0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* kritikus: ezzel marad bent az img */
}

/* kép: mindig a card belsejében marad, kitölti és vág */
.visual-card .herokep{
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;   /* kitölti, megtartja arányt, nem lóg ki */
  display: block;
  border-radius: inherit;
}

/* interactive blob: dinamikus méret, ne legyen túl nagy mobilon */
.interactive-blob{
  position: absolute;
  display: flex;
  justify-content: center;
  width: clamp(220px, 40vw, 600px);
  height: clamp(220px, 40vw, 600px);
  background: radial-gradient(circle, rgba(59,130,246,0.38) 0%, rgba(59,130,246,0) 60%);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  transform: translate(-50%, -50%); /* JS ad hozzá pozíciót a középre igazításhoz */
  transition: transform 0.18s ease-out;
}

    /* SVG ikon a kártyában (csak egy példa) */
    .visual-card-icon {
        width: 80px;
        height: 80px;
        color: #3B82F6; /* Az ikon színe a gomb színével egyezik */
    }



div.kartyakfolott{
  background:#fff;
}

div.kartakfolott{
  transform:translateY(-20px);
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:24px;
  padding:28px;
  height:auto;
}

/* Kártya alap */
div.kartyak{
  position:relative;
  height:320px;
  width:100%;
  border-radius:20px;
  overflow:hidden;
  background-color:#fff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
                0 10px 10px -5px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s cubic-bezier(.2,.8,.2,1), filter .35s;
  will-change:transform, box-shadow, filter;
}

/* Fókusz/hover vizuál */


/* Felső “sheen” effekt (brutálisan modern) */


/* Háttérkép réteg (csak div!) */
div.kartyak__bg{
  position:absolute;
  inset:0;
  background-position:center;
  background-size:cover;
  transform:scale(1.02);
  transition:transform .5s ease;
  filter:contrast(1.05) saturate(1.05);
}



/* Sötétítés+gradiens az olvasható feliratért */
div.kartyak__scrim{
  position:absolute;
  inset:0;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.18) 60%, rgba(0,0,0,0.28) 100%),
    linear-gradient(to top, rgba(2,6,23,0.55), rgba(2,6,23,0.00) 55%);
}

/* Tartalom */
div.kartyak__content{
  position:absolute;
  inset:auto 16px 16px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}


  div.kartyak:hover div.kartyak__content{
    transform:scale(1.02);
  transition:transform .5s ease;
  position:absolute;
  inset:auto 16px 16px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* Cím (div!) */
div.kartyak__title{
  font-size:20px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:.2px;
  color:#fff;
  text-shadow:0 2px 12px rgba(0,0,0,.35);
  padding:10px 12px;
  border-radius:14px;
  background:rgba(15,23,42,0.35);
  backdrop-filter:blur(4px);
  width:max-content;
  max-width:100%;
}

/* Szalag/label (div!) */
div.kartyak__chip{
  font-size:12px;
  font-weight:600;
  color:#0f172a;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  box-shadow:0 4px 16px rgba(15,23,42,.12);
  width:max-content;
}

/* Finom lebegő “lebegtetés” mobilon is sima */
@media (hover:none){

}

/* Layout finomhangolás nagy kijelzőn */
@media (min-width:1024px){
  div.kartyak{ height:360px; border-radius:22px; }
  div.kartyak::before{ border-radius:22px; }
  div.kartyak__title{ font-size:22px; }
}








/* ===== Responsive hero adjustments ===== */


/* mobil-specifikus */
@media (max-width: 720px){
  .hero-container{
    display: flex;
    padding: 20px;
    gap: 16px;
  }
  .hero-content{
    order: 1;
    text-align: center;
    padding-inline: 8px;
  }
  .hero-visual{
    order: 2;
    margin-top: 6px;
    align-self: center;
  }
  .hero-badge{ margin-left: auto; margin-right: auto; }
  .hero-cta{ display: inline-block; }
}





































/* === HEADER & MEGAMENU === */


.hdr-icon {
  width: 20px;
  height: 20px;
}

/* === MODERN 3-SZINTES MEGAMENÜ STÍLUS === */
/* --- Megamenu: modern, letisztult (pure CSS, no Tailwind) --- */
/* Betűk */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg: #ffffff;
  --muted: #6b7280;
  --accent: #0ea5a4;
  --accent-600: #0b9b98;
  --ring: rgba(14,165,164,0.12);
  --shadow: 0 6px 30px rgba(2,6,23,0.06);
  --radius: 14px;
  --panel-max-width: 1200px;
}

/* body alapok (nem ír felülén a site stílusát, csak viszonyítás) */
body { font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; color:#111827; background:#f9fafb; }

/* WRAP */
.mk-mega-wrap { position: relative; display: inline-block; }


/* Trigger gomb - elegánsabb, modernebb */
.mk-mega-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    border-radius:14px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #1f2937;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    text-transform: uppercase;
    user-select: none;
}

.mk-mega-trigger:hover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.mk-mega-trigger svg {
    transition: transform 0.3s ease;
}

.mk-mega-trigger .mk-icon {
    width: 20px;
    height: 20px;
}

.mk-mega-trigger .mk-chevron {
    width: 16px;
    height: 16px;
    transform: rotate(0deg);
}

.mk-mega-trigger[aria-expanded="true"] .mk-chevron {
    transform: rotate(180deg);
}
/* PANEL */
.mk-mega-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: min(100vw - 32px, var(--panel-max-width));
  background: var(--bg);
  border-radius: calc(var(--radius) + 10px);
  border:1px solid rgba(2,6,23,0.04);
  box-shadow: var(--shadow);
  transform: translateY(8px) scale(.98);
  opacity:0;
  display:none;
  z-index: 999;
  transition: opacity .28s ease, transform .28s cubic-bezier(.2,.9,.2,1);
  overflow:hidden;
}

/* Nyitott állapot */
.mk-mega-panel.is-open { opacity:1; display:block; transform: translateY(0) scale(1); }

/* belső grid */
.mk-mega-columns {
  display:grid;
  grid-template-columns: 320px 1fr;
  gap:0;
  min-height:420px;
  max-height: 70vh;
}

/* bal - főkategóriák */
.mk-mega-col-1 {
  background: linear-gradient(180deg,#f8fafc,#f1f5f9);
  padding:20px;
  border-right:1px solid rgba(2,6,23,0.03);
  border-radius: calc(var(--radius) + 8px) 0 0 calc(var(--radius) + 8px);
  overflow:auto;
}

/* 1. szint lista */
.mk-level-1 { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.mk-level-1-item { display:flex; align-items:center; justify-content:space-between; gap:8px; padding-right:6px; }

/* főkategória link (nem nyit panelt hover-re!) */
.mk-level-1-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 14px;
  border-radius:12px;
  text-decoration:none;
  color:#0f172a;
  font-weight:600;
  width:100%;
  transition: background .12s ease, transform .12s ease;
}
.mk-level-1-link:hover { background: rgba(2,6,23,0.03); transform: translateX(4px); color:#0b5bdc; }

/* open/pin gomb (alkategóriák megtekintése) */
.mk-level-1-open-btn {
  margin-left:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(2,6,23,0.04);
  background:#fff;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  transition: background .12s ease, transform .12s ease, border-color .12s ease;
}
.mk-level-1-open-btn[aria-expanded="true"] {
  background: linear-gradient(135deg,#eff6ff,#dbeafe);
  border-color:#bfdbfe;
  transform:translateY(-2px);
}

/* jobb oldal - dinamkus tartalom (level2) */
.mk-mega-col-2 { position:relative; padding:18px 20px; overflow:auto; display:flex; align-items:flex-start; }

/* level-2 panelek - csak akkor látszanak ha is-active */
.mk-level-2-panel {
  position:absolute;
  inset:18px 20px 18px 20px;
  background:transparent;
  padding:0;
  opacity:0;
  visibility:hidden;
  transform: translateX(12px);
  transition: all .24s cubic-bezier(.2,.9,.2,1);
  display:block;
  overflow:auto;
}
.mk-level-2-panel.is-active { opacity:1; visibility:visible; transform: translateX(0); }

/* level2 grid (alkategóriák blokkja) */
.mega-level-2-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
}

/* level2 item */
.mega-level-2-item {
  background: linear-gradient(180deg,#fff,#fbfdff);
  border-radius:12px;
  padding:16px;
  border:1px solid rgba(2,6,23,0.04);
  transition: transform .14s ease, box-shadow .14s ease;
}
.mega-level-2-item:hover { transform:translateY(-4px); box-shadow:0 18px 40px rgba(2,6,23,0.06); }

/* level2 link (cím) */
.mega-level-2-link { display:inline-block; text-decoration:none; font-weight:700; color:#0f172a; margin-bottom:6px; }
.mega-level-2-link:focus-visible { outline:2px solid rgba(59,130,246,0.2); outline-offset:3px; }

/* level2 actions */
.mega-level-2-actions { display:flex; gap:8px; align-items:center; justify-content:flex-end; margin-top:6px; }
.mega-level-2-visit { text-decoration:none; padding:8px 10px; border-radius:10px; font-weight:600; background:transparent; border:1px solid transparent; color:#0f172a; }
.mega-level-2-toggle { padding:8px 10px; border-radius:10px; border:1px solid rgba(2,6,23,0.06); background:#fff; cursor:pointer; font-weight:600; }

/* 3. szint (alkategória lista, összehúzható) */
.mega-level-3-panel { margin-top:12px; padding-top:12px; border-top:1px solid rgba(2,6,23,0.03); }
.mega-level-3-link {
  display:block; padding:10px 12px; border-radius:10px; text-decoration:none; color:var(--muted); font-weight:500;
}
.mega-level-3-link:hover { background: rgba(59,130,246,0.06); color:#1e40af; transform:translateX(6px); }

/* collapse animáció (JS vezérli aria/hidden) */
.mega-level-3-collapse { transition:max-height .28s ease, opacity .18s ease; overflow:hidden; }
.mega-level-3-collapse[hidden] { max-height:0; opacity:0; padding:0; margin:0; }
.mega-level-3-collapse:not([hidden]) { max-height:800px; opacity:1; }

/* mobil responsíve */
@media (max-width: 768px) {
  .mk-mega-panel { width: calc(100vw - 16px); left: 50%; transform: translateX(-50%); top: calc(100% + 10px); }
  .mk-mega-columns { grid-template-columns: 1fr; min-height:auto; }
  .mk-mega-col-1 { border-right:none; border-bottom:1px solid rgba(2,6,23,0.04); border-radius:14px 14px 0 0; max-height:36vh; overflow:auto; }
  .mk-mega-col-2 { position:relative; padding:12px; }
  .mk-level-1-link { padding:12px; }
}

/* kis finomítások a fókuszhoz */
.mk-level-1-link:focus-visible, .mk-level-1-open-btn:focus-visible, .mk-level-2-toggle:focus-visible {
  outline:3px solid rgba(59,130,246,0.14);
  outline-offset:2px;
}

/* csökkentett hover-reakció: ne nyissa, csak vizuális visszajelzés */
.mk-level-1-link::before { content:''; position:absolute; left:0; top:0; right:0; bottom:0; border-radius:12px; pointer-events:none; opacity:0; transition:opacity .12s; }
.mk-level-1-link:hover::before { opacity:0.02; }

/* print */
@media print { .mk-mega-wrap, .mk-mega-panel { display:none !important; } }



/* egyedi gyártás főoldal */


.litha-section {
            background: #F2F2F2;
            padding: 20px 0;
            position: relative;
            overflow: hidden;
            min-height: 100vh;
        }



        .litha-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 24px;
            position: relative;
            z-index: 2;
        }

        .litha-header {
            text-align: center;
            margin-bottom:10px;
        }

        .litha-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #2563eb;
            color: #fff;
            padding: 14px 28px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 1px;
            margin-bottom: 32px;
            border: 1px solid rgba(59, 130, 246, 0.3);
            backdrop-filter: blur(20px);
            transition: all 0.4s ease;
            text-transform: uppercase;
        }


        .litha-title {
            font-size: 50px;
            font-weight: 900;
            color: #000;
            margin: 0 0 32px;
            line-height: 1.1;
            background-clip: text;
            text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
        }

        .litha-subtitle {
            font-size: 18px;
            color: #000;
            line-height: 1.7;
            max-width: 800px;
            margin: 0 auto;
            font-weight: 400;
            opacity: 0.9;
        }

        .litha-main-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 60px;
            margin-top: 10px;
        }

     /* Teljes szélességű galéria container - fix arányú képekkel */
.litha-gallery {
    display: grid;
    gap: 24px;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Mobil nézet - 1 oszlop */
@media (max-width: 767px) {
    .litha-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 500px;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
        height: auto;
    }
}

/* Tablet nézet - 2 oszlop, egyenlő méretű képek */
@media (min-width: 768px) and (max-width: 1199px) {
    .litha-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 900px;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
        height: auto;
    }
}

/* Desktop nézet - 2 fölül, 3 alul (szimmetrikus) */
@media (min-width: 1200px) {
    .litha-gallery {
        grid-template-columns: repeat(6, 1fr);
        gap: 24px;
        max-width: 1400px;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
        height: auto;
    }
    
    /* Első 2 kép: nagyobb (3-3 oszlop = fél-fél szélesség) */
    .gallery-item:nth-child(1) {
        grid-column: span 3;
    }
    
    .gallery-item:nth-child(2) {
        grid-column: span 3;
    }
    
    /* Utolsó 3 kép: egyenlő méretű (2-2-2 oszlop) */
    .gallery-item:nth-child(3) {
        grid-column: span 2;
    }
    
    .gallery-item:nth-child(4) {
        grid-column: span 2;
    }
    
    .gallery-item:nth-child(5) {
        grid-column: span 2;
    }
}

/* Ha 2 oszlopos elrendezést szeretnél desktop-on is, használd ezt: */
@media (min-width: 1200px) {
    .litha-gallery.two-column {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        max-width: 1200px;
    }
    
    .litha-gallery.two-column .gallery-item {
        aspect-ratio: 16/10;
    }
}

/* Gallery item alapstílus - FONTOS: aspect-ratio tartja a méretet */
.gallery-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 100%;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(59, 130, 246, 0.5);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 0.1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    color: white;
    padding: 28px 20px 20px;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.overlay-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}

.overlay-description {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}

/* Ha a galéria egy szűkebb containerben van */
.litha-main-grid {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 1200px) {
    .litha-main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: start;
    }
}

/* Feature card stílusok */
.litha-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    background: #111827;
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(59, 130, 246, 0.1), transparent, rgba(147, 51, 234, 0.1), transparent);
    animation: rotate 20s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-content {
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
    position: relative;
}

.feature-title {
    font-size: 25px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.2;
}

.feature-description {
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0 0 24px;
    font-size: 16px;
}

.feature-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.stat-number {
    font-size: 24px;
    font-weight: 900;
    color: #60a5fa;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.litha-cta-section {
    text-align: center;
    margin-top: 100px;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    position: relative;
    overflow: hidden;
}



        .cta-content {
            display: grid;
            align-items: center;
            grid-template-columns: 1fr;
            position: relative;
            z-index: 1;
        }

        .cta-title {
            font-size: 42px;
            font-weight: 900;
            color: #ffffff;
            margin: 0 0 16px;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .cta-subtitle {
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            font-size: 25px;
            color: #000;
            margin: 0 0 40px;
            opacity: 0.9;
            margin-top: 30px;
            font-weight: 800;
        }
        .litha-badge-lent a {
            text-decoration: none;
            color: white;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #2563eb;
            color: #fff;
            padding: 16px 32px;
            border-radius: 12px;
            font-size: 18px;
            font-weight: 500;
            letter-spacing: 1px;
            margin-bottom: 32px;
            border: 1px solid rgba(59, 130, 246, 0.3);
            backdrop-filter: blur(20px);
            transition: all 0.4s ease;
            text-transform: uppercase;
        }
                .litha-badge-lent:hover a {
            text-decoration: none;
            color: white;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #1d4ed8;
            color: #fff;
            padding: 16px 32px;
            border-radius: 12px;
            font-size: 18px;
            font-weight: 500;
            letter-spacing: 1px;
            margin-bottom: 32px;
            border: 1px solid rgba(59, 130, 246, 0.3);
            backdrop-filter: blur(20px);
            transition: all 0.4s ease;
            text-transform: uppercase;
            transform: translateY(-0.3rem);
        }


        .lithactalink {
            display: flex;
            justify-content: center;
        }






        @media (max-width: 768px) {
            .litha-section {
                padding: 80px 0;
            }

            .litha-title {
                font-size: 48px;
            }

            .litha-subtitle {
                font-size: 18px;
            }

            .litha-main-grid {
                gap: 60px;
                margin-top: 10px;
            }

            .litha-gallery {
                grid-template-rows: 250px 150px;
            }

            .feature-card {
                padding: 32px;
            }

            .feature-title {
                font-size: 24px;
            }

            .feature-stats {
                gap: 24px;
            }

            .cta-title {
                font-size: 32px;
            }

            .floating-shape {
                display: none;
            }
        }


/* Caroussel */




/* fc-carousel.css - csak erre a carouselre vonatkozó osztályok (fc- prefix) */

/* Wrapper és layout */
.featured-showcase {
    padding: 60px 20px;
    background: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px inset;
}


.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.showcase-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* Bal oldali fő termék */
.showcase-main {
    display: flex;
    align-items: center;
}

.main-product-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
                0 10px 10px -5px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}


.main-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.15), 
                0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.main-product-image {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.main-product-image img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.main-product-card:hover .main-product-image img {
    transform: scale(1.05);
}

.main-product-info {
    text-align: center;
}

.main-product-brand {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.main-product-price {
    font-size: 2rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.main-product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.main-product-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}



.main-product-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* Jobb oldali carousel */
.showcase-carousel {
    display: flex;
    flex-direction: column;
}

.carousel-header {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 20px;
}

.carousel-nav {
    width: 44px;
    height: 44px;
    border: none;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: #64748b;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.carousel-nav:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -8px rgba(59, 130, 246, 0.5);
}

.carousel-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.carousel-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-item.hidden {
    opacity: 0;
    pointer-events: none;
}

.carousel-product-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    margin: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.06);
}


.carousel-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, #ffffff, #fefefe);
}

.carousel-product-card.active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2),
                0 8px 25px -8px rgba(59, 130, 246, 0.3);
}

.carousel-product-card.active::before {
    transform: scaleX(1);
}

.carousel-product-image {
    text-align: center;
    margin-bottom: 12px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-product-image img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.carousel-product-card:hover .carousel-product-image img {
    transform: scale(1.1);
}

.carousel-product-info {
    text-align: center;
}

.carousel-product-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.carousel-product-price {
    font-size: 1rem;
    font-weight: 700;
    color: #3b82f6;
}

/* Mobil reszponzivitás */
@media (max-width: 768px) {
    .featured-showcase {
        padding: 40px 15px;
    }
    
    .showcase-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-product-card {
        padding: 25px;
    }
    
    .main-product-title {
        font-size: 1.25rem;
    }
    
    .main-product-price {
        font-size: 1.5rem;
    }
    
    .carousel-track {
        height: auto;
        min-height: 350px;
    }
    
    .carousel-product-image img {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .carousel-track {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        height: auto;
        min-height: 400px;
    }
    
    .carousel-product-card {
        min-height: 120px;
    }
}





/* főoldal szöveg */


.mk_medker_20250826_a9f3b1_card {
  background: #ffffff;
  color: #111111;
  padding: 28px;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(17,17,17,0.06);
  line-height: 1.58;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  transition: transform .18s ease;
}

.mk_medker_20250826_a9f3b1_card:hover {
  transform: translateY(-3px);
}

.mk_medker_20250826_a9f3b1_title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
  color: #0b2f34;
}

.mk_medker_20250826_a9f3b1_lead {
  margin-bottom: 14px;
  font-size: 1rem;
  color: #222222;
}

.mk_medker_20250826_a9f3b1_subtitle {
  font-size: 1.06rem;
  margin-top: 14px;
  margin-bottom: 8px;
  color: #0d3b45;
}

.mk_medker_20250826_a9f3b1_par {
  margin: 8px 0 12px 0;
  color: #222222;
  font-size: 0.99rem;
}

.mk_medker_20250826_a9f3b1_dimensions {
  margin: 8px 0 12px 18px;
  padding-left: 0;
  list-style: none;
}

.mk_medker_20250826_a9f3b1_dimitem {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.97rem;
  color: #2a2a2a;
}

.mk_medker_20250826_a9f3b1_dimitem::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  color: #0b5460;
}

.mk_medker_20250826_a9f3b1_brand {
  font-weight: 700;
  color: #0b2f34;
}

/* Variáns: about-kártya kicsit szűkebb belső tér */
.mk_medker_20250826_a9f3b1_card--about {
  padding-top: 18px;
  padding-bottom: 18px;
}

/* Mobil optimalizáció */
@media (max-width: 640px) {
  .mk_medker_20250826_a9f3b1_card {
    padding: 16px;
    margin: 12px;
  }
  .mk_medker_20250826_a9f3b1_title { font-size: 1.18rem; }
  .mk_medker_20250826_a9f3b1_lead,
  .mk_medker_20250826_a9f3b1_par { font-size: 0.98rem; }
}




/* ==================================== */
/* === ELEGÁNS KERESŐ FRISSÍTÉS === */
/* ==================================== */

:root {
    --search-color-primary: #2563eb;
    --search-text-dark: #1f2937;
    --search-text-medium: #4b5563;
    --search-text-light: #6b7280;
    --search-bg-light: #f9fafb;
    --search-bg-white: #ffffff;
    --search-border-color: #d1d5db;
    --search-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --search-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --search-radius-md: 0.5rem;
    --search-radius-lg: 0.75rem;
    --search-radius-full: 9999px;
}

/* --- Kereső fő konténere --- */

/* center: kereső - karcsúbb */
.header-center { display:block; width:100%; }
.search-overlay-container{ width:100%; }
.search-input-wrapper{
  display:flex;
  align-items:center;
  background:#fbfcfd;
  padding:4px 6px;
  border-radius:10px;
  border:1px solid rgba(2,6,23,0.03);
  box-shadow: 0 1px 4px rgba(2,6,23,0.03) inset;
  width:100%;

  max-width:100vh;
  transition: box-shadow .18s ease, transform .18s ease;
}
.search-input-wrapper:focus-within{
  box-shadow: 0 8px 24px var(--ring);
}
.search-input-wrapper input{
  flex:1;
  border:0;
  outline:0;
  background:transparent;
  font-size:14px;
  padding:6px 8px;
  min-width: 0;
}
.search-input-wrapper button{
  border:0;
  background:transparent;
  padding:6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  border-radius:8px;
}
.search-icon{ width:18px; height:18px; opacity:.9; }

/* right: kategóriák + special links */
.header-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}
.categories-container{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:flex-end;
}
.category-pill{
  padding:6px 10px;
  border-radius:10px;
  border:1px solid rgba(2,6,23,0.04);
  background:#fff;
  text-decoration:none;
  color:var(--muted);
  font-weight:500;
  font-size:15px;
  transition:transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 1px 0 rgba(2,6,23,0.02);
}
.category-pill:hover{
  transform:translateY(-1px);
  box-shadow: 0 6px 18px rgba(2,6,23,0.05);
  color:#2563eb;
  border-color:#2563eb;
}

/* --- Keresőmező és gomb burkolója --- */
.search-input-wrapper {
    display: flex;
}
.search-input-wrapper:hover,
.search-input-wrapper:focus-within {
    border-color: var(--search-color-primary);
    box-shadow: var(--search-shadow-lg);
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(0.98) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1) translateY(0);
    }
}

/* --- Eredmény konténer (egyoszlopos elrendezés, kategóriák nélkül) --- */
.search-results-container {
    padding: 15px;
    position: relative;
}

.results-column h3 {
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--search-text-light);
}

/* --- Termékek oszlop és rács --- */
.products-column {
    min-width: 0;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.product-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background-color: var(--search-bg-white);
    border-radius: var(--search-radius-lg);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    overflow: hidden;
}
.product-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--search-shadow);
    border-color: #e5e7eb;
}

.product-image-wrapper {
    background-color: var(--search-bg-light);
    padding: 1rem;
}
.product-item img.product-image {
    width: 100%;
    height: 160px;
    object-fit: contain;
    border-radius: var(--search-radius-md);
    margin: 0;
    border: none;
}
.product-details {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-title {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--search-text-dark);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}
.price-details {
    text-align: left;
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.price, .sale-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--search-color-primary);
}
.old-price {
    text-decoration: line-through;
    color: var(--search-text-light);
    font-size: 0.9rem;
}
.sale-price {
    color: #d9534f;
}

/* --- Sticky üzenet a kereső kontérner alján --- */
.search-sticky-message {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #242F5C 0%, #0A0F1A 100%);
    padding: 1rem;
    margin: 1.5rem -15px -15px -15px; /* kompenzálja a parent padding-et */
    border-radius: 0 0 var(--search-radius-lg) var(--search-radius-lg);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.sticky-message-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    margin-left:20px;
    margin-right:20px;
}

.browse-button {
    background: #3b82f6;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: var(--search-radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.browse-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- Nincs találat --- */
.no-results {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--search-text-medium);
    font-size: 1rem;
}
.mobile-keresos {
    display: none;
}

/* --- RESZPONZÍV DESIGN --- */
@media (max-width: 900px) {
    .quick-actions {
        display: none !important;
    }
    .quick-action {
        display: none;
    }
}

@media (max-width: 768px) {
    .quick-actions {
        display: none !important;
    }
    .quick-action {
        display: none;
    }
    .search-overlay-container {
        margin: 0px auto;
    }

    .product-item img.product-image {
        height: 120px;
    }
    .mobile-keresos {
        display: block;
        flex-grow: 1;
    }
    .search-input-wrapper input{
        border:0;
        outline:0;
        background:transparent;
        font-size:13px;
        min-width: 0;
    }

    .search-input-wrapper button{
        border:0;
        background:transparent;
        display:inline-flex;
        align-items:center;
        justify-content:center;
        cursor:pointer;
        border-radius:8px;
    }
    
    /* Mobile sticky üzenet */
    .sticky-message-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .browse-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* --- Keresőmező --- */
.live-search {
    flex-grow: 1;
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    color: var(--search-text-dark);
}

.live-search::placeholder { color: var(--search-text-light); }

/* --- Keresés gomb --- */
.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: var(--search-text-light);
}

.search-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* --- Eredmény lenyíló menü --- */
.search-results {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    background-color: var(--search-bg-white);
    border-radius: var(--search-radius-lg);
    box-shadow: var(--search-shadow-lg);
    max-height: 70vh;
    opacity: 0;
    transform-origin: top center;
    animation: fadeInDown 0.2s ease-out forwards;
    overflow-y: scroll;
    width:75%;
}

/* Spinner osztály marad egyszerű */
.search-spinner {     
    display: flex;
    justify-content: flex-end;
    width: 24px;
    height: 24px;
    border: 3px solid grey;
    border-top: 3px solid black;
    border-radius: var(--search-radius-full);
    animation: spin 1s linear infinite;
}



@media (max-width: 768px) {
.search-results {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    background-color: var(--search-bg-white);
    border-radius: var(--search-radius-lg);
    box-shadow: var(--search-shadow-lg);
    max-height: 55vh;
    opacity: 0;
    transform-origin: top center;
    animation: fadeInDown 0.2s ease-out forwards;
    overflow-y: scroll;
    width:75%;
}
    }
/* főoldal */






















/* archive product */


/*
* Ez a CSS a natív stílusokat a Tailwind CSS filozófiájához igazítja.
* A színek, a méretek, az árnyékok és a tipográfia a Tailwind alapértelmezett
* beállításaira emlékeztetnek, anélkül, hogy a keretrendszert használnád.
*/

/* Alapvető reset és betűtípus */


/* Pagination – "Ugrás az oldalra" */

.woocommerce nav.woocommerce-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.woocommerce nav.woocommerce-pagination ul {
    margin-bottom: 20px;
}

.pagination-jump-to {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 9999px;
  padding: 0.5rem 0.75rem;
  box-shadow: var(--shadow, 0 1px 3px rgba(0,0,0,0.1)), 0 1px 2px -1px rgba(0,0,0,0.1);
  width: fit-content;
}

.pagination-jump-to label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600, #4b5563);
  white-space: nowrap;
  margin: 0;
}

.pagination-jump-to input[type="number"] {
  width: 6.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--gray-300, #d1d5db);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--gray-900, #111827);
  font-weight: 600;
  outline: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

/* Number input – egységes kinézet */
.pagination-jump-to input[type="number"]::-webkit-outer-spin-button,
.pagination-jump-to input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.pagination-jump-to input[type="number"] {
  -moz-appearance: textfield;
}

.pagination-jump-to input[type="number"]:hover {
  border-color: var(--gray-400, #9ca3af);
}
.pagination-jump-to input[type="number"]:focus {
  border-color: var(--primary-600, #2563eb);
  box-shadow: 0 0 0 3px var(--primary-100, #dbeafe);
  transform: translateY(-1px);
}

/* Button */
.pagination-jump-to button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  background: var(--primary-600, #2563eb);
  color: #fff;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.05));
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease, border-color 150ms ease;
}

.pagination-jump-to button:hover {
  background: var(--primary-700, #1d4ed8);
  box-shadow: 0 4px 10px rgba(29,78,216,0.2);
  transform: translateY(-1px);
}

.pagination-jump-to button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.05));
}

.pagination-jump-to button:disabled {
  background: var(--gray-300, #d1d5db);
  color: var(--gray-500, #6b7280);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Sűrű, kompakt állapot (opcionális, ha szűk helyen jelenik meg) */
.pagination-jump-to.compact {
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
}
.pagination-jump-to.compact input[type="number"] {
  width: 5.5rem;
  padding: 0.45rem 0.6rem;
}
.pagination-jump-to.compact button {
  padding: 0.5rem 0.75rem;
}

/* Hibás állapot támogatás (ha JS tesz .is-invalid osztályt az inputra) */
.pagination-jump-to input.is-invalid {
  border-color: var(--error-500, #ef4444);
  box-shadow: 0 0 0 3px var(--error-100, #fee2e2);
}

/* Mobil elrendezés */
@media (max-width: 480px) {
  .pagination-jump-to {
    margin: 10px;
    flex-wrap: wrap;
    border-radius: 0.75rem;
  }
  .pagination-jump-to label {
    width: 100%;
  }
  .pagination-jump-to input[type="number"] {
    flex: 1 1 auto;
    width: 100%;
  }
  .pagination-jump-to button {
    width: 100%;
  }
  .category-list {
    font-size: 0.8rem;
  }
  .burkolat-notice {
    font-size: 0.8rem;
  }
.product-details
{
  padding: 4px;
}
}




summary {
  list-style: none;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* Kifejezetten a WebKit-alapú böngészőkhöz (Chrome, Safari) */
summary::-webkit-details-marker {
  display: none;
}

/* A saját nyíl hozzáadása */
summary::after {
  content: '▼';
  display: inline-block;
  float: right;
  transition: transform 0.2s ease;
}

/* A nyíl elforgatása, ha az elem nyitva van */
details[open] summary::after {
  transform: rotate(180deg);
}




.ketoldalt {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding-top: 0px !important;
}

.rendezes {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

@media (max-width: 768px) {

    .rendezes {
        display:flex;
        justify-content: space-between !important;

    }

    }



/* --- Tartalom tároló --- */
.woocommerce-archive-product {
  max-width: 2600px;
  margin: 0 auto;
  padding-left: 5px;
  padding-right: 5px;
}

.woocommerce-products-header {
  margin-bottom: 0.5rem;
}

/* --- Breadcrumb navigáció --- */
.woocommerce-breadcrumb {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.breadcrumb-link {
  color: #4b5563;
  transition: color 200ms ease-in-out;
}

.breadcrumb-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #9ca3af;
}

.current-breadcrumb {
  color: #111827;
  font-weight: 600;
}

/* --- Vissza gomb --- */
.back-to-category-link {
  display: inline-flex;
  align-items: center;
  color: #2563eb;
  margin-bottom: 1.5rem;
  font-weight: 500;
  transition: color 200ms ease-in-out;
  text-decoration: none;
}

.back-to-category-link:hover {
  color: #1d4ed8;
}

.back-icon {
  height: 1.25rem;
  width: 1.25rem;
  margin-right: 0.5rem;
}

/* --- Oldalcím --- */
.page-title {
  font-size: 2.25rem;
  margin: 5px 0px;
  font-weight: 700;
  color: #111827;
}

/* --- Alkategóriák szekció --- */
.subcategories-container {
  border-radius: 0.75rem;
  margin-bottom: 0.8rem;
}

.subcategories-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.subcategories-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.subcategory-button::before { /* Font Awesome betűtípus */
  font-weight: 900; /* Szükséges a "solid" ikonokhoz */
  content: "\21E8"; /* Unicode kód a kéz ikonhoz */
  margin-right: 0.5rem;
}

.subcategory-button {
    display: flex;
    align-items: center;
    text-align: center;
  background: linear-gradient(90deg, #242F5C 0%, #0A0F1A 100%) ;
  color:#fff;
    /*color: #2563eb;*/
  padding-right: 20px;
  padding-left:20px;
  padding-top:30px;
  padding-bottom:30px;
  border-radius: 0.5rem;
  font-weight: 800;
  transition: all 300ms ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  text-decoration: none;
  border:2px solid #242F5C;

}

.subcategory-button:hover {
  background:linear-gradient(90deg, #242F5C 100%, #0A0F1A 0%);
  color: #fff !important;
  border:2px solid #242F5C;
  transform: translate(0px, -5px);
  text-decoration: underline;
}

/* --- Fő tartalom elrendezése --- */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 30px;
}

/* ÚJ: Felső sáv a rendezőnek */
.products-top-bar {
    display: flex;
    background-color:#fafafa;
    justify-content: flex-end; /* Jobbra igazítás */
    align-items: center;
    padding: 20px; /* Elválasztó térköz */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}


/* --- Termékkártyák --- */
.product-card {
    padding: 10px;
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 300ms ease-in-out, box-shadow 300ms ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    margin-bottom: 5px;
    margin-top: 5px;
    height: 100%;
}


.product-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.product-image-link {
  display: block;
  margin: auto;
  overflow: hidden;
  width: 100%;
}

.product-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  display: flex;
  justify-content: center;
}


.product-info {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-title-link {
  text-decoration: none;
  color: inherit;
  transition: color 200ms ease-in-out;
}

.product-title-link:hover {
  color: #2563eb;
}

.product-brand {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
  margin-top: 0px;
}
.product-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6b7280;
  margin-bottom: 0.25rem;
  margin-top: 0px;
}
.product-cat a {
  font-size: 0.65rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
  margin-top: 0px;
  text-decoration: underline;
}
.product-cat a:hover {
  font-size: 0.65rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
  margin-top: 0px;
  text-decoration: none;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
  margin-top: auto;
  margin-bottom: 20px;
}

.product-old-price {
  font-size: 0.875rem;
  color: #9ca3af;
  text-decoration-line: line-through;
  margin-left: 0.5rem;
}

.product-sku,
.product-stock-status {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0;
}
.product-stock-status {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0;
}
.in-stock {
  color: #16a34a;
  font-weight: 600;
}

.out-of-stock {
  color: #dc2626;
  font-weight: 600;
}














/* --- Szűrők panel --- */
.filter-panel {
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-height: 500px;
    overflow: auto;
    position: sticky;
    transition: all 0.3s ease-out;
}

.filter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-details {
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    padding: 10px 15px;
    transition: background-color 200ms ease-in-out;
}

.filter-details[open] {
    background-color: #e5e7eb;
}

.filter-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    user-select: none;
}

.filter-toggle-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #6b7280;
    transition: transform 200ms ease-in-out;
}

.filter-details[open] .filter-toggle-icon {
    transform: rotate(180deg);
    color: #2563eb;
}

.filter-content {
    margin-top: 1.25rem;
    padding-top: 10px;
    border-top: 1px solid #d1d5db;
    padding-right: 18px;
    padding-left: 18px;
    padding-bottom: 10px;
}

.filtersticky {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    bottom: 0;
    background: white;
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: 0 -10px 15px -3px rgba(0, 0, 0, 0.1), 0 -4px 6px -2px rgba(0, 0, 0, 0.05);
    margin: -10px;
    margin-top: 10px;
}

.filter-content-wrapper {
    padding: 15px;
}

/* --- Range slider alapok --- */
.range-slider {
    position: relative;
    width: 100%;
    height: 40px;
    margin: 20px 0;
    user-select: none;
}

.range-slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background-color: #d1d5db;
    border-radius: 3px;
    transform: translateY(-50%);
}

.range-slider-connect {
    position: absolute;
    height: 100%;
    background-color: #2563eb;
    border-radius: 3px;
    left: 0;
    width: 100%;
}

.range-slider-handle {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #2563eb;
    border-radius: 50%;
    cursor: grab;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 200ms ease-in-out;
}

.range-slider-handle:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.range-slider-handle:active {
    cursor: grabbing;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.handle-min {
    left: 0%;
}

.handle-max {
    left: 100%;
}

/* --- Ár szűrő --- */
.price-range-inputs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #4b5563;
    margin-top: 1rem;
}

.price-input-wrapper {
    position: relative;
    width: 45%;
}

.price-input {
    width: 100%;
    padding: 0.625rem 2.5rem 0.625rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    color: #1f2937;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 200ms ease-in-out, box-shadow 200ms ease-in-out;
    text-align: left;
}

.price-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px #bfdbfe;
}

.currency-symbol {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    font-size: 0.875rem;
}

.price-separator {
    color: #6b7280;
    font-weight: 500;
}

/* --- Checkbox szűrők --- */
.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 14rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #9ca3af #f3f4f6;
}

.checkbox-list::-webkit-scrollbar {
    width: 6px;
}

.checkbox-list::-webkit-scrollbar-thumb {
    background-color: #9ca3af;
    border-radius: 4px;
}

.checkbox-list::-webkit-scrollbar-track {
    background-color: #f3f4f6;
}

.checkbox-label {
    display: flex;
    align-items: center;
    color: #374151;
    cursor: pointer;
    font-size: 0.875rem;
}

.filter-checkbox {
    height: 1.125rem;
    width: 1.125rem;
    color: #2563eb;
    border-color: #d1d5db;
    border-radius: 0.375rem;
    transition: border-color 200ms ease-in-out;
}

.filter-checkbox:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px #bfdbfe;
}

.checkbox-label-text {
    margin-left: 0.75rem;
}

/* --- Szűrő gombok --- */
.filter-button,
.clear-filter-button {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 200ms ease-in-out;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    align-self: center;
    width: 95%;
}

.filter-button {
    background-color: #2563eb;
    color: #fff;
}

.filter-button:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.clear-filter-button {
    background-color: #e5e7eb;
    color: #4b5563;
    margin-top: 0px;
}

.clear-filter-button:hover {
    background-color: #d1d5db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* ----- FILTER MOBILE -----*/

/* Mobil backdrop overlay */
.filter-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.filter-backdrop.active {
    display: block;
    opacity: 1;
}

/* Mobil és tablet nézet */
@media (max-width: 768px) {
    .filter-panel {
        position: fixed;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999;
        border-radius: 0;
        padding: 0;
        box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease-out;
        transform: translateY(calc(100% - 60px));
        max-height: none;
        height: auto;
    }

    .filter-panel.open {
        transform: translateY(0);
        height: 60vh;
        display: flex;
        flex-direction: column;
    }

    .filter-toggle-button {
        width: 100%;
        padding: 1.5rem 0.4rem;
        font-size: 15px;
        font-weight: 600;
        background: #2563eb;
        color: #fff;
        border: none;
        border-radius: 0;
        cursor: pointer;
        flex-shrink: 0;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .filter-content-wrapper {
        display: none;
        flex: 1;
        overflow-y: auto;
        padding: 1rem;
        border-top: 1px solid #e5e7eb;
        background: #fff;
        padding-bottom: 0px;
    }

    .filter-panel.open .filter-content-wrapper {
        display: block;
    }

    .filtersticky {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 15px;
        box-shadow: 0 -10px 15px -3px rgba(0, 0, 0, 0.1);
        margin: 0;
        z-index: 11;
    }

    .filter-form {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
}

@media (min-width: 769px) {
    .filter-toggle-button {
        display: none;
    }
    
    .filter-backdrop {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .subcategories-list {
        display: flex;
        grid-template-columns: repeat(6, 1fr);
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: auto;
        min-height: 400px;
        gap: 0.3rem;
    }
    
    .product-title {
        font-size: 14px;
    }

    .product-brand {
        font-size: 0.7rem;
    }
    
    .product-card {
        padding: 4px;
    }
    
    .product-price {
        font-size: 16px;
    }
    
    .product-sku {
        font-size: 0.7rem;
    }
    
    .add-to-cart-button {
        min-height: 35px !important;
        padding: 0 10px !important;
    }
}
















/* --- Lapozás --- */
.woocommerce-pagination {
  margin-top: 3rem;
}

.pagination-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.pagination-link {
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 200ms ease-in-out;
  text-decoration: none;
}

.current-page-link {
  background-color: #2563eb;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.other-page-link {
  background-color: #e5e7eb;
  color: #4b5563;
}

.other-page-link:hover {
  background-color: #bfdbfe;
  color: #1e40af;
}



/* Csúszka stílusok */
.range-slider {
    position: relative;
    width: 100%;
    height: 0.3rem;
    border-radius: 9999px;
    background-color: #fff;
}

.range-slider-connect {
    position: absolute;
    height: 100%;
    border-radius: 9999px;
    background-color: #2563eb;
}

.range-slider-handle {
    position: absolute;
    width: 0.7rem;
    height: 0.7rem;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #2563eb;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Input mezők stílusa */
.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* a separator miatt jobb mint margin */
    margin-top: 1rem;
    width: 100%;
    flex-wrap: wrap; /* ha nagyon kicsi a hely, törjön */
}

.price-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 100%; /* fontos, hogy ne lógjon túl */
}

.price-input {
    width: 100%;
    box-sizing: border-box; /* padding és border beleszámít */
    padding: 0.5rem 0.5rem 0.5rem 2rem; /* bal oldali hely a "Ft"-nek */
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    outline: none;
    transition: box-shadow 0.2s ease-in-out;
    -moz-appearance: textfield;
}

.price-input-min {
    padding-left: 1.4rem;
    text-align: left;
}

.price-input-max {
    padding-left: 1.4rem;
    text-align: left;
}

.price-input:focus {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #2563eb;
}

.price-input::-webkit-outer-spin-button,
.price-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-separator {
    flex: 0;
    margin: 0 0.5rem;
    color: #6b7280;
    white-space: nowrap;
}

.currency-symbol {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 0.825rem;
}

.price-input-wrapper:first-child .currency-symbol {
    left: 0.5rem;
}

.price-input-wrapper:last-child .currency-symbol {
    left: 0.5rem;
}
/* --- Reszponzív design (finomítva) --- */
@media (min-width: 768px) {
    .main-content {
        display: grid;
        grid-template-columns: 1fr 3fr; /* 1/4 szűrő, 3/4 termékek */
        gap: 2.5rem;
    }

    .filter-panel {
        top: 7rem;
        height: fit-content;
    }

    .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
  }
 
  
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 45px 15px;
    }
}








/* --- Kosárba rakom gomb --- */



/* --- Felugró megerősítő ablak (Modal) --- */
.add-to-cart-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    width: 90%;
    max-width: 500px;
    display: none; /* Alapból rejtett */
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none; /* Alapból rejtett */
    animation: fadeInBackground 0.3s ease-in-out;
}

.modal-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.modal-message {
    font-size: 1rem;
    color: #4b5563;
    margin: 0;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.modal-button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 200ms ease-in-out;
    border: 1px solid transparent;
}

.modal-button.continue-shopping {
    background-color: #e5e7eb;
    color: #4b5563;
}

.modal-button.continue-shopping:hover {
    background-color: #d1d5db;
}

.modal-button.view-cart {
    background-color: #2563eb;
    color: #fff;
}

.modal-button.view-cart:hover {
    background-color: #1d4ed8;
}

/* --- ÚJ: Mennyiségválasztó --- */




.quantity-input {
    width: 4rem; /* Beviteli mező szélessége */
    height: 2.5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
    -moz-appearance: textfield; /* Firefox-hoz */
}

/* Elrejti a nyílgombokat a Chrome, Safari, Edge és Opera böngészőkben */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Kisebb képernyőkön nagyobb gombok a könnyebb használat érdekében */
@media (max-width: 640px) {
    .quantity-button, .quantity-input {
        width: 3rem;
        height: 3rem;
    }
    .quantity-input {
        font-size: 1.2rem;
    }
}

/* A kosárba rakás gombot igazítsuk az új elrendezéshez */


/* Animációk */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes fadeInBackground {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Reszponzív beállítások mobilra */
@media (min-width: 640px) {
    .modal-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Termékkártyán belüli akciók csoportja */
.product-actions-group {
    display: flex;
    align-items: stretch; /* Biztosítja, hogy az elemek azonos magasságúak legyenek */
    width: 100%;
    margin-top: auto; /* Ez tolja a blokkot a kártya aljára */
    padding-top: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Mennyiségválasztó tárolója */
.quantity-input-wrapper {
    display: flex;
    flex-shrink: 0; /* Megakadályozza, hogy a mennyiségválasztó összenyomódjon */
    margin-right: 0.5rem; /* Elválasztó térköz a kosár gomb és a mennyiségválasztó között */
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Mennyiségválasztó gombok */
.quantity-button {
    background-color: #f9fafb;
    border: none;
    color: #4b5563;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 200ms ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-button:hover {
    background-color: #e5e7eb;
    color: #1f2937;
}

/* Mennyiség beviteli mező */
.quantity-input {
    width: 4rem;
    height: 2.5rem;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
    background-color: #fff;
    -moz-appearance: textfield;
}

.quantity-input:focus {
    outline: none;
}

/* Elrejti a nyílgombokat a Chrome, Safari, Edge és Opera böngészőkben */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Kosárba gomb */
.add-to-cart-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.75rem 1rem !important;
    background-color: #2563eb !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    transition: all 200ms ease-in-out !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    text-decoration: none;
    cursor: pointer !important;
    border: none;
    height: 1rem !important; /* Gombok magasságának egységesítése */
}
.woocommerce a.added_to_cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #2563eb !important;
    color: #2563eb !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    transition: all 200ms ease-in-out !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    text-decoration: none;
    cursor: pointer !important;
    border: none;
    height: 1rem !important;
}
.woocommerce a.added_to_cart:hover {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #2563eb !important;
    background-color: #1d4ed8 !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    transition: all 200ms ease-in-out !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    text-decoration: none;
    cursor: pointer !important;
    border: none;
    height: 1rem !important;
}


.add-to-cart-button .button .product_type_simple .add_to_cart_button .ajax_add_to_cart{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.75rem 1rem !important;
    background-color: #2563eb !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    transition: all 200ms ease-in-out !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    text-decoration: none;
    cursor: pointer !important;
    border: none;
    height: 1rem !important;
}

.add-to-cart-button:hover:not(.disabled) {
    background-color: #1d4ed8 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.add-to-cart-button.disabled {
    background-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Speciális stílusok az ikonokhoz, ha használnál ilyet */
.add-to-cart-icon {
    margin-right: 0.5rem;
}

/* Kisebb képernyőkre optimalizálás */
@media (max-width: 640px) {
    .product-actions-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .quantity-input-wrapper {
        width: 100%;
        margin-right: 0;
    }

    .quantity-button, .quantity-input {
        width: 3rem;
        height: 3rem;
    }
    
    .quantity-input {
        flex-grow: 1;
    }

    .add-to-cart-button {

        height: 3rem;
        display: flex;
        justify-content: center ;
        align-self: center;
    }
}

/* --- A legördülő menü stílusa --- */
.woocommerce-ordering-form {
    position: relative;
    display: inline-block;
}
.woocommerce-ordering {

    margin-top: 20px !important;
    margin-bottom: 20px !important;
    border-radius: 0.5rem;
}


.woocommerce-ordering-form .orderby {
    -webkit-appearance: none; /* A böngésző alapértelmezett stílusának eltávolítása */
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: #374151;
    cursor: pointer;
    transition: all 200ms ease-in-out;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    outline: none;
    max-width: 250px;
}

.woocommerce-ordering-form .orderby:hover {
    border-color: #93c5fd;
}

.woocommerce-ordering-form .orderby:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.woocommerce nav.woocommerce-pagination ul {
    border: none !important;
}
.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
}
/* Egyéni nyíl ikon a legördülőhöz */
.woocommerce-ordering-form::after {
    content: "▼";
    font-size: 0.5rem;
    color: #6b7280;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}







.active-filters-bar {
    margin: 1em 0;
    padding: 0.5em;
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
}

.active-filters-label {
    font-weight: bold;
    margin-right: 0.5em;
}

.active-filter-tag {
    background-color: #e2e8f0;
    padding: 0.3em 0.6em;
    border-radius: 4px;
    text-decoration: none;
    color: #1e293b;
    font-size: 0.9em;
    transition: background-color 0.2s ease;
}

.active-filter-tag:hover {
    background-color: #cbd5e1;
}


/* --- A szűrők és a rendezés felső sávja --- */
.products-top-bar {
    display: flex;
    justify-content: space-between; /* A tartalom szétosztása balra és jobbra */
    align-items: center;
    margin-bottom: 2rem; /* Elválasztó térköz a terméklistától */
    flex-wrap: wrap; /* Tördelés kisebb képernyőkön */
    gap: 1rem;
    border-radius: 0.5rem;
}

/* --- Aktív szűrők listája --- */
.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem; /* Változtatva a tag-ek közötti távolságon */
}

.active-filters-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4b5563; /* Sötétebb, de mégis lágyabb szövegszín */
    white-space: nowrap; /* Megakadályozza a tördelést */
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    background-color: #e5e7eb;
    color: #4b5563;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 9999px; /* Lekerekített sarkok, mint a "pill" stílus */
    text-decoration: none;
    transition: all 200ms ease-in-out;
    border: 1px solid #d1d5db;
}

.active-filter-tag:hover {
    background-color: #d1d5db;
    color: #1f2937;
    border-color: #9ca3af;
}

.active-filter-tag .remove-icon {
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 0.9em;
    color: #6b7280;
    transition: color 200ms ease-in-out;
}

.active-filter-tag:hover .remove-icon {
    color: #ef4444; /* Vörös ikon a hoverre */
}

/* Kisebb képernyőkre optimalizálás */
@media (max-width: 767px) {
    .products-top-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .woocommerce-ordering {
        width: 40%; 
        margin: 20px;/* A rendező 100% széles lesz */
        display: flex;
        justify-content: flex-end;
    }
}

















/* single-product.php termékoldal termék oldal */

 small.woocommerce-price-suffix  {
    display: none;
}

    .product-page {
      max-width: 2600;
    }

    .single-product-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
      padding: 20px;
    }
    @media (min-width: 1024px) {
      .single-product-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 32px;
      }
    }

    /* Képgaléria */
    .gallery-card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
      padding: 16px;
    }
    .gallery-wrap {
      position: relative;
      overflow: hidden;
      border-radius: 10px;
      background: #f8fafc;
      aspect-ratio: 1/1; /* négyzetes alap */
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .gallery-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity .3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .gallery-slide.active { opacity: 1; }
    .gallery-slide img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    .gallery-nav {
      position: absolute;
      top: 50%;
      width: 100%;
      transform: translateY(-50%);
      display: flex;
      justify-content: space-between;
      padding: 0 8px;
      pointer-events: none;
    }
    .gallery-btn {
      pointer-events: auto;
      background: rgba(255,255,255,.9);
      border: 1px solid #e5e7eb;
      width: 40px; height: 40px;
      border-radius: 9999px;
      display: grid; place-items: center;
      color: #374151;
      cursor: pointer;
      transition: all .2s ease;
      box-shadow: 0 1px 2px rgba(0,0,0,.05);
    }
    .gallery-btn:hover {
      background: #f3f4f6;
      transform: translateY(-1px);
    }
    .thumbnail-row {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 8px;
      margin-top: 12px;
    }
    .thumb {
      border: 1px solid #e5e7eb;
      background: #fff;
      border-radius: 8px;
      overflow: hidden;
      aspect-ratio: 1/1;
      cursor: pointer;
      transition: all .2s ease;
    }
    .thumb img {
      width: 100%; height: 100%; object-fit: cover;
    }
    .thumb:hover { transform: translateY(-2px); box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
    .thumb.active { outline: 2px solid #2563eb; outline-offset: 0; }

    /* Jobb oldali infó panel */
    .info-card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .title {
      font-size: 1.75rem;
      font-weight: 800;
      color: #111827;
      line-height: 1.2;
      margin: 0;
    }
    .brand-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #eff6ff;
      color: #1e40af;
      border: 1px solid #93c5fd;
      border-radius: 9999px;
      padding: 6px 12px;
      font-weight: 600;
      width: fit-content;
    }
    .price-row {
      display: flex;
      align-items: baseline;
      gap: 10px;
    }
    .price-current {
      font-size: 1.5rem;
      font-weight: 800;
      color: #2563eb;
    }
    .price-old {
      color: #9ca3af;
      text-decoration: line-through;
      font-weight: 600;
    }
    .vat-note { color: #6b7280; font-size: .9rem; }

    .meta-line {
      display: flex;
      flex-wrap: wrap;
      gap: 12px 18px;
      color: #374151;
      font-size: .95rem;
    }
    .meta-line span { display: inline-flex; align-items: center; gap: 6px; }
    .stock-badge {
      font-weight: 700;
      color: #16a34a; 
    }
    .stock-badge {
        color: #16a34a; ;
    }
    .stock-badge.in { color: #16a34a; }
    .stock-badge.out { color: #dc2626; }
    .sku-badge {
      color: #4b5563;
      background: #f3f4f6;
      border: 1px solid #e5e7eb;
      padding: 4px 8px;
      border-radius: 6px;
      font-weight: 600;
    }

    .variants-block, .attributes-block, .basic-block {
      background: #f8fafc;
      border: 1px solid #e5e7eb;
      border-radius: 10px;
      padding: 16px;
      display: grid;
      gap: 12px;
    }
    .section-title {
      font-size: .95rem;
      font-weight: 700;
      color: #1f2937;
      margin: 0 0 4px 0;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    /* Variáció választók */
    .variant-row {
      display: grid;
      gap: 12px;
    }
    .variant-item {
      display: grid;
      gap: 8px;
    }
    .variant-label {
      font-weight: 600;
      color: #374151;
    }
    .variant-select {
      -webkit-appearance: none; -moz-appearance: none; appearance: none;
      background: #fff;
      border: 1px solid #d1d5db;
      border-radius: 8px;
      padding: 12px 14px;
      font-size: 1rem;
      color: #111827;
      cursor: pointer;
      transition: all .2s ease;
      box-shadow: 0 1px 2px rgba(0,0,0,.05);
      outline: none;
    }
    .variant-select:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.2); }

    /* Attribútum chips */
    .attr-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
    }
    @media (min-width: 640px) { .attr-grid { grid-template-columns: 1fr 1fr; } }
    @media (min-width: 1024px) { .attr-grid { grid-template-columns: 1fr 1fr 1fr; } }

    .attr-card {
      background: #fff;
      border: 1px solid #e5e7eb;
      border-radius: 10px;
      padding: 12px;
      display: grid;
      gap: 6px;
    }
    .attr-name {
      color: #6b7280;
      font-size: .85rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .06em;
    }
    .attr-values {
      display: flex; flex-wrap: wrap; gap: 8px;
    }
    .pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #e5e7eb;
      color: #374151;
      border: 1px solid #d1d5db;
      border-radius: 9999px;
      padding: 6px 10px;
      font-weight: 600;
      font-size: .9rem;
      white-space: nowrap;
    }

    /* Kosár interakció – a mellékelt osztályokra támaszkodunk */
    .buy-row {
      display: flex;
      align-items: stretch;
      gap: 12px;
      margin-top: 6px;
      flex-wrap: wrap;
    }
    .quantity-input-wrapper { background: #fff; }
    .add-to-cart-button {
     min-height: 44px; 
     height: auto;
    padding: 0 18px !important;
    display: flex;
     }
    .add-to-cart-button .btn-label { display: inline-flex; gap: 8px; align-items: center; }

    .legal-line {
      color: #6b7280;
      font-size: .85rem;
    }

    /* Kategóriák, címkék */
    .tax-row {
      display: flex; flex-wrap: wrap; gap: 8px 12px;
      color: #4b5563;
      font-size: .95rem;
    }
    .tax-row a {
      color: #2563eb; text-decoration: none; font-weight: 600;
    }
    .tax-row a:hover { text-decoration: underline; }

    /* Modal illesztés – a meglévő .add-to-cart-modal, .modal-backdrop használata */
    .modal-actions {
      display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
    }
  





/* Breadcrumb */
.woocommerce-breadcrumb {
  margin-bottom: 24px;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}
.breadcrumb-list li {
  display: flex;
  align-items: center;
}
.breadcrumb-link {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb-link:hover {
  color: #2563eb;
  text-decoration: underline;
}
.breadcrumb-separator {
  color: #d1d5db;
  margin: 0 8px;
}
.current-breadcrumb {
  color: #111827;
  font-weight: 600;
}






@media (max-width: 480px) {

    
    .breadcrumb-list {
        font-size: 13px;
    }
    .subcategories-list {
        font-size: 15px;
    }
    .subcategory-button {
        padding: 10px 15px;
    }
}



















/*
 * Kapcsolt termékek szekciójának stílusa - Listás elrendezés
 */

.related-products-section {
    background-color: #fff; /* bg-white */
    padding: 24px; /* p-6 */
    border-radius: 12px; /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    margin-bottom: 32px; /* mb-8 */
}

@media (min-width: 768px) {
    .related-products-section {
        padding: 32px; /* md:p-8 */
    }
}

.related-products-title {
    font-size: 24px; /* text-2xl */
    font-weight: 700; /* font-bold */
    color: #1f2937; /* text-gray-800 */
    margin-bottom: 24px; /* mb-6 */
}

@media (min-width: 768px) {
    .related-products-title {
        font-size: 30px; /* md:text-3xl */
    }
}

.related-products-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-product-item {
    display: flex; /* flex */
    align-items: center; /* items-center */
    gap: 16px; /* gap-4 */
    background-color: #f9fafb; /* bg-gray-50 */
    padding: 16px; /* p-4 */
    border-radius: 8px; /* rounded-lg */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
    margin-bottom: 16px; /* mb-4 */
    transition: all 0.3s ease-in-out;
}

.related-product-item:last-child {
    margin-bottom: 0;
}

.related-product-item:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* hover:shadow-xl */
}

.related-product-item a {
    display: flex; /* flex */
    align-items: center; /* items-center */
    gap: 16px; /* gap-4 */
    text-decoration: none;
    color: #1f2937; /* text-gray-800 */
    width: 100%; /* w-full */
    transition: color 0.3s ease-in-out;
}

.related-product-item a:hover {
    color: #2563eb; /* hover:text-blue-600 */
}

.related-product-item img {
    width: 80px; /* w-20 */
    height: 80px; /* h-20 */
    object-fit: cover;
    border-radius: 6px; /* rounded-md */
    flex-shrink: 0; /* flex-shrink-0 */
}

.related-product-item .flex-grow {
    flex-grow: 1; /* flex-grow */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.related-product-item .flex-grow span {
    display: flex;
}

.related-product-item h3,
.related-product-item .font-semibold {
    font-size: 18px; /* text-lg */
    font-weight: 600; /* font-semibold */
    margin: 0;
    line-height: 1.4;
}

.related-product-item .price {
    font-size: 16px;
    font-weight: 700; /* font-bold */
    color: #2563eb; /* text-blue-600 */
    margin-left: auto;
    white-space: nowrap; /* Megakadályozza az ár tördelését */
}













/* sidecart */



/* --- Oldalsó Kosár Panel & Lebegő Ikon --- */

:root {
    /* Új változók a kosárhoz, ha szükséges */
    --cart-bg-accent: #f3f4f6; /* bg-gray-100 */
    --cart-border-light: #e5e7eb; /* border-gray-200 */
    --cart-text-success: #16a34a; /* text-green-600 */
    --cart-text-danger: #2563eb;  /* text-red-600 */
}

/* Lebegő kosár gomb konténer */
.floating-cart-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999999;
}

.cart-icon-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, #242F5C 0%, #0A0F1A 100%); /* Összehangolva a fő színnel */
    color: #fff;
    border-radius: 9999px; /* Tailwind 'full' */
    box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.5), 0 4px 6px -1px rgba(0, 0, 0, 0.2); /* 'lg' árnyék */
    transition: transform 300ms ease-in-out, box-shadow 300ms ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.cart-icon-button:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.cart-icon-button .cart-icon {
    width: 28px;
    height: 28px;
}

/* Kosárban lévő elemek számát jelző "badge" */
.cart-icon-button .cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #2563eb !important;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 9999px; /* Tailwind 'full' */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 2px;
    border: 2px solid #fff;
}

/* Háttér elsötétítése */
.side-cart-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(31, 41, 55, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
}

.side-cart-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Oldalsó panel */
.side-cart-panel {
     position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    /* Teljes viewport magasság környezet-figyelő változókkal */
    height: 100dvh; /* Dinamikus viewport magasság */
    height: 100vh; /* Fallback */
    background-color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    /* Biztos, hogy a környezet fölött van */
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.side-cart-panel.is-open {
    transform: translateX(0);
}

/* Panel - Fejléc */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.panel-title {
    font-size: 1.25rem;
    font-weight: 700; /* Felvastagítva a 'page-title'-hoz igazítva */
    color: #111827;
    margin: 0;
}

.close-button {
    background: none;
    border: none;
    font-size: 2rem;
    color: #9ca3af; /* A 'breadcrumb' és más halvány szövegekhez igazítva */
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s ease;
}

.close-button:hover {
    color: #4b5563; /* Sötétebb hover */
}

/* Panel - Tartalom (terméklista) */
.panel-content {
    flex-grow: 1;
    overflow-y: auto;
}

.empty-cart-message {
    text-align: center;
    color: #6b7280;
    margin-top: 3rem;
}

.cart-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
}

.cart-item {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    padding: 10px; /* Hozzáadva */
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* Enyhe árnyék, mint a kártyákon */
    transition: transform 300ms ease-in-out, box-shadow 300ms ease-in-out;
}
.cart-item-bentebbi {
    display: flex;
}
.cart-item:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.cart-item-sidecart {
    margin-bottom: 20px;
    display: flex;
    gap: 1rem;
    position: relative;
    padding: 10px; /* Hozzáadva */
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* Enyhe árnyék, mint a kártyákon */
    transition: transform 300ms ease-in-out, box-shadow 300ms ease-in-out;
}

.cart-item-sidecart:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background-color: #f3f4f6;
    border-radius: 0.5rem; /* Enyhén lekerekített sarkok */
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    gap: 0.25rem;
}

.item-title {
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Korlátozva 2 sorra, ha hosszú */
    -webkit-box-orient: vertical;
}
.item-title:hover {
    color: #2563eb;
}

.item-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2563eb;
    margin: 0;
}

.item-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem 0;
    /* Új stílusok, mint a termékkártyán lévő mennyiségválasztó */
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    overflow: hidden;
    width: fit-content;
}

.quantity-btn {
    width: 2rem;
    height: 2rem;
    border: none;
    background-color: #f9fafb;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quantity-btn:hover {
    background-color: #e5e7eb;
    color: #1f2937;
}

.quantity {
    font-weight: 500;
    color: #1f2937;
    text-align: center;
    width: 2.5rem;
    border: none;
    background-color: #fff;
}

.remove-item {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    line-height: 1;
    padding: 0.25rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s ease;
}
.remove-item:hover {
    color: #dc2626;
}

/* Panel - Lábléc */
.panel-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}

.subtotal .amount {
    color: #2563eb;
    font-weight: 700;
}

.checkout-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #2563eb;
    color: #fff;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 200ms ease-in-out;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.checkout-button:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.summary-row {
    font-weight: 700;
    display: flex;
    justify-content: space-between;
}
.coupon-section {
    display: none;
}
.cart-actions {
    display: grid;
    margin: 10px;
    gap: 10px;

}
/* Body scroll lock */
body.side-cart-open {
    overflow: hidden;
}
@media (max-width: 480px) {

    
    .side-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 280px;
    height: 100vh;
    min-height: 100px;
    background-color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Igazítva a termékkártyához */
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
}
    .cart-summary-ragad-lent {
    padding: 30px;
    background-color: white;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    flex-shrink:0;
    padding-bottom: calc(30px + env(safe-area-inset-bottom));
}



/* cart */


/*
 * WooCommerce Értesítések stílusa
 * Tailwind-szerű, letisztult design
 */

/* Közös stílus az összes értesítésre */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info,
.cart-empty {
    width: 100%;
    max-width: 720px;
    margin: 1.5rem auto; /* Tágasabb térköz felül és alul */
    padding: 1.25rem 1.5rem; /* Enyhén nagyobb belső tér */
    border-radius: 0.75rem; /* Megtartva az elegáns, lekerekített sarkokat */
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* Laza, modern árnyék */
    border-left: 4px solid transparent;
    transition: all 0.3s ease-in-out;
    background-color: #f9fafb; /* Alap halvány szürke, ha típus nem ismert */
    color: #4b5563; /* Sötétebb, de mégis lágy szövegszín */
}

/* Sikertípus: zöld */
.woocommerce-message {
    background-color: #eafbf1; /* Halványzöld háttér */
    color: #267c4b; /* Sötétzöld szöveg */
    border-left-color: #38a169; /* Élénkebb zöld bal oldali sáv */
}

/* Hiba típus: vörös */
.woocommerce-error {
    background-color: #fdecea; /* Halványvörös háttér */
    color: #b30000; /* Sötétvörös szöveg */
    border-left-color: #e53e3e; /* Élénkebb vörös bal oldali sáv */
}

/* Info és üres kosár típus: kék */
.woocommerce-info,
.cart-empty {
    background-color: #eaf4fc; /* Halványkék háttér */
    color: #1b4d7a; /* Sötétkék szöveg */
    border-left-color: #3182ce; /* Élénkebb kék bal oldali sáv */
}



.woocommerce-info::before {
    display: none
}

.woocommerce-message::before {
    display: none;
}

.cart-page {
  max-width: 1200px; margin: 20px auto 60px; padding: 0 16px;
}
.cart-grid {
  display: flex;
}
@media (min-width: 1024px){ .cart-grid { grid-template-columns: 1.2fr .8fr; gap: 24px; } }
.card {
  background:#fff; border-radius:12px; box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05); width: 100%;
}
.card-header { padding: 16px 20px; border-bottom:1px solid #e5e7eb; display:flex; align-items:center; justify-content:space-between; }
.cart-szamolo-cartoldal { color:grey }
.card-title { font-size: 1.25rem; font-weight: 800; color:#111827; margin:0; }
.card-body { padding: 12px 16px 16px; }

.cart-items { display:flex; flex-direction:column; gap: 12px;}
.cart-felirat {
    display: flex;
    justify-content: center;
    text-align: center;
}

.tovabbfelso {
    display: flex;
    justify-content: flex-end;
}
.cart-item {
  display:flex; gap:14px; padding: 12px; border:1px solid #eef2f7; border-radius:10px; transition: box-shadow .2s ease, transform .2s ease;
}
.cart-header-remover {
    display: flex;
    justify-content: space-between;
}
.kosar-header-egysor {
    display: flex;
}

.eltavolit {
    display: inline-flex;
    flex-direction: column;
}
.cart-item:hover { transform: translateY(-2px); box-shadow:0 6px 12px rgba(0,0,0,.06); }
.cart-thumb { width:96px; height:96px; flex-shrink:0; border-radius:8px; background:#f8fafc; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.cart-thumb img { width:100%; height:100%; object-fit:contain; }
.cart-main { flex:1; display:flex; flex-direction:column; gap:6px; }
.item-title { font-weight:700; color:#1f2937; text-decoration:none; line-height:1.35; width: auto; }
.item-title:hover { color:#2563eb; }
.item-meta { font-size:.9rem; color:#6b7280; }
.item-actions {
  display:flex; align-items:center; gap: 12px; flex-wrap: wrap; margin-top: 4px;
}
.line-price { margin-left:auto; font-weight:800; color:#2563eb; white-space:nowrap; }

.remove-link {
  background:none; border:none; color:#9ca3af; cursor:pointer; padding:6px 8px; border-radius:8px; transition: background .2s ease, color .2s ease; font-size: 14px;
}
.remove-link:hover { background:#f3f4f6; color:#dc2626; }

.quantity-input-wrapper { border:1px solid #d1d5db; border-radius:8px; overflow:hidden; display:flex; }
.quantity-button { background:#f9fafb; border:none; color:#4b5563; width:40px; height:40px; font-size:1.1rem; font-weight:700; cursor:pointer; transition: background .2s ease, color .2s ease; }
.quantity-button:hover { background:#e5e7eb; color:#1f2937; }
.quantity-input { width:64px; height:40px; border:none; text-align:center; font-weight:600; color:#111827; background:#fff; }

.tools-row { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.coupon-wrap { display:none; }
.coupon-input { padding:10px 12px; border:1px solid #d1d5db; border-radius:8px; outline:none; transition:border-color .2s ease, box-shadow .2s ease; }
.coupon-input:focus { border-color:#2563eb; box-shadow:0 0 0 3px rgba(37,99,235,.15); }

.btn { display:inline-flex; align-items:center; justify-content:center; font-weight:700; border-radius:8px; padding:10px 14px; border:1px solid transparent; cursor:pointer; text-decoration:none; transition: all .2s ease; }
.btn-primary { background:#2563eb; color:#fff; }
.btn-primary:hover { background:#1d4ed8; box-shadow:0 4px 10px rgba(29,78,216,.2); }
.btn-secondary { background:#e5e7eb; color:#374151; }
.btn-secondary:hover { background:#d1d5db; }
.btn-ghost { background:transparent; color:#374151; border:1px solid #e5e7eb; }
.btn-ghost:hover { background:#f9fafb; }

.summary-card .row { display:flex; align-items:center; justify-content:space-between; padding:10px 0; }
.summary-card .row + .row { border-top:1px solid #f1f5f9; }
.summary-title { font-weight:700; color:#111827; }
.summary-amount { font-weight:800; color:#2563eb; }

.shipping-calc { display:grid; gap:10px; }
.shipping-calc .field { display:flex; gap:8px; }
.shipping-calc select, .shipping-calc input[type="text"] {
  width:100%; padding:10px 12px; border:1px solid #d1d5db; border-radius:8px; outline:none; transition:border-color .2s ease, box-shadow .2s ease;
}
.shipping-calc select:focus, .shipping-calc input[type="text"]:focus { border-color:#2563eb; box-shadow:0 0 0 3px rgba(37,99,235,.15); }

.notice-line { margin:10px 0 0; color:#6b7280; font-size:.9rem; }

/* Cross-sell minimal */
.cross-sell { margin-top:16px; }
.cross-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:12px; }
@media(min-width:768px){ .cross-grid { grid-template-columns: repeat(3, 1fr); } }
.cross-item { border:1px solid #eef2f7; border-radius:10px; padding:10px; display:flex; gap:10px; align-items:center; background:#fff; transition:box-shadow .2s ease, transform .2s ease; }
.cross-item:hover { transform: translateY(-2px); box-shadow:0 6px 12px rgba(0,0,0,.06); }
.cross-thumb { width:64px; height:64px; background:#f8fafc; border-radius:8px; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.cross-thumb img { width:100%; height:100%; object-fit:contain; }
.cross-title { font-weight:700; color:#1f2937; line-height:1.2; text-decoration:none; }
.cross-price { margin-left:auto; font-weight:800; color:#2563eb; white-space:nowrap; }

.utility-row { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding: 0 16px 16px; margin-top:10px }


@media(max-width:486px){
 .item-title 
 { 
    font-size: 0.9rem;
 } 
 .item-meta {
    font-size: 0.6rem !important;
 }
 .quantity-input 
 { 

 }
 .cart-item-bentebbi {
    display: flex;
    flex-direction: column;
}
.tovabbfelso {
    font-size: 0.7rem;
    text-align: center;
}
.kosar-header-egysor {
  font-size: 0.6rem;

}
.cart-header-remover {
  display: flex;
  flex-direction: column-reverse;
}


}
    /* Styling for the necessary products section */
    .necessary-products-container {
        background: #fff3cd; /* Light warning yellow */
        border: 1px solid #ffeeba;
        border-radius: 4px;
        padding: 10px;
        margin-top: 10px;
    }
    .necessary-products-container p {
        margin: 0 0 10px;
        color: #856404; /* Darker yellow text */
        font-weight: 600;
        font-size: 14px;
    }
    .necessary-products-list {
        display: grid;
        gap: 10px;
    }
    .necessary-product-item {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .necessary-product-item .product-image {
        width: 50px;
        height: 50px;
        object-fit: cover;
    }
    .necessary-product-item .product-details {
        flex-grow: 1;
    }
    .necessary-product-item .product-details h4 {
        margin: 0;
        font-size: 14px;
        color: #333;
    }
    .necessary-product-item .product-details p {
        margin: 0;
        font-size: 12px;
        color: #666;
    }
    .necessary-product-item .add-to-cart-button {
        background-color: #28a745;
        color: white;
        border: none;
        padding: 8px 12px;
        border-radius: 4px;
        cursor: pointer;
        text-decoration: none;
        font-size: 14px;
        font-weight: bold;
    }
    .necessary-product-item .add-to-cart-button:hover {
        background-color: #218838;
    }



    @media(max-width:486px){

.necessary-product-item {
  display: flex;
  flex-direction: column;
}
}



















/* ===============================================
   CHECKOUT PAGE - MODERN TAILWIND-STYLE CSS
   =============================================== */

/* CSS Custom Properties - Design System */
:root {
    /* Colors */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --success-50: #f0fdf4;
    --success-100: #dcfce7;
    --success-500: #22c55e;
    --success-600: #16a34a;
    
    --warning-50: #fffbeb;
    --warning-100: #fef3c7;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    
    --error-50: #fef2f2;
    --error-100: #fee2e2;
    --error-500: #ef4444;
    --error-600: #dc2626;
    
    --white: #ffffff;
    
    /* Spacing Scale (Tailwind-like) */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Border Radius */
    --rounded-sm: 0.125rem;
    --rounded: 0.25rem;
    --rounded-md: 0.375rem;
    --rounded-lg: 0.5rem;
    --rounded-xl: 0.75rem;
    --rounded-2xl: 1rem;
    --rounded-3xl: 1.5rem;
    --rounded-full: 9999px;
    
    /* Shadows (Tailwind-like) */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Typography */
    --font-family-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    
    /* Transitions */
    --transition-all: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-colors: color 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===============================================
   BASE STYLES & RESET
   =============================================== */

.checkout-page {
    font-family: var(--font-family-sans);
    font-size: var(--font-size-base);
    line-height: var(--leading-normal);
    color: var(--gray-900);
    background-color: var(--gray-50);
    min-height: 100vh;
}

.checkout-page *,
.checkout-page *::before,
.checkout-page *::after {
    box-sizing: border-box;
}

/* Container */
.checkout-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-6);
}

@media (max-width: 640px) {
    .checkout-page {
        padding: var(--space-4);
    }
}

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

.checkout-grid {
    display: grid;
    gap: 5px;
    margin-top: var(--space-8);
}

@media (min-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }
}

/* ===============================================
   PROGRESS BAR
   =============================================== */

.checkout-progress {
    background: var(--white);
    border-radius: var(--rounded-xl);
    box-shadow: var(--shadow);
    padding: 10px;
    margin-bottom: 10px;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--gray-200);
    transform: translateY(-50%);
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: 0 var(--space-4);
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--rounded-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-500);
    border: 3px solid var(--gray-200);
    transition: var(--transition-colors);
}

.progress-step.active .step-icon {
    background: var(--primary-500);
    color: var(--white);
    border-color: var(--primary-500);
}

.step-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-500);
    transition: var(--transition-colors);
}

.progress-step.active .step-label {
    color: var(--primary-600);
}

@media (max-width: 640px) {
    .progress-bar {
        flex-direction: row;
        gap: var(--space-4);
    }
    
    .progress-bar::before {
        display: none;
    }
    
    .progress-step {
        flex-direction: row;
        padding: 0;
        background: transparent;
    }
    .step-label {
      font-size: 0.9rem;
    }
    .step-icon {
      width: 0.9rem;
      height: 0.9rem;
    }
}

/* ===============================================
   CARD COMPONENTS
   =============================================== */

.checkout-card {
  /* replace width:100vw; with: */
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.checkout-card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--space-6) var(--space-8);
    display: flex;
    justify-content: space-between;
}

.card-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    width: auto;
}

.card-title svg {
    color: var(--primary-500);
    flex-shrink: 0;
}

.card-body {
    padding: 30px 20px 30px 20px;
}

@media (max-width: 640px) {
    .card-header {
        padding: var(--space-4) var(--space-6);
        align-items: flex-start;
        gap: var(--space-3);
    }
    
    .card-body {
        padding: var(--space-6);
    }
    
    .card-title {
        font-size: var(--font-size-lg);
    }
}

/* ===============================================
   COLLAPSIBLE FUNCTIONALITY
   =============================================== */

.collapsible-trigger {
    cursor: pointer;
    user-select: none;
    transition: var(--transition-colors);
}

.collapsible-trigger:hover .card-title {
    color: var(--primary-600);
}

.header-action {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.login-link {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--primary-600);
    text-decoration: none;
    transition: var(--transition-colors);
}

.login-link:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

.collapse-icon {
    font-size: var(--font-size-xl);
    color: var(--gray-400);
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.collapsible-card.open .collapse-icon {
    transform: rotate(180deg);
}

.collapsible-content {
    display: block;
    height: 100%;
}
.collapsible-content {

}
.collapsible-card {
    height: auto;
}
/* ===============================================
   USER STATUS & BADGES
   =============================================== */

.user-status {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--rounded-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.status-badge.logged-in {
    background: var(--success-100);
    color: var(--success-600);
    border: 1px solid var(--success-200);
}

.status-badge.guest {
    background: var(--warning-100);
    color: var(--warning-600);
    border: 1px solid var(--warning-200);
}

.logout-link {
    color: var(--gray-500);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: var(--transition-colors);
}

.logout-link:hover {
    color: var(--primary-600);
}

.count-badge {
    background: var(--primary-500);
    color: var(--white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--rounded-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

/* ===============================================
   CUSTOMER TYPE SELECTOR
   =============================================== */

.customer-type-selector {
    margin-bottom: var(--space-8);
    display: flex;
    gap: var(--space-4);

}

.customer-type-selector input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.customer-type-btn {
    display: flex;
    flex-direction:row;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) var(--space-6);
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    border-radius: var(--rounded-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-all);
    text-decoration: none;
    width:100%;
    max-width:50%;
}

.customer-type-btn:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    transform: translateY(-1px);
}

.customer-type-btn.active {
    background: var(--primary-500);
    color: var(--white);
    border-color: var(--primary-500);
    box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
    .customer-type-selector {
        flex-direction: column;
    }
    
    .customer-type-btn {
        width: 100%;
        max-width:100% !important;
    }
    .customer-type-btn.active {
        width: 100%;
        max-width:100% !important;
    }
    customer-type-btn:hover {
        width: 100%;
        max-width:100% !important;
    }
}

@media (max-width: 400px) {

    
    .customer-type-btn {
        width: 100%;
        max-width:100% !important;
    }
    .customer-type-btn:hover {
        width: 100%;
        max-width:100% !important;
    }
    .customer-type-btn.active {
        width: 100%;
        max-width:100% !important;
    }
}

/* ===============================================
   FORM STYLES
   =============================================== */

.form-row {
    margin-bottom: var(--space-6);
    position: relative;
}

.form-row label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
    font-size: var(--font-size-sm);
}

.form-row label .required {
    color: var(--error-500);
    margin-left: var(--space-1);
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="password"],
.form-row select,
.form-row textarea {
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--rounded-lg);
    font-size: var(--font-size-base);
    color: var(--gray-900);
    background: var(--white);
    transition: var(--transition-all);
    outline: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover {
    border-color: var(--gray-300);
}

.form-row.error input,
.form-row.error select,
.form-row.error textarea,
.form-row.woocommerce-invalid input,
.form-row.woocommerce-invalid select,
.form-row.woocommerce-invalid textarea {
    border-color: var(--error-500);
    box-shadow: 0 0 0 3px var(--error-100);
}

.error-message {
    color: var(--error-500);
    font-size: var(--font-size-sm);
    margin-top: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.error-message::before {
    content: '⚠';
    font-size: var(--font-size-base);
}

/* Form Grid Layout */
.checkout-fields {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .checkout-fields {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }
    
    .form-row-wide {
        grid-column: 1 / -1;
    }
}
@media (min-width: 460px) {
    .checkout-fields {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .form-row-wide {
        grid-template-columns: 1fr;
    }
}


/* ===============================================
   CUSTOMER TYPE FIELDS VISIBILITY
   =============================================== */

.private-fields,
.business-fields,
.shipping-private-fields,
.shipping-business-fields {
    transition: opacity 300ms ease, transform 300ms ease;
}

.business-fields,
.shipping-business-fields {
    display: none;
}

.business-fields.show,
.shipping-business-fields.show {
    display: block;
    animation: fadeInScale 300ms ease forwards;
}
.focontent {
    
    padding:20px 10px 20px 10px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===============================================
   SHIPPING ADDRESS
   =============================================== */

.shipping_address {
    margin-top: var(--space-6);
    padding: var(--space-6);
    background: var(--gray-50);
    border: 2px dashed var(--gray-200);
    border-radius: var(--rounded-lg);
    transition: var(--transition-all);
    max-height: 100% !important;
}

.shipping_address.active {
    background: var(--white);
    border: 2px solid var(--primary-200);
    box-shadow: var(--shadow-sm);
}

/* Checkbox Styling */
.checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    cursor: pointer;
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--rounded-lg);
    transition: var(--transition-all);
}

.checkbox:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-sm);
}

.checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--primary-500);
    cursor: pointer;
}

.checkbox span {
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition-colors);
}

.checkbox input[type="checkbox"]:checked + span {
    color: var(--primary-600);
    font-weight: 600;
}

/* ===============================================
   ORDER SUMMARY
   =============================================== */

.order-summary-card .card-body {
    padding: 0;
}

.order-items {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) transparent;
}

.order-items::-webkit-scrollbar {
    width: 6px;
}

.order-items::-webkit-scrollbar-track {
    background: transparent;
}

.order-items::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--rounded-full);
}

.order-items::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

.order-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: center;
}

.order-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.item-image {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex-grow: 1;
    min-width: 0;
}

.item-name {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 var(--space-1) 0;
    line-height: var(--leading-tight);
}

.item-meta {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

.item-meta .product-quantity {
    color: var(--gray-700);
    font-weight: 600;
}

.item-total {
    font-weight: 700;
    color: var(--primary-600);
    white-space: nowrap;
    font-size: var(--font-size-lg);
}

@media (max-width: 640px) {
    .order-items {
        padding: 10px;
    }
    
    .order-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: var(--space-3);
    }
    
    .order-item .item-image {
        align-self: flex-start;
    }
    
    .order-item .item-total {
        align-self: flex-start;
        margin-top: var(--space-2);
    }
}

/* ===============================================
   ORDER TOTALS
   =============================================== */

.order-totals {
    padding: var(--space-6) var(--space-8);
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    font-size: var(--font-size-base);
    border-bottom: 1px solid var(--gray-200);
}

.total-row:last-child {
    border-bottom: none;
}

.total-row.final-total {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    border-top: 2px solid var(--gray-300);
    margin-top: var(--space-2);
    padding-top: var(--space-4);
}

.total-label {
    color: var(--gray-700);
    font-weight: 500;
}

.total-value {
    font-weight: 600;
    color: var(--gray-800);
    text-align: right;
}

.final-total .total-value {
    color: var(--primary-600);
    font-size: var(--font-size-2xl);
    text-align: right;
}

@media (max-width: 640px) {
    .order-totals {
        padding: var(--space-4) var(--space-6);
    }
}

/* ===============================================
   WOOCOMMERCE PAYMENT INTEGRATION
   =============================================== */

.woocommerce-checkout-payment {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0;
}

.woocommerce-checkout-payment > h3 {
    display: none;
}

/* Payment Methods */
.wc_payment_methods {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-3);
}

.wc_payment_methods li {
    border: 2px solid var(--gray-200);
    border-radius: var(--rounded-lg);
    background: var(--white);
    transition: var(--transition-all);
    overflow: hidden;
}

.wc_payment_methods li:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-sm);
}

.wc_payment_methods li.selected,
.wc_payment_methods li:has(input[type="radio"]:checked) {
    border-color: var(--primary-500);
    background: var(--primary-50);
    box-shadow: var(--shadow-md);
}

.wc_payment_methods input[type="radio"] {
    margin-right: var(--space-3);
    accent-color: var(--primary-500);
    width: 20px;
    height: 20px;
}

.wc_payment_methods label {
    display: flex;
    align-items: center;
    padding: var(--space-5) var(--space-6);
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    width: 100%;
    transition: var(--transition-colors);
}

.wc_payment_methods li.selected label {
    color: var(--primary-700);
}

.payment_box {
    background: var(--gray-50) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: var(--space-6) !important;
    margin: 0 !important;
    color: var(--gray-700) !important;
    font-size: var(--font-size-sm) !important;
    line-height: var(--leading-relaxed) !important;
}

.payment_box::before {
    display: none !important;
}

.payment_box p {
    margin: 0 !important;
}

/* Shipping Methods */
.shipping-methods {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.shipping-methods li {
    border: 2px solid var(--gray-200);
    border-radius: var(--rounded-lg);
    background: var(--white);
    transition: var(--transition-all);
}

.shipping-methods li:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-sm);
}

.shipping-methods li.selected,
.shipping-methods li:has(input[type="radio"]:checked) {
    border-color: var(--primary-500);
    background: var(--primary-50);
}

.shipping-methods label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    cursor: pointer;
    font-weight: 500;
    color: var(--gray-800);
    margin: 0;
    width: 100%;
}

.shipping-methods input[type="radio"] {
    margin-right: var(--space-3);
    accent-color: var(--primary-500);
}

.shipping-methods .amount {
    font-weight: 700;
    color: var(--primary-600);
}

/* ===============================================
   SUBMIT BUTTON
   =============================================== */

#place_order,
.checkout-submit-btn {
    width: 100%;
    padding: var(--space-5) var(--space-8);
    background: var(--primary-600);
    color: var(--white);
    border: none;
    border-radius: var(--rounded-xl);
    font-size: var(--font-size-lg);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-all);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-top: var(--space-6);
    position: relative;
    overflow: hidden;
}

#place_order:hover,
.checkout-submit-btn:hover {
    background: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

#place_order:active,
.checkout-submit-btn:active {
    transform: translateY(0);
}

#place_order:disabled,
.checkout-submit-btn:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Button Loading State */
.checkout-submit-btn.processing {
    pointer-events: none;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    transition: var(--transition-all);
}

.checkout-submit-btn.processing .btn-content {
    opacity: 0;
}

.btn-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition-all);
}

.checkout-submit-btn.processing .btn-spinner {
    opacity: 1;
}

.spinner {
    display: flex;
    justify-content: flex-end;
    width: 24px;
    height: 24px;
    border: 3px solid grey;
    border-top: 3px solid black;
    border-radius: var(--rounded-full);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===============================================
   SECURITY FEATURES
   =============================================== */

.security-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-4);
    margin-top: var(--space-8);
    padding: var(--space-6);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--rounded-lg);
}

.security-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.security-item svg {
    color: var(--success-500);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

@media (max-width: 640px) {
    .security-features {
        grid-template-columns: 1fr 1fr 1fr;
        text-align: left;
    }
    .checkout-page, .checkout-page *, .checkout-page *::before, .checkout-page *::after {
  font-size: 0.8rem;

}
}

/* ===============================================
   WOOCOMMERCE NOTICES
   =============================================== */

.woocommerce-notices-wrapper {
    margin-bottom: var(--space-8);
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--rounded-lg);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-weight: 500;
    font-size: var(--font-size-sm);
    line-height: var(--leading-relaxed);
}

.woocommerce-message {
    background: var(--success-50);
    color: var(--success-700);
    border: 1px solid var(--success-200);
    border-left: 4px solid var(--success-500);
}

.woocommerce-error {
    background: var(--error-50);
    color: var(--error-700);
    border: 1px solid var(--error-200);
    border-left: 4px solid var(--error-500);
}

.woocommerce-info {
    background: var(--primary-50);
    color: var(--primary-700);
    border: 1px solid var(--primary-200);
    border-left: 4px solid var(--primary-500);
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: var(--space-1);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.woocommerce-message::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2316a34a" stroke-width="2"><path d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/></svg>');
}

.woocommerce-error::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23dc2626" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="15" y1="9" x2="9" y2="15"/><line x1="9" y1="9" x2="15" y2="15"/></svg>');
}

.woocommerce-info::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232563eb" stroke-width="2"><circle cx="12" cy="12" r="10"/><path d="m9 12 2 2 4-4"/></svg>');
}

/* ===============================================
   TERMS & CONDITIONS
   =============================================== */

.woocommerce-terms-and-conditions-wrapper {
    margin: var(--space-6) 0;
}

.woocommerce-terms-and-conditions-wrapper label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--font-size-sm);
    line-height: var(--leading-relaxed);
    color: var(--gray-700);
    cursor: pointer;
    font-weight: 500;
}

.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    margin-top: var(--space-1);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    accent-color: var(--primary-500);
}

.woocommerce-terms-and-conditions-wrapper a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-colors);
}

.woocommerce-terms-and-conditions-wrapper a:hover {
    color: var(--primary-700);
    text-decoration: underline;
}
.woocommerce form .form-row label.checkbox, .woocommerce-page form .form-row label.checkbox {
    display:block;
}

/* ===============================================
   WOOCOMMERCE TABLES
   =============================================== */

.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-6);
}

.woocommerce table.shop_table th {
    background: var(--gray-50);
    color: var(--gray-700);
    font-weight: 600;
    padding: var(--space-4);
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.woocommerce table.shop_table td {
    padding: var(--space-4);
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}

.woocommerce table.shop_table tr:last-child td {
    border-bottom: none;
}

.woocommerce table.shop_table tr:hover {
    background: var(--gray-50);
}

/* ===============================================
   COUPON FORM
   =============================================== */

.woocommerce-form-coupon {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    background: var(--gray-50);
    padding: var(--space-4);
    border: 2px dashed var(--gray-300);
    border-radius: var(--rounded-lg);
    margin-bottom: var(--space-6);
    transition: var(--transition-all);
}

.woocommerce-form-coupon:hover {
    border-color: var(--primary-300);
    background: var(--primary-50);
}

.woocommerce-form-coupon .input-text {
    flex-grow: 1;
    margin: 0;
    border: 2px solid var(--gray-200);
}

.woocommerce-form-coupon .input-text:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.woocommerce-form-coupon .button {
    flex-shrink: 0;
    background: var(--primary-600);
    color: var(--white);
    border: none;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--rounded-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-all);
    font-size: var(--font-size-sm);
}

.woocommerce-form-coupon .button:hover {
    background: var(--primary-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
    .woocommerce-form-coupon {
        flex-direction: column;
        align-items: stretch;
    }
    
    .woocommerce-form-coupon .button {
        width: 100%;
    }
}

/* Coupon Removal */
.remove-coupon {
    color: var(--error-500);
    text-decoration: none;
    margin-left: var(--space-2);
    font-weight: 700;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--rounded-full);
    background: var(--error-100);
    transition: var(--transition-all);
    font-size: var(--font-size-sm);
}

.remove-coupon:hover {
    background: var(--error-500);
    color: var(--white);
    transform: scale(1.1);
}

/* ===============================================
   WOOCOMMERCE RESET & OVERRIDES
   =============================================== */

/* Reset WooCommerce default styles */
.woocommerce .col2-set {
    display: block;
    width: 100%;
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 {
    width: 100%;
    float: none;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: 100% !important;
    float: none !important;
}
.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
    border:2px solid #e2e8f0;
    border-radius:0.5rem;
    height:3.5rem;
}

.woocommerce .checkout .col2-set .col-1,
.woocommerce .checkout .col2-set .col-2 {
    margin: 0;
    padding: 0;
}

/* Payment section overrides */
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
    color: var(--gray-700) !important;
    background: var(--gray-50) !important;
    margin: 0 !important;
    padding: var(--space-6) !important;
    border-radius: 0 !important;
}

#add_payment_method #payment div.payment_box::before,
.woocommerce-cart #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}

/* ===============================================
   CUSTOM DROPDOWN STYLING
   =============================================== */

.form-row select {
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236b7280" stroke-width="2"><polyline points="6,9 12,15 18,9"/></svg>');
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    background-size: 20px;
    padding-right: var(--space-12);
}

.form-row select:focus {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%233b82f6" stroke-width="2"><polyline points="6,9 12,15 18,9"/></svg>');
}

/* ===============================================
   ANIMATIONS
   =============================================== */

.checkout-card {
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-card:nth-child(2) {
    animation-delay: 0.1s;
}

.checkout-card:nth-child(3) {
    animation-delay: 0.2s;
}

.checkout-card:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth transitions for all interactive elements */
* {
    transition: var(--transition-colors);
}

input, select, textarea, button {
    transition: var(--transition-all);
}

/* ===============================================
   FOCUS MANAGEMENT & ACCESSIBILITY
   =============================================== */

.checkout-page *:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
    max-width: 100vh;
}

.checkout-page *:focus:not(:focus-visible) {
    outline: none;
}

.checkout-page *:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* Skip links for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: var(--space-6);
    background: var(--primary-600);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    border-radius: var(--rounded-lg);
    z-index: 100;
    transition: var(--transition-all);
}

.skip-link:focus {
    top: var(--space-6);
}

/* ===============================================
   PRINT STYLES
   =============================================== */

@media print {
    .checkout-progress,
    .security-features,
    .checkout-submit-btn,
    .collapsible-trigger {
        display: none !important;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr !important;
    }
    
    .checkout-card {
        box-shadow: none !important;
        border: 1px solid var(--gray-300) !important;
        break-inside: avoid;
    }
    
    .checkout-page {
        background: var(--white) !important;
        font-size: 12pt !important;
    }
}

/* ===============================================
   RESPONSIVE BREAKPOINTS
   =============================================== */

/* Mobile First - Base styles above are mobile */

/* Small tablets and large phones */
@media (min-width: 640px) {
    .checkout-page {
        padding:5px;
    }
}

/* Medium screens */
@media (min-width: 768px) {
    .card-header {
        flex-direction: row;
        align-items: center;
    }
    
    .user-status {
        flex-direction: row;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .checkout-page {
        padding:5px;
    }
    
    .checkout-grid {
        gap: 10px;
    }
}

/* Extra large screens */
@media (min-width: 1280px) {
    .checkout-page {
        padding: 5px;
    }
}

/* ===============================================
   UTILITY CLASSES (TAILWIND-STYLE)
   =============================================== */

.hidden {
    display: none !important;
}

.block {
    display: block !important;
}

.flex {
    display: flex !important;
}

.grid {
    display: grid !important;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.font-bold {
    font-weight: 700 !important;
}

.font-semibold {
    font-weight: 600 !important;
}

.font-medium {
    font-weight: 500 !important;
}

.text-primary {
    color: var(--primary-600) !important;
}

.text-gray-500 {
    color: var(--gray-500) !important;
}

.text-gray-700 {
    color: var(--gray-700) !important;
}

.bg-white {
    background-color: var(--white) !important;
}

.bg-gray-50 {
    background-color: var(--gray-50) !important;
}

.bg-primary {
    background-color: var(--primary-600) !important;
}

.rounded-lg {
    border-radius: var(--rounded-lg) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

/* ===============================================
   FINAL CLEANUP & COMPATIBILITY
   =============================================== */

/* Ensure all elements use border-box */
.checkout-page,
.checkout-page *,
.checkout-page *::before,
.checkout-page *::after {
    box-sizing: border-box;
}

/* Smooth scrolling */


/* Remove default margins and paddings that might interfere */
.checkout-page h1,
.checkout-page h2,
.checkout-page h3,
.checkout-page h4,
.checkout-page h5,
.checkout-page h6,
.checkout-page p,
.checkout-page ul,
.checkout-page ol,
.checkout-page li {
    margin: 0;
    padding: 0;
}

/* Ensure consistent line heights */
.checkout-page {
    line-height: var(--leading-normal);
}

/* Fix any potential z-index issues */
.checkout-progress {
    z-index: 10;
}

.checkout-card {
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  background: var(--white);
  border-radius: var(--rounded-xl);
  box-shadow: var(--shadow);
  transition: var(--transition-all);
  overflow: hidden; /* Fontos a túlcsordulás megakadályozására */
}
.checkout-overlay {
    z-index: 9999;
}

/* Ensure form elements are properly styled */
.checkout-page input,
.checkout-page select,
.checkout-page textarea,
.checkout-page button {
    font-family: inherit;
    font-size: inherit;
}

/* Fix potential issues with WooCommerce notices */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
    list-style: none;
}

/* Ensure proper stacking of elements */
.collapsible-content {
    position: relative;
    z-index: 1;
}

#payment_method_cheque {
    display: none !important;
}
#payment_method_bacs {
    display: none !important;
}

#payment_method_cod {
    display: none !important;
}
#payment_method_barion {
    display:none !important;
}

/* order review */

.modern-review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-section {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--rounded-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow);
}

.review-items {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.review-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: .5rem;
}

.review-item:last-child {
  border-bottom: none;
}

.review-item .item-name {
  font-weight: 600;
  color: var(--gray-700);
}

.review-item .quantity {
  color: var(--gray-500);
  margin-left: .25rem;
  font-weight: 500;
}

.item-total {
  font-weight: 700;
  color: var(--primary-600);
}

.totals .total-row {
  display: flex;
  justify-content: space-between;
  padding: .25rem 0;
  font-size: var(--font-size-base);
}

.totals .final {
  border-top: 2px solid var(--gray-200);
  margin-top: .5rem;
  padding-top: .5rem;
  font-weight: 700;
  font-size: var(--font-size-xl);
  color: var(--primary-600);
}
.total-row .label {
    font-weight: 900;
}

.total-row .final {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.final .value {
    display: grid;
    text-align: right !important;
}



.woocommerce-shipping-methods {
    font-family: Inter;
    font-size: 14px;


}
.woocommerce-shipping-methods li {
    width: 100%;
    margin-bottom: 10px !important;
    display: grid;
    justify-self: stretch;
}
.woocommerce-shipping-methods li label{
    width: 100vh !!important;
    padding:5px; 
  border: 2px solid;
  border-radius: 8px;
  border-color: var(--gray-200);;

  margin-bottom: 10px !important;
}
.woocommerce-shipping-methods li label:hover {

    text-decoration: underline;
    border: 2px solid;
    background-color: var(--primary-50);
  border-color:var(--primary-700);
  border-radius: 8px;
    
}

.woocommerce-shipping-methods input[type="radio"] {
  display: none; /* elrejti a checkboxot */
}



.woocommerce-shipping-methods input[type="radio"]:checked + label {
  background-color: var(--primary-50);
  padding:5px; 
  border: 2px solid;
  border-color:var(--primary-700);
  border-radius: 8px;
}

.vp-woo-pont-shipping-method-icons {
    display: none;
}

.vp-woo-pont-review-order-selected-info {
    display: grid;

}

    #vp-woo-pont-show-map {
        width: 100vh !!important;
    padding:5px; 
  border: 2px solid;
  border-radius: 8px;
  border-color: var(--gray-200);;

  margin-bottom: 10px !important;
  color: black;
}

#vp-woo-pont-show-map:hover {
    text-decoration: underline;
    border: 2px solid;
    background-color: var(--primary-50);
  border-color:var(--primary-700);
  border-radius: 8px;
}
#szallitas {
    text-align: center;
    font-weight: 700;
    font-size: 15px;
}
.login-card .collapsible-content,
.order-summary-card .collapsible-content {
    display: none;
}







/* ----------------------------------------------------
   1) Replace those “width:100vh” labels on mobile
---------------------------------------------------- */
@media (max-width: 640px) {
  .woocommerce-shipping-methods li label,
  #vp-woo-pont-show-map {
    width: 100% !important;
  }
}

/* ----------------------------------------------------
   2) Make every input/select/textarea fluid
      (and respect its container’s padding)
---------------------------------------------------- */
.checkout-page input[type="text"],
.checkout-page input[type="email"],
.checkout-page input[type="tel"],
.checkout-page select,
.checkout-page textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ----------------------------------------------------
   3) Ensure your main checkout grid goes single-col
---------------------------------------------------- */
@media (max-width: 1023px) {
  .checkout-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ----------------------------------------------------
   4) Tame any overflow on the cards
---------------------------------------------------- */
.checkout-card {
  overflow: hidden;
  word-break: break-word;
}















/* FOOTER footer */

/* --- FOOTER STÍLUSOK (Tailwind-szerű tiszta CSS-ben) --- */

.site-footer {
  background: linear-gradient(90deg, #242F5C 0%, #0A0F1A 100%) !important;/* bg-gray-50 */
  color: #fff !important; /* text-gray-800 */
  padding-top: 4rem;
  padding-bottom: 4rem;
  font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
}

.footer-inner {
  max-width: 2600px; /* max-w-6xl */
  margin: 0 auto;
  padding-left: 1rem; /* px-4 */
  padding-right: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem; /* gap-8 */
}

.footer-column {
  margin-bottom: 2rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 150px;
  height: auto;
}

.branding-text {
  font-size: 0.875rem; /* text-sm */
  line-height: 1.5; /* leading-relaxed */
  color: #fff; /* text-gray-500 */
}

.footer-heading {
  font-size: 1rem; /* text-base */
  font-weight: 600; /* font-semibold */
  color: #fff; /* text-gray-800 */
  margin-bottom: 1.5rem; /* mb-6 */
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem; /* mb-3 */
}

.footer-links a {
  color: #fff; /* text-gray-600 */
  font-size: 0.875rem; /* text-sm */
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.footer-links a:hover {
  color: #2563eb; /* text-blue-600 */
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #fff;
}

.contact-info i {
  margin-right: 0.5rem; /* mr-2 */
  color: #fff; /* text-gray-500 */
}

.social-icons {
  display: flex;
  gap: 1rem; /* gap-4 */
  margin-top: 1.5rem; /* mt-6 */
}

.social-icon-link {
  color: #6b7280; /* text-gray-500 */
  font-size: 1.5rem; /* text-2xl */
  transition: color 0.2s ease-in-out;
}

.social-icon-link:hover {
  color: #2563eb; /* text-blue-600 */
}

.copyright-bar {
  border-top: 1px solid #e5e7eb; /* border-t border-gray-200 */
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.copyright-bar p {
  font-size: 0.875rem; /* text-sm */
  color: #6b7280; /* text-gray-500 */
}

/* --- RESZPONZÍV DESIGN --- */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 1.5rem;
  }

  .footer-logo {
    margin: 0 auto 1rem auto;
  }

  .footer-links, .contact-info {
    text-align: center;
  }

  .contact-info li {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}


/* KATALÓGUS katalógus katalogus */
.catalog-details-link {
display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.75rem 1rem !important;
    background-color: #2563eb !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    transition: all 200ms ease-in-out !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    text-decoration: none;
    cursor: pointer !important;
    border: none;
    height: 1rem !important;
}
.catalog-details-link:hover {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #2563eb !important;
    background-color: #1d4ed8 !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    transition: all 200ms ease-in-out !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    text-decoration: none;
    cursor: pointer !important;
    border: none;
    height: 1rem !important;
}





@media (max-width: 480px) {
  .count-badge {
    font-size: 0.7rem;
  }
 }






























/* profile */


/* ===============================================
   MY ACCOUNT PAGE - MODERN TAILWIND-STYLE
   =============================================== */

/* --- Design System (Variables) --- */
:root {
    --account-bg: #f9fafb; /* gray-50 */
    --account-card-bg: #ffffff; /* white */
    --account-border-color: #e5e7eb; /* gray-200 */
    --account-text-dark: #1f2937; /* gray-800 */
    --account-text-medium: #4b5563; /* gray-600 */
    --account-text-light: #6b7280; /* gray-500 */
    --account-primary-color: #2563eb; /* blue-600 */
    --account-primary-hover: #1d4ed8; /* blue-700 */
    --account-primary-light: #eff6ff; /* blue-50 */
    --account-success-color: #16a34a; /* green-600 */
    --account-warning-color: #f59e0b; /* amber-500 */
    --account-error-color: #dc2626; /* red-600 */
    --account-radius: 0.75rem; /* rounded-xl */
    --account-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --account-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* --- Main Layout & Wrapper --- */
.woocommerce-MyAccount-content,
.woocommerce-MyAccount-navigation {
    width: 100%;
}

.account-container {
    max-width: 2600px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100% !important;
}
.woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
}

@media (min-width: 1024px) {
    .account-container {
        grid-template-columns: 1fr 2fr;
    }
}

/* --- Base Card Style --- */
.account-card {
    background-color: var(--account-card-bg);
    border-radius: var(--account-radius);
    box-shadow: var(--account-shadow);
    overflow: hidden;
}

.account-card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--account-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--account-text-dark);
    margin: 0;
}

.account-card-body {
    padding: 1.5rem;
}

/* --- Navigation --- */
.account-nav-list {
    list-style: none;
    margin: 0;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.account-nav-list-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    color: var(--account-text-medium);
    transition: all 0.2s ease;
}

.account-nav-list-item a:hover {
    background-color: var(--account-primary-light);
    color: var(--account-primary-hover);
}

.account-nav-list-item.is-active a {
    background: linear-gradient(135deg, var(--account-primary-color), var(--account-primary-hover));
    color: #fff;
    box-shadow: var(--account-shadow-lg);
    transform: translateY(-2px);
}

/* --- Dashboard --- */
.dashboard-welcome .user-name {
    color: var(--account-primary-color);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.dashboard-stat-card {
    background: linear-gradient(135deg, var(--account-card-bg) 0%, #f8fafc 100%);
    padding: 1.5rem;
    border-radius: var(--account-radius);
    border: 1px solid var(--account-border-color);
    text-align: center;
}
.dashboard-stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--account-primary-color);
}
.dashboard-stat-card .stat-label {
    font-weight: 600;
    color: var(--account-text-medium);
}

/* --- Form Edit Account --- */
.account-form .form-row {
    margin-bottom: 1.25rem;
}

.account-form label {
    display: block;
    font-weight: 600;
    color: var(--account-text-dark);
    margin-bottom: 0.5rem;
}

.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--account-border-color);
    border-radius: 0.5rem;
    background: #fff;
    color: var(--account-text-dark);
    font-weight: 500;
    outline: none;
    box-shadow: var(--search-shadow-sm, 0 1px 2px rgba(0,0,0,0.04));
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.account-form input:focus {
    border-color: var(--account-primary-color);
    box-shadow: 0 0 0 3px var(--primary-100, #dbeafe);
}

.account-form .password-hint {
    font-size: 0.875rem;
    color: var(--account-text-light);
    margin-top: 0.5rem;
}

.account-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--account-primary-color);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 150ms ease;
}

.account-form button:hover {
    background: var(--account-primary-hover);
    box-shadow: var(--account-shadow-lg);
    transform: translateY(-2px);
}

/* --- Orders & View Order --- */
.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th, .orders-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--account-border-color);
}

.orders-table th {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--account-text-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.orders-table tbody tr:last-child td {
    border-bottom: none;
}

.order-number {
    font-weight: 700;
    color: var(--account-text-dark);
}

.order-status {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 9999px;
    white-space: nowrap;
}
.status-completed, .status-processing {
    background-color: #dcfce7; color: #16a34a;
}
.status-on-hold {
    background-color: #fef3c7; color: #d97706;
}
.status-cancelled, .status-failed {
    background-color: #fee2e2; color: #dc2626;
}
.status-pending {
    background-color: #e5e7eb; color: #4b5563;
}

.order-actions .btn-view {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: var(--account-primary-light);
    color: var(--account-primary-hover);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}
.order-actions .btn-view:hover {
    background: var(--account-primary-color);
    color: #fff;
}

/* --- View Order Page Specifics --- */
.order-details-header {
    margin-bottom: 2rem;
}

.order-status-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: #f8fafc;
    border-radius: var(--account-radius);
    margin-bottom: 2rem;
}
.timeline-step {
    text-align: center;
    position: relative;
    flex: 1;
}
.timeline-step .dot {
    width: 24px;
    height: 24px;
    background-color: var(--account-border-color);
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    border: 3px solid #fff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.timeline-step.completed .dot {
    background-color: var(--account-success-color);
}
.timeline-step .label {
    font-weight: 600;
    color: var(--account-text-light);
}
.timeline-step.completed .label {
    color: var(--account-text-dark);
}
.timeline-connector {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 100%;
    height: 3px;
    background-color: var(--account-border-color);
    z-index: -1;
}
.timeline-step.completed .timeline-connector {
    background-color: var(--account-success-color);
}
.timeline-step:first-child .timeline-connector {
    left: 50%;
}
.timeline-step:last-child .timeline-connector {
    width: 0;
}

.address-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
@media (min-width: 768px) {
    .address-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.address-card address {
    font-style: normal;
    line-height: 1.6;
    color: var(--account-text-medium);
}



/* ===============================================
   MY ACCOUNT - EDIT ADDRESS PAGE
   =============================================== */

.account-address-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .account-address-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.address-form-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

/* Kétoszlopos elrendezés a név és hasonló mezőknek */
.address-form-fields .form-row-first,
.address-form-fields .form-row-last {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .address-form-fields {
        grid-template-columns: repeat(2, 1fr);
    }
    .address-form-fields .form-row-wide {
        grid-column: span 2;
    }
}

/* WooCommerce által generált <p> tagek alap margójának eltávolítása */
.address-form-fields .form-row {
    margin: 0 !important;
}

/* Select2 (ország/megye választó) stílusok felülírása */
.select2-container .select2-selection--single {
    height: calc(0.75rem * 2 + 1rem + 2px) !important; /* Összehangolva az input mezők magasságával */
    border: 1px solid var(--account-border-color) !important;
    border-radius: 0.5rem !important;
    background: #fff !important;
    outline: none;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(0.75rem * 2 + 1rem) !important;
    color: var(--account-text-dark) !important;
    font-weight: 500;
    padding-left: 1rem !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(0.75rem * 2 + 1rem) !important;
    right: 0.5rem !important;
}
.select2-dropdown {
     border: 1px solid var(--account-border-color) !important;
     border-radius: 0.5rem !important;
     box-shadow: var(--account-shadow-lg) !important;
}










/*--------------- Optimize szállítás ---------------*/


    .shipping-optimizer { background: #f9f9f9; padding: 20px; border-radius: 8px; margin: 20px 0; }
.cart-items-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.cart-items-table th, .cart-items-table td { border: 1px solid #ddd; padding: 8px; text-align: left; }
.cart-items-table th { background-color: #f2f2f2; font-weight: bold; }
.shipping-results { margin-top: 20px; }
.shipping-option { background: white; border: 1px solid #ddd; border-radius: 5px; padding: 15px; margin-bottom: 15px; }
.shipping-option h5 { color: #2271b1; margin-top: 0; }
.packages-detail { margin-top: 10px; }
.package { background: #f8f9fa; border-left: 4px solid #2271b1; padding: 15px; margin: 10px 0; border-radius: 5px; }
.package h6 { margin: 0 0 10px 0; color: #333; font-size: 1.1em; }
.package-content { background: #ffffff; padding: 15px; border-radius: 5px; margin: 10px 0; }
.package-items { margin-bottom: 15px; }
.package-items strong { color: #333; display: block; margin-bottom: 8px; }
.package-item { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #e0e0e0; }
.package-item:last-child { border-bottom: none; }
.item-name { font-weight: 500; color: #2c3e50; }
.item-details { color: #666; font-size: 0.9em; }
.package-summary { background: #e8f4f8; border: 1px solid #b3d9e6; border-radius: 4px; padding: 12px; margin-top: 10px; }
.summary-item { display: inline-block; margin-right: 15px; font-size: 0.9em; }
.shipping-summary { background: #f0f8ff; border-left: 4px solid #2196f3; padding: 10px 15px; margin-top: 15px; font-size: 0.95em; color: #1565c0; }
.no-shipping-available, .shipping-optimizer-error { background: #ffebe9; border: 1px solid #ff6b6b; border-radius: 8px; padding: 20px; color: #d63031; margin: 20px 0; }
.no-shipping-available h4 { margin-top: 0; color: #d63031; }
.no-shipping-available ul { padding-left: 20px; }
.no-shipping-available li { margin-bottom: 8px; }
.shipping-optimizer-empty { background: #e3f2fd; border: 1px solid #2196f3; border-radius: 5px; padding: 15px; color: #1976d2; }
.results-summary { background: #e8f5e8; border: 1px solid #4caf50; border-radius: 5px; padding: 10px; margin-bottom: 20px; color: #2e7d32; }
.shipping-option.recommended { border: 2px solid #4caf50; background: #f9fff9; }
.shipping-badge { background: #4caf50; color: white; padding: 5px 10px; border-radius: 3px; font-size: 12px; font-weight: bold; display: inline-block; margin-bottom: 10px; }



.leaflet-container .leaflet-control-attribution {
    display:none !important;
}







 .hero-badge h1 {
        background-color: rgba(59, 130, 246, 0.1); /* Áttetsző kék */
        color: #60A5FA; /* Világoskék */
        padding: 6px 14px;
        border-radius: 9999px; /* Teljesen lekerekített */
        font-size: 14px !important;
        font-weight: 600;
        display: inline-block; /* Hogy csak a tartalom szélességét vegye fel */
        margin-bottom: 24px;
    }



