:root {
  --ezrg-brand-color: #E07B42;
  --ezrg-text: #0f172a;
  --ezrg-muted: #64748b;
  --ezrg-soft: #fff7f1;
  --ezrg-border: rgba(15, 23, 42, .08);
  --ezrg-shadow: 0 16px 40px rgba(15, 23, 42, .06);
}

.ezrg-gallery-page {
  position: relative;
  overflow-x: clip;
  color: var(--ezrg-text);
  background:
    radial-gradient(circle at 50% 0%, rgba(224, 123, 66, .12), transparent 34%),
    radial-gradient(circle at 8% 10%, rgba(224, 123, 66, .075), transparent 26%),
    linear-gradient(180deg, #fff8f3 0%, #ffffff 46%, #ffffff 100%);
}

.ezrg-gallery-section {
  padding: 0 24px 80px;
  font-family: inherit;
}

.ezrg-gallery-shell,
.ezrg-container {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.ezrg-gallery-hero,
.ezrg-header {
  max-width: 880px;
  margin: 0 auto;
  padding: 54px 0 26px;
  text-align: center;
}

.ezrg-breadcrumb,
.ezrg-breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(224, 123, 66, .16);
  border-radius: 999px;
  color: #475569;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
  font-size: 13px;
  font-weight: 700;
}

.ezrg-title {
  position: relative;
  max-width: 100%;
  margin: 24px 0 0;
  color: var(--ezrg-text);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.045em;
  white-space: normal;
  text-wrap: balance;
}

.ezrg-title::after {
  content: "";
  display: block;
  width: 88px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--ezrg-brand-color);
  opacity: .75;
}

.ezrg-subtitle {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--ezrg-muted);
  font-size: 16px;
  line-height: 1.7;
}

.ezrg-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.ezrg-trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid rgba(224, 123, 66, .16);
  border-radius: 999px;
  color: #a64f21;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
  font-size: 12px;
  font-weight: 800;
}

.ezrg-filter-bar {
  margin: 0 auto;
}

.ezrg-filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 28px auto 0;
  padding: 0;
}

.ezrg-filter-chip,
.ezrg-select,
.ezrg-filter-reset,
.ezrg-load-more,
.ezrg-btn {
  appearance: none;
  font: inherit;
  text-transform: none;
}

.ezrg-filter-chip {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 12px;
  color: var(--ezrg-text);
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .035);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}

.ezrg-filter-chip:hover {
  border-color: rgba(224, 123, 66, .35);
  background: #fff7f1;
  transform: translateY(-1px);
}

.ezrg-filter-chip.is-active {
  border-color: var(--ezrg-brand-color);
  color: #fff;
  background: var(--ezrg-brand-color);
  box-shadow: 0 12px 28px rgba(224, 123, 66, .24);
}

.ezrg-filter-panel {
  margin: 30px auto 0;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow:
    0 24px 70px rgba(15, 23, 42, .07),
    inset 0 1px 0 rgba(255, 255, 255, .8);
  backdrop-filter: blur(12px);
}

.ezrg-filter-selects {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
}

.ezrg-filter-select {
  display: grid;
  gap: 8px;
  color: var(--ezrg-text);
  font-size: 13px;
  font-weight: 850;
}

.ezrg-select {
  width: 100%;
  height: 50px;
  min-width: 0;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  color: #334155;
  background: #fff;
  font-size: 14px;
  font-weight: 650;
  outline: none;
}

.ezrg-select:focus {
  border-color: rgba(224, 123, 66, .55);
  box-shadow: 0 0 0 4px rgba(224, 123, 66, .12);
}

.ezrg-filter-reset {
  height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(224, 123, 66, .18);
  border-radius: 14px;
  color: var(--ezrg-brand-color);
  background: #fff7f1;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

.ezrg-filter-reset:hover {
  border-color: var(--ezrg-brand-color);
  color: #fff;
  background: var(--ezrg-brand-color);
  transform: translateY(-1px);
}

.ezrg-gallery-grid-wrap {
  margin-top: 0;
}

.ezrg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1180px;
  margin: 34px auto 0;
}

