/* WhatsApp catalog — festive skin. Loaded after whatsapp-catalog.css; changes looks only, not behaviour. */
:root{
  --swiggy-orange:#dc143c;   /* main action colour used across the catalog */
  --swiggy-green:#0e8a4a;
  --price-red:#2b1216;
  --background-color:#fffaf5;
  --text-dark:#2b1216;
  --text-light:#7a6468;
  --border-color:#f0e3e3;
  --highlight-bg:#fff4e8;
}
body{font-family:"Public Sans","Poppins",system-ui,sans-serif;background:#fffaf5}

/* Page width: a set width so iPhone Safari can't widen the page */
.wc-page{width:100%!important;max-width:760px!important;margin:0 auto 40px!important;box-sizing:border-box}
.wc-head{padding:16px 14px 6px}
.wc-head h1{font:800 1.55rem/1.15 "Baloo Thambi 2","Poppins",sans-serif;color:#2b1216;margin:0}
.wc-head p{color:#7a6468;font-size:.9rem;margin:4px 0 0}

/* Search + view toggle */
#productSearchInput{height:46px;border-radius:12px!important;border:1px solid #f0e3e3!important;font-size:16px!important;padding:0 14px!important;background:#fff}
#productSearchInput:focus{border-color:#dc143c!important;box-shadow:0 0 0 3px rgba(220,20,60,.12)!important}
#viewToggleBtn{height:46px;width:46px;border-radius:12px!important;border-color:#f0e3e3!important;color:#2b1216}

/* Category headings */
.category-banner{background:linear-gradient(90deg,#790b21,#dc143c)!important;color:#fff!important;border-radius:12px!important;margin:14px 0 6px!important;padding:10px 14px!important;text-align:left!important;font:800 1.1rem "Baloo Thambi 2","Poppins",sans-serif!important;letter-spacing:0!important;text-transform:none!important}
.category-section-wrapper>.col-12{padding:0 12px}

/* Product rows */
.product-row{background:#fff;border:1px solid #f0e3e3!important;border-radius:14px;margin:8px 12px;padding:10px 12px!important;min-width:0}
.product-info-container{min-width:0}
.product-image-container{border-radius:12px;background:#fff;overflow:hidden}
.product-image{object-fit:contain!important}
.wc-off{position:absolute;left:4px;top:4px;z-index:2;background:#0e8a4a;color:#fff;font:800 .68rem/1 sans-serif;padding:4px 6px;border-radius:7px}
.price{color:#2b1216!important;font-weight:800!important}
.strike-price{color:#7a6468!important}
.brand-info-highlight{background:#fff4e8!important;color:#790b21!important;border-radius:6px}
.archan-badge-tag{filter:saturate(.9)}

/* ADD button and counter */
.btn-add-item{background:#fff!important;color:#dc143c!important;border:1.5px solid #dc143c!important;border-radius:10px!important;font-weight:800!important}
.btn-add-item:hover,.btn-add-item:active{background:#dc143c!important;color:#fff!important;box-shadow:0 4px 10px rgba(220,20,60,.25)!important}
.qty-counter{background:#dc143c!important;border-radius:10px!important}

/* Grid view */
.product-list-wrapper.grid-view .category-section-wrapper{padding:0 12px 12px}
.product-list-wrapper.grid-view .category-section-wrapper>.col-12{margin:0;padding:0;flex:0 0 100%;max-width:100%}
.product-list-wrapper.grid-view .product-row{margin:0!important;min-width:0}

/* Cart bar at the bottom */
.fixed-footer{background:linear-gradient(90deg,#790b21,#dc143c)!important;border-radius:18px 18px 0 0;padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important}
.fixed-footer .container{max-width:760px}
.btn-proceed{background:#25d366!important;color:#fff!important;border:0!important;border-radius:12px!important;font-weight:800!important}
.btn-view-cart{border-radius:12px!important}
#spinProgressBanner{border-radius:12px 12px 0 0}

/* Menu button: festive gold instead of black */
.floating-menu-btn{background:#ffbe1a!important;color:#460613!important;box-shadow:0 6px 18px rgba(121,11,33,.25)!important}

/* Menu / brand / cart / spin popups */
.popup-content,.side-cart-content{border-radius:18px!important}
.menu-tab.active{color:#dc143c!important;border-color:#dc143c!important}
.category-item-count{background:#fff4e8!important;color:#790b21!important}
#spinWheel{background:conic-gradient(#dc143c 0deg 60deg,#ffbe1a 60deg 120deg,#dc143c 120deg 180deg,#ffbe1a 180deg 240deg,#dc143c 240deg 300deg,#ffbe1a 300deg 360deg)!important}
#spinNowBtn{background:#dc143c!important;border-radius:12px!important}

/* Order details form */
.order-summary-section{border:1px solid #f0e3e3!important;border-radius:16px!important;margin:16px 12px 0!important}
.order-summary-section .form-control{height:46px;border-radius:10px;font-size:16px;border-color:#f0e3e3}
.order-summary-section textarea.form-control{height:auto}

@media (min-width:768px){
  .wc-head{padding-top:24px}
  .wc-head h1{font-size:2rem}
}
