@charset "UTF-8";
/* ── Color System ── */
:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --sunken: #f5f5f5;
  --border: #dddddd;
  --text-body: #444444;
  --text-head: #111111;
  --text-muted: #888888;
  --accent: #c9a227;
  --accent-hov: #e5c97e;
  --nav-bg: #ffffff;
}

html.dark {
  --bg: #111111;
  --surface: #1a1a1a;
  --sunken: #0d0d0d;
  --border: #222222;
  --text-body: #cccccc;
  --text-head: #f5f5f5;
  --text-muted: #888888;
  --accent: #e5c97e;
  --accent-hov: #c9a227;
  --nav-bg: #0a0a0a;
}

* {
  scrollbar-color: var(--accent) var(--bg);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hov);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text-body);
  font-size: 12px;
  line-height: 1.75;
  transition: background 0.3s, color 0.3s;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: "Uncial Antiqua", serif;
  color: var(--text-head);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.eyebrow {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-label {
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hov);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* Remove default WordPress list styles injected by wp_nav_menu */
.site-nav ul,
.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── Nav ── */
.admin-bar .site-nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-nav {
    top: 46px;
  }
}
.site-nav {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 10%;
  display: flex;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 300;
}

.nav-logo {
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.nav-logo .logo-svg {
  height: 65px;
  width: 65px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 11px;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.15s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
}

.nav-links a.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-cta {
  background: var(--accent);
  color: #111;
  font-size: 10px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.15s;
}

.nav-cta:hover {
  background: var(--accent-hov);
}

.theme-toggle {
  background: none;
  border: none;
  padding: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.15s, transform 0.15s;
}

.theme-toggle img {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 50%;
}

.theme-toggle:hover {
  opacity: 0.8;
  transform: scale(1.08);
}

html.dark .theme-toggle img {
  filter: brightness(0) invert(1);
}

/* ── Hamburger Button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-head);
  border-radius: 2px;
  transition: background 0.2s;
}

.nav-hamburger:hover span {
  background: var(--accent);
}

/* ── Nav Overlay ── */
.nav-overlay {
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.28s ease-out, visibility 0s 0.28s;
}

.nav-overlay.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.28s ease-out, visibility 0s;
}

/* ── Nav Drawer ── */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 280px;
  background: var(--nav-bg);
  border-left: 1px solid var(--border);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.28s ease-out;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  margin-bottom: 16px;
}

.nav-drawer-close:hover {
  color: var(--text-head);
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 4px;
}

.nav-drawer-links a {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 4px;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}

.nav-drawer-links a:last-child {
  border-bottom: none;
}

.nav-drawer-links a:hover {
  color: var(--accent);
}

.nav-drawer-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.nav-drawer-cta {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 12px;
  text-decoration: none;
}

.nav-drawer-theme {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}

