/* ==========================================
   1. WOOCOMMERCE CÍMEK OLDAL (FIÓK)
   ================================---------- */

.woocommerce-MyAccount-content .u-columns.woocommerce-Addresses {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    margin-top: 20px !important;
    max-width: 800px !important;
}

.woocommerce-MyAccount-content .u-column1,
.woocommerce-MyAccount-content .u-column2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
}

.woocommerce-MyAccount-content header.woocommerce-Address-title {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 18px !important;
    border-bottom: 1px solid #edf2f7 !important;
    padding-bottom: 12px !important;
}

.woocommerce-MyAccount-content header.woocommerce-Address-title h3 {
    margin: 0 !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    white-space: nowrap !important;
}

.woocommerce-MyAccount-content header.woocommerce-Address-title a.edit {
    display: inline-block !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    padding: 6px 14px !important;
    background: transparent !important;
    color: #25acb9 !important;
    border: 1px solid #25acb9 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.2s ease-in-out !important;
}

.woocommerce-MyAccount-content header.woocommerce-Address-title a.edit:hover {
    background: #25acb9 !important;
    color: #ffffff !important;
}

.woocommerce-MyAccount-content address {
    font-style: normal !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    font-size: 0.95rem !important;
}


/* ==========================================
   2. FEJLÉC IKONOK ÉS KERESŐ
   ================================---------- */

.search-toggle-open .kadence-svg-iconset,
.header-cart-button .kadence-svg-iconset {
  display: none !important;
}

.search-toggle-open::before,
.header-cart-button::before,
.menu-account-icon > a::before {
  content: "";
  display: inline-block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.search-toggle-open,
.header-cart-button,
.menu-account-icon > a {
  display: flex;
  align-items: center;
}

.search-toggle-open::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23587089' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20.5 20.5L16 16'/%3E%3C/svg%3E");
}
.search-toggle-open:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232cb1bc' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20.5 20.5L16 16'/%3E%3C/svg%3E");
}

.menu-account-icon > a {
  font-size: 0 !important;
  display: flex;
  align-items: center;
}
.menu-account-icon > a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23587089' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/%3E%3C/svg%3E");
}
.menu-account-icon:hover > a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232cb1bc' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/%3E%3C/svg%3E");
}

.header-cart-button::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23587089' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a1 1 0 0 0 1 .8h8.8a1 1 0 0 0 1-.8L20 8H6'/%3E%3Ccircle cx='9.5' cy='20' r='1'/%3E%3Ccircle cx='17.5' cy='20' r='1'/%3E%3C/svg%3E");
}
.header-cart-button:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232cb1bc' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a1 1 0 0 0 1 .8h8.8a1 1 0 0 0 1-.8L20 8H6'/%3E%3Ccircle cx='9.5' cy='20' r='1'/%3E%3Ccircle cx='17.5' cy='20' r='1'/%3E%3C/svg%3E");
}

.search-toggle-open,
.menu-account-icon,
.header-cart-button {
  margin-left: 0;
  margin-right: 0;
}
.header-navigation .menu-account-icon > a,
.search-toggle-open {
  padding-left: 8px;
  padding-right: 8px;
}

.header-cart-button {
  position: relative !important;
}

.header-cart-button .header-cart-total,
.header-cart-button .count {
  position: absolute !important;
  top: -6px !important;
  right: -8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  padding: 0 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  border-radius: 50% !important;
  background-color: #25acb9 !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  line-height: 1 !important;
  transition: opacity .25s ease, transform .25s ease !important;
  z-index: 2 !important;
}

body.cart-is-empty .header-cart-button .header-cart-total,
body.cart-is-empty .header-cart-button .count {
  opacity: 0 !important;
  transform: scale(.5) !important;
  pointer-events: none !important;
}

