:root {
  --blue: #223f91;
  --ink: #182238;
  --muted: #657089;
  --line: #dce3ef;
  --surface: #f6f8fb;
  --accent: #12a5b3;
}

* {
  box-sizing: border-box;
}

[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.site-search:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Malgun Gothic", sans-serif;
  background: #fff;
}

a {
  color: inherit;
}

.site-header {
  min-height: 128px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #edf0f4;
}

.header-inner {
  width: min(1268px, calc(100vw - 96px));
  margin: 0 auto;
}

.header-primary {
  height: 76px;
  display: grid;
  grid-template-columns: 144px minmax(220px, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 126px;
  max-width: 100%;
  display: block;
}

.site-search {
  height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid #d9dee8;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.site-search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 20px;
  color: #252b36;
  font-size: 14px;
}

.site-search input::placeholder {
  color: #3f4651;
  opacity: 0.9;
}

.site-search button {
  width: 52px;
  height: 100%;
  border: 0;
  background: #fff;
  color: #202733;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-search svg,
.cart-link svg,
.nav-category svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-search svg {
  width: 22px;
  height: 22px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
}

.account-menu {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.account-menu a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #20242c;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.language-chevron {
  color: #a8adb7;
  font-size: 13px;
  transform: translateY(-1px);
}

.cart-link {
  position: relative;
  display: inline-flex;
  color: #151a22;
  text-decoration: none;
}

.cart-link svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.7;
}

.cart-link span {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: #075994;
  color: #fff;
  font-size: 11px;
  line-height: 17px;
  text-align: center;
  font-weight: 700;
}

.main-nav {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 64px;
}

.main-nav a,
.main-nav button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  color: #25272b;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.main-nav .nav-category {
  gap: 10px;
}

.nav-category svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.3;
}

.chevron {
  font-size: 15px;
  line-height: 1;
  transform: translateY(-1px);
}

.products-dropdown {
  position: absolute;
  top: 128px;
  left: max(48px, calc((100vw - 1268px) / 2));
  width: 250px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  z-index: 30;
  padding: 12px 0;
}

.products-dropdown[hidden] {
  display: none;
}

.products-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.products-dropdown-list li {
  position: relative;
}

.products-dropdown-list a,
.products-submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 11px 30px;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.products-dropdown-list a:hover,
.products-dropdown-list a:focus-visible,
.products-submenu a:hover,
.products-submenu a:focus-visible {
  background: #f5f7fb;
  outline: 0;
}

.products-dropdown-list .product-menu-chevron {
  flex: 0 0 auto;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.products-submenu {
  position: absolute;
  top: -8px;
  left: 100%;
  display: none;
  width: 300px;
  max-height: min(620px, calc(100vh - 148px));
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

.products-submenu a {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.products-submenu .products-submenu {
  width: 320px;
  max-height: min(620px, calc(100vh - 148px));
}

.products-dropdown-list li:hover > .products-submenu,
.products-dropdown-list li:focus-within > .products-submenu,
.products-dropdown-list li.is-open > .products-submenu,
.products-submenu li:hover > .products-submenu,
.products-submenu li:focus-within > .products-submenu,
.products-submenu li.is-open > .products-submenu {
  display: block;
}

main {
  width: 100%;
  margin: 0;
}

.home-banner {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  background: #f4f4f4;
}

.home-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: url("/assets/images/homepage_background-4aac3d1e.jpg") center center / cover no-repeat;
  opacity: 0;
  animation: homeSlide 14s infinite;
}

.home-slide-one {
  background-position: right center;
  opacity: 1;
}

.home-slide-two {
  background-position: left center;
  animation-delay: 7s;
}

.home-slide::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  background: #f4f4f4;
  clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%);
}

.home-slide-two::before {
  left: auto;
  right: 0;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 18% 100%, 0 50%);
}

.home-banner-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  min-height: 530px;
}

.home-banner-inner-reverse {
  grid-template-columns: 58% 42%;
}

.home-banner-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.home-banner-visual img {
  max-width: min(430px, 100%);
  height: auto;
  display: block;
}

.bottle-single img {
  max-width: 300px;
}

.home-banner-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0 16px;
}

.home-banner-copy-right {
  text-align: right;
}

