:root { --red: #e43c35; --ink: #17191d; --muted: #777b83; --line: #e7e8ea; --soft: #f7f7f8; --cream: #f4f1ec; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.site-nav { display: flex; height: 78px; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: -.03em; }
.site-brand span { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; background: var(--red); color: #fff; font-weight: 800; }
.site-nav nav { display: flex; align-items: center; gap: 26px; color: #656970; font-size: 12px; font-weight: 600; }
.nav-button { padding: 10px 14px; border-radius: 9px; background: var(--ink); color: #fff; }
.site-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; max-width: 1180px; min-height: 620px; margin: 0 auto; padding: 72px 32px 86px; }
.eyebrow { margin: 0; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.hero-left h1 { margin: 19px 0 20px; font-size: clamp(55px, 7.3vw, 98px); line-height: .88; letter-spacing: -.085em; }
em { color: var(--red); font-family: Georgia, serif; font-weight: 400; }
.hero-intro { max-width: 370px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.button { display: inline-flex; height: 44px; align-items: center; justify-content: center; gap: 22px; padding: 0 16px; border: 0; border-radius: 9px; font-size: 12px; font-weight: 800; }
.button.primary { background: var(--red); color: #fff; }
.button.secondary { background: #f1f1f2; color: #46494f; }
.text-link { color: #6e7279; font-size: 12px; font-weight: 700; }
.hero-visual { position: relative; min-height: 460px; overflow: hidden; border-radius: 22px; background: var(--cream); }
.hero-visual img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; mix-blend-mode: multiply; }
.hero-chip { position: absolute; top: 20px; left: 20px; z-index: 1; padding: 8px 11px; border-radius: 999px; background: rgba(255,255,255,.83); color: #777168; font-size: 9px; font-weight: 800; letter-spacing: .08em; backdrop-filter: blur(5px); }
.hero-chip strong { margin-left: 5px; color: var(--red); }
.hero-stamp { position: absolute; right: 24px; bottom: 22px; z-index: 1; display: grid; width: 90px; height: 90px; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; color: #fff; font-size: 12px; font-weight: 800; line-height: .95; text-align: center; transform: rotate(9deg); }
.hero-stamp small { font-size: 8px; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1116px; margin: 0 auto; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers div { padding: 0 28px; border-left: 1px solid var(--line); }
.numbers div:first-child { border-left: 0; }
.numbers strong { display: block; font-size: 28px; letter-spacing: -.06em; }
.numbers span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.site-section, .how-section, .wish-section { max-width: 1116px; margin: 0 auto; padding: 116px 0; }
.section-lead { max-width: 400px; }
.section-lead h2, .wish-section h2 { margin: 15px 0 10px; font-size: 50px; line-height: .95; letter-spacing: -.075em; }
.section-lead > p:last-child, .wish-section > div > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.site-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 43px; }
.site-product { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.site-product img { display: block; width: 100%; aspect-ratio: 1 / .95; object-fit: cover; }
.site-product-info { padding: 15px; }
.site-product-info small { color: #9a9da4; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-product-info h3 { min-height: 42px; margin: 6px 0 12px; font-size: 14px; letter-spacing: -.03em; }
.site-product-bottom { display: flex; align-items: center; justify-content: space-between; }
.site-product-bottom strong { color: var(--red); font-size: 14px; }
.site-product-bottom span { color: #9a9da4; font-size: 10px; }
.how-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: 50px; max-width: none; padding-right: max(32px, calc((100vw - 1116px) / 2)); padding-left: max(32px, calc((100vw - 1116px) / 2)); background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps article { padding: 0 22px 0 0; border-right: 1px solid #ddd8d0; }
.steps article:last-child { border: 0; }
.steps span { color: var(--red); font: 20px Georgia, serif; }
.steps h3 { margin: 32px 0 8px; font-size: 16px; letter-spacing: -.03em; }
.steps p { margin: 0; color: #77736c; font-size: 12px; line-height: 1.6; }
.wish-section { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: end; }
.wish-section form { display: flex; flex-direction: column; gap: 12px; }
.wish-section input { height: 49px; padding: 0 15px; border: 1px solid var(--line); border-radius: 9px; outline-color: var(--red); font-size: 13px; }
.wish-section form small { min-height: 16px; color: #2d8b62; font-size: 11px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; max-width: 1116px; margin: 0 auto; padding: 28px 0 50px; border-top: 1px solid var(--line); color: #969aa1; font-size: 11px; }
.site-footer .site-brand { color: var(--ink); }
.site-footer a { color: var(--red); font-weight: 700; }
.legal-page { max-width: 760px; margin: 0 auto; padding: 92px 32px 120px; }
.legal-page h1 { margin: 17px 0 8px; font-size: clamp(48px, 8vw, 76px); line-height: .95; letter-spacing: -.08em; }
.legal-page h2 { margin: 42px 0 9px; font-size: 21px; letter-spacing: -.04em; }
.legal-page p { color: var(--muted); font-size: 15px; line-height: 1.72; }
.legal-page .legal-updated { margin: 0; color: #9a9da4; font-size: 12px; }
.legal-page a { color: var(--red); font-weight: 700; }
.loading { grid-column: 1 / -1; padding: 24px; color: var(--muted); }

/* Admin */
.admin-body { background: #f7f7f8; }
.login-screen { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; background: #f1f2f4; }
.login-card { display: flex; width: min(390px, 100%); flex-direction: column; gap: 15px; padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 20px 70px rgba(24,26,31,.10); }
.brand-square { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--red); color: #fff; font-size: 18px; font-weight: 800; }
.login-card h1 { margin: -5px 0 0; font-size: 30px; letter-spacing: -.06em; }
.login-card > p:not(.eyebrow) { margin: -6px 0 5px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.login-card label { color: #747981; font-size: 10px; font-weight: 700; }
.login-card input { display: block; width: 100%; height: 44px; margin-top: 7px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; outline-color: var(--red); }
.login-card .button { width: 100%; }
.login-card small { min-height: 15px; color: var(--red); font-size: 10px; }
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-side { display: flex; flex-direction: column; padding: 26px 18px; background: #17191d; color: #fff; }
.admin-side .site-brand { color: #fff; }
.admin-side .site-brand span { background: var(--red); }
.side-label { margin: 58px 11px 12px; color: #81858e; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.side-link { padding: 12px 11px; border: 0; border-radius: 8px; background: transparent; color: #9ea2aa; font-size: 12px; font-weight: 700; text-align: left; }
.side-link.active, .side-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.side-footer { margin-top: auto; padding: 12px 11px; color: #c7c9cd; font-size: 10px; line-height: 1.7; }
.side-footer small { color: #777c85; }
.side-footer button { padding: 0; border: 0; background: transparent; color: #777c85; font-size: 10px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #55c68a; }
.admin-main { max-width: 1280px; width: 100%; padding: 39px 48px; }
.admin-top { display: flex; align-items: end; justify-content: space-between; margin-bottom: 36px; }
.admin-top h1 { margin: 8px 0 0; font-size: 34px; letter-spacing: -.06em; }
.admin-public { color: var(--red); font-size: 11px; font-weight: 700; }
.global-message { position: fixed; z-index: 12; top: 24px; left: 50%; padding: 10px 15px; transform: translateX(-50%); border-radius: 999px; background: #17191d; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.15); font-size: 11px; font-weight: 700; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric-card { padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.metric-card small { color: #999da5; font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.metric-card strong { display: block; margin-top: 9px; font-size: 27px; letter-spacing: -.06em; }
.metric-card span { display: block; margin-top: 6px; color: #3d9d6c; font-size: 10px; }
.admin-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.admin-card { padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.card-head, .view-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.card-head h2, .view-toolbar h2 { margin: 7px 0 0; font-size: 20px; letter-spacing: -.045em; }
.small-button { padding: 0; color: var(--red); font-size: 10px; font-weight: 800; }
.admin-list-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.admin-list-item:last-child { border: 0; }
.admin-list-item img { width: 43px; height: 43px; border-radius: 7px; object-fit: cover; }
.admin-list-item div { min-width: 0; flex: 1; }
.admin-list-item strong { display: block; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-list-item small { display: block; margin-top: 4px; color: #979ba3; font-size: 9px; }
.status { padding: 5px 7px; border-radius: 999px; background: #fff3f1; color: var(--red); font-size: 9px; font-weight: 800; }
.hidden { display: none !important; }
.view-toolbar { margin-bottom: 20px; }
.toolbar-note { color: #8d9198; font-size: 11px; }
.data-table { overflow: auto; }
.data-row { display: grid; grid-template-columns: 1.3fr .8fr .55fr .65fr; align-items: center; gap: 15px; min-width: 620px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.data-row.head { padding-top: 0; color: #9a9da4; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.data-row strong { font-size: 11px; }
.data-row small { display: block; margin-top: 4px; color: #9a9da4; font-size: 9px; }
.data-row button { padding: 0; color: var(--red); font-size: 10px; font-weight: 800; text-align: left; }
.data-row button:disabled { cursor: default; color: #a9acb2; }
.product-cell { display: flex; min-width: 0; align-items: center; gap: 10px; }
.product-cell img { width: 45px; height: 45px; flex: 0 0 auto; border-radius: 8px; object-fit: cover; }
.product-cell > div { min-width: 0; }
.product-cell strong, .product-cell small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.row-actions .danger { color: #9a9da4; }
.status-text { display: block; margin-top: 4px; color: #8c9097; font-size: 9px; font-weight: 700; }
.status-active { color: #23865b !important; }
.status-draft { color: #b57820 !important; }
.status-archived { color: #92969d !important; }
dialog { border: 0; border-radius: 14px; padding: 0; box-shadow: 0 20px 80px rgba(0,0,0,.22); }
dialog::backdrop { background: rgba(18,19,22,.42); }
#product-form { display: flex; width: min(440px, calc(100vw - 40px)); flex-direction: column; gap: 13px; padding: 24px; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; margin-bottom: 4px; }
.dialog-head h2 { margin: 7px 0 0; font-size: 22px; letter-spacing: -.05em; }
.close-dialog { font-size: 24px; }
#product-form { width: min(620px, calc(100vw - 40px)); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
#product-form label { color: #747981; font-size: 10px; font-weight: 700; }
#product-form label.wide { grid-column: 1 / -1; }
#product-form input:not([type="checkbox"]), #product-form select { display: block; width: 100%; height: 40px; margin-top: 6px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; outline-color: var(--red); background: #fff; font-size: 12px; }
#product-form .check-label { display: flex; align-items: center; gap: 8px; }
#product-form .check-label input { accent-color: var(--red); }
.dialog-actions { display: flex; justify-content: end; gap: 8px; margin-top: 8px; }

@media (max-width: 800px) {
  .site-nav { padding: 0 20px; }
  .site-nav nav a:not(.nav-button) { display: none; }
  .site-hero { grid-template-columns: 1fr; padding: 44px 20px 60px; }
  .hero-visual { min-height: 330px; }
  .hero-visual img { min-height: 330px; }
  .numbers { grid-template-columns: repeat(2, 1fr); gap: 20px 0; margin: 0 20px; }
  .numbers div:nth-child(3) { border-left: 0; }
  .site-section, .wish-section, .site-footer { padding-right: 20px; padding-left: 20px; }
  .site-products { grid-template-columns: repeat(2, 1fr); }
  .how-section { grid-template-columns: 1fr; padding: 72px 20px; }
  .steps { grid-template-columns: 1fr; }
  .steps article { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid #ddd8d0; }
  .wish-section { grid-template-columns: 1fr; gap: 25px; }
  .site-footer { flex-wrap: wrap; gap: 18px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { min-height: auto; }
  .admin-side .side-label, .admin-side .side-footer { display: none; }
  .admin-side { flex-direction: row; align-items: center; gap: 7px; overflow: auto; }
  .admin-side .site-brand { margin-right: 15px; }
  .admin-main { padding: 28px 20px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-columns { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  #product-form label.wide { grid-column: auto; }
}
