/*  Theme Name:   Hello Elementor CHILD 
Theme URI:    https://monsite.com 
Description:  Description de mon thème enfant 
Author:       OCCI  
Author URI:   https://occi-lynx.fr 
Template:     hello-elementor  
Version:      0.1.0 */

/* Import Google Fonts - Montserrat & Syne */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Syne:wght@400;500;600;700;800&display=swap');

/**
 * Styles globaux pour Hello Elementor Child Theme
 * Palette noir et blanc - style minimaliste
 */

/* ========================================
   TYPOGRAPHIE GLOBALE
   ======================================== */

/* Police par défaut - Montserrat */
body,
p,
span,
a,
li,
td,
th,
input,
textarea,
select,
button {
    font-family: 'Montserrat', sans-serif;
}

/* Titres - Syne */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.site-title,
.woocommerce-loop-product__title,
.woocommerce-order-details__title,
.woocommerce-column__title,
.elementor-heading-title {
    font-family: 'Syne', sans-serif;
}

/* ========================================
   PAGE CONFIRMATION DE COMMANDE (THANK YOU)
   ======================================== */

/* Message de confirmation */
.woocommerce-notice--success.woocommerce-thankyou-order-received {
    background: #fff;
    border: 1px solid #000;
    border-radius: 0;
    padding: 20px;
    margin-bottom: 30px;
    font-size: 16px;
    color: #000;
    text-align: center;
}

/* Liste récapitulative de la commande */
.woocommerce-order-overview.order_details {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    border: 1px solid #000;
    background: #fff;
}

.woocommerce-order-overview.order_details li {
    flex: 1 1 auto;
    padding: 15px 20px;
    border-right: 1px solid #e0e0e0;
    margin: 0;
    font-size: 14px;
    color: #666;
}

.woocommerce-order-overview.order_details li:last-child {
    border-right: none;
}

.woocommerce-order-overview.order_details li strong {
    display: block;
    font-size: 16px;
    color: #000;
    font-weight: 600;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .woocommerce-order-overview.order_details {
        flex-direction: column;
    }
    
    .woocommerce-order-overview.order_details li {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .woocommerce-order-overview.order_details li:last-child {
        border-bottom: none;
    }
}

.woocommerce ul.order_details li {
    padding: 1rem !important;

}

/* Titre des sections */
.woocommerce-order-details__title,
.woocommerce-column__title {
    font-size: 24px;
    font-weight: 400;
    color: #000;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
}

/* Tableau des détails de commande */
.woocommerce-table.order_details {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #000;
    background: #fff;
    margin-bottom: 0;
}

.woocommerce-table.order_details thead {
    background: #000;
    color: #fff;
}

.woocommerce-table.order_details thead th {
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    border: none;
}

.woocommerce-table.order_details thead th.product-total {
    text-align: right;
}

.woocommerce-table.order_details tbody td {
    padding: 15px;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.woocommerce-table.order_details tbody td.product-name a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.woocommerce-table.order_details tbody td.product-name a:hover {
    text-decoration: underline;
}

.woocommerce-table.order_details tbody td.product-name .product-quantity {
    color: #666;
    font-weight: 400;
    margin-left: 5px;
}

.woocommerce-table.order_details tbody td.product-total {
    text-align: right;
    font-weight: 500;
}

.woocommerce-table.order_details tfoot th,
.woocommerce-table.order_details tfoot td {
    padding: 12px 15px;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
}

.woocommerce-table.order_details tfoot th {
    text-align: left;
    font-weight: 400;
    color: #666;
}

.woocommerce-table.order_details tfoot td {
    text-align: right;
    font-weight: 500;
    color: #000;
}

.woocommerce-table.order_details tfoot tr:last-child th,
.woocommerce-table.order_details tfoot tr:last-child td {
    border-bottom: none;
}

.woocommerce-table.order_details tfoot .includes_tax {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

/* Section Créneau de retrait - Thank You Page */
.bakerypickup-thankyou-slot {
    margin: 0 0 30px 0;
    padding: 25px;
    border: 1px solid #000;
    border-radius: var(--wc-form-border-radius);
    background: #fff;
}

.bakerypickup-thankyou-slot h3 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0 0 20px 0;
    padding: 0;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bakerypickup-thankyou-slot .pickup-slot-details {
    display: flex;
    gap: 20px;
}

.bakerypickup-thankyou-slot .pickup-slot-details p {
    flex: 1;
    margin: 0;
    padding: 15px;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.bakerypickup-thankyou-slot .pickup-slot-details .label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bakerypickup-thankyou-slot .pickup-slot-details .value {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #000;
}

@media (max-width: 480px) {
    .bakerypickup-thankyou-slot .pickup-slot-details {
        flex-direction: column;
        gap: 10px;
    }
}

/* Adresse de facturation */
.woocommerce-customer-details address {
    padding: 20px;
    border: 1px solid #000;
    background: #fff;
    font-style: normal;
    line-height: 1.8;
    color: #000;
}

.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
    margin: 10px 0 0 0;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.woocommerce-customer-details--phone::before {
    content: "📞 ";
}

.woocommerce-customer-details--email a {
    color: #000;
    text-decoration: none;
}

.woocommerce-customer-details--email a:hover {
    text-decoration: underline;
}

.woocommerce-customer-details h2,.woocommerce-order-details h2 {
    display: none;
  }
  
  .woocommerce ul.order_details {
    margin: 0 0 30px;
  }
  
  .woocommerce-customer-details address {
    
  border: 1px solid #000 !important;
  }
  
  .woocommerce-order-overview, .woocommerce-notice {
    border-radius: var(--wc-form-border-radius) !important;
  }

  .woocommerce-checkout h1 {
    font-size:2rem !important;
  }

  .woocommerce-checkout h2 {
    font-size:1.5rem !important;
  }

  .woocommerce-checkout h3 {
    font-size:1.2rem !important;
  }

  .woocommerce-checkout h4 {
    font-size:1rem !important;
  }

  .woocommerce-checkout .entry-title {
    display: none;
  }
  
  .woocommerce-order-received {
    padding-top: 20px;
  }

  .wp-block-woocommerce-checkout-order-summary-block {
    border: 1px solid #000 !important;
    border-radius: var(--wc-form-border-radius) !important;
    padding: 16px !important;
  }
  
  .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title  {
    margin-top: 0px !important;
    border:none !important;
    padding: 0px !important;
  }
  
  .wc-block-checkout__actions_row {
    padding-top: 20px
  }

  .wc-block-components-checkout-order-summary__title-text {
    font-size: 1.2rem !important;
  }

  .wc-block-components-order-summary-item__description h3 {
    font-size: .8rem !important;
  }