:root {
  --ink: #0b0d0f;
  --paper: #f6f2ea;
  --white: #ffffff;
  --yellow: #ffc400;
  --yellow-soft: #ffdf74;
  --petrol: #0e6670;
  --muted: #596168;
  --line: #dcd7cd;
  --success: #23875b;
  --radius: 18px;
  --shadow: 0 22px 70px rgba(11, 13, 15, 0.12);
}

/* WordPress and WooCommerce integration */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 16px;
  background: #fff;
  color: #111;
}
.admin-bar .site-header { top: 32px; }
.by-site { min-height: 100vh; }
.by-content { max-width: 1240px; min-height: 55vh; margin: 0 auto; padding: 70px 24px 100px; }
.by-content h1 { margin: 0 0 30px; font-family: "Arial Black", "Segoe UI", sans-serif; text-transform: uppercase; letter-spacing: -.04em; }
.by-content article { max-width: 860px; }
.by-empty-catalogue { grid-column: 1 / -1; padding: 50px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8f5ef; text-align: center; }
.by-empty-catalogue h3 { margin: 0 0 8px; font-size: 24px; }
.by-empty-catalogue p { margin: 0; color: var(--muted); }
.product-card > a { display: block; }
.product-card .product-info h3 { min-height: 0; }
.product-card .product-bottom .button { min-height: 42px; padding: 0 15px; gap: 8px; font-size: 12px; }
.product-card .price del { margin-right: 7px; color: var(--muted); font-size: 13px; }
.product-card .price ins { color: var(--ink); text-decoration: none; }
.by-cart-count { position: absolute; top: -3px; right: -2px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 10px; font-weight: 800; }
.by-customize-ribbon { background: #111416; color: #fff; }
.by-customize-ribbon .section { padding-top: 48px; padding-bottom: 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.by-customize-ribbon h2 { margin: 0; font-family: "Arial Black", sans-serif; font-size: clamp(28px, 4vw, 48px); letter-spacing: -.04em; text-transform: uppercase; }
.by-customize-ribbon p { margin: 8px 0 0; color: #afb3b6; }

/* WooCommerce keeps the same premium visual language. */
.woocommerce .woocommerce-breadcrumb { margin-bottom: 30px; color: var(--muted); font-size: 12px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 0 0 22px; overflow: hidden; border: 1px solid #e6e2da; border-radius: 15px; background: #fff; }
.woocommerce ul.products li.product a img { aspect-ratio: 1.08; object-fit: cover; margin: 0 0 20px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button { margin-left: 20px; margin-right: 20px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--ink); font-size: 17px; }
.woocommerce ul.products li.product .price { color: var(--ink); font-weight: 800; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit { border-radius: 8px; background: var(--yellow); color: var(--ink); font-weight: 850; }
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--yellow-soft); color: var(--ink); }
.woocommerce div.product { padding-top: 20px; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: #8b6900; }
.woocommerce .quantity .qty { min-height: 44px; border: 1px solid var(--line); border-radius: 8px; }
.woocommerce-message,
.woocommerce-info { border-top-color: var(--yellow); }
.woocommerce-message::before,
.woocommerce-info::before { color: #8b6900; }

/* First WordPress edition of the product studio. */
.studio-page { max-width: 1440px; margin: 0 auto; background: #f5f1e9; }
.studio-intro { padding: 72px clamp(24px, 6vw, 88px) 38px; }
.studio-intro h1 { max-width: 900px; margin: 0; font-family: "Arial Black", sans-serif; font-size: clamp(40px, 5vw, 72px); line-height: .97; letter-spacing: -.055em; text-transform: uppercase; }
.studio-intro h1 em { color: #b68700; font-style: normal; }
.studio-intro p { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.studio-shell { padding: 0 clamp(24px, 6vw, 88px) 100px; display: grid; grid-template-columns: minmax(260px, .7fr) minmax(420px, 1.3fr); gap: 24px; }
.studio-panel,
.studio-preview { border: 1px solid #ded8ce; border-radius: 18px; background: #fff; box-shadow: 0 18px 55px rgba(11,13,15,.08); }
.studio-panel { padding: 28px; }
.studio-panel h2 { margin: 0 0 8px; font-size: 21px; }
.studio-panel > p { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.support-picker { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.support-picker button { min-height: 64px; border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 8px; cursor: pointer; font-size: 11px; font-weight: 800; }
.support-picker button:hover,
.support-picker button.is-active { border-color: var(--yellow); background: #fff8db; box-shadow: inset 0 0 0 1px var(--yellow); }
.studio-upload { margin: 26px 0; padding: 18px; border: 1px dashed #bbb5aa; border-radius: 10px; background: #faf8f4; }
.studio-upload label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 850; }
.studio-upload input { width: 100%; font-size: 12px; }
.studio-controls { display: grid; gap: 14px; }
.studio-controls label { display: grid; grid-template-columns: 1fr auto; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 750; }
.studio-controls input { grid-column: 1 / -1; width: 100%; accent-color: var(--yellow); }
.studio-note { margin-top: 24px; padding: 14px; border-left: 3px solid var(--yellow); background: #fff8db; color: #514a3d; font-size: 11px; line-height: 1.55; }
.studio-preview { position: relative; min-height: 680px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, #fff 0, #ece8df 58%, #ddd7cc 100%); }
.studio-preview::after { content: "APERÇU AVANT IMPRESSION"; position: absolute; left: 22px; bottom: 18px; color: #6a6d70; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.studio-object { position: relative; width: min(360px, 68%); height: 500px; overflow: hidden; display: grid; place-items: center; background: #1d2225; box-shadow: inset -35px 0 45px rgba(255,255,255,.12), inset 28px 0 38px rgba(0,0,0,.28), 0 35px 55px rgba(0,0,0,.22); transition: width .25s, height .25s, border-radius .25s, clip-path .25s, background .25s; }
.studio-object[data-support="tshirt"] { width: min(470px, 78%); height: 510px; clip-path: polygon(19% 0, 34% 0, 39% 8%, 61% 8%, 66% 0, 81% 0, 100% 18%, 85% 34%, 79% 26%, 79% 100%, 21% 100%, 21% 26%, 15% 34%, 0 18%); }
.studio-object[data-support="verre"] { width: 280px; height: 430px; border-radius: 18px 18px 50px 50px; background: rgba(163,194,198,.48); }
.studio-object[data-support="gourde"] { width: 260px; height: 520px; border-radius: 85px 85px 52px 52px; }
.studio-object[data-support="bois"] { width: 500px; height: 350px; border-radius: 8px; background: #b78950; }
.studio-object[data-support="ardoise"] { width: 500px; height: 350px; border-radius: 8px; background: #272a2d; }
.studio-object[data-support="alu"] { width: 500px; height: 350px; border-radius: 6px; background: linear-gradient(100deg,#c8cacc,#f5f6f6,#aeb1b4); }
.studio-object[data-support="torchon"] { width: 430px; height: 580px; border-radius: 5px; background: #f5f1e8; }
.studio-object[data-support="manique"] { width: 390px; height: 390px; border-radius: 28px; background: #e6dccb; }
.studio-object[data-support="tablier"] { width: 430px; height: 570px; clip-path: polygon(25% 0,75% 0,88% 24%,100% 100%,0 100%,12% 24%); background: #33383b; }
.studio-artwork { position: absolute; left: 50%; top: 50%; width: 42%; max-width: none; transform: translate(-50%,-50%); transform-origin: center; cursor: grab; user-select: none; touch-action: none; filter: drop-shadow(0 2px 2px rgba(0,0,0,.18)); }
.studio-artwork:active { cursor: grabbing; }
.studio-placeholder { max-width: 210px; padding: 20px; color: rgba(255,255,255,.8); text-align: center; font-weight: 800; line-height: 1.45; pointer-events: none; }
.studio-object[data-support="bois"] .studio-placeholder,
.studio-object[data-support="alu"] .studio-placeholder,
.studio-object[data-support="torchon"] .studio-placeholder,
.studio-object[data-support="manique"] .studio-placeholder { color: rgba(11,13,15,.62); }
.studio-meta { position: absolute; top: 18px; right: 18px; max-width: 210px; padding: 12px 14px; border-radius: 8px; background: rgba(11,13,15,.82); color: #fff; font-size: 10px; line-height: 1.45; backdrop-filter: blur(10px); }

@media (max-width: 900px) {
  .admin-bar .site-header { top: 46px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-shell { grid-template-columns: 1fr; }
  .studio-preview { min-height: 580px; }
  .by-customize-ribbon .section { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .support-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-preview { min-height: 500px; }
  .studio-object { transform: scale(.75); }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
main { overflow: hidden; }

.announcement { background: var(--yellow); color: var(--ink); min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 6px 20px; text-align: center; font-size: 11px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.announcement > span { line-height: 1.35; }
.announcement a { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--white); white-space: nowrap; letter-spacing: .04em; transition: transform .2s ease, background .2s ease; }
.announcement a:hover,
.announcement a:focus-visible { background: #272b2e; transform: translateY(-1px); }
.site-header { position: sticky; top: 0; z-index: 50; height: 80px; padding: 0 max(24px, calc((100vw - 1440px) / 2)); display: flex; align-items: center; gap: 34px; background: rgba(11,13,15,.96); color: white; border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); }
.brand { width: 144px; align-self: stretch; display: grid; place-items: center; overflow: hidden; background: transparent; padding: 3px 7px; }
.brand img { width: 130px; height: 76px; object-fit: contain; mix-blend-mode: normal; }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.6vw, 30px); font-size: 13px; font-weight: 650; }
.main-nav > a, .nav-dropdown summary { position: relative; padding: 31px 0; cursor: pointer; list-style: none; transition: color .2s ease; }
.main-nav > a::after, .nav-dropdown summary::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 22px; height: 2px; background: var(--yellow); transition: right .25s ease; }
.main-nav > a:hover, .nav-dropdown summary:hover { color: var(--yellow); }
.main-nav > a:hover::after, .nav-dropdown summary:hover::after { right: 0; }
.nav-highlight { border: 0; border-radius: 8px; background: var(--yellow); padding: 11px 16px; font-weight: 850; cursor: pointer; }
.nav-highlight:hover { background: var(--yellow-soft); }
.nav-dropdown { position: relative; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.dropdown-panel { position: absolute; top: 70px; left: -30px; min-width: 250px; background: white; color: var(--ink); padding: 14px; border-radius: 14px; box-shadow: var(--shadow); display: grid; gap: 4px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s ease; }
.nav-dropdown[open] .dropdown-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown-panel a, .dropdown-panel button { border: 0; background: transparent; text-align: left; padding: 11px 12px; border-radius: 8px; cursor: pointer; }
.dropdown-panel a:hover, .dropdown-panel button:hover { background: var(--paper); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.icon-button, .menu-button { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: white; border-radius: 50%; display: grid; place-items: center; cursor: pointer; position: relative; font-size: 21px; }
.icon-button b { position: absolute; top: -3px; right: -2px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 10px; }
.menu-button { display: none; border: 0; font-size: 24px; }

.hero { max-width: 1440px; min-height: 650px; margin: 0 auto; display: grid; grid-template-columns: .88fr 1.12fr; background: var(--ink); color: white; }
.hero-copy { padding: clamp(70px, 8vw, 120px) clamp(34px, 6vw, 92px); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.eyebrow { display: block; margin-bottom: 18px; color: #d29f00; font-size: 11px; line-height: 1.2; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow, .custom-section .eyebrow { color: var(--yellow); }
.hero h1, .section h2, .custom-section h2, .newsletter h2, .editorial-copy h2 { margin: 0; font-family: "Arial Black", "Segoe UI", sans-serif; letter-spacing: -.055em; line-height: .95; text-transform: uppercase; }
.hero h1 { font-size: clamp(48px, 5.7vw, 88px); }
.hero h1 em, .custom-section h2 em { color: var(--yellow); font-style: normal; }
.hero p { max-width: 580px; margin: 28px 0 30px; color: #c6c8ca; font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; cursor: pointer; font-weight: 850; transition: transform .2s ease, background .2s ease, border .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: var(--ink); }
.button-primary:hover { background: var(--yellow-soft); }
.button-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.button-outline { border-color: rgba(255,255,255,.45); color: white; }
.button-outline:hover { border-color: white; background: rgba(255,255,255,.08); }
.button-outline.dark { border-color: #bbb5ab; color: var(--ink); }
.hero-proof { margin-top: 28px; color: #b0b4b7; font-size: 12px; }
.hero-proof span { color: var(--yellow); letter-spacing: .1em; }
.hero-visual { position: relative; min-height: 650px; overflow: hidden; background: #111; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink), transparent 22%), linear-gradient(0deg, rgba(11,13,15,.5), transparent 50%); pointer-events: none; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.03); animation: hero-drift 12s ease-in-out infinite alternate; }
@keyframes hero-drift { to { transform: scale(1.1) translateX(-1.5%); } }
.print-scan { position: absolute; z-index: 2; top: -20%; bottom: -20%; left: -15%; width: 12%; background: linear-gradient(90deg, transparent, rgba(255,196,0,.25), transparent); filter: blur(12px); transform: skewX(-15deg); animation: scan 5.5s ease-in-out infinite; }
@keyframes scan { 0%, 18% { left: -15%; opacity: 0; } 30% { opacity: 1; } 68%, 100% { left: 110%; opacity: 0; } }
.hero-note { position: absolute; z-index: 3; right: 24px; bottom: 24px; padding: 15px 18px; display: grid; gap: 3px; border-left: 3px solid var(--yellow); background: rgba(11,13,15,.78); backdrop-filter: blur(12px); font-size: 12px; }
.hero-note span { color: #c6c8ca; }

.trust-strip { max-width: 1440px; min-height: 96px; margin: 0 auto; padding: 20px clamp(24px, 4vw, 64px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; background: white; border-bottom: 1px solid var(--line); }
.trust-strip > div { display: flex; align-items: center; gap: 14px; }
.trust-strip i { width: 43px; height: 43px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #b18300; font-style: normal; font-size: 19px; }
.trust-strip span { display: grid; gap: 4px; color: var(--muted); font-size: 11px; }
.trust-strip b { color: var(--ink); font-size: 12px; }

.section { max-width: 1440px; margin: 0 auto; padding: 110px clamp(24px, 6vw, 88px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 44px; }
.section-heading h2, .editorial-copy h2 { font-size: clamp(38px, 4vw, 62px); }
.section-heading p { max-width: 520px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.theme-card { position: relative; height: 395px; overflow: hidden; border: 0; border-radius: var(--radius); padding: 0; background: var(--ink); color: white; text-align: left; cursor: pointer; box-shadow: 0 10px 30px rgba(11,13,15,.1); }
.theme-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,6,7,.92), transparent 62%); }
.theme-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.theme-card:hover img { transform: scale(1.07); }
.theme-card > span { position: absolute; z-index: 2; left: 25px; right: 25px; bottom: 24px; display: grid; }
.theme-card small { color: #d7d9da; font-size: 11px; }
.theme-card b { margin: 6px 0 14px; font-family: "Arial Black", sans-serif; font-size: 29px; text-transform: uppercase; }
.theme-card i { color: var(--yellow); font-size: 12px; font-style: normal; font-weight: 850; }

.shop { background: white; }
.shop-heading { align-items: center; }
.search-box { min-width: 310px; display: grid; gap: 8px; }
.search-box label { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.search-box input, .field input, .field select { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: white; padding: 0 15px; outline: none; }
.search-box input:focus, .field input:focus, .field select:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,196,0,.18); }
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.filter-row button { min-height: 38px; border: 1px solid var(--line); border-radius: 100px; background: white; padding: 0 17px; cursor: pointer; font-size: 12px; font-weight: 750; }
.filter-row button.active { border-color: var(--ink); background: var(--ink); color: white; }
.filter-row .theme-filter { border-color: var(--yellow); background: var(--yellow); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { min-width: 0; border: 1px solid #e6e2da; border-radius: 15px; background: white; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-image { position: relative; width: 100%; aspect-ratio: 1.08; overflow: hidden; border: 0; background: #ece8df; padding: 0; cursor: pointer; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,13,15,.38), transparent 50%); }
.product-image > span { position: absolute; z-index: 2; top: 14px; left: 14px; border-radius: 5px; background: var(--yellow); padding: 7px 9px; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.product-image i { position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translate(-50%, 10px); opacity: 0; color: white; font-style: normal; font-size: 11px; font-weight: 850; transition: .25s ease; }
.product-card:hover .product-image i { opacity: 1; transform: translate(-50%, 0); }
.product-info { padding: 20px; }
.product-info small { color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.product-info h3 { min-height: 48px; margin: 8px 0; font-size: 17px; line-height: 1.4; }
.rating { color: var(--yellow); font-size: 11px; letter-spacing: .05em; }
.rating span { color: var(--muted); letter-spacing: 0; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; }
.product-bottom b { font-size: 18px; }
.product-bottom button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--yellow); cursor: pointer; font-size: 23px; transition: transform .2s ease; }
.product-bottom button:hover { transform: rotate(90deg); }
.empty-products { padding: 40px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; color: var(--muted); }

.custom-section { max-width: 1440px; margin: 0 auto; padding: 100px clamp(24px, 7vw, 110px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 130px); align-items: center; background: var(--ink); color: white; }
.custom-section h2 { font-size: clamp(42px, 5vw, 72px); }
.custom-copy p { max-width: 520px; color: #bbbfc2; line-height: 1.7; margin: 27px 0; }
.steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; list-style: none; }
.steps li { min-height: 150px; padding: 22px; display: flex; gap: 18px; align-items: flex-start; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(255,255,255,.035); }
.steps li b { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); }
.steps span { display: grid; gap: 7px; color: #aeb2b5; font-size: 12px; }
.steps strong { color: white; font-size: 16px; }

.inspiration { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 7vw, 110px); align-items: center; }
.editorial-visual { position: relative; min-height: 520px; overflow: hidden; border-radius: 20px; background: var(--ink); }
.editorial-visual img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.editorial-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,13,15,.45), transparent 50%); }
.play-pulse { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-family: "Arial Black", sans-serif; box-shadow: 0 0 0 0 rgba(255,196,0,.55); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 28px rgba(255,196,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,196,0,0); } }
.editorial-copy p { color: var(--muted); line-height: 1.75; }
.editorial-copy ul { margin: 25px 0; padding: 0; display: grid; gap: 11px; list-style: none; }
.editorial-copy li::before { content: "✓"; margin-right: 10px; color: var(--success); font-weight: 900; }
.text-link { color: #987400; font-weight: 850; }

.newsletter { max-width: 1440px; margin: 0 auto; padding: 70px clamp(24px, 7vw, 100px); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; background: var(--yellow); }
.newsletter .eyebrow { color: #584400; }
.newsletter h2 { max-width: 680px; font-size: clamp(30px, 3.5vw, 50px); }
.newsletter form { display: grid; grid-template-columns: 1fr auto; }
.newsletter label { grid-column: 1 / -1; margin-bottom: 8px; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.newsletter input { min-width: 0; height: 52px; border: 0; border-radius: 8px 0 0 8px; padding: 0 16px; outline: 0; }
.newsletter button { border: 0; border-radius: 0 8px 8px 0; background: var(--ink); color: white; padding: 0 22px; cursor: pointer; font-weight: 850; }

footer { max-width: 1440px; margin: 0 auto; padding: 65px clamp(24px, 6vw, 88px); display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 50px; background: var(--ink); color: white; }
.footer-brand img { width: 145px; height: 126px; object-fit: contain; mix-blend-mode: normal; }
footer p, footer span, footer small { max-width: 280px; color: #9fa4a7; font-size: 12px; line-height: 1.6; }
footer > div { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
footer b { margin-bottom: 8px; color: var(--yellow); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
footer a, footer button { border: 0; background: none; padding: 0; color: #d1d3d5; cursor: pointer; font-size: 12px; }
footer a:hover, footer button:hover { color: var(--yellow); }
.footer-email-label { margin-top: 2px; color: #777f83; font-size: 9px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
footer .footer-email { color: white; font-weight: 750; overflow-wrap: anywhere; }

/* Contact page and smart mailbox routing */
.contact-page { background: #f4f0e8; }
.contact-hero { max-width: 1440px; min-height: 610px; margin: 0 auto; padding: 86px clamp(24px, 6vw, 88px); display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 7vw, 110px); align-items: center; background: radial-gradient(circle at 12% 14%, rgba(255,196,0,.15), transparent 30%), var(--ink); color: white; }
.contact-hero h1, .contact-form-copy h2 { margin: 0; font-family: "Arial Black", "Segoe UI", sans-serif; letter-spacing: -.055em; line-height: .94; text-transform: uppercase; }
.contact-hero h1 { font-size: clamp(52px, 6vw, 88px); }
.contact-hero h1 em { color: var(--yellow); font-style: normal; }
.contact-hero > div:first-child > p { max-width: 610px; margin: 28px 0 0; color: #c3c7c9; font-size: 16px; line-height: 1.7; }
.contact-direct { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-direct article { min-height: 310px; padding: 30px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.055); box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.contact-direct article > span { color: var(--yellow); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.contact-direct h2 { margin: 22px 0 10px; font-family: "Arial Black", sans-serif; font-size: 26px; text-transform: uppercase; }
.contact-direct a { border-bottom: 1px solid var(--yellow); color: white; font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.contact-direct p { margin: auto 0 0; color: #aeb4b7; font-size: 12px; line-height: 1.65; }
.contact-form-section { max-width: 1440px; margin: 0 auto; padding: 100px clamp(24px, 6vw, 88px); display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(45px, 7vw, 100px); align-items: start; }
.contact-form-copy { position: sticky; top: 130px; }
.contact-form-copy h2 { font-size: clamp(42px, 5vw, 68px); }
.contact-form-copy > p { margin: 24px 0 30px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-form-copy > p strong { color: var(--ink); overflow-wrap: anywhere; }
.contact-form-copy ul { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.contact-form-copy li { min-height: 62px; padding: 12px 14px; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; border-top: 1px solid var(--line); }
.contact-form-copy li b { color: #9a7400; font-size: 12px; }
.contact-form-copy li span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.contact-form { padding: clamp(25px, 4vw, 44px); border: 1px solid #dfd9cf; border-radius: 18px; background: white; box-shadow: var(--shadow); }
.contact-notice { margin-bottom: 25px; padding: 16px 18px; border-left: 4px solid var(--success); border-radius: 8px; background: #eef9f3; color: #155d3e; font-size: 12px; font-weight: 750; line-height: 1.55; }
.contact-notice.is-error { border-left-color: #c93f3f; background: #fff0f0; color: #8a2828; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label > span { color: #40464a; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf7; outline: 0; transition: border .2s ease, box-shadow .2s ease; }
.contact-form input:not([type="checkbox"]), .contact-form select { height: 50px; padding: 0 14px; }
.contact-form textarea { min-height: 180px; padding: 14px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #d6a400; box-shadow: 0 0 0 3px rgba(255,196,0,.18); }
.contact-full { grid-column: 1 / -1; }
.contact-consent { margin: 22px 0; grid-template-columns: 20px 1fr; align-items: start; }
.contact-consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--yellow); }
.contact-consent span { color: var(--muted) !important; font-size: 9px !important; font-weight: 600 !important; line-height: 1.5; letter-spacing: 0 !important; text-transform: none !important; }
.contact-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-submit { width: 100%; }

.overlay { position: fixed; z-index: 90; inset: 0; background: rgba(11,13,15,.58); opacity: 0; pointer-events: none; transition: opacity .3s ease; backdrop-filter: blur(3px); }
.overlay.is-visible { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; z-index: 100; top: 0; right: 0; width: min(460px, 94vw); height: 100dvh; display: flex; flex-direction: column; background: var(--paper); box-shadow: -20px 0 60px rgba(0,0,0,.18); transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.9,.25,1); }
.cart-drawer.is-open { transform: translateX(0); }
.drawer-header { padding: 27px 27px 20px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-header .eyebrow { margin-bottom: 5px; }
.drawer-header h2 { margin: 0; font-family: "Arial Black", sans-serif; font-size: 30px; text-transform: uppercase; }
.drawer-header button, .modal-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 24px; }
.cart-items { flex: 1; overflow-y: auto; padding: 22px; }
.empty-cart { min-height: 75%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-cart > span { font-size: 50px; }
.empty-cart h3 { margin: 14px 0 6px; }
.empty-cart p { max-width: 300px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.empty-cart .button { margin-top: 14px; }
.cart-item { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.cart-item > img { width: 92px; height: 105px; object-fit: cover; border-radius: 9px; }
.cart-item > div { display: grid; gap: 5px; }
.cart-item small { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.cart-item span { font-size: 13px; }
.quantity { width: max-content; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.quantity button { width: 30px; height: 28px; border: 0; background: white; cursor: pointer; }
.quantity span { width: 28px; text-align: center; }
.cart-summary { padding: 22px; border-top: 1px solid var(--line); background: white; }
.cart-summary > div { display: flex; justify-content: space-between; font-size: 18px; }
.cart-summary small, .cart-summary p { display: block; margin: 9px 0 15px; color: var(--muted); font-size: 10px; text-align: center; }
.cart-summary .button { width: 100%; }
.cart-notice { margin: 12px 0; padding: 10px 12px; border-left: 3px solid var(--success); background: #eef9f3; color: #315b48; font-size: 9px; line-height: 1.45; }

.modal-shell { position: fixed; z-index: 110; inset: 0; display: grid; place-items: center; padding: 22px; }
.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(11,13,15,.72); backdrop-filter: blur(8px); cursor: default; }
.customizer-modal, .quick-modal { position: relative; z-index: 2; width: min(1060px, 96vw); max-height: 92dvh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; background: white; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.modal-close { position: absolute; z-index: 4; top: 16px; right: 16px; background: white; }
.customizer-preview { padding: 45px; background: var(--ink); color: white; }
.mock-product { position: relative; min-height: 460px; overflow: hidden; border-radius: 14px; background: #17191b; }
.mock-product > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.uploaded-art { position: absolute; z-index: 2; left: 50%; top: 48%; width: 170px; height: 170px; object-fit: contain; transform: translate(-50%,-50%) rotate(-1deg); border-radius: 5px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.upload-placeholder { position: absolute; z-index: 2; left: 50%; top: 48%; transform: translate(-50%,-50%); width: 180px; height: 180px; display: grid; place-items: center; border: 2px dashed rgba(255,255,255,.5); border-radius: 8px; color: rgba(255,255,255,.7); text-align: center; font-size: 12px; }
.custom-text-preview { position: absolute; z-index: 3; left: 50%; bottom: 52px; transform: translateX(-50%); color: white; text-shadow: 0 2px 7px rgba(0,0,0,.7); white-space: nowrap; }
.customizer-preview > small { display: block; margin-top: 13px; color: #aeb2b5; font-size: 10px; line-height: 1.5; }
.customizer-form { padding: 54px 48px; }
.customizer-form h2 { margin: 0 0 26px; font-family: "Arial Black", sans-serif; font-size: 38px; line-height: 1; text-transform: uppercase; }
.field { margin-bottom: 17px; display: grid; gap: 8px; }
.field > span { font-size: 12px; font-weight: 850; }
.upload-field { min-height: 130px; margin-bottom: 17px; padding: 22px; display: grid; place-items: center; gap: 6px; border: 1px dashed #aaa49a; border-radius: 10px; background: var(--paper); text-align: center; cursor: pointer; }
.upload-field input { position: absolute; opacity: 0; pointer-events: none; }
.upload-field b { font-size: 13px; }
.upload-field span { color: var(--muted); font-size: 10px; }
.upload-field i { color: #8f6d00; font-size: 11px; font-style: normal; font-weight: 850; }
.customizer-total { margin: 23px 0 15px; display: flex; align-items: end; justify-content: space-between; }
.customizer-total span { color: var(--muted); font-size: 12px; }
.customizer-total b { font-size: 27px; }
.customizer-form > .button { width: 100%; }
.customizer-form > small { display: block; margin-top: 12px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.quick-image { position: relative; min-height: 560px; background: var(--ink); }
.quick-image img { width: 100%; height: 100%; object-fit: cover; }
.quick-image span { position: absolute; left: 20px; bottom: 20px; padding: 9px 12px; border-left: 3px solid var(--yellow); background: rgba(11,13,15,.8); color: white; font-size: 10px; }
.quick-copy { padding: 70px 50px; }
.quick-copy h2 { margin: 0 0 15px; font-family: "Arial Black", sans-serif; font-size: 39px; line-height: 1.05; text-transform: uppercase; }
.quick-copy p { color: var(--muted); line-height: 1.7; }
.quick-price { display: block; margin: 24px 0; font-size: 30px; }
.quick-actions { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; }

/* Studio T-shirt — interface inspirée des meilleurs configurateurs, identité B&Y */
.tee-studio-page { min-height: 100vh; background: #ede9e0; }
.tee-studio-intro { max-width: 1780px; margin: 0 auto; padding: 56px clamp(24px,4vw,72px) 40px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 60px; align-items: end; background: var(--ink); color: white; }
.tee-studio-intro .eyebrow { color: var(--yellow); }
.tee-studio-intro h1 { max-width: 980px; margin: 0; font-family: "Arial Black", Arial, sans-serif; font-size: clamp(42px,5.4vw,82px); line-height: .92; letter-spacing: -.055em; text-transform: uppercase; }
.tee-studio-intro h1 em { color: var(--yellow); font-style: normal; }
.tee-studio-intro > div > p { max-width: 820px; margin: 22px 0 0; color: #b8bec1; font-size: 15px; line-height: 1.65; }
.tee-studio-intro ul { margin: 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.tee-studio-intro li { min-width: 250px; padding: 12px 0; display: grid; grid-template-columns: 34px 1fr; gap: 13px; border-bottom: 1px solid rgba(255,255,255,.12); }
.tee-studio-intro li > b { color: var(--yellow); font-size: 10px; }
.tee-studio-intro li > span { display: grid; gap: 3px; color: #9da4a7; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.tee-studio-intro li strong { color: white; font-size: 11px; }

.tee-editor { max-width: 1780px; min-height: 850px; margin: 0 auto; display: grid; grid-template-columns: 88px minmax(250px,310px) minmax(520px,1fr) minmax(300px,360px); background: #f4f1ea; border-bottom: 1px solid #d5d0c7; box-shadow: 0 32px 95px rgba(11,13,15,.14); }
.tee-toolrail { min-width: 0; padding: 18px 9px; display: flex; flex-direction: column; gap: 8px; background: #101315; color: white; }
.tee-toolrail button { min-height: 67px; padding: 8px 4px; display: grid; place-items: center; gap: 5px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #b9bec1; cursor: pointer; font-size: 8px; font-weight: 780; }
.tee-toolrail button i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--yellow); font-size: 17px; font-style: normal; }
.tee-toolrail button:hover { background: rgba(255,255,255,.06); color: white; }
.tee-toolrail button.is-active { border-color: rgba(255,196,0,.34); background: var(--yellow); color: var(--ink); }
.tee-toolrail button.is-active i { background: rgba(11,13,15,.12); color: var(--ink); }
.tee-toolrail button:disabled { opacity: .3; cursor: not-allowed; }
.tee-history-tools { margin-top: auto; display: grid; gap: 6px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
.tee-history-tools button { min-height: 54px; }

.tee-tool-drawer { min-width: 0; overflow-y: auto; padding: 34px 27px; border-right: 1px solid #d8d4cb; background: white; }
.tee-tool-panel { animation: tee-panel-in .22s ease both; }
@keyframes tee-panel-in { from { opacity: 0; transform: translateX(-7px); } }
.tee-panel-kicker { display: block; margin-bottom: 9px; color: #937100; font-size: 8px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.tee-tool-panel h2, .tee-order-heading h2 { margin: 0; font-family: "Arial Black", Arial, sans-serif; font-size: 25px; line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.tee-tool-panel > p, .tee-order-heading p { margin: 12px 0 20px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.tee-model-list { display: grid; gap: 8px; }
.tee-model-list > button { width: 100%; min-width: 0; min-height: 82px; padding: 10px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #faf9f5; cursor: pointer; text-align: left; }
.tee-model-list > button:hover { border-color: #c1a22c; }
.tee-model-list > button.is-active { border-color: var(--yellow); background: #fff8dc; box-shadow: inset 0 -3px 0 var(--yellow); }
.tee-model-icon { width: 40px; height: 48px; display: grid; place-items: center; clip-path: polygon(20% 0,35% 0,40% 8%,60% 8%,65% 0,80% 0,100% 20%,82% 38%,76% 30%,76% 100%,24% 100%,24% 30%,18% 38%,0 20%); background: #222629; color: white; font-size: 11px; font-style: normal; }
.tee-model-list > button > span { min-width: 0; display: grid; gap: 5px; }
.tee-model-list b { font-size: 10px; }
.tee-model-list small { color: var(--muted); font-size: 8px; }
.tee-model-list strong { color: #7c6100; font-size: 10px; white-space: nowrap; }
.tee-dropzone { min-height: 150px; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px dashed #a5aaad; border-radius: 13px; background: #f7f6f1; cursor: pointer; text-align: center; }
.tee-dropzone:hover { border-color: var(--yellow); background: #fff9e1; }
.tee-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tee-dropzone i { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 20px; font-style: normal; }
.tee-dropzone b { font-size: 10px; }
.tee-dropzone span { max-width: 220px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.tee-background-tools { margin-top: 15px; padding: 15px; display: grid; gap: 11px; border-radius: 10px; background: #eef1f1; }
.tee-background-tools[hidden] { display: none; }
.tee-background-tools > div:first-child { display: grid; gap: 4px; }
.tee-background-tools b { font-size: 9px; }
.tee-background-tools span, .tee-background-tools p { margin: 0; color: var(--muted); font-size: 7px; line-height: 1.45; }
.tee-background-tools label { display: grid; grid-template-columns: auto 1fr 24px; gap: 7px; align-items: center; color: #4f585c; font-size: 8px; font-weight: 800; }
.tee-background-tools input { min-width: 0; accent-color: var(--yellow); }
.tee-background-tools output { color: #876800; font-weight: 900; }
.tee-segmented { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
.tee-segmented button, .tee-text-actions button { min-height: 34px; padding: 5px; border: 1px solid #cbd0d2; border-radius: 6px; background: white; cursor: pointer; font-size: 7px; font-weight: 800; }
.tee-segmented button:hover, .tee-text-actions button:hover { border-color: var(--yellow); }
.tee-field { margin-bottom: 12px; display: grid; gap: 7px; color: #4e5659; font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.tee-field textarea, .tee-field select, .tee-field input { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); padding: 10px; outline: none; text-transform: none; }
.tee-field textarea:focus, .tee-field select:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,196,0,.18); }
.tee-field input[type="color"] { height: 42px; padding: 5px; cursor: pointer; }
.tee-field-row { display: grid; grid-template-columns: 1fr 75px; gap: 9px; }
.tee-text-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.tee-text-actions button.is-active { border-color: var(--yellow); background: #fff5c9; }
.tee-layer-list { display: grid; gap: 7px; }
.tee-layer-list > button { min-height: 65px; padding: 11px 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 9px; background: #faf9f5; cursor: pointer; text-align: left; }
.tee-layer-list > button.is-active { border-color: var(--yellow); background: #fff9e1; }
.tee-layer-list span { display: grid; gap: 4px; }
.tee-layer-list b { font-size: 9px; }
.tee-layer-list small { color: var(--muted); font-size: 8px; }
.tee-layer-list strong { color: #846600; font-size: 8px; }
.tee-secondary-action { width: 100%; min-height: 38px; margin-top: 12px; border: 1px solid #d6a3a3; border-radius: 7px; background: #fff3f3; color: #9a3030; cursor: pointer; font-size: 8px; font-weight: 850; }

.tee-canvas-panel { min-width: 0; min-height: 0; padding: 20px 24px 18px; display: flex; flex-direction: column; background: #1a1e20; color: white; }
.tee-view-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin-bottom: 12px; }
.tee-view-tabs button { min-height: 39px; padding: 5px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: #24292c; color: #bec4c7; cursor: pointer; font-size: 8px; font-weight: 800; }
.tee-view-tabs button:hover { border-color: rgba(255,196,0,.5); color: white; }
.tee-view-tabs button.is-active { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.tee-view-tabs span { min-width: 16px; height: 16px; display: none; place-items: center; border-radius: 50%; background: #171a1c; color: white; font-size: 7px; }
.tee-view-tabs span.has-content { display: grid; }
.tee-stage { position: relative; min-height: 590px; flex: 1; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; background-color: #111416; background-image: radial-gradient(circle at 50% 39%,rgba(255,255,255,.12),transparent 44%),linear-gradient(45deg,rgba(255,255,255,.018) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.018) 25%,transparent 25%); background-size: auto,32px 32px,32px 32px; box-shadow: inset 0 0 80px rgba(0,0,0,.34); }
.tee-stage::after { content: ""; position: absolute; left: 26%; right: 26%; bottom: 6%; height: 8%; border-radius: 50%; background: radial-gradient(ellipse,rgba(0,0,0,.82),transparent 68%); filter: blur(7px); }
.tee-stage-status { position: absolute; z-index: 20; left: 16px; top: 14px; display: grid; grid-template-columns: 8px auto; gap: 2px 7px; align-items: center; }
.tee-live-dot { grid-row: 1/3; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,196,0,.12); }
.tee-stage-status b { font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.tee-stage-status small { color: #99a1a5; font-size: 7px; }
.tee-stage-hint { position: absolute; z-index: 20; left: 50%; bottom: 12px; margin: 0; padding: 6px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(7,9,10,.6); color: #aeb4b7; font-size: 7px; transform: translateX(-50%); backdrop-filter: blur(8px); }
.tee-garment { --shirt-color:#191b1d; position: relative; z-index: 2; width: min(390px,54%); height: min(515px,81%); margin-top: 8px; border-radius: 22px 22px 37px 37px; background: linear-gradient(90deg,rgba(255,255,255,.055),transparent 18%,transparent 72%,rgba(0,0,0,.18)),var(--shirt-color); box-shadow: inset 22px 0 35px rgba(255,255,255,.025),inset -24px 0 38px rgba(0,0,0,.18),0 35px 38px rgba(0,0,0,.34); filter: drop-shadow(0 22px 18px rgba(0,0,0,.38)); transform: perspective(1100px) rotateY(0); transform-style: preserve-3d; transition: background .2s ease,transform .35s ease,width .35s ease; }
.tee-neck { position: absolute; z-index: 8; left: 50%; top: -2px; width: 96px; height: 44px; border: 11px solid rgba(255,255,255,.13); border-top: 0; border-radius: 0 0 54% 54%; transform: translateX(-50%); box-shadow: 0 4px 8px rgba(0,0,0,.18); }
.tee-sleeve { position: absolute; z-index: -1; top: 5px; width: 125px; height: 160px; background: linear-gradient(90deg,rgba(255,255,255,.04),transparent 50%),var(--shirt-color); transition: background .2s ease; }
.tee-sleeve-left { right: calc(100% - 18px); clip-path: polygon(100% 0,24% 12%,0 66%,61% 88%,100% 61%); }
.tee-sleeve-right { left: calc(100% - 18px); clip-path: polygon(0 0,76% 12%,100% 66%,39% 88%,0 61%); }
.tee-seam { position: absolute; inset: 13% 8% 6%; opacity: .34; border-left: 1px solid rgba(255,255,255,.07); border-right: 1px solid rgba(0,0,0,.12); pointer-events: none; }
.tee-garment[data-surface-view="back"] .tee-neck { width: 112px; height: 22px; border-width: 6px; }
.tee-garment[data-surface-view="back"] .tee-seam { left: 50%; right: auto; width: 1px; border: 0; background: linear-gradient(transparent,rgba(255,255,255,.08),transparent); }
.tee-garment[data-surface-view="left-sleeve"] { width: min(330px,45%); transform: perspective(1100px) rotateY(52deg) translateX(10%); }
.tee-garment[data-surface-view="right-sleeve"] { width: min(330px,45%); transform: perspective(1100px) rotateY(-52deg) translateX(-10%); }
.tee-garment[data-surface-view="left-sleeve"] .tee-sleeve-left,.tee-garment[data-surface-view="right-sleeve"] .tee-sleeve-right { z-index: 3; filter: brightness(1.1); }
.tee-print-zone { position: absolute; z-index: 10; left: 50%; top: 47%; width: 55%; height: 62%; overflow: hidden; border: 1px dashed rgba(255,196,0,.88); border-radius: 3px; transform: translate(-50%,-50%); touch-action: none; outline: none; transition: left .35s ease,top .35s ease,width .35s ease,height .35s ease,transform .35s ease; }
.tee-print-zone:focus-visible { box-shadow: 0 0 0 3px rgba(255,196,0,.28); }
.tee-garment[data-surface-view="back"] .tee-print-zone { top: 49%; }
.tee-garment[data-surface-view="left-sleeve"] .tee-print-zone { left: -8%; top: 24%; width: 36%; height: 26%; transform: translate(-50%,-50%) rotate(17deg); }
.tee-garment[data-surface-view="right-sleeve"] .tee-print-zone { left: 108%; top: 24%; width: 36%; height: 26%; transform: translate(-50%,-50%) rotate(-17deg); }
.tee-zone-label { position: absolute; z-index: 9; left: 5px; top: 4px; padding: 3px 5px; border-radius: 3px; background: rgba(11,13,15,.72); color: var(--yellow); font-size: 6px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; pointer-events: none; }
.tee-empty-design { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 5px; color: rgba(255,255,255,.63); text-align: center; pointer-events: none; }
.tee-empty-design[hidden] { display: none; }
.tee-empty-design i { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; color: var(--yellow); font-size: 17px; font-style: normal; }
.tee-empty-design b { font-size: 8px; }
.tee-empty-design span { font-size: 6px; }
.tee-design-image,.tee-design-text { position: absolute; z-index: 5; max-width: none; cursor: grab; user-select: none; touch-action: none; transform-origin: center; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.tee-design-image[hidden],.tee-design-text[hidden] { display: none; }
.tee-design-image.is-active,.tee-design-text.is-active { outline: 1px dashed rgba(255,255,255,.8); outline-offset: 4px; }
.tee-design-text { width: max-content; max-width: 95%; color: white; line-height: .95; text-align: center; text-shadow: 0 3px 8px rgba(0,0,0,.45); white-space: nowrap; }
.tee-alignment { position: absolute; z-index: 20; display: none; background: var(--yellow); pointer-events: none; }
.tee-align-x { left: 50%; top: 0; bottom: 0; width: 1px; }
.tee-align-y { left: 0; right: 0; top: 50%; height: 1px; }
.tee-print-zone.align-x .tee-align-x,.tee-print-zone.align-y .tee-align-y { display: block; }
.tee-transform-bar { margin-top: 12px; padding: 10px; display: grid; grid-template-columns: auto minmax(180px,1fr) minmax(155px,.7fr) auto auto; gap: 9px; align-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: #23282b; }
.tee-layer-switch { display: flex; gap: 3px; padding: 3px; border-radius: 7px; background: #15191b; }
.tee-layer-switch button { min-height: 29px; padding: 0 8px; border: 0; border-radius: 5px; background: transparent; color: #aeb4b7; cursor: pointer; font-size: 7px; font-weight: 800; }
.tee-layer-switch button.is-active { background: var(--yellow); color: var(--ink); }
.tee-transform-bar > label { min-width: 0; display: grid; grid-template-columns: auto auto minmax(50px,1fr) auto 36px; gap: 6px; align-items: center; color: #aeb4b7; font-size: 7px; font-weight: 800; }
.tee-transform-bar > label:nth-of-type(2) { grid-template-columns: auto minmax(50px,1fr) 38px; }
.tee-transform-bar input { min-width: 0; width: 100%; accent-color: var(--yellow); }
.tee-transform-bar output { color: var(--yellow); font-size: 7px; text-align: right; }
.tee-transform-bar label button,.tee-transform-action { min-height: 29px; min-width: 29px; padding: 0 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 5px; background: transparent; color: white; cursor: pointer; font-size: 7px; font-weight: 800; }
.tee-transform-action.is-danger { color: #ffb4b4; }
.tee-transform-bar button:disabled { opacity: .3; cursor: not-allowed; }

.tee-order-panel { min-width: 0; overflow-y: auto; padding: 33px 28px; border-left: 1px solid #d8d4cb; background: white; }
.tee-order-heading { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tee-choice-block { padding: 17px 0; border-bottom: 1px solid var(--line); }
.tee-choice-block > div:first-child { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tee-choice-block b { font-size: 9px; }
.tee-choice-block span,.tee-size-guide { border: 0; background: transparent; color: var(--muted); padding: 0; font-size: 8px; }
.tee-size-guide { color: #7f6200; cursor: pointer; text-decoration: underline; }
.tee-color-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(9,1fr); gap: 7px; }
.tee-color-grid button { width: 24px; height: 24px; border: 1px solid rgba(11,13,15,.2); border-radius: 50%; background: var(--swatch); cursor: pointer; box-shadow: 0 0 0 2px white; }
.tee-color-grid button.is-active { outline: 2px solid var(--yellow); outline-offset: 2px; }
.tee-size-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; }
.tee-size-grid button { min-height: 34px; border: 1px solid var(--line); border-radius: 6px; background: #f7f6f1; cursor: pointer; font-size: 8px; font-weight: 850; }
.tee-size-grid button.is-active { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.tee-quality-card { margin: 17px 0; padding: 13px 14px; display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; border: 1px solid #d4d8da; border-left: 4px solid #9ea5a8; border-radius: 9px; background: #f4f6f6; }
.tee-quality-card > div { display: grid; gap: 3px; }
.tee-quality-card span { color: var(--muted); font-size: 7px; text-transform: uppercase; }
.tee-quality-card b { font-size: 9px; }
.tee-quality-card strong { font-size: 17px; white-space: nowrap; }
.tee-quality-card p { grid-column: 1/-1; margin: 2px 0 0; color: var(--muted); font-size: 7px; line-height: 1.4; }
.tee-quality-card.quality-good { border-left-color: var(--success); background: #eef9f3; }
.tee-quality-card.quality-good strong { color: var(--success); }
.tee-quality-card.quality-warning { border-left-color: #d89708; background: #fff8e5; }
.tee-quality-card.quality-warning strong { color: #966500; }
.tee-quality-card.quality-low { border-left-color: #d94747; background: #fff0f0; }
.tee-quality-card.quality-low strong { color: #b52f2f; }
.tee-production-summary { padding: 13px; display: grid; gap: 8px; border-radius: 8px; background: #f4f2ec; }
.tee-production-summary > div { display: flex; justify-content: space-between; gap: 15px; }
.tee-production-summary span { color: var(--muted); font-size: 7px; }
.tee-production-summary b { font-size: 8px; text-align: right; }
.tee-price-row { padding: 20px 0 12px; display: flex; justify-content: space-between; align-items: end; }
.tee-price-row span { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.tee-price-row strong { font-size: 25px; }
.tee-quantity { margin-bottom: 10px; display: grid; grid-template-columns: 1fr 34px 34px 34px; align-items: center; color: var(--muted); font-size: 8px; font-weight: 850; }
.tee-quantity button,.tee-quantity output { height: 31px; display: grid; place-items: center; border: 1px solid var(--line); background: white; color: var(--ink); }
.tee-quantity button { cursor: pointer; }
.tee-quantity button:first-of-type { border-radius: 6px 0 0 6px; }
.tee-quantity button:last-of-type { border-radius: 0 6px 6px 0; }
.tee-add-cart { width: 100%; min-height: 52px; border: 0; border-radius: 8px; background: var(--yellow); color: var(--ink); cursor: pointer; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; box-shadow: 0 9px 25px rgba(255,196,0,.2); }
.tee-add-cart:hover:not(:disabled) { background: var(--yellow-soft); transform: translateY(-1px); }
.tee-add-cart:disabled { background: #d9d7d0; color: #7d8183; cursor: not-allowed; box-shadow: none; }
.tee-save-project { width: 100%; min-height: 39px; margin-top: 8px; border: 1px solid #c7c3bb; border-radius: 7px; background: white; cursor: pointer; font-size: 8px; font-weight: 800; }
.tee-order-note { margin: 10px 0 0; color: var(--muted); font-size: 7px; line-height: 1.45; text-align: center; }

.tee-dialog-open { overflow: hidden; }
.tee-size-dialog { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 20px; }
.tee-size-dialog[hidden] { display: none; }
.tee-dialog-backdrop { position: absolute; inset: 0; border: 0; background: rgba(8,10,11,.72); backdrop-filter: blur(4px); }
.tee-size-dialog > section { position: relative; z-index: 2; width: min(620px,95vw); padding: 35px; border-radius: 16px; background: white; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.tee-size-dialog h2 { margin: 0 0 20px; font-family: "Arial Black",Arial,sans-serif; font-size: 28px; text-transform: uppercase; }
.tee-size-dialog table { width: 100%; border-collapse: collapse; font-size: 9px; }
.tee-size-dialog th,.tee-size-dialog td { padding: 9px; border-bottom: 1px solid var(--line); text-align: left; }
.tee-size-dialog thead th { background: #f3f1ea; color: #6b7072; font-size: 7px; text-transform: uppercase; }
.tee-size-dialog p { margin: 15px 0 0; color: var(--muted); font-size: 8px; }
.tee-dialog-close { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; font-size: 21px; }

@media (max-width: 1320px) {
  .tee-editor { grid-template-columns: 76px 270px minmax(450px,1fr) 315px; }
  .tee-toolrail { padding-inline: 6px; }
  .tee-tool-drawer,.tee-order-panel { padding-inline: 21px; }
  .tee-stage { min-height: 540px; }
  .tee-transform-bar { grid-template-columns: auto 1fr 1fr; }
  .tee-transform-action { grid-row: 2; }
}
@media (max-width: 1050px) {
  .tee-studio-intro { grid-template-columns: 1fr; }
  .tee-studio-intro ul { grid-template-columns: repeat(3,1fr); }
  .tee-studio-intro li { min-width: 0; }
  .tee-editor { grid-template-columns: 76px 270px minmax(0,1fr); }
  .tee-order-panel { grid-column: 2/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; border-top: 1px solid var(--line); border-left: 0; }
  .tee-order-heading,.tee-order-panel > .tee-choice-block:nth-of-type(1),.tee-order-panel > .tee-choice-block:nth-of-type(2) { grid-column: auto; }
  .tee-order-panel > .tee-add-cart,.tee-order-panel > .tee-save-project,.tee-order-panel > .tee-order-note { grid-column: 1/-1; }
}
@media (max-width: 760px) {
  .tee-studio-intro { padding: 37px 20px 28px; }
  .tee-studio-intro h1 { font-size: 42px; }
  .tee-studio-intro ul { grid-template-columns: 1fr; }
  .tee-editor { display: flex; flex-direction: column; }
  .tee-toolrail { position: sticky; top: 114px; z-index: 35; padding: 7px; flex-direction: row; overflow-x: auto; }
  .tee-toolrail button { min-width: 68px; min-height: 54px; }
  .tee-history-tools { margin: 0 0 0 auto; padding: 0 0 0 6px; grid-template-columns: 1fr 1fr; border-top: 0; border-left: 1px solid rgba(255,255,255,.1); }
  .tee-history-tools button { min-width: 58px; min-height: 54px; }
  .tee-tool-drawer { max-height: 430px; border-right: 0; border-bottom: 1px solid var(--line); }
  .tee-canvas-panel { padding: 12px; }
  .tee-view-tabs { overflow-x: auto; display: flex; }
  .tee-view-tabs button { min-width: 105px; }
  .tee-stage { min-height: 510px; }
  .tee-garment { width: min(280px,54%); height: min(390px,77%); }
  .tee-sleeve { width: 91px; height: 120px; }
  .tee-neck { width: 74px; height: 35px; border-width: 8px; }
  .tee-transform-bar { overflow: hidden; grid-template-columns: 1fr; }
  .tee-transform-bar > label,.tee-transform-bar > label:nth-of-type(2) { grid-template-columns: 44px auto minmax(80px,1fr) auto 36px; }
  .tee-transform-bar > label:nth-of-type(2) { grid-template-columns: 54px minmax(80px,1fr) 38px; }
  .tee-transform-action { grid-row: auto; }
  .tee-order-panel { display: block; padding: 28px 22px; }
  .tee-color-grid { grid-template-columns: repeat(9,1fr); }
}
@media (max-width: 480px) {
  .tee-tool-drawer { padding: 26px 20px; }
  .tee-stage { min-height: 450px; }
  .tee-garment { width: min(235px,55%); height: min(340px,72%); }
  .tee-sleeve { width: 79px; height: 105px; }
  .tee-stage-hint { width: calc(100% - 24px); }
  .tee-transform-bar > label,.tee-transform-bar > label:nth-of-type(2) { grid-template-columns: auto minmax(80px,1fr) 36px; }
  .tee-transform-bar label button { display: none; }
  .tee-color-grid { grid-template-columns: repeat(6,1fr); }
}

/* Configurateur visuel */
.configurator-shell { padding: 18px; }
.advanced-customizer { position: relative; z-index: 2; width: min(1460px, 97vw); height: min(900px, 95dvh); overflow: hidden; display: grid; grid-template-columns: 1.08fr .92fr; border-radius: 22px; background: white; box-shadow: 0 35px 120px rgba(0,0,0,.42); }
.advanced-customizer > .modal-close { border-color: rgba(11,13,15,.12); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.config-preview-panel { min-width: 0; min-height: 0; padding: 38px clamp(24px, 3vw, 48px) 28px; display: flex; flex-direction: column; background: #111416; color: white; }
.config-preview-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.config-preview-heading .eyebrow { margin: 5px 0 0; color: var(--yellow); }
.config-preview-heading > div { display: grid; justify-items: end; gap: 3px; }
.config-preview-heading b { font-family: "Arial Black", sans-serif; font-size: 18px; text-transform: uppercase; }
.config-preview-heading span:not(.eyebrow) { color: #aeb4b7; font-size: 11px; }
.product-stage { position: relative; min-height: 0; flex: 1; margin: 18px 0 14px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; isolation: isolate; }
.checkerboard { background-color: #171b1e; background-image: radial-gradient(circle at 50% 42%, rgba(255,255,255,.095), transparent 42%), linear-gradient(45deg, rgba(255,255,255,.025) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,.025) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255,255,255,.025) 75%), linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.025) 75%); background-size: auto, 28px 28px, 28px 28px, 28px 28px, 28px 28px; background-position: center, 0 0, 0 14px, 14px -14px, -14px 0; }
.product-stage::before { content: "APERÇU INTERACTIF"; position: absolute; left: 16px; top: 14px; color: rgba(255,255,255,.34); font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.product-stage::after { content: ""; position: absolute; z-index: 0; left: 21%; right: 21%; bottom: 6%; height: 9%; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.72), transparent 68%); filter: blur(6px); pointer-events: none; }
.turn-view-badge { position: absolute; z-index: 8; right: 14px; top: 13px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(11,13,15,.58); color: var(--yellow); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.stage-mode-switch { position: absolute; z-index: 12; left: 50%; top: 13px; display: flex; gap: 4px; padding: 4px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(8,10,11,.72); box-shadow: 0 8px 24px rgba(0,0,0,.22); transform: translateX(-50%); backdrop-filter: blur(12px); }
.stage-mode-switch button { min-height: 30px; padding: 0 12px; display: flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; background: transparent; color: #c7ccce; cursor: pointer; font-size: 8px; font-weight: 850; white-space: nowrap; }
.stage-mode-switch button i { color: var(--yellow); font-size: 13px; font-style: normal; }
.stage-mode-switch button.active { background: var(--yellow); color: var(--ink); }
.stage-mode-switch button.active i { color: var(--ink); }
.stage-mode-switch button:disabled { opacity: .38; cursor: not-allowed; }
.stage-gesture-hint { position: absolute; z-index: 10; left: 50%; bottom: 13px; width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 6px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(8,10,11,.62); color: #c1c6c8; font-size: 8px; font-weight: 720; text-align: center; transform: translateX(-50%); pointer-events: none; backdrop-filter: blur(8px); }
.mockup-object { --product-color: #17191a; position: relative; z-index: 1; cursor: grab; filter: drop-shadow(0 24px 22px rgba(0,0,0,.35)) brightness(var(--turn-light, 1)); transform: perspective(1000px) scale(var(--size-scale, 1)) rotateZ(var(--turn-roll, 0deg)) rotateX(var(--turn-pitch, 0deg)) scaleX(var(--turn-scale-x, 1)); transform-origin: center; transform-style: preserve-3d; transition: width .25s ease, height .25s ease, transform .18s ease, filter .18s ease, background-color .2s ease; touch-action: none; user-select: none; outline: none; }
.mockup-object:focus-visible { outline: 2px solid var(--yellow); outline-offset: 8px; }
.mockup-object.is-turning { cursor: grabbing; transition: width .25s ease, height .25s ease, background-color .2s ease; }
.mockup-tshirt { width: min(340px, 64%); height: min(390px, 78%); margin-top: 12px; border-radius: 22px 22px 34px 34px; background: var(--product-color); box-shadow: inset 18px 0 30px rgba(255,255,255,.035), inset -18px 0 34px rgba(0,0,0,.16); }
.shirt-neck { position: absolute; z-index: 4; left: 50%; top: -3px; width: 86px; height: 40px; border: 10px solid rgba(255,255,255,.12); border-top: 0; border-radius: 0 0 50% 50%; transform: translateX(-50%); }
.shirt-sleeve { position: absolute; z-index: -1; top: 5px; width: 108px; height: 145px; background: var(--product-color); }
.shirt-sleeve.left { right: calc(100% - 17px); clip-path: polygon(100% 0, 24% 13%, 0 67%, 62% 86%, 100% 62%); }
.shirt-sleeve.right { left: calc(100% - 17px); clip-path: polygon(0 0, 76% 13%, 100% 67%, 38% 86%, 0 62%); }
.shirt-view-label { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); color: rgba(255,255,255,.3); font-size: 8px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.mockup-tshirt.view-back::after { content: ""; position: absolute; left: 50%; top: 22px; bottom: 18px; width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.06), transparent); }
.mockup-glass { width: min(190px, 38%); height: min(390px, 76%); border: 2px solid rgba(229,246,249,.5); border-radius: 28px 28px 42px 42px; background: linear-gradient(90deg, rgba(255,255,255,.13), var(--product-color) 40%, rgba(255,255,255,.06) 70%, rgba(228,248,250,.2)); box-shadow: inset 12px 0 20px rgba(255,255,255,.14), inset -10px 0 18px rgba(0,0,0,.15); }
.glass-rim { position: absolute; left: -3px; right: -3px; top: -8px; height: 22px; border: 3px solid rgba(240,253,255,.72); border-radius: 50%; }
.glass-base { position: absolute; left: 15px; right: 15px; bottom: 7px; height: 17px; border: 2px solid rgba(240,253,255,.4); border-radius: 50%; }
.mockup-bottle { width: min(232px, 46%); height: min(420px, 82%); margin-top: 0; background: transparent; }
.bottle-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; pointer-events: none; }
.mockup-object.is-true-3d { z-index: 2; width: min(410px, 72%); height: min(540px, 91%); border: 0; border-radius: 0; background: transparent; box-shadow: none; filter: drop-shadow(0 30px 26px rgba(0,0,0,.46)); transform: scale(var(--size-scale, 1)); }
.mockup-object.is-true-3d.is-turning { transform: scale(var(--size-scale, 1)); }
.mockup-object.is-true-3d.interaction-artwork { cursor: move; }
.mockup-object.is-true-3d.is-placing-artwork { cursor: grabbing; }
.mockup-object.is-true-3d.interaction-artwork::before { content: "ZONE D’IMPRESSION"; position: absolute; z-index: 3; left: 21%; right: 21%; top: 20%; bottom: 18%; display: grid; place-items: start center; padding-top: 9px; border: 1px dashed rgba(255,196,0,.75); border-radius: 45% / 13%; color: rgba(255,214,77,.82); font-size: 7px; font-weight: 900; letter-spacing: .11em; pointer-events: none; text-shadow: 0 1px 3px #000; }
.product-3d-canvas { position: relative; z-index: 2; width: 100%; height: 100%; display: block; pointer-events: none; }
.product-3d-fallback { width: 100%; padding: 30px; color: #d8dddf; font-size: 10px; line-height: 1.5; text-align: center; }
.mockup-wood { height: min(390px, 76%); width: auto; max-width: 78%; aspect-ratio: var(--object-ratio); border: 7px solid #8e5c2f; border-radius: 7px; background: linear-gradient(92deg, #c9945c, var(--product-color) 25%, #d4a36c 58%, #ae7541); box-shadow: inset 0 0 45px rgba(74,38,10,.16); }
.wood-grain { position: absolute; inset: 14% 2% auto; height: 1px; background: rgba(85,43,14,.3); box-shadow: 0 68px rgba(85,43,14,.2), 0 137px rgba(85,43,14,.24), 0 206px rgba(85,43,14,.18); transform: rotate(-1deg); }
.wood-grain.second { top: 24%; transform: rotate(1.4deg); opacity: .5; }
.mockup-slate, .mockup-aluminum { height: min(390px, 76%); width: auto; max-width: 78%; aspect-ratio: var(--object-ratio); }
.mockup-slate { border: 7px solid #191c1d; border-radius: 12px 8px 13px 7px; background: radial-gradient(circle at 18% 24%, rgba(255,255,255,.08) 0 1px, transparent 2px), linear-gradient(115deg, #16191a, var(--product-color) 48%, #383d3f); background-size: 23px 19px, auto; box-shadow: inset 0 0 35px rgba(255,255,255,.04); clip-path: polygon(1% 3%, 5% 1%, 11% 2%, 18% 0, 27% 2%, 37% 1%, 47% 2%, 58% 0, 69% 2%, 79% 1%, 90% 3%, 98% 1%, 100% 9%, 98% 20%, 100% 31%, 98% 43%, 100% 54%, 98% 66%, 100% 79%, 97% 91%, 99% 98%, 89% 100%, 78% 98%, 66% 100%, 54% 98%, 42% 100%, 31% 98%, 19% 100%, 8% 98%, 1% 100%, 2% 88%, 0 77%, 2% 65%, 0 53%, 2% 41%, 0 29%, 2% 16%); }
.slate-edge { position: absolute; inset: 5px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; }
.slate-speckle { position: absolute; inset: 0; opacity: .18; background: repeating-linear-gradient(18deg, transparent 0 18px, rgba(255,255,255,.12) 19px, transparent 20px); }
.mockup-aluminum { border: 3px solid #8f9497; border-radius: 8px; background: repeating-linear-gradient(90deg, #c5c8ca 0 1px, #aeb2b4 1px 2px, #d3d5d6 2px 4px); box-shadow: inset 18px 0 25px rgba(255,255,255,.32), inset -18px 0 25px rgba(0,0,0,.12); }
.brushed-light { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,.32), transparent 38%, rgba(255,255,255,.16) 61%, transparent); }
.mockup-towel { height: min(410px, 80%); width: auto; max-width: 68%; aspect-ratio: var(--object-ratio); border: 7px solid #d2cbbb; border-radius: 5px; background: repeating-linear-gradient(0deg, #eee9dc 0 4px, #e4ded1 4px 6px); box-shadow: inset 0 0 28px rgba(74,58,39,.12); }
.textile-hem { position: absolute; inset: 10px; border: 1px dashed rgba(82,71,55,.32); }
.textile-loop { position: absolute; z-index: -1; right: 8%; top: -22px; width: 25px; height: 32px; border: 7px solid #d2cbbb; border-bottom: 0; border-radius: 12px 12px 0 0; }
.mockup-potholder { height: min(285px, 58%); width: auto; max-width: 62%; aspect-ratio: var(--object-ratio); border: 12px solid #25282a; border-radius: 20px; background: linear-gradient(135deg, #565b5e, var(--product-color)); box-shadow: inset 0 0 28px rgba(0,0,0,.22); }
.potholder-loop { position: absolute; z-index: -1; right: -2px; top: -39px; width: 34px; height: 44px; border: 9px solid #25282a; border-bottom: 0; border-radius: 18px 18px 0 0; transform: rotate(18deg); }
.quilt-lines { position: absolute; inset: 0; opacity: .35; background: repeating-linear-gradient(45deg, transparent 0 39px, rgba(255,255,255,.2) 40px, transparent 41px), repeating-linear-gradient(-45deg, transparent 0 39px, rgba(0,0,0,.22) 40px, transparent 41px); }
.mockup-apron { height: min(430px, 84%); width: auto; max-width: 68%; aspect-ratio: var(--object-ratio); background: transparent; }
.mockup-apron::before { content: ""; position: absolute; inset: 9% 8% 0; background: repeating-linear-gradient(0deg, #eee9dc 0 5px, #e5dfd2 5px 7px); clip-path: polygon(27% 0, 73% 0, 78% 17%, 100% 31%, 91% 100%, 9% 100%, 0 31%, 22% 17%); box-shadow: inset 0 0 30px rgba(70,55,35,.13); }
.apron-neck { position: absolute; z-index: -1; left: 37%; right: 37%; top: -7%; height: 27%; border: 8px solid #d2cbbb; border-bottom: 0; border-radius: 50% 50% 0 0; }
.apron-tie { position: absolute; z-index: -1; top: 31%; width: 48%; height: 9px; background: #d2cbbb; }
.apron-tie.left { right: 88%; transform: rotate(-9deg); transform-origin: right; }
.apron-tie.right { left: 88%; transform: rotate(9deg); transform-origin: left; }
.print-area { position: absolute; z-index: 5; left: 50%; top: 51%; width: 44%; height: 54%; overflow: hidden; border: 1px dashed rgba(255,196,0,.86); transform: translate(-50%,-50%); transition: opacity .16s ease; touch-action: none; }
.mockup-tshirt .surface-left-sleeve { left: -8%; top: 23%; width: 27%; height: 23%; transform: translate(-50%,-50%) rotate(19deg); }
.mockup-tshirt .surface-right-sleeve { left: 108%; top: 23%; width: 27%; height: 23%; transform: translate(-50%,-50%) rotate(-19deg); }
.mockup-glass .print-area { width: 68%; height: 62%; }
.mockup-bottle .print-area { top: 55%; width: 31%; height: 38%; border-radius: 7px; }
.mockup-bottle .print-area::after { content: ""; position: absolute; z-index: 6; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.22), transparent 24%, transparent 72%, rgba(0,0,0,.24)); pointer-events: none; }
.mockup-bottle.shape-cola .print-area { top: 57%; width: 29%; height: 34%; }
.mockup-bottle.shape-straight .print-area { top: 56%; width: 33%; height: 42%; }
.mockup-bottle.shape-sport .print-area { top: 56%; width: 27%; height: 25%; }
.mockup-bottle.shape-glass .print-area { top: 57%; width: 29%; height: 40%; }
.mockup-bottle.shape-infuser .print-area { top: 63%; width: 27%; height: 29%; }
.mockup-bottle.shape-square .print-area { top: 58%; width: 32%; height: 36%; }
.mockup-bottle.shape-tumbler .print-area { left: 38%; top: 56%; width: 27%; height: 34%; }
.mockup-wood .print-area { width: 84%; height: 82%; }
.mockup-slate .print-area, .mockup-aluminum .print-area { width: 84%; height: 82%; }
.mockup-towel .print-area { width: 70%; height: 55%; }
.mockup-potholder .print-area { width: 72%; height: 72%; }
.mockup-apron .print-area { top: 57%; width: 52%; height: 48%; }
.mockup-glass .print-area.is-wrap { width: 92%; }
.mockup-bottle .print-area.is-wrap { width: 48%; }
.print-zone-label { position: absolute; z-index: 9; left: 4px; top: 4px; padding: 3px 5px; border-radius: 3px; background: rgba(11,13,15,.72); color: var(--yellow); font-size: 7px; white-space: nowrap; pointer-events: none; }
.positioned-art { position: absolute; z-index: 4; max-width: none; height: auto; user-select: none; cursor: grab; touch-action: none; filter: drop-shadow(0 4px 7px rgba(0,0,0,.28)); }
.positioned-art:active { cursor: grabbing; }
.wrap-art { inset: -3%; width: 106%; height: 106%; max-width: none; background-repeat: repeat-x; background-position: center; cursor: grab; filter: drop-shadow(0 4px 7px rgba(0,0,0,.28)); }
.wrap-seam { position: absolute; z-index: 10; left: 50%; bottom: 3px; transform: translateX(-50%); padding: 2px 4px; background: rgba(11,13,15,.76); color: #fff3b3; font-size: 6px; white-space: nowrap; pointer-events: none; }
.position-hint { position: absolute; inset: 0; padding: 18px; display: grid; place-content: center; gap: 6px; color: rgba(255,255,255,.7); text-align: center; font-size: 9px; }
.position-hint b { color: white; font-size: 11px; }
.config-text-preview { position: absolute; z-index: 7; left: 50%; bottom: 8%; max-width: 90%; transform: translateX(-50%); overflow: hidden; color: white; font-size: 12px; text-align: center; text-overflow: ellipsis; text-shadow: 0 2px 6px rgba(0,0,0,.75); white-space: nowrap; }
.turntable-controls { margin-bottom: 15px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 10px 18px; align-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.045); }
.turntable-controls > div:first-child { display: grid; gap: 3px; }
.turntable-controls b { color: white; font-size: 10px; text-transform: uppercase; }
.turntable-controls span { color: #aeb4b7; font-size: 8px; }
.turntable-presets { display: flex; gap: 5px; }
.turntable-controls button { min-height: 29px; padding: 0 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; background: transparent; color: white; cursor: pointer; font-size: 8px; font-weight: 800; }
.turntable-controls button.active { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.turn-axis-controls { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.turn-axis-controls label { display: grid; grid-template-columns: auto 1fr 38px; gap: 8px; align-items: center; }
.turn-axis-controls label > span { color: #d8dcde; font-weight: 750; white-space: nowrap; }
.turn-axis-controls input { min-width: 0; width: 100%; accent-color: var(--yellow); }
.turn-axis-controls output { color: var(--yellow); font-size: 8px; font-weight: 850; text-align: right; }
.stage-toolbar { display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px; align-items: end; }
.stage-toolbar.has-3d { grid-template-columns: 1fr 1fr 1fr auto; }
.stage-toolbar label { display: grid; gap: 7px; }
.stage-toolbar span { color: #aeb4b7; font-size: 9px; font-weight: 750; text-transform: uppercase; }
.stage-toolbar input, .background-tools input { accent-color: var(--yellow); }
.stage-toolbar button { min-height: 34px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; background: transparent; color: white; padding: 0 13px; cursor: pointer; font-size: 10px; font-weight: 800; }
.motif-position-control { display: grid; grid-template-columns: auto 1fr; gap: 2px 6px; align-items: center; }
.motif-position-control small { color: var(--yellow); font-size: 7px; font-weight: 900; }
.scale-control { display: grid; grid-template-columns: 28px 1fr 28px; gap: 7px; align-items: center; }
.scale-control button { min-height: 28px; width: 28px; padding: 0; }
.machine-note { margin: 15px 0 0; color: #9fa6aa; font-size: 9px; line-height: 1.5; }
.machine-note b { color: var(--yellow); }
.wrap-proof { margin-top: 13px; padding: 11px 13px; display: grid; grid-template-columns: 185px 1fr; gap: 13px; align-items: center; border: 1px solid rgba(255,196,0,.22); border-radius: 9px; background: rgba(255,196,0,.055); }
.wrap-proof > div:first-child { display: grid; gap: 3px; }
.wrap-proof b { color: #f6f7f7; font-size: 9px; text-transform: uppercase; }
.wrap-proof > div:first-child span { color: #aeb4b7; font-size: 7px; }
.wrap-proof-strip { position: relative; height: 42px; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 5px; background-color: #252a2d; background-repeat: repeat-x; color: #aeb4b7; font-size: 7px; }
.wrap-proof-strip.has-artwork { background-color: #f3f4f2; background-repeat: repeat-x; }
.wrap-proof-strip::before, .wrap-proof-strip::after { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; width: 18px; pointer-events: none; }
.wrap-proof-strip::before { left: 0; background: linear-gradient(90deg, rgba(0,0,0,.35), transparent); }
.wrap-proof-strip::after { right: 0; background: linear-gradient(-90deg, rgba(0,0,0,.35), transparent); }
.wrap-proof-strip i { position: absolute; z-index: 3; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--yellow); box-shadow: 0 0 0 1px rgba(0,0,0,.34); }
.wrap-proof-strip span { position: relative; z-index: 4; padding: 3px 5px; border-radius: 3px; background: rgba(11,13,15,.72); color: white; }
.config-controls { min-width: 0; overflow-y: auto; padding: 48px clamp(26px, 3.3vw, 52px) 38px; }
.config-controls > .eyebrow { margin-bottom: 8px; }
.config-controls h2 { margin: 0 0 24px; font-family: "Arial Black", sans-serif; font-size: clamp(31px, 3vw, 46px); line-height: .95; letter-spacing: -.045em; text-transform: uppercase; }
.support-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 19px; }
.support-tabs button { min-height: 62px; min-width: 0; padding: 7px 4px; display: grid; place-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 9px; background: white; cursor: pointer; font-size: 9px; font-weight: 850; }
.support-tabs button i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: #876800; font-style: normal; font-weight: 900; }
.support-tabs button.active { border-color: var(--yellow); background: #fff9df; box-shadow: inset 0 -3px 0 var(--yellow); }
.support-tabs button.active i { background: var(--yellow); color: var(--ink); }
.bottle-shape-picker { margin-bottom: 15px; padding: 15px; display: grid; gap: 11px; border: 1px solid var(--line); border-radius: 10px; background: #f7f8f8; }
.bottle-shape-picker > div:first-child { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.bottle-shape-picker > div:first-child b { font-size: 11px; }
.bottle-shape-picker > div:first-child span { color: var(--muted); font-size: 9px; }
.bottle-shape-picker > div:last-child { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.bottle-shape-picker button { min-width: 0; min-height: 86px; padding: 7px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 7px; align-items: center; border: 1px solid #d6dadc; border-radius: 8px; background: white; cursor: pointer; text-align: left; }
.bottle-shape-picker button:hover { border-color: #bda23d; }
.bottle-shape-picker button.active { border-color: var(--yellow); background: #fff9df; box-shadow: inset 0 -3px 0 var(--yellow); }
.bottle-shape-picker button > span:last-child { min-width: 0; display: grid; gap: 4px; }
.bottle-shape-picker button b { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.bottle-shape-picker button small { color: var(--muted); font-size: 7px; line-height: 1.25; }
.bottle-thumb { width: 34px; height: 68px; display: grid; place-items: center; overflow: hidden; }
.bottle-thumb img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 5px 5px rgba(0,0,0,.2)); }
.config-row { display: grid; grid-template-columns: 1.3fr .7fr; gap: 12px; align-items: stretch; }
.config-variant { margin-bottom: 12px; }
.config-variant small { color: var(--muted); font-size: 9px; }
.compatibility-badge { min-height: 84px; padding: 13px; display: grid; align-content: center; gap: 5px; border: 1px solid #bde1d0; border-radius: 9px; background: #eef9f3; }
.compatibility-badge b { color: var(--success); font-size: 10px; text-transform: uppercase; }
.compatibility-badge span { color: #517062; font-size: 8px; line-height: 1.4; }
.compatibility-badge.compatibility-measure { border-color: #e8cd77; background: #fff8df; }
.compatibility-badge.compatibility-measure b { color: #8b6500; }
.compatibility-badge.compatibility-measure span { color: #78622c; }
.compatibility-badge.compatibility-face { border-color: #bed4e4; background: #eef6fb; }
.compatibility-badge.compatibility-face b { color: #215b7e; }
.compatibility-badge.compatibility-face span { color: #4b6677; }
.compatibility-badge.compatibility-outside { border-color: #efb7b7; background: #fff0f0; }
.compatibility-badge.compatibility-outside b { color: #a52d2d; }
.material-picker { margin-bottom: 15px; padding: 15px; display: grid; gap: 11px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.material-picker > div:first-child { display: flex; justify-content: space-between; gap: 12px; }
.material-picker > div:first-child b { font-size: 11px; }
.material-picker > div:first-child span { color: var(--muted); font-size: 9px; text-align: right; }
.material-picker > div:last-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.material-picker button { min-height: 36px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); cursor: pointer; font-size: 8px; font-weight: 850; }
.material-picker button.active { border-color: var(--yellow); background: #fff4c3; box-shadow: inset 0 -2px 0 var(--yellow); }
.color-picker { margin-bottom: 15px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; }
.color-picker > div:first-child { display: flex; justify-content: space-between; gap: 12px; }
.color-picker b { font-size: 11px; }
.color-picker span { color: var(--muted); font-size: 9px; }
.color-swatches { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.color-swatches button { width: 24px; height: 24px; border: 1px solid rgba(11,13,15,.18); border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 2px white; }
.color-swatches button.selected { outline: 2px solid var(--yellow); outline-offset: 2px; }
.placement-picker, .wrap-picker { margin-bottom: 15px; padding: 15px; display: grid; gap: 11px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.placement-picker > div:first-child, .wrap-picker > div:first-child { display: flex; justify-content: space-between; gap: 12px; }
.placement-picker b, .wrap-picker b { font-size: 11px; }
.placement-picker span, .wrap-picker span { color: var(--muted); font-size: 9px; text-align: right; }
.placement-picker > div:last-child, .wrap-picker > div:nth-child(2) { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wrap-picker > div:nth-child(2) { grid-template-columns: .7fr 1.3fr; }
.placement-picker button, .wrap-picker button { min-height: 34px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); padding: 5px 7px; cursor: pointer; font-size: 8px; font-weight: 850; }
.placement-picker button.active, .wrap-picker button.active { border-color: var(--yellow); background: #fff4c3; box-shadow: inset 0 -2px 0 var(--yellow); }
.wrap-picker button:disabled { opacity: .42; cursor: not-allowed; }
.wrap-picker p { margin: 0; color: #78622c; font-size: 8px; line-height: 1.45; }
.advanced-upload { min-height: 92px; margin-bottom: 13px; grid-template-columns: 1fr auto; grid-template-areas: "title action" "detail action"; place-items: initial; align-items: center; padding: 17px 19px; text-align: left; }
.advanced-upload b { grid-area: title; }
.advanced-upload span { grid-area: detail; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.advanced-upload i { grid-area: action; padding: 11px 13px; border-radius: 6px; background: var(--yellow); color: var(--ink); }
.background-tools { margin-bottom: 14px; padding: 15px; display: grid; gap: 10px; border-radius: 10px; background: #eef1f1; }
.background-tools > div:first-child { display: flex; justify-content: space-between; gap: 12px; }
.background-tools b { font-size: 11px; }
.background-tools span { color: var(--muted); font-size: 9px; }
.background-tools label { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.background-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.background-buttons button { min-height: 32px; border: 1px solid #c7ccce; border-radius: 6px; background: white; padding: 4px 6px; cursor: pointer; font-size: 8px; font-weight: 800; }
.background-buttons button:hover:not(:disabled) { border-color: var(--yellow); }
.background-buttons button:disabled { opacity: .42; cursor: not-allowed; }
.background-tools p { min-height: 13px; margin: 0; color: #4e5b60; font-size: 8px; }
.quality-meter { margin-bottom: 14px; padding: 14px 15px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; border: 1px solid #d3d7d9; border-left-width: 4px; border-radius: 9px; background: #f7f8f8; }
.quality-meter > div { display: grid; gap: 3px; }
.quality-meter b { font-size: 10px; }
.quality-meter span, .quality-meter p { color: var(--muted); font-size: 8px; }
.quality-meter strong { font-size: 18px; }
.quality-meter p { grid-column: 1 / -1; margin: 4px 0 0; line-height: 1.45; }
.quality-good { border-left-color: var(--success); background: #eef9f3; }
.quality-good strong { color: var(--success); }
.quality-warning { border-left-color: #d89708; background: #fff8e5; }
.quality-warning strong { color: #966500; }
.quality-low { border-left-color: #d94747; background: #fff0f0; }
.quality-low strong { color: #b52f2f; }
.config-summary { margin: 17px 0 12px; padding-top: 15px; display: flex; justify-content: space-between; gap: 18px; align-items: end; border-top: 1px solid var(--line); }
.config-summary > div { display: grid; gap: 5px; }
.config-summary span { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.config-summary b { font-size: 11px; }
.config-summary strong { font-size: 25px; white-space: nowrap; }
.config-submit { width: 100%; }

/* Back-office local */
.admin-login-page { min-height: 100dvh; display: grid; place-items: center; padding: 28px; background: radial-gradient(circle at 75% 15%, rgba(255,196,0,.18), transparent 27%), #0d1012; }
.admin-login-card { width: min(480px, 100%); padding: 46px; border-radius: 20px; background: white; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.admin-login-card > img { width: 132px; height: 102px; margin: -15px 0 15px; object-fit: contain; background: var(--ink); mix-blend-mode: normal; }
.admin-login-card h1, .admin-title h1 { margin: 0; font-family: "Arial Black", sans-serif; font-size: clamp(38px, 5vw, 62px); line-height: .92; letter-spacing: -.055em; text-transform: uppercase; }
.admin-login-card > p { margin: 22px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.admin-login-card form { display: grid; gap: 9px; }
.admin-login-card label { font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.admin-login-card input { height: 50px; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; outline: 0; }
.admin-login-card input:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,196,0,.18); }
.admin-login-card form button { min-height: 50px; border: 0; border-radius: 8px; background: var(--yellow); cursor: pointer; font-weight: 900; }
.admin-login-card > a { display: inline-block; margin-top: 20px; color: var(--muted); font-size: 11px; font-weight: 750; }
.admin-alert { margin: 15px 0; padding: 12px 14px; display: flex; justify-content: space-between; gap: 20px; border: 1px solid #efb7b7; border-radius: 7px; background: #fff0f0; color: #9c2525; font-size: 11px; }
.admin-alert button { border: 0; background: none; cursor: pointer; }
.admin-loading { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--ink); color: white; }
.admin-loader { width: 36px; height: 36px; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--yellow); border-radius: 50%; animation: admin-spin .8s linear infinite; }
@keyframes admin-spin { to { transform: rotate(360deg); } }
.admin-page { min-height: 100dvh; background: #eff1f1; }
.admin-header { min-height: 76px; padding: 0 max(24px, calc((100vw - 1500px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--ink); color: white; }
.admin-brand { display: flex; align-items: center; gap: 13px; }
.admin-brand img { width: 78px; height: 68px; object-fit: contain; mix-blend-mode: normal; }
.admin-brand span { display: grid; }
.admin-brand b { color: var(--yellow); font-family: "Arial Black", sans-serif; font-size: 15px; text-transform: uppercase; }
.admin-brand small { color: #9fa5a8; font-size: 9px; }
.admin-header > div { display: flex; align-items: center; gap: 8px; }
.admin-header button, .admin-header > div a { min-height: 34px; padding: 0 13px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; background: transparent; color: white; cursor: pointer; font-size: 9px; font-weight: 800; }
.admin-header button:hover, .admin-header > div a:hover { border-color: var(--yellow); color: var(--yellow); }
.admin-content { max-width: 1500px; margin: 0 auto; padding: 60px clamp(20px, 4vw, 58px) 90px; }
.admin-title { margin-bottom: 34px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.admin-title p { max-width: 430px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.admin-stats { margin-bottom: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.admin-stats article { min-height: 132px; padding: 20px; display: grid; align-content: space-between; border: 1px solid #daddde; border-radius: 12px; background: white; }
.admin-stats span { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.admin-stats b { font-family: "Arial Black", sans-serif; font-size: 38px; }
.admin-stats small { color: var(--muted); font-size: 9px; }
.admin-stats article.has-warning { border-color: #e3b44f; background: #fff9e9; }
.admin-stats article.has-warning b { color: #ad7300; }
.orders-panel { overflow: hidden; border: 1px solid #daddde; border-radius: 15px; background: white; }
.orders-heading { padding: 24px 26px; display: flex; align-items: end; justify-content: space-between; border-bottom: 1px solid #e4e6e7; }
.orders-heading .eyebrow { margin-bottom: 6px; }
.orders-heading h2 { margin: 0; font-family: "Arial Black", sans-serif; font-size: 25px; text-transform: uppercase; }
.orders-heading > span { color: var(--muted); font-size: 10px; }
.admin-empty { padding: 70px 25px; text-align: center; }
.admin-empty p { color: var(--muted); font-size: 12px; }
.admin-empty a { color: #8b6800; font-size: 11px; font-weight: 850; }
.admin-order + .admin-order { border-top: 1px solid #e4e6e7; }
.order-row { width: 100%; min-height: 82px; padding: 16px 22px; display: grid; grid-template-columns: 1.2fr 1fr 1.4fr .7fr .55fr 26px; gap: 16px; align-items: center; border: 0; background: white; text-align: left; cursor: pointer; }
.order-row:hover, .admin-order.is-open .order-row { background: #faf9f4; }
.order-row > span { display: grid; gap: 5px; min-width: 0; }
.order-row small { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.order-row b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.order-row > strong { font-size: 15px; text-align: right; white-space: nowrap; }
.order-row > i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-style: normal; font-weight: 900; }
.quality-label { color: var(--success); }
.quality-label.warning { color: #a56c00; }
.quality-label.low { color: #ba3030; }
.quality-label.no-image { color: var(--muted); }
.order-detail { padding: 25px; display: grid; grid-template-columns: 250px 1fr 190px; gap: 28px; border-top: 1px solid #e4e6e7; background: #f6f7f7; }
.production-visual { min-width: 0; }
.production-visual > img, .production-visual > div { width: 100%; height: 220px; object-fit: contain; display: grid; place-items: center; border: 1px solid #daddde; border-radius: 9px; background-color: white; background-image: linear-gradient(45deg, #eee 25%, transparent 25%), linear-gradient(-45deg, #eee 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #eee 75%), linear-gradient(-45deg, transparent 75%, #eee 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0; }
.production-visual a { min-height: 36px; margin-top: 8px; padding: 0 10px; display: grid; place-items: center; border-radius: 6px; background: var(--ink); color: white; text-align: center; font-size: 8px; font-weight: 850; }
.production-specs h3 { margin: 0 0 13px; font-size: 15px; }
.production-specs dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; }
.production-specs dl > div { min-width: 0; display: grid; gap: 3px; border-bottom: 1px solid #dde0e1; padding-bottom: 7px; }
.production-specs dt { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.production-specs dd { margin: 0; font-size: 10px; font-weight: 750; }
.status-control { align-self: start; padding: 14px; display: grid; gap: 8px; border: 1px solid #daddde; border-radius: 9px; background: white; }
.status-control span { font-size: 8px; font-weight: 850; text-transform: uppercase; }
.status-control select { height: 40px; border: 1px solid var(--line); border-radius: 6px; padding: 0 8px; background: white; font-size: 10px; }

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1050px) {
  .site-header { padding: 0 20px; }
  .main-nav { position: fixed; top: 114px; left: 0; right: 0; max-height: calc(100dvh - 114px); overflow-y: auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 20px; background: var(--ink); }
  .main-nav.is-open { display: flex; }
  .main-nav > a, .nav-dropdown summary { padding: 15px 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-highlight { margin-bottom: 10px; }
  .dropdown-panel { position: static; min-width: 0; margin: 0; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; border-radius: 0; background: #181a1c; color: white; }
  .menu-button { display: grid; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 520px; }
  .hero-visual { min-height: 480px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .custom-section { grid-template-columns: 1fr; }
  footer { grid-template-columns: repeat(2, 1fr); }
	.contact-hero { grid-template-columns: 1fr; }
	.contact-form-section { grid-template-columns: 1fr; }
	.contact-form-copy { position: static; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .order-row { grid-template-columns: 1.2fr 1fr 1.3fr .7fr auto 26px; gap: 10px; }
  .order-detail { grid-template-columns: 220px 1fr; }
  .status-control { grid-column: 1 / -1; grid-template-columns: 1fr 220px; align-items: center; }
}

@media (max-width: 760px) {
  .announcement { min-height: 54px; gap: 8px; padding: 6px 10px; font-size: 8px; letter-spacing: .04em; }
  .announcement a { min-height: 26px; padding: 4px 8px; font-size: 8px; }
  .site-header { height: 68px; }
  .brand { width: 118px; margin-left: -20px; }
  .brand img { width: 108px; height: 64px; }
  .search-trigger { display: none; }
  .main-nav { top: 102px; max-height: calc(100dvh - 102px); }
  .hero-copy { min-height: 500px; padding: 65px 25px; }
  .hero h1 { font-size: 49px; }
  .hero p { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-visual { min-height: 370px; }
  .hero-visual::after { background: linear-gradient(0deg, var(--ink), transparent 28%); }
  .hero-note { left: 20px; right: auto; }
  .trust-strip { grid-template-columns: 1fr; padding: 25px; }
  .section { padding: 78px 20px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 30px; }
  .section-heading h2, .editorial-copy h2 { font-size: 39px; }
  .theme-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .theme-card { height: 295px; }
  .theme-card > span { left: 15px; right: 15px; bottom: 16px; }
  .theme-card b { font-size: 21px; }
  .theme-card small { min-height: 26px; }
  .theme-card i { font-size: 9px; }
  .shop-heading .search-box { min-width: 0; width: 100%; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
  .filter-row button { flex: 0 0 auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-info { padding: 14px; }
  .product-info h3 { min-height: 58px; font-size: 14px; }
  .product-info small { font-size: 8px; }
  .product-bottom b { font-size: 15px; }
  .product-bottom button { width: 36px; height: 36px; }
  .custom-section { padding: 78px 24px; }
  .custom-section h2 { font-size: 44px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 100px; }
  .inspiration { grid-template-columns: 1fr; }
  .editorial-visual, .editorial-visual img { min-height: 390px; }
  .newsletter { padding: 60px 22px; grid-template-columns: 1fr; gap: 30px; }
  .newsletter form { grid-template-columns: 1fr; gap: 8px; }
  .newsletter input, .newsletter button { border-radius: 8px; height: 52px; }
  footer { grid-template-columns: 1fr 1fr; padding: 55px 24px; gap: 35px 25px; }
  .footer-brand { grid-column: 1 / -1; }
	.contact-hero { min-height: 0; padding: 68px 22px; gap: 45px; }
	.contact-hero h1 { font-size: 48px; }
	.contact-direct { grid-template-columns: 1fr; }
	.contact-direct article { min-height: 235px; padding: 24px; }
	.contact-form-section { padding: 70px 20px; gap: 35px; }
	.contact-form-grid { grid-template-columns: 1fr; }
	.contact-full { grid-column: auto; }
	.contact-form { padding: 24px 18px; }
  .customizer-modal, .quick-modal { grid-template-columns: 1fr; }
  .customizer-preview { padding: 28px 20px; }
  .mock-product { min-height: 330px; }
  .customizer-form { padding: 38px 22px; }
  .customizer-form h2 { font-size: 31px; }
  .quick-image { min-height: 330px; }
  .quick-copy { padding: 38px 22px; }
  .quick-copy h2 { font-size: 32px; }
  .quick-actions { grid-template-columns: 1fr; }
  .configurator-shell { padding: 0; }
  .advanced-customizer { width: 100vw; height: 100dvh; max-height: none; grid-template-columns: 1fr; border-radius: 0; overflow-y: auto; }
  .config-preview-panel { min-height: 700px; padding: 28px 18px 22px; }
  .config-preview-heading { padding-right: 48px; }
  .config-preview-heading b { font-size: 15px; }
  .product-stage { min-height: 410px; }
  .stage-mode-switch { top: 44px; }
  .stage-mode-switch button { padding: 0 9px; }
  .stage-gesture-hint { bottom: 9px; }
  .mockup-object.is-true-3d { width: min(330px, 82%); height: min(430px, 86%); }
  .mockup-tshirt { width: min(280px, 60%); }
  .mockup-glass { width: min(150px, 38%); }
  .mockup-bottle { width: min(210px, 56%); }
  .mockup-wood { height: min(320px, 69%); }
  .mockup-slate, .mockup-aluminum { height: min(320px, 69%); }
  .mockup-towel { height: min(330px, 72%); }
  .mockup-potholder { height: min(250px, 55%); }
  .mockup-apron { height: min(360px, 78%); }
  .turntable-controls { grid-template-columns: 1fr; }
  .turntable-presets { justify-content: stretch; }
  .turntable-presets button { flex: 1; }
  .turn-axis-controls { grid-column: 1; grid-template-columns: 1fr; gap: 8px; }
  .stage-toolbar { grid-template-columns: 1fr 1fr; }
  .stage-toolbar.has-3d { grid-template-columns: 1fr 1fr; }
  .stage-toolbar button { grid-column: 1 / -1; }
  .wrap-proof { grid-template-columns: 1fr; }
  .config-controls { overflow: visible; padding: 42px 18px 34px; }
  .config-row { grid-template-columns: 1fr; }
  .bottle-shape-picker > div:first-child { align-items: flex-start; flex-direction: column; gap: 4px; }
  .bottle-shape-picker > div:last-child { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .material-picker > div:first-child { align-items: flex-start; flex-direction: column; gap: 4px; }
  .material-picker > div:first-child span { text-align: left; }
  .compatibility-badge { min-height: 62px; margin-bottom: 12px; }
  .color-picker > div:first-child, .background-tools > div:first-child { align-items: flex-start; flex-direction: column; gap: 4px; }
  .placement-picker > div:first-child, .wrap-picker > div:first-child { align-items: flex-start; flex-direction: column; gap: 4px; }
  .placement-picker span, .wrap-picker span { text-align: left; }
  .placement-picker > div:last-child { grid-template-columns: 1fr 1fr; }
  .background-buttons { grid-template-columns: 1fr 1fr; }
  .advanced-upload { grid-template-columns: 1fr; grid-template-areas: "title" "detail" "action"; }
  .advanced-upload i { margin-top: 5px; text-align: center; }
  .admin-login-page { padding: 16px; }
  .admin-login-card { padding: 34px 24px; }
  .admin-header { padding: 12px 18px; align-items: flex-start; }
  .admin-brand span { display: none; }
  .admin-header > div { flex-wrap: wrap; justify-content: flex-end; }
  .admin-content { padding: 48px 16px 70px; }
  .admin-title { align-items: flex-start; flex-direction: column; gap: 15px; }
  .admin-title h1 { font-size: 44px; }
  .admin-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .admin-stats article { min-height: 112px; padding: 15px; }
  .orders-heading { align-items: flex-start; flex-direction: column; gap: 8px; padding: 20px 17px; }
  .orders-heading h2 { font-size: 20px; }
  .order-row { grid-template-columns: 1fr auto; padding: 15px; }
  .order-row > span { grid-column: 1; }
  .order-row > strong { grid-column: 2; grid-row: 1; }
  .order-row > i { grid-column: 2; grid-row: 3; }
  .order-detail { padding: 17px; grid-template-columns: 1fr; }
  .production-specs dl { grid-template-columns: 1fr; }
  .status-control { grid-column: auto; grid-template-columns: 1fr; }
}

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