:root {
  --brand1: #ff7b00;
  --brand2: #00c2ff;
  --ink: #111;
  --bg: #fff;
  --line: #e5e7eb;
  --overlay: rgba(0, 0, 0, 0.5);
  --card: #fff;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background-color: #1a2436;
  margin: 0;
  padding: 0;
  overflow-y: scroll;
  overflow-x: clip;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  background-color: #f4f4f9;
  color: #333;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

html.page-index {
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 50%, #1a2436 50%, #1a2436 100%) !important;
}

html.page-index body {
  background: #ffffff;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

html.page-studio body {
  background-color: #f0f2f5;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Header */
.site-header {
  position: sticky !important;
  top: 15px !important;
  z-index: 9999 !important;
  background: linear-gradient(90deg, #ff7b00, #00c2ff) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
  width: calc(100% - 30px) !important;
  max-width: 1200px !important;
  margin: 15px auto 40px auto !important;
  border-radius: 16px !important;
  padding: 0 !important;
  border: none !important;
}

.hero {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 20px !important;
  background: transparent !important;
  min-height: 80px !important;
}

.brand-group {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
}

.brand-group img.logo {
  width: 60px !important;
  height: 60px !important;
  border-radius: 10px !important;
  background: #fff !important;
  padding: 2px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
  margin: 0 !important;
  border: none !important;
}

h1.logo-title {
  font-size: clamp(16px, 2vw, 20px) !important;
  font-weight: 700 !important;
  margin: 0 !important;
  font-family: "Poppins", sans-serif !important;
  color: #fff !important;
  text-align: left !important;
  border: none !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

.hero-text .sub {
  font-size: 0.85rem !important;
  opacity: 0.95 !important;
  margin: 4px 0 0 !important;
  font-family: "Poppins", sans-serif !important;
  color: #fff !important;
  border: none !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

.nav-links {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-links a {
  background-color: #ffffff !important;
  color: #007bff !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 0.90rem !important;
  font-family: "Poppins", sans-serif !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
  border: none !important;
  line-height: 1.5 !important;
}

.nav-links a:hover,
.nav-links a.active {
  background-color: #05037b !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}

.burger-menu {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 5px 10px;
  margin-left: auto;
}

@media (max-width: 768px) {
  .site-header {
    width: calc(100% - 14px) !important;
    margin: 5px auto 15px auto !important;
    top: 5px !important;
  }
  .hero {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    padding: 10px 15px !important;
  }
  .brand-group img.logo {
    width: 40px !important;
    height: 40px !important;
  }
  h1.logo-title { font-size: 1.1rem !important; }
  .hero-text .sub { display: none !important; }
  .burger-menu { display: block !important; }
  .nav-links {
    display: none !important;
    width: 100% !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding-top: 15px !important;
    margin-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .nav-links.open { display: flex !important; }
  .nav-links a {
    width: 100% !important;
    font-size: 0.85rem !important;
    padding: 10px !important;
  }
}

/* Footer */
.site-footer {
  background-color: #1a2436 !important;
  color: #ffffff !important;
  padding: 40px 20px 20px 20px !important;
  margin-top: auto;
  font-family: "Poppins", sans-serif !important;
  width: 100%;
}

.footer-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 30px !important;
  text-align: center !important;
}

.footer-logo {
  width: 100px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.site-footer h4 {
  color: #ff7b00;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-size: 1rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.site-footer a:hover { color: #00c2ff; }

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.fb-btn, .msn-btn {
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9rem;
}

.fb-btn { background-color: #1877f2; }
.msn-btn { background-color: #0084ff; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  opacity: 0.7;
  text-align: center;
}

.footer-nav ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-nav ul li { margin-bottom: 10px !important; }

.footer-nav ul li a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
}

.footer-nav ul li a:hover { color: #00c2ff !important; }

@media (max-width: 768px) {
  .footer-container { grid-template-columns: 1fr; gap: 40px; }
  .site-footer { padding: 30px 15px 15px 15px !important; }
}


/* Pages */
@keyframes fadeEffect { from { opacity: 0.5; } to { opacity: 1; } }

@keyframes zoomIn {
    from {transform: translateY(-50%) scale(0.8); opacity: 0;}
    to {transform: translateY(-50%) scale(1); opacity: 1;}
}

main.container {
  max-width: 1200px; margin: 0 auto; padding: 30px 16px;
}

.intro {
  text-align: center; margin: 10px auto 6px;
}

.intro p {
  max-width: 850px; margin: 0 auto 40px auto; color: #4a5568; /* Gris anthracite doux, plus élégant que le noir pur */ font-size: 1.05rem; line-height: 1.8; text-align: center;
}

.card h3 {
  font-size: 1.3rem; margin: 12px 0 8px 0; color: #1a2436; /* On reprend le même bleu profond que votre gros titre ! */ font-weight: 700;
}

.card .price {
  margin-bottom: 12px; font-weight: 600; color: #4a5568; font-size: 1.4em; text-align: center; border-top: 1px dashed #e5e7eb; border-bottom: 1px dashed #e5e7eb; padding: 12px 0;
}

.card .price strong {
  color: #ff7b00; /* On utilise votre bel orange pour faire ressortir le prix */ font-size: 1.15em;
}

.intro-heading {
  font-family: 'Poppins', sans-serif; font-size: 2.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; text-align: center; margin: 0 0 25px; color: #1a2436; position: relative;
}

.intro-heading::after {
  content: ''; display: block; width: 80px; height: 4px; background: linear-gradient(90deg, #ff7b00, #00c2ff); margin: 15px auto 0; border-radius: 2px;
}

.card-img {
  width:100%;border-radius:12px;margin-bottom:12px;box-shadow:0 20px 10px rgba(0,0,0,.1)
}

.grid {
  display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:24px;align-items:stretch;justify-items:stretch;margin-top:24px
}

.card {
  display: flex; flex-direction: column; /* Le secret du verre dépoli : fond translucide + flou */ background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); /* Pour Safari */ /* On garde votre liseré bleu discret */ border: 1px solid rgba(0, 194, 255, 0.3); border-radius: 20px; padding: 24px; text-align: center; /* Ombre portée légère et diffuse */ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-8px); background: rgba(255, 255, 255, 0.85); /* Plus opaque au survol */ box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); /* Le liseré s'accentue au survol */ border-color: rgba(0, 194, 255, 0.6);
}

.mini {
  opacity:.8;margin-bottom:12px
}

.card ul.opt {
  flex-grow: 1; list-style:disc;margin:0 auto 10px;padding-left:18px;text-align:left;line-height:1.55
}

.opt-promo {
  color: #00c2ff;
}

.avis-block {
  text-align:center;margin:36px auto 10px
}

.avis-grid {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;justify-items:center
}

.avis-card {
  width:100%; max-width:340px; background:#fff; border:1px solid #eee; border-radius:16px; padding:20px; box-shadow:0 2px 10px rgba(0,0,0,.06); text-align:left; transition: transform .25s ease, box-shadow .25s ease;
}

.avis-card:hover {
  transform:translateY(-6px);box-shadow:0 12px 28px rgba(0,0,0,.18);border-color:#28a745
}

.stars {
  color:#ffb400;font-size:18px;letter-spacing:2px;margin-bottom:8px
}

.emoji {
  font-size:1rem;margin-left:4px;vertical-align:middle
}

.avis-txt {
  line-height:1.55;margin:0 0 10px
}

.avis-meta {
  font-size:.9rem;opacity:.75
}

.avis-block h2 {
  text-align: center; font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 800; color: var(--ink); margin-bottom: 24px; letter-spacing: 0.5px;
}

.faq-item {
  background: white; margin-bottom: 15px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.order-portal {
  margin-top: 50px; margin-bottom: 50px;
}

.portal-title {
  text-align: center; font-family: 'Poppins', sans-serif; font-size: 2rem; color: #333; margin-bottom: 30px;
}

.portal-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; text-align: center;
}

.portal-card {
  background: #fff; padding: 40px; border-radius: 20px; border: 1px solid #eee; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portal-card:hover {
  transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); border-color: #05037b;
}

.portal-icon {
  font-size: 3.5rem; margin-bottom: 15px;
}

.portal-card h3 {
  font-size: 1.5rem; margin-top: 0; color: #333;
}

.portal-badge {
  font-size: 0.85rem; font-weight: bold; padding: 5px 15px; border-radius: 20px; display: inline-block; margin: 15px 0;
}

.badge-studio {
  color: #28a745; background: #e8f5e9;
}

.badge-pro {
  color: #ff7b00; background: #fff3e6;
}

.portal-btn {
  display: block; padding: 15px; color: white; border-radius: 50px; text-decoration: none; font-weight: bold; transition: opacity 0.3s ease;
}

.portal-btn:hover {
  opacity: 0.9;
}

.btn-studio {
  background: #05037b;
}

.btn-pro {
  background: #ff7b00;
}

@media (max-width:1200px) {
.grid {
  grid-template-columns:repeat(3,minmax(220px,1fr))
}
}

@media (max-width:900px) {
.grid {
  grid-template-columns:repeat(2,minmax(200px,1fr))
}
}

@media (max-width:640px) {
.grid {
  grid-template-columns:1fr
}
}

.catalogue-container {
  max-width: 1300px; margin: 0 auto; padding: 20px; box-sizing: border-box; overflow-x: hidden; width: 100%;
}

.category-title {
  color: #05037b; border-bottom: 1px solid #007bff; padding-bottom: 5px; font-size: 1.6em; margin-top: 40px; margin-bottom: 30px; word-wrap: break-word;
}

.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; justify-items: center; width: 100%; box-sizing: border-box;
}

.product-card {
  display: flex; flex-direction: column; width: 100%; max-width: 320px; background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(0, 194, 255, 0.3); border-radius: 20px; padding: 20px; text-align: center; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px); background: rgba(255, 255, 255, 0.85); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); border-color: rgba(0, 194, 255, 0.6);
}

.product-image {
  width: 100%; height: 250px; object-fit: contain; /* L'image s'affiche en entier sans être rognée */ border-radius: 12px; margin-bottom: 15px; box-shadow: 0 10px 15px rgba(0,0,0,0.05); background-color: transparent; cursor: zoom-in; /* Change le curseur en petite loupe */
}

.product-image img {
  width: 100%; height: 100%; object-fit: contain; /* L'image s'adapte sans jamais se déformer ni se couper */ padding: 10px; /* Laisse un peu d'espace autour du vêtement */ box-sizing: border-box;
}

.image-slider .slide {
  display: none; animation: fadeEffect 0.4s;
}

.image-slider .slide.active {
  display: block;
}

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.8); border: 1px solid #ddd; color: #333; font-size: 1rem; cursor: pointer; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.slider-btn:hover {
  background: #007bff; color: white; border-color: #007bff;
}

.slider-btn.prev {
  left: 5px;
}

.slider-btn.next {
  right: 5px;
}

.product-details {
  flex-grow: 1; display: flex; flex-direction: column; width: 100%; box-sizing: border-box;
}

.product-details h3 {
  margin-top: 0; color: #333; font-size: 1.1em; min-height: 2.6em; line-height: 1.3; margin-bottom: 15px; word-wrap: break-word;
}

.product-details .price {
  font-size: 1.4em; color: #057271; font-weight: bold; margin: 10px 0 5px 0; padding: 5px 0; border-top: 1px dashed #eee; border-bottom: 1px dashed #eee; text-align: center;
}

.product-details .price small {
  display: block; font-size: 0.5em; color: #6c757d; font-weight: normal;
}

.options {
  margin-top: auto; padding-top: 10px; border-top: 1px solid #eee;
}

.options h4 {
  margin-top: 0; font-size: 1em; color: #0056b3;
}

.options p {
  margin: 5px 0; font-size: 0.85em;
}

.options strong {
  font-weight: 600;
}

.discount-text {
  font-size: 0.85em; color: #ff7b00ad; font-weight: 700; text-align: center; margin-top: -5px; margin-bottom: 15px; text-transform: uppercase;
}

.product-image img.slide {
  cursor: zoom-in; /* Change le curseur en loupe */
}

.image-modal {
  display: none; position: fixed; z-index: 100000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(26, 36, 54, 0.9); backdrop-filter: blur(5px); overflow: hidden;
}

.modal-content {
  margin: auto; display: block; max-width: 90%; max-height: 90vh; position: relative; top: 50%; transform: translateY(-50%); border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.6); animation: zoomIn 0.3s ease;
}

.close-modal {
  position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 50px; font-weight: bold; transition: color 0.3s; cursor: pointer; z-index: 100001;
}

.close-modal:hover {
  color: #ff7b00;
}

.close-modal:focus {
  color: #ff7b00;
}

.modal-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.1); color: white; border: 2px solid transparent; font-size: 2rem; cursor: pointer; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 100002; transition: all 0.3s ease;
}

