@font-face {
  font-family: "Work Sans";
  src: url("/assets/work-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #382f2b;
  --ink-soft: #70635d;
  --paper: #fbf8f5;
  --canvas: #f9f1eb;
  --white: #fffdfb;
  --mist: #f6eee8;
  --line: #eadbd0;
  --brand: #ed7138;
  --brand-hover: #d95a25;
  --brand-deep: #a94420;
  --brand-pale: #fff0e6;
  --coral: #d95631;
  --gold: #e6a13b;
  --danger: #b64235;
  --shadow: 0 18px 42px rgba(82, 48, 32, .11);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Work Sans", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
::selection { color: #fffaf7; background: var(--brand); }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 3px solid rgba(237,113,56,.42); outline-offset: 3px; }

/* Shared legacy and storefront shell */
.shell, .site-shell { width: min(100% - 32px, 1180px); margin: 0 auto; }
.shell { padding: 36px 0 64px; max-width: 620px; }
.admin-shell { max-width: 1180px; }
.site-main { min-height: 65vh; padding: 32px 0 72px; }
.wide { width: min(100% - 32px, 1320px); margin: 0 auto; }
.muted, .meta, .text-muted { color: var(--ink-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--brand-deep); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow::before { width: 18px; height: 2px; content: ""; background: currentColor; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.18; }
h1 { margin-bottom: 14px; font-size: clamp(30px, 5vw, 52px); }
h2 { margin-bottom: 12px; font-size: clamp(24px, 3.4vw, 34px); }
h3 { margin-bottom: 8px; font-size: 18px; }
p { color: var(--ink-soft); }
.section { padding: 34px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 19px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 6px 0 0; }

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 800; letter-spacing: -.025em; }
.brand-mark { display: inline-block; width: 33px; height: 33px; flex: 0 0 33px; color: transparent; background: transparent url("/assets/logo.svg") center / contain no-repeat !important; box-shadow: none; font-size: 0; }
.brand-mark::after { display: none; content: none; }
.site-header .brand, .site-footer .brand { gap: 9px; }
.site-header .brand-logo, .site-footer .brand-logo { display: block; width: 38px; height: 38px; flex: 0 0 38px; max-width: none; }
.brand-wordmark { color: var(--ink); font-size: 19px; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }

/* Header */
.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid rgba(234,219,208,.88); background: rgba(255,251,247,.92); backdrop-filter: blur(15px); }
.announcement { padding: 8px 16px; color: #fffaf6; background: linear-gradient(90deg, #bd481f, #e36d31); text-align: center; font-size: 12px; font-weight: 700; }
.nav-row { display: flex; min-height: 70px; align-items: center; gap: 25px; }
.main-nav { display: flex; flex: 1; align-items: center; gap: 22px; margin-left: 18px; }
.main-nav a { color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.main-nav a:hover, .main-nav a.active { color: var(--brand-deep); }
.nav-actions { display: flex; align-items: center; gap: 7px; }
.icon-button { display: inline-grid; width: 38px; height: 38px; place-items: center; border: 1px solid transparent; border-radius: 50%; color: var(--ink); background: transparent; }
.icon-button:hover { border-color: var(--line); background: var(--white); }
.cart-count { display: inline-grid; min-width: 17px; height: 17px; margin-left: -7px; place-items: center; border-radius: 50%; color: #fff; background: var(--coral); font-size: 10px; font-weight: 800; }
.member-menu { display: flex; align-items: center; gap: 6px; }
.member-menu form { margin: 0; }
.member-link { display: flex; min-height: 38px; align-items: center; gap: 7px; padding: 4px 9px 4px 6px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--white); }
.member-link:hover { border-color: #e8ba9f; background: var(--brand-pale); }
.member-icon { display: inline-grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: var(--brand-deep); background: #ffe4d4; font-size: 15px; }
.member-copy { display: grid; min-width: 0; line-height: 1.1; }
.member-copy small { color: var(--ink-soft); font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.member-copy strong { max-width: 96px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.member-logout { width: auto; min-width: 44px; padding: 0 8px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink-soft); background: var(--white); font-size: 12px; font-weight: 700; }
.member-logout:hover { color: var(--brand-deep); border-color: #e8ba9f; background: var(--brand-pale); }
.mobile-nav { display: none; }

/* Buttons, inputs and cards */
.button, .button-inline, button:not(.icon-button):not(.chip):not(.quantity-button) {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--brand); border-radius: 12px; color: #fff; background: linear-gradient(135deg, #f27d40, var(--brand-hover)); box-shadow: 0 7px 15px rgba(198,78,31,.18); font-weight: 800; line-height: 1; transition: .18s ease; }
.button:hover, .button-inline:hover, button:not(.icon-button):not(.chip):not(.quantity-button):hover { border-color: var(--brand-deep); background: linear-gradient(135deg, var(--brand), var(--brand-deep)); box-shadow: 0 10px 20px rgba(169,68,32,.22); transform: translateY(-1px); }
.button.secondary, .button-outline { color: var(--brand-deep); background: transparent; }
.button.secondary:hover, .button-outline:hover { color: #fff; background: var(--brand); }
.button.light { border-color: var(--white); color: var(--brand-deep); background: var(--white); box-shadow: 0 7px 16px rgba(47,29,20,.14); }
.button.soft { border-color: transparent; color: var(--brand-deep); background: var(--brand-pale); }
.button.danger { border-color: var(--danger); background: var(--danger); }
.button.small { min-height: 36px; padding: 8px 12px; border-radius: 9px; font-size: 13px; }
.button.full { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.button-row .button { flex: 1; }

.panel, .card { border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 8px 24px rgba(76,45,29,.045); }
.panel { margin-top: 22px; padding: 22px; }
.card { overflow: hidden; }
.notice, .hint { margin: 16px 0 0; padding: 12px 14px; border-radius: 11px; color: #854021; background: var(--brand-pale); font-size: 13px; }
.hint { color: var(--ink-soft); background: var(--mist); }
.error { display: block; margin-top: 6px; color: var(--danger); font-size: 13px; }
label { display: block; margin: 17px 0 7px; color: var(--ink); font-size: 13px; font-weight: 800; }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; outline: 0; color: var(--ink); background: var(--white); transition: .15s; }
textarea { min-height: 108px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(237,113,56,.16); }
input::placeholder { color: #ab9b92; }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.check-line { display: flex; align-items: flex-start; gap: 9px; margin: 13px 0; color: var(--ink-soft); font-size: 13px; }
.check-line input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--brand); }

/* Decorative product artwork; image URLs can replace this through model data later. */
.product-art { position: relative; display: grid; min-height: 174px; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(140deg, #d96935, #803923); }
.product-art::before, .product-art::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; }
.product-art::before { width: 190px; height: 190px; transform: translate(-30%, -28%); }
.product-art::after { right: -60px; bottom: -80px; width: 185px; height: 185px; }
.product-art.tokyo { background: linear-gradient(140deg, #5357a7, #232c6a); }
.product-art.korea { background: linear-gradient(140deg, #b54864, #66233b); }
.product-art.europe { background: linear-gradient(140deg, #4e6e83, #263c50); }
.product-art.asia { background: linear-gradient(140deg, #d88936, #9a4327); }
.product-art .country-code { position: relative; z-index: 1; font-family: "DM Mono", monospace; font-size: 46px; font-weight: 500; letter-spacing: .08em; }
.product-art .art-caption { position: absolute; bottom: 14px; left: 16px; z-index: 1; font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .12em; opacity: .88; }
.product-image { width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.product-detail-image { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; }
.product-art.product-hero { min-height: 100%; aspect-ratio: 1; border-radius: 22px; }
.product-art.product-hero .country-code { font-size: clamp(70px, 12vw, 135px); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; transition: .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .product-art { min-height: 148px; }
.product-card-body { display: flex; flex: 1; flex-direction: column; padding: 14px; }
.product-card h3 { overflow: hidden; margin-top: 4px; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card .meta { margin-bottom: 10px; font-size: 12px; }
.card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: auto; }
.price { color: var(--ink); font-size: 19px; font-weight: 800; letter-spacing: -.045em; }
.price small { margin-right: 2px; color: var(--ink-soft); font-size: 11px; font-weight: 700; letter-spacing: 0; }
.price-old { margin-left: 6px; color: #a5948b; font-size: 12px; font-weight: 600; text-decoration: line-through; }
.sale-chip, .tag, .status { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.sale-chip { padding: 4px 8px; color: #a94323; background: #fff0e8; }
.tag { padding: 5px 9px; color: var(--brand-deep); background: var(--brand-pale); }
.tag.dark { color: #fff; background: var(--ink); }
.tag.gold { color: #795000; background: #fff2ce; }
.pill-row { display: flex; flex-wrap: wrap; gap: 7px; }
.rating { display: inline-flex; align-items: center; gap: 4px; color: #805b16; font-size: 12px; font-weight: 800; }
.rating .star { color: var(--gold); }

/* Home */
.hero { position: relative; isolation: isolate; min-height: 510px; overflow: hidden; color: #fff; background: #38231d; }
.hero::before { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(50,30,23,.95) 0%, rgba(50,30,23,.78) 45%, rgba(50,30,23,.28) 75%, rgba(50,30,23,.13)); }
.hero::after { position: absolute; z-index: 1; right: -75px; bottom: -125px; width: 330px; height: 330px; content: ""; border: 1px solid rgba(255,198,165,.36); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,198,165,.06), 0 0 0 96px rgba(255,198,165,.035); }
.hero-media { position: absolute; z-index: 0; inset: 0; overflow: hidden; background: linear-gradient(130deg, #a84d31, #56362e 55%, #273843); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .96; transition: opacity .2s ease; }
.hero-media img.is-missing { opacity: 0; }
.hero-grid { position: relative; z-index: 2; display: grid; min-height: 510px; align-items: center; }
.hero-content { max-width: 670px; padding: clamp(58px, 8vw, 102px) 0; }
.hero h1 { max-width: 720px; margin: 12px 0 17px; color: #fff; font-size: clamp(40px, 5.45vw, 68px); text-wrap: balance; }
.hero p { max-width: 570px; margin-bottom: 0; color: rgba(255,244,238,.86); font-size: 16px; }
.hero .eyebrow { color: #ffd0b8; }
.hero-search { display: flex; max-width: 580px; margin-top: 28px; padding: 5px; border: 1px solid rgba(255,255,255,.24); border-radius: 15px; background: #fff; box-shadow: 0 20px 45px rgba(0,0,0,.19); }
.hero-search input { min-width: 0; padding: 11px 13px; border: 0; box-shadow: none; }
.hero-search .button { flex: 0 0 auto; min-height: 43px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 17px; margin: 19px 0 0; padding: 0; color: rgba(255,244,238,.9); list-style: none; font-size: 12px; font-weight: 700; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points li::before { display: grid; width: 17px; height: 17px; place-items: center; content: "✓"; border-radius: 50%; color: #873a20; background: #ffd6bd; font-size: 10px; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -1px; border-top: 1px solid rgba(234,219,208,.75); border-bottom: 1px solid var(--line); background: var(--white); }
.campaign-section { padding: 24px 0 0; background: var(--canvas); }
.campaign-grid { display: grid; gap: 14px; }
.campaign-card { position: relative; display: block; min-height: 180px; overflow: hidden; border-radius: 18px; color: #fff; background: var(--ink); box-shadow: 0 10px 28px rgba(79,43,27,.12); }
.campaign-card picture, .campaign-card img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.campaign-card img { object-fit: cover; }
.campaign-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(57,31,23,.76), rgba(57,31,23,.14) 68%, rgba(57,31,23,.04)); }
.campaign-copy { position: relative; z-index: 1; display: flex; min-height: 180px; max-width: 440px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 25px; }
.campaign-copy strong { font-size: clamp(21px, 3.2vw, 30px); letter-spacing: -.035em; }
.campaign-copy small { color: rgba(255,255,255,.86); font-size: 14px; }
.campaign-copy b { margin-top: 9px; color: #ffcfb5; font-size: 13px; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 65px; padding: 10px; border-right: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.trust-item:last-child { border-right: 0; }
.trust-icon { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 8px; color: var(--brand-deep); background: var(--brand-pale); }
.destination-spotlight { padding: 48px 0; background: var(--canvas); }
.spotlight-head { margin-bottom: 22px; }
.spotlight-head p { max-width: 390px; }
.travel-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.travel-card { position: relative; display: block; min-height: 310px; overflow: hidden; border-radius: 19px; color: #fff; background: linear-gradient(145deg, #a9593d, #453d52); box-shadow: 0 12px 28px rgba(79,43,27,.12); isolation: isolate; }
.travel-card::before { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(0deg, rgba(50,29,22,.88), rgba(50,29,22,.05) 68%); }
.travel-card::after { position: absolute; z-index: 1; top: 18px; right: 18px; width: 30px; height: 30px; content: ""; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; opacity: .85; transition: transform .22s ease, background .22s ease; }
.travel-card > img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease, transform .45s ease; }
.travel-card > img.is-missing { opacity: 0; }
.travel-card-japan { background: linear-gradient(145deg, #8a4d47, #263a65); }
.travel-card-asia { background: linear-gradient(145deg, #c8763e, #775e48); }
.travel-card-europe { background: linear-gradient(145deg, #495b91, #26354e); }
.travel-card-copy { position: absolute; z-index: 2; right: 22px; bottom: 21px; left: 22px; display: grid; gap: 4px; }
.travel-card-copy small { color: rgba(255,255,255,.76); font-family: "DM Mono", monospace; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.travel-card-copy strong { font-size: clamp(28px, 3.1vw, 36px); letter-spacing: -.05em; }
.travel-card-copy em { margin-top: 7px; color: rgba(255,255,255,.9); font-size: 13px; font-style: normal; font-weight: 700; }
.travel-card:hover > img { transform: scale(1.05); }
.travel-card:hover::after { transform: translateX(3px); background: rgba(255,255,255,.18); }
.travel-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.destination-overview { padding-top: 42px; }
.destination-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 11px; }
.destination-card { position: relative; display: flex; min-height: 126px; flex-direction: column; justify-content: space-between; padding: 15px; overflow: hidden; border-radius: 15px; color: #fff; background: linear-gradient(145deg, #e48144, #a7472a); transition: transform .2s, box-shadow .2s; }
.destination-card:nth-child(2n) { background: linear-gradient(145deg, #7562ad, #3e3775); }
.destination-card:nth-child(3n) { background: linear-gradient(145deg, #d79444, #9a542d); }
.destination-card:hover { box-shadow: 0 10px 20px rgba(135,62,30,.2); transform: translateY(-3px); }
.destination-card::after { position: absolute; right: -18px; bottom: -50px; width: 120px; height: 120px; content: ""; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.destination-card span { position: relative; z-index: 1; font-family: "DM Mono", monospace; font-size: 22px; font-weight: 500; }
.destination-card small { position: relative; z-index: 1; color: rgba(255,255,255,.78); font-weight: 700; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.how-card { padding: 24px; border: 1px solid rgba(234,219,208,.72); border-radius: 17px; background: var(--mist); }
.step-number { display: grid; width: 33px; height: 33px; margin-bottom: 22px; place-items: center; border-radius: 9px; color: #fff; background: var(--brand); font-family: "DM Mono", monospace; font-size: 12px; }
.how-card p { margin-bottom: 0; font-size: 13px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.article-card { transition: .2s; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-cover { display: flex; min-height: 144px; align-items: flex-end; padding: 15px; color: #fff; background: linear-gradient(135deg, #e98a55, #9f4229); }
.article-cover.sea { background: linear-gradient(135deg, #54a7b4, #155171); }
.article-cover.city { background: linear-gradient(135deg, #9c91ce, #443876); }
.article-cover span { font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .08em; }
.article-card-body { padding: 16px; }
.article-card-body h3 { font-size: 16px; }
.article-card-body p { overflow: hidden; margin-bottom: 0; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Catalog and detail */
.page-title { margin-bottom: 26px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--ink-soft); font-size: 13px; }
.breadcrumbs span:last-child { color: var(--ink); font-weight: 700; }
.catalog-layout { display: grid; grid-template-columns: 238px 1fr; gap: 28px; align-items: start; }
.filter-panel { position: sticky; top: 94px; padding: 17px; }
.filter-section { padding: 15px 0; border-bottom: 1px solid var(--line); }
.filter-section:last-child { border-bottom: 0; }
.filter-section h3 { margin-bottom: 11px; font-size: 14px; }
.filter-option { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 7px 0; color: var(--ink-soft); font-size: 13px; }
.filter-option input { width: 16px; height: 16px; margin: 0 8px 0 0; accent-color: var(--brand); }
.filter-option label { display: flex; flex: 1; align-items: center; margin: 0; color: inherit; font-size: inherit; font-weight: 500; }
.filter-count { color: #94a3a2; font-size: 11px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.catalog-toolbar p { margin: 0; font-size: 13px; }
.catalog-toolbar select { width: auto; padding: 9px 31px 9px 10px; font-size: 13px; }
.catalog-grid { grid-template-columns: repeat(3, 1fr); }
.empty-state { padding: 52px 24px; border: 1px dashed #d8b9a7; border-radius: 16px; color: var(--ink-soft); background: var(--mist); text-align: center; }
.empty-emoji { display: block; margin-bottom: 11px; font-size: 32px; }
.product-detail { display: grid; grid-template-columns: minmax(0, .93fr) minmax(360px, 1.07fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.product-summary { position: sticky; top: 96px; }
.product-summary h1 { margin: 10px 0; font-size: clamp(29px, 4vw, 43px); }
.product-summary .rating { margin-bottom: 18px; }
.detail-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin: 21px 0; }
.detail-price .price { font-size: 33px; }
.vip-note { padding: 10px 12px; border-radius: 10px; color: #765500; background: #fff5d8; font-size: 12px; font-weight: 700; }
.variant-section { padding: 18px 0; border-top: 1px solid var(--line); }
.variant-section h3 { display: flex; justify-content: space-between; font-size: 14px; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-option { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-soft); background: #fff; font-size: 13px; font-weight: 700; }
.variant-option.active, .variant-option:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-pale); }
.buy-box { display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px; margin-top: 19px; }
.quantity { display: inline-flex; height: 46px; align-items: center; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.quantity-button { width: 33px; height: 100%; border: 0; color: var(--brand-deep); background: transparent; font-size: 19px; }
.quantity span { min-width: 28px; text-align: center; font-weight: 700; }
.quantity input { width: 58px; min-width: 0; height: 100%; padding: 0 6px; border: 0; border-radius: 11px; text-align: center; font: inherit; font-weight: 700; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.detail-fact { padding: 13px; background: #fff; }
.detail-fact small { display: block; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.detail-fact strong { display: block; margin-top: 3px; font-size: 13px; }
.detail-content { max-width: 760px; margin-top: 50px; }
.info-block { padding: 24px 0; border-top: 1px solid var(--line); }
.info-block h2 { font-size: 22px; }
.info-block ul { padding-left: 20px; color: var(--ink-soft); }
.info-block li { margin: 8px 0; }
.install-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.install-step { padding: 14px; border-radius: 12px; background: var(--mist); font-size: 13px; }
.install-step b { display: block; margin-bottom: 6px; color: var(--brand-deep); }

/* Cart and checkout */
.commerce-layout { display: grid; grid-template-columns: minmax(0, 1fr) 345px; gap: 26px; align-items: start; }
.cart-list { overflow: hidden; }
.cart-item { display: grid; grid-template-columns: 125px 1fr auto; gap: 15px; padding: 16px; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item .product-art { min-height: 102px; border-radius: 12px; }
.cart-item .product-art .country-code { font-size: 26px; }
.cart-item h3 { margin: 3px 0 5px; font-size: 16px; }
.cart-item .price { margin-top: 8px; }
.line-actions { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.text-button { padding: 0; border: 0; color: var(--ink-soft); background: transparent; font-size: 12px; text-decoration: underline; }
.order-summary { position: sticky; top: 96px; padding: 20px; }
.order-summary h2 { font-size: 20px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; color: var(--ink-soft); font-size: 13px; }
.summary-line strong { color: var(--ink); }
.summary-total { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 10px 0 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.summary-total small { color: var(--ink-soft); }
.summary-total .price { font-size: 25px; }
.coupon-form { display: flex; gap: 7px; padding: 12px 0 7px; border-top: 1px solid var(--line); }
.coupon-form input { min-width: 0; padding: 9px 10px; font-size: 13px; }
.coupon-form .button { flex: 0 0 auto; min-height: 38px; padding: 8px 10px; font-size: 12px; }
.checkout-section { padding: 20px; }
.checkout-section + .checkout-section { border-top: 1px solid var(--line); }
.checkout-section h2 { margin-bottom: 4px; font-size: 19px; }
.checkout-section > p { margin-bottom: 16px; font-size: 13px; }
.radio-cards { display: grid; gap: 9px; }
.radio-card { position: relative; display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; }
.radio-card:hover { border-color: var(--brand); }
.radio-card input { width: 17px; height: 17px; margin: 0; accent-color: var(--brand); }
.radio-card strong { display: block; font-size: 14px; }
.radio-card small { color: var(--ink-soft); font-size: 12px; }
.invoice-panel { display: none; }
.invoice-panel.visible { display: block; }

/* Account, orders, auth */
.account-layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 25px; align-items: start; }
.account-nav { position: sticky; top: 96px; padding: 12px; }
.account-person { padding: 11px 8px 18px; border-bottom: 1px solid var(--line); }
.avatar { display: grid; width: 42px; height: 42px; margin-bottom: 9px; place-items: center; border-radius: 50%; color: var(--brand-deep); background: var(--brand-pale); font-weight: 800; }
.account-person strong { display: block; font-size: 14px; }
.account-person small { color: var(--ink-soft); font-size: 11px; }
.account-links { display: grid; padding-top: 8px; }
.account-links a { padding: 10px 8px; border-radius: 9px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.account-links a.active, .account-links a:hover { color: var(--brand-deep); background: var(--brand-pale); }
.account-content h1 { font-size: 31px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.stat-card { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.stat-card strong { display: block; margin-top: 3px; font-size: 26px; letter-spacing: -.06em; }
.stat-card small { color: var(--ink-soft); font-weight: 700; }
.account-order { display: grid; grid-template-columns: 84px 1fr auto; gap: 13px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.account-order:last-child { border-bottom: 0; }
.order-thumb { display: grid; width: 84px; height: 64px; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #e27b42, #aa4726); font-family: "DM Mono", monospace; }
.status { padding: 4px 8px; color: var(--brand-deep); background: var(--brand-pale); }
.status.waiting { color: #875300; background: #fff3d6; }
.status.failed, .status.cancelled { color: var(--danger); background: #fff0ee; }
.order-hero { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 22px; color: #fff8f4; background: linear-gradient(135deg, #bd4e25, #68352b); }
.order-hero p { margin: 3px 0 0; color: rgba(255,248,244,.76); }
.order-hero .status { color: #99401e; background: #ffe6d6; }
.timeline { position: relative; margin: 20px 0 0 7px; padding-left: 25px; border-left: 1px solid var(--line); }
.timeline-item { position: relative; padding: 0 0 20px; }
.timeline-item::before { position: absolute; top: 3px; left: -31px; width: 11px; height: 11px; content: ""; border: 3px solid #fff; border-radius: 50%; background: #a5b2b0; box-shadow: 0 0 0 1px #a5b2b0; }
.timeline-item.done::before { background: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.timeline-item strong { display: block; font-size: 13px; }
.timeline-item small { color: var(--ink-soft); font-size: 12px; }
.redeem-banner { padding: 22px; border-radius: 16px; color: #fff9f5; background: linear-gradient(135deg, #d55b29, #783b2b); }
.redeem-banner h2, .redeem-banner p { color: inherit; }
.redeem-banner p { opacity: .75; }
.auth-page { display: grid; min-height: 100vh; grid-template-columns: 1.1fr .9fr; }
.auth-aside { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 5vw, 70px); color: #fff5ef; background: linear-gradient(155deg, #713523, #d05a2a); }
.auth-aside h1 { max-width: 520px; margin: 45px 0 13px; color: #fff; font-size: clamp(37px, 4.7vw, 58px); }
.auth-aside p { max-width: 470px; color: rgba(255,245,239,.78); }
.auth-orbit { width: min(85%, 325px); aspect-ratio: 1; margin: 25px auto 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.07), 0 0 0 68px rgba(255,255,255,.04); }
.auth-form-side { display: grid; place-items: center; padding: 28px; background: var(--paper); }
.auth-form { width: min(100%, 390px); }
.auth-form h1 { margin: 38px 0 8px; font-size: 35px; }
.social-buttons { display: grid; gap: 9px; margin-top: 22px; }
.social-button { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; font-weight: 700; }
.divider { display: flex; align-items: center; gap: 10px; margin: 23px 0; color: #96a3a2; font-size: 12px; }
.divider::before, .divider::after { flex: 1; height: 1px; content: ""; background: var(--line); }
.otp-inputs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 23px 0; }
.otp-inputs input { min-width: 0; aspect-ratio: 1; padding: 0; text-align: center; font-size: 21px; font-weight: 800; }

/* Articles */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 275px; gap: 38px; align-items: start; }
.article-list { display: grid; gap: 15px; }
.article-row { display: grid; grid-template-columns: 195px 1fr; overflow: hidden; }
.article-row .article-cover { min-height: 148px; }
.article-row .article-card-body { padding: 18px; }
.article-row .article-card-body h2 { font-size: 20px; }
.article-sidebar { position: sticky; top: 96px; padding: 18px; }
.category-links { display: grid; gap: 2px; }
.category-links a { padding: 9px; border-radius: 9px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.category-links a.active, .category-links a:hover { color: var(--brand-deep); background: var(--brand-pale); }
.reading { max-width: 760px; margin: 0 auto; }
.reading-cover { min-height: 280px; margin: 24px 0 32px; border-radius: 20px; }
.reading-body { color: var(--ink-soft); font-size: 16px; line-height: 1.9; }
.reading-body h2 { margin-top: 36px; color: var(--ink); font-size: 25px; }
.reading-body strong { color: var(--ink); }

/* Admin reusable pages */
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 25px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-nav a { padding: 8px 10px; border-radius: 8px; color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.admin-nav a.active { color: var(--brand-deep); background: var(--brand-pale); }
.admin-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.admin-kpi { padding: 17px; }
.admin-kpi strong { display: block; margin-top: 7px; font-size: 24px; letter-spacing: -.06em; }
.admin-kpi small { color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 12px 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--ink-soft); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
td form { display: inline; }
td form button { min-height: 31px; margin: 2px; padding: 6px 8px; border-radius: 7px; font-size: 11px; }
.admin-image { display: grid; width: 46px; height: 37px; place-items: center; border-radius: 7px; color: #fff; background: #ca5428; font-family: "DM Mono", monospace; font-size: 11px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 15px; }
.form-grid .span-full { grid-column: 1 / -1; }
.tabs { display: flex; gap: 4px; margin-bottom: 17px; overflow: auto; }
.tabs a { flex: 0 0 auto; padding: 9px 11px; border-bottom: 2px solid transparent; color: var(--ink-soft); font-size: 13px; font-weight: 800; }
.tabs a.active { border-color: var(--brand); color: var(--brand-deep); }

/* Footer & responsive */
.site-footer { padding: 44px 0 28px; border-top: 1px solid var(--line); background: #f7ede6; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 25px; }
.footer-grid p { max-width: 290px; font-size: 13px; }
.footer-heading { margin: 4px 0 10px; font-size: 13px; font-weight: 800; }
.footer-links { display: grid; gap: 7px; }
.footer-links a { color: var(--ink-soft); font-size: 13px; }
.footer-links a:hover { color: var(--brand-deep); }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 11px; }
.footer { margin-top: 34px; color: var(--ink-soft); font-size: 13px; }
.steps { padding-left: 20px; color: var(--ink-soft); line-height: 1.9; }
.profile { padding: 22px 0; border-top: 1px solid var(--line); }
.profile:first-of-type { padding-top: 0; border-top: 0; }
.qr { display: block; width: min(100%, 320px); margin: 14px auto; padding: 10px; border-radius: 12px; background: #fff; }
code { display: block; padding: 11px; overflow-wrap: anywhere; border-radius: 8px; color: #99401f; background: var(--brand-pale); }

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .destination-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { min-height: 470px; }
  .hero-grid { min-height: 470px; }
  .travel-card { min-height: 275px; }
  .commerce-layout { grid-template-columns: 1fr 300px; }
  .catalog-layout { grid-template-columns: 210px 1fr; gap: 18px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .shell, .site-shell, .wide { width: min(100% - 28px, 620px); }
  .shell { padding: 25px 0 48px; }
  .site-main { padding: 22px 0 52px; }
  .announcement { padding: 7px 12px; }
  .nav-row { min-height: 60px; gap: 8px; }
  .site-header .brand-logo { width: 31px; height: 31px; flex-basis: 31px; }
  .brand-wordmark { font-size: 17px; }
  .main-nav { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-actions .button { display: none; }
  .member-copy, .member-logout { display: none; }
  .member-link { width: 38px; min-height: 38px; justify-content: center; padding: 0; border-color: transparent; background: transparent; }
  .mobile-nav { display: flex; position: fixed; z-index: 35; right: 0; bottom: 0; left: 0; justify-content: space-around; padding: 8px 11px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,253,251,.95); box-shadow: 0 -7px 18px rgba(82,48,32,.07); backdrop-filter: blur(12px); }
  .mobile-nav a { display: grid; min-width: 48px; place-items: center; color: var(--ink-soft); font-size: 10px; font-weight: 700; }
  .mobile-nav a span:first-child { font-size: 18px; line-height: 1.3; }
  .mobile-nav a.active { color: var(--brand-deep); }
  .hero { min-height: 548px; }
  .hero::before { background: linear-gradient(0deg, rgba(50,30,23,.89), rgba(50,30,23,.22) 60%), linear-gradient(90deg, rgba(50,30,23,.89), rgba(50,30,23,.24)); }
  .hero::after { right: -122px; bottom: -117px; width: 270px; height: 270px; }
  .hero-media img { object-position: 63% center; }
  .hero-grid { min-height: 548px; }
  .hero-content { display: flex; min-height: 548px; flex-direction: column; justify-content: flex-end; padding: 47px 0 54px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 14px; }
  .hero-search { width: 100%; margin-top: 22px; }
  .hero-search .button { padding-right: 13px; padding-left: 13px; font-size: 13px; }
  .hero-points { gap: 7px 13px; margin-top: 16px; font-size: 11px; }
  .destination-spotlight { padding: 34px 0 36px; }
  .spotlight-head { margin-bottom: 17px; }
  .travel-card-grid { grid-template-columns: 1fr; gap: 11px; }
  .travel-card { min-height: 216px; }
  .travel-card > img { object-position: center 56%; }
  .travel-card-copy { right: 18px; bottom: 18px; left: 18px; }
  .travel-card-copy strong { font-size: 29px; }
  .destination-overview { padding-top: 28px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item { min-height: 54px; padding: 8px; font-size: 11px; }
  .section { padding: 28px 0; }
  .section-head { align-items: flex-start; }
  .section-head .button-outline { display: none; }
  .destination-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .destination-card { min-height: 105px; }
  .product-grid, .article-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card .product-art { min-height: 119px; }
  .product-card-body { padding: 11px; }
  .product-card h3 { font-size: 13px; }
  .price { font-size: 16px; }
  .how-grid { grid-template-columns: 1fr; gap: 9px; }
  .how-card { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 17px; }
  .how-card .step-number { grid-row: 1 / 3; margin: 0; }
  .how-card h3 { margin-top: 3px; }
  .how-card p { grid-column: 2; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 23px 16px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 5px; padding-bottom: 45px; }
  .catalog-layout, .commerce-layout, .account-layout, .article-layout, .product-detail { grid-template-columns: 1fr; gap: 17px; }
  .filter-panel, .account-nav, .article-sidebar, .product-summary, .order-summary { position: static; }
  .filter-panel { display: none; }
  .catalog-toolbar { align-items: flex-start; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .product-art.product-hero { min-height: 260px; aspect-ratio: auto; }
  .buy-box { grid-template-columns: auto 1fr; }
  .buy-box .button:last-child { grid-column: 1 / -1; }
  .detail-content { margin-top: 28px; }
  .install-steps { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 88px 1fr; padding: 13px; }
  .cart-item .product-art { min-height: 75px; }
  .cart-item .line-actions { grid-column: 1 / -1; }
  .field-row, .form-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .stat-card { padding: 11px; }
  .stat-card strong { font-size: 21px; }
  .account-order { grid-template-columns: 62px 1fr; }
  .account-order .button, .account-order .status { grid-column: 2; justify-self: start; }
  .order-thumb { width: 62px; height: 54px; }
  .article-row { grid-template-columns: 1fr; }
  .article-row .article-cover { min-height: 120px; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-form-side { min-height: 100vh; align-items: start; padding-top: 34px; }
  .admin-kpis { grid-template-columns: repeat(2, 1fr); }
  .hide-sm { display: none; }
  .panel { padding: 17px; }
}

@media (max-width: 390px) {
  .product-grid, .article-grid { grid-template-columns: 1fr 1fr; }
  .product-card .product-art { min-height: 105px; }
  .hero h1 { font-size: 35px; }
  .cart-item h3 { font-size: 14px; }
}