.nav-drawer-theme-label {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── WordPress nav menu output ── */
.nav-links .menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links .menu li {
  margin: 0;
}

.nav-links .menu li a {
  color: var(--text-body);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links .menu li a:hover,
.nav-links .menu li.current-menu-item > a {
  color: var(--accent);
}

.drawer-nav-links .menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-nav-links .menu li a {
  color: var(--text-head);
  font-size: 16px;
  text-decoration: none;
  font-family: "Uncial Antiqua", serif;
  letter-spacing: 1px;
}

.drawer-nav-links .menu li a:hover {
  color: var(--accent);
}

/* ── Cart icon ── */
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px;
  transition: color 0.15s;
}
.nav-cart:hover {
  color: var(--accent);
}

.nav-cart-count {
  position: absolute;
  top: -5px;
  right: -7px;
  background: var(--accent);
  color: #111;
  font-size: 8px;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  pointer-events: none;
}
.nav-cart-count:empty {
  display: none;
}

/* Drawer cart link */
.nav-drawer-cart {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  transition: color 0.15s;
}
.nav-drawer-cart:hover {
  color: var(--accent);
}
.nav-drawer-cart .nav-cart-count {
  position: static;
  display: inline-flex;
  margin-left: auto;
}
.nav-drawer-cart .nav-cart-count:empty {
  display: none;
}

/* ── Footer ── */
.site-footer {
  background: var(--sunken);
  border-top: 1px solid var(--border);
  padding: 40px;
}

.footer-logo {
  margin-bottom: 16px;
  display: block;
}

.footer-logo .logo-svg {
  height: 72px;
  width: 72px;
  display: block;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 11px;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--accent);
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-icons a {
  color: var(--text-muted);
  transition: color 0.15s;
}

.social-icons a[aria-label="X (Twitter)"]:hover {
  color: #1D9BF0;
}

.social-icons a[aria-label=YouTube]:hover {
  color: #FF0000;
}

.social-icons a[aria-label=Instagram]:hover {
  color: #E4405F;
}

.social-icons a[aria-label=TikTok]:hover {
  color: #FF0050;
}

.social-icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.affiliate-disclosure {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.6;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  cursor: default;
}

/* ── WordPress footer menu output ── */
.footer-links .menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links .menu li {
  margin: 0;
}

.footer-links .menu li a {
  color: var(--text-body);
  font-size: 11px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links .menu li a:hover {
  color: var(--accent);
}

/* ── Article Cards ── */
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s;
}

.article-card:hover {
  border-color: var(--accent);
}

.card-image {
  background: var(--sunken);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 1px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s ease;
}

.card-image--placeholder {
  background-color: #111111;
  background-image: url("../images/d20-outline.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 38%;
  transition: background-color 0.3s;
}

html.dark .card-image--placeholder {
  background-color: #ffffff;
}

.article-card:hover .card-image img {
  transform: scale(1.07);
}

.card-body {
  padding: 14px;
}

.card-cat {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.card-title {
  color: var(--text-head);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
}

.card-meta {
  color: var(--text-muted);
  font-size: 10px;
}

/* ── Hub Cards ── */
.hub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  border-radius: 3px;
}

.hub-card h3 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hub-card p {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.hub-card a {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
}

.hub-card a:hover {
  text-decoration: underline;
}

/* ── Category Carousel ── */
.category-carousel {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 16px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.carousel-prev,
.carousel-next {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  width: 36px;
  height: 36px;
  border-radius: 3px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--sunken);
  border-color: var(--accent);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #111;
  font-size: 10px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.15s;
}

.btn-primary:hover {
  background: var(--accent-hov);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-head);
  font-size: 10px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 2px;
  border: 1px solid var(--border);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: border-color 0.15s, color 0.15s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.buy-btn {
  display: inline-block;
  background: #e5743b;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.15s;
}

.buy-btn:hover {
  opacity: 0.85;
}

/* ── MTG Card (tap Easter egg target) ── */
.mtg-card-image {
  cursor: pointer;
  transition: transform 0.2s ease;
  transform-origin: center;
  display: block;
  border-radius: 4px;
}

.mtg-card-image.tapped {
  transform: rotate(90deg);
}

/* ── Email Opt-in ── */
.optin-section {
  background: var(--sunken);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 40px;
  text-align: center;
}

.optin-section h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.optin-section p {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 20px;
}

/* Kit (ConvertKit) injects its embedded form client-side as a left-aligned
   block with a fixed width, which ignores this section's text-align:center. */
.optin-section > div,
.optin-section form,
.optin-section .formkit-form {
  margin-left: auto;
  margin-right: auto;
}

.optin-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  max-width: 440px;
  margin: 0 auto;
}

.optin-form input[type=email] {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-body);
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 2px;
  outline: none;
}

.optin-form input[type=email]:focus {
  border-color: var(--accent);
}

.optin-disclaimer {
  color: var(--text-muted);
  font-size: 10px;
  margin-top: 10px;
}

/* ── Sidebar ── */
.sidebar-ad {
  background: var(--sunken);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 600px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 16px;
  margin-bottom: 16px;
}

.sidebar-widget h4 {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* ── Breadcrumb ── */
.breadcrumb {
  color: var(--text-muted);
  font-size: 11px;
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* ── Article Body ── */
.article-body h2 {
  font-size: 18px;
  margin: 28px 0 12px;
}

.article-body h3 {
  font-size: 15px;
  margin: 20px 0 8px;
}

.article-body p {
  margin-bottom: 16px;
  color: var(--text-body);
}

.article-body ul, .article-body ol {
  margin: 0 0 16px 20px;
  color: var(--text-body);
}

.article-body li {
  margin-bottom: 6px;
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  background: var(--sunken);
  margin: 20px 0;
  padding: 14px 20px;
  border-radius: 0 3px 3px 0;
}

.article-body blockquote p {
  color: var(--text-head);
  font-style: italic;
  font-size: 14px;
  margin-bottom: 0;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

.toc {
  background: var(--sunken);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 3px 3px 0;
}

.toc p {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.toc ol {
  margin: 0 0 0 16px;
}

.toc li {
  margin-bottom: 4px;
}

.toc a {
  color: var(--accent);
  font-size: 12px;
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

.inline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 16px;
  margin: 20px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.inline-card-info h4 {
  font-size: 13px;
  margin-bottom: 6px;
}

.inline-card-info p {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.card-price {
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.in-content-ad {
  background: var(--sunken);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 24px 0;
}

/* ── Engagement Row ── */
.engagement-row {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 16px 0;
}

.like-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: border-color 0.15s, color 0.15s;
}

.like-btn:hover, .like-btn.liked {
  border-color: #e74c3c;
  color: #e74c3c;
}

.share-links {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
}

.share-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.15s;
}

.share-links a:hover {
  color: var(--accent);
}

.comment-link {
  color: var(--text-muted);
  font-size: 11px;
  text-decoration: none;
  margin-left: auto;
  transition: color 0.15s;
}

.comment-link:hover {
  color: var(--accent);
}

/* ── Author Bio ── */
.author-bio {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 32px 0;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sunken);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.author-bio h4 {
  font-size: 13px;
  margin-bottom: 4px;
}

.author-bio p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

/* ── Category Hub Featured Card ── */
.featured-article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
}

/* ── Pagination ── */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.page-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.page-btn:hover, .page-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── 404 D20 ── */
.dice-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  cursor: pointer;
  margin: 0 auto 24px;
  transition: transform 0.1s;
}

.dice-wrap:active {
  transform: scale(0.96);
}

.dice-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dice-wrap svg path {
  transition: fill 0.4s;
}

.dice-wrap.nat-one svg path {
  fill: #c0392b;
}

@keyframes diceSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  20% {
    transform: rotate(180deg) scale(1.08);
  }
  60% {
    transform: rotate(320deg) scale(1.04);
  }
  80% {
    transform: rotate(355deg) scale(1.01);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}
.dice-wrap.spinning {
  animation: diceSpin 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.die-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  min-width: 2ch;
  text-align: center;
}

.result-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  border-radius: 3px;
  padding: 20px 24px;
  max-width: 480px;
  margin: 0 auto;
  min-height: 80px;
  text-align: left;
}

.result-box.nat-one {
  border-left-color: #c0392b;
}

.result-text strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: var(--text-head);
  margin-bottom: 6px;
}

@keyframes critPulse {
  0%, 100% {
    color: #e5c97e;
    text-shadow: 0 0 6px rgba(229, 201, 126, 0.4);
  }
  50% {
    color: #fff3c0;
    text-shadow: 0 0 18px rgba(229, 201, 126, 0.9), 0 0 32px rgba(229, 201, 126, 0.4);
  }
}
.result-text.nat-twenty strong {
  animation: critPulse 1.2s ease-in-out infinite;
}

.result-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

.reroll-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 20px;
  transition: border-color 0.15s, color 0.15s;
}

.reroll-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Scroll To Top ── */
#to-top {
  display: block;
  position: fixed;
  bottom: -60px;
  right: 28px;
  z-index: 1000;
  width: 45px;
  height: 45px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 20px;
  transition: bottom 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

#to-top:before {
  content: "";
  position: absolute;
  inset: 30%;
  transform: translateY(20%) rotate(-45deg);
  border-top: 5px solid #fff;
  border-right: 5px solid #fff;
}

