/*
Theme Name: Simpleton SHOP
Theme URI: https://bloks.net/
Description: BLOKS Shop child theme for Simpleton.
Author: BLOKS
Author URI: https://bloks.net/
Template: simpleton
Version: 0.1.0
Text Domain: simpleton-shop
*/

/* =========================================================
   DESIGN TOKENS
========================================================= */

:root {
  --bloks-bg: #050816;
  --bloks-surface: #0F172A;
  --bloks-primary: #2F52FF;
  --bloks-primary-light: #4A7DFF;
  --bloks-accent: #38BDF8;
  --bloks-text: #F8FAFC;
  --bloks-text-soft: #CBD5E1;
  --bloks-text-muted: #94A3B8;

  --bloks-radius-sm: 12px;
  --bloks-radius-md: 18px;
  --bloks-radius-lg: 24px;

  --bloks-speed: .22s ease;
  --bloks-panel-bg: rgba(8, 12, 24, 0.92);
  --bloks-panel-border: rgba(74, 125, 255, 0.18);
}

/* =========================================================
   BASE
========================================================= */

body.simpleton-theme,
.bloks-shop {
  background: var(--bloks-bg);
  color: var(--bloks-text);
}

.bloks-shop a {
  color: inherit;
}

/* =========================================
   SHOP ACCENT BAR
========================================= */

.site-header::before {
    content: "";
    display: block;
    height: 4px;

    background: linear-gradient(
        90deg,
        #2f52ff,
        #4a7dff,
        #38bdf8,
        #4a7dff,
        #2f52ff
    );

    box-shadow:
        0 0 12px rgba(74,125,255,.45),
        0 0 24px rgba(56,189,248,.25);
}

/* =========================================================
   TYPOGRAPHY
========================================================= */

.bloks-h1,
.bloks-h2,
.bloks-h3,
.bloks-card-content h3 {
  margin: 0;
  color: var(--bloks-text);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.bloks-h1 {
  font-size: clamp(52px, 8vw, 96px);
}

.bloks-h2 {
  font-size: clamp(38px, 5vw, 64px);
}

.bloks-h3,
.bloks-card-content h3 {
  font-size: clamp(30px, 3vw, 42px);
}

.bloks-body,
.bloks-card-content p {
  color: var(--bloks-text-soft);
  font-size: 18px;
  line-height: 1.6;
}

.bloks-caption {
  margin: 0 0 18px;
  color: var(--bloks-text-muted);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bloks-readable {
  max-width: 72ch;
}

/* =========================================================
   BUTTONS
========================================================= */

.bloks-btn,
.bloks-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition:
    color var(--bloks-speed),
    background var(--bloks-speed),
    border-color var(--bloks-speed),
    box-shadow var(--bloks-speed),
    transform var(--bloks-speed);
}

.bloks-btn-primary,
.bloks-card-link {
  color: var(--bloks-text);
  background: linear-gradient(135deg, rgba(47,82,255,.92), rgba(56,189,248,.72));
  border: 1px solid rgba(56,189,248,.55);
  box-shadow:
    0 0 18px rgba(47,82,255,.22),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.bloks-btn-primary:hover,
.bloks-card-link:hover {
  color: #fff;
  transform: translateY(-1px);
  border-color: rgba(56,189,248,.85);
  box-shadow:
    0 0 26px rgba(56,189,248,.32),
    0 10px 26px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.22);
}

.bloks-btn-ghost {
  color: var(--bloks-text-soft);
  background: rgba(15,23,42,.5);
  border: 1px solid rgba(148,163,184,.22);
}

.bloks-btn-ghost:hover {
  color: var(--bloks-text);
  background: rgba(47,82,255,.16);
  border-color: rgba(74,125,255,.42);
}

.bloks-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* =========================================================
   LAYOUT / SECTIONS / PANELS
========================================================= */

.bloks-section {
  position: relative;
  padding: 100px 32px;
}

.bloks-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.bloks-panel {
  background: linear-gradient(180deg, rgba(15,23,42,.72), rgba(5,8,22,.82));
  border: 1px solid var(--bloks-panel-border);
  border-radius: var(--bloks-radius-lg);
  box-shadow: 0 20px 55px rgba(0,0,0,.38);
  backdrop-filter: blur(10px);
}

.bloks-card {
  position: relative;
  display: grid;
  grid-template-columns: 42% 1fr;
  align-items: center;
  gap: 24px;
  min-height: 320px;
  padding: 28px;
  border: 2px solid rgba(74,125,255,.65);
  border-radius: var(--bloks-radius-md);
  background: linear-gradient(180deg, rgba(10,18,40,.96), rgba(5,8,22,.985));
  box-shadow:
    0 22px 60px rgba(0,0,0,.55),
    0 0 28px rgba(47,82,255,.16);
  overflow: hidden;
  transition:
    transform var(--bloks-speed),
    border-color var(--bloks-speed),
    box-shadow var(--bloks-speed);
}

.bloks-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56,189,248,.9);
  box-shadow:
    0 30px 75px rgba(0,0,0,.65),
    0 0 44px rgba(47,82,255,.28);
}

