/*
Theme Name: Magizhchi Returns
Theme URI: https://yourwebsite.com
Description: Child theme for Return Gift
Author: Your Name
Template: candles-shop
Version: 1.0.0
Text Domain: magizhchireturns
*/

/* Force banner-mid-box to 100% width */
.banner-mid-box {
  flex-basis: 100% !important;
  width: 100% !important;
}

.wa-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  font-family: inherit;
}
.header-wishlist-btn a {
  background-color: transparent;
}
/* Floating Button */
.wa-toggle {
  background: var(--wp--preset--color--primary);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  right: 0;
  position: fixed;
  bottom: 85px;
}

/* Popup Panel */
.wa-panel {
  position: absolute;
  bottom: 70px;
  right: 0;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);

  transition: all 0.3s ease;
}

/* Open state */
.wa-widget.open .wa-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  background: #fff;
}

.wa-header {
  background: var(--wp--preset--color--secondary);
  color: #fff;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-header-left {
  display: flex;
  gap: 10px;
  align-items: center;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-title {
  font-weight: 700;
}
.wa-sub {
  font-size: 12px;
  opacity: 0.9;
}

.wa-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.wa-body {
  padding: 16px;
}

.wa-bubble {
  background: #f1f1f1;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}

.wa-action-btn {
  background: var(--wp--preset--color--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
}

footer {
  margin: 0 !important;
  float: none !important;
}

.custom-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.category-item {
  text-align: center;
}

.category-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
}

.category-item h3 {
  margin-top: 12px;
  font-size: 18px;
}

.best_selling_prod {
  background: #fff;
  padding: 2rem 0 4rem;
}
.new_arrivals_prod,
.featured_prod {
  padding: 2rem 0 3rem;
}
.wp-block-post-title :where(a) {
  min-height: 52px;
}
.quantity input {
  background: #fff;
  border: 1px solid #ccc;
}
.magizhchi-pincode-box {
    border: 1px solid #eee;
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
    background: #fff;
}

.pincode-wrapper {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.pincode-wrapper input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.pincode-wrapper button {
    background: #facc04;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    color: #11763c;
}

#pincode-result {
    margin-top: 10px;
    font-size: 14px;
}
@media (max-width: 992px) {
  .custom-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .custom-category-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
