@font-face {
  font-family: "Pretendard";
  src: url("../../../Pretendard-1/web/static/woff2/Pretendard-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("../../../Pretendard-1/web/static/woff2/Pretendard-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("../../../Pretendard-1/web/static/woff2/Pretendard-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("../../../Pretendard-1/web/static/woff2/Pretendard-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --brand-primary: #3152f4;
  --brand-primary-deep: #203fd4;
  --brand-blue: #183abb;
  --brand-ink: #111114;
  --brand-muted: #666b78;
  --brand-soft: #eef2ff;
  --brand-blue-soft: #eef2ff;
  --brand-border: #ebe7ea;
  --page: #fff;
  --panel: #fafafa;
  --shadow: 0 16px 36px rgba(17, 17, 20, 0.1);
  --max: 1400px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--brand-ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", sans-serif;
  letter-spacing: 0;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand-ink);
  padding: 0 20px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button.primary {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(49, 82, 244, 0.22);
}

.button.danger {
  color: #dc2626;
}

.site-header {
  position: relative;
  z-index: 40;
  background: #fff;
}

.promo-strip {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--brand-ink);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.promo-strip b {
  font-weight: 800;
}

.promo-strip span {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 28px;
  line-height: 1;
}

.head-main {
  display: flex;
  width: min(var(--max), calc(100vw - 40px));
  height: 112px;
  margin: 0 auto;
  align-items: center;
}

.brand-logo {
  display: flex;
  width: 220px;
  height: 72px;
  align-items: center;
}

.brand-logo img {
  display: block;
  width: 190px;
  height: 60px;
  object-fit: cover;
  object-position: center;
}

.head-search {
  display: flex;
  width: 392px;
  height: 56px;
  margin-left: 28px;
  align-items: center;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  background: #f8f7f8;
  padding: 0 12px 0 22px;
}

.head-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--brand-ink);
  font-size: 14px;
}

.head-search button,
.nav-search button,
.mobile-search {
  position: relative;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
  font-size: 0;
}

.head-search button::before,
.nav-search button::before,
.mobile-search::before {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 16px;
  height: 16px;
  border: 2px solid #111;
  border-radius: 50%;
  content: "";
}

.head-search button::after,
.nav-search button::after,
.mobile-search::after {
  position: absolute;
  right: 8px;
  bottom: 9px;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: #111;
  content: "";
  transform: rotate(45deg);
}

.top-banner {
  display: grid;
  width: 356px;
  height: 82px;
  margin-left: auto;
  align-content: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-blue) 0%, #0f172a 100%);
  color: #fff;
  padding: 0 28px;
}

.top-banner span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.top-banner strong {
  margin-top: 6px;
  font-size: 21px;
  font-weight: 800;
}

.nav-row {
  width: 100%;
  height: 56px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-row.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  border-color: transparent;
  box-shadow:
    0 14px 32px rgba(17, 24, 39, 0.13),
    0 1px 0 rgba(17, 24, 39, 0.06);
}

.nav-inner {
  display: flex;
  width: min(var(--max), calc(100vw - 40px));
  height: 100%;
  margin: 0 auto;
  align-items: center;
}

.nav-placeholder {
  display: none;
  height: 56px;
}

.nav-placeholder.is-active {
  display: block;
}

.nav-logo {
  display: none;
  width: 142px;
  height: 46px;
  align-items: center;
  margin-right: 28px;
}

.nav-logo img {
  display: block;
  width: 128px;
  height: 42px;
  object-fit: cover;
  object-position: center;
}

.nav-row.is-fixed .nav-logo {
  display: flex;
}

.global-nav {
  display: flex;
  height: 55px;
  align-items: center;
  gap: 44px;
}

