/*
 Theme Name: WooVina Child
 Template: woovina
 Text Domain: woovina-child
*/

:root {
  --font-primary: 'Roboto', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}
body, button, input, select, textarea {
  font-family: var(--font-primary) !important;
}

.my-account-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.dashboard-card {
  display: block;
  text-align: center;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card .icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.dashboard-card h3 {
  margin: 10px 0 5px;
  font-size: 2.2rem;
}

.dashboard-card p {
  font-size: 1.2rem;
  color: #666;
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

#dashboard-widgets .inside h4{font-weight:bold;}

#site-navigation-wrap ul.main-menu li.megamenu-big li.product-sale-menu .widget_products ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 15px;
  grid-row-gap: 15px;
  margin: 0 !important;
}
#site-navigation-wrap ul.main-menu li.megamenu-big li.product-sale-menu .widget_products {
  padding: 0;
  border: none;
}
#site-navigation-wrap ul.main-menu li.megamenu-big li.product-sale-menu
  .product_list_widget li { border: 0; }
  
#site-navigation-wrap .dropdown-menu >li >a {
padding: 0px 25px 0px 0px !important;
color:#cfa116 !important
}
header{background:#000 !important; color:#cfa116 !important;}
header a:hover{color:#FFF !important; }
.search-header .wew-search-wrap form.woovina-searchform button.search-submit {
    padding: 0 38px;
    right: -1px;
    left: auto;
    background-color: #cfa116 !important;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: capitalize;
}


.cart-wrap icon-i{ color: #cfa116; }
.desktop-header .icon-header .cart-wrap .items .woovina-woo-total .amount {
    color: #cfa116 !important;
}
.desktop-header .icon-header .cart-wrap .woo-menu-icon .wcmenucart-shortcode { color: #cfa116 !important; }

#top-bar-wrap, .woovina-top-bar-sticky {
    background-color: #000 !important;
}

.search-header .wew-search-wrap form.woovina-searchform:before {
    color: #cfa116 !important;
}

.desktop-header .icon-header .cart-wrap .woo-menu-icon .wcmenucart-shortcode .wcmenucart-cart-icon .wcmenucart-count {  background: #cfa116 !important; }

/* Uporządkowanie layoutu karty */
.products-s1.products-per ul.products li.entry .product-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.products-s1.products-per ul.products li.entry .flcontent {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1 1 auto;
}

/* Przyciski na dole karty, stale widoczne – bez animacji */
.products-s1.products-per ul.products li.entry .btn-wrap {
  margin-top: auto;
}
.products-s1.products-per ul.products li.entry .btn-wrap .btn-inner,
.products-s1.products-per ul.products li.entry .btn-wrap .button {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  position: static !important;
  pointer-events: auto !important;
}

/* Wyłącz hover-efekty zdjęcia */
.products-s1.products-per ul.products li.entry .woo-entry-image img {
  transform: none !important;
}
.products-s1.products-per ul.products li.entry:hover .woo-entry-image img {
  transform: none !important;
}

/* Schowaj „szybki podgląd” */
.products-s1.products-per ul.products li.entry .btn-positions {
  display: none !important;
}

/* Styl złotego przycisku pod zdjęciem */
.products-s1.products-per ul.products li.entry .btn-wrap .button {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  text-transform: none;
  letter-spacing: .2px;

  background: #d4af37;
  border: 1px solid #b9921a;
  color: #111 !important;
  box-shadow: 0 2px 0 #b9921a, 0 8px 16px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.products-s1.products-per ul.products li.entry .btn-wrap .button:hover,
.products-s1.products-per ul.products li.entry .btn-wrap .button:focus {
  background: #c7a019;
  border-color: #a98412;
  transform: translateY(-1px);
  box-shadow: 0 3px 0 #a98412, 0 10px 18px rgba(0,0,0,.08);
}
.products-s1.products-per ul.products li.entry .btn-wrap .button:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 #a98412, 0 6px 12px rgba(0,0,0,.06);
}

/* Odstępy */
.products-s1.products-per ul.products li.entry .title { margin-top: .4rem; }
.products-s1.products-per ul.products { gap: 24px; }

/* Ramka na obrazek */
.products-s1.products-per ul.products li.entry .woo-entry-image {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  display: block;
}
.products-s1.products-per ul.products li.entry .woo-entry-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* WYŚWIETL PRZYCISK ZAWSZE + NA DOLE KARTY */
.products-s1.products-per ul.products li.entry .btn-wrap {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  height: auto !important;
  position: static !important;
  margin-top: auto;
  padding-top: .4rem;
}

/* btn-inner */
.products-s1.products-per ul.products li.entry .btn-wrap .btn-inner {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  position: static !important;
  pointer-events: auto !important;
}

/* Sam link */
.products-s1.products-per ul.products li.entry .btn-wrap .button,
.products-s1.products-per ul.products li.entry .btn-wrap .add_to_cart_button {
  display: block !important;
  width: 100%;
  padding: 0px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  text-transform: none;
  letter-spacing: .2px;

  background: #d4af37;
  border: 1px solid #b9921a;
  color: #111 !important;
  box-shadow: 0 2px 0 #b9921a, 0 8px 16px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

/* hover */
.products-s1.products-per ul.products li.entry .btn-wrap .button:hover,
.products-s1.products-per ul.products li.entry .btn-wrap .add_to_cart_button:hover {
  background: #c7a019;
  border-color: #a98412;
  transform: translateY(-1px);
  box-shadow: 0 3px 0 #a98412, 0 10px 18px rgba(0,0,0,.08);
}

/* złoty przycisk w prawym dolnym rogu */
.products-s1.products-per ul.products li.entry .product-inner {
  position: relative;
}
.products-s1.products-per ul.products li.entry .btn-wrap {
  position: absolute !important;
  right: 10px;
  bottom: 10px;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  width: auto !important;
}
.products-s1.products-per ul.products li.entry .btn-wrap .button,
.products-s1.products-per ul.products li.entry .btn-wrap .add_to_cart_button {
  font-size: 13px !important;
  padding: 0px 12px !important;
  border-radius: 6px !important;
}

/* --- Wariant: siatka 2 kolumny – przycisk bliżej ceny --- */
.products-s1.products-per.columns-2 ul.products li.entry .btn-wrap,
.products-s1.products-per .products.desktop-2-col li.entry .btn-wrap,
.products-s1.products-per .products.tablet-2-col li.entry .btn-wrap {
  bottom: 24px !important;
  right: 12px !important;
}
.products-s1.products-per.columns-2 ul.products li.entry .flcontent,
.products-s1.products-per .products.desktop-2-col li.entry .flcontent,
.products-s1.products-per .products.tablet-2-col li.entry .flcontent {
  padding-bottom: 56px !important;
}
.products-s1.products-per.columns-2 ul.products li.entry .inner {
  margin-bottom: 6px !important;
}

/* submenu – widoczny tekst */
.woocommerce .sub-menu a,
.woocommerce .sub-menu .menu-link,
.sub-menu a,
.sub-menu .menu-link {
  color: #333 !important;
}
/* hover – złoty */
.sub-menu a:hover,
.sub-menu .menu-link:hover {
  color: #d4af37 !important;
}



/* Kosmetyka pełnego opisu */
.single-product .product .product-full-description{
  margin: 14px 0 16px;
  font-size: 15px;
  line-height: 1.6;
}
.single-product .product .product-full-description p:last-child{ margin-bottom: 0; }

/* === MINI CART: obrazek po LEWEJ, opis po PRAWEJ === */

/* każdy wiersz pozycji */
.woocommerce-mini-cart .mini_cart_item .wvn-grid-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* miniatura po lewej */
.woocommerce-mini-cart .mini_cart_item .wvn-grid.thumbnail {
  order: 0;
  flex: 0 0 70px;          /* szerokość kolumny obrazka */
}
.woocommerce-mini-cart .mini_cart_item .wvn-grid.thumbnail img {
  display: block;
  width: 70px;
  height: auto;
}

/* treść po prawej */
.woocommerce-mini-cart .mini_cart_item .wvn-grid.content {
  order: 1;
  flex: 1 1 auto;
  text-align: left;
}
.woocommerce-mini-cart .mini_cart_item .wvn-grid.content h3 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}
.woocommerce-mini-cart .mini_cart_item .quantity {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #666;
}

/* przycisk usuń */
.woocommerce-mini-cart .mini_cart_item .remove_from_cart_button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  line-height: 20px;
  border-radius: 50%;
  text-align: center;
  background: #f5f5f5;
}
.woocommerce-mini-cart .mini_cart_item .wvn-grid.content h3 a {
  color: inherit; /* domyślnie dziedziczy np. czarny */
  text-decoration: none;
  transition: color .2s ease;
}

.woocommerce-mini-cart .mini_cart_item .wvn-grid.content h3 a:hover {
  color: #d4af37 !important; /* złoty jak w Twoim motywie */
}

/* === MINI CART: złoty przycisk "Zobacz koszyk" === */
.woocommerce-mini-cart__buttons .button.wc-forward {
  background-color: #d4af37 !important; /* złoty */
  border-color: #d4af37 !important;
  color: #000 !important; /* czarny tekst dla kontrastu */
  font-weight: 600;
  transition: all .2s ease;
}

.woocommerce-mini-cart__buttons .button.wc-forward:hover {
  background-color: #b9972f !important; /* ciemniejszy złoty przy hoverze */
  border-color: #b9972f !important;
  color: #fff !important;
}

.gold-play-badge i{
  color:#fff;       /* biała ikonka */
  font-size:22px;   /* dostosuj rozmiar */
  line-height:1;
  pointer-events:none; /* żeby klik zawsze łapał przycisk */
}
.gold-play-badge:focus{
  outline:2px solid rgba(255,255,255,.9);
  outline-offset:2px;
}
@media (max-width:480px){
  .gold-play-badge{ width:64px !important; height:64px !important; }
}
.woocommerce-breadcrumb {
  font-size: 14px;
  color: #888;
}
.woocommerce-breadcrumb a {
  color: #666;
}
.woocommerce-breadcrumb a:hover {
  color: #000;
}
.woocommerce-breadcrumb .separator {
  margin: 0 5px;
  color: #bbb;
}
.screen-reader-text {
	position: absolute !important;
	height: 1px; width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.breadcrumb-home .fa-home { margin-right: 6px; }


.related.products h2::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;          /* pełna szerokość */
  bottom: 0;
  height: 1px !important;       /* grubość linii */
  background: #D4AF37 !important;  /* złoto, nadpisuje tło z motywu */
  /* reset starego stylu: */
  background-image: none !important;
  display: block;    /* nie potrzebujesz flexa */
}

/* H2 w sekcji Podobne produkty */
.related.products h2, .up-sells upsells products h2{
  position: relative;
  text-align: center;
  padding: 42px 0 12px;         /* miejsce na ikonę + odstęp nad linią */
  margin: 0 0 20px;
  border-bottom: 2px solid #D4AF37; /* złota linia na full width */
}

/* Korona nad nagłówkiem (używa Twojego obrazka) */
.related.products h2::after, .up-sells upsells products h2::after{
  content: "";
  position: absolute;
  left: 50%;
  top: -20px;                     /* dosuń w górę/dół jak chcesz */
  transform: translateX(-50%);
  width: 64px;                  /* szerokość ikonki */
  height: 64px;                 /* wysokość ikonki */
  background: url('https://galaxy.dfirma.pl/wp-content/uploads/elementor/thumbs/favicon-rbosclep8fzjhczadkyl84gnh5h8gga49hfkjajtkw.png')
              no-repeat center / contain;
}

/* 1) Pudełko na zdjęcie – jednakowe proporcje dla wszystkich kart
   4/5 wygląda dobrze dla flakonów; możesz zmienić np. na 1/1 (kwadrat) */
.products .entry .woo-entry-image {
  aspect-ratio: 4 / 3;         /* stała „rama” */
  width: 100%;
  background: #fff;
  overflow: hidden;
  position: relative;          /* dla overlayów "Wybierz opcje / Dodaj do koszyka" */
  display: block;
}

/* link i img wypełniają całe pudełko */
.products .entry .woo-entry-image a { 
  display: block; 
  height: 100%; 
}

.products .entry .woo-entry-image img {
  width: 100%;
  height: 100%;
  /* WARIANT A – bez przycinania, wszystko równe wysokością  */
  object-fit: contain;
  /* WARIANT B – estetyczny crop (wypełnia całość, może obciąć boki)
     object-fit: cover; */
  object-position: center;
  background: #fff;
}

/* jeżeli overlay z przyciskami ma „skakać”, dociąż go do środka */
.products .entry .btn-positions,
.products .entry .btn-inner.btn-addtocart,
.products .entry .btn-inner.btn-quickview {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;   /* kontener nie łapie hovera */
}
.products .entry .btn-inner.btn-addtocart a,
.products .entry .btn-inner.btn-quickview a {
  pointer-events: auto;   /* ale same przyciski mają być klikalne */
}

/* opcjonalnie: usuń marginesy/ograniczenia, które czasem łamią równość */
.products .entry .image-wrap,
.products .entry .woo-entry-image.clr { 
  margin: 0; 
}

/* menu główne – wyłącz kapitaliki */
.menu-link,
.menu-link .text-wrap,
#site-navigation .menu-link,
#site-navigation .menu-link .text-wrap {
  text-transform: none !important;
}

#site-navigation-wrap .dropdown-menu > li > a {
    display: block;
    font-size: 13px;
    line-height: 74px;
    color: #555;
    padding: 0 11px !important;
    letter-spacing: 0.6px;
}

.widget_shopping_cart ul.cart_list li .wvn-grid-wrap{
	padding:5px;
}

#wpl-login-form .wpl-wrap form {
    padding-top: 40px !important;
    padding-bottom: 25px;
}

#sidr a.sidr-class-toggle-sidr-close {
    color: #ffffff !important;
    font-weight: 500;
    background-color: #978b00 !important;
}