/* Pune Plant Store - Custom Botanical Theme & Animations */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --primary-emerald: #1b4d3e;
  --primary-forest: #0d3829;
  --accent-sage: #84a98c;
  --accent-lime: #52b788;
  --warm-terracotta: #c85a32;
  --warm-sand: #fbf8f3;
  --card-bg: #ffffff;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--warm-sand);
  color: #24332c;
  overflow-x: hidden;
}

.font-serif {
  font-family: 'Playfair Display', serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1ede4;
}

::-webkit-scrollbar-thumb {
  background: #b5c7ba;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #84a98c;
}

/* Glassmorphism & Soft Shadows */
.glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-dark {
  background: rgba(13, 56, 41, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-shadow {
  box-shadow: 0 4px 20px -2px rgba(13, 56, 41, 0.06), 0 2px 6px -1px rgba(13, 56, 41, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-shadow:hover {
  box-shadow: 0 16px 32px -4px rgba(13, 56, 41, 0.12), 0 6px 12px -2px rgba(13, 56, 41, 0.06);
  transform: translateY(-4px);
}

/* Shimmer Animation for Badges */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-badge {
  background: linear-gradient(90deg, #1b4d3e 0%, #2d7a63 50%, #1b4d3e 100%);
  background-size: 200% 100%;
  animation: shimmer 4s infinite;
}

/* Pulse Glow */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.pulse-glow {
  animation: pulse-glow 2s infinite ease-in-out;
}

/* Drawer transitions */
.drawer-backdrop {
  transition: opacity 0.3s ease-in-out;
}

.drawer-content {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Marathi typography subtle accent */
.marathi-subtext {
  font-feature-settings: "cv01" on;
  letter-spacing: 0.01em;
}

/* Badge styling */
.badge-pune {
  background-color: #f3efe6;
  color: #1b4d3e;
  border: 1px solid #dcd3c1;
}

/* Leaf Pattern Background */
.bg-leaf-pattern {
  background-color: #f7f4ed;
  background-image: radial-gradient(#d6e2d9 0.75px, transparent 0.75px), radial-gradient(#d6e2d9 0.75px, #f7f4ed 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
}

/* Floating WhatsApp Badge */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 45;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .whatsapp-float {
    bottom: 84px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
  
  .whatsapp-float svg, .whatsapp-float i {
    width: 24px;
    height: 24px;
  }

  #mobileCartBar {
    max-width: calc(100vw - 24px);
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

/* Plant Card Image Container */
.plant-img-wrapper {
  overflow: hidden;
  position: relative;
}

.plant-img-wrapper img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-shadow:hover .plant-img-wrapper img {
  transform: scale(1.08);
}


.site-footer{background:#123d26;color:#fff;margin-top:50px;padding:48px 24px 18px}
.footer-container{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:36px}
.footer-brand p{color:rgba(255,255,255,.78);line-height:1.6;max-width:300px}
.footer-logo{color:#fff;text-decoration:none;font-size:22px;font-weight:800}
.footer-column h3{margin:0 0 15px;font-size:16px}
.footer-column a{display:block;color:rgba(255,255,255,.82);text-decoration:none;margin:10px 0;font-size:14px}
.footer-column a:hover{color:#fff;text-decoration:underline}
.footer-bottom{max-width:1200px;margin:32px auto 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.16);color:rgba(255,255,255,.65);font-size:13px}
@media(max-width:800px){.footer-container{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.footer-container{grid-template-columns:1fr}.site-footer{padding:35px 18px 15px}}


/* PunePlantStore footer contact & social */
.footer-contact h3{margin:0 0 15px;font-size:16px}
.footer-contact-item{display:flex!important;align-items:center;gap:9px;color:rgba(255,255,255,.84)!important;text-decoration:none!important;margin:11px 0!important;font-size:14px}
.footer-contact-item:hover{color:#fff!important}
.footer-icon{width:24px;text-align:center;font-size:17px}
.footer-social-title{margin-top:20px;margin-bottom:10px;font-size:14px;font-weight:700}
.footer-socials{display:flex;gap:10px}
.footer-socials a{display:flex!important;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.28);border-radius:50%;text-decoration:none!important;color:#fff!important;background:rgba(255,255,255,.08);transition:.2s}
.footer-socials a:hover{transform:translateY(-2px);background:rgba(255,255,255,.18)}
.social-icon{font-weight:800;font-size:21px;line-height:1}
.social-icon.instagram{font-family:Arial,sans-serif}
.social-icon.facebook{font-family:Arial,sans-serif;font-size:23px}
@media(max-width:800px){.footer-contact{grid-column:1 / -1}}


/* =========================================================
   PunePlantStore — Professional Product Grid & Footer
   Desktop + Tablet + Mobile
   ========================================================= */

/* Product grid: equal-height cards and consistent spacing */
.product-grid,
.products-grid,
.product-list,
.shop-grid,
.category-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.product-grid > *,
.products-grid > *,
.product-list > *,
.shop-grid > *,
.category-products > * {
  min-width: 0;
}

/* Common product-card alignment */
.product-card,
.product-item,
.product-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.product-card .product-image,
.product-item .product-image,
.product-tile .product-image,
.product-card img,
.product-item img,
.product-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.product-card .product-content,
.product-item .product-content,
.product-tile .product-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 16px;
}

.product-card h2,
.product-card h3,
.product-card h4,
.product-item h2,
.product-item h3,
.product-item h4,
.product-tile h2,
.product-tile h3,
.product-tile h4 {
  min-height: 2.8em;
  line-height: 1.35;
  margin: 0 0 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card .price,
.product-item .price,
.product-tile .price {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.product-card .description,
.product-item .description,
.product-tile .description {
  line-height: 1.5;
}

.product-card .actions,
.product-item .actions,
.product-tile .actions {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  gap: 9px;
  align-items: stretch;
}

.product-card .actions > *,
.product-item .actions > *,
.product-tile .actions > * {
  min-height: 44px;
}

/* Prevent long names/prices from breaking card widths */
.product-card *,
.product-item *,
.product-tile * {
  overflow-wrap: anywhere;
}

/* Footer professional alignment */
.site-footer {
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.site-footer .footer-container {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.35fr;
  gap: 40px;
  align-items: start;
}

.site-footer .footer-brand,
.site-footer .footer-column,
.site-footer .footer-contact {
  min-width: 0;
}

.site-footer .footer-brand p {
  margin: 12px 0 0;
  max-width: 320px;
  line-height: 1.6;
}

.site-footer .footer-column h3,
.site-footer .footer-contact h3 {
  margin: 0 0 15px;
  line-height: 1.3;
}

.site-footer .footer-column a {
  line-height: 1.45;
  text-align: left;
}

.site-footer .footer-contact-item {
  justify-content: flex-start;
  text-align: left;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.site-footer .footer-socials {
  justify-content: flex-start;
  align-items: center;
}

.site-footer .footer-bottom {
  width: min(1200px, 100%);
  margin: 30px auto 0;
  text-align: center;
}

@media (max-width: 1100px) {
  .product-grid,
  .products-grid,
  .product-list,
  .shop-grid,
  .category-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .site-footer .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
}

@media (max-width: 700px) {
  .product-grid,
  .products-grid,
  .product-list,
  .shop-grid,
  .category-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .product-card .product-content,
  .product-item .product-content,
  .product-tile .product-content {
    padding: 12px;
  }

  .product-card h2,
  .product-card h3,
  .product-card h4,
  .product-item h2,
  .product-item h3,
  .product-item h4,
  .product-tile h2,
  .product-tile h3,
  .product-tile h4 {
    font-size: 15px;
    min-height: 2.7em;
  }

  .product-card .actions,
  .product-item .actions,
  .product-tile .actions {
    flex-direction: column;
  }

  .product-card .actions > *,
  .product-item .actions > *,
  .product-tile .actions > * {
    width: 100%;
  }

  .site-footer {
    text-align: left;
  }

  .site-footer .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 25px 20px;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer .footer-contact {
    grid-column: 1 / -1;
  }

  .site-footer .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 430px) {
  .product-grid,
  .products-grid,
  .product-list,
  .shop-grid,
  .category-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card .product-content,
  .product-item .product-content,
  .product-tile .product-content {
    padding: 10px;
  }

  .product-card h2,
  .product-card h3,
  .product-card h4,
  .product-item h2,
  .product-item h3,
  .product-item h4,
  .product-tile h2,
  .product-tile h3,
  .product-tile h4 {
    font-size: 14px;
  }

  .site-footer .footer-container {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer .footer-brand,
  .site-footer .footer-contact {
    grid-column: auto;
  }
}



/* ==========================================================
   PUNEPLANTSTORE — CATALOG & FOOTER REDESIGN
   ========================================================== */

/* Fix empty left space when the desktop filter sidebar is hidden */
#catalogSection:has(> #filterSidebar.hidden) > section {
  grid-column: 1 / -1 !important;
}
#catalogSection:has(> #filterSidebar.hidden) #productGrid {
  width: 100%;
}

/* Product catalog */
#productGrid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

#productGrid .product-card {
  min-width: 0;
  min-height: 620px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(24,59,40,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
#productGrid .product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(24,59,40,.12);
}
#productGrid .product-card .plant-img-wrapper {
  height: 300px !important;
  min-height: 300px;
  flex: 0 0 300px;
}
#productGrid .product-card .plant-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#productGrid .product-card > .p-5 {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
#productGrid .product-card > .p-5 > div:first-child {
  flex: 1;
}
#productGrid .product-card h3 {
  min-height: 42px;
  line-height: 1.35;
  margin-top: 7px;
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
#productGrid .product-card .border-t {
  margin-top: auto;
  min-height: 70px;
  align-items: center;
}
#productGrid .product-card .text-lg.font-black {
  white-space: nowrap;
}
#productGrid .product-card button {
  white-space: nowrap;
}

/* Desktop wide screens: use the space properly */
@media (min-width: 1440px) {
  #catalogSection {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }
  #catalogSection:has(> #filterSidebar.hidden) #productGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
  }
}

/* Standard desktop */
@media (min-width: 1024px) and (max-width: 1439px) {
  #catalogSection:has(> #filterSidebar.hidden) #productGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tablet */
@media (max-width: 1023px) {
  #productGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  #productGrid .product-card {
    min-height: 580px;
  }
  #productGrid .product-card .plant-img-wrapper {
    height: 260px !important;
    min-height: 260px;
    flex-basis: 260px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  #catalogSection {
    margin-top: 18px;
  }
  #productGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #productGrid .product-card {
    min-height: 510px;
    border-radius: 18px;
  }
  #productGrid .product-card .plant-img-wrapper {
    height: 190px !important;
    min-height: 190px;
    flex-basis: 190px;
  }
  #productGrid .product-card > .p-5 {
    padding: 12px !important;
  }
  #productGrid .product-card h3 {
    font-size: 14px;
    min-height: 38px;
  }
  #productGrid .product-card .text-lg.font-black {
    font-size: 16px;
  }
  #productGrid .product-card .border-t {
    min-height: 64px;
  }
  #productGrid .product-card .border-t > div:last-child {
    gap: 2px;
  }
}

