/* main.css */
      *,
      *::before,
      *::after {
        box-sizing: border-box;
      }
      body {
        font-family: "VisbyCF", sans-serif;
        margin: 0;
        padding: 0;
      }

      /* ── Image hover zoom ── */
      .img-zoom {
        overflow: hidden;
      }
      .img-zoom img {
        transition: transform 0.5s ease;
      }
      .img-zoom:hover img {
        transform: scale(1.06);
      }

      /* ── Link hover ── */
      .nav-link {
        transition: color 0.2s ease;
      }
      .nav-link:hover {
        color: #59b7b6;
      }

      /* ── Buttons ── */
      .btn-teal {
        transition: background-color 0.25s ease, transform 0.15s ease;
      }
      .btn-teal:hover {
        background-color: #4aa5a4;
        transform: translateY(-1px);
      }
      .btn-outline-dark {
        transition: background-color 0.25s ease, color 0.25s ease;
      }
      .btn-outline-dark:hover {
        background-color: #000;
        color: #fff;
      }

      /* ── Scroll reveal ── */
      .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.65s ease, transform 0.65s ease;
      }
      .reveal.visible {
        opacity: 1;
        transform: translateY(0);
      }

      /* ── Hero fade-in ── */
      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(18px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .hero-text {
        animation: fadeInUp 0.8s ease 0.1s both;
      }
      .hero-btn {
        animation: fadeInUp 0.8s ease 0.35s both;
      }

      /* ── Sticky header shadow on scroll ── */
      .header-scrolled {
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
      }

      /* ── Email input placeholder ── */
      input::placeholder {
        color: rgba(255, 255, 255, 0.5);
      }

      /* ── Product card: image uses contain on white card bg ── */
      .product-card-img {
        object-fit: contain;
        padding: 1rem;
        transition: transform 0.5s ease;
      }
      .product-card-img:hover {
        transform: scale(1.04);
      }

      
  #product-grid {
    transition: opacity 0.25s ease;
  }
  #product-grid.is-loading {
    opacity: 0;
  }

/* ── WooCommerce notices ── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  font-family: "VisbyCF", sans-serif;
  font-size: 14px;
  border-radius: 2px;
  padding: 14px 18px;
  margin-bottom: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid transparent;
}

/* Success */
.woocommerce-message {
  border-left: 3px solid #59b7b6;
  border-color: rgba(89,183,182,0.2);
  color: #040302;
}

/* Error */
.woocommerce-error {
  border-left: 3px solid #e05252;
  border-color: rgba(224,82,82,0.2);
  color: #040302;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-left: 18px;
}
.woocommerce-error li {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Info */
.woocommerce-info {
  border-left: 3px solid #a0a0a0;
  border-color: rgba(0,0,0,0.08);
  color: #040302;
}

/* Remove WooCommerce's default icon pseudo-elements */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  display: none;
}

/* Links inside notices */
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
  color: #59b7b6;
  font-weight: 600;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: auto;
  white-space: nowrap;
  padding: 6px 14px;
  border: 1px solid #59b7b6;
  border-radius: 2px;
  transition: background-color 0.2s, color 0.2s;
}
.woocommerce-message a:hover,
.woocommerce-info a:hover,
.woocommerce-error a:hover {
  background-color: #59b7b6;
  color: #fff;
  text-decoration: none;
}

/* ── Cart toast notification ── */
#cart-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  background: #fff;
  border-left: 3px solid #59b7b6;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border-radius: 2px;
  padding: 16px 20px;
  min-width: 260px;
  max-width: 340px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transform: translateX(calc(100% + 32px));
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
  font-family: "VisbyCF", sans-serif;
}
#cart-toast.is-visible {
  transform: translateX(0);
}
#cart-toast.is-error {
  border-left-color: #e05252;
}
#cart-toast.is-error .toast-icon {
  background: #e05252;
}
#cart-toast.is-error .toast-icon svg {
  display: none;
}
#cart-toast.is-error .toast-icon::after {
  content: '!';
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
#cart-toast .toast-icon {
  width: 20px;
  height: 20px;
  background: #59b7b6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
#cart-toast .toast-icon svg {
  width: 11px;
  height: 11px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}
#cart-toast .toast-body {
  flex: 1;
  min-width: 0;
}
#cart-toast .toast-title {
  font-size: 14px;
  font-weight: 600;
  color: #040302;
  margin: 0 0 4px;
  line-height: 1.3;
}
#cart-toast .toast-name {
  font-size: 13px;
  color: rgba(4,3,2,0.55);
  margin: 0 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#cart-toast .toast-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #59b7b6;
  text-decoration: none;
}
#cart-toast .toast-link:hover {
  text-decoration: underline;
}
#cart-toast .toast-close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(4,3,2,0.25);
  font-size: 18px;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  transition: color 0.2s;
}
#cart-toast .toast-close:hover {
  color: #040302;
}
