/* Base et couleurs */
:root { --ink: #262b27; --muted: #6c7069; --paper: #fcfbf7; --accent: #b9482b; --line: #e5e5dc; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 10px 20px; background: white; z-index: 10; }
.skip-link:focus { top: 10px; }

/* Navigation */
.brand { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
/* Retire les marges transparentes sans réduire le téléphone. */
.brand-mark { position: relative; display: block; width: 80px; height: 72px; flex-shrink: 0; overflow: hidden; }
.brand-image { position: absolute; width: 96px; max-width: none; height: 116px; object-fit: contain; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.brand .logo { line-height: 1; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4px 20px; padding-top: 8px; }
.header-inner .brand { grid-column: 2; grid-row: 1; justify-self: center; }
.header-inner .cart-button { grid-column: 3; grid-row: 1; justify-self: end; }
.header-inner nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; width: 100%; padding-block: 4px; border-top: 1px solid var(--line); }
.logo { font-size: 32px; font-weight: 800; letter-spacing: -1.6px; white-space: nowrap; }
.logo > span:first-child { font-weight: 400; }
.iphone-search { grid-column: 1 / -1; grid-row: 3; display: flex; width: min(100%, 480px); justify-self: center; gap: 8px; margin: 4px 0 12px; }
.iphone-search input { min-width: 0; flex: 1; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); font: inherit; font-size: 16px; }
.iphone-search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.iphone-search button { border: 0; border-radius: 6px; padding: 10px 14px; background: var(--ink); color: white; font-size: 15px; }
.iphone-search button:hover { background: var(--accent); }
.search-results { margin-bottom: 28px; }
.model-results { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 12px; }
.model-results a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; }
.model-results a:hover { border-color: var(--accent); color: var(--accent); }
.reset-search { display: inline-block; margin-top: 10px; text-decoration: underline; font-size: 15px; }
nav { display: flex; flex-wrap: wrap; gap: 32px; font-size: 18px; }
nav a { position: relative; padding-block: 10px; transition: color .2s ease, transform .2s ease; }
nav a:hover, nav a:focus-visible { transform: scale(1.15); }
nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
nav a:hover, nav a:focus-visible, nav a[aria-current]{ color: var(--accent); }
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); }
.cart-button { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; font-size: 16px; color: var(--ink); padding: 10px 0; }
.cart-count { background: #e9eddf; border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; font-size: 14px; }
.cart-toast { position: fixed; top: 80px; right: max(18px, calc((100vw - 1180px) / 2)); z-index: 20; max-width: calc(100vw - 36px); padding: 12px 18px; border: 1px solid #d5dfcb; border-radius: 10px; background: #edf3e7; color: #304528; box-shadow: 0 8px 24px #262b2718; font-size: 15px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.cart-toast.is-visible { opacity: 1; transform: translateY(0); }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 18; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid #c9d9cc; border-radius: 50%; background: #e2f2e6; color: #24543a; box-shadow: 0 8px 22px #24543a24; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s, background .2s; }
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: #cfe8d4; }
.cart-open { overflow: hidden; }
.cart-drawer { position: fixed; inset: 0; z-index: 30; }
.cart-drawer-backdrop { position: absolute; inset: 0; background: #18201b99; }
.cart-drawer-panel { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; width: min(430px, 100%); height: 100%; padding: 28px 24px; overflow-y: auto; background: var(--paper); box-shadow: -12px 0 40px #0003; animation: cart-drawer-in .24s ease-out; }
.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cart-drawer-header h2 { font-size: 28px; }
.cart-drawer-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 25px; line-height: 1; }
.cart-drawer-close:hover { border-color: var(--accent); color: var(--accent); }
.cart-drawer-content { display: flex; flex-direction: column; flex: 1; }
.cart-drawer-items { flex: 1; }
.cart-drawer-item { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-drawer-item img { width: 64px; height: 78px; object-fit: contain; background: white; }
.cart-drawer-item h3 { font-size: 16px; font-weight: 600; }
.cart-drawer-item p { color: var(--muted); font-size: 13px; line-height: 1.4; }
.cart-drawer-item strong { white-space: nowrap; font-size: 14px; }
.cart-drawer-remove { margin-top: 5px; }
.cart-drawer-remove button { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; text-decoration: underline; }
.cart-drawer-remove button svg { flex: 0 0 auto; }
.cart-drawer-remove button:hover { color: var(--accent); }
.cart-drawer-empty { padding: 35px 0; color: var(--muted); }
.cart-drawer-total { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; font-size: 20px; }
.cart-drawer-checkout { justify-content: space-between; width: 100%; margin-top: 18px; animation: checkout-pulse 3s ease-in-out infinite; }
@keyframes cart-drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes checkout-pulse { 0%, 68%, 100% { transform: scale(1) translateX(0); } 78% { transform: scale(1.07) translateX(-3px); } 86% { transform: scale(1.02) translateX(3px); } 94% { transform: scale(1) translateX(0); } }
.cart-button.floating-cart { display: none; position: fixed; top: 18px; right: 18px; z-index: 19; padding: 12px 18px; border: 1px solid var(--line); border-radius: 30px; background: var(--paper); box-shadow: 0 6px 24px #262b2726; margin: 0; }
.cart-button.floating-cart.is-visible { display: flex; }
.cart-bounce { animation: cart-bounce .55s ease; }
@keyframes cart-bounce { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-9px); } 65% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .cart-bounce, .cart-drawer-checkout { animation: none; } }
.menu-toggle { display: none; }

/* Accueil */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: center; padding-block: 64px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow > span { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
h1 { font-size: clamp(44px, 5vw, 66px); line-height: 1.09; letter-spacing: -2.8px; margin: 24px 0; font-weight: 600; }
h1 em { font-family: Georgia, serif; color: var(--accent); font-weight: 400; }
.hero-description { max-width: 420px; color: var(--muted); font-size: 18px; line-height: 1.85; }
.button { display: inline-flex; align-items: center; gap: 37px; background: var(--ink); color: white; border-radius: 6px; padding: 15px 24px; margin-top: 30px; font-size: 16px; transition: background .2s; }
.button:hover { background: var(--accent); }
.button span { font-size: 21px; line-height: 1; }
.values { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 20px; padding-block: 23px; border-block: 1px solid var(--line); font-size: 15px; }
.values p { display: flex; gap: 13px; align-items: center; }
.values span { font-size: 23px; color: #68725d; }

/* Collection */
.series-browser { margin-bottom: 40px; border: 1px solid #deded5; border-radius: 20px; overflow: hidden; background: #fffefa; box-shadow: 0 12px 35px #262b2706; }
.series-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 30px 24px; }
.series-kicker { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--accent); margin-bottom: 8px; }
.series-heading h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -1px; }
.series-badge { font-size: 12px; white-space: nowrap; padding: 6px 12px; border: 1px solid var(--line); border-radius: 30px; color: var(--muted); }
.series-tabs { display: none; }
.js .series-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 24px 22px; }
.series-tabs button { border: 0; background: transparent; border-radius: 30px; padding: 10px 15px; color: var(--muted); font-size: 15px; transition: background .2s, color .2s; }
.series-tabs button:hover { background: #efeee7; color: var(--ink); }
.series-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.series-panel { padding: 22px 30px 28px; background: #f3f2ec; border-top: 1px solid var(--line); }
.series-model-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.series-model-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 22px 18px; background: #fffefa; border: 1px solid #e3e2da; border-radius: 12px; font-size: 15px; font-weight: 600; transition: transform .2s, border-color .2s, box-shadow .2s; }
.series-model-card:hover, .series-model-card:focus-visible { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 8px 18px #262b270a; }
.series-phone { display: block; position: relative; width: 29px; height: 46px; border: 1.5px solid #7d8778; border-radius: 7px; background: linear-gradient(145deg, #e8eddf, #fdfcf8); }
.series-phone::before { content: ""; position: absolute; width: 9px; height: 3px; border-radius: 3px; top: 4px; left: 8px; background: #7d8778; }
.series-phone::after { content: ""; position: absolute; width: 10px; height: 2px; border-radius: 2px; bottom: 4px; left: 8px; background: #7d8778; }
.series-arrow { position: absolute; top: 18px; right: 18px; color: var(--muted); font-size: 20px; font-weight: 400; }
.series-model-card:hover .series-arrow { color: var(--accent); }
@media (max-width: 700px) {
    .series-heading { padding: 20px 18px; }
    .series-badge { display: none; }
    .js .series-tabs { padding: 0 12px 16px; gap: 4px; }
    .series-tabs button { padding: 9px 12px; }
    .series-panel { padding: 18px; }
    .series-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .series-model-card { padding: 16px 12px; font-size: 14px; }
}
.product-card { min-width: 0; }
.products-section { padding-block: 70px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
h2 { font-size: 40px; line-height: 1.2; letter-spacing: -1.2px; font-weight: 500; }
.section-heading h2 { margin-top: 12px; }
.section-heading h2 span { color: var(--accent); }
.section-heading > p { color: var(--muted); font-size: 16px; padding-bottom: 5px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-image { position: relative; display: grid; place-items: center; height: 320px; border-radius: 10px; background: #f0e9e2; overflow: hidden; }
.product-card:nth-child(2) .product-image { background: #eceee9; }
.product-card:nth-child(3) .product-image { background: #e8ecdf; }
.product-image img { width: 180px; height: 270px; transform: rotate(-9deg); filter: drop-shadow(9px 12px 8px #262b2720); transition: transform .3s; }
.product-card:hover img { transform: rotate(-4deg) translateY(-4px); }
.product-card-photo .product-image { height: 400px; background: white; }
.product-card-photo .product-image img { width: 100%; height: 100%; object-fit: contain; transform: none; filter: none; }
.picture-change { animation: picture-change .45s ease both; }
@keyframes picture-change { from { opacity: .35; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
[data-carousel] { touch-action: pan-y; cursor: grab; user-select: none; }
[data-carousel]:active { cursor: grabbing; }
.carousel-prev, .carousel-next { display: none; position: absolute; z-index: 2; border: 1px solid var(--line); background: #fffffff0; color: var(--ink); border-radius: 50%; width: 36px; height: 36px; align-items: center; justify-content: center; }
.js .carousel-prev, .js .carousel-next { display: flex; }
.carousel-prev, .carousel-next { top: 50%; transform: translateY(-50%); font-size: 28px; }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.product-tag { position: absolute; top: 16px; left: 16px; padding: 4px 10px; background: #fcfbf7; border-radius: 4px; font-size: 13px; z-index: 1; }
.product-tag-highlight { border: 1px solid #9bc7aa; background: #e2f2e6; color: #24543a; font-weight: 700; box-shadow: 0 4px 12px #24543a20; }
.product-details { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.product-benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 11px; }
.product-image .product-benefits { position: absolute; top: 16px; right: 16px; z-index: 3; flex-direction: column; align-items: flex-end; margin-top: 0; }
.product-benefit { padding: 4px 9px; border: 1px solid #c9d9cc; border-radius: 20px; background: #edf6ee; color: #315c3c; font-size: 12px; font-weight: 600; }
.product-benefit-gift { display: inline-flex; align-items: center; gap: 5px; color: #9a6728; border-color: #e2c894; background: #fff4d8; }
h3 { font-size: 18px; font-weight: 500; }
.price { font-size: 17px; white-space: nowrap; }
.product-color { color: var(--muted); font-size: 15px; margin-top: 3px; }
.product-card-photo .product-details { flex-direction: column; align-items: center; gap: 5px; text-align: center; }
.product-card-photo .product-details h3 { font-size: 20px; font-weight: 600; }
.product-card-photo .price { font-weight: 600; }
.product-colors { display: flex; justify-content: center; gap: 12px; border: 0; padding: 0; margin: 12px 0 0; min-width: 0; }
.color-choice { position: relative; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.color-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.color-swatch { width: 26px; height: 26px; background: var(--swatch-color); border: 1px solid #262b2726; border-radius: 50%; pointer-events: none; }
.color-choice input:checked + .color-swatch { outline: 1px solid var(--ink); outline-offset: 4px; }
.color-choice input:focus-visible + .color-swatch { outline: 3px solid var(--accent); outline-offset: 4px; }
.demo-note { margin-top: 25px; color: var(--muted); font-size: 14px; }
.about { position: relative; padding: 40px; border-radius: 10px; background: #e9eddf; margin-bottom: 70px; overflow: hidden; }
.about h2 { margin-block: 17px; }
.about > p:last-of-type { max-width: 640px; color: #565e50; font-size: 17px; }

/* Pied de page */
.site-footer { background: #f1f0e9; }
.footer-bottom { border-top: 1px solid #dcded3; display: flex; justify-content: center; align-items: center; gap: 16px; padding-block: 24px; font-size: 16px; text-align: center; color: var(--muted); }

/* Pages séparées */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.inner-page { padding-block: 55px 70px; }
.page-heading { max-width: 730px; margin-bottom: 36px; }
.page-heading > p:last-child { color: var(--muted); max-width: 620px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card { padding: 30px; background: #e9eddf; border-radius: 10px; }
.info-card h2 { font-size: 28px; margin-bottom: 16px; }
.info-card p { color: #565e50; font-size: 17px; }
.contact-info { max-width: 730px; }
.contact-info.info-card + .info-grid { margin-top: 24px; }
.empty-cart { text-align: center; padding-block: 45px; }
.cart-button[aria-current="page"] { color: var(--accent); }
@media (max-width: 700px) {
    .inner-page { padding-block: 35px 45px; }
    .info-grid { grid-template-columns: 1fr; }
}

/* Tablette et mobile : le menu reste accessible sans JavaScript. */
@media (max-width: 950px) {
.header-inner { column-gap: 18px; } nav { gap: 18px; }
    .hero { gap: 25px; } .product-image { height: 280px; }
    .about > p:last-of-type { max-width: 75%; }
}
@media (max-width: 700px) {
    .container { width: calc(100% - 36px); }
    .header-inner { grid-template-columns: 1fr; padding-top: 8px; gap: 4px; }
    .header-inner .brand { grid-column: 1; }
    .header-inner .cart-button { grid-column: 1; grid-row: 4; justify-self: center; padding-top: 0; }
    .logo { font-size: 28px; } .cart-button { font-size: 15px; gap: 7px; }
    nav { gap: 8px 16px; }
    .hero { grid-template-columns: 1fr; padding-block: 38px; gap: 32px; }
    h1 { font-size: clamp(42px, 10vw, 63px); letter-spacing: -2px; }
    .hero-description { font-size: 17px; max-width: 100%; }
    .values { flex-wrap: wrap; gap: 10px 25px; justify-content: center; font-size: 14px; padding-block: 18px; }
    .values p { gap: 8px; }
    .products-section { padding-block: 42px; }
    .section-heading { display: block; } h2 { font-size: 35px; }
    .section-heading > p { margin-top: 14px; }
.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }    .product-image { height: 330px; } .product-image img { width: 200px; height: 300px; }
    .about { padding: 28px; margin-bottom: 40px; }
    .about > p:last-of-type { max-width: 100%; }
    .footer-bottom { flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Achat et panier */
.purchase-form { display: grid; grid-template-columns: 1fr 80px; gap: 10px; align-items: center; margin-top: 14px; }
.purchase-form label { font-size: 15px; }
.purchase-form input[type="number"], .cart-edit input[type="number"] { width: 80px; padding: 9px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: white; color: var(--ink); }
.purchase-form button { grid-column: 1 / -1; padding: 12px; border-radius: 7px; font-size: 16px; }
.purchase-add { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.purchase-order { border: 1px solid var(--ink); color: white; background: var(--ink); }
.purchase-form button:hover { background: var(--accent); border-color: var(--accent); color: white; }
.cart-item { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item > img { object-fit: contain; background: white; }
.cart-item h2 { font-size: 22px; }
.cart-item p { font-size: 15px; color: var(--muted); }
.cart-edit { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cart-edit button { padding: 8px 12px; background: white; border: 1px solid var(--line); border-radius: 6px; }
.cart-edit .cart-remove { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; color: var(--muted); }
.cart-edit .cart-remove:hover { color: var(--accent); background: #f9ede7; border-color: var(--accent); }
.cart-summary { margin-top: 30px; }
.cart-summary h2 { font-size: 26px; margin-bottom: 12px; }

.checkout-form { display: grid; gap: 18px; max-width: 580px; margin-top: 24px; }
.checkout-form label { display: grid; gap: 6px; font-size: 16px; }
.checkout-form input, .checkout-form select, .checkout-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: white; color: var(--ink); }
.checkout-form textarea { min-height: 100px; resize: vertical; }
.checkout-form button { padding: 14px; border-radius: 6px; }
.order-success { display: grid; gap: 5px; max-width: 680px; padding: 20px 22px; border: 1px solid #a8d1b0; border-radius: 10px; background: #e9f7eb; color: #24543a; box-shadow: 0 8px 24px #24543a14; }
.order-success-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #3e9256; color: white; font-size: 20px; font-weight: 700; }
.order-success strong { font-size: 20px; }
.order-card { padding: 24px; margin-top: 24px; border: 1px solid var(--line); border-radius: 10px; overflow-wrap: anywhere; }
.order-card h2 { font-size: 22px; margin-bottom: 12px; }

.purchase-form select { min-width: 0; max-width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }

.checkout-dialog { width: min(520px, calc(100% - 24px)); max-width: none; height: min(760px, 90dvh); max-height: 90dvh; padding: 0; border: 0; border-radius: 16px; background: var(--paper); box-shadow: 0 24px 80px #0004; }
.checkout-dialog::backdrop { background: #18201bb3; }
.checkout-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 26px; }
.checkout-frame { display: block; width: 100%; height: 100%; border: 0; }
.checkout-open { overflow: hidden; }
.checkout-embedded .inner-page { width: 100%; padding: 24px; }
.checkout-embedded h1 { font-size: 28px; letter-spacing: -1px; margin: 8px 40px 18px 0; }
.checkout-embedded .checkout-form { margin-top: 12px; gap: 12px; }
.checkout-embedded .checkout-form > p { font-size: 14px; }
.checkout-embedded .checkout-form textarea { min-height: 70px; }
.checkout-totals { padding: 12px 16px; background: #f1f0e9; border-radius: 8px; font-size: 15px; }
.checkout-totals p { display: flex; justify-content: space-between; gap: 16px; }
.checkout-totals p:last-child { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 6px; }
.purchase-error { grid-column: 1 / -1; color: var(--accent); font-size: 14px; }

.choose-series-link { display: block; margin-top: 14px; padding: 12px; border: 1px solid var(--ink); border-radius: 7px; text-align: center; font-size: 16px; }

.series-panel { padding: 14px 24px; }
.selected-model-title { font-size: 26px; margin-bottom: 22px; }
@media (max-width: 700px) { .series-panel { padding: 12px; } }

/* Les modèles apparaissent seulement après le choix d'une série. */
.series-model-card { align-items: center; justify-content: center; min-height: 190px; padding: 26px 18px; gap: 22px; text-align: center; font-size: 17px; }
.series-model-card[aria-current] { border-color: var(--accent); background: #f9ede7; }
.series-phone { width: 48px; height: 78px; border-width: 2px; border-radius: 11px; }
.series-phone::before { width: 16px; height: 4px; top: 7px; left: 14px; }
.series-phone::after { width: 18px; bottom: 6px; left: 13px; }
@media (max-width: 700px) { .series-model-card { min-height: 165px; padding: 20px 12px; font-size: 15px; } }

.hero.hero-text-only { grid-template-columns: 1fr; padding-block: 42px; }
.hero.hero-text-only .hero-copy { max-width: 900px; margin-inline: auto; text-align: center; }
.hero.hero-text-only h1 { font-size: clamp(46px, 6vw, 76px); margin-block: 16px; }
.hero.hero-text-only .hero-description { margin-inline: auto; }
.hero.hero-text-only .button { margin: 22px auto 0; }

.product-sold-out { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; padding: 10px 22px; border-radius: 6px; background: #242424ed; color: #fff; font-size: 20px; font-weight: 700; pointer-events: none; }
.product-sold-out[hidden] { display: none; }
.color-choice:has(input[data-sold-out="true"]) .color-swatch { opacity: .45; outline: 1px dashed currentColor; }
.purchase-form button:disabled { opacity: .45; cursor: not-allowed; }

html:not(.js) .series-panel[hidden] { display: block; }

.accessories-section { margin-top: 48px; }

/* Accès aux accessoires à côté des séries iPhone. */
.series-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 0 24px 22px; }
.js .series-navigation .series-tabs { padding: 0; }
.accessories-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 17px; border: 1px solid #efa1bd; border-radius: 30px; background: #fbd4e3; color: #842344; font-size: 15px; font-weight: 700; animation: accessories-pulse 2s ease-in-out infinite; }
.accessories-link:hover, .accessories-link:focus-visible { background: #f7bbd2; animation-play-state: paused; }
@keyframes accessories-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 #e969a03d; }
    50% { transform: scale(1.05); box-shadow: 0 0 0 7px #e969a000; }
}
@media (max-width: 700px) { .series-navigation { padding: 0 12px 16px; gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .accessories-link { animation: none; } }

/* Motifs lisibles et photo entière des stickers. */
.product-card-stickers { max-width: 360px; width: 100%; justify-self: center; }
.product-card-stickers .product-image { height: 400px; }
.product-card-stickers .product-image img { width: 100%; height: 100%; object-fit: contain; }
 .variant-select-label { display: block; margin: 14px 0 8px; font-size: 15px; }
.variant-select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #d8d8d8; border-radius: 10px; background: white; color: var(--ink); font: inherit; }
.variant-select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.social-footer {
    display: flex;
    justify-content: center;
    padding: 24px 0 16px;
    background: var(--paper);
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform .2s ease, color .2s ease;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.social-links svg {
    display: block;
}
/* Même alignement des coques dans la grille mobile à deux colonnes. */
@media (max-width: 700px) {
    .product-grid > .product-card-photo { display: flex; flex-direction: column; }
    .product-grid .product-card-photo .product-image { height: 320px; flex-shrink: 0; background: white; }
    .cart-button.floating-cart { top: 10px; right: 10px; min-height: 44px; padding: 6px 10px; gap: 6px; font-size: 13px; }
    .floating-cart .cart-count { width: 18px; height: 18px; font-size: 12px; }
    .floating-cart > svg { width: 16px; height: 18px; }
    .product-card-photo .product-details h3 {
        min-height: 2.5em;
        line-height: 1.25;
        font-size: 18px;
        overflow-wrap: anywhere;
    }
    .product-card-photo .product-colors {
        flex-wrap: wrap;
        align-content: flex-start;
        gap: 4px;
        min-height: 44px;
    }
    .product-card-photo .color-choice { flex: 0 0 40px; }
    .product-card-photo .purchase-form {
        grid-template-columns: minmax(0, 1fr) 60px;
        margin-top: auto;
        padding-top: 14px;
    }
    .product-card-photo .purchase-form input[type="number"] { width: 60px; min-width: 0; }
    .product-card-photo .purchase-form button { min-width: 0; }
    .product-card-photo .purchase-add { min-height: 64px; }
    .product-sold-out {
        max-width: calc(100% - 16px);
        padding: 6px 12px;
        border-radius: 999px;
        font-size: 14px;
        line-height: 1.2;
        white-space: nowrap;
    }
    .product-card-photo .product-tag { max-width: calc(100% - 16px); left: 8px; padding-inline: 6px; overflow-wrap: anywhere; }
    .product-card-photo .product-benefits { max-width: calc(100% - 16px); right: 8px; }
}
