<!-- start Simple Custom CSS and JS -->
<style type="text/css">
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
svg:focus,
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

a.added_to_cart.wc_forward {
    display: none !important;
}
span[data-wp-bind--hidden] a.added_to_cart {
    display: none !important;
}

/* Hide the "View my cart" button in WooCommerce Mini Cart Block */
a.wc-block-mini-cart__footer-cart {
    display: none !important;
}

/* Hide WooCommerce Block Product Metadata Description */
.wc-block-components-product-metadata,
.wc-block-components-product-metadata__description {
    display: none !important;
}

.wc-block-components-product-badge.wc-block-components-sale-badge {
    display: none !important;
}




/* Compact cart row height */
.wc-block-cart-items__row {
    padding: 4px 0 !important;
    margin: 0 !important;
}

/* Reduce product image size */
.wc-block-cart-item__image img {
    width: 55px !important;
    height: 55px !important;
    object-fit: cover !important;
}

/* Tighten product title */
.wc-block-cart-item__product .wc-block-components-product-name {
    font-size: 14px !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
}

/* Compact price area */
.wc-block-cart-item__prices,
.wc-block-cart-item__total-price-and-sale-badge-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

.wc-block-cart-item__prices del,
.wc-block-cart-item__prices ins {
    font-size: 13px !important;
}

/* Compact quantity field */
.wc-block-components-quantity-selector {
    gap: 0 !important;
}

.wc-block-components-quantity-selector__input {
    width: 40px !important;
    height: 28px !important;
    font-size: 13px !important;
    padding: 0 !important;
}

.wc-block-components-quantity-selector__button {
    height: 28px !important;
    width: 28px !important;
    padding: 0 !important;
    font-size: 15px !important;
}

/* Compact remove link */
.wc-block-cart-item__remove-link {
    font-size: 12px !important;
    margin-top: 2px !important;
    padding: 0 !important;
}

/* Reduce padding inside product column */
.wc-block-cart-item__wrap {
    gap: 2px !important;
}

/* Remove extra spacing under metadata/description (your hidden elements) */
.wc-block-components-product-metadata,
.wc-block-components-product-metadata__description {
    display: none !important;
}

/* Already removed sale badges — ensure no spacing remains */
.wc-block-components-product-badge {
    display: none !important;
}

.wp-block-woocommerce-mini-cart-items-block {
	margin-top: 35px;
}

.wp-block-woocommerce-mini-cart-title-block{
	visibility: hidden !important;
}


/* container: make quantity area flex so left=remove, right=quantity */
.wc-block-cart-item__quantity {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 !important;
}

/* left area (remove) keep simple text or icon */
.meals28-left-actions { display:flex; align-items:center; }

/* right area aligns quantity to right */
.meals28-right-actions { margin-left: auto; display:flex; align-items:center; }

/* style the remove link as small link or icon */
.wc-block-cart-item__remove-link {
  font-size: 13px !important;
  color: #d00000 !important;
  background: none !important;
  border: 0 !important;
  cursor: pointer !important;
  text-decoration: underline !important;
}

/* Optional: show nice trash icon instead of text (uncomment if used) */
.wc-block-cart-item__remove-link { font-size:0 !important; }
.wc-block-cart-item__remove-link::before { content: "❌"; font-size:16px; color:orange; display:inline-block; }

/* tighten qty control visuals (optional tweaks) */
.wc-block-components-quantity-selector { 
	gap:0px !important; 
	margin-bottom: 0px !important;
}
.wc-block-components-quantity-selector__input { width:48px !important; height:32px !important; text-align:center; }

.wc-block-cart-item__quantity {
/* 	  width: 130%; */
	}

/* ensure mobile layout remains readable */
@media (max-width:480px) {
  .wc-block-cart-item__quantity { 
/* 	  width: 130%; */
	}
  .wc-block-components-quantity-selector__input { width:44px !important; height:30px !important; }
}

.has-global-padding {
	padding-top: 0px !important;
}

.wc-block-components-drawer__screen-overlay {
	display: none !important;
}

/* hide link back to cart from checkcout page */
.wc-block-components-checkout-return-to-cart-button {
	display: none !important;
}

.wc-block-components-checkout-place-order-button {
	width: 100% !important;
}


/* Add label under My Account icon */
.wp-block-woocommerce-customer-account a {
    display: flex;
    flex-direction: column;
    align-items: center;
	gap: 0;
    text-decoration: none;
}

.wp-block-woocommerce-customer-account a::after {
    content: "You";
    font-size: 12px;
    color: currentColor;
}

/* Add label under Cart icon */
.wc-block-mini-cart__button {
    display: flex !important;
    flex-direction: column;
    align-items: center;
	gap: 0;
	text-decoration: none;
}

.wc-block-mini-cart__button::after {
    content: "Cart";
    font-size: 12px;
    color: currentColor;
}


html, body {
  touch-action: pan-x pan-y;
  overscroll-behavior: none;
}

