/*
 * ============================================
 * PROPERTY RENTAL WEBSITE - MODERN DESIGN
 * Inspired by Airbnb & StayVista
 * Version: 3.0
 * ============================================
 */

/* ============================================
   1. CSS VARIABLES
   Scoped to .property-rental-website to avoid affecting other website elements
   ============================================ */
.property-rental-website {
    /* Brand Colors - Inherit from Odoo Website Theme */
    --prw-primary: var(--o-color-1, #714B67);
    --prw-primary-dark: var(--o-color-1, #5a3b52);
    --prw-primary-light: var(--o-color-1, #8a5d7e);
    --prw-secondary: #00A699;
    --prw-secondary-dark: #008F82;

    /* Neutral Colors */
    --prw-black: #222222;
    --prw-gray-900: #333333;
    --prw-gray-800: #484848;
    --prw-gray-700: #5A5A5A;
    --prw-gray-600: #717171;
    --prw-gray-500: #8A8A8A;
    --prw-gray-400: #B0B0B0;
    --prw-gray-300: #DDDDDD;
    --prw-gray-200: #EBEBEB;
    --prw-gray-100: #F7F7F7;
    --prw-gray-50: #FAFAFA;
    --prw-white: #FFFFFF;

    /* Semantic */
    --prw-success: #00A699;
    --prw-warning: #FFB400;
    --prw-error: #C13515;

    /* Shadows */
    --prw-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --prw-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --prw-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --prw-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --prw-radius-sm: 8px;
    --prw-radius-md: 12px;
    --prw-radius-lg: 16px;
    --prw-radius-xl: 24px;
    --prw-radius-full: 9999px;

    /* Typography */
    --prw-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Transitions */
    --prw-transition-fast: 150ms ease;
    --prw-transition: 250ms ease;
    --prw-transition-slow: 350ms ease;

    /* Apply base styles */
    font-family: var(--prw-font);
    color: var(--prw-black);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   2. BASE STYLES
   ============================================ */
.property-rental-website * {
    box-sizing: border-box;
}

.property-rental-website a {
    color: inherit;
    text-decoration: none;
    transition: color var(--prw-transition-fast);
}

.property-rental-website a:hover {
    color: var(--prw-primary);
}

.property-rental-website img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes for Theme Colors - Scoped to property website only */
.property-rental-website .prw-text-primary {
    color: var(--prw-primary) !important;
}

.property-rental-website .prw-bg-primary {
    background-color: var(--prw-primary) !important;
}

.property-rental-website .prw-btn-primary {
    background: var(--prw-primary) !important;
    color: var(--prw-white) !important;
    border: none !important;
}

.property-rental-website .prw-btn-primary:hover {
    filter: brightness(0.9);
    color: var(--prw-white) !important;
}

/* ============================================
   3. HERO SECTION
   ============================================ */
.prw-hero {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 400px;
    max-height: 500px;
    overflow: visible;
    margin-bottom: 60px;
}

.prw-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.prw-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prw-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.5) 100%);
}

.prw-hero-content {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -25%);
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.prw-hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--prw-white);
    margin: 0 0 16px 0;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
    letter-spacing: -1px;
}

.prw-hero-subtitle {
    font-size: 20px;
    color: var(--prw-white);
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 1px 15px rgba(0, 0, 0, 0.3);
}

/* Search Box */
.prw-search-wrapper {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 95%;
    max-width: 900px;
}

.prw-search-box {
    background: var(--prw-white);
    border-radius: var(--prw-radius-xl);
    box-shadow: var(--prw-shadow-xl);
    padding: 10px;
    display: flex;
    align-items: center;
    border: 1px solid var(--prw-gray-200);
}

.prw-search-field {
    flex: 1;
    padding: 16px 20px;
    border-radius: var(--prw-radius-lg);
    transition: background var(--prw-transition-fast);
    cursor: pointer;
}

.prw-search-field:hover {
    background: var(--prw-gray-100);
}


.prw-search-field-guests {
    flex: 0.7;
}

.prw-search-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--prw-black);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prw-search-field label i {
    color: var(--prw-primary);
}

.prw-search-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--prw-gray-800);
    outline: none;
    padding: 4px 0;
    font-family: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Enhanced Select Styling */
select.prw-search-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FF385C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 20px;
}

/* Enhanced Date Input Styling */
input[type="date"].prw-search-input {
    position: relative;
}

input[type="date"].prw-search-input::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.6;
    padding: 4px;
    border-radius: 4px;
    transition: all var(--prw-transition-fast);
    filter: invert(27%) sepia(91%) saturate(1697%) hue-rotate(331deg) brightness(101%) contrast(101%);
}

input[type="date"].prw-search-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    background: rgba(255, 56, 92, 0.1);
}

.prw-search-input::placeholder {
    color: var(--prw-gray-500);
}

.prw-search-divider {
    width: 1px;
    height: 40px;
    background: var(--prw-gray-300);
    flex-shrink: 0;
}

.prw-search-btn {
    background: linear-gradient(135deg, var(--prw-primary) 0%, var(--prw-primary-dark) 100%);
    color: var(--prw-white);
    border: none;
    border-radius: var(--prw-radius-lg);
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--prw-transition);
    box-shadow: 0 4px 14px rgba(255, 56, 92, 0.4);
    margin-left: 10px;
}

.prw-search-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 56, 92, 0.5);
}

.prw-search-btn i {
    font-size: 18px;
}

/* ============================================
   4. SECTIONS
   ============================================ */
.prw-section {
    padding: 60px 0;
}

.prw-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.prw-section-header.text-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.prw-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--prw-black);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.prw-section-subtitle {
    font-size: 16px;
    color: var(--prw-gray-600);
    margin: 0;
}

.prw-view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--prw-black);
    transition: all var(--prw-transition-fast);
}

.prw-view-all:hover {
    color: var(--prw-primary);
    gap: 12px;
}

/* Featured Section */
.prw-featured-section {
    background: var(--prw-gray-50);
}

/* ============================================
   5. PROPERTY GRID & CARDS
   ============================================ */