.modal-slider-btn:hover {
  background: rgba(0, 194, 255, 0.8); border-color: white;
}

.modal-slider-btn.prev-modal {
  left: 20px;
}

.modal-slider-btn.next-modal {
  right: 20px;
}

.catalogue-intro h1 {
  color: #0056b3; border-bottom: 2px solid #ccc; padding-bottom: 10px; text-align: center;
}

.catalogue-intro p {
  text-align: center; margin-bottom: 40px; color: #555;
}

.pdf-section {
  margin-top: 60px; padding: 30px 20px; background-color: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 2px dashed #007bff;
}

.pdf-section h2 {
  text-align: center; color: #0056b3; margin-bottom: 10px; font-size: 1.8rem;
}

.pdf-lead {
  text-align: center; color: #444; margin-bottom: 5px; font-size: 1.1rem; max-width: 800px; margin-left: auto; margin-right: auto;
}

.pdf-warn {
  text-align: center; color: #d9534f; margin-bottom: 30px; font-weight: bold;
}

.pdf-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); /* Force exactement 3 colonnes */ gap: 20px; max-width: 900px; margin: 0 auto;
}

.pdf-grid a {
  display: flex; flex-direction: column; align-items: center; padding: 20px; background: #f8f9fa; border: 2px solid #dde1ea; border-radius: 10px; text-decoration: none; color: #333; transition: all 0.3s ease; width: 100%; box-sizing: border-box;
}

