/* ==========================================================================
   Intreon USA — Corporate Crimson Red Storefront Stylesheet
   Independent Third-Party Digital Software Retailer (intreonusa.online)
   ========================================================================== */

:root {
  --brand-950: #1c080c;
  --brand-900: #380b14;
  --brand-800: #591120;
  --brand-700: #7c182c;
  --accent-600: #b91c1c;
  --accent-700: #991b1b;
  --accent-50: #fef2f2;
  --accent-200: #fecaca;
  --teal-700: #0f766e;
  --teal-50: #f0fdfa;
  --slate-900: #18181b;
  --slate-800: #27272a;
  --slate-700: #3f3f46;
  --slate-600: #52525b;
  --slate-500: #71717a;
  --slate-300: #d4d4d8;
  --slate-200: #e4e4e7;
  --slate-100: #f4f4f5;
  --slate-50: #fafafa;
  --white: #ffffff;
  --danger-600: #dc2626;
  --danger-50: #fef2f2;
  --amber-500: #f59e0b;
  --amber-50: #fffbeb;
  --amber-800: #92400e;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(24, 24, 27, 0.06);
  --shadow-md: 0 4px 14px rgba(56, 11, 20, 0.09);
  --shadow-lg: 0 12px 30px rgba(28, 8, 12, 0.18);
  --max-width: 1220px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--slate-800);
  background-color: var(--slate-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-600);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Mandatory Top Announcement / Disclaimer Bar
   ========================================================================== */
.top-disclaimer-bar {
  background-color: var(--brand-950);
  color: #f4f4f5;
  font-size: 0.8125rem;
  line-height: 1.45;
  padding: 10px 0;
  border-bottom: 1px solid rgba(254, 202, 202, 0.18);
}

.top-disclaimer-bar .container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.disclaimer-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f87171;
  margin-top: 6px;
}

.top-disclaimer-bar p {
  margin: 0;
}

.top-disclaimer-bar strong {
  color: var(--white);
  font-weight: 600;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: var(--white);
  border-bottom: 2px solid var(--accent-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-900);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-logo:hover {
  color: var(--brand-900);
}

.brand-logo-sub {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-600);
  line-height: 1.1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: var(--slate-700);
  font-size: 0.885rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-700);
  background-color: var(--accent-50);
}

.main-nav a.active {
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-email {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-600);
  display: none;
}

@media (min-width: 1160px) {
  .header-email {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--brand-900);
  color: var(--white);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.15s ease;
}

.cart-btn:hover {
  background-color: var(--brand-800);
  color: var(--white);
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: var(--accent-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}

.mobile-menu-toggle {
  display: none;
  background: var(--accent-50);
  border: 1px solid var(--accent-200);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--brand-900);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
  font-family: inherit;
}

.btn-primary {
  background-color: var(--accent-600);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-700);
  color: var(--white);
}

.btn-crimson {
  background-color: var(--brand-900);
  color: var(--white);
}

.btn-crimson:hover {
  background-color: var(--brand-800);
  color: var(--white);
}

.btn-outline {
  background-color: var(--white);
  border-color: var(--slate-300);
  color: var(--brand-900);
}

.btn-outline:hover {
  background-color: var(--accent-50);
  border-color: var(--accent-600);
  color: var(--accent-700);
}

.btn-outline-light {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pill-hero {
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(254, 202, 202, 0.35);
}

.pill-teal {
  background-color: var(--teal-50);
  color: var(--teal-700);
  border: 1px solid #99f6e4;
}

.pill-red {
  background-color: var(--accent-50);
  color: var(--accent-700);
  border: 1px solid var(--accent-200);
}

.pill-slate {
  background-color: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}

/* ==========================================================================
   Hero Banners (Deep Corporate Crimson Overlay)
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--brand-900);
  color: var(--white);
  overflow: hidden;
  padding: 64px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, rgba(28, 8, 12, 0.94) 0%, rgba(56, 11, 20, 0.88) 54%, rgba(124, 24, 44, 0.78) 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
}

.hero-lead {
  font-size: 1.075rem;
  color: #f4f4f5;
  margin: 0 0 24px;
  max-width: 600px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: #fecaca;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(254, 202, 202, 0.24);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.hero-card-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fca5a5;
  margin: 0 0 14px;
}

.hero-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #f4f4f5;
}

.page-banner {
  position: relative;
  background-color: var(--brand-900);
  color: var(--white);
  padding: 46px 0;
  overflow: hidden;
}

.page-banner h1 {
  margin: 10px 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.2;
  color: var(--white);
}

.page-banner p {
  margin: 0;
  color: #f4f4f5;
  max-width: 740px;
  font-size: 1rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  color: #fca5a5;
  margin-bottom: 8px;
}

.breadcrumb a {
  color: #fecaca;
}

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

/* ==========================================================================
   Sections & Grids
   ========================================================================== */
.section {
  padding: 60px 0;
}

.section-white {
  background-color: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.section-title {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  color: var(--brand-900);
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin: 0;
  color: var(--slate-600);
  max-width: 700px;
  font-size: 0.975rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ==========================================================================
   Product Cards & License Artwork
   ========================================================================== */
.product-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-200);
  transform: translateY(-2px);
}

.product-card-art {
  background: linear-gradient(180deg, #fff5f5 0%, #f4f4f5 100%);
  padding: 22px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--slate-200);
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-brand-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-600);
  margin-bottom: 6px;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--slate-900);
}