/* ==========================================================
   PREMIUM FOOTER — clean four-column layout
   ========================================================== */
.site-footer {
  background: #03281b !important;
  color: #d9e8df !important;
  margin-top: 64px !important;
  padding: 58px 24px 20px !important;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: left !important;
}
.site-footer .footer-container {
  width: min(1200px, 100%) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1.55fr 1fr 1fr 1.15fr !important;
  gap: 48px !important;
  align-items: start !important;
}
.footer-brand {
  min-width: 0;
}
.footer-logo-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 13px !important;
  color: #fff !important;
  text-decoration: none !important;
}
.footer-logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  flex: 0 0 56px;
}
.footer-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.site-footer .footer-logo {
  display: block;
  color: #fff !important;
  font: 800 26px/1.1 Georgia,serif !important;
  letter-spacing: -.3px;
}
.footer-tagline {
  display: block;
  color: #43c58b;
  font-size: 13px;
  font-weight: 700;
  margin-top: 5px;
}
.footer-description {
  max-width: 430px;
  margin: 20px 0 18px !important;
  color: #9db3a7 !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}
.footer-contact-list {
  display: grid;
  gap: 9px;
}
.footer-contact-list a,
.footer-contact-list div {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #c9d9d1 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}
.footer-contact-list a:hover {
  color: #fff !important;
}
.footer-contact-list svg {
  width: 17px !important;
  height: 17px !important;
  color: #29c987 !important;
  flex: 0 0 17px;
}
.site-footer .footer-column h3,
.site-footer .footer-contact h3 {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 1.1px !important;
  text-transform: uppercase !important;
  margin: 3px 0 18px !important;
}
.site-footer .footer-column a {
  display: block !important;
  color: #9fb3a8 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  margin: 0 0 13px !important;
  transition: color .2s ease, transform .2s ease;
}
.site-footer .footer-column a:hover {
  color: #fff !important;
  transform: translateX(2px);
}
.footer-socials {
  display: flex !important;
  gap: 9px !important;
  margin-top: 18px !important;
}
.footer-socials a {
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9px !important;
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  color: #d8eee3 !important;
  text-decoration: none !important;
}
.footer-socials a:hover {
  background: #159d68 !important;
  color: #fff !important;
}
.footer-socials svg {
  width: 18px !important;
  height: 18px !important;
}
.footer-payments p {
  color: #9fb3a8 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  margin: 0 0 15px !important;
}
.payment-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 20px !important;
}
.payment-badges span {
  background: #0a4530 !important;
  border: 1px solid rgba(57,207,145,.18) !important;
  color: #dceee6 !important;
  border-radius: 7px !important;
  padding: 8px 11px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}
.footer-trust {
  display: flex !important;
  gap: 9px !important;
  align-items: flex-start !important;
  color: #90a79b !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  margin-top: 11px !important;
}
.footer-trust svg {
  width: 17px !important;
  height: 17px !important;
  color: #27c987 !important;
  flex: 0 0 17px;
}
.site-footer .footer-bottom {
  width: min(1200px,100%) !important;
  margin: 42px auto 0 !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(255,255,255,.09) !important;
  display: flex !important;
  justify-content: space-between !important;
  gap: 20px !important;
  color: #71877c !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  text-align: left !important;
}
@media (max-width: 1000px) {
  .site-footer .footer-container {
    grid-template-columns: 1.4fr 1fr 1fr !important;
    gap: 32px !important;
  }
  .site-footer .footer-payments {
    grid-column: 1 / -1;
  }
}
@media (max-width: 680px) {
  .site-footer {
    padding: 42px 20px 18px !important;
  }
  .site-footer .footer-container {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px 22px !important;
  }
  .site-footer .footer-brand,
  .site-footer .footer-payments {
    grid-column: 1 / -1;
  }
  .site-footer .footer-logo {
    font-size: 23px !important;
  }
  .footer-description {
    max-width: 100%;
  }
  .site-footer .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    gap: 7px !important;
  }
}
@media (max-width: 420px) {
  .site-footer .footer-container {
    grid-template-columns: 1fr !important;
  }
  .site-footer .footer-brand,
  .site-footer .footer-payments {
    grid-column: auto;
  }
}


