/* Beadoroma: the shop's own colours (black, cyan, gold, a touch of pink) in a cleaner layout. */
:root {
  color-scheme: dark;
  --ground: #000000;
  --panel: #0e0e0e;
  --panel-2: #151515;
  --line: #1d4a4a;
  --text: #eef6f6;
  --soft: #c3d0ca;
  --cyan: #4affff;
  --gold: #e0bf5d;
  --gold-text: #e9cf7a;
  --pink: #ff6bf3;
  --wood: #3a2412;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font: 17px/1.55 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
a:hover { color: var(--gold-text); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--gold); color: #16130a; padding: 10px 14px; border-radius: 6px; }

/* ----- header ----- */
.head { background: var(--ground); }
.head-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 34px; padding-block: 18px 14px; }
.logo { display: flex; flex-direction: column; align-items: flex-start; gap: 0; text-decoration: none; }
.logo-img { width: 260px; height: auto; margin: -8px 0 -4px -14px; -webkit-mask-image: radial-gradient(ellipse 54% 62% at center, #000 84%, transparent 100%); mask-image: radial-gradient(ellipse 54% 62% at center, #000 84%, transparent 100%); }
.logo-tag { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.nav { flex: 1 1 480px; display: flex; flex-wrap: wrap; gap: 0 20px; font-weight: 700; font-size: 16px; }
.nav a { color: var(--text); text-decoration: none; padding: 11px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--gold-text); }
.nav a[aria-current] { color: var(--gold-text); border-bottom-color: var(--gold); }
.nav .nav-craft { color: var(--cyan); }

.garland { height: 14px; background-image: radial-gradient(circle, var(--g1) 5px, transparent 5.5px), radial-gradient(circle, var(--g2) 5px, transparent 5.5px), radial-gradient(circle, var(--g3) 5px, transparent 5.5px); background-size: 72px 14px; background-position: 0 0, 24px 0, 48px 0; background-repeat: repeat-x; }

/* ----- shared pieces ----- */
.kicker { font-size: 13.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); }
.lead { font-size: 19px; color: var(--soft); max-width: 40em; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 6px; border: 2px solid transparent; }
.btn-gold { background: var(--gold); color: #16130a; }
.btn-gold:hover { background: #f0d47a; color: #16130a; }
.btn-line { border-color: var(--cyan); color: var(--cyan); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-text); }
.frame { border: 8px solid var(--gold); border-radius: 6px; background: #000; padding: 8px; }
.frame img { width: 100%; }
.block { padding-block: 44px 60px; display: flex; flex-direction: column; gap: 22px; }
.narrow { max-width: 760px; }

/* ----- home ----- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 36px 56px; padding-block: 52px 48px; }
.hero-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-pic { flex: 1 1 400px; min-width: 0; }
.hero h1 { font-size: clamp(38px, 6vw, 62px); }
.notice { border: 1px solid #a53aa0; background: #160816; border-radius: 8px; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; max-width: 32em; }
.notice-head { font-weight: 700; color: var(--pink); }

/* ----- cards ----- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.grid-items { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 12px 12px 16px; text-decoration: none; color: var(--text); }
.card:hover { border-color: var(--gold); color: var(--text); }
.card img { width: 100%; aspect-ratio: 450 / 325; object-fit: cover; border-radius: 4px; background: #000; }
.grid-items .card img { aspect-ratio: 4 / 3; object-fit: cover; }
.card-name { font: 700 25px/1.12 var(--serif); padding: 0 4px; }
.grid-items .card-name { font: 700 17px/1.3 var(--sans); }
.card-sub { font-size: 15.5px; color: var(--soft); padding: 0 4px; }
.price { color: var(--gold-text); font-weight: 700; }
.card-craft { background: var(--wood); border: 2px solid var(--gold); justify-content: center; gap: 14px; padding: 26px 24px; }
.card-craft .card-sub { color: #ead9c4; padding: 0; }
.card-big { font: 700 32px/1.08 var(--serif); }
.card-craft .btn { align-self: flex-start; }

/* ----- section and folder pages ----- */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14.5px; color: var(--soft); }
.crumbs a { color: var(--soft); }
.count { color: var(--soft); font-size: 15.5px; }
.with-side { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 28px 40px; }
.side { flex: 1 1 200px; max-width: 250px; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px 8px; }
.side-head { font: 700 21px/1.2 var(--serif); color: var(--gold-text); padding: 2px 10px 10px; }
.side a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 5px; font-size: 16px; }
.side a:hover { background: var(--panel-2); color: var(--gold-text); }
.side a[aria-current] { background: #0b2a2a; color: var(--cyan); font-weight: 700; }
.main-col { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

/* ----- one item ----- */
.item { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.item-pics { flex: 1 1 380px; min-width: 0; max-width: 620px; display: flex; flex-direction: column; gap: 14px; }
.more-pics { display: flex; flex-wrap: wrap; gap: 10px; }
.more-pics a { border: 2px solid var(--line); border-radius: 5px; padding: 4px; }
.more-pics a:hover { border-color: var(--gold); }
.more-pics img { height: 96px; width: auto; }
.item-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.item-text h1 { font-size: clamp(30px, 4.4vw, 44px); }
.item-price { font: 700 30px/1 var(--sans); color: var(--gold-text); }
.facts { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15.5px; color: var(--soft); }
.facts div { display: flex; gap: 10px; }
.facts dt { min-width: 5em; font-weight: 700; color: var(--text); }
.facts dd { margin: 0; }
.soon { border: 1px solid #a53aa0; background: #160816; border-radius: 8px; padding: 14px 18px; color: #ffd9fb; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15.5px; }

/* ----- footer ----- */
.foot { background: #0a0a0a; border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; gap: 20px 60px; padding-block: 30px 38px; font-size: 16px; color: var(--soft); }
.foot-in > div { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; }
.foot-name { font: 700 26px/1.1 var(--serif); color: var(--gold-text); }
.foot-head { font-weight: 700; color: var(--text); }
.copyable { user-select: all; color: var(--text); }

@media (max-width: 640px) {
  .logo-img { width: 220px; }
  .nav { gap: 0 16px; font-size: 15.5px; }
  .side { max-width: none; flex-basis: 100%; flex-direction: row; flex-wrap: wrap; }
  .side-head { flex-basis: 100%; }
  .grid-items { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
}
