:root {
  --purple: #4330e9;
  --ink: #15213b;
  --muted: #677084;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.wrap { width: min(90%, 1440px); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -100px; background: white; padding: 12px; z-index: 5; }
.skip:focus { top: 12px; }
.promo { background: var(--purple); color: white; text-align: center; min-height: 40px; display: grid; place-items: center; font-weight: 600; font-size: 15px; padding: 8px; }
header { background: #f9fafb; }
.masthead { min-height: 94px; display: grid; grid-template-columns: 1fr minmax(240px, 374px) 1fr; align-items: center; gap: 24px; padding-inline: 16px; }
.logo { width: 106px; height: 61px; object-fit: contain; }
.search { display: flex; gap: 12px; align-items: center; padding: 0 22px; background: #f1f2f6; border-radius: 16px; height: 49px; }
.search input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); }
svg { width: 24px; height: 24px; flex: none; stroke: currentColor; stroke-width: 1.7; fill: none; }
.tools { display: flex; align-items: center; justify-content: end; gap: 34px; font-size: 13px; }
.icon { border: 0; background: transparent; color: var(--purple); display: flex; align-items: center; gap: 5px; }
nav { display: flex; justify-content: space-evenly; min-height: 56px; align-items: stretch; }
nav button { background: none; border: 0; font-size: 15px; color: #535d70; padding: 12px; white-space: nowrap; }
nav button:hover { color: var(--purple); }
.hero { background: #35313b url('background.jpg') center / cover; }
.hero-inner { display: grid; grid-template-columns: 57.4% 42.6%; align-items: center; padding-block: 32px; min-height: 392px; }
.hero picture { grid-area: 1 / 2; display: block; }
.hero picture img { display: block; width: 100%; height: 285px; object-fit: cover; border-radius: 0 32px 32px 0; }
.intro { grid-area: 1 / 1; position: relative; z-index: 1; padding: 39px 40px 40px; min-height: 328px; border-radius: 24px; background: linear-gradient(125deg,#ffffffe0,#ffffffe8); color: #080808; backdrop-filter: blur(18px); }
h1 { margin: 0 0 13px; font-size: clamp(27px, 3.65vw, 56px); letter-spacing: -.035em; line-height: 1.12; }
.intro p { margin: 0; max-width: 590px; line-height: 1.45; font-size: 15px; }
.intro details { margin-top: 22px; font-size: 13px; }
summary { cursor: pointer; color: var(--muted); }
.intro details p { margin-top: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; }
.pills button { border: 1px solid #eeebff; background: white; color: #505b70; border-radius: 40px; padding: 14px 24px; font-weight: 600; }
.catalogue { padding-block: 40px 65px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; color: var(--purple); }
.toolbar select { background: white; border: 0; color: inherit; padding: 10px; }
.outline { border: 2px solid #e6e6ea; border-radius: 17px; padding: 16px 30px; color: var(--purple); background: white; box-shadow: 0 8px 20px #19112d0a; }
#count { font-size: 23px; margin: 25px 0 14px; }
#filters { border: 1px solid #e5e5ef; padding: 16px; border-radius: 14px; margin: 18px 0 0; }
#filter-options { display: flex; gap: 8px; flex-wrap: wrap; }
#filter-options button, .sizes button { background: white; border: 1px solid #dddbea; padding: 9px 13px; border-radius: 9px; }
button[aria-pressed=true] { color: white !important; background: var(--purple) !important; }
.grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; }
.card { position: relative; background: #fff; border-radius: 31px; overflow: hidden; box-shadow: 0 22px 45px #30218c20; }
.card-open { display: block; width: 100%; text-align: left; border: 0; background: white; padding: 0; }
.card-open img { display: block; width: 100%; aspect-ratio: 1.05; object-fit: contain; }
.badge { position: absolute; right: 12px; top: 12px; border-radius: 6px; padding: 5px 8px; background: #ffe64f; color: #292200; font-size: 12px; pointer-events: none; }
.card-info { display: block; padding: 0 22px 19px; }
.card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 48px; line-height: 24px; font-weight: 700; letter-spacing: -.025em; }
.card-price { display: block; border-top: 1px solid #e4e5eb; margin-top: 12px; padding-top: 12px; font-size: 14px; font-weight: 700; }
.card-note { display: block; margin-top: 12px; color: var(--purple); font-size: 14px; }
.card-open:hover .card-title { text-decoration: underline; }
footer { background: #111c36; color: white; }
.footer-inner { display: flex; gap: 24px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-block: 35px; }
.footer-inner p { margin-bottom: 0; color: #c9cce0; }
html:has(dialog[open]), body:has(dialog[open]) { overflow: hidden; overscroll-behavior: none; }
dialog { width: min(740px,94vw); max-width: 94vw; max-height: min(90vh, 90dvh); border: 0; border-radius: 22px; padding: 30px; color: var(--ink); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
dialog#dialog { padding: 0; overflow: hidden; }
dialog#dialog[open] { display: flex; flex-direction: column; }
#dialog-body { flex: 1 1 auto; min-height: 0; width: 100%; max-width: 100%; padding: 28px 26px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
dialog::backdrop { background: #11162a80; touch-action: none; }
.close { position: absolute; right: 12px; top: 12px; z-index: 5; border: 1px solid #e6e4f0; background: white; border-radius: 50%; width: 36px; height: 36px; font-size: 23px; display: grid; place-items: center; box-shadow: 0 4px 12px #15102e18; }
.product-detail { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; align-items: start; width: 100%; max-width: 100%; overflow-x: hidden; touch-action: pan-y; }
.product-detail > * { min-width: 0; max-width: 100%; }
.product-detail img { display: block; width: 100%; max-width: 100%; border-radius: 16px; background: #f8f7fa; }
.product-detail h2 { margin-top: 0; overflow-wrap: anywhere; }
.sizes { display: flex; flex-wrap: wrap; gap: 7px; }
.primary { border: 0; background: var(--purple); color: white; border-radius: 12px; padding: 12px 17px; margin-top: 12px; }
.line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e5e5ef; }
.line button { border: 0; background: white; color: var(--purple); }
form label { display: block; margin-top: 12px; }
form input, form textarea { display: block; width: 100%; margin-top: 5px; padding: 10px; border: 1px solid #c9ccda; border-radius: 8px; }
@media(max-width: 900px) {
  .grid { gap: 18px; }
  .intro { padding: 27px; }
  .pills { gap: 8px; margin-top: 28px; }
  .pills button { padding: 10px 13px; }
}
@media(max-width: 650px) {
  .masthead { grid-template-columns: 1fr auto; gap: 8px; padding: 10px 0; }
  .logo { height: 42px; width: 83px; }
  .search { grid-row: 2; grid-column: 1 / -1; height: 41px; }
  nav { overflow-x: auto; justify-content: start; min-height: 45px; }
  nav button { font-size: 13px; }
  .hero-inner { display: flex; flex-direction: column; padding: 18px 0; gap: 0; }
  .hero picture { width: 100%; }
  .hero picture img { height: 200px; border-radius: 20px 20px 0 0; object-position: center 25%; }
  .intro { border-radius: 0 0 20px 20px; min-height: 0; padding: 22px; width: 100%; }
  .intro p { font-size: 13px; }
  .intro details { margin-top: 12px; }
  .pills { margin-top: 19px; }
  .pills button { font-size: 12px; }
  .catalogue { padding-top: 22px; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .card { border-radius: 19px; }
  .card-info { padding: 0 12px 14px; }
  .card-title { font-size: 13px; line-height: 19px; height: 38px; }
  .card-price, .card-note { font-size: 12px; }
  .toolbar { font-size: 12px; }
  .outline { padding: 11px 14px; }
  .toolbar select { max-width: 125px; }
  dialog { width: 94vw; max-width: 94vw; max-height: min(88vh, 88dvh); padding: 18px 16px 22px; border-radius: 20px; }
  dialog#dialog { padding: 0; }
  #dialog-body { padding: 18px 16px 22px; }
  .product-detail { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .product-detail img { max-height: 220px; object-fit: contain; border-radius: 16px; }
}

.pagination { gap: 8px; justify-content: center; align-items: center; margin-top: 40px; }
.pagination button { width: 42px; height: 42px; border: 1px solid #e2e0ec; border-radius: 50%; background: white; }
.pagination button[aria-current=page] { background: var(--purple); color: white; border-color: var(--purple); }
footer { background: #101a31; }
footer h2 { font-size: 17px; margin: 0 0 17px; }
.footer-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(210px, 1.2fr); gap: 28px; padding-block: 48px 36px; }
.footer-columns ul, .payment-list { list-style: none; margin: 0; padding: 0; }
.footer-columns li, .footer-columns details { margin-bottom: 12px; }
.footer-columns a, .footer-columns button, .footer-columns summary, .footer-columns li span { color: #e2e5ef; font-size: 14px; text-decoration: none; }
.footer-columns a:hover, .footer-columns button:hover { text-decoration: underline; }
.footer-columns button { background: transparent; padding: 0; border: 0; }
.footer-columns p, .footer-note { color: #cbd0df; font-size: 13px; line-height: 1.55; }
.membership { padding: 20px; background: #202c4c; border-radius: 18px; }
.membership .membership-link { display: inline-block; padding: 9px 13px; border-radius: 18px; background: white; color: var(--ink); }
.footer-services { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 25px; border-top: 1px solid #ffffff29; }
.payment-list, .app-links { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-list li, .app-links a { padding: 7px 10px; font-size: 12px; border: 1px solid #ffffff44; border-radius: 6px; }
.payment-list li { color: var(--ink); background: white; font-weight: 700; }
.app-links a { text-decoration: none; }
.app-links a:hover { background: #ffffff18; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 22px; border-top: 1px solid #ffffff29; color: #cbd0df; font-size: 13px; }
@media (max-width: 1000px) { .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } .membership { grid-column: 1 / -1; } }
@media (max-width: 650px) { .footer-columns { gap: 25px 14px; padding-block: 32px; } .footer-services { grid-template-columns: 1fr; } }

.kit-nav { gap: 12px; justify-content: center; align-items: center; overflow-x: auto; }
.kit-nav a { padding: 14px; text-decoration: none; white-space: nowrap; }
.kit-nav a:hover { color: var(--purple); }
.kit-hero picture, .kit-hero img { display: block; width: 100%; }
.kit-hero img { height: clamp(260px, 34vw, 560px); object-fit: cover; }
.kit-intro { max-width: 850px; padding-block: 44px 30px; text-align: center; }
.kit-intro p { margin: 0 auto; max-width: 690px; color: var(--muted); line-height: 1.55; }
#collections { padding-bottom: 56px; }
.kit-section { display: grid; grid-template-columns: minmax(215px, 24%) minmax(0, 1fr); gap: 24px; align-items: stretch; margin-block: 34px 54px; }
.kit-cover { display: grid; grid-template-rows: 1fr auto; overflow: hidden; border-radius: 20px; background: #edeaff; }
.kit-cover img { width: 100%; height: 100%; min-height: 215px; object-fit: contain; background: #f4f4f7; }
.kit-cover h2 { margin: 0; padding: 17px; font-size: clamp(20px, 2vw, 30px); }
#exterieur .kit-cover { background: #e4ede6; }
#third .kit-cover { background: #f8e6ee; }
#enfants .kit-cover { background: #e9effb; }
.kit-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 5px 5px 20px; scrollbar-color: #c2b9e9 #f0edf6; }
.kit-track .card { scroll-snap-align: start; border-radius: 18px; box-shadow: 0 5px 12px #30218c1a; }
.quick-sizes { display: flex; flex-wrap: wrap; padding: 0 12px 15px; gap: 4px; }
.quick-sizes button { min-width: 30px; min-height: 30px; padding: 3px; font-size: 12px; border: 1px solid #dedbea; border-radius: 4px; background: white; }
.quick-sizes button:hover { border-color: var(--purple); color: var(--purple); }
@media (max-width: 880px) {
  .kit-track { grid-auto-columns: calc((100% - 18px) / 2); }
}
@media (max-width: 640px) {
  .kit-nav { justify-content: start; }
  .kit-intro { padding-block: 30px 18px; }
  .kit-section { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-block: 22px 34px; }
  .kit-cover { grid-template-columns: 42% 1fr; grid-template-rows: auto; align-items: center; }
  .kit-cover img { height: 142px; min-height: 0; }
  .kit-track { grid-auto-columns: minmax(145px, 61%); }
}

.wordmark { text-decoration: none; font-size: 27px; font-weight: 900; letter-spacing: .12em; }
.wordmark small { display: block; font-size: 10px; letter-spacing: .24em; color: var(--purple); }
.kit-nav a[aria-current=true] { color: var(--purple); box-shadow: inset 0 -2px var(--purple); }
.showcase { margin-block: 24px 52px; border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: 37% minmax(0,1fr); background: #ebe8ff; }
.showcase-copy { padding: clamp(24px,4vw,65px); align-self: center; }
.showcase-copy h1 { font-size: clamp(36px,5.5vw,80px); line-height: .98; }
.showcase-copy p { line-height: 1.55; }
.eyebrow { letter-spacing: .13em; color: var(--purple); font-size: 12px; font-weight: 800; }
.showcase-copy .primary { display: inline-block; text-decoration: none; margin-top: 12px; }
.showcase-photos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); min-height: 320px; }
.showcase-photos img { width: 100%; height: 100%; max-height: 500px; object-fit: cover; object-position: center; }
.shop-catalogue { padding-bottom: 40px; }
.shop-catalogue h2 { font-size: clamp(27px,4vw,44px); margin-bottom: 16px; }
.catalogue-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding: 16px; background: #f5f4fa; border-radius: 18px; }
.catalogue-controls label { flex: 1 1 145px; display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.catalogue-controls select, #product-form select { width: 100%; color: var(--ink); border: 1px solid #dcd8e8; background: white; border-radius: 9px; min-height: 42px; padding: 8px; }
.catalogue-controls .outline, .tools .outline { padding: 10px 15px; border-radius: 10px; min-height: 42px; }
#teams { min-height: 0; justify-content: start; display: flex; flex-wrap: wrap; gap: 7px; }
#teams a { padding: 8px 12px; border-radius: 24px; background: #eeebfc; text-decoration: none; font-size: 13px; }
.universe h3 { background: #171330; color: white; padding: 17px 20px; border-radius: 12px; margin-top: 34px; font-size: 24px; }
.team-section { margin-bottom: 30px; scroll-margin-top: 16px; }
.team-heading { display: flex; align-items: baseline; gap: 12px; padding-block: 9px 12px; flex-wrap: wrap; }
.team-heading h4 { margin: 0; font-size: 22px; }
.team-heading span { color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.product-grid .card { border-radius: 14px; border: 1px solid #e9e6f0; box-shadow: 0 8px 22px #30218c10; }
.product-grid .card-open { height: 100%; display: flex; flex-direction: column; }
.product-grid .card-open img { aspect-ratio: 1 / 1.12; background: #f8f7fa; object-fit: contain; }
.product-grid .card-info { flex: 1; padding: 12px; }
.product-link { color: var(--purple); font-size: 13px; font-weight: 700; }
#product-form label { display: grid; gap: 8px; }
.product-detail img { max-height: 65vh; object-fit: contain; }
@media(max-width: 800px) {
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .showcase { grid-template-columns: 1fr; }
  .showcase-photos { min-height: 0; }
  .showcase-photos img { aspect-ratio: .82; }
}
@media(max-width: 560px) {
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .showcase { margin-bottom: 30px; }
  .kit-nav { justify-content: start; }
  .catalogue-controls label { flex-basis: 105px; }
  .product-grid .card-title { font-size: 14px; }
}

.wordmark { font-size: clamp(18px, 2.5vw, 28px); letter-spacing: .075em; }
.showcase { background: linear-gradient(135deg, #181438, #302364); color: white; }
.showcase-copy .eyebrow { color: #f5d988; }
.showcase-copy .primary { background: #f5d988; color: #181438; }
.featured { padding-bottom: 34px; }
.featured-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 18px; }
.featured-heading h2 { font-size: clamp(28px, 4vw, 48px); margin: 0; }
.featured-heading a { font-weight: 700; color: var(--purple); }
.featured .card { border-top: 4px solid var(--team-accent); }
.team-chip { display: table; width: fit-content; padding: 5px 9px; margin-bottom: 9px; border-radius: 20px; background: var(--team-primary); color: white; font-size: 12px; font-weight: 700; }
.team-heading { background: var(--team-primary); color: white; border-inline-start: 6px solid var(--team-accent); padding: 14px 18px; margin-bottom: 12px; border-radius: 10px; }
.team-heading span { color: white; }
#teams a { background: white; border: 1px solid #e9e6f0; border-inline-start: 4px solid var(--team-accent); color: var(--team-primary); font-weight: 700; }
.product-grid .product-link { color: var(--team-primary); }
.product-grid .card-open:focus-visible { outline-offset: -3px; }

.type-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.type-shortcuts button { border: 1px solid #ded9ee; border-radius: 24px; padding: 9px 13px; background: white; }
.team-type { margin-bottom: 16px; }
.team-type h5 { display: flex; align-items: center; gap: 8px; margin: 16px 0 9px; color: var(--team-primary); font-size: 15px; }
.team-type h5 span { border-radius: 12px; padding: 2px 7px; background: #f1eef8; font-size: 12px; }
.arrival-label { display: block; color: var(--team-primary); font-size: 12px; font-weight: 700; margin-bottom: 6px; }

html { scroll-behavior: smooth; }
.showcase-photos { position: relative; overflow: hidden; }
.showcase-photos img { animation: showcase-drift 12s ease-in-out infinite alternate; }
.showcase-photos img:nth-of-type(2) { animation-delay: -5s; }
.showcase-photos img:nth-of-type(3) { animation-delay: -8s; }
@keyframes showcase-drift { from { transform: scale(1.01); } to { transform: scale(1.12) translateY(1%); } }
.motion-toggle { position: absolute; z-index: 1; right: 12px; bottom: 12px; border: 1px solid #ffffff60; border-radius: 24px; padding: 8px 12px; background: #16122eea; color: white; font-size: 12px; }
.motion-paused .showcase-photos img { animation-play-state: paused; }
html:has(.motion-paused) { scroll-behavior: auto; }
.badge-gallery { padding-bottom: 38px; }
.badge-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 124px; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 5px 4px 14px; }
.badge-rail a { display: grid; place-items: center; align-content: center; gap: 9px; min-height: 115px; text-align: center; text-decoration: none; font-size: 13px; font-weight: 700; padding: 10px; color: var(--team-primary); background: #f8f7fc; border: 1px solid #e8e4f2; border-bottom: 3px solid var(--team-accent); border-radius: 14px; scroll-snap-align: start; transition: transform .2s, box-shadow .2s; }
.badge-controls { display: flex; gap: 8px; }
.badge-controls button { border: 1px solid #ddd7ec; background: white; border-radius: 50%; width: 44px; height: 44px; font-size: 24px; }
.team-badge { display: inline-block; width: 48px; height: 48px; object-fit: contain; vertical-align: middle; }
.team-heading { align-items: center; }
.team-heading .team-badge { width: 48px; height: 48px; border-radius: 10px; padding: 5px; background: white; }
#teams a, .product-team { display: inline-flex; gap: 7px; align-items: center; }
#teams .team-badge, .team-chip .team-badge { width: 20px; height: 20px; margin-right: 4px; }
.team-chip .team-badge { border-radius: 4px; padding: 2px; background: white; }
.product-grid .card { transition: transform .25s ease, box-shadow .25s ease; }
.product-grid .card-open > img { transition: transform .35s ease; }
@media (hover: hover) {
  .badge-rail a:hover, .product-grid .card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px #24184a22; }
  .product-grid .card:hover .card-open > img { transform: scale(1.035); }
}
dialog[open] { animation: panel-enter .2s ease; }
@keyframes panel-enter { from { opacity: 0; } to { opacity: 1; } }
.motion-paused :is(.card, .card-open > img, .badge-rail a), .motion-paused dialog[open] { transition: none; animation: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .showcase-photos img, dialog[open] { animation: none; }
  .badge-rail a, .product-grid .card, .product-grid .card-open > img { transition: none; transform: none !important; }
}

#product-form { width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; touch-action: pan-y; }
#product-form select { font-size: 16px; border-radius: 12px; max-width: 100%; }
.product-stepper .product-quantity { box-sizing: border-box; width: 100%; min-width: 0; height: 32px; padding: 2px 3px; text-align: center; font-size: 16px; color: var(--ink); border: 1px solid #dcd8e8; border-radius: 10px; background: white; }

#product-form .product-stepper > label { display: block; margin-bottom: 4px; text-align: center; font-size: 11px; font-weight: 700; }
.quantity-controls { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; align-items: center; min-height: 44px; }
.quantity-controls button { display: grid; place-items: center; width: 30px; height: 36px; padding: 0; border: 1px solid #dcd8e8; border-radius: 9px; background: #f3efff; color: var(--purple); font-size: 18px; font-weight: 700; }
.quantity-controls .product-quantity { appearance: textfield; -moz-appearance: textfield; border-color: transparent; }
.product-quantity::-webkit-inner-spin-button,
.product-quantity::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.product-stepper { width: 90px; }
.product-stepper .product-quantity { margin-top: 0; }
.delivery-fields { min-width: 0; width: 100%; max-width: 100%; display: grid; gap: 10px; margin: 12px 0 0; padding: 12px; border: 1px solid #dcd8e8; border-radius: 14px; overflow: hidden; }
.delivery-fields legend { padding: 0 6px; font-weight: 700; }
.delivery-fields label { font-size: 13px; min-width: 0; max-width: 100%; }
.delivery-fields label :is(input, textarea) { margin: 0; }
.delivery-fields :is(input, textarea) { font-family: inherit; font-size: 16px; border-radius: 10px; max-width: 100%; }
.checkout-actions { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: end; gap: 10px; margin-top: 12px; width: 100%; max-width: 100%; }
.checkout-actions .product-order { width: 100%; min-height: 48px; margin-top: 0; font-weight: 700; border-radius: 14px; }
.order-demo { font-size: 12px; color: var(--muted); }
.order-feedback:empty { margin: 0; }
.order-feedback:not(:empty) { padding: 10px; border-radius: 10px; background: #f3efff; }

.phone-field { display: flex; min-width: 0; width: 100%; max-width: 100%; border: 1px solid #c9ccda; border-radius: 10px; background: white; overflow: hidden; }
.phone-field:focus-within { outline: 2px solid var(--purple); outline-offset: 2px; }
.phone-field input { flex: 1; width: 0; min-width: 0; margin: 0; border: 0; outline: none; background: transparent; font-size: 16px; }
.phone-country { position: relative; display: flex; flex: none; align-items: center; gap: 4px; padding-inline: 8px; border-left: 1px solid #e3dfef; color: var(--purple); white-space: nowrap; font-size: 12px; font-weight: 700; }
#product-form .phone-country select { position: absolute; inset: 0; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }

.confirm-dialog { width: min(460px, 92vw); border: 0; border-radius: 16px; padding: 28px 24px 24px; box-shadow: 0 24px 64px #0e0a2445; text-align: center; }
.confirm-dialog::backdrop { background: #0e0a2478; backdrop-filter: blur(3px); }
.confirm-dialog-body { display: grid; gap: 12px; justify-items: center; }
.confirm-badge { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #e8f8ef; color: #117a43; font-size: 28px; font-weight: 800; }
.confirm-dialog h2 { margin: 4px 0 0; font-size: clamp(22px, 3vw, 28px); color: var(--ink); }
.confirm-lead { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 38ch; }
.confirm-summary { width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 10px; background: #f5f3fb; border: 1px solid #e3def2; color: var(--ink); font-size: 13px; line-height: 1.5; text-align: left; }
.confirm-continue-btn { width: 100%; min-height: 48px; margin-top: 6px; border: 0; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; }

.product-autonomous-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.product-autonomous-bar .product-share-btn, .product-autonomous-bar .product-open-sheet { flex: 1 1 140px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 12px; min-height: 40px; border: 1px solid #dcd8e8; border-radius: 12px; background: #f8f7fc; color: var(--purple); font-size: 12px; font-weight: 700; text-decoration: none; box-shadow: none; }
.product-autonomous-bar .product-share-btn:hover, .product-autonomous-bar .product-open-sheet:hover { background: #efecfb; }

.auth-autonomous-wrap { padding-block: 28px 56px; }
.auth-autonomous-card { max-width: 820px; margin: 0 auto; background: white; border: 1px solid #e8e5f2; border-radius: 22px; padding: 28px 26px; box-shadow: 0 20px 50px #1b124014; }
@media (max-width: 650px) {
  .auth-autonomous-wrap { padding-block: 16px 40px; }
  .auth-autonomous-card { padding: 18px 16px 22px; border-radius: 20px; }
}