#productGrid .product-card{border-radius:16px !important}
  #productGrid .product-card .text-lg{font-size:16px !important}
  .category-chip{padding:7px 10px;font-size:11px}
}


/* =========================================================
   PUNEPLANTSTORE — FINAL PROFESSIONAL CATALOG SYSTEM
   Compact product cards / 5-column desktop / no sidebar
   ========================================================= */

/* Main catalog */
#catalogSection{
  width:100%;
  max-width:1280px;
  margin-left:auto;
  margin-right:auto;
}
#catalogProductsLayout,
.catalog-products-layout,
.catalog-content{
  display:block !important;
  width:100% !important;
  max-width:none !important;
}
.catalog-products-section{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
}
#filterSidebar,
aside#filterSidebar{
  display:none !important;
}

/* Horizontal browse row */
.catalog-filter-strip{
  display:flex;
  align-items:center;
  width:100%;
  min-width:0;
  gap:10px;
  padding:8px 0 12px;
  border-bottom:1px solid #e7e2da;
}
.filter-strip-label{
  flex:0 0 auto;
  color:#174b38;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.category-drag-row{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  gap:7px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  cursor:grab;
  user-select:none;
  touch-action:pan-x;
}
.category-drag-row::-webkit-scrollbar{display:none}
.category-drag-row.dragging{cursor:grabbing}
.category-chip{
  flex:0 0 auto;
  white-space:nowrap;
  border:1px solid #ddd8d0;
  background:#fff;
  color:#4e554f;
  border-radius:999px;
  padding:6px 11px;
  min-height:32px;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
  transition:all .16s ease;
}
.category-chip:hover{
  border-color:#1a6849;
  color:#15563d;
  background:#f1f8f4;
}
.category-chip.active{
  background:#16563e;
  color:#fff;
  border-color:#16563e;
}
.category-chip small{font-size:9px;opacity:.7;margin-left:3px}
.filter-reset-mini{
  flex:0 0 auto;
  border:1px solid #d9d3ca;
  background:#fff;
  color:#5f625f;
  border-radius:999px;
  padding:6px 10px;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
}

/* Product grid — reference style: compact and dense */
#productGrid{
  width:100% !important;
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:18px !important;
  align-items:start !important;
}

/* Product card: no artificial equal-height / no giant blank space */
#productGrid .product-card{
  width:100%;
  min-width:0;
  height:auto !important;
  align-self:start !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  border-radius:18px !important;
  overflow:hidden;
  background:#fff;
  box-shadow:0 4px 18px rgba(24,50,39,.07);
}

