/* TattooClub — system states (404, Produit introuvable, order/form failure, OOS badge) */
:root { --tcs-ink: #111; --tcs-lime: #B7E41C; --tcs-lime-ink: #4F7A00; --tcs-line: #E8E4DC; --tcs-muted: #68645E; --tcs-ivory: #F9F5EF; --tcs-red: #C62828; --tcs-head: 'Archivo Black', 'Space Grotesk', sans-serif; --tcs-font: 'Space Grotesk', system-ui, sans-serif; }

/* Shared buttons (JS-rendered states) */
.tc-sys-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; font: 700 14px/1.2 var(--tcs-font); text-decoration: none !important; cursor: pointer; border: 1.5px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease; box-shadow: none !important; }
.tc-sys-btn--lime { background: var(--tcs-lime) !important; color: var(--tcs-ink) !important; }
.tc-sys-btn--lime:hover, .tc-sys-btn--lime:focus-visible { background: #A6D014 !important; }
.tc-sys-btn--ghost { background: #fff !important; color: var(--tcs-ink) !important; border-color: var(--tcs-line) !important; }
.tc-sys-btn--ghost:hover, .tc-sys-btn--ghost:focus-visible { border-color: var(--tcs-ink) !important; }
.tc-sys-btn:focus-visible { outline: 2px solid var(--tcs-ink); outline-offset: 2px; }

/* Help block */
.tc-sys-help { margin-top: 24px; padding: 18px 20px; background: var(--tcs-ivory); border-radius: 8px; text-align: left; }
.tc-sys-help__title { margin: 0; font: 400 14px var(--tcs-head); text-transform: uppercase; color: var(--tcs-ink); }
.tc-sys-help__text { margin: 4px 0 12px; font-size: 13px; color: var(--tcs-muted); }
.tc-sys-help__links { display: flex; flex-wrap: wrap; gap: 10px; }
.tc-sys-help__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--tcs-line); background: #fff; border-radius: 8px; color: var(--tcs-ink) !important; text-decoration: none !important; font: 600 13px var(--tcs-font); }
.tc-sys-help__btn:hover { border-color: var(--tcs-ink); }
.tc-sys-help__btn svg { color: #1FA855; }
.tc-sys-help__btn:last-child svg { color: var(--tcs-ink); }

/* Form failure state */
.tc-fstate { max-width: 560px; margin: 16px auto; padding: 28px 24px; text-align: center; background: #fff; border: 1px solid var(--tcs-line); border-radius: 10px; font-family: var(--tcs-font); color: var(--tcs-ink); outline: none; }
.tc-fstate__img { width: 110px; height: auto; margin: 0 auto 10px; display: block; }
.tc-fstate__title { margin: 0 0 8px; font: 400 clamp(20px, 3vw, 26px)/1.15 var(--tcs-head); text-transform: uppercase; color: var(--tcs-ink); }
.tc-fstate__text { margin: 0 auto; max-width: 44ch; font-size: 14px; line-height: 1.5; color: var(--tcs-muted); }
.tc-fstate__keep { margin: 6px 0 0; font-size: 12.5px; color: var(--tcs-lime-ink); font-weight: 600; }
.tc-fstate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.tc-fstate--compact { margin: 10px 0 0; padding: 12px 14px; text-align: left; border-color: rgba(198, 40, 40, .35); background: #FFF7F6; }
.tc-fstate--compact .tc-fstate__title { font-size: 15px; margin-bottom: 2px; }
.tc-fstate--compact .tc-fstate__text { margin: 0; font-size: 13px; max-width: none; }
.tc-fstate--compact .tc-fstate__actions { justify-content: flex-start; margin-top: 10px; }
.tc-fstate--compact .tc-sys-btn { min-height: 40px; padding: 0 16px; }

/* Order / checkout failure state */
.tc-ostate { max-width: 720px; margin: 0 auto 28px; padding: 32px 28px; text-align: center; background: #fff; border: 1.5px solid var(--tcs-line); border-radius: 12px; font-family: var(--tcs-font); color: var(--tcs-ink); outline: none; }
.tc-ostate__img { width: 120px; height: auto; margin: 0 auto 12px; display: block; }
.tc-ostate__title { margin: 0 0 8px !important; font: 400 clamp(22px, 3.2vw, 30px)/1.1 var(--tcs-head) !important; text-transform: uppercase; color: var(--tcs-ink) !important; }
.tc-ostate__text { margin: 0 auto; max-width: 52ch; font-size: 14.5px; line-height: 1.55; color: var(--tcs-muted); }
.tc-ostate__reasons { list-style: none; margin: 14px auto 0; padding: 12px 16px; max-width: 560px; text-align: left; background: #FFF7F6; border: 1px solid rgba(198, 40, 40, .25); border-radius: 8px; }
.tc-ostate__reasons li { font-size: 13.5px; color: var(--tcs-red); padding: 3px 0 3px 18px; position: relative; }
.tc-ostate__reasons li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--tcs-red); }
.tc-ostate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
@media (max-width: 767px) {
	.tc-ostate, .tc-fstate { padding: 24px 16px; border-radius: 10px; }
	.tc-ostate__actions .tc-sys-btn, .tc-fstate:not(.tc-fstate--compact) .tc-fstate__actions .tc-sys-btn { width: 100%; }
	.tc-sys-help__btn { flex: 1 1 140px; justify-content: center; }
}

/* PDP — out-of-stock badge */
.tc-pdp-oos-badge { display: inline-flex; align-items: center; align-self: flex-start; width: auto; margin: 0 0 10px; padding: 5px 10px; border-radius: 4px; background: #FDECEA; color: var(--tcs-red); font: 700 11.5px/1 var(--tcs-font); letter-spacing: .06em; text-transform: uppercase; }
.tc-pdp-oos-badge[hidden] { display: none !important; }

/* ================= Elementor system pages (404 / Produit introuvable) ================= */
.tc-sys-main { background: #fff; }
#tc-sys-404, #tc-sys-product { font-family: var(--tcs-font); color: var(--tcs-ink); max-width: 1240px; margin: 0 auto; padding: 32px 20px 56px !important; gap: 0 !important; }
#tc-sys-404 .elementor-widget, #tc-sys-product .elementor-widget { margin: 0 !important; --kit-widget-spacing: 0; }
#tc-sys-404 .e-con, #tc-sys-product .e-con { --padding-top: 0; --padding-right: 0; --padding-bottom: 0; --padding-left: 0; padding: 0; gap: 0; min-width: 0; flex-wrap: nowrap !important; --width: auto; }
#tc-sys-404 p, #tc-sys-product p { margin: 0; }
#tc-sys-404 .elementor-heading-title, #tc-sys-product .elementor-heading-title { color: var(--tcs-ink) !important; margin: 0; }
.tc-sys__hero { display: flex; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 40px !important; }
.tc-sys__text { flex: 1 1 52% !important; gap: 16px !important; align-items: flex-start; }
.tc-sys__art { flex: 0 1 40% !important; align-items: center; position: relative; }
.tc-sys__art img { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; }
.tc-sys__code .elementor-heading-title { font: 400 clamp(96px, 16vw, 200px)/.85 var(--tcs-head) !important; letter-spacing: -.04em !important; position: relative; display: inline-block; }
.tc-sys__code .elementor-heading-title::after { content: ""; position: absolute; left: 34%; bottom: -14px; width: 42%; height: 18px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath d='M4 16c26-10 52-12 82-6 8 2 16 2 30-4M20 20c22-6 46-7 70-3' fill='none' stroke='%23B7E41C' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.tc-sys__title .elementor-heading-title { font: 400 clamp(24px, 3.2vw, 34px)/1.08 var(--tcs-head) !important; text-transform: uppercase !important; letter-spacing: -.005em !important; }
.tc-sys__title--xl .elementor-heading-title { font-size: clamp(34px, 5vw, 56px) !important; line-height: 1 !important; }
.tc-sys__lead p { font-size: 15.5px; line-height: 1.55; color: var(--tcs-muted); max-width: 46ch; }
.tc-sys__crumb p { font-size: 12.5px; color: var(--tcs-muted); margin-bottom: 20px !important; }
.tc-sys__crumb a { color: var(--tcs-muted); text-decoration: none; }
.tc-sys__crumb a:hover { color: var(--tcs-ink); text-decoration: underline; }
.tc-sys__ctas { display: flex; flex-direction: row !important; flex-wrap: wrap !important; gap: 12px !important; margin-top: 8px !important; }
.tc-sys__ctas--stack { flex-direction: column !important; align-items: flex-start; }
.tc-sys__ctas .elementor-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px !important; border-radius: 8px !important; font: 700 14.5px/1 var(--tcs-font) !important; text-transform: none !important; letter-spacing: .01em !important; box-shadow: none !important; }
.tc-sys-cta--lime .elementor-button { background: var(--tcs-lime) !important; color: var(--tcs-ink) !important; border: 1.5px solid var(--tcs-lime) !important; }
.tc-sys-cta--lime .elementor-button:hover { background: #A6D014 !important; }
.tc-sys-cta--ghost .elementor-button { background: #fff !important; color: var(--tcs-ink) !important; border: 1.5px solid var(--tcs-ink) !important; }
.tc-sys-cta--ghost .elementor-button:hover { background: var(--tcs-ink) !important; color: #fff !important; }
.tc-sys__tagline { position: absolute !important; right: 0; bottom: 0; width: auto !important; }
.tc-sys__tagline p { font: 400 clamp(18px, 2vw, 26px)/1 var(--tcs-head); text-transform: uppercase; transform: rotate(-12deg); text-align: right; }
.tc-sys__tagline p::after { content: ""; display: block; height: 5px; width: 70%; margin: 8px 0 0 auto; background: var(--tcs-lime); border-radius: 4px; transform: skewX(-20deg); }
.tc-sys__trust { margin-top: 48px !important; padding-top: 24px !important; border-top: 1px solid var(--tcs-line); }
.tc-sys-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tc-sys-trust li { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.tc-sys-trust svg { flex: 0 0 auto; color: var(--tcs-ink); margin-top: 2px; }
.tc-sys-trust strong { display: block; font-size: 13.5px; }
.tc-sys-trust span { display: block; font-size: 12.5px; color: var(--tcs-muted); }
.tc-sys-trust a { color: inherit; text-decoration: none; }
.tc-sys-trust a:hover strong { text-decoration: underline; }
/* recommendations reuse cart.css (.tc-recs / .tcrc) */
#tc-sys-product .tc-recs { margin-top: 48px !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
#tc-sys-product .tc-recs__track { width: 100% !important; max-width: 100% !important; }
#tc-sys-product .tcrc-add .elementor-button, #tc-sys-product .tc-btn .elementor-button { min-height: 40px; border-radius: 8px !important; font: 700 12.5px var(--tcs-font) !important; text-transform: none !important; box-shadow: none !important; width: 100%; display: flex; justify-content: center; align-items: center; }
#tc-sys-product .tc-btn--ink .elementor-button { background: var(--tcs-ink) !important; color: #fff !important; }
#tc-sys-product .tc-recs__title .elementor-heading-title { font: 400 clamp(18px, 2.2vw, 22px) var(--tcs-head) !important; text-transform: uppercase !important; }
#tc-sys-product .tcrc-name .elementor-heading-title { font: 700 14px var(--tcs-font) !important; text-transform: none !important; }
#tc-sys-product .tc-recs__head { display: flex; flex-direction: row !important; justify-content: space-between; align-items: center; }

@media (max-width: 1024px) {
	.tc-sys-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	#tc-sys-404, #tc-sys-product { padding: 20px 16px 40px !important; }
	.tc-sys__hero { flex-direction: column !important; gap: 20px !important; }
	#tc-sys-404 .tc-sys__hero { text-align: center; }
	#tc-sys-404 .tc-sys__text { align-items: center; }
	.tc-sys__text { gap: 12px !important; width: 100%; }
	.tc-sys__ctas { flex-direction: column !important; width: 100%; }
	.tc-sys__ctas > .elementor-widget, .tc-sys__ctas .elementor-button { width: 100% !important; }
	.tc-sys__art { width: 100%; }
	.tc-sys__art img { max-width: 240px; }
	#tc-sys-404 .tc-sys__art img { max-width: 200px; margin: 0; }
	.tc-sys__tagline p { font-size: 18px; }
	.tc-sys-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.tc-sys__trust { margin-top: 32px !important; }
	#tc-sys-product .tc-recs__nav { display: none; }
	#tc-sys-product .tcrc { flex-basis: 62% !important; }
}
@media (max-width: 360px) {
	.tc-sys-trust { grid-template-columns: 1fr; }
	#tc-sys-product .tcrc { flex-basis: 78% !important; }
}

.tc-sys__art { padding-bottom: 64px !important; }
@media (max-width: 767px) { .tc-sys__art { padding-bottom: 44px !important; } }
