/* Homepage "Stocking stuffers under $25" strip (#giftStrip in index.html), Christmas 2026.
   A red band with an evergreen garland and a row of stockings across the top, and
   gift-tag product cards. Self-contained: everything is scoped under .gstrip.
   Markup: index.html. Cards are rendered by the "homepage strip" block in gift-guide.js. */

.gstrip {
  --gs-red: #a3221b; --gs-red-deep: #6f1512; --gs-gold: #EDBE52; --gs-gold-light: #f6d57a;
  --gs-cream: #F7F5F0; --gs-tag: #fbf7ee; --gs-u: 208px;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 152px 0 60px; color: var(--gs-cream);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(214, 62, 48, 0.55), transparent 62%),
    radial-gradient(60% 60% at 0% 100%, rgba(60, 8, 6, 0.55), transparent 70%),
    radial-gradient(60% 60% at 100% 100%, rgba(60, 8, 6, 0.55), transparent 70%),
    linear-gradient(180deg, var(--gs-red) 0%, #8a1c16 55%, var(--gs-red-deep) 100%);
  border-top: 3px solid var(--gs-gold); border-bottom: 3px solid var(--gs-gold);
}
.gstrip[hidden] { display: none; }
/* a quiet scatter of snow specks behind everything */
.gstrip::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image:
    radial-gradient(circle, rgba(255, 246, 220, 0.5) 1.2px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 246, 220, 0.32) 1.6px, transparent 2.3px),
    radial-gradient(circle, rgba(246, 213, 122, 0.4) 1px, transparent 1.6px);
  background-size: 190px 170px, 260px 230px, 140px 210px;
  background-position: 20px 30px, 120px 90px, 70px 150px;
}
.gstrip .gs-defs { position: absolute; }

