/*
Theme Name: MyTailwind
Author:     You
Description: WooCommerce-ready, Tailwind-powered, dark-mode WordPress theme.
Text Domain: mytailwind
*/
@font-face {
  font-family: 'Sirenik';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('assets/fonts/sirenik-regular.woff2') format('woff2'),
       url('assets/fonts/sirenik-regular.woff')  format('woff');
}
@font-face {
  font-family: 'Sirenik';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('assets/fonts/sirenik-italic.woff2') format('woff2'),
       url('assets/fonts/sirenik-italic.woff')  format('woff');
}

/* helper class that you can use alongside Tailwind’s utilities */
.font-sirenik {
  font-family: 'Sirenik', sans-serif;
}

 .added_to_cart.wc-forward { display: none !important; }

/* Hide YITH’s own icon/label (but keep element there) */
.my-wishlist-wrap .yith-wcwl-add-to-wishlist-button .yith-wcwl-icon,
.my-wishlist-wrap .yith-wcwl-add-to-wishlist-button__label { display:none !important; }

/* Make YITH control visually invisible and non-clickable (we click it programmatically) */
.my-wishlist-wrap .yith-wcwl-add-to-wishlist-button,
.my-wishlist-wrap .yith-wcwl-add-to-wishlist,
.my-wishlist-wrap .add_to_wishlist {
  opacity: 0; pointer-events: none;
}

/* Your overlay controls presentation */
.my-wishlist-overlay .icon-solid { display: none; }
.my-wishlist-overlay.is-solid .icon-light { display: none; }
.my-wishlist-overlay.is-solid .icon-solid { display: inline-flex; }


.yith-wcwl-feedback-messages-container{ display: none !important; }

/* Drawer/backdrop are bounded by CSS vars set from JS */
#tablet-drawer {
  top: var(--drawer-top, 80px);         /* default fallback if JS fails */
  bottom: var(--drawer-bottom, 56px);   /* default fallback if JS fails */
  transform: translateX(-100%);
  transition: transform 200ms ease;
  will-change: transform;
}
#tablet-drawer.is-open {
  transform: translateX(0);
}

/* Backdrop should only cover the in-between area */
#tablet-backdrop {
  top: var(--drawer-top, 80px);
  bottom: var(--drawer-bottom, 56px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
#tablet-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Make sure links are readable if you ever switch drawer bg */
#tablet-drawer .menu a { color: inherit; }

/* Minimal custom CSS */
.sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.menu-item-has-children.open .sub-menu {
    max-height: 400px;
}