/* Gifts3D homepage 闂?v103: REF-calibrated full-bleed layout
   REF baseline (artlaser3d.com @1440): banner h242 3x435 bleed, videos h678 card 322x403,
   tabs grid full-width card 326x429, marquee 3-row h141, newsletter h159, hero h648. */

.g3d-hero { position: relative; height: min(72vh, 648px); overflow: hidden; background: var(--g3d-ink); }
.g3d-hero .swiper-wrapper { height: 100%; }
.g3d-hero .swiper-slide { height: 100%; }
.g3d-hero__slide { position: relative; height: 100%; }
.g3d-hero__img { width: 100%; height: 100%; object-fit: cover; }
.g3d-hero__copy {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  max-width: var(--g3d-page); margin-inline: auto; padding-inline: 30px; color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.g3d-hero__copy h2 { font-size: clamp(26px, 4.2vw, 50px); max-width: 620px; margin-bottom: 10px; }
.g3d-hero__copy p { font-size: clamp(15px, 1.6vw, 18px); max-width: 520px; margin: 0 0 20px; }
.g3d-hero__cta { align-self: flex-start; }
.g3d-hero .swiper-pagination { bottom: 14px; }
.g3d-hero .swiper-pagination-bullet-active { background: var(--g3d-accent); }

/* Marquee: 3 rows on PC (REF h141), 1 row on mobile (REF h60) */
.g3d-marquee { overflow: hidden; background: var(--g3d-cream); border-block: 1px solid var(--g3d-line); padding: 16px 0; }
.g3d-marquee__track { display: flex; gap: 48px; width: max-content; max-width: none; animation: g3d-marquee 26s linear infinite; }
.g3d-marquee__icon { display: inline-flex; gap: 48px; }
.g3d-marquee__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--g3d-accent); stroke-width: 1; opacity: .85; }
@keyframes g3d-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.g3d-marquee__row2, .g3d-marquee__row3 { display: flex; margin-top: 14px; animation-direction: reverse; }
@media (max-width: 767px) { .g3d-marquee__row2, .g3d-marquee__row3 { display: none !important; } }

/* Banners: full-bleed 3-up, REF h242 per item */
.g3d-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 12px; }
.g3d-banner { position: relative; display: block; overflow: hidden; border-radius: var(--g3d-radius); aspect-ratio: 16 / 8.9; max-height: 242px; }
.g3d-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.g3d-banner:hover img { transform: scale(1.03); }
.g3d-banner__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  gap: 10px; padding: 22px; background: linear-gradient(to top, rgba(36,28,23,.72), rgba(36,28,23,0) 62%); color: #fff;
}
.g3d-banner__overlay h3 { margin: 0; font-size: 22px; color: #fff; }

/* Product rail slider: full-bleed track, content-limited */
.g3d-slider { overflow: hidden; padding: 6px 15px 34px; }
.g3d-slider .swiper-slide { height: auto; }
.g3d-slider .swiper-slide a { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.g3d-slider .swiper-slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--g3d-radius); }
.g3d-slider .swiper-slide p { margin: 0; text-align: center; font-weight: 600; font-size: 14px; }
.g3d-slider .swiper-button-prev, .g3d-slider .swiper-button-next { color: var(--g3d-ink); --swiper-navigation-size: 18px; }

/* Video gallery: REF full-width h678, cards 322x403 overlapping carousel */
.g3d-videos { padding: 96px 15px 108px; }
.g3d-videos__inner { max-width: none; }
.g3d-videos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g3d-gap); }
.g3d-video-card { position: relative; border-radius: var(--g3d-radius); overflow: hidden; background: var(--g3d-cream); }
.g3d-video-card img { width: 100%; height: 100%; object-fit: cover; }
.g3d-video-card__play {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%;
  background: rgba(247,241,231,.92); border: 0; display: flex; align-items: center; justify-content: center; color: var(--g3d-ink);
}
.g3d-video-card__play svg { width: 26px; height: 26px; }

/* Tabs: full-width grid, REF cards 326x429 */
.g3d-tabs { padding-top: 36px; }
.g3d-tabs__head { max-width: var(--g3d-page); margin-inline: auto; }
.g3d-tabs__list { display: flex; justify-content: center; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; }
.g3d-tabs__list button {
  background: none; border: 1px solid var(--g3d-line); border-radius: 99px; padding: 8px 22px; font-size: 14px; font-weight: 600;
}
.g3d-tabs__list button.is-active { background: var(--g3d-ink); border-color: var(--g3d-ink); color: var(--g3d-cream); }
.g3d-tab-panel .g3d-grid.products { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-inline: calc(50% - 50vw); padding-inline: 15px; width: 100vw; max-width: 100vw; }

/* About: two-col media/copy */
.g3d-about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 56px 20px; max-width: var(--g3d-page); margin-inline: auto; }
.g3d-about__media img { border-radius: var(--g3d-radius); }
.g3d-about__copy p { font-size: 17px; color: var(--g3d-muted); }

/* Featured: full-width band */
.g3d-featured { padding: 44px 15px 52px; }
.g3d-featured__inner { max-width: none; }
.g3d-featured .g3d-grid.products { grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Newsletter: REF h159 compact full-bleed */
.g3d-newsletter { background: var(--g3d-cream); padding: 26px 0 30px; text-align: center; }
.g3d-newsletter h2 { font-size: clamp(20px, 2.6vw, 28px); margin: 0; }
.g3d-newsletter__form { display: flex; gap: 10px; justify-content: center; max-width: 460px; margin: 10px auto 0; }
.g3d-newsletter__form input[type="email"] { flex: 1; padding: 12px 16px; border: 1px solid var(--g3d-line); border-radius: var(--g3d-radius); font-size: 15px; background: var(--g3d-surface); }

@media (max-width: 991px) {
  .g3d-banners { grid-template-columns: 1fr; gap: 12px; padding: 24px 15px 30px; }
  .g3d-banner { aspect-ratio: 16 / 9; }
  .g3d-videos__grid { grid-template-columns: repeat(2, 1fr); }
  .g3d-about { grid-template-columns: 1fr; gap: 22px; }
  .g3d-hero { height: 400px; }
}
@media (max-width: 575px) {
  .g3d-videos__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .g3d-newsletter__form { flex-direction: column; }
}
