:root {
  --bg: #ffffff;
  --ink: #222222;
  --muted: #6f6f6f;
  --line: #e6e6e6;
  --soft: #f5f5f5;
  --frame: #f4f1ec;
  --max: 1440px;
  --font: "Nunito", sans-serif;
  --script: "Great Vibes", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
}
img, video { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: #111; color: white; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.wrap-l { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-top, .cat-nav { width: 100%; padding: 0 30px; }
.header-top {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 508px) 1fr;
  align-items: center;
  gap: 18px;
}
.logo { justify-self: start; }
.tools { justify-self: end; }
.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 25px;
  text-transform: none;
  color: #0c2340;
}
.logo-img { height: 32px; width: auto; max-width: 168px; object-fit: contain; display: block; }
.page-photo { width: min(100%, 420px); aspect-ratio: 3 / 4; object-fit: cover; object-position: center center; background: #eee; }
.icon-btn.burger { display: none; }
.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-self: center;
  width: min(508px, 100%);
  height: 34px;
  border: 1px solid #25282b;
  border-radius: 1px;
  background: #fff;
}
.search-bar input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  padding: 0 12px;
  background: transparent;
}
.search-bar > button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #444;
}
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.tool {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 64px;
  color: #333;
  font-size: 12px;
  line-height: 1.1;
}
.tool-label { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool svg { width: 22px; height: 22px; }
.tool-ico { position: relative; display: grid; }
.tool-ico b {
  display: none;
  position: absolute;
  top: -7px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  place-items: center;
}
.cat-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  min-height: 42px;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0;
  color: #25282b;
}
.cat-nav a { padding: 8px 0 10px; border-bottom: 2px solid transparent; }
.cat-nav a.active, .cat-nav a:hover { color: #111; border-bottom-color: #111; }

#searchResults {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  max-height: 360px;
  overflow: auto;
  padding: 6px 12px 10px;
}
#searchResults[hidden] { display: none !important; }
.search-hit {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.search-hit img, .search-hit .ph { width: 48px; height: 64px; object-fit: cover; background: var(--soft); }

.stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px 0;
  background: #fff;
}
.stage-main, .stage-side {
  position: relative;
  display: block;
  width: min(42vw, calc(68vh * 0.75), 520px);
  overflow: hidden;
  background: #eee;
}
.banner {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 12px 0 0;
  background: transparent;
}
.stage-main img, .stage-main video,
.stage-side img,
.banner img, .banner video {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
  background: #eee;
}
.banner img, .banner video { width: min(42vw, calc(68vh * 0.75), 520px); }
.banner-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7%;
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
  pointer-events: none;
}
.banner-copy em {
  font-family: var(--script);
  font-style: normal;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  line-height: 0.9;
}
.banner-copy strong {
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 13px;
  text-transform: uppercase;
}

