/* Featured products: standalone shop cards; scoped to the homepage section. */
.products-section { background: #f4f6f9; font-family: Inter, Arial, sans-serif; }
.products-section .featured-rail {
  gap: 24px;
  grid-auto-columns: calc((100% - 72px) / 4);
  padding: 8px 0 30px;
  scroll-padding-inline: 0;
  cursor: grab;
  touch-action: pan-x pan-y pinch-zoom;
}
.products-section .featured-rail.is-grab-ready { user-select: none; -webkit-user-select: none; }
.products-section .featured-rail.is-dragging { scroll-snap-type: none; scroll-behavior: auto; }
.products-section .featured-rail.is-dragging,
.products-section .featured-rail.is-dragging * { cursor: grabbing !important; }
.products-section .featured-rail img { -webkit-user-drag: none; }
.products-section .product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e9edf1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px -12px #34383b33;
  transition: transform .28s, box-shadow .28s, border-color .28s;
}
.products-section .product-image {
  position: relative;
  display: block;
  flex-shrink: 0;
  aspect-ratio: 1.15;
  margin: 0;
  padding: 18px 24px 14px;
  border: 0;
  border-radius: 11px 11px 0 0;
  background: #fff;
  isolation: isolate;
}
.products-section .product-image img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 6px 5px #34383b11);
  transition: transform .35s;
}
.products-section .product-pack {
  left: 16px;
  bottom: 12px;
  padding: 4px 8px;
  border: 1px solid #e7ecf1;
  border-radius: 5px;
  background: #fff;
  color: #34383b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.products-section .product-info { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.products-section .product-category {
  display: block;
  min-height: 16px;
  margin: 0 0 6px;
  color: #686b6e;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .055em;
  line-height: 1.4;
  text-transform: uppercase;
}
.products-section .product-category:hover { color: #c9203c; }
.products-section .product-title {
  min-height: 0;
  margin: 0 0 8px;
  color: #34383b;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.products-section .product-title a:hover { color: #c9203c; }
.products-section .product-code { color: #686b6e; font-size: 14px; line-height: 1.5; }
.products-section .product-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 44px;
  max-height: 44px;
  margin: 16px 0 22px;
  color: #686b6e;
  font-size: 14px;
  line-height: 22px;
}
.products-section .product-bottom { display: flex; flex-direction: column; margin-top: auto; padding: 0; border: 0; }
.products-section .price-lock {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  margin: 0 0 14px;
  padding: 10px 11px;
  border: 1px solid #f7e4e7;
  border-radius: 7px;
  background: #fdf1f3;
  color: #9d4153;
  text-decoration: none;
}
.products-section .price-lock .icon { width: 17px; height: 17px; flex-shrink: 0; margin: 0; }
.products-section .price-lock b { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.products-section .price-lock small { display: block; margin-top: 3px; color: #a06a76; font-size: 14px; line-height: 1.5; }
.products-section .price-lock:hover { border-color: #e6bac4; background: #fae9ed; }
.products-section .product-bottom .button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #c9203c;
  border-radius: 7px;
  background: #c9203c;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  gap: 10px;
  text-decoration: none;
  transition: background-color .25s, border-color .25s;
}
.products-section .product-bottom .button .icon { display: block; width: 18px; height: 18px; flex-shrink: 0; }
.products-section .product-bottom .button:hover { background: #b11933; border-color: #b11933; transform: none; }
.products-section .product-price { display: flex; align-items: center; min-height: 58px; margin: 0 0 14px; color: #34383b; font-size: 26px; font-weight: 700; }
.products-section .product-card a:focus-visible,
.products-section .product-card button:focus-visible { outline: 2px solid #34383b; outline-offset: 2px; }
.products-section .product-card .product-image:focus-visible { outline-offset: -4px; }
.products-section .featured-rail:focus-visible { outline: 2px solid #686b6e; outline-offset: 4px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .products-section .product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 26px -13px #34383b40; border-color: #e0e6ec; }
  .products-section .product-card:hover .product-image img { transform: scale(1.025); }
  .products-section .product-card:hover .button { background: #db2644; border-color: #db2644; }
  .products-section .product-card .button:hover { background: #b11933; border-color: #b11933; }
}
@media (max-width: 1150px) {
  .products-section .product-info { padding: 18px; }
  .products-section .product-title { font-size: 21px; min-height: 0; }
  .products-section .product-image { padding: 16px 18px; }
  .products-section .price-lock { padding-inline: 9px; gap: 7px; min-height: 68px; }
}
@media (max-width: 900px) {
  .products-section .featured-rail { grid-auto-columns: calc((100% - 24px) / 2); }
  .products-section .product-info { padding: 22px; }
  .products-section .product-title { font-size: 24px; min-height: 0; }
  .products-section .price-lock { min-height: 58px; }
}
@media (max-width: 600px) {
  .products-section { padding-block: 46px 30px; }
  .products-section .featured-rail { gap: 18px; grid-auto-columns: min(310px, 86%); padding-bottom: 26px; }
  .products-section .product-info { padding: 20px; }
  .products-section .product-image { aspect-ratio: 1.25; padding: 16px 28px 12px; }
  .products-section .product-category { min-height: 16px; }
  .products-section .product-title { min-height: 0; font-size: 23px; }
  .products-section .product-description { margin-block: 14px 18px; }
  .products-section .product-bottom .button { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .products-section .product-card, .products-section .product-image img, .products-section .product-bottom .button { transition: none; transform: none; }
}