/* ---------- garland + stockings ---------- */
.gstrip .gs-garland {
  position: absolute; top: 0; left: 0; right: 0; height: calc(var(--gs-u) * 0.66);
  display: flex; justify-content: center; overflow: hidden; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 176 64' width='176' height='64'%3E%3Cpath d='M0 43Q54 45 88 13Q122 45 176 43' fill='none' stroke='%23143319' stroke-width='8' stroke-linecap='round'/%3E%3Cg fill='none' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath stroke='%23143319' d='M7.2 42.9L15.3 35.2M10.1 43.4L16.1 36M14.4 43.8L20.8 55.8M14.3 44.3L19.3 37.9M17.6 41.4L22.4 36.1M18.3 43.2L28.4 50.8M20.7 43.6L24.6 51.5M22.9 42.3L29.9 47.4M24.4 42.1L28.3 30.5M24.3 43.3L26 35.5M29.7 41.2L35.3 48.9M35.4 38.8L44.2 49.4M48 36.9L52.9 23.5M51.9 36.8L52.4 27.3M50.3 35.4L50.1 28.3M52.5 35.2L53.6 26.9M58.8 33.8L62.5 21.4M61.9 33.2L65.4 26.1M62.7 30.9L69.7 32.6M61.9 29.4L65.2 19.3M65.2 30.5L62.9 18.4M67.5 27.3L69.6 19.1M69 25.8L72.8 14.6M74.4 23.2L75.5 10.3M77.9 22L77.2 10.7M79.1 19.2L88.6 21M84.8 15.8L92.5 20.8M85.8 16.1L84.8 4.5M85.7 15.7L97 22.9M89.8 14.9L92.5 25.8M91.8 14.4L99 14.1M91.4 16.2L87.8 29.9M99.5 21.6L103.6 31.8M101.1 23.1L99.1 31.9M101.3 24.6L103.9 31.8M103.1 23.8L112.7 22.5M109.9 29.3L110.4 37.3M112.3 29.3L121.8 26.2M114.1 33.1L115.4 45M121.9 34.9L126.2 46.9M122.4 33.6L129.5 29.2M131.5 39.1L134.2 50.4M131.6 37.5L140.1 27M135.8 38.6L139.6 45.4M139.7 40.9L141.1 53.3M141.1 39.2L148.4 29.9M145 41.2L153.6 33.1M148.2 41.5L153.2 52.2M158.2 43.7L163.2 55.9M156.2 43.1L163 35.2M174.2 42.2L177.4 51.9M173.9 44.5L181.8 34.5'/%3E%3Cpath stroke='%231f4a26' d='M5.6 42.7L13.1 54.3M6.2 42.5L9.8 51.3M9 42.8L12.3 32.4M13.4 44.3L19.4 35.4M12.4 42.5L21.1 49.8M27.1 42.9L31.9 35.5M31.6 40L39.8 51.5M37.3 39.2L42.8 32.7M39.8 40.2L44.8 49M40.5 38.4L46.1 25.1M44.4 37.6L46 25.7M47.6 38.8L57.2 48.4M49.6 36.6L50.7 24.9M48.3 37.1L59.1 45.2M61.6 33.2L66.9 20.1M64.7 29.7L64.6 17.9M65.8 27.2L73.1 30.3M65.7 29.2L64.1 15.8M70.3 28.1L77.7 33M70.7 26.5L79.9 34.6M74.6 23.4L85.4 30.7M76.2 23.2L77.6 12.3M76.3 22.6L79.1 10.6M78.8 22L89.1 26.1M80.5 19.6L80.6 11.9M86.3 13.7L94.5 16M88.7 13.3L100.3 12.9M92 16.9L91.7 28.5M97.7 19.3L105.2 15.8M98.7 20.6L112.9 18.2M103.7 23.6L102.2 35.6M108 26.2L108.7 38.1M108.6 27.2L115.1 23.1M110.7 28.1L113.1 37.2M112 28.3L124.1 23.5M113 31.3L120.2 27.4M114.5 31.4L119 39M118.3 31.8L119.1 45.8M122.3 34.8L128.2 30.8M124.3 36.9L133.9 27.8M128.5 35.9L132.3 41.9M138.2 39.8L147.7 30.2M140.6 40.5L142.8 51.9M148.8 42.2L152.1 35.2M153.2 41.9L157.9 47.5M152.9 42.6L158.1 32.1M152.3 40.8L154.8 47.3M159.5 41.5L166.5 30.3M162.1 44.4L172.4 35.8M166 42.6L171.4 33.7M168 44L170.7 51.5M169.3 43.1L175 34.7M170.3 43L175.1 33.4'/%3E%3Cpath stroke='%232b5f2b' d='M0.8 42.2L12.5 49.8M2.2 43.8L7.9 36.3M0.7 42.7L7.1 54.1M4.4 44.4L7.7 37.2M9.6 42.6L12.3 49.5M13.9 43.4L17.8 53.1M22.5 42.6L24.5 34.5M26.6 41.3L34.1 29.9M27.9 41.4L38.1 47.5M31.7 41.1L39.6 32.1M30.2 40.4L40.3 47.9M33.6 39.7L44.5 45.7M32.8 41.3L42 52M38.1 38.5L39 27.7M41.1 39.1L48 42.2M44.9 38.5L48.9 28M52.6 34.3L62.9 41.6M56.3 34.7L63.4 43.2M54.8 32.5L55.7 21M55.2 34.2L56.8 25.5M59.5 31.5L66 37.4M61.6 30.9L72.6 39.3M63.7 31.4L64.5 21M77.9 22.9L80.7 13.8M79.1 19.1L82.5 9M81.2 17.8L89.7 17.6M82.1 19.9L93.8 19.5M84.5 17.8L85.7 4.5M82.4 18.1L81.4 5.3M84.6 14.1L98.3 17.8M89.3 13.9L99.5 13M91.2 15.3L104.1 9M93.1 17.6L105 12.5M94.3 19.6L96.8 28.4M97.9 21.8L97 29.9M98 20.1L98.6 30.6M101.2 24.4L115.1 24.9M105 25.6L105.5 35.6M106.1 27.2L104 35.7M107.5 27.8L119.5 23.4M107 25.8L119.3 22.8M110.3 28.9L108.9 35.9M116 32.4L128.2 30M120.9 34.9L130.7 27.7M125.6 36.7L126.6 47.9M123.4 34.3L130.9 32.6M125.5 35.1L127.1 43.5M128 37.8L135.9 26.8M126.6 36.4L128.3 43.7M129.8 37.3L133.5 48.1M127.9 35.9L139.7 29.5M132.3 36.8L138 44M135.5 37.9L135.9 45.1M134.6 38L147.7 33.7M136.1 39.4L137 46.7M136 39L146.4 34.6M144.9 41.7L147.6 50.8M148.1 42L154.3 49.4M147.9 39.9L158.6 34.5M155 42.7L160.4 31.1M155.5 43.7L158.3 52.7M159 41.6L165.4 33.9M159 41.9L163.5 48.2M165.6 44L171.6 36.4M171.4 43.4L182.4 51.7'/%3E%3Cpath stroke='%233f8442' d='M4.9 43L8.4 49.6M7.4 43.8L17.4 34M15.9 41.8L24.5 47.6M19.5 43.9L25.3 56.3M22.3 42.8L26 36.9M27.9 43.1L34.3 55M30.5 41.8L39 30.2M35 41.4L38.7 34.8M35.3 40.2L40.3 34.5M38.4 40.3L41.8 33.6M40.5 37.9L47.4 30.5M44 39.1L52.4 48.6M47.3 38.7L48 26.4M49.9 35.3L58.1 38.5M51.6 34.9L59 38.9M52.7 33.9L63.3 42.7M58.1 34L69.6 40.3M65.3 31L73.5 36.5M70.1 25.7L83.2 30M70.6 27.1L79.3 30.1M72.4 26.9L71.9 16.1M74.4 25.1L81.1 29.8M74.3 25L79 14.6M82.2 18.7L81.1 6.1M86.9 12.4L97.7 15.5M86.5 14.6L83.5 0.6M92 16.1L90.5 24.6M93.5 15.7L105.1 14.8M93.9 18.8L89.9 28.6M97.6 20.8L96.8 28.5M100.4 22.1L104.6 33.1M104.4 25.5L115.1 17.4M110.2 27.1L120.9 18.3M112.3 32.1L116.4 43.4M116.7 32.9L119.8 39.4M118.1 31.7L128.6 29.1M118.9 33.6L121.5 42.3M120.5 34.6L133.5 28.9M135.7 39.7L143.6 33.3M137.9 38.8L142.1 52.3M142.8 41.7L148.7 31.3M144 39.9L146.5 48.1M146.1 41.3L152.3 37.7M150.6 41.5L156.6 47.8M154.9 41L162.5 50.8M160.5 44.2L165.8 32M163.9 43L166.7 51M163.2 43.7L170.7 39.2M166.9 43.1L174.2 51.5M169.6 41.9L176.7 33.9M170.2 42.9L177.1 34M175.8 44L179.6 33.1'/%3E%3C/g%3E%3Ccircle cx='14.7' cy='47.9' r='5.5' fill='%23fff6dc' opacity='.22'/%3E%3Ccircle cx='14.7' cy='47.9' r='2.3' fill='%23fff6dc'/%3E%3Ccircle cx='40' cy='46.2' r='5.5' fill='%23f6d57a' opacity='.22'/%3E%3Ccircle cx='40' cy='46.2' r='2.3' fill='%23f6d57a'/%3E%3Ccircle cx='62.6' cy='35.8' r='5.5' fill='%23f6d57a' opacity='.22'/%3E%3Ccircle cx='62.6' cy='35.8' r='2.3' fill='%23f6d57a'/%3E%3Ccircle cx='79.6' cy='27.2' r='5.5' fill='%23fff6dc' opacity='.22'/%3E%3Ccircle cx='79.6' cy='27.2' r='2.3' fill='%23fff6dc'/%3E%3Ccircle cx='96.4' cy='25.2' r='5.5' fill='%23f6d57a' opacity='.22'/%3E%3Ccircle cx='96.4' cy='25.2' r='2.3' fill='%23f6d57a'/%3E%3Ccircle cx='113.4' cy='37.8' r='5.5' fill='%23f6d57a' opacity='.22'/%3E%3Ccircle cx='113.4' cy='37.8' r='2.3' fill='%23f6d57a'/%3E%3Ccircle cx='136' cy='44.2' r='5.5' fill='%23fff6dc' opacity='.22'/%3E%3Ccircle cx='136' cy='44.2' r='2.3' fill='%23fff6dc'/%3E%3Ccircle cx='161.3' cy='49.9' r='5.5' fill='%23f6d57a' opacity='.22'/%3E%3Ccircle cx='161.3' cy='49.9' r='2.3' fill='%23f6d57a'/%3E%3Cg fill='%23edbe52' stroke='%23b8862a' stroke-width='.8' stroke-linejoin='round'%3E%3Cpath d='M88 14c-4-7-13-8-13-2s9 6 13 2z'/%3E%3Cpath d='M88 14c4-7 13-8 13-2s-9 6-13 2z'/%3E%3Cpath d='M87 14l-6 11 4-1 2 3 3-12z'/%3E%3Cpath d='M89 14l6 11-4-1-2 3-3-12z'/%3E%3Ccircle cx='88' cy='14' r='2.6'/%3E%3C/g%3E%3C/svg%3E") center top / var(--gs-u) auto repeat-x;
}
.gstrip .gs-hook { flex: none; width: var(--gs-u); display: flex; justify-content: center; align-items: flex-start; padding-top: calc(var(--gs-u) * 0.06); }
.gstrip .gs-flip { transform: scaleX(-1); }
.gstrip .gs-sock { width: calc(var(--gs-u) * 0.32); height: auto; overflow: visible; transform-origin: 50% 5%; filter: drop-shadow(0 5px 5px rgba(45, 6, 4, 0.4)); animation: gsSway 5.5s ease-in-out infinite alternate; animation-play-state: paused; }
.gstrip.is-inview .gs-sock { animation-play-state: running; }
.gstrip .gs-hook:nth-child(2n) .gs-sock { animation-duration: 6.4s; animation-delay: -2s; }
.gstrip .gs-hook:nth-child(3n) .gs-sock { animation-duration: 4.8s; animation-delay: -3.3s; width: calc(var(--gs-u) * 0.29); }
@keyframes gsSway { from { transform: rotate(-2.6deg); } to { transform: rotate(2.6deg); } }
.gstrip .gs-c1 { --gs-b: #2f6a31; --gs-c: #F7F5F0; --gs-a: #EDBE52; }
.gstrip .gs-c2 { --gs-b: #F7F5F0; --gs-c: #2f6a31; --gs-a: #c9372c; }
.gstrip .gs-c3 { --gs-b: #EDBE52; --gs-c: #F7F5F0; --gs-a: #1B3F1B; }
.gstrip .gs-c4 { --gs-b: #d5473a; --gs-c: #F7F5F0; --gs-a: #f6d57a; }
.gstrip .gs-c5 { --gs-b: #1d4a24; --gs-c: #EDBE52; --gs-a: #F7F5F0; }

/* ---------- heading ---------- */
.gstrip .gstrip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 32px; margin-bottom: 30px; flex-wrap: wrap; }
.gstrip .gstrip-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gs-gold-light); margin-bottom: 10px; }
.gstrip .gstrip-head h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.08; margin: 0; color: var(--gs-cream); text-shadow: 0 2px 14px rgba(50, 6, 4, 0.35); }
.gstrip .gstrip-head h2 em { font-style: italic; font-weight: 500; color: var(--gs-gold-light); white-space: nowrap; }
.gstrip .gstrip-sub { margin: 10px 0 0; font-size: 1rem; line-height: 1.5; color: rgba(247, 245, 240, 0.9); max-width: 54ch; }
.gstrip .gstrip-all { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 100px; background: var(--gs-gold); color: #3a0c09; font-weight: 700; font-size: 0.92rem; white-space: nowrap; text-decoration: none; border: 0; box-shadow: 0 6px 18px rgba(45, 6, 4, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45); transition: transform .25s var(--ease-out), background .2s; }
.gstrip .gstrip-all:hover { background: var(--gs-gold-light); transform: translateY(-2px); }
.gstrip .gstrip-all span { transition: transform .25s var(--ease-out); }
.gstrip .gstrip-all:hover span { transform: translateX(3px); }
.gstrip a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- gift-tag cards ---------- */
.gstrip .gstrip-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.gstrip .gs-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; padding: 30px 10px 14px;
  color: #1B2A1B; text-decoration: none; border-radius: 0 0 12px 12px;
  background:
    linear-gradient(135deg, transparent 15px, var(--gs-tag) 15.5px) left top / 50.5% 100% no-repeat,
    linear-gradient(225deg, transparent 15px, var(--gs-tag) 15.5px) right top / 50.5% 100% no-repeat;
  filter: drop-shadow(0 10px 12px rgba(45, 6, 4, 0.38));
  transition: transform .35s var(--ease-out);
}
/* the punched hole with its gold grommet */
.gstrip .gs-card::before { content: ""; position: absolute; top: 10px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #7a1712; box-shadow: 0 0 0 2.5px var(--gs-gold), inset 0 1px 2px rgba(0, 0, 0, 0.5); }
.gstrip a.gs-card:hover, .gstrip a.gs-card:focus-visible { transform: translateY(-6px) rotate(-1.2deg); }
.gstrip a.gs-card:nth-child(2n):hover, .gstrip a.gs-card:nth-child(2n):focus-visible { transform: translateY(-6px) rotate(1.2deg); }
.gstrip .gs-card-img { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid rgba(111, 21, 18, 0.1); margin-bottom: 11px; }
.gstrip .gs-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 9%; box-sizing: border-box; }
.gstrip .gs-card-brand { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: #2B5F2B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.gstrip .gs-card-title { margin-top: 3px; padding: 0 2px; font-size: 0.88rem; font-weight: 600; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gstrip .gs-card-price { margin-top: 9px; padding: 0 2px; display: flex; align-items: center; gap: 7px; font-size: 0.84rem; line-height: 1; }
.gstrip .gs-card-price b { display: inline-block; padding: 6px 11px; border-radius: 100px; background: var(--gs-red); color: #fff; font-weight: 700; letter-spacing: 0.01em; }
.gstrip .gs-card-price s { color: #6a5f55; }

/* last tile in the scrolling row: on to the full guide */
.gstrip .gs-more { align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 30px 14px 18px; color: var(--gs-cream); background: rgba(60, 8, 6, 0.28); border: 1.5px dashed rgba(246, 213, 122, 0.7); border-radius: 14px; filter: none; }
.gstrip .gs-more::before { display: none; }
.gstrip .gs-more svg { width: 46px; height: auto; overflow: visible; --gs-b: #2f6a31; --gs-c: #F7F5F0; --gs-a: #EDBE52; }
.gstrip .gs-more-t { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; line-height: 1.2; }
.gstrip .gs-more-l { font-size: 0.82rem; font-weight: 700; color: var(--gs-gold-light); }

/* placeholders: same shape as a card so the height is held before products load */
.gstrip .gs-skel .gs-card-img { background: linear-gradient(90deg, #f1ebdd 25%, #fff 50%, #f1ebdd 75%); background-size: 200% 100%; animation: gsShimmer 1.3s linear infinite; border-color: transparent; }
.gstrip .gs-skel-l { display: block; height: 0.6rem; margin: 0 2px; border-radius: 4px; background: #ece4d3; width: 45%; }
.gstrip .gs-skel-l + .gs-skel-l { margin-top: 0.62rem; width: 88%; height: 0.75rem; }
.gstrip .gs-skel-l + .gs-skel-l + .gs-skel-l { margin-top: 2.14rem; width: 3.2rem; height: 1.56rem; border-radius: 100px; }
@keyframes gsShimmer { to { background-position: -200% 0; } }

.gstrip .gstrip-note { margin: 26px 0 0; font-size: 0.92rem; line-height: 1.5; color: rgba(247, 245, 240, 0.9); }
.gstrip .gstrip-note a { display: inline-block; padding: 10px 0; margin: -10px 0; color: var(--gs-gold-light); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.gstrip .gstrip-note a:hover { color: #fff; }

/* ---------- desktop: six tags, no sideways scroll ---------- */
@media (min-width: 1100px) {
  .gstrip .gstrip-row > :nth-child(n+7) { display: none; }
}
/* ---------- tablet and phone: the row scrolls sideways ---------- */
@media (max-width: 1099px) {
  .gstrip .gstrip-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 184px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: -8px -32px -26px; padding: 8px 32px 26px; scroll-padding-left: 32px; }
  .gstrip .gstrip-row::-webkit-scrollbar { display: none; }
  .gstrip .gstrip-row > * { scroll-snap-align: start; }
  .gstrip .gs-card { filter: none; box-shadow: none; }
  .gstrip .gs-card::after { content: ""; position: absolute; z-index: -1; left: 6px; right: 6px; bottom: 0; height: 60%; border-radius: 12px; box-shadow: 0 10px 16px rgba(45, 6, 4, 0.42); }
  .gstrip .gs-more::after { display: none; }
}
@media (max-width: 768px) {
  .gstrip { --gs-u: 150px; padding: 120px 0 44px; }
  .gstrip .gstrip-head { margin-bottom: 22px; gap: 18px; }
  .gstrip .gstrip-sub { font-size: 0.95rem; }
  .gstrip .gstrip-row { grid-auto-columns: min(44vw, 176px); gap: 12px; margin: -8px -20px -26px; padding: 8px 20px 26px; scroll-padding-left: 20px; }
  .gstrip .gs-card { padding: 28px 8px 12px; }
  .gstrip .gs-card-title { font-size: 0.84rem; }
  .gstrip .gstrip-note { margin-top: 22px; font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gstrip .gs-sock, .gstrip .gs-skel .gs-card-img { animation: none; }
  .gstrip .gs-card, .gstrip .gstrip-all, .gstrip .gstrip-all span { transition: none; }
  .gstrip a.gs-card:hover, .gstrip a.gs-card:focus-visible, .gstrip a.gs-card:nth-child(2n):hover, .gstrip a.gs-card:nth-child(2n):focus-visible, .gstrip .gstrip-all:hover, .gstrip .gstrip-all:hover span { transform: none; }
}