.prw-property-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.prw-listing-grid {
    grid-template-columns: repeat(3, 1fr);
}

.prw-similar-grid {
    grid-template-columns: repeat(4, 1fr);
}

.prw-property-card {
    background: var(--prw-white);
    border-radius: var(--prw-radius-md);
    overflow: hidden;
    transition: all var(--prw-transition);
    display: block;
    border: 1px solid var(--prw-gray-200);
}

.prw-property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--prw-shadow-lg);
}

.prw-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.prw-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prw-property-card:hover .prw-card-image img {
    transform: scale(1.08);
}

.prw-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--prw-white);
    padding: 6px 12px;
    border-radius: var(--prw-radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--prw-black);
    box-shadow: var(--prw-shadow-sm);
}

.prw-badge-new {
    background: var(--prw-primary);
    color: var(--prw-white);
}

.prw-badge-featured {
    background: var(--prw-black);
    color: var(--prw-white);
}

.prw-card-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--prw-transition-fast);
    z-index: 5;
}

.prw-card-wishlist:hover {
    transform: scale(1.1);
    background: var(--prw-white);
}

.prw-card-wishlist i {
    font-size: 18px;
    color: var(--prw-gray-700);
    transition: all var(--prw-transition-fast);
}

.prw-card-wishlist.active i {
    color: var(--prw-primary);
}

.prw-card-wishlist.active i::before {
    content: "\f004";
}

.prw-card-content {
    padding: 16px;
}

.prw-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.prw-card-location {
    font-size: 15px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prw-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--prw-black);
    flex-shrink: 0;
    margin-left: 8px;
}

.prw-card-rating i {
    font-size: 11px;
    color: var(--prw-black);
}

.prw-card-name {
    font-size: 14px;
    color: var(--prw-gray-600);
    margin: 0 0 8px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prw-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.prw-card-features span {
    font-size: 13px;
    color: var(--prw-gray-600);
    display: flex;
    align-items: center;
    gap: 4px;
}

.prw-card-features i {
    font-size: 12px;
    color: var(--prw-gray-500);
}

.prw-card-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.prw-amenity-tag {
    background: var(--prw-gray-100);
    padding: 4px 10px;
    border-radius: var(--prw-radius-full);
    font-size: 11px;
    color: var(--prw-gray-700);
}

.prw-amenity-more {
    font-size: 11px;
    color: var(--prw-gray-500);
}

.prw-card-footer {
    border-top: 1px solid var(--prw-gray-200);
    padding-top: 12px;
}

.prw-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.prw-price-amount {
    font-size: 17px;
    font-weight: 700;
    color: var(--prw-black);
}

.prw-price-period {
    font-size: 14px;
    color: var(--prw-gray-600);
}

/* ============================================
   6. PROPERTY TYPES SECTION
   ============================================ */
.prw-types-section {
    background: var(--prw-white);
}

.prw-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.prw-type-card {
    background: var(--prw-white);
    border: 1px solid var(--prw-gray-200);
    border-radius: var(--prw-radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--prw-transition);
    display: block;
}

.prw-type-card:hover {
    transform: translateY(-4px);
    border-color: var(--prw-primary);
    box-shadow: var(--prw-shadow-md);
}

.prw-type-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--prw-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.prw-type-icon i {
    font-size: 32px;
    color: var(--prw-white);
}

.prw-type-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 4px 0;
}

.prw-type-card p {
    font-size: 14px;
    color: var(--prw-gray-600);
    margin: 0;
}

/* ============================================
   7. FEATURES SECTION
   ============================================ */
.prw-features-section {
    background: var(--prw-gray-50);
}

.prw-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.prw-feature-card {
    background: var(--prw-white);
    border-radius: var(--prw-radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--prw-transition);
}

.prw-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--prw-shadow-md);
}

.prw-feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(255, 56, 92, 0.1) 0%, rgba(255, 56, 92, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.prw-feature-icon i {
    font-size: 28px;
    color: var(--prw-primary);
}

.prw-feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 8px 0;
}

.prw-feature-card p {
    font-size: 14px;
    color: var(--prw-gray-600);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   8. DESTINATIONS SECTION
   ============================================ */
.prw-destinations-section {
    background: var(--prw-white);
}

.prw-destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.prw-destination-card {
    position: relative;
    height: 200px;
    border-radius: var(--prw-radius-lg);
    overflow: hidden;
    display: block;
}

.prw-destination-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.prw-destination-card:nth-child(2) .prw-destination-bg {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.prw-destination-card:nth-child(3) .prw-destination-bg {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.prw-destination-card:nth-child(4) .prw-destination-bg {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.prw-destination-card:nth-child(5) .prw-destination-bg {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.prw-destination-card:nth-child(6) .prw-destination-bg {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.prw-destination-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background var(--prw-transition);
}

.prw-destination-card:hover .prw-destination-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.prw-destination-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--prw-white);
}

.prw-destination-content h4 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.prw-destination-content p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

/* ============================================
   9. CTA SECTION
   ============================================ */
.prw-cta-section {
    background: linear-gradient(135deg, var(--prw-primary) 0%, var(--prw-primary-dark) 100%);
    padding: 80px 0;
}

.prw-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.prw-cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--prw-white);
    margin: 0 0 16px 0;
}

.prw-cta-content p {
    font-size: 18px;
    color: var(--prw-white);
    opacity: 0.9;
    margin: 0 0 32px 0;
}

.prw-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--prw-white);
    color: var(--prw-primary);
    padding: 16px 32px;
    border-radius: var(--prw-radius-lg);
    font-size: 16px;
    font-weight: 600;
    transition: all var(--prw-transition);
}

.prw-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: var(--prw-primary);
}

/* ============================================
   10. LISTING PAGE
   ============================================ */
.prw-listing-header {
    background: var(--prw-white);
    border-bottom: 1px solid var(--prw-gray-200);
    padding: 20px 0;
    /* Removed sticky positioning to prevent navbar overlap */
}

.prw-listing-search {
    width: 100%;
}