.home-banner-logo {
  width: 130px;
  height: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.home-banner-kicker {
  margin: 0 0 8px;
  color: #777;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.home-banner h1,
.home-banner h2 {
  margin: 0 0 18px;
  color: #222529;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.home-banner h1 span {
  color: #04508a;
}

.home-banner ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  color: #222529;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.home-banner li {
  padding: 6px 0;
}

.home-banner li::before {
  content: "✓";
  margin-right: 8px;
  color: #04508a;
  font-weight: 700;
}

.banner-button {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 42px;
  border-radius: 4px;
  background: #04508a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.banner-button::after {
  content: "›";
  margin-left: 12px;
  font-size: 18px;
  line-height: 1;
}

@keyframes homeSlide {
  0%,
  45% {
    opacity: 1;
    pointer-events: auto;
  }
  50%,
  95% {
    opacity: 0;
    pointer-events: none;
  }
  100% {
    opacity: 1;
    pointer-events: auto;
  }
}

.services-panel {
  padding: 60px 0 34px;
  background: #fff;
}

.services-inner {
  width: min(1180px, calc(100vw - 96px));
  margin: 0 auto;
}

.services-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
}

.services-heading h2 {
  margin: 0;
  padding-right: 24px;
  border-right: 1px solid #e7e7e7;
  color: #222529;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.services-heading a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #04508a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.services-rule {
  width: 60px;
  height: 4px;
  margin-bottom: 26px;
  background: #04508a;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-grid article {
  background: #fff;
  min-width: 0;
}

.service-grid a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.service-copy {
  min-height: 118px;
  padding: 14px 8px 0;
  text-align: center;
  color: #222529;
}

.service-copy ul {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  color: #777;
  font-size: 12px;
  line-height: 1.5;
}

.service-grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.service-copy p {
  margin: 0;
  color: #777;
  font-size: 12px;
  line-height: 1;
}

.service-copy strong {
  color: #04508a;
  font-weight: 700;
}

.site-footer {
  position: relative;
  margin-top: 54px;
  padding: 64px 0 52px;
  background: #202528;
  color: #fff;
}

.footer-inner,
.footer-bottom {
  width: min(1216px, calc(100vw - 96px));
  margin: 0 auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 170px 1fr 1.35fr 1.8fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  min-height: 120px;
}

.footer-brand img {
  width: 124px;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
}

.footer-note p {
  max-width: 420px;
  margin: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.8;
}

.footer-bottom {
  padding-top: 18px;
}

.footer-bottom .footer-company-info {
  margin-bottom: 12px;
}

.footer-bottom .footer-company-info p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12.5px;
  line-height: 1.65;
}

.footer-bottom .footer-company-info a {
  display: inline;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
}

