/*--------------------------------------------------------------
# Global Styles (FIXED for Mobile Scroll Issue)
--------------------------------------------------------------*/
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* CRITICAL FIX: Cuts off the right-side white space */
    margin: 0;
    padding: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- RESPONSIVE CONTAINER FIX --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Ensure images never push the width */
img {
    max-width: 100%;
    height: auto;
    display: block; /* Removes bottom gap in some browsers */
}

a {
    text-decoration: none;
    color: #A72A8D;
}

/* --- Featured Properties Grid V6 (Final Polish) --- */
.etc-properties-grid-widget { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; margin-bottom: 40px; }
.etc-properties-grid-widget .widget-title { font-size: 28px; font-weight: 700; margin-bottom: 15px; color: #1a1a1a; }
.etc-properties-grid-widget .guarantees-list { list-style: none; padding: 0; margin: 0 0 25px 0; display: flex; flex-wrap: wrap; gap: 20px 30px; align-items: center; }
.etc-properties-grid-widget .guarantees-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: #333; }
.etc-properties-grid-widget .guarantees-list .guarantee-icon { line-height: 1; display: inline-flex; align-items: center; }
.etc-properties-grid-widget .guarantees-list .guarantee-icon img { height: auto; max-width: 100%; vertical-align: middle; }
.etc-properties-grid-widget .tabs-nav { list-style: none; padding: 0; margin: 0 0 30px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.etc-properties-grid-widget .tabs-nav li { padding: 8px 20px; border: 1px solid #ddd; border-radius: 20px; cursor: pointer; transition: all 0.3s ease; background: #fff; font-weight: 500; color: #333; }
.etc-properties-grid-widget .tabs-nav li:hover { background: #f5f5f5; border-color: #ccc; }
.etc-properties-grid-widget .tabs-nav li.active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.etc-properties-grid-widget .tab-pane { display: none; }
.etc-properties-grid-widget .tab-pane.active { display: block; }
.etc-properties-grid-widget .hotel-grid { display: grid; gap: 25px; }
.etc-properties-grid-widget .hotel-card { border: 1px solid #e0e0e0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.etc-properties-grid-widget .hotel-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.etc-properties-grid-widget .hotel-card .card-image-link { display: block; height: 180px; }
.etc-properties-grid-widget .hotel-card .card-image-link img, .etc-properties-grid-widget .hotel-card .placeholder-image { width: 100%; height: 100%; object-fit: cover; }
.etc-properties-grid-widget .hotel-card .placeholder-image { background-color: #f0f0f0; }
.etc-properties-grid-widget .hotel-card .card-content { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.etc-properties-grid-widget .hotel-card .card-main-content { flex-grow: 1; }
.etc-properties-grid-widget .hotel-card .card-title { font-size: 16px; font-weight: 600; margin: 0 0 8px 0; }
.etc-properties-grid-widget .hotel-card .card-title a { text-decoration: none; color: #222; }
.etc-properties-grid-widget .hotel-card .star-rating { margin-bottom: 8px; font-size: 14px; color: #ccc; }
.etc-properties-grid-widget .hotel-card .star-rating i.filled { color: #f39c12; }
.etc-properties-grid-widget .hotel-card .review-info { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 15px; }
.etc-properties-grid-widget .hotel-card .numeric-rating { background-color: #0073e6; color: #fff; font-weight: 700; padding: 4px 8px; border-radius: 5px; line-height: 1; }
.etc-properties-grid-widget .hotel-card .reviews-count { color: #666; }
/* FINAL FOOTER LAYOUT FIX */
.etc-properties-grid-widget .hotel-card .card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; border-top: 1px solid #f0f0f0; }
.etc-properties-grid-widget .hotel-card .card-actions-left, .etc-properties-grid-widget .hotel-card .card-actions-right { display: flex; align-items: center; gap: 15px; }
.etc-properties-grid-widget .hotel-card .price-info { text-align: right; color: #666; font-size: 14px; }
.etc-properties-grid-widget .hotel-card .price-info span { font-size: 18px; font-weight: 700; color: #222; }
.etc-properties-grid-widget .hotel-card .whatsapp-link { font-size: 24px; color: #25D366; transition: transform 0.2s ease; line-height: 1; }
.etc-properties-grid-widget .hotel-card .whatsapp-link:hover { transform: scale(1.1); }
.etc-properties-grid-widget .hotel-card .card-read-more { text-decoration: none; font-weight: 600; transition: color 0.2s ease; }
/* Promo Card Styles */
.etc-properties-grid-widget .promo-card { background: #e0f2f1; color: #004d40; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; min-height: 250px; }
.etc-properties-grid-widget .promo-card .promo-content { background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='12' ry='12' stroke='%23B2DFDB' stroke-width='2' stroke-dasharray='6%2c 6' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e"); border-radius: 12px; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; }
.etc-properties-grid-widget .promo-card h4 { font-size: 18px; font-weight: 600; margin: 0 0 15px 0; }
.etc-properties-grid-widget .promo-card .button { background: #0073e6; color: #fff; padding: 10px 25px; border-radius: 25px; text-decoration: none; font-weight: 600; }