/*
Theme Name: Out Law Magic
Theme URI: https://outlawmagic.com/
Author: Out Law Magic
Author URI: https://outlawmagic.com/
Description: A premium WooCommerce-ready magic shop theme for Out Law Magic.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: out-law-magic
*/

:root {
  --olm-ink: #100d0d;
  --olm-charcoal: #171313;
  --olm-wine: #7b1422;
  --olm-red: #a82032;
  --olm-gold: #c99b3b;
  --olm-gold-soft: #f1d18b;
  --olm-ivory: #fff7e7;
  --olm-paper: #f7ead2;
  --olm-muted: #b9aa91;
  --olm-line: rgba(255, 247, 231, 0.16);
  --olm-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--olm-ink);
  color: var(--olm-ivory);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.admin-bar .olm-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.olm-topbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  min-height: 42px;
  padding: 8px clamp(16px, 4vw, 54px);
  background: var(--olm-wine);
  color: #fff2d8;
  font-size: 13px;
  font-weight: 700;
}

.olm-topbar p {
  margin: 0;
}

.olm-topbar a {
  color: #ffe6a8;
}

.olm-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, 290px) minmax(260px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(16px, 4vw, 54px);
  background: rgba(16, 13, 13, 0.94);
  border-bottom: 1px solid var(--olm-line);
  backdrop-filter: blur(16px);
}

.olm-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.olm-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid rgba(201, 155, 59, 0.52);
  background: radial-gradient(circle at 30% 20%, #e9c875, var(--olm-gold) 42%, #6a4516);
  color: #1c1207;
  font-family: Sora, Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.olm-brand strong {
  display: block;
  font-family: Sora, Inter, system-ui, sans-serif;
  font-size: clamp(18px, 2vw, 25px);
}

.olm-brand small {
  display: block;
  margin-top: 2px;
  color: var(--olm-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.olm-search {
  position: relative;
}

.olm-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 56px 0 18px;
  border: 1px solid rgba(255, 247, 231, 0.19);
  border-radius: 6px;
  background: rgba(255, 247, 231, 0.08);
  color: var(--olm-ivory);
  outline: none;
}

.olm-search input::placeholder {
  color: rgba(255, 247, 231, 0.56);
}

.olm-search button {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 5px;
  background: var(--olm-gold);
  color: #160d08;
  cursor: pointer;
}

.olm-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  color: #f7dfad;
  font-size: 14px;
  font-weight: 800;
}

.olm-cart {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(201, 155, 59, 0.42);
  border-radius: 6px;
}

.olm-cart span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  background: var(--olm-red);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
}

.olm-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px clamp(16px, 4vw, 54px);
  background: #211716;
  border-bottom: 1px solid var(--olm-line);
  scrollbar-width: none;
}

.olm-nav::-webkit-scrollbar {
  display: none;
}

.olm-nav a {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #f5dfb5;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.olm-nav a:hover {
  border-color: rgba(201, 155, 59, 0.42);
  background: rgba(255, 247, 231, 0.06);
}

.olm-hero {
  position: relative;
  min-height: min(760px, calc(100vh - 108px));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.olm-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.olm-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 13, 13, 0.94) 0%, rgba(16, 13, 13, 0.78) 42%, rgba(16, 13, 13, 0.28) 100%),
    linear-gradient(0deg, rgba(16, 13, 13, 0.72), transparent 50%);
}

.olm-hero-content {
  width: min(760px, calc(100% - 32px));
  margin: 0 0 clamp(42px, 8vw, 96px) clamp(16px, 5vw, 74px);
}

.olm-eyebrow {
  margin: 0 0 12px;
  color: var(--olm-gold-soft);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.olm-strip strong {
  font-family: Sora, Inter, system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1;
}

.olm-hero-content > p:not(.olm-eyebrow) {
  max-width: 640px;
  color: #f4dfb7;
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.55;
}

.olm-hero-actions,
.olm-stats,
.olm-price,
.olm-section-head,
.olm-gift {
  display: flex;
  align-items: center;
}

.olm-hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.olm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 900;
}

.olm-btn.primary {
  background: var(--olm-gold);
  color: #1a1008;
}

.olm-btn.ghost {
  border: 1px solid rgba(255, 247, 231, 0.28);
  color: var(--olm-ivory);
  background: rgba(255, 247, 231, 0.08);
}

.olm-stats {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.olm-stats span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 247, 231, 0.16);
  border-radius: 6px;
  background: rgba(16, 13, 13, 0.58);
  color: #dac5a0;
  font-size: 13px;
}

