.announcement[hidden] {
  display: none;
}

.product-image {
  display: block;
}

.product-card {
  position: relative;
}

.product-detail-link {
  display: block;
  min-width: 0;
  color: inherit;
}

.product-detail-link:focus-visible {
  border-radius: 7px;
  outline: 3px solid rgba(34, 181, 115, 0.3);
  outline-offset: 2px;
}

.product-quick-wa {
  position: absolute;
  right: 8px;
  bottom: 84px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 99px;
  background: var(--green);
  color: #fff;
  font-size: 9px;
  font-weight: 650;
  box-shadow: 0 5px 14px rgba(10, 111, 68, 0.24);
  transition: background 160ms ease, transform 160ms ease;
}

.product-quick-wa:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.product-quick-wa svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  stroke: none;
}

.product-copy {
  display: block;
}

.product-title {
  display: -webkit-box;
}

.product-video-badge,
.product-count-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  background: rgba(20, 24, 22, 0.72);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  backdrop-filter: blur(7px);
}

.product-video-badge {
  top: 8px;
  left: 8px;
}

.product-count-badge {
  top: 8px;
  right: 8px;
}

.product-card-action {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  padding: 7px 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: #222;
  font-size: 9px;
  font-weight: 650;
  line-height: 1;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.product-card:hover .product-card-action,
.product-card:focus-visible .product-card-action {
  opacity: 1;
  transform: translateY(0);
}

.route-home .listing-filter-row {
  display: none;
}

.listing-shell {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 0 8px 50px;
}

.home-products.product-section {
  padding-top: 10px;
}

.catalog-top-reference {
  min-height: 64px;
  border-bottom: 1px solid #f2f2f2;
}

.listing-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
}

.listing-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 4px;
  background: #f5f6f7;
  color: #555;
  font-size: 11px;
}

.listing-tag-muted {
  color: #777;
}

.listing-count {
  color: #9b9b9b;
  font-size: 10px;
}

.listing-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 26px;
}

.listing-title-row h1 {
  margin: 5px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.listing-back {
  color: #777;
  font-size: 11px;
}

.listing-back:hover {
  color: var(--green-dark);
}

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

.product-skeleton {
  pointer-events: none;
}

.product-skeleton .product-image,
.skeleton-line {
  background: linear-gradient(90deg, #f1f2f3 20%, #fafafa 38%, #f1f2f3 56%);
  background-size: 240% 100%;
  animation: skeleton-shine 1.35s ease-in-out infinite;
}

.skeleton-line {
  display: block;
  width: 88%;
  height: 10px;
  margin: 11px 2px 0;
  border-radius: 3px;
}

.skeleton-line.short {
  width: 58%;
  margin-top: 7px;
}

@keyframes skeleton-shine {
  to {
    background-position: -120% 0;
  }
}

.catalog-sentinel {
  height: 1px;
}

.load-more-wrap {
  display: grid;
  place-items: center;
  min-height: 78px;
  padding-top: 22px;
}

.load-more-button {
  min-height: 36px;
  padding: 0 20px;
  border: 1px solid #dedede;
  border-radius: 99px;
  background: #fff;
  color: #555;
  cursor: pointer;
  font-size: 11px;
}

.load-more-button:hover {
  border-color: #a9d6bf;
  background: var(--green-soft);
  color: var(--green-dark);
}

.loading-row[hidden],
.end-row[hidden],
.load-more-button[hidden] {
  display: none;
}

.loading-row,
.end-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #979797;
  font-size: 11px;
}

.loading-row span {
  width: 13px;
  height: 13px;
  border: 1.5px solid #d4d4d4;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.catalog-error {
  padding: 80px 20px;
  text-align: center;
}

.catalog-error[hidden] {
  display: none;
}

.catalog-error-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #f4f4f4;
  color: #777;
  font-size: 22px;
  font-weight: 600;
}

.catalog-error h2 {
  margin: 0 0 7px;
  font-size: 18px;
}

.catalog-error p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
}

.catalog-error button {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 5px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-size: 11px;
}

.product-detail-shell {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 14px 16px 70px;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  color: #9a9a9a;
  font-size: 10px;
}