.pdf-grid a:hover {
  border-color: #007bff; background-color: #e9f2fb; transform: translateY(-5px);
}

.pdf-icon {
  font-size: 2.5rem; margin-bottom: 10px;
}

.pdf-grid a strong {
  font-size: 1.1rem; color: #0056b3;
}

.pdf-hint {
  font-size: 0.85rem; color: #666; margin-top: 5px;
}

.catalogue-container .cta-section {
  margin-top: 60px; padding: 40px; border-radius: 20px;
}

.catalogue-container .cta-section p {
  margin-bottom: 20px; font-weight: 400;
}

.catalogue-container .cta-section .btn-primary {
  padding: 15px 30px;
}

@media (max-width: 768px) {
.product-grid {
  grid-template-columns: 1fr; /* 1 seule colonne sur mobile */ gap: 15px;
}
}

@media (max-width: 768px) {
.catalogue-container {
  padding: 10px;
}
}

@media (max-width: 768px) {
.pdf-grid {
  grid-template-columns: repeat(2, 1fr) !important; /* Force 2 colonnes */ gap: 10px !important; /* Réduit l'espace entre les boutons */
}
}

@media (max-width: 768px) {
.pdf-grid a {
  padding: 15px 5px !important;
}
}

@media (max-width: 768px) {
.pdf-grid a span:first-child {
  font-size: 2rem !important; /* Émoji légèrement plus petit */
}
}

