/* vZipMall Landing Page V1.0 — page-specific layout */
:root { --landing-gap: 18px; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 0; width: 100%; max-width: none; background: #fff; color: #222; font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
.page-container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 20px 24px; }
img[usemap] { display: block; width: 100%; max-width: 100%; height: auto; }
.banner-item { width: 100%; max-width: 1400px; margin: 20px auto; }
.banner-item img { display: block; width: 100%; height: auto; }
.promo-banner { display: block; position: relative; overflow: hidden; border-radius: 6px; color: inherit; text-decoration: none; }
.promo-banner-image { display: block; width: 100%; height: auto; }
.promo-banner-text { position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); max-width: 90%; padding: 10px 18px; border-radius: 4px; background: rgba(0,0,0,.55); color: #fff; font-size: 1.1rem; font-weight: 600; text-align: center; }
.section-title { margin: 28px 0 16px; color: #222; font-size: 1.65rem; line-height: 1.25; font-weight: 700; }
.landing-section { margin: 28px 0 38px; }
.generated-grid-list { display: block; }
.grid-row { display: grid; gap: var(--landing-gap); margin: 0 0 24px; align-items: stretch; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.product-card { display: block; min-width: 0; padding: 12px; border: 1px solid #dedede; border-radius: 7px; background: #fff; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.product-card > a { display: block; color: inherit; text-decoration: none; }
.product-card img { display: block; width: 100%; height: auto; border-radius: 4px; object-fit: contain; }
.product-card h3 { margin: 10px 0 5px; color: #222; font-size: 1rem; line-height: 1.35; font-weight: 600; }
.product-card .description { margin: 5px 0; color: #555; font-size: .9rem; }
.product-card .price { margin: 7px 0 0; font-size: .95rem; }
.old-price { margin-right: 6px; color: #777; text-decoration: line-through; }
.sale-price { color: #b42332; font-weight: 700; }
.regular-price { color: #222; font-weight: 600; }
.product-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); }
/* Manually maintained five-image promotion */
.beachcomber { max-width: 1400px; margin: 24px auto 30px; }
.beachcomber-heading { margin: 0 0 8px; text-align: center; font-size: 2rem; font-weight: 700; }
.beachcomber-description { max-width: 1100px; margin: 0 auto 22px; color: #555; text-align: center; line-height: 1.55; }
.beachcomber-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: stretch; }
.beachcomber-large { position: relative; min-height: 420px; overflow: hidden; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.beachcomber-large img { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.beachcomber-large-title { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: max-content; max-width: 90%; padding: 8px 14px; border-radius: 6px; background: rgba(0,0,0,.58); color: #fff; font-size: 15px; font-weight: 600; text-align: center; }
.beachcomber-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.beachcomber-card { min-width: 0; padding: 10px; border-radius: 10px; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.08); text-align: center; }
.beachcomber-card-title { min-height: 42px; margin: 0 0 8px; color: #333; font-size: 14px; font-weight: 600; }
.beachcomber-card a { display: block; }
.beachcomber-card img { display: block; width: 100%; height: 245px; object-fit: cover; border-radius: 8px; }
.new-flag1 { color: #d60000; font-weight: 700; }
.new-flag2 { color: #f0b106; font-weight: 800; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: #8d1748; color: #fff; box-shadow: 0 3px 12px #0003; font-size: 1.45rem; line-height: 1; cursor: pointer; }
.back-to-top.is-visible { display: inline-flex; }
@media (max-width: 1023px) {
  .grid-5, .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .page-container { padding: 16px; }
  .collection-jump-nav { gap: 7px; padding: 8px; }
  .collection-jump-nav a { min-height: 46px; padding: 8px 5px; font-size: .9rem; }
  .landing-section { padding: 17px 13px 5px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beachcomber-box { grid-template-columns: 1fr; }
  .beachcomber-large, .beachcomber-large img { min-height: 320px; }
  .beachcomber-card img { height: 220px; }
}
@media (max-width: 480px) {
  .page-container { padding: 12px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
  .section-title { font-size: 1.4rem; }
  .collection-jump-nav { gap: 5px; padding: 6px; }
  .collection-jump-nav a { font-size: .78rem; line-height: 1.2; padding: 8px 3px; }
  .landing-section .section-title { font-size: 1.45rem; }
  .landing-section .section-subtitle { font-size: .88rem; }
  .beachcomber-heading { font-size: 1.65rem; }
  .beachcomber-grid { gap: 10px; }
  .beachcomber-card { padding: 7px; }
  .beachcomber-card img { height: 180px; }
  .promo-banner-text { width: 90%; font-size: .9rem; }
  .back-to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}


/* V1.1 collection visibility enhancement */
.collection-jump-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1400px;
  margin: 30px auto 22px;
  padding: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.045);
}
.collection-jump-nav a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: filter .15s ease, transform .15s ease;
}
.collection-jump-nav a:hover { filter: brightness(.97); transform: translateY(-1px); }
.collection-jump-nav a:focus-visible { outline: 3px solid #222; outline-offset: 2px; }
.collection-jump-nav .jump-hot { color: #922b2b; background: #fff0ee; border-color: #f0c9c4; }
.collection-jump-nav .jump-trending { color: #28613c; background: #edf7ef; border-color: #c9e3cf; }
.collection-jump-nav .jump-new { color: #28558a; background: #edf3fc; border-color: #cbdaf0; }
.landing-section { scroll-margin-top: 18px; padding: 22px 20px 8px; border: 1px solid transparent; border-radius: 12px; }
.landing-section .section-title { margin: 0 0 5px; padding: 0 0 12px; border-bottom: 3px solid currentColor; font-size: 1.8rem; }
.landing-section .section-subtitle { margin: 0 0 18px; font-size: .96rem; color: #555; }
.section-hot-items { background: #fff8f6; border-color: #f1d7d1; }
.section-hot-items .section-title { color: #922b2b; }
.section-trending-items { background: #f5faf5; border-color: #d7e9d9; }
.section-trending-items .section-title { color: #28613c; }
.section-new-arrivals { background: #f5f8fd; border-color: #d7e2f2; }
.section-new-arrivals .section-title { color: #28558a; }