.prw-listing-search-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.prw-search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--prw-gray-100);
    border: 1px solid var(--prw-gray-200);
    border-radius: var(--prw-radius-sm);
    padding: 12px 16px;
    transition: all var(--prw-transition-fast);
}

.prw-search-input-group:focus-within {
    border-color: var(--prw-primary);
    background: var(--prw-white);
}

.prw-search-input-group i {
    color: var(--prw-gray-500);
    flex-shrink: 0;
}

.prw-search-text,
.prw-filter-select,
.prw-date-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--prw-black);
    outline: none;
    font-family: inherit;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

/* Enhanced Select Dropdown Styling */
.prw-filter-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FF385C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 20px;
}

/* Enhanced Date Input Styling */
.prw-date-input {
    position: relative;
}

.prw-date-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    padding: 6px;
    margin-right: -6px;
    border-radius: 6px;
    transition: all var(--prw-transition-fast);
    filter: invert(27%) sepia(91%) saturate(1697%) hue-rotate(331deg) brightness(101%) contrast(101%);
}

.prw-date-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    background: rgba(255, 56, 92, 0.1);
}

.prw-date-input::-webkit-datetime-edit {
    color: var(--prw-black);
}

.prw-date-input::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

.prw-search-submit {
    background: var(--prw-primary);
    color: var(--prw-white);
    border: none;
    border-radius: var(--prw-radius-sm);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--prw-transition-fast);
    flex-shrink: 0;
}

.prw-search-submit:hover {
    background: var(--prw-primary-dark);
}

/* Mobile Compact Search Bar */
.prw-mobile-search {
    display: none;
}

.prw-mobile-search-bar {
    display: flex;
    align-items: center;
    background: var(--prw-white);
    border-radius: 40px;
    padding: 8px 12px 8px 16px;
    box-shadow: var(--prw-shadow-md);
    gap: 10px;
    border: 1px solid var(--prw-gray-200);
}

.prw-mobile-search-bar>i {
    color: var(--prw-gray-500);
    font-size: 14px;
    flex-shrink: 0;
}

.prw-mobile-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--prw-black);
    background: transparent;
    min-width: 0;
}

.prw-mobile-search-input::placeholder {
    color: var(--prw-gray-500);
    font-weight: 400;
}

.prw-mobile-search-btn {
    background: var(--prw-primary);
    color: var(--prw-white);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--prw-transition-fast);
    flex-shrink: 0;
}

.prw-mobile-search-btn:hover {
    background: var(--prw-primary-dark);
}

.prw-mobile-search-btn i {
    font-size: 14px;
}

.prw-mobile-search-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prw-mobile-search-row .prw-mobile-search-bar {
    flex: 1;
}

.prw-mobile-filter-toggle {
    background: var(--prw-white);
    color: var(--prw-black);
    border: 1px solid var(--prw-gray-200);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--prw-transition-fast);
    flex-shrink: 0;
    box-shadow: var(--prw-shadow-sm);
}

.prw-mobile-filter-toggle:hover {
    background: var(--prw-gray-100);
    border-color: var(--prw-gray-300);
}

.prw-mobile-filter-toggle i {
    font-size: 16px;
}

.prw-listing-content {
    padding: 32px 0;
    background: var(--prw-gray-50);
    min-height: 80vh;
}

.prw-listing-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

/* Filters Sidebar */
.prw-filters-sidebar {
    background: var(--prw-white);
    border-radius: var(--prw-radius-lg);
    padding: 24px;
    height: fit-content;
    /* Removed sticky positioning to prevent navbar overlap issues */
    box-shadow: var(--prw-shadow-sm);
}

.prw-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--prw-gray-200);
}

.prw-filter-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prw-filter-clear {
    font-size: 13px;
    color: var(--prw-primary);
    font-weight: 500;
}

.prw-filter-group {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--prw-gray-200);
}

.prw-filter-group:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.prw-filter-group h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 16px 0;
}

.prw-filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prw-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--prw-gray-700);
}

.prw-filter-checkbox input {
    display: none;
}

.prw-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--prw-gray-300);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--prw-transition-fast);
}

.prw-filter-checkbox input:checked+.prw-checkbox-custom {
    background: var(--prw-primary);
    border-color: var(--prw-primary);
}

.prw-filter-checkbox input:checked+.prw-checkbox-custom::after {
    content: '✓';
    color: var(--prw-white);
    font-size: 12px;
    font-weight: 700;
}

.prw-price-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prw-price-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--prw-white);
    border: 2px solid var(--prw-gray-300);
    border-radius: var(--prw-radius-md);
    padding: 12px 14px;
    transition: all var(--prw-transition-fast);
}

.prw-price-input:hover {
    border-color: var(--prw-gray-400);
}

.prw-price-input:focus-within {
    border-color: var(--prw-black);
    box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

.prw-price-input span {
    color: var(--prw-primary);
    font-weight: 600;
}

.prw-price-input input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    width: 100%;
    color: var(--prw-black);
}

.prw-price-input input::placeholder {
    color: var(--prw-gray-500);
    font-weight: 400;
}

/* Hide number input spinners */
.prw-price-input input::-webkit-outer-spin-button,
.prw-price-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.prw-price-input input[type=number] {
    -moz-appearance: textfield;
}

.prw-price-separator {
    color: var(--prw-gray-400);
    font-weight: 500;
}

.prw-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.prw-filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--prw-gray-300);
    border-radius: var(--prw-radius-full);
    background: var(--prw-white);
    font-size: 13px;
    font-weight: 500;
    color: var(--prw-gray-700);
    cursor: pointer;
    transition: all var(--prw-transition-fast);
}

.prw-filter-btn:hover,
.prw-filter-btn.active {
    border-color: var(--prw-black);
    color: var(--prw-black);
}

.prw-filter-btn.active {
    background: var(--prw-black);
    color: var(--prw-white);
}

.prw-filter-apply {
    width: 100%;
    padding: 14px;
    background: var(--prw-primary);
    color: var(--prw-white);
    border: none;
    border-radius: var(--prw-radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--prw-transition-fast);
    margin-top: 16px;
}

.prw-filter-apply:hover {
    background: var(--prw-primary-dark);
}