/* Compact square-ish image */
#productGrid .product-card .plant-img-wrapper{
  width:100% !important;
  height:auto !important;
  aspect-ratio:1 / 1 !important;
  flex:none !important;
  min-height:0 !important;
}
#productGrid .product-card .plant-img-wrapper img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}

/* Compact card body — do NOT stretch it */
#productGrid .product-card > .p-5{
  padding:11px 12px 12px !important;
  flex:none !important;
  display:block !important;
  height:auto !important;
  min-height:0 !important;
}
#productGrid .product-card > .p-5 > div:first-child{
  display:block !important;
}
#productGrid .product-card .text-xs{
  line-height:1.25;
}
#productGrid .product-card h3{
  font-size:14px !important;
  line-height:1.3 !important;
  min-height:0 !important;
  margin:5px 0 7px !important;
}
#productGrid .product-card .p-5 .mt-1\.5{
  margin-top:6px !important;
}
#productGrid .product-card .p-5 .pt-3{
  margin-top:9px !important;
  padding-top:9px !important;
  display:flex !important;
  align-items:center !important;
}
#productGrid .product-card .text-lg{
  font-size:16px !important;
  line-height:1.15 !important;
}

/* Keep min-order box compact */
#productGrid .product-card .bg-emerald-50{
  padding:7px 8px !important;
  border-radius:10px !important;
}
#productGrid .product-card .bg-emerald-50 p{
  line-height:1.25 !important;
}

/* Search — force the input above all decorative/header layers */
header{
  position:sticky !important;
  top:0 !important;
  z-index:9990 !important;
}
header > div,
header .max-w-7xl{
  position:relative;
  z-index:9991 !important;
}
header input#searchInput{
  position:relative !important;
  z-index:9995 !important;
  pointer-events:auto !important;
  user-select:text !important;
  cursor:text !important;
}
header input#searchInput:focus{
  background:#fff !important;
  border-color:#1c6b4b !important;
  outline:none !important;
  box-shadow:0 0 0 3px rgba(28,107,75,.12) !important;
}
header #searchSuggestions{
  position:absolute !important;
  z-index:10000 !important;
  pointer-events:auto !important;
}
header #clearSearchBtn{
  position:absolute !important;
  z-index:10001 !important;
  pointer-events:auto !important;
}

/* Keep header branding from consuming the search width */
@media (min-width:1100px){
  header .group[title="Pune Plant Store"]{
    flex:0 1 370px !important;
    min-width:270px !important;
  }
  header .lg\:flex.flex-1.max-w-md{
    flex:1 1 420px !important;
    max-width:430px !important;
    min-width:300px !important;
  }
}

/* Responsive */
@media (max-width:1350px){
  #productGrid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:16px !important}
}
@media (max-width:1000px){
  #productGrid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:14px !important}
}
@media (max-width:700px){
  #catalogSection{
    padding-left:12px !important;
    padding-right:12px !important;
  }
  #productGrid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }
  #productGrid .product-card{border-radius:14px !important}
  #productGrid .product-card > .p-5{padding:9px !important}
  #productGrid .product-card h3{font-size:13px !important}
  #productGrid .product-card .text-lg{font-size:15px !important}
  .filter-strip-label{display:none}
  .catalog-filter-strip{gap:6px}
  .category-chip{padding:6px 9px;font-size:10px}
}
@media (max-width:430px){
  #productGrid{gap:8px !important}
  #productGrid .product-card .plant-img-wrapper{aspect-ratio:1 / 1 !important}
  #productGrid .product-card > .p-5{padding:8px !important}
}


/* =========================================================
   FINAL STANDARD PRODUCT CARD — NO EMPTY HEIGHT
   ========================================================= */

/* Cancel all legacy fixed-height card rules */
#productGrid .product-card,
.product-card{
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  flex:none !important;
  align-self:start !important;
  justify-self:stretch !important;
  display:block !important;
  overflow:hidden !important;
}

/* The image is the only fixed visual dimension */
#productGrid .product-card .plant-img-wrapper,
.product-card .plant-img-wrapper{
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:1 / 1 !important;
  flex:none !important;
}

/* Body must NOT stretch */
#productGrid .product-card .product-card-body,
.product-card .product-card-body{
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  flex:none !important;
  padding:12px !important;
}

/* Compact information area */
#productGrid .product-card-body > div:first-child{
  display:block !important;
  height:auto !important;
  min-height:0 !important;
  flex:none !important;
}

#productGrid .product-card h3{
  min-height:0 !important;
  max-height:2.7em !important;
  margin:5px 0 7px !important;
  line-height:1.35 !important;
  overflow:hidden !important;
}

/* Compact min-order box */
#productGrid .product-card .bg-emerald-50{
  height:auto !important;
  min-height:0 !important;
  padding:7px 9px !important;
  margin-top:5px !important;
  margin-bottom:0 !important;
}
#productGrid .product-card .bg-emerald-50 p{
  margin:2px 0 0 !important;
  line-height:1.25 !important;
}

/* Price directly follows min-order box — no vertical spacer */
#productGrid .product-card .product-price-row{
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  margin-top:10px !important;
  padding-top:10px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:8px !important;
}
#productGrid .product-card .product-price-info{
  min-width:0 !important;
  flex:1 1 auto !important;
}
#productGrid .product-card .product-price-line{
  white-space:nowrap !important;
  min-width:0 !important;
}
#productGrid .product-card .product-price-line > span{
  white-space:nowrap !important;
}
#productGrid .product-card .product-actions{
  flex:0 0 auto !important;
  min-width:max-content !important;
  align-items:center !important;
}
#productGrid .product-card .product-actions button{
  white-space:nowrap !important;
}

/* Stock stays compact */
#productGrid .product-card .product-price-info > span{
  display:block !important;
  margin-top:4px !important;
  line-height:1.25 !important;
}

/* Remove old card rules that created artificial vertical space */
#productGrid .product-card > .p-5{
  height:auto !important;
  min-height:0 !important;
  flex:none !important;
  padding:12px !important;
}
#productGrid .product-card .border-t{
  min-height:0 !important;
}
#productGrid .product-card .border-t[class*="pt-3"]{
  min-height:0 !important;
}

