.ec-section {
  padding-top: 35px;
}
.ec-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.ec-heading h1,
.ec-detail-grid h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  letter-spacing: -2px;
  line-height: 1.13;
  margin: 20px 0;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.ec-heading > div,
.ec-detail-grid > div {
  min-width: 0;
}
.ec-count {
  font-size: 13px;
  white-space: nowrap;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 10px 16px;
}
.ec-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 25px 0;
}
.ec-filter a {
  font-size: 13px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.ec-filter a.active {
  background: var(--ink);
  color: #fff;
}
.ec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
  margin: 30px 0;
}
.ec-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}
.ec-card:hover {
  transform: translateY(-4px);
}
.ec-card-photo {
  height: 250px;
  position: relative;
  overflow: hidden;
  background: #f6f6f6;
}
.ec-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ec-card-copy {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ec-card-copy h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
.ec-card-copy p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 12px;
}
.ec-card-copy small {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  display: block;
  margin: 0 0 16px;
}
.ec-card-bottom {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  font-size: 15px;
}
.ec-card-bottom > span {
  font-size: 12px;
  color: var(--accent);
}
.ec-card-bottom .ec-price-note {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.ec-search-help {
  border: 1px solid var(--line);
  max-width: 760px;
}
.ec-search-help p {
  margin: 8px 0 0;
}
.ec-search-help a {
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.ec-nowrap {
  white-space: nowrap;
}
.ec-search-sections {
  font-size: 22px;
  margin-top: 30px;
}
.ec-tag {
  position: absolute;
  left: 13px;
  top: 13px;
  padding: 5px 9px;
  font-size: 10px;
  border-radius: 5px;
  background: #fff;
}
.ec-timing {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 22px;
  border-radius: 10px;
  margin: 26px 0;
}
.ec-timing b {
  font-size: 17px;
  line-height: 1.5;
}
.ec-timing p {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  color: var(--muted);
}
.ec-timing a {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ec-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 20px 0;
}
.ec-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.ec-detail-image {
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
}
.ec-detail-image img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  display: block;
}
.ec-detail-price {
  font-size: 26px;
  font-weight: 700;
  margin: 25px 0;
}
.ec-format {
  display: block;
  font-size: 14px;
  margin: 18px 0;
}
.ec-format select,
.ec-format textarea {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #cdd0d2;
  border-radius: 6px;
  font: inherit;
  font-size: 16px;
  margin-top: 8px;
  background: #fff;
}
.ec-manager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
}
.ec-mail {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ec-content {
  margin: 40px 0;
}
.ec-content h2 {
  font-size: 29px;
}
.ec-content p,
.ec-content li {
  font-size: 15px;
  line-height: 1.9;
  max-width: 950px;
}
.ec-specs > div {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ec-specs dt {
  min-width: 150px;
  color: var(--muted);
  font-size: 14px;
}
.ec-specs dd {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.ec-collage-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.ec-collage-options article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 23px;
}
.ec-collage-options b {
  font-size: 19px;
}
.ec-collage-options p {
  font-size: 14px;
}
.production-note {
  margin: 0;
  padding: 14px 5%;
  background: #f4f5f6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
}
.production-note a {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ec-section a[href^='tel:'] {
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .ec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ec-timing {
    grid-template-columns: 1fr 2fr;
  }
  .ec-timing a {
    grid-column: 1/-1;
  }
}
@media (max-width: 800px) {
  .ec-heading {
    display: block;
  }
  .ec-heading h1,
  .ec-detail-grid h1 {
    font-size: 38px;
    letter-spacing: -1.4px;
  }
  .ec-count {
    display: inline-block;
    margin: 10px 0;
  }
  .ec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .ec-card-photo {
    height: 170px;
  }
  .ec-card-copy {
    padding: 14px;
  }
  .ec-card-copy h2 {
    font-size: 17px;
  }
  .ec-card-copy p {
    font-size: 12px;
  }
  .ec-card-copy small {
    font-size: 10px;
  }
  .ec-card-bottom {
    display: block;
    font-size: 14px;
  }
  .ec-card-bottom > span {
    display: block;
    margin-top: 9px;
  }
  .ec-timing {
    display: block;
    padding: 20px;
  }
  .ec-timing p {
    margin: 10px 0;
  }
  .ec-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
  }
  .ec-detail-image img {
    max-height: 340px;
  }
  .ec-collage-options {
    grid-template-columns: 1fr;
  }
  .production-note {
    display: block;
    font-size: 11px;
  }
  .production-note a {
    display: block;
    margin-top: 5px;
  }
  .ec-specs > div {
    display: block;
  }
  .ec-specs dd {
    margin-top: 6px;
  }
}
@media (max-width: 420px) {
  .ec-heading h1,
  .ec-detail-grid h1 {
    font-size: 31px;
    letter-spacing: -1px;
  }
}

/* Pages priced by the manager: the request form. */
.ec-request {
  margin-top: 8px;
}
.ec-request .btn {
  width: 100%;
  white-space: normal;
}
.ec-status {
  margin: 12px 0 0;
  color: #8e3e25;
  font-weight: 600;
}
.ec-status:empty {
  display: none;
}