.bloks-card-content p {
  margin: 14px 0 18px;
}

.bloks-grid {
  display: grid;
  gap: 28px;
}

.bloks-grid-2 {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.bloks-grid-3 {
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.bloks-grid-4 {
  grid-template-columns: repeat(4, minmax(0,1fr));
}

.bloks-stack-sm > * + * {
  margin-top: 12px;
}

.bloks-stack-md > * + * {
  margin-top: 22px;
}

.bloks-stack-lg > * + * {
  margin-top: 36px;
}

.bloks-text-center {
  text-align: center;
}

/* =========================================================
   SIMPLETON SHOP HEADER / FOOTER
========================================================= */

body.simpleton-theme .simpleton-site-header {
  background: rgba(5, 8, 22, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 10px 30px rgba(0,0,0,.28),
    0 0 24px rgba(47,82,255,.10);
}

body.simpleton-theme .simpleton-header-inner {
  min-height: 118px;
  align-items: center;
}

body.simpleton-theme .simpleton-brand img,
body.simpleton-theme .simpleton-brand .custom-logo {
  width: var(--simpleton-logo-width, 60px) !important;
  max-width: var(--simpleton-logo-width, 60px) !important;
  height: auto !important;
  max-height: none !important;
  mix-blend-mode: screen;
  opacity: .94;
  filter:
    drop-shadow(0 0 8px rgba(56,189,248,.9))
    drop-shadow(0 0 22px rgba(47,82,255,.62))
    drop-shadow(0 0 42px rgba(47,82,255,.34));
  transition:
    transform 220ms ease,
    filter 220ms ease,
    opacity 220ms ease;
}

body.simpleton-theme .simpleton-nav .menu {
  gap: 2rem;
}

body.simpleton-theme .simpleton-nav a {
  color: #f8fafc;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .01em;
}

body.simpleton-theme .simpleton-nav a:hover,
body.simpleton-theme .simpleton-nav .current-menu-item > a {
  color: #38bdf8;
}

body.simpleton-theme .simpleton-nav .sub-menu {
  background: rgba(5, 8, 22, 0.98);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

body.simpleton-theme.bloks-header-scrolled .simpleton-site-header {
  background: rgba(5, 8, 22, 0.96);
  border-bottom: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow:
    0 10px 35px rgba(0,0,0,.38),
    0 0 20px rgba(47,82,255,.10);
}

body.simpleton-theme.bloks-header-scrolled .simpleton-header-inner {
  min-height: 72px;
}

body.simpleton-theme.bloks-header-scrolled .simpleton-brand img,
body.simpleton-theme.bloks-header-scrolled .simpleton-brand .custom-logo {
  transform: scale(.72);
  transform-origin: left center;
  opacity: .9;
  filter:
    drop-shadow(0 0 7px rgba(56,189,248,.8))
    drop-shadow(0 0 18px rgba(47,82,255,.52));
}

body.simpleton-theme .simpleton-footer {
  background: #050816;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: #94a3b8;
}

body.simpleton-theme .simpleton-footer a {
  color: #cbd5e1;
}

body.simpleton-theme .simpleton-footer a:hover {
  color: #38bdf8;
}

/* =========================================================
   HERO
========================================================= */

.bloks-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 32px;
  background:
    radial-gradient(circle at 20% 20%, rgba(47,82,255,.28), transparent 34%),
    radial-gradient(circle at 80% 30%, rgba(56,189,248,.18), transparent 32%),
    linear-gradient(180deg, #050816 0%, #0f172a 55%, #050816 100%);
}

.bloks-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -120px;
  left: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,82,255,.28), transparent 70%);
  filter: blur(40px);
  animation: bloksFloat 14s ease-in-out infinite, bloksPulse 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.bloks-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(180deg, transparent, #050816);
  pointer-events: none;
  z-index: 2;
}

.bloks-hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.bloks-hero-content .bloks-body {
  margin-top: 22px;
  font-size: 21px;
}

.bloks-hero .bloks-container {
  position: relative;
  z-index: 3;
}

.bloks-hero-shader {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block !important;
  z-index: 0 !important;
  pointer-events: none !important;
  overflow: hidden;
  opacity: .38;
}

.bloks-hero-shader canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

@keyframes bloksFloat {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
  50% { transform: translate3d(0,-18px,0) rotate(1deg); }
}

@keyframes bloksPulse {
  0%, 100% { opacity: .45; }
  50% { opacity: .75; }
}

/* =========================================================
   SHOP HOME / LANDING
========================================================= */

.bloks-shop-tile {
  display: block;
  min-height: 220px;
  padding: 28px;
  color: var(--bloks-text-soft);
  text-decoration: none;
  transition:
    transform var(--bloks-speed),
    border-color var(--bloks-speed),
    box-shadow var(--bloks-speed);
}

.bloks-shop-tile h3 {
  margin: 0 0 12px;
  color: var(--bloks-text);
  font-size: 26px;
  letter-spacing: -0.03em;
}

.bloks-shop-tile p {
  margin: 0;
  color: var(--bloks-text-soft);
  font-size: 17px;
  line-height: 1.55;
}

.bloks-shop-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(56,189,248,.38);
  box-shadow:
    0 24px 60px rgba(0,0,0,.45),
    0 0 34px rgba(47,82,255,.18);
}

.bloks-shop-feature-media img,
.bloks-shop-feature-media .bloks-shader-wrap {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(125,211,252,.22);
  box-shadow:
    0 24px 70px rgba(0,0,0,.45),
    0 0 36px rgba(47,82,255,.18);
}

.bloks-shop-cta,
.bloks-shop-cta-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 52px);
  text-align: center;
}

