/* TopWatch Reels: supplied trang-chu.html, with live WooCommerce content.
 * Shared typography adjustment and compact touch targets remain in effect.
 */
#reels {
  scroll-margin-top: 90px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgb(255 255 255 / .86), rgb(255 255 255 / .86)), url(../design/a162f28cdb037a69466d.webp) center / cover, var(--white);
  padding: clamp(var(--space-8), 3vw, var(--space-9)) 0;
}
#reels .tw-reels-container { position: relative; max-width: 1480px; margin: 0 auto; padding: 0 var(--container-gutter); }
#reels .tw-reels-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-5); margin-bottom: var(--space-7); text-align: center; }
#reels .tw-reels-heading h2 { font: var(--fw-bold) calc(clamp(22px, 2.4vw, 32px) - 1px)/1.2 var(--font-sans); color: #19566b; text-transform: uppercase; margin: 0; }
#reels .tw-reels-heading h2 > span { color: inherit; }
#reels .tw-reels-heading > span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--radius-round); background: #19566b; color: var(--white); }
#om-reels-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
#om-reels-grid > article { position: relative; aspect-ratio: 9/16; border-radius: 12px; overflow: hidden; background: var(--ink-1000); padding: 0; border: 0; }
#om-reels-grid .tw-reel-cover { display: block; position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
#om-reels-grid .tw-reel-cover > img { width: 100%; height: 100%; object-fit: cover; }
#om-reels-grid .tw-reel-cover > span { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; padding: 0; border-radius: var(--radius-round); background: rgb(7 25 35 / .55); border: var(--border-w-thick) solid rgb(255 255 255 / .8); display: flex; align-items: center; justify-content: center; color: var(--white); pointer-events: none; }
#om-reels-grid .tw-reel-cover > span svg { width: 18px; height: 18px; }
#om-reels-grid .tw-reel-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to top, rgb(7 25 35 / .78), rgb(7 25 35 / 0)); pointer-events: none; }
#om-reels-grid .tw-reel-product { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgb(255 255 255 / .94); border-radius: 10px; padding: 10px; display: grid; gap: 8px; }
#om-reels-grid .tw-reel-product-info { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; }
#om-reels-grid .tw-reel-product-info > img { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; background: var(--white); border: var(--border-w) solid var(--border-subtle); }
#om-reels-grid .tw-reel-product-info > div { min-width: 0; display: grid; gap: 2px; }
#om-reels-grid h3 { font: var(--fw-semibold) 11.5px/1.35 var(--font-sans); color: var(--text-strong); padding: 0; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#om-reels-grid h3 > a { color: inherit; font: inherit; text-decoration: none; }
#om-reels-grid .price { font: var(--fw-bold) 12px/1.3 var(--font-sans); color: var(--teal-800); padding: 0; }
#om-reels-grid .tw-reel-detail { display: flex; align-items: center; justify-content: center; height: 34px; padding: 0; border-radius: var(--radius-md); background: var(--action-primary); color: var(--action-primary-text); font: var(--fw-semibold) 12px/1 var(--font-sans); text-decoration: none; transition: var(--transition-control); }
#om-reels-grid .tw-reel-detail:hover { background: var(--teal-800); color: var(--white); }
#reels .tw-reels-all { display: flex; justify-content: center; margin-top: var(--space-5); }
#reels .tw-reels-all > a { display: inline-flex; align-items: center; gap: var(--space-4); height: var(--control-h); padding: 0 var(--space-8); background: transparent; border: 0; color: #19566b; font: var(--type-label); text-decoration: none; text-transform: uppercase; transition: color var(--dur-base) var(--ease-out); }
#reels .tw-reels-all > a:hover { color: var(--teal-700); text-decoration: none; }
#reels a:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 3px; }
#om-reels-grid .tw-reel-cover:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; }
@media (max-width: 1100px) {
  #om-reels-grid { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px)/3); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  #om-reels-grid::-webkit-scrollbar { display: none; }
  #om-reels-grid > article { scroll-snap-align: start; }
}
@media (max-width: 1024px) {
  /* Retain the approved mobile/tablet type scale and comfortable touch area. */
  #reels .tw-reels-heading h2 { font-size: var(--tw-type-section-title); font-weight: var(--tw-type-section-title-weight); line-height: var(--tw-type-section-title-line); }
  #om-reels-grid .tw-reel-detail { min-height: var(--tw-c-control); }
}
@media (max-width: 640px) {
  #om-reels-grid { grid-auto-columns: 72%; }
}