/* Results */
.prw-listing-main {
    min-width: 0;
}

.prw-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.prw-results-count {
    font-size: 16px;
    color: var(--prw-gray-700);
}

.prw-results-count strong {
    color: var(--prw-black);
}

.prw-results-dates {
    color: var(--prw-gray-500);
}

.prw-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prw-sort-wrapper label {
    font-size: 14px;
    color: var(--prw-gray-600);
}

.prw-sort-select {
    border: 1px solid var(--prw-gray-300);
    border-radius: var(--prw-radius-sm);
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

.prw-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Empty State */
.prw-empty-state {
    text-align: center;
    padding: 80px 32px;
    background: var(--prw-white);
    border-radius: var(--prw-radius-lg);
}

.prw-empty-icon {
    width: 100px;
    height: 100px;
    background: var(--prw-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.prw-empty-icon i {
    font-size: 40px;
    color: var(--prw-gray-400);
}

.prw-empty-state h3,
.prw-empty-state h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 12px 0;
}

.prw-empty-state p {
    font-size: 16px;
    color: var(--prw-gray-600);
    margin: 0 0 24px 0;
}

/* Mobile Filter Button */
.prw-mobile-filter-btn {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--prw-black);
    color: var(--prw-white);
    border: none;
    border-radius: var(--prw-radius-full);
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    z-index: 100;
    box-shadow: var(--prw-shadow-lg);
    transition: all var(--prw-transition-fast);
    align-items: center;
    gap: 8px;
}

.prw-mobile-filter-btn:hover {
    background: var(--prw-primary);
    transform: translateX(-50%) scale(1.05);
}

/* Mobile Filter Overlay */
.prw-filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--prw-transition);
}

/* Filter Close Button */
.prw-filter-close {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--prw-gray-600);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color var(--prw-transition-fast);
}

.prw-filter-close:hover {
    color: var(--prw-black);
}

/* ============================================
   11. DETAIL PAGE
   ============================================ */
.prw-detail-page {
    background: var(--prw-white);
}

.prw-breadcrumb {
    padding: 16px 0;
    border-bottom: 1px solid var(--prw-gray-200);
}

.prw-breadcrumb a,
.prw-breadcrumb span {
    font-size: 14px;
    color: var(--prw-gray-600);
}

.prw-breadcrumb i {
    font-size: 10px;
    margin: 0 12px;
    color: var(--prw-gray-400);
}

.prw-breadcrumb span {
    color: var(--prw-black);
}

/* Header */
.prw-detail-header {
    padding: 24px 0 0;
}

.prw-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.prw-detail-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 8px 0;
}

.prw-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--prw-gray-600);
}

.prw-meta-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.prw-meta-rating i {
    color: var(--prw-primary);
}

.prw-meta-location i {
    margin-right: 4px;
}

.prw-header-actions {
    display: flex;
    gap: 16px;
}

.prw-action-btn {
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--prw-black);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline;
}

/* Gallery */
.prw-gallery {
    padding: 20px 0;
}

.prw-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
    border-radius: var(--prw-radius-lg);
    overflow: hidden;
    position: relative;
    max-height: 480px;
}

.prw-gallery-main {
    grid-row: span 2;
    overflow: hidden;
    cursor: pointer;
}

.prw-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--prw-transition-slow);
}

.prw-gallery-main:hover img {
    transform: scale(1.02);
}

.prw-gallery-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.prw-gallery-thumb {
    overflow: hidden;
    cursor: pointer;
}

.prw-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--prw-transition-slow);
}

.prw-gallery-thumb:hover img {
    transform: scale(1.05);
}

.prw-gallery-more {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: var(--prw-white);
    border: 1px solid var(--prw-black);
    padding: 8px 16px;
    border-radius: var(--prw-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--prw-transition-fast);
}

.prw-gallery-more:hover {
    background: var(--prw-black);
    color: var(--prw-white);
}

/* Gallery Placeholders */
.prw-gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    color: #999;
    text-align: center;
    padding: 24px;
    border-radius: var(--prw-radius-md);
}

.prw-gallery-placeholder i {
    color: #ccc;
    margin-bottom: 16px;
}

.prw-gallery-placeholder span {
    font-size: 16px;
    font-weight: 500;
}

.prw-gallery-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    color: #bbb;
}

.prw-gallery-thumb-empty {
    background: #f5f5f5;
    border: 1px dashed #ddd;
}

.prw-gallery-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
}

.prw-gallery-more-overlay span {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.prw-gallery-thumb {
    position: relative;
}

/* Content Layout */
.prw-detail-content {
    padding: 32px 0;
}

.prw-content-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 64px;
}

.prw-info-column {
    min-width: 0;
}

.prw-info-section {
    padding: 32px 0;
    border-bottom: 1px solid var(--prw-gray-200);
}

.prw-info-section:first-child {
    padding-top: 0;
}

.prw-info-section:last-child {
    border-bottom: none;
}

.prw-info-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 20px 0;
}

/* Host Section */
.prw-host-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prw-host-info h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 8px 0;
}

.prw-host-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: var(--prw-gray-600);
    margin: 0;
}

.prw-host-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.prw-host-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.prw-host-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prw-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--prw-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prw-avatar-placeholder i {
    font-size: 28px;
    color: var(--prw-gray-400);
}

/* Highlights */
.prw-highlights-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.prw-highlight {
    display: flex;
    gap: 16px;
}

.prw-highlight-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prw-highlight-icon i {
    font-size: 24px;
    color: var(--prw-black);
}

.prw-highlight h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 4px 0;
}

.prw-highlight p {
    font-size: 14px;
    color: var(--prw-gray-600);
    margin: 0;
}

/* Description */
.prw-description-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--prw-gray-700);
}

.prw-description-content p {
    margin: 0 0 16px 0;
}

.prw-specs-card {
    background: var(--prw-gray-50);
    border-radius: var(--prw-radius-md);
    padding: 24px;
    margin-top: 24px;
}

.prw-specs-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prw-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.prw-spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prw-spec-label {
    font-size: 13px;
    color: var(--prw-gray-600);
}