#to-top.show {
  opacity: 1;
  bottom: 20px;
}

#to-top:hover {
  background-color: var(--accent-hov);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-nav {
    padding: 12px 20px;
  }
  .nav-links {
    display: none;
  }
  .optin-section {
    padding: 32px 20px;
  }
  .optin-form {
    flex-direction: column;
  }
  .site-footer {
    padding: 28px 20px;
  }
  .inline-card {
    flex-direction: column;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .featured-article-card {
    flex-direction: column;
  }
  .scry-cards {
    flex-direction: column;
    align-items: center;
  }
}
/* ── Mobile Breakpoint Additions ── */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav items */
  .nav-hamburger {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  .theme-toggle {
    display: none;
  }
  .nav-drawer .theme-toggle {
    display: flex;
  }
  /* index.html — hero grid */
  .hero-grid {
    grid-template-columns: 1fr !important;
  }
  /* index.html — latest articles grid */
  .articles-grid {
    grid-template-columns: 1fr !important;
  }
  /* index.html — deck/card of the week */
  .dotw-grid {
    grid-template-columns: 1fr !important;
  }
  /* index.html / article.html — footer grid */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  /* article.html — main content + sidebar */
  .article-layout {
    grid-template-columns: 1fr !important;
  }
  /* hub pages — article card grid */
  .hub-article-grid {
    grid-template-columns: 1fr !important;
  }
  /* contact.html — form + info column */
  #contact-grid {
    grid-template-columns: 1fr !important;
  }
  /* about.html — three pillars */
  #about-pillars {
    grid-template-columns: 1fr !important;
  }
  /* General padding reduction */
  section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .site-footer {
    padding: 28px 20px;
  }
  /* H1 scaling */
  h1 {
    font-size: clamp(22px, 6vw, 36px) !important;
  }
}
@media (max-width: 359px) {
  .nav-drawer {
    width: 100vw;
  }
}
#signup-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}