@keyframes cart-pop {
  0%   { transform: scale(.4); }
  60%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.header-cart-total.cart-pop,
.header-cart-button .count.cart-pop {
  animation: cart-pop .4s ease !important;
}


/* ==========================================
   3. KOSÁR WIDGET ÉS ÉRTESÍTÉSEK ELREJTÉSE
   ================================---------- */

.woocommerce-notices-wrapper,
.woocommerce-message {
    display: none !important;
}

.widget_shopping_cart,
.kadence-slideout-cart {
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* Nagyobb Mini kosár cím */
.mini-cart-main-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    padding: 0 0 14px 0 !important;
    margin-bottom: 14px !important;
    border-bottom: 2px solid #25acb9 !important;
}

/* Termék sorok és balra igazítás */
.widget_shopping_cart .cart_list li,
.woocommerce-mini-cart li.woocommerce-mini-cart-item {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  padding: 12px 35px 12px 65px !important;
  min-height: 60px !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid #eaeaea !important;
}

.widget_shopping_cart .cart_list li:last-child,
.woocommerce-mini-cart li.woocommerce-mini-cart-item:last-child {
  border-bottom: none !important;
}

/* Termékkép bal oldalon */
.widget_shopping_cart .cart_list li img,
.woocommerce-mini-cart li.woocommerce-mini-cart-item img {
  position: absolute !important;
  left: 10px !important;
  top: 15px !important;
  transform: none !important;
  width: 45px !important;
  height: 45px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  margin: 0 !important;
}

/* Szövegcsomagoló (név + ár/db egymás alatt, balra igazítva) */
.mini-cart-content-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  width: 100% !important;
}

/* Terméknév stílusa */
.widget_shopping_cart .cart_list li a.mini-cart-title,
.woocommerce-mini-cart li.woocommerce-mini-cart-item a:not(.remove) {
  color: #25acb9 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  display: block !important;
  margin-bottom: 3px !important;
}

.widget_shopping_cart .cart_list li a.mini-cart-title:hover,
.woocommerce-mini-cart li.woocommerce-mini-cart-item a:not(.remove):hover {
  text-decoration: underline !important;
}

/* Mennyiség és ár közvetlenül a név alatt, balra */
.widget_shopping_cart .cart_list li .quantity,
.woocommerce-mini-cart li.woocommerce-mini-cart-item .quantity {
  display: block !important;
  text-align: left !important;
  font-size: 14px !important;
  color: #64748b !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

/* X törlés gomb */
.widget_shopping_cart .cart_list li a.remove,
.woocommerce-mini-cart li.woocommerce-mini-cart-item a.remove {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background-color: #f1f5f9 !important;
  color: #64748b !important;
  font-size: 11px !important;
  border: none !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.widget_shopping_cart .cart_list li a.remove:hover,
.woocommerce-mini-cart li.woocommerce-mini-cart-item a.remove:hover {
  background-color: #ef4444 !important;
  color: #ffffff !important;
}

/* Részösszeg sáv */
.widget_shopping_cart .woocommerce-mini-cart__total,
.woocommerce-mini-cart__total {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin: 16px 0 !important;
  padding-top: 12px !important;
  border-top: 1px solid #eaeaea !important;
  font-size: 16px !important;
  color: #1e293b !important;
}

/* Gombok egymás alatt, teljes szélességben */
.widget_shopping_cart .woocommerce-mini-cart__buttons,
.woocommerce-mini-cart__buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 !important;
  width: 100% !important;
}

.widget_shopping_cart .woocommerce-mini-cart__buttons a.button,
.woocommerce-mini-cart__buttons a.button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 12px 20px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  text-align: center !important;
}

/* KOSÁR GOMB: Türkiz keretes, fehér alapon */
.widget_shopping_cart .woocommerce-mini-cart__buttons a.button.custom-cart-btn,
.woocommerce-mini-cart__buttons a.button:not(.checkout) {
  background: #ffffff !important;
  color: #25acb9 !important;
  border: 2px solid #25acb9 !important;
  box-shadow: none !important;
}

.widget_shopping_cart .woocommerce-mini-cart__buttons a.button.custom-cart-btn:hover,
.woocommerce-mini-cart__buttons a.button:not(.checkout):hover {
  background: #f8fafc !important;
  color: #1ea0ac !important;
}

/* PÉNZTÁR GOMB: Teljes türkiz kitöltés */
.widget_shopping_cart .woocommerce-mini-cart__buttons a.button.checkout,
.woocommerce-mini-cart__buttons a.button.checkout {
  background: #25acb9 !important;
  color: #ffffff !important;
  border: 2px solid #25acb9 !important;
}

.widget_shopping_cart .woocommerce-mini-cart__buttons a.button.checkout:hover,
.woocommerce-mini-cart__buttons a.button.checkout:hover {
  background: #1ea0ac !important;
  border-color: #1ea0ac !important;
  color: #ffffff !important;
}