@media (max-width: 768px) {
.pdf-grid a strong {
  font-size: 0.9rem !important; /* Titre plus petit */ text-align: center;
}
}

@media (max-width: 768px) {
.pdf-grid a span:last-child {
  font-size: 0.75rem !important; /* Sous-titre plus petit */
}
}

@media (max-width: 768px) {
.modal-slider-btn {
  width: 40px; height: 40px; font-size: 1.5rem;
}
}

@media (max-width: 768px) {
.modal-slider-btn.prev-modal {
  left: 10px;
}
}

@media (max-width: 768px) {
.modal-slider-btn.next-modal {
  right: 10px;
}
}

@media (max-width: 768px) {
.close-modal {
  right: 15px; top: 10px; font-size: 40px;
}
}

@media (max-width: 768px) {
.catalogue-request-block {
  padding: 15px !important; margin: 15px 5px !important;
}
}

.catalogue-request-block {
  margin: 30px auto; padding: 30px; background-color: #ffffff; border-radius: 12px; border: 1px solid #dde1ea; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.catalogue-request-block h2 {
  margin-top: 0; margin-bottom: 10px; color: #1a2436;
}

.catalogue-request-block p.helper {
  margin-top: 0; margin-bottom: 25px; font-size: 1rem; color: #555;
}

.catalogue-form-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 16px; row-gap: 15px; margin-bottom: 20px;
}

@media (max-width: 900px) {
.catalogue-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 600px) {
.catalogue-form-grid {
  grid-template-columns: 1fr;
}
}

.catalogue-form-grid > div {
  min-width: 0; width: 100%;
}

.catalogue-request-block label {
  font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; display: block; color: #333;
}

.catalogue-request-block select {
  width: 100%; padding: 10px; border-radius: 6px; border: 1px solid #cbd0dd; font-size: 1rem; box-sizing: border-box; font-family: 'Poppins', sans-serif;
}

.catalogue-request-block input {
  width: 100%; padding: 10px; border-radius: 6px; border: 1px solid #cbd0dd; font-size: 1rem; box-sizing: border-box; font-family: 'Poppins', sans-serif;
}

.catalogue-request-block textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 120px;
  margin-top: 6px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #cbd0dd;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  resize: vertical;
}

.catalogue-request-block select:focus {
  outline: none; border-color:#007bff; box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
}

.catalogue-request-block input:focus {
  outline: none; border-color:#007bff; box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
}

.catalogue-request-block textarea:focus {
  outline: none; border-color:#007bff; box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
}

.catalogue-request-block .btn-row {
  margin-top: 15px; margin-bottom: 25px; display: flex; gap: 15px; flex-wrap: wrap;
}

.catalogue-request-block .btn-primary {
  background-color: #007bff; color: #ffffff;
}

.catalogue-request-block .btn-secondary {
  background-color: #f4f4f9; color: #333333; border: 1px solid #ccd1dd;
}

.catalogue-request-block .btn-primary:hover {
  background-color: #0056b3;
}

.catalogue-request-block .btn-primary:disabled {
  opacity: 0.6; cursor: not-allowed;
}

.catalogue-request-block .btn-secondary:disabled {
  opacity: 0.6; cursor: not-allowed;
}

.catalogue-request-block .btn-secondary:hover {
  background-color: #e2e8f0;
}

.table-responsive {
  width: 100%; overflow-x: auto; /* Active le scroll horizontal automatique */ -webkit-overflow-scrolling: touch; /* Rend le défilement fluide sur iPhone */ margin-bottom: 25px;
}

.catalogue-recap-table {
  width: 100%; border-collapse: collapse; margin-bottom: 25px; font-size: 0.95rem;
}

.catalogue-recap-table[hidden] { display: none !important; }

@media (min-width: 769px) {
  .catalogue-recap-table { table-layout: fixed; min-width: 800px; }
  .catalogue-recap-table th:nth-child(1), .catalogue-recap-table td:nth-child(1) { width: 5%; }
  .catalogue-recap-table th:nth-child(2), .catalogue-recap-table td:nth-child(2) { width: 25%; }
  .catalogue-recap-table th:nth-child(3), .catalogue-recap-table td:nth-child(3) { width: 12%; }
  .catalogue-recap-table th:nth-child(4), .catalogue-recap-table td:nth-child(4) { width: 8%; }
  .catalogue-recap-table th:nth-child(5), .catalogue-recap-table td:nth-child(5) { width: 30%; }
  .catalogue-recap-table th:nth-child(6), .catalogue-recap-table td:nth-child(6) { width: 5%; }
  .catalogue-recap-table th:nth-child(7), .catalogue-recap-table td:nth-child(7) { width: 15%; }
}

.catalogue-recap-table th {
  background-color: #f1f3f9; color: #1a2436;
}

.catalogue-recap-table td {
  border: 1px solid #dde1ea; padding: 10px; text-align: left;
}

.catalogue-recap-empty {
  font-size: 1rem; color: #777; margin-bottom: 25px; font-style: italic;
}

.catalogue-request-block .client-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 15px; margin-bottom: 15px;
}

@media (max-width: 700px) {
.catalogue-request-block .client-grid {
  grid-template-columns: 1fr;
}
}

.catalogue-request-block .status-message {
  font-size: 1rem; margin-top: 15px; text-align:center; font-weight: bold;
}

.catalogue-request-block .status-success {
  color: #1a7f37;
}