.olm-stats strong {
  display: block;
  color: var(--olm-ivory);
  font-size: 18px;
}

.olm-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--olm-line);
  border-bottom: 1px solid var(--olm-line);
  background: var(--olm-charcoal);
}

.olm-strip a {
  min-height: 122px;
  padding: 24px clamp(16px, 3vw, 34px);
  border-right: 1px solid var(--olm-line);
}

.olm-strip span {
  color: var(--olm-gold);
  font-size: 12px;
  font-weight: 900;
}

.olm-strip strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 19px;
}

.olm-strip small {
  color: var(--olm-muted);
  font-size: 14px;
}

.olm-section,
.olm-cats,
.olm-split,
.olm-gift,
.olm-footer {
  padding: clamp(58px, 8vw, 104px) clamp(16px, 4vw, 54px);
}

.olm-section-head {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.olm-section-head h2,
.olm-cats h2,
.olm-split-copy h2,
.olm-gift h2 {
  margin: 0;
  font-size: clamp(31px, 4.5vw, 54px);
  line-height: 1.05;
}

.olm-section-head a {
  color: var(--olm-gold-soft);
  font-weight: 900;
}

.olm-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.olm-product {
  overflow: hidden;
  border: 1px solid rgba(255, 247, 231, 0.14);
  border-radius: 8px;
  background: #201817;
  box-shadow: var(--olm-shadow);
}

.olm-visual {
  position: relative;
  min-height: 245px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 233, 166, 0.24), transparent 28%),
    linear-gradient(135deg, #2a1c1a, #0e0b0b);
  overflow: hidden;
}

.olm-visual::before,
.olm-visual::after {
  content: "";
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
}