/* Product grid stays dense */
#productGrid{
  align-items:start !important;
  grid-auto-rows:max-content !important;
}

/* Slightly smaller desktop cards while preserving readability */
@media (min-width:1351px){
  #productGrid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:18px !important}
}
@media (max-width:1350px) and (min-width:1001px){
  #productGrid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:16px !important}
}
@media (max-width:1000px) and (min-width:701px){
  #productGrid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:14px !important}
}
@media (max-width:700px){
  #productGrid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important}
  #productGrid .product-card .product-card-body{padding:9px !important}
  #productGrid .product-card h3{font-size:13px !important}
  #productGrid .product-card .product-price-row{gap:5px !important}
  #productGrid .product-card .product-price-line{gap:2px !important}
  #productGrid .product-card .product-price-line .text-lg{font-size:15px !important}
  #productGrid .product-card .product-price-line .text-xs,
  #productGrid .product-card .product-price-line .text-\[11px\]{font-size:9px !important}
  #productGrid .product-card .product-actions button:last-child{
    padding-left:9px !important;
    padding-right:9px !important;
  }
}


/* =========================================================
   FINAL HEADER STABILITY FIX
   Promo bar and main header never merge/overlap.
   ========================================================= */
.pps-topbar{
  position:relative !important;
  z-index:10020 !important;
  isolation:isolate;
}
.pps-main-header{
  position:sticky !important;
  top:0 !important;
  z-index:10000 !important;
  isolation:isolate;
}
.pps-main-header > div{
  position:relative !important;
  z-index:10001 !important;
}
.pps-main-header .pps-brand{
  flex:0 0 360px !important;
  min-width:320px !important;
  max-width:360px !important;
  overflow:visible !important;
  text-decoration:none;
}
.pps-main-header .pps-brand > div{
  min-width:0 !important;
}
.pps-main-header .pps-brand span.text-base,
.pps-main-header .pps-brand span.text-2xl{
  display:block;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
}
.pps-main-header .pps-brand p{
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.pps-main-header .pps-search{
  flex:1 1 430px !important;
  width:auto !important;
  max-width:430px !important;
  min-width:300px !important;
  margin-left:12px !important;
  margin-right:12px !important;
  z-index:10010 !important;
}
.pps-main-header .pps-header-actions{
  flex:0 0 auto !important;
  min-width:max-content !important;
  z-index:10010 !important;
}
.pps-main-header input#searchInput{
  position:relative !important;
  z-index:10015 !important;
  pointer-events:auto !important;
}
.pps-main-header #searchSuggestions{
  z-index:10020 !important;
}
.pps-main-header .max-w-7xl{
  width:100% !important;
}

/* Force admin overlays to be genuinely hidden until explicitly opened. */
#adminLoginModal.hidden,
#adminModal.hidden{
  display:none !important;
}
#adminLoginModal:not(.hidden),
#adminModal:not(.hidden){
  display:block !important;
  position:fixed !important;
  inset:0 !important;
  z-index:20000 !important;
}
#adminLoginModal:not(.hidden) > .min-h-full,
#adminModal:not(.hidden) > .min-h-full{
  min-height:100% !important;
}
@media (max-width:1250px) and (min-width:901px){
  .pps-main-header .pps-brand{
    flex-basis:300px !important;
    min-width:280px !important;
    max-width:300px !important;
  }
  .pps-main-header .pps-search{
    min-width:270px !important;
    max-width:360px !important;
  }
  .pps-main-header .pps-header-actions{gap:8px !important}
}
@media (max-width:900px){
  .pps-main-header .pps-brand{
    flex:1 1 auto !important;
    min-width:0 !important;
    max-width:none !important;
  }
  .pps-main-header .pps-brand span.text-base,
  .pps-main-header .pps-brand span.text-2xl{
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  .pps-main-header .pps-search{min-width:0 !important}
}


/* =========================================================
   CART + CHECKOUT LAYER / COLUMN FIX
   Header must never sit above an open cart or checkout.
   ========================================================= */
#cartDrawer{
  z-index:10050 !important;
}
#cartDrawer .drawer-content{
  position:relative;
  z-index:10051 !important;
}
#checkoutModal{
  z-index:10060 !important;
}
#checkoutModal > .fixed.inset-0{
  z-index:10060 !important;
}
#checkoutModal > .min-h-full{
  position:relative;
  z-index:10061 !important;
  width:100%;
}
#checkoutModal > .min-h-full > div{
  max-height:calc(100vh - 32px);
  overflow-y:auto;
}

/* Cart item names: never get hidden behind the delete button.
   Allow long product names to wrap to two lines cleanly. */
.pps-cart-item-name{
  display:-webkit-box !important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden !important;
  white-space:normal !important;
  line-height:1.35 !important;
  min-width:0 !important;
  padding-right:4px;
}
#cartItemsList > div{
  min-width:0 !important;
}
#cartItemsList > div > div:first-child{
  min-width:0 !important;
}
#cartItemsList > div > div:first-child > div{
  min-width:0 !important;
}
#cartItemsList img{
  flex:0 0 64px;
}

/* Checkout must always begin below the browser viewport edge without
   being covered by the sticky site header. */
body:has(#checkoutModal:not(.hidden)) .pps-main-header{
  z-index:9990 !important;
}

/* On smaller screens, use the full available checkout height. */
@media (max-width:640px){
  #checkoutModal > .min-h-full{
    align-items:flex-start !important;
    padding:10px !important;
  }
  #checkoutModal > .min-h-full > div{
    max-height:calc(100vh - 20px) !important;
    border-radius:20px !important;
  }
  #cartDrawer .drawer-content{
    width:100vw !important;
    max-width:100vw !important;
  }
}


/* =========================================================
   SEARCH BAR FINAL ALIGNMENT
   ========================================================= */
