:root {
  --accent: #ed1f65;
  --text: #333333;
  --muted: #999999;
  --line: #e8e8e8;
  --surface: #f2f2f2;
  --header-height: 75px;
  --content-width: 1170px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.content-width { width: min(calc(100% - 10vw), var(--content-width)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus), .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 40; padding: 10px 14px; background: #fff; color: var(--accent); outline: 2px solid var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-height);
  border-bottom: 1px solid #f2f2f2;
  background: #ffffff;
}
.header-inner { position: relative; display: grid; grid-template-columns: 32% 68%; height: 100%; align-items: center; }
.brand { justify-self: start; margin-left: 5vw; height: 54px; padding-block: 5px; }
.brand img { width: auto; height: 45px; }
.primary-navigation { display: flex; align-items: center; justify-content: center; gap: clamp(35px, 5vw, 92px); height: 100%; }
.primary-navigation a { position: relative; display: grid; place-items: center; height: 100%; color: #333; font-size: 16px; white-space: nowrap; transition: color .2s ease; }
.primary-navigation a:hover, .primary-navigation a[aria-current="page"] { color: var(--accent); }
.primary-navigation a::after { content: ""; position: absolute; right: 50%; bottom: 18px; left: 50%; height: 1px; background: var(--accent); transition: inset .2s ease; }
.primary-navigation a:hover::after, .primary-navigation a[aria-current="page"]::after { right: 0; left: 0; }
.menu-toggle { display: none; }
main { padding-top: var(--header-height); }

.inner-banner { width: 100%; aspect-ratio: 1920 / 420; overflow: hidden; background: #eee; }
.inner-banner img { width: 100%; height: 100%; object-fit: cover; }

.hero-carousel { position: relative; overflow: hidden; background: var(--surface); }
.hero-track { position: relative; aspect-ratio: 1887 / 680; min-height: 340px; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-arrow { position: absolute; top: 0; bottom: 34px; z-index: 2; width: 8%; border: 0; background: transparent; color: #fff; font-size: 58px; cursor: pointer; text-shadow: 0 1px 4px rgb(0 0 0 / 35%); }
.carousel-arrow:active { transform: translateY(1px); }
.carousel-prev { left: 0; text-align: left; }
.carousel-next { right: 0; text-align: right; }
.carousel-dots { display: flex; justify-content: center; gap: 18px; height: 34px; padding-top: 9px; }
.carousel-dots button { width: 74px; height: 8px; padding: 0; border: 0; background: #e4e4e4; cursor: pointer; }
.carousel-dots button.is-active { background: var(--accent); }

.home-trending { padding: 60px 0; background: var(--surface); }
.trending-carousel { --visible-trending: 3; position: relative; width: min(calc(100% - 32px), 938px); height: 228px; margin-inline: auto; padding-top: 14px; }
.trending-viewport { width: calc(100% - 38px); height: 200px; margin-inline: 19px; overflow: hidden; }
.trending-track { display: flex; width: max-content; height: 200px; transform: translateX(0); transition: transform .35s ease; }
.trending-card { flex: 0 0 280px; height: 200px; margin-inline: 9px; overflow: hidden; background: #fff; }
.trending-card img { width: 280px; height: 200px; object-fit: cover; transition: transform .25s ease; }
.trending-card:hover img { transform: scale(1.025); }
.trending-arrow { position: absolute; top: 14px; z-index: 2; width: 38px; height: 200px; padding: 0; border: 0; background: transparent; color: #c8c8c8; font-size: 42px; line-height: 1; cursor: pointer; transition: color .2s ease; }
.trending-arrow:hover { color: var(--accent); }
.trending-arrow:active { transform: translateY(1px); }
.trending-prev { left: 0; }
.trending-next { right: 0; }

.home-products { padding: 76px 0 0; background: var(--surface); }
.product-display-title { display: flex; justify-content: center; align-items: baseline; gap: 10px; margin-bottom: 50px; }
.product-display-title span { color: #bbb; font-size: 19px; }
.product-display-title h2 { margin: 0; color: var(--accent); font-size: 20px; font-weight: 400; }
.category-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: min(15.55vw, 293px); width: 100%; overflow: hidden; }
.mosaic-item { position: relative; overflow: hidden; background: #ddd; }
.mosaic-item-0 { grid-row: span 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out; }
.mosaic-item:hover img, .mosaic-item:focus-visible img { transform: scale(1.06); }
.mosaic-item span { position: absolute; right: 0; bottom: 0; left: 0; height: 78px; display: flex; align-items: center; padding: 18px 30px; color: #fff; font-size: 16px; background: rgb(12 12 12 / 60%); transition: height .6s cubic-bezier(.215, .61, .355, 1), background-color .6s cubic-bezier(.215, .61, .355, 1); }
.mosaic-item:hover span, .mosaic-item:focus-visible span { height: 120px; background: var(--accent); }

.category-tabs { border-bottom: 1px solid var(--line); background: #f5f5f5; }
.category-tabs .content-width { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.category-tabs a { height: 64px; display: grid; place-items: center; border-bottom: 1px solid transparent; color: #888; font-size: 18px; text-align: center; white-space: nowrap; }
.category-tabs a:hover, .category-tabs a[aria-current="page"] { border-color: var(--accent); color: var(--accent); }

.catalog-section { padding: 60px 0 0; background: #f7f7f7; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 24px; }
.product-card { min-width: 0; background: #fff; box-shadow: 0 14px 30px rgb(70 70 70 / 10%); }
.product-card a { display: block; }
.product-image { aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid #eee; background: #fff; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-card h2 { min-height: 58px; margin: 0; display: grid; place-items: center; padding: 10px; color: #333; font-size: 16px; font-weight: 400; line-height: 1.4; text-align: center; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; padding: 115px 0 30px; }
.pagination a { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #ccc; color: #333; line-height: 1; }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination a[aria-current="page"] { border-color: transparent; color: #111; }

.section-title { margin: 0 0 38px; color: var(--accent); font-size: 21px; font-weight: 400; }
.layout-page { min-height: 330px; padding-top: 48px; padding-bottom: 70px; }
.layout-content { color: #aaa; font-size: 16px; line-height: 1.7; }
.layout-content p { margin: 0 0 22px; }
.layout-content img { height: auto; }
.layout-7g { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; align-items: start; }
.layout-7g .section-title { padding-top: 14px; }
.layout-7g .layout-content { max-width: 480px; justify-self: start; padding: 70px 28px 28px; color: #fff; background: #d63372; }
.layout-7g .contact_word h1 { margin: 0 0 30px; font-size: 26px; font-weight: 400; line-height: 1.05; }
.layout-7g .contact_word p { margin: 0 0 8px; }

.information-section { padding: 54px 0 74px; }
.information-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.information-card { padding: 30px; background: #fff; box-shadow: 0 10px 30px rgb(70 70 70 / 8%); }
.information-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.article-detail, .product-detail { min-height: 480px; padding-top: 48px; padding-bottom: 72px; }
.article-detail h1, .product-detail h1 { margin: 20px 0 8px; font-size: 25px; font-weight: 400; }
.article-detail time { color: var(--muted); }
.rich-content { overflow-wrap: anywhere; }
.rich-content img { max-width: 100%; height: auto; }
.article-detail .rich-content { margin-top: 30px; color: #777; }
.back-link, .text-action { color: var(--accent); }
.back-link::before { content: "‹ "; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 55px; margin-top: 28px; }
.product-detail figure { margin: 0; border: 1px solid var(--line); background: #fff; }
.product-detail figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.product-detail-copy { padding-top: 10px; }
.empty-state { grid-column: 1 / -1; min-height: 260px; display: grid; place-items: center; color: var(--muted); text-align: center; }

.site-footer { min-height: 72px; background: #050505; color: #595959; }
.footer-copy { display: grid; place-items: center; min-height: 72px; text-align: center; }
.footer-copy p { margin: 0; }
.not-found { min-height: calc(100dvh - 72px); display: grid; place-items: center; padding: 90px 0; text-align: center; }
.not-found h1 { margin: 0; font-size: 32px; font-weight: 400; }
.error-code { margin: 0; color: var(--accent); font-size: 80px; line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 991px) {
  :root { --header-height: 56px; }
  .content-width { width: calc(100% - 32px); }
  .site-header { background: var(--accent); }
  .header-inner { display: flex; justify-content: center; }
  .brand { margin: 0; height: 46px; padding: 4px 0; }
  .brand img { height: 38px; mix-blend-mode: multiply; }
  .menu-toggle { position: absolute; left: 8px; top: 6px; width: 44px; height: 44px; display: grid; align-content: center; gap: 5px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-navigation { position: fixed; inset: var(--header-height) auto 0 0; width: min(78vw, 360px); height: auto; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; padding: 20px 22px; background: #d92365; transform: translateX(-102%); transition: transform .25s ease; }
  .primary-navigation.is-open { transform: translateX(0); }
  .primary-navigation a { min-height: 54px; display: flex; justify-content: flex-start; border-bottom: 1px solid rgb(255 255 255 / 18%); color: #fff; font-size: 16px; }
  .primary-navigation a[aria-current="page"] { color: #fff; font-weight: 600; }
  .primary-navigation a::after { display: none; }
  .inner-banner { aspect-ratio: 1920 / 520; }
  .hero-track { min-height: 0; aspect-ratio: 1887 / 680; }
  .trending-carousel { --visible-trending: 2; width: 100%; }
  .trending-viewport { width: calc(100% - 32px); margin-inline: 16px; }
  .trending-card { flex-basis: calc((100vw - 56px) / 2); margin-inline: 6px; }
  .trending-card img { width: 100%; height: 100%; }
  .trending-arrow { width: 44px; }
  .category-tabs { overflow-x: auto; }
  .category-tabs .content-width { width: max-content; display: flex; }
  .category-tabs a { width: 175px; }
  .product-grid, .information-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-7g { grid-template-columns: 1fr; }
  .layout-7g .layout-content { width: 100%; max-width: 560px; justify-self: center; }
}

@media (max-width: 767px) {
  .hero-track { min-height: 0; aspect-ratio: 1887 / 680; }
  .hero-slide img { object-position: center; }
  .carousel-arrow { font-size: 38px; }
  .carousel-dots { gap: 8px; }
  .carousel-dots button { width: 28px; height: 6px; }
  .home-trending { padding: 40px 0; }
  .home-products { padding-top: 45px; }
  .product-display-title { margin-bottom: 30px; }
  .category-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; }
  .mosaic-item-0 { grid-row: span 1; }
  .mosaic-item span { min-height: 54px; padding: 10px 12px; font-size: 14px; }
  .catalog-section { padding-top: 28px; }
  .product-grid, .information-grid { gap: 14px 12px; }
  .product-card h2 { min-height: 54px; font-size: 14px; }
  .pagination { padding-top: 60px; }
  .information-card { padding: 12px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .layout-page { padding-top: 34px; }
}

@media (max-width: 430px) {
  .category-mosaic { grid-template-columns: 1fr; }
  .product-grid { gap: 10px 8px; }
  .product-card h2 { font-size: 13px; }
}