.olm-visual.cards::before {
  width: 90px;
  height: 128px;
  left: 42%;
  top: 43px;
  background: linear-gradient(145deg, #faf4e6, #c72b3e);
  transform: rotate(-10deg);
}

.olm-visual.cards::after {
  width: 90px;
  height: 128px;
  left: 31%;
  top: 60px;
  background: linear-gradient(145deg, #fff8e8, #111);
  transform: rotate(11deg);
}

.olm-visual.coins::before {
  width: 116px;
  height: 116px;
  left: calc(50% - 58px);
  top: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ffe49e, #bd8430 55%, #5f3a13);
}

.olm-visual.coins::after {
  width: 76px;
  height: 76px;
  left: 35%;
  top: 105px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff1b8, #c7953f 55%, #633d15);
}

.olm-visual.mental::before {
  width: 118px;
  height: 152px;
  left: calc(50% - 59px);
  top: 47px;
  background: linear-gradient(160deg, #efe0c1, #6e1522 58%, #21100d);
}

.olm-visual.mental::after {
  width: 84px;
  height: 8px;
  left: calc(50% - 42px);
  top: 90px;
  background: rgba(255, 247, 231, 0.52);
}

.olm-visual.box::before {
  width: 132px;
  height: 120px;
  left: calc(50% - 66px);
  top: 74px;
  background: linear-gradient(135deg, #2d2017, #7b1422);
}

.olm-visual.box::after {
  width: 152px;
  height: 22px;
  left: calc(50% - 76px);
  top: 62px;
  background: linear-gradient(90deg, #e1b85e, #9f6e21);
}

.olm-info {
  padding: 18px;
}

.olm-tag {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--olm-gold-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.olm-product h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.olm-product p {
  min-height: 44px;
  color: var(--olm-muted);
  font-size: 14px;
  line-height: 1.45;
}

.olm-rating {
  color: var(--olm-gold);
  font-size: 13px;
}

.olm-rating span {
  color: #bcae94;
}

.olm-price {
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.olm-price strong {
  font-size: 20px;
}

.olm-price button {
  min-width: 68px;
  min-height: 38px;
  border: 0;
  border-radius: 5px;
  background: var(--olm-red);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.olm-cats {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) 1.28fr;
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
  background: var(--olm-paper);
  color: #211813;
}

.olm-cats .olm-eyebrow {
  color: #8b1726;
}

.olm-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.olm-cat-grid a {
  min-height: 106px;
  padding: 20px;
  border: 1px solid rgba(34, 24, 19, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
}

.olm-cat-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.olm-cat-grid span {
  color: #67503e;
  line-height: 1.45;
}

.olm-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  background: #160f0f;
}

.olm-video {
  min-height: 460px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(201, 155, 59, 0.22), transparent 25%),
    linear-gradient(135deg, rgba(123, 20, 34, 0.72), rgba(20, 14, 13, 0.96)),
    repeating-linear-gradient(90deg, transparent, transparent 28px, rgba(255, 247, 231, 0.05) 29px);
  box-shadow: var(--olm-shadow);
}

.olm-video button {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 247, 231, 0.24);
  border-radius: 50%;
  background: var(--olm-gold);
  color: #1a1008;
  cursor: pointer;
}

.olm-video span {
  align-self: start;
  margin-top: -160px;
  color: #f7dfad;
  font-family: Sora, Inter, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.olm-split-copy p:not(.olm-eyebrow),
.olm-gift p {
  color: var(--olm-muted);
  font-size: 17px;
  line-height: 1.65;
}

.olm-split-copy ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.olm-split-copy li {
  position: relative;
  margin: 12px 0;
  padding-left: 26px;
  color: #e6d4b1;
  line-height: 1.5;
}

.olm-split-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  background: var(--olm-gold);
  transform: rotate(45deg);
}

.olm-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.olm-features article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 247, 231, 0.14);
  border-radius: 8px;
  background: linear-gradient(150deg, #251a18, #15100f);
}

.olm-features span {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 32px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(45, 118, 111, 0.28);
  color: #a9eee4;
  font-size: 12px;
  font-weight: 900;
}

.olm-features h3 {
  margin-bottom: 10px;
  font-size: 25px;
}

.olm-features p {
  color: var(--olm-muted);
  line-height: 1.58;
}

.olm-gift {
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(90deg, var(--olm-wine), #26120e 58%, #1a1110);
}

.olm-gift > div {
  max-width: 780px;
}

.olm-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr 1fr;
  gap: 28px;
  border-top: 1px solid var(--olm-line);
  background: #0d0a0a;
}

.olm-footer strong {
  display: block;
  margin-bottom: 10px;
  font-family: Sora, Inter, system-ui, sans-serif;
  font-size: 25px;
}

.olm-footer p,
.olm-footer a {
  color: var(--olm-muted);
  line-height: 1.55;
}

.olm-footer a {
  display: block;
  margin: 7px 0;
}

.olm-footer h4 {
  margin: 0 0 12px;
  color: var(--olm-ivory);
}

.olm-newsletter {
  display: grid;
  gap: 10px;
  align-content: start;
}

.olm-newsletter input {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--olm-line);
  border-radius: 6px;
  background: rgba(255, 247, 231, 0.08);
  color: var(--olm-ivory);
}

.olm-newsletter button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--olm-gold);
  color: #1a1008;
  font-weight: 900;
}

.olm-page-shell {
  min-height: 60vh;
  padding: clamp(58px, 8vw, 104px) clamp(16px, 4vw, 54px);
  background: var(--olm-ink);
}

.olm-page-shell .entry-title {
  font-size: clamp(34px, 6vw, 68px);
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #201817;
  border: 1px solid rgba(255, 247, 231, 0.14);
  border-radius: 8px;
  padding: 16px;
  color: var(--olm-ivory);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--olm-gold);
  color: #1a1008;
  border-radius: 6px;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .olm-header {
    grid-template-columns: 1fr auto;
  }

  .olm-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .olm-strip,
  .olm-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .olm-cats,
  .olm-split {
    grid-template-columns: 1fr;
  }

  .olm-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  body.admin-bar .olm-header {
    top: 46px;
  }
}

@media (max-width: 720px) {
  .olm-topbar {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .olm-header {
    position: relative;
    top: 0;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.admin-bar .olm-header {
    top: 0;
  }

  .olm-actions {
    justify-content: space-between;
  }

  .olm-hero {
    min-height: 720px;
  }

  .olm-hero img {
    object-position: 62% center;
  }

  .olm-hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 13, 13, 0.94), rgba(16, 13, 13, 0.62)),
      linear-gradient(0deg, rgba(16, 13, 13, 0.86), transparent 58%);
  }

  .olm-hero-content {
    margin: 0 auto 34px;
  }

  h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .olm-hero-actions .olm-btn {
    width: 100%;
  }

  .olm-strip,
  .olm-products,
  .olm-cat-grid,
  .olm-features,
  .olm-footer {
    grid-template-columns: 1fr;
  }

  .olm-section-head,
  .olm-gift {
    align-items: flex-start;
    flex-direction: column;
  }

  .olm-video {
    min-height: 320px;
  }

  .olm-video span {
    margin-top: -96px;
  }
}

