/* Page iPhone (/iphone/) — iphone.php, une-fois-iphone.php — 19/11/2026. Couleurs du site : bleu nuit #0B1D51, bleu vif #00AEEF. */

/* Haut de la page */
.e-con.dp-ip-hero { background: linear-gradient(180deg, #EEF5FA 0%, #F7FBFD 100%); color: #0B1D51;
	padding: 36px max(16px, env(safe-area-inset-right, 0px)) 30px max(16px, env(safe-area-inset-left, 0px)) !important; }
/* Titres en casse normale : le thème les met en majuscules, et « IPHONE » n'est pas le nom du produit */
.dp-ip-hero h1, .e-con.dp-ip-section .elementor-heading-title { text-transform: none !important; }
.dp-ip-hero-in { max-width: 1100px; margin: 0 auto; display: grid; gap: 12px; }
.dp-ip-kicker { margin: 0; color: #0089BD; font: 600 13px/1.3 "Rubik", system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.dp-ip-hero h1 { margin: 0; color: #0B1D51; font: 800 clamp(30px, 4.6vw, 50px)/1.08 "Rubik", system-ui, sans-serif; letter-spacing: -.01em; text-wrap: balance; }
.dp-ip-accroche { margin: 0; max-width: 64ch; color: #2D3E63; font-size: 17px; line-height: 1.55; }
.dp-ip-pastilles { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.dp-ip-pastilles li { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #FFFFFF;
	border: 1px solid #DDE7EA; font: 500 14px/1.2 "Rubik", system-ui, sans-serif; color: #0B1D51; }
.dp-ip-pastilles li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #00AEEF; flex-shrink: 0; }
.dp-ip-pastilles a { color: inherit; text-decoration: none; }

/* Sections */
/* contenu centré sur 1 100 px, comme le haut de page (marges latérales calculées, quel que soit le balisage d'Elementor) */
.e-con.dp-ip-section { padding: 30px max(16px, env(safe-area-inset-right, 0px), calc((100% - 1100px) / 2)) 6px max(16px, env(safe-area-inset-left, 0px), calc((100% - 1100px) / 2)) !important; }
.e-con.dp-ip-section .elementor-heading-title { margin: 0 0 14px; font: 700 clamp(21px, 2.4vw, 28px)/1.2 "Rubik", system-ui, sans-serif; color: #0B1D51; text-wrap: balance; }
.e-con.dp-ip-entete { gap: 12px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
.e-con.dp-ip-entete .elementor-heading-title { margin: 0; }
.dp-ip-voir { flex-shrink: 0; }
.dp-ip-voir .elementor-button { border-radius: 999px; background: #0B1D51 !important; color: #FFFFFF !important; font-weight: 600; white-space: nowrap; }
.e-con.dp-ip-section .swiper-pagination { max-width: 100%; }
body.dp-ip-sans-accessoires .e-con.dp-ip-accessoires { display: none !important; }

/* Vitrine des iPhone en stock */
.dp-ip-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.dp-ip-carte { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px;
	border: 1px solid #DDE7EA; border-radius: 14px; background: #FFFFFF; }
.dp-ip-seul .dp-ip-carte { max-width: 760px; }
.dp-ip-photo { display: block; border-radius: 10px; overflow: hidden; }
.dp-ip-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.dp-ip-infos { display: grid; gap: 8px; min-width: 0; }
.dp-ip-infos h3 { margin: 0; font: 700 21px/1.25 "Rubik", system-ui, sans-serif; color: #0B1D51; text-transform: none; }
.dp-ip-infos h3 a { color: inherit; text-decoration: none; }
.dp-ip-infos h3 a:hover { color: #0089BD; }
.dp-ip-prix { margin: 0; font: 700 24px/1.2 "Rubik", system-ui, sans-serif; color: #0B1D51; }
.dp-ip-prix small, .dp-ip-prix .woocommerce-price-suffix { font-size: 14px; font-weight: 500; color: #4F5B6E; white-space: nowrap; }
.dp-ip-dispo { margin: 0; color: #2D3E63; font-size: 15px; line-height: 1.5; }
.dp-ip-dispo strong { color: #1E7B3A; }
.dp-ip-bouton { justify-self: start; margin-top: 4px; padding: 11px 22px; border-radius: 999px; background: #0B1D51; color: #FFFFFF !important;
	font: 600 15px/1.2 "Rubik", system-ui, sans-serif; text-decoration: none !important; }
.dp-ip-bouton:hover, .dp-ip-bouton:focus-visible { background: #00AEEF; }
.dp-ip-autre, .dp-ip-vide { margin: 14px 0 0; padding: 14px 16px; border-radius: 12px; background: #F3F8FB; color: #0B1D51; font-size: 15px; line-height: 1.5; }
.dp-ip-vide p { margin: 0 0 6px; }
.dp-ip-vide p:last-child { margin: 0; }
.dp-ip-autre a, .dp-ip-vide a { font-weight: 600; text-decoration: underline; white-space: nowrap; }
@media (max-width: 560px) {
	.dp-ip-carte { grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 14px; padding: 14px; align-items: start; }
	.dp-ip-infos h3 { font-size: 18px; }
	.dp-ip-prix { font-size: 20px; }
	.dp-ip-dispo { font-size: 14px; }
}

/* Modèles sur commande */
.dp-ip-commande { margin: 18px 0 0; padding: 18px; border: 1px solid #DDE7EA; border-radius: 14px; background: #FFFFFF; }
.dp-ip-commande h3 { margin: 0 0 6px; font: 700 19px/1.25 "Rubik", system-ui, sans-serif; color: #0B1D51; text-transform: none; }
.dp-ip-commande p { margin: 0 0 12px; color: #2D3E63; font-size: 15px; line-height: 1.5; }
.dp-ip-commande p a { font-weight: 600; text-decoration: underline; white-space: nowrap; }
.dp-ip-commande p strong { color: #0B1D51; }
.dp-ip-liste-commande { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.dp-ip-cmd { display: flex; flex-direction: column; min-width: 0; border: 1px solid #DDE7EA; border-radius: 12px; background: #FFFFFF; overflow: hidden; color: #0B1D51; }
.dp-ip-cmd-photo { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 12px; background: #FFFFFF; }
.dp-ip-cmd-infos { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 0 14px 14px; }
.dp-ip-badge { align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: #E3F5FD; color: #006F99; font: 600 12px/1.3 "Rubik", system-ui, sans-serif; }
.dp-ip-cmd strong { font: 700 17px/1.25 "Rubik", system-ui, sans-serif; }
.dp-ip-cmd span { font-size: 14px; line-height: 1.4; color: #2D3E63; }
.dp-ip-cmd .dp-ip-cprix { margin: 2px 0 8px; font: 700 17px/1.3 "Rubik", system-ui, sans-serif; color: #0B1D51; white-space: nowrap; }
.dp-ip-cmd .dp-ip-badge { color: #006F99; font-size: 12px; }
button.dp-ip-demander { margin-top: auto; width: 100%; padding: 11px 12px; border: 0; border-radius: 999px; background: #0B1D51; color: #FFFFFF;
	font: 600 15px/1.2 "Rubik", system-ui, sans-serif; cursor: pointer; text-transform: none; letter-spacing: 0; }
button.dp-ip-demander:hover, button.dp-ip-demander:focus-visible { background: #00AEEF; color: #FFFFFF; }
@media (max-width: 560px) {
	.dp-ip-liste-commande { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.dp-ip-cmd-infos { padding: 0 10px 12px; }
	.dp-ip-cmd strong, .dp-ip-cmd .dp-ip-cprix { font-size: 15px; }
	.dp-ip-cmd span { font-size: 13px; }
	button.dp-ip-demander { padding: 9px 6px; font-size: 13.5px; line-height: 1.2; white-space: normal; min-width: 0; overflow-wrap: break-word; }
}

/* Fenêtre de demande (iphone-demande.php, iphone-demande.js) */
.dp-ip-dialog { width: min(560px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 16px;
	overflow: auto; color: #0B1D51; background: #FFFFFF; box-shadow: 0 20px 60px rgba(11, 29, 81, .3); }
.dp-ip-dialog::backdrop { background: rgba(11, 29, 81, .55); }
.dp-ip-dialog [hidden] { display: none !important; }
.dp-ip-d-form, .dp-ip-d-merci { position: relative; display: grid; gap: 14px; padding: 22px; }
.dp-ip-d-merci:focus { outline: none; }
.dp-ip-dialog button.dp-ip-d-fermer { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
	background: #EEF5FA; color: #0B1D51; font: 400 24px/1 system-ui, sans-serif; cursor: pointer; }
.dp-ip-d-tete { display: flex; gap: 14px; align-items: center; padding-right: 40px; }
.dp-ip-d-photo { flex-shrink: 0; width: 96px; height: 96px; object-fit: contain; border-radius: 10px; background: #F7FBFD; }
.dp-ip-d-sur { margin: 0; color: #0089BD; font: 600 12px/1.3 "Rubik", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.dp-ip-dialog h2 { margin: 2px 0; color: #0B1D51; font: 700 21px/1.2 "Rubik", system-ui, sans-serif; text-transform: none; }
.dp-ip-d-prix { margin: 0; font: 700 18px/1.3 "Rubik", system-ui, sans-serif; }
.dp-ip-d-prix small { color: #4F5B6E; font-size: 13px; font-weight: 500; }
.dp-ip-dialog fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.dp-ip-dialog legend { margin: 0 0 6px; padding: 0; font: 600 15px/1.3 "Rubik", system-ui, sans-serif; color: #0B1D51; }
.dp-ip-d-pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.dp-ip-d-choix { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #C9D7E1; border-radius: 10px; cursor: pointer; font-size: 15px; line-height: 1.35; background: #FFFFFF; }
.dp-ip-d-choix input { margin: 0; accent-color: #0B1D51; flex-shrink: 0; }
.dp-ip-d-choix:has(input:checked) { border-color: #0B1D51; box-shadow: inset 0 0 0 1px #0B1D51; background: #F3F8FB; }
.dp-ip-d-retrait .dp-ip-d-choix { width: 100%; }
.dp-ip-d-champ { display: grid; gap: 5px; font: 500 14px/1.3 "Rubik", system-ui, sans-serif; color: #0B1D51; }
.dp-ip-d-option { color: #4F5B6E; font-weight: 400; }
.dp-ip-dialog input[type="text"], .dp-ip-dialog input[type="tel"], .dp-ip-dialog input[type="email"], .dp-ip-dialog textarea {
	width: 100%; padding: 10px 12px; border: 1px solid #AFC2D0; border-radius: 8px; background: #FFFFFF; color: #0B1D51; font: 400 16px/1.4 system-ui, sans-serif; }
.dp-ip-dialog input:focus, .dp-ip-dialog textarea:focus { outline: 2px solid #00AEEF; outline-offset: 0; border-color: #00AEEF; }
.dp-ip-d-coord { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dp-ip-d-coord .dp-ip-d-champ:first-child { grid-column: 1 / -1; }
.dp-ip-d-rassure { margin: 0; padding: 12px 14px 12px 30px; border-radius: 10px; background: #F3F8FB; font-size: 14px; line-height: 1.55; color: #0B1D51; }
.dp-ip-d-erreur { margin: 0; padding: 10px 12px; border-radius: 8px; background: #FDECEF; color: #9B1C31; font-size: 14px; line-height: 1.45; }
.dp-ip-dialog button.dp-ip-bouton { justify-self: stretch; margin: 0; padding: 13px 16px; border: 0; border-radius: 999px; background: #0B1D51; color: #FFFFFF;
	text-align: center; font: 600 16px/1.2 "Rubik", system-ui, sans-serif; cursor: pointer; text-transform: none; }
.dp-ip-dialog button.dp-ip-bouton:hover, .dp-ip-dialog button.dp-ip-bouton:focus-visible { background: #00AEEF; color: #FFFFFF; }
.dp-ip-dialog .dp-ip-d-champ, .dp-ip-dialog .dp-ip-d-choix, .dp-ip-dialog legend { color: #0B1D51; }
.dp-ip-dialog button.dp-ip-bouton:disabled { opacity: .6; cursor: wait; }
.dp-ip-d-rgpd { margin: 0; color: #4F5B6E; font-size: 12px; line-height: 1.4; }
.dp-ip-d-rgpd a { color: inherit; text-decoration: underline; }
.dp-ip-d-merci-texte { margin: 0; font-size: 16px; line-height: 1.55; color: #2D3E63; }
.dp-ip-dialog .dp-nl-piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) {   /* téléphone : la fenêtre monte du bas de l'écran */
	.dp-ip-dialog { width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
	.dp-ip-d-form, .dp-ip-d-merci { padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); }
	.dp-ip-d-coord { grid-template-columns: 1fr; }
	.dp-ip-d-photo { width: 72px; height: 72px; }
	.dp-ip-dialog h2 { font-size: 19px; }
}

/* Acheter chez nous */
.dp-ip-infos-achat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.dp-ip-infos-achat li { padding: 16px; border-radius: 12px; background: #F3F8FB; color: #0B1D51; font-size: 15px; line-height: 1.5; }
.dp-ip-infos-achat li strong { display: block; margin-bottom: 4px; font: 600 16px/1.3 "Rubik", system-ui, sans-serif; }
.dp-ip-infos-achat a { font-weight: 600; text-decoration: underline; }

/* Questions fréquentes */
.e-con.dp-ip-faq { padding-bottom: 44px !important; }
.dp-ip-questions { max-width: 820px; border-top: 1px solid #DDE7EA; }
.dp-ip-q { border-bottom: 1px solid #DDE7EA; }
.dp-ip-q summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 2px; cursor: pointer; list-style: none; }
.dp-ip-q summary::-webkit-details-marker { display: none; }
.dp-ip-q summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
	background: #EEF5FA; color: #0B1D51; font: 600 20px/1 "Rubik", system-ui, sans-serif; }
.dp-ip-q[open] summary::after { content: "−"; }
.dp-ip-q summary h3 { margin: 0; font: 600 17px/1.35 "Rubik", system-ui, sans-serif; color: #0B1D51; text-transform: none; }
.dp-ip-q summary:focus-visible { outline: 2px solid #00AEEF; outline-offset: 2px; border-radius: 6px; }
.dp-ip-q p { margin: 0 0 16px; padding-right: 40px; color: #2D3E63; font-size: 16px; line-height: 1.6; max-width: 70ch; }
.dp-ip-q p a { font-weight: 600; text-decoration: underline; }
@media (max-width: 560px) { .dp-ip-q p { padding-right: 0; } }