.pps-main-header{
  overflow:visible !important;
}
.pps-main-header > div{
  width:100% !important;
  max-width:1500px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  display:grid !important;
  grid-template-columns:minmax(320px,380px) minmax(280px,1fr) auto !important;
  align-items:center !important;
  gap:20px !important;
}
.pps-main-header .pps-brand{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  flex:none !important;
  overflow:hidden !important;
}
.pps-main-header .pps-brand > div{
  min-width:0 !important;
  overflow:hidden !important;
}
.pps-main-header .pps-brand span.text-base,
.pps-main-header .pps-brand span.text-2xl{
  display:block !important;
  max-width:240px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.pps-main-header .pps-brand p{
  max-width:300px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.pps-main-header .pps-search{
  display:flex !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
  position:relative !important;
  z-index:10010 !important;
}
.pps-main-header .pps-search > div{
  width:100% !important;
  min-width:0 !important;
}
.pps-main-header #searchInput{
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  pointer-events:auto !important;
  cursor:text !important;
}
.pps-main-header .pps-header-actions{
  min-width:max-content !important;
  max-width:100% !important;
  flex:none !important;
}
.pps-main-header #searchSuggestions{
  top:calc(100% + 8px) !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  max-height:360px !important;
  z-index:10050 !important;
}
@media (max-width:1250px) and (min-width:901px){
  .pps-main-header > div{
    grid-template-columns:minmax(270px,320px) minmax(240px,1fr) auto !important;
    gap:12px !important;
  }
  .pps-main-header .pps-brand span.text-base,
  .pps-main-header .pps-brand span.text-2xl{max-width:205px !important}
  .pps-main-header .pps-search{min-width:240px !important}
}
@media (max-width:900px){
  .pps-main-header > div{
    display:flex !important;
    gap:8px !important;
  }
  .pps-main-header .pps-brand{flex:1 1 auto !important}
}

.pps-main-header #searchSuggestions:not(.hidden){display:block !important;pointer-events:auto !important}

/* =========================================================
   FINAL LIVE STOREFRONT HEADER + PRODUCT CARD FIX
   Admin editing controls must NEVER appear on public product cards.
   ========================================================= */

/* Never show admin-only product controls in the public catalog. */
.product-card .pps-admin-product-controls,
.product-card [data-admin-only="true"] {
  display: none !important;
}

/* Category navigation must never overlap or squeeze text. */
.pps-main-header > div > nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  scrollbar-width: none;
}
.pps-main-header > div > nav::-webkit-scrollbar { display:none; }
.pps-main-header > div > nav > a {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  min-width: max-content !important;
  line-height: 1.25 !important;
}

/* Desktop/tablet: keep the primary header readable instead of forcing
   brand + search + actions into one cramped line. */