/* Runtime fix: use CSS hero art if the packaged image is unavailable. */
.olm-hero {
  background:
    radial-gradient(circle at 74% 34%, rgba(201, 155, 59, 0.28), transparent 24%),
    linear-gradient(90deg, rgba(16, 13, 13, 0.98), rgba(16, 13, 13, 0.84) 44%, rgba(87, 26, 26, 0.58)),
    linear-gradient(135deg, #120d0d, #301311 65%, #100d0d);
}

.olm-hero img {
  display: none;
}

.olm-hero::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: 8%;
  z-index: -1;
  width: min(44vw, 520px);
  height: min(38vw, 430px);
  border: 1px solid rgba(255, 247, 231, 0.13);
  background:
    radial-gradient(circle at 68% 32%, #d9aa45, transparent 8%),
    linear-gradient(145deg, transparent 0 38%, rgba(255, 247, 231, 0.18) 39% 41%, transparent 42%),
    linear-gradient(140deg, #0b0a0a, #2c2220);
  box-shadow: var(--olm-shadow);
  opacity: 0.72;
}


/* Runtime fix: use CSS hero art if the packaged image is unavailable. */
.olm-hero {
  background:
    radial-gradient(circle at 74% 34%, rgba(201, 155, 59, 0.28), transparent 24%),
    linear-gradient(90deg, rgba(16, 13, 13, 0.98), rgba(16, 13, 13, 0.84) 44%, rgba(87, 26, 26, 0.58)),
    linear-gradient(135deg, #120d0d, #301311 65%, #100d0d);
}
.olm-hero img { display: none; }
.olm-hero::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: 8%;
  z-index: -1;
  width: min(44vw, 520px);
  height: min(38vw, 430px);
  border: 1px solid rgba(255, 247, 231, 0.13);
  background:
    radial-gradient(circle at 68% 32%, #d9aa45, transparent 8%),
    linear-gradient(145deg, transparent 0 38%, rgba(255, 247, 231, 0.18) 39% 41%, transparent 42%),
    linear-gradient(140deg, #0b0a0a, #2c2220);
  box-shadow: var(--olm-shadow);
  opacity: 0.72;
}

/* Out Law Magic cleanup: homepage coming soon state. */
.olm-hero img {
  display: block !important;
  object-position: center center;
}
.olm-hero {
  background: #100d0d !important;
}
.olm-hero::after {
  content: none !important;
}
.olm-hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 13, 13, 0.96) 0%, rgba(16, 13, 13, 0.82) 46%, rgba(16, 13, 13, 0.36) 100%),
    linear-gradient(0deg, rgba(16, 13, 13, 0.82), rgba(16, 13, 13, 0.16) 58%) !important;
}
.olm-products-soon {
  grid-template-columns: minmax(0, 680px) !important;
}
.olm-product-soon .olm-image-visual {
  min-height: 300px;
  background:
    linear-gradient(90deg, rgba(16, 13, 13, 0.24), rgba(16, 13, 13, 0.02)),
    url("https://outlawmagic.com/wp-content/uploads/2026/06/Generated-image-1-1.png") center center / cover no-repeat !important;
}
.olm-product-soon .olm-image-visual::before,
.olm-product-soon .olm-image-visual::after {
  content: none !important;
}
.olm-section-head > p {
  max-width: 520px;
  color: var(--olm-muted);
  line-height: 1.65;
}
.olm-simple-band .olm-cat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 720px) {
  .olm-simple-band .olm-cat-grid {
    grid-template-columns: 1fr;
  }
}
/* Out Law Magic site operations cleanup. */
.olm-actions { flex-wrap: wrap; justify-content: flex-end; }
.olm-auth-link { color: #fff7e7; }
.olm-page-shell { max-width: none; }
.olm-page-shell article { width: min(980px, calc(100vw - 32px)); margin: 0 auto; }
.olm-page-shell .entry-content { color: #eadcc0; font-size: 17px; line-height: 1.7; }
.olm-page-shell .entry-content h2 { margin: 34px 0 12px; font-size: clamp(26px, 3.2vw, 40px); }
.olm-page-shell .entry-content h3 { margin: 24px 0 10px; font-size: 22px; }
.olm-page-shell .entry-content a { color: var(--olm-gold-soft); font-weight: 800; }
.olm-page-shell .entry-content ul { padding-left: 22px; }
.olm-page-shell .entry-content li { margin: 8px 0; }
.olm-page-intro { margin: 0 0 28px; padding: 22px; border: 1px solid var(--olm-line); border-radius: 8px; background: rgba(255,247,231,.06); }
.olm-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.olm-info-card { padding: 22px; border: 1px solid var(--olm-line); border-radius: 8px; background: #201817; }
.olm-info-card h3 { margin-top: 0 !important; }
.olm-contact-grid { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(280px,1.2fr); gap: clamp(22px, 4vw, 46px); align-items: start; }
.olm-contact-box { padding: 24px; border: 1px solid var(--olm-line); border-radius: 8px; background: #201817; }
.wpcf7 form label { display: grid; gap: 8px; margin: 0 0 16px; color: #f6e7c8; font-weight: 800; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(255,247,231,.18); border-radius: 6px; background: rgba(255,247,231,.08); color: var(--olm-ivory); }
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 input[type="submit"] { min-height: 48px; padding: 0 20px; border: 0; border-radius: 6px; background: var(--olm-gold); color: #1a1008; font-weight: 900; cursor: pointer; }
.olm-footer .olm-newsletter { margin-top: 12px; }
.olm-footer .olm-newsletter label { color: var(--olm-ivory); font-weight: 800; }
.olm-modal[hidden] { display: none; }
.olm-modal { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.62); }
.olm-modal-panel { width: min(440px, 100%); padding: 24px; border: 1px solid rgba(255,247,231,.18); border-radius: 8px; background: #171313; color: var(--olm-ivory); box-shadow: var(--olm-shadow); }
.olm-modal-panel h3 { margin: 0 0 10px; font-size: 24px; }
.olm-modal-panel p { color: var(--olm-muted); line-height: 1.55; }
.olm-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
@media (max-width: 820px) { .olm-contact-grid, .olm-info-grid { grid-template-columns: 1fr; } .olm-actions { justify-content: flex-start; } }
/* Out Law Magic GEO/SEO content library. */
.olm-product-soon .olm-image-visual {
  min-height: 320px;
  background:
    linear-gradient(90deg, rgba(16, 13, 13, 0.18), rgba(16, 13, 13, 0.02)),
    url("https://outlawmagic.com/wp-content/uploads/2026/06/IMG_0039.PNG") center center / contain no-repeat,
    linear-gradient(135deg, #160f0f, #2a1d1b) !important;
}
.olm-product-soon .olm-image-visual::before,
.olm-product-soon .olm-image-visual::after { content: none !important; }
.olm-library-head { width: min(980px, calc(100vw - 32px)); margin: 0 auto 30px; }
.olm-library-head p:not(.olm-eyebrow) { max-width: 760px; color: var(--olm-muted); font-size: 18px; line-height: 1.65; }
.olm-article-grid { width: min(1180px, calc(100vw - 32px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.olm-article-card a { display: grid; gap: 12px; min-height: 240px; padding: 22px; border: 1px solid var(--olm-line); border-radius: 8px; background: #201817; color: var(--olm-ivory); box-shadow: var(--olm-shadow); }
.olm-article-card span { color: var(--olm-gold-soft); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.olm-article-card h2 { margin: 0; font-size: 24px; line-height: 1.15; }
.olm-article-card p { color: var(--olm-muted); line-height: 1.55; }
.olm-pagination { width: min(1180px, calc(100vw - 32px)); margin: 30px auto 0; }
.olm-pagination .nav-links { display: flex; gap: 10px; flex-wrap: wrap; }
.olm-pagination a, .olm-pagination span { padding: 8px 12px; border: 1px solid var(--olm-line); border-radius: 6px; }
@media (max-width: 980px) { .olm-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .olm-article-grid { grid-template-columns: 1fr; } }
/* QReveal product image: use a real image element so mobile caches do not keep the old background artwork. */
.olm-qreveal-visual {
	background: linear-gradient(135deg, #050505, #141010) !important;
	display: grid;
	place-items: center;
	min-height: 340px;
	padding: 24px;
}
.olm-qreveal-visual .olm-product-image {
	display: block;
	width: min(100%, 520px);
	height: 100%;
	max-height: 420px;
	object-fit: contain;
	object-position: center;
}
@media (max-width: 640px) {
	.olm-qreveal-visual { min-height: 300px; padding: 18px; }
	.olm-qreveal-visual .olm-product-image { max-height: 320px; }
}