.ezrg-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .075);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, .065),
    inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.ezrg-card:hover {
  border-color: rgba(224, 123, 66, .28);
  box-shadow:
    0 30px 80px rgba(15, 23, 42, .13),
    0 10px 30px rgba(224, 123, 66, .08);
  transform: translateY(-7px);
}

.ezrg-card-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  text-transform: none;
}

.ezrg-card-image {
  position: relative;
  display: block;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.ezrg-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.ezrg-card-image.is-cover img {
  object-fit: cover;
}

.ezrg-card-image.is-contain {
  background: linear-gradient(135deg, #fff7f1, #ffffff);
}

.ezrg-card-image.is-contain img {
  padding: 12px;
  object-fit: contain;
}

.ezrg-card:hover .ezrg-card-image img {
  transform: scale(1.045);
}

.ezrg-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(15, 23, 42, .32), transparent 58%);
  transition: opacity .25s ease;
}

.ezrg-card:hover .ezrg-card-image::after {
  opacity: 1;
}

.ezrg-card-quickview {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #0f172a;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .22);
  font-size: 13px;
  font-weight: 850;
  opacity: 0;
  white-space: nowrap;
  transform: translate(-50%, -44%) scale(.96);
  transition: opacity .25s ease, transform .25s ease;
}

.ezrg-card:hover .ezrg-card-quickview {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.ezrg-card-placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  color: var(--ezrg-brand-color);
  font-weight: 850;
}

.ezrg-card-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 4;
  max-width: calc(100% - 28px);
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #E07B42, #f28b50);
  box-shadow: 0 12px 26px rgba(224, 123, 66, .32);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.ezrg-card-featured,
.ezrg-featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, .86);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.ezrg-watermark,
.ezrg-lightbox-watermark {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(17, 24, 39, .72);
  background: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.ezrg-card-body {
  display: grid;
  gap: 0;
  padding: 20px 20px 22px;
}

.ezrg-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ezrg-text);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -.015em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ezrg-card-desc {
  display: -webkit-box;
  overflow: hidden;
  min-height: 44px;
  margin-top: 9px;
  color: var(--ezrg-muted);
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ezrg-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, .06);
  color: #475569;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.ezrg-card-meta span {
  display: inline-flex;
  align-items: center;
}

.ezrg-card-meta span + span::before {
  content: "·";
  margin: 0 7px;
  color: rgba(71, 85, 105, .6);
}

.ezrg-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  margin: 36px auto 0;
  padding: 0 24px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 999px;
  color: var(--ezrg-text);
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
  cursor: pointer;
  font-weight: 850;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

.ezrg-load-more:hover {
  border-color: var(--ezrg-brand-color);
  color: #fff;
  background: var(--ezrg-brand-color);
  transform: translateY(-1px);
}

.ezrg-load-more.is-hidden {
  display: none;
}

.ezrg-product-gallery-section {
  padding: 26px 16px 44px;
}

.ezrg-product-gallery-panel {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px;
  border: 1px dashed rgba(224, 123, 66, .65);
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.ezrg-product-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.ezrg-product-gallery-head h2 {
  margin: 0;
  color: var(--ezrg-text);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.ezrg-product-gallery-head a {
  flex: 0 0 auto;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.ezrg-product-gallery-head a:hover {
  color: var(--ezrg-brand-color);
}

.ezrg-product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ezrg-product-sample-card {
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}

.ezrg-product-sample-card:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.ezrg-product-sample-card .ezrg-card-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.ezrg-product-sample-image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: #f8fafc;
}

.ezrg-product-sample-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.ezrg-product-sample-card.is-video .ezrg-product-sample-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, .38), transparent 62%);
}

.ezrg-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 28px rgba(15, 23, 42, .22);
  transform: translate(-50%, -50%);
}

.ezrg-video-play::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 15px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--ezrg-brand-color);
}

.ezrg-video-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  padding: 4px 7px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, .82);
  font-size: 11px;
  font-weight: 800;
}

.ezrg-product-sample-image.is-contain img {
  object-fit: contain;
  padding: 8px;
  background: linear-gradient(135deg, #fff7f1, #fff);
}

.ezrg-product-sample-card:hover img {
  transform: scale(1.04);
}

.ezrg-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 44px 28px;
  border: 1px dashed rgba(224, 123, 66, .32);
  border-radius: 24px;
  color: var(--ezrg-muted);
  background: linear-gradient(135deg, rgba(224, 123, 66, .07), rgba(255, 255, 255, .86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86);
  text-align: center;
}

.ezrg-empty-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  color: var(--ezrg-brand-color);
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
  font-size: 24px;
  font-weight: 850;
}

