/* ========================================
   PAGE PRODUIT - STYLE PENTEE
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(90deg, #ff006e, #8338ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #ff006e;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn-login {
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-login:hover {
    color: #ff006e;
}

.btn-primary {
    padding: 10px 25px;
    background: linear-gradient(90deg, #ff006e, #8338ec);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 110, 0.3);
}

/* Product Section */
.product-section {
    padding: 40px 20px 80px;
    background: #fff;
}

.product-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-badge-express {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff006e, #8338ec);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 1px;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.thumbnail {
    aspect-ratio: 1;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.thumbnail:hover {
    border-color: #ff006e;
}

.thumbnail.active {
    border-color: #ff006e;
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.2);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info {
    padding-top: 20px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #ff006e;
}

.breadcrumb i {
    font-size: 10px;
}

/* Product Title */
.product-title {
    font-size: 36px;
    font-weight: 800;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Product Meta */
.product-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.stars {
    display: flex;
    gap: 3px;
    color: #ffa401;
    font-size: 16px;
}

.rating-count {
    font-size: 14px;
    color: #666;
}

/* Description */
.product-description {
    margin-bottom: 30px;
    line-height: 1.8;
    color: #666;
}

.product-description p {
    margin-bottom: 15px;
}

.highlight-text {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.05), rgba(131, 56, 236, 0.05));
    padding: 15px 20px;
    border-left: 4px solid;
    border-image: linear-gradient(135deg, #ff006e, #8338ec) 1;
    border-radius: 5px;
}

/* Questions Section */
.product-questions {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
}

.product-questions h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.question-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.question-btn {
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.question-btn:hover {
    border-color: #ff006e;
    color: #ff006e;
}

.question-btn-primary {
    padding: 10px 20px;
    background: #000;
    border: 2px solid #000;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.question-btn-primary:hover {
    background: linear-gradient(90deg, #ff006e, #8338ec);
    border-color: transparent;
    transform: translateY(-2px);
}

/* Color Selector */
.color-selector {
    margin-bottom: 30px;
    padding: 25px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
}

.selector-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.color-dropdown {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.color-dropdown:hover {
    border-color: #ff006e;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.color-swatch.active {
    border-color: #ff006e;
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.2);
}

/* Price Section */
.product-price-section {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 30px;
}

.price-label {
    font-size: 14px;
    color: #999;
}

.price-amount {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(90deg, #ff006e, #8338ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-unit {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

/* CTA Buttons */
.product-cta {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-customize {
    padding: 18px 30px;
    background: linear-gradient(90deg, #ff006e, #8338ec);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-customize:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 110, 0.3);
}

.btn-quote {
    padding: 18px 30px;
    background: #fff;
    color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-quote:hover {
    border-color: #ff006e;
    color: #ff006e;
    transform: translateY(-3px);
}

/* Delivery Info */
.delivery-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.05), rgba(131, 56, 236, 0.05));
    border-radius: 15px;
    border-left: 4px solid;
    border-image: linear-gradient(135deg, #ff006e, #8338ec) 1;
}

.delivery-info i {
    font-size: 32px;
    background: linear-gradient(135deg, #ff006e, #8338ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.delivery-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.delivery-text strong {
    font-size: 16px;
    color: #000;
}

.delivery-text span {
    font-size: 13px;
    color: #666;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #ff006e, #8338ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ff006e;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .price-amount {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .product-cta {
        grid-template-columns: 1fr;
    }
    
    .question-buttons {
        flex-direction: column;
    }
    
    .question-btn,
    .question-btn-primary {
        width: 100%;
    }
    
    .color-swatches {
        gap: 8px;
    }
    
    .color-swatch {
        width: 35px;
        height: 35px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .price-amount {
        font-size: 32px;
    }
}

.custom-btn {
  background: #efefef;
  border: 2px solid #d6d6d6;
  padding: 12px 22px; /* plus petit */
  border-radius: 40px;
  font-size: 15px; /* texte réduit */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}


.custom-btn:hover {
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Modal */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    padding: 20px;
    z-index: 999;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #fff;
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    animation: fadeInUp 0.3s ease;
}

.modal-content h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
}

.close-btn {
    position: absolute;
    top: 18px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    transition: 0.2s;
}

.close-btn:hover {
    transform: scale(1.2);
}

.image-wrapper {
    width: 100%;
    text-align: center;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    max-height: 70vh;
}

/* Animation */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */

@media (max-width: 768px) {
    .modal-content {
        padding: 25px 15px;
    }

    .modal-content h3 {
        font-size: 20px;
    }

    .image-wrapper img {
        max-height: 60vh;
    }
}

 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* Bouton */


.custom-btn:hover {
  background: #ffffff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* Modal overlay */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  padding: 20px;
  z-index: 999;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* Modal box */
.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 700px;
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  animation: fadeInUp 0.3s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Close button */
.close-btn {
  position: absolute;
  top: 18px;
  right: 25px;
  font-size: 28px;
  cursor: pointer;
  transition: 0.2s;
}

.close-btn:hover {
  transform: scale(1.2);
}

/* Header */
.modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.modal-header h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 14px;
  color: #777;
}

/* Steps */
.modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  gap: 18px;
  background: #f8f8f8;
  padding: 18px;
  border-radius: 14px;
  transition: 0.3s ease;
}

.step:hover {
  background: #f1f1f1;
  transform: translateY(-3px);
}

.step-number {
  min-width: 38px;
  height: 38px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step h4 {
  margin-bottom: 5px;
  font-size: 16px;
}

.step p {
  font-size: 14px;
  color: #555;
}

/* Footer */
.modal-footer {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: #666;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    padding: 25px 18px;
  }

  .modal-header h3 {
    font-size: 20px;
  }

  .step {
    flex-direction: column;
  }

  .step-number {
    margin-bottom: 8px;
  }

  .custom-btn {
    width: 100%;
  }
}
/* ========================================
   TAILLES ET QUANTITÉS
   ======================================== */

.size-quantity-selector {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
}

.size-quantity-selector h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
}

.selector-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.sizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.size-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.size-item:has(.qty-input:not([value="0"])) {
    border-color: #ff006e;
    background: #fff5f9;
}

.size-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: #000;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #ff006e;
    color: #fff;
    border-color: #ff006e;
}

.qty-input {
    width: 60px;
    height: 32px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.selection-summary {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.summary-row strong {
    color: #ff006e;
    font-size: 18px;
}

@media (max-width: 768px) {
    .sizes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   AFFICHAGE DES PRIX - À AJOUTER À studio.css
   ======================================== */

.price-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.price-display {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.price-row:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.price-label {
    color: #666;
    font-weight: 500;
}

.price-value {
    color: #333;
    font-weight: 700;
    font-size: 16px;
}

.price-total {
    border-top: 2px solid #e0e0e0 !important;
    padding-top: 12px !important;
    margin-top: 8px;
}

.price-value-total {
    color: #ff006e;
    font-weight: 800;
    font-size: 24px;
}

.sizes-info-card h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .price-card {
        margin: 10px;
    }
    
    .price-value-total {
        font-size: 20px;
    }
}

/* ── Taille unique : pleine largeur ── */
.size-item--unique {
    grid-column: 1 / -1;
    max-width: 340px;
    margin: 0 auto;
    width: 100%;
}
/* ========================================
   RESPONSIVE SMARTPHONE (max 480px)
   ======================================== */
@media (max-width: 480px) {

    /* Navigation */
    nav {
        padding: 12px 15px;
    }

    .logo {
        font-size: 20px;
    }

    .nav-buttons {
        gap: 8px;
    }

    .btn-login {
        display: none;
    }

    .btn-primary {
        padding: 8px 16px;
        font-size: 11px;
    }

    /* Section produit */
    .product-section {
        padding: 20px 15px 50px;
    }

    .product-container {
        gap: 24px;
    }

    /* Galerie */
    .main-image {
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .thumbnail-gallery {
        gap: 8px;
    }

    .thumbnail {
        border-radius: 8px;
        border-width: 2px;
    }

    /* Infos produit */
    .product-info {
        padding-top: 0;
    }

    .breadcrumb {
        font-size: 12px;
        margin-bottom: 12px;
        flex-wrap: wrap;
    }

    .product-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .product-meta {
        font-size: 13px;
    }

    .product-rating {
        margin-bottom: 16px;
    }

    .product-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .highlight-text {
        padding: 12px 15px;
        font-size: 13px;
    }

    /* Questions */
    .product-questions {
        padding: 18px 15px;
        margin-bottom: 20px;
    }

    .product-questions h3 {
        font-size: 16px;
    }

    .question-btn,
    .question-btn-primary {
        padding: 10px 15px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }

    /* Couleurs */
    .color-selector {
        padding: 18px 15px;
        margin-bottom: 20px;
    }

    .color-swatch {
        width: 32px;
        height: 32px;
    }

    /* Prix */
    .product-price-section {
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .price-amount {
        font-size: 28px;
    }

    .price-unit {
        font-size: 14px;
    }

    /* Boutons CTA */
    .product-cta {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }

    .btn-customize {
        padding: 16px 20px;
        font-size: 15px;
    }

    .btn-quote {
        padding: 14px 20px;
        font-size: 14px;
    }

    /* Livraison */
    .delivery-info {
        padding: 15px;
        gap: 12px;
    }

    .delivery-info i {
        font-size: 26px;
    }

    .delivery-text strong {
        font-size: 14px;
    }

    .delivery-text span {
        font-size: 12px;
    }

    /* Tailles & quantités */
    .size-quantity-selector {
        padding: 18px 15px;
    }

    .size-quantity-selector h3 {
        font-size: 16px;
    }

    .sizes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .size-item {
        padding: 12px 8px;
    }

    .size-label {
        font-size: 13px;
    }

    .qty-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .qty-input {
        width: 48px;
        height: 28px;
        font-size: 13px;
    }

    /* Récap prix */
    .price-card {
        margin: 8px 0;
        padding: 15px;
    }

    .price-value-total {
        font-size: 20px;
    }

    /* Modal */
    .modal {
        padding: 12px;
    }

    .modal-content {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .modal-content h3 {
        font-size: 18px;
    }

    .modal-header h3 {
        font-size: 18px;
    }

    .step {
        padding: 14px;
        gap: 12px;
        flex-direction: column;
    }

    .step h4 {
        font-size: 15px;
    }

    .step p {
        font-size: 13px;
    }

    /* Footer */
    footer {
        padding: 40px 15px 20px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-section h4 {
        font-size: 16px;
    }

    /* Bouton custom */
    .custom-btn {
        width: 100%;
        text-align: center;
        padding: 12px 18px;
        font-size: 14px;
    }
}