.bloks-shop-cta .bloks-hero-actions,
.bloks-shop-cta-panel .bloks-hero-actions {
  justify-content: center;
}

/* =========================================================
   PRODUCT PAGES
========================================================= */

.bloks-product-page {
  background: var(--bloks-bg);
  color: var(--bloks-text);
}

.bloks-product-page .bloks-product-hero-section {
  padding: clamp(64px, 8vw, 110px) 32px;
}

.bloks-product-page .bloks-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.bloks-product-page .bloks-product-preview {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--bloks-radius-lg);
  background: #050816;
  border: 1px solid rgba(56,189,248,.24);
  box-shadow:
    0 30px 90px rgba(0,0,0,.55),
    0 0 42px rgba(47,82,255,.18);
}

.bloks-product-page .bloks-product-preview img,
.bloks-product-page .bloks-product-still img {
  width: 100%;
  height: auto;
  display: block;
}

.bloks-product-page .bloks-product-preview .bloks-shader-wrap {
  min-height: 620px;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
}

.bloks-product-page .bloks-product-info {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.bloks-product-page .bloks-product-info .bloks-body {
  margin-top: 22px;
  font-size: 20px;
}

.bloks-product-page .bloks-product-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin: 32px 0;
}

.bloks-product-page .bloks-meta-card {
  padding: 18px;
  border-radius: var(--bloks-radius-md);
  background: rgba(15,23,42,.55);
  border: 1px solid rgba(56,189,248,.18);
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}