.prw-spec-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--prw-black);
}

.prw-specs-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--prw-gray-200);
    font-weight: 600;
}

.prw-specs-total span:last-child {
    color: var(--prw-primary);
    font-size: 18px;
}

/* Amenities */
.prw-amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.prw-amenity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}

.prw-amenity-item i {
    font-size: 20px;
    color: var(--prw-gray-700);
    width: 24px;
    text-align: center;
}

.prw-amenity-item span {
    font-size: 15px;
    color: var(--prw-black);
}

.prw-show-more {
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--prw-white);
    border: 1px solid var(--prw-black);
    border-radius: var(--prw-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--prw-transition-fast);
}

.prw-show-more:hover {
    background: var(--prw-black);
    color: var(--prw-white);
}

/* Services */
.prw-section-desc {
    font-size: 14px;
    color: var(--prw-gray-600);
    margin: 0 0 20px 0;
}

.prw-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.prw-service-card {
    background: var(--prw-white);
    border: 2px solid var(--prw-gray-200);
    border-radius: var(--prw-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--prw-transition-fast);
    position: relative;
}

.prw-service-card:hover {
    border-color: var(--prw-gray-400);
}

.prw-service-card.selected {
    border-color: var(--prw-primary);
}

.prw-service-image {
    height: 100px;
    overflow: hidden;
}

.prw-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prw-service-placeholder {
    width: 100%;
    height: 100%;
    background: var(--prw-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prw-service-placeholder i {
    font-size: 32px;
    color: var(--prw-gray-400);
}

.prw-service-content {
    padding: 12px;
}

.prw-service-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 4px 0;
}

.prw-service-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--prw-primary);
}

.prw-service-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: var(--prw-primary);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

.prw-service-check i {
    color: var(--prw-white);
    font-size: 12px;
}

.prw-service-card.selected .prw-service-check {
    display: flex;
}

/* Nearby */
.prw-nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.prw-nearby-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: var(--prw-gray-50);
    border-radius: var(--prw-radius-md);
    text-align: center;
}

.prw-nearby-item i {
    font-size: 28px;
    color: var(--prw-primary);
}

.prw-nearby-item span {
    font-size: 14px;
    color: var(--prw-gray-700);
}

/* Policies */
.prw-policies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.prw-policy-card {
    background: var(--prw-gray-50);
    border-radius: var(--prw-radius-md);
    padding: 20px;
}

.prw-policy-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prw-policy-card h4 i {
    color: var(--prw-primary);
}

.prw-policy-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.prw-policy-card li {
    font-size: 14px;
    color: var(--prw-gray-700);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.prw-policy-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--prw-gray-400);
}

/* Reviews Section */
.prw-reviews-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prw-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.prw-review-card {
    background: var(--prw-gray-50);
    border-radius: var(--prw-radius-md);
    padding: 20px;
}

.prw-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.prw-reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.prw-reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prw-reviewer-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 4px 0;
}

.prw-review-date {
    font-size: 13px;
    color: var(--prw-gray-500);
}

.prw-review-rating {
    margin-bottom: 12px;
}

.prw-review-rating i {
    font-size: 12px;
    margin-right: 2px;
}

.prw-review-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 8px 0;
}

.prw-review-text {
    font-size: 14px;
    color: var(--prw-gray-700);
    line-height: 1.6;
    margin: 0;
}

.prw-no-reviews {
    background: var(--prw-gray-50);
    border-radius: var(--prw-radius-md);
    padding: 32px;
    text-align: center;
}

.prw-no-reviews p {
    color: var(--prw-gray-600);
    margin: 0;
}

/* ============================================
   12. BOOKING WIDGET
   ============================================ */
.prw-booking-column {
    position: relative;
}

.prw-booking-widget {
    position: sticky;
    top: 100px;
    background: var(--prw-white);
    border: 1px solid var(--prw-gray-300);
    border-radius: var(--prw-radius-lg);
    padding: 24px;
    box-shadow: var(--prw-shadow-lg);
}

.prw-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.prw-booking-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.prw-price-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--prw-black);
}

.prw-price-unit {
    font-size: 16px;
    color: var(--prw-gray-600);
}

.prw-booking-rating {
    font-size: 14px;
    color: var(--prw-gray-600);
}

.prw-booking-rating i {
    color: var(--prw-primary);
    margin-right: 4px;
}

.prw-booking-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 2px solid var(--prw-gray-300);
    border-radius: var(--prw-radius-md) var(--prw-radius-md) 0 0;
    overflow: hidden;
    transition: all var(--prw-transition-fast);
    background: var(--prw-white);
}

.prw-booking-dates:hover {
    border-color: var(--prw-gray-400);
}

.prw-booking-dates:focus-within {
    border-color: var(--prw-black);
    box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

.prw-date-field {
    padding: 14px 16px;
    position: relative;
    transition: background var(--prw-transition-fast);
}

.prw-date-field:first-child {
    border-right: 1px solid var(--prw-gray-300);
}

.prw-date-field:hover {
    background: var(--prw-gray-50);
}

.prw-date-divider {
    width: 1px;
    background: var(--prw-gray-300);
}

.prw-date-field label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--prw-black);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prw-date-field input {
    width: 100%;
    border: none;
    font-size: 15px;
    color: var(--prw-black);
    outline: none;
    padding: 0;
    font-family: inherit;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
}

.prw-date-field input::placeholder {
    color: var(--prw-gray-500);
    font-weight: 400;
}

/* Custom Date Picker Styling */
.prw-date-field input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    padding: 6px;
    border-radius: 6px;
    transition: all var(--prw-transition-fast);
    filter: invert(27%) sepia(91%) saturate(1697%) hue-rotate(331deg) brightness(101%) contrast(101%);
}

.prw-date-field input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    background: rgba(255, 56, 92, 0.1);
}

.prw-booking-guests {
    border: 2px solid var(--prw-gray-300);
    border-top: 1px solid var(--prw-gray-300);
    border-radius: 0 0 var(--prw-radius-md) var(--prw-radius-md);
    padding: 14px 16px;
    transition: all var(--prw-transition-fast);
    background: var(--prw-white);
    margin-top: -2px;
}