.global-nav > a,
.nav-group > a {
  display: flex;
  height: 55px;
  align-items: center;
  color: #111;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

.global-nav .is-active {
  color: var(--brand-primary);
  font-weight: 600;
}

.global-nav > a:hover,
.nav-group > a:hover {
  color: var(--brand-primary);
}

.nav-group {
  position: relative;
}

.nav-panel {
  position: absolute;
  top: 54px;
  left: -12px;
  display: none;
  min-width: 190px;
  border: 1px solid rgba(235, 231, 234, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  padding: 8px;
  box-shadow: var(--shadow);
}

.nav-group:hover .nav-panel {
  display: grid;
}

.nav-panel a {
  border-radius: 6px;
  padding: 11px 12px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 700;
}

.nav-panel a:hover,
.nav-panel a.is-active {
  background: var(--brand-soft);
  color: var(--brand-primary);
}

.nav-search {
  display: none;
  width: 248px;
  height: 40px;
  margin-left: auto;
  align-items: center;
  border: 1px solid #e6e8ee;
  border-radius: 20px;
  background: #f8f8fb;
  padding: 0 8px 0 16px;
}

.nav-row.is-fixed .nav-search {
  display: flex;
}

.nav-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 600;
}

.nav-search button {
  width: 32px;
  height: 32px;
}

.nav-search button::before {
  top: 7px;
  left: 7px;
  width: 13px;
  height: 13px;
}

.nav-search button::after {
  right: 7px;
  bottom: 8px;
  width: 8px;
}

.header-tools {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 10px;
}

.nav-row.is-fixed .header-tools {
  margin-left: 10px;
}

.language-switch {
  display: inline-flex;
  overflow: hidden;
  height: 36px;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  padding: 2px;
}

.language-switch a {
  display: inline-flex;
  height: 30px;
  align-items: center;
  border-radius: 15px;
  color: #667085;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.language-switch a.is-active {
  background: var(--brand-primary);
  color: #fff;
}

.header-tools > a {
  display: inline-flex;
  height: 36px;
  align-items: center;
  border-radius: 18px;
  background: #f3f4f6;
  color: #333;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
}

.mobile-head {
  display: none;
}

.site-main {
  width: min(var(--max), calc(100vw - 40px));
  margin: 34px auto 88px;
}

.visual-section {
  position: relative;
}

.visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 953px) 420px;
  gap: 25px;
}

.hero-carousel {
  position: relative;
  min-width: 0;
}

.hero-slide {
  position: relative;
  display: none;
  height: 402px;
  min-height: 402px;
  overflow: hidden;
  border-radius: 20px;
  background: #f7f8fb;
  padding: 0;
}

.hero-slide.is-active {
  display: block;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy span,
.headline-block p,
.sub-hero span {
  color: var(--brand-primary);
  font-weight: 800;
}

.hero-copy h1 {
  max-width: 620px;
  margin: 14px 0 16px;
  color: var(--brand-ink);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 540px;
  margin: 0;
  color: #4b5563;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}

.hero-copy div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.carousel-controls {
  position: absolute;
  top: 424px;
  left: 0;
  display: flex;
  height: 49px;
  align-items: center;
  gap: 22px;
}

.pause-button {
  display: flex;
  width: 132px;
  height: 49px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 25px;
  background: #777;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 4px;
  background: #cbd5e1;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--brand-primary);
}

.side-banners {
  display: grid;
  gap: 22px;
}

.side-banner {
  display: grid;
  min-height: 190px;
  align-content: end;
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
  padding: 28px;
}

.side-banner span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.side-banner strong {
  margin-top: 8px;
  font-size: 27px;
  font-weight: 800;
}

.side-banner p {
  max-width: 310px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.side-banner.dark {
  background: radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.18), transparent 30%), #121217;
}

.side-banner.accent {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-deep) 100%);
}

.mini-banners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  margin-top: 100px;
}

.mini-banner {
  display: grid;
  min-height: 152px;
  align-content: end;
  border-radius: 14px;
  background: #f8f8fa;
  padding: 24px;
  box-shadow: inset 0 0 0 1px #eee;
}