.bloks-product-page .bloks-meta-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--bloks-accent);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bloks-product-page .bloks-meta-card span {
  display: block;
  color: var(--bloks-text-soft);
  font-size: 15px;
}

.bloks-product-page .bloks-product-note {
  margin-top: 22px;
  color: var(--bloks-text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.bloks-product-page .bloks-product-copy {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 52px);
}

.bloks-product-page .bloks-product-copy .bloks-body {
  max-width: 78ch;
  font-size: 20px;
}

.bloks-product-page .bloks-product-feature-grid {
  margin-top: 38px;
}

.bloks-product-page .bloks-product-feature,
.bloks-product-page .bloks-product-detail {
  padding: 28px;
}

.bloks-product-page .bloks-product-feature h3 {
  margin: 0 0 12px;
  color: var(--bloks-text);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.bloks-product-page .bloks-product-feature p,
.bloks-product-page .bloks-product-detail li {
  color: var(--bloks-text-soft);
  font-size: 16px;
  line-height: 1.6;
}

.bloks-product-page .bloks-product-detail ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

.bloks-product-page .bloks-product-detail li {
  margin-bottom: 10px;
}

/* EDD purchase links on product pages */
.bloks-product-page .edd_purchase_submit_wrapper,
.bloks-product-page .edd_download_purchase_form {
  margin: 0;
}

.bloks-product-page .edd-submit,
.bloks-product-page .edd-add-to-cart {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-height: 0 !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
  color: var(--bloks-text) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  background: linear-gradient(135deg, rgba(47,82,255,.92), rgba(56,189,248,.72)) !important;
  border: 1px solid rgba(56,189,248,.55) !important;
  box-shadow:
    0 0 18px rgba(47,82,255,.22),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
}

body.edd-js input.edd-no-js,
body.edd-js .edd-no-js,
.edd_go_to_checkout[style*="display:none"] {
  display: none !important;
}

/* =========================================================
   GALLERY
========================================================= */

.bloks-shop-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.bloks-shop-gallery-card {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: var(--bloks-panel-bg);
  border: 1px solid rgba(77, 163, 255, 0.16);
  text-decoration: none;
  box-shadow:
    0 18px 50px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.04);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.bloks-shop-gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 163, 255, 0.42);
  box-shadow:
    0 26px 70px rgba(0,0,0,0.48),
    0 0 38px rgba(77,163,255,0.12),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.bloks-shop-gallery-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #050816;
  overflow: hidden;
}

.bloks-shop-gallery-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.bloks-shop-gallery-card:hover .bloks-shop-gallery-thumb img {
  transform: scale(1.045);
  filter: saturate(1.12) contrast(1.06);
}

.bloks-shop-gallery-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.36);
  font-weight: 800;
  letter-spacing: 0.18em;
  background:
    radial-gradient(circle at 50% 40%, rgba(77,163,255,0.18), transparent 42%),
    #050816;
}

.bloks-shop-gallery-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 217, 64, 0.14);
  border: 1px solid rgba(255, 217, 64, 0.55);
  color: #ffe76b;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 0 22px rgba(255,217,64,0.16);
}

.bloks-shop-gallery-content {
  padding: 22px 22px 24px;
}

.bloks-shop-gallery-content h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.2;
}

.bloks-shop-gallery-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(203,213,225,0.86);
  font-size: 0.86rem;
}

.bloks-shop-gallery-meta span:last-child {
  color: #72b8ff;
  font-weight: 800;
}

