/*
Theme Name: Outcast Scent Lab
Theme URI: https://outcast.bukelatech.co.za
Author: Bukela Tech
Description: Premium WooCommerce storefront theme for Outcast Scent Lab 818.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.1
Text Domain: outcast-scent-lab
Domain Path: /languages
Tags: ecommerce, woocommerce, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --outcast-void: #050403;
  --outcast-black: #080604;
  --outcast-carbon: #0c0a08;
  --outcast-charcoal: #15110d;
  --outcast-cinder: #241d16;
  --outcast-ivory: #f3eadb;
  --outcast-parchment: #d8c7a6;
  --outcast-muted: #a99a84;
  --outcast-ash: #9b8c77;
  --outcast-gold: #b58a4d;
  --outcast-gold-soft: #c8a56c;
  --outcast-gold-bright: #e0b967;
  --outcast-bronze: #7e5632;
  --outcast-burgundy: #4b1018;
  --outcast-magenta: #7b2235;
  --outcast-rose: #9f3a51;
  --outcast-space-1: 0.25rem;
  --outcast-space-2: 0.5rem;
  --outcast-space-3: 0.75rem;
  --outcast-space-4: 1rem;
  --outcast-space-5: 1.5rem;
  --outcast-space-6: 2rem;
  --outcast-space-7: 3rem;
  --outcast-space-8: 4.5rem;
  --outcast-radius-sm: 0.125rem;
  --outcast-radius-md: 0.375rem;
  --outcast-radius-lg: 0.5rem;
  --outcast-shadow-warm: 0 24px 80px rgba(0, 0, 0, 0.42);
  --outcast-shadow-deep: 0 38px 110px rgba(0, 0, 0, 0.58);
  --outcast-border-hairline: 1px;
  --outcast-border-bold: 2px;
  --outcast-ornament-line: 1px;
  --outcast-container: min(100% - 2rem, 1320px);
  --outcast-container-wide: min(100% - 2rem, 1560px);
  --outcast-content-width: 920px;
  --outcast-wide-width: 1320px;
  --outcast-leading-tight: 0.92;
  --outcast-leading-body: 1.68;
  --outcast-frame-outer-inset: 0;
  --outcast-frame-inner-inset: 1.25rem;
  --outcast-frame-corner-size: clamp(3.8rem, 6vw, 6rem);
  --outcast-frame-safe-inline: clamp(2rem, 4vw, 4rem);
  --outcast-frame-safe-block: clamp(3rem, 6vw, 5rem);
  --outcast-frame-centre-width: clamp(9rem, 16vw, 16rem);
  --outcast-button-min-height: 2.875rem;
  --outcast-breakpoint-mobile: 560px;
  --outcast-breakpoint-tablet: 900px;
  --outcast-breakpoint-desktop: 1280px;
  --outcast-fast: 160ms ease;
  --outcast-smooth: 320ms cubic-bezier(0.22, 1, 0.36, 1);
  --outcast-focus: 0 0 0 3px rgba(224, 185, 103, 0.38);
  --outcast-z-decor: 0;
  --outcast-z-content: 1;
  --outcast-z-cards: 2;
  --outcast-z-header: 50;
  --outcast-z-overlay: 60;
  --outcast-admin-bar-offset: 0px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--outcast-void);
  color: var(--outcast-parchment);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 1px solid var(--outcast-gold-bright);
  box-shadow: var(--outcast-focus);
}

.outcast-container {
  width: var(--outcast-container);
  margin-inline: auto;
}

.outcast-section {
  padding-block: clamp(3.5rem, 7vw, 7rem);
}

.outcast-eyebrow {
  color: var(--outcast-gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.outcast-display {
  margin: 0;
  color: var(--outcast-ivory);
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.outcast-button,
.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--outcast-button-min-height);
  padding: 0.9rem 1.7rem;
  border: 1px solid var(--outcast-gold);
  background: var(--outcast-gold);
  color: var(--outcast-void);
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform var(--outcast-smooth), background var(--outcast-smooth), border-color var(--outcast-smooth);
  white-space: nowrap;
}

.outcast-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--outcast-gold-bright);
  border-color: var(--outcast-gold-bright);
  transform: translateY(-1px);
}

.outcast-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(181, 138, 77, 0.34);
  background: linear-gradient(180deg, rgba(21, 17, 13, 0.92), rgba(5, 4, 3, 0.94));
  color: var(--outcast-parchment);
  box-shadow: var(--outcast-shadow-warm);
}

.outcast-product-card__media {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  overflow: visible;
  place-items: center;
  padding: clamp(0.85rem, 2vw, 1.25rem);
  background:
    radial-gradient(circle at 50% 28%, rgba(224, 185, 103, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(12, 10, 8, 0.86), rgba(5, 4, 3, 0.96));
}

.outcast-product-card__media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--outcast-smooth), filter var(--outcast-smooth);
}

.woocommerce .outcast-product-card__media img,
.woocommerce-page .outcast-product-card__media img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.outcast-product-card:hover .outcast-product-card__media img {
  filter: brightness(1.06);
  transform: translateY(-2px) scale(1.025);
}

.outcast-product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.58rem;
  min-width: 0;
  padding: var(--frame-safe-block-start) var(--frame-safe-inline) var(--frame-safe-block-end);
}

.outcast-product-card__brand {
  margin: 0;
  color: var(--outcast-gold);
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.outcast-product-card__title {
  margin: 0;
  color: var(--outcast-ivory);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.08;
  overflow-wrap: break-word;
}

.outcast-product-card__price {
  margin: 0;
  color: var(--outcast-parchment);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.outcast-product-card__details {
  margin: 0;
  color: var(--outcast-muted);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.outcast-stock {
  margin: 0;
  color: var(--outcast-ash);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.outcast-stock--sold-out {
  color: #d78c8c;
}

.outcast-stock--low {
  color: var(--outcast-gold-bright);
}

.outcast-stock--backorder {
  color: var(--outcast-parchment);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: calc(var(--outcast-z-overlay) + 1);
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--outcast-gold-bright);
  color: var(--outcast-void);
}

.outcast-announcement {
  border-bottom: 1px solid rgba(181, 138, 77, 0.22);
  background: var(--outcast-carbon);
  color: var(--outcast-parchment);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.outcast-announcement p {
  margin: 0;
  padding-block: 0.55rem;
}

.outcast-site-header {
  position: sticky;
  z-index: var(--outcast-z-header);
  top: var(--outcast-admin-bar-offset);
  border-bottom: 1px solid rgba(181, 138, 77, 0.28);
  background: rgba(5, 4, 3, 0.92);
  backdrop-filter: blur(16px);
}

.outcast-site-header .outcast-container {
  width: var(--outcast-container-wide);
}

body.admin-bar {
  --outcast-admin-bar-offset: 32px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --outcast-admin-bar-offset: 46px;
  }
}

.outcast-site-header__inner {
  display: grid;
  grid-template-columns: minmax(9rem, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.4rem, 3.4vw, 3.25rem);
  min-height: 4.75rem;
}

.outcast-site-header__brand {
  display: inline-flex;
  align-items: center;
  color: var(--outcast-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.outcast-site-header__brand-logo,
.custom-logo-link img {
  display: block;
  width: clamp(7.25rem, 11vw, 10rem);
  max-width: 100%;
  max-height: 3.15rem;
  object-fit: contain;
}

.outcast-site-nav ul,
.outcast-site-footer ul,
.outcast-mobile-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.45vw, 1.45rem);
  padding: 0;
  margin: 0;
  list-style: none;
}

.outcast-site-nav {
  justify-self: center;
}

.outcast-site-nav a,
.outcast-site-footer a,
.outcast-mobile-nav a {
  color: var(--outcast-parchment);
  font-family: Arial, sans-serif;
  font-size: clamp(0.72rem, 0.78vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--outcast-fast);
  white-space: nowrap;
}

.outcast-site-nav a:hover,
.outcast-site-footer a:hover,
.outcast-mobile-nav a:hover {
  color: var(--outcast-gold-bright);
}

.outcast-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.outcast-header-actions__shop {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: 0.68rem 1.15rem;
  border: 1px solid rgba(181, 138, 77, 0.42);
  color: var(--outcast-ivory);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.outcast-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 2.65rem;
  min-height: 2.65rem;
  padding: 0.68rem 1rem;
  border: 1px solid rgba(181, 138, 77, 0.28);
  background: transparent;
  color: var(--outcast-gold-bright);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.outcast-icon-button svg {
  width: 1.12rem;
  height: 1.12rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.outcast-menu-toggle {
  display: none;
}

.outcast-search-panel,
.outcast-mobile-nav {
  position: relative;
  z-index: var(--outcast-z-overlay);
  border-top: 1px solid rgba(181, 138, 77, 0.18);
  background: var(--outcast-carbon);
}

.outcast-search-panel[hidden],
.outcast-mobile-nav[hidden] {
  display: none;
}

.outcast-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding-block: 1rem;
}

.outcast-search-form input,
.outcast-newsletter-form input {
  width: 100%;
  min-height: 2.875rem;
  border: 1px solid rgba(181, 138, 77, 0.34);
  background: rgba(255, 255, 255, 0.04);
  color: var(--outcast-ivory);
  padding-inline: 1rem;
}

.outcast-home-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(620px, 72vh, 760px);
  display: grid;
  align-items: center;
  padding-block: clamp(4.5rem, 8vw, 7rem);
  border-bottom: 1px solid rgba(181, 138, 77, 0.26);
  background:
    radial-gradient(circle at 76% 30%, rgba(224, 185, 103, 0.2), transparent 28rem),
    radial-gradient(circle at 10% 95%, rgba(75, 16, 24, 0.28), transparent 30rem),
    linear-gradient(180deg, #050403, #17120d 58%, #070605);
  isolation: isolate;
}

.outcast-home-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.outcast-home-hero::after {
  inset: 0;
  z-index: 1;
  opacity: 0.12;
  background-image: radial-gradient(rgba(243, 234, 219, 0.24) 1px, transparent 1px);
  background-size: 5px 5px;
}

.outcast-home-hero__grid {
  position: relative;
  z-index: 2;
  display: block;
}

.outcast-home-hero__lead {
  max-width: 42rem;
  color: var(--outcast-parchment);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.45;
}

.outcast-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.outcast-button--ghost {
  background: transparent;
  color: var(--outcast-gold-bright);
}

.outcast-button--ghost:hover {
  color: var(--outcast-void);
}

.outcast-frame {
  position: relative;
  --frame-outer-inset: var(--outcast-frame-outer-inset);
  --frame-safe-inline: clamp(1.35rem, 2vw, 1.85rem);
  --frame-safe-block-start: clamp(1.35rem, 2vw, 1.85rem);
  --frame-safe-block-end: clamp(1.7rem, 2.4vw, 2.3rem);
  --frame-ornament-zone: 2.75rem;
  --frame-corner-size: var(--outcast-corner-size, 3rem);
  --frame-center-ornament-width: var(--outcast-center-width, 8rem);
  --ornament-safe-inline: max(var(--frame-safe-inline), calc(var(--frame-ornament-zone) + 0.85rem));
  --ornament-safe-top: max(var(--frame-safe-block-start), calc(var(--frame-ornament-zone) + 0.65rem));
  --ornament-safe-bottom: max(var(--frame-safe-block-end), calc(var(--frame-ornament-zone) + 0.5rem));
  --ornament-corner-zone: var(--frame-ornament-zone);
  --frame-inner-inset: 0;
  border: 1px solid rgba(181, 138, 77, 0.36);
}

.outcast-frame::before,
.outcast-frame::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.outcast-frame::before {
  inset: var(--frame-outer-inset);
  border: 1px solid rgba(224, 185, 103, 0.12);
}

.outcast-frame--cinematic {
  --frame-safe-inline: var(--outcast-frame-safe-inline);
  --frame-safe-block-start: var(--outcast-frame-safe-block);
  --frame-safe-block-end: var(--outcast-frame-safe-block);
  --frame-ornament-zone: clamp(4.25rem, 7vw, 6.75rem);
  --frame-inner-inset: var(--outcast-frame-inner-inset);
  border-color: rgba(181, 138, 77, 0.54);
}

.outcast-frame--cinematic::before {
  inset: var(--frame-inner-inset);
  border-color: rgba(224, 185, 103, 0.22);
}

.outcast-frame--cinematic::after {
  inset: calc(var(--frame-inner-inset) + 0.75rem);
  border-top: 1px solid rgba(181, 138, 77, 0.2);
  border-bottom: 1px solid rgba(181, 138, 77, 0.2);
}

.outcast-frame--feature {
  --frame-safe-inline: clamp(1.4rem, 2.2vw, 2rem);
  --frame-safe-block-start: clamp(1.45rem, 2.2vw, 2.05rem);
  --frame-safe-block-end: clamp(2.15rem, 3vw, 2.75rem);
  --frame-ornament-zone: 3rem;
  --frame-inner-inset: 0.55rem;
  border-color: rgba(181, 138, 77, 0.46);
}

.outcast-frame--feature::before {
  inset: var(--frame-inner-inset);
  border-color: rgba(224, 185, 103, 0.16);
}

.outcast-frame--retail {
  --frame-safe-inline: clamp(1.25rem, 1.8vw, 1.75rem);
  --frame-safe-block-start: clamp(1.35rem, 1.9vw, 1.75rem);
  --frame-safe-block-end: clamp(1.85rem, 2.4vw, 2.45rem);
  --frame-ornament-zone: 2.2rem;
  border-color: rgba(181, 138, 77, 0.3);
}

.outcast-frame--retail::before {
  inset: var(--frame-outer-inset);
  border: 0;
  border-top: 1px solid rgba(224, 185, 103, 0.18);
}

.outcast-frame-ornaments,
.outcast-frame-corner,
.outcast-frame-center {
  position: absolute;
  pointer-events: none;
  z-index: var(--outcast-z-decor);
}

.outcast-frame-ornaments {
  inset: var(--frame-outer-inset);
  color: var(--outcast-gold);
}

.outcast-frame-corner {
  width: var(--outcast-corner-size, 3rem);
  height: var(--outcast-corner-size, 3rem);
  background-color: currentColor;
  mask: var(--outcast-corner-mask) center / contain no-repeat;
  -webkit-mask: var(--outcast-corner-mask) center / contain no-repeat;
}

.outcast-frame-corner::before,
.outcast-frame-corner::after {
  position: absolute;
  background: linear-gradient(90deg, var(--outcast-gold-bright), var(--outcast-gold));
  content: "";
  opacity: var(--outcast-corner-opacity, 0.82);
}

.outcast-frame-corner::before,
.outcast-frame-corner::after {
  display: none;
}

.outcast-frame-corner::before {
  width: 100%;
  height: 1px;
}

.outcast-frame-corner::after {
  width: 1px;
  height: 100%;
}

.outcast-frame-corner--tl {
  top: var(--outcast-corner-inset, 0.85rem);
  left: var(--outcast-corner-inset, 0.85rem);
}

.outcast-frame-corner--tr {
  top: var(--outcast-corner-inset, 0.85rem);
  right: var(--outcast-corner-inset, 0.85rem);
  transform: rotate(90deg);
}

.outcast-frame-corner--br {
  right: var(--outcast-corner-inset, 0.85rem);
  bottom: var(--outcast-corner-inset, 0.85rem);
  transform: rotate(180deg);
}

.outcast-frame-corner--bl {
  bottom: var(--outcast-corner-inset, 0.85rem);
  left: var(--outcast-corner-inset, 0.85rem);
  transform: rotate(-90deg);
}

.outcast-frame-corner--tl::before,
.outcast-frame-corner--tr::before,
.outcast-frame-corner--br::before,
.outcast-frame-corner--bl::before {
  top: 0;
  left: 0;
}

.outcast-frame-corner--tl::after,
.outcast-frame-corner--tr::after,
.outcast-frame-corner--br::after,
.outcast-frame-corner--bl::after {
  top: 0;
  left: 0;
}

.outcast-frame-center {
  left: 50%;
  width: var(--outcast-center-width, 8rem);
  height: var(--outcast-center-height, 1.4rem);
  background-color: currentColor;
  mask: var(--outcast-center-mask) center / contain no-repeat;
  -webkit-mask: var(--outcast-center-mask) center / contain no-repeat;
  transform: translateX(-50%);
}

.outcast-frame-center::before,
.outcast-frame-center::after {
  display: none;
}

.outcast-frame-ornaments--cinematic {
  --outcast-corner-mask: url("assets/svg/ornaments/corner-primary.svg");
  --outcast-center-mask: url("assets/svg/ornaments/flourish-horizontal.svg");
  --outcast-corner-size: var(--outcast-frame-corner-size);
  --outcast-corner-inset: 1.65rem;
  --outcast-center-width: var(--outcast-frame-centre-width);
  --outcast-center-height: clamp(1.25rem, 2vw, 2.25rem);
  --outcast-center-inset: 1.25rem;
}

.outcast-frame-ornaments--cinematic .outcast-frame-corner::before {
  box-shadow: 0 0.46rem 0 -0.06rem rgba(181, 138, 77, 0.42), 1.1rem 1.1rem 0 -0.06rem rgba(181, 138, 77, 0.42);
}

.outcast-frame-ornaments--cinematic .outcast-frame-corner::after {
  box-shadow: 0.46rem 0 0 -0.06rem rgba(181, 138, 77, 0.42), 1.1rem 1.1rem 0 -0.06rem rgba(181, 138, 77, 0.42);
}

.outcast-frame-ornaments--feature {
  --outcast-corner-mask: url("assets/svg/ornaments/corner-secondary.svg");
  --outcast-center-mask: url("assets/svg/ornaments/frame-accent.svg");
  --outcast-corner-size: 2.4rem;
  --outcast-corner-inset: 0.72rem;
  --outcast-center-width: 5.5rem;
  --outcast-center-height: 1.1rem;
  --outcast-center-inset: 0.5rem;
  --outcast-corner-opacity: 0.68;
}

.outcast-frame-ornaments--retail {
  --outcast-corner-mask: url("assets/svg/ornaments/corner-secondary.svg");
  --outcast-corner-size: 1.25rem;
  --outcast-corner-inset: 0.65rem;
  --outcast-center-width: 0;
  --outcast-corner-opacity: 0.54;
}

.outcast-frame-ornaments--retail .outcast-frame-center {
  display: none;
}

.outcast-frame-center--top {
  top: var(--outcast-center-inset, 0.85rem);
}

.outcast-frame-center--bottom {
  bottom: var(--outcast-center-inset, 0.85rem);
  transform: translateX(-50%) rotate(180deg);
}

.outcast-frame > *:not(.outcast-frame-ornaments) {
  position: relative;
  z-index: var(--outcast-z-content);
}

.outcast-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 14rem;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(181, 138, 77, 0.2), transparent 38%),
    linear-gradient(180deg, rgba(36, 29, 22, 0.9), rgba(5, 4, 3, 0.92));
  color: var(--outcast-gold);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.outcast-section-heading {
  max-width: 48rem;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.outcast-section-heading h2,
.outcast-editorial-split h2,
.outcast-visit-card h2,
.outcast-newsletter h2 {
  margin: 0.35rem 0 0;
  color: var(--outcast-ivory);
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.outcast-section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}

.outcast-category-grid,
.outcast-product-grid,
.outcast-edit-grid {
  display: grid;
  align-items: stretch;
  gap: 1rem;
}

.outcast-category-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}

.outcast-category-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  min-height: 12rem;
  min-width: 0;
  padding:
    var(--frame-safe-block-start)
    var(--frame-safe-inline)
    calc(var(--frame-safe-block-end) + 0.45rem);
  background: rgba(21, 17, 13, 0.68);
  text-decoration: none;
  transition: border-color var(--outcast-smooth), background var(--outcast-smooth), transform var(--outcast-smooth);
}

.outcast-category-card:hover,
.outcast-category-card:focus-visible {
  border-color: var(--outcast-gold-bright);
  background: rgba(36, 29, 22, 0.78);
  transform: translateY(-2px);
}

.outcast-category-card__label {
  display: block;
  margin: 0.95rem 0 0;
  color: var(--outcast-ivory);
  font-size: clamp(1.18rem, 1.35vw, 1.38rem);
  line-height: 1.08;
  overflow-wrap: break-word;
}

.outcast-category-card__note {
  display: block;
  align-self: start;
  margin-top: 0.65rem;
  padding-bottom: 0;
  color: var(--outcast-parchment);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.outcast-edit-grid,
.outcast-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.outcast-edit-carousel {
  position: relative;
  overflow: hidden;
  margin-inline: calc(var(--outcast-space-2) * -1);
  padding-inline: var(--outcast-space-2);
}

.outcast-edit-track {
  display: grid;
  grid-auto-columns: minmax(15.5rem, calc((100% - 3rem) / 4));
  grid-auto-flow: column;
  align-items: stretch;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  padding: 0.1rem 0.05rem 0.8rem;
  scroll-behavior: smooth;
  scroll-padding-inline: 0.05rem;
  scroll-snap-type: inline mandatory;
  scrollbar-color: rgba(224, 185, 103, 0.45) rgba(21, 17, 13, 0.5);
}

.outcast-edit-track::-webkit-scrollbar {
  height: 0.42rem;
}

.outcast-edit-track::-webkit-scrollbar-track {
  background: rgba(21, 17, 13, 0.5);
}

.outcast-edit-track::-webkit-scrollbar-thumb {
  background: rgba(224, 185, 103, 0.44);
}

.outcast-carousel-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 0.65rem;
}

.outcast-carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid rgba(224, 185, 103, 0.46);
  border-radius: 0;
  background: rgba(5, 4, 3, 0.72);
  color: var(--outcast-gold-bright);
  cursor: pointer;
  transition: background var(--outcast-smooth), border-color var(--outcast-smooth), color var(--outcast-smooth), transform var(--outcast-smooth);
}

.outcast-carousel-button:hover,
.outcast-carousel-button:focus-visible {
  border-color: var(--outcast-gold-bright);
  background: rgba(224, 185, 103, 0.14);
  color: var(--outcast-ivory);
  transform: translateY(-1px);
}

.outcast-carousel-button:disabled {
  cursor: default;
  opacity: 0.38;
  transform: none;
}

.outcast-carousel-button span {
  display: block;
  font-size: 1.2rem;
  line-height: 1;
}

.outcast-edit-card,
.outcast-product-card {
  min-width: 0;
}

.outcast-edit-card a,
.outcast-product-card__media-link,
.outcast-product-card__title a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.outcast-edit-card a {
  display: grid;
  min-height: 100%;
  grid-template-rows: auto 1fr;
}

.outcast-edit-card {
  position: relative;
  overflow: hidden;
  background: var(--outcast-carbon);
  scroll-snap-align: start;
}

.outcast-edit-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.outcast-edit-card__media .outcast-image-placeholder {
  transition: transform var(--outcast-smooth), filter var(--outcast-smooth);
}

.outcast-edit-card:hover .outcast-image-placeholder {
  filter: brightness(1.08);
  transform: scale(1.035);
}

.outcast-edit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent, rgba(224, 185, 103, 0.16), transparent);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-40%);
  transition: opacity var(--outcast-smooth), transform var(--outcast-smooth);
}

.outcast-edit-card:hover::after,
.outcast-edit-card:focus-within::after {
  opacity: 1;
  transform: translateX(40%);
}

.outcast-edit-card__body {
  position: relative;
  z-index: var(--outcast-z-content);
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
  min-height: 13rem;
  padding:
    var(--frame-safe-block-start)
    var(--frame-safe-inline)
    calc(var(--frame-safe-block-end) + 0.35rem);
}

.outcast-edit-card h3 {
  margin: 0.55rem 0 0;
  color: var(--outcast-ivory);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
  overflow-wrap: break-word;
}

.outcast-edit-card__body > p:last-child {
  align-self: end;
  margin: 1.25rem 0 0;
}

.outcast-edit-card__cta {
  color: var(--outcast-gold-bright);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color var(--outcast-smooth), transform var(--outcast-smooth);
}

.outcast-edit-card:hover .outcast-edit-card__cta,
.outcast-edit-card:focus-within .outcast-edit-card__cta {
  color: var(--outcast-ivory);
  transform: translateX(0.18rem);
}

.outcast-product-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.34rem 0.55rem;
  background: var(--outcast-burgundy);
  color: var(--outcast-ivory);
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.outcast-product-card__category {
  margin: 0;
  color: var(--outcast-ash);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
}

.outcast-product-card__category a {
  color: inherit;
  text-decoration: none;
}

.outcast-product-card__action {
  margin-top: auto;
  padding-top: 1rem;
}

.outcast-product-card__action .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.95rem;
  text-align: center;
}

.outcast-product-card__spacer {
  flex: 1 1 auto;
  min-height: 1rem;
}

.outcast-page-hero {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: clamp(2rem, 5vw, 4rem);
  padding: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(224, 185, 103, 0.14), transparent 22rem),
    linear-gradient(180deg, rgba(21, 17, 13, 0.84), rgba(5, 4, 3, 0.96));
}

.outcast-frame-safe-area {
  min-width: 0;
  width: min(100%, 76rem);
  padding:
    max(var(--ornament-safe-top), clamp(5rem, 8vw, 6.85rem))
    var(--ornament-safe-inline)
    max(var(--ornament-safe-bottom), clamp(5rem, 8vw, 6.85rem));
}

.outcast-page-hero__copy {
  min-width: 0;
  max-width: min(100%, 72rem);
  margin-inline: auto;
  text-align: center;
}

.outcast-page-hero h1,
.outcast-page-content h1 {
  margin: clamp(1.1rem, 2vw, 1.6rem) 0 0;
  color: var(--outcast-ivory);
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.9;
  text-align: center;
  text-wrap: balance;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.outcast-page-hero .outcast-eyebrow {
  margin: 0;
}

.outcast-page-hero p:not(.outcast-eyebrow) {
  margin-inline: auto;
  max-width: 48rem;
  color: var(--outcast-parchment);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
}

.outcast-page-content,
.outcast-contact-panel {
  min-width: 0;
  background: rgba(21, 17, 13, 0.72);
}

.outcast-framed-card {
  --frame-safe-inline: clamp(2rem, 3vw, 2.5rem);
  --frame-safe-block-start: clamp(2rem, 3vw, 2.5rem);
  --frame-safe-block-end: clamp(2.45rem, 3.6vw, 3rem);
  --frame-ornament-zone: 3.05rem;
  padding:
    var(--ornament-safe-top)
    var(--ornament-safe-inline)
    var(--ornament-safe-bottom);
}

.outcast-page-content {
  width: 100%;
}

.outcast-page-content > *:not(.outcast-frame-ornaments):not(.outcast-story-layout) {
  max-width: 76ch;
}

.outcast-contact-layout .outcast-page-content > *:not(.outcast-frame-ornaments) {
  max-width: none;
}

.outcast-story-layout {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
}

.outcast-story-layout--with-media {
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 0.68fr);
}

.outcast-story-layout__content {
  min-width: 0;
}

.outcast-story-layout__content > * {
  max-width: 76ch;
}

.outcast-story-layout__media {
  min-width: 0;
  margin: 0;
  padding: var(--frame-inner-inset);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(224, 185, 103, 0.12), transparent 14rem),
    rgba(5, 4, 3, 0.62);
}

.outcast-story-layout__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.outcast-page-content p,
.outcast-page-content li,
.outcast-contact-panel p {
  color: var(--outcast-parchment);
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  line-height: 1.75;
}

.outcast-page-content a {
  color: var(--outcast-gold-bright);
}

.outcast-page-content blockquote {
  margin: 2rem 0;
  padding-left: 1.25rem;
  border-left: 1px solid var(--outcast-gold);
  color: var(--outcast-ivory);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.25;
  text-transform: uppercase;
}

.outcast-page-content .wp-block-image,
.outcast-page-content .wp-block-gallery,
.outcast-page-content .wp-block-media-text,
.outcast-page-content .wp-block-columns,
.outcast-page-content .wp-block-group {
  min-width: 0;
}

.outcast-page-content .wp-block-image img,
.outcast-page-content .wp-block-gallery img,
.outcast-page-content .wp-block-media-text img {
  max-width: 100%;
  height: auto;
}

.outcast-page-content .alignwide {
  max-width: min(100%, 1120px);
}

.outcast-page-content .alignfull {
  width: 100%;
  max-width: none;
}

.outcast-page-content .wp-block-columns {
  gap: clamp(1.5rem, 4vw, 3rem);
}

.outcast-page-content .wp-block-column {
  min-width: 0;
}

.outcast-page-content .wp-block-media-text {
  gap: clamp(1.5rem, 4vw, 3rem);
}

.outcast-page-content h2,
.outcast-page-content h3,
.outcast-page-content h4 {
  color: var(--outcast-ivory);
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

.outcast-page-content h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.outcast-page-content h3 {
  font-size: clamp(1.55rem, 3vw, 2.8rem);
}

.outcast-page-content h4 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.outcast-page-content .has-lead-font-size {
  color: var(--outcast-ivory);
  line-height: 1.45;
}

.outcast-page-content .is-style-outcast-eyebrow {
  color: var(--outcast-gold);
  font-family: Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.45;
  text-transform: uppercase;
}

.outcast-page-content .is-style-outcast-editorial {
  color: var(--outcast-ivory);
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.outcast-page-content .wp-block-image.is-style-outcast-framed,
.outcast-page-content .wp-block-image.is-style-outcast-editorial {
  padding: var(--frame-inner-inset, 0.55rem);
  border: 1px solid rgba(181, 138, 77, 0.42);
  background:
    radial-gradient(circle at 50% 10%, rgba(224, 185, 103, 0.12), transparent 14rem),
    rgba(5, 4, 3, 0.62);
}

.outcast-page-content .wp-block-image.is-style-outcast-editorial img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.outcast-page-content .wp-block-group.is-style-outcast-panel,
.outcast-page-content .wp-block-group.is-style-outcast-story-section {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(181, 138, 77, 0.36);
  background: rgba(21, 17, 13, 0.68);
}

.outcast-page-content .wp-block-group.is-style-outcast-story-section {
  background:
    radial-gradient(circle at 18% 10%, rgba(181, 138, 77, 0.12), transparent 16rem),
    rgba(21, 17, 13, 0.72);
}

.outcast-page-content .wp-block-button.is-style-outcast-primary .wp-block-button__link,
.outcast-page-content .wp-block-button .wp-block-button__link {
  border: 1px solid var(--outcast-gold);
  border-radius: 0;
  background: var(--outcast-gold);
  color: var(--outcast-void);
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.outcast-page-content .wp-block-button.is-style-outcast-outline .wp-block-button__link {
  border-color: rgba(224, 185, 103, 0.74);
  background: transparent;
  color: var(--outcast-gold-bright);
}

.outcast-contact-layout {
  display: grid;
  align-items: stretch;
  gap: 1rem;
  grid-template-columns: minmax(16rem, 0.55fr) minmax(0, 1fr);
}

.outcast-contact-layout > .outcast-frame {
  height: 100%;
}

.outcast-map-section {
  margin-top: 1rem;
  background: rgba(21, 17, 13, 0.72);
}

.outcast-map-section h2 {
  margin: 0.55rem 0 1.25rem;
  color: var(--outcast-ivory);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.outcast-map-embed {
  overflow: hidden;
  border: 1px solid rgba(181, 138, 77, 0.32);
  background: rgba(5, 4, 3, 0.76);
}

.outcast-map-embed iframe {
  display: block;
  width: 100%;
  min-height: clamp(18rem, 42vw, 30rem);
  border: 0;
}

.outcast-map-embed .wp-block-embed,
.outcast-map-embed .wp-block-embed__wrapper {
  margin: 0;
}

.outcast-editorial-split,
.outcast-visit-card,
.outcast-newsletter__inner {
  display: grid;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.outcast-finder-preview,
.outcast-beauty-section,
.outcast-newsletter {
  border-block: 1px solid rgba(181, 138, 77, 0.2);
  background: linear-gradient(180deg, rgba(21, 17, 13, 0.76), rgba(5, 4, 3, 0.9));
}

.outcast-ornament {
  display: block;
  width: 6rem;
  height: 1px;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, transparent, var(--outcast-gold-bright), transparent);
}

.outcast-brand-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.outcast-brand-cloud a {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(181, 138, 77, 0.32);
  color: var(--outcast-parchment);
  font-family: Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.outcast-visit-card,
.outcast-newsletter__inner {
  border: 1px solid rgba(181, 138, 77, 0.3);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: rgba(12, 10, 8, 0.78);
}

.outcast-visit-list {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.outcast-visit-list div {
  border-bottom: 1px solid rgba(181, 138, 77, 0.18);
  padding-bottom: 1rem;
}

.outcast-visit-list dt {
  color: var(--outcast-gold);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.outcast-visit-list dd {
  margin: 0.35rem 0 0;
}

.outcast-newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
}

.outcast-site-header::before,
.outcast-site-header::after {
  position: absolute;
  right: 0;
  left: 0;
  pointer-events: none;
  content: "";
}

.outcast-site-header::before {
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 185, 103, 0.7), transparent);
  opacity: 0.42;
}

.outcast-site-header::after {
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181, 138, 77, 0.64), transparent);
}

.outcast-has-scrolled .outcast-site-header {
  background: rgba(5, 4, 3, 0.98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.outcast-has-scrolled .outcast-site-header__inner {
  min-height: 4.25rem;
}

.outcast-cart-count {
  display: inline-grid;
  min-width: 1.12rem;
  height: 1.12rem;
  margin-left: 0.34rem;
  place-items: center;
  border-radius: 99px;
  background: var(--outcast-gold);
  color: var(--outcast-void);
  font-size: 0.64rem;
  line-height: 1;
}

.outcast-search-panel {
  padding-block: 1rem;
}

.outcast-search-panel__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  background:
    radial-gradient(circle at 18% 0%, rgba(224, 185, 103, 0.13), transparent 18rem),
    rgba(12, 10, 8, 0.96);
}

.outcast-search-close {
  align-self: start;
}

.outcast-home-hero > .outcast-home-hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.outcast-home-hero__background::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.98) 0%, rgba(5, 4, 3, 0.9) 28%, rgba(5, 4, 3, 0.55) 47%, rgba(5, 4, 3, 0.12) 69%, transparent 100%),
    linear-gradient(180deg, rgba(5, 4, 3, 0.22), transparent 42%, rgba(5, 4, 3, 0.45));
  content: "";
}

.outcast-home-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.outcast-home-hero > .outcast-home-hero__grid {
  position: relative;
  z-index: 2;
}

.outcast-home-hero__copy {
  position: relative;
  z-index: 2;
  width: min(45%, 48rem);
  min-width: 30rem;
}

.outcast-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 36%, rgba(224, 185, 103, 0.2), transparent 18rem),
    radial-gradient(ellipse at 82% 64%, rgba(181, 138, 77, 0.12), transparent 26rem),
    linear-gradient(105deg, rgba(255, 255, 255, 0.05), transparent 28%, rgba(224, 185, 103, 0.08) 62%, transparent);
  opacity: 0.9;
  animation: outcast-gold-haze 24s ease-in-out infinite alternate;
}

.outcast-home-hero .outcast-frame-ornaments {
  z-index: 3;
}

.outcast-category-card::after {
  position: absolute;
  right: clamp(1.25rem, 2vw, 1.55rem);
  bottom: calc(var(--frame-safe-block-end) * 0.48);
  left: clamp(1.25rem, 2vw, 1.55rem);
  height: 1px;
  background: linear-gradient(90deg, var(--outcast-gold), transparent);
  content: "";
  opacity: 0.34;
  transform: scaleX(0.34);
  transform-origin: left;
  transition: opacity var(--outcast-smooth), transform var(--outcast-smooth);
}

.outcast-category-card:hover::after,
.outcast-category-card:focus-visible::after {
  opacity: 0.82;
  transform: scaleX(1);
}

.outcast-category-card__icon {
  display: inline-grid;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 0;
  place-items: center;
  color: var(--outcast-gold-bright);
  transition: transform var(--outcast-smooth), color var(--outcast-smooth);
}

.outcast-category-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.outcast-category-card:hover .outcast-category-card__icon,
.outcast-category-card:focus-visible .outcast-category-card__icon {
  color: var(--outcast-gold-bright);
  transform: translateY(-2px);
}

.outcast-edit-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--outcast-smooth), filter var(--outcast-smooth);
}

.outcast-edit-card:hover .outcast-edit-card__media img,
.outcast-edit-card:focus-within .outcast-edit-card__media img {
  filter: brightness(1.05);
  transform: scale(1.032);
}

.outcast-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.outcast-promo-panel {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.85rem;
  min-height: 17rem;
  min-width: 0;
  align-content: start;
  padding:
    var(--frame-safe-block-start)
    var(--frame-safe-inline)
    calc(var(--frame-safe-block-end) + 0.35rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 12%, rgba(224, 185, 103, 0.16), transparent 12rem),
    linear-gradient(180deg, rgba(21, 17, 13, 0.92), rgba(5, 4, 3, 0.96));
  color: var(--outcast-parchment);
  text-decoration: none;
}

.outcast-promo-panel__title {
  color: var(--outcast-ivory);
  font-size: clamp(1.65rem, 2.8vw, 2.6rem);
  line-height: 1.02;
  overflow-wrap: break-word;
  text-transform: uppercase;
}

.outcast-promo-panel > span:not(.outcast-eyebrow):not(.outcast-promo-panel__title):not(.outcast-text-link) {
  min-width: 0;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.outcast-promo-panel .outcast-text-link {
  align-self: end;
  margin-top: 1rem;
}

.outcast-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--outcast-gold-bright);
  font-family: Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.outcast-text-link::after {
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  content: "";
  transition: width var(--outcast-smooth);
}

.outcast-promo-panel:hover .outcast-text-link::after,
.outcast-promo-panel:focus-visible .outcast-text-link::after {
  width: 3.4rem;
}

.outcast-brand-cloud a {
  border-radius: 999px;
  background: radial-gradient(circle at 50% 0%, rgba(224, 185, 103, 0.1), transparent 80%), rgba(12, 10, 8, 0.76);
}

.outcast-product-card {
  transition: border-color var(--outcast-smooth), box-shadow var(--outcast-smooth), transform var(--outcast-smooth);
}

.outcast-product-card::after {
  position: absolute;
  right: var(--frame-safe-inline);
  bottom: calc(var(--frame-safe-block-end) * 0.42);
  left: var(--frame-safe-inline);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--outcast-gold-bright), transparent);
  content: "";
  opacity: 0.28;
  transition: opacity var(--outcast-smooth);
}

.outcast-product-card:hover,
.outcast-product-card:focus-within {
  border-color: rgba(224, 185, 103, 0.54);
  box-shadow: var(--outcast-shadow-deep);
  transform: translateY(-2px);
}

.outcast-product-card:hover::after,
.outcast-product-card:focus-within::after {
  opacity: 0.74;
}

.outcast-product-card:hover .outcast-product-card__media img {
  transform: translateY(-3px) scale(1.028);
}

.outcast-product-breadcrumb {
  margin-bottom: 1.5rem;
  color: var(--outcast-muted);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.outcast-product-breadcrumb a {
  color: var(--outcast-gold-bright);
  text-decoration: none;
}

.outcast-product-hero {
  display: grid;
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.82fr);
}

.outcast-product-media {
  overflow: hidden;
  padding: var(--frame-safe-block-start) var(--frame-safe-inline) var(--frame-safe-block-end);
  background:
    radial-gradient(circle at 50% 0%, rgba(224, 185, 103, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(21, 17, 13, 0.92), rgba(5, 4, 3, 0.96));
  box-shadow: var(--outcast-shadow-deep);
}

.outcast-product-media__main {
  position: relative;
  display: grid;
  min-height: clamp(24rem, 48vw, 44rem);
  place-items: center;
  background: rgba(5, 4, 3, 0.5);
}

.outcast-product-media__main img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 44rem;
  object-fit: contain;
}

.outcast-product-media__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.outcast-product-media__thumbs span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(181, 138, 77, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.outcast-product-media__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outcast-product-summary {
  position: sticky;
  top: calc(var(--outcast-admin-bar-offset) + 6rem);
  min-width: 0;
  padding-block: 0.75rem;
}

.outcast-product-title {
  margin: 0.35rem 0 0;
  color: var(--outcast-ivory);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.9;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.outcast-product-summary__meta,
.outcast-product-summary__family {
  color: var(--outcast-parchment);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
}

.outcast-product-summary__price {
  margin-top: 1.5rem;
  color: var(--outcast-gold-bright);
  font-family: Arial, sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
}

.outcast-product-summary__stock .stock,
.outcast-product-summary__taxonomy {
  color: var(--outcast-muted);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.outcast-product-summary__cart {
  margin-top: 1.4rem;
}

.outcast-product-summary__cart form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.outcast-product-summary__cart .quantity input,
.woocommerce .quantity input.qty {
  width: 5rem;
  min-height: 3rem;
  border: 1px solid rgba(181, 138, 77, 0.42);
  background: rgba(255, 255, 255, 0.04);
  color: var(--outcast-ivory);
  text-align: center;
}

.outcast-product-summary__taxonomy {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.outcast-product-summary__taxonomy a {
  color: var(--outcast-gold-bright);
  text-decoration: none;
}

.outcast-product-section {
  margin-top: clamp(3rem, 7vw, 6rem);
}

.outcast-product-section.outcast-frame {
  padding: var(--frame-safe-block-start) var(--frame-safe-inline) var(--frame-safe-block-end);
}

.outcast-product-story {
  max-width: 78ch;
  color: var(--outcast-parchment);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.75;
}

.outcast-profile-grid,
.outcast-notes-grid {
  display: grid;
  gap: 1rem;
}

.outcast-profile-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.outcast-notes-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.outcast-profile-item,
.outcast-note-card {
  min-width: 0;
  padding: var(--frame-safe-block-start) var(--frame-safe-inline) var(--frame-safe-block-end);
  background: rgba(21, 17, 13, 0.72);
}

.outcast-profile-item span,
.outcast-note-card .outcast-eyebrow {
  display: block;
  color: var(--outcast-gold);
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.outcast-profile-item strong,
.outcast-note-card p:last-child {
  display: block;
  margin-top: 0.6rem;
  color: var(--outcast-ivory);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.35;
  overflow-wrap: break-word;
}

.outcast-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: var(--outcast-muted);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.outcast-shop-toolbar select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce input.input-text {
  min-height: 2.85rem;
  border: 1px solid rgba(181, 138, 77, 0.34);
  background: rgba(255, 255, 255, 0.04);
  color: var(--outcast-ivory);
  padding-inline: 0.85rem;
}

.outcast-shop-toolbar select,
.woocommerce-ordering select.orderby {
  min-width: min(100%, 18rem);
  padding: 0.82rem 2.6rem 0.82rem 1rem;
  border: 1px solid rgba(181, 138, 77, 0.48);
  border-radius: 0;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--outcast-gold-bright) 50%) right 1rem center / 0.42rem 0.42rem no-repeat,
    linear-gradient(135deg, var(--outcast-gold-bright) 50%, transparent 50%) right 0.7rem center / 0.42rem 0.42rem no-repeat,
    rgba(5, 4, 3, 0.94);
  color: var(--outcast-ivory);
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.outcast-shop-toolbar select:focus,
.woocommerce-ordering select.orderby:focus {
  border-color: var(--outcast-gold-bright);
  outline: 1px solid var(--outcast-gold-bright);
  box-shadow: var(--outcast-focus);
}

.outcast-shop-toolbar select option,
.woocommerce-ordering select.orderby option {
  background: var(--outcast-carbon);
  color: var(--outcast-ivory);
}

.outcast-shop-pagination {
  margin-top: 2rem;
}

.outcast-empty-state,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  padding: var(--frame-safe-block-start) var(--frame-safe-inline) var(--frame-safe-block-end);
  border: 1px solid rgba(181, 138, 77, 0.34);
  background: rgba(21, 17, 13, 0.72);
}

.woocommerce table.shop_table,
.woocommerce-cart-form,
.cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content {
  border-color: rgba(181, 138, 77, 0.28);
  background: rgba(5, 4, 3, 0.38);
  color: var(--outcast-parchment);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: rgba(181, 138, 77, 0.22);
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
  border-top-color: var(--outcast-gold);
  background: rgba(21, 17, 13, 0.92);
  color: var(--outcast-parchment);
}

@keyframes outcast-smoke-drift {
  from {
    opacity: 0.42;
    transform: translate3d(-1.5%, 1%, 0) scale(1);
  }
  to {
    opacity: 0.68;
    transform: translate3d(1.5%, -1%, 0) scale(1.04);
  }
}

@keyframes outcast-gold-haze {
  from {
    filter: brightness(0.96);
    transform: translate3d(-0.8%, 0, 0);
  }
  to {
    filter: brightness(1.08);
    transform: translate3d(0.8%, 0, 0);
  }
}

.outcast-site-footer {
  border-top: 1px solid rgba(181, 138, 77, 0.28);
  background: #040302;
  padding-block: 3rem 1.5rem;
}

.outcast-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.6fr) minmax(0, 0.9fr);
  gap: 2rem;
}

.outcast-site-footer__brand {
  margin: 0 0 0.75rem;
  color: var(--outcast-ivory);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.outcast-site-footer nav ul {
  align-items: flex-start;
  flex-direction: column;
}

.outcast-site-footer__legal {
  margin: 2rem 0 0;
  color: var(--outcast-ash);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
}

@media (max-width: 1365px) {
  .outcast-category-grid,
  .outcast-edit-grid,
  .outcast-product-grid,
  .outcast-promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .outcast-edit-track {
    grid-auto-columns: minmax(15rem, calc((100% - 1rem) / 2));
  }

  .outcast-site-nav {
    display: none;
  }

  .outcast-menu-toggle {
    display: inline-flex;
  }

  .outcast-mobile-nav {
    padding-block: 1rem;
  }

  .outcast-mobile-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0.85rem;
  }

  .outcast-mobile-nav__shop {
    margin-top: 1rem;
  }
}

@media (max-width: 900px) {
  .outcast-frame {
    --frame-safe-inline: clamp(1.2rem, 4vw, 1.65rem);
    --frame-safe-block-start: clamp(1.25rem, 4vw, 1.7rem);
    --frame-safe-block-end: clamp(1.9rem, 5vw, 2.45rem);
    --frame-ornament-zone: 2.35rem;
  }

  .outcast-frame--feature {
    --frame-safe-inline: clamp(1.35rem, 4.5vw, 1.85rem);
    --frame-safe-block-end: clamp(2.2rem, 5.5vw, 2.8rem);
  }

  .outcast-page-hero.outcast-frame--cinematic {
    --frame-ornament-zone: clamp(3.55rem, 10vw, 5rem);
  }

  .outcast-page-hero__copy {
    max-width: none;
  }

  .outcast-story-layout--with-media {
    grid-template-columns: 1fr;
  }

  .outcast-framed-card {
    --frame-safe-inline: clamp(1.65rem, 4.5vw, 2rem);
    --frame-safe-block-start: clamp(1.75rem, 4.8vw, 2.2rem);
    --frame-safe-block-end: clamp(2.35rem, 5.8vw, 2.8rem);
  }

  .outcast-editorial-split,
  .outcast-page-hero,
  .outcast-contact-layout,
  .outcast-product-hero,
  .outcast-visit-card,
  .outcast-newsletter__inner,
  .outcast-site-footer__grid {
    grid-template-columns: 1fr;
  }

  .outcast-product-summary {
    position: static;
  }

  .outcast-profile-grid,
  .outcast-notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .outcast-page-hero h1,
  .outcast-page-content h1 {
    font-size: clamp(3.25rem, 10vw, 5.6rem);
  }

  .outcast-home-hero {
    min-height: clamp(560px, 82vh, 700px);
    padding-block: clamp(3.5rem, 10vw, 5rem);
  }

  .outcast-home-hero__copy {
    width: min(100%, 38rem);
    min-width: 0;
  }

  .outcast-home-hero__background::after {
    background:
      linear-gradient(90deg, rgba(5, 4, 3, 0.98) 0%, rgba(5, 4, 3, 0.86) 44%, rgba(5, 4, 3, 0.34) 78%, rgba(5, 4, 3, 0.16) 100%),
      linear-gradient(180deg, rgba(5, 4, 3, 0.34), transparent 36%, rgba(5, 4, 3, 0.58));
  }

  .outcast-home-hero__image {
    object-position: 72% center;
  }

  .outcast-section-heading--split {
    align-items: flex-start;
    flex-direction: column;
  }

  .outcast-search-panel__inner {
    grid-template-columns: 1fr;
  }

  .outcast-search-close {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .outcast-frame {
    --frame-safe-inline: clamp(1.05rem, 5vw, 1.35rem);
    --frame-safe-block-start: clamp(1.15rem, 5vw, 1.45rem);
    --frame-safe-block-end: clamp(1.85rem, 7vw, 2.4rem);
    --frame-ornament-zone: 2.2rem;
  }

  .outcast-page-hero.outcast-frame--cinematic {
    --frame-ornament-zone: clamp(3rem, 13vw, 4.2rem);
  }

  .outcast-framed-card {
    --frame-safe-inline: clamp(1.35rem, 6vw, 1.7rem);
    --frame-safe-block-start: clamp(1.45rem, 6vw, 1.85rem);
    --frame-safe-block-end: clamp(2.15rem, 8vw, 2.55rem);
  }

  .outcast-category-grid,
  .outcast-edit-grid,
  .outcast-product-grid,
  .outcast-promo-grid,
  .outcast-profile-grid,
  .outcast-notes-grid,
  .outcast-search-form,
  .outcast-newsletter-form {
    grid-template-columns: 1fr;
  }

  .outcast-edit-carousel {
    margin-inline: calc(var(--outcast-space-3) * -1);
    padding-inline: var(--outcast-space-3);
  }

  .outcast-edit-track {
    grid-auto-columns: minmax(16rem, 82vw);
    scroll-padding-inline: var(--outcast-space-3);
  }

  .outcast-carousel-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .outcast-product-title,
  .outcast-page-hero h1,
  .outcast-page-content h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .outcast-map-embed iframe {
    min-height: 18rem;
  }

  .outcast-product-media__main {
    min-height: 18rem;
  }

  .outcast-product-summary__cart form.cart,
  .outcast-shop-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .outcast-product-summary__cart .single_add_to_cart_button,
  .outcast-product-summary__cart .quantity,
  .outcast-product-summary__cart .quantity input,
  .outcast-shop-toolbar select {
    width: 100%;
  }

  .woocommerce table.shop_table {
    font-size: 0.86rem;
  }

  .outcast-site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .outcast-header-actions__shop {
    display: none;
  }

  .outcast-icon-button--account {
    display: none;
  }

  .outcast-icon-button {
    min-width: 2.25rem;
    min-height: 2.5rem;
    padding: 0.58rem 0.62rem;
    font-size: 0.58rem;
  }

  .outcast-button,
  .button,
  .wp-element-button,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button {
    width: 100%;
    padding: 0.82rem 1.15rem;
    white-space: normal;
  }

  .outcast-icon-button span[aria-hidden="true"]:not(.outcast-cart-count) {
    display: none;
  }

  .outcast-display {
    font-size: clamp(2.75rem, 17vw, 4.8rem);
  }

  .outcast-home-hero {
    min-height: clamp(600px, 94vh, 720px);
  }

  .outcast-home-hero__background::after {
    background:
      linear-gradient(90deg, rgba(5, 4, 3, 0.98) 0%, rgba(5, 4, 3, 0.9) 58%, rgba(5, 4, 3, 0.42) 100%),
      linear-gradient(180deg, rgba(5, 4, 3, 0.42), transparent 32%, rgba(5, 4, 3, 0.72));
  }

  .outcast-home-hero__image {
    object-position: 74% center;
  }

  .outcast-frame-ornaments--cinematic {
    --outcast-corner-size: 2.8rem;
    --outcast-corner-inset: 0.9rem;
    --outcast-center-width: 6.4rem;
    --outcast-center-inset: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .outcast-home-hero::before,
  .outcast-home-hero::after {
    animation: none !important;
  }

  .outcast-product-card:hover .outcast-product-card__media img,
  .outcast-edit-card:hover .outcast-edit-card__media img {
    transform: none;
  }

  .outcast-edit-track {
    scroll-behavior: auto;
  }
}
