.shop-wrap {
  --shop-ink: #302c26;
  --shop-muted: #666057;
  --shop-rule: #ddd7cb;
  --shop-tint: #f4f0e8;
  --shop-paper: #fffdf8;
  --shop-serif: var(--serif, Georgia, "Times New Roman", serif);
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px clamp(20px, 5.3vw, 84px) clamp(56px, 7vw, 110px);
  color: var(--shop-ink);
  line-height: 1.5;
  font-size: 1rem;
}
.shop-wrap *,
.shop-wrap *::before,
.shop-wrap *::after {
  box-sizing: border-box;
}
.shop-wrap :is(h1, h2, h3, p) {
  margin: 0;
}
.shop-wrap :is(h1, h2, h3) {
  font-family: var(--shop-serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.shop-wrap h1 {
  font-size: clamp(2.9rem, 6vw, 5rem);
}
.shop-wrap h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}
.shop-wrap h3 {
  font-size: clamp(1.4rem, 2.1vw, 2rem);
}
.shop-wrap :is(button, input, select, textarea) {
  font: inherit;
  color: inherit;
}
.shop-wrap button {
  cursor: pointer;
}
.shop-wrap button:disabled {
  opacity: 0.48;
  cursor: default;
}
.shop-wrap a {
  color: inherit;
}
.shop-wrap :focus-visible {
  outline: 2px solid #886c3c;
  outline-offset: 3px;
}
.shop-wrap svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.shop-wrap img {
  display: block;
}
.shop-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--shop-muted);
  flex-wrap: wrap;
}
.shop-crumb a {
  text-decoration: none;
}
.shop-crumb a:hover {
  text-decoration: underline;
}
.shop-crumb span[aria-hidden] {
  opacity: 0.55;
}
.shop-title {
  padding: clamp(34px, 5.4vw, 76px) 0 34px;
}
.shop-title p,
.shop-contact-head > p:last-child {
  margin-top: 16px;
  color: var(--shop-muted);
  max-width: 620px;
}
.shop-toolbar {
  border-top: 1px solid var(--shop-rule);
  border-bottom: 1px solid var(--shop-rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 12px 0;
}
.shop-tabs,
.shop-selects,
.shop-action-row,
.shop-added,
.shop-qty,
.shop-total {
  display: flex;
  align-items: center;
}
.shop-tabs {
  gap: 4px;
  flex-wrap: wrap;
}
.shop-tabs button {
  font-size: 0.9rem;
  border: 1px solid transparent;
  background: transparent;
  min-height: 42px;
  padding: 8px 15px;
  border-radius: 22px;
}
.shop-tabs button[aria-pressed="true"] {
  background: var(--shop-ink);
  border-color: var(--shop-ink);
  color: white;
}
.shop-selects {
  gap: 16px;
}
.shop-selects label {
  font-size: 0.8125rem;
  color: var(--shop-muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.shop-wrap select {
  appearance: none;
  border: 1px solid var(--shop-rule);
  background-color: var(--shop-paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2350473c'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding: 9px 35px 9px 12px;
  border-radius: 2px;
}
.shop-selects select {
  min-height: 40px;
  color: var(--shop-ink);
  font-size: 0.875rem;
}
.shop-count {
  padding: 20px 0;
  color: var(--shop-muted);
  font-size: 0.875rem;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px clamp(14px, 2.7vw, 40px);
}
.shop-card {
  min-width: 0;
}
.shop-card-media,
.shop-detail-image,
.shop-thumb {
  background: #f2eee5;
}
.shop-card-media {
  aspect-ratio: 5/4;
  position: relative;
  overflow: hidden;
}
.shop-card-media > a,
.shop-card-media img {
  width: 100%;
  height: 100%;
  display: block;
}
.shop-card-media img,
.shop-detail-image img,
.shop-thumb img {
  object-fit: contain;
}
.shop-card-media img {
  transition: transform 0.35s;
}
.shop-card-media > a:hover img {
  transform: scale(1.025);
}
.shop-heart {
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--shop-ink);
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid #dfd9ce;
}
.shop-card-media > .shop-heart {
  position: absolute;
  right: 12px;
  top: 12px;
}
.shop-heart[aria-pressed="true"] svg {
  fill: currentColor;
}
.shop-heart svg {
  width: 19px;
  height: 19px;
}
.shop-card-type,
.shop-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shop-muted);
}
.shop-card-type {
  margin: 15px 0 5px;
}
.shop-card h3 a,
.shop-line-info a {
  color: inherit;
  text-decoration: none;
}
.shop-card h3 a:hover,
.shop-line-info a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.shop-card-price {
  font-size: 0.94rem;
  margin-top: 5px;
}
.shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  min-height: 48px;
  background: var(--shop-ink);
  border: 1px solid var(--shop-ink);
  color: white !important;
  text-decoration: none;
  border-radius: 2px;
  font-size: 0.93rem;
  line-height: 1.3;
  font-weight: 500;
  text-align: center;
}
.shop-btn:hover {
  background: #4d473e;
}
.shop-btn.shop-btn-alt {
  background: transparent;
  color: var(--shop-ink) !important;
  border-color: #ada599;
}
.shop-textlink,
.shop-added a,
.shop-privacy a,
.shop-check a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.shop-textlink {
  display: inline-block;
  margin-top: 15px;
  font-size: 0.94rem;
}
.shop-wrap button.shop-textlink {
  background: none;
  border: 0;
  padding: 0;
}
.shop-blank,
.shop-confirm {
  background: var(--shop-tint);
  padding: clamp(26px, 5.5vw, 70px);
  text-align: center;
}
.shop-blank p,
.shop-confirm p {
  margin: 14px auto 20px;
  max-width: 630px;
  color: var(--shop-muted);
}
.shop-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 680px;
  border: 1px solid var(--shop-rule);
  background: var(--shop-paper);
  padding: 0 15px;
  margin-bottom: 26px;
}
.shop-search input {
  width: 100%;
  border: 0;
  background: transparent;
  min-height: 48px;
  outline-offset: -2px;
}
.shop-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 6.7vw, 100px);
  margin-top: 40px;
}
.shop-detail-image {
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.shop-detail-image img {
  width: 100%;
  height: 100%;
}
.shop-detail-content > h1 {
  margin: 8px 0 12px;
}
.shop-subtitle,
.shop-desc,
.shop-small {
  color: var(--shop-muted);
}
.shop-desc {
  margin: 20px 0 !important;
}
.shop-small {
  font-size: 0.9rem;
}
.shop-price {
  display: inline-block;
  font-size: 1.35rem;
  margin: 12px 0 0;
}
.shop-detail-content > .shop-field {
  margin: 24px 0 15px;
}
.shop-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.9375rem;
}
.shop-field small {
  font-size: 0.82rem;
  color: var(--shop-muted);
}
.shop-field :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 47px;
  border: 1px solid #c9c3b6;
  background-color: var(--shop-paper);
  border-radius: 2px;
  padding: 10px 13px;
  font-size: 1rem;
}
.shop-field select {
  padding-right: 36px;
}
.shop-field textarea {
  resize: vertical;
}
.shop-action-row {
  gap: 10px;
}
.shop-action-row #shop-purchase {
  flex: 1;
}
.shop-action-row .shop-btn {
  width: 100%;
}
.product-heart {
  width: 49px;
  height: 49px;
  border-radius: 2px;
}
.shop-added {
  background: #eeeee3;
  gap: 9px;
  margin: 14px 0 4px;
  padding: 10px;
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.shop-added svg {
  width: 17px;
  height: 17px;
}
.shop-accordions {
  margin-top: 30px;
  border-top: 1px solid var(--shop-rule);
}
.shop-accordions details {
  border-bottom: 1px solid var(--shop-rule);
  padding: 15px 0;
}
.shop-accordions summary {
  cursor: pointer;
  font-weight: 500;
}
.shop-accordions :is(ul, p) {
  margin: 12px 0 6px;
  color: var(--shop-muted);
}
.shop-accordions ul {
  padding-left: 22px;
}
.shop-related {
  margin-top: clamp(52px, 8vw, 105px);
}
.shop-related > h2 {
  margin-bottom: 23px;
}
.shop-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
  gap: clamp(24px, 5vw, 65px);
  align-items: start;
}
.shop-cart-line {
  border-top: 1px solid var(--shop-rule);
  padding: 18px 0;
  display: grid;
  grid-template-columns: clamp(90px, 11vw, 150px) minmax(0, 1fr) auto;
  gap: clamp(12px, 2vw, 26px);
}
.shop-cart-line:last-child {
  border-bottom: 1px solid var(--shop-rule);
}
.shop-thumb {
  align-self: start;
  aspect-ratio: 1;
  overflow: hidden;
}
.shop-thumb img {
  height: 100%;
  width: 100%;
}
.shop-line-info h2 {
  font-size: 1.55rem;
  margin: 5px 0;
}
.shop-line-info p:not(.shop-kicker) {
  color: var(--shop-muted);
  font-size: 0.88rem;
}
.shop-qty {
  display: inline-flex;
  border: 1px solid var(--shop-rule);
  min-height: 34px;
  margin-top: 12px;
}
.shop-qty button {
  height: 34px;
  width: 32px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.shop-qty svg {
  height: 13px;
  width: 13px;
}
.shop-qty span {
  min-width: 20px;
  text-align: center;
  font-size: 0.9rem;
}
.shop-line-end {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-direction: column;
}
.shop-line-end strong {
  font-weight: 500;
}
.shop-line-end button {
  font-size: 0.85rem;
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--shop-muted);
  padding: 5px 0;
}
.shop-summary,
.shop-contact-side {
  background: var(--shop-tint);
  padding: clamp(20px, 3vw, 39px);
}
.shop-summary h2,
.shop-form h2,
.shop-contact-side h2 {
  font-size: 2rem;
}
.shop-total {
  border-top: 1px solid var(--shop-rule);
  border-bottom: 1px solid var(--shop-rule);
  margin: 21px 0 16px;
  padding: 15px 0;
  justify-content: space-between;
  gap: 10px;
}
.shop-total strong {
  font-size: 1.25rem;
  font-weight: 500;
}
.shop-summary > p,
.shop-privacy {
  color: var(--shop-muted);
  font-size: 0.92rem;
}
.shop-summary .shop-btn {
  width: 100%;
  margin-top: 15px;
}
.shop-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.875rem;
  margin-top: 17px;
}
.shop-check input {
  accent-color: var(--shop-ink);
  margin-top: 4px;
}
.shop-note {
  margin: 12px 0 !important;
  padding: 11px 14px;
  border-left: 2px solid #83714c;
  background: #eeece5;
  font-size: 0.93rem;
}
.shop-error {
  border-color: #995645;
  color: #772f25;
  background: #f6eae5;
}
.shop-contact-head {
  margin: clamp(33px, 5vw, 67px) 0 32px;
}
.shop-contact-head h1 {
  margin-top: 9px;
}
.shop-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(230px, 1fr);
  align-items: start;
  gap: clamp(20px, 6vw, 90px);
}
.shop-form {
  display: grid;
  gap: 20px;
}
.shop-form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.shop-form .shop-btn {
  justify-self: start;
}
.shop-form .shop-form-pair label,
.shop-form .shop-field {
  min-width: 0;
}
.shop-contact-side > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  font-size: 0.98rem;
}
.shop-contact-side div > a {
  text-decoration: none;
  overflow-wrap: anywhere;
}
.shop-contact-side div > a:hover {
  text-decoration: underline;
}
.shop-contact-side div > svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.shop-context {
  background: var(--shop-tint);
  border-left: 2px solid #ad9c7d;
  padding: 12px 16px;
  font-size: 0.9rem;
}
.shop-context p {
  white-space: pre-wrap;
  color: var(--shop-muted);
  margin-top: 5px;
}
.shop-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.shop-confirm > span {
  display: inline-grid;
  place-items: center;
  border: 1px solid #9a937a;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
}
.shop-confirm .shop-small {
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-cart-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.9fr);
  }
  .shop-contact-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(225px, 1fr);
  }
  .shop-selects {
    gap: 8px;
  }
}
@media (max-width: 700px) {
  .shop-wrap {
    padding-top: 18px;
  }
  .shop-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }
  .shop-tabs button {
    padding: 8px 12px;
  }
  .shop-selects {
    width: 100%;
  }
  .shop-selects label {
    flex: 1;
    min-width: 0;
  }
  .shop-selects select {
    width: 100%;
  }
  .shop-card-media {
    aspect-ratio: 1;
  }
  .shop-card-media > .shop-heart {
    width: 36px;
    height: 36px;
    right: 6px;
    top: 6px;
  }
  .shop-grid {
    gap: 24px 12px;
  }
  .shop-detail,
  .shop-contact-layout,
  .shop-cart-layout {
    grid-template-columns: 1fr;
  }
  .shop-detail {
    margin-top: 21px;
    gap: 24px;
  }
  .shop-detail-image {
    aspect-ratio: 5/4;
  }
  .shop-cart-line {
    grid-template-columns: 80px minmax(0, 1fr) auto;
  }
  .shop-related .shop-grid article:last-child:nth-child(odd) {
    display: none;
  }
  .shop-form-pair {
    grid-template-columns: 1fr;
  }
  .shop-contact-side {
    margin-top: 8px;
  }
  .shop-thumb {
    min-width: 0;
  }
  .shop-summary .shop-textlink {
    display: block;
    text-align: center;
  }
}
@media (max-width: 380px) {
  .shop-wrap {
    padding-left: 15px;
    padding-right: 15px;
  }
  .shop-cart-line {
    grid-template-columns: 57px minmax(0, 1fr) auto;
  }
  .shop-line-end strong {
    font-size: 0.89rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shop-wrap *,
  .shop-wrap *::before,
  .shop-wrap *::after {
    transition: none !important;
    animation: none !important;
  }
}

.shop-detail-content,
.shop-line-info,
.shop-contact-side,
.shop-summary,
.shop-contact-head,
.shop-accordions {
  min-width: 0;
  overflow-wrap: anywhere;
}
.shop-cart-line .shop-line-end {
  white-space: nowrap;
}
.shop-cart-line .shop-qty span {
  white-space: nowrap;
}

.shop-mattress {
  padding: clamp(17px, 2.1vw, 25px);
  margin-top: 25px;
  background: var(--shop-tint);
  border-left: 2px solid #ad9c7d;
}
.shop-mattress-spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 15px;
  margin: 9px 0 5px;
}
.shop-mattress-spec h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}
.shop-mattress-spec strong {
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}
.shop-mattress .shop-textlink {
  margin-top: 9px;
}

.shop-detail-content .shop-catalogue-link {
  display: inline-block;
  margin-top: 1.25rem;
}
