.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{overflow:hidden;min-width:0}.product-card>a{color:inherit;text-decoration:none}.product-card img{width:100%;height:180px;object-fit:contain;background:#fff}.product-card a>div{padding:14px}.product-card h2{font-size:18px;margin:6px 0}.product-card p{font-size:14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.product-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;padding:24px;margin-top:20px}.product-detail>img{width:100%;height:auto;max-height:540px;object-fit:contain}.product-long{white-space:pre-wrap;overflow-wrap:anywhere}.product-stores,.product-nav,.product-pager{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.product-pager{justify-content:center;margin-top:26px}.product-nav a{padding:8px}.product-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:24px 0}.product-filters label{display:grid;gap:6px;flex:1;min-width:160px}.product-filters input,.product-filters select{padding:10px;border:1px solid #cbdde4;border-radius:10px;font:inherit;max-width:100%}.product-disclosure{padding:12px;background:#eaf8ff;border-radius:10px;font-size:14px}.product-detail h1{font-size:28px}.product-card small{color:#39778b}@media(max-width:1100px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card img{height:140px}.product-card a>div{padding:10px}.product-card h2{font-size:16px}.product-detail{grid-template-columns:1fr;padding:16px;gap:16px}.product-detail h1{font-size:23px}.product-nav{gap:4px;font-size:14px}.product-nav a{padding:4px}}
.product-filters input,.product-filters select{width:100%;min-width:0}

/* V1.6.2: reduce card whitespace; preserve image heights, fonts and text. */
.product-card a>div{padding:10px 12px}.product-card h2{margin:4px 0}
.product-card p{margin:6px 0 9px}.product-card .btn{padding:8px 12px;min-height:36px}
@media(max-width:700px){.product-card a>div{padding:8px 9px}.product-card h2{margin:3px 0}
.product-card p{margin:5px 0 7px}.product-card .btn{padding:8px;min-height:40px}}
/* V1.6.3: detail page flows vertically, image first on every screen. */
.product-detail{display:flex;flex-direction:column;gap:16px;max-width:960px;margin:20px auto 0;padding:20px}
.product-detail-hero{margin:0;background:#fff;border-radius:16px;overflow:hidden}
.product-detail-hero img{width:100%;height:clamp(220px,34vw,360px);max-width:720px;margin:auto;object-fit:contain}
.product-detail-copy{min-width:0}.product-detail-copy h1{margin:8px 0}
.product-detail-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;color:#39778b}
.product-detail-meta span{background:#edf8fc;border-radius:8px;padding:5px 9px}
.product-intro{line-height:1.8}.product-detail-section{border-top:1px solid #e3edf2;padding-top:14px;margin-top:14px}
.product-detail-section h2{font-size:20px;margin:0 0 8px}.product-detail-section p{margin:7px 0;line-height:1.8}
.product-buy .product-disclosure{margin-bottom:12px}.product-stores .btn{min-width:145px}
.product-related{margin-top:28px}.product-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){.product-detail{padding:14px;gap:12px}.product-detail-hero img{height:250px}.product-detail-section h2{font-size:18px}.product-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.category-page-hero--products .category-page-hero-bg { object-position: left 46%; }
@media (max-width: 760px) {
  .category-page-hero--products .category-page-hero-bg { object-position: 16% center; }
}

.product-buy .product-stores { align-items: flex-start; }
.product-store { min-width: 0; max-width: 100%; }
.product-buy .product-store-discount {
  margin: 5px 0 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 14px;
}
.product-store-discount bdi {
  padding: 2px 8px;
  background: #eaf8ff;
  border-radius: 6px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.product-card > a { position: relative; display: block; }
.product-offer-badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 8px;
  background: #ffdfa3;
  color: #543000;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.product-card-offer { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; }
.product-buy .product-stores { display: block; }
.product-store {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e3edf2;
}
.product-store-name { overflow-wrap: anywhere; }
.product-store-offer { justify-self: center; }
.product-stores .product-store .btn { min-width: 0; padding: 8px 12px; white-space: nowrap; }
.product-buy .product-store-discount { grid-column: 1 / -1; margin: 0; }
@media (max-width: 480px) {
  .product-store { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; }
  .product-store-offer { grid-row: 2; grid-column: 1; justify-self: start; }
  .product-store-offer:empty { display: none; }
  .product-stores .product-store .btn { grid-column: 2; grid-row: 1; }
}

.product-country-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 1004px, 70vw);
  margin: 24px auto 0;
}
.product-country-tabs a {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 8px;
  border: 1px solid #aacdd8;
  border-radius: 16px;
  background: #f8fafb;
  box-shadow: 0 4px 10px rgb(14 68 89 / 12%);
  color: #0b1946;
  font-size: clamp(20px, 2.4vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.product-country-tabs a:hover { background: #eef7f9; }
.product-country-tabs a[aria-current="page"] {
  border-color: #e59b22;
  background: linear-gradient(155deg, #ffb436, #f6a21a);
}
.product-country-tabs a:focus-visible {
  position: relative;
  outline: 2px solid #0b1946;
  outline-offset: 2px;
}
@media (max-width: 700px) {
  .product-country-tabs { width: 100%; margin-top: 16px; }
  .product-country-tabs a { min-height: 54px; border-radius: 12px; }
}