@media (max-width: 1250px) and (min-width: 901px) {
  .pps-main-header .max-w-7xl > .flex.items-center.justify-between {
    height: auto !important;
    min-height: 72px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    row-gap: 8px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .pps-main-header .pps-brand {
    flex: 1 1 260px !important;
    min-width: 240px !important;
    max-width: 320px !important;
  }

  /* Put search on its own full-width row at tablet widths. */
  .pps-main-header .pps-search {
    order: 3 !important;
    flex: 1 0 100% !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .pps-main-header .pps-header-actions {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    gap: 7px !important;
  }

  .pps-main-header .pps-header-actions > a,
  .pps-main-header .pps-header-actions > button {
    flex-shrink: 0 !important;
  }

  .pps-main-header > div > nav {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
}

/* At smaller desktop/tablet widths, remove low-priority text labels from
   header action buttons rather than allowing collisions. */
@media (max-width: 1080px) and (min-width: 901px) {
  .pps-main-header .pps-header-actions > a[href*="wa.me"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .pps-main-header .pps-header-actions > a[href*="wa.me"] span {
    display: none !important;
  }
  .pps-main-header .pps-header-actions > button:first-child span {
    font-size: 0 !important;
  }
  .pps-main-header .pps-header-actions > button:first-child span::after {
    content: "Pincode" !important;
    font-size: 11px !important;
  }
}

/* Product cards: no accidental admin UI overlays. */
.product-card .absolute.bottom-3.right-3 {
  display: none !important;
}

/* =========================================================
   PROFESSIONAL HEADER / CATEGORY NAV — FINAL OVERRIDE
   Fixes wrapper-grid bug that caused category links to overlap
   with the logo, search bar and cart.
   ========================================================= */

/* The header's outer container must NEVER be a 3-column grid.
   Its children are: main-row + category-nav + mobile-search. */
.pps-main-header > .max-w-7xl {
  display: block !important;
  width: 100% !important;
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Main desktop header row */
.pps-main-header > .max-w-7xl > .flex.items-center.justify-between {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  box-sizing: border-box !important;
}

/* Brand */
.pps-main-header .pps-brand {
  flex: 0 1 350px !important;
  width: auto !important;
  min-width: 250px !important;
  max-width: 370px !important;
  overflow: hidden !important;
}
.pps-main-header .pps-brand > div {
  min-width: 0 !important;
  overflow: hidden !important;
}
.pps-main-header .pps-brand span.text-base,
.pps-main-header .pps-brand span.text-2xl {
  max-width: 245px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.pps-main-header .pps-brand p {
  max-width: 310px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Desktop search */
.pps-main-header .pps-search {
  order: 2 !important;
  flex: 1 1 420px !important;
  width: auto !important;
  min-width: 260px !important;
  max-width: 520px !important;
  margin: 0 !important;
}
.pps-main-header .pps-search > div {
  width: 100% !important;
  min-width: 0 !important;
}
.pps-main-header #searchInput {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Header actions */
.pps-main-header .pps-header-actions {
  order: 3 !important;
  flex: 0 0 auto !important;
  min-width: max-content !important;
  max-width: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  white-space: nowrap !important;
}

/* Category navigation is a completely separate full-width row. */
.pps-main-header > .max-w-7xl > nav {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 9px 2px !important;
  margin: 0 !important;
  border-top: 1px solid rgba(231,229,228,.8) !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}
.pps-main-header > .max-w-7xl > nav::-webkit-scrollbar {
  display: none !important;
}
.pps-main-header > .max-w-7xl > nav > a {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: max-content !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  padding: 8px 13px !important;
  border-radius: 9px !important;
}

/* Wide desktop: clean single main row. */
@media (min-width: 1251px) {
  .pps-main-header > .max-w-7xl > .flex.items-center.justify-between {
    flex-wrap: nowrap !important;
    min-height: 78px !important;
  }
}

/* Medium desktop / laptop: put search on a dedicated second row.
   This prevents the actions from crushing the search or brand. */
@media (max-width: 1250px) and (min-width: 1024px) {
  .pps-main-header > .max-w-7xl > .flex.items-center.justify-between {
    flex-wrap: wrap !important;
    row-gap: 8px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    min-height: auto !important;
  }

  .pps-main-header .pps-brand {
    flex: 1 1 280px !important;
    max-width: 340px !important;
  }

  .pps-main-header .pps-header-actions {
    margin-left: auto !important;
    gap: 7px !important;
  }

  .pps-main-header .pps-search {
    order: 10 !important;
    flex: 1 0 100% !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-bottom: 2px !important;
  }

  .pps-main-header > .max-w-7xl > nav {
    justify-content: flex-start !important;
  }

  .pps-main-header > .max-w-7xl > nav > a {
    padding-left: 11px !important;
    padding-right: 11px !important;
  }
}

/* At 1024–1100px, reduce non-essential button text instead of
   allowing any overlap. */
@media (max-width: 1100px) and (min-width: 1024px) {
  .pps-main-header .pps-brand {
    flex-basis: 260px !important;
    max-width: 300px !important;
  }

  .pps-main-header .pps-header-actions {
    gap: 5px !important;
  }

  .pps-main-header .pps-header-actions > a[href*="wa.me"] {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .pps-main-header .pps-header-actions > a[href*="wa.me"] span {
    display: none !important;
  }

  .pps-main-header .pps-header-actions > button:first-child {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .pps-main-header .pps-header-actions > button:first-child span {
    font-size: 0 !important;
  }

  .pps-main-header .pps-header-actions > button:first-child span::after {
    content: "Pincode" !important;
    font-size: 11px !important;
  }
}

/* Mobile/tablet below desktop: the existing mobile search remains
   below the header and category navigation stays hidden on small screens. */
@media (max-width: 1023px) {
  .pps-main-header > .max-w-7xl {
    max-width: 100% !important;
  }

  .pps-main-header > .max-w-7xl > .flex.items-center.justify-between {
    flex-wrap: nowrap !important;
    min-height: 64px !important;
    gap: 8px !important;
  }

  .pps-main-header .pps-brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .pps-main-header .pps-header-actions {
    flex: 0 0 auto !important;
    gap: 3px !important;
  }

  .pps-main-header > .max-w-7xl > nav {
    display: none !important;
  }
}

/* Never let header text or buttons visually escape their own box. */
.pps-main-header *,
.pps-main-header *::before,
.pps-main-header *::after {
  box-sizing: border-box;
}


/* ================= E-COMMERCE BUTTON ANIMATIONS & SOCIAL ICONS ================= */
@keyframes pulseSubtle {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3); }
  50% { transform: scale(1.025); box-shadow: 0 8px 25px rgba(5, 150, 105, 0.55); }
}

@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.18) rotate(-4deg); }
  50% { transform: scale(0.92) rotate(4deg); }
  75% { transform: scale(1.05); }
}

@keyframes shimmerEffect {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.btn-buy-now {
  background: linear-gradient(135deg, #059669 0%, #0d9488 50%, #047857 100%) !important;
  background-size: 200% 200% !important;
  animation: pulseSubtle 3s ease-in-out infinite !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-buy-now:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 12px 28px -4px rgba(5, 150, 105, 0.6) !important;
}

.btn-buy-now:active {
  transform: translateY(0) scale(0.96) !important;
}

.btn-add-to-cart {
  position: relative !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden !important;
}

.btn-add-to-cart:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px -4px rgba(28, 66, 49, 0.4) !important;
}

.btn-add-to-cart:active {
  transform: scale(0.94) !important;
}

.btn-add-to-cart.anim-added {
  background-color: #059669 !important;
  animation: cartBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* HIGH-VISIBILITY FOOTER SOCIAL ICONS */
.footer-socials {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 18px !important;
}

.footer-socials a {
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

.footer-socials a svg {
  width: 20px !important;
  height: 20px !important;
  fill: currentColor !important;
  display: block !important;
  transition: transform 0.2s ease !important;
}

.footer-socials a.soc-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  border-color: transparent !important;
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 6px 16px rgba(214, 36, 159, 0.45) !important;
}

.footer-socials a.soc-facebook:hover {
  background: #1877f2 !important;
  border-color: #1877f2 !important;
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.45) !important;
}

.footer-socials a.soc-whatsapp:hover {
  background: #25d366 !important;
  border-color: #25d366 !important;
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45) !important;
}

.footer-socials a:hover svg {
  transform: scale(1.1) !important;
}

/* ─── PDP Related Products Animation ─────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.group-hover\:scale-108:hover { transform: scale(1.08); }

/* ==============================================================================
   ORGANICBAZAR SIGNATURE THEME & COMPONENT STYLES
   ============================================================================== */
:root {
  --ob-green: #3f7a1f;
  --ob-green-hover: #326318;
  --ob-green-badge: #3b7a24;
  --ob-yellow: #fbc02d;
  --ob-yellow-hover: #f9a825;
  --ob-discount: #488225;
  --ob-banner-green: #3f8426;
  --ob-banner-dark: #498d2b;
  --ob-card-bg: #ffffff;
}

/* OrganicBazar Style Corner Ribbon */
.card-ribbon-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  overflow: hidden;
  z-index: 15;
  pointer-events: none;
  border-top-left-radius: 1.25rem;
}
.card-ribbon {
  position: absolute;
  top: 18px;
  left: -28px;
  width: 110px;
  transform: rotate(-45deg);
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 0;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  text-transform: uppercase;
}
.ribbon-bestseller {
  background: linear-gradient(135deg, #488225, #2e5c16);
}
.ribbon-hotpick {
  background: linear-gradient(135deg, #e65100, #bf360c);
}
.ribbon-trending {
  background: linear-gradient(135deg, #33691e, #1b5e20);
}
.ribbon-sellingfast {
  background: linear-gradient(135deg, #00796b, #004d40);
}
.ribbon-outofstock {
  background: linear-gradient(135deg, #c62828, #b71c1c);
}

/* OrganicBazar Utility Classes */
.bg-ob-green { background-color: #3f7a1f !important; }
.bg-ob-green-hover:hover { background-color: #326318 !important; }
.bg-ob-green-badge { background-color: #3b7a24 !important; }
.text-ob-green { color: #3f7a1f !important; }
.border-ob-green { border-color: #3f7a1f !important; }

.bg-ob-yellow { background-color: #fbc02d !important; }
.bg-ob-yellow-hover:hover { background-color: #f9a825 !important; }
.text-ob-yellow { color: #fbc02d !important; }

.bg-ob-discount { background-color: #488225 !important; }
.bg-ob-banner-green { background-color: #3f8426 !important; }
.bg-ob-banner-dark-green { background-color: #498d2b !important; }

/* OrganicBazar Buttons */
.btn-ob-add-cart {
  background-color: #3f7a1f;
  color: #ffffff;
  font-weight: 700;
  border-radius: 9999px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-ob-add-cart:hover {
  background-color: #326318;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(63, 122, 31, 0.25);
}

.btn-ob-show-more {
  background-color: #fbc02d;
  color: #1a1a1a;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(251, 192, 45, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-ob-show-more:hover {
  background-color: #f9a825;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(251, 192, 45, 0.45);
}

.ob-product-card {
  background-color: #ffffff;
  border: 1px solid #e9ebe6;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.ob-product-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  transform: translateY(-3px);
}

.ob-card-img-box {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #f4f5f2;
}

.ob-wishlist-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.ob-wishlist-btn:hover {
  transform: scale(1.1);
  background-color: #fef2f2;
  border-color: #fca5a5;
}

/* Botanical Watermark Background for Banners */
.bg-botanical-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}


/* ==========================================================================
   ORGANICBAZAR PDP (PRODUCT DETAIL PAGE) STYLES (IMAGES 1, 2, 3)
   ========================================================================== */

/* Gallery Thumbnails */
.pdp-gallery-thumb {
  cursor: pointer;
  border-radius: 1rem;
  border: 2px solid #e7e5e4;
  overflow: hidden;
  transition: all 0.2s ease;
}
.pdp-gallery-thumb:hover {
  border-color: #3f7a1f;
  transform: translateY(-2px);
}
.pdp-gallery-thumb.active {
  border-color: #3f7a1f;
  box-shadow: 0 0 0 2px rgba(63, 122, 31, 0.2);
}

/* Pot / Option Selector Cards */
.pdp-option-card {
  border: 1.5px solid #e7e5e4;
  border-radius: 1rem;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #ffffff;
}
.pdp-option-card:hover {
  border-color: #3f7a1f;
}
.pdp-option-card.selected {
  border-color: #3f7a1f;
  background-color: #f4faf2;
  box-shadow: 0 0 0 1px #3f7a1f;
}

/* Guarantee Box */
.pdp-guarantee-box {
  background-color: #f4faf2;
  border: 1px solid #d1fae5;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
}

/* Quick Specs List */
.pdp-spec-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f5f5f4;
  font-size: 0.78rem;
  color: #44403c;
}
.pdp-spec-row:last-child {
  border-bottom: none;
}

/* Frequently Bought Together (FBT) */
.fbt-item-card {
  background-color: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
}
.fbt-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px -2px rgba(0,0,0,0.05);
}
.fbt-plus-badge {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  background-color: #fbc02d;
  color: #1c1917;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
  transition: all 0.15s ease;
}
.fbt-plus-badge.checked {
  background-color: #3f7a1f;
  color: #ffffff;
}

/* Create Bundle Connectors */
.bundle-plus-connector {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: #3f7a1f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex-shrink: 0;
  z-index: 10;
}

/* Tabbed Specification Box */
.pdp-tab-btn {
  padding-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #78716c;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.pdp-tab-btn:hover {
  color: #1c1917;
}
.pdp-tab-btn.active {
  color: #1c1917;
  border-bottom-color: #1c1917;
  font-weight: 800;
}

/* Review Breakdown Bars */
.review-progress-track {
  height: 0.55rem;
  background-color: #f5f5f4;
  border-radius: 9999px;
  overflow: hidden;
  flex: 1;
}
.review-progress-fill {
  height: 100%;
  background-color: #3f7a1f;
  border-radius: 9999px;
  transition: width 0.4s ease;
}

/* ==========================================================================
   VARIETY CAROUSEL TRACK & SLIDER STYLING (5-SEC AUTO ROTATION)
   ========================================================================== */
.carousel-track {
  display: flex !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  gap: 1.25rem !important;
  padding-bottom: 1rem !important;
  padding-top: 0.25rem !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel-track > * {
  flex-shrink: 0 !important;
  width: 280px !important;
  max-width: 85vw !important;
  scroll-snap-align: start;
}

/* Specific styling for personalized recommendations cards in carousel */
#personalizedRecsContainer.carousel-track > * {
  width: 520px !important;
  max-width: 90vw !important;
}

/* ==========================================================================
   VARIETY QUANTITY SELECTOR (50Qty, 100Qty, 150Qty)
   ========================================================================== */
.card-qty-btn {
  font-family: inherit;
  user-select: none;
}
.card-qty-btn.active {
  background-color: #3f7a1f !important;
  color: #ffffff !important;
  border-color: #3f7a1f !important;
}
.pdp-qty-preset-btn {
  user-select: none;
}
.pdp-qty-preset-btn.active {
  background-color: #3f7a1f !important;
  color: #ffffff !important;
  border-color: #3f7a1f !important;
}