/* ==========================================
   MINI KOSÁR JAVÍTÁSOK (CÍM TÉRKÖZ + ÁR BALRA ÉS BOLD)
   ================================---------- */

/* A mini kosár konténer belső margója legfelül (hogy ne lógjon ki a felirat) */
.widget_shopping_cart,
.kadence-slideout-cart {
    padding: 24px 20px 20px 20px !important; /* Felülre kapott egy kis extra helyet */
    box-sizing: border-box !important;
}

/* 1. TÉRÖSZ FENT: „Mini kosár” cím eltolása lefelé, hogy ne legyen túl a tetején */
.mini-cart-main-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    padding: 8px 0 14px 0 !important;
    margin-top: 16px !important; /* Itt adjuk hozzá a tisztes helyet fent */
    margin-bottom: 14px !important;
    border-bottom: 2px solid #25acb9 !important;
}

/* Termék sorok struktúrája */
.widget_shopping_cart .cart_list li,
.woocommerce-mini-cart li.woocommerce-mini-cart-item {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  padding: 12px 35px 12px 65px !important;
  min-height: 60px !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid #eaeaea !important;
}

/* Szövegcsomagoló: Kényszerítjük, hogy minden balra húzzon */
.mini-cart-content-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  width: 100% !important;
}

/* Terméknév */
.widget_shopping_cart .cart_list li a.mini-cart-title,
.woocommerce-mini-cart li.woocommerce-mini-cart-item a:not(.remove) {
  color: #25acb9 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  display: block !important;
  text-align: left !important;
  width: 100% !important;
  margin-bottom: 3px !important;
}

/* 2. TERMÉK SOROK ÉS BALRA IGAZÍTÁS KÉNYSZERÍTÉSE */
.widget_shopping_cart .cart_list li,
.woocommerce-mini-cart li.woocommerce-mini-cart-item {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  padding: 14px 35px 14px 65px !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid #eaeaea !important;
}

/* Szövegcsomagoló, hogy elegendő szélessége legyen a névnek és az árnak */
.mini-cart-content-wrapper {
  display: block !important;
  text-align: left !important;
  width: 100% !important;
}

#mc-drawer > div > div > ul > li > div > span {padding-left: 0px;}

/* ==========================================
   NAGY KOSÁR (CART PAGE): TÖRLÉS GOMB STÍLUSÁNAK IGAZÍTÁSA
   ========================================== */

.woocommerce-cart .woocommerce-cart-form__contents .product-remove a.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background-color: #f1f5f9 !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: normal !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  margin: 0 auto !important;
}

/* Hover effektek a nagy kosár törlés gombján */
.woocommerce-cart .woocommerce-cart-form__contents .product-remove a.remove:hover {
  background-color: #ef4444 !important;
  color: #ffffff !important;
}

.woocommerce-cart button[name="update_cart"] {
  display: none !important;
}

/* Térköz a kosár táblázat és a lejjebb csúszott "Kosár összesen" szekció közé */
.woocommerce-cart .woocommerce-cart-form {
  margin-bottom: 40px !important;
}

/* Térköz a "Kosár tartalma" cím és a táblázat teteje közé */
.woocommerce-cart .woocommerce > h2,
.woocommerce-cart .cart-collaterals ~ h2,
.woocommerce-cart .woocommerce-cart-form h2,
.woocommerce-cart h1.entry-title + * {
  margin-top: 50px !important;
  margin-bottom: 20px !important;
}

/* A jobb oldali "Kosár összesen" doboz igazítása és szimmetrizálása asztali nézetben */
@media (min-width: 1025px) {
  .woocommerce-cart .cart-collaterals {
    display: flex;
    justify-content: flex-end;
  }
  
  .woocommerce-cart .cart-collaterals .cart_totals {
    width: 100% !important;
    max-width: 420px !important;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    padding: 30px;
    border-radius: 8px;
    box-shadow: none;
  }
}

/* A szállítási számítás és opciók elrejtése kizárólag a kosár oldalon */
.woocommerce-cart .cart_totals .woocommerce-shipping-totals,
.woocommerce-cart .cart_totals shipping-calculator-button {
  display: none !important;
}