.ezrg-empty strong {
  color: var(--ezrg-text);
  font-size: 20px;
}

.ezrg-empty-reset {
  margin-top: 8px;
}

.ezrg-gallery-section.is-loading .ezrg-grid {
  opacity: .55;
  pointer-events: none;
}

.ezrg-lightbox-lock {
  overflow: hidden;
}

.ezrg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(15, 23, 42, .78);
  backdrop-filter: blur(8px);
}

.ezrg-lightbox.is-open {
  display: flex;
}

.ezrg-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
}

.ezrg-lightbox button {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-width: 0;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.ezrg-lightbox-dialog {
  position: relative;
  width: min(930px, calc(100% - 32px));
  height: min(760px, calc(100vh - 24px));
  padding: 40px 16px 12px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #303030 0%, #252525 100%);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .34);
}

.ezrg-lightbox-product .ezrg-lightbox-dialog {
  width: min(1120px, calc(100% - 48px));
  padding: 0;
  border-radius: 26px;
  background: transparent;
  box-shadow: 0 34px 100px rgba(15, 23, 42, .30);
}

.ezrg-lightbox-product .ezrg-lightbox-titlebar {
  display: none;
}

.ezrg-lightbox-product .ezrg-lightbox-panel {
  border-radius: 26px;
}

.ezrg-lightbox-product .ezrg-lightbox-close {
  top: 16px;
  right: 10px;
}

.ezrg-lightbox-titlebar {
  position: absolute;
  top: 12px;
  left: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.ezrg-lightbox-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, .96fr);
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .18);
}

.ezrg-lightbox-close {
  position: absolute;
  top: 54px;
  right: 8px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  color: var(--ezrg-text);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .16);
  cursor: pointer;
  font-size: 22px;
  font-weight: 750;
  line-height: 1;
  transform: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.ezrg-lightbox-close:hover {
  color: #fff;
  background: var(--ezrg-brand-color);
  transform: scale(1.04);
}

.ezrg-gallery-section .ezrg-lightbox .ezrg-lightbox-close {
  min-width: 34px;
  min-height: 34px;
  max-width: 34px;
  max-height: 34px;
  padding: 0;
  text-transform: none;
}

.ezrg-lightbox-main {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 74px;
  gap: 12px;
  min-height: 0;
  padding: 18px;
  overflow: hidden;
}

.ezrg-lightbox-media {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #f8fafc;
}

.ezrg-lightbox-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 16px;
  object-fit: contain;
  background: #f8fafc;
}

.ezrg-lightbox-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
}

.ezrg-lightbox-video[hidden] {
  display: none;
}

.ezrg-lightbox-video iframe,
.ezrg-lightbox-video video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: contain;
  background: #0f172a;
}

.ezrg-lightbox-thumbs {
  display: flex;
  gap: 10px;
  min-height: 74px;
  margin-top: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.ezrg-lightbox-thumbs button {
  position: relative;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.ezrg-lightbox-thumbs button.is-active {
  border-color: var(--ezrg-brand-color);
}

.ezrg-lightbox-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ezrg-lightbox-thumbs button.is-video span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  transform: translate(-50%, -50%);
}

.ezrg-lightbox-thumbs button.is-video span::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 7px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--ezrg-brand-color);
}

.ezrg-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: var(--ezrg-text);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
  cursor: pointer;
  font-size: 25px;
  font-weight: 850;
  line-height: 1;
  transform: translateY(-50%);
  transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ezrg-lightbox-nav:hover {
  color: #fff;
  background: var(--ezrg-brand-color);
  box-shadow: 0 14px 28px rgba(224, 123, 66, .24);
  transform: translateY(-50%) scale(1.04);
}

.ezrg-gallery-section .ezrg-lightbox .ezrg-lightbox-nav {
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  padding: 0;
  text-transform: none;
}

.ezrg-lightbox-prev {
  left: 12px;
}

.ezrg-lightbox-next {
  right: 12px;
}

.ezrg-lightbox-watermark {
  right: 30px;
  bottom: 92px;
}