.catalogue-request-block .status-error {
  color: #c62828;
}

.catalogue-form-grid .field-delivery {
  margin-left: 0;
}

.catalogue-two-cols {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-bottom: 15px;
}

.catalogue-one-col {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; margin-bottom: 15px;
}

.catalogue-message-field {
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .table-responsive {
    overflow: visible;
    width: 100%;
  }

  .catalogue-recap-table,
  .catalogue-recap-table tbody,
  .catalogue-recap-table tr {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .catalogue-recap-table {
    border: none;
    table-layout: auto;
  }

  .catalogue-recap-table thead { display: none; }

  .catalogue-recap-table tr {
    margin-bottom: 14px;
    border: 1px solid #007bff;
    border-radius: 8px;
    padding: 12px 14px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  }

  .catalogue-recap-table th,
  .catalogue-recap-table td {
    width: auto !important;
    max-width: 100%;
  }

  .catalogue-recap-table td {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border: none;
    border-bottom: 1px solid #f1f3f9;
    padding: 8px 0;
    text-align: left;
    font-size: 0.9rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .catalogue-recap-table td:last-child {
    border-bottom: none;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 2px;
  }

  .catalogue-recap-table td::before {
    font-weight: 700;
    color: #555;
    margin: 0;
  }

  .catalogue-recap-table td:nth-child(1)::before { content: "Ligne #"; color: #007bff; }
  .catalogue-recap-table td:nth-child(2)::before { content: "Article :"; }
  .catalogue-recap-table td:nth-child(3)::before { content: "Couleur :"; }
  .catalogue-recap-table td:nth-child(4)::before { content: "Taille :"; }
  .catalogue-recap-table td:nth-child(5)::before { content: "Impression :"; }
  .catalogue-recap-table td:nth-child(6)::before { content: "Quantité :"; }
  .catalogue-recap-table td:nth-child(7)::before { content: "Livraison :"; }
}

.studio-container {
  max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 280px auto 350px; justify-content: center; gap: 30px; padding: 0 20px;
}

@media (max-width: 1100px) {
.studio-container {
  grid-template-columns: 1fr;
}
}

.step-box {
  background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 20px;
}

.highlight-box {
  border: 2px solid #007bff;
}

.highlight-box.is-success {
  border-color: #28a745;
}

.step-box h3 {
  margin-top: 0; color: #0056b3; font-size: 1.1rem; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px;
}

.step-box label {
  display: block; font-weight: bold; margin-bottom: 5px; font-size: 0.9rem;
}

.step-box select {
  width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box;
}

.step-box input[type="file"] {
  width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box;
}

.step-box input[type="text"] {
  width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box;
}

.step-box input[type="email"] {
  width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box;
}

.step-box input[type="tel"] {
  width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box;
}

.step-box textarea {
  width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box;
}

.step-box input[type="number"] {
  width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box;
}

.flex-row {
  display: flex; gap: 10px;
}

.flex-1 { flex: 1; }
.flex-2 { flex: 2; }

.client-fields .flex-row {
  margin-bottom: 10px;
}

.step-box .label-sm {
  font-size: 0.8em;
}

.step-box input.input-tight {
  margin-bottom: 0;
}

.step-box input.input-space {
  margin-bottom: 10px;
}

.page-studio #printSelect {
  border: 2px solid #0056b3; font-weight: bold; color: #0056b3;
}

.logo-hint {
  font-size: 0.8em; color: #666; margin-top: 0;
}

.canvas-banner {
  background-color: #e9f2fb; border: 1px solid #c6def5; color: #0056b3; font-size: 0.9em; padding: 10px 15px; border-radius: 6px; margin-top: 0; margin-bottom: 15px; width: 100%; box-sizing: border-box; text-align: center;
}

.canvas-hint-sub {
  font-size: 0.9em; color: #888;
}

.btn-action {
  width: 100%; background-color: #28a745; color: white; border: none; padding: 12px; border-radius: 6px; font-size: 1rem; font-weight: bold; cursor: pointer; transition: 0.2s; margin-top: 10px;
}

.btn-action:hover {
  background-color: #218838;
}

.btn-danger {
  background-color: #dc3545; color: white;
}

.btn-ghost {
  background-color: transparent; border: 1px solid #ccc; padding: 8px; border-radius: 6px; cursor: pointer;
}

.tools {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px;
}

#btn-clear-cart {
  display: none; width: 100%; margin-top: 10px;
}

.page-studio #paypal-button-container {
  margin-top: 15px; display: none;
}

.tool-btn {
  flex: 1; min-width: 100px; padding: 8px; border: 1px solid #ccc; border-radius: 4px; background: #f8f9fa; cursor: pointer; font-size: 0.85em;
}

.tool-btn:hover {
  background: #e2e6ea;
}

.panel-center {
  display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 100%;
}

.canvas-wrapper {
  position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / 1; background-color: #ffffff; border: 3px solid #ccc; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 20px rgba(0,0,0,0.1); transition: background-color 0.3s ease;
}

.canvas-container {
  width: 100% !important; height: 100% !important;
}

.canvas-container canvas {
  width: 100% !important; height: 100% !important;
}

.canvas-hint {
  font-size: 0.95em; color: #666; margin-top: 15px; font-weight: bold; text-align: center;
}