/* A jobb oldali "Kosár összesen" doboz lejjebb tolása asztali nézetben */
@media (min-width: 1025px) {
  .woocommerce-cart .cart-collaterals {
    margin-top: 100px !important; /* Itt tudod milliméterre pontosan lejjebb vagy feljebb vinni */
  }
}

/* 1. Az ajándékok rácsának kitöltése a teljes bal oldali sáv szélességére */
.fgw_gift_slider, .fgw-products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
}

/* 2. A "Válasszon egy ajándékot" cím egységesítése a "Kosár tartalma" címmel */
.fgw_gift_div > div[style*="font-size"], 
.fgw-gift-title-heading, 
.fgw_gift_div h3, 
.fgw_gift_div .section-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--global-palette3, #111827) !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.01em;
}

/* A Free: Yes sor elrejtése a kosárban */
td.product-name dl.variation,
td.product-name .variation-Free,
td.product-name dt.variation-Free,
td.product-name dd:has(+ dt.variation-Free),
td.product-name dt.variation-Free + dd {
    display: none !important;
}

/* --- 1. A "Mind a(z) 8 találat" szöveg végleges eltüntetése --- */
.woocommerce-result-count {
    display: none !important;
}

/* --- 2. A fejléc alatti üres részek és margók eltüntetése --- */
.woocommerce-products-header, 
.archive-header,
.page-header {
    margin-bottom: 20px !important;
    padding-bottom: 0 !important;
}

/* --- 3. A főcím alatti felesleges helyköz nullázása, hogy a termékek feljebb jöjjenek --- */
.woocommerce-products-header h1.page-title, 
.archive-header h1.entry-title,
.page-header h1.entry-title {
    margin-bottom: 0 !important;
}