.mini-banner span {
  color: var(--brand-primary);
  font-size: 14px;
  font-weight: 800;
}

.mini-banner strong {
  margin-top: 8px;
  color: #111;
  font-size: 21px;
  line-height: 1.28;
}

.quick-consult {
  margin-top: 40px;
}

.quick-consult ul {
  display: grid;
  min-height: 106px;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 120px;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-consult label {
  display: grid;
  gap: 8px;
  height: 106px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 17, 20, 0.07);
  color: #111;
  padding: 24px 25px 18px;
  font-size: 14px;
  font-weight: 700;
}

.quick-consult input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #111;
  font-size: 14px;
}

.quick-consult li > a {
  display: grid;
  width: 120px;
  height: 106px;
  place-items: center;
  border-radius: 20px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
}

.quick-consult > div {
  display: flex;
  min-height: 34px;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 22px;
  color: #333;
  font-size: 13px;
}

.quick-consult > div label {
  display: flex;
  width: auto;
  height: auto;
  align-items: center;
  gap: 5px;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  white-space: nowrap;
}

.quick-consult input[type="checkbox"] {
  accent-color: var(--brand-primary);
}

.now-section,
.section-grid,
.category-promo,
.media-faq,
.content-section {
  margin-top: 96px;
}

.headline-block h2,
.section-title span {
  margin: 0;
  color: #000;
  font-size: 35px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.headline-block span {
  display: block;
  margin-top: 14px;
  color: #777;
  font-weight: 500;
}

.product-strip {
  display: grid;
  grid-auto-columns: 453px;
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  margin-top: 36px;
  padding-bottom: 14px;
  scroll-snap-type: x proximity;
}

.product-strip::-webkit-scrollbar,
.gnar-maker-logos::-webkit-scrollbar,
.gnar-model-strip::-webkit-scrollbar {
  height: 0;
}

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

.product-card {
  position: relative;
  display: grid;
  min-height: 332px;
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: var(--radius);
  background: #fafafc;
  padding: 20px 30px;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.rent-badge {
  position: absolute;
  top: 16px;
  right: 20px;
  display: flex;
  min-width: 86px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--brand-ink);
  color: #fff;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
}

.product-card img {
  width: 100%;
  height: 150px;
  margin-top: 42px;
  object-fit: contain;
}

.product-card strong {
  display: block;
  margin-top: 12px;
  color: #111;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.32;
}

.product-card p {
  margin: 9px 0 0;
  color: #555;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.product-card small {
  display: block;
  margin-top: 10px;
  color: var(--brand-muted);
  font-size: 13px;
  font-weight: 700;
}

.product-card > b {
  display: inline-flex;
  width: fit-content;
  height: 38px;
  align-items: center;
  border-radius: 19px;
  background: var(--brand-primary);
  color: #fff;
  padding: 0 16px;
  font-size: 13px;
  margin-top: 16px;
}

.category-promo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.category-promo a {
  display: grid;
  min-height: 330px;
  border-radius: 24px;
  background: var(--brand-ink);
  color: #fff;
  padding: 54px 44px;
}

.category-promo a:nth-child(2) {
  background: linear-gradient(135deg, var(--brand-blue), #132252);
}

.category-promo a:nth-child(3) {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-deep));
}

.category-promo h3 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
}

.category-promo p {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
}