#signup-modal.open {
  display: flex;
}

.signup-modal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  padding: 36px 32px 28px;
  max-width: 480px;
  width: 90%;
  position: relative;
}

.signup-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.signup-modal-close:hover {
  color: var(--text-head);
}

.signup-modal-header {
  font-family: "Uncial Antiqua", serif;
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 10px;
}

.signup-modal-sub {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.signup-modal-disclaimer {
  color: var(--text-muted);
  font-size: 10px;
  text-align: center;
  margin-top: 12px;
}

/* ──────────────────────────────────────────────
   Comments — post page "Leave a Reply" area
   ────────────────────────────────────────────── */
.comments-area {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.comments-title {
  font-size: 18px;
  margin-bottom: 20px;
}
.comments-title span {
  color: var(--accent);
}

.no-comments {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 20px;
}

/* ── Comment list ── */
.comment-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.comment-list .children {
  list-style: none;
  margin: 0;
  padding-left: 32px;
}

.comment-body {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.comment-author {
  flex-shrink: 0;
}
.comment-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: block;
}
.comment-author .fn {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  color: var(--text-head);
  margin-top: 6px;
}
.comment-author .says {
  display: none;
}

.comment-metadata {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.comment-metadata a {
  color: inherit;
  text-decoration: none;
}
.comment-metadata a:hover {
  color: var(--accent);
}

.comment-content {
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.7;
}
.comment-content p {
  margin-bottom: 10px;
}
.comment-content p:last-child {
  margin-bottom: 0;
}

.comment-reply-link,
.comment-edit-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.comment-reply-link:hover,
.comment-edit-link:hover {
  color: var(--accent-hov);
}

.trackback,
.pingback {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Comment form ── */
.comment-respond {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 24px;
}

#reply-title {
  font-size: 16px;
  margin-bottom: 4px;
}
#reply-title small a {
  color: var(--accent);
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
}

.comment-notes,
.comment-form-cookies-consent {
  font-size: 11px;
  color: var(--text-muted);
}

.comment-notes {
  margin-bottom: 16px;
}

.comment-form p {
  margin-bottom: 14px;
}

.comment-form p:last-child {
  margin-bottom: 0;
}

.comment-form label {
  display: block;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-body);
  padding: 10px 14px;
  font-size: 12px;
  font-family: inherit;
  border-radius: 3px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.comment-form input[type=text]:focus,
.comment-form input[type=email]:focus,
.comment-form input[type=url]:focus,
.comment-form textarea:focus {
  border-color: var(--accent);
}

.comment-form textarea {
  resize: vertical;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
}
.comment-form-cookies-consent label {
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
}

.comment-form .form-submit {
  margin-top: 4px;
}

.comment-form #submit {
  display: inline-block;
  background: var(--accent);
  color: #111;
  font-size: 10px;
  font-weight: 700;
  padding: 10px 22px;
  border: none;
  border-radius: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}

.comment-form #submit:hover {
  background: var(--accent-hov);
}