.to-top {
  position: absolute;
  right: 12px;
  bottom: 0;
  width: 42px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4a4d50;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

/* 회사 정보 페이지(About Us/Contact Us/Distributors/Privacy/Terms/Documents) 공용 레이아웃.
   3asenrise.com에서 실제로 수집한 본문(harness/ref/collected-pages/info/*.json)을
   그대로 옮긴 참고용 재구현 페이지다. */
.content-page {
  width: min(900px, calc(100vw - 96px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.content-page h1 {
  font-size: 30px;
  color: var(--blue);
  margin: 0 0 8px;
}

.content-page .content-lede {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}

.content-page section {
  margin-bottom: 32px;
}

.content-page h2 {
  font-size: 18px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin: 0 0 14px;
}

.content-page p {
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 14px;
}

.content-page .source-note {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.contact-details dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-details dd {
  margin: 0;
  font-size: 15px;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 11px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.distributor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.distributor-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

.distributor-card.is-avention {
  border-color: var(--accent);
  background: #eefbfc;
}

.distributor-card .region {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 700;
}

.distributor-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.distributor-card p {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.doc-lookup {
  display: grid;
  gap: 14px;
  max-width: 420px;
  margin-bottom: 16px;
}

.doc-lookup-actions {
  display: flex;
  gap: 10px;
}

.doc-lookup-actions button {
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  border-radius: 4px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.category-page {
  width: min(1216px, calc(100vw - 96px));
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.product-card a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-card img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 10px;
}

.product-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

.content-page .product-card h2 { border: 0; padding: 0; font-size: 15px; overflow-wrap: anywhere; }
.product-card { min-width: 0; }
.product-card:hover { border-color: var(--blue); }
.product-image { position: relative; width: 100%; min-height: 150px; display: grid; place-items: center; margin-bottom: 16px; background: #fafbfd; border-radius: 6px; }
.product-image img { position: relative; margin: 0; background: white; }
.image-placeholder { color: var(--muted); font-size: 12px; }
.product-attributes { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 12px; font-size: 13px; margin: 0; line-height: 1.5; }
.product-attributes dt { color: var(--muted); }
.product-attributes dd { margin: 0; overflow-wrap: anywhere; }
.breadcrumbs, .category-chips, .catalog-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.breadcrumbs { font-size: 13px; margin-bottom: 24px; color: var(--muted); }
.category-browse { margin: 24px 0; padding: 18px; background: var(--surface); border-radius: 8px; }
.category-browse summary { cursor: pointer; font-weight: 700; }
.category-chips { margin: 16px 0; }
.category-chip { padding: 8px 12px; background: white; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; text-decoration: none; overflow-wrap: anywhere; }
.category-chip:hover { color: var(--blue); border-color: var(--blue); }
.catalog-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.catalog-filters label { display: grid; gap: 6px; font-size: 13px; }
.catalog-filters label:first-of-type { flex: 1 1 240px; }
.catalog-filters input, .catalog-filters select, .doc-lookup input { min-width: 0; width: 100%; padding: 11px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); font: inherit; }
.primary-button { display: inline-block; border: 0; padding: 12px 20px; border-radius: 4px; color: white; background: var(--blue); font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; }
.category-empty { margin-bottom: 24px; }
.category-empty > a { display: inline-block; margin: 10px; }
.catalog-pagination { justify-content: center; margin: 30px 0; }
.page-link { padding: 10px 13px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; font-size: 14px; }
.page-link[aria-current="page"] { color: white; background: var(--blue); border-color: var(--blue); }
.pagination-summary { width: 100%; text-align: center; font-size: 13px; color: var(--muted); }
.content-page .catalog-notice { padding: 18px; margin: 24px 0; background: var(--surface); font-size: 13px; color: var(--muted); }
.product-detail { display: grid; grid-template-columns: minmax(200px, 1fr) 2fr; align-items: center; gap: 40px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; }
.product-detail .product-image { min-height: 230px; margin: 0; }
.product-detail img { width: 220px; height: 220px; object-fit: contain; max-width: 100%; }
.product-detail .product-attributes { font-size: 15px; }
#productTitle { overflow-wrap: anywhere; }
.document-results { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0; }
.document-results p { width: 100%; margin: 0; }
.document-link { display: inline-block; padding: 10px 16px; color: var(--blue); border: 1px solid var(--blue); border-radius: 4px; text-decoration: none; font-size: 14px; }
.doc-lookup button:disabled { opacity: .6; cursor: wait; }
.table-scroll { overflow-x: auto; }
.pack-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.pack-table th, .pack-table td { padding: 12px; border-bottom: 1px solid var(--line); }
.pack-table th { background: var(--surface); }
@media (max-width: 560px) {
  .product-detail { grid-template-columns: 1fr; gap: 20px; padding: 16px; }
  .catalog-filters label, .catalog-filters button { width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
}

.product-card-attrs {
  margin: 0;
  font-size: 12px;
}

.product-card-attrs dt {
  color: var(--muted);
  float: left;
  clear: left;
  margin-right: 6px;
}

.product-card-attrs dd {
  margin: 0 0 4px;
  overflow: hidden;
}

.category-empty {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

@media (max-width: 900px) {
  .content-page {
    width: min(100% - 32px, 720px);
  }

  .category-page {
    width: min(100% - 32px, 720px);
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .site-header {
    min-height: 0;
  }

  .header-inner {
    width: min(100% - 32px, 720px);
  }

  .header-primary {
    height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 0 12px;
  }

  .brand img {
    width: 136px;
  }

  .header-actions {
    justify-content: space-between;
    gap: 18px;
  }

  .main-nav {
    height: auto;
    padding: 8px 0 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .products-dropdown {
    top: 100%;
    left: 16px;
    width: min(250px, calc(100vw - 32px));
    max-height: calc(100vh - 160px);
    overflow-y: auto;
  }

  .products-submenu,
  .products-submenu .products-submenu {
    position: static;
    width: auto;
    max-height: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    background: #fafbfe;
  }

  .products-submenu a {
    min-height: 38px;
  }

  .home-banner,
  .home-banner-inner {
    min-height: 620px;
  }

  .home-banner-inner,
  .home-banner-inner-reverse {
    width: min(100% - 32px, 720px);
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 34px 0;
  }

  .home-banner-copy,
  .home-banner-copy-right {
    text-align: left;
    padding: 0;
  }

  .home-banner-visual {
    order: -1;
  }

  .home-banner-visual img {
    max-width: min(330px, 100%);
  }

  .home-banner h1,
  .home-banner h2 {
    font-size: 28px;
  }

  .services-inner {
    width: min(100% - 32px, 720px);
  }

  .services-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .services-heading h2 {
    padding-right: 0;
    border-right: 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner,
  .footer-bottom {
    width: min(100% - 32px, 720px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-slide {
    animation: none;
  }

  .home-slide-one {
    position: relative;
    opacity: 1;
  }

  .home-slide-two {
    display: none;
  }
}

/* === 3ASenrise Enhanced Frontpage & Site Composition Styles === */
.main-nav {
  gap: 28px;
  overflow-x: auto;
}

.home-banner.js-slider-ready .home-slide {
  animation: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.home-banner.js-slider-ready .home-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.home-banner-controls {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(24, 34, 56, 0.72);
  backdrop-filter: blur(6px);
}

.banner-nav-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.banner-nav-btn:hover {
  background: rgba(255, 255, 255, 0.32);
}

.banner-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.banner-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: all 0.2s ease;
}

.banner-dot.is-active {
  width: 24px;
  background: #fff;
}

.home-quick-bar {
  background: #182238;
  color: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #253453;
}

.home-quick-inner,
.senrise-section-inner {
  width: min(1180px, calc(100vw - 96px));
  margin: 0 auto;
}

.home-quick-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.quick-service-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.quick-service-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.quick-service-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #5eead4;
}

.quick-service-card strong {
  font-size: 16px;
  font-weight: 700;
}

.quick-service-card span:last-child {
  font-size: 12px;
  color: #cbd5e1;
}

.senrise-home-section {
  padding: 52px 0 28px;
  background: #fff;
}

.senrise-section-products,
.senrise-section-notices {
  background: #f8fafc;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.senrise-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.senrise-cat-card {
  border: 1px solid #dce3ef;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.senrise-cat-card:hover {
  border-color: #04508a;
  box-shadow: 0 10px 24px rgba(4, 80, 138, 0.09);
  transform: translateY(-2px);
}

.senrise-cat-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  text-decoration: none;
}

.senrise-cat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.senrise-cat-code {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #eff6ff;
  color: #04508a;
}

.senrise-cat-count {
  font-size: 12px;
  font-weight: 700;
  color: #0f766e;
}

.senrise-cat-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
  color: #182238;
}

.senrise-cat-en {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.senrise-cat-desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
  flex: 1;
}

.senrise-cat-cta {
  font-size: 13px;
  font-weight: 700;
  color: #04508a;
}

.senrise-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.senrise-prod-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.senrise-prod-card:hover {
  border-color: #04508a;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.senrise-prod-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 176px;
  padding: 14px;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
}

.senrise-prod-thumb img {
  max-width: 100%;
  max-height: 148px;
  object-fit: contain;
}

.senrise-prod-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 14px;
}

.senrise-prod-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.senrise-prod-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.badge-catno,
.badge-cas,
.badge-doc {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.badge-catno {
  background: #04508a;
  color: #fff;
}

.badge-cas {
  background: #f1f5f9;
  color: #334155;
}

.badge-doc {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-doc-spec {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.senrise-prod-body h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.35;
}

.senrise-prod-body h3 a {
  text-decoration: none;
  color: #182238;
}

.senrise-prod-body h3 a:hover {
  color: #04508a;
}

.senrise-prod-meta {
  margin: 0 0 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #475569;
}

.senrise-prod-spec {
  margin: 0 0 6px;
  font-size: 12px;
  color: #0f766e;
  font-weight: 700;
}

.senrise-prod-packs {
  margin: 0 0 12px;
  font-size: 12px;
  color: #64748b;
}

.senrise-prod-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.senrise-prod-price {
  font-size: 14px;
  font-weight: 700;
  color: #04508a;
}

.senrise-prod-btn {
  padding: 6px 12px;
  border-radius: 4px;
  background: #04508a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.senrise-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.senrise-doc-card {
  padding: 18px;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.senrise-doc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.senrise-doc-type {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #0f766e;
}

.senrise-doc-card h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.senrise-doc-card h3 a {
  text-decoration: none;
}

.senrise-doc-spec {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

.senrise-doc-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.doc-dl-btn {
  padding: 6px 10px;
  border-radius: 4px;
  background: #0f766e;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.doc-dl-spec {
  background: #04508a;
}

.doc-dl-link {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: #04508a;
  text-decoration: none;
}

.senrise-board-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.senrise-board-item {
  border: 1px solid #dce3ef;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.senrise-board-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}

.senrise-board-item summary::-webkit-details-marker {
  display: none;
}

.board-badge {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: #e2e8f0;
  color: #334155;
}

.board-badge.is-pinned {
  background: #04508a;
  color: #fff;
}

.board-badge.badge-faq {
  background: #0f766e;
  color: #fff;
}

.board-title {
  flex: 1;
  font-size: 14px;
  color: #182238;
}

.board-date {
  font-size: 12px;
  color: #64748b;
}

.board-content {
  padding: 14px 18px 18px;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
}

.board-content p {
  margin: 0;
}

.senrise-page-hero {
  background: linear-gradient(135deg, #182238 0%, #04508a 100%);
  color: #fff;
  padding: 44px 0;
}

.senrise-page-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5eead4;
}

.senrise-page-hero h1 {
  margin: 0;
  font-size: 30px;
}

.composition-text-body,
.composition-error-box {
  padding: 24px;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  background: #f8fafc;
  line-height: 1.75;
}

.composition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.composition-card {
  border: 1px solid #dce3ef;
  padding: 18px;
  border-radius: 6px;
  background: #fff;
}

.composition-card img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.site-preview-banner {
  background: #fff4d4;
  color: #624500;
  padding: 12px 16px;
  text-align: center;
  font-weight: 700;
  border-bottom: 1px solid #f59e0b;
}

.composition-popup {
  position: fixed;
  box-sizing: border-box;
  top: clamp(12px, var(--popup-top, 10vh), calc(100dvh - 160px));
  left: var(--popup-left, 50%);
  transform: var(--popup-transform, translateX(-50%));
  background: #fff;
  border: 1px solid #ccd5e0;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.22);
  z-index: 150;
  width: min(var(--popup-width, 420px), calc(100vw - 24px));
  max-height: calc(100dvh - clamp(12px, var(--popup-top, 10vh), calc(100dvh - 160px)) - 12px);
  display: flex;
  flex-direction: column;
  color: #333;
  border-radius: 6px;
}

.composition-popup[hidden] {
  display: none !important;
}

.composition-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid #eee;
}

.composition-popup-header h2 {
  font-size: 18px;
  margin: 0;
  overflow-wrap: anywhere;
}

.composition-popup button {
  cursor: pointer;
  background: #fff;
  color: #333;
  border: 0;
  padding: 6px 10px;
}

.composition-popup-header button {
  font-size: 22px;
  line-height: 1;
}

.composition-popup-body {
  padding: 16px 18px;
  min-height: 0;
  max-height: var(--popup-height, 65vh);
  overflow: auto;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.composition-popup-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
}

.composition-popup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid #eee;
  font-size: 13px;
}

.composition-popup-footer label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.composition-popup[data-popup-device="mobile"] {
  display: none;
}

@media (max-width: 900px) {
  .home-quick-inner,
  .senrise-Section-inner {
    width: min(100% - 32px, 720px);
  }
  .senrise-section-inner {
    width: min(100% - 32px, 720px);
  }
  .home-quick-inner,
  .senrise-cat-grid,
  .senrise-prod-grid,
  .senrise-doc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .composition-popup {
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    max-height: calc(100dvh - 24px);
  }
  .composition-popup[data-popup-device="pc"] {
    display: none;
  }
  .composition-popup[data-popup-device="mobile"] {
    display: flex;
  }
}

@media (max-width: 560px) {
  .home-quick-inner,
  .senrise-cat-grid,
  .senrise-prod-grid,
  .senrise-doc-grid {
    grid-template-columns: 1fr;
  }
}