.category-promo span {
  align-self: end;
  color: #fff;
  font-size: 42px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.section-grid > article,
.notice-panel,
.catalog-panel,
.faq-panel,
.board,
.detail-panel,
.form-card,
.visual-card,
.catalog-card {
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  background: #fff;
}

.section-grid > article,
.notice-panel,
.catalog-panel,
.faq-panel,
.detail-panel,
.visual-card {
  padding: 28px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title a {
  color: var(--brand-primary);
  font-weight: 800;
}

.list-row,
.board-row {
  display: grid;
  gap: 6px;
  padding: 17px 0;
  border-top: 1px solid #eee;
}

.list-row:first-of-type,
.board-row:first-child {
  border-top: 0;
}

.list-row strong,
.board-row strong {
  font-size: 18px;
  font-weight: 800;
}

.list-row small,
.board-row small,
.muted {
  color: #777;
}

.list-row p,
.board-row p {
  margin: 0;
  color: #555;
  line-height: 1.55;
}

.empty-state {
  margin: 18px 0 0;
  border-top: 1px solid #eee;
  color: #777;
  padding: 18px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.catalog-chip,
.file-link,
.tabs a {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--brand-border);
  border-radius: 21px;
  background: #fff;
  color: var(--brand-primary);
  padding: 0 16px;
  font-weight: 800;
}

.media-faq {
  display: grid;
  grid-template-columns: 610px minmax(0, 1fr);
  gap: 58px;
}

.video-card {
  position: relative;
}

.video-card img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 14px 10px 0 rgba(0, 0, 0, 0.18);
}

.video-card > span {
  position: absolute;
  inset: 72px 0 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 46px;
}

.sub-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-deep) 52%, var(--brand-ink) 100%);
  color: #fff;
  padding: 72px 80px;
}

.sub-hero span,
.sub-hero h1,
.sub-hero p {
  color: #fff;
}

.sub-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.12;
}

.sub-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
}

.content-section {
  width: 100%;
}

.category-layout,
.board-layout,
.two-column {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
}

.two-column {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
}

.category-nav {
  position: sticky;
  top: 20px;
  display: grid;
  align-self: start;
  gap: 6px;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
}

.category-nav > a {
  border-radius: 6px;
  padding: 11px 12px;
  font-weight: 800;
}

.category-nav > a.is-active {
  background: var(--brand-soft);
  color: var(--brand-primary);
}

.category-children {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px 12px;
}

.category-children span,
.dealer-list span,
.board-row span,
.catalog-card span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #f4f4f5;
  color: #555;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.detail-image {
  width: 100%;
  border-radius: var(--radius);
  background: #f8f8fa;
  object-fit: contain;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.check-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: #555;
  line-height: 1.7;
}

.detail-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline div {
  border-left: 4px solid var(--brand-primary);
  padding: 4px 0 4px 16px;
}

.certificate-grid,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.certificate,
.map-placeholder {
  display: grid;
  min-height: 170px;
  place-items: center;
  border: 1px dashed #d6d6d6;
  border-radius: var(--radius);
  background: #fff;
  color: #777;
  font-weight: 800;
}

.visual-block {
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  background: #fff;
  padding: 32px;
}

.dealer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.board {
  display: grid;
  padding: 10px 22px;
}

.form-card,
.admin-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: #444;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  background: #fff;
  color: #111;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

.search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.catalog-card {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
}

.meta-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px 18px;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
}

.reply {
  border-top: 1px solid #eee;
  padding-top: 16px;
}

.lead {
  color: #555;
  font-size: 18px;
  line-height: 1.7;
}

.error-text {
  color: #dc2626;
  font-weight: 800;
}

.site-footer {
  margin-top: 80px;
}

.site-footer nav {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  gap: 42px;
  background: #464646;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.site-footer div {
  width: min(var(--max), calc(100vw - 40px));
  margin: 0 auto;
  padding: 32px 0 60px;
  color: #555;
  font-size: 15px;
  line-height: 1.9;
}

.site-footer strong {
  color: #111;
  font-size: 18px;
}

.bottom-quick,
.drawer-layer,
.site-popup {
  display: none;
}

.site-popup:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.55);
}

.site-popup-card {
  width: min(432px, calc(100vw - 42px));
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.popup-visual {
  display: grid;
  min-height: 330px;
  align-content: end;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-blue));
  color: #fff;
  padding: 34px;
}

.popup-visual span {
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  font-weight: 800;
}

.popup-visual strong {
  margin-top: 18px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
}

.popup-visual p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.popup-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 55px;
}

