select {
  font: inherit;
  color: var(--ink);
}
button:focus-visible,
select:focus-visible {
  outline: 3px solid #be9e6f;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.bath-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr);
  gap: 32px;
  align-items: start;
}
.bath-stage-column {
  position: sticky;
  top: 20px;
  min-width: 0;
}
.bath-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 0 15px;
}
.bath-view-header .eyebrow {
  font-size: 9px;
  margin-bottom: 6px;
}
.bath-view-header h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  font-weight: 500;
  margin: 0;
}
.bath-view-header .icon-btn {
  background: white;
  border-color: var(--line);
}
.bath-viewer {
  height: 575px;
  overflow: hidden;
  border-radius: 8px;
  background: #e5ded3;
}
.bath-viewer svg {
  display: block;
  width: 100%;
  height: 100%;
}
.bath-under {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
}
.bath-under span {
  font-size: 8px;
  letter-spacing: 1px;
  color: #65776c;
  max-width: 110px;
  line-height: 1.5;
}
.bath-under p {
  font-size: 10px;
  line-height: 1.6;
  max-width: 300px;
  color: #79857a;
  margin: 0;
}
.bath-dimension-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 16px;
}
.bath-dimension-list > div {
  border: 1px solid #dbdfd5;
  border-radius: 5px;
  background: #ffffff80;
  padding: 12px;
}
.bath-dimension-list strong {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}
.bath-dimension-list span {
  font-size: 11px;
  color: #586c61;
  display: block;
}
.bath-dimension-list small {
  display: block;
  font-size: 9px;
  color: #7f8a80;
  margin-top: 5px;
}
.bath-warning {
  background: #f2e6ce;
  border: 1px solid #dbc69c;
  padding: 12px 15px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 5px;
  color: #72572c;
}
.bath-mode {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f8f9f5;
}
.bath-mode button {
  font-size: 12px;
  border: 0;
  background: transparent;
  padding: 12px 3px;
  border-radius: 3px;
}
.bath-mode small {
  display: block;
  font-size: 9px;
  margin-top: 5px;
  color: #7b8b7e;
}
.bath-mode button[aria-pressed='true'] {
  background: #e4eeea;
  color: var(--green);
  box-shadow: 0 1px 3px #173c3015;
}
.bath-module {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.bath-module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.bath-module-head label {
  font-size: 14px;
  font-weight: 600;
}
.bath-module-head label span {
  font-weight: 400;
  color: #9ca59c;
  font-size: 10px;
  margin-right: 8px;
}
.bath-remove {
  border: 0;
  background: none;
  text-decoration: underline;
  color: #6c8072;
  font-size: 10px;
  padding: 6px;
}
.bath-module select {
  width: 100%;
  padding: 12px 10px;
  background: #fafbf8;
  border: 1px solid #d8ded3;
  border-radius: 4px;
  font-size: 13px;
}
.bath-module p {
  font-size: 11px;
  line-height: 1.5;
  color: #7d877d;
  margin: 10px 0 0;
}
.bath-module .bath-empty {
  background: #f7f8f3;
  border: 1px dashed #ccd4c5;
  padding: 14px;
  color: #738370;
  margin: 0;
  border-radius: 5px;
}
.bath-slot-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 17px;
}
.bath-slot-tabs button {
  border: 1px solid var(--line);
  background: white;
  padding: 10px 5px;
  border-radius: 4px;
  font-size: 11px;
}
.bath-slot-tabs button[aria-pressed='true'] {
  border-color: var(--green);
  background: #edf3ee;
  color: var(--green);
}
.bath-slot-tabs button:disabled {
  display: none;
}
.bath-slot-tabs:has(button:disabled) {
  grid-template-columns: 1fr;
}
.bath-configuration .part-tabs {
  margin-bottom: 13px;
}
.bath-configuration #bathMirrorNote {
  margin: 0 0 13px;
}
.bath-sync {
  display: flex;
  gap: 8px;
  align-items: center;
  line-height: 1.5;
  font-size: 11px;
  color: #69806e;
  margin-top: 18px;
}
.bath-sync input {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
}
.bath-sync:has(input:disabled) {
  opacity: 0.5;
}
.bath-gallery {
  margin-top: 50px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.bath-preset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.bath-preset {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.bath-preset img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: contain;
  object-position: center;
  background: #e5ded3;
}
.bath-preset-content {
  padding: 20px;
}
.bath-preset h3 {
  font-size: 21px;
  margin: 7px 0 9px;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.bath-preset p {
  font-size: 11px;
  line-height: 1.6;
  margin: 0 0 13px;
  color: #6e7c72;
  min-height: 36px;
}
.bath-preset button {
  width: 100%;
}
.bath-preset.selected {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.bath-summary-item {
  border: 1px solid var(--line);
  padding: 16px;
  margin: 14px 0;
  border-radius: 6px;
}
.bath-summary-item > span {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #66816e;
}
.bath-summary-item h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 8px 0 12px;
}
.bath-summary-item p {
  font-size: 12px;
  line-height: 1.7;
  margin: 3px 0;
  color: #677a6c;
}
.bath-summary-item small {
  display: block;
  font-size: 10px;
  color: #819080;
  margin-top: 8px;
}
#bathCopyStatus {
  font-size: 11px;
  line-height: 1.5;
  color: var(--green);
}
#bathLoad {
  padding: 12px;
  background: #e7eee7;
  font-size: 13px;
}
.site-header nav .bath-nav-link {
  display: block;
}
@media (min-width: 1500px) {
  .bath-viewer {
    height: 635px;
  }
}
@media (max-width: 1100px) {
  .bath-workspace {
    gap: 22px;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 1fr);
  }
  .bath-viewer {
    height: 560px;
  }
  .bath-under {
    display: block;
  }
  .bath-under p {
    max-width: none;
    margin-top: 6px;
  }
  .bath-under span {
    max-width: none;
  }
  .bath-dimension-list {
    grid-template-columns: 1fr;
  }
  .bath-preset-grid {
    gap: 16px;
  }
  .bath-preset-content {
    padding: 15px;
  }
}
@media (max-width: 760px) {
  .site-header nav {
    gap: 12px;
  }
  .bath-workspace {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .bath-stage-column {
    position: relative;
    top: 0;
    width: 100%;
  }
  .bath-viewer {
    height: 450px;
  }
  .bath-view-header h2 {
    font-size: 21px;
  }
  .bath-dimension-list {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .bath-dimension-list > div {
    padding: 10px;
  }
  .bath-dimension-list strong {
    font-size: 11px;
  }
  .bath-dimension-list span {
    font-size: 10px;
  }
  .bath-under p {
    font-size: 10px;
  }
  .bath-configuration {
    padding: 22px;
  }
  .bath-preset-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .bath-preset-content {
    padding: 12px;
  }
  .bath-preset h3 {
    font-size: 17px;
  }
  .bath-preset p {
    font-size: 10px;
    min-height: 48px;
  }
  .bath-preset button {
    font-size: 11px;
    padding: 11px 5px;
  }
  .bath-preset .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .intro {
    display: block;
  }
  .intro > .secondary-btn {
    display: inline-block;
    margin-top: 17px;
    font-size: 11px;
  }
  .bath-gallery {
    margin-top: 30px;
  }
  .site-header nav .bath-nav-link {
    font-size: 11px;
  }
  .bath-mode button {
    font-size: 12px;
  }
  .bath-mode small {
    font-size: 8px;
  }
  .bath-dimension-list small {
    font-size: 8px;
  }
  .bath-sync {
    font-size: 11px;
  }
}
@media (max-width: 600px) {
  .bath-preset-grid {
    grid-template-columns: 1fr;
  }
  .bath-preset p {
    min-height: 0;
  }
}
@media (max-width: 370px) {
  .bath-viewer {
    height: 420px;
  }
}
#bathManualCopy {
  width: 100%;
  min-height: 180px;
  font:
    12px/1.6 Arial,
    sans-serif;
  border: 1px solid #cbd7cc;
  border-radius: 4px;
  padding: 12px;
  margin-top: 8px;
  color: var(--ink);
  background: #fafbf7;
  resize: vertical;
}

/* A single link makes the whole collection card accessible by mouse, touch and keyboard. */
.bath-entry {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: center;
  margin: 22px 0 30px;
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 4px 14px #123c4010;
  transition:
    box-shadow 0.18s,
    border-color 0.18s;
}
.bath-entry-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  min-width: 0;
  background: #e3d9cb;
  align-self: stretch;
  align-content: center;
}
.bath-entry-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: contain;
}
.bath-entry-copy {
  padding: 25px 34px;
}
.bath-entry-meta {
  display: block;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: #c8ded7;
}
.bath-entry h2 {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.8px;
  font-weight: 600;
  margin: 9px 0 10px;
}
.bath-entry p {
  font-size: 14px;
  line-height: 1.55;
  color: #e2eeea;
  margin: 0;
}
.bath-entry-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 13px 18px;
  margin-top: 19px;
  background: #fff;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  min-height: 44px;
}
.bath-entry-action > span {
  font-size: 21px;
  line-height: 14px;
  transition: transform 0.18s;
}
.bath-entry:focus-visible {
  outline: 3px solid #be9e6f;
  outline-offset: 4px;
}
.bath-entry:hover {
  box-shadow: 0 8px 22px #123c4028;
  border-color: #38777a;
}
.bath-entry:hover .bath-entry-action {
  background: #f1e8d9;
}
.bath-entry:hover .bath-entry-action > span {
  transform: translateX(3px);
}
@media (max-width: 900px) {
  .bath-entry {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .bath-entry-copy {
    padding: 22px;
  }
  .bath-entry h2 {
    font-size: 30px;
  }
  .bath-entry p {
    font-size: 13px;
  }
}
@media (max-width: 600px) {
  .bath-entry {
    grid-template-columns: minmax(0, 1fr);
    margin: 12px 0 26px;
  }
  .bath-entry-copy {
    padding: 20px;
  }
  .bath-entry h2 {
    font-size: 29px;
    margin: 8px 0;
  }
  .bath-entry p {
    font-size: 13px;
  }
  .bath-entry-meta {
    font-size: 10px;
  }
  .bath-entry-action {
    display: flex;
    width: 100%;
    gap: 16px;
    margin-top: 15px;
  }
  .bath-entry-photos {
    align-self: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bath-entry,
  .bath-entry-action > span {
    transition: none;
  }
  .bath-entry:hover .bath-entry-action > span {
    transform: none;
  }
}
