/* LIMITLESS Golden Card System v2 — single authoritative card/action layer */
@import url("/brand-system.css");
:root{--gm-gold:var(--ll-gold);--gm-gold-2:var(--ll-gold-bright);--gm-ink:var(--ll-ink);--gm-line:var(--ll-line);--gm-card:var(--ll-paper);--gm-soft:#fff7df}
.marketplace-refresh .product-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
.marketplace-refresh .product-card{display:flex!important;flex-direction:column!important;min-width:0!important;height:100%!important;overflow:hidden!important;border:1px solid var(--gm-line)!important;border-radius:14px!important;background:var(--gm-card)!important;box-shadow:0 8px 20px rgba(38,28,10,.06)!important}
.marketplace-refresh .product-card .product-image{position:relative!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;flex:0 0 auto!important;background:#fff!important;overflow:hidden!important}
.marketplace-refresh .product-card .product-image>a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;padding:10px!important;box-sizing:border-box!important;background:#fff!important}
.marketplace-refresh .product-card .product-image img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;padding:0!important;box-sizing:border-box!important;transform:none!important;background:#fff!important}
.marketplace-refresh .product-card .product-details{display:flex!important;flex:1!important;flex-direction:column!important;min-height:238px!important;padding:12px!important}
.marketplace-refresh .product-card .product-seller{min-height:18px!important;color:#8a806f!important;font-size:12px!important}
.marketplace-refresh .product-card h3{display:-webkit-box!important;min-height:44px!important;max-height:44px!important;margin:5px 0 8px!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;font-size:15px!important;line-height:1.45!important}
.marketplace-refresh .product-card .price-row{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;min-height:82px!important;margin-top:2px!important}
.marketplace-refresh .product-card .price-row strong,.marketplace-refresh .product-card .price-on-request{font-size:20px!important;font-weight:900!important;color:#6f520d!important;line-height:1.25!important}
.marketplace-refresh .product-card .listing-availability{margin-top:5px!important;font-size:12px!important}
.marketplace-refresh .product-card .product-purchase-actions{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;gap:8px!important;width:100%!important;margin-top:auto!important;padding-top:10px!important}
.marketplace-refresh .product-card .product-purchase-actions--single,.marketplace-refresh .product-card--vehicle .product-purchase-actions,.marketplace-refresh .product-card--quote .product-purchase-actions{grid-template-columns:minmax(0,1fr)!important}
.marketplace-refresh .product-card .buy-now,.marketplace-refresh .product-card .vehicle-order,.marketplace-refresh .product-card .product-order{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:44px!important;margin:0!important;padding:8px 10px!important;border:1px solid #d4a51e!important;border-radius:9px!important;background:linear-gradient(180deg,var(--gm-gold-2),var(--gm-gold))!important;color:#2b281d!important;font-weight:900!important;font-size:13px!important;line-height:1.2!important;text-align:center!important;text-decoration:none!important;white-space:normal!important}
.marketplace-refresh .product-card .add-to-cart{display:flex!important;align-items:center!important;justify-content:center!important;width:46px!important;min-width:46px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:1px solid #d4a51e!important;border-radius:9px!important;background:var(--gm-soft)!important;color:#74550f!important;font-size:0!important;box-shadow:none!important}
.marketplace-refresh .product-card .add-to-cart::before{content:'🛒';font-size:18px!important;line-height:1!important}
.marketplace-refresh .product-card .buy-now:hover,.marketplace-refresh .product-card .vehicle-order:hover,.marketplace-refresh .product-card .product-order:hover{filter:brightness(.98)!important;transform:translateY(-1px)!important}
.marketplace-refresh .product-card .add-to-cart:hover{background:#fff0ba!important;transform:translateY(-1px)!important}
@media(max-width:1199px){.marketplace-refresh .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}

@media(max-width:760px){.marketplace-refresh .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.marketplace-refresh .product-card .product-image>a{padding:7px!important}.marketplace-refresh .product-card .product-details{min-height:210px!important;padding:9px!important}.marketplace-refresh .product-card h3{min-height:40px!important;max-height:40px!important;font-size:13px!important}.marketplace-refresh .product-card .price-row{min-height:72px!important}.marketplace-refresh .product-card .product-purchase-actions{grid-template-columns:42px minmax(0,1fr)!important;gap:6px!important}.marketplace-refresh .product-card .product-purchase-actions--single,.marketplace-refresh .product-card--vehicle .product-purchase-actions,.marketplace-refresh .product-card--quote .product-purchase-actions{grid-template-columns:minmax(0,1fr)!important}.marketplace-refresh .product-card .add-to-cart{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important}.marketplace-refresh .product-card .buy-now,.marketplace-refresh .product-card .vehicle-order,.marketplace-refresh .product-card .product-order{min-height:42px!important;font-size:11px!important;padding:7px 6px!important}}


.marketplace-refresh .product-card[hidden]{display:none!important}


/* Merchant cards use the same fixed image/name/price/action geometry as the storefront. */
.store-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
}
.store-grid .store-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  border: 1px solid var(--gm-line) !important;
  border-radius: 10px !important;
  background: var(--gm-card) !important;
  box-shadow: 0 4px 14px #261c0a0d !important;
  container-type: inline-size;
}
.store-grid .store-card .store-image {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  padding: 4px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #fff !important;
}
.store-grid .store-card .store-image img { display: block !important; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; padding: 0 !important; object-fit: contain !important; object-position: center !important; transform: none !important; background: #fff !important; }
.store-grid .store-card .store-card-copy { position: static !important; display: grid !important; grid-template-rows: 42px 52px 44px !important; flex: none !important; min-width: 0 !important; min-height: 0 !important; padding: 8px !important; gap: 6px !important; }
.store-grid .store-card h2 { display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important; height: 42px !important; min-height: 42px !important; max-height: 42px !important; margin: 0 !important; color: var(--gm-ink) !important; font-size: 14px !important; font-weight: 700 !important; line-height: 21px !important; overflow: hidden !important; overflow-wrap: anywhere; }
.store-grid .store-card h2 a { color: inherit !important; text-decoration: none; }
.store-grid .store-card .store-price-line, .store-grid .store-card .store-price-row { display: grid !important; grid-template-rows: 38px 14px !important; min-width: 0 !important; height: 52px !important; min-height: 52px !important; gap: 0 !important; margin: 0 !important; padding: 0 !important; }
.store-grid .store-card .store-price, .store-grid .store-card:has(.flash-sale-badge) .store-price { grid-row: 1; display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 4px; align-self: center; align-content: center; min-width: 0 !important; max-width: 100% !important; margin: 0 !important; font-size: 20px !important; font-size: clamp(18px, 9cqi, 20px) !important; font-weight: 800 !important; line-height: 24px !important; color: var(--gm-ink) !important; white-space: normal !important; overflow-wrap: anywhere !important; font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.store-grid .store-card .store-price .money-amount { min-width: 0; max-width: 100%; font-variant-numeric: tabular-nums; white-space: nowrap; overflow-wrap: normal; }
.store-grid .store-card .store-price .money-prefix, .store-grid .store-card .store-price .money-currency, .store-grid .store-card .rental-price-unit { margin: 0 !important; font-size: 11px !important; font-weight: 600; line-height: 14px !important; white-space: nowrap; }
.store-grid .store-card .store-price .money-value { display: inline-flex; align-items: baseline; flex-wrap: nowrap; gap: 4px; white-space: nowrap; unicode-bidi: isolate; font-size: clamp(10px, calc((100cqi - 80px) / var(--money-length, 5) * 1.5), 1em); }
.store-grid .store-card .store-price .money-unit { font-size: 11px; line-height: 14px; white-space: nowrap; }
.store-grid .store-card .store-price-line del, .store-grid .store-card .store-price-row del { grid-row: 2; position: static !important; display: block !important; min-width: 0 !important; max-width: 100% !important; margin: 0 !important; font-size: 11px !important; line-height: 14px !important; color: #6e6658 !important; white-space: nowrap !important; }
/* Promotion labels are bounded image overlays; sale activation cannot add a copy row. */
.store-grid .store-card .store-card-promos { position: absolute !important; top: 7px !important; inset-inline-start: 7px !important; inset-inline-end: auto !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 4px !important; width: max-content; max-width: calc(100% - 58px) !important; max-height: 66px !important; overflow: hidden; pointer-events: none; z-index: 2; }
.store-grid .store-card .live-promo, .store-grid .store-card .flash-sale-badge { display: block !important; flex: 0 0 auto !important; min-width: 0; max-width: 100% !important; height: 22px !important; min-height: 22px !important; margin: 0 !important; padding: 0 3px !important; border-radius: 4px !important; background: #222019 !important; color: #ffe8a1 !important; font-size: 11px !important; font-weight: 700 !important; line-height: 22px !important; white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; }
.store-grid .store-card .live-promo--flash, .store-grid .store-card .live-promo--discount, .store-grid .store-card .flash-sale-badge { height: auto !important; max-height: 40px !important; padding: 2px 3px !important; line-height: 18px !important; white-space: normal !important; text-overflow: clip; }
.store-grid .store-card .live-promo--flash, .store-grid .store-card .flash-sale-badge { background: #a12132 !important; color: #fff !important; }
.store-grid .store-card .live-promo--discount { background: #fff0c5 !important; color: #682300 !important; }
.store-grid .store-card .live-promo--trending { background: #234b45 !important; color: #fff !important; }
.store-grid .store-card .live-promo--bestseller { background: #4f3b67 !important; color: #fff !important; }
.store-grid .store-card .store-image > .flash-sale-badge { position: absolute !important; top: 7px !important; inset-inline-start: 7px !important; max-width: calc(100% - 58px) !important; z-index: 2; }
.store-grid .store-card .store-card-copy > .store-actions, .store-grid .store-card .store-card-copy > .product-purchase-actions { grid-row: 3; }
.store-grid .store-card .store-actions, .store-grid .store-card .product-purchase-actions { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; align-items: stretch; width: 100% !important; height: 44px !important; gap: 5px !important; margin: 0 !important; padding: 0 !important; }
.store-grid .store-card .product-purchase-actions { grid-template-columns: 44px minmax(0, 1fr) !important; }
.store-grid .store-card .product-purchase-actions:has(> :only-child), .store-grid .store-card .product-purchase-actions--single { grid-template-columns: minmax(0, 1fr) !important; }
.store-grid .store-card .store-whatsapp, .store-grid .store-card .store-details, .store-grid .store-card .product-purchase-actions .buy-now, .store-grid .store-card .product-purchase-actions .commerce-primary:not(.add-to-cart) { display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; min-width: 0 !important; height: 44px !important; min-height: 44px !important; margin: 0 !important; padding: 4px !important; border: 1px solid #d4a51e !important; border-radius: 7px !important; background: linear-gradient(180deg, var(--gm-gold-2), var(--gm-gold)) !important; color: #2b281d !important; font-size: 12px !important; font-weight: 700 !important; line-height: 17px !important; text-align: center !important; text-decoration: none !important; white-space: normal !important; overflow-wrap: anywhere !important; }
.store-grid .store-card .product-purchase-actions .add-to-cart { position: relative !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 0 !important; box-sizing: border-box !important; width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important; margin: 0 !important; padding: 0 !important; border: 1px solid #d4a51e !important; border-radius: 7px !important; background: var(--gm-soft) !important; color: #74550f !important; font-size: 0 !important; box-shadow: none !important; }
.store-grid .store-card .product-purchase-actions .add-to-cart::before, .store-grid .store-card .product-purchase-actions .add-to-cart::after { content: none !important; display: none !important; }
.store-grid .store-card .add-to-cart .cart-icon-label { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.store-grid .store-card .add-to-cart svg { display: block !important; width: 22px !important; height: 22px !important; flex: 0 0 22px !important; }
.store-grid .store-card .store-whatsapp:hover, .store-grid .store-card .store-details:hover, .store-grid .store-card .product-purchase-actions .buy-now:hover { filter: brightness(.98) !important; }
.store-grid .store-card .product-purchase-actions .add-to-cart:hover { background: #fff0ba !important; }
.store-grid .store-card .store-whatsapp:disabled, .store-grid .store-card .product-purchase-actions button:disabled { opacity: .5; cursor: not-allowed; }
.store-grid .store-card .product-social-actions { position: absolute !important; inset: auto !important; top: 5px !important; inset-inline-end: 5px !important; display: flex !important; flex-wrap: nowrap !important; flex-direction: column !important; gap: 3px !important; margin: 0 !important; z-index: 3; }
.store-grid .store-card .product-social-actions button { display: flex !important; align-items: center !important; justify-content: center !important; flex: none !important; width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important; margin: 0 !important; padding: 10px !important; border: 1px solid #d4c9af !important; border-radius: 50% !important; background: #fffef9f2 !important; color: #493715 !important; box-shadow: 0 1px 4px #0001; }
.store-grid .store-card .product-social-actions button span { display: none !important; }
.store-grid .store-card .product-social-actions svg { width: 19px; height: 19px; }
.store-grid .store-card .product-social-actions button[aria-pressed=true] { background: #ffe4eb !important; color: #93243b !important; }
.store-grid .store-card[hidden], .store-grid .store-card [hidden] { display: none !important; margin: 0 !important; padding: 0 !important; }
@media (max-width: 1359px) { .store-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
@media (max-width: 1199px) { .store-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 1023px) { .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 760px) {
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .store-grid .store-card .store-card-copy { padding: 7px !important; }
  .store-grid .store-card .store-price, .store-grid .store-card:has(.flash-sale-badge) .store-price { font-size: 18px !important; }
}
@media (max-width: 380px) {
  .store-grid .store-card .store-price-line del, .store-grid .store-card .store-price-row del { font-size: 10px !important; }
}
@container (max-width: 150px) {
  .store-grid .store-card .store-price .money-currency { font-size: 10px !important; }
}