.popup-actions button {
  border: 0;
  border-left: 1px solid #eee;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.drawer-layer:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: block;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
}

.drawer {
  display: flex;
  flex-direction: column;
  position: relative;
  width: min(320px, 86vw);
  height: 100%;
  background: #fff;
  padding: 26px 24px;
  box-shadow: 18px 0 35px rgba(0, 0, 0, 0.18);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.drawer-logo {
  display: flex;
  width: 148px;
  height: 48px;
  align-items: center;
  border-bottom: 0;
}

.drawer-logo img {
  display: block;
  width: 136px;
  height: 44px;
  object-fit: cover;
  object-position: center;
}

.drawer button {
  border: 0;
  background: transparent;
  font-size: 30px;
}

.drawer a {
  display: flex;
  height: 50px;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  color: #111;
  font-size: 17px;
  font-weight: 800;
}

.drawer .drawer-logo {
  width: 148px;
  height: 48px;
  border-bottom: 0;
}

.drawer .drawer-language {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.drawer .drawer-language a {
  justify-content: center;
  height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #667085;
  font-size: 13px;
}

.drawer .drawer-language a.is-active {
  border-color: var(--brand-primary);
  background: var(--brand-soft);
  color: var(--brand-primary);
}

.admin-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
  background: #f7f8fa;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100vh;
  border-right: 1px solid var(--brand-border);
  background: #fff;
  padding: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand-ink);
  color: #fff;
  font-weight: 800;
}

.admin-sidebar > a:not(.brand) {
  border-radius: var(--radius);
  padding: 11px 12px;
  color: #555;
  font-weight: 700;
}

.admin-sidebar > a.is-active,
.admin-sidebar > a:hover {
  background: var(--brand-soft);
  color: var(--brand-primary);
}

.admin-main {
  padding: 34px;
}

.admin-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: #f7f8fa;
  padding: 24px;
}