/* =========================================================
   SUPPORT / LEGAL / VAULT
========================================================= */

.bloks-shop-info-panel,
.bloks-support-card,
.bloks-support-step,
.bloks-porting-card,
.bloks-legal-panel {
  padding: 34px;
}

.bloks-shop-info-panel h2,
.bloks-support-card h2,
.bloks-support-step h3,
.bloks-porting-card h3,
.bloks-legal-panel h2,
.bloks-legal-panel h3 {
  color: var(--bloks-text);
}

.bloks-shop-info-panel p,
.bloks-support-card p,
.bloks-support-step p,
.bloks-legal-panel p,
.bloks-legal-panel li {
  color: var(--bloks-text-soft);
  font-size: 17px;
  line-height: 1.65;
}

.bloks-support-steps {
  display: grid;
  gap: 28px;
  margin-top: 42px;
}

.bloks-support-step {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 36px;
  align-items: center;
}

.bloks-support-step:first-child {
  grid-template-columns: 1fr;
}

.bloks-support-step-media img,
.bloks-vault-still img {
  width: 100%;
  display: block;
  border-radius: var(--bloks-radius-md);
  border: 1px solid rgba(56,189,248,.18);
  box-shadow:
    0 20px 50px rgba(0,0,0,.42),
    0 0 30px rgba(47,82,255,.12);
}

.bloks-vault-still {
  height: 360px;
  overflow: hidden;
  border-radius: inherit;
  background: #050816;
}

.bloks-vault-still img {
  height: 100%;
  object-fit: cover;
}

.bloks-price {
  margin-top: 28px;
  color: var(--bloks-accent);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* =========================================================
   CHECKOUT / EDD
========================================================= */

body.edd-checkout {
  background: var(--bloks-bg);
}

body.edd-checkout::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(50,120,255,0.15), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.bloks-checkout-hero {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 80px 0 90px;
  min-height: 720px;
  display: flex;
  align-items: center;
}

.bloks-checkout-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(54,120,255,0.18), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(120,80,255,0.12), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(0,180,255,0.08), transparent 40%);
  filter: blur(40px);
  pointer-events: none;
}

.bloks-checkout-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,8,22,0.15), rgba(5,8,22,0.82));
  pointer-events: none;
}

.bloks-checkout-hero .bloks-container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
}

.bloks-checkout-hero .bloks-readable {
  max-width: 720px;
}

.bloks-checkout-hero .bloks-h1 {
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  margin-bottom: 30px;
  max-width: 8ch;
}

.bloks-checkout-hero .bloks-body {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
}

.bloks-checkout-section {
  padding-top: 12px;
}

.bloks-checkout-shell #edd_checkout_wrap,
body.edd-checkout #edd_checkout_wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 90px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 32px;
  align-items: start;
}

body.edd-checkout #edd_checkout_cart_wrap,
body.edd-checkout #edd_checkout_form_wrap {
  background: var(--bloks-panel-bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

body.edd-checkout #edd_checkout_cart,
body.edd-checkout #edd_checkout_cart thead,
body.edd-checkout #edd_checkout_cart tbody,
body.edd-checkout #edd_checkout_cart tfoot,
body.edd-checkout #edd_checkout_cart tr,
body.edd-checkout #edd_checkout_cart th,
body.edd-checkout #edd_checkout_cart td {
  background: transparent !important;
  background-color: transparent !important;
}

body.edd-checkout #edd_checkout_cart th,
body.edd-checkout #edd_checkout_cart td {
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  padding: 16px 10px;
  color: rgba(255,255,255,0.9) !important;
}

body.edd-checkout .edd_checkout_cart_item_title,
body.edd-checkout .edd_cart_item_price,
body.edd-checkout .edd_cart_amount {
  color: #72b8ff;
  font-weight: 800;
}

body.edd-checkout fieldset,
#edd_purchase_form fieldset {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 34px;
}

body.edd-checkout legend,
#edd_purchase_form legend {
  padding: 0;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
}