/* Mobile product title font fix */
@media (max-width: 767px) {
  h2.wp-block-post-title.has-medium-font-size {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 767px) {
  h2.wp-block-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}


/* Packaging radio label text */
.wapf-field-radio .wapf-label-text {
    font-size: 14px;      /* adjust if needed: 13px / 14px */
    line-height: 1.4;
}

/* Pricing hint (+₹500) */
.wapf-pricing-hint {
    font-size: 13px;
    color: #555;
}

/* Description text below options */
.wapf-field-description {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
}


/* ===============================
   Packaging images styling (stable)
================================ */

/* Layout */
.wapf-checkable label {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* ✅ Food Grade Thali (value="q06b6") */
.wapf-checkable input[value="q06b6"] + .wapf-label-text::before {
    content: "";
    width: 70px;
    height: 70px;
    background-image: url("https://meals28.com/wp-content/uploads/2025/11/ChatGPT-Image-Jan-2-2026-11_21_43-AM.png");
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-right: 12px;
    display: inline-block;
    vertical-align: middle;
}

/* 🔁 Lunch Box (value="8igrd") */
.wapf-checkable input[value="8igrd"] + .wapf-label-text::before {
    content: "";
    width: 70px;
    height: 70px;
    background-image: url("https://meals28.com/wp-content/uploads/2026/01/office-meal-box.png");
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-right: 12px;
    display: inline-block;
    vertical-align: middle;
}


.meals28-desc {
  font-family: inherit;
  line-height: 1.5;
  font-size: 14px;
  color: #222;
}

/* Base card */
.meals28-section {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border-left: 4px solid transparent;
}

/* Headings */
.meals28-section h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}

/* Lists */
.meals28-section ul {
  margin: 0;
  padding-left: 16px;
}

.meals28-section li {
  margin-bottom: 4px;
  font-size: 14px;
}

.meals28-sub {
  margin-left: 16px;
  margin-top: 4px;
  font-size: 14px;
  color: #444;
}

/* ===== Color Themes ===== */

/* What You Get */
.meals28-get {
  background: #f0f9f5;
  border-left-color: #16a34a;
}

/* Packaging */
.meals28-packaging {
  background: #f8f7ff;
  border-left-color: #6366f1;
}

/* Flexibility */
.meals28-flex {
  background: #fff7ed;
  border-left-color: #f97316;
}

/* Trial */
.meals28-trial {
  background: #f0fdfa;
  border-left-color: #14b8a6;
}

/* Cuisines */
.meals28-cuisine {
  background: #fefce8;
  border-left-color: #eab308;
}

/* Mobile stays compact */
@media (max-width: 768px) {
  .meals28-section {
    padding: 10px;
  }
}

/* Hide Description heading only on WooCommerce product pages */
.single-product .woocommerce-Tabs-panel--description > h2 {
    display: none;
}

/* Hide ONLY Plan dropdown */
.single-product #pa_plan {
  display: none;
}

/* Plan radio wrapper */
.m28-plan-radios {
  margin: 0px;
}

/* Individual radio card */
.m28-plan-radios label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 0px;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  background: #fff;
}

/* Hover */
.m28-plan-radios label:hover {
  border-color: #16a34a;
}

/* Selected */
.m28-plan-radios input:checked + span {
  font-weight: 600;
}

/* Make Plan options horizontal */
.m28-plan-radios {
  display: flex;
  gap: 12px;
  flex-wrap: wrap; /* allows wrap on very small screens */
}

/* Each plan card */
.m28-plan-radios label {
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

.reset_variations {
	display: none !important;
}

/* Card style */
.single-product .wapf-field-container.wapf-field-radio .wapf-input-label {
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
}

/*-----package options css start -------*/
/* =========================
   COMMON WAPF CARD STYLE
========================= */

/* =========================
   RESET WAPF LAYOUT
========================= */

.wapf-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wapf-checkable {
    margin: 0;
}

/* =========================
   PILL STYLE (MATCH PLAN)
========================= */

.wapf-input-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 999px;

    background: #ffffff;
    cursor: pointer;
    transition: all 0.15s ease;

    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

/* Radio appearance */
.wapf-input {
    accent-color: #2563eb;
}

/* Hover */
.wapf-input-label:hover {
    border-color: #9ca3af;
}

/* Selected (MATCH PLAN BLUE) */
.wapf-checkable.wapf-checked .wapf-input-label {
    border-color: #2563eb;
    background: #eff6ff;
}

/* Price hint */
.wapf-pricing-hint {
    font-size: 13px;
    color: #374151;
}

/* =========================
   FIELD-SPECIFIC BEHAVIOR
========================= */

/* Delivery Slot — force single row */
[data-group="437"] .wapf-radios {
    flex-wrap: nowrap;
}

/* Packaging — allow wrap */
[data-group="387"] .wapf-radios {
    flex-wrap: wrap;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    [data-group="437"] .wapf-radios,
    [data-group="387"] .wapf-radios {
        flex-wrap: wrap;
    }
}

/*-----------Package options css ends----------------*/

/* ===============================
   Meals28 — Mini Cart Count Badge
=============================== */

/* Ensure relative positioning */
.wp-block-woocommerce-mini-cart {
  position: relative;
}

/* Create visible count bubble */
.wp-block-woocommerce-mini-cart::after {
  content: attr(data-cart-items-count);
  position: absolute;
  top: 5px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e11d48; /* red */
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  display: none;
}

/* Show badge only when count > 0 */
.wp-block-woocommerce-mini-cart[data-cart-items-count]:not([data-cart-items-count="0"])::after {
  display: block;
}

.wc-block-mini-cart__badge {
  display: none;
}
/*----------cart count ends------------*/

/* Change Add to Cart button text visually for product ID 744 */
li[data-wp-context*='"productId":744']
.wc-block-components-product-button__button span {
    display: none;
}

li[data-wp-context*='"productId":744']
.wc-block-components-product-button__button::after {
    content: "Select Options";
}

.meals28-coupons-link-wrap {
    margin: 0px 0 18px 0;
}

.meals28-coupons-open {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, .12);
    text-decoration: none;
    font-weight: 600;
    line-height: 0px;
    font-size: 13px;
}

.wc-block-components-product-sale-badge.alignright.wc-block-components-product-sale-badge--align-right {
	display:none;
}</style>
<!-- end Simple Custom CSS and JS -->
