.product-badges {
position: absolute;
top: 1rem;
left: 1rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
z-index: 10;
}
.product-badge {
display: inline-block;
padding: 0.375rem 0.875rem;
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
border-radius: 20px;
white-space: nowrap;
} .badge-bio {
background: #4CAF50; color: #FFFFFF;
}
.badge-premium {
background: #FFC107; color: #FFFFFF; }
.badge-exclusif {
background: #00897B; color: #FFFFFF; } .product-tags{position:absolute;left:1rem;bottom:1rem;display:flex;flex-wrap:wrap;gap:6px;max-width:85%}
.product-tag-chip{background:rgba(255,255,255,.95);color:var(--color-text);border:1px solid var(--color-gray);border-radius:999px;padding:0.25rem 0.6rem;font-size:.8rem;line-height:1;box-shadow:0 2px 6px rgba(0,0,0,.06)}
Product Header (Titre + Rating sur la même ligne)
========================================================================== */
.product-header {
margin-bottom: 1.5rem;
}
.title-rating-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1.5rem;
margin-bottom: 0.5rem;
}
.product-title {
font-family: 'Playfair Display', serif;
font-size: 2rem;
font-weight: 600;
line-height: 1.2;
color: #D3AE27;
margin: 0;
flex: 1;
}
.product-rating {
flex-shrink: 0;
display: flex;
align-items: center;
gap: 0.5rem;
}
.product-subtitle {
font-family: 'Inter', sans-serif;
font-size: 1.125rem;
font-weight: 400;
font-style: italic;
color: #5A6C7D;
margin: 0.5rem 0 0 0;
} .product-description-short {
background: rgba(172, 215, 210, 0.15);
border-left: 3px solid #7FB3A3;
padding: 1.25rem 1.5rem;
margin: 1.5rem 0;
font-size: 1rem;
line-height: 1.6;
color: #2C3E50;
border-radius: 4px;
}
.product-description-short p {
margin: 0;
} .product-meta-compact {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
margin: 2rem 0;
padding: 1.5rem;
background: rgba(172, 215, 210, 0.08);
border-radius: 8px;
}
.meta-item {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem;
background: #FFFFFF;
border-radius: 6px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.meta-item:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(127, 179, 163, 0.15);
}
.meta-icon {
font-size: 1.5rem;
flex-shrink: 0;
}
.meta-label {
font-size: 0.875rem;
font-weight: 500;
color: #2C3E50;
line-height: 1.3;
} .product-secondary-actions {
display: flex;
align-items: center;
justify-content: center; gap: 1rem;
margin: 1.5rem 0;
}
.secondary-action-btn {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
background: #FFFFFF;
border: 2px solid #BDC3C7;
border-radius: 50%;
cursor: pointer;
transition: all 0.3s ease;
color: #5A6C7D;
}
.secondary-action-btn:hover {
background: #7FB3A3;
border-color: #7FB3A3;
color: #FFFFFF;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(127, 179, 163, 0.3);
}
.secondary-action-btn svg {
width: 20px;
height: 20px;
} .secondary-action-btn.wishlist-btn.active {
background: #B85450;
border-color: #B85450;
color: #FFFFFF;
}
.secondary-action-btn.wishlist-btn.active svg {
fill: currentColor;
} .packaging-selection-clean {
background: #FFFFFF;
border: 2px solid #7FB3A3;
border-radius: 12px;
padding: 1.5rem;
margin-bottom: 1.5rem;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
} .packaging-options-inline {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16px; margin-bottom: 1.5rem;
} @media (max-width: 480px) {
.packaging-options-inline {
grid-template-columns: 1fr;
}
} .packaging-option {
background: #F3F4F6; border: 2px solid #E5E7EB; border-radius: 8px;
padding: 1rem;
cursor: pointer;
transition: all 0.3s ease;
text-align: center;
position: relative;
}
.packaging-option:hover {
border-color: #7BA888; background: #FFFFFF;
} .packaging-option.selected {
border-color: #DC2626; background: #FEF2F2; } .packaging-option.selected::after {
content: "✓";
position: absolute;
top: 4px;
right: 6px;
width: 20px;
height: 20px;
background: #DC2626; color: #FFFFFF;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: bold;
} .packaging-option .option-badge.recommended,
.packaging-option .option-badge {
position: absolute;
top: -12px;
left: 50%;
transform: translateX(-50%);
background: #10B981; color: white;
padding: 4px 12px;
border-radius: 12px;
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
white-space: nowrap;
z-index: 2;
} .packaging-option .option-badge.discount {
background: #B85450; } .packaging-option:has(.option-badge){
padding-top: 28px;
}
.option-name {
display: block;
font-weight: 600;
color: #2C3E50;
font-size: 0.9rem;
margin-bottom: 0.25rem;
}
.option-price {
display: block;
font-weight: 700;
color: #D3AE27;
font-size: 1rem;
}
.option-badge {
display: inline-block;
margin-top: 0.5rem;
padding: 0.25rem 0.5rem;
background: #7FB3A3;
color: #FFFFFF;
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
border-radius: 12px;
letter-spacing: 0.5px;
}
.option-badge.discount {
background: #B85450;
} .purchase-controls {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
}
@media (max-width: 480px) {
.purchase-controls {
flex-direction: column;
gap: 1rem;
}
}
.quantity-selector-inline {
display: flex;
align-items: center;
gap: 1rem;
}
.quantity-selector-inline label {
font-weight: 600;
color: #2C3E50;
font-size: 0.9rem;
}
.quantity-controls {
display: flex;
align-items: center;
border: 2px solid #7FB3A3;
border-radius: 8px;
overflow: hidden;
background: #FFFFFF;
}
.qty-btn {
width: 40px;
height: 40px;
border: none;
background: #FFFFFF;
color: #7FB3A3;
cursor: pointer;
font-size: 1.2rem;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}
.qty-btn:hover {
background: #7FB3A3;
color: #FFFFFF;
}
.qty-input {
width: 60px;
height: 40px;
border: none;
border-left: 1px solid #E5E7EB;
border-right: 1px solid #E5E7EB;
text-align: center;
font-size: 1rem;
font-weight: 600;
background: #FFFFFF;
}
.qty-input:focus {
outline: none;
background: #F9FAFB;
} .add-to-cart-btn-primary {
flex: 1;
background: linear-gradient(135deg, #B85450, #C86B66);
color: #FFFFFF;
border: none;
border-radius: 8px;
padding: 1.5rem 2rem;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
white-space: nowrap;
min-width: 200px;
}
.add-to-cart-btn-primary:hover {
background: linear-gradient(135deg, #A04A45, #B85450);
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.add-to-cart-btn-primary .btn-icon {
font-size: 1.2rem;
flex-shrink: 0;
}
.add-to-cart-btn-primary .btn-total {
font-weight: 700;
margin-left: auto;
}
@media (max-width: 768px) {
.add-to-cart-btn-primary {
width: 100%;
min-width: auto;
padding: 1.5rem;
font-size: 1rem;
}
}