.product-card h3 a {
  color: inherit;
}

.product-card h3 a:hover {
  color: var(--accent-600);
}

.license-notice-line {
  font-size: 0.775rem;
  color: var(--brand-800);
  background-color: var(--accent-50);
  border: 1px solid var(--accent-200);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  margin: 10px 0 14px;
  line-height: 1.4;
  font-weight: 500;
}

.product-features-mini {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 6px;
  font-size: 0.855rem;
  color: var(--slate-600);
}

.product-features-mini li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.product-features-mini li span {
  color: var(--accent-600);
  font-weight: 700;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-900);
  letter-spacing: -0.02em;
}

.price-term {
  font-size: 0.78rem;
  color: var(--slate-500);
  font-weight: 500;
}

.card-btn-group {
  display: grid;
  gap: 8px;
}

/* ==========================================================================
   Catalog Filter & Comparison Table
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-tab {
  background-color: var(--white);
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.filter-tab:hover {
  border-color: var(--accent-600);
  color: var(--accent-700);
}

.filter-tab.active {
  background-color: var(--accent-600);
  border-color: var(--accent-600);
  color: var(--white);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.catalog-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.catalog-table th {
  text-align: left;
  background-color: var(--brand-900);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 16px;
}

.catalog-table td {
  padding: 16px;
  border-bottom: 1px solid var(--slate-200);
  vertical-align: middle;
  font-size: 0.9rem;
}

.catalog-table tbody tr:last-child td {
  border-bottom: none;
}

.catalog-table tbody tr:hover {
  background-color: #fff5f5;
}

.table-plan-title {
  font-weight: 700;
  color: var(--brand-900);
  display: block;
  margin-bottom: 3px;
}

.table-plan-sub {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Product Detail Pages
   ========================================================================== */
.pdp-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.pdp-visual-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.pdp-visual-card svg {
  margin: 0 auto 20px;
}

.pdp-lifestyle-img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-top: 18px;
  border: 1px solid var(--slate-200);
}

.pdp-buy-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.pdp-price-display {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0 8px;
  flex-wrap: wrap;
}

.pdp-price-big {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--brand-900);
  letter-spacing: -0.03em;
}

.tier-selector-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}

.tier-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  background-color: var(--white);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.tier-option:hover {
  border-color: #f87171;
}

.tier-option.selected {
  border-color: var(--accent-600);
  background-color: var(--accent-50);
}

.tier-option input[type="radio"] {
  accent-color: var(--accent-600);
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
}

.tier-option-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tier-option-name {
  font-weight: 700;
  color: var(--slate-900);
  font-size: 0.95rem;
  display: block;
}

.tier-option-meta {
  font-size: 0.8rem;
  color: var(--slate-600);
  display: block;
  margin-top: 2px;
}

.tier-option-price {
  font-weight: 800;
  color: var(--brand-900);
  font-size: 1.05rem;
  white-space: nowrap;
}

/* ==========================================================================
   Info Cards, Notices & Split Content
   ========================================================================== */
.info-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  margin: 0 0 10px;
  color: var(--brand-900);
  font-size: 1.125rem;
}