#edd_purchase_form input.edd-input,
#edd_purchase_form select,
#edd_purchase_form textarea,
body.edd-checkout .edd-input,
body.edd-checkout select {
  width: 100%;
  min-height: 52px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  color: #ffffff;
  padding: 14px 16px;
}

#edd_purchase_form input:focus,
#edd_purchase_form select:focus,
#edd_purchase_form textarea:focus,
body.edd-checkout .edd-input:focus,
body.edd-checkout select:focus {
  outline: none;
  border-color: #4da3ff;
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(77,163,255,0.16);
}

#edd_purchase_form label,
body.edd-checkout .edd-label {
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  margin-bottom: 8px;
}

#edd_purchase_form .edd-description,
body.edd-checkout .edd-description {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  margin: 4px 0 8px;
}

body.edd-checkout #edd_final_total_wrap {
  margin-top: 24px;
  background: rgba(77,163,255,0.10);
  border: 1px solid rgba(77,163,255,0.22);
  border-radius: 18px;
  padding: 18px;
  color: #fff;
  font-size: 1.2rem;
}

#edd-purchase-button,
body.edd-checkout .edd-submit.button {
  width: 100%;
  min-height: 58px;
  border-radius: 16px;
  border: 0;
  background: linear-gradient(135deg, #2f7bff, #63b3ff);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.edd-checkout #edd_terms_agreement,
body.edd-checkout #edd-privacy-policy-agreement {
  margin: 0 0 22px !important;
  padding: 18px 20px !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
}

body.edd-checkout .edd-terms-agreement,
body.edd-checkout .edd-privacy-policy-agreement {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
  color: rgba(255,255,255,0.86) !important;
}

body.edd-checkout .edd-terms-agreement input,
body.edd-checkout .edd-privacy-policy-agreement input {
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  flex: 0 0 18px;
  accent-color: #4da3ff;
}

body.edd-checkout .edd-terms-agreement label,
body.edd-checkout .edd-privacy-policy-agreement label {
  margin: 0 !important;
  color: rgba(255,255,255,0.86) !important;
  font-weight: 700;
  line-height: 1.35;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1020px) {
  .bloks-shop-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .bloks-grid-2,
  .bloks-grid-3,
  .bloks-grid-4,
  .bloks-product-page .bloks-product-hero,
  .bloks-product-page .bloks-product-meta,
  .bloks-support-step,
  .bloks-checkout-shell #edd_checkout_wrap,
  body.edd-checkout #edd_checkout_wrap {
    grid-template-columns: 1fr;
  }

  .bloks-section {
    padding: 72px 22px;
  }

  .bloks-product-page .bloks-product-preview .bloks-shader-wrap {
    min-height: 480px;
  }
}

@media (max-width: 780px) {
  body.simpleton-theme .simpleton-header-inner {
    min-height: auto;
    padding: 1rem 0;
  }

  body.simpleton-theme .simpleton-menu-toggle {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(255,255,255,0.16);
    color: #f8fafc;
  }

  .bloks-card {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
    gap: 18px;
    padding: 26px 22px 28px;
    margin-bottom: 22px;
  }

  .bloks-hero {
    min-height: 560px;
    padding: 90px 22px;
  }

  .bloks-hero-content .bloks-body {
    font-size: 18px;
  }

  .bloks-checkout-hero {
    min-height: 560px;
    padding-top: 34px;
  }

  .bloks-checkout-hero .bloks-h1 {
    font-size: 3.4rem;
  }

  #edd_checkout_cart_wrap {
    position: relative;
    top: auto;
  }
}

@media (max-width: 680px) {
  .bloks-shop-gallery-grid {
    grid-template-columns: 1fr;
  }

  .bloks-shop-gallery-content {
    padding: 18px;
  }
}

/* =========================================
   BLOKS LEGAL PAGES
========================================= */

.bloks-legal-hero {
  min-height: 420px;
  padding: 90px 32px;
}

