/* 본사 디자인 탐색과 선택 흐름. 템플릿 테마와 독립된 스타일입니다. */
.home-template-browse {
  padding-block: 80px 90px;
  background: #f7f9fc;
}
.browse-section-heading,
.related-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 40px;
}
.browse-section-heading h2,
.related-heading h2 {
  margin-top: 16px;
  font-size: clamp(29px, 3vw, 43px);
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -0.055em;
}
.browse-section-heading > p {
  max-width: 340px;
  font-size: 13px;
  color: #7b879a;
  line-height: 1.9;
}
.category-choices {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.websave-site .category-choices .category-choice {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 15px 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #69778c;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}
.category-symbol {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #edf1f7;
  color: #7187a4;
  transition:
    background 0.2s,
    color 0.2s;
}
.category-symbol svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.category-choice small {
  display: block;
  color: #9aa5b6;
  font-size: 10px;
  margin-top: 3px;
}
.websave-site .category-choices .category-choice[aria-pressed='true'] {
  color: #213d63;
  background: transparent;
  border: 0;
}
.category-choice[aria-pressed='true'] .category-symbol {
  background: #193456;
  color: #e1edff;
}
.category-choice:hover .category-symbol {
  background: #dfe9f9;
  color: #2864e5;
}
.design-gallery .catalog-tools {
  margin-bottom: 0;
  border-bottom-color: #e2e8f1;
}
.design-gallery .catalog-status {
  margin-block: 18px 28px;
}
.design-gallery .template-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 44px;
}
.design-gallery .card-image {
  aspect-ratio: 1.48;
  background: #e8edf5;
  padding: 17px 14px;
  border: 1px solid #dfe5ee;
  border-radius: 10px;
}
.design-gallery .card-image.is-cover {
  padding: 0;
}
.design-gallery .card-image img {
  border-radius: 3px;
  transition: transform 0.6s;
}
.design-gallery .card-image:hover img {
  transform: scale(1.035);
}
.card-screen-viewport {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 3px;
  background: #e8edf5;
}
.websave-site .card-image .card-screen-viewport > img {
  width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
.websave-site .card-image .card-first-screen {
  height: auto;
  object-fit: contain;
  object-position: top;
  transform: none;
}
.websave-site .card-image .card-scroll-screen {
  position: absolute;
  inset: 0 auto auto 0;
  height: auto;
  max-width: none;
  opacity: 0;
  transition: opacity 0.35s;
  transform: none;
}
.websave-site .card-image.has-scroll-preview:hover img {
  transform: none;
}
.websave-site .card-image.is-scrolling .card-scroll-screen {
  opacity: 1;
  will-change: transform;
}
.card-scroll-cue {
  display: none;
  position: absolute;
  bottom: 10px;
  left: 11px;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 9px;
  color: #e3edfc;
  background: #183253e8;
  pointer-events: none;
}
.can-scroll-preview .card-scroll-cue {
  display: block;
}
.is-scrolling .card-scroll-cue {
  opacity: 0;
}
.detail-scroll-note {
  font-size: 11px;
  color: #7d91ae;
  line-height: 1.8;
  margin-block: 17px 13px;
}
.view-detail .detail-preview-column > .detail-preview-links {
  margin-top: 0;
}
.websave-site .detail-visual.is-long-capture > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.design-gallery .image-kind {
  color: #546b8b;
  backdrop-filter: blur(8px);
}
.design-gallery .card-meta {
  margin-top: 19px;
  color: #93a0b2;
}
.design-gallery .card-meta span:first-child {
  color: #697f9e;
}
.design-gallery .card-title {
  font-size: clamp(19px, 1.6vw, 23px);
  color: #213753;
  margin-top: 8px;
}
.design-gallery .card-caption {
  color: #8a95a5;
  font-size: 12px;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.browse-more {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}
.browse-more .button {
  min-width: 265px;
}
.view-catalog .browse-heading {
  padding: 62px 5.1vw 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 7%;
  row-gap: 28px;
  min-height: 375px;
  background: linear-gradient(115deg, #f8faff 10%, #fff 70%);
  overflow: hidden;
}
.view-catalog .browse-heading h1 {
  font-size: clamp(35px, 3.5vw, 52px);
}
.browse-heading .page-lead {
  margin-top: 20px;
  max-width: 580px;
}
.browse-journey {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin-top: 26px;
  font-size: 11px;
  color: #5d7291;
}
.browse-journey span {
  color: #8fa7ca;
  font-size: 10px;
  margin-right: 8px;
}
.browse-heading-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2px 24px;
  color: #6f85a5;
}
.browse-heading-note > span {
  grid-column: 2;
  font-size: 12px;
}
.browse-heading-note strong {
  grid-column: 1;
  grid-row: 1 / 3;
  display: block;
  font-size: clamp(64px, 6vw, 92px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -4px;
  color: #1d395e;
}
.browse-heading-note strong small {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  margin-left: 0;
}
.view-catalog .browse-heading .browse-heading-note p {
  grid-column: 2;
  font-size: 11px;
  color: #8c9cb2;
  max-width: 235px;
}
.view-catalog .catalog-section {
  padding-top: 36px;
}
.view-catalog .category-choices {
  margin-block: 23px 7px;
}
.view-detail .detail-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.detail-heading-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 24px;
}
.detail-heading-visual {
  position: relative;
  width: 180px;
  flex: 0 0 180px;
}
.view-detail .detail-breadcrumb .back-link {
  margin: 0;
}
.detail-heading-copy > span {
  font-size: 11px;
  color: #8290a5;
}
.detail-breadcrumb i {
  font-style: normal;
  margin-inline: 12px;
  color: #b8c6d9;
}
.view-detail .detail-layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(330px, 1fr);
  gap: 50px;
}
.view-detail .detail-visual {
  background: #182e4b;
  padding: 18px 20px 16px;
  border: 0;
}
.view-detail .detail-visual .browser-bar {
  color: #9db2cf;
  border-color: #ffffff21;
  margin-bottom: 14px;
}
.view-detail .detail-visual > img {
  border-radius: 3px;
  box-shadow: none;
}
.view-detail .detail-visual .visual-caption {
  color: #a5b8d1;
  font-size: 10px;
}
.view-detail .detail-preview-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.detail-preview-links button {
  border: 1px solid #213e65;
  border-radius: 5px;
  background: #213e65;
  color: #fff;
  font-size: 12px;
  padding: 13px 8px;
}
.view-detail .detail-preview-links a {
  color: #5c7292;
  border-color: #dce5f1;
  font-size: 12px;
}
.detail-design-points {
  padding: 0;
  margin: 22px 0;
  list-style: none;
  color: #68809f;
  font-size: 12px;
  line-height: 1.7;
}
.detail-design-points li {
  padding: 6px 0 6px 16px;
  position: relative;
}
.detail-design-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #5e8bd0;
}
.detail-inspection {
  padding: 23px;
  background: #f4f7fc;
  border-radius: 8px;
  margin-bottom: 20px;
}
.detail-inspection strong {
  font-size: 14px;
  font-weight: 600;
  color: #355377;
}
.view-detail .detail-inspection p {
  font-size: 12px;
  line-height: 1.9;
  margin-block: 9px 14px;
  color: #8290a4;
}
.detail-inspection a {
  font-size: 11px;
  color: #4779bc;
}
.view-detail .shopping-summary h1 {
  font-size: clamp(29px, 2.6vw, 39px);
  line-height: 1.35;
}
.view-detail .shopping-summary {
  max-height: calc(100dvh - 50px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding-bottom: 6px;
}
.view-detail .product-cost-heading {
  background: #193354;
  color: #fff;
  padding: 22px;
  border-radius: 9px;
}
.view-detail .product-cost-heading > span,
.view-detail .product-cost-heading > small {
  color: #b0c3dd;
}
.view-detail .product-cost-heading b {
  color: #c9dcf9;
  background: #ffffff13;
}
.view-detail .product-cost-heading strong {
  font-size: clamp(29px, 2.8vw, 39px);
}
.view-detail .product-cost-heading a {
  background: #e7f0ff;
  color: #254d85;
  border: 0;
}
.view-detail .product-cost-heading > .detail-tax-total {
  display: block;
  font-size: 10px;
  margin-top: 10px;
  color: #8faed8;
}
.view-detail .product-scope > div {
  font-size: 12px;
  grid-template-columns: 76px 1fr;
}
.view-detail .product-scope dt {
  color: #425f84;
}
.view-detail .product-scope dd {
  color: #7d8a9d;
}
.view-detail .draft-inline {
  background: #f4f7fc;
  color: #8793a6;
}
.detail-selection-note {
  font-size: 10px;
  text-align: center;
  color: #9aa7b9;
  margin-top: 13px;
}
.view-detail .detail-final-cta {
  flex-wrap: wrap;
  gap: 22px;
}
.related-designs {
  background: #f7f9fc;
  padding-block: 75px 85px;
}
.related-heading h2 {
  font-size: clamp(26px, 2.6vw, 37px);
}
.detail-mobile-actions {
  display: none;
}
body.preview-is-open {
  overflow: hidden;
}
.design-preview-dialog {
  width: min(1200px, 94vw);
  max-width: none;
  max-height: 92dvh;
  padding: 23px;
  border: 0;
  border-radius: 12px;
  color: #29405e;
  background: #fff;
}
.design-preview-dialog::backdrop {
  background: #091b36b8;
  backdrop-filter: blur(6px);
}
.design-preview-dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.design-preview-dialog header span {
  font-size: 10px;
  color: #8396af;
  letter-spacing: 1px;
}
.design-preview-dialog h2 {
  font-size: 19px;
  font-weight: 600;
  margin-top: 5px;
}
.design-preview-dialog header > div:last-child {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.design-preview-dialog button {
  background: #f0f4fa;
  border: 1px solid #dfe7f2;
  border-radius: 5px;
  padding: 9px 13px;
  font-size: 12px;
  color: #5c7495;
}
.design-preview-dialog > p {
  margin-block: 17px;
  font-size: 12px;
  color: #8190a6;
  line-height: 1.7;
}
.design-preview-scroll {
  max-height: 65dvh;
  overflow: auto;
  background: #eaf0f7;
}
.design-preview-scroll img {
  display: block;
  width: 100%;
  height: auto;
}
.is-natural-size .design-preview-scroll img {
  width: auto;
  max-width: none;
}
.preview-demo-link {
  display: inline-block;
  font-size: 12px;
  color: #2864e5;
  margin-top: 16px;
}
@media (max-width: 1050px) {
  .category-choices {
    gap: 8px;
  }
  .category-choices .category-choice {
    padding-right: 8px;
    font-size: 11px;
  }
  .category-symbol {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }
  .view-detail .detail-layout {
    gap: 30px;
    grid-template-columns: minmax(0, 1.3fr) minmax(310px, 1fr);
  }
}
@media (max-width: 900px) {
  .design-gallery .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .view-detail .detail-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .view-detail .shopping-summary {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .view-detail {
    padding-bottom: 70px;
  }
  .detail-mobile-actions {
    position: fixed;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #ffffffed;
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px #152c4910;
    z-index: 40;
  }
  .detail-mobile-actions a {
    text-align: center;
    border-radius: 5px;
    padding: 12px 4px;
    font-size: 12px;
    color: #4a6d9e;
    background: #edf3fc;
  }
  .detail-mobile-actions a:last-child {
    background: #203d64;
    color: #fff;
  }
}
@media (max-width: 640px) {
  .home-template-browse {
    padding-block: 50px 55px;
  }
  .browse-section-heading,
  .related-heading {
    display: block;
    margin-bottom: 28px;
  }
  .browse-section-heading > p {
    margin-top: 18px;
    font-size: 12px;
  }
  .related-heading .text-link {
    display: inline-block;
    margin-top: 20px;
  }
  .category-choices {
    gap: 5px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
  }
  .category-choices .category-choice {
    gap: 9px;
    padding: 5px 0;
  }
  .design-gallery .template-grid {
    grid-template-columns: 1fr;
    row-gap: 35px;
  }
  .design-gallery .card-title {
    font-size: 23px;
  }
  .design-gallery .card-caption {
    min-height: 0;
  }
  .view-catalog .browse-heading {
    padding: 37px 6vw;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .view-catalog .browse-heading h1 {
    font-size: 33px;
  }
  .browse-heading-note {
    column-gap: 20px;
  }
  .browse-journey {
    gap: 14px;
    font-size: 10px;
  }
  .browse-journey span {
    margin-right: 5px;
  }
  .view-detail .detail-breadcrumb {
    gap: 12px;
    margin-bottom: 22px;
  }
  .detail-heading-copy {
    display: block;
  }
  .detail-heading-copy > span {
    display: block;
    margin-top: 12px;
    font-size: 10px;
  }
  .detail-heading-visual {
    width: 100px;
    flex-basis: 100px;
  }
  .view-detail .detail-visual {
    padding: 13px;
  }
  .view-detail .shopping-summary h1 {
    font-size: 33px;
  }
  .related-designs {
    padding-block: 50px;
  }
  .design-preview-dialog {
    padding: 15px;
    width: 95vw;
  }
  .design-preview-dialog header {
    align-items: start;
    gap: 10px;
  }
  .design-preview-dialog h2 {
    font-size: 15px;
  }
  .design-preview-dialog header > div:last-child {
    flex-direction: column-reverse;
    gap: 6px;
  }
  .design-preview-dialog button {
    padding: 7px 9px;
    font-size: 10px;
  }
}
@media (hover: none) {
  .pointer-preview-help {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .websave-site .card-image .card-scroll-screen {
    transition: none;
  }
  .design-gallery .card-image img,
  .category-symbol {
    transition: none;
  }
}
.market-heading {
  scroll-margin-top: 120px;
  margin: 32px 0 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.market-heading h2 {
  font-size: 22px;
  letter-spacing: -0.04em;
}
.market-heading p {
  margin-top: 8px;
  font-size: 13px;
  color: #758297;
}
.market-all-filter {
  flex-shrink: 0;
  padding: 11px 16px;
  background: white;
  color: #536982;
  border: 1px solid #dbe4ef;
  border-radius: 7px;
  font-size: 12px;
}
.market-all-filter span {
  margin-left: 8px;
  opacity: 0.7;
}
.market-all-filter[aria-pressed='true'] {
  background: #143457;
  color: white;
  border-color: #143457;
}
.market-extra {
  margin-bottom: 24px;
  border-top: 1px solid #e3e9f2;
  border-bottom: 1px solid #e3e9f2;
}
.market-extra summary {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  color: #314760;
}
.market-extra summary::-webkit-details-marker {
  display: none;
}
.market-extra summary small {
  color: #8996a7;
  font-size: 11px;
}
.market-expand-icon {
  margin-left: auto;
}
.market-collapse-label {
  display: none;
}
.market-extra[open] .market-expand-label {
  display: none;
}
.market-extra[open] .market-collapse-label {
  display: inline;
}
.market-extra[open] .market-expand-icon {
  transform: rotate(45deg);
}
.market-extra .market-categories {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4px;
  margin-bottom: 18px;
}
@media (max-width: 600px) {
  .market-all-filter {
    margin-top: 14px;
  }
  .market-extra summary small {
    display: none;
  }
  .market-extra .market-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.market-categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.websave-site .market-category {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  min-height: 90px;
  padding: 16px 12px;
  border: 1px solid #e3e9f2;
  border-radius: 10px;
  background: #fff;
  color: #253247;
  text-align: left;
  transition:
    background 180ms,
    border-color 180ms;
}
.market-category-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 42px;
  color: #49668d;
}
.market-category-icon svg {
  width: 27px;
  height: 27px;
}
.market-category-copy strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.05em;
}
.market-category-copy small {
  display: block;
  font-size: 10px;
  color: #7f8b9b;
  margin-top: 5px;
  letter-spacing: -0.025em;
}
.market-category-state {
  position: absolute;
  top: 5px;
  right: 8px;
  color: #8d99aa;
  font-size: 9px;
}
.market-category-state.is-available {
  color: #2960c6;
}
.websave-site .market-category:hover {
  border-color: #87a9e5;
  background: #f6f9ff;
}
.websave-site .market-category[aria-pressed='true'] {
  background: #143457;
  border-color: #143457;
  color: #fff;
}
.market-category[aria-pressed='true'] .market-category-icon,
.market-category[aria-pressed='true'] .market-category-state,
.market-category[aria-pressed='true'] .market-category-copy small {
  color: #c0d4ee;
}
.market-category:focus-visible {
  outline: 3px solid #6294ec;
  outline-offset: 3px;
}
.business-refinements {
  padding: 20px;
  border-radius: 8px;
  background: #f5f8fc;
  margin-bottom: 20px;
}
.business-refinements > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #61738d;
  margin-bottom: 12px;
}
.business-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.business-filter-chips button {
  padding: 8px 13px;
  border-radius: 30px;
  border: 1px solid #e0e7f0;
  background: white;
  color: #64758c;
  font-size: 12px;
}
.business-filter-chips button[aria-pressed='true'] {
  background: #2860d7;
  border-color: #2860d7;
  color: white;
}
@media (max-width: 1100px) {
  .market-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .market-heading {
    display: block;
  }
  .market-heading h2 {
    font-size: 19px;
  }
  .market-heading p {
    margin-top: 8px;
  }
  .market-categories {
    gap: 7px;
  }
  .websave-site .market-category {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 14px 3px 10px;
    min-height: 86px;
    text-align: center;
  }
  .market-category-icon {
    flex-basis: 28px;
    height: 28px;
  }
  .market-category-icon svg {
    width: 24px;
    height: 24px;
  }
  .market-category-copy strong {
    font-size: 11px;
  }
  .market-category-copy small {
    display: none;
  }
  .market-category-state {
    top: 3px;
    right: 5px;
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .websave-site .market-category {
    transition: none;
  }
}