.cart-items {
  display: flex; flex-direction: column; gap: 15px;
}

.cart-item {
  display: flex; gap: 10px; padding: 10px; border: 1px solid #eee; border-radius: 8px; background: #f9f9f9;
}

.cart-item-info {
  flex: 1; font-size: 0.85rem;
}

.cart-item-info h4 {
  margin: 0 0 5px 0; font-size: 1em; color: #0056b3;
}

.cart-item-info p {
  margin: 2px 0;
}

.btn-remove-item {
  background: transparent; border: none; color: #dc3545; cursor: pointer; font-weight: bold; padding: 0; margin-top: 5px;
}

.status-message {
  margin-top: 10px; text-align: center; font-weight: bold; font-size: 0.9em;
}

.status-success {
  color: #28a745;
}

.status-error {
  color: #dc3545;
}

#btn-delete {
  background-color: #fff0f0; color: #494242; border: 1px solid #dc3545; font-weight: bold; opacity: 1;
}

#btn-delete:hover {
  background-color: #b6ecc0; color: #494242;
}

.faq-page {
  padding: 40px 20px; max-width: 800px; margin: 0 auto; min-height: 80vh;
}

.faq-header {
  text-align: center; margin-bottom: 50px;
}

.faq-header h1 {
  color: #1a2436; font-size: 2.5rem;
}

.faq-question {
  width: 100%; padding: 20px; text-align: left; background: none; border: none; font-size: 1.1rem; font-weight: 600; color: #1a2436; cursor: pointer; display: flex; justify-content: space-between; transition: 0.3s;
}

.faq-question:hover {
  background-color: #fdf4ff; color: #ff7b00;
}

.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fff; padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 200px; padding: 10px 20px 20px 20px; border-top: 1px solid #eee;
}

.faq-answer a {
  color: #ff7b00; font-weight: bold; text-decoration: none;
}

.legal-text {
  background: white; padding: 40px; border-radius: 12px; line-height: 1.6; color: #333; text-align: justify; font-size: 0.95rem;
}

.mobile-break {
  display: none;
}

.tuto-container {
  max-width: 900px; margin: 40px auto; background: #ffffff; padding: 40px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.generator-wrapper {
  background: #fff; padding: 30px; border: 1px solid #eee; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.result-box {
  background: #f4f7f9; border: 2px dashed #00c2ff; border-radius: 12px; padding: 25px; margin-top: 30px; text-align: center;
}

.form-group input {
  padding: 12px; border: 1px solid #cbd0dd; border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 1rem;
}

.form-group select {
  padding: 12px; border: 1px solid #cbd0dd; border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 1rem;
}

.form-group textarea {
  box-sizing: border-box !important; width: 100%;
}

.tuto-header {
  text-align: center; margin-bottom: 30px;
}

.tuto-header h1 {
  color: #1a2436; font-size: 2.2rem; margin-bottom: 10px;
}

.tuto-header p {
  color: #555; font-size: 1.1rem;
}

.generator-title {
  color: #ff7b00; margin-top: 0; font-size: 1.4rem;
}

.generator-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px;
}

@media (max-width: 768px) {
.generator-grid {
  grid-template-columns: 1fr;
}
}

.form-group {
  display: flex; flex-direction: column; margin-bottom: 15px;
}

.form-group label {
  font-weight: 600; color: #333; margin-bottom: 8px; font-size: 0.95rem;
}

.form-group input:focus {
  outline: none; border-color: #007bff; box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.form-group select:focus {
  outline: none; border-color: #007bff; box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.result-box h3 {
  color: #007bff; margin-top: 0; margin-bottom: 5px;
}

.result-subtitle {
  font-size: 0.9rem; color: #666; margin-top: 0; margin-bottom: 15px;
}

.result-box textarea {
  width: 100%; height: 120px; padding: 15px; border-radius: 8px; border: 1px solid #ccc; font-family: Arial, sans-serif; font-size: 1rem; line-height: 1.5; resize: none; background: #fff; color: #333; box-sizing: border-box;
}

.btn-group {
  display: flex; gap: 15px; justify-content: center; margin-top: 20px; flex-wrap: wrap;
}

.btn-ia {
  padding: 12px 24px; border: none; border-radius: 50px; font-weight: bold; font-size: 1rem; cursor: pointer; transition: 0.3s; color: #fff; display: flex; align-items: center; gap: 8px;
}

