/* OceanEmber action details — mineral marks, quiet type, and considered space. */
.button:has(> .action-inlay) {
  min-height: 56px;
  padding: 10px 16px 10px 22px;
  gap: 24px;
  line-height: 1.5;
  letter-spacing: .2px;
}

.button > .action-inlay {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding-left: 11px;
  border-left: 1px solid #d2b18561;
  color: #e6c395;
  font-size: inherit;
  line-height: 1;
  transition: border-color .2s ease, color .2s ease;
}

.action-inlay > .action-ember {
  width: 20px;
  height: 25px;
  overflow: visible;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.outline > .action-inlay,
.button.cream > .action-inlay {
  color: #8c5b3b;
  border-left-color: #9d78473d;
}

.button:hover > .action-inlay {
  border-left-color: #dfbd8da6;
  color: #f1d6b0;
}

.button.outline:hover > .action-inlay,
.button.cream:hover > .action-inlay {
  border-left-color: #9d784775;
  color: #76462a;
}

.button:has(> .action-inlay):focus-visible {
  outline-offset: 5px;
}

.room-editorial > .room-edit-button {
  justify-content: space-between;
  gap: 25px;
  min-width: 238px;
  max-width: 100%;
  white-space: normal;
  text-align: left;
}

/* Let the lamp name lead. The action sits beside the picture, below the copy. */
.room-pick {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 20px;
  row-gap: 5px;
  align-items: start;
  padding: 23px 26px;
}

.room-pick > img {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  width: 76px;
  height: 90px;
}

.room-pick > span:not(:last-child) {
  grid-column: 2;
  grid-row: 1;
  flex: initial;
  min-width: 0;
}

.room-pick > span.room-pick-action {
  grid-column: 2;
  grid-row: 2;
  display: block;
  justify-self: start;
  align-self: start;
  flex: initial;
  width: auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 1px 0 3px;
  border: 0;
  border-bottom: 1px solid #b1947680;
  border-radius: 0;
  color: #805334;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .35px;
  line-height: 1.6;
  text-align: left;
  transition: color .2s ease, border-color .2s ease;
}

.room-pick:hover > span.room-pick-action,
.room-pick:focus-visible > span.room-pick-action {
  border-color: #805334;
  color: #67432c;
}

.room-pick:focus-visible {
  position: relative;
  z-index: 1;
  outline-offset: -5px;
}

.style-caption {
  display: block;
}

.style-caption > span:first-child { display: block; }

.style-action-label {
  display: inline-block;
  margin-top: 15px;
  padding-bottom: 3px;
  border-bottom: 1px solid #8b765f73;
  color: #765236;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3px;
  line-height: 1.4;
  transition: border-color .2s ease, color .2s ease;
}

.style-card:hover .style-action-label {
  border-color: #805334;
  color: #67432c;
}

.photo-product > span.photo-product-link {
  flex: 0 0 auto;
  margin-left: 16px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e3ccb3a8;
  color: #fff4e1;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3px;
  line-height: 1.5;
}

.retailer-link > span.retailer-link-note {
  flex: 0 0 auto;
  color: #805334;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1px;
  line-height: 1.5;
}

.guide-action {
  display: inline-block;
  margin-top: 17px;
  padding-bottom: 4px;
  border-bottom: 1px solid #b1947680;
  color: #805334;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .25px;
  line-height: 1.6;
  transition: border-color .2s ease;
}

.guide-card:hover .guide-action,
.guide-card:focus-visible .guide-action {
  border-color: #805334;
}

.placement-product > span > .placement-product-link {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid #b1947680;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1px;
  line-height: 1.6;
  transition: border-color .2s ease;
}

.placement-product:hover .placement-product-link,
.placement-product:focus-visible .placement-product-link {
  border-color: #805334;
}

@media (max-width: 1150px) {
  .hero-buttons .button:has(> .action-inlay) {
    gap: 18px;
    padding: 10px 14px 10px 18px;
  }

  .room-pick {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 14px;
    padding: 21px 18px;
  }

  .room-pick > img {
    width: 64px;
    height: 82px;
  }
}

@media (max-width: 680px) {
  .button:has(> .action-inlay) {
    min-height: 54px;
    padding: 9px 15px 9px 20px;
    gap: 19px;
  }

  .hero-buttons .button:has(> .action-inlay) {
    padding: 9px 12px 9px 16px;
    gap: 15px;
  }

  .hero-buttons .text-button {
    min-height: 44px;
  }

  .button > .action-inlay {
    flex-basis: 31px;
    width: 31px;
    height: 32px;
    padding-left: 9px;
  }

  .room-editorial > .room-edit-button {
    min-width: 0;
    justify-content: space-between;
    padding-inline: 19px 15px;
  }

  .room-pick {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 17px;
    row-gap: 5px;
    padding: 21px;
  }

  .room-pick > img {
    width: 64px;
    height: 86px;
  }

  .room-pick > span.room-pick-action {
    width: auto;
    height: auto;
    font-size: 11px;
  }

  .room-pick-name {
    font-size: 21px;
    line-height: 1.3;
  }

  .room-pick-price {
    font-size: 11px;
  }

  .retailer-link {
    flex-wrap: wrap;
    gap: 3px 8px;
  }

  .retailer-link > span.retailer-link-note {
    font-size: 10px;
  }

  .guide-action {
    margin-top: 14px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .hero-buttons {
    flex-wrap: wrap;
    gap: 7px 19px;
  }

  .room-pick {
    grid-template-columns: 53px minmax(0, 1fr);
    column-gap: 13px;
    padding-inline: 16px;
  }

  .room-pick > img {
    width: 53px;
    height: 76px;
  }

  .room-pick-name {
    font-size: 19px;
  }

  .style-action-label {
    margin-top: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button > .action-inlay,
  .room-pick > span.room-pick-action,
  .style-action-label,
  .guide-action,
  .placement-product > span > .placement-product-link {
    transition: none;
  }
}

.back-to-top { border-bottom: 1px solid #9b977f; padding-bottom: 4px; }