.shop-page { padding: 18px 0 64px; }
.crumbs { color: #8a8a8a; font-size: 12px; margin: 0 0 14px; }
.crumbs a:hover { color: #111; }
.crumbs span { margin: 0 4px; }
.shop-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.shop-page h1, .page-hero h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #25282b;
}
.view-tools { display: flex; align-items: center; gap: 8px; }
.cols { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid transparent; color: #222; }
.cols.on { border-color: #222; }
.cols-ico { display: grid; gap: 1px; width: 16px; height: 12px; }
.cols[data-cols="2"] .cols-ico { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.cols[data-cols="4"] .cols-ico { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.cols[data-cols="10"] .cols-ico { grid-template-columns: repeat(5, 1fr); grid-template-rows: 1fr 1fr; }
.cols-ico i { background: #222; display: block; }
.see-more {
  display: block;
  margin: 28px auto 0;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #222;
  background: #fff;
  font-weight: 600;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 22px; }
.filters a {
  color: #555;
  font-size: 14px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.filters a.on { color: #111; border-bottom-color: #111; font-weight: 700; }
.sort-label { display: flex; align-items: center; gap: 8px; color: #666; font-size: 13px; white-space: nowrap; }
.sort-label select {
  border: 1px solid var(--line);
  background: #fff;
  height: 34px;
  padding: 0 8px;
  border-radius: 2px;
}

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 12px; }
.product-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-grid.cols-10 { grid-template-columns: repeat(10, 1fr); }
.product-grid.is-limited .card:nth-child(n + 9) { display: none; }
.card { min-width: 0; }
.card-media { position: relative; background: var(--soft); aspect-ratio: 3 / 4; overflow: hidden; }
.card-media a { position: absolute; inset: 0; }
.card-media img, .card-media video, .card-media .ph { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.brand { margin: 8px 0 0; color: #25282b; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.card h3 { margin: 1px 0 0; font-family: var(--font); font-weight: 300; font-size: 12px; letter-spacing: 0; line-height: 1.35; color: #25282b; }
.card h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; color: #25282b; font-size: 12px; font-weight: 400; }
.price s { color: #888; }
.more-colors, .note { color: var(--muted); font-size: 12px; }
.wish {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #333;
}
.wish svg { width: 20px; height: 20px; }
.wish.on svg { fill: #111; }
.ph, img.is-broken { background: linear-gradient(180deg, #eee, #e4e4e4); min-height: 80px; }

.page-hero { padding: 22px 0 8px; }
.page-hero h1 { max-width: 18ch; }
.lede { color: var(--muted); max-width: 46ch; }
.eyebrow, .kicker { letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; color: #888; margin: 0 0 8px; }
.section { padding: 36px 0; }
.section-title, .center-title { font-size: 22px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; }
.center-title { text-align: center; }

.pdp { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; }
.gallery { display: grid; gap: 10px; }
.gallery img, .gallery video, .gallery .ph, .pdp-video {
  width: min(100%, 520px);
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center center;
  background: var(--soft);
}
.pdp h1 { text-transform: none; letter-spacing: 0; font-size: 20px; font-weight: 500; margin: 4px 0 8px; }
.pdp-info .brand { font-size: 13px; }
.pdp-info .price { font-size: 16px; margin: 8px 0 12px; }
.size-label { margin: 14px 0 0; font-size: 13px; }
.size-links { display: flex; gap: 16px; margin: 0 0 14px; font-size: 13px; }
.size-links a { text-decoration: underline; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.sizes button { min-width: 48px; height: 40px; border: 1px solid #ccc; background: #fff; }
.sizes button.on { background: #111; color: #fff; border-color: #111; }
.qty { display: inline-flex; border: 1px solid #ccc; }
.qty button, .qty span { width: 36px; height: 36px; display: grid; place-items: center; }
.acc { border-top: 1px solid var(--line); }
.acc button { width: 100%; text-align: left; padding: 14px 0; display: flex; justify-content: space-between; font-weight: 700; }
.acc p { display: none; margin: 0 0 14px; color: #444; }
.acc.open p { display: block; }
.buybar { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: #111;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.btn-line, .btn-light { background: #fff; color: #111; border-color: #111; }
.btn-full { width: 100%; }
.btn-dark { background: #111; color: #fff; }

.footer { border-top: 1px solid var(--line); padding: 28px 0 36px; margin-top: 28px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer h4 { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: none; }
.follow, .country { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: #333; font-size: 13px; }
.social { width: 32px; height: 32px; border: 1px solid #ccc; border-radius: 50%; display: grid; place-items: center; }
.footer a.social { display: grid; place-items: center; margin: 0; color: #25282b; }
.social svg { width: 16px; height: 16px; display: block; }
.country { display: grid; gap: 2px; justify-items: start; }
.country strong { font-weight: 700; }
.footer a, .footer p { display: block; color: #666; margin: 0 0 8px; font-size: 13px; }
.footer a:hover { color: #111; }
.legal-line { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: #888; font-size: 12px; }

.drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
}
.drawer-bg.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  z-index: 60;
  transform: translateX(104%);
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
}
.drawer.on { transform: none; }
.drawer header, .sheet header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.drawer h2 { margin: 0; font-size: 20px; }
.drawer-body { padding: 16px 18px; overflow: auto; flex: 1; }
.drawer-foot { padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; margin-bottom: 14px; }
.line img, .line .ph { width: 72px; height: 96px; object-fit: cover; background: var(--soft); }
.totals { display: grid; gap: 6px; margin: 8px 0 12px; }
.totals div { display: flex; justify-content: space-between; }
.promo-row { display: flex; gap: 8px; margin-bottom: 12px; }
.promo-row input { flex: 1; border: 1px solid var(--line); height: 42px; padding: 0 12px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; }

.sheet {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 70;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  overflow: auto;
}
.sheet.on { opacity: 1; pointer-events: auto; transform: none; }
.sheet-links { display: grid; padding: 12px 0 40px; }
.sheet-links a { font-size: 22px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--line); }

.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 10px 14px;
  border-radius: 2px;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
}
.toast.on { opacity: 1; }

.story, .contact-grid, .faq-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.story-photos, .photo-stack { display: grid; gap: 12px; justify-items: center; }
.story img, .article img.cover, .article video.cover {
  width: min(100%, 520px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
  background: var(--soft);
}
.stats, .values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat, .value, .info-card, .form { background: var(--soft); padding: 18px; }
.stat strong { display: block; font-size: 28px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.team img, .team .ph { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--soft); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card img, .blog-card video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--soft); }
.blog-card h3 { font-size: 16px; margin: 8px 0 0; font-weight: 700; }
.blog-card time { color: var(--muted); font-size: 12px; }
.form, .info-card { display: grid; gap: 10px; }
.form input, .form textarea, .field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
  min-height: 44px;
  padding: 8px 12px;
}
.form textarea, .field textarea { min-height: 120px; }
.article, .policy { width: min(820px, calc(100% - 48px)); margin: 10px auto 64px; }
.article p, .policy p, .policy li { color: #444; }
.policy h2 { font-size: 20px; margin: 22px 0 8px; }
.empty { padding: 28px 0 64px; }
.success { background: #f3f7f2; padding: 14px; }
.check label { display: flex; gap: 8px; align-items: center; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: 1fr 1fr; }
  .story, .contact-grid, .faq-layout, .pdp { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  body { overflow-x: clip; }
  .wrap, .wrap-l, .article, .policy { width: min(100% - 28px, var(--max)); }
  .icon-btn.burger { display: grid; }
  .header-top, .cat-nav { padding: 0 12px; }
  .header-top {
    width: 100%;
    min-height: 58px;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }
  .logo, .tools { justify-self: unset; }
  .logo { justify-self: center; font-size: 15px; color: #0c2340; }
  .burger { grid-column: 1; grid-row: 1; }
  .logo { grid-column: 2; grid-row: 1; }
  .tools { grid-column: 3; grid-row: 1; }
  .search-bar { grid-column: 1 / -1; grid-row: 2; display: flex; width: auto; margin: 0 4px 8px; }
  .tool { min-width: 36px; }
  .tool-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tool-ico b { display: grid; }
  .cat-nav {
    width: 100%;
    overflow-x: auto;
    gap: 18px;
    padding: 0 14px;
    white-space: nowrap;
  }
  .cat-nav a { flex: 0 0 auto; }
  .stage { flex-direction: column; align-items: center; padding: 0; gap: 8px; }
  .stage-main, .stage-side, .banner img, .banner video { width: min(100%, 480px); }
  .banner { margin: 8px 0 0; width: 100%; }
  .banner-copy em { font-size: 40px; }
  .product-grid, .product-grid.cols-2, .product-grid.cols-4, .product-grid.cols-10, .blog-grid { grid-template-columns: 1fr 1fr; gap: 16px 8px; }
  .view-tools .cols { display: none; }
  .footer-grid, .stats, .values { grid-template-columns: 1fr 1fr; gap: 16px; }
  .shop-bar { align-items: stretch; flex-direction: column; }
  .sort-label { justify-content: space-between; }
  .sort-label select { flex: 1; font-size: 16px; }
  .filters { flex-wrap: nowrap; overflow: visible; margin-left: -8px; margin-right: -8px; gap: 8px 10px; }
  .filters a { flex: 0 0 auto; white-space: nowrap; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; }
  .gallery img, .gallery video, .gallery .ph, .pdp-video { flex: 0 0 86%; scroll-snap-align: start; }
  .desk-buy { display: none; }
  .buybar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    gap: 12px;
    align-items: center;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .buybar div { min-width: 0; display: grid; }
  .buybar strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar .btn { flex: 0 0 auto; }
  body[data-page="product"] { padding-bottom: 74px; }
  .sheet-links a { font-size: 20px; }
  input, select, textarea { font-size: 16px; }
}

.account-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 72px;
}
.account-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.account-who span { display: grid; min-width: 0; }
.account-who strong { font-size: 14px; }
.account-who em { color: var(--muted); font-style: normal; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-links { display: grid; }
.account-links a, .account-links button {
  text-align: left;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: #25282b;
}
.account-links a.on { font-weight: 700; box-shadow: inset 2px 0 #111; padding-left: 10px; }
.account-main h2 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.account-main h2 + h2, .order + h2 { margin-top: 28px; }
.account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  margin: 0 0 28px;
}
.account-stats a {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 18px 8px;
  border-right: 1px solid var(--line);
}
.account-stats a:last-child { border-right: 0; }
.account-stats strong { font-size: 22px; }
.account-stats span { font-size: 12px; color: #666; text-align: center; }
.order { border: 1px solid var(--line); padding: 16px; margin-bottom: 12px; }
.order-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 13px; }
.order-status { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; text-align: right; }
.address-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.address-card p { margin: 4px 0 0; }
.account-main .form { background: transparent; padding: 0; max-width: 460px; margin-top: 18px; }
.account-main .form h3 { margin: 0; font-size: 16px; }
.account-grid { grid-template-columns: repeat(3, 1fr); }
.account-main .account-photo { width: 28px; height: 28px; }
.account-who .account-photo { width: 44px; height: 44px; }

.account-panel {
  width: min(400px, 100%);
  margin: 28px auto 72px;
  display: grid;
  gap: 12px;
}
.account-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding: 8px 0 28px;
}
.account-card h1 { text-transform: none; letter-spacing: 0; font-size: 28px; font-weight: 700; }
.account-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.account-note { margin: 4px 0 0; color: #5f6368; font-size: 13px; line-height: 1.45; text-align: center; }

.gsi-material-button {
  position: relative;
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #747775;
  border-radius: 4px;
  background: #fff;
  color: #1f1f1f;
  cursor: pointer;
  overflow: hidden;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.25px;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
  transition: background-color .218s, box-shadow .218s;
}
.gsi-material-button-state {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .218s;
}
.gsi-material-button:hover { box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15); }
.gsi-material-button:hover .gsi-material-button-state { background: #303030; opacity: .08; }
.gsi-material-button:active .gsi-material-button-state { background: #303030; opacity: .12; }
.gsi-material-button:focus-visible { outline: 2px solid #1f1f1f; outline-offset: 2px; }
.gsi-material-button-content {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
}
.gsi-material-button-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.gsi-material-button-icon svg { display: block; width: 20px; height: 20px; }
.gsi-material-button-contents { flex: 1; font-family: Roboto, Arial, sans-serif; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.gsi-material-button-spacer { width: 20px; flex: 0 0 20px; }

.siwa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: #000;
  color: #fff;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}
.siwa svg { width: 15px; height: 18px; display: block; fill: currentColor; }
.siwa:hover { background: #1d1d1f; }
.siwa:active { background: #333; }
.siwa:focus-visible { outline: 2px solid #000; outline-offset: 2px; }

@media (max-width: 800px) {
  .account-layout { grid-template-columns: 1fr; gap: 20px; }
  .account-nav, .account-main, .account-links { min-width: 0; }
  .account-links { display: flex; gap: 18px; overflow-x: auto; border-bottom: 1px solid var(--line); }
  .account-links a, .account-links button { border-bottom: 2px solid transparent; white-space: nowrap; padding: 10px 0; }
  .account-links a.on { box-shadow: none; padding-left: 0; border-bottom-color: #111; }
  .account-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}
