/*
Theme Name: Mikey
Theme URI: https://mikey.ro
Description: Tema pentru magazinul online Mikey
Author: BC OPS
Template: flatsome
Version: 1.0.1
*/

/* Single Product: larger logo only on product pages */
body.single-product .header-main .logo img,
body.single-product .header-main .header-logo img,
body.single-product .header-main .site-logo img {
  max-height: 100px !important; /* desktop */
  width: auto !important;
  height: auto !important;
}

/* Mobile / Tablet */
@media (max-width: 849px) {
  body.single-product .header-main .logo img,
  body.single-product .header-main .header-logo img,
  body.single-product .header-main .site-logo img {
    max-height: 55px !important;
  }
}
body.single-product .header-main .nav > li > a {
  color: #222 !important;
}

body.single-product .top-bar .nav > li > a {
  color: #222 !important;
}
/* fix search bar pe desktop sa il faca cat mai mare */
@media (min-width: 850px) {
  .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp {
    width: 95vw;
  }
}

.mikey-free-shipping-notice{
background:#f5f5f5;
border:1px solid #ddd;
padding:12px;
margin-bottom:20px;
border-radius:6px;
font-size:14px;
}

.mikey-free-shipping-notice.success{
background:#e6f7ea;
border-color:#9dd9a7;
}

/* ==========================================================================
   YITH WooCommerce Wishlist — integrare vizuală brand Mikey
   Culori brand: bleumarin #0e2b54, bleu #46d9fe, galben #ffc835.
   Clasele .yith-wcwl-* există doar când plugin-ul e activ => CSS inofensiv altfel.
   ========================================================================== */

/* Butonul ♡ pe cardul de produs din liste (adăugat via hook în functions.php). */
.mikey-loop-wishlist{
  margin:6px 0 2px;
  text-align:center;
}
.mikey-loop-wishlist .yith-wcwl-add-to-wishlist{
  margin:0;
}

/* Link + iconiță inimă: bleumarin implicit, galben la hover / când e în wishlist. */
.woocommerce .yith-wcwl-add-to-wishlist a,
.woocommerce a.add_to_wishlist,
.woocommerce .yith-wcwl-wishlistaddedbrowse a,
.woocommerce .yith-wcwl-wishlistexistsbrowse a{
  color:#0e2b54;
  font-size:13px;
  text-decoration:none;
  transition:color .15s ease;
}
.woocommerce a.add_to_wishlist:hover,
.woocommerce .yith-wcwl-add-to-wishlist a:hover{
  color:#ffc835;
}

/* Iconița (font-icon YITH) moștenește culoarea; inima „plină” cât e în wishlist. */
.woocommerce .yith-wcwl-icon,
.woocommerce a.add_to_wishlist i,
.woocommerce a.add_to_wishlist .yith-wcwl-icon{
  color:inherit;
}
.woocommerce .yith-wcwl-wishlistaddedbrowse a,
.woocommerce .yith-wcwl-wishlistexistsbrowse a{
  color:#ffc835;
}

/* Feedback „adăugat cu succes” + link către pagina wishlist. */
.woocommerce .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddresponse a,
.woocommerce .yith-wcwl-add-to-wishlist a.wishlistaddedbrowse{
  color:#0e2b54;
  font-weight:600;
}

/* Tabelul din pagina wishlist: antet pe bleumarin brand. */
.woocommerce table.wishlist_table thead th,
.wishlist_table thead th{
  background:#0e2b54;
  color:#fff;
}
.woocommerce table.wishlist_table td.product-add-to-cart .button,
.wishlist_table td.product-add-to-cart .button{
  background:#ffc835;
  color:#0e2b54;
  border-color:#ffc835;
}
.woocommerce table.wishlist_table td.product-add-to-cart .button:hover,
.wishlist_table td.product-add-to-cart .button:hover{
  background:#0e2b54;
  color:#fff;
  border-color:#0e2b54;
}

/* ============================================================
   Newsletter popup — Brevo iframe, cookie-gated (30 days)
   ============================================================ */
.mikey-nl-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
}
.mikey-nl-modal{
  background:#fff;
  border-radius:12px;
  box-shadow:0 8px 40px rgba(0,0,0,.3);
  padding:60px 30px 25px;
  max-width:1125px;
  width:100%;
  position:relative;
}
.mikey-nl-close{
  position:absolute;
  top:10px;
  right:10px;
  background:#0e2b54;
  border:2px solid #fff;
  border-radius:50%;
  width:36px !important;
  height:36px !important;
  min-height:0 !important;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  color:#fff;
  padding:0 !important;
  display:flex !important;
  align-items:center;
  justify-content:center;
  box-shadow:0 2px 8px rgba(0,0,0,.25);
  transition:background .15s ease, color .15s ease;
  aspect-ratio:1/1;
}
.mikey-nl-close:hover{
  background:#ffc835;
  color:#0e2b54;
}
@media(max-width:600px){
  .mikey-nl-modal{ padding:55px 15px 15px; }
}