.ezrg-lightbox-info {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  align-content: stretch;
  gap: 0;
  min-height: 0;
  padding: 24px 28px 16px;
  overflow: hidden;
}

.ezrg-lightbox-kicker {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ezrg-brand-color);
  background: #fff0e8;
  font-size: 12px;
  font-weight: 850;
}

.ezrg-lightbox-info h3 {
  margin: 14px 0 0;
  color: var(--ezrg-text);
  font-size: clamp(22px, 2.35vw, 30px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.ezrg-lightbox-desc {
  margin: 10px 0 12px;
  color: var(--ezrg-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ezrg-lightbox-specs {
  display: grid;
  gap: 4px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: none;
}

.ezrg-lightbox-specs::-webkit-scrollbar {
  display: none;
}

.ezrg-lightbox-specs span,
.ezrg-detail-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 4px 0;
}

.ezrg-lightbox-specs strong {
  color: var(--ezrg-text);
  font-size: 13px;
  font-weight: 850;
}

.ezrg-lightbox-specs em {
  color: #334155;
  font-style: normal;
  font-size: 13px;
  font-weight: 720;
}

.ezrg-lightbox-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.ezrg-main-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ezrg-lightbox-contact {
  grid-column: 1 / -1;
  padding: 12px 18px 18px;
  border-top: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
}

.ezrg-lightbox-contact:empty {
  display: none;
}

.ezrg-contact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ezrg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid rgba(224, 123, 66, .35);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 850;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}

.ezrg-contact-row .ezrg-btn {
  min-height: 44px;
  border-color: #e5e7eb;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  background: #fff;
  box-shadow: none;
}

.ezrg-contact-row .ezrg-btn:hover {
  border-color: rgba(224, 123, 66, .35);
  color: var(--ezrg-brand-color);
  background: #fff7f1;
}

.ezrg-btn-primary {
  border-color: var(--ezrg-brand-color);
  color: #fff;
  background: var(--ezrg-brand-color);
  box-shadow: 0 12px 24px rgba(224, 123, 66, .18);
}

.ezrg-btn-outline {
  color: var(--ezrg-brand-color);
  background: #fff;
}

.ezrg-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  color: var(--ezrg-brand-color);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .22);
  transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
  .ezrg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ezrg-product-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ezrg-filter-selects {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .ezrg-filter-reset {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .ezrg-lightbox-dialog {
    width: min(760px, calc(100% - 28px));
    height: min(860px, calc(100vh - 28px));
    max-height: calc(100vh - 28px);
  }

  .ezrg-lightbox-panel {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, auto) auto auto;
    overflow-y: auto;
  }

  .ezrg-lightbox-main {
    grid-template-rows: minmax(0, 420px) 74px;
    min-height: 0;
  }

  .ezrg-lightbox-next {
    right: 12px;
  }

  .ezrg-lightbox-info {
    padding: 28px;
  }

  .ezrg-lightbox-image {
    height: 100%;
  }
}

@media (max-width: 768px) {
  .ezrg-gallery-section {
    padding: 0 16px 72px;
  }

  .ezrg-gallery-shell,
  .ezrg-container {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .ezrg-gallery-hero,
  .ezrg-header {
    max-width: 100%;
    overflow: visible;
    padding: 38px 0 22px;
  }

  .ezrg-title {
    font-size: 26px;
    line-height: 1.08;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: auto;
  }

  .ezrg-title::after {
    width: 64px;
    margin-top: 14px;
  }

  .ezrg-subtitle {
    max-width: 320px;
    font-size: 15px;
    line-height: 1.6;
  }

  .ezrg-trust-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .ezrg-trust-row::-webkit-scrollbar {
    display: none;
  }

  .ezrg-filter-chips {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin-top: 22px;
    padding: 0 2px 12px;
    scrollbar-width: none;
  }

  .ezrg-filter-chips::-webkit-scrollbar {
    display: none;
  }

  .ezrg-filter-chip {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 18px;
  }

  .ezrg-filter-panel {
    margin-top: 18px;
    padding: 16px;
    border-radius: 20px;
  }

  .ezrg-filter-selects {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ezrg-filter-reset {
    width: 100%;
  }

  .ezrg-gallery-grid-wrap {
    margin-top: 26px;
  }

  .ezrg-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ezrg-product-gallery-section {
    padding: 22px 12px 36px;
  }

  .ezrg-product-gallery-panel {
    padding: 16px;
    border-radius: 20px;
  }

  .ezrg-product-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ezrg-product-gallery-head {
    align-items: flex-start;
  }

  .ezrg-card {
    border-radius: 20px;
  }

  .ezrg-card-title {
    font-size: 17px;
  }

  .ezrg-lightbox {
    padding: 0;
  }

  .ezrg-lightbox-dialog {
    width: 100%;
    height: 100%;
    max-height: none;
    padding: 38px 10px 10px;
    border-radius: 0;
  }

  .ezrg-lightbox-product .ezrg-lightbox-dialog {
    width: 100%;
    height: 100%;
    padding: 8px;
    border-radius: 0;
  }

  .ezrg-lightbox-product .ezrg-lightbox-close {
    top: 18px;
    right: 14px;
  }

  .ezrg-lightbox-titlebar {
    top: 14px;
    font-size: 11px;
  }

  .ezrg-lightbox-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    border-radius: 18px;
    overflow-y: auto;
  }

  .ezrg-lightbox-main {
    grid-template-rows: minmax(285px, 46vh) 54px;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
  }

  .ezrg-lightbox-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    background: #f8fafc;
  }

  .ezrg-lightbox-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    min-height: 0;
    object-fit: contain !important;
    object-position: center !important;
  }

  .ezrg-lightbox-thumbs {
    min-height: 54px;
  }

  .ezrg-lightbox-thumbs button {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .ezrg-lightbox-close {
    right: 8px;
    top: 42px;
  }

  .ezrg-lightbox-prev {
    left: 18px;
  }

  .ezrg-lightbox-next {
    right: 18px;
  }

  .ezrg-lightbox-info {
    display: block;
    min-height: auto;
    overflow: visible;
    padding: 14px 18px 14px;
  }

  .ezrg-lightbox-kicker {
    padding: 6px 10px;
    font-size: 11px;
  }

  .ezrg-lightbox-info h3 {
    margin-top: 10px;
    font-size: 22px;
    line-height: 1.06;
  }

  .ezrg-lightbox-desc {
    font-size: 13px;
    line-height: 1.45;
    margin: 8px 0 8px;
  }

  .ezrg-lightbox-specs span,
  .ezrg-detail-row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    padding: 6px 0;
  }

  .ezrg-lightbox-specs {
    display: grid;
    gap: 0;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    margin-top: 8px;
    border-top: 1px solid rgba(15, 23, 42, .07);
    border-bottom: 1px solid rgba(15, 23, 42, .07);
  }

  .ezrg-lightbox-specs strong {
    font-size: 12px;
  }

  .ezrg-lightbox-specs strong,
  .ezrg-lightbox-specs em {
    display: block;
  }

  .ezrg-lightbox-specs em {
    margin-top: 0;
    font-size: 12px;
    text-align: right;
  }

  .ezrg-main-actions {
    grid-template-columns: 1fr;
  }

  .ezrg-contact-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .ezrg-lightbox-actions {
    position: static;
    margin-top: 10px;
    padding: 0;
    background: none;
  }

  .ezrg-lightbox-contact {
    padding: 10px 14px 12px;
  }

  .ezrg-btn {
    min-height: 42px;
    font-size: 12px;
  }

  html.ezrg-lightbox-lock body.ez-pdp-modern .ez-pdp-mobile-cta,
  html.ezrg-lightbox-lock body.ez-pdp-modern .ezt-sticky-cta,
  html.ezrg-lightbox-lock body.single-product .ez-pdp-mobile-cta,
  html.ezrg-lightbox-lock body.single-product .ezt-sticky-cta,
  html.ezrg-lightbox-lock body.single-product .sticky-add-to-cart,
  html.ezrg-lightbox-lock body.single-product .sticky-add-to-cart-wrapper {
    opacity: 0;
    pointer-events: none;
    transform: translateY(120%);
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ezrg-card,
  .ezrg-card-image img,
  .ezrg-card-quickview,
  .ezrg-filter-chip,
  .ezrg-filter-reset,
  .ezrg-load-more {
    transition: none;
  }
}