.prw-booking-guests:hover {
    background: var(--prw-gray-50);
}

.prw-booking-guests:focus-within {
    border-color: var(--prw-black);
    box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

.prw-booking-guests label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--prw-black);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prw-booking-guests select {
    width: 100%;
    border: none;
    font-size: 15px;
    color: var(--prw-black);
    outline: none;
    padding: 0;
    padding-right: 24px;
    font-family: inherit;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FF385C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.prw-booking-error {
    background: #FEE2E2;
    border: 1px solid #FECACA;
    color: #DC2626;
    padding: 12px 16px;
    border-radius: var(--prw-radius-sm);
    font-size: 14px;
    margin-top: 16px;
}

.prw-add-services-btn {
    width: 100%;
    padding: 12px;
    background: var(--prw-white);
    border: 1px dashed var(--prw-gray-400);
    border-radius: var(--prw-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--prw-gray-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    transition: all var(--prw-transition-fast);
}

.prw-add-services-btn:hover {
    border-color: var(--prw-primary);
    color: var(--prw-primary);
}

.prw-services-badge {
    background: var(--prw-primary);
    color: var(--prw-white);
    padding: 2px 8px;
    border-radius: var(--prw-radius-full);
    font-size: 12px;
    font-weight: 600;
}

.prw-price-breakdown {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--prw-gray-200);
}

.prw-price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
    color: var(--prw-gray-700);
}

.prw-price-total {
    font-weight: 700;
    color: var(--prw-black);
    font-size: 17px;
    padding-top: 16px;
    margin-top: 12px;
    border-top: 1px solid var(--prw-gray-300);
}

.prw-guest-info {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--prw-gray-200);
}

.prw-form-group {
    margin-bottom: 16px;
}

.prw-form-group:last-child {
    margin-bottom: 0;
}

.prw-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--prw-black);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prw-form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--prw-gray-300);
    border-radius: var(--prw-radius-md);
    font-size: 15px;
    color: var(--prw-black);
    outline: none;
    transition: all var(--prw-transition-fast);
    font-family: inherit;
    background: var(--prw-white);
}

.prw-form-group input::placeholder {
    color: var(--prw-gray-500);
}

.prw-form-group input:hover {
    border-color: var(--prw-gray-400);
}

.prw-form-group input:focus {
    border-color: var(--prw-black);
    box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

.prw-booking-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prw-booking-note {
    text-align: center;
    font-size: 14px;
    color: var(--prw-gray-600);
    margin: 16px 0 0 0;
}

/* ============================================
   13. BUTTONS
   ============================================ */
.prw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--prw-radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--prw-transition-fast);
    text-decoration: none;
    border: none;
    font-family: inherit;
}

.prw-btn-primary {
    background: linear-gradient(135deg, var(--prw-primary) 0%, var(--prw-primary-dark) 100%);
    color: var(--prw-white);
}

.prw-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 56, 92, 0.4);
    color: var(--prw-white);
}

.prw-btn-outline {
    background: var(--prw-white);
    color: var(--prw-black);
    border: 1px solid var(--prw-black);
}

.prw-btn-outline:hover {
    background: var(--prw-black);
    color: var(--prw-white);
}

.prw-btn-block {
    width: 100%;
}

/* ============================================
   14. SIMILAR PROPERTIES
   ============================================ */
.prw-similar-section {
    padding: 48px 0;
    background: var(--prw-gray-50);
}

.prw-similar-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 24px 0;
}

/* ============================================
   15. THANK YOU PAGE
   ============================================ */
.prw-thankyou-page {
    min-height: 80vh;
    background: linear-gradient(180deg, var(--prw-gray-50) 0%, var(--prw-white) 100%);
    padding: 80px 0;
}

.prw-thankyou-card {
    background: var(--prw-white);
    border-radius: var(--prw-radius-xl);
    box-shadow: var(--prw-shadow-lg);
    padding: 60px 48px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.prw-thankyou-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--prw-secondary) 0%, var(--prw-secondary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.prw-thankyou-icon i {
    font-size: 48px;
    color: var(--prw-white);
}

.prw-thankyou-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--prw-black);
    margin: 0 0 12px 0;
}

.prw-thankyou-subtitle {
    font-size: 18px;
    color: var(--prw-gray-600);
    margin: 0 0 32px 0;
}

.prw-thankyou-reference {
    background: var(--prw-gray-100);
    border-radius: var(--prw-radius-md);
    padding: 20px 32px;
    margin-bottom: 32px;
}

.prw-reference-label {
    display: block;
    font-size: 14px;
    color: var(--prw-gray-600);
    margin-bottom: 8px;
}

.prw-reference-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--prw-primary);
    letter-spacing: 2px;
}

.prw-thankyou-next {
    text-align: left;
    margin-bottom: 32px;
}

.prw-thankyou-next h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 16px 0;
}

.prw-next-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.prw-next-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--prw-gray-700);
}

.prw-next-steps i {
    color: var(--prw-secondary);
    font-size: 18px;
    margin-top: 2px;
}

.prw-thankyou-contact {
    padding-top: 24px;
    border-top: 1px solid var(--prw-gray-200);
}

.prw-thankyou-contact p {
    font-size: 14px;
    color: var(--prw-gray-600);
    margin: 0 0 12px 0;
}

.prw-contact-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.prw-contact-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--prw-black);
}

.prw-contact-links i {
    color: var(--prw-primary);
}

.prw-thankyou-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.prw-company-card {
    background: var(--prw-gray-100);
    border-radius: var(--prw-radius-md);
    padding: 24px;
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.prw-company-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 8px 0;
}

.prw-company-info p {
    font-size: 14px;
    color: var(--prw-gray-600);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prw-company-info i {
    color: var(--prw-primary);
}

.prw-company-social {
    display: flex;
    gap: 16px;
}

.prw-company-social a {
    font-size: 20px;
    color: var(--prw-gray-600);
    transition: color var(--prw-transition-fast);
}

.prw-company-social a:hover {
    color: var(--prw-primary);
}

/* ============================================
   16. MODALS
   ============================================ */
.prw-modal .modal-content {
    border: none;
    border-radius: var(--prw-radius-lg);
}

.prw-modal .modal-header {
    border-bottom: 1px solid var(--prw-gray-200);
    padding: 20px 24px;
}

.prw-modal .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--prw-black);
}