.form-allowed-tags {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.form-allowed-tags code {
  color: var(--accent);
}

/* ============================================================
   animations.css — Page load & scroll reveal animations
   All effects are wrapped in prefers-reduced-motion so users
   who have requested reduced motion see fully-visible content.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  /* ── Nav entrance ────────────────────────────────────────── */
  @keyframes navSlideIn {
    from {
      opacity: 0;
      transform: translateY(-42px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .site-nav {
    animation: navSlideIn 0.8s ease-out both;
  }
  /* ── Hero staged reveal ──────────────────────────────────── */
  @keyframes heroRise {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes heroSlideRight {
    from {
      opacity: 0;
      transform: translateX(24px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @keyframes accentGlow {
    0% {
      text-shadow: 0 0 16px var(--accent), 0 0 40px var(--accent);
    }
    100% {
      text-shadow: none;
    }
  }
  .hero-eyebrow {
    animation: heroRise 0.5s ease-out 0.2s both, accentGlow 1.6s ease-out 0.65s both;
  }
  .hero-headline {
    animation: heroRise 0.6s ease-out 0.45s both;
  }
  .hero-sub {
    animation: heroRise 0.5s ease-out 0.7s both;
  }
  .hero-cta {
    animation: heroRise 0.4s ease-out 0.9s both;
  }
  .hero-image {
    animation: heroSlideRight 0.7s ease-out 0.55s both;
  }
  /* ── Scroll reveal base ──────────────────────────────────── */
  [data-reveal],
  .article-body h2,
  .article-body h3 {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  [data-reveal=fade-in] {
    transform: none;
    transition: opacity 0.55s ease-out;
  }
  [data-reveal].revealed,
  .article-body h2.revealed,
  .article-body h3.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  /* Stagger delays for card grids */
  [data-stagger-index="1"] {
    transition-delay: 0.1s;
  }
  [data-stagger-index="2"] {
    transition-delay: 0.2s;
  }
  [data-stagger-index="3"] {
    transition-delay: 0.3s;
  }
  [data-stagger-index="4"] {
    transition-delay: 0.4s;
  }
  [data-stagger-index="5"] {
    transition-delay: 0.5s;
  }
}
/* ── Phyrexian Mode ── */
html.phyrexian body {
  background: #000 !important;
  color: #00ff41 !important;
}

html.phyrexian .site-nav {
  background: #000 !important;
  border-bottom-color: #00ff41 !important;
}

html.phyrexian .nav-logo .logo-svg {
  filter: hue-rotate(100deg) saturate(3) brightness(1.3);
}

html.phyrexian .nav-links a {
  color: #006618 !important;
}

html.phyrexian .nav-cta {
  background: #00ff41 !important;
  color: #000 !important;
}

html.phyrexian .article-card {
  background: #001400 !important;
  border-color: #006618 !important;
}

html.phyrexian .card-cat {
  color: #00ff41 !important;
}

html.phyrexian .card-title {
  color: #00cc33 !important;
}

html.phyrexian h1, html.phyrexian h2, html.phyrexian h3 {
  color: #00ff41 !important;
}

html.phyrexian .hub-card {
  background: #001400 !important;
  border-color: #006618 !important;
}

#glitch-overlay {
  display: none;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

html.phyrexian #glitch-overlay {
  display: block;
  background: rgba(0, 0, 0, 0.65);
}

.glitch-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0px, rgba(0, 0, 0, 0.4) 1px, transparent 1px, transparent 3px);
}

.glitch-layer {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 65, 0.03) 2px, rgba(0, 255, 65, 0.03) 4px);
  animation: glitchA 0.15s steps(1) infinite;
  mix-blend-mode: screen;
}

@keyframes glitchA {
  0% {
    clip-path: inset(0 0 95% 0);
    transform: translate(-4px, 0);
  }
  25% {
    clip-path: inset(30% 0 50% 0);
    transform: translate(4px, 0);
  }
  50% {
    clip-path: inset(50% 0 30% 0);
    transform: translate(2px, 0);
  }
  75% {
    clip-path: inset(70% 0 10% 0);
    transform: translate(4px, 0);
  }
  100% {
    clip-path: inset(90% 0 2% 0);
    transform: translate(-4px, 0);
  }
}
#phyrexia-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  width: 150px;
  height: 150px;
  object-fit: contain;
  mix-blend-mode: screen;
  z-index: 1;
  animation: phyrexiaGlow 0.9s ease-in-out infinite alternate, glitchSymbol 0.1s steps(1) infinite;
}

@keyframes glitchSymbol {
  0% {
    transform: translate(-50%, -58%) skewX(0deg);
  }
  25% {
    transform: translate(-48%, -58%) skewX(-2deg);
  }
  50% {
    transform: translate(-52%, -58%) skewX(1deg);
  }
  75% {
    transform: translate(-50%, -60%) skewX(2deg);
  }
  100% {
    transform: translate(-50%, -56%) skewX(-1deg);
  }
}
@keyframes phyrexiaGlow {
  from {
    filter: invert(1) sepia(1) saturate(20) hue-rotate(104deg) drop-shadow(0 0 20px #00ff41) drop-shadow(0 0 40px #00ff41);
  }
  to {
    filter: invert(1) sepia(1) saturate(20) hue-rotate(104deg) drop-shadow(0 0 40px #00ff41) drop-shadow(0 0 80px #00ff41) drop-shadow(0 0 120px #00ff41);
  }
}
.glitch-text {
  position: absolute;
  top: 68%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Uncial Antiqua", serif;
  font-size: 28px;
  color: #00ff41;
  text-shadow: 0 0 20px #00ff41, 0 0 40px #00ff41;
  letter-spacing: 4px;
  text-align: center;
  animation: glitchText 0.1s steps(1) infinite;
  white-space: nowrap;
}

@keyframes glitchText {
  0% {
    transform: translate(-50%, -50%) skewX(0deg);
  }
  25% {
    transform: translate(-48%, -50%) skewX(-2deg);
  }
  50% {
    transform: translate(-52%, -50%) skewX(1deg);
  }
  75% {
    transform: translate(-50%, -52%) skewX(2deg);
  }
  100% {
    transform: translate(-50%, -48%) skewX(-1deg);
  }
}
#phyrexian-countdown {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid #00ff41;
  color: #00ff41;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 2px;
  display: none;
  z-index: 10000;
  letter-spacing: 2px;
  text-transform: uppercase;
}

html.phyrexian #phyrexian-countdown {
  display: block;
}

/* ── Scry UI ── */
/* ── Scry Modal ── */
#scry-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 800;
  align-items: center;
  justify-content: center;
}

#scry-modal.open {
  display: flex;
}

