.goods-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}
@media (max-width: 23.438rem) {
  .goods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.125rem 0.875rem;
  }
}

.goods-card {
  min-width: 0;
}
.goods-card__open {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.goods-card__open:hover {
  opacity: 0.8;
}
.goods-card__image {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.goods-card__empty {
  display: grid;
  place-content: center;
  height: 100%;
  color: #777;
  font-size: 1rem;
}

.goods-dialog {
  position: fixed;
  inset: 0;
  width: min(68.75rem, 100% - 3.75rem);
  max-width: none;
  max-height: calc(100vh - 3.75rem);
  max-height: calc(100dvh - 3.75rem);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0.1875rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0.625rem 3.125rem rgba(0, 0, 0, 0.2);
}
.goods-dialog[open] {
  display: flex;
  flex-direction: column;
}
.goods-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7333333333);
  animation: one-goods-backdrop 0.28s ease-out;
}
.goods-dialog__toolbar {
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem 0.25rem;
}
.goods-dialog__navigation {
  display: flex;
  gap: 0.625rem;
}
.goods-dialog__navigation[hidden] {
  display: none;
}
.goods-dialog__navigation button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.375rem 0.625rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.25s ease;
}
.goods-dialog__navigation button:hover {
  opacity: 0.6;
}
.goods-dialog__navigation span {
  width: 0.5rem;
  height: 0.5rem;
  border-top: 0.09375rem solid currentColor;
  border-right: 0.09375rem solid currentColor;
}
.goods-dialog__previous span {
  transform: rotate(-135deg);
}
.goods-dialog__next span {
  transform: rotate(45deg);
}
.goods-dialog__close {
  margin-left: auto;
  flex-shrink: 0;
  position: relative;
  display: grid;
  place-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: opacity 0.25s ease;
}
.goods-dialog__close:hover {
  opacity: 0.6;
}
.goods-dialog__close span::before,
.goods-dialog__close span::after {
  content: "";
  position: absolute;
  inset: 50% 0.625rem auto;
  height: 0.125rem;
  background: currentColor;
  transform: rotate(45deg);
}
.goods-dialog__close span::after {
  transform: rotate(-45deg);
}
.goods-dialog__body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.25rem 4.375rem 3.75rem;
  -webkit-overflow-scrolling: touch;
}
.goods-dialog__notices {
  max-width: 43.75rem;
  margin: 1.25rem auto 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.goods-dialog__notices p {
  margin: 0;
}
.goods-dialog__details {
  max-width: 51.25rem;
  margin: 2.5rem auto 0;
}
.goods-dialog__specification {
  margin-top: 1.875rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.goods-dialog__specification h4 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.0625rem solid #a3710e;
  font-size: 1.25rem;
}
.goods-dialog__specification p {
  margin: 0;
}
.goods-dialog__title {
  margin: 0 0 1.625rem;
  padding-bottom: 1.25rem;
  border-bottom: 0.125rem dotted #a3710e;
  font-size: clamp(1.25rem, 2.3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.goods-dialog__price {
  margin: 0 0 1.5rem;
  font-size: 1.625rem;
  font-weight: 700;
}
.goods-dialog__description {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.goods-dialog__description > * + * {
  margin-top: 1rem;
}
.goods-dialog__description h4,
.goods-dialog__description h5,
.goods-dialog__description h6 {
  margin: 1.875rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.0625rem solid #a3710e;
  font-size: 1.25rem;
}
.goods-dialog__description ul,
.goods-dialog__description ol {
  padding-inline-start: 1.6em;
}
.goods-dialog__description .wp-block-image {
  margin-block: 1.25rem;
}
.goods-dialog__description .wp-block-image img {
  width: auto;
  max-width: 100%;
  height: auto;
}
.goods-dialog__description table {
  width: 100%;
  border-collapse: collapse;
}
.goods-dialog__description table th,
.goods-dialog__description table td {
  padding: 0.5rem;
  border: 0.0625rem solid #ddd;
}
@media (max-width: 23.438rem) {
  .goods-dialog {
    width: calc(100% - 1.5rem);
    max-height: calc(100vh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
  }
  .goods-dialog__toolbar {
    padding: 0.25rem 0.25rem 0;
  }
  .goods-dialog__body {
    padding: 0 1.125rem 1.875rem;
  }
  .goods-dialog__details {
    margin-top: 1.625rem;
  }
  .goods-dialog__title {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.875rem;
  }
  .goods-dialog__price {
    font-size: 1.5rem;
  }
  .goods-dialog__description {
    font-size: 1.0625rem;
  }
  .goods-dialog__notices {
    font-size: 0.9375rem;
  }
}

.goods-gallery {
  max-width: 43.75rem;
  margin-inline: auto;
}
.goods-gallery__stage {
  position: relative;
  aspect-ratio: 1;
  background: #f6f5f3;
}
.goods-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  background: rgba(255, 255, 255, 0.9);
  color: #a3710e;
  box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.0666666667);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease;
}
@media (max-width: 23.438rem) {
  .goods-gallery__arrow {
    width: 2.625rem;
    height: 2.625rem;
  }
}
.goods-gallery__arrow span {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.goods-gallery__arrow--previous {
  left: -4.5rem;
}
@media (max-width: 23.438rem) {
  .goods-gallery__arrow--previous {
    left: -0.75rem;
  }
}
.goods-gallery__arrow--previous span {
  transform: translateX(2px) rotate(-135deg);
}
.goods-gallery__arrow--next {
  right: -4.5rem;
}
@media (max-width: 23.438rem) {
  .goods-gallery__arrow--next {
    right: -0.75rem;
  }
}
.goods-gallery__arrow--next span {
  transform: translateX(-2px) rotate(45deg);
}
@media (hover: hover) {
  .goods-gallery__arrow:hover {
    background: #fff;
  }
}
.goods-gallery__slide {
  width: 100%;
  height: 100%;
  margin: 0;
}
.goods-gallery__slide[hidden] {
  display: none;
}
.goods-gallery__image {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.goods-gallery__counter {
  margin: 0.5rem 0 0.75rem;
  font-size: 0.8125rem;
  text-align: right;
  color: #777;
}
.goods-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.goods-gallery__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0.125rem solid transparent;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  background: #f6f5f3;
  line-height: 0;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}
.goods-gallery__thumb[aria-pressed=true] {
  border-color: #a3710e;
  opacity: 1;
}
.goods-gallery__thumb:hover {
  opacity: 1;
}
.goods-gallery__thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (max-width: 23.438rem) {
  .goods-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
  }
}

@keyframes one-goods-backdrop {
  from {
    background: rgba(0, 0, 0, 0);
  }
  to {
    background: rgba(0, 0, 0, 0.7333333333);
  }
}
@media (prefers-reduced-motion: reduce) {
  .goods-dialog::backdrop {
    animation: none;
  }
  .goods-card__open,
  .goods-dialog button {
    transition: none;
  }
}
@media print {
  .goods-dialog {
    display: none !important;
  }
}/*# sourceMappingURL=goods.css.map */
.goods-dialog{color:#111}