.btn-gemini {
  background: linear-gradient(90deg, #1A73E8, #8E24AA);
}

.btn-chatgpt {
  background: #10A37F;
}

.btn-ia:hover {
  transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

#copy-success {
  color: #28a745; font-weight: bold; display: none; margin-top: 15px;
}

.steps-container {
  margin-top: 50px;
}

.steps-container h2 {
  text-align: center; color: #1a2436; margin-bottom: 30px;
}

.step-item {
  display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px;
}

.step-number {
  background: #ff7b00; color: #fff; font-size: 1.5rem; font-weight: bold; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0;
}

.step-alert {
  color: #dc3545; font-weight: bold;
}

.step-content h4 {
  margin: 0 0 5px 0; color: #1a2436; font-size: 1.2rem;
}

.step-content p {
  margin: 0; color: #555; line-height: 1.6;
}

.cta-studio {
  display: block; width: fit-content; margin: 30px auto 40px !important; /* 30px en haut, auto sur les côtés, 40px en bas */ padding: 15px 40px; background: #ff7b00; color: #fff; text-decoration: none; font-size: 1.2rem; font-weight: bold; border-radius: 50px; text-transform: uppercase; transition: 0.3s; box-shadow: 0 4px 15px rgba(255,123,0,0.3); text-align: center;
}

.cta-studio:hover {
  background: #e66a00; transform: scale(1.05);
}

.tarifs-container {
  max-width: 900px; margin: 0 auto; padding: 20px; flex-grow: 1;
}

.page-title {
  text-align: center; color: #0056b3; border-bottom: 2px solid #ccc; padding-bottom: 10px; margin-top: 0; margin-bottom: 30px;
}

.page-heading {
  text-align: center; color: #0056b3; border-bottom: 2px solid #ccc; padding-bottom: 10px; margin-top: 0;
}

.pricing-info {
  background-color: transparent; border-radius: 4px; font-size: 0.95em;
}

.pricing-card {
  margin: 0 auto 30px auto; border: 1px solid #ddd; border-radius: 8px; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); overflow: hidden;
}

.pricing-title {
  margin: 0; padding: 15px 20px; background: #f8f9fa; color: #05037b; border-bottom: 1px solid #ddd; font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
}

.pricing-content {
  padding: 25px;
}

.pricing-lead {
  margin-top: 0;
}

.sub-title {
  margin-top: 0; color: #333; font-size: 1.1em; margin-bottom: 15px;
}

.inner-title {
  font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #1a2a6c; border-bottom: 1px solid #d35400; padding-bottom: 8px; margin-bottom: 20px;
}

.dtf-table {
  width: 100%; border-collapse: collapse; margin-bottom: 15px; background-color: #fff;
}

.dtf-table th {
  background-color: #007bff; color: white; font-weight: 600;
}

.dtf-table td {
  border: 1px solid #ddd; padding: 12px 10px; text-align: left;
}

.dtf-table td:last-child {
  font-weight: bold; color: #07511c; text-align: right; background-color: #d4edda;
}

.remise-helper {
  text-align: center; margin-bottom: 15px; font-weight: bold; color: #555;
}

.remise-text-table {
  width: 100%; max-width: 450px; margin: 0 auto; border-collapse: collapse;
}

.remise-text-table td {
  padding: 6px 0; border: none; background: transparent; text-align: left; border-bottom: 1px solid #f1f1f1;
}

.remise-text-table td:last-child {
  text-align: right; color: #555; font-weight: bold;
}

.dashed-divider {
  margin: 25px 0; border: 0; border-top: 1px dashed #ccc;
}

.solid-divider {
  margin: 25px 0; border: 0; border-top: 1px solid #d35400;
}

.warning-list {
  list-style: none; padding-left: 0; line-height: 1.6; margin-bottom: 25px;
}

.warning-list li {
  margin-bottom: 8px;
}

.text-danger {
  color: #dc3545;
}

.text-success {
  color: #28a745; font-weight: bold;
}

.info-box {
  border-left: 4px solid #28a745; padding: 12px 15px; margin: 15px 0 0 0; background-color: #f1f8f1;
}

.info-box p {
  margin: 0; font-size: 0.95rem; color: #333; font-style: italic;
}

.delivery-info {
  margin-top: 30px; margin-bottom: 10px; border-left: 4px solid #007bff; padding: 15px; background-color: #f8f9fa; border-radius: 4px;
}

.delivery-info strong {
  display: block; font-size: 1.1em; color: #0056b3; margin-bottom: 10px;
}

.delivery-info ul {
  list-style: none; padding-left: 0; margin: 0;
}

.delivery-info li {
  margin-bottom: 8px; font-size: 0.95em;
}

.cta-section {
  text-align: center; margin-top: 40px; padding: 30px; background: #e2e8f0; border-radius: 12px;
}

.cta-section p {
  font-size: 1.1rem; color: #333; margin-bottom: 15px; font-weight: 600;
}

.btn-primary {
  display: inline-block; padding: 12px 30px; background: #ff7b00; color: white; text-decoration: none; font-weight: bold; border-radius: 50px; text-transform: uppercase; transition: 0.3s;
}

.btn-primary:hover {
  background: #00c2ff; transform: scale(1.05);
}

.promo-container {
  margin-top: 20px; margin-bottom: 60px;
}

.promo-layout {
  display: flex; gap: 30px; align-items: flex-start; position: relative;
}

.promo-main {
  flex: 1; min-width: 0;
}

.promo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 25px; align-items: stretch; justify-items: center; margin-top: 30px;
}

.cart-sidebar {
  display: none; width: 360px; flex-shrink: 0; background: #ffffff; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); border-top: 5px solid #00b4d8; padding: 25px; position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow-y: auto;
}

.cart-sidebar::-webkit-scrollbar {
  width: 6px;
}

.cart-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1; border-radius: 10px;
}

.cart-sidebar::-webkit-scrollbar-thumb {
  background: #ccc; border-radius: 10px;
}

.cart-sidebar::-webkit-scrollbar-thumb:hover {
  background: #00b4d8;
}

.cart-title {
  font-size: 1.6rem; color: #1e1e24; text-align: center; margin-top: 0; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 2px dashed #00b4d8;
}

.cart-inner-layout {
  display: flex; flex-direction: column; gap: 25px;
}