.scry-modal-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  max-width: 640px;
  width: 90%;
  position: relative;
  padding: 40px;
  text-align: center;
}

.scry-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s;
}

.scry-close:hover {
  color: var(--text-head);
}

.scry-label {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.scry-msg {
  color: var(--text-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  font-style: italic;
}

.scry-cards {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
}

.scry-card {
  width: 110px;
  aspect-ratio: 63/88;
  cursor: pointer;
  perspective: 600px;
  flex-shrink: 0;
  position: relative;
  z-index: 0;
}

.scry-card-flipper {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.55s ease;
}

.scry-card.revealed .scry-card-flipper {
  transform: rotateY(180deg);
}

.scry-card-face-down,
.scry-card-face-up {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scry-card-face-down {
  background: linear-gradient(145deg, #1d5490 0%, #0b2644 60%, #091e36 100%);
  border: 2px solid var(--accent);
  border-radius: 10px;
  transition: box-shadow 0.2s;
}

.scry-card:hover .scry-card-face-down {
  box-shadow: 0 0 14px rgba(229, 201, 126, 0.4);
}

.scry-card-back-img {
  width: 60%;
  opacity: 0.85;
}

.scry-card-face-up {
  background: var(--surface);
  border: 1px solid var(--accent);
  transform: rotateY(180deg);
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 10px;
  text-align: center;
  overflow: hidden;
}

#scry-hover-card {
  position: fixed;
  width: 180px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 14px;
  text-align: center;
  z-index: 9000;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -100%) translateY(-10px);
  transition: opacity 0.15s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#scry-hover-card.visible {
  opacity: 1;
}

#scry-hover-card .scry-card-title {
  font-size: 11px;
}

#scry-hover-card .scry-card-meta {
  font-size: 10px;
}

.scry-card-title {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-head);
  line-height: 1.4;
  margin-bottom: 5px;
}

.scry-card-meta {
  font-size: 8px;
  color: var(--accent);
  line-height: 1.5;
}

/* ── Commander Tip Modal ── */
#tip-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}

#tip-modal.open {
  display: flex;
}

.tip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  padding: 32px;
  max-width: 420px;
  width: 90%;
  position: relative;
}

.tip-header {
  font-family: "Uncial Antiqua", serif;
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 16px;
}

.tip-text {
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.7;
  font-style: italic;
}

.tip-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.tip-close:hover {
  color: var(--text-head);
}

/* ── Toast ── */
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface);
  border: 1px solid var(--accent);
  color: var(--text-head);
  font-size: 12px;
  padding: 12px 20px;
  border-radius: 3px;
  z-index: 8000;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  max-width: 400px;
  text-align: center;
  pointer-events: none;
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ──────────────────────────────────────────────
   WooCommerce — House of Mythos theme integration
   ────────────────────────────────────────────── */
/* ── Shop page wrapper ── */
.shop-page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 40px 60px;
}

.shop-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.shop-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.woocommerce-result-count {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin: 0;
}

.woocommerce-ordering select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-body);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 3px;
  cursor: pointer;
}
.woocommerce-ordering select:focus {
  outline: none;
  border-color: var(--accent);
}

.shop-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 60px 0;
  font-size: 14px;
}

