/**
 * Coffee Places Frontend Styles
 * 
 * Main stylesheet for the Coffee Places plugin frontend interface.
 * Includes styles for city selector, search forms, results, and popular cities.
 * 
 * @package CoffeePlaces
 * @since 1.0.0
 */

/* ==========================================================================
   City Selector Styles
   ========================================================================== */

.coffee-places-city-selector {
    background: transparent;
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin: 20px auto;
    max-width: 1200px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8); */
    /* backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); */
}

.coffee-places-city-selector.coffee-places-style-hero {
    padding: 50px 40px;
    text-align: center;
    margin: 40px auto;
}

.coffee-places-city-selector.coffee-places-style-compact {
    padding: 20px;
    margin: 15px auto;
}

.coffee-places-city-selector.coffee-places-style-compact {
    padding: 20px;
    margin: 15px 0;
}

.coffee-places-title {
    color: white;
    margin: 0 0 25px 0;
    text-align: center;
    font-size: 1.8em;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.coffee-places-style-hero .coffee-places-title {
    font-size: 2.5em;
    margin-bottom: 35px;
}

.coffee-places-style-compact .coffee-places-title {
    font-size: 1.4em;
    margin-bottom: 20px;
}

/* ==========================================================================
   Search Form Styles
   ========================================================================== */

.coffee-places-search-form {
        max-width: 750px;
    margin: 0 auto 25px;
}

.coffee-places-search-input-wrapper {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.coffee-places-city-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    background: white;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.coffee-places-city-input:focus {
    outline: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.coffee-places-style-compact .coffee-places-city-input {
    padding: 12px 18px;
    font-size: 14px;
}

.coffee-places-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 5px;
}

.coffee-places-suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.coffee-places-suggestion-item:hover,
.coffee-places-suggestion-item.active {
    background-color: #f8f8f8;
}

.coffee-places-suggestion-item:last-child {
    border-bottom: none;
}

.coffee-places-suggestion-main {
    font-weight: 600;
    color: #333;
}

.coffee-places-suggestion-secondary {
    font-size: 0.9em;
    color: #666;
    margin-top: 2px;
}

/* Neighborhood suggestions styling */
.coffee-places-suggestion-item.neighborhood-suggestion {
    border-left: 3px solid #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.coffee-places-suggestion-item.neighborhood-suggestion:hover {
    background: rgba(76, 175, 80, 0.1);
}

.neighborhood-indicator {
    font-size: 12px;
    opacity: 0.7;
    margin-left: 5px;
}

.coffee-places-suggestion-item.neighborhood-suggestion .coffee-places-suggestion-secondary {
    color: #4CAF50;
    font-weight: 500;
}

/* ==========================================================================
   Button Styles
   ========================================================================== */

.coffee-places-search-btn,
.coffee-places-geolocation-btn {
    background: #D4AF37;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.coffee-places-search-btn:hover,
.coffee-places-geolocation-btn:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.coffee-places-search-btn {
    display: none; /* Hide search button for automatic navigation */
}

.coffee-places-geolocation-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 25px;
    padding: 15px 20px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    min-width: 140px;
}

.coffee-places-geolocation-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* ==========================================================================
   Popular Cities Styles
   ========================================================================== */

.coffee-places-popular-cities {
    margin-top: 25px;
    text-align: center;
}

.coffee-places-popular-cities h4 {
    color: white;
    margin: 0 0 15px 0;
    font-size: 1.2em;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.coffee-places-city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.coffee-places-city-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.coffee-places-city-tag:hover,
.coffee-places-city-tag:focus {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Tag cloud sizes */
.coffee-places-city-tag.size-large {
    font-size: 16px;
    padding: 10px 20px;
    font-weight: 600;
}

.coffee-places-city-tag.size-medium {
    font-size: 15px;
    padding: 9px 18px;
    font-weight: 500;
}

.coffee-places-city-tag.size-small {
    font-size: 13px;
    padding: 7px 14px;
    font-weight: 400;
        display: flex;
    align-items: center;
}

/* ==========================================================================
   Search Status and Results
   ========================================================================== */

.coffee-places-search-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.coffee-places-search-status.loading {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.coffee-places-search-status.error {
    background: rgba(220, 53, 69, 0.9);
    color: white;
}

.coffee-places-search-status.success {
    background: rgba(40, 167, 69, 0.9);
    color: white;
}

.coffee-places-search-results {
    margin-top: 30px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.coffee-places-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.coffee-place-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.coffee-place-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.coffee-place-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.coffee-place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.coffee-place-item:hover .coffee-place-image img {
    transform: scale(1.05);
}

.coffee-place-content {
    padding: 20px;
    flex: 1;
}

.coffee-place-placeholder,
.coffee-shop-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #8B4513;
}

.coffee-icon {
    font-size: 3em;
    margin-bottom: 10px;
    opacity: 0.7;
}

.placeholder-text {
    font-size: 0.9em;
    font-weight: 500;
    opacity: 0.8;
}

.coffee-place-name {
    font-size: 1.3em;
    font-weight: 600;
    color: #8B4513;
    margin: 0 0 8px 0;
}

.coffee-place-address {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 12px;
    line-height: 1.4;
}

.coffee-place-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.coffee-place-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.coffee-place-stars {
    color: #D4AF37;
    font-size: 16px;
}

.coffee-place-rating-text {
    font-size: 0.9em;
    color: #666;
}

.coffee-place-distance {
    color: #8B4513;
    font-weight: 500;
    font-size: 0.9em;
}

.coffee-place-price {
    color: #28a745;
    font-weight: 600;
}

.coffee-place-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
    text-transform: uppercase;
}

.coffee-place-status.open {
    background: #d4edda;
    color: #155724;
}

.coffee-place-status.closed {
    background: #f8d7da;
    color: #721c24;
}

/* Coffee Shop Item Styles (for location search) */
.coffee-shop-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.coffee-shop-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.coffee-shop-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.coffee-shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.coffee-shop-item:hover .coffee-shop-image img {
    transform: scale(1.05);
}

.shop-details {
    padding: 20px;
    flex: 1;
}

.shop-name {
    font-size: 1.3em;
    font-weight: 600;
    color: #8B4513;
    margin: 0 0 8px 0;
}

.shop-address {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 12px;
    line-height: 1.4;
}

.shop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.shop-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #D4AF37;
    font-size: 16px;
}

.rating-text {
    font-size: 0.9em;
    color: #666;
}

.shop-price {
    color: #28a745;
    font-weight: 600;
}

.shop-hours {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
    text-transform: uppercase;
}

.shop-hours.open {
    background: #d4edda;
    color: #155724;
}

.shop-hours.closed {
    background: #f8d7da;
    color: #721c24;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .coffee-places-city-selector {
        padding: 20px;
        margin: 15px 0;
    }
    
    .coffee-places-style-hero {
        padding: 30px 20px;
    }
    
    .coffee-places-title {
        font-size: 1.5em;
    }
    
    .coffee-places-style-hero .coffee-places-title {
        font-size: 2em;
    }
    
    .coffee-places-city-input {
        padding: 12px 16px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .coffee-places-search-btn,
    .coffee-places-geolocation-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .coffee-places-city-tags {
        gap: 6px;
    }
    
    .coffee-places-city-tag {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .coffee-places-results-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .coffee-place-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .coffee-place-image,
    .coffee-shop-image {
        height: 150px;
    }

    .coffee-place-content,
    .shop-details {
        padding: 15px;
    }

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

@media (max-width: 480px) {
    .coffee-places-city-selector {
        padding: 15px;
        border-radius: 10px;
    }
    
    .coffee-places-title {
        font-size: 1.3em;
        margin-bottom: 20px;
    }
    
    .coffee-places-city-input {
        padding: 10px 14px;
    }
    
    .coffee-places-search-btn,
    .coffee-places-geolocation-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .coffee-places-city-tag {
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* ==========================================================================
   Loading and Animation States
   ========================================================================== */

.coffee-places-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    color: #666;
}

.coffee-places-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #8B4513;
    border-radius: 50%;
    animation: coffee-places-spin 1s linear infinite;
}

@keyframes coffee-places-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.coffee-places-fade-in {
    animation: coffee-places-fade-in 0.5s ease-in-out;
}

@keyframes coffee-places-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.coffee-places-city-input:focus,
.coffee-places-search-btn:focus,
.coffee-places-geolocation-btn:focus,
.coffee-places-city-tag:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

.coffee-places-suggestion-item:focus {
    outline: 2px solid #8B4513;
    outline-offset: -2px;
}

/* Screen reader only text */
.coffee-places-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
li.logo-item a {
    background: transparent !important;
}

li.logo-item img {
    width: 200px !important;
    max-width: 200px !important;
    vertical-align: middle;
    margin-left: 5px;
}

ul#primary-menu {
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Coffee Places Reviews Styles
   ========================================================================== */

.coffee-places-reviews-container {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reviews Summary */
.coffee-places-reviews-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.coffee-places-reviews-summary .reviews-title {
    margin: 0 0 15px 0;
    font-size: 1.5em;
    color: #333;
}

.overall-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stars-display {
    display: flex;
    gap: 2px;
}

.stars-display .star {
    font-size: 20px;
    color: #ddd;
    transition: color 0.2s;
}

.stars-display .star.filled {
    color: #ffc107;
}

.rating-number {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
}

.rating-text {
    color: #666;
}

/* Detailed Ratings */
.detailed-ratings {
    margin-top: 15px;
}

.rating-breakdown {
    display: grid;
    gap: 10px;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-label {
    min-width: 120px;
    font-weight: 500;
    color: #333;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #ffc107);
    transition: width 0.3s ease;
}

.rating-value {
    min-width: 30px;
    text-align: right;
    font-weight: bold;
    color: #333;
}

/* Review Form */
.coffee-places-review-form-container {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.coffee-places-review-form-container h4 {
    margin: 0 0 20px 0;
    color: #333;
}

.form-section {
    margin-bottom: 24px;
    background: #fafbfc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e8ecef;
}

.form-section h5 {
    margin: 0 0 18px 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.form-section h6 {
    margin: 0 0 16px 0;
    color: #495057;
    font-size: 15px;
    font-weight: 500;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-field {
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #495057;
}

.form-field .required {
    color: #dc3545;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #ffffff;
    transition: all 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: 0;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: #ffffff;
}

.form-field input.error,
.form-field textarea.error {
    border-color: #dc3545;
}

.field-note {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
}

/* Star Rating Input */
.rating-field {
    margin-bottom: 15px;
}

.rating-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
}

.star-rating {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.star-rating .star {
    font-size: 26px;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.star-rating .star:hover {
    transform: scale(1.15);
    color: #fbbf24;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.star-rating .star.filled {
    color: #fbbf24;
    filter: drop-shadow(0 1px 3px rgba(251, 191, 36, 0.2));
}

.star-rating .star.empty {
    color: #e2e8f0;
}

.rating-text {
    font-size: 14px;
    color: #6c757d;
    margin-left: 5px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e8ecef;
    justify-content: flex-end;
}

.submit-review-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    letter-spacing: 0.02em;
}

.submit-review-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.submit-review-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cancel-review-btn {
    background: transparent;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cancel-review-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

/* Form Messages */
.form-messages {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-messages.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-messages.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Reviews List */
.coffee-places-reviews-list {
    margin-top: 20px;
}

.reviews-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options label {
    font-weight: 500;
    color: #495057;
}

.reviews-sort-select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: white;
    font-size: 14px;
}

/* Individual Review Item */
.coffee-places-review-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s;
}

.coffee-places-review-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

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

.reviewer-name {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    color: #333;
}

.review-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #6c757d;
}

.review-rating .overall-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-rating .stars-display .star {
    font-size: 16px;
}

.review-content {
    margin-bottom: 15px;
}

.review-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #333;
}

.review-text {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Detailed Ratings in Review */
.review-content .detailed-ratings {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
}

.review-content .detailed-ratings h6 {
    margin: 0 0 10px 0;
    color: #495057;
}

.rating-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.rating-detail {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-detail .rating-label {
    min-width: 80px;
    font-size: 14px;
    color: #495057;
}

.rating-detail .rating-stars {
    display: flex;
    gap: 2px;
}

.rating-detail .rating-stars .star {
    font-size: 14px;
}

.rating-detail .rating-value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Review Actions */
.review-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.helpful-voting {
    display: flex;
    align-items: center;
    gap: 10px;
}

.helpful-label {
    font-size: 14px;
    color: #6c757d;
}

.vote-helpful,
.vote-not-helpful {
    background: transparent;
    border: 1px solid #dee2e6;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vote-helpful:hover:not(:disabled) {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.vote-not-helpful:hover:not(:disabled) {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.vote-helpful:disabled,
.vote-not-helpful:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.helpful-count {
    font-size: 14px;
    color: #6c757d;
    margin-left: 10px;
}

.vote-success {
    color: #28a745;
    font-size: 14px;
    margin-left: 10px;
}

.featured-badge .badge {
    background: #ffc107;
    color: #212529;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Load More Button */
.reviews-load-more {
    text-align: center;
    margin-top: 20px;
}

.coffee-places-load-more-reviews {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.coffee-places-load-more-reviews:hover {
    background: #0056b3;
}

/* No Reviews Message */
.no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

/* Loading Indicator */
.reviews-loading {
    text-align: center;
    padding: 20px;
    color: #6c757d;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Messages */
.coffee-places-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px 16px;
    border-radius: 4px;
    margin: 10px 0;
}

.coffee-places-login-required {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    padding: 12px 16px;
    border-radius: 4px;
    margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .review-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .review-actions {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .helpful-voting {
        flex-wrap: wrap;
    }

    .rating-details {
        grid-template-columns: 1fr;
    }

    .reviews-controls {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .submit-review-btn,
    .cancel-review-btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   Coffee Reviews Integration with Theme
   ========================================================================== */

/* Coffee Reviews in Listing Detail */
#listing-coffee-reviews .coffee-places-reviews-wrapper {
    background: transparent;
    border: none;
    padding: 0;
}

.coffee-reviews-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.overall-rating-display {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.rating-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    font-weight: bold;
}

.rating-circle .rating-number {
    font-size: 24px;
    line-height: 1;
}

.rating-circle .rating-max {
    font-size: 14px;
    opacity: 0.8;
}

.rating-details .stars-display {
    margin-bottom: 5px;
}

.rating-details .stars-display .star {
    font-size: 18px;
    margin-right: 2px;
}

.rating-details .rating-text {
    color: #6c757d;
    font-size: 14px;
}

.detailed-ratings-summary {
    margin-top: 15px;
}

.detailed-ratings-summary .rating-breakdown {
    display: grid;
    gap: 12px;
}

.detailed-ratings-summary .rating-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.detailed-ratings-summary .rating-label {
    min-width: 100px;
    font-size: 14px;
    color: #495057;
}

.detailed-ratings-summary .rating-bar {
    flex: 1;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.detailed-ratings-summary .rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #ffc107);
}

.detailed-ratings-summary .rating-value {
    min-width: 30px;
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Write Review Section */
.write-review-section {
    margin: 20px 0;
    text-align: center;
}

.write-review-section .btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.write-review-section .btn-theme {
    background: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.write-review-section .btn-theme:hover {
    background: #0056b3;
    border-color: #0056b3;
}

/* Coffee Review Items */
.coffee-reviews-list {
    margin-top: 20px;
}

.coffee-review-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.coffee-review-item .review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.coffee-review-item .reviewer-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.coffee-review-item .reviewer-avatar img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.coffee-review-item .reviewer-name {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.coffee-review-item .review-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #6c757d;
}

.coffee-review-item .review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coffee-review-item .review-rating .stars-display .star {
    font-size: 16px;
}

.coffee-review-item .review-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}

.coffee-review-item .review-text {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 10px;
}

.coffee-review-item .review-helpful {
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
    font-size: 14px;
    color: #6c757d;
}

/* Load More Reviews */
.load-more-reviews {
    text-align: center;
    margin-top: 20px;
}

.load-more-reviews .btn-outline {
    background: transparent;
    color: #007bff;
    border: 1px solid #007bff;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.load-more-reviews .btn-outline:hover {
    background: #007bff;
    color: white;
}

/* No Reviews Message */
.no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Review Form Container */
.coffee-review-form-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

/* Responsive Design for Coffee Reviews */
@media (max-width: 768px) {
    .overall-rating-display {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .coffee-review-item .review-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .detailed-ratings-summary .rating-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .detailed-ratings-summary .rating-label {
        min-width: auto;
    }
}

/* ==========================================================================
   Coffee Places Reviews Widget
   ========================================================================== */

.coffee-places-reviews-widget .coffee-places-reviews-widget-content {
    margin: 0;
}

.coffee-places-reviews-widget .review-widget-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin-bottom: 15px;
}

.coffee-places-reviews-widget .review-widget-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.coffee-places-reviews-widget .review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.coffee-places-reviews-widget .review-author img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.coffee-places-reviews-widget .author-details strong {
    display: block;
    font-size: 14px;
    color: #333;
    line-height: 1.2;
}

.coffee-places-reviews-widget .review-date {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.coffee-places-reviews-widget .review-rating {
    margin-bottom: 8px;
}

.coffee-places-reviews-widget .review-rating .star {
    font-size: 14px;
    color: #ddd;
    margin-right: 1px;
}

.coffee-places-reviews-widget .review-rating .star.filled {
    color: #ffc107;
}

.coffee-places-reviews-widget .review-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.coffee-places-reviews-widget .review-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px;
}

.coffee-places-reviews-widget .coffee-place-link {
    font-size: 12px;
}

.coffee-places-reviews-widget .coffee-place-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.coffee-places-reviews-widget .coffee-place-link a:hover {
    text-decoration: underline;
}

/* Widget in sidebar */
.widget.coffee-places-reviews-widget {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.widget.coffee-places-reviews-widget .widget-title {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

/* ==========================================================================
   Enhanced Map Popup Styles
   ========================================================================== */

.coffee-place-popup {
    min-width: 280px;
    max-width: 350px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.coffee-place-popup-enhanced {
    min-width: 320px;
    max-width: 400px;
}

.coffee-place-popup .popup-header {
    margin-bottom: 15px;
}

.coffee-place-popup h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.coffee-place-popup .popup-address {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.coffee-place-popup .popup-ratings {
    margin-bottom: 15px;
}

.coffee-place-popup .google-rating,
.coffee-place-popup .our-rating {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 13px;
}

.coffee-place-popup .rating-label {
    font-weight: 500;
    margin-right: 8px;
    min-width: 60px;
    color: #555;
}

.coffee-place-popup .rating-stars {
    color: #ffa500;
    margin-right: 5px;
    font-size: 14px;
}

.coffee-place-popup .rating-count {
    color: #888;
    font-size: 12px;
}

.coffee-place-popup .popup-reviews {
    margin-bottom: 15px;
    border-top: 1px solid #eee;
    padding-top: 12px;
}

.coffee-place-popup .popup-reviews h5 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.coffee-place-popup .popup-review-item {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.coffee-place-popup .popup-review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.coffee-place-popup .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.coffee-place-popup .review-author {
    font-weight: 500;
    font-size: 13px;
    color: #333;
}

.coffee-place-popup .review-rating {
    color: #ffa500;
    font-size: 12px;
}

.coffee-place-popup .review-content {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.coffee-place-popup .more-reviews {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin: 8px 0 0 0;
}

.coffee-place-popup .popup-no-reviews {
    text-align: center;
    padding: 15px 0;
    color: #888;
    font-size: 13px;
    border-top: 1px solid #eee;
    margin-bottom: 15px;
}

.coffee-place-popup .popup-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.coffee-place-popup .popup-write-review-btn,
.coffee-place-popup .popup-view-all-reviews-btn {
    flex: 1;
    min-width: 120px;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.coffee-place-popup .popup-write-review-btn {
    background: #8B4513;
    color: white;
}

.coffee-place-popup .popup-write-review-btn:hover {
    background: #A0522D;
}

.coffee-place-popup .popup-view-all-reviews-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.coffee-place-popup .popup-view-all-reviews-btn:hover {
    background: #e9ecef;
}

.coffee-place-popup-loading .popup-loading {
    text-align: center;
    padding: 20px 0;
}

.coffee-place-popup-loading .loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #8B4513;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Modal Styles
   ========================================================================== */

.coffee-places-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.coffee-places-modal {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: auto;
    transform: scale(0.95);
    animation: modalSlideIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.95) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.coffee-places-modal .modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid #e8ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px 16px 0 0;
}

.coffee-places-modal .modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: -0.02em;
}

.coffee-places-modal .modal-close {
    background: #f1f3f4;
    border: none;
    font-size: 20px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    font-weight: 300;
}

.coffee-places-modal .modal-close:hover {
    background: #e9ecef;
    color: #495057;
    transform: scale(1.05);
}

.coffee-places-modal .modal-body {
    padding: 28px;
    max-height: calc(85vh - 100px);
    overflow-y: auto;
    background: #ffffff;
}

/* ==========================================================================
   Review Form Styles
   ========================================================================== */

.coffee-places-review-form .form-group {
    margin-bottom: 20px;
}

.coffee-places-review-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.coffee-places-review-form .required {
    color: #dc3545;
}

.coffee-places-review-form .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.coffee-places-review-form .form-control:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.1);
}

.coffee-places-review-form .rating-input {
    display: flex;
    gap: 2px;
    margin-bottom: 5px;
}

.coffee-places-review-form .rating-input .star {
    font-size: 20px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.coffee-places-review-form .rating-input .star:hover,
.coffee-places-review-form .rating-input .star.active,
.coffee-places-review-form .rating-input .star.filled {
    color: #ffc107;
}

.coffee-places-review-form .detailed-ratings {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border: 1px solid #e8ecef;
}

.coffee-places-review-form .detailed-ratings h6 {
    grid-column: 1 / -1;
    margin-bottom: 16px;
    color: #374151;
    font-weight: 600;
}

.coffee-places-review-form .detailed-ratings .rating-field {
    margin-bottom: 0;
    padding: 16px;
    background: transparent;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.coffee-places-review-form .detailed-ratings h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

.coffee-places-review-form .guest-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.coffee-places-review-form .form-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.coffee-places-review-form .form-messages {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.coffee-places-review-form .form-messages.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.coffee-places-review-form .form-messages.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

.coffee-places-review-form .form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.coffee-places-review-form .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.coffee-places-review-form .btn-primary {
    background: #8B4513;
    color: white;
}

.coffee-places-review-form .btn-primary:hover {
    background: #A0522D;
}

.coffee-places-review-form .btn-secondary {
    background: #6c757d;
    color: white;
}

.coffee-places-review-form .btn-secondary:hover {
    background: #5a6268;
}

/* ==========================================================================
   All Reviews Modal Styles
   ========================================================================== */

.coffee-places-all-reviews .reviews-summary {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.coffee-places-all-reviews .overall-rating {
    margin-bottom: 15px;
}

.coffee-places-all-reviews .rating-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coffee-places-all-reviews .stars-display {
    color: #ffa500;
    font-size: 18px;
}

.coffee-places-all-reviews .rating-number {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.coffee-places-all-reviews .rating-text {
    color: #666;
    font-size: 14px;
}

.coffee-places-all-reviews .detailed-ratings-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.coffee-places-all-reviews .rating-detail {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coffee-places-all-reviews .rating-label {
    font-weight: 500;
    color: #555;
    min-width: 80px;
    font-size: 13px;
}

.coffee-places-all-reviews .rating-stars {
    color: #ffa500;
    font-size: 14px;
}

.coffee-places-all-reviews .rating-value {
    font-weight: 500;
    color: #333;
    font-size: 13px;
}

.coffee-places-all-reviews .reviews-list {
    max-height: 400px;
    overflow-y: auto;
}

.coffee-places-all-reviews .review-item {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.coffee-places-all-reviews .review-item:last-child {
    border-bottom: none;
}

.coffee-places-all-reviews .review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.coffee-places-all-reviews .review-author strong {
    color: #333;
    font-size: 14px;
}

.coffee-places-all-reviews .visit-date {
    color: #888;
    font-size: 12px;
    margin-left: 8px;
}

.coffee-places-all-reviews .review-date {
    color: #888;
    font-size: 12px;
}

.coffee-places-all-reviews .review-rating {
    margin-bottom: 10px;
}

.coffee-places-all-reviews .review-rating .rating-display {
    gap: 8px;
}

.coffee-places-all-reviews .review-rating .stars-display {
    font-size: 16px;
}

.coffee-places-all-reviews .review-rating .rating-number {
    font-size: 14px;
    font-weight: 500;
}

.coffee-places-all-reviews .review-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.coffee-places-all-reviews .review-content {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.coffee-places-all-reviews .detailed-ratings {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 4px;
    margin-top: 10px;
}

.coffee-places-all-reviews .detailed-ratings .rating-detail {
    margin-bottom: 8px;
}

.coffee-places-all-reviews .detailed-ratings .rating-detail:last-child {
    margin-bottom: 0;
}

.coffee-places-all-reviews .no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .coffee-places-modal {
        margin: 10px;
        max-width: none;
        width: calc(100% - 20px);
    }

    .coffee-places-modal .modal-body {
        padding: 20px;
    }

    .coffee-places-all-reviews .detailed-ratings-summary {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .coffee-place-popup {
        min-width: 250px;
        max-width: 300px;
    }

    .coffee-place-popup .popup-actions {
        flex-direction: column;
    }

    .coffee-place-popup .popup-write-review-btn,
    .coffee-place-popup .popup-view-all-reviews-btn {
        min-width: auto;
    }
}