.sealinks-listings-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 16px 56px;
}

.sealinks-section-title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.2;
}

.sealinks-result-count {
  margin: 0 0 24px;
  opacity: 0.8;
}

.sealinks-layout {
  display: block;
}

.sealinks-sidebar {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #fff;
  padding: 14px;
  margin-bottom: 20px;
}

.sealinks-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.sealinks-filter-field {
  width: 170px;
  min-width: 140px;
  flex: 0 1 170px;
}

.sealinks-filter-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.sealinks-filter-select {
  width: 100%;
  margin-bottom: 0;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  background: #fff;
}

.sealinks-filter-actions {
  display: flex;
  align-items: flex-end;
  margin-left: auto;
}

.sealinks-filter-actions .sealinks-btn-reset {
  min-height: 38px;
  height: 38px;
  padding: 0 20px;
  line-height: 1;
  white-space: nowrap;
}

.sealinks-btn {
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.sealinks-btn-primary {
  background: #46d993;
  color: #fff;
  border: 0;
  cursor: pointer;
}

.sealinks-btn-reset {
  background: #ff3b3b;
  color: #f3f3f3;
  transition: color 0.3s ease;
}

.sealinks-btn-reset::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(10, 16, 25);
  transform-origin: left center;
  transform: skewX(45deg) scaleX(0);
  transition: transform 0.5s ease;
}

.sealinks-btn-reset:hover::after {
  transform: skewX(45deg) scaleX(1.35);
}

.sealinks-btn-reset:hover {
  color: #46d993;
}

.sealinks-btn-reset {
  z-index: 1;
}

.sealinks-btn-reset span {
  position: relative;
  z-index: 2;
}

.sealinks-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sealinks-listing-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #fff;
  padding: 10px 10px 12px;
}

.sealinks-image-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 10px;
}

.sealinks-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sealinks-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: #edf1f5;
  color: #666;
}

.sealinks-title {
  font-size: 1.02rem;
  line-height: 1.2;
  margin: 0 0 10px;
  text-transform: uppercase;
  font-weight: 700;
}

.sealinks-price {
  color: #46d993;
  font-size: 1.95rem;
  line-height: 1.1;
  margin: 0;
  font-weight: 700;
}

.sealinks-meta {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  color: #666;
  font-size: 0.86rem;
  line-height: 1.5;
}

.sealinks-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.sealinks-meta-icon {
  display: inline-flex;
  width: 13px;
  height: 13px;
  color: #8f8f8f;
  flex: 0 0 13px;
}

.sealinks-meta-icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.sealinks-details {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
}

.sealinks-details:hover {
  color: #46d993;
}

.sealinks-details::before {
  content: '';
  width: 44px;
  height: 24px;
  flex: 0 0 44px;
  background: no-repeat center / contain url('https://sealinksjapan.com/wp-content/uploads/2025/06/svgexport-25.svg');
}

.sealinks-load-wrap {
  text-align: center;
  margin-top: 28px;
}

.sealinks-load-more {
  border: 0;
  border-radius: 8px;
  background: #46d993;
  color: #fff;
  min-height: 40px;
  padding: 0 24px;
  font-weight: 600;
  cursor: pointer;
}

.sealinks-empty-state {
  border: 1px dashed rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: #fff;
  padding: 28px 16px;
  text-align: center;
  color: #333;
}

.sealinks-empty-state p {
  margin: 0 0 8px;
}

.sealinks-empty-state p:last-child {
  margin-bottom: 0;
  opacity: 0.75;
}

@media (max-width: 1080px) {
  .sealinks-grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .sealinks-filter-field {
    width: calc(50% - 6px);
    flex-basis: calc(50% - 6px);
    min-width: 0;
  }

  .sealinks-filter-actions {
    width: 100%;
    margin-left: 0;
  }

  .sealinks-btn-reset {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .sealinks-filter-field {
    width: 100%;
    flex-basis: 100%;
  }

  .sealinks-grid-cards {
    grid-template-columns: 1fr;
  }
}

.sealinks-detail-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 16px 36px;
}

.sealinks-detail-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
}

.sealinks-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sealinks-detail-image-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f2f3f5;
}

.sealinks-detail-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sealinks-detail-image-placeholder {
  display: grid;
  place-items: center;
  color: #777;
}

.sealinks-detail-sidebar {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #f3f3f3;
  padding: 14px;
}

.sealinks-detail-chip {
  display: inline-block;
  margin: 0 0 8px;
  background: #46d993;
  color: #fff;
  border-radius: 4px;
  padding: 2px 10px;
  font-size: 0.75rem;
}

.sealinks-detail-price {
  margin: 0 0 16px;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.05;
  color: #46d993;
}

.sealinks-detail-note {
  margin: 0 0 8px;
  color: #666;
  font-size: 0.84rem;
  line-height: 1.45;
}

.sealinks-detail-meta {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  color: #5e646d;
  line-height: 1.6;
}

.sealinks-detail-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.sealinks-detail-meta-icon {
  width: 13px;
  height: 13px;
  color: #8f8f8f;
  display: inline-flex;
  flex: 0 0 13px;
}

.sealinks-detail-meta-icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.sealinks-detail-form {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 12px;
}

.sealinks-detail-form .elementor-field,
.sealinks-detail-form input,
.sealinks-detail-form textarea {
  border-radius: 8px;
}

.sealinks-detail-form .elementor-button {
  border-radius: 8px;
}

.sealinks-detail-title {
  margin: 16px 0 0;
  font-size: 2.25rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.sealinks-detail-bottom-meta {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #666;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .sealinks-detail-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .sealinks-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