/* ── Product grid ── */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 40px !important;
  /* WooCommerce core CSS applies a float clearfix via ::before/::after
     (content:" "; display:table) for its default float-based grid. In a
     CSS Grid container that pseudo-element still becomes a real grid item
     and eats the first cell, pushing every product card over by one. */
}
@media (max-width: 900px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}
.woocommerce ul.products::before, .woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

.woocommerce ul.products li.product {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
}

/* ── Product card ── */
.mythos-product-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s;
  height: 100%;
}
.mythos-product-card:hover {
  border-color: var(--accent);
}
.mythos-product-card:hover .mythos-product-image img {
  transform: scale(1.05);
}

.mythos-product-image {
  aspect-ratio: 4/3;
  background: var(--sunken);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.mythos-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.mythos-product-image--placeholder {
  background-color: var(--sunken);
}

.mythos-product-type-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mythos-product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: #111;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

.mythos-product-body {
  padding: 16px;
}

.mythos-product-title {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-head);
  line-height: 1.35;
  margin-bottom: 8px;
}

.mythos-product-excerpt {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.mythos-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mythos-product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}
.mythos-product-price del {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 400;
}
.mythos-product-price ins {
  text-decoration: none;
}

.mythos-product-cta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.15s;
}
.mythos-product-card:hover .mythos-product-cta {
  color: var(--accent-hov);
}

/* ── Single product page ── */
.single-product-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 40px 60px;
}

/* ── Keep Exploring panels ── */
.explore-panels {
  border-top: 1px solid var(--border);
  padding: 40px 0 0;
  margin-top: 8px;
}

.explore-panels__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.explore-panels--1 .explore-panels__grid {
  grid-template-columns: 1fr;
  max-width: 360px;
  margin: 0 auto;
}
.explore-panels--2 .explore-panels__grid {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 700px) {
  .explore-panels__grid {
    grid-template-columns: 1fr !important;
    max-width: 360px;
    margin: 0 auto;
  }
}

.explore-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.explore-panel--card {
  align-items: center;
  text-align: center;
}

.explore-panel__label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* Shop panel */
.explore-panel__shop-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 16px;
}

.explore-panel__shop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: border-color 0.15s;
}
.explore-panel__shop-item:hover {
  border-color: var(--accent);
}

.explore-panel__shop-thumb {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  background: var(--sunken);
}
.explore-panel__shop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.explore-panel__shop-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.explore-panel__shop-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-head);
  line-height: 1.3;
}

.explore-panel__shop-price {
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
}

.explore-panel__footer-link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
}
.explore-panel__footer-link:hover {
  text-decoration: underline;
}

/* Card panels (cotw + daily) */
.explore-panel__card-image {
  width: 120px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
}
.explore-panel__card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.explore-panel__card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 6px;
  line-height: 1.3;
}

.explore-panel__card-flavour {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  font-style: italic;
  flex: 1;
}

.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .single-product-layout {
    grid-template-columns: 1fr;
  }
}

.single-product-gallery {
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  background: var(--surface);
}
.single-product-gallery .woocommerce-product-gallery {
  margin: 0;
}
.single-product-gallery .woocommerce-product-gallery__wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.single-product-below {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

/* Product title + meta */
.single-product-summary .product_title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-head);
  line-height: 1.2;
  margin-bottom: 12px;
}

.single-product-summary .woocommerce-product-rating {
  margin-bottom: 12px;
}

.single-product-summary p.price,
.single-product-summary span.price {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.single-product-summary p.price del,
.single-product-summary span.price del {
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 400;
}
.single-product-summary p.price ins,
.single-product-summary span.price ins {
  text-decoration: none;
}

.single-product-summary .woocommerce-product-details__short-description {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}

/* Add to cart */
.single-product-summary form.cart {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  /* digital products: no qty */
}
.single-product-summary form.cart .qty {
  display: none;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #payment #place_order {
  background: var(--accent) !important;
  color: #111 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 3px !important;
  padding: 10px 20px !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
  text-decoration: none !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #payment #place_order:hover {
  background: var(--accent-hov) !important;
  color: #111 !important;
}

/* Product meta (SKU, categories) */
.single-product-summary .product_meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 16px;
}
.single-product-summary .product_meta a {
  color: var(--accent);
  text-decoration: none;
}
.single-product-summary .product_meta a:hover {
  text-decoration: underline;
}

