/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Breadcrumb Styles */
.breadcrumb-nav {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
}

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin: 0 0.75rem;
    color: #6c757d;
    font-weight: 400;
}

.breadcrumb-item a {
    color: #FF8359;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #e67242;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Mobile responsive for breadcrumb */
@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 0.75rem 0;
        margin-bottom: 1.5rem;
    }

    .breadcrumb {
        font-size: 0.9rem;
        flex-wrap: nowrap; /* Prevent wrapping on mobile */
        overflow-x: auto; /* Allow horizontal scroll if needed */
        white-space: nowrap; /* Keep text on single line */
    }

    .breadcrumb-item {
        flex-shrink: 0; /* Prevent items from shrinking */
    }

    .breadcrumb-item:not(:last-child)::after {
        margin: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb-nav {
        padding: 0.5rem 0;
        margin-bottom: 1rem;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }

    .breadcrumb-item:not(:last-child)::after {
        margin: 0 0.25rem;
    }
}

/* Image Gallery Styles */
.image-gallery-section {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Desktop Gallery View */
.desktop-gallery-view {
    display: block;
}

/* Mobile Gallery View - Hidden on desktop */
.mobile-gallery-view {
    display: none;
}

.main-image-container {
    position: relative;
    margin-bottom: 1rem;
}

.main-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-nav.prev {
    left: 1rem;
}

.gallery-nav.next {
    right: 1rem;
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
}

.vitrine-badge {
    background: linear-gradient(135deg, #FF8359 0%, #FF6B6B 100%);
    color: white;
}

.doping-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.thumbnails-container {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.thumbnail-item {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    border-color: #FF8359;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Advert Info Styles */
.advert-info-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.advert-header {
    margin-bottom: 2rem;
}

.advert-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.status-info {
    margin-bottom: 1rem;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.status-active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-waiting {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.advert-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.meta-item svg {
    color: #FF8359;
}

.meta-item .subcategory-link {
    color: #FF8359;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.meta-item .subcategory-link:hover {
    color: #e67242;
    text-decoration: underline;
}


/* Basic Info Grid */
.basic-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #FF8359;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF8359;
    font-size: 1.1rem;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Features Section */
.features-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title svg {
    color: #FF8359;
    width: 24px;
    height: 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.feature-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.feature-item svg {
    color: #28a745;
    width: 16px;
    height: 16px;
}

.feature-item span {
    font-weight: 500;
    color: #2c3e50;
}

.feature-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #FF8359;
}

.category-title i {
    color: #FF8359;
    font-size: 1.2rem;
}

.category-title svg {
    color: #FF8359;
}

/* Description Section */
.description-section,
.reason-section,
.parent-info-section {
    margin-bottom: 2rem;
}

.description-section .section-title,
.features-section .section-title,
.parent-info-section .section-title,
.other-listings-section .section-title {
    margin-bottom: 0.5rem;
}

.description-content,
.reason-content,
.parent-info-content {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    line-height: 1.6;
    color: #2c3e50;
}

/* Seller Card */
.seller-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.seller-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.seller-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #FF8359;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #FF8359;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50%;
}

.seller-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.seller-stats {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-item {
    font-size: 0.9rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-item svg {
    color: #FF8359;
}

.seller-bio {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #6c757d;
}

.seller-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Action Buttons */
.action-buttons-section {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.action-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.action-btn:last-child {
    margin-bottom: 0;
}

.contact-btn {
    background: white;
    color: #2c3e50;
    border: 2px solid #FF8359;
}

.contact-btn:hover {
    background: #FF8359;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 131, 89, 0.3);
}

.contact-btn svg {
    color: #FF8359;
}

.contact-btn:hover svg {
    color: white;
}

.favorite-btn {
    background: #FAFAFA;
    color: #2c3e50;
    border: 2px solid #FF8359;
}

.favorite-btn:hover {
    background: #FF8359;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 131, 89, 0.3);
}

.favorite-btn svg {
    color: #FF8359;
}

.favorite-btn:hover svg {
    color: white;
}

.favorite-active {
    background: #FF8359;
    color: white;
    border: 2px solid #FF8359;
}

.favorite-active:hover {
    background: #e66a4a;
    border-color: #e66a4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 131, 89, 0.3);
}

.favorite-active svg {
    color: white;
}

.share-btn {
    background: white;
    color: #2c3e50;
    border: 2px solid #FF8359;
}

.share-btn:hover {
    background: #FF8359;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 131, 89, 0.3);
}

.share-btn svg {
    color: #FF8359;
}

.share-btn:hover svg {
    color: white;
}

.primary-btn {
    background: #00b894;
    color: white;
}

.primary-btn:hover {
    background: #00a085;
    transform: translateY(-2px);
}

.whatsapp-btn {
    background: white;
    color: #2c3e50;
    border: 2px solid #FF8359;
}

.whatsapp-btn:hover {
    background: #FF8359;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 131, 89, 0.3);
}

.whatsapp-btn svg {
    color: #FF8359;
}

.whatsapp-btn:hover svg {
    color: white;
}

.secondary-btn {
    background: white;
    color: #2c3e50;
    border: 2px solid #FF8359;
}

.secondary-btn:hover {
    background: #FF8359;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 131, 89, 0.3);
}

.secondary-btn svg {
    color: #FF8359;
}

.secondary-btn:hover svg {
    color: white;
}

/* Other Adverts Section */
.other-adverts-section {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.other-adverts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Responsive Listing Grid */
.listing-grid-container {
    display: block;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0;
}

.other-advert-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: #f8f9fa;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.other-advert-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.other-advert-item .advert-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.other-advert-item .advert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.other-advert-item .advert-details {
    flex: 1;
}

.other-advert-item .advert-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}


.other-advert-item .advert-location {
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.other-advert-item .advert-location svg {
    color: #FF8359;
}


/* Mobile Carousel Styles */
.mobile-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #f8f9fa;
}

.mobile-carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
}

.mobile-carousel-track.dragging {
    transition: none;
}

.mobile-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
    padding: 0;
}

.mobile-image-wrapper {
    position: relative;
    width: 100%;
    min-height: 300px;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f9fa;
}

.mobile-carousel-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.mobile-photo-counter {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(8px);
}

.mobile-badge.vitrine-badge {
    background: rgba(255, 131, 89, 0.95);
    color: white;
}

.mobile-badge.doping-badge {
    background: rgba(40, 167, 69, 0.95);
    color: white;
}

.mobile-badge svg {
    width: 14px;
    height: 14px;
}

.mobile-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: white;
}

.mobile-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #FF8359;
}

/* Responsive Design */
@media (max-width: 768px) {
    .advert-detail-page {
        padding: 1rem 0;
    }

    .advert-detail-page .container {
        padding-left: 0;
        padding-right: 0;
    }

    .image-gallery-section {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    /* Hide desktop view on mobile */
    .desktop-gallery-view {
        display: none;
    }

    /* Show mobile view on mobile */
    .mobile-gallery-view {
        display: block;
    }

    .listing-info-section {
        margin-top: 0.25rem;
    }

    .advert-info-section {
        padding: 1.5rem;
        margin-left: 0;
        margin-right: 0;
    }

    .advert-title {
        font-size: 1.5rem;
    }

    .main-image {
        height: 300px;
        object-fit: contain;
    }

    /* Mobile carousel improvements */
    .mobile-image-wrapper {
        min-height: 250px;
        max-height: 60vh;
    }

    .mobile-carousel-image {
        max-height: 60vh;
        object-fit: contain;
    }

    .mobile-badge {
        top: 10px;
        right: 10px;
        font-size: 0.7rem;
        padding: 5px 8px;
    }

    .basic-info-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
    }
    
    .listing-info-section .basic-info-grid .info-card {
        padding: 1rem 0.5rem !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        text-align: center !important;
    }
    
    .listing-info-section .basic-info-grid .info-card .info-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
    }
    
    .listing-info-section .basic-info-grid .info-card .info-label {
        font-size: 0.7rem !important;
    }
    
    .listing-info-section .basic-info-grid .info-card .info-value {
        font-size: 0.85rem !important;
    }

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

    .advert-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .gallery-nav {
        width: 35px;
        height: 35px;
    }

    .badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    /* Seller card full width on mobile */
    .col-lg-4 {
        width: 100% !important;
        margin-top: 1.5rem;
    }

    .seller-card,
    .action-buttons-section,
    .other-adverts-section {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* Responsive grid for mobile */
    .listing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

}

@media (max-width: 576px) {
    .advert-detail-page .container {
        padding-left: 0;
        padding-right: 0;
    }

    .image-gallery-section {
        padding: 1rem;
        margin-left: 0;
        margin-right: 0;
    }

    .advert-info-section {
        padding: 1rem;
        margin-left: 0;
        margin-right: 0;
    }

    .main-image {
        height: 250px;
        object-fit: contain;
    }

    .seller-card,
    .action-buttons-section,
    .other-adverts-section {
        padding: 1rem;
    }
    
    .basic-info-grid {
        gap: 0.4rem;
    }
    
    .info-card {
        padding: 0.75rem 0.25rem;
    }
    
    .info-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .info-label {
        font-size: 0.65rem;
    }
    
    .info-value {
        font-size: 0.8rem;
    }

    .seller-header {
        flex-direction: column;
        text-align: center;
    }

    .seller-avatar {
        width: 80px;
        height: 80px;
    }

    .avatar-initials {
        font-size: 2rem;
    }
}

/* Photo Modal Styles */
.photo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Less black - more transparent */
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-modal.show {
    display: flex;
    opacity: 1;
}

.photo-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.photo-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.photo-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.photo-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.photo-modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.photo-modal-nav.prev {
    left: 20px;
}

.photo-modal-nav.next {
    right: 20px;
}

.photo-modal-image-container {
    max-width: 90%;
    max-height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.photo-modal-thumbnails {
    display: flex;
    gap: 10px;
    padding: 20px;
    overflow-x: auto;
    max-width: 90%;
}

.photo-modal-thumbnail {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.photo-modal-thumbnail.active {
    border-color: #FF8359;
    opacity: 1;
}

.photo-modal-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.photo-modal-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile responsive for photo modal */
@media (max-width: 768px) {
    .photo-modal-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .photo-modal-nav.prev {
        left: 10px;
    }

    .photo-modal-nav.next {
        right: 10px;
    }

    .photo-modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .photo-modal-thumbnails {
        padding: 15px;
        gap: 8px;
    }

    .photo-modal-thumbnail {
        flex: 0 0 60px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .photo-modal-nav {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .photo-modal-close {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .photo-modal-thumbnail {
        flex: 0 0 50px;
        height: 40px;
    }
}

/* Görüntülenme sayısı vurgusu - Detail sayfası için */
.view-count-highlight-detail {
    color: #FF8359 !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.view-count-highlight-detail:hover {
    color: #e67242 !important;
}

.view-count-highlight-detail svg {
    stroke: #FF8359 !important;
}

.view-count-highlight-detail:hover svg {
    stroke: #e67242 !important;
}

.view-count-highlight-detail span {
    color: #FF8359 !important;
    font-weight: 600 !important;
}

.view-count-highlight-detail:hover span {
    color: #e67242 !important;
}

/* Share Modal Styles */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-modal.show {
    display: flex;
    opacity: 1;
}

.share-modal-content {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: shareModalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes shareModalSlideIn {
    from {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #f1f3f4;
}

.share-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.share-modal-title::before {
    content: "📤";
    font-size: 1.2em;
}

.share-modal-close {
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}

.share-modal-close:hover {
    background: #e9ecef;
    color: #495057;
    transform: rotate(90deg);
}

.share-modal-body {
    padding: 1.5rem 2rem 2rem 2rem;
}

.share-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.share-option {
    background: #FAFAFA;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.share-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.share-option:hover::before {
    transform: translateX(100%);
}

.share-option:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.share-option-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #FF8359;
}

.share-option-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    color: #2c3e50;
}

/* Platform-specific colors - Updated to use theme colors */
.whatsapp-share,
.facebook-share,
.twitter-share,
.instagram-share,
.telegram-share,
.linkedin-share,
.copy-link,
.email-share {
    background: #FAFAFA;
    color: #2c3e50;
}

.whatsapp-share .share-option-text,
.facebook-share .share-option-text,
.twitter-share .share-option-text,
.instagram-share .share-option-text,
.telegram-share .share-option-text,
.linkedin-share .share-option-text,
.copy-link .share-option-text,
.email-share .share-option-text {
    color: #2c3e50;
}

.whatsapp-share .share-option-icon,
.facebook-share .share-option-icon,
.twitter-share .share-option-icon,
.instagram-share .share-option-icon,
.telegram-share .share-option-icon,
.linkedin-share .share-option-icon,
.copy-link .share-option-icon,
.email-share .share-option-icon {
    background: rgba(255, 131, 89, 0.1);
    color: #FF8359;
}

.share-link-preview {
    background: #FAFAFA;
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px dashed #dee2e6;
}

.link-preview-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 600;
}

.link-preview-url {
    background: white;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #495057;
    border: 1px solid #dee2e6;
    word-break: break-all;
    position: relative;
}

.link-preview-url::after {
    content: "📋";
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.link-preview-url:hover::after {
    opacity: 1;
}

/* Success animation for copy */
@keyframes copySuccess {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        background: #d4edda;
    }
    100% {
        transform: scale(1);
    }
}

.copy-success {
    animation: copySuccess 0.6s ease;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .share-modal-content {
        width: 95%;
        margin: 1rem;
        max-height: 85vh;
    }

    .share-modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .share-modal-title {
        font-size: 1.3rem;
    }

    .share-modal-body {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
    }

    .share-options-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.75rem;
    }

    .share-option {
        padding: 1rem 0.75rem;
    }

    .share-option-icon {
        width: 40px;
        height: 40px;
    }

    .share-option-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .share-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .share-modal-header {
        padding: 1rem;
    }

    .share-modal-body {
        padding: 1rem;
    }

    .share-modal-title {
        font-size: 1.2rem;
    }
}

.comments-section {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF8359' fill-opacity='0.05'%3E%3Cpath d='M30 30c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20c1.381 0 2.5-1.119 2.5-2.5S11.381 45 10 45c-8.284 0-15-6.716-15-15s6.716-15 15-15 15 6.716 15 15c0 1.381-1.119 2.5-2.5 2.5S22.5 31.381 22.5 30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.advert-rating {
    text-align: center;
    background: rgba(255, 131, 89, 0.1);
    border: 2px solid rgba(255, 131, 89, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rating-star {
    font-size: 1.5rem;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

.rating-star.filled {
    color: #FF8359;
}

.rating-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #FF8359;
}

.comment-form-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment-form-container h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-form-container h4 i {
    color: #FF8359;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.paw-rating {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.paw-rating .paw {
    font-size: 1.5rem;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.paw-rating .paw:hover {
    color: #FF8359;
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(255, 131, 89, 0.4));
}

.paw-rating .paw.active {
    color: #FF8359;
    filter: drop-shadow(0 4px 8px rgba(255, 131, 89, 0.6));
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-control:focus {
    outline: none;
    border-color: #FF8359;
    box-shadow: 0 0 0 3px rgba(255, 131, 89, 0.1);
}

.btn-submit-comment {
    background: linear-gradient(135deg, #FF8359 0%, #e67242 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(255, 131, 89, 0.3);
}

.btn-submit-comment:hover {
    background: linear-gradient(135deg, #e67242 0%, #d66135 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 131, 89, 0.4);
}

.comments-list-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comments-list-container h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comments-list-container h4 i {
    color: #FF8359;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.comment-item:hover {
    background: rgba(255, 131, 89, 0.02);
    transform: translateY(-1px);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.comment-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.comment-rating .paw-filled {
    color: #FF8359;
    font-size: 1rem;
}

.comment-rating .paw-empty {
    color: #e0e0e0;
    font-size: 1rem;
}

.comment-content {
    color: #2c3e50;
    line-height: 1.5;
    border-left: 4px solid #FF8359;
    padding-left: 1rem;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
}

.no-comments {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.no-comments i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* Mobile responsive for comments */
@media (max-width: 768px) {
    .comments-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .advert-rating {
        padding: 1rem;
    }

    .rating-stars {
        gap: 0.25rem;
    }

    .rating-star {
        font-size: 1.2rem;
    }

    .comment-form-container,
    .comments-list-container {
        padding: 1rem;
    }

    .paw-rating {
        gap: 0.25rem;
    }

    .paw-rating .paw {
        font-size: 1.2rem;
    }

    .btn-submit-comment {
        width: 100%;
        justify-content: center;
    }
}

/* Şikayet Modal */
.complaint-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.complaint-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
}

.complaint-modal-content h3 {
    margin-bottom: 1rem;
    color: #333;
}

.complaint-modal-content textarea {
    width: 100%;
    height: 100px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
    resize: vertical;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-actions button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-actions button[type="button"] {
    background: #6c757d;
    color: white;
}

.modal-actions button[type="submit"] {
    background: #dc3545;
    color: white;
}

.complaint-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.complaint-btn:hover {
    background: #c82333;
}

.message-btn {
    background: #FF8359;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.message-btn:hover {
    background: #e67242;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 131, 89, 0.3);
}

.character-count {
    text-align: right;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.character-count.warning {
    color: #dc3545;
}

/* Mesaj Modal */
.message-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.message-modal.show {
    display: flex;
    opacity: 1;
}

.message-modal-content {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: messageModalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes messageModalSlideIn {
    from {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.message-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #f1f3f4;
}

.message-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.message-modal-title::before {
    content: "💬";
    font-size: 1.2em;
}

.message-modal-close {
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}

.message-modal-close:hover {
    background: #e9ecef;
    color: #495057;
    transform: scale(1.1);
}

.message-modal-body {
    padding: 2rem;
}

.sample-messages h4,
.custom-message h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sample-messages h4::before {
    content: "❓";
}

.custom-message h4::before {
    content: "✏️";
}

.sample-message-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.sample-message-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.4;
}

.sample-message-btn:active {
    background: #fff8f3 !important;
    border-color: #FF8359 !important;
    color: #FF8359 !important;
}

.sample-message-btn:hover {
    background: #fff8f3;
    border-color: #ffb399;
    color: #FF8359;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 131, 89, 0.15);
}

.sample-message-btn.selected {
    background: #fff8f3;
    border-color: #FF8359;
    color: #FF8359;
    font-weight: 500;
}

.custom-message textarea {
    width: 100%;
    height: 120px;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.custom-message textarea:focus {
    outline: none;
    border-color: #FF8359;
    box-shadow: 0 0 0 3px rgba(255, 131, 89, 0.1);
}

.message-modal-actions {
    display: flex;
    justify-content: center;
    padding: 1rem 2rem 2rem 2rem;
    border-top: 1px solid #f1f3f4;
}

.send-btn {
    background: linear-gradient(135deg, #FF8359, #e67242);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.send-btn:hover {
    background: linear-gradient(135deg, #e67242, #d45a2a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 131, 89, 0.3);
}

.send-btn::after {
    content: "📤";
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    .message-modal-content {
        width: 95%;
        margin: 1rem;
    }

    .message-modal-header,
    .message-modal-body,
    .message-modal-actions {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .sample-message-list {
        gap: 0.5rem;
    }

    .sample-message-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .message-modal-actions {
        flex-direction: column;
    }

    .send-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Breed Guide Highlight Styles - Listing/Index.cshtml ile birebir aynı */
.breed-guide-highlight-section {
    padding: 3rem 0;
}

.breed-guide-highlight-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 131, 89, 0.12), rgba(255, 131, 89, 0.05));
    border: 1px solid rgba(255, 131, 89, 0.35);
    border-radius: 18px;
    padding: 2rem 2.5rem;
    box-shadow: 0 12px 40px rgba(255, 131, 89, 0.15);
}

.breed-guide-highlight-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #FF8359, #FF6B35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(255, 131, 89, 0.35);
}

.breed-guide-highlight-content {
    flex: 1;
}

.breed-guide-highlight-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #2b2b2b;
}

.breed-guide-highlight-description {
    font-size: 1.05rem;
    color: #4b4b4b;
    margin: 0;
    line-height: 1.7;
}

.breed-guide-highlight-action {
    flex-shrink: 0;
}

.breed-guide-highlight-button {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    background: #FF8359;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 131, 89, 0.35);
}

.breed-guide-highlight-button:hover {
    background: #ff7140;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 131, 89, 0.45);
}

.breed-guide-highlight-button i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.breed-guide-highlight-button:hover i {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .breed-guide-highlight-card {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem;
    }

    .breed-guide-highlight-action {
        width: 100%;
    }

    .breed-guide-highlight-button {
        width: 100%;
        justify-content: center;
    }
}