.detail-breadcrumb a:hover {
  color: var(--green-dark);
}

.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.detail-shop {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.detail-shop img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.detail-shop div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.detail-shop strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-shop span {
  color: #9b9b9b;
  font-size: 10px;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.detail-share,
.detail-inquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 550;
}

.detail-share {
  border: 0;
  background: #f7f7f7;
  color: #444;
  cursor: pointer;
}

.detail-share svg {
  width: 15px;
  height: 15px;
}

.detail-inquire {
  background: var(--green);
  color: #fff;
}

.detail-inquire:hover,
.detail-bottom-cta a:hover,
.mobile-buy-bar a:hover {
  background: var(--green-dark);
}

.detail-inquire svg,
.detail-bottom-cta a svg,
.mobile-buy-bar a svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
}

.detail-heading {
  padding: 21px 0 12px;
}

.detail-heading h1 {
  max-width: 1080px;
  margin: 0;
  font-size: 15px;
  font-weight: 450;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.detail-jump {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 11px;
  color: #777;
  font-size: 11px;
}

.detail-jump svg {
  width: 14px;
  height: 14px;
}

.detail-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
}

.detail-meta-strip span {
  padding: 6px 9px;
  border-radius: 4px;
  background: #f7f7f7;
  color: #747474;
  font-size: 10px;
}

.detail-section-title {
  padding: 20px 0 14px;
  border-top: 1px solid #f1f1f1;
}

.detail-section-title h2 {
  margin: 5px 0 2px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.detail-section-title p {
  margin: 0;
  color: #999;
  font-size: 10px;
}

.detail-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  width: min(100%, 930px);
}

.detail-media-grid.single {
  grid-template-columns: minmax(0, 430px);
}

.detail-media-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: #f2f3f4;
  cursor: zoom-in;
}

.detail-media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.detail-media-tile:hover img {
  transform: scale(1.018);
}

.video-tile {
  cursor: pointer;
  background: #121212;
}

.video-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.16);
}

.video-tile-icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(5px);
}

.video-tile-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  stroke: none;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  background: #1d1d1d;
}

.media-index {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 3px;
  background: rgba(18, 18, 18, 0.58);
  color: #fff;
  font-size: 9px;
  backdrop-filter: blur(5px);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 5px;
  background: #f7f8f9;
}

.detail-tags a,
.detail-tags span {
  padding: 6px 9px;
  border-radius: 3px;
  background: #fff;
  color: #676767;
  font-size: 10px;
  box-shadow: 0 0 0 1px #ececed;
}

.detail-tags a:hover {
  color: var(--green-dark);
  box-shadow: 0 0 0 1px #b7dbc8;
}

.detail-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding: 25px 28px;
  border: 1px solid #e8eee9;
  border-radius: 10px;
  background: linear-gradient(120deg, #f8fcfa, #ffffff);
}

.detail-bottom-cta div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-bottom-cta strong {
  font-size: 14px;
  font-weight: 550;
}

.detail-bottom-cta span {
  color: #8d8d8d;
  font-size: 11px;
}

.detail-bottom-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 150px;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 5px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.detail-loading-card {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 28px;
  padding-top: 50px;
}

.detail-loading-image {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  background: linear-gradient(90deg, #f1f2f3 20%, #fafafa 38%, #f1f2f3 56%);
  background-size: 240% 100%;
  animation: skeleton-shine 1.35s ease-in-out infinite;
}

.detail-loading-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 10px;
}

.detail-loading-copy span {
  width: 74%;
  height: 12px;
  border-radius: 4px;
  background: #f2f2f2;
}

.detail-loading-copy span:nth-child(2) {
  width: 52%;
}

.detail-loading-copy span:nth-child(3) {
  width: 32%;
  margin-top: 12px;
}

.detail-error {
  padding: 100px 20px;
  text-align: center;
}

.detail-error h1 {
  margin: 0 0 8px;
  font-size: 22px;
}

.detail-error p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.detail-error a {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
}

.media-viewer {
  position: fixed;
  inset: 0;
  z-index: 130;
}

.media-viewer[hidden] {
  display: none;
}