/* --- 4. A jobb oldali rendező sáv helyzetének stabilizálása a számláló nélkül --- */
.woocommerce-ordering {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* --- A Kosár és Pénztár kék sablonfejlécének teljes gyomlálása --- */
body.woocommerce-cart .entry-hero,
body.woocommerce-checkout .entry-hero,
body.woocommerce-cart .page-hero-section,
body.woocommerce-checkout .page-hero-section,
body.woocommerce-cart .woocommerce-products-header,
body.woocommerce-checkout .woocommerce-products-header,
body.woocommerce-cart div[class*="hero"],
body.woocommerce-checkout div[class*="hero"] {
    display: none !important;
}

/* Ha maradna egy üres sáv, annak a magasságát és háttérszínét is nullázzuk */
body.woocommerce-cart .entry-header,
body.woocommerce-checkout .entry-header {
    background: #ffffff !important;
    background-color: #ffffff !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* Főcím alsó margójának csökkentése */
.fgw_gift_div > div[style*="font-size"] {
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
}

/* Alcím felhúzása a főcímhez */
.fgw_gift_div > div[style*="font-size"]::after {
    content: "Az akció a készlet erejéig érvényes.";
    display: block;
    font-size: 15px !important;
    font-weight: 300 !important;
    margin-top: 5px !important; /* Itt tudod finomítani a távolságot */
    margin-bottom: 30px !important; /* Alsó távolság a kártyáktól */
    letter-spacing: normal;
}

/* A Profil / Fiók oldalak nagy kék címsorának eltüntetése */
.woocommerce-account .entry-hero, 
.woocommerce-account h1.entry-title {
    display: none !important;
}

/* A kényelmi doboz áttolása teljes szélességben a tartalom alá */
.woocommerce-account .woocommerce div.woocommerce-MyAccount-content > div:last-of-type {
    clear: both !important;
    width: 100% !important;
    display: block !important;
    float: none !important;
    margin-top: 30px !important;
}

/* --- LÁGYVÍZ EXPRESSZ: KÉNYELMI UTÁNTÖLTÉS MODUL CSS --- */

.la-refill-card {
    width: 100%;
    display: block;
    padding: 35px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.la-refill-card .la-refill-title {
    margin: 0 0 20px 0 !important;
    color: #0F2A43;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Leíró szöveg: balra igazítva, 16px-es mérettel */
.la-refill-desc {
    color: #334155;
    font-size: 16px;
    max-width: 100%;
    margin: 0 0 25px 0 !important;
    line-height: 1.6;
    text-align: left;
}

.la-refill-desc strong {
    font-size: 16px;
    color: #0F2A43;
}

.la-refill-status-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: left;
}

.la-refill-status-title {
    margin-top: 0;
    color: #0F2A43;
    font-size: 16px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Státusz sor: zöld szöveg balra, törlés gomb jobbra, tökéletesen egy sorban, zéró margókkal */
.la-refill-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 10px 0;
    padding: 0;
}

.la-refill-status-row p,
.la-refill-status-text {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    color: #1e293b;
}

.la-status-active {
    color: #059669;
    font-size: 15px;
    font-weight: 700;
}

.la-date-highlight {
    color: #0F2A43;
}

.la-refill-form {
    text-align: center;
    margin-bottom: 20px;
}

.la-refill-form-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.la-refill-select {
    padding: 12px 18px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #fff;
    font-size: 14px;
    color: #1e293b;
}

.la-refill-btn-primary {
    background-color: #0d9488 !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.la-refill-btn-primary:hover {
    background-color: #0f766e !important;
}

.la-refill-footer-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    margin-top: 20px;
}

.la-refill-btn-secondary {
    background-color: #475569;
    color: #ffffff;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.la-refill-btn-secondary:hover {
    background-color: #334155;
}

/* Szolid, elegáns pasztell piros törlés gomb közvetlenül az Aktív sorában */
.la-refill-btn-danger-inline {
    background-color: #fff5f5;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-block;
    margin: 0 !important;
}
.la-refill-btn-danger-inline:hover {
    background-color: #fee2e2;
    border-color: #f87171;
    color: #991b1b;
}

.la-refill-notice {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.5;
    background-color: #f7f6f7;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.la-refill-notice::before,
.la-refill-notice::after {
    display: none !important;
    content: none !important;
}

.la-refill-success {
    border-left: 4px solid #059669;
    color: #065f46;
    background-color: #ecfdf5;
}

.la-refill-error {
    border-left: 4px solid #e53e3e;
    color: #9b2c2c;
    background-color: #fff5f5;
}

.la-refill-warning {
    border-left: 4px solid #b91c1c;
    color: #b91c1c;
    background-color: #fef2f2;
    font-weight: 500;
}

/* --- HERO SZEKCIÓ: Főcím és Alcím közelebb húzása --- */
.wp-block-kadence-advancedheading.kt-adv-heading974_48125f-dc {
    margin-bottom: 12px !important;
}

h2.wp-block-heading.has-theme-palette-5-color.has-text-color.has-link-color.wp-elements-1 {
    margin-bottom: 20px !important;
}

/* 1. Az üres termék fejléc eltüntetése */
.woocommerce-products-header {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Felső tartalomkonténer nullázása */
body.post-type-archive-product #primary.content-area,
body.woocommerce-shop #primary.content-area {
    padding-top: 0px !important;
    margin-top: 0px !important;
}

/* 3. Elegáns, szellős margó a menü és a rendező sáv között */
.kadence-shop-top-row {
    margin-top: 0 !important;
    padding-top: 35px !important; /* Itt állíthatod: 30px és 45px között lesz a legszebb */
}

/* Csak a termékfotó / képgaléria lejjebb tolása az egyedi termékoldalon */
.single-product div.product div.images {
    margin-top: 25px !important; /* Itt tudod milliméterre beállítani, mennyi hely legyen a kép teteje felett */
}

/* Oldalcímek és borítósávok teljes elrejtése a sima aloldalakon */
.page .entry-header,
.page-title-action-wrap {
    display: none !important;
}

/* 1. Elegáns, lágy sötét háttér a teljes képernyőn (fókusz kiemelése) */
#search-drawer .drawer-overlay {
    background-color: rgba(15, 23, 42, 0.82) !important;
}

/* 2. Belső konténerek hátterének nullázása */
#search-drawer,
#search-drawer .drawer-inner,
#search-drawer .drawer-content {
    background: transparent !important;
}

/* 3. A keresőmező letisztult világos doboza sötét szöveggel */
#search-drawer form.woocommerce-product-search input[type="search"],
#search-drawer form.search-form input[type="search"] {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3) !important;
}

/* 4. A jobb felső bezáró X gomb és az ikonok fehér színben, hogy látszódjanak a sötét háttéren */
#search-drawer .drawer-header button,
#search-drawer button.search-submit,
#search-drawer .drawer-sub-toggle {
    color: #ffffff !important;
}
