/* Public storefront: photo-led browsing, restrained chrome, shared type scale. */
@font-face {
  font-family: 'Pretendard Variable';
  src: url('assets/fonts/PretendardVariable.woff2') format('woff2');
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #222;
  --body: #424242;
  --muted: #757575;
  --line: #eaedef;
  --bg: #fff;
  --surface: #f7f8fa;
  --soft: #f5f5f5;
  --mint: #222;
  --brand-hover: #3b3b3b;
  --neutral-strong: #222;
  --neutral-hover: #3b3b3b;
  --content-max: 1440px;
  --max: 1440px;
  --page-gutter: 32px;
  --radius: 6px;
  --control-radius: 6px;
  --radius-control: 6px;
  --radius-card: 6px;
  --photo-radius: 6px;
  --product-photo-radius: 6px;
  --photo-card-radius: 0px;
  --product-section: #fff;
  --service-gradient: #f7f8fa;
}
body { font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif; }
button, input, select, textarea { font-family: inherit; }
@media screen {
  body { background: #fff; color: var(--ink); font-size: 15px; line-height: 1.6; letter-spacing: -.015em; }
  #main, #main:has(> .rental-page), #main:has(> .md-page), #main:has(> .page > .search-tabs) { background: #fff; }
  .container, .header-inner.container, .rental-page.container, .portfolio-page.container,
  .works-page.container, .md-page.container, .company-inner, .company-hero, .company-cta {
    width: calc(100% - var(--page-gutter) * 2);
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: 0;
  }
  .home-page.container { width: calc(100% - var(--page-gutter) * 2); max-width: var(--content-max); margin-inline: auto; padding-top: 0; }
  .container.prose { max-width: 800px; }
  .page { padding-block: 40px 64px; }
  h1, h2, h3, h4 { color: var(--ink); letter-spacing: -.025em; }
  h1, .page-heading h1 { font-size: 32px; font-weight: 700; line-height: 1.35; }
  h2, .section-head h2 { font-size: 24px; font-weight: 700; line-height: 1.4; }
  h3 { font-size: 20px; font-weight: 600; line-height: 1.5; }
  p { line-height: 1.65; }
  .page-heading { margin-bottom: 28px; }
  .page-heading p { margin-top: 10px; font-size: 15px; color: var(--muted); }
  .section-head { gap: 16px; margin-bottom: 20px; align-items: center; }
  .section-head .link { color: var(--body); font-size: 14px; font-weight: 600; }
  .btn, :is(.home-contact,.company-cta,.detail-actions,.summary,.preview-actions,.package-bottom) .btn {
    min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 6px;
    color: var(--ink); background: #fff; font-size: 14px; font-weight: 600; line-height: 1.5; box-shadow: none;
    transition: background .18s, border-color .18s, color .18s;
  }
  .btn:hover { background: #f7f8fa; border-color: #c6c9cc; box-shadow: none; }
  .btn:active { transform: none; }
  .btn.primary, :is(.home-contact,.company-cta,.detail-actions,.summary,.preview-actions,.package-bottom) .btn.primary {
    color: #fff; background: #222; border-color: #222;
  }
  .btn.primary:hover { color: #fff; background: #3b3b3b; border-color: #3b3b3b; }
  .btn:disabled, .btn[aria-disabled='true'] { color: #888; background: #eee; border-color: #eee; }
  .icon-button { width: 44px; height: 44px; border-radius: 6px; }
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 2px solid #555; outline-offset: 3px;
  }
  .link { color: var(--body); font-size: 14px; }
  .notice, .notice.mint { padding: 16px 20px; border-radius: 6px; background: var(--surface); font-size: 14px; }
  .breadcrumb { margin-bottom: 24px; color: var(--muted); font-size: 13px; }

  /* Search and navigation retain the existing dropdown and keyboard behaviour. */
  #header { height: 80px; background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header-inner { gap: 24px; }
  .header-search { flex: 1; min-width: 180px; max-width: 400px; height: 44px; padding: 0 12px 0 4px; border: 1px solid #e5e7e9; border-radius: 6px; background: #f7f8fa; }
  .header-search input { font-size: 14px; letter-spacing: -.01em; }
  .header-search:focus-within { background: #fff; border-color: #777; box-shadow: none; }
  .header-nav { gap: 22px; margin-left: auto; }
  .header-nav > a, .header-nav .nav-trigger { font-size: 16px; font-weight: 600; }
  .header-actions { gap: 10px; }
  .header-actions .btn { min-height: 42px; padding: 10px 15px; border-radius: 6px; font-size: 14px; }
  .header-actions .cart-link, .header-actions .cart-link:has(.count) { background: #fff; padding-inline: 4px; border-color: transparent; }
  .header-actions .cart-link > svg { display: block; width: 20px; height: 20px; }
  .header-actions .count { width: 18px; min-width: 18px; height: 18px; font-size: 10px; }
  .header-nav .nav-dropdown { border-radius: 8px; padding: 8px; box-shadow: 0 6px 24px #0000000d; }
  .header-nav .nav-dropdown a { min-height: 40px; padding: 10px 12px; border-radius: 4px; font-size: 14px; }
  .header-nav .nav-dropdown .nav-dropdown-all { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .mobile-nav a, .mobile-nav .mobile-nav-trigger { border-radius: 4px; }

  /* Every category is visible; the centered content width also applies on wide monitors. */
  .home-category-section, .home-collections, .home-products, .home-contact { width: 100%; max-width: none; margin-inline: 0; }
  .home-category-section { margin-top: 32px; }
  .home-category-section > h2 { margin-bottom: 24px; font-size: 24px; font-weight: 700; }
  .home-category-grid { grid-template-columns: repeat(8, minmax(0,1fr)); gap: 24px 20px; }
  .home-category-object { width: 88px; height: 88px; }
  .home-category-link { gap: 8px; }
  .home-category-label { font-size: 14px; font-weight: 500; line-height: 1.5; }
  .home-collections { margin-top: 48px; }
  .home-collections .collection-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
  .home-collections .collection-card { min-width: 0; aspect-ratio: 5 / 3; border-radius: 6px; }
  .home-collections .collection-card > span { left: 18px; right: 18px; bottom: 16px; gap: 8px; font-size: 18px; line-height: 1.4; }
  .home-collections .collection-card > span svg { flex-shrink: 0; width: 18px; height: 18px; }
  .collection-card > span { left: 20px; right: 20px; bottom: 16px; font-size: 20px; font-weight: 600; }
  .collection-card > span svg { width: 20px; height: 20px; }
  .home-products { margin-top: 56px; padding: 0; background: #fff; }
  .product-grid, .catalog-main .product-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 32px 20px; }
  .home-products .product-grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 32px 20px; }
  .product-card, .catalog-main .product-card { border: 0; border-radius: 0; background: #fff; box-shadow: none; }
  .product-card > .product-link, .catalog-main .product-card > .product-link { padding: 0; border-radius: 0; }
  .product-card .product-image, .catalog-main .product-card .product-image { aspect-ratio: 1; border-radius: 6px; background: #f5f5f5; overflow: hidden; }
  .product-card .product-image img, .product-card .product-image img.photo { padding: 0; object-fit: contain; }
  .product-card .product-info, .catalog-main .product-card .product-info { padding: 12px 0 0; }
  .product-card .product-category { margin: 0 0 4px; font-size: 12px; font-weight: 400; color: var(--muted); }
  .product-card .product-info h3 { min-height: 0; font-size: 14px; font-weight: 400; line-height: 1.5; letter-spacing: -.01em; }
  .product-card .product-info .price { padding-top: 4px; margin-top: 0; font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -.015em; }
  .product-card .product-info .price-unit { color: var(--ink); font-size: 14px; font-weight: 600; }
  .product-card .product-info .price-from { color: var(--muted); font-size: 12px; font-weight: 400; margin-left: 4px; }
  .product-card:hover { transform: none; box-shadow: none; }
  .product-card:hover img { transform: scale(1.025); }
  .product-card > .product-link:focus-visible { outline: 2px solid #555; outline-offset: 4px; }
  .home-contact { margin-top: 56px; padding: 28px 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: #fff; gap: 24px; }
  .home-contact .contact-graphic { display: none; }
  .home-contact h2 { font-size: 22px; }
  .home-contact p { margin-top: 6px; font-size: 14px; color: var(--muted); }
  .home-contact .btn { min-width: 160px; min-height: 44px; }

  /* Compact filters replace oversized pill-like panels. */
  .rental-page .event-tabs { margin-bottom: 20px; gap: 8px; }
  .event-tabs a, .tab { padding: 9px 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 14px; box-shadow: none; }
  .event-tabs a.active, .tab.active, .tab.active:hover { background: #222; border-color: #222; color: #fff; box-shadow: none; }
  .rental-page .side-links { gap: 4px 8px; padding: 12px 0; border: 0; border-block: 1px solid var(--line); border-radius: 0; margin-bottom: 24px; background: #fff; }
  .side-links a { padding: 8px 12px; border-radius: 4px; font-size: 14px; font-weight: 400; }
  .side-links a.active, .side-links a.active:hover { color: #222; background: #f2f3f4; font-weight: 700; }
  .sub-links { gap: 8px; margin-bottom: 20px; }
  .rental-page .catalog-filter-controls { gap: 8px; margin-bottom: 20px; }
  .catalog-filter { min-width: 158px; }
  .catalog-filter-trigger { min-height: 42px; padding: 9px 12px; border: 1px solid #dadde0; border-radius: 6px; gap: 12px; background: #fff; }
  .catalog-filter-copy { gap: 8px; }
  .catalog-filter-label { color: var(--muted); font-size: 12px; }
  .catalog-filter-value { font-size: 14px; font-weight: 500; }
  .catalog-filter-menu { padding: 5px; border-radius: 8px; box-shadow: 0 6px 24px #0000000d; }
  .catalog-filter-menu [role='menuitemradio'] { border-radius: 4px; font-size: 14px; }
  .catalog-tools { margin-bottom: 20px; font-size: 14px; }
  .pagination { gap: 6px; margin-top: 40px; }
  .pagination a { width: 36px; min-width: 36px; min-height: 36px; height: 36px; padding: 6px; border-radius: 4px; font-size: 14px; }

  /* Footer content follows the same centered grid while its neutral band fills the screen. */
  #footer { margin-top: 56px; border-top: 1px solid var(--line); background: #f7f8fa; }
  .site-footer-shell { width: calc(100% - var(--page-gutter) * 2); max-width: var(--content-max); margin-inline: auto; padding: 40px 0; }
  .site-footer-logo { margin-bottom: 24px; }
  .site-footer-logo .brand-logo { width: 88px; }
  .site-footer-columns { grid-template-columns: minmax(0,1fr) 320px; gap: 48px; }
  .site-footer-links { margin-bottom: 18px; font-size: 13px; gap: 8px 20px; }
  .site-footer-details, .site-footer-contact { font-size: 12px; line-height: 1.8; }
  .site-footer-phone { font-size: 26px; font-weight: 700; }
  .site-footer-contact-list { gap: 6px; margin-top: 16px; }
  .site-footer-contact-list dd { font-size: 13px; }
  .site-footer-bottom { margin-top: 28px; padding-top: 18px; }
  .quick-contact { border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 2px 8px #00000005; background: #fff; }
  .toast { border-radius: 6px; font-size: 14px; }

  @media (max-width: 1180px) {
    .header-inner { gap: 14px; }
    .header-nav { gap: 16px; }
    .header-nav > a, .header-nav .nav-trigger { font-size: 14px; }
    .header-search { min-width: 140px; max-width: 240px; }
    .header-actions { gap: 8px; }
    .header-actions .btn { padding-inline: 12px; font-size: 13px; }
    .product-grid, .catalog-main .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  }
  @media (max-width: 1000px) {
    .header-inner { gap: 20px; }
    .header-search { max-width: none; }
    .header-nav { display: none; }
    .mobile-nav.open { border: 0; background: #fff; border-top: 1px solid var(--line); padding: 16px 24px 32px; box-shadow: 0 8px 24px #00000008; }
    .mobile-nav > a, .mobile-nav .mobile-nav-trigger { min-height: 52px; padding: 13px 4px; font-size: 19px; font-weight: 600; background: #fff; }
    .mobile-nav .mobile-nav-submenu { background: #f7f8fa; border-radius: 6px; padding: 8px 12px; }
    .mobile-nav .mobile-nav-submenu a { min-height: 42px; padding: 10px 8px; font-size: 14px; }
    .home-category-grid { gap: 20px 12px; }
    .home-category-object { width: 78px; height: 78px; }
    .home-category-label { font-size: 13px; }
    .home-products .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .home-collections .collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .collection-card > span { left: 14px; right: 14px; bottom: 12px; font-size: 17px; }
  }
  @media (max-width: 680px) {
    :root { --page-gutter: 20px; }
    #header { height: 116px; }
    .header-inner.container { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: 56px 44px; row-gap: 0; column-gap: 12px; height: auto; padding: 0; }
    .header-inner > .logo { grid-row: 1; grid-column: 1; }
    .header-inner > .logo .brand-logo { width: 88px; }
    .header-actions { grid-row: 1; grid-column: 2; margin: 0; gap: 8px; }
    .header-search { grid-row: 2; grid-column: 1 / -1; position: static; width: 100%; max-width: none; min-width: 0; margin: 0; height: 42px; }
    .header-actions .cart-link { padding-inline: 4px; }
    .header-actions .menu-toggle { background: #fff; }
    .page { padding-block: 28px 44px; }
    h1, .page-heading h1 { font-size: 28px; }
    h2, .section-head h2 { font-size: 21px; }
    .page-heading { margin-bottom: 24px; }
    .section-head { margin-bottom: 16px; }
    .section-head .link { font-size: 12px; }
    .home-category-section { margin-top: 24px; }
    .home-category-section > h2 { margin-bottom: 20px; font-size: 21px; }
    .home-category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px 10px; }
    .home-category-object { width: 68px; height: 68px; }
    .home-category-label { font-size: 12px; line-height: 1.5; }
    .home-collections, .home-products { margin-top: 36px; }
    .home-collections .collection-grid { gap: 12px; }
    .home-collections .collection-card { aspect-ratio: 1.35; }
    .home-collections .collection-card > span { left: 12px; right: 12px; bottom: 12px; gap: 5px; font-size: 14px; }
    .home-collections .collection-card > span svg { width: 14px; height: 14px; }
    .collection-card > span { left: 14px; right: 14px; bottom: 12px; font-size: 17px; }
    .product-grid, .home-products .product-grid, .catalog-main .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 12px; }
    .product-card .product-info, .catalog-main .product-card .product-info { padding: 10px 0 0; }
    .product-card .product-info h3 { font-size: 13px; }
    .product-card .product-category { font-size: 11px; }
    .product-card .product-info .price { font-size: 18px; padding-top: 4px; }
    .product-card .product-info .price-unit { font-size: 12px; }
    .product-card .product-info .price-from { font-size: 11px; }
    .home-contact { margin-top: 40px; padding-block: 24px; gap: 18px; }
    .home-contact h2 { font-size: 20px; }
    .home-contact p { font-size: 13px; }
    .home-contact .btn { min-width: 0; }
    .event-tabs a { padding: 8px 12px; font-size: 13px; }
    .rental-page .catalog-filter-controls { gap: 8px; }
    .catalog-filter { min-width: 0; }
    .catalog-filter-trigger, .category-select .catalog-filter-trigger { min-height: 44px; padding: 9px 11px; border-radius: 6px; }
    .catalog-filter-copy { display: flex; gap: 6px; }
    .catalog-filter-controls .catalog-filter-label { display: none; }
    .catalog-filter-value { font-size: 13px; }
    .catalog-tools { margin-bottom: 16px; font-size: 13px; }
    #footer { margin-top: 40px; }
    .site-footer-shell { padding-block: 32px; }
    .site-footer-columns { grid-template-columns: 1fr; gap: 28px; }
    .site-footer-phone { font-size: 24px; }
    .site-footer-bottom { margin-top: 24px; }
    .quick-contact { padding: 10px 12px; font-size: 12px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .product-card:hover img { transform: none; }
  }
}