.admin-login .form-card {
  width: min(420px, 100%);
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.metric-grid div,
.admin-table,
.admin-form {
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  background: #fff;
}

.metric-grid div {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.metric-grid strong {
  font-size: 34px;
}

.admin-table {
  display: grid;
  padding: 8px;
}

.admin-table > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 14px;
}

.admin-table > div:last-child {
  border-bottom: 0;
}

.admin-table span {
  color: #777;
}

.qna-admin-row {
  grid-template-columns: 1fr !important;
}

.qna-admin-row form {
  display: grid;
  gap: 10px;
}

.delete-form {
  margin-top: 14px;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check input {
  width: auto;
}

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

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

  .carousel-controls {
    position: static;
    margin-top: 14px;
  }
}

@media (max-width: 1100px) {
  .top-banner,
  .header-tools,
  .nav-search {
    display: none;
  }

  .global-nav > a,
  .nav-group > a {
    font-size: 16px;
  }

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

  .media-faq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.public-page {
    padding-bottom: 78px;
  }

  .promo-strip,
  .head-main,
  .nav-row {
    display: none;
  }

  .mobile-head {
    display: grid;
    height: 86px;
    grid-template-columns: 64px 1fr 64px;
    align-items: center;
    border-bottom: 1px solid #eee;
    background: #fff;
    padding: 0 18px;
  }

  .menu-button,
  .mobile-search {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button {
    align-content: center;
    gap: 6px;
  }

  .menu-button span {
    display: block;
    width: 30px;
    height: 3px;
    border-radius: 5px;
    background: #111;
  }

  .mobile-logo {
    display: flex;
    height: 44px;
    align-items: center;
    justify-self: center;
  }

  .mobile-logo img {
    display: block;
    width: 118px;
    height: 38px;
    object-fit: cover;
    object-position: center;
  }

  .mobile-search {
    justify-self: end;
  }

  .site-main {
    width: 100%;
    margin: 0 auto 44px;
    padding: 0 13px;
  }

  .visual-grid {
    display: block;
  }

  .hero-carousel {
    margin-top: 6px;
  }

  .hero-slide {
    height: 190px;
    min-height: 190px;
    border-radius: 18px;
    padding: 0;
  }

  .hero-slide.is-active {
    display: block;
  }

  .hero-slide > img {
    height: 100%;
    max-height: none;
  }

  .side-banners {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 12px;
    overflow-x: auto;
    margin-top: 14px;
  }

  .side-banner {
    min-height: 160px;
    border-radius: 16px;
    padding: 22px;
  }

  .side-banner strong {
    font-size: 22px;
  }

  .mini-banners {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    margin-top: 14px;
  }

  .mini-banner {
    min-height: 82px;
    align-content: center;
    justify-items: center;
    border-radius: 14px;
    padding: 10px 6px;
    text-align: center;
  }

  .mini-banner::before {
    content: attr(data-icon);
    display: grid;
    width: 28px;
    height: 28px;
    margin-bottom: 7px;
    place-items: center;
    border-radius: 10px;
    background:
      linear-gradient(135deg, rgba(49, 82, 244, 0.12), rgba(49, 82, 244, 0.02)),
      var(--brand-soft);
    box-shadow: inset 0 0 0 1px rgba(49, 82, 244, 0.22);
    color: var(--brand-primary);
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
  }

  .mini-banner span {
    font-size: 12px;
    line-height: 1.18;
  }

  .mini-banner strong {
    display: none;
  }

  .quick-consult {
    margin-top: 16px;
  }

  .quick-consult ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quick-consult label,
  .quick-consult li > a {
    width: 100%;
    height: auto;
    min-height: 66px;
    border-radius: 16px;
  }

  .quick-consult label {
    align-content: center;
    gap: 5px;
    padding: 12px 18px;
    font-size: 13px;
  }

  .quick-consult input {
    height: 20px;
    font-size: 13px;
    line-height: 20px;
  }

  .quick-consult li > a {
    min-height: 58px;
    font-size: 18px;
    line-height: 1;
  }

  .quick-consult > div {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 12px;
    font-size: 11px;
  }

  .now-section,
  .section-grid,
  .category-promo,
  .media-faq,
  .content-section {
    margin-top: 54px;
  }

  .headline-block h2,
  .section-title span {
    font-size: 27px;
  }

  .product-strip {
    grid-auto-columns: 82vw;
    margin-top: 24px;
  }

  .product-grid,
  .category-promo,
  .section-grid,
  .category-layout,
  .board-layout,
  .two-column,
  .certificate-grid,
  .catalog-grid,
  .admin-body,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .category-promo a {
    min-height: 250px;
    border-radius: 18px;
    padding: 36px 30px;
  }

  .category-promo h3 {
    font-size: 27px;
  }

  .sub-hero {
    border-radius: 20px;
    padding: 42px 28px;
  }

  .category-nav {
    position: static;
  }

  .search-form,
  .detail-actions {
    flex-direction: column;
  }

  .meta-list,
  .admin-table > div {
    grid-template-columns: 1fr;
  }

  .video-card > span {
    inset: 56px 0 0;
  }

  .site-footer {
    display: none;
  }

  .bottom-quick {
    position: fixed;
    right: 8px;
    bottom: 0;
    left: 8px;
    z-index: 50;
    display: grid;
    height: 74px;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid #eee;
    border-radius: 20px 20px 0 0;
    background: #fff;
    box-shadow:
      0 -12px 28px rgba(17, 24, 39, 0.12),
      0 -1px 0 rgba(17, 24, 39, 0.06);
    overflow: hidden;
  }

  .bottom-quick a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 11px;
    font-weight: 600;
  }

  .bottom-quick svg {
    width: 23px;
    height: 23px;
    color: var(--brand-primary);
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .bottom-quick a:first-child svg,
  .bottom-quick a:nth-child(5) svg {
    width: 24px;
    height: 24px;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-main {
    padding: 20px;
  }
}