.info-card p {
  margin: 0 0 10px;
  color: var(--slate-600);
  font-size: 0.925rem;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.notice-box {
  background-color: var(--amber-50);
  border: 1px solid #fde68a;
  border-left: 4px solid var(--amber-500);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: var(--slate-800);
  font-size: 0.9rem;
}

.notice-box strong {
  color: var(--amber-800);
}

.notice-box-crimson {
  background-color: var(--accent-50);
  border: 1px solid var(--accent-200);
  border-left: 4px solid var(--accent-600);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: var(--slate-800);
  font-size: 0.9rem;
}

.notice-box-crimson strong {
  color: var(--brand-900);
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.split-feature-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--accent-600);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

/* ==========================================================================
   Cart & Checkout Pages
   ========================================================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1.55fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.cart-item-title {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--brand-900);
}

.cart-item-sub {
  margin: 0 0 8px;
  font-size: 0.8rem;
  color: var(--accent-700);
  font-weight: 500;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--white);
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--slate-50);
  color: var(--brand-900);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.qty-btn:hover {
  background: var(--accent-50);
  color: var(--accent-700);
}

.qty-value {
  min-width: 34px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--danger-600);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  margin-top: 8px;
  display: inline-block;
  font-family: inherit;
}

.remove-btn:hover {
  text-decoration: underline;
}

.summary-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.summary-card h2,
.summary-card h3 {
  margin: 0 0 16px;
  color: var(--brand-900);
  font-size: 1.2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.summary-total {
  border-top: 2px solid var(--slate-200);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-900);
}

/* ==========================================================================
   Forms (Checkout & Contact)
   ========================================================================== */
.form-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form-section-title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--slate-200);
  font-size: 1.1rem;
  color: var(--brand-900);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--slate-900);
  background-color: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-600);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.14);
}

.form-control.invalid {
  border-color: var(--danger-600);
  background-color: var(--danger-50);
}

.field-error {
  color: var(--danger-600);
  font-size: 0.785rem;
  margin-top: 4px;
  display: none;
}

.field-error.visible {
  display: block;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--slate-700);
  margin: 16px 0 20px;
}

.checkbox-row input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--accent-600);
}

.confirmation-panel {
  background-color: var(--white);
  border: 2px solid var(--teal-700);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.confirmation-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.confirmation-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #99f6e4;
}

/* ==========================================================================
   Policy / Prose Documents
   ========================================================================== */
.prose-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 920px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.prose-card h2 {
  margin: 28px 0 10px;
  font-size: 1.3rem;
  color: var(--brand-900);
  padding-top: 12px;
  border-top: 1px solid var(--slate-100);
}

.prose-card h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.prose-card h3 {
  margin: 18px 0 8px;
  font-size: 1.05rem;
  color: var(--brand-800);
}

.prose-card p,
.prose-card li {
  color: var(--slate-700);
  font-size: 0.95rem;
}

.prose-card ul {
  padding-left: 20px;
}

.prose-card li {
  margin-bottom: 6px;
}

/* ==========================================================================
   Cart Toast Notification
   ========================================================================== */
.cart-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  max-width: 390px;
  width: calc(100% - 40px);
  background-color: var(--brand-950);
  color: var(--white);
  border: 1px solid rgba(254, 202, 202, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-lg);
  display: none;
  animation: toastSlideUp 0.2s ease-out;
}

.cart-toast.visible {
  display: block;
}

@keyframes toastSlideUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-toast-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.cart-toast-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fca5a5;
  margin-bottom: 3px;
}

.cart-toast-item {
  font-size: 0.875rem;
  color: #f4f4f5;
}

.cart-toast-close {
  background: none;
  border: none;
  color: #a1a1aa;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.cart-toast-close:hover {
  color: var(--white);
}

.cart-toast-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ==========================================================================
   Global Footer
   ========================================================================== */
.site-footer {
  background-color: var(--brand-950);
  color: #e4e4e7;
  padding-top: 52px;
  margin-top: 40px;
  border-top: 3px solid var(--accent-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.25fr;
  gap: 32px;
  padding-bottom: 36px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.925rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #e4e4e7;
  font-size: 0.885rem;
}

.footer-links a:hover {
  color: #fca5a5;
  text-decoration: underline;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 0.875rem;
  color: #e4e4e7;
}

.footer-disclaimer-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(254, 202, 202, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 24px;
  font-size: 0.825rem;
  line-height: 1.55;
  color: #f4f4f5;
}

.footer-disclaimer-box strong {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.825rem;
  color: #d4d4d8;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links a {
  color: #f4f4f5;
}

.footer-bottom-links a:hover {
  color: #fca5a5;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .pdp-grid,
  .split-feature,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 820px) {
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--slate-200);
    padding: 14px 20px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: flex;
  }

  .grid-3,
  .grid-2,
  .grid-4,
  .form-grid-2,
  .form-grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .prose-card {
    padding: 24px 18px;
  }
}