.prw-modal .modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.prw-modal .modal-footer {
    border-top: 1px solid var(--prw-gray-200);
    padding: 16px 24px;
}

/* Modal Services */
.prw-modal-services {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prw-modal-service {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px solid var(--prw-gray-200);
    border-radius: var(--prw-radius-md);
    cursor: pointer;
    transition: all var(--prw-transition-fast);
}

.prw-modal-service:hover {
    border-color: var(--prw-gray-400);
}

.prw-modal-service.selected {
    border-color: var(--prw-primary);
    background: rgba(255, 56, 92, 0.02);
}

.prw-modal-service-image {
    width: 80px;
    height: 80px;
    border-radius: var(--prw-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.prw-modal-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prw-modal-service-info {
    flex: 1;
}

.prw-modal-service-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--prw-black);
    margin: 0 0 4px 0;
}

.prw-modal-service-info p {
    font-size: 13px;
    color: var(--prw-gray-600);
    margin: 0 0 8px 0;
}

.prw-modal-service-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--prw-primary);
}

.prw-modal-service-select {
    flex-shrink: 0;
}

.prw-service-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--prw-gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--prw-transition-fast);
}

.prw-modal-service.selected .prw-service-checkbox {
    background: var(--prw-primary);
    border-color: var(--prw-primary);
}

.prw-service-checkbox i {
    color: var(--prw-white);
    font-size: 12px;
    opacity: 0;
}

.prw-modal-service.selected .prw-service-checkbox i {
    opacity: 1;
}

/* Modal Amenities */
.prw-modal-amenities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.prw-modal-amenity {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
}

.prw-modal-amenity i {
    color: var(--prw-secondary);
}

