/* Storefront design system (Phase 4, Worker A) — premium, mobile-first.
   Colours/font come from the theme via CSS variables set inline by
   views/store/_head.php: --store-primary, --store-secondary,
   --store-font, --store-button-radius. Do not edit assets/css/app.css. */

.store { margin: 0; font-family: var(--store-font); color: var(--store-text); background: var(--store-page-bg); line-height: 1.5; }
.store *, .store *::before, .store *::after { box-sizing: border-box; }
.store a { color: var(--store-secondary); text-decoration: none; }
.store a:hover { text-decoration: underline; }
.store img { max-width: 100%; }
.store .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* --- Header --- */
.store-header { position: sticky; top: 0; z-index: 50; background: var(--store-header-bg); border-bottom: 1px solid #e5e7eb; }
.store-announcement { background: var(--store-primary); color: #fff; text-align: center; font-size: .85rem; padding: .45rem .75rem; }
.store-header-main { display: flex; align-items: center; gap: .75rem; padding: .6rem 1rem; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
.store-brand { display: flex; align-items: center; gap: .5rem; color: var(--store-primary); font-weight: 800; font-size: 1.25rem; }
.store-brand:hover { text-decoration: none; }
.store-brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 8px; background: var(--store-primary); color: #fff; font-size: 1.1rem; }
.store-tagline { font-size: .85rem; font-weight: 600; color: var(--store-accent); white-space: nowrap; }
.store-logo { height: 2.25rem; width: auto; }
.store-search { display: flex; flex: 1 1 220px; min-width: 180px; position: relative; }
.store-search input[type="search"] { flex: 1; padding: .55rem .75rem; border: 1px solid #d1d5db; border-radius: var(--store-button-radius) 0 0 var(--store-button-radius); font: inherit; min-width: 0; }
.store-search button[type="submit"] { padding: .55rem .8rem; border: 1px solid var(--store-secondary); background: var(--store-secondary); color: #fff; border-radius: 0 var(--store-button-radius) var(--store-button-radius) 0; cursor: pointer; }
.store-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 60; overflow: hidden; }
.store-suggestions a { display: block; padding: .55rem .75rem; color: #1f2937; }
.store-suggestions a:hover, .store-suggestions a.active { background: #f3f4f6; text-decoration: none; }
.store-suggestions .store-suggestion-type { float: right; font-size: .75rem; color: #6b7280; text-transform: uppercase; }
.store-header-actions { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
.store-header-link { color: var(--store-primary); font-weight: 600; white-space: nowrap; }
.store-cart-count { display: inline-block; min-width: 1.25rem; text-align: center; background: var(--store-secondary); color: #fff; border-radius: 999px; font-size: .75rem; padding: .05rem .3rem; }
.store-nav-toggle { display: none; background: none; border: 1px solid #d1d5db; border-radius: 8px; padding: .35rem .6rem; font-size: 1.1rem; cursor: pointer; }
.store-nav { display: flex; gap: 1.1rem; padding: .5rem 1rem; max-width: 1200px; margin: 0 auto; overflow-x: auto; }
.store-nav-link { color: #374151; font-weight: 600; white-space: nowrap; }
.store-nav-link:hover { color: var(--store-accent); }
.store-header-centered .store-header-main { flex-direction: column; justify-content: center; text-align: center; }
.store-header-centered .store-header-actions { margin-left: 0; }
/* In a column header, .store-search's flex-basis (220px) would become a
   HEIGHT (giant search box on phone). Pin it to full width instead. */
.store-header-centered .store-search { flex: none; width: 100%; }
.store-header-centered .store-nav { justify-content: center; }

/* --- Main / sections --- */
.store-main { max-width: 1200px; margin: 0 auto; padding: 0 1rem 3rem; }
.store-section { margin-top: 2.25rem; }
.store-section > h2 { font-size: 1.5rem; margin: 0 0 1rem; color: var(--store-primary); }
.store-hero { position: relative; margin: 1.25rem 0 0; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, var(--store-primary), var(--store-secondary)); color: #fff; min-height: 220px; display: flex; align-items: center; }
.store-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.store-hero-content { position: relative; padding: 2.5rem 2rem; max-width: 640px; }
.store-hero-content h1 { font-size: 2rem; margin: 0 0 .5rem; }
.store-hero-content p { margin: 0 0 1.25rem; opacity: .92; }

/* --- Buttons --- */
.store-btn { display: inline-block; padding: .6rem 1.1rem; border-radius: var(--store-button-radius); font-weight: 700; font-size: .95rem; border: 1px solid transparent; cursor: pointer; text-align: center; }
.store-btn:hover { text-decoration: none; opacity: .92; }
.store-btn-primary { background: var(--store-button-bg); color: var(--store-button-text); }
.store-btn-secondary { background: #fff; color: var(--store-primary); border-color: #d1d5db; }
.store-btn:disabled { opacity: .5; cursor: not-allowed; }

/* --- Product grid / cards --- */
.store-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.store-product-card { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.store-product-card-image { display: block; position: relative; aspect-ratio: 1; background: #f3f4f6; }
.store-product-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.store-product-card-body { padding: .85rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; min-width: 0; }
.store-product-brand { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; }
.store-product-title { font-size: 1rem; margin: 0; line-height: 1.35; }
.store-product-title a { color: #111827; }
.store-product-price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; row-gap: .1rem; }
.store-price { font-weight: 800; font-size: 1.05rem; color: var(--store-primary); }
.store-compare-price { color: #9ca3af; text-decoration: line-through; font-size: .9rem; }
.store-product-card .store-btn { margin-top: auto; }
.store-card-list { flex-direction: row; }
.store-card-list .store-product-card-image { width: 140px; flex-shrink: 0; aspect-ratio: 1; }
.store-badge { position: absolute; top: .5rem; left: .5rem; font-size: .7rem; font-weight: 700; padding: .15rem .5rem; border-radius: 999px; }
.store-badge-out { background: #111827; color: #fff; }
.store-badge-new { background: var(--store-secondary); color: #fff; }
.store-rating { display: flex; align-items: center; gap: .35rem; font-size: .85rem; color: #6b7280; }
.store-stars { color: #f59e0b; letter-spacing: .05em; }

/* --- Categories --- */
.store-category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.store-category-tile { display: block; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; color: #111827; background: #fff; }
.store-category-tile:hover { text-decoration: none; border-color: var(--store-secondary); }
.store-category-tile img { width: 100%; height: 140px; object-fit: cover; display: block; }
.store-category-name { display: block; font-weight: 700; padding: .6rem .75rem 0; }
.store-category-count { display: block; color: #6b7280; font-size: .85rem; padding: 0 .75rem .75rem; }
.store-category-head h1 { font-size: 1.75rem; margin: 1.25rem 0 .25rem; }
.store-category-banner { width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; margin-top: 1rem; }
.store-subcategories { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.store-chip { display: inline-block; padding: .35rem .75rem; border: 1px solid #d1d5db; border-radius: 999px; color: #374151; font-size: .9rem; }
.store-chip:hover { border-color: var(--store-secondary); text-decoration: none; }

/* --- Filters / listing --- */
.store-filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; padding: 1rem; border: 1px solid #e5e7eb; border-radius: 12px; background: #f9fafb; margin: 1rem 0; }
.store-filters label { display: flex; flex-direction: column; gap: .25rem; font-size: .85rem; font-weight: 600; color: #374151; }
.store-filters select, .store-filters input[type="number"] { padding: .5rem .6rem; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; background: #fff; }
.store-filter-check { flex-direction: row !important; align-items: center; gap: .4rem !important; padding-bottom: .5rem; }
.store-result-count { color: #6b7280; font-size: .9rem; }
.store-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1.5rem 0; }
.store-empty { text-align: center; padding: 3rem 1rem; }
.store-empty h2 { margin-top: 0; }

/* --- Customer account layout --- */
/* The account pages used an inline grid-template-columns:260px 1fr, which
   beat the stylesheet's phone media query and forced a ~500px layout
   viewport on phones (content cut off). This class stacks on phone. */
.store-account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 1.25rem; align-items: start; }
@media (max-width: 700px) {
  .store-account-layout { grid-template-columns: 1fr; }
}

/* --- Product page --- */
.store-product { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.store-gallery-main { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #f3f4f6; aspect-ratio: 1; }
.store-gallery-main img { width: 100%; height: 100%; object-fit: contain; display: block; cursor: zoom-in; transition: transform .2s ease; }
.store-gallery-main img.zoomed { transform: scale(1.8); cursor: zoom-out; }
.store-gallery-thumbs { display: flex; gap: .5rem; margin-top: .5rem; overflow-x: auto; }
.store-gallery-thumb { border: 2px solid transparent; border-radius: 8px; padding: 0; background: none; cursor: pointer; flex-shrink: 0; }
.store-gallery-thumb.active { border-color: var(--store-secondary); }
.store-gallery-thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; display: block; }
.store-product-info h1 { font-size: 1.6rem; margin: .25rem 0 .5rem; }
.store-breadcrumb { font-size: .9rem; }
.store-subtitle { color: #6b7280; margin: .25rem 0; }
.store-brand-line { color: #6b7280; font-size: .9rem; }
.store-product-price-lg { font-size: 1.35rem; margin: .75rem 0 .25rem; }
.store-gst-note { font-size: .8rem; color: #6b7280; font-weight: 400; }
.store-stock { font-weight: 600; color: #047857; margin: .25rem 0 .75rem; }
.store-short-desc { color: #374151; }
.store-variants label { font-weight: 700; display: block; margin-bottom: .35rem; }
.store-variants select { width: 100%; padding: .6rem; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; background: #fff; }
.store-add-to-cart { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin: 1rem 0; }
.store-add-to-cart label { display: flex; flex-direction: column; gap: .25rem; font-size: .85rem; font-weight: 600; }
.store-add-to-cart input[type="number"] { width: 80px; padding: .6rem; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; }
.store-info-box { border: 1px solid #e5e7eb; border-radius: 8px; padding: .75rem 1rem; margin-top: .75rem; }
.store-info-box summary { font-weight: 700; cursor: pointer; }
.store-video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; margin-bottom: 1rem; }
.store-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.store-specs { width: 100%; border-collapse: collapse; }
.store-specs th, .store-specs td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid #e5e7eb; }
.store-specs th { width: 30%; color: #6b7280; font-weight: 600; }
.store-review, .store-testimonial { border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; margin: 0 0 1rem; background: #fff; }
.store-review footer, .store-testimonial footer { color: #6b7280; font-size: .9rem; margin-top: .5rem; }
.store-testimonial-grid { display: grid; gap: 1rem; }

/* --- Banners / newsletter --- */
.store-banner-row { display: grid; gap: 1rem; }
.store-banner { display: block; position: relative; border-radius: 12px; overflow: hidden; }
.store-banner img { width: 100%; display: block; }
.store-banner-title { position: absolute; left: 1rem; bottom: 1rem; background: rgba(17,24,39,.8); color: #fff; padding: .4rem .8rem; border-radius: 8px; font-weight: 700; }
.store-newsletter-section { text-align: center; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 2rem 1rem; }
.store-newsletter-form { display: flex; gap: .5rem; max-width: 440px; margin: 0 auto; }
.store-newsletter-form input[type="email"] { flex: 1; padding: .6rem .75rem; border: 1px solid #d1d5db; border-radius: var(--store-button-radius); font: inherit; min-width: 0; }
.store-newsletter-form button { padding: .6rem 1rem; background: var(--store-secondary); color: #fff; border: 0; border-radius: var(--store-button-radius); font-weight: 700; cursor: pointer; }
.store-search-page { max-width: 560px; margin: 1rem 0; }
.store-search-head h1 { font-size: 1.5rem; margin: 1.25rem 0 0; }

/* --- Footer --- */
.store-footer { border-top: 1px solid #e5e7eb; background: var(--store-footer-bg); margin-top: 2rem; }
.store-footer-grid { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem 1rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.store-footer-col h4 { margin: 0 0 .6rem; color: var(--store-primary); }
.store-footer-col ul { list-style: none; margin: 0; padding: 0; }
.store-footer-col li { margin-bottom: .35rem; }
.store-footer-col p { margin: .25rem 0; color: #4b5563; font-size: .95rem; }
.store-footer-bottom { max-width: 1200px; margin: 0 auto; padding: 1rem; border-top: 1px solid #e5e7eb; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: #6b7280; font-size: .85rem; }
.store-footer-social a { color: var(--store-secondary); font-weight: 600; margin-right: .75rem; }
.store-payment-badges { display: inline-flex; flex-wrap: wrap; gap: .35rem; }
.store-payment-badge { display: inline-block; border: 1px solid #d1d5db; border-radius: 6px; background: #fff; color: #374151; font-weight: 700; font-size: .75rem; padding: .15rem .5rem; }

/* --- Flash --- */
.store-flash { padding: .75rem 1rem; border-radius: 8px; margin: 1rem 0; }
.store-flash-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.store-flash-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* --- Responsive fixes (phone) --- */
/* Primary storefront actions must be thumb-sized (~44px). */
.store-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
/* Auth/cart forms use the ERP .btn (36px tall) — lift it to 44px in the
   storefront only; .btn-sm in the ERP is untouched. */
.store .btn { min-height: 44px; }
.store .wishlist-form .btn { min-height: 44px; padding: .6rem .9rem; }

/* --- Desktop --- */
@media (min-width: 640px) {
  .store-product-grid { grid-template-columns: repeat(3, 1fr); }
  .store-category-grid { grid-template-columns: repeat(3, 1fr); }
  .store-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .store-footer-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .store-footer-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .store-testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .store-banner-row { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .store-product-grid { grid-template-columns: repeat(4, 1fr); }
  .store-category-grid { grid-template-columns: repeat(4, 1fr); }
  .store-product { grid-template-columns: 1fr 1fr; }
  .store-hero-content h1 { font-size: 2.5rem; }
  .store-testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .store-nav-toggle { display: inline-block; }
  .store-nav { display: none; flex-direction: column; gap: .25rem; }
  .store-nav.open { display: flex; }
  .store-header-link-label { display: none; }
}

/* --- Meesho restyle (Phase 4, Worker A2) --- */
/* Accent colours come from the theme vars (--store-primary/--store-secondary),
   never hardcoded brand colours. Templates add their own layer on top. */

/* Category nav with dropdowns */
.store-nav-item { position: relative; }
.store-nav-dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 60; padding: .35rem 0; }
.store-nav-item:hover .store-nav-dropdown, .store-nav-item:focus-within .store-nav-dropdown { display: block; }
.store-nav-dropdown-link { display: block; padding: .5rem .9rem; color: #374151; font-weight: 600; white-space: nowrap; }
.store-nav-dropdown-link:hover { background: #f3f4f6; color: var(--store-secondary); text-decoration: none; }

/* Hero carousel */
.store-hero-carousel { position: relative; margin: 1.25rem 0 0; border-radius: 16px; overflow: hidden; }
.store-hero-slides { position: relative; }
.store-hero-slide { display: none; position: relative; min-height: 220px; background: linear-gradient(135deg, var(--store-primary), var(--store-secondary)); }
.store-hero-slide.active { display: block; }
.store-hero-slide img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; display: block; }
.store-hero-slide .store-hero-content { position: absolute; left: 0; bottom: 0; right: 0; padding: 1.5rem 2rem; background: linear-gradient(transparent, rgba(0,0,0,.55)); color: #fff; }
.store-hero-slide .store-hero-content h1 { font-size: 1.75rem; margin: 0 0 .25rem; }
.store-hero-slide .store-hero-content p { margin: 0; }
.store-hero-coupon { font-weight: 700; }
.store-hero-dots { position: absolute; bottom: .75rem; right: 1rem; display: flex; gap: .4rem; }
.store-hero-dot { width: .65rem; height: .65rem; border-radius: 999px; border: 1px solid #fff; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; }
.store-hero-dot.active { background: #fff; }

/* Trust badges + deals strip */
.store-trust-badges { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1rem; }
.store-trust-badge { border: 1px solid #e5e7eb; border-radius: 999px; padding: .4rem .9rem; font-size: .85rem; font-weight: 700; color: var(--store-primary); background: #fff; }
.store-deals-strip { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1rem; padding: .75rem 1rem; border-radius: 12px; background: var(--store-primary); color: #fff; }
.store-deals-strip-label { background: #fff; color: var(--store-primary); font-weight: 800; font-size: .8rem; border-radius: 999px; padding: .2rem .6rem; text-transform: uppercase; }
.store-deals-strip-title { font-weight: 700; }
.store-deals-strip-coupon { font-size: .9rem; }
.store-deals-strip-link { color: #fff; font-weight: 700; margin-left: auto; }

/* Category tiles / chips */
.store-category-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.store-category-chip { font-weight: 700; }
.store-category-initial { display: flex; align-items: center; justify-content: center; height: 140px; font-size: 3rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--store-primary), var(--store-secondary)); }

/* Product cards — price-first, discount-first */
.store-product-card .store-price { font-size: 1.25rem; }
.store-discount { color: #038d63; font-weight: 800; font-size: .9rem; }
.store-discount-lg { font-size: 1.05rem; }
.store-rating-badge { display: inline-block; background: #038d63; color: #fff; font-weight: 700; font-size: .8rem; border-radius: 999px; padding: .1rem .45rem; }
.store-free-delivery { display: inline-block; font-size: .75rem; font-weight: 700; color: #6b7280; background: #f3f4f6; border-radius: 999px; padding: .15rem .55rem; width: fit-content; }
.store-badge-discount { background: #038d63; color: #fff; left: auto; right: .5rem; }
.store-card-add { margin-top: auto; }
.store-card-add .store-btn { width: 100%; }
.store-product-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Deal of the day / flash sale */
.store-deal-card { display: grid; gap: 1rem; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; }
.store-deal-card img { width: 100%; max-height: 280px; object-fit: cover; display: block; }
.store-deal-body { padding: 0 1rem 1rem; }
.store-deal-body h3 { margin: 0 0 .35rem; }
.store-deal-coupon { font-size: 1rem; }
.store-deal-coupon strong { background: #fef3c7; border: 1px dashed #d97706; border-radius: 6px; padding: .15rem .5rem; }
.store-countdown { font-weight: 800; color: var(--store-secondary); }
.store-load-more-wrap { text-align: center; margin-top: 1.5rem; }

/* Listing: left filter panel */
.store-listing { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
.store-filters-panel .store-filters { display: block; }
.store-filter-group { border: 0; border-top: 1px solid #e5e7eb; padding: .9rem 0; margin: 0; }
.store-filter-group:first-of-type { border-top: 0; }
.store-filter-group legend { font-weight: 800; padding: 0; margin-bottom: .5rem; }
.store-filter-group label { display: flex; flex-direction: row; align-items: center; gap: .4rem; font-weight: 400; padding: .2rem 0; }
.store-filter-group select, .store-filter-group input[type="number"] { width: 100%; }
.store-filter-tree { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.store-filter-tree ul { list-style: none; padding-left: 1rem; margin: .25rem 0; }
.store-filter-tree a[aria-current="page"] { font-weight: 800; color: var(--store-secondary); }
.store-filter-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.store-listing-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin: 1rem 0; }
.store-sort-form label { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; }
.store-sort-form select { padding: .5rem .6rem; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; background: #fff; }

/* Product page: sizes, delivery, share */
.store-size-label { font-weight: 800; display: block; margin-bottom: .4rem; }
.store-size-buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.store-size-btn { min-width: 3rem; padding: .55rem .85rem; border: 1px solid #d1d5db; border-radius: var(--store-button-radius); background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.store-size-btn:hover { border-color: var(--store-secondary); }
.store-size-btn.active { border-color: var(--store-secondary); background: var(--store-secondary); color: #fff; }
.store-size-hint { color: #6b7280; font-size: .9rem; margin: .4rem 0 0; }
.store-product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 1rem 0; }
.store-sold-by { margin: 0; }
.store-delivery-box { border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; margin-top: 1rem; }
.store-delivery-box h3 { margin: 0 0 .6rem; }
.store-pincode-form { display: flex; gap: .5rem; }
.store-pincode-form input { flex: 1; padding: .6rem .75rem; border: 1px solid #d1d5db; border-radius: var(--store-button-radius); font: inherit; min-width: 0; }
.store-pincode-result { font-weight: 700; margin: .6rem 0 0; }
.store-delivery-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 0; }
.store-delivery-badge { font-size: .8rem; font-weight: 700; border: 1px solid #e5e7eb; border-radius: 999px; padding: .3rem .7rem; background: #f9fafb; }

@media (min-width: 900px) {
  .store-listing { grid-template-columns: 240px 1fr; }
  .store-deal-card { grid-template-columns: 1fr 1fr; align-items: center; }
  .store-deal-body { padding: 1rem 1rem 1rem 0; }
}