.media-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 8, 0.93);
}

.media-viewer-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 34px 70px 42px;
}

.viewer-content {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.viewer-content img,
.viewer-content video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 3px;
}

.viewer-close,
.viewer-arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(7px);
}

.viewer-close {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
}

.viewer-arrow {
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
}

.viewer-prev {
  left: 18px;
}

.viewer-next {
  right: 18px;
}

.viewer-close svg,
.viewer-arrow svg {
  width: 20px;
  height: 20px;
}

.viewer-count {
  position: absolute;
  bottom: 16px;
  left: 50%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  transform: translateX(-50%);
}

.mobile-buy-bar {
  display: none;
}

@media (max-width: 1100px) {
  .product-grid.grid-6 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .detail-media-grid {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .listing-shell {
    padding: 0 6px 38px;
  }

  .catalog-top-reference {
    min-height: 51px;
    padding: 0;
  }

  .catalog-top-reference .catalog-tabs {
    gap: 18px;
    padding-left: 2px;
  }

  .listing-filter-row {
    min-height: 39px;
    padding: 0 2px;
  }

  .listing-tag {
    min-height: 23px;
    padding: 0 8px;
    font-size: 10px;
  }

  .listing-title-row {
    align-items: flex-start;
    padding: 18px 2px 20px;
  }

  .listing-title-row h1 {
    font-size: 23px;
  }

  .product-grid.grid-6,
  .product-grid.grid-4,
  .product-grid.grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-action {
    display: none;
  }

  .product-quick-wa {
    right: 6px;
    bottom: 82px;
    width: 29px;
    min-height: 29px;
    padding: 0;
  }

  .product-quick-wa span {
    display: none;
  }

  .product-quick-wa svg {
    width: 15px;
    height: 15px;
  }

  .product-video-badge,
  .product-count-badge {
    min-height: 20px;
    padding: 0 6px;
    font-size: 8px;
  }

  .product-detail-shell {
    padding: 6px 9px 96px;
  }

  .detail-breadcrumb {
    min-height: 27px;
  }

  .detail-topbar {
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0 12px;
  }

  .detail-shop img {
    width: 34px;
    height: 34px;
  }

  .detail-shop strong {
    max-width: 150px;
    font-size: 11px;
  }

  .detail-actions {
    gap: 5px;
  }

  .detail-share {
    display: none;
  }

  .detail-inquire {
    min-height: 33px;
    padding: 0 10px;
    font-size: 10px;
  }

  .detail-inquire svg {
    width: 14px;
    height: 14px;
  }

  .detail-heading {
    padding: 16px 0 10px;
  }

  .detail-heading h1 {
    font-size: 13px;
    line-height: 1.7;
  }

  .detail-meta-strip {
    margin-bottom: 18px;
  }

  .detail-section-title {
    padding-top: 15px;
  }

  .detail-section-title h2 {
    font-size: 19px;
  }

  .detail-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
  }

  .detail-media-tile {
    aspect-ratio: 3 / 4;
  }

  .detail-tags {
    margin-top: 17px;
    padding: 11px;
  }

  .detail-bottom-cta {
    margin-top: 24px;
    padding: 18px;
  }

  .detail-bottom-cta a {
    display: none;
  }

  .media-viewer-shell {
    padding: 54px 10px 52px;
  }

  .viewer-arrow {
    top: auto;
    bottom: 12px;
    width: 40px;
    height: 40px;
    transform: none;
  }

  .viewer-prev {
    left: calc(50% - 58px);
  }

  .viewer-next {
    right: calc(50% - 58px);
  }

  .viewer-count {
    bottom: 26px;
  }

  .mobile-buy-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: flex;
    justify-content: center;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid #e6e6e6;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
  }

  .mobile-buy-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: min(100%, 520px);
    min-height: 43px;
    border-radius: 6px;
    background: var(--green);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
  }

  .mobile-buy-bar a svg {
    width: 18px;
    height: 18px;
  }

  body:has(.mobile-buy-bar) .floating-whatsapp {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-skeleton .product-image,
  .skeleton-line,
  .detail-loading-image {
    animation: none;
  }
}