/* ============================================
   17. RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .prw-property-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .prw-similar-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .prw-content-layout {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .prw-hero {
        height: 50vh;
        min-height: 350px;
        margin-bottom: 80px;
    }

    .prw-hero-title {
        font-size: 40px;
    }

    .prw-hero-content {
        top: 30%;
    }

    .prw-search-box {
        flex-wrap: wrap;
    }

    .prw-search-field {
        flex: 1 1 40%;
    }

    .prw-search-divider {
        display: none;
    }

    .prw-search-btn {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 8px;
    }

    .prw-property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prw-listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prw-similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prw-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prw-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prw-destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prw-listing-layout {
        grid-template-columns: 1fr;
    }

    /* Mobile Filter Sidebar */
    .prw-filters-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1050;
        border-radius: 0;
        overflow: hidden;
        background: var(--prw-white);
    }

    .prw-filters-sidebar.active {
        display: flex;
        flex-direction: column;
        animation: slideInRight 0.3s ease;
    }

    .prw-filters-sidebar #filterForm {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        padding: 70px 20px 100px 20px;
    }

    /* Prevent body scroll when filter is open */
    body.filter-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
        height: 100%;
        touch-action: none;
    }

    @keyframes slideInRight {
        from {
            transform: translateX(100%);
            opacity: 0;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    .prw-filter-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: var(--prw-white);
        padding: 20px 24px;
        border-bottom: 1px solid var(--prw-gray-200);
        z-index: 1060;
        margin-bottom: 0;
    }

    .prw-filter-close {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        font-size: 20px;
        cursor: pointer;
        padding: 8px;
        color: var(--prw-black);
    }

    .prw-filter-clear {
        position: absolute;
        left: 100px;
        top: 50%;
        transform: translateY(-50%);
    }

    .prw-filter-apply {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 16px 20px;
        background: var(--prw-white);
        border-top: 1px solid var(--prw-gray-200);
        z-index: 1060;
        width: 100%;
        border-radius: 0;
        margin: 0;
    }

    .prw-filter-overlay {
        display: block;
        opacity: 0;
        pointer-events: none;
    }

    .prw-filters-sidebar.active+.prw-filter-overlay,
    .prw-filters-sidebar.active~.prw-filter-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .prw-mobile-filter-btn {
        display: flex;
    }

    .prw-content-layout {
        grid-template-columns: 1fr;
    }

    .prw-booking-column {
        order: -1;
    }

    .prw-booking-widget {
        position: relative;
        top: 0;
    }

    .prw-policies-grid {
        grid-template-columns: 1fr;
    }

    .prw-gallery-grid {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .prw-gallery-main {
        grid-row: span 1;
        aspect-ratio: 16/9;
    }

    .prw-gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Listing search header improvements */
    .prw-listing-header {
        position: relative;
        padding: 16px 0;
    }

    .prw-listing-search-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .prw-search-input-group {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
    }

    .prw-search-submit {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {

    /* Show mobile search, hide desktop search */
    .prw-desktop-search {
        display: none !important;
    }

    .prw-mobile-search {
        display: block;
    }

    .prw-listing-header {
        padding: 12px 0;
        background: var(--prw-white);
        border-bottom: 1px solid var(--prw-gray-200);
        /* Non-sticky to prevent navbar overlap issues */
    }

    .prw-listing-content {
        padding: 16px 0;
    }

    .prw-hero {
        height: auto;
        min-height: auto;
        max-height: none;
        margin-bottom: 0;
        padding-bottom: 0;
        overflow: visible;
        background: linear-gradient(to bottom, transparent 280px, var(--prw-white) 280px);
    }

    .prw-hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 260px;
    }

    .prw-hero-title {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .prw-hero-subtitle {
        font-size: 14px;
        margin-bottom: 0;
    }

    .prw-hero-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        padding: 60px 20px 16px;
        text-align: center;
        z-index: 2;
    }

    .prw-search-wrapper {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        padding: 0 16px 24px;
        margin-top: -30px;
        z-index: 3;
    }

    .prw-search-box {
        padding: 24px 20px;
        flex-direction: column;
        gap: 0;
        border-radius: var(--prw-radius-xl);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
        background: var(--prw-white);
    }

    .prw-search-field {
        flex: 1 1 100%;
        padding: 16px 0;
        background: transparent;
        border-radius: 0;
        border-bottom: 1px solid var(--prw-gray-200);
    }

    .prw-search-field:last-of-type {
        border-bottom: none;
    }

    .prw-search-field label {
        margin-bottom: 6px;
    }

    .prw-search-divider {
        display: none;
    }

    .prw-search-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        margin: 20px 0 0 0;
        border-radius: var(--prw-radius-full);
    }

    .prw-section {
        padding: 32px 0;
    }

    .prw-featured-section {
        padding-top: 16px;
    }

    .prw-section-title {
        font-size: 22px;
    }

    .prw-section-subtitle {
        font-size: 14px;
    }

    .prw-cta-content h2 {
        font-size: 28px;
    }

    .prw-listing-search-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .prw-search-input-group {
        flex: 1 1 100%;
        padding: 10px 14px;
    }

    .prw-search-submit {
        width: 100%;
    }

    .prw-detail-title {
        font-size: 22px;
    }

    .prw-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .prw-header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .prw-amenities-grid {
        grid-template-columns: 1fr;
    }

    .prw-reviews-grid {
        grid-template-columns: 1fr;
    }

    .prw-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prw-thankyou-card {
        padding: 40px 24px;
    }

    .prw-thankyou-title {
        font-size: 28px;
    }

    .prw-modal-amenities {
        grid-template-columns: 1fr;
    }

    /* Results header responsiveness */
    .prw-results-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 8px 0;
        margin-bottom: 12px;
    }

    .prw-results-count {
        font-size: 13px;
    }

    .prw-results-dates {
        display: none;
    }

    .prw-sort-wrapper {
        flex-shrink: 0;
    }

    .prw-sort-wrapper label {
        display: none;
    }

    .prw-sort-select {
        font-size: 13px;
        padding: 6px 10px;
        min-width: auto;
    }

    /* Card improvements for mobile */
    .prw-card-features {
        gap: 8px;
    }

    .prw-card-features span {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .prw-hero-title {
        font-size: 22px;
    }

    .prw-hero-subtitle {
        font-size: 13px;
    }

    .prw-property-grid,
    .prw-listing-grid,
    .prw-similar-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .prw-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .prw-type-card {
        padding: 16px;
    }

    .prw-type-icon {
        width: 60px;
        height: 60px;
    }

    .prw-type-icon i {
        font-size: 24px;
    }

    .prw-type-card h4 {
        font-size: 14px;
    }

    .prw-type-card p {
        font-size: 12px;
    }

    .prw-features-grid {
        grid-template-columns: 1fr;
    }

    .prw-destinations-grid {
        grid-template-columns: 1fr;
    }

    .prw-destination-card {
        height: 150px;
    }

    .prw-search-input-group {
        flex: 1 1 100%;
    }

    .prw-booking-dates {
        grid-template-columns: 1fr;
    }

    .prw-date-field:first-child {
        border-right: none;
        border-bottom: 1px solid var(--prw-gray-300);
    }

    .prw-date-divider {
        height: 1px;
        width: 100%;
    }

    .prw-gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }

    .prw-contact-links {
        flex-direction: column;
        gap: 16px;
    }

    .prw-thankyou-actions {
        flex-direction: column;
    }

    .prw-company-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    /* Filter sidebar extra padding for mobile */

    .prw-filter-group {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .prw-filter-buttons {
        gap: 6px;
    }

    .prw-filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Card price on mobile */
    .prw-price-amount {
        font-size: 16px;
    }

    .prw-price-period {
        font-size: 13px;
    }

    /* CTA section */
    .prw-cta-section {
        padding: 50px 0;
    }

    .prw-cta-content h2 {
        font-size: 24px;
    }

    .prw-cta-content p {
        font-size: 15px;
    }

    .prw-cta-btn {
        padding: 14px 24px;
        font-size: 14px;
    }
}

/* ============================================
   GALLERY MODAL STYLES
   ============================================ */

/* Gallery Modal */
.gallery-modal .modal-content {
    background: #1a1a1a;
    border: none;
    border-radius: 0;
}

.gallery-modal-header {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: none;
    padding: 16px 24px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.gallery-modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #1a1a1a;
}

.gallery-carousel {
    width: 100%;
    height: 100%;
}

.gallery-carousel-inner {
    height: calc(100vh - 120px);
}

.gallery-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 120px);
    padding: 60px 80px 80px;
}

.gallery-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Gallery Counter */
.gallery-counter {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
}

/* Gallery Controls */
.gallery-control {
    width: 60px;
    height: 60px;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-control-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-control-icon i {
    color: #333;
    font-size: 18px;
}

.gallery-control:hover .gallery-control-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-control-prev.gallery-control {
    left: 20px;
}

.carousel-control-next.gallery-control {
    right: 20px;
}

/* Gallery Thumbnails */
.gallery-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    max-width: 90%;
    overflow-x: auto;
}

.gallery-thumb {
    width: 60px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

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

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: white;
}

/* No Photos Placeholder */
.gallery-no-photos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #888;
    text-align: center;
}

.gallery-no-photos i {
    color: #555;
}

.gallery-no-photos h4 {
    color: #aaa;
    margin-bottom: 8px;
}

/* Gallery Modal Responsive */
@media (max-width: 768px) {
    .gallery-image-wrapper {
        padding: 60px 20px 100px;
    }

    .gallery-control {
        width: 40px;
        height: 40px;
    }

    .gallery-control-icon {
        width: 36px;
        height: 36px;
    }

    .gallery-control-icon i {
        font-size: 14px;
    }

    .carousel-control-prev.gallery-control {
        left: 10px;
    }

    .carousel-control-next.gallery-control {
        right: 10px;
    }

    .gallery-thumbnails {
        bottom: 10px;
        padding: 8px 12px;
    }

    .gallery-thumb {
        width: 50px;
        height: 38px;
    }
}