/* Product tabs */
.single-product-below .woocommerce-tabs {
  margin-top: 40px;
}
.single-product-below .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 0;
  list-style: none;
  margin-bottom: 0;
}
.single-product-below .woocommerce-tabs ul.tabs li {
  margin: 0;
}
.single-product-below .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.single-product-below .woocommerce-tabs ul.tabs li a:hover {
  color: var(--text-head);
}
.single-product-below .woocommerce-tabs ul.tabs li.active a {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.single-product-below .woocommerce-tabs .panel {
  padding: 28px 0;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.75;
  border-bottom: 1px solid var(--border);
}
.single-product-below .woocommerce-tabs .panel h2 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--text-head);
}
.single-product-below .woocommerce-tabs .panel p {
  margin-bottom: 16px;
}
.single-product-below .woocommerce-tabs .panel ul, .single-product-below .woocommerce-tabs .panel ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.single-product-below .woocommerce-tabs .panel li {
  margin-bottom: 6px;
}

/* Related products */
.woocommerce .related.products {
  margin-top: 60px;
}
.woocommerce .related.products h2 {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--text-head);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ── Cart ── */
.woocommerce-cart .woocommerce {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 40px 60px;
}

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 32px;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  vertical-align: middle;
}
.woocommerce table.shop_table th {
  font-weight: 700;
  color: var(--text-head);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.woocommerce table.shop_table .product-name a {
  color: var(--text-head);
  text-decoration: none;
}
.woocommerce table.shop_table .product-name a:hover {
  color: var(--accent);
}
.woocommerce table.shop_table .amount {
  color: var(--accent);
  font-weight: 700;
}

.woocommerce .cart-collaterals .cart_totals {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 24px;
  max-width: 400px;
  margin-left: auto;
}
.woocommerce .cart-collaterals .cart_totals h2 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text-head);
}
.woocommerce .cart-collaterals .cart_totals table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.woocommerce .cart-collaterals .cart_totals table th, .woocommerce .cart-collaterals .cart_totals table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.woocommerce .cart-collaterals .cart_totals table th {
  color: var(--text-muted);
  font-weight: 400;
}
.woocommerce .cart-collaterals .cart_totals table td {
  color: var(--text-head);
  font-weight: 700;
  text-align: right;
}
.woocommerce .cart-collaterals .cart_totals table strong {
  color: var(--accent);
  font-size: 16px;
}

/* Proceed to Checkout button — needs explicit override because WC's .button.alt wins */
.wc-proceed-to-checkout {
  margin-top: 12px;
}
.wc-proceed-to-checkout a,
.wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
  background: var(--accent) !important;
  color: #111 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 14px 20px !important;
  border-radius: 3px !important;
  text-decoration: none !important;
  border: none !important;
  transition: background 0.15s !important;
}
.wc-proceed-to-checkout a:hover,
.wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--accent-hov) !important;
  color: #111 !important;
}

/* ── Checkout ── */
.woocommerce-checkout .woocommerce {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 40px 60px;
}
.woocommerce-checkout h3 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text-head);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.woocommerce form .form-row {
  margin-bottom: 16px;
}
.woocommerce form .form-row label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}
.woocommerce form .form-row input[type=text],
.woocommerce form .form-row input[type=email],
.woocommerce form .form-row input[type=tel],
.woocommerce form .form-row input[type=password],
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-body);
  font-size: 13px;
  padding: 10px 12px;
  transition: border-color 0.15s;
}
.woocommerce form .form-row input[type=text]:focus,
.woocommerce form .form-row input[type=email]:focus,
.woocommerce form .form-row input[type=tel]:focus,
.woocommerce form .form-row input[type=password]:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* ── Order confirmation / account pages ── */
.woocommerce-account .woocommerce,
.woocommerce-order .woocommerce {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 40px 60px;
}
.woocommerce-account h2,
.woocommerce-order h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-head);
}
.woocommerce-account .woocommerce-Message,
.woocommerce-order .woocommerce-Message {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-left-width: 3px;
  border-radius: 3px;
  padding: 16px 20px;
  font-size: 13px;
  margin-bottom: 24px;
  color: var(--text-body);
}

/* ── Notices ── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 3px;
  padding: 14px 20px;
  font-size: 13px;
  margin-bottom: 24px;
  color: var(--text-body);
  list-style: none;
}
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  margin-left: 12px;
}

.woocommerce-error {
  border-left-color: #c0392b;
}

/* Hide empty notice containers — prevents woocommerce-services blank error blocks */
.woocommerce-notices-wrapper:empty,
.woocommerce-error:empty {
  display: none;
}

/* ── Responsive tweaks ── */
@media (max-width: 600px) {
  .shop-page-wrapper {
    padding: 24px 20px 40px;
  }
  .woocommerce div.product {
    gap: 28px;
  }
}

/*# sourceMappingURL=main.css.map */