.bloks-legal-hero .bloks-hero-shader {
  display: none !important;
}

.bloks-legal-page .bloks-panel.bloks-readable {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px);
}

.bloks-legal-page .bloks-panel hr {
  margin: 42px 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.10);
}

.bloks-legal-page ul {
  margin: 18px 0 28px;
  padding-left: 1.4rem;
}

.bloks-legal-page li {
  margin-bottom: 10px;
  color: var(--bloks-text-soft);
  line-height: 1.65;
}

/* =========================================================
   THEMES LANDING PAGE
========================================================= */

.bloks-themes .bloks-themes-hero {
  min-height: auto;
  padding-top: clamp(56px, 6vw, 88px);
  padding-bottom: clamp(76px, 8vw, 120px);
  align-items: flex-start;
}

.bloks-themes .bloks-themes-hero .bloks-container {
  width: 100%;
}

.bloks-themes .bloks-themes-hero .bloks-hero-content {
  max-width: 760px;
}

@media (max-width: 768px) {
  .bloks-themes .bloks-themes-hero {
    padding-top: 44px;
    padding-bottom: 72px;
  }
}

/* =========================================================
   BOCE CANVAS TOP GAP FIX
========================================================= */

body.simpleton-theme .simpleton-main.simpleton-boce-canvas {
  padding-top: 0;
  margin-top: 0;
}

.simpleton-boce-canvas .bloks-themes .bloks-themes-hero {
  min-height: auto;
  padding-top: 28px;
  padding-bottom: clamp(80px, 8vw, 120px);
  align-items: flex-start;
}

/* =========================================================
   PLUGINS LANDING PAGE
========================================================= */

.simpleton-boce-canvas .bloks-shop {
  margin-top: 0;
}

.simpleton-boce-canvas .bloks-shop .bloks-shop-hero {
  min-height: auto;
  padding-top: 28px;
  padding-bottom: clamp(80px, 8vw, 120px);
  align-items: flex-start;
}

.simpleton-boce-canvas .bloks-shop .bloks-shop-hero .bloks-container {
  width: 100%;
}

.simpleton-boce-canvas .bloks-shop .bloks-shop-hero .bloks-hero-content {
  max-width: 820px;
}

/* =========================================================
   SHOP HOME HERO ALIGNMENT
========================================================= */

.simpleton-front-page .bloks-shop {
  margin-top: 0;
}

.simpleton-front-page .bloks-shop .bloks-shop-hero {
  min-height: auto;
  padding-top: 28px;
  padding-bottom: clamp(80px, 8vw, 120px);
  align-items: flex-start;
}

.simpleton-front-page .bloks-shop .bloks-shop-hero .bloks-container {
  width: 100%;
}

.simpleton-front-page .bloks-shop .bloks-shop-hero .bloks-hero-content {
  max-width: 900px;
}

/* =========================================================
   SHADER DISPLAY DEMOS PAGE
========================================================= */

.bloks-shader-display-demos .bloks-panel.bloks-product-copy {
  padding: clamp(32px, 4vw, 56px);
}

.bloks-shader-display-demos .bloks-panel.bloks-product-copy .bloks-readable {
  max-width: 760px;
  margin: 0;
}

.bloks-shader-display-demos .bloks-product-copy pre {
  margin: 24px 0;
  padding: 20px 24px;
  border-radius: 14px;
  overflow-x: auto;
}

/* Demo shader cards */
.bloks-shader-display-demos .bloks-panel.bloks-product-feature {
  padding: clamp(22px, 2.5vw, 32px);
}

.bloks-shader-display-demos .bloks-product-feature h3 {
  margin: 0 0 18px;
}

.bloks-shader-display-demos .bloks-product-feature .bloks-shader-display {
  margin: 0 0 18px;
  border-radius: 14px;
}

.bloks-shader-display-demos .bloks-product-feature pre {
  margin: 0;
  padding: 16px 18px;
  border-radius: 12px;
  overflow-x: auto;
}