.jc-booking-annonces {
margin: 2rem 0;
}
.jc-annonces-grid {
display: grid;
gap: 2rem;
}
.jc-annonces-grid.jc-columns-1 {
grid-template-columns: 1fr;
}
.jc-annonces-grid.jc-columns-2 {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.jc-annonces-grid.jc-columns-3 {
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.jc-annonces-grid.jc-columns-4 {
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.jc-annonce-card {
background: #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;
}
.jc-annonce-card:hover {
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
transform: translateY(-4px);
}
.jc-annonce-thumbnail {
position: relative;
aspect-ratio: 4 / 3;
overflow: hidden;
}
.jc-annonce-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.3s ease;
}
.jc-annonce-card:hover .jc-annonce-thumbnail img {
transform: scale(1.05);
}
.jc-annonce-content {
padding: 1rem;
}
.jc-annonce-title {
margin: 0 0 0.25rem;
font-size: 1.125rem;
font-weight: 900;
line-height: 1.3;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.jc-annonce-title a {
color: #2c3e50;
text-decoration: none;
}
.jc-annonce-title a:hover {
color: #0073aa;
}
.jc-annonce-location {
color: #718096;
font-size: 0.875rem;
margin: 0 0 0.75rem;
display: flex;
align-items: center;
gap: 0.25rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.jc-annonce-meta {
display: flex;
align-items: center;
gap: 0.75rem;
margin: 0.75rem 0;
color: #4a5568;
font-size: 0.875rem;
}
.jc-meta-item {
display: flex;
align-items: center;
gap: 0.25rem;
}
.jc-annonce-price {
font-size: 1rem;
margin: 1rem 0;
padding-top: 0.75rem;
border-top: 1px solid #e2e8f0;
color: #2d3748;
}
.jc-annonce-price strong {
font-size: 1.25rem;
font-weight: 700;
}
.jc-annonces-list .jc-annonce-card {
display: flex;
margin-bottom: 2rem;
}
.jc-annonces-list .jc-annonce-thumbnail {
flex: 0 0 300px;
}
.jc-annonces-list .jc-annonce-thumbnail img {
height: 100%;
}
.jc-annonces-list .jc-annonce-content {
flex: 1;
}
.jc-annonce-single .jc-annonce-grid {
display: grid;
grid-template-columns: 1fr 350px;
gap: 2rem;
margin-top: 2rem;
}
.jc-annonce-sidebar {
position: sticky;
top: 2rem;
height: fit-content;
}
.jc-prix-box,
.jc-reservation-box,
.jc-calendrier-box {
background: #f9f9f9;
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 1.5rem;
margin-bottom: 1.5rem;
}
.jc-prix-box h3,
.jc-reservation-box h3,
.jc-calendrier-box h3 {
margin: 0 0 1rem;
font-size: 1.1rem;
}
.jc-prix-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem 0;
border-bottom: 1px solid #e0e0e0;
}
.jc-prix-item:last-child {
border-bottom: none;
}
.jc-prix-value {
font-size: 1.25rem;
font-weight: bold;
color: #0073aa;
}
.jc-equipements-list {
list-style: none;
padding: 0;
margin: 0;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 0.5rem;
}
.jc-equipements-list li {
padding: 0.5rem 0;
}
.jc-booking-form {
margin: 1rem 0;
}
.jc-form-field {
margin-bottom: 1rem;
}
.jc-form-field label {
display: block;
margin-bottom: 0.25rem;
font-weight: 600;
}
.jc-form-field .required {
color: #d00;
}
.jc-form-field input[type="text"],
.jc-form-field input[type="email"],
.jc-form-field input[type="tel"],
.jc-form-field input[type="date"],
.jc-form-field input[type="number"],
.jc-form-field textarea,
.jc-form-field select {
width: 100%;
padding: 0.75rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 1rem;
}
.jc-form-field textarea {
resize: vertical;
}
.jc-form-messages {
margin-bottom: 1rem;
padding: 1rem;
border-radius: 4px;
}
.jc-form-messages.success {
background: #d4edda;
border: 1px solid #c3e6cb;
color: #155724;
}
.jc-form-messages.error {
background: #f8d7da;
border: 1px solid #f5c6cb;
color: #721c24;
}
.jc-btn {
display: inline-block;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 4px;
font-size: 1rem;
font-weight: 600;
text-align: center;
text-decoration: none;
cursor: pointer;
transition: background-color 0.3s ease;
}
.jc-btn-primary {
background: #0073aa;
color: #fff;
}
.jc-btn-primary:hover {
background: #005a87;
color: #fff;
}
.jc-btn-block {
display: block;
width: 100%;
}
.jc-submit-btn {
background: #0073aa;
color: #fff;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 4px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
width: 100%;
}
.jc-submit-btn:hover {
background: #005a87;
}
.jc-booking-calendar {
margin: 1rem 0;
}
.jc-calendar-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.jc-calendar-header h3 {
margin: 0;
font-size: 1.1rem;
}
.jc-calendar-prev,
.jc-calendar-next {
background: #0073aa;
color: #fff;
border: none;
padding: 0.5rem 1rem;
border-radius: 4px;
cursor: pointer;
}
.jc-calendar-prev:hover,
.jc-calendar-next:hover {
background: #005a87;
}
.jc-calendar-table {
width: 100%;
border-collapse: collapse;
}
.jc-calendar-table th {
padding: 0.5rem;
text-align: center;
font-weight: 600;
font-size: 0.85rem;
color: #666;
}
.jc-calendar-table td {
padding: 0.5rem;
text-align: center;
border: 1px solid #e0e0e0;
}
.jc-calendar-day {
cursor: pointer;
transition: background-color 0.2s ease;
}
.jc-calendar-day:hover {
background: #f0f0f0;
}
.jc-calendar-day.jc-unavailable {
background: #ffebee;
color: #999;
cursor: not-allowed;
}
.jc-calendar-day.jc-available {
background: #e8f5e9;
}
.jc-calendar-legend {
display: flex;
gap: 1rem;
margin-top: 1rem;
font-size: 0.85rem;
}
.jc-legend-item {
display: flex;
align-items: center;
gap: 0.5rem;
}
.jc-legend-color {
width: 20px;
height: 20px;
border: 1px solid #ddd;
border-radius: 2px;
}
.jc-legend-color.jc-available {
background: #e8f5e9;
}
.jc-legend-color.jc-unavailable {
background: #ffebee;
}
.jc-whatsapp-button {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: #25D366;
color: #fff;
padding: 0.75rem 1.5rem;
border-radius: 4px;
text-decoration: none;
font-weight: 600;
transition: background-color 0.3s ease;
}
.jc-whatsapp-button:hover {
background: #20BA5A;
color: #fff;
}
.jc-whatsapp-icon {
width: 24px;
height: 24px;
}
.jc-whatsapp-float {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
}
.jc-whatsapp-float-btn {
display: flex;
align-items: center;
justify-content: center;
width: 60px;
height: 60px;
background: #25D366;
color: #fff;
border-radius: 50%;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
text-decoration: none;
transition: all 0.3s ease;
}
.jc-whatsapp-float-btn:hover {
background: #20BA5A;
transform: scale(1.1);
}
@media (max-width: 768px) {
.jc-annonce-single .jc-annonce-grid {
grid-template-columns: 1fr;
}
.jc-annonce-sidebar {
position: static;
}
.jc-annonces-list .jc-annonce-card {
flex-direction: column;
}
.jc-annonces-list .jc-annonce-thumbnail {
flex: none;
}
.jc-annonces-grid.jc-columns-2,
.jc-annonces-grid.jc-columns-3,
.jc-annonces-grid.jc-columns-4 {
grid-template-columns: 1fr;
}
}