/*
Theme Name: Tattoo Village Block Theme V5.5.3 Builder Woo
Theme URI: https://example.com/tattoo-village
Author: Web3r
Description: Evolution V5.4 : header/footer globaux, bibliotheque de sections Gutenberg, controles builder, animations parametables et integration WooCommerce evenementielle.
Version: 5.8.7
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: tattoo-village-block
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, entertainment, portfolio
*/

:root {
  --tv-black: #030303;
  --tv-deep: #080808;
  --tv-panel: rgba(255,255,255,.045);
  --tv-border: rgba(255,255,255,.14);
  --tv-red: #d41414;
  --tv-red-hot: #ff2626;
  --tv-white: #f7f7f7;
  --tv-muted: #a1a1aa;
  --tv-dim: #66666d;
  --tv-max: 1220px;
  --tv-header-max: 1480px;
  --tv-condensed: Impact, Haettenschweiler, 'Arial Narrow Bold', 'Arial Narrow', Arial, sans-serif;
  --tv-sans: Arial, Helvetica, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--tv-white);
  background:
    radial-gradient(circle at 15% 8%, rgba(212,20,20,.25), transparent 28%),
    radial-gradient(circle at 85% 25%, rgba(255,255,255,.08), transparent 26%),
    linear-gradient(180deg, #050505 0%, #080808 54%, #000 100%);
  font-family: var(--tv-sans);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  opacity: .12;
  top: 0;
  bottom: 0;
  width: 220px;
  background-image: url('assets/images/tribal-pattern.png');
  background-size: 210px auto;
  background-repeat: repeat-y;
}
body::before { left: 0; }
body::after { right: 0; transform: scaleX(-1); }

a { color: inherit; }
.wp-site-blocks { overflow: hidden; }

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Header */
.tv-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0,0,0,.84);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

.tv-brand-link {
  color: inherit;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.tv-brand-link:hover,
.tv-brand-link:focus-visible {
  color: inherit;
  outline: none;
}

.tv-brand-text {
  display: grid;
  gap: 2px;
}
.tv-header-inner {
  max-width: var(--tv-header-max) !important;
  margin-inline: auto !important;
  padding: 16px 28px !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}
.tv-brand { gap: 12px !important; text-decoration: none !important; min-width: 230px; }
.tv-brand-logo {
  width: 82px;
  height: 82px;
  margin: 0 !important;
  line-height: 0;
  flex-shrink: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.tv-brand-logo img {
  width: 82px !important;
  height: 82px !important;
  object-fit: contain;
  filter: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
.tv-brand-mark {
  width: 82px;
  height: 82px;
  margin: 0;
  background: url('assets/images/logo-tattoo-village.png') center / contain no-repeat;
  filter: none !important;
  box-shadow: none !important;
  flex-shrink: 0;
}
.tv-brand-title {
  margin: 0 !important;
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 18px;
  line-height: 1 !important;
  color: #fff;
}
.tv-brand-sub {
  margin: 4px 0 0 !important;
  color: var(--tv-red-hot);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .34em;
  font-weight: 800;
}
.tv-navigation {
  flex: 1 1 auto !important;
  justify-content: center !important;
}
.tv-navigation .wp-block-navigation__container {
  gap: 26px !important;
  flex-wrap: nowrap !important;
}
.tv-navigation .wp-block-navigation-item__content,
.tv-navigation a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  color: #e7e7e7 !important;
}
.tv-navigation .wp-block-navigation-item__content:hover {
  color: var(--tv-red-hot) !important;
}
.tv-header-buttons {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 330px;
  justify-content: flex-end !important;
}
.tv-header-buttons .wp-block-button,
.tv-header-buttons .wp-block-button__link { white-space: nowrap !important; }
.tv-header-buttons .tv-shortcode-mobile-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tv-header-buttons .tv-shortcode-mobile-control.tv-mobile-injected {
  display: none !important;
}
.tv-header-stand a {
  background: rgba(0,0,0,.55) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  box-shadow: none !important;
}
.tv-header-stand a:hover { border-color: var(--tv-red-hot) !important; background: rgba(212,20,20,.14) !important; transform: translateY(-2px); }
.tv-header-ticket a,
.tv-header-stand a,
.tv-button-red a,
.tv-button-dark a,
.tv-button-outline a {
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 950;
  font-size: 13px;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.tv-header-ticket a,
.tv-button-red a {
  background: linear-gradient(135deg, var(--tv-red), #920808) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 42, 42, .65) !important;
  box-shadow: 0 18px 45px rgba(212,20,20,.22);
}
.tv-header-ticket a:hover,
.tv-button-red a:hover { transform: translateY(-2px); background: var(--tv-red-hot) !important; }
.tv-button-outline a,
.tv-button-dark a {
  background: rgba(0,0,0,.55) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.28) !important;
}
.tv-button-outline a:hover,
.tv-button-dark a:hover { border-color: var(--tv-red-hot) !important; transform: translateY(-2px); }

/* Layout helpers */
.tv-section,
.tv-hero,
.tv-info-strip,
.tv-footer-inner {
  max-width: var(--tv-max) !important;
  margin-inline: auto !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
}
.tv-section { padding-top: 72px !important; padding-bottom: 72px !important; }
.tv-section-tight { padding-top: 38px !important; padding-bottom: 38px !important; }
.tv-eyebrow {
  margin: 0 0 18px !important;
  color: var(--tv-red-hot);
  font-weight: 950;
  letter-spacing: .48em;
  text-transform: uppercase;
  font-size: 12px;
}
.tv-title,
.tv-section-title,
.tv-card-title {
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tv-title {
  font-size: clamp(62px, 8vw, 128px);
  line-height: .84 !important;
  margin: 0 !important;
  color: #f4f4f4;
  text-shadow: 0 0 24px rgba(255,255,255,.08);
}
.tv-title .red,
.red { color: var(--tv-red-hot); }
.tv-hero-subtitle {
  font-family: var(--tv-condensed);
  font-size: clamp(22px, 2.3vw, 32px);
  letter-spacing: .12em;
  line-height: 1.1 !important;
  margin: 18px 0 0 !important;
  text-transform: uppercase;
  color: #fff;
}
.tv-lead {
  max-width: 620px;
  color: #d3d3d7;
  font-size: 16px;
  line-height: 1.75 !important;
}
.tv-section-title {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1 !important;
  margin: 0 0 30px !important;
  text-align: center;
}
.tv-section-title::before,
.tv-section-title::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: min(14vw, 170px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tv-red));
  margin: 0 18px 10px 0;
}
.tv-section-title::after {
  background: linear-gradient(90deg, var(--tv-red), transparent);
  margin: 0 0 10px 18px;
}

/* Hero */
.tv-hero {
  min-height: 780px;
  padding-top: 56px !important;
  padding-bottom: 34px !important;
  position: relative;
}
.tv-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 50px;
  width: 480px;
  height: 480px;
  background: url('assets/images/tribal-pattern-red.png') center / contain no-repeat;
  opacity: .16;
}
.tv-hero-text { z-index: 2; }
.tv-hero-visual {
  min-height: 660px;
  position: relative;
  z-index: 1;
}
.tv-hero-visual .wp-block-image,
.tv-hero-visual figure { height: 100%; margin: 0 !important; }
.tv-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: contain;
  object-position: center bottom;
  filter: contrast(1.15) brightness(.9);
}
.tv-hero-kicker-row {
  margin-top: 26px !important;
  gap: 24px !important;
  color: #e8e8e8;
}
.tv-mini-pill {
  margin: 0 !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tv-hero-actions { margin-top: 28px !important; }

/* Info strip */
.tv-info-strip {
  margin-top: -25px !important;
  position: relative;
  z-index: 5;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(10,10,10,.9);
  box-shadow: 0 25px 80px rgba(0,0,0,.45);
}
.tv-info-strip .wp-block-column {
  padding: 24px 28px;
  border-right: 1px solid rgba(255,255,255,.13);
}
.tv-info-strip .wp-block-column:last-child { border-right: 0; }
.tv-info-label {
  margin: 0 0 6px !important;
  color: var(--tv-red-hot);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.tv-info-value {
  margin: 0 !important;
  color: #fff;
  font-family: var(--tv-condensed);
  font-size: 24px;
  line-height: 1.1 !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tv-info-small { margin: 5px 0 0 !important; color: var(--tv-muted); font-size: 13px; }

/* Cards */
.tv-card,
.tv-experience-card,
.tv-program-card,
.tv-artist-card,
.tv-ticket-card,
.tv-page-card {
  border: 1px solid var(--tv-border);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.tv-card:hover,
.tv-experience-card:hover,
.tv-program-card:hover,
.tv-artist-card:hover,
.tv-ticket-card:hover,
.tv-page-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,38,38,.75);
  background: linear-gradient(180deg, rgba(212,20,20,.12), rgba(255,255,255,.025));
}
.tv-card { padding: 32px !important; min-height: 170px; }
.tv-card-icon {
  font-size: 36px;
  margin: 0 0 20px !important;
  color: var(--tv-red-hot);
}
.tv-card-title {
  font-size: 26px;
  margin: 0 0 10px !important;
  line-height: 1 !important;
}
.tv-card-text { color: var(--tv-muted); font-size: 15px; line-height: 1.65 !important; margin: 0 !important; }

/* Experience */
.tv-experience-card {
  min-height: 230px;
  padding: 26px !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.tv-experience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/images/hero-body-art.jpg') center / cover no-repeat;
  opacity: .25;
  filter: grayscale(1) contrast(1.25);
  transform: scale(1.05);
}
.tv-experience-card:nth-child(2)::before { background-position: center 62%; opacity: .18; }
.tv-experience-card:nth-child(3)::before { background-image: url('assets/images/tribal-pattern.png'); opacity: .18; background-size: 260px auto; }
.tv-experience-card:nth-child(4)::before { background-image: url('assets/images/tribal-pattern-red.png'); opacity: .16; background-size: 300px auto; }
.tv-experience-card > * { position: relative; z-index: 2; }
.tv-experience-card .tv-card-title { font-size: 28px; }

/* Programme */
.tv-program-card { padding: 28px !important; }
.tv-program-day {
  display: inline-block;
  background: var(--tv-red);
  color: #fff;
  padding: 7px 14px;
  margin: 0 0 20px !important;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: .12em;
  font-size: 12px;
}
.tv-program-card h3 {
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 28px;
  line-height: 1.12 !important;
  margin: 0 0 14px !important;
}
.tv-program-card p { color: var(--tv-muted); line-height: 1.7 !important; }
.tv-timeline {
  margin-top: 26px !important;
  border-top: 1px solid rgba(212,20,20,.8);
  border-bottom: 1px solid rgba(212,20,20,.8);
  padding: 14px 20px !important;
  text-align: center;
  color: #d8d8dc;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Artists */
.tv-artists-grid .wp-block-column { min-width: 120px; }
.tv-artist-card {
  padding: 14px !important;
  text-align: center;
  min-height: 146px;
  display: flex;
  align-items: end;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.86)),
    url('assets/images/hero-body-art.jpg') center / cover no-repeat;
}
.tv-artist-card p {
  margin: 0 !important;
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 15px;
  color: #fff;
}

/* CTA */
.tv-cta {
  max-width: var(--tv-max) !important;
  margin-inline: auto !important;
  margin-top: 32px !important;
  margin-bottom: 54px !important;
  padding: 56px !important;
  border: 1px solid rgba(255,255,255,.18);
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.55)),
    url('assets/images/tribal-pattern-red.png') right center / 420px auto no-repeat;
}
.tv-cta h2 {
  font-family: var(--tv-condensed);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05 !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 14px !important;
}
.tv-cta p { color: #d7d7dd; max-width: 640px; }

/* Generic pages */
.tv-page-hero {
  max-width: var(--tv-max) !important;
  margin-inline: auto !important;
  padding: 82px 22px 40px !important;
}
.tv-page-hero h1 {
  font-family: var(--tv-condensed);
  font-size: clamp(58px, 9vw, 118px);
  line-height: .86 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 !important;
}
.tv-page-hero p { max-width: 720px; color: #d1d1d6; line-height: 1.75 !important; }
.tv-ticket-card { padding: 34px !important; min-height: 360px; }
.tv-ticket-card h3 {
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 34px;
  margin: 0 0 18px !important;
}
.tv-ticket-price {
  color: var(--tv-red-hot);
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 30px;
  margin: 0 0 18px !important;
}
.tv-list { color: #d6d6da; line-height: 1.8 !important; }
.tv-list li { margin-bottom: 8px; }
.tv-page-card { padding: 28px !important; }
.tv-page-card h3 {
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  font-size: 30px;
  letter-spacing: .08em;
  margin: 0 0 12px !important;
}
.tv-page-card p { color: var(--tv-muted); line-height: 1.7 !important; }

/* Footer */
.tv-site-footer {
  border-top: 1px solid rgba(255,255,255,.09);
  background: #030303;
}
.tv-footer-inner { padding-top: 44px !important; padding-bottom: 44px !important; }
.tv-footer-logo {
  width: 82px;
  height: 82px;
  margin: 0 !important;
  line-height: 0;
  flex-shrink: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.tv-footer-logo a {
  display: inline-flex;
  width: 82px;
  height: 82px;
  align-items: center;
  justify-content: center;
}
.tv-footer-logo img {
  width: 82px !important;
  height: 82px !important;
  object-fit: contain;
  filter: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
.tv-footer-title {
  margin: 0 !important;
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 24px;
}
.tv-footer-text { color: var(--tv-muted); line-height: 1.7 !important; font-size: 14px; }
.tv-socials a { text-decoration: none; color: #fff; margin-right: 14px; font-weight: 900; }

/* Editor tweaks */
.editor-styles-wrapper { background: #050505 !important; color: #fff !important; }

@media (max-width: 980px) {
  body::before, body::after { display: none; }
  .tv-header-inner { gap: 18px !important; }
  .tv-hero { min-height: auto; padding-top: 42px !important; }
  .tv-hero-visual { min-height: auto; }
  .tv-hero-visual img { min-height: 360px; }
  .tv-info-strip { margin-top: 0 !important; }
  .tv-info-strip .wp-block-column { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .tv-info-strip .wp-block-column:last-child { border-bottom: 0; }
  .tv-section-title::before, .tv-section-title::after { width: 54px; }
  .tv-cta { padding: 34px !important; margin-left: 22px !important; margin-right: 22px !important; }
}

@media (max-width: 680px) {
  .tv-brand-title, .tv-brand-sub { display: none; }
  .tv-brand-mark,
  .tv-brand-logo,
  .tv-brand-logo img { width: 58px !important; height: 58px !important; }
  .tv-title { font-size: clamp(54px, 18vw, 78px); }
  .tv-section { padding-top: 48px !important; padding-bottom: 48px !important; }
  .tv-hero-subtitle { font-size: 22px; }
  .tv-info-value { font-size: 20px; }
  .tv-section-title::before, .tv-section-title::after { display: none; }
}


/* V2.3 SAFE — force display for inlined header/footer */
.tv-site-header,
.tv-site-footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.tv-header-inner,
.tv-footer-inner {
  display: flex !important;
}


/* =========================================================
   Tattoo Village V5 — WooCommerce / Boutique / Billetterie
   ========================================================= */

.tv-commerce-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(212,20,20,.22), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.06), transparent 24%),
    #050505;
}

.tv-commerce-hero {
  padding-top: 92px !important;
  padding-bottom: 36px !important;
}

.tv-commerce-box {
  width: min(1220px, calc(100% - 34px)) !important;
  margin: 0 auto 86px !important;
  padding: 34px !important;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px;
  background: rgba(255,255,255,.045);
  box-shadow: 0 28px 90px rgba(0,0,0,.34);
}

.tv-commerce-benefits {
  width: min(1220px, calc(100% - 34px)) !important;
  margin: 0 auto 26px !important;
}

.tv-commerce-mini-card {
  height: 100%;
  padding: 28px !important;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.38);
}

.tv-commerce-mini-card h3 {
  margin-top: 0 !important;
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 28px;
}

.tv-commerce-mini-card p {
  color: var(--tv-muted);
  line-height: 1.75 !important;
}

/* Classic WooCommerce */
.woocommerce,
.woocommerce-page {
  color: #f7f7f7;
}

.woocommerce a,
.woocommerce-page a {
  color: #fff;
}

.woocommerce .woocommerce-breadcrumb {
  color: var(--tv-muted);
  margin-bottom: 24px;
}

.woocommerce .woocommerce-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.woocommerce h1,
.woocommerce h2,
.woocommerce h3,
.woocommerce-products-header__title,
.woocommerce div.product .product_title {
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .cart .button,
.woocommerce .checkout-button,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
  background: var(--tv-red) !important;
  color: #fff !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,42,42,.75) !important;
  padding: 14px 22px !important;
  text-transform: uppercase;
  font-weight: 950 !important;
  letter-spacing: .08em;
  transition: .25s ease;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce .checkout-button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
  transform: translateY(-2px);
  background: var(--tv-red-hot) !important;
  box-shadow: 0 18px 45px rgba(212,20,20,.32);
}

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

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 30px;
  background: rgba(0,0,0,.42);
  overflow: hidden;
  transition: .25s ease;
}

.woocommerce ul.products li.product:hover {
  border-color: rgba(255,42,42,.7);
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0,0,0,.42);
}

.woocommerce ul.products li.product img {
  border-radius: 22px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0c0c0c;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #fff;
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 24px;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--tv-red-hot) !important;
  font-weight: 950;
  font-size: 20px;
}

.woocommerce span.onsale {
  background: var(--tv-red) !important;
  color: #fff !important;
  border-radius: 999px;
  min-height: auto;
  min-width: auto;
  padding: 8px 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Cart / checkout / account */
.woocommerce table.shop_table,
.woocommerce table.shop_table td,
.woocommerce table.shop_table th,
.woocommerce-cart-form,
.woocommerce-checkout-review-order,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content,
.woocommerce form.checkout,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.woocommerce-form {
  border-color: rgba(255,255,255,.12) !important;
}

.woocommerce table.shop_table {
  background: rgba(0,0,0,.32);
  border-radius: 24px;
  overflow: hidden;
}

.woocommerce table.shop_table th {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.woocommerce table.shop_table td {
  color: #e8e8ea;
}

.woocommerce form .form-row label {
  color: #fff;
  font-weight: 800;
}

.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.woocommerce .select2-container--default .select2-selection--single {
  min-height: 48px;
  background: #0b0b0c !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
}

.woocommerce input.input-text:focus,
.woocommerce textarea:focus {
  outline: none;
  border-color: rgba(255,42,42,.8) !important;
  box-shadow: 0 0 0 3px rgba(212,20,20,.18);
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  background: rgba(212,20,20,.12) !important;
  color: #fff !important;
  border-top-color: var(--tv-red-hot) !important;
  border-radius: 20px;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
  color: var(--tv-red-hot) !important;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation li {
  margin-bottom: 10px;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: rgba(0,0,0,.28);
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation a:hover {
  background: var(--tv-red);
  border-color: var(--tv-red-hot);
}

.woocommerce div.product {
  width: min(1220px, calc(100% - 34px));
  margin: 64px auto 90px;
}

.woocommerce div.product div.images img {
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.12);
}

.woocommerce div.product form.cart {
  margin-top: 24px;
}

.woocommerce div.product form.cart .qty {
  min-height: 50px;
  background: #0b0b0c;
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
}

/* WooCommerce blocks compatibility */
.wc-block-cart,
.wc-block-checkout,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-product-collection {
  color: #fff;
}

.wc-block-components-button:not(.is-link) {
  background: var(--tv-red) !important;
  color: #fff !important;
  border-radius: 999px !important;
  text-transform: uppercase;
  font-weight: 950;
}

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-block-components-form .wc-block-components-text-input input[type=email],
.wc-block-components-form .wc-block-components-text-input input[type=tel],
.wc-block-components-form .wc-block-components-text-input input[type=text],
.wc-block-components-form .wc-block-components-text-input input[type=url] {
  background: #0b0b0c !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.14) !important;
}

@media (max-width: 1120px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv-navigation {
    max-width: 700px;
  }
}

@media (max-width: 680px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .tv-commerce-box {
    padding: 22px !important;
    border-radius: 24px;
  }

  .woocommerce div.product {
    width: min(100% - 24px, 1220px);
  }
}


/* =========================================================
   Tattoo Village V5.1 — Retours client
   ========================================================= */

.tv-programme-teaser {
  margin-top: 36px !important;
  margin-bottom: 70px !important;
  padding: clamp(34px, 6vw, 76px) !important;
  border-radius: 34px;
  border: 1px solid rgba(255,42,42,.28);
  background:
    radial-gradient(circle at 88% 12%, rgba(255,42,42,.22), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(212,20,20,.08));
}

.tv-programme-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(212,20,20,.22), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(255,255,255,.06), transparent 24%),
    #050505;
}

.tv-programme-hero {
  padding-top: 92px !important;
  padding-bottom: 40px !important;
}

.tv-programme-grid {
  width: min(1220px, calc(100% - 34px)) !important;
  margin: 0 auto 22px !important;
}

.tv-programme-card {
  height: 100%;
  padding: clamp(26px, 4vw, 42px) !important;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
}

.tv-programme-card-red {
  border-color: rgba(255,42,42,.32);
  background: rgba(212,20,20,.10);
}

.tv-programme-day,
.tv-programme-time {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(212,20,20,.18);
  border: 1px solid rgba(255,42,42,.34);
  color: #ffb4b4;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 950;
}

.tv-programme-card h3 {
  margin-top: 18px !important;
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(28px, 4vw, 44px);
  line-height: .96 !important;
}

.tv-programme-card p:not(.tv-programme-day):not(.tv-programme-time) {
  color: var(--tv-muted);
  line-height: 1.75 !important;
}

.tv-programme-experience {
  width: min(1220px, calc(100% - 34px)) !important;
  margin: 42px auto 90px !important;
  padding: clamp(32px, 5vw, 68px) !important;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.045);
}

.tv-experience-list p {
  padding: 18px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.34);
  font-weight: 850;
}


/* =========================================================
   Tattoo Village V5.2 — Templates finaux Billetterie / Programme / Panier / Compte
   Base V5.1 conservée, design non refondu.
   ========================================================= */

.tv-page-title {
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .045em;
  font-size: clamp(58px, 7vw, 112px);
  line-height: .86 !important;
  margin: 0 0 18px !important;
  color: #f4f4f4;
  text-shadow: 0 0 24px rgba(255,255,255,.08);
}

.tv-kicker {
  margin: 0 0 14px !important;
  color: var(--tv-red-hot);
  font-weight: 950;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-size: 13px;
}

.tv-page-lead {
  max-width: 600px;
  color: #d8d8dc;
  font-size: 17px;
  line-height: 1.75 !important;
  margin: 0 0 26px !important;
}

.tv-page-hero-split {
  max-width: var(--tv-max) !important;
  margin-inline: auto !important;
  padding: clamp(58px, 8vw, 104px) 22px 34px !important;
  display: grid !important;
  grid-template-columns: minmax(0, .98fr) minmax(380px, .82fr);
  align-items: center;
  gap: 44px;
}

.tv-page-hero-copy { position: relative; z-index: 2; }

.tv-page-hero-visual {
  min-height: 430px;
  background:
    radial-gradient(circle at 50% 50%, rgba(212,20,20,.26), transparent 34%),
    url('assets/images/hero-body-art.jpg') center bottom / contain no-repeat;
  filter: drop-shadow(0 28px 70px rgba(0,0,0,.72));
}

.tv-hero-facts {
  gap: 22px !important;
  margin-top: 22px !important;
}

.tv-hero-facts p {
  margin: 0 !important;
  min-width: 220px;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.32);
  color: #fff;
  line-height: 1.45 !important;
}

.tv-hero-facts span {
  color: var(--tv-muted);
  font-size: 13px;
}

.tv-panel-title {
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1 !important;
  margin: 0 0 24px !important;
}

/* Header ajusté : conforme maquette Programme, pas de menu boutique/panier/compte */
.tv-navigation .wp-block-navigation__container {
  gap: clamp(13px, 1.5vw, 24px) !important;
}

.tv-header-buttons {
  min-width: 285px;
}

@media (max-width: 1240px) {
  .tv-header-inner {
    padding-inline: 18px !important;
    gap: 16px !important;
  }
  .tv-brand { min-width: auto; }
  .tv-navigation .wp-block-navigation__container { gap: 14px !important; }
  .tv-navigation a { font-size: 11px; }
  .tv-header-buttons { min-width: 250px; }
}

@media (max-width: 980px) {
  .tv-header-buttons { display: none !important; }
  .tv-navigation { justify-content: flex-end !important; }
}

/* PROGRAMME */
.tv-programme-page-v52,
.tv-billets-page-v52,
.tv-panier-page-v52,
.tv-commande-page-v52,
.tv-compte-page-v52,
.tv-boutique-page-v52,
.tv-shop-page-v52,
.tv-product-page-v52 {
  background:
    radial-gradient(circle at 14% 8%, rgba(212,20,20,.18), transparent 29%),
    radial-gradient(circle at 84% 10%, rgba(255,255,255,.055), transparent 24%),
    #050505;
}

.tv-programme-layout-v52 {
  max-width: var(--tv-max) !important;
  margin-inline: auto !important;
  padding: 0 22px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 22px;
  align-items: start;
}

.tv-programme-main-v52,
.tv-programme-side-v52,
.tv-ticket-layout-v52,
.tv-woo-shell-v52,
.tv-account-dashboard-v52 {
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.035);
  box-shadow: 0 28px 90px rgba(0,0,0,.36);
}

.tv-programme-main-v52,
.tv-programme-side-v52 {
  border-radius: 18px;
  padding: 28px !important;
}

.tv-programme-side-v52 {
  position: sticky;
  top: 124px;
}

.tv-programme-side-v52 p {
  margin: 0 !important;
  padding: 22px 0;
  color: #e8e8ea;
  line-height: 1.65 !important;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.tv-programme-side-v52 p:last-child { border-bottom: 0; }

.tv-programme-side-v52 strong { color: #fff; }

.tv-day-grid-v52 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tv-day-card-v52 {
  min-height: 330px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 24px !important;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.34), rgba(0,0,0,.72)),
    radial-gradient(circle at 85% 100%, rgba(212,20,20,.22), transparent 36%);
  transition: .24s ease;
}

.tv-day-card-v52:hover {
  border-color: rgba(255,42,42,.68);
  transform: translateY(-3px);
}

.tv-day-card-red {
  background:
    linear-gradient(to bottom, rgba(0,0,0,.22), rgba(0,0,0,.7)),
    radial-gradient(circle at 70% 100%, rgba(255,38,38,.32), transparent 42%);
}

.tv-day-label {
  display: inline-flex;
  margin: 0 0 18px !important;
  padding: 8px 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--tv-red), #8b0505);
  color: #fff;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.tv-day-card-v52 h3 {
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.02 !important;
  margin: 0 0 10px !important;
}

.tv-day-time {
  color: var(--tv-red-hot);
  font-weight: 950;
  margin: 0 0 14px !important;
  font-size: 18px;
}

.tv-day-card-v52 ul {
  margin: 0 !important;
  padding-left: 18px !important;
  color: #e5e5e7;
  line-height: 1.6;
}

.tv-day-card-v52 li::marker { color: var(--tv-red-hot); }

.tv-festival-all-v52 {
  max-width: var(--tv-max) !important;
  margin-inline: auto !important;
  padding: 26px 22px 0 !important;
}

.tv-icon-row-v52 {
  gap: 12px !important;
}

.tv-icon-row-v52 p {
  flex: 1 1 130px;
  min-height: 86px;
  margin: 0 !important;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  color: #f0f0f0;
}

.tv-night-banner-v52 {
  max-width: var(--tv-max) !important;
  margin: 26px auto 0 !important;
  padding: 28px 42px !important;
  border: 1px solid rgba(255,42,42,.22);
  background:
    linear-gradient(90deg, rgba(212,20,20,.20), rgba(0,0,0,.74)),
    radial-gradient(circle at 88% 50%, rgba(255,38,38,.36), transparent 34%);
}

.tv-night-banner-v52 h2 {
  margin: 0 !important;
  color: var(--tv-red-hot);
  font-family: var(--tv-condensed);
  font-size: clamp(42px, 5vw, 70px);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tv-night-banner-v52 p {
  margin: 4px 0 0 !important;
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: clamp(24px, 3vw, 36px);
}

.tv-cta-row-v52 {
  max-width: var(--tv-max) !important;
  margin: 0 auto 58px !important;
  padding: 28px 22px 0 !important;
}

.tv-cta-buttons-v52 .wp-block-button__link {
  min-width: min(100%, 330px);
}

/* BILLETTERIE */
.tv-ticket-layout-v52 {
  max-width: var(--tv-max) !important;
  margin: 0 auto !important;
  padding: 28px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  border-radius: 18px;
}

.tv-ticket-grid-v52 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

.tv-ticket-card-v52 {
  position: relative;
  min-height: 300px;
  padding: 26px 22px 22px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(0,0,0,.38)),
    radial-gradient(circle at 88% 0%, rgba(212,20,20,.16), transparent 30%);
  text-align: center;
  transition: .24s ease;
}

.tv-ticket-card-v52:hover {
  border-color: rgba(255,42,42,.7);
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0,0,0,.38);
}

.tv-ticket-icon-v52 {
  color: var(--tv-red-hot);
  font-size: 34px;
  line-height: 1;
  margin-bottom: 12px;
}

.tv-ticket-card-v52 h3 {
  margin: 0 0 8px !important;
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 34px;
  line-height: 1 !important;
}

.tv-ticket-desc-v52 {
  color: #fff;
  margin: 0 0 16px !important;
}

.tv-ticket-rule-v52 {
  height: 1px;
  margin: 0 auto 16px;
  width: 88%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
}

.tv-ticket-price-v52 {
  color: #fff;
  font-family: var(--tv-condensed);
  letter-spacing: .08em;
  font-size: 34px;
  margin-bottom: 12px;
}

.tv-ticket-price-v52 .woocommerce-Price-amount {
  color: #fff !important;
}

.tv-ticket-details-v52 p {
  color: var(--tv-muted);
  font-size: 14px;
  line-height: 1.55 !important;
  margin: 0 0 14px !important;
}

.tv-ticket-add-v52 {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 48px;
  margin-top: auto !important;
  background: linear-gradient(135deg, var(--tv-red), #8b0505) !important;
  color: #fff !important;
  border: 1px solid rgba(255,42,42,.7) !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 950 !important;
}

.tv-small-note {
  margin: 16px 0 0 !important;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.32);
  color: #d8d8dc;
  border-radius: 8px;
}

.tv-ticket-summary-v52 {
  position: sticky;
  top: 124px;
  padding: 26px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.52));
  border: 1px solid rgba(255,255,255,.12);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.tv-ticket-summary-v52.tv-summary-updated {
  border-color: rgba(255,38,38,.66);
  box-shadow: 0 24px 75px rgba(212,20,20,.20);
  transform: translateY(-2px);
}

.tv-ticket-summary-v52 h2 {
  margin: 0 0 22px !important;
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 34px;
}

.tv-ticket-empty-v52 {
  min-height: 180px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px;
  color: var(--tv-muted);
}

.tv-ticket-empty-v52 span {
  font-size: 42px;
  opacity: .45;
}

.tv-ticket-empty-v52 p {
  color: #fff;
  margin: 4px 0 0 !important;
}

.tv-summary-lines-v52 {
  border-top: 1px solid rgba(255,255,255,.13);
  border-bottom: 1px solid rgba(255,255,255,.13);
  margin: 22px 0;
  padding: 16px 0;
}

.tv-summary-lines-v52 p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 12px !important;
}

.tv-summary-lines-v52 p:last-child {
  margin-bottom: 0 !important;
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 26px;
}

.tv-summary-lines-v52 strong {
  color: var(--tv-red-hot);
}

.tv-summary-button-v52 {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  background: linear-gradient(135deg, var(--tv-red), #8b0505);
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 950;
  border-radius: 6px;
}

.tv-summary-secure-v52 {
  text-align: center;
  color: #d8d8dc;
  margin: 18px 0 0 !important;
  font-size: 13px;
}

.tv-reassurance-row-v52,
.tv-help-row-v52 {
  max-width: var(--tv-max) !important;
  margin: 28px auto 60px !important;
  padding: 0 22px !important;
  gap: 14px !important;
}

.tv-reassurance-row-v52 p,
.tv-help-row-v52 p {
  flex: 1 1 230px;
  margin: 0 !important;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  color: var(--tv-muted);
  line-height: 1.55 !important;
}

.tv-reassurance-row-v52 strong,
.tv-help-row-v52 strong {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* WOO PAGES */
.tv-woo-shell-v52,
.tv-account-dashboard-v52 {
  max-width: var(--tv-max) !important;
  margin: 0 auto 64px !important;
  padding: 28px !important;
  border-radius: 18px;
}

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

.tv-breadcrumb strong {
  color: var(--tv-red-hot);
}

.tv-cart-shell-v52 .woocommerce {
  display: block;
}

.tv-woo-shell-v52 .woocommerce table.shop_table {
  border-radius: 12px;
}

.tv-woo-shell-v52 .woocommerce table.shop_table th {
  background: rgba(255,255,255,.055);
}

.tv-woo-shell-v52 .woocommerce table.shop_table td,
.tv-woo-shell-v52 .woocommerce table.shop_table th {
  padding: 18px !important;
}

.tv-woo-shell-v52 .cart_totals,
.tv-woo-shell-v52 .woocommerce-checkout-review-order,
.tv-woo-shell-v52 .woocommerce-MyAccount-content,
.tv-woo-shell-v52 .woocommerce-MyAccount-navigation {
  background: rgba(0,0,0,.28);
  border-radius: 14px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
}

.tv-woo-shell-v52 .woocommerce-cart-form {
  background: rgba(0,0,0,.20);
  border-radius: 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
}

.tv-account-intro-v52 {
  padding: 0 0 24px !important;
}

.tv-account-intro-v52 p {
  color: var(--tv-muted);
  margin: 0 !important;
}

/* Clickable image cards for tattoo artists / exposants / showcases */
.tv-click-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.tv-click-card {
  position: relative;
  display: block;
  min-height: 250px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.74)),
    radial-gradient(circle at 50% 10%, rgba(212,20,20,.22), transparent 34%);
  color: #fff !important;
  text-decoration: none;
  padding: 18px;
  transition: .24s ease;
}

.tv-click-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,42,42,.72);
  box-shadow: 0 26px 70px rgba(0,0,0,.44);
}

.tv-click-card-image {
  position: absolute;
  inset: 0;
  background: url('assets/images/hero-body-art.jpg') center / cover no-repeat;
  opacity: .28;
  filter: grayscale(1);
  transition: .24s ease;
}

.tv-click-card:hover .tv-click-card-image {
  opacity: .38;
  transform: scale(1.04);
}

.tv-click-card strong,
.tv-click-card em {
  position: relative;
  z-index: 1;
  display: block;
}

.tv-click-card strong {
  margin-top: 155px;
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 26px;
}

.tv-click-card em {
  color: var(--tv-muted);
  font-style: normal;
  margin-top: 6px;
}

/* Mobile */
@media (max-width: 980px) {
  .tv-page-hero-split,
  .tv-programme-layout-v52,
  .tv-ticket-layout-v52 {
    grid-template-columns: 1fr !important;
  }

  .tv-page-hero-visual {
    min-height: 300px;
    order: -1;
  }

  .tv-programme-side-v52,
  .tv-ticket-summary-v52 {
    position: static;
  }

  .tv-day-grid-v52,
  .tv-ticket-grid-v52,
  .tv-click-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 680px) {
  .tv-page-hero-split {
    padding-top: 42px !important;
  }

  .tv-page-title {
    font-size: clamp(48px, 16vw, 72px);
  }

  .tv-hero-facts p {
    min-width: 100%;
  }

  .tv-day-grid-v52,
  .tv-ticket-grid-v52,
  .tv-click-grid {
    grid-template-columns: 1fr;
  }

  .tv-ticket-layout-v52,
  .tv-programme-main-v52,
  .tv-programme-side-v52,
  .tv-woo-shell-v52,
  .tv-account-dashboard-v52 {
    padding: 18px !important;
    border-radius: 14px;
  }

  .tv-icon-row-v52 p {
    flex-basis: 100%;
  }

  .tv-night-banner-v52 {
    padding: 24px !important;
  }

  .tv-woo-shell-v52 .woocommerce table.shop_table td,
  .tv-woo-shell-v52 .woocommerce table.shop_table th {
    padding: 12px !important;
  }
}

/* V5.4 builder utilities */
.tv-header-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255,255,255,.055);
}

.tv-header-cart:hover {
  border-color: rgba(255,38,38,.75);
  background: rgba(212,20,20,.18);
}

.tv-header-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--tv-red);
  color: #fff;
}

/* Header menu settings
   Change these variables to tune submenu colors and mobile burger behavior. */
:root {
  --tv-menu-link-color: #e7e7e7;
  --tv-menu-link-hover: var(--tv-red-hot);
  --tv-submenu-bg: rgba(5,5,5,.96);
  --tv-submenu-border: rgba(255,38,38,.34);
  --tv-submenu-link: #f7f7f7;
  --tv-submenu-link-hover: #ffffff;
  --tv-submenu-hover-bg: rgba(212,20,20,.20);
  --tv-mobile-menu-bg: rgba(3,3,3,.98);
  --tv-mobile-menu-link: #f7f7f7;
  --tv-burger-color: #f7f7f7;
  --tv-burger-hover: var(--tv-red-hot);
}

.tv-navigation .wp-block-navigation-item__content,
.tv-navigation a {
  color: var(--tv-menu-link-color) !important;
}

.tv-navigation .wp-block-navigation-item__content:hover,
.tv-navigation a:hover {
  color: var(--tv-menu-link-hover) !important;
}

.tv-navigation .wp-block-navigation__submenu-container {
  min-width: 230px !important;
  padding: 10px !important;
  border: 1px solid var(--tv-submenu-border) !important;
  border-radius: 8px !important;
  background: var(--tv-submenu-bg) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.42) !important;
}

.tv-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  display: flex;
  width: 100%;
  padding: 11px 12px !important;
  border-radius: 6px;
  color: var(--tv-submenu-link) !important;
  font-size: 12px;
}

.tv-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
  background: var(--tv-submenu-hover-bg) !important;
  color: var(--tv-submenu-link-hover) !important;
}

.tv-navigation .wp-block-navigation__responsive-container-open,
.tv-navigation .wp-block-navigation__responsive-container-close {
  color: var(--tv-burger-color) !important;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255,255,255,.045);
}

.tv-navigation .wp-block-navigation__responsive-container-open:hover,
.tv-navigation .wp-block-navigation__responsive-container-close:hover {
  color: var(--tv-burger-hover) !important;
  border-color: rgba(255,38,38,.55);
}

.tv-navigation .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--tv-mobile-menu-bg) !important;
  color: var(--tv-mobile-menu-link) !important;
  padding: 28px !important;
}

.wp-block-navigation__responsive-container.is-menu-open,
.wp-block-navigation__responsive-container.has-modal-open {
  background: var(--tv-mobile-menu-bg) !important;
  color: var(--tv-mobile-menu-link) !important;
}

.wp-block-navigation__responsive-container.is-menu-open a,
.wp-block-navigation__responsive-container.has-modal-open a {
  color: var(--tv-mobile-menu-link) !important;
}

.tv-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: flex-start !important;
  gap: 18px !important;
  padding-top: 56px !important;
}

.tv-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  align-items: stretch !important;
  width: 100%;
  gap: 6px !important;
}

.tv-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  width: 100%;
  padding: 14px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: var(--tv-mobile-menu-link) !important;
  font-size: 15px;
}

.tv-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
  position: static !important;
  width: 100% !important;
  margin: 6px 0 12px !important;
  padding: 6px 0 6px 14px !important;
  border: 0 !important;
  border-left: 2px solid var(--tv-submenu-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container,
.wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__submenu-container {
  background: transparent !important;
  border-color: var(--tv-submenu-border) !important;
  box-shadow: none !important;
}

/* Mobile burger dropdown fix
   The navigation block opens as a modal by default. On Tattoo Village we keep it
   as a visible dropdown below the sticky header, with its own scroll area. */
@media (max-width: 980px) {
  .tv-site-header {
    overflow: visible !important;
  }

  .tv-header-inner {
    position: relative;
  }

  .tv-navigation .wp-block-navigation__responsive-container.is-menu-open,
  .tv-navigation .wp-block-navigation__responsive-container.has-modal-open {
    position: fixed !important;
    inset: 76px 12px auto 12px !important;
    width: auto !important;
    height: auto !important;
    max-height: calc(100dvh - 92px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    border: 1px solid rgba(255,38,38,.35) !important;
    border-radius: 12px !important;
    background:
      linear-gradient(180deg, rgba(0,0,0,.98), rgba(18,0,0,.98)) !important;
    box-shadow: 0 30px 90px rgba(0,0,0,.72), 0 0 0 1px rgba(255,255,255,.05) inset !important;
    z-index: 99999 !important;
    padding: 18px 22px 22px !important;
  }

  body.admin-bar .tv-navigation .wp-block-navigation__responsive-container.is-menu-open,
  body.admin-bar .tv-navigation .wp-block-navigation__responsive-container.has-modal-open {
    top: 122px !important;
    max-height: calc(100dvh - 138px) !important;
  }

  .tv-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close,
  .tv-navigation .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-close {
    position: sticky !important;
    top: 0 !important;
    margin-left: auto !important;
    margin-bottom: 10px !important;
    z-index: 2;
    background: rgba(0,0,0,.74) !important;
  }

  .tv-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
  .tv-navigation .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-content {
    padding-top: 0 !important;
  }

  .tv-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
  .tv-navigation .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__container {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }

  .tv-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
  .tv-navigation .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation-item {
    width: 100%;
  }

  .tv-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
  .tv-navigation .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation-item__content {
    display: flex !important;
    min-height: 48px;
    align-items: center;
    padding: 13px 0 !important;
  }
}

.tv-width-normal { max-width: 760px !important; margin-left: auto !important; margin-right: auto !important; }
.tv-width-wide { max-width: var(--tv-max) !important; margin-left: auto !important; margin-right: auto !important; }
.tv-width-full { max-width: none !important; width: 100% !important; }
.tv-align-left { text-align: left; }
.tv-align-center { text-align: center; }
.tv-align-right { text-align: right; }
.tv-cols-2, .tv-cols-3, .tv-cols-4 { display: grid !important; }
.tv-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tv-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tv-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tv-gap-tight { gap: 12px !important; }
.tv-gap-normal { gap: 22px !important; }
.tv-gap-large { gap: 36px !important; }
.tv-pad-none { padding: 0 !important; }
.tv-pad-small { padding: 18px !important; }
.tv-pad-medium { padding: 32px !important; }
.tv-pad-large { padding: clamp(44px, 6vw, 78px) !important; }
.tv-space-none { margin-top: 0 !important; margin-bottom: 0 !important; }
.tv-space-small { margin-top: 22px !important; margin-bottom: 22px !important; }
.tv-space-medium { margin-top: 44px !important; margin-bottom: 44px !important; }
.tv-space-large { margin-top: 72px !important; margin-bottom: 72px !important; }
.tv-min-small { min-height: 220px; }
.tv-min-medium { min-height: 420px; }
.tv-min-hero { min-height: min(760px, 86vh); }
.tv-img-square img { aspect-ratio: 1 / 1; object-fit: cover; }
.tv-img-wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.tv-img-tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.tv-img-left { order: -1; }
.tv-img-right { order: 2; }
.tv-overlay-soft,
.tv-overlay-medium,
.tv-overlay-strong {
  position: relative;
  isolation: isolate;
}
.tv-overlay-soft::before,
.tv-overlay-medium::before,
.tv-overlay-strong::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(0,0,0,.35);
}
.tv-overlay-medium::before { background: rgba(0,0,0,.55); }
.tv-overlay-strong::before { background: rgba(0,0,0,.72); }
.tv-overlay-soft > *,
.tv-overlay-medium > *,
.tv-overlay-strong > * {
  position: relative;
  z-index: 1;
}
.tv-accent-red { --tv-local-accent: var(--tv-red-hot); }
.tv-accent-white { --tv-local-accent: var(--tv-white); }
.tv-accent-grey { --tv-local-accent: var(--tv-muted); }
.tv-accent-red a, .tv-accent-red strong { color: var(--tv-red-hot); }
.tv-accent-white a, .tv-accent-white strong { color: var(--tv-white); }
.tv-accent-grey a, .tv-accent-grey strong { color: var(--tv-muted); }
.tv-radius-none { border-radius: 0 !important; }
.tv-radius-soft { border-radius: 10px !important; overflow: hidden; }
.tv-border-light { border: 1px solid rgba(255,255,255,.14); }
.tv-shadow-soft { box-shadow: 0 24px 70px rgba(0,0,0,.32); }

.tv-woo-shell-v52 .woocommerce-cart-form__cart-item .product-name a,
.tv-woo-shell-v52 .woocommerce-orders-table__cell-order-number a {
  color: #fff !important;
  font-weight: 900;
}

.tv-woo-shell-v52 .woocommerce table.shop_table .product-remove a {
  color: var(--tv-red-hot) !important;
}

.tv-woo-shell-v52 .woocommerce form.checkout_coupon,
.tv-woo-shell-v52 .woocommerce form.login,
.tv-woo-shell-v52 .woocommerce form.register,
.tv-woo-shell-v52 .woocommerce-ResetPassword,
.tv-woo-shell-v52 .woocommerce-address-fields,
.tv-woo-shell-v52 .woocommerce-EditAccountForm {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(0,0,0,.22);
  padding: 22px;
}

.tv-woo-shell-v52 .woocommerce-order,
.tv-woo-shell-v52 .woocommerce-thankyou-order-received {
  color: #fff;
}

.tv-woo-shell-v52 .woocommerce-thankyou-order-received {
  padding: 22px;
  border-left: 4px solid var(--tv-red);
  background: rgba(212,20,20,.12);
  border-radius: 8px;
}

/* Custom WooCommerce cart */
.tv-custom-cart {
  color: #fff;
}

.tv-custom-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 24px;
  align-items: start;
}

.tv-custom-cart-items,
.tv-custom-cart-totals,
.tv-custom-cart-empty {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(0,0,0,.24);
}

.tv-custom-cart-items {
  padding: 18px;
}

.tv-custom-cart-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 150px;
  gap: 16px;
  padding: 0 0 14px;
  color: var(--tv-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 900;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.tv-custom-cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 150px;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.tv-custom-cart-row:last-of-type {
  border-bottom: 0;
}

.tv-custom-cart-product {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.tv-custom-cart-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 3px solid var(--tv-red-hot);
  color: transparent;
  box-shadow: 0 0 24px rgba(212,20,20,.22);
}

.tv-custom-cart-product h3 {
  margin: 0 0 5px !important;
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(24px, 3vw, 36px);
}

.tv-custom-cart-product h3 a {
  color: #fff !important;
  text-decoration: none;
}

.tv-custom-cart-product p {
  margin: 0 0 8px !important;
  color: var(--tv-muted);
}

.tv-custom-cart-remove,
.tv-custom-cart-continue {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tv-custom-cart-remove:hover,
.tv-custom-cart-continue:hover {
  color: var(--tv-red-hot) !important;
}

.tv-custom-cart-qty .quantity {
  display: inline-flex;
}

.tv-custom-cart-qty input.qty {
  width: 82px;
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  background: rgba(0,0,0,.45);
  color: #fff;
  text-align: center;
  font-weight: 900;
}

.tv-custom-cart-line-total {
  color: var(--tv-red-hot);
  font-weight: 950;
  text-align: right;
}

.tv-custom-cart-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 20px;
}

.tv-custom-cart-actions input.input-text {
  min-height: 48px;
  min-width: min(100%, 240px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px;
  background: rgba(0,0,0,.42);
  color: #fff;
  padding: 0 14px;
}

.tv-custom-cart-totals {
  position: sticky;
  top: 124px;
  padding: 24px;
}

.tv-custom-cart-totals h2,
.tv-custom-cart-empty h2 {
  margin: 0 0 20px !important;
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: clamp(34px, 4vw, 48px);
}

.tv-custom-cart-totals p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.tv-custom-cart-totals strong {
  color: var(--tv-red-hot);
}

.tv-custom-cart-total {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--tv-condensed);
}

.tv-custom-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(255,42,42,.65);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--tv-red), #920808);
  color: #fff !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 950;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.tv-custom-cart-button:hover {
  transform: translateY(-2px);
  background: var(--tv-red-hot);
}

.tv-custom-cart-button-ghost {
  background: rgba(0,0,0,.48);
  border-color: rgba(255,255,255,.22);
}

.tv-custom-cart-checkout {
  width: 100%;
  margin-top: 22px;
}

.tv-custom-cart-continue {
  display: block;
  margin-top: 15px;
  text-align: center;
}

.tv-custom-cart-totals small {
  display: block;
  margin-top: 18px;
  color: var(--tv-muted);
  text-align: center;
}

.tv-custom-cart-empty {
  display: grid;
  place-items: center;
  min-height: 340px;
  padding: 34px;
  text-align: center;
}

.tv-custom-cart-empty span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border: 3px solid var(--tv-red-hot);
  color: transparent;
}

.tv-custom-cart-empty p {
  max-width: 460px;
  color: var(--tv-muted);
}

@media (max-width: 980px) {
  .tv-custom-cart-layout {
    grid-template-columns: 1fr;
  }

  .tv-custom-cart-totals {
    position: static;
  }
}

@media (max-width: 680px) {
  .tv-custom-cart-head {
    display: none;
  }

  .tv-custom-cart-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 0;
  }

  .tv-custom-cart-line-total {
    text-align: left;
  }

  .tv-custom-cart-actions {
    justify-content: stretch;
  }

  .tv-custom-cart-actions input.input-text,
  .tv-custom-cart-actions button,
  .tv-custom-cart-button {
    width: 100%;
  }
}

@media (min-width: 981px) {
  .tv-hide-desktop { display: none !important; }
}

@media (max-width: 980px) and (min-width: 681px) {
  .tv-hide-tablet { display: none !important; }
}

@media (max-width: 980px) {
  .tv-mobile-first { order: -10; }
  .tv-mobile-last { order: 10; }
  .tv-cols-2,
  .tv-cols-3,
  .tv-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .tv-hide-mobile { display: none !important; }
  .tv-cols-2,
  .tv-cols-3,
  .tv-cols-4 {
    grid-template-columns: 1fr;
  }
  .tv-header-buttons {
    gap: 8px !important;
  }
  .tv-header-cart {
    min-height: 38px;
    padding: 0 10px;
    font-size: 11px;
  }
  .woocommerce table.shop_table_responsive tr,
  .woocommerce-page table.shop_table_responsive tr {
    display: block;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    overflow: hidden;
  }
}

/* V5.4.5 responsive polish: cart, tickets and programme */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.wp-site-blocks,
.tv-site-header,
.tv-site-footer,
.tv-page-hero-split,
.tv-ticket-layout-v52,
.tv-programme-layout-v52,
.tv-woo-shell-v52,
.tv-custom-cart,
.tv-custom-cart * {
  box-sizing: border-box;
}

.tv-page-hero-split,
.tv-ticket-layout-v52,
.tv-programme-layout-v52,
.tv-woo-shell-v52,
.tv-reassurance-row-v52,
.tv-help-row-v52 {
  width: min(calc(100% - 32px), var(--tv-max)) !important;
}

.tv-page-title,
.tv-title,
.tv-section-title,
.tv-panel-title,
.tv-ticket-card-v52 h3,
.tv-day-card-v52 h3,
.tv-custom-cart-product h3,
.tv-custom-cart-totals h2 {
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: .95 !important;
}

.tv-page-lead,
.tv-lead,
.tv-ticket-desc-v52,
.tv-day-card-v52,
.tv-custom-cart {
  overflow-wrap: break-word;
}

.tv-cart-shell-v52 {
  padding: clamp(18px, 3vw, 32px) !important;
}

.tv-custom-cart-layout {
  grid-template-columns: minmax(0, 1fr) clamp(320px, 31vw, 410px);
  gap: clamp(18px, 2.3vw, 30px);
  width: 100%;
}

.tv-custom-cart-items,
.tv-custom-cart-totals {
  min-width: 0;
}

.tv-custom-cart-items {
  padding: clamp(16px, 2vw, 24px);
}

.tv-custom-cart-head,
.tv-custom-cart-row {
  grid-template-columns: minmax(260px, 1fr) 112px minmax(120px, 150px);
  gap: clamp(12px, 1.8vw, 20px);
}

.tv-custom-cart-head span:nth-child(2),
.tv-custom-cart-qty {
  text-align: center;
  justify-self: center;
}

.tv-custom-cart-head span:nth-child(3),
.tv-custom-cart-line-total {
  text-align: right;
  justify-self: end;
}

.tv-custom-cart-product {
  min-width: 0;
  grid-template-columns: 44px minmax(0, 1fr);
}

.tv-custom-cart-product h3 {
  max-width: 12ch;
  font-size: clamp(28px, 2.6vw, 42px);
}

.tv-custom-cart-mark {
  width: 40px;
  height: 40px;
}

.tv-custom-cart-qty input.qty {
  width: 76px;
  min-height: 52px;
}

.tv-custom-cart-totals {
  padding: clamp(20px, 2.4vw, 30px);
}

.tv-custom-cart-totals h2 {
  font-size: clamp(38px, 4vw, 58px);
}

.tv-custom-cart-totals p {
  align-items: baseline;
}

.tv-custom-cart-total strong {
  font-size: clamp(24px, 2.5vw, 36px);
  white-space: nowrap;
}

.tv-custom-cart-checkout,
.tv-custom-cart-continue,
.tv-custom-cart-totals small {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
}

.tv-custom-cart-total-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin-top: 24px !important;
}

.tv-custom-cart-checkout {
  margin-top: 0 !important;
}

.tv-custom-cart-continue {
  justify-content: center;
  min-height: 44px;
  align-items: center;
  margin: 0 !important;
}

.tv-custom-cart-totals small {
  justify-content: center;
  line-height: 1.45;
}

.tv-custom-cart-actions {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  align-items: center;
}

.tv-custom-cart-actions input.input-text {
  width: 100%;
  min-width: 0;
}

@media (max-width: 1100px) {
  .tv-custom-cart-layout {
    grid-template-columns: 1fr;
  }

  .tv-custom-cart-totals {
    position: static;
  }

  .tv-custom-cart-totals {
    max-width: 620px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 980px) {
  .tv-page-hero-split,
  .tv-ticket-layout-v52,
  .tv-programme-layout-v52,
  .tv-woo-shell-v52,
  .tv-reassurance-row-v52,
  .tv-help-row-v52 {
    width: min(calc(100% - 24px), var(--tv-max)) !important;
  }

  .tv-page-hero-split {
    min-height: auto !important;
    padding: 34px 18px !important;
  }

  .tv-page-title {
    font-size: clamp(46px, 11vw, 78px);
  }

  .tv-ticket-grid-v52,
  .tv-day-grid-v52 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv-ticket-card-v52,
  .tv-day-card-v52 {
    min-width: 0;
  }

  .tv-ticket-card-v52 h3,
  .tv-day-card-v52 h3 {
    font-size: clamp(28px, 5vw, 42px);
  }
}

@media (max-width: 720px) {
  .tv-custom-cart-head {
    display: none;
  }

  .tv-custom-cart-row {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .tv-custom-cart-product {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .tv-custom-cart-mark {
    width: 34px;
    height: 34px;
    border-width: 3px;
  }

  .tv-custom-cart-product h3 {
    max-width: none;
    font-size: clamp(30px, 12vw, 48px);
  }

  .tv-custom-cart-qty {
    justify-self: stretch;
    text-align: left;
  }

  .tv-custom-cart-qty::before,
  .tv-custom-cart-line-total::before {
    display: block;
    margin-bottom: 6px;
    color: var(--tv-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    font-weight: 900;
  }

  .tv-custom-cart-qty::before {
    content: "Quantite";
  }

  .tv-custom-cart-line-total::before {
    content: "Total";
  }

  .tv-custom-cart-line-total {
    justify-self: stretch;
    text-align: left;
  }

  .tv-custom-cart-actions {
    grid-template-columns: 1fr;
  }

  .tv-custom-cart-actions input.input-text,
  .tv-custom-cart-actions .tv-custom-cart-button,
  .tv-custom-cart-actions button {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .tv-page-hero-split,
  .tv-ticket-layout-v52,
  .tv-programme-layout-v52,
  .tv-woo-shell-v52,
  .tv-reassurance-row-v52,
  .tv-help-row-v52 {
    width: min(calc(100% - 18px), var(--tv-max)) !important;
  }

  .tv-page-hero-visual {
    min-height: 210px !important;
  }

  .tv-page-title {
    font-size: clamp(42px, 14vw, 62px);
  }

  .tv-page-lead {
    font-size: 16px;
    line-height: 1.55 !important;
  }

  .tv-ticket-grid-v52,
  .tv-day-grid-v52 {
    grid-template-columns: 1fr !important;
  }

  .tv-ticket-card-v52 {
    min-height: 0 !important;
    padding: 24px 20px !important;
  }

  .tv-ticket-price-v52 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .tv-day-card-v52 {
    padding: 22px !important;
  }

  .tv-night-banner-v52 h2,
  .tv-section-title,
  .tv-panel-title {
    font-size: clamp(34px, 12vw, 54px);
  }

  .tv-custom-cart-items,
  .tv-custom-cart-totals {
    border-radius: 12px;
  }

  .tv-custom-cart-totals h2 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .tv-custom-cart-total {
    font-size: 20px;
  }
}

@media (max-width: 390px) {
  .tv-page-title {
    font-size: clamp(38px, 13vw, 52px);
  }

  .tv-custom-cart-product h3 {
    font-size: clamp(28px, 11vw, 42px);
  }

  .tv-custom-cart-totals p {
    gap: 10px;
  }

  .tv-custom-cart-button {
    padding-inline: 14px;
    letter-spacing: .05em;
  }
}

/* V5.4.6 cart visual reset: two panels, no outer box */
.tv-panier-page-v52 .tv-cart-shell-v52,
.tv-panier-page-v52 .tv-woo-shell-v52.tv-cart-shell-v52 {
  width: min(calc(100% - 32px), var(--tv-max)) !important;
  max-width: var(--tv-max) !important;
  margin: 0 auto 56px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.tv-panier-page-v52 .tv-custom-cart-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: 18px;
  align-items: stretch;
}

.tv-panier-page-v52 .tv-custom-cart-items,
.tv-panier-page-v52 .tv-custom-cart-totals,
.tv-panier-page-v52 .tv-custom-cart-empty {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(0,0,0,.34));
  box-shadow: 0 20px 70px rgba(0,0,0,.28);
}

.tv-custom-cart-section-title {
  margin: 0 0 16px !important;
  font-family: var(--tv-condensed);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(28px, 2.7vw, 42px);
}

.tv-panier-page-v52 .tv-custom-cart-items {
  padding: clamp(18px, 2vw, 26px);
}

.tv-panier-page-v52 .tv-custom-cart-head {
  grid-template-columns: minmax(280px, 1fr) 120px 130px;
  padding-bottom: 10px;
  font-size: 11px;
}

.tv-panier-page-v52 .tv-custom-cart-row {
  grid-template-columns: minmax(280px, 1fr) 120px 130px;
  min-height: 96px;
  padding: 16px 0;
}

.tv-panier-page-v52 .tv-custom-cart-product {
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
}

.tv-panier-page-v52 .tv-custom-cart-product h3 {
  max-width: none;
  margin-bottom: 2px !important;
  font-size: clamp(28px, 2.7vw, 40px);
}

.tv-panier-page-v52 .tv-custom-cart-product p {
  font-size: 14px;
}

.tv-panier-page-v52 .tv-custom-cart-mark {
  width: 36px;
  height: 36px;
  border-width: 3px;
}

.tv-panier-page-v52 .tv-custom-cart-qty input.qty {
  width: 64px;
  min-height: 42px;
  border-radius: 4px;
}

.tv-panier-page-v52 .tv-custom-cart-actions {
  grid-template-columns: minmax(180px, 1fr) 136px 152px;
  gap: 10px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.10);
  margin-top: 6px;
  padding-top: 16px;
}

.tv-panier-page-v52 .tv-custom-cart-actions input.input-text,
.tv-panier-page-v52 .tv-custom-cart-actions .tv-custom-cart-button {
  min-height: 44px;
}

.tv-panier-page-v52 .tv-custom-cart-actions .tv-custom-cart-button {
  padding-inline: 14px;
  font-size: 12px;
}

.tv-panier-page-v52 .tv-custom-cart-totals {
  padding: clamp(18px, 2vw, 26px);
  top: 112px;
}

.tv-panier-page-v52 .tv-custom-cart-totals h2 {
  font-size: clamp(34px, 3.4vw, 48px);
}

.tv-panier-page-v52 .tv-custom-cart-totals p {
  padding: 11px 0;
  font-size: 14px;
}

.tv-panier-page-v52 .tv-custom-cart-total {
  align-items: center;
}

.tv-panier-page-v52 .tv-custom-cart-total span {
  font-size: 24px;
}

.tv-panier-page-v52 .tv-custom-cart-total strong {
  font-size: clamp(28px, 2.5vw, 40px);
}

.tv-panier-page-v52 .tv-custom-cart-total-actions {
  margin-top: 20px !important;
}

.tv-panier-page-v52 .tv-custom-cart-checkout {
  min-height: 54px;
}

@media (max-width: 1100px) {
  .tv-panier-page-v52 .tv-custom-cart-layout {
    grid-template-columns: 1fr;
  }

  .tv-panier-page-v52 .tv-custom-cart-totals {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .tv-panier-page-v52 .tv-cart-shell-v52,
  .tv-panier-page-v52 .tv-woo-shell-v52.tv-cart-shell-v52 {
    width: min(calc(100% - 18px), var(--tv-max)) !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-row,
  .tv-panier-page-v52 .tv-custom-cart-head {
    grid-template-columns: 1fr;
  }

  .tv-panier-page-v52 .tv-custom-cart-head {
    display: none;
  }

  .tv-panier-page-v52 .tv-custom-cart-row {
    min-height: 0;
    gap: 12px;
  }

  .tv-panier-page-v52 .tv-custom-cart-actions {
    grid-template-columns: 1fr;
  }

  .tv-panier-page-v52 .tv-custom-cart-product h3 {
    font-size: clamp(30px, 11vw, 44px);
  }
}

/* V5.4.8 force real wide cart layout through WordPress constrained blocks */
.tv-panier-page-v52 {
  --tv-cart-page-width: min(1500px, calc(100vw - 56px));
  --tv-cart-page-gutter: max(28px, calc((100vw - var(--tv-cart-page-width)) / 2));
}

.tv-panier-page-v52 .tv-page-hero-split,
.tv-panier-page-v52 .tv-cart-shell-v52,
.tv-panier-page-v52 .tv-woo-shell-v52.tv-cart-shell-v52,
.tv-panier-page-v52 .tv-help-row-v52 {
  width: var(--tv-cart-page-width) !important;
  max-width: var(--tv-cart-page-width) !important;
  margin-left: var(--tv-cart-page-gutter) !important;
  margin-right: var(--tv-cart-page-gutter) !important;
}

.tv-panier-page-v52 .tv-cart-shell-v52,
.tv-panier-page-v52 .tv-woo-shell-v52.tv-cart-shell-v52 {
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.tv-panier-page-v52 .tv-custom-cart-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px) !important;
  gap: 20px !important;
  align-items: start !important;
}

.tv-panier-page-v52 .tv-custom-cart-items,
.tv-panier-page-v52 .tv-custom-cart-totals {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.tv-panier-page-v52 .tv-custom-cart-section-title {
  font-size: clamp(34px, 2.8vw, 48px);
}

.tv-panier-page-v52 .tv-custom-cart-head,
.tv-panier-page-v52 .tv-custom-cart-row {
  display: grid !important;
  grid-template-columns: minmax(320px, 1.55fr) minmax(145px, .62fr) 105px minmax(112px, .38fr) !important;
  gap: 16px !important;
  align-items: center !important;
}

.tv-panier-page-v52 .tv-custom-cart-head {
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 4px;
  background: rgba(255,255,255,.045);
}

.tv-panier-page-v52 .tv-custom-cart-head span {
  display: block !important;
  justify-self: start !important;
  text-align: left !important;
  white-space: nowrap !important;
  font-size: 11px;
}

.tv-panier-page-v52 .tv-custom-cart-row {
  min-height: 112px;
  padding: 18px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.tv-panier-page-v52 .tv-custom-cart-product {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  gap: 16px !important;
  min-width: 0 !important;
}

.tv-panier-page-v52 .tv-custom-cart-mark {
  width: 52px !important;
  height: 52px !important;
}

.tv-panier-page-v52 .tv-custom-cart-product h3 {
  max-width: none !important;
  font-size: clamp(28px, 2vw, 38px);
}

.tv-panier-page-v52 .tv-custom-cart-access,
.tv-panier-page-v52 .tv-custom-cart-qty,
.tv-panier-page-v52 .tv-custom-cart-line-total {
  grid-column: auto !important;
  justify-self: start !important;
  text-align: left !important;
}

.tv-panier-page-v52 .tv-custom-cart-line-total {
  justify-self: end !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.tv-panier-page-v52 .tv-custom-cart-qty .quantity,
.tv-panier-page-v52 .tv-custom-cart-qty input.qty {
  margin: 0 !important;
}

.tv-panier-page-v52 .tv-custom-cart-actions {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) 140px 160px !important;
  gap: 10px !important;
}

.tv-panier-page-v52 .tv-custom-cart-totals {
  position: sticky !important;
  top: 118px !important;
}

.tv-panier-page-v52 .tv-custom-cart-totals h2 {
  font-size: clamp(38px, 3vw, 54px);
}

.tv-panier-page-v52 .tv-custom-cart-total {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
}

.tv-panier-page-v52 .tv-custom-cart-total strong {
  white-space: nowrap !important;
}

@media (max-width: 1260px) {
  .tv-panier-page-v52 {
    --tv-cart-page-width: min(1180px, calc(100vw - 32px));
    --tv-cart-page-gutter: max(16px, calc((100vw - var(--tv-cart-page-width)) / 2));
  }

  .tv-panier-page-v52 .tv-custom-cart-layout {
    grid-template-columns: 1fr !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-totals {
    position: static !important;
  }
}

@media (max-width: 860px) {
  .tv-panier-page-v52 {
    --tv-cart-page-width: calc(100vw - 18px);
    --tv-cart-page-gutter: 9px;
  }

  .tv-panier-page-v52 .tv-custom-cart-head {
    display: none !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-line-total {
    justify-self: start !important;
    text-align: left !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-actions {
    grid-template-columns: 1fr !important;
  }
}

/* V5.4.9 true full-bleed cart: escape any saved/constrained WP layout */
.wp-block-group.tv-panier-page-v52,
.tv-panier-page-v52 {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.tv-panier-page-v52 > .wp-block-group,
.tv-panier-page-v52 .tv-page-hero-split,
.tv-panier-page-v52 .tv-cart-shell-v52,
.tv-panier-page-v52 .tv-help-row-v52 {
  position: relative !important;
  left: 50% !important;
  width: min(1500px, calc(100vw - 56px)) !important;
  max-width: min(1500px, calc(100vw - 56px)) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: translateX(-50%) !important;
}

.tv-panier-page-v52 .tv-cart-shell-v52 {
  padding: 0 !important;
}

.tv-panier-page-v52 .tv-custom-cart-layout {
  width: 100% !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 410px) !important;
}

.tv-panier-page-v52 .tv-custom-cart-items {
  min-width: 0 !important;
}

@media (min-width: 1500px) {
  .tv-panier-page-v52 > .wp-block-group,
  .tv-panier-page-v52 .tv-page-hero-split,
  .tv-panier-page-v52 .tv-cart-shell-v52,
  .tv-panier-page-v52 .tv-help-row-v52 {
    width: min(1620px, calc(100vw - 72px)) !important;
    max-width: min(1620px, calc(100vw - 72px)) !important;
  }
}

@media (max-width: 1260px) {
  .tv-panier-page-v52 > .wp-block-group,
  .tv-panier-page-v52 .tv-page-hero-split,
  .tv-panier-page-v52 .tv-cart-shell-v52,
  .tv-panier-page-v52 .tv-help-row-v52 {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .tv-panier-page-v52 > .wp-block-group,
  .tv-panier-page-v52 .tv-page-hero-split,
  .tv-panier-page-v52 .tv-cart-shell-v52,
  .tv-panier-page-v52 .tv-help-row-v52 {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
  }
}

/* V5.5.0 centered cart width: about 70% of the viewport, no side shift */
.tv-panier-page-v52 .tv-cart-shell-v52,
.tv-panier-page-v52 .tv-woo-shell-v52.tv-cart-shell-v52 {
  position: relative !important;
  left: auto !important;
  transform: none !important;
  width: 70vw !important;
  max-width: 1480px !important;
  min-width: 0 !important;
  margin-left: calc(50% - 35vw) !important;
  margin-right: calc(50% - 35vw) !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.tv-panier-page-v52 .tv-custom-cart-layout {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 30%) !important;
  gap: 22px !important;
  align-items: start !important;
}

.tv-panier-page-v52 .tv-custom-cart-items,
.tv-panier-page-v52 .tv-custom-cart-totals {
  width: 100% !important;
  min-width: 0 !important;
}

.tv-panier-page-v52 .tv-custom-cart-head,
.tv-panier-page-v52 .tv-custom-cart-row {
  grid-template-columns: minmax(280px, 1.35fr) minmax(120px, .55fr) 96px minmax(110px, .45fr) !important;
  gap: 14px !important;
}

.tv-panier-page-v52 .tv-custom-cart-line-total {
  justify-self: end !important;
  text-align: right !important;
}

@media (min-width: 2115px) {
  .tv-panier-page-v52 .tv-cart-shell-v52,
  .tv-panier-page-v52 .tv-woo-shell-v52.tv-cart-shell-v52 {
    width: 1480px !important;
    margin-left: calc(50% - 740px) !important;
    margin-right: calc(50% - 740px) !important;
  }
}

@media (max-width: 1280px) {
  .tv-panier-page-v52 .tv-cart-shell-v52,
  .tv-panier-page-v52 .tv-woo-shell-v52.tv-cart-shell-v52 {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: calc(50% - 50vw + 16px) !important;
    margin-right: calc(50% - 50vw + 16px) !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .tv-panier-page-v52 .tv-cart-shell-v52,
  .tv-panier-page-v52 .tv-woo-shell-v52.tv-cart-shell-v52 {
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px) !important;
    margin-left: calc(50% - 50vw + 9px) !important;
    margin-right: calc(50% - 50vw + 9px) !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-head {
    display: none !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-row {
    grid-template-columns: 1fr !important;
  }
}

/* V5.5.1 cart reset: centered custom Woo-connected cart, no Woo shortcode skin */
.tv-panier-page-v52,
.wp-block-group.tv-panier-page-v52 {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.tv-panier-page-v52 .tv-page-hero-split,
.tv-panier-page-v52 .tv-help-row-v52 {
  position: static !important;
  left: auto !important;
  transform: none !important;
  width: min(calc(100% - 32px), var(--tv-max)) !important;
  max-width: var(--tv-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.tv-panier-page-v52 .tv-cart-shell-v52,
.tv-panier-page-v52 .tv-woo-shell-v52.tv-cart-shell-v52 {
  position: static !important;
  left: auto !important;
  transform: none !important;
  display: block !important;
  width: min(calc(100% - 32px), 1240px) !important;
  max-width: 1240px !important;
  min-width: 0 !important;
  margin: 0 auto 56px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.tv-panier-page-v52 .tv-custom-cart {
  width: 100% !important;
  max-width: none !important;
}

.tv-panier-page-v52 .tv-custom-cart-layout {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: minmax(0, 1fr) 340px !important;
  gap: 22px !important;
  align-items: start !important;
}

.tv-panier-page-v52 .tv-custom-cart-items,
.tv-panier-page-v52 .tv-custom-cart-totals,
.tv-panier-page-v52 .tv-custom-cart-empty {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(0,0,0,.34)) !important;
}

.tv-panier-page-v52 .tv-custom-cart-items {
  padding: 28px !important;
}

.tv-panier-page-v52 .tv-custom-cart-totals {
  position: sticky !important;
  top: 118px !important;
  padding: 28px !important;
}

.tv-panier-page-v52 .tv-custom-cart-section-title {
  margin: 0 0 18px !important;
  font-size: clamp(36px, 3vw, 52px);
}

.tv-panier-page-v52 .tv-custom-cart-head,
.tv-panier-page-v52 .tv-custom-cart-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) 150px 90px 120px !important;
  gap: 14px !important;
  align-items: center !important;
}

.tv-panier-page-v52 .tv-custom-cart-head {
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: rgba(255,255,255,.045) !important;
}

.tv-panier-page-v52 .tv-custom-cart-head span {
  display: block !important;
  justify-self: start !important;
  text-align: left !important;
  white-space: nowrap !important;
  font-size: 11px;
}

.tv-panier-page-v52 .tv-custom-cart-row {
  min-height: 112px !important;
  padding: 20px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
}

.tv-panier-page-v52 .tv-custom-cart-product {
  display: grid !important;
  grid-template-columns: 50px minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: center !important;
}

.tv-panier-page-v52 .tv-custom-cart-mark {
  width: 46px !important;
  height: 46px !important;
}

.tv-panier-page-v52 .tv-custom-cart-product h3 {
  max-width: none !important;
  margin-bottom: 2px !important;
  font-size: clamp(30px, 3vw, 42px);
}

.tv-panier-page-v52 .tv-custom-cart-access,
.tv-panier-page-v52 .tv-custom-cart-qty,
.tv-panier-page-v52 .tv-custom-cart-line-total {
  grid-column: auto !important;
  justify-self: start !important;
  text-align: left !important;
}

.tv-panier-page-v52 .tv-custom-cart-line-total {
  justify-self: end !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.tv-panier-page-v52 .tv-custom-cart-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 132px 150px !important;
  gap: 10px !important;
  align-items: center !important;
}

.tv-panier-page-v52 .tv-custom-cart-actions input.input-text,
.tv-panier-page-v52 .tv-custom-cart-actions .tv-custom-cart-button {
  width: 100% !important;
  min-height: 44px !important;
}

.tv-panier-page-v52 .tv-custom-cart-totals h2 {
  font-size: clamp(36px, 3.5vw, 52px);
}

.tv-panier-page-v52 .tv-custom-cart-total {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: baseline !important;
}

.tv-panier-page-v52 .tv-custom-cart-total strong {
  white-space: nowrap !important;
  font-size: clamp(28px, 2.5vw, 38px);
}

@media (max-width: 1100px) {
  .tv-panier-page-v52 .tv-custom-cart-layout {
    grid-template-columns: 1fr !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-totals {
    position: static !important;
  }
}

@media (max-width: 760px) {
  .tv-panier-page-v52 .tv-cart-shell-v52,
  .tv-panier-page-v52 .tv-woo-shell-v52.tv-cart-shell-v52,
  .tv-panier-page-v52 .tv-page-hero-split,
  .tv-panier-page-v52 .tv-help-row-v52 {
    width: min(calc(100% - 18px), var(--tv-max)) !important;
    max-width: var(--tv-max) !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-items,
  .tv-panier-page-v52 .tv-custom-cart-totals {
    padding: 20px !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-head {
    display: none !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-row {
    grid-template-columns: 1fr !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-line-total {
    justify-self: start !important;
    text-align: left !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-actions {
    grid-template-columns: 1fr !important;
  }
}

/* V5.5.2 editable image/gallery cards and lightbox */
.tv-editable-card-grid {
  display: grid !important;
  gap: 18px;
  width: 100%;
}

.tv-editable-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tv-editable-card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tv-editable-gallery-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 0 0 22px !important;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(0,0,0,.42)),
    radial-gradient(circle at 50% 0%, rgba(212,20,20,.14), transparent 38%);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.tv-editable-gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,38,38,.65);
  box-shadow: 0 24px 70px rgba(0,0,0,.36);
}

.tv-editable-gallery-card .tv-card-gallery {
  display: grid !important;
  grid-template-columns: 1fr 86px;
  gap: 0 !important;
  margin: 0 0 20px !important;
  min-height: 250px;
}

.tv-artist-gallery-card .tv-card-gallery {
  min-height: 220px;
}

.tv-editable-gallery-card .tv-card-gallery .wp-block-image {
  width: 100% !important;
  margin: 0 !important;
}

.tv-editable-gallery-card .tv-card-gallery .wp-block-image:first-child {
  grid-row: span 2;
}

.tv-editable-gallery-card .tv-card-gallery .wp-block-image a,
.tv-editable-gallery-card .tv-card-gallery .wp-block-image img {
  display: block;
  width: 100%;
  height: 100% !important;
}

.tv-editable-gallery-card .tv-card-gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(.5) contrast(1.08);
  transition: transform .25s ease, filter .25s ease;
}

.tv-editable-gallery-card .tv-card-gallery .wp-block-image:first-child img {
  aspect-ratio: 1 / 1.1;
}

.tv-editable-gallery-card .tv-card-gallery a:hover img {
  transform: scale(1.045);
  filter: grayscale(.15) contrast(1.12);
}

.tv-editable-gallery-card .tv-card-title,
.tv-editable-gallery-card .tv-card-text,
.tv-editable-gallery-card .tv-card-meta,
.tv-editable-gallery-card .wp-block-buttons {
  margin-left: 22px !important;
  margin-right: 22px !important;
}

.tv-editable-gallery-card .tv-card-title {
  font-size: clamp(26px, 2.4vw, 36px);
}

.tv-editable-gallery-card .tv-card-meta {
  margin-top: 12px !important;
  color: var(--tv-red-hot);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 900;
}

.tv-editable-gallery-card .wp-block-buttons {
  margin-top: 18px !important;
}

.tv-lightbox-open {
  overflow: hidden;
}

.tv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(12px);
}

.tv-lightbox.is-open {
  display: grid;
}

.tv-lightbox-figure {
  margin: 0;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.tv-lightbox-image {
  max-width: min(92vw, 1280px);
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 120px rgba(0,0,0,.7);
}

.tv-lightbox-caption {
  min-height: 1em;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

.tv-lightbox button {
  position: fixed;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(0,0,0,.58);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.tv-lightbox-close {
  top: 22px;
  right: 22px;
}

.tv-lightbox-prev {
  left: 22px;
  top: 50%;
}

.tv-lightbox-next {
  right: 22px;
  top: 50%;
}

.tv-lightbox button:hover {
  border-color: rgba(255,38,38,.75);
  color: var(--tv-red-hot);
}

@media (max-width: 1100px) {
  .tv-editable-card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .tv-editable-card-grid-3,
  .tv-editable-card-grid-4 {
    grid-template-columns: 1fr;
  }

  .tv-editable-gallery-card .tv-card-gallery {
    grid-template-columns: 1fr 72px;
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .tv-lightbox {
    padding: 12px;
  }

  .tv-lightbox button {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }
}

/* V5.5.3 home clickable image experience cards */
.tv-home-experience-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px !important;
}

.tv-home-experience-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(0,0,0,.45)),
    radial-gradient(circle at 50% 0%, rgba(212,20,20,.16), transparent 38%);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.tv-home-experience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,38,38,.68);
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
}

.tv-home-experience-image {
  margin: 0 0 20px !important;
}

.tv-home-experience-image a,
.tv-home-experience-image img {
  display: block;
  width: 100%;
}

.tv-home-experience-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(.45) contrast(1.08);
  transition: transform .25s ease, filter .25s ease;
}

.tv-home-experience-image a:hover img,
.tv-home-experience-card:hover .tv-home-experience-image img {
  transform: scale(1.045);
  filter: grayscale(.12) contrast(1.12);
}

.tv-home-experience-card .tv-card-title,
.tv-home-experience-card .tv-card-text {
  margin-left: 22px !important;
  margin-right: 22px !important;
}

.tv-home-experience-card .tv-card-title {
  font-size: clamp(25px, 2vw, 34px);
}

.tv-home-experience-card .tv-card-text {
  margin-bottom: 24px !important;
}

@media (max-width: 1100px) {
  .tv-home-experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tv-home-experience-grid {
    grid-template-columns: 1fr;
  }
}

/* V5.4.7 wide cart page like the event mockup */
:root {
  --tv-cart-wide: 1480px;
}

.tv-panier-page-v52 {
  --tv-cart-gutter: clamp(18px, 2.2vw, 36px);
}

.tv-panier-page-v52 .tv-page-hero-split {
  width: min(calc(100% - (var(--tv-cart-gutter) * 2)), var(--tv-cart-wide)) !important;
  max-width: var(--tv-cart-wide) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .75fr) !important;
}

.tv-panier-page-v52 .tv-cart-shell-v52,
.tv-panier-page-v52 .tv-woo-shell-v52.tv-cart-shell-v52,
.tv-panier-page-v52 .tv-help-row-v52 {
  width: min(calc(100% - (var(--tv-cart-gutter) * 2)), var(--tv-cart-wide)) !important;
  max-width: var(--tv-cart-wide) !important;
}

.tv-panier-page-v52 .tv-custom-cart-layout {
  grid-template-columns: minmax(760px, 1fr) minmax(340px, 420px);
  gap: clamp(18px, 1.8vw, 28px);
}

.tv-panier-page-v52 .tv-custom-cart-items {
  padding: clamp(22px, 2vw, 34px);
}

.tv-panier-page-v52 .tv-custom-cart-totals {
  padding: clamp(24px, 2vw, 34px);
}

.tv-panier-page-v52 .tv-custom-cart-head,
.tv-panier-page-v52 .tv-custom-cart-row {
  grid-template-columns: minmax(330px, 1.25fr) minmax(150px, .52fr) 112px 132px;
}

.tv-panier-page-v52 .tv-custom-cart-qty {
  grid-column: 3;
}

.tv-panier-page-v52 .tv-custom-cart-line-total {
  grid-column: 4;
}

.tv-panier-page-v52 .tv-custom-cart-product h3 {
  font-size: clamp(28px, 2.2vw, 38px);
  max-width: 14ch;
}

.tv-custom-cart-access {
  align-self: center;
  color: #e8e8e8;
  font-size: 13px;
  line-height: 1.45;
}

.tv-custom-cart-access span,
.tv-custom-cart-access small {
  display: block;
}

.tv-custom-cart-access small {
  margin-top: 5px;
  color: var(--tv-muted);
}

.tv-panier-page-v52 .tv-custom-cart-actions {
  grid-template-columns: minmax(260px, 1fr) 140px 160px;
}

.tv-panier-page-v52 .tv-custom-cart-totals h2 {
  font-size: clamp(34px, 3vw, 48px);
}

.tv-panier-page-v52 .tv-custom-cart-total strong {
  font-size: clamp(30px, 2.2vw, 42px);
}

@media (max-width: 1280px) {
  .tv-panier-page-v52 .tv-custom-cart-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  }

  .tv-panier-page-v52 .tv-custom-cart-head,
  .tv-panier-page-v52 .tv-custom-cart-row {
    grid-template-columns: minmax(300px, 1fr) 120px 96px 118px;
  }
}

@media (max-width: 1100px) {
  .tv-panier-page-v52 .tv-page-hero-split {
    grid-template-columns: 1fr !important;
  }

  .tv-panier-page-v52 .tv-custom-cart-layout {
    grid-template-columns: 1fr;
  }

  .tv-panier-page-v52 .tv-custom-cart-head,
  .tv-panier-page-v52 .tv-custom-cart-row {
    grid-template-columns: minmax(0, 1fr) 160px 108px 130px;
  }
}

@media (max-width: 820px) {
  .tv-panier-page-v52 {
    --tv-cart-gutter: 12px;
  }

  .tv-panier-page-v52 .tv-custom-cart-head {
    display: none;
  }

  .tv-panier-page-v52 .tv-custom-cart-row {
    grid-template-columns: 1fr;
  }

  .tv-panier-page-v52 .tv-custom-cart-access,
  .tv-panier-page-v52 .tv-custom-cart-qty,
  .tv-panier-page-v52 .tv-custom-cart-line-total {
    grid-column: auto;
  }

  .tv-custom-cart-access::before {
    content: "Acces / date";
    display: block;
    margin-bottom: 6px;
    color: var(--tv-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    font-weight: 900;
  }

  .tv-panier-page-v52 .tv-custom-cart-actions {
    grid-template-columns: 1fr;
  }
}

/* Tattoo Village V5.6.0 - Artists CPT, filters and detail pages */
.tv-artists-page {
  margin-left: auto !important;
  margin-right: auto !important;
  width: min(100% - 32px, 1480px) !important;
}

.tv-artists-page-hero {
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
  width: 100%;
}

.tv-artists-page-hero h1 {
  max-width: 12ch;
}

.tv-artists-archive {
  margin: clamp(34px, 5vw, 76px) auto 0;
  max-width: 1320px;
  width: 100%;
}

.tv-artists-intro {
  margin-bottom: 18px;
  text-align: center;
}

.tv-artists-eyebrow {
  margin: 0 0 8px;
  color: var(--tv-muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tv-artists-intro h2 {
  margin: 0;
  color: var(--tv-white);
  font-family: var(--tv-font-title);
  font-size: clamp(28px, 4vw, 56px);
  line-height: .95;
  text-transform: uppercase;
}

.tv-artists-description {
  color: var(--tv-muted);
  margin: 12px auto 0;
  max-width: 760px;
}

.editor-styles-wrapper .tv-artists-block-editor {
  max-width: 1320px;
  margin-inline: auto;
}

.editor-styles-wrapper .tv-artists-block-editor .tv-artists-archive {
  background: rgba(0,0,0,.35);
  padding: 24px;
}

.tv-artist-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto clamp(26px, 4vw, 44px);
}

.tv-artist-filter-button {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 0;
  background: rgba(245,228,132,.78);
  color: #070707;
  cursor: pointer;
  font-family: var(--tv-font-title);
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1;
  padding: 10px 12px 8px;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}

.tv-artist-filter-button:hover,
.tv-artist-filter-button:focus-visible,
.tv-artist-filter-button.is-active {
  background: var(--tv-red);
  border-color: var(--tv-red);
  color: var(--tv-white);
  outline: none;
  transform: translateY(-2px);
}

.tv-artist-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}

.tv-artist-card-item {
  min-width: 0;
}

.tv-artist-card-item[hidden] {
  display: none !important;
}

.tv-artist-card-link {
  display: grid;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.tv-artist-card-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.22 / 1;
  background: rgba(255,255,255,.06);
}

.tv-artist-card-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.74) 100%);
  pointer-events: none;
}

.tv-artist-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.08);
  transition: transform .25s ease, filter .25s ease;
}

.tv-artist-card-content {
  display: grid;
  gap: 6px;
  justify-items: center;
  margin-top: -58px;
  min-height: 96px;
  padding: 0 14px 14px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.tv-artist-card-name {
  color: var(--tv-white);
  font-family: var(--tv-font-title);
  font-size: clamp(26px, 2.3vw, 42px);
  line-height: .88;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-shadow: 2px 2px 0 rgba(210,16,18,.8);
  text-transform: uppercase;
}

.tv-artist-card-location {
  color: var(--tv-white);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tv-artist-card-styles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.tv-artist-card-styles span,
.tv-artist-page-badges span {
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  padding: 5px 8px;
  text-transform: uppercase;
}

.tv-artist-card-link:hover .tv-artist-card-image,
.tv-artist-card-link:focus-visible .tv-artist-card-image {
  filter: sepia(.38) saturate(1.18) contrast(1.12);
  transform: scale(1.045);
}

.tv-artist-card-link:focus-visible {
  outline: 2px solid var(--tv-red);
  outline-offset: 6px;
}

.tv-artists-empty {
  border: 1px solid rgba(255,255,255,.16);
  color: var(--tv-muted);
  padding: 24px;
  text-align: center;
}

.tv-artist-single-template {
  margin-inline: auto !important;
  max-width: none !important;
  width: 100% !important;
}

.tv-artist-page {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 4vw, 76px);
  margin: clamp(28px, 5vw, 76px) auto clamp(60px, 7vw, 104px);
  align-items: start;
  max-width: 1680px;
  padding-inline: clamp(18px, 4vw, 72px);
  width: 100%;
}

.tv-artist-page-media {
  min-width: 0;
}

.tv-artist-page-main-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5.35;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 28px 74px rgba(0,0,0,.36);
  object-fit: cover;
}

.tv-artist-page-content {
  min-width: 0;
}

.tv-artist-page-eyebrow {
  margin: 0 0 6px;
  color: var(--tv-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.tv-artist-page-title {
  margin: 0;
  color: var(--tv-white);
  font-family: var(--tv-font-title);
  max-width: 100%;
  font-size: var(--tv-artist-title-size, clamp(56px, 7.2vw, 118px));
  line-height: .82;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: normal;
}

.tv-artist-page-location {
  margin: 8px 0 14px;
  color: var(--tv-white);
  font-size: clamp(24px, 2.4vw, 42px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.tv-artist-page-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tv-artist-page-instagram {
  color: var(--tv-white);
  display: inline-block;
  font-weight: 900;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.tv-artist-page-gallery-title {
  color: var(--tv-white);
  font-family: var(--tv-font-title);
  font-size: clamp(28px, 3vw, 52px);
  line-height: .9;
  margin: 6px 0 16px;
  text-transform: uppercase;
}

.tv-artist-page-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 28px);
  margin: 8px 0 clamp(26px, 3vw, 44px);
  max-width: 980px;
}

.tv-artist-page-gallery a {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / .92;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}

.tv-artist-page-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}

.tv-artist-page-gallery a:hover img,
.tv-artist-page-gallery a:focus-visible img {
  transform: scale(1.05);
}

.tv-artist-page-description {
  color: var(--tv-white);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
  max-width: 980px;
}

.tv-artist-page-notice {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.035);
  color: var(--tv-white);
  margin: clamp(24px, 3vw, 42px) 0 0;
  max-width: 1100px;
  padding: clamp(22px, 2.4vw, 38px);
}

.tv-artist-page-notice strong {
  display: block;
  color: var(--tv-red);
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.tv-artist-page-notice p {
  margin: 0;
}

.tv-artist-page-contact {
  align-items: center;
  background: var(--tv-red);
  color: var(--tv-white);
  display: inline-flex;
  font-family: var(--tv-font-title);
  font-size: 20px;
  justify-content: center;
  min-height: 56px;
  margin-top: 22px;
  padding: 14px 28px 12px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, transform .18s ease;
}

.tv-artist-page-contact:hover,
.tv-artist-page-contact:focus-visible {
  background: #ff2b2f;
  outline: none;
  transform: translateY(-2px);
}

@media (max-width: 1180px) {
  .tv-artist-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tv-artist-page {
    grid-template-columns: 1fr;
    max-width: 980px;
  }

  .tv-artist-page-main-image {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 760px) {
  .tv-artists-page,
  .tv-artist-single-template {
    width: min(100% - 20px, 1480px) !important;
  }

  .tv-artists-page-hero {
    padding-top: 22px;
    padding-bottom: 34px;
  }

  .tv-artists-page-hero h1 {
    font-size: clamp(46px, 16vw, 72px);
    line-height: .9 !important;
    max-width: 100%;
    overflow-wrap: normal;
  }

  .tv-artists-page-hero p:not(.tv-eyebrow) {
    max-width: 32rem;
  }

  .tv-artists-archive {
    margin-top: 24px;
  }

  .tv-artists-intro {
    margin-bottom: 14px;
  }

  .tv-artists-intro h2 {
    font-size: clamp(30px, 11vw, 46px);
    line-height: .95;
  }

  .tv-artist-card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-inline: auto;
    max-width: 460px;
    width: 100%;
  }

  .tv-artist-card-link {
    background: rgba(12,12,12,.72);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 16px 34px rgba(0,0,0,.28);
    overflow: hidden;
  }

  .tv-artist-card-image-wrap {
    aspect-ratio: 1.2 / 1;
  }

  .tv-artist-card-image-wrap::after {
    background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.48) 100%);
  }

  .tv-artist-card-content {
    background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.72));
    margin-top: 0;
    min-height: 0;
    padding: 14px 12px 16px;
  }

  .tv-artist-card-name {
    font-size: clamp(30px, 10vw, 44px);
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .tv-artist-card-location,
  .tv-artist-card-styles span {
    font-size: 11px;
  }

  .tv-artist-filter-bar {
    justify-content: center;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .tv-artist-filter-button {
    flex: 0 0 auto;
    font-size: 18px;
  }

  .tv-artist-page {
    gap: 24px;
    margin-top: 32px;
    padding-inline: 10px;
  }

  .tv-artist-page-title {
    font-size: var(--tv-artist-title-mobile-size, min(var(--tv-artist-title-size, 82px), 20vw));
  }

  .tv-artist-page-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 460px) {
  .tv-artist-card-grid {
    grid-template-columns: 1fr;
  }

  .tv-artist-card-image-wrap {
    aspect-ratio: 1.28 / 1;
  }

  .tv-artists-page-hero h1 {
    font-size: clamp(42px, 15vw, 62px);
  }

  .tv-artist-filter-button {
    font-size: 16px;
    padding: 9px 10px 7px;
  }
}

/* Tattoo Village V5.6.8 - Editable Nos Exposants page template */
.tv-nos-exposants-page {
  margin-inline: auto !important;
  max-width: none !important;
  width: 100% !important;
}

.tv-nos-exposants-page > .alignfull,
.tv-nos-exposants-page .tv-nos-exposants-stack.alignfull {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.tv-nos-exposants-hero {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  padding: clamp(54px, 7vw, 110px) clamp(18px, 4vw, 72px) clamp(30px, 5vw, 70px) !important;
  width: 100% !important;
}

.tv-nos-exposants-hero > :where(.wp-block-columns, .alignfull, .alignwide, :not(.alignleft):not(.alignright)) {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1590px !important;
  width: 100% !important;
}

.tv-nos-exposants-hero-columns {
  align-items: center !important;
  display: flex !important;
  gap: clamp(34px, 5vw, 92px) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}

.tv-nos-exposants-hero-columns > .wp-block-column {
  min-width: 0;
}

.tv-nos-exposants-hero-copy {
  flex-basis: 52% !important;
  flex-grow: 1 !important;
  text-align: left;
}

.tv-nos-exposants-hero-image-column {
  display: flex;
  flex-basis: 48% !important;
  flex-grow: 1 !important;
}

.tv-nos-exposants-hero-image {
  display: flex;
  margin: 0 !important;
  width: 100%;
}

.tv-nos-exposants-hero-image img {
  aspect-ratio: 1.24 / 1;
  display: block;
  filter: saturate(.92) contrast(1.08);
  object-fit: cover;
  width: 100%;
}

.tv-nos-exposants-hero h1 {
  max-width: 10.5ch;
}

.tv-nos-exposants-hero-v52 {
  min-height: clamp(620px, 72vh, 860px);
}

.tv-nos-exposants-hero-v52 .tv-page-title {
  max-width: 9.5ch;
}

.tv-nos-exposants-hero-v52 .tv-page-hero-visual {
  background:
    radial-gradient(circle at 50% 50%, rgba(212,20,20,.22), transparent 34%);
  display: flex;
  min-height: clamp(460px, 48vw, 760px);
}

.tv-nos-exposants-hero-v52 .tv-page-hero-visual .wp-block-image,
.tv-nos-exposants-hero-v52 .tv-page-hero-visual figure {
  display: flex;
  height: 100%;
  margin: 0 !important;
  width: 100%;
}

.tv-nos-exposants-hero-v52 .tv-page-hero-visual img {
  display: block;
  filter: contrast(1.15) brightness(.9) saturate(.9);
  height: 100%;
  min-height: clamp(460px, 48vw, 760px);
  object-fit: contain;
  object-position: center bottom;
  width: 100%;
}

.tv-nos-exposants-stack {
  display: grid;
  gap: clamp(26px, 5vw, 72px);
  margin: clamp(28px, 5vw, 70px) auto clamp(60px, 8vw, 120px);
  max-width: none !important;
  padding-inline: clamp(14px, 3vw, 54px);
  width: 100% !important;
}

.tv-nos-exposants-feature {
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.015)),
    rgba(5,5,5,.72);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
  margin-inline: auto !important;
  max-width: 1590px !important;
  min-height: clamp(420px, 42vw, 640px);
  overflow: hidden;
  padding: 0 !important;
  position: relative;
  width: 100% !important;
}

.tv-nos-exposants-feature > :where(.wp-block-columns, .alignfull, .alignwide, :not(.alignleft):not(.alignright)) {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.tv-nos-exposants-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(212,20,20,.16), transparent 34%),
    linear-gradient(90deg, rgba(212,20,20,.08), transparent 52%);
  pointer-events: none;
}

.tv-nos-exposants-columns {
  align-items: stretch !important;
  display: flex !important;
  gap: clamp(34px, 5vw, 92px) !important;
  margin: 0 !important;
  max-width: none !important;
  min-height: clamp(420px, 42vw, 640px);
  padding: 0 clamp(24px, 4vw, 72px);
  position: relative;
  width: 100% !important;
  z-index: 1;
}

.tv-nos-exposants-columns > .wp-block-column {
  flex-basis: 50% !important;
  flex-grow: 1 !important;
  min-width: 0;
}

.tv-nos-exposants-copy {
  align-content: center;
  display: grid;
  padding: clamp(26px, 5vw, 72px) !important;
  position: relative;
  z-index: 1;
}

.tv-nos-exposants-image-column {
  align-self: stretch !important;
  display: flex;
  min-height: clamp(360px, 38vw, 640px);
}

.tv-nos-exposants-image {
  display: flex;
  height: 100%;
  margin: 0 !important;
  min-height: 100%;
  width: 100%;
}

.tv-nos-exposants-image img {
  display: block;
  filter: saturate(.94) contrast(1.08);
  height: 100%;
  min-height: clamp(320px, 38vw, 640px);
  object-fit: cover;
  width: 100%;
}

.tv-nos-exposants-feature h2 {
  color: var(--tv-white);
  font-family: var(--tv-font-title);
  font-size: clamp(44px, 5.5vw, 92px);
  line-height: .9;
  margin: 0 0 18px;
  max-width: 11ch;
  overflow-wrap: normal;
  text-transform: uppercase;
  word-break: normal;
}

.tv-nos-exposants-feature p:not(.tv-eyebrow) {
  color: rgba(255,255,255,.82);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.75;
  max-width: 680px;
}

.tv-nos-exposants-feature .wp-block-buttons {
  margin-top: 26px;
}

.editor-styles-wrapper .tv-nos-exposants-page {
  max-width: none !important;
  width: 100% !important;
}

.editor-styles-wrapper .tv-nos-exposants-feature {
  min-height: 420px;
  max-width: 1590px !important;
}

.editor-styles-wrapper .tv-nos-exposants-columns {
  min-height: 420px;
}

@media (max-width: 900px) {
  .tv-nos-exposants-page {
    width: 100% !important;
  }

  .tv-nos-exposants-hero-v52 {
    min-height: auto;
  }

  .tv-nos-exposants-hero-v52 .tv-page-hero-visual,
  .tv-nos-exposants-hero-v52 .tv-page-hero-visual img {
    min-height: 320px;
  }

  .tv-nos-exposants-hero {
    padding-inline: 18px !important;
  }

  .tv-nos-exposants-hero-columns {
    flex-direction: column;
    gap: 26px !important;
  }

  .tv-nos-exposants-hero-copy,
  .tv-nos-exposants-hero-image-column {
    flex-basis: auto !important;
    width: 100%;
  }

  .tv-nos-exposants-feature {
    min-height: 0;
  }

  .tv-nos-exposants-columns {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
    min-height: 0;
    padding: 0;
  }

  .tv-nos-exposants-copy {
    order: 2;
  }

  .tv-nos-exposants-image-column {
    order: 1;
  }

  .tv-nos-exposants-image img {
    min-height: 300px;
  }

  .tv-nos-exposants-feature h2 {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .tv-nos-exposants-hero-v52 .tv-page-hero-visual,
  .tv-nos-exposants-hero-v52 .tv-page-hero-visual img {
    min-height: 240px;
  }

  .tv-nos-exposants-hero h1 {
    font-size: clamp(48px, 16vw, 72px);
    max-width: 100%;
  }

  .tv-nos-exposants-hero-image img {
    aspect-ratio: 1.1 / 1;
  }

  .tv-nos-exposants-copy {
    padding: 26px 20px 30px !important;
  }

  .tv-nos-exposants-image img {
    min-height: 250px;
  }

  .tv-nos-exposants-feature h2 {
    font-size: clamp(38px, 12vw, 58px);
  }
}

/* Tattoo Village V5.7.2 - clickability, equal cards and global responsive safety */
.tv-home-experience-grid {
  align-items: stretch;
}

.tv-home-experience-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tv-home-experience-card .tv-home-experience-image {
  flex: 0 0 auto;
}

.tv-home-experience-card .tv-card-title {
  min-height: 2.1em;
}

.tv-home-experience-card .tv-card-text {
  flex: 1 1 auto;
}

.tv-page-title,
.tv-title,
.tv-section-title,
.tv-panel-title,
.tv-card-title,
.tv-artist-page-title,
.tv-artists-page-hero h1,
.tv-nos-exposants-feature h2,
.tv-nos-exposants-hero-v52 .tv-page-title {
  hyphens: none;
  max-width: 100%;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.tv-page,
.tv-section,
.tv-page-hero,
.tv-page-hero-split,
.tv-ticket-layout-v52,
.tv-programme-layout-v52,
.tv-artists-page,
.tv-artist-single-template,
.tv-nos-exposants-page,
.tv-nos-exposants-stack,
.tv-nos-exposants-feature,
.tv-custom-cart,
.tv-woo-shell-v52 {
  box-sizing: border-box;
  max-width: 100%;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

@media (max-width: 782px) {
  .tv-page,
  .tv-section,
  .tv-page-hero,
  .tv-page-hero-split,
  .tv-ticket-layout-v52,
  .tv-programme-layout-v52,
  .tv-woo-shell-v52,
  .tv-reassurance-row-v52,
  .tv-help-row-v52,
  .tv-artists-page,
  .tv-artist-single-template,
  .tv-nos-exposants-stack {
    width: min(100%, calc(100vw - 20px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .tv-page-hero-split {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 34px 10px !important;
  }

  .tv-page-title,
  .tv-nos-exposants-hero-v52 .tv-page-title {
    font-size: clamp(42px, 13.5vw, 72px);
    line-height: .9 !important;
    letter-spacing: .015em;
  }

  .tv-section-title,
  .tv-panel-title {
    font-size: clamp(34px, 11vw, 58px);
    line-height: .95 !important;
  }

  .tv-artist-page-title {
    font-size: var(--tv-artist-title-mobile-size, min(var(--tv-artist-title-size, 82px), 20vw)) !important;
    line-height: .88 !important;
  }

  .tv-artists-page-hero h1 {
    font-size: clamp(42px, 14vw, 72px);
    line-height: .9 !important;
  }

  .tv-page-lead,
  .tv-page-hero p,
  .tv-card-text,
  .tv-artist-page-description,
  .tv-nos-exposants-feature p:not(.tv-eyebrow) {
    overflow-wrap: break-word;
  }

  .tv-home-experience-grid {
    grid-template-columns: 1fr !important;
  }

  .tv-home-experience-card .tv-card-title {
    min-height: 0;
  }

  .tv-nos-exposants-feature,
  .tv-nos-exposants-columns,
  .tv-nos-exposants-hero-v52 {
    max-width: 100% !important;
  }

  .tv-nos-exposants-columns {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 480px) {
  .tv-page,
  .tv-section,
  .tv-page-hero,
  .tv-page-hero-split,
  .tv-artists-page,
  .tv-artist-single-template,
  .tv-nos-exposants-stack {
    width: min(100%, calc(100vw - 14px)) !important;
  }

  .tv-page-title,
  .tv-nos-exposants-hero-v52 .tv-page-title {
    font-size: clamp(36px, 13vw, 58px);
  }

  .tv-section-title,
  .tv-panel-title {
    font-size: clamp(30px, 10vw, 48px);
  }

  .tv-artist-page-title {
    font-size: var(--tv-artist-title-mobile-size, min(var(--tv-artist-title-size, 66px), 18vw)) !important;
  }

  .tv-header-buttons {
    gap: 8px !important;
  }
}

/* Tattoo Village V5.8 - requested isolated additions */
.tv-header-cart,
.tv-header-account {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: #fff !important;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.tv-header-cart:hover,
.tv-header-account:hover,
.tv-header-cart:focus-visible,
.tv-header-account:focus-visible {
  border-color: rgba(255,38,38,.8);
  background: rgba(212,20,20,.18);
  transform: translateY(-1px);
  outline: none;
}

.tv-header-action-svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.tv-header-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  min-height: 22px;
  padding: 0 6px;
  border: 2px solid #050505;
  font-size: 12px;
  line-height: 18px;
}

.tv-footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.tv-footer-brand-link:hover,
.tv-footer-brand-link:focus-visible {
  color: inherit;
  outline: none;
}

.tv-footer-brand-copy {
  display: grid;
  gap: 6px;
}

.tv-artist-card-styles {
  display: none !important;
}

.tv-artist-page {
  width: min(100%, 1620px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 72px);
}

.tv-artist-page-gallery {
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 18px;
}

.tv-artist-page-gallery a,
.tv-artist-page-gallery img {
  min-height: 190px;
}

.tv-artist-page-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 26px;
}

.tv-artist-page-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.055);
}

.tv-artist-page-socials svg,
.tv-artist-page-socials img {
  width: 22px;
  height: 22px;
  display: block;
}

.tv-artist-page-socials svg {
  fill: currentColor;
}

.tv-artist-page-socials img {
  object-fit: contain;
}

.tv-artist-page-socials a:hover,
.tv-artist-page-socials a:focus-visible {
  border-color: rgba(255,38,38,.75);
  background: rgba(212,20,20,.18);
  outline: none;
}

.tv-about-page,
.tv-contact-page {
  padding-bottom: clamp(60px, 8vw, 120px);
}

.tv-about-sections,
.tv-sponsor-block,
.tv-contact-layout,
.tv-contact-hero {
  width: min(100% - 32px, 1500px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.tv-about-section {
  gap: clamp(24px, 5vw, 84px);
  padding: clamp(28px, 5vw, 72px) 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.tv-about-image img {
  width: 100%;
  min-height: clamp(320px, 42vw, 620px);
  object-fit: cover;
  filter: saturate(.9) contrast(1.08);
}

.tv-sponsor-block,
.tv-contact-info,
.tv-contact-form-panel {
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  box-shadow: 0 30px 70px rgba(0,0,0,.28);
}

.tv-sponsor-block {
  padding: clamp(28px, 5vw, 58px) !important;
}

.tv-sponsor-gallery {
  margin-top: 28px !important;
}

.tv-sponsor-gallery figure {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  padding: 18px;
}

.tv-sponsor-gallery img {
  object-fit: contain !important;
  filter: grayscale(1) brightness(1.35);
}

.tv-contact-hero {
  padding: clamp(70px, 9vw, 140px) 0 clamp(28px, 5vw, 70px) !important;
}

.tv-contact-layout {
  gap: clamp(20px, 3vw, 42px);
}

.tv-contact-info,
.tv-contact-form-panel {
  padding: clamp(26px, 4vw, 48px);
}

.tv-contact-list {
  color: var(--tv-muted);
  line-height: 1.8;
}

.tv-contact-plugin-placeholder {
  margin-top: 24px;
  padding: 24px;
  border: 1px dashed rgba(255,255,255,.25);
  background: rgba(0,0,0,.35);
  color: #fff;
}

.tv-contact-plugin-placeholder p {
  color: var(--tv-muted);
}

.tv-contact-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.tv-contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tv-contact-form label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-weight: 800;
}

.tv-contact-form label span {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

.tv-contact-form input,
.tv-contact-form select,
.tv-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  padding: 14px 15px;
  font: inherit;
}

.tv-contact-form input:focus,
.tv-contact-form select:focus,
.tv-contact-form textarea:focus {
  border-color: rgba(255,38,38,.8);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,38,38,.18);
}

.tv-contact-form button {
  justify-self: start;
  border: 0;
  background: var(--tv-red);
  color: #fff;
  padding: 15px 28px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.tv-contact-form button:hover,
.tv-contact-form button:focus-visible {
  background: var(--tv-red-hot);
  outline: none;
}

.tv-contact-form-message {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}

.tv-contact-form-message-success {
  border-color: rgba(58, 214, 124, .5);
}

.tv-contact-form-message-error {
  border-color: rgba(255,38,38,.55);
}

/* Tattoo Village V5.8.7 - Contact Form 7 skin */
.tv-contact-form-panel .wpcf7 {
  margin-top: 24px;
}

.tv-contact-form-panel .wpcf7 form {
  display: grid;
  gap: 18px;
}

.tv-contact-form-panel .wpcf7 p {
  margin: 0;
}

.tv-contact-form-panel .wpcf7 label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-weight: 800;
}

.tv-contact-form-panel .wpcf7 label,
.tv-contact-form-panel .wpcf7 .wpcf7-list-item-label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

.tv-contact-form-panel .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.tv-contact-form-panel .wpcf7 input[type="text"],
.tv-contact-form-panel .wpcf7 input[type="email"],
.tv-contact-form-panel .wpcf7 input[type="tel"],
.tv-contact-form-panel .wpcf7 input[type="url"],
.tv-contact-form-panel .wpcf7 input[type="number"],
.tv-contact-form-panel .wpcf7 select,
.tv-contact-form-panel .wpcf7 textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  padding: 14px 15px;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

.tv-contact-form-panel .wpcf7 textarea {
  min-height: 160px;
  resize: vertical;
}

.tv-contact-form-panel .wpcf7 input::placeholder,
.tv-contact-form-panel .wpcf7 textarea::placeholder {
  color: rgba(255,255,255,.42);
}

.tv-contact-form-panel .wpcf7 input:focus,
.tv-contact-form-panel .wpcf7 select:focus,
.tv-contact-form-panel .wpcf7 textarea:focus {
  border-color: rgba(255,38,38,.8);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,38,38,.18);
}

.tv-contact-form-panel .wpcf7 input[type="submit"],
.tv-contact-form-panel .wpcf7 .wpcf7-submit {
  justify-self: start;
  width: auto;
  min-width: 210px;
  border: 1px solid rgba(255,42,42,.65);
  border-radius: 0;
  background: linear-gradient(135deg, var(--tv-red), #920808);
  color: #fff;
  padding: 15px 28px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(212,20,20,.22);
}

.tv-contact-form-panel .wpcf7 input[type="submit"]:hover,
.tv-contact-form-panel .wpcf7 .wpcf7-submit:hover,
.tv-contact-form-panel .wpcf7 input[type="submit"]:focus-visible,
.tv-contact-form-panel .wpcf7 .wpcf7-submit:focus-visible {
  background: linear-gradient(135deg, var(--tv-red-hot), #b70707);
  outline: none;
  transform: translateY(-2px);
}

.tv-contact-form-panel .wpcf7-spinner {
  margin: 0 0 0 12px;
  background-color: var(--tv-red);
}

.tv-contact-form-panel .wpcf7-not-valid-tip {
  margin-top: 7px;
  color: #ff4b4b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.tv-contact-form-panel .wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
}

.tv-contact-form-panel .wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(58,214,124,.5);
}

.tv-contact-form-panel .wpcf7 form.invalid .wpcf7-response-output,
.tv-contact-form-panel .wpcf7 form.failed .wpcf7-response-output,
.tv-contact-form-panel .wpcf7 form.aborted .wpcf7-response-output,
.tv-contact-form-panel .wpcf7 form.spam .wpcf7-response-output {
  border-color: rgba(255,38,38,.55);
}

.tv-contact-form-panel .wpcf7 .wpcf7-list-item {
  margin: 0 14px 8px 0;
}

.tv-contact-form-panel .wpcf7 input[type="checkbox"],
.tv-contact-form-panel .wpcf7 input[type="radio"] {
  accent-color: var(--tv-red);
}

@media (max-width: 782px) {
  .tv-header-cart,
  .tv-header-account {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .tv-artist-page {
    grid-template-columns: 1fr !important;
    width: min(100% - 20px, 100%) !important;
  }

  .tv-artist-page-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv-artist-page-gallery a,
  .tv-artist-page-gallery img {
    min-height: 150px;
  }

  .tv-about-sections,
  .tv-sponsor-block,
  .tv-contact-layout,
  .tv-contact-hero {
    width: min(100% - 20px, 100%) !important;
  }

  .tv-about-section,
  .tv-about-section-reverse {
    flex-direction: column !important;
  }

  .tv-contact-form-grid {
    grid-template-columns: 1fr;
  }

  .tv-contact-form-panel .wpcf7 input[type="submit"],
  .tv-contact-form-panel .wpcf7 .wpcf7-submit {
    width: 100%;
    min-width: 0;
  }
}

/* Tattoo Village V5.8.4 - editor typography freedom and about page layout */
.has-small-font-size { font-size: var(--wp--preset--font-size--small) !important; }
.has-medium-font-size { font-size: var(--wp--preset--font-size--medium) !important; }
.has-large-font-size { font-size: var(--wp--preset--font-size--large) !important; }
.has-x-large-font-size { font-size: var(--wp--preset--font-size--x-large) !important; }
.has-hero-font-size { font-size: var(--wp--preset--font-size--hero) !important; }

.tv-about-page .tv-about-sections {
  width: min(100% - 32px, 1580px) !important;
  max-width: 1580px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.tv-about-page .tv-about-section {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  gap: clamp(28px, 4vw, 72px) !important;
  padding: clamp(34px, 5vw, 78px) 0 !important;
}

.tv-about-page .tv-about-section > .wp-block-column {
  min-width: 0;
}

.tv-about-page .tv-about-section > .wp-block-column:first-child {
  flex-basis: 54% !important;
}

.tv-about-page .tv-about-section > .wp-block-column:last-child {
  flex-basis: 46% !important;
}

.tv-about-page .tv-about-section-reverse > .wp-block-column:first-child {
  flex-basis: 46% !important;
}

.tv-about-page .tv-about-section-reverse > .wp-block-column:last-child {
  flex-basis: 54% !important;
}

.tv-about-page .tv-about-image {
  width: 100% !important;
  margin: 0 !important;
  background: rgba(0,0,0,.35);
}

.tv-about-page .tv-about-image img {
  width: 100% !important;
  height: clamp(300px, 36vw, 540px) !important;
  min-height: 0 !important;
  max-height: 540px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #030303;
}

.tv-about-page .tv-about-section h2,
.tv-about-page .tv-about-section p {
  max-width: 680px;
}

@media (max-width: 900px) {
  .tv-about-page .tv-about-section,
  .tv-about-page .tv-about-section-reverse {
    flex-direction: column !important;
  }

  .tv-about-page .tv-about-section > .wp-block-column,
  .tv-about-page .tv-about-section-reverse > .wp-block-column {
    flex-basis: auto !important;
    width: 100% !important;
  }

  .tv-about-page .tv-about-image img {
    height: auto !important;
    max-height: 460px !important;
  }
}

/* Tattoo Village V5.8.5 - px font size control from the builder */
.tv-custom-font-size {
  font-size: var(--tv-custom-font-size) !important;
}

.tv-custom-font-size > :where(h1,h2,h3,h4,h5,h6,p,a,span,strong,em),
.tv-custom-font-size :where(.wp-block-button__link) {
  font-size: var(--tv-custom-font-size) !important;
}

/* Tattoo Village V5.8.6 - builder spacing controls and artists hero split */
.tv-custom-margin-top { margin-top: var(--tv-margin-top) !important; }
.tv-custom-margin-bottom { margin-bottom: var(--tv-margin-bottom) !important; }
.tv-custom-padding-top { padding-top: var(--tv-padding-top) !important; }
.tv-custom-padding-bottom { padding-bottom: var(--tv-padding-bottom) !important; }

.tv-artists-page .tv-artists-page-hero-split {
  width: min(100% - 32px, 1480px) !important;
  max-width: 1480px !important;
  min-height: auto;
  margin: clamp(28px, 4vw, 70px) auto clamp(30px, 5vw, 76px) !important;
  padding: clamp(32px, 5vw, 74px) 0 clamp(24px, 4vw, 56px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .85fr);
  align-items: center;
  gap: clamp(26px, 5vw, 82px);
}

.tv-artists-page .tv-artists-page-hero {
  max-width: 1480px;
  margin-top: clamp(18px, 3vw, 46px) !important;
  margin-bottom: clamp(24px, 4vw, 60px) !important;
}

.tv-artists-page .tv-artists-page-hero h1 {
  max-width: 12ch;
}

.tv-artists-page > .tv-page-hero.tv-artists-page-hero:not(.tv-artists-page-hero-split) {
  max-width: 1320px;
  padding-top: clamp(18px, 3vw, 46px) !important;
  padding-bottom: clamp(20px, 3vw, 52px) !important;
}

.tv-artists-page .tv-artists-page-hero p:not(.tv-eyebrow) {
  max-width: 720px;
}

.tv-artists-page-hero-visual {
  width: 100%;
  margin: 0 !important;
}

.tv-artists-page-hero-image {
  width: 100%;
  margin: 0 !important;
}

.tv-artists-page-hero-image img {
  width: 100%;
  height: clamp(320px, 36vw, 560px);
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.06);
}

.editor-styles-wrapper .tv-artists-page .tv-artists-page-hero-split {
  margin-top: 20px !important;
}

@media (max-width: 900px) {
  .tv-artists-page .tv-artists-page-hero-split {
    width: min(100% - 20px, 100%) !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .tv-artists-page-hero-image img {
    height: auto;
    max-height: 460px;
  }
}

/* Tattoo Village V5.8.7 - WooCommerce font size isolation */
.woocommerce,
.tv-woo-shell-v52,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout,
.wc-block-cart,
.wc-block-checkout {
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.woocommerce :where(p,li,td,th,label,input,textarea,select,small,span),
.tv-woo-shell-v52 :where(p,li,td,th,label,input,textarea,select,small,span),
.wc-block-cart :where(p,li,td,th,label,input,textarea,select,small,span),
.wc-block-checkout :where(p,li,td,th,label,input,textarea,select,small,span) {
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.woocommerce :where(h1,.woocommerce-products-header__title,div.product .product_title),
.tv-woo-shell-v52 :where(h1,.woocommerce-products-header__title,div.product .product_title) {
  font-size: clamp(38px, 4vw, 66px) !important;
  line-height: .92 !important;
}

.woocommerce :where(h2,.cart_totals h2,.woocommerce-order-details__title,.woocommerce-column__title),
.tv-woo-shell-v52 :where(h2,.cart_totals h2,.woocommerce-order-details__title,.woocommerce-column__title),
.wc-block-cart :where(h2,h3),
.wc-block-checkout :where(h2,h3) {
  font-size: clamp(24px, 2vw, 34px) !important;
  line-height: 1 !important;
}

.woocommerce :where(h3,h4,.woocommerce-loop-product__title),
.tv-woo-shell-v52 :where(h3,h4,.woocommerce-loop-product__title) {
  font-size: clamp(18px, 1.4vw, 24px) !important;
  line-height: 1.1 !important;
}

.woocommerce :where(.price,.amount,.woocommerce-Price-amount),
.tv-woo-shell-v52 :where(.price,.amount,.woocommerce-Price-amount),
.wc-block-cart :where(.wc-block-components-product-price,.wc-block-components-totals-item__value),
.wc-block-checkout :where(.wc-block-components-product-price,.wc-block-components-totals-item__value) {
  font-size: 18px !important;
  line-height: 1.2 !important;
}

.woocommerce :where(.button,button.button,a.button,input.button,.checkout-button,#place_order),
.tv-woo-shell-v52 :where(.button,button.button,a.button,input.button,.checkout-button,#place_order),
.wc-block-components-button:not(.is-link) {
  font-size: 13px !important;
  line-height: 1.2 !important;
  letter-spacing: .08em !important;
}

.woocommerce table.shop_table :where(th,td),
.tv-woo-shell-v52 table.shop_table :where(th,td) {
  font-size: 14px !important;
}

@media (max-width: 760px) {
  .woocommerce :where(h1,.woocommerce-products-header__title,div.product .product_title),
  .tv-woo-shell-v52 :where(h1,.woocommerce-products-header__title,div.product .product_title) {
    font-size: clamp(34px, 12vw, 54px) !important;
  }

  .woocommerce :where(h2,.cart_totals h2,.woocommerce-order-details__title,.woocommerce-column__title),
  .tv-woo-shell-v52 :where(h2,.cart_totals h2,.woocommerce-order-details__title,.woocommerce-column__title) {
    font-size: clamp(24px, 8vw, 34px) !important;
  }
}

/* Tattoo Village V5.8.7 - correction menu WooCommerce et actions mobiles optionnelles */
body.tv-woocommerce-active .tv-site-header,
body.woocommerce-page .tv-site-header,
body.woocommerce-js .tv-site-header {
  font-size: 16px !important;
}

body.tv-woocommerce-active .tv-site-header .tv-navigation :where(a,.wp-block-navigation-item__content,.wp-block-navigation-item__label),
body.woocommerce-page .tv-site-header .tv-navigation :where(a,.wp-block-navigation-item__content,.wp-block-navigation-item__label),
body.woocommerce-js .tv-site-header .tv-navigation :where(a,.wp-block-navigation-item__content,.wp-block-navigation-item__label) {
  font-family: var(--tv-sans) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.tv-woocommerce-active .tv-site-header .tv-header-buttons :where(a,.wp-block-button__link),
body.woocommerce-page .tv-site-header .tv-header-buttons :where(a,.wp-block-button__link),
body.woocommerce-js .tv-site-header .tv-header-buttons :where(a,.wp-block-button__link) {
  font-family: var(--tv-sans) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.tv-woocommerce-active .tv-site-header :where(.tv-header-cart,.tv-header-account),
body.woocommerce-page .tv-site-header :where(.tv-header-cart,.tv-header-account),
body.woocommerce-js .tv-site-header :where(.tv-header-cart,.tv-header-account) {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

body.tv-woocommerce-active .tv-site-header .tv-header-cart-count,
body.woocommerce-page .tv-site-header .tv-header-cart-count,
body.woocommerce-js .tv-site-header .tv-header-cart-count {
  font-size: 12px !important;
  line-height: 18px !important;
}

@media (max-width: 980px) {
  .tv-header-inner {
    flex-wrap: nowrap !important;
    row-gap: 0 !important;
  }

  .tv-header-inner:has(.tv-header-buttons.tv-mobile-actions-all),
  .tv-header-inner:has(.tv-header-buttons.tv-mobile-actions-icons),
  .tv-header-inner:has(.tv-header-buttons.tv-mobile-actions-text),
  .tv-header-inner:has(.tv-header-buttons .tv-mobile-show),
  .tv-header-inner:has(.tv-header-buttons .tv-mobile-actions-all),
  .tv-header-inner:has(.tv-header-buttons .tv-mobile-actions-icons),
  .tv-header-inner:has(.tv-header-buttons .tv-mobile-actions-text) {
    flex-wrap: wrap !important;
    row-gap: 12px !important;
  }

  .tv-navigation {
    flex: 0 0 auto !important;
    order: 2;
    margin-left: auto !important;
  }

  .tv-header-buttons {
    display: none !important;
  }

  .tv-header-buttons:has(.tv-mobile-show),
  .tv-header-buttons:has(.tv-mobile-actions-all),
  .tv-header-buttons:has(.tv-mobile-actions-icons),
  .tv-header-buttons:has(.tv-mobile-actions-text) {
    order: 3;
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }

  .tv-header-buttons:has(.tv-mobile-show) > :not(.tv-mobile-show):not(:has(.tv-mobile-show)),
  .tv-header-buttons:has(.tv-mobile-actions-all) > :not(.tv-mobile-actions-all):not(:has(.tv-mobile-actions-all)),
  .tv-header-buttons:has(.tv-mobile-actions-icons) > :not(.tv-mobile-actions-icons):not(:has(.tv-mobile-actions-icons)),
  .tv-header-buttons:has(.tv-mobile-actions-text) > :not(.tv-mobile-actions-text):not(:has(.tv-mobile-actions-text)) {
    display: none !important;
  }

  .tv-header-buttons:has(.tv-mobile-show) > .tv-mobile-show,
  .tv-header-buttons:has(.tv-mobile-actions-all) > .tv-mobile-actions-all,
  .tv-header-buttons:has(.tv-mobile-actions-icons) > .tv-mobile-actions-icons,
  .tv-header-buttons:has(.tv-mobile-actions-text) > .tv-mobile-actions-text,
  .tv-header-buttons:has(.tv-mobile-show) > :has(.tv-mobile-show),
  .tv-header-buttons:has(.tv-mobile-actions-all) > :has(.tv-mobile-actions-all),
  .tv-header-buttons:has(.tv-mobile-actions-icons) > :has(.tv-mobile-actions-icons),
  .tv-header-buttons:has(.tv-mobile-actions-text) > :has(.tv-mobile-actions-text),
  .tv-header-buttons .tv-shortcode-mobile-control {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .tv-header-buttons:has(.tv-mobile-show) > .tv-mobile-show :where(.tv-header-cart,.tv-header-account),
  .tv-header-buttons:has(.tv-mobile-actions-all) > .tv-mobile-actions-all :where(.tv-header-cart,.tv-header-account),
  .tv-header-buttons:has(.tv-mobile-actions-icons) > .tv-mobile-actions-icons :where(.tv-header-cart,.tv-header-account),
  .tv-header-buttons:has(.tv-mobile-actions-text) > .tv-mobile-actions-text :where(.tv-header-cart,.tv-header-account),
  .tv-header-buttons .tv-shortcode-mobile-control :where(.tv-header-cart,.tv-header-account) {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
  }

  .tv-header-buttons > .tv-mobile-hide {
    display: none !important;
  }

  .tv-header-buttons.tv-mobile-actions-all,
  .tv-header-buttons.tv-mobile-actions-icons,
  .tv-header-buttons.tv-mobile-actions-text {
    order: 3;
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 46px 46px;
    align-items: center !important;
    gap: 8px !important;
    justify-content: stretch !important;
  }

  .tv-header-buttons.tv-mobile-actions-all ~ *,
  .tv-header-buttons.tv-mobile-actions-icons ~ *,
  .tv-header-buttons.tv-mobile-actions-text ~ * {
    min-width: 0;
  }

  .tv-header-buttons .wp-block-button,
  .tv-header-buttons .wp-block-button__link {
    width: 100% !important;
    min-width: 0 !important;
  }

  .tv-header-buttons .wp-block-button__link {
    min-height: 42px !important;
    padding: 12px 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    line-height: 1.05 !important;
    text-align: center !important;
  }

  .tv-header-buttons.tv-mobile-actions-all .tv-header-cart,
  .tv-header-buttons.tv-mobile-actions-all .tv-header-account,
  .tv-header-buttons.tv-mobile-actions-icons .tv-header-cart,
  .tv-header-buttons.tv-mobile-actions-icons .tv-header-account {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    justify-self: end !important;
  }

  .tv-header-buttons.tv-mobile-actions-icons {
    grid-template-columns: 46px 46px;
    justify-content: end !important;
    justify-items: end !important;
  }

  .tv-header-buttons.tv-mobile-actions-icons .wp-block-button {
    display: none !important;
  }

  .tv-header-buttons.tv-mobile-actions-text {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .tv-header-buttons.tv-mobile-actions-text :where(.tv-header-cart,.tv-header-account) {
    display: none !important;
  }

  .tv-navigation .wp-block-navigation__responsive-container.is-menu-open,
  .tv-navigation .wp-block-navigation__responsive-container.has-modal-open {
    inset: 76px 12px auto 12px !important;
    max-height: calc(100dvh - 92px) !important;
  }

  body.admin-bar .tv-navigation .wp-block-navigation__responsive-container.is-menu-open,
  body.admin-bar .tv-navigation .wp-block-navigation__responsive-container.has-modal-open {
    top: 122px !important;
    max-height: calc(100dvh - 138px) !important;
  }
}

@media (max-width: 460px) {
  .tv-header-buttons.tv-mobile-actions-all {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 42px 42px;
    gap: 7px !important;
  }

  .tv-header-buttons.tv-mobile-actions-icons {
    grid-template-columns: 42px 42px;
  }

  .tv-header-buttons:has(.tv-mobile-show) > .tv-mobile-show :where(.tv-header-cart,.tv-header-account),
  .tv-header-buttons:has(.tv-mobile-actions-all) > .tv-mobile-actions-all :where(.tv-header-cart,.tv-header-account),
  .tv-header-buttons:has(.tv-mobile-actions-icons) > .tv-mobile-actions-icons :where(.tv-header-cart,.tv-header-account),
  .tv-header-buttons:has(.tv-mobile-actions-text) > .tv-mobile-actions-text :where(.tv-header-cart,.tv-header-account),
  .tv-header-buttons .tv-shortcode-mobile-control :where(.tv-header-cart,.tv-header-account) {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }

  .tv-header-buttons .wp-block-button__link {
    min-height: 40px !important;
    padding-inline: 8px !important;
    font-size: 10px !important;
    letter-spacing: .06em !important;
  }

  .tv-header-buttons.tv-mobile-actions-all .tv-header-cart,
  .tv-header-buttons.tv-mobile-actions-all .tv-header-account,
  .tv-header-buttons.tv-mobile-actions-icons .tv-header-cart,
  .tv-header-buttons.tv-mobile-actions-icons .tv-header-account {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }
}

/* Tattoo Village V5.8.7 - mobile header shortcode icon fallback */
@media (max-width: 980px) {
  .tv-header-buttons.tv-mobile-actions-all,
  .tv-header-buttons.tv-mobile-actions-icons,
  .tv-header-buttons.tv-mobile-actions-text {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .tv-header-buttons.tv-mobile-actions-all > p:empty,
  .tv-header-buttons.tv-mobile-actions-icons > p:empty,
  .tv-header-buttons.tv-mobile-actions-text > p:empty {
    display: none !important;
  }

  .tv-header-buttons.tv-mobile-actions-all .wp-block-button,
  .tv-header-buttons.tv-mobile-actions-text .wp-block-button {
    flex: 1 1 132px !important;
    max-width: 190px !important;
    min-width: 0 !important;
  }

  .tv-header-buttons.tv-mobile-actions-all .tv-shortcode-mobile-control,
  .tv-header-buttons.tv-mobile-actions-icons .tv-shortcode-mobile-control {
    flex: 0 0 46px !important;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .tv-header-buttons.tv-mobile-actions-all .tv-shortcode-mobile-control :where(.tv-header-cart,.tv-header-account),
  .tv-header-buttons.tv-mobile-actions-icons .tv-shortcode-mobile-control :where(.tv-header-cart,.tv-header-account) {
    display: inline-flex !important;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
  }

  .tv-header-buttons.tv-mobile-actions-icons .wp-block-button,
  .tv-header-buttons.tv-mobile-actions-text .tv-shortcode-mobile-control,
  .tv-header-buttons.tv-mobile-actions-text :where(.tv-header-cart,.tv-header-account) {
    display: none !important;
  }
}

@media (max-width: 460px) {
  .tv-header-buttons.tv-mobile-actions-all .wp-block-button,
  .tv-header-buttons.tv-mobile-actions-text .wp-block-button {
    flex-basis: 118px !important;
  }

  .tv-header-buttons.tv-mobile-actions-all .tv-shortcode-mobile-control,
  .tv-header-buttons.tv-mobile-actions-icons .tv-shortcode-mobile-control,
  .tv-header-buttons.tv-mobile-actions-all .tv-shortcode-mobile-control :where(.tv-header-cart,.tv-header-account),
  .tv-header-buttons.tv-mobile-actions-icons .tv-shortcode-mobile-control :where(.tv-header-cart,.tv-header-account) {
    flex-basis: 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }
}

/* Tattoo Village V5.8.7 - keep mobile header actions on the top row */
@media (max-width: 980px) {
  .tv-site-header .tv-header-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px 12px !important;
  }

  .tv-site-header .tv-brand {
    order: 1 !important;
    flex: 0 0 auto !important;
    margin-right: 0 !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-show,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-all,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-icons,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-show),
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all),
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-icons) {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-left: 0 !important;
  }

  .tv-site-header .tv-navigation {
    order: 2 !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 180px !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button__link {
    width: 100% !important;
    min-height: 40px !important;
    padding: 10px 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    letter-spacing: .06em !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .tv-site-header .tv-header-buttons > p:empty,
  .tv-site-header .tv-header-buttons .tv-mobile-hide,
  .tv-site-header .tv-header-buttons .wp-block-button.tv-mobile-hide {
    display: none !important;
  }

  .tv-site-header .tv-header-buttons :where(.tv-header-cart,.tv-header-account) {
    display: inline-flex !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }
}

@media (max-width: 420px) {
  .tv-site-header .tv-header-inner {
    gap: 8px 10px !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-show,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-all,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-icons,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-show),
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all),
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-icons) {
    gap: 6px !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button__link {
    min-height: 36px !important;
    padding: 8px 7px !important;
    font-size: 10.5px !important;
    letter-spacing: .045em !important;
  }

  .tv-site-header .tv-header-buttons :where(.tv-header-cart,.tv-header-account) {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }
}

/* Tattoo Village V5.8.7 - builder controls hardening */
.tv-width-normal {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.tv-width-wide {
  width: min(100%, var(--tv-max)) !important;
  max-width: var(--tv-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.tv-width-full {
  width: 100% !important;
  max-width: none !important;
}

.wp-block-button.tv-width-normal .wp-block-button__link,
.wp-block-button.tv-width-wide .wp-block-button__link,
.wp-block-button.tv-width-full .wp-block-button__link {
  width: 100% !important;
}

.tv-align-left {
  text-align: left !important;
  justify-content: flex-start !important;
  justify-items: start !important;
}

.tv-align-center {
  text-align: center !important;
  justify-content: center !important;
  justify-items: center !important;
}

.tv-align-right {
  text-align: right !important;
  justify-content: flex-end !important;
  justify-items: end !important;
}

.wp-block-buttons.tv-align-left { justify-content: flex-start !important; }
.wp-block-buttons.tv-align-center { justify-content: center !important; }
.wp-block-buttons.tv-align-right { justify-content: flex-end !important; }

.wp-block-button.tv-align-left .wp-block-button__link { text-align: left !important; justify-content: flex-start !important; }
.wp-block-button.tv-align-center .wp-block-button__link { text-align: center !important; justify-content: center !important; }
.wp-block-button.tv-align-right .wp-block-button__link { text-align: right !important; justify-content: flex-end !important; }

.tv-cols-2,
.tv-cols-3,
.tv-cols-4 {
  display: grid !important;
}

.tv-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.tv-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.tv-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

.tv-gap-tight { gap: 12px !important; column-gap: 12px !important; row-gap: 12px !important; }
.tv-gap-normal { gap: 22px !important; column-gap: 22px !important; row-gap: 22px !important; }
.tv-gap-large { gap: 36px !important; column-gap: 36px !important; row-gap: 36px !important; }

.tv-pad-none { padding: 0 !important; }
.tv-pad-small { padding: 18px !important; }
.tv-pad-medium { padding: 32px !important; }
.tv-pad-large { padding: clamp(44px, 6vw, 78px) !important; }

.wp-block-button.tv-pad-none .wp-block-button__link { padding: 0 !important; }
.wp-block-button.tv-pad-small .wp-block-button__link { padding: 10px 16px !important; }
.wp-block-button.tv-pad-medium .wp-block-button__link { padding: 14px 24px !important; }
.wp-block-button.tv-pad-large .wp-block-button__link { padding: 18px 34px !important; }

.tv-space-none { margin-top: 0 !important; margin-bottom: 0 !important; }
.tv-space-small { margin-top: 22px !important; margin-bottom: 22px !important; }
.tv-space-medium { margin-top: 44px !important; margin-bottom: 44px !important; }
.tv-space-large { margin-top: 72px !important; margin-bottom: 72px !important; }

.tv-min-small { min-height: 220px !important; }
.tv-min-medium { min-height: 420px !important; }
.tv-min-hero { min-height: min(760px, 86vh) !important; }

.tv-img-square :where(img,.wp-block-cover__image-background) { aspect-ratio: 1 / 1 !important; object-fit: cover !important; }
.tv-img-wide :where(img,.wp-block-cover__image-background) { aspect-ratio: 16 / 9 !important; object-fit: cover !important; }
.tv-img-tall :where(img,.wp-block-cover__image-background) { aspect-ratio: 4 / 5 !important; object-fit: cover !important; }
.tv-img-left { order: -1 !important; }
.tv-img-right { order: 2 !important; }

.tv-accent-red { --tv-local-accent: var(--tv-red-hot); }
.tv-accent-white { --tv-local-accent: var(--tv-white); }
.tv-accent-grey { --tv-local-accent: var(--tv-muted); }
.tv-accent-red :where(a,strong,.wp-block-button__link) { color: var(--tv-red-hot) !important; }
.tv-accent-white :where(a,strong,.wp-block-button__link) { color: var(--tv-white) !important; }
.tv-accent-grey :where(a,strong,.wp-block-button__link) { color: var(--tv-muted) !important; }

.tv-radius-none,
.tv-radius-none :where(img,.wp-block-button__link) {
  border-radius: 0 !important;
}

.tv-radius-soft,
.tv-radius-soft :where(img,.wp-block-button__link) {
  border-radius: 10px !important;
  overflow: hidden !important;
}

.tv-border-light,
.tv-border-light :where(.wp-block-button__link) {
  border: 1px solid rgba(255,255,255,.14) !important;
}

.tv-shadow-soft,
.tv-shadow-soft :where(.wp-block-button__link) {
  box-shadow: 0 24px 70px rgba(0,0,0,.32) !important;
}

.tv-hover-none,
.tv-hover-none *,
.tv-hover-none:hover,
.tv-hover-none:hover * {
  transform: none !important;
  animation: none !important;
  transition-property: color, background-color, border-color, opacity !important;
}

.tv-hover-none.tv-header-ticket a:hover,
.tv-hover-none.tv-button-red a:hover {
  background: linear-gradient(135deg, var(--tv-red), #920808) !important;
  border-color: rgba(255,42,42,.65) !important;
  box-shadow: 0 18px 45px rgba(212,20,20,.22) !important;
}

.tv-hover-none.tv-header-stand a:hover,
.tv-hover-none.tv-button-outline a:hover,
.tv-hover-none.tv-button-dark a:hover {
  background: rgba(0,0,0,.55) !important;
  border-color: rgba(255,255,255,.28) !important;
  box-shadow: none !important;
}

.wp-block-button.tv-hover-lift:hover .wp-block-button__link,
.wp-block-button.tv-hover-scale:hover .wp-block-button__link,
.wp-block-button.tv-hover-border-red:hover .wp-block-button__link {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease !important;
}

.wp-block-button.tv-hover-lift:hover .wp-block-button__link { transform: translateY(-5px) !important; }
.wp-block-button.tv-hover-scale:hover .wp-block-button__link { transform: scale(1.025) !important; }
.wp-block-button.tv-hover-border-red:hover .wp-block-button__link {
  border-color: rgba(255,38,38,.78) !important;
  box-shadow: 0 20px 60px rgba(212,20,20,.18) !important;
}

@media (max-width: 760px) {
  .tv-cols-2,
  .tv-cols-3,
  .tv-cols-4 {
    grid-template-columns: 1fr !important;
  }
}

/* Tattoo Village V5.8.7 - final mobile header row order */
@media (max-width: 980px) {
  .tv-site-header .tv-header-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px 12px !important;
  }

  .tv-site-header .tv-brand {
    order: 1 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .tv-site-header .tv-navigation {
    order: 2 !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-show,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-all,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-text,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-show),
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all),
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-text) {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button {
    flex: 1 1 0 !important;
    max-width: 178px !important;
    min-width: 0 !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button__link {
    width: 100% !important;
    min-height: 38px !important;
    padding: 9px 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    line-height: 1.05 !important;
    letter-spacing: .045em !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-all > .wp-block-button,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all) > .wp-block-button,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-show) > .wp-block-button {
    display: block !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-icons {
    order: 3 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: auto !important;
  }
}

@media (max-width: 430px) {
  .tv-site-header .tv-header-inner {
    gap: 8px !important;
  }

  .tv-site-header .tv-brand-logo,
  .tv-site-header .tv-brand-logo img,
  .tv-site-header .tv-brand-mark {
    width: 54px !important;
    height: 54px !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-show,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-all,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-text,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-show),
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all),
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-text) {
    gap: 5px !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button__link {
    min-height: 34px !important;
    padding: 7px 6px !important;
    font-size: 9.8px !important;
    letter-spacing: .03em !important;
  }
}

/* Tattoo Village V5.8.7 - mobile header actions: buttons + cart/account icons */
@media (max-width: 980px) {
  .tv-site-header .tv-header-buttons.tv-mobile-actions-all,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all),
  .tv-site-header .tv-header-buttons:has(.tv-mobile-show) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 42px 42px !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 7px !important;
  }

  .tv-site-header .tv-header-buttons > p:has(.tv-shortcode-mobile-control),
  .tv-site-header .tv-header-buttons > p:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons > p:has(.tv-header-account) {
    display: contents !important;
    margin: 0 !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-all .wp-block-button,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all) .wp-block-button,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-show) .wp-block-button {
    display: block !important;
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control,
  .tv-site-header .tv-header-buttons :where(.tv-header-cart,.tv-header-account) {
    display: inline-flex !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .tv-site-header .tv-header-buttons .tv-header-action-svg {
    width: 19px !important;
    height: 19px !important;
  }

  .tv-site-header .tv-header-buttons .tv-mobile-hide,
  .tv-site-header .tv-header-buttons .wp-block-button.tv-mobile-hide {
    display: none !important;
  }
}

@media (max-width: 430px) {
  .tv-site-header .tv-header-buttons.tv-mobile-actions-all,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all),
  .tv-site-header .tv-header-buttons:has(.tv-mobile-show) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 38px 38px !important;
    gap: 5px !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control,
  .tv-site-header .tv-header-buttons :where(.tv-header-cart,.tv-header-account) {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
  }

  .tv-site-header .tv-header-buttons .tv-header-action-svg {
    width: 17px !important;
    height: 17px !important;
  }
}

/* Tattoo Village V5.8.7 - mobile header final layout: logo + icons + burger, CTAs below */
@media (max-width: 980px) {
  .tv-site-header .tv-header-inner:has(.tv-header-buttons.tv-mobile-actions-all),
  .tv-site-header .tv-header-inner:has(.tv-header-buttons .tv-mobile-actions-all),
  .tv-site-header .tv-header-inner:has(.tv-header-buttons .tv-header-cart),
  .tv-site-header .tv-header-inner:has(.tv-header-buttons .tv-header-account) {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    gap: 10px 10px !important;
  }

  .tv-site-header .tv-header-inner:has(.tv-header-buttons.tv-mobile-actions-all) .tv-brand,
  .tv-site-header .tv-header-inner:has(.tv-header-buttons .tv-mobile-actions-all) .tv-brand,
  .tv-site-header .tv-header-inner:has(.tv-header-buttons .tv-header-cart) .tv-brand,
  .tv-site-header .tv-header-inner:has(.tv-header-buttons .tv-header-account) .tv-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
  }

  .tv-site-header .tv-header-inner:has(.tv-header-buttons.tv-mobile-actions-all) .tv-navigation,
  .tv-site-header .tv-header-inner:has(.tv-header-buttons .tv-mobile-actions-all) .tv-navigation,
  .tv-site-header .tv-header-inner:has(.tv-header-buttons .tv-header-cart) .tv-navigation,
  .tv-site-header .tv-header-inner:has(.tv-header-buttons .tv-header-account) .tv-navigation {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    margin: 0 !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-all,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all),
  .tv-site-header .tv-header-buttons:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons:has(.tv-header-account) {
    display: contents !important;
  }

  .tv-site-header .tv-header-buttons > p,
  .tv-site-header .tv-header-buttons > .wp-block-shortcode {
    display: contents !important;
    margin: 0 !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control,
  .tv-site-header .tv-header-buttons :where(.tv-header-cart,.tv-header-account) {
    grid-row: 1 !important;
    grid-column: 2 !important;
    justify-self: end !important;
    align-self: center !important;
    position: relative !important;
    z-index: 3 !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons .tv-header-cart {
    transform: translateX(-48px) !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-account),
  .tv-site-header .tv-header-buttons .tv-header-account {
    transform: translateX(0) !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button {
    grid-row: 2 !important;
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
    display: block !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button:nth-of-type(1) {
    grid-column: 1 / 3 !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button:nth-of-type(2) {
    grid-column: 3 / 4 !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button__link {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
  }
}

@media (max-width: 430px) {
  .tv-site-header .tv-header-inner:has(.tv-header-buttons.tv-mobile-actions-all),
  .tv-site-header .tv-header-inner:has(.tv-header-buttons .tv-mobile-actions-all),
  .tv-site-header .tv-header-inner:has(.tv-header-buttons .tv-header-cart),
  .tv-site-header .tv-header-inner:has(.tv-header-buttons .tv-header-account) {
    grid-template-columns: auto minmax(86px, 1fr) auto !important;
    gap: 8px 7px !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons .tv-header-cart {
    transform: translateX(-43px) !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button__link {
    min-height: 34px !important;
    padding-inline: 6px !important;
    font-size: 9px !important;
    letter-spacing: .02em !important;
  }
}

/* Tattoo Village V5.8.7 - optional builder positions for mobile header actions */
@media (max-width: 980px) {
  .tv-site-header .tv-header-inner:has(.tv-header-buttons.tv-mobile-layout-bottom) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-layout-bottom {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 42px 42px !important;
    gap: 7px !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-layout-bottom .wp-block-button {
    grid-row: auto !important;
    grid-column: auto !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-layout-bottom .tv-shortcode-mobile-control,
  .tv-site-header .tv-header-buttons.tv-mobile-layout-bottom :where(.tv-header-cart,.tv-header-account) {
    grid-row: auto !important;
    grid-column: auto !important;
    justify-self: center !important;
    transform: none !important;
  }

  .tv-site-header .tv-header-inner:has(.tv-header-buttons.tv-mobile-layout-inline) {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-rows: auto !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline {
    display: flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: auto !important;
    max-width: min(100%, 250px) !important;
    gap: 5px !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline .wp-block-button {
    grid-row: auto !important;
    grid-column: auto !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline .tv-shortcode-mobile-control,
  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline :where(.tv-header-cart,.tv-header-account) {
    grid-row: auto !important;
    grid-column: auto !important;
    justify-self: auto !important;
    transform: none !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline .wp-block-button__link {
    min-height: 36px !important;
    padding-inline: 7px !important;
    font-size: 9px !important;
  }
}

/* Tattoo Village V5.8.7 - default mobile header split, stable two-line layout */
@media (max-width: 980px) {
  .tv-site-header .tv-header-inner:has(.tv-header-buttons.tv-mobile-actions-all):not(:has(.tv-header-buttons.tv-mobile-layout-bottom)):not(:has(.tv-header-buttons.tv-mobile-layout-inline)),
  .tv-site-header .tv-header-inner:has(.tv-header-buttons .tv-mobile-actions-all):not(:has(.tv-header-buttons.tv-mobile-layout-bottom)):not(:has(.tv-header-buttons.tv-mobile-layout-inline)),
  .tv-site-header .tv-header-inner:has(.tv-header-buttons .tv-header-cart):not(:has(.tv-header-buttons.tv-mobile-layout-bottom)):not(:has(.tv-header-buttons.tv-mobile-layout-inline)),
  .tv-site-header .tv-header-inner:has(.tv-header-buttons .tv-header-account):not(:has(.tv-header-buttons.tv-mobile-layout-bottom)):not(:has(.tv-header-buttons.tv-mobile-layout-inline)) {
    position: relative !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    gap: 10px 8px !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline),
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline),
  .tv-site-header .tv-header-buttons:has(.tv-header-cart):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline),
  .tv-site-header .tv-header-buttons:has(.tv-header-account):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) {
    grid-column: 1 / 4 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 7px !important;
    margin: 0 !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) > p,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) > p,
  .tv-site-header .tv-header-buttons:has(.tv-header-cart):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) > p,
  .tv-site-header .tv-header-buttons:has(.tv-header-account):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) > p {
    display: contents !important;
    margin: 0 !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .wp-block-button,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .wp-block-button,
  .tv-site-header .tv-header-buttons:has(.tv-header-cart):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .wp-block-button,
  .tv-site-header .tv-header-buttons:has(.tv-header-account):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .wp-block-button {
    grid-row: 1 !important;
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    display: block !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .wp-block-button__link,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .wp-block-button__link,
  .tv-site-header .tv-header-buttons:has(.tv-header-cart):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .wp-block-button__link,
  .tv-site-header .tv-header-buttons:has(.tv-header-account):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .wp-block-button__link {
    min-height: 36px !important;
    width: 100% !important;
    padding: 8px 6px !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
    letter-spacing: .02em !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .tv-shortcode-mobile-control,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .tv-shortcode-mobile-control,
  .tv-site-header .tv-header-buttons:has(.tv-header-cart):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .tv-shortcode-mobile-control,
  .tv-site-header .tv-header-buttons:has(.tv-header-account):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .tv-shortcode-mobile-control,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) :where(.tv-header-cart,.tv-header-account),
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) :where(.tv-header-cart,.tv-header-account),
  .tv-site-header .tv-header-buttons:has(.tv-header-cart):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) :where(.tv-header-cart,.tv-header-account),
  .tv-site-header .tv-header-buttons:has(.tv-header-account):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) :where(.tv-header-cart,.tv-header-account) {
    position: absolute !important;
    top: 6px !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 4 !important;
    transform: none !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons :where(.tv-header-cart) {
    left: calc(50% - 56px) !important;
    right: auto !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-account),
  .tv-site-header .tv-header-buttons :where(.tv-header-account) {
    left: calc(50% + 14px) !important;
    right: auto !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-cart) .tv-header-cart,
  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-account) .tv-header-account {
    position: static !important;
    right: auto !important;
  }
}

@media (max-width: 430px) {
  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons :where(.tv-header-cart) {
    left: calc(50% - 52px) !important;
    right: auto !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-account),
  .tv-site-header .tv-header-buttons :where(.tv-header-account) {
    left: calc(50% + 12px) !important;
    right: auto !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .wp-block-button__link,
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .wp-block-button__link,
  .tv-site-header .tv-header-buttons:has(.tv-header-cart):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .wp-block-button__link,
  .tv-site-header .tv-header-buttons:has(.tv-header-account):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) .wp-block-button__link {
    font-size: 8.8px !important;
    letter-spacing: 0 !important;
  }
}

/* Tattoo Village V5.8.7 - mathematically centered mobile header icons */
@media (max-width: 980px) {
  .tv-site-header .tv-header-inner {
    --tv-mobile-icon-size: 42px;
    --tv-mobile-icon-gap: 22px;
    --tv-mobile-icon-group: calc((var(--tv-mobile-icon-size) * 2) + var(--tv-mobile-icon-gap));
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons > .tv-header-cart {
    position: absolute !important;
    top: 6px !important;
    left: calc(50% - (var(--tv-mobile-icon-group) / 2)) !important;
    right: auto !important;
    width: var(--tv-mobile-icon-size) !important;
    min-width: var(--tv-mobile-icon-size) !important;
    max-width: var(--tv-mobile-icon-size) !important;
    height: var(--tv-mobile-icon-size) !important;
    min-height: var(--tv-mobile-icon-size) !important;
    transform: none !important;
    z-index: 6 !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-account),
  .tv-site-header .tv-header-buttons > .tv-header-account {
    position: absolute !important;
    top: 6px !important;
    left: calc(50% - (var(--tv-mobile-icon-group) / 2) + var(--tv-mobile-icon-size) + var(--tv-mobile-icon-gap)) !important;
    right: auto !important;
    width: var(--tv-mobile-icon-size) !important;
    min-width: var(--tv-mobile-icon-size) !important;
    max-width: var(--tv-mobile-icon-size) !important;
    height: var(--tv-mobile-icon-size) !important;
    min-height: var(--tv-mobile-icon-size) !important;
    transform: none !important;
    z-index: 6 !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-cart) .tv-header-cart,
  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-account) .tv-header-account {
    position: static !important;
    inset: auto !important;
    width: var(--tv-mobile-icon-size) !important;
    min-width: var(--tv-mobile-icon-size) !important;
    max-width: var(--tv-mobile-icon-size) !important;
    height: var(--tv-mobile-icon-size) !important;
    min-height: var(--tv-mobile-icon-size) !important;
    transform: none !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-cart) + p,
  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-account) + p {
    display: contents !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline),
  .tv-site-header .tv-header-buttons:has(.tv-mobile-actions-all):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline),
  .tv-site-header .tv-header-buttons:has(.tv-header-cart):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline),
  .tv-site-header .tv-header-buttons:has(.tv-header-account):not(.tv-mobile-layout-bottom):not(.tv-mobile-layout-inline) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline {
    display: contents !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline .wp-block-button {
    display: none !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-layout-bottom .tv-shortcode-mobile-control:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons.tv-mobile-layout-bottom > .tv-header-cart,
  .tv-site-header .tv-header-buttons.tv-mobile-layout-bottom .tv-shortcode-mobile-control:has(.tv-header-account),
  .tv-site-header .tv-header-buttons.tv-mobile-layout-bottom > .tv-header-account {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }
}

@media (max-width: 430px) {
  .tv-site-header .tv-header-inner {
    --tv-mobile-icon-size: 38px;
    --tv-mobile-icon-gap: 18px;
  }
}

/* Tattoo Village V5.8.7 - definitive mobile header layout, keeps child controls independent */
@media (max-width: 980px) {
  .tv-site-header .tv-header-inner:has(.tv-header-buttons) {
    --tv-mobile-icon-size: 42px;
    --tv-mobile-icon-gap: 24px;
    --tv-mobile-icon-group: calc((var(--tv-mobile-icon-size) * 2) + var(--tv-mobile-icon-gap));
    position: relative !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    gap: 10px 8px !important;
  }

  .tv-site-header .tv-header-inner:has(.tv-header-buttons) .tv-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    margin: 0 !important;
  }

  .tv-site-header .tv-header-inner:has(.tv-header-buttons) .tv-navigation {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
  }

  .tv-site-header .tv-header-buttons {
    grid-column: 1 / 4 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  .tv-site-header .tv-header-buttons > p,
  .tv-site-header .tv-header-buttons > .wp-block-shortcode {
    display: contents !important;
    margin: 0 !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    display: block !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button__link {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 36px !important;
    padding: 8px 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
    letter-spacing: .02em !important;
    text-align: center !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons > .tv-header-cart {
    position: absolute !important;
    top: 6px !important;
    left: calc(50% - (var(--tv-mobile-icon-group) / 2)) !important;
    right: auto !important;
    width: var(--tv-mobile-icon-size) !important;
    min-width: var(--tv-mobile-icon-size) !important;
    max-width: var(--tv-mobile-icon-size) !important;
    height: var(--tv-mobile-icon-size) !important;
    min-height: var(--tv-mobile-icon-size) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 7 !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-account),
  .tv-site-header .tv-header-buttons > .tv-header-account {
    position: absolute !important;
    top: 6px !important;
    left: calc(50% - (var(--tv-mobile-icon-group) / 2) + var(--tv-mobile-icon-size) + var(--tv-mobile-icon-gap)) !important;
    right: auto !important;
    width: var(--tv-mobile-icon-size) !important;
    min-width: var(--tv-mobile-icon-size) !important;
    max-width: var(--tv-mobile-icon-size) !important;
    height: var(--tv-mobile-icon-size) !important;
    min-height: var(--tv-mobile-icon-size) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 7 !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-cart) .tv-header-cart,
  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-account) .tv-header-account {
    position: static !important;
    inset: auto !important;
    width: var(--tv-mobile-icon-size) !important;
    min-width: var(--tv-mobile-icon-size) !important;
    max-width: var(--tv-mobile-icon-size) !important;
    height: var(--tv-mobile-icon-size) !important;
    min-height: var(--tv-mobile-icon-size) !important;
    display: inline-flex !important;
    transform: none !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-icons,
  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline {
    grid-row: 1 !important;
    grid-column: 2 !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    overflow: visible !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-icons .wp-block-button,
  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline .wp-block-button {
    display: none !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-text .tv-shortcode-mobile-control,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-text :where(.tv-header-cart,.tv-header-account),
  .tv-site-header .tv-header-buttons .tv-mobile-hide,
  .tv-site-header .tv-header-buttons .wp-block-button.tv-mobile-hide {
    display: none !important;
  }

  .tv-site-header .tv-header-buttons .tv-mobile-show,
  .tv-site-header .tv-header-buttons .wp-block-button.tv-mobile-show {
    display: block !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control.tv-mobile-show {
    display: inline-flex !important;
  }
}

@media (max-width: 430px) {
  .tv-site-header .tv-header-inner:has(.tv-header-buttons) {
    --tv-mobile-icon-size: 38px;
    --tv-mobile-icon-gap: 20px;
    gap: 8px 7px !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button__link {
    min-height: 34px !important;
    font-size: 8.8px !important;
    letter-spacing: 0 !important;
  }
}

/* Tattoo Village V5.8.7 - mobile header alignment by mode */
@media (max-width: 980px) {
  .tv-site-header .tv-header-inner {
    --tv-mobile-icon-size: 42px;
    --tv-mobile-icon-gap: 26px;
    --tv-mobile-icon-shift: calc((var(--tv-mobile-icon-size) + var(--tv-mobile-icon-gap)) / 2);
    grid-template-columns: auto minmax(112px, 1fr) auto !important;
    grid-template-rows: 54px auto !important;
    align-items: center !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-icons,
  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline {
    display: contents !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-icons .wp-block-button,
  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline .wp-block-button {
    display: none !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-icons .tv-shortcode-mobile-control:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline .tv-shortcode-mobile-control:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons.tv-mobile-actions-icons > .tv-header-cart,
  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline > .tv-header-cart {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    align-self: center !important;
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: translateX(calc(-1 * var(--tv-mobile-icon-shift))) !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-icons .tv-shortcode-mobile-control:has(.tv-header-account),
  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline .tv-shortcode-mobile-control:has(.tv-header-account),
  .tv-site-header .tv-header-buttons.tv-mobile-actions-icons > .tv-header-account,
  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline > .tv-header-account {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    align-self: center !important;
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: translateX(var(--tv-mobile-icon-shift)) !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom) .tv-shortcode-mobile-control:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom):has(.tv-header-cart) .tv-shortcode-mobile-control:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom) > .tv-header-cart,
  .tv-site-header .tv-header-buttons:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom):has(.tv-header-cart) > .tv-header-cart {
    top: 14px !important;
    left: calc(50% - var(--tv-mobile-icon-shift)) !important;
    right: auto !important;
    transform: none !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom) .tv-shortcode-mobile-control:has(.tv-header-account),
  .tv-site-header .tv-header-buttons:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom):has(.tv-header-account) .tv-shortcode-mobile-control:has(.tv-header-account),
  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom) > .tv-header-account,
  .tv-site-header .tv-header-buttons:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom):has(.tv-header-account) > .tv-header-account {
    top: 14px !important;
    left: calc(50% + var(--tv-mobile-icon-shift) - var(--tv-mobile-icon-size)) !important;
    right: auto !important;
    transform: none !important;
  }
}

@media (max-width: 430px) {
  .tv-site-header .tv-header-inner {
    --tv-mobile-icon-size: 38px;
    --tv-mobile-icon-gap: 22px;
    --tv-mobile-icon-shift: calc((var(--tv-mobile-icon-size) + var(--tv-mobile-icon-gap)) / 2);
    grid-template-rows: 52px auto !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom) .tv-shortcode-mobile-control:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom):has(.tv-header-cart) .tv-shortcode-mobile-control:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom) > .tv-header-cart,
  .tv-site-header .tv-header-buttons:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom):has(.tv-header-cart) > .tv-header-cart,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom) .tv-shortcode-mobile-control:has(.tv-header-account),
  .tv-site-header .tv-header-buttons:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom):has(.tv-header-account) .tv-shortcode-mobile-control:has(.tv-header-account),
  .tv-site-header .tv-header-buttons.tv-mobile-actions-all:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom) > .tv-header-account,
  .tv-site-header .tv-header-buttons:not(.tv-mobile-layout-inline):not(.tv-mobile-layout-bottom):has(.tv-header-account) > .tv-header-account {
    top: 13px !important;
  }
}

/* Tattoo Village V5.8.7 - final mobile header grid, precise icon alignment */
@media (max-width: 980px) {
  .tv-site-header .tv-header-inner:has(.tv-header-buttons) {
    --tv-mobile-icon-size: 42px;
    --tv-mobile-icon-gap: 26px;
    --tv-mobile-icon-shift: calc((var(--tv-mobile-icon-size) + var(--tv-mobile-icon-gap)) / 2);
    display: grid !important;
    grid-template-columns: minmax(52px, auto) minmax(92px, 1fr) minmax(42px, auto) !important;
    grid-template-rows: 58px auto !important;
    column-gap: 12px !important;
    row-gap: 10px !important;
    align-items: center !important;
    justify-items: stretch !important;
    position: relative !important;
  }

  .tv-site-header .tv-header-inner:has(.tv-header-buttons) .tv-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    margin: 0 !important;
  }

  .tv-site-header .tv-header-inner:has(.tv-header-buttons) .tv-navigation {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
  }

  .tv-site-header .tv-header-inner:has(.tv-header-buttons) .wp-block-navigation__responsive-container-open {
    margin: 0 !important;
  }

  .tv-site-header .tv-header-buttons,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-all,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-icons,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-text,
  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline,
  .tv-site-header .tv-header-buttons.tv-mobile-layout-split {
    display: contents !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  .tv-site-header .tv-header-buttons > p,
  .tv-site-header .tv-header-buttons > .wp-block-shortcode {
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .tv-site-header .tv-header-buttons > .wp-block-button {
    grid-row: 2 !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    display: block !important;
  }

  .tv-site-header .tv-header-buttons > .wp-block-button:nth-of-type(1) {
    grid-column: 1 / 2 !important;
  }

  .tv-site-header .tv-header-buttons > .wp-block-button:nth-of-type(2) {
    grid-column: 2 / 4 !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button__link {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 36px !important;
    padding: 8px 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    text-align: center !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
    letter-spacing: .02em !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons > p:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons > .wp-block-shortcode:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons > .tv-header-cart {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    align-self: center !important;
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: var(--tv-mobile-icon-size) !important;
    min-width: var(--tv-mobile-icon-size) !important;
    max-width: var(--tv-mobile-icon-size) !important;
    height: var(--tv-mobile-icon-size) !important;
    min-height: var(--tv-mobile-icon-size) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateX(calc(-1 * var(--tv-mobile-icon-shift))) !important;
    z-index: 8 !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-account),
  .tv-site-header .tv-header-buttons > p:has(.tv-header-account),
  .tv-site-header .tv-header-buttons > .wp-block-shortcode:has(.tv-header-account),
  .tv-site-header .tv-header-buttons > .tv-header-account {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    align-self: center !important;
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: var(--tv-mobile-icon-size) !important;
    min-width: var(--tv-mobile-icon-size) !important;
    max-width: var(--tv-mobile-icon-size) !important;
    height: var(--tv-mobile-icon-size) !important;
    min-height: var(--tv-mobile-icon-size) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateX(var(--tv-mobile-icon-shift)) !important;
    z-index: 8 !important;
  }

  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-cart) .tv-header-cart,
  .tv-site-header .tv-header-buttons .tv-shortcode-mobile-control:has(.tv-header-account) .tv-header-account,
  .tv-site-header .tv-header-buttons > p:has(.tv-header-cart) .tv-header-cart,
  .tv-site-header .tv-header-buttons > p:has(.tv-header-account) .tv-header-account {
    position: relative !important;
    inset: auto !important;
    width: var(--tv-mobile-icon-size) !important;
    min-width: var(--tv-mobile-icon-size) !important;
    max-width: var(--tv-mobile-icon-size) !important;
    height: var(--tv-mobile-icon-size) !important;
    min-height: var(--tv-mobile-icon-size) !important;
    margin: 0 !important;
    transform: none !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-actions-icons > .wp-block-button,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-text .tv-shortcode-mobile-control,
  .tv-site-header .tv-header-buttons.tv-mobile-actions-text > p:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons.tv-mobile-actions-text > p:has(.tv-header-account),
  .tv-site-header .tv-header-buttons.tv-mobile-layout-inline > .wp-block-button,
  .tv-site-header .tv-header-buttons .tv-mobile-hide,
  .tv-site-header .tv-header-buttons > .wp-block-button.tv-mobile-hide {
    display: none !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-layout-bottom .tv-shortcode-mobile-control:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons.tv-mobile-layout-bottom > p:has(.tv-header-cart),
  .tv-site-header .tv-header-buttons.tv-mobile-layout-bottom > .tv-header-cart {
    grid-row: 2 !important;
    grid-column: 2 !important;
    justify-self: center !important;
    transform: translateX(calc(-1 * var(--tv-mobile-icon-shift))) !important;
  }

  .tv-site-header .tv-header-buttons.tv-mobile-layout-bottom .tv-shortcode-mobile-control:has(.tv-header-account),
  .tv-site-header .tv-header-buttons.tv-mobile-layout-bottom > p:has(.tv-header-account),
  .tv-site-header .tv-header-buttons.tv-mobile-layout-bottom > .tv-header-account {
    grid-row: 2 !important;
    grid-column: 2 !important;
    justify-self: center !important;
    transform: translateX(var(--tv-mobile-icon-shift)) !important;
  }
}

@media (max-width: 430px) {
  .tv-site-header .tv-header-inner:has(.tv-header-buttons) {
    --tv-mobile-icon-size: 38px;
    --tv-mobile-icon-gap: 24px;
    --tv-mobile-icon-shift: calc((var(--tv-mobile-icon-size) + var(--tv-mobile-icon-gap)) / 2);
    grid-template-columns: minmax(48px, auto) minmax(88px, 1fr) minmax(38px, auto) !important;
    grid-template-rows: 56px auto !important;
    column-gap: 10px !important;
    row-gap: 8px !important;
  }

  .tv-site-header .tv-header-buttons .wp-block-button__link {
    min-height: 34px !important;
    padding: 7px 5px !important;
    font-size: 8.5px !important;
    letter-spacing: 0 !important;
  }
}
