/*
Theme Name: GlowRoad
Theme URI: https://glowroad.online/
Author: GlowRoad
Description: Fashion and lifestyle affiliate storefront for glowroad.online. Shops follow the visitor's browser. Digital files are sold on this site.
Version: 1.4.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glowroad
*/

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
  --ink: #1f1a17;
  --body: #5c534c;
  --muted: #8a817a;
  --canvas: #f6f1ea;
  --paper: #ffffff;
  --line: #e4dcd2;
  --accent: #9a3b4a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: Figtree, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
button, [role="button"], input, select { font: inherit; }
button, [role="button"] { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus { top: 8px; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.bar {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}
.logo {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 18px;
}
.search {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.search input, .field input, .field textarea, .field select {
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 0 12px;
  width: min(280px, 46vw);
}
.field textarea { height: auto; padding: 10px 12px; width: 100%; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-bottom: 10px; }
.nav a, .text-link { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.menu-btn { display: none; height: 44px; border: 1px solid var(--ink); background: var(--paper); padding: 0 12px; }
.hero { padding: 48px 0 16px; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 8px; }
h1 { font-size: 40px; font-weight: 600; max-width: 18ch; }
.lede { max-width: 62ch; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn, button.btn, a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--accent);
  color: var(--paper);
  text-decoration: none;
  border: 0;
  font-weight: 650;
  font-weight: 600;
}
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; background: #efe8df; }
.card div, .pad { padding: 12px; }
.card strong { color: var(--ink); display: block; }
.section { padding: 28px 0; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 28px; }
.shops { display: grid; gap: 8px; margin-top: 12px; }
.shops a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; }
.shops a.primary { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.filters a, .chip {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.filters a.on { border-color: var(--ink); }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share button, .follow a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.site-footer { background: var(--ink); color: #f3ece4; margin-top: 48px; padding: 40px 0 24px; }
.site-footer a { color: #f3ece4; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 24px; }
.follow { display: flex; flex-wrap: wrap; gap: 8px; }
.follow a { border-color: rgba(255,255,255,.35); background: transparent; color: #f3ece4; }
.fine { border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding-top: 12px; font-size: 12px; opacity: .8; }
.note { font-size: 13px; color: var(--body); }
.ask {
  position: fixed;
  left: 16px;
  bottom: 72px;
  z-index: 30;
  width: min(360px, calc(100vw - 24px));
}
.ask panel {
  display: none;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 8px;
  max-height: 70vh;
  overflow: auto;
}
.ask.open panel { display: block; }
.ask header, .ask form, .ask .log { padding: 12px; }
.ask header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.ask form { display: flex; gap: 8px; border-top: 1px solid var(--line); }
.ask input { flex: 1; width: auto; }
.bubble { margin: 8px 0; font-size: 14px; color: var(--ink); }
.bubble.user { background: var(--ink); color: var(--paper); padding: 8px 10px; }
.desk { display: grid; gap: 12px; max-width: 760px; }
.desk table { width: 100%; border-collapse: collapse; background: var(--paper); }
.desk th, .desk td { border-bottom: 1px solid var(--line); text-align: left; padding: 8px; font-size: 14px; vertical-align: top; }
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .product, .foot-grid { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  .search { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; padding-bottom: 12px; }
  .nav.open a { min-height: 44px; display: flex; align-items: center; }
}