.cart-row {
  display: grid; grid-template-columns: 60px 1fr; align-items: start; background: #fdfdfd; padding: 12px; border-radius: 12px; border: 1px solid #eee; box-shadow: 0 2px 5px rgba(0,0,0,0.02); gap: 12px;
}

.cart-row img {
  width: 100%; height: 60px; object-fit: contain; /* L'image est affichée en entier dans le panier aussi */ border-radius: 8px; background: #f4f5f7;
}

.cart-row-details {
  display: flex; flex-direction: column; justify-content: center;
}

.cart-row-title {
  font-weight: bold; color: #1e1e24; font-size: 0.95rem; margin: 0 0 4px 0; line-height: 1.2;
}

.cart-row-size {
  font-size: 0.8rem; color: #666; margin: 0 0 6px 0;
}

.cart-row-bottom {
  display: flex; justify-content: space-between; align-items: center; margin-top: auto;
}

.cart-qty-controls {
  display: flex; align-items: center; gap: 8px;
}

.btn-qty {
  background: #f4f5f7; border: 1px solid #ccc; border-radius: 4px; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-weight: bold; font-size: 1rem; transition: 0.2s;
}

.btn-qty:hover {
  background: #00b4d8; color: white; border-color: #00b4d8;
}

.cart-row-total {
  font-weight: bold; font-size: 1rem; color: #ff7b00;
}

.cart-summary {
  background: #fff;
}

.shipping-promo-msg {
  background: #e8f5e9; color: #28a745; padding: 10px; border-radius: 6px; text-align: center; font-weight: bold; font-size: 0.85rem; margin-bottom: 20px; border: 1px solid #c8e6c9;
}

.summary-label {
  font-weight: bold; display: block; margin-bottom: 8px; color: #1e1e24; font-size: 0.95rem;
}

.form-input {
  width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 6px; margin-bottom: 12px; font-family: 'Poppins', sans-serif; box-sizing: border-box;
}

.form-input:focus {
  border-color: #ff7b00; outline: none;
}

.customer-form {
  display: none; background: #fcfcfc; border: 1px solid #eee; padding: 15px; border-radius: 8px; margin-top: 15px;
}

.form-row {
  display: flex; gap: 10px;
}

.cart-sidebar #paypal-button-container {
  margin-top: 20px;
}

.customer-form h3 {
  margin-top: 0; font-size: 1rem; color: #1e1e24; border-bottom: 1px solid #ddd; padding-bottom: 8px;
}

.cart-totals {
  margin-top: 20px; background: #f4f5f7; padding: 15px; border-radius: 8px;
}

.cart-totals p {
  margin: 5px 0; color: #555; display: flex; justify-content: space-between; font-size: 0.95rem;
}

.cart-totals hr {
  border: 0; border-top: 1px dashed #ccc; margin: 15px 0;
}

.cart-totals h3 {
  margin: 0; color: #1e1e24; display: flex; justify-content: space-between; font-size: 1.2rem;
}

.total-price {
  color: #ff7b00;
}

@media (max-width: 992px) {
.promo-layout {
  flex-direction: column;
}
}

@media (max-width: 992px) {
.cart-sidebar {
  width: 100%; position: static; height: auto; max-height: none; overflow-y: visible; margin-top: 40px;
}
}

.loading-spinner {
  grid-column: 1 / -1; text-align: center; font-size: 1.2rem; color: #00c2ff; padding: 50px 0; font-weight: bold;
}

.promo-error-msg {
  grid-column: 1 / -1; text-align: center; color: #ff7b00; padding: 40px; font-weight: bold;
}

.promo-empty-msg {
  grid-column: 1 / -1; text-align: center; padding: 40px; color: #1a2436; font-weight: bold;
}

.product-title {
  font-size: 1.2rem; font-weight: 700; margin: 0 0 10px 0; color: #1a2436; line-height: 1.3;
}

.product-price {
  margin-bottom: 15px; font-weight: 600; color: #4a5568; font-size: 1.4em; text-align: center; border-top: 1px dashed #e5e7eb; border-bottom: 1px dashed #e5e7eb; padding: 10px 0;
}

.product-price strong {
  color: #ff7b00; font-size: 1.15em;
}

.size-selector {
  margin-bottom: 20px; text-align: left;
}

.size-selector label {
  font-size: 0.85rem; font-weight: 600; color: #1a2436; display: block; margin-bottom: 8px;
}

.size-select {
  width: 100%; padding: 10px; border: 1px solid rgba(0, 194, 255, 0.4); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 0.95rem; background-color: #fff; color: #333; outline: none; transition: border-color 0.3s ease;
}

.size-select:focus {
  border-color: #ff7b00;
}

.size-select:disabled {
  background-color: #f5f5f5; color: #999; border-color: #ddd;
}

.btn-buy {
  margin-top: auto; background: linear-gradient(90deg, #ff7b00, #ff9533); color: #ffffff; border: none; padding: 12px; border-radius: 50px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem; text-transform: uppercase; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; width: 100%;
}

.btn-buy:hover:not(:disabled) {
  transform: scale(1.02); box-shadow: 0 4px 15px rgba(255, 123, 0, 0.4);
}

.btn-buy:disabled {
  background: #ccc; cursor: not-allowed; box-shadow: none; transform: